1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69 for libvmdk 20210807. 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='libvmdk' 592PACKAGE_TARNAME='libvmdk' 593PACKAGE_VERSION='20210807' 594PACKAGE_STRING='libvmdk 20210807' 595PACKAGE_BUGREPORT='joachim.metz@gmail.com' 596PACKAGE_URL='' 597 598ac_unique_file="include/libvmdk.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 642libvmdk_spec_tools_build_requires 643libvmdk_spec_requires 644LIB_FUZZING_ENGINE 645HAVE_LIB_FUZZING_ENGINE_FALSE 646HAVE_LIB_FUZZING_ENGINE_TRUE 647LIBVMDK_DLL_IMPORT 648LIBVMDK_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_zlib_static_spec_build_requires 702ax_zlib_static_spec_requires 703ax_zlib_spec_build_requires 704ax_zlib_spec_requires 705ax_zlib_pc_libs_private 706ZLIB_LIBADD 707ZLIB_CPPFLAGS 708HAVE_ZLIB 709zlib_LIBS 710zlib_CFLAGS 711ax_libfvalue_spec_build_requires 712ax_libfvalue_spec_requires 713ax_libfvalue_pc_libs_private 714LIBFVALUE_LIBADD 715LIBFVALUE_CPPFLAGS 716HAVE_LOCAL_LIBFVALUE_FALSE 717HAVE_LOCAL_LIBFVALUE_TRUE 718HAVE_LOCAL_LIBFVALUE 719HAVE_LIBFVALUE 720libfvalue_LIBS 721libfvalue_CFLAGS 722ax_libfdata_spec_build_requires 723ax_libfdata_spec_requires 724ax_libfdata_pc_libs_private 725LIBFDATA_LIBADD 726LIBFDATA_CPPFLAGS 727HAVE_LOCAL_LIBFDATA_FALSE 728HAVE_LOCAL_LIBFDATA_TRUE 729HAVE_LOCAL_LIBFDATA 730HAVE_LIBFDATA 731libfdata_LIBS 732libfdata_CFLAGS 733ax_libfcache_spec_build_requires 734ax_libfcache_spec_requires 735ax_libfcache_pc_libs_private 736LIBFCACHE_LIBADD 737LIBFCACHE_CPPFLAGS 738HAVE_LOCAL_LIBFCACHE_FALSE 739HAVE_LOCAL_LIBFCACHE_TRUE 740HAVE_LOCAL_LIBFCACHE 741HAVE_LIBFCACHE 742libfcache_LIBS 743libfcache_CFLAGS 744ax_libbfio_spec_build_requires 745ax_libbfio_spec_requires 746ax_libbfio_pc_libs_private 747LIBBFIO_LIBADD 748LIBBFIO_CPPFLAGS 749HAVE_LOCAL_LIBBFIO_FALSE 750HAVE_LOCAL_LIBBFIO_TRUE 751HAVE_LOCAL_LIBBFIO 752HAVE_LIBBFIO 753libbfio_LIBS 754libbfio_CFLAGS 755ax_libcpath_spec_build_requires 756ax_libcpath_spec_requires 757ax_libcpath_pc_libs_private 758LIBCPATH_LIBADD 759LIBCPATH_CPPFLAGS 760HAVE_LOCAL_LIBCPATH_FALSE 761HAVE_LOCAL_LIBCPATH_TRUE 762HAVE_LOCAL_LIBCPATH 763HAVE_LIBCPATH 764libcpath_LIBS 765libcpath_CFLAGS 766ax_libcfile_spec_build_requires 767ax_libcfile_spec_requires 768ax_libcfile_pc_libs_private 769LIBCFILE_LIBADD 770LIBCFILE_CPPFLAGS 771HAVE_LOCAL_LIBCFILE_FALSE 772HAVE_LOCAL_LIBCFILE_TRUE 773HAVE_LOCAL_LIBCFILE 774HAVE_LIBCFILE 775libcfile_LIBS 776libcfile_CFLAGS 777ax_libuna_spec_build_requires 778ax_libuna_spec_requires 779ax_libuna_pc_libs_private 780LIBUNA_LIBADD 781LIBUNA_CPPFLAGS 782HAVE_LOCAL_LIBUNA_FALSE 783HAVE_LOCAL_LIBUNA_TRUE 784HAVE_LOCAL_LIBUNA 785HAVE_LIBUNA 786libuna_LIBS 787libuna_CFLAGS 788ax_libcsplit_spec_build_requires 789ax_libcsplit_spec_requires 790ax_libcsplit_pc_libs_private 791LIBCSPLIT_LIBADD 792LIBCSPLIT_CPPFLAGS 793HAVE_LOCAL_LIBCSPLIT_FALSE 794HAVE_LOCAL_LIBCSPLIT_TRUE 795HAVE_LOCAL_LIBCSPLIT 796HAVE_LIBCSPLIT 797libcsplit_LIBS 798libcsplit_CFLAGS 799ax_libcnotify_spec_build_requires 800ax_libcnotify_spec_requires 801ax_libcnotify_pc_libs_private 802LIBCNOTIFY_LIBADD 803LIBCNOTIFY_CPPFLAGS 804HAVE_LOCAL_LIBCNOTIFY_FALSE 805HAVE_LOCAL_LIBCNOTIFY_TRUE 806HAVE_LOCAL_LIBCNOTIFY 807HAVE_LIBCNOTIFY 808libcnotify_LIBS 809libcnotify_CFLAGS 810ax_libclocale_spec_build_requires 811ax_libclocale_spec_requires 812ax_libclocale_pc_libs_private 813LIBCLOCALE_LIBADD 814LIBCLOCALE_CPPFLAGS 815HAVE_LOCAL_LIBCLOCALE_FALSE 816HAVE_LOCAL_LIBCLOCALE_TRUE 817HAVE_LOCAL_LIBCLOCALE 818HAVE_LIBCLOCALE 819libclocale_LIBS 820libclocale_CFLAGS 821ax_libcdata_spec_build_requires 822ax_libcdata_spec_requires 823ax_libcdata_pc_libs_private 824LIBCDATA_LIBADD 825LIBCDATA_CPPFLAGS 826HAVE_LOCAL_LIBCDATA_FALSE 827HAVE_LOCAL_LIBCDATA_TRUE 828HAVE_LOCAL_LIBCDATA 829HAVE_LIBCDATA 830libcdata_LIBS 831libcdata_CFLAGS 832ax_libcthreads_spec_build_requires 833ax_libcthreads_spec_requires 834ax_libcthreads_pc_libs_private 835HAVE_MULTI_THREAD_SUPPORT 836LIBCTHREADS_LIBADD 837LIBCTHREADS_CPPFLAGS 838HAVE_LOCAL_LIBCTHREADS_FALSE 839HAVE_LOCAL_LIBCTHREADS_TRUE 840HAVE_LOCAL_LIBCTHREADS 841ax_pthread_pc_libs_private 842PTHREAD_LIBADD 843PTHREAD_CPPFLAGS 844HAVE_PTHREAD 845HAVE_LIBCTHREADS 846libcthreads_LIBS 847libcthreads_CFLAGS 848ax_libcerror_spec_build_requires 849ax_libcerror_spec_requires 850ax_libcerror_pc_libs_private 851LIBCERROR_LIBADD 852LIBCERROR_CPPFLAGS 853HAVE_LOCAL_LIBCERROR_FALSE 854HAVE_LOCAL_LIBCERROR_TRUE 855HAVE_LOCAL_LIBCERROR 856HAVE_LIBCERROR 857libcerror_LIBS 858libcerror_CFLAGS 859PKG_CONFIG_LIBDIR 860PKG_CONFIG_PATH 861PKG_CONFIG 862HAVE_OFF64_T 863HAVE_SSIZE64_T 864HAVE_SIZE64_T 865HAVE_SSIZE32_T 866HAVE_SIZE32_T 867HAVE_WCHAR_H 868HAVE_STDINT_H 869HAVE_INTTYPES_H 870HAVE_SYS_TYPES_H 871HAVE_WIDE_CHARACTER_TYPE 872STATIC_LDFLAGS 873POSUB 874LTLIBINTL 875LIBINTL 876INTLLIBS 877LTLIBICONV 878LIBICONV 879INTL_MACOSX_LIBS 880XGETTEXT_EXTRA_OPTIONS 881MSGMERGE 882XGETTEXT_015 883XGETTEXT 884GMSGFMT_015 885MSGFMT_015 886GMSGFMT 887MSGFMT 888GETTEXT_MACRO_VERSION 889USE_NLS 890PKGCONFIG 891LIBTOOL_DEPS 892CXXCPP 893LT_SYS_LIBRARY_PATH 894OTOOL64 895OTOOL 896LIPO 897NMEDIT 898DSYMUTIL 899MANIFEST_TOOL 900RANLIB 901ac_ct_AR 902AR 903LN_S 904NM 905ac_ct_DUMPBIN 906DUMPBIN 907LD 908FGREP 909SED 910LIBTOOL 911am__fastdepCXX_FALSE 912am__fastdepCXX_TRUE 913CXXDEPMODE 914ac_ct_CXX 915CXXFLAGS 916CXX 917EGREP 918GREP 919CPP 920am__fastdepCC_FALSE 921am__fastdepCC_TRUE 922CCDEPMODE 923am__nodep 924AMDEPBACKSLASH 925AMDEP_FALSE 926AMDEP_TRUE 927am__include 928DEPDIR 929OBJEXT 930EXEEXT 931ac_ct_CC 932CPPFLAGS 933LDFLAGS 934CFLAGS 935CC 936OBJDUMP 937DLLTOOL 938AS 939host_os 940host_vendor 941host_cpu 942host 943build_os 944build_vendor 945build_cpu 946build 947AM_BACKSLASH 948AM_DEFAULT_VERBOSITY 949AM_DEFAULT_V 950AM_V 951am__untar 952am__tar 953AMTAR 954am__leading_dot 955SET_MAKE 956AWK 957mkdir_p 958MKDIR_P 959INSTALL_STRIP_PROGRAM 960STRIP 961install_sh 962MAKEINFO 963AUTOHEADER 964AUTOMAKE 965AUTOCONF 966ACLOCAL 967VERSION 968PACKAGE 969CYGPATH_W 970am__isrc 971INSTALL_DATA 972INSTALL_SCRIPT 973INSTALL_PROGRAM 974target_alias 975host_alias 976build_alias 977LIBS 978ECHO_T 979ECHO_N 980ECHO_C 981DEFS 982mandir 983localedir 984libdir 985psdir 986pdfdir 987dvidir 988htmldir 989infodir 990docdir 991oldincludedir 992includedir 993runstatedir 994localstatedir 995sharedstatedir 996sysconfdir 997datadir 998datarootdir 999libexecdir 1000sbindir 1001bindir 1002program_transform_name 1003prefix 1004exec_prefix 1005PACKAGE_URL 1006PACKAGE_BUGREPORT 1007PACKAGE_STRING 1008PACKAGE_VERSION 1009PACKAGE_TARNAME 1010PACKAGE_NAME 1011PATH_SEPARATOR 1012SHELL 1013am__quote' 1014ac_subst_files='' 1015ac_user_opts=' 1016enable_option_checking 1017enable_silent_rules 1018enable_dependency_tracking 1019enable_shared 1020enable_static 1021with_pic 1022enable_fast_install 1023with_aix_soname 1024with_gnu_ld 1025with_sysroot 1026enable_libtool_lock 1027enable_nls 1028enable_rpath 1029with_libiconv_prefix 1030with_libintl_prefix 1031enable_largefile 1032enable_shared_libs 1033enable_static_executables 1034enable_winapi 1035enable_wide_character_type 1036enable_verbose_output 1037enable_debug_output 1038with_libcerror 1039enable_multi_threading_support 1040with_libcthreads 1041with_pthread 1042with_libcdata 1043with_libclocale 1044with_libcnotify 1045with_libcsplit 1046with_libuna 1047with_libcfile 1048with_libcpath 1049with_libbfio 1050with_libfcache 1051with_libfdata 1052with_libfvalue 1053with_zlib 1054with_pyprefix 1055enable_python 1056with_pythondir 1057enable_python2 1058with_pythondir2 1059enable_python3 1060with_pythondir3 1061with_libfuse 1062' 1063 ac_precious_vars='build_alias 1064host_alias 1065target_alias 1066CC 1067CFLAGS 1068LDFLAGS 1069LIBS 1070CPPFLAGS 1071CPP 1072CXX 1073CXXFLAGS 1074CCC 1075LT_SYS_LIBRARY_PATH 1076CXXCPP 1077PKG_CONFIG 1078PKG_CONFIG_PATH 1079PKG_CONFIG_LIBDIR 1080libcerror_CFLAGS 1081libcerror_LIBS 1082libcthreads_CFLAGS 1083libcthreads_LIBS 1084libcdata_CFLAGS 1085libcdata_LIBS 1086libclocale_CFLAGS 1087libclocale_LIBS 1088libcnotify_CFLAGS 1089libcnotify_LIBS 1090libcsplit_CFLAGS 1091libcsplit_LIBS 1092libuna_CFLAGS 1093libuna_LIBS 1094libcfile_CFLAGS 1095libcfile_LIBS 1096libcpath_CFLAGS 1097libcpath_LIBS 1098libbfio_CFLAGS 1099libbfio_LIBS 1100libfcache_CFLAGS 1101libfcache_LIBS 1102libfdata_CFLAGS 1103libfdata_LIBS 1104libfvalue_CFLAGS 1105libfvalue_LIBS 1106zlib_CFLAGS 1107zlib_LIBS 1108fuse_CFLAGS 1109fuse_LIBS' 1110 1111 1112# Initialize some variables set by options. 1113ac_init_help= 1114ac_init_version=false 1115ac_unrecognized_opts= 1116ac_unrecognized_sep= 1117# The variables have the same names as the options, with 1118# dashes changed to underlines. 1119cache_file=/dev/null 1120exec_prefix=NONE 1121no_create= 1122no_recursion= 1123prefix=NONE 1124program_prefix=NONE 1125program_suffix=NONE 1126program_transform_name=s,x,x, 1127silent= 1128site= 1129srcdir= 1130verbose= 1131x_includes=NONE 1132x_libraries=NONE 1133 1134# Installation directory options. 1135# These are left unexpanded so users can "make install exec_prefix=/foo" 1136# and all the variables that are supposed to be based on exec_prefix 1137# by default will actually change. 1138# Use braces instead of parens because sh, perl, etc. also accept them. 1139# (The list follows the same order as the GNU Coding Standards.) 1140bindir='${exec_prefix}/bin' 1141sbindir='${exec_prefix}/sbin' 1142libexecdir='${exec_prefix}/libexec' 1143datarootdir='${prefix}/share' 1144datadir='${datarootdir}' 1145sysconfdir='${prefix}/etc' 1146sharedstatedir='${prefix}/com' 1147localstatedir='${prefix}/var' 1148runstatedir='${localstatedir}/run' 1149includedir='${prefix}/include' 1150oldincludedir='/usr/include' 1151docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 1152infodir='${datarootdir}/info' 1153htmldir='${docdir}' 1154dvidir='${docdir}' 1155pdfdir='${docdir}' 1156psdir='${docdir}' 1157libdir='${exec_prefix}/lib' 1158localedir='${datarootdir}/locale' 1159mandir='${datarootdir}/man' 1160 1161ac_prev= 1162ac_dashdash= 1163for ac_option 1164do 1165 # If the previous option needs an argument, assign it. 1166 if test -n "$ac_prev"; then 1167 eval $ac_prev=\$ac_option 1168 ac_prev= 1169 continue 1170 fi 1171 1172 case $ac_option in 1173 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 1174 *=) ac_optarg= ;; 1175 *) ac_optarg=yes ;; 1176 esac 1177 1178 # Accept the important Cygnus configure options, so we can diagnose typos. 1179 1180 case $ac_dashdash$ac_option in 1181 --) 1182 ac_dashdash=yes ;; 1183 1184 -bindir | --bindir | --bindi | --bind | --bin | --bi) 1185 ac_prev=bindir ;; 1186 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 1187 bindir=$ac_optarg ;; 1188 1189 -build | --build | --buil | --bui | --bu) 1190 ac_prev=build_alias ;; 1191 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 1192 build_alias=$ac_optarg ;; 1193 1194 -cache-file | --cache-file | --cache-fil | --cache-fi \ 1195 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 1196 ac_prev=cache_file ;; 1197 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 1198 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 1199 cache_file=$ac_optarg ;; 1200 1201 --config-cache | -C) 1202 cache_file=config.cache ;; 1203 1204 -datadir | --datadir | --datadi | --datad) 1205 ac_prev=datadir ;; 1206 -datadir=* | --datadir=* | --datadi=* | --datad=*) 1207 datadir=$ac_optarg ;; 1208 1209 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 1210 | --dataroo | --dataro | --datar) 1211 ac_prev=datarootdir ;; 1212 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 1213 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 1214 datarootdir=$ac_optarg ;; 1215 1216 -disable-* | --disable-*) 1217 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 1218 # Reject names that are not valid shell variable names. 1219 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1220 as_fn_error $? "invalid feature name: $ac_useropt" 1221 ac_useropt_orig=$ac_useropt 1222 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1223 case $ac_user_opts in 1224 *" 1225"enable_$ac_useropt" 1226"*) ;; 1227 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 1228 ac_unrecognized_sep=', ';; 1229 esac 1230 eval enable_$ac_useropt=no ;; 1231 1232 -docdir | --docdir | --docdi | --doc | --do) 1233 ac_prev=docdir ;; 1234 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 1235 docdir=$ac_optarg ;; 1236 1237 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 1238 ac_prev=dvidir ;; 1239 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 1240 dvidir=$ac_optarg ;; 1241 1242 -enable-* | --enable-*) 1243 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 1244 # Reject names that are not valid shell variable names. 1245 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1246 as_fn_error $? "invalid feature name: $ac_useropt" 1247 ac_useropt_orig=$ac_useropt 1248 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1249 case $ac_user_opts in 1250 *" 1251"enable_$ac_useropt" 1252"*) ;; 1253 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 1254 ac_unrecognized_sep=', ';; 1255 esac 1256 eval enable_$ac_useropt=\$ac_optarg ;; 1257 1258 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 1259 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 1260 | --exec | --exe | --ex) 1261 ac_prev=exec_prefix ;; 1262 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 1263 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 1264 | --exec=* | --exe=* | --ex=*) 1265 exec_prefix=$ac_optarg ;; 1266 1267 -gas | --gas | --ga | --g) 1268 # Obsolete; use --with-gas. 1269 with_gas=yes ;; 1270 1271 -help | --help | --hel | --he | -h) 1272 ac_init_help=long ;; 1273 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 1274 ac_init_help=recursive ;; 1275 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 1276 ac_init_help=short ;; 1277 1278 -host | --host | --hos | --ho) 1279 ac_prev=host_alias ;; 1280 -host=* | --host=* | --hos=* | --ho=*) 1281 host_alias=$ac_optarg ;; 1282 1283 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1284 ac_prev=htmldir ;; 1285 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1286 | --ht=*) 1287 htmldir=$ac_optarg ;; 1288 1289 -includedir | --includedir | --includedi | --included | --include \ 1290 | --includ | --inclu | --incl | --inc) 1291 ac_prev=includedir ;; 1292 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1293 | --includ=* | --inclu=* | --incl=* | --inc=*) 1294 includedir=$ac_optarg ;; 1295 1296 -infodir | --infodir | --infodi | --infod | --info | --inf) 1297 ac_prev=infodir ;; 1298 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1299 infodir=$ac_optarg ;; 1300 1301 -libdir | --libdir | --libdi | --libd) 1302 ac_prev=libdir ;; 1303 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1304 libdir=$ac_optarg ;; 1305 1306 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1307 | --libexe | --libex | --libe) 1308 ac_prev=libexecdir ;; 1309 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1310 | --libexe=* | --libex=* | --libe=*) 1311 libexecdir=$ac_optarg ;; 1312 1313 -localedir | --localedir | --localedi | --localed | --locale) 1314 ac_prev=localedir ;; 1315 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1316 localedir=$ac_optarg ;; 1317 1318 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1319 | --localstate | --localstat | --localsta | --localst | --locals) 1320 ac_prev=localstatedir ;; 1321 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1322 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1323 localstatedir=$ac_optarg ;; 1324 1325 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1326 ac_prev=mandir ;; 1327 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1328 mandir=$ac_optarg ;; 1329 1330 -nfp | --nfp | --nf) 1331 # Obsolete; use --without-fp. 1332 with_fp=no ;; 1333 1334 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1335 | --no-cr | --no-c | -n) 1336 no_create=yes ;; 1337 1338 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1339 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1340 no_recursion=yes ;; 1341 1342 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1343 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1344 | --oldin | --oldi | --old | --ol | --o) 1345 ac_prev=oldincludedir ;; 1346 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1347 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1348 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1349 oldincludedir=$ac_optarg ;; 1350 1351 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1352 ac_prev=prefix ;; 1353 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1354 prefix=$ac_optarg ;; 1355 1356 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1357 | --program-pre | --program-pr | --program-p) 1358 ac_prev=program_prefix ;; 1359 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1360 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1361 program_prefix=$ac_optarg ;; 1362 1363 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1364 | --program-suf | --program-su | --program-s) 1365 ac_prev=program_suffix ;; 1366 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1367 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1368 program_suffix=$ac_optarg ;; 1369 1370 -program-transform-name | --program-transform-name \ 1371 | --program-transform-nam | --program-transform-na \ 1372 | --program-transform-n | --program-transform- \ 1373 | --program-transform | --program-transfor \ 1374 | --program-transfo | --program-transf \ 1375 | --program-trans | --program-tran \ 1376 | --progr-tra | --program-tr | --program-t) 1377 ac_prev=program_transform_name ;; 1378 -program-transform-name=* | --program-transform-name=* \ 1379 | --program-transform-nam=* | --program-transform-na=* \ 1380 | --program-transform-n=* | --program-transform-=* \ 1381 | --program-transform=* | --program-transfor=* \ 1382 | --program-transfo=* | --program-transf=* \ 1383 | --program-trans=* | --program-tran=* \ 1384 | --progr-tra=* | --program-tr=* | --program-t=*) 1385 program_transform_name=$ac_optarg ;; 1386 1387 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1388 ac_prev=pdfdir ;; 1389 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1390 pdfdir=$ac_optarg ;; 1391 1392 -psdir | --psdir | --psdi | --psd | --ps) 1393 ac_prev=psdir ;; 1394 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1395 psdir=$ac_optarg ;; 1396 1397 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1398 | -silent | --silent | --silen | --sile | --sil) 1399 silent=yes ;; 1400 1401 -runstatedir | --runstatedir | --runstatedi | --runstated \ 1402 | --runstate | --runstat | --runsta | --runst | --runs \ 1403 | --run | --ru | --r) 1404 ac_prev=runstatedir ;; 1405 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ 1406 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ 1407 | --run=* | --ru=* | --r=*) 1408 runstatedir=$ac_optarg ;; 1409 1410 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1411 ac_prev=sbindir ;; 1412 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1413 | --sbi=* | --sb=*) 1414 sbindir=$ac_optarg ;; 1415 1416 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1417 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1418 | --sharedst | --shareds | --shared | --share | --shar \ 1419 | --sha | --sh) 1420 ac_prev=sharedstatedir ;; 1421 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1422 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1423 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1424 | --sha=* | --sh=*) 1425 sharedstatedir=$ac_optarg ;; 1426 1427 -site | --site | --sit) 1428 ac_prev=site ;; 1429 -site=* | --site=* | --sit=*) 1430 site=$ac_optarg ;; 1431 1432 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1433 ac_prev=srcdir ;; 1434 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1435 srcdir=$ac_optarg ;; 1436 1437 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1438 | --syscon | --sysco | --sysc | --sys | --sy) 1439 ac_prev=sysconfdir ;; 1440 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1441 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1442 sysconfdir=$ac_optarg ;; 1443 1444 -target | --target | --targe | --targ | --tar | --ta | --t) 1445 ac_prev=target_alias ;; 1446 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1447 target_alias=$ac_optarg ;; 1448 1449 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1450 verbose=yes ;; 1451 1452 -version | --version | --versio | --versi | --vers | -V) 1453 ac_init_version=: ;; 1454 1455 -with-* | --with-*) 1456 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1457 # Reject names that are not valid shell variable names. 1458 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1459 as_fn_error $? "invalid package name: $ac_useropt" 1460 ac_useropt_orig=$ac_useropt 1461 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1462 case $ac_user_opts in 1463 *" 1464"with_$ac_useropt" 1465"*) ;; 1466 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1467 ac_unrecognized_sep=', ';; 1468 esac 1469 eval with_$ac_useropt=\$ac_optarg ;; 1470 1471 -without-* | --without-*) 1472 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1473 # Reject names that are not valid shell variable names. 1474 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1475 as_fn_error $? "invalid package name: $ac_useropt" 1476 ac_useropt_orig=$ac_useropt 1477 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1478 case $ac_user_opts in 1479 *" 1480"with_$ac_useropt" 1481"*) ;; 1482 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1483 ac_unrecognized_sep=', ';; 1484 esac 1485 eval with_$ac_useropt=no ;; 1486 1487 --x) 1488 # Obsolete; use --with-x. 1489 with_x=yes ;; 1490 1491 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1492 | --x-incl | --x-inc | --x-in | --x-i) 1493 ac_prev=x_includes ;; 1494 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1495 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1496 x_includes=$ac_optarg ;; 1497 1498 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1499 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1500 ac_prev=x_libraries ;; 1501 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1502 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1503 x_libraries=$ac_optarg ;; 1504 1505 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1506Try \`$0 --help' for more information" 1507 ;; 1508 1509 *=*) 1510 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1511 # Reject names that are not valid shell variable names. 1512 case $ac_envvar in #( 1513 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1514 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1515 esac 1516 eval $ac_envvar=\$ac_optarg 1517 export $ac_envvar ;; 1518 1519 *) 1520 # FIXME: should be removed in autoconf 3.0. 1521 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1522 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1523 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1524 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1525 ;; 1526 1527 esac 1528done 1529 1530if test -n "$ac_prev"; then 1531 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1532 as_fn_error $? "missing argument to $ac_option" 1533fi 1534 1535if test -n "$ac_unrecognized_opts"; then 1536 case $enable_option_checking in 1537 no) ;; 1538 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1539 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1540 esac 1541fi 1542 1543# Check all directory arguments for consistency. 1544for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1545 datadir sysconfdir sharedstatedir localstatedir includedir \ 1546 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1547 libdir localedir mandir runstatedir 1548do 1549 eval ac_val=\$$ac_var 1550 # Remove trailing slashes. 1551 case $ac_val in 1552 */ ) 1553 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1554 eval $ac_var=\$ac_val;; 1555 esac 1556 # Be sure to have absolute directory names. 1557 case $ac_val in 1558 [\\/$]* | ?:[\\/]* ) continue;; 1559 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1560 esac 1561 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1562done 1563 1564# There might be people who depend on the old broken behavior: `$host' 1565# used to hold the argument of --host etc. 1566# FIXME: To remove some day. 1567build=$build_alias 1568host=$host_alias 1569target=$target_alias 1570 1571# FIXME: To remove some day. 1572if test "x$host_alias" != x; then 1573 if test "x$build_alias" = x; then 1574 cross_compiling=maybe 1575 elif test "x$build_alias" != "x$host_alias"; then 1576 cross_compiling=yes 1577 fi 1578fi 1579 1580ac_tool_prefix= 1581test -n "$host_alias" && ac_tool_prefix=$host_alias- 1582 1583test "$silent" = yes && exec 6>/dev/null 1584 1585 1586ac_pwd=`pwd` && test -n "$ac_pwd" && 1587ac_ls_di=`ls -di .` && 1588ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1589 as_fn_error $? "working directory cannot be determined" 1590test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1591 as_fn_error $? "pwd does not report name of working directory" 1592 1593 1594# Find the source files, if location was not specified. 1595if test -z "$srcdir"; then 1596 ac_srcdir_defaulted=yes 1597 # Try the directory containing this script, then the parent directory. 1598 ac_confdir=`$as_dirname -- "$as_myself" || 1599$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1600 X"$as_myself" : 'X\(//\)[^/]' \| \ 1601 X"$as_myself" : 'X\(//\)$' \| \ 1602 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1603$as_echo X"$as_myself" | 1604 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1605 s//\1/ 1606 q 1607 } 1608 /^X\(\/\/\)[^/].*/{ 1609 s//\1/ 1610 q 1611 } 1612 /^X\(\/\/\)$/{ 1613 s//\1/ 1614 q 1615 } 1616 /^X\(\/\).*/{ 1617 s//\1/ 1618 q 1619 } 1620 s/.*/./; q'` 1621 srcdir=$ac_confdir 1622 if test ! -r "$srcdir/$ac_unique_file"; then 1623 srcdir=.. 1624 fi 1625else 1626 ac_srcdir_defaulted=no 1627fi 1628if test ! -r "$srcdir/$ac_unique_file"; then 1629 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1630 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1631fi 1632ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1633ac_abs_confdir=`( 1634 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1635 pwd)` 1636# When building in place, set srcdir=. 1637if test "$ac_abs_confdir" = "$ac_pwd"; then 1638 srcdir=. 1639fi 1640# Remove unnecessary trailing slashes from srcdir. 1641# Double slashes in file names in object file debugging info 1642# mess up M-x gdb in Emacs. 1643case $srcdir in 1644*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1645esac 1646for ac_var in $ac_precious_vars; do 1647 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1648 eval ac_env_${ac_var}_value=\$${ac_var} 1649 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1650 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1651done 1652 1653# 1654# Report the --help message. 1655# 1656if test "$ac_init_help" = "long"; then 1657 # Omit some internal or obsolete options to make the list less imposing. 1658 # This message is too long to be a string in the A/UX 3.1 sh. 1659 cat <<_ACEOF 1660\`configure' configures libvmdk 20210807 to adapt to many kinds of systems. 1661 1662Usage: $0 [OPTION]... [VAR=VALUE]... 1663 1664To assign environment variables (e.g., CC, CFLAGS...), specify them as 1665VAR=VALUE. See below for descriptions of some of the useful variables. 1666 1667Defaults for the options are specified in brackets. 1668 1669Configuration: 1670 -h, --help display this help and exit 1671 --help=short display options specific to this package 1672 --help=recursive display the short help of all the included packages 1673 -V, --version display version information and exit 1674 -q, --quiet, --silent do not print \`checking ...' messages 1675 --cache-file=FILE cache test results in FILE [disabled] 1676 -C, --config-cache alias for \`--cache-file=config.cache' 1677 -n, --no-create do not create output files 1678 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1679 1680Installation directories: 1681 --prefix=PREFIX install architecture-independent files in PREFIX 1682 [$ac_default_prefix] 1683 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1684 [PREFIX] 1685 1686By default, \`make install' will install all the files in 1687\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1688an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1689for instance \`--prefix=\$HOME'. 1690 1691For better control, use the options below. 1692 1693Fine tuning of the installation directories: 1694 --bindir=DIR user executables [EPREFIX/bin] 1695 --sbindir=DIR system admin executables [EPREFIX/sbin] 1696 --libexecdir=DIR program executables [EPREFIX/libexec] 1697 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1698 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1699 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1700 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] 1701 --libdir=DIR object code libraries [EPREFIX/lib] 1702 --includedir=DIR C header files [PREFIX/include] 1703 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1704 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1705 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1706 --infodir=DIR info documentation [DATAROOTDIR/info] 1707 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1708 --mandir=DIR man documentation [DATAROOTDIR/man] 1709 --docdir=DIR documentation root [DATAROOTDIR/doc/libvmdk] 1710 --htmldir=DIR html documentation [DOCDIR] 1711 --dvidir=DIR dvi documentation [DOCDIR] 1712 --pdfdir=DIR pdf documentation [DOCDIR] 1713 --psdir=DIR ps documentation [DOCDIR] 1714_ACEOF 1715 1716 cat <<\_ACEOF 1717 1718Program names: 1719 --program-prefix=PREFIX prepend PREFIX to installed program names 1720 --program-suffix=SUFFIX append SUFFIX to installed program names 1721 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1722 1723System types: 1724 --build=BUILD configure for building on BUILD [guessed] 1725 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1726_ACEOF 1727fi 1728 1729if test -n "$ac_init_help"; then 1730 case $ac_init_help in 1731 short | recursive ) echo "Configuration of libvmdk 20210807:";; 1732 esac 1733 cat <<\_ACEOF 1734 1735Optional Features: 1736 --disable-option-checking ignore unrecognized --enable/--with options 1737 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1738 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1739 --enable-silent-rules less verbose build output (undo: "make V=1") 1740 --disable-silent-rules verbose build output (undo: "make V=0") 1741 --enable-dependency-tracking 1742 do not reject slow dependency extractors 1743 --disable-dependency-tracking 1744 speeds up one-time build 1745 --enable-shared[=PKGS] build shared libraries [default=yes] 1746 --enable-static[=PKGS] build static libraries [default=yes] 1747 --enable-fast-install[=PKGS] 1748 optimize for fast installation [default=yes] 1749 --disable-libtool-lock avoid locking (might break parallel builds) 1750 --disable-nls do not use Native Language Support 1751 --disable-rpath do not hardcode runtime library paths 1752 --disable-largefile omit support for large files 1753 --disable-shared-libs disable shared library support 1754 --enable-static-executables 1755 build static executables (binaries) [default=no] 1756 --enable-winapi enable WINAPI support for cross-compilation 1757 [default=auto-detect] 1758 --enable-wide-character-type 1759 enable wide character type support [default=no] 1760 --enable-verbose-output enable verbose output [default=no] 1761 --enable-debug-output enable debug output [default=no] 1762 --enable-multi-threading-support 1763 enable multi-threading support [default=yes] 1764 --enable-python build Python bindings [default=no] 1765 --enable-python2 build Python 2 bindings [default=no] 1766 --enable-python3 build Python 3 bindings [default=no] 1767 1768Optional Packages: 1769 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1770 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1771 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use 1772 both] 1773 --with-aix-soname=aix|svr4|both 1774 shared library versioning (aka "SONAME") variant to 1775 provide on AIX, [default=aix]. 1776 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1777 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the 1778 compiler's sysroot if not specified). 1779 --with-gnu-ld assume the C compiler uses GNU ld default=no 1780 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib 1781 --without-libiconv-prefix don't search for libiconv in includedir and libdir 1782 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib 1783 --without-libintl-prefix don't search for libintl in includedir and libdir 1784 --with-libcerror[=DIR] search for libcerror in includedir and libdir or in 1785 the specified DIR, or no if to use local version 1786 [default=auto-detect] 1787 --with-libcthreads[=DIR] 1788 search for libcthreads in includedir and libdir or 1789 in the specified DIR, or no if to use local version 1790 [default=auto-detect] 1791 --with-pthread[=DIR] search for pthread in includedir and libdir or in 1792 the specified DIR, or no if not to use pthread 1793 [default=auto-detect] 1794 --with-libcdata[=DIR] search for libcdata in includedir and libdir or in 1795 the specified DIR, or no if to use local version 1796 [default=auto-detect] 1797 --with-libclocale[=DIR] search for libclocale in includedir and libdir or in 1798 the specified DIR, or no if to use local version 1799 [default=auto-detect] 1800 --with-libcnotify[=DIR] search for libcnotify in includedir and libdir or in 1801 the specified DIR, or no if to use local version 1802 [default=auto-detect] 1803 --with-libcsplit[=DIR] search for libcsplit in includedir and libdir or in 1804 the specified DIR, or no if to use local version 1805 [default=auto-detect] 1806 --with-libuna[=DIR] search for libuna in includedir and libdir or in the 1807 specified DIR, or no if to use local version 1808 [default=auto-detect] 1809 --with-libcfile[=DIR] search for libcfile in includedir and libdir or in 1810 the specified DIR, or no if to use local version 1811 [default=auto-detect] 1812 --with-libcpath[=DIR] search for libcpath in includedir and libdir or in 1813 the specified DIR, or no if to use local version 1814 [default=auto-detect] 1815 --with-libbfio[=DIR] search for libbfio in includedir and libdir or in 1816 the specified DIR, or no if to use local version 1817 [default=auto-detect] 1818 --with-libfcache[=DIR] search for libfcache in includedir and libdir or in 1819 the specified DIR, or no if to use local version 1820 [default=auto-detect] 1821 --with-libfdata[=DIR] search for libfdata in includedir and libdir or in 1822 the specified DIR, or no if to use local version 1823 [default=auto-detect] 1824 --with-libfvalue[=DIR] search for libfvalue in includedir and libdir or in 1825 the specified DIR, or no if to use local version 1826 [default=auto-detect] 1827 --with-zlib[=DIR] search for zlib in includedir and libdir or in the 1828 specified DIR, or no if not to use zlib 1829 [default=auto-detect] 1830 --with-pyprefix[=no] use `python-config --prefix' to determine the prefix 1831 of pythondir instead of --prefix [default=no] 1832 --with-pythondir[=no] use to specify the Python directory (pythondir) 1833 [default=no] 1834 --with-pythondir2[=no] use to specify the Python 2 directory (pythondir2) 1835 [default=no] 1836 --with-pythondir3[=no] use to specify the Python 3 directory (pythondir3) 1837 [default=no] 1838 --with-libfuse[=DIR] search for libfuse in includedir and libdir or in 1839 the specified DIR, or no if not to use libfuse 1840 [default=auto-detect] 1841 1842Some influential environment variables: 1843 CC C compiler command 1844 CFLAGS C compiler flags 1845 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1846 nonstandard directory <lib dir> 1847 LIBS libraries to pass to the linker, e.g. -l<library> 1848 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1849 you have headers in a nonstandard directory <include dir> 1850 CPP C preprocessor 1851 CXX C++ compiler command 1852 CXXFLAGS C++ compiler flags 1853 LT_SYS_LIBRARY_PATH 1854 User-defined run-time library search path. 1855 CXXCPP C++ preprocessor 1856 PKG_CONFIG path to pkg-config utility 1857 PKG_CONFIG_PATH 1858 directories to add to pkg-config's search path 1859 PKG_CONFIG_LIBDIR 1860 path overriding pkg-config's built-in search path 1861 libcerror_CFLAGS 1862 C compiler flags for libcerror, overriding pkg-config 1863 libcerror_LIBS 1864 linker flags for libcerror, overriding pkg-config 1865 libcthreads_CFLAGS 1866 C compiler flags for libcthreads, overriding pkg-config 1867 libcthreads_LIBS 1868 linker flags for libcthreads, overriding pkg-config 1869 libcdata_CFLAGS 1870 C compiler flags for libcdata, overriding pkg-config 1871 libcdata_LIBS 1872 linker flags for libcdata, overriding pkg-config 1873 libclocale_CFLAGS 1874 C compiler flags for libclocale, overriding pkg-config 1875 libclocale_LIBS 1876 linker flags for libclocale, overriding pkg-config 1877 libcnotify_CFLAGS 1878 C compiler flags for libcnotify, overriding pkg-config 1879 libcnotify_LIBS 1880 linker flags for libcnotify, overriding pkg-config 1881 libcsplit_CFLAGS 1882 C compiler flags for libcsplit, overriding pkg-config 1883 libcsplit_LIBS 1884 linker flags for libcsplit, overriding pkg-config 1885 libuna_CFLAGS 1886 C compiler flags for libuna, overriding pkg-config 1887 libuna_LIBS linker flags for libuna, overriding pkg-config 1888 libcfile_CFLAGS 1889 C compiler flags for libcfile, overriding pkg-config 1890 libcfile_LIBS 1891 linker flags for libcfile, overriding pkg-config 1892 libcpath_CFLAGS 1893 C compiler flags for libcpath, overriding pkg-config 1894 libcpath_LIBS 1895 linker flags for libcpath, overriding pkg-config 1896 libbfio_CFLAGS 1897 C compiler flags for libbfio, overriding pkg-config 1898 libbfio_LIBS 1899 linker flags for libbfio, overriding pkg-config 1900 libfcache_CFLAGS 1901 C compiler flags for libfcache, overriding pkg-config 1902 libfcache_LIBS 1903 linker flags for libfcache, overriding pkg-config 1904 libfdata_CFLAGS 1905 C compiler flags for libfdata, overriding pkg-config 1906 libfdata_LIBS 1907 linker flags for libfdata, overriding pkg-config 1908 libfvalue_CFLAGS 1909 C compiler flags for libfvalue, overriding pkg-config 1910 libfvalue_LIBS 1911 linker flags for libfvalue, overriding pkg-config 1912 zlib_CFLAGS C compiler flags for zlib, overriding pkg-config 1913 zlib_LIBS linker flags for zlib, overriding pkg-config 1914 fuse_CFLAGS C compiler flags for fuse, overriding pkg-config 1915 fuse_LIBS linker flags for fuse, overriding pkg-config 1916 1917Use these variables to override the choices made by `configure' or to help 1918it to find libraries and programs with nonstandard names/locations. 1919 1920Report bugs to <joachim.metz@gmail.com>. 1921_ACEOF 1922ac_status=$? 1923fi 1924 1925if test "$ac_init_help" = "recursive"; then 1926 # If there are subdirs, report their specific --help. 1927 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1928 test -d "$ac_dir" || 1929 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1930 continue 1931 ac_builddir=. 1932 1933case "$ac_dir" in 1934.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1935*) 1936 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1937 # A ".." for each directory in $ac_dir_suffix. 1938 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1939 case $ac_top_builddir_sub in 1940 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1941 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1942 esac ;; 1943esac 1944ac_abs_top_builddir=$ac_pwd 1945ac_abs_builddir=$ac_pwd$ac_dir_suffix 1946# for backward compatibility: 1947ac_top_builddir=$ac_top_build_prefix 1948 1949case $srcdir in 1950 .) # We are building in place. 1951 ac_srcdir=. 1952 ac_top_srcdir=$ac_top_builddir_sub 1953 ac_abs_top_srcdir=$ac_pwd ;; 1954 [\\/]* | ?:[\\/]* ) # Absolute name. 1955 ac_srcdir=$srcdir$ac_dir_suffix; 1956 ac_top_srcdir=$srcdir 1957 ac_abs_top_srcdir=$srcdir ;; 1958 *) # Relative name. 1959 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1960 ac_top_srcdir=$ac_top_build_prefix$srcdir 1961 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1962esac 1963ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1964 1965 cd "$ac_dir" || { ac_status=$?; continue; } 1966 # Check for guested configure. 1967 if test -f "$ac_srcdir/configure.gnu"; then 1968 echo && 1969 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1970 elif test -f "$ac_srcdir/configure"; then 1971 echo && 1972 $SHELL "$ac_srcdir/configure" --help=recursive 1973 else 1974 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1975 fi || ac_status=$? 1976 cd "$ac_pwd" || { ac_status=$?; break; } 1977 done 1978fi 1979 1980test -n "$ac_init_help" && exit $ac_status 1981if $ac_init_version; then 1982 cat <<\_ACEOF 1983libvmdk configure 20210807 1984generated by GNU Autoconf 2.69 1985 1986Copyright (C) 2012 Free Software Foundation, Inc. 1987This configure script is free software; the Free Software Foundation 1988gives unlimited permission to copy, distribute and modify it. 1989_ACEOF 1990 exit 1991fi 1992 1993## ------------------------ ## 1994## Autoconf initialization. ## 1995## ------------------------ ## 1996 1997# ac_fn_c_try_compile LINENO 1998# -------------------------- 1999# Try to compile conftest.$ac_ext, and return whether this succeeded. 2000ac_fn_c_try_compile () 2001{ 2002 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2003 rm -f conftest.$ac_objext 2004 if { { ac_try="$ac_compile" 2005case "(($ac_try" in 2006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2007 *) ac_try_echo=$ac_try;; 2008esac 2009eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2010$as_echo "$ac_try_echo"; } >&5 2011 (eval "$ac_compile") 2>conftest.err 2012 ac_status=$? 2013 if test -s conftest.err; then 2014 grep -v '^ *+' conftest.err >conftest.er1 2015 cat conftest.er1 >&5 2016 mv -f conftest.er1 conftest.err 2017 fi 2018 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2019 test $ac_status = 0; } && { 2020 test -z "$ac_c_werror_flag" || 2021 test ! -s conftest.err 2022 } && test -s conftest.$ac_objext; then : 2023 ac_retval=0 2024else 2025 $as_echo "$as_me: failed program was:" >&5 2026sed 's/^/| /' conftest.$ac_ext >&5 2027 2028 ac_retval=1 2029fi 2030 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2031 as_fn_set_status $ac_retval 2032 2033} # ac_fn_c_try_compile 2034 2035# ac_fn_c_try_cpp LINENO 2036# ---------------------- 2037# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 2038ac_fn_c_try_cpp () 2039{ 2040 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2041 if { { ac_try="$ac_cpp conftest.$ac_ext" 2042case "(($ac_try" in 2043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2044 *) ac_try_echo=$ac_try;; 2045esac 2046eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2047$as_echo "$ac_try_echo"; } >&5 2048 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 2049 ac_status=$? 2050 if test -s conftest.err; then 2051 grep -v '^ *+' conftest.err >conftest.er1 2052 cat conftest.er1 >&5 2053 mv -f conftest.er1 conftest.err 2054 fi 2055 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2056 test $ac_status = 0; } > conftest.i && { 2057 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 2058 test ! -s conftest.err 2059 }; then : 2060 ac_retval=0 2061else 2062 $as_echo "$as_me: failed program was:" >&5 2063sed 's/^/| /' conftest.$ac_ext >&5 2064 2065 ac_retval=1 2066fi 2067 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2068 as_fn_set_status $ac_retval 2069 2070} # ac_fn_c_try_cpp 2071 2072# ac_fn_cxx_try_compile LINENO 2073# ---------------------------- 2074# Try to compile conftest.$ac_ext, and return whether this succeeded. 2075ac_fn_cxx_try_compile () 2076{ 2077 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2078 rm -f conftest.$ac_objext 2079 if { { ac_try="$ac_compile" 2080case "(($ac_try" in 2081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2082 *) ac_try_echo=$ac_try;; 2083esac 2084eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2085$as_echo "$ac_try_echo"; } >&5 2086 (eval "$ac_compile") 2>conftest.err 2087 ac_status=$? 2088 if test -s conftest.err; then 2089 grep -v '^ *+' conftest.err >conftest.er1 2090 cat conftest.er1 >&5 2091 mv -f conftest.er1 conftest.err 2092 fi 2093 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2094 test $ac_status = 0; } && { 2095 test -z "$ac_cxx_werror_flag" || 2096 test ! -s conftest.err 2097 } && test -s conftest.$ac_objext; then : 2098 ac_retval=0 2099else 2100 $as_echo "$as_me: failed program was:" >&5 2101sed 's/^/| /' conftest.$ac_ext >&5 2102 2103 ac_retval=1 2104fi 2105 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2106 as_fn_set_status $ac_retval 2107 2108} # ac_fn_cxx_try_compile 2109 2110# ac_fn_c_try_link LINENO 2111# ----------------------- 2112# Try to link conftest.$ac_ext, and return whether this succeeded. 2113ac_fn_c_try_link () 2114{ 2115 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2116 rm -f conftest.$ac_objext conftest$ac_exeext 2117 if { { ac_try="$ac_link" 2118case "(($ac_try" in 2119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2120 *) ac_try_echo=$ac_try;; 2121esac 2122eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2123$as_echo "$ac_try_echo"; } >&5 2124 (eval "$ac_link") 2>conftest.err 2125 ac_status=$? 2126 if test -s conftest.err; then 2127 grep -v '^ *+' conftest.err >conftest.er1 2128 cat conftest.er1 >&5 2129 mv -f conftest.er1 conftest.err 2130 fi 2131 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2132 test $ac_status = 0; } && { 2133 test -z "$ac_c_werror_flag" || 2134 test ! -s conftest.err 2135 } && test -s conftest$ac_exeext && { 2136 test "$cross_compiling" = yes || 2137 test -x conftest$ac_exeext 2138 }; then : 2139 ac_retval=0 2140else 2141 $as_echo "$as_me: failed program was:" >&5 2142sed 's/^/| /' conftest.$ac_ext >&5 2143 2144 ac_retval=1 2145fi 2146 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 2147 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 2148 # interfere with the next link command; also delete a directory that is 2149 # left behind by Apple's compiler. We do this before executing the actions. 2150 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2151 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2152 as_fn_set_status $ac_retval 2153 2154} # ac_fn_c_try_link 2155 2156# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 2157# ------------------------------------------------------- 2158# Tests whether HEADER exists and can be compiled using the include files in 2159# INCLUDES, setting the cache variable VAR accordingly. 2160ac_fn_c_check_header_compile () 2161{ 2162 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2164$as_echo_n "checking for $2... " >&6; } 2165if eval \${$3+:} false; then : 2166 $as_echo_n "(cached) " >&6 2167else 2168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2169/* end confdefs.h. */ 2170$4 2171#include <$2> 2172_ACEOF 2173if ac_fn_c_try_compile "$LINENO"; then : 2174 eval "$3=yes" 2175else 2176 eval "$3=no" 2177fi 2178rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2179fi 2180eval ac_res=\$$3 2181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2182$as_echo "$ac_res" >&6; } 2183 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2184 2185} # ac_fn_c_check_header_compile 2186 2187# ac_fn_c_try_run LINENO 2188# ---------------------- 2189# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 2190# that executables *can* be run. 2191ac_fn_c_try_run () 2192{ 2193 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2194 if { { ac_try="$ac_link" 2195case "(($ac_try" in 2196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2197 *) ac_try_echo=$ac_try;; 2198esac 2199eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2200$as_echo "$ac_try_echo"; } >&5 2201 (eval "$ac_link") 2>&5 2202 ac_status=$? 2203 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2204 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 2205 { { case "(($ac_try" in 2206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2207 *) ac_try_echo=$ac_try;; 2208esac 2209eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2210$as_echo "$ac_try_echo"; } >&5 2211 (eval "$ac_try") 2>&5 2212 ac_status=$? 2213 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2214 test $ac_status = 0; }; }; then : 2215 ac_retval=0 2216else 2217 $as_echo "$as_me: program exited with status $ac_status" >&5 2218 $as_echo "$as_me: failed program was:" >&5 2219sed 's/^/| /' conftest.$ac_ext >&5 2220 2221 ac_retval=$ac_status 2222fi 2223 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2224 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2225 as_fn_set_status $ac_retval 2226 2227} # ac_fn_c_try_run 2228 2229# ac_fn_c_check_func LINENO FUNC VAR 2230# ---------------------------------- 2231# Tests whether FUNC exists, setting the cache variable VAR accordingly 2232ac_fn_c_check_func () 2233{ 2234 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2236$as_echo_n "checking for $2... " >&6; } 2237if eval \${$3+:} false; then : 2238 $as_echo_n "(cached) " >&6 2239else 2240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2241/* end confdefs.h. */ 2242/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 2243 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 2244#define $2 innocuous_$2 2245 2246/* System header to define __stub macros and hopefully few prototypes, 2247 which can conflict with char $2 (); below. 2248 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 2249 <limits.h> exists even on freestanding compilers. */ 2250 2251#ifdef __STDC__ 2252# include <limits.h> 2253#else 2254# include <assert.h> 2255#endif 2256 2257#undef $2 2258 2259/* Override any GCC internal prototype to avoid an error. 2260 Use char because int might match the return type of a GCC 2261 builtin and then its argument prototype would still apply. */ 2262#ifdef __cplusplus 2263extern "C" 2264#endif 2265char $2 (); 2266/* The GNU C library defines this for functions which it implements 2267 to always fail with ENOSYS. Some functions are actually named 2268 something starting with __ and the normal name is an alias. */ 2269#if defined __stub_$2 || defined __stub___$2 2270choke me 2271#endif 2272 2273int 2274main () 2275{ 2276return $2 (); 2277 ; 2278 return 0; 2279} 2280_ACEOF 2281if ac_fn_c_try_link "$LINENO"; then : 2282 eval "$3=yes" 2283else 2284 eval "$3=no" 2285fi 2286rm -f core conftest.err conftest.$ac_objext \ 2287 conftest$ac_exeext conftest.$ac_ext 2288fi 2289eval ac_res=\$$3 2290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2291$as_echo "$ac_res" >&6; } 2292 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2293 2294} # ac_fn_c_check_func 2295 2296# ac_fn_cxx_try_cpp LINENO 2297# ------------------------ 2298# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 2299ac_fn_cxx_try_cpp () 2300{ 2301 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2302 if { { ac_try="$ac_cpp conftest.$ac_ext" 2303case "(($ac_try" in 2304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2305 *) ac_try_echo=$ac_try;; 2306esac 2307eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2308$as_echo "$ac_try_echo"; } >&5 2309 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 2310 ac_status=$? 2311 if test -s conftest.err; then 2312 grep -v '^ *+' conftest.err >conftest.er1 2313 cat conftest.er1 >&5 2314 mv -f conftest.er1 conftest.err 2315 fi 2316 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2317 test $ac_status = 0; } > conftest.i && { 2318 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 2319 test ! -s conftest.err 2320 }; then : 2321 ac_retval=0 2322else 2323 $as_echo "$as_me: failed program was:" >&5 2324sed 's/^/| /' conftest.$ac_ext >&5 2325 2326 ac_retval=1 2327fi 2328 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2329 as_fn_set_status $ac_retval 2330 2331} # ac_fn_cxx_try_cpp 2332 2333# ac_fn_cxx_try_link LINENO 2334# ------------------------- 2335# Try to link conftest.$ac_ext, and return whether this succeeded. 2336ac_fn_cxx_try_link () 2337{ 2338 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2339 rm -f conftest.$ac_objext conftest$ac_exeext 2340 if { { ac_try="$ac_link" 2341case "(($ac_try" in 2342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2343 *) ac_try_echo=$ac_try;; 2344esac 2345eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2346$as_echo "$ac_try_echo"; } >&5 2347 (eval "$ac_link") 2>conftest.err 2348 ac_status=$? 2349 if test -s conftest.err; then 2350 grep -v '^ *+' conftest.err >conftest.er1 2351 cat conftest.er1 >&5 2352 mv -f conftest.er1 conftest.err 2353 fi 2354 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2355 test $ac_status = 0; } && { 2356 test -z "$ac_cxx_werror_flag" || 2357 test ! -s conftest.err 2358 } && test -s conftest$ac_exeext && { 2359 test "$cross_compiling" = yes || 2360 test -x conftest$ac_exeext 2361 }; then : 2362 ac_retval=0 2363else 2364 $as_echo "$as_me: failed program was:" >&5 2365sed 's/^/| /' conftest.$ac_ext >&5 2366 2367 ac_retval=1 2368fi 2369 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 2370 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 2371 # interfere with the next link command; also delete a directory that is 2372 # left behind by Apple's compiler. We do this before executing the actions. 2373 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2374 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2375 as_fn_set_status $ac_retval 2376 2377} # ac_fn_cxx_try_link 2378 2379# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 2380# ------------------------------------------------------- 2381# Tests whether HEADER exists, giving a warning if it cannot be compiled using 2382# the include files in INCLUDES and setting the cache variable VAR 2383# accordingly. 2384ac_fn_c_check_header_mongrel () 2385{ 2386 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2387 if eval \${$3+:} false; then : 2388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2389$as_echo_n "checking for $2... " >&6; } 2390if eval \${$3+:} false; then : 2391 $as_echo_n "(cached) " >&6 2392fi 2393eval ac_res=\$$3 2394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2395$as_echo "$ac_res" >&6; } 2396else 2397 # Is the header compilable? 2398{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 2399$as_echo_n "checking $2 usability... " >&6; } 2400cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2401/* end confdefs.h. */ 2402$4 2403#include <$2> 2404_ACEOF 2405if ac_fn_c_try_compile "$LINENO"; then : 2406 ac_header_compiler=yes 2407else 2408 ac_header_compiler=no 2409fi 2410rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2411{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 2412$as_echo "$ac_header_compiler" >&6; } 2413 2414# Is the header present? 2415{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 2416$as_echo_n "checking $2 presence... " >&6; } 2417cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2418/* end confdefs.h. */ 2419#include <$2> 2420_ACEOF 2421if ac_fn_c_try_cpp "$LINENO"; then : 2422 ac_header_preproc=yes 2423else 2424 ac_header_preproc=no 2425fi 2426rm -f conftest.err conftest.i conftest.$ac_ext 2427{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 2428$as_echo "$ac_header_preproc" >&6; } 2429 2430# So? What about this header? 2431case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 2432 yes:no: ) 2433 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 2434$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 2435 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2436$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2437 ;; 2438 no:yes:* ) 2439 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 2440$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 2441 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 2442$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 2443 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 2444$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 2445 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 2446$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 2447 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2448$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2449( $as_echo "## ------------------------------------- ## 2450## Report this to joachim.metz@gmail.com ## 2451## ------------------------------------- ##" 2452 ) | sed "s/^/$as_me: WARNING: /" >&2 2453 ;; 2454esac 2455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2456$as_echo_n "checking for $2... " >&6; } 2457if eval \${$3+:} false; then : 2458 $as_echo_n "(cached) " >&6 2459else 2460 eval "$3=\$ac_header_compiler" 2461fi 2462eval ac_res=\$$3 2463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2464$as_echo "$ac_res" >&6; } 2465fi 2466 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2467 2468} # ac_fn_c_check_header_mongrel 2469 2470# ac_fn_c_check_type LINENO TYPE VAR INCLUDES 2471# ------------------------------------------- 2472# Tests whether TYPE exists after having included INCLUDES, setting cache 2473# variable VAR accordingly. 2474ac_fn_c_check_type () 2475{ 2476 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2478$as_echo_n "checking for $2... " >&6; } 2479if eval \${$3+:} false; then : 2480 $as_echo_n "(cached) " >&6 2481else 2482 eval "$3=no" 2483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2484/* end confdefs.h. */ 2485$4 2486int 2487main () 2488{ 2489if (sizeof ($2)) 2490 return 0; 2491 ; 2492 return 0; 2493} 2494_ACEOF 2495if ac_fn_c_try_compile "$LINENO"; then : 2496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2497/* end confdefs.h. */ 2498$4 2499int 2500main () 2501{ 2502if (sizeof (($2))) 2503 return 0; 2504 ; 2505 return 0; 2506} 2507_ACEOF 2508if ac_fn_c_try_compile "$LINENO"; then : 2509 2510else 2511 eval "$3=yes" 2512fi 2513rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2514fi 2515rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2516fi 2517eval ac_res=\$$3 2518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2519$as_echo "$ac_res" >&6; } 2520 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2521 2522} # ac_fn_c_check_type 2523 2524# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES 2525# -------------------------------------------- 2526# Tries to find the compile-time value of EXPR in a program that includes 2527# INCLUDES, setting VAR accordingly. Returns whether the value could be 2528# computed 2529ac_fn_c_compute_int () 2530{ 2531 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2532 if test "$cross_compiling" = yes; then 2533 # Depending upon the size, compute the lo and hi bounds. 2534cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2535/* end confdefs.h. */ 2536$4 2537int 2538main () 2539{ 2540static int test_array [1 - 2 * !(($2) >= 0)]; 2541test_array [0] = 0; 2542return test_array [0]; 2543 2544 ; 2545 return 0; 2546} 2547_ACEOF 2548if ac_fn_c_try_compile "$LINENO"; then : 2549 ac_lo=0 ac_mid=0 2550 while :; do 2551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2552/* end confdefs.h. */ 2553$4 2554int 2555main () 2556{ 2557static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 2558test_array [0] = 0; 2559return test_array [0]; 2560 2561 ; 2562 return 0; 2563} 2564_ACEOF 2565if ac_fn_c_try_compile "$LINENO"; then : 2566 ac_hi=$ac_mid; break 2567else 2568 as_fn_arith $ac_mid + 1 && ac_lo=$as_val 2569 if test $ac_lo -le $ac_mid; then 2570 ac_lo= ac_hi= 2571 break 2572 fi 2573 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val 2574fi 2575rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2576 done 2577else 2578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2579/* end confdefs.h. */ 2580$4 2581int 2582main () 2583{ 2584static int test_array [1 - 2 * !(($2) < 0)]; 2585test_array [0] = 0; 2586return test_array [0]; 2587 2588 ; 2589 return 0; 2590} 2591_ACEOF 2592if ac_fn_c_try_compile "$LINENO"; then : 2593 ac_hi=-1 ac_mid=-1 2594 while :; do 2595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2596/* end confdefs.h. */ 2597$4 2598int 2599main () 2600{ 2601static int test_array [1 - 2 * !(($2) >= $ac_mid)]; 2602test_array [0] = 0; 2603return test_array [0]; 2604 2605 ; 2606 return 0; 2607} 2608_ACEOF 2609if ac_fn_c_try_compile "$LINENO"; then : 2610 ac_lo=$ac_mid; break 2611else 2612 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val 2613 if test $ac_mid -le $ac_hi; then 2614 ac_lo= ac_hi= 2615 break 2616 fi 2617 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val 2618fi 2619rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2620 done 2621else 2622 ac_lo= ac_hi= 2623fi 2624rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2625fi 2626rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2627# Binary search between lo and hi bounds. 2628while test "x$ac_lo" != "x$ac_hi"; do 2629 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val 2630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2631/* end confdefs.h. */ 2632$4 2633int 2634main () 2635{ 2636static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 2637test_array [0] = 0; 2638return test_array [0]; 2639 2640 ; 2641 return 0; 2642} 2643_ACEOF 2644if ac_fn_c_try_compile "$LINENO"; then : 2645 ac_hi=$ac_mid 2646else 2647 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val 2648fi 2649rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2650done 2651case $ac_lo in #(( 2652?*) eval "$3=\$ac_lo"; ac_retval=0 ;; 2653'') ac_retval=1 ;; 2654esac 2655 else 2656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2657/* end confdefs.h. */ 2658$4 2659static long int longval () { return $2; } 2660static unsigned long int ulongval () { return $2; } 2661#include <stdio.h> 2662#include <stdlib.h> 2663int 2664main () 2665{ 2666 2667 FILE *f = fopen ("conftest.val", "w"); 2668 if (! f) 2669 return 1; 2670 if (($2) < 0) 2671 { 2672 long int i = longval (); 2673 if (i != ($2)) 2674 return 1; 2675 fprintf (f, "%ld", i); 2676 } 2677 else 2678 { 2679 unsigned long int i = ulongval (); 2680 if (i != ($2)) 2681 return 1; 2682 fprintf (f, "%lu", i); 2683 } 2684 /* Do not output a trailing newline, as this causes \r\n confusion 2685 on some platforms. */ 2686 return ferror (f) || fclose (f) != 0; 2687 2688 ; 2689 return 0; 2690} 2691_ACEOF 2692if ac_fn_c_try_run "$LINENO"; then : 2693 echo >>conftest.val; read $3 <conftest.val; ac_retval=0 2694else 2695 ac_retval=1 2696fi 2697rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 2698 conftest.$ac_objext conftest.beam conftest.$ac_ext 2699rm -f conftest.val 2700 2701 fi 2702 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2703 as_fn_set_status $ac_retval 2704 2705} # ac_fn_c_compute_int 2706 2707# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES 2708# --------------------------------------------- 2709# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR 2710# accordingly. 2711ac_fn_c_check_decl () 2712{ 2713 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2714 as_decl_name=`echo $2|sed 's/ *(.*//'` 2715 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` 2716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 2717$as_echo_n "checking whether $as_decl_name is declared... " >&6; } 2718if eval \${$3+:} false; then : 2719 $as_echo_n "(cached) " >&6 2720else 2721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2722/* end confdefs.h. */ 2723$4 2724int 2725main () 2726{ 2727#ifndef $as_decl_name 2728#ifdef __cplusplus 2729 (void) $as_decl_use; 2730#else 2731 (void) $as_decl_name; 2732#endif 2733#endif 2734 2735 ; 2736 return 0; 2737} 2738_ACEOF 2739if ac_fn_c_try_compile "$LINENO"; then : 2740 eval "$3=yes" 2741else 2742 eval "$3=no" 2743fi 2744rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2745fi 2746eval ac_res=\$$3 2747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2748$as_echo "$ac_res" >&6; } 2749 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2750 2751} # ac_fn_c_check_decl 2752cat >config.log <<_ACEOF 2753This file contains any messages produced by compilers while 2754running configure, to aid debugging if configure makes a mistake. 2755 2756It was created by libvmdk $as_me 20210807, which was 2757generated by GNU Autoconf 2.69. Invocation command line was 2758 2759 $ $0 $@ 2760 2761_ACEOF 2762exec 5>>config.log 2763{ 2764cat <<_ASUNAME 2765## --------- ## 2766## Platform. ## 2767## --------- ## 2768 2769hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 2770uname -m = `(uname -m) 2>/dev/null || echo unknown` 2771uname -r = `(uname -r) 2>/dev/null || echo unknown` 2772uname -s = `(uname -s) 2>/dev/null || echo unknown` 2773uname -v = `(uname -v) 2>/dev/null || echo unknown` 2774 2775/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 2776/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 2777 2778/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 2779/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 2780/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 2781/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 2782/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 2783/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 2784/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 2785 2786_ASUNAME 2787 2788as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2789for as_dir in $PATH 2790do 2791 IFS=$as_save_IFS 2792 test -z "$as_dir" && as_dir=. 2793 $as_echo "PATH: $as_dir" 2794 done 2795IFS=$as_save_IFS 2796 2797} >&5 2798 2799cat >&5 <<_ACEOF 2800 2801 2802## ----------- ## 2803## Core tests. ## 2804## ----------- ## 2805 2806_ACEOF 2807 2808 2809# Keep a trace of the command line. 2810# Strip out --no-create and --no-recursion so they do not pile up. 2811# Strip out --silent because we don't want to record it for future runs. 2812# Also quote any args containing shell meta-characters. 2813# Make two passes to allow for proper duplicate-argument suppression. 2814ac_configure_args= 2815ac_configure_args0= 2816ac_configure_args1= 2817ac_must_keep_next=false 2818for ac_pass in 1 2 2819do 2820 for ac_arg 2821 do 2822 case $ac_arg in 2823 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2824 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2825 | -silent | --silent | --silen | --sile | --sil) 2826 continue ;; 2827 *\'*) 2828 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2829 esac 2830 case $ac_pass in 2831 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2832 2) 2833 as_fn_append ac_configure_args1 " '$ac_arg'" 2834 if test $ac_must_keep_next = true; then 2835 ac_must_keep_next=false # Got value, back to normal. 2836 else 2837 case $ac_arg in 2838 *=* | --config-cache | -C | -disable-* | --disable-* \ 2839 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2840 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2841 | -with-* | --with-* | -without-* | --without-* | --x) 2842 case "$ac_configure_args0 " in 2843 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2844 esac 2845 ;; 2846 -* ) ac_must_keep_next=true ;; 2847 esac 2848 fi 2849 as_fn_append ac_configure_args " '$ac_arg'" 2850 ;; 2851 esac 2852 done 2853done 2854{ ac_configure_args0=; unset ac_configure_args0;} 2855{ ac_configure_args1=; unset ac_configure_args1;} 2856 2857# When interrupted or exit'd, cleanup temporary files, and complete 2858# config.log. We remove comments because anyway the quotes in there 2859# would cause problems or look ugly. 2860# WARNING: Use '\'' to represent an apostrophe within the trap. 2861# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2862trap 'exit_status=$? 2863 # Save into config.log some information that might help in debugging. 2864 { 2865 echo 2866 2867 $as_echo "## ---------------- ## 2868## Cache variables. ## 2869## ---------------- ##" 2870 echo 2871 # The following way of writing the cache mishandles newlines in values, 2872( 2873 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2874 eval ac_val=\$$ac_var 2875 case $ac_val in #( 2876 *${as_nl}*) 2877 case $ac_var in #( 2878 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2879$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2880 esac 2881 case $ac_var in #( 2882 _ | IFS | as_nl) ;; #( 2883 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2884 *) { eval $ac_var=; unset $ac_var;} ;; 2885 esac ;; 2886 esac 2887 done 2888 (set) 2>&1 | 2889 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2890 *${as_nl}ac_space=\ *) 2891 sed -n \ 2892 "s/'\''/'\''\\\\'\'''\''/g; 2893 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2894 ;; #( 2895 *) 2896 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2897 ;; 2898 esac | 2899 sort 2900) 2901 echo 2902 2903 $as_echo "## ----------------- ## 2904## Output variables. ## 2905## ----------------- ##" 2906 echo 2907 for ac_var in $ac_subst_vars 2908 do 2909 eval ac_val=\$$ac_var 2910 case $ac_val in 2911 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2912 esac 2913 $as_echo "$ac_var='\''$ac_val'\''" 2914 done | sort 2915 echo 2916 2917 if test -n "$ac_subst_files"; then 2918 $as_echo "## ------------------- ## 2919## File substitutions. ## 2920## ------------------- ##" 2921 echo 2922 for ac_var in $ac_subst_files 2923 do 2924 eval ac_val=\$$ac_var 2925 case $ac_val in 2926 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2927 esac 2928 $as_echo "$ac_var='\''$ac_val'\''" 2929 done | sort 2930 echo 2931 fi 2932 2933 if test -s confdefs.h; then 2934 $as_echo "## ----------- ## 2935## confdefs.h. ## 2936## ----------- ##" 2937 echo 2938 cat confdefs.h 2939 echo 2940 fi 2941 test "$ac_signal" != 0 && 2942 $as_echo "$as_me: caught signal $ac_signal" 2943 $as_echo "$as_me: exit $exit_status" 2944 } >&5 2945 rm -f core *.core core.conftest.* && 2946 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2947 exit $exit_status 2948' 0 2949for ac_signal in 1 2 13 15; do 2950 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2951done 2952ac_signal=0 2953 2954# confdefs.h avoids OS command line length limits that DEFS can exceed. 2955rm -f -r conftest* confdefs.h 2956 2957$as_echo "/* confdefs.h */" > confdefs.h 2958 2959# Predefined preprocessor variables. 2960 2961cat >>confdefs.h <<_ACEOF 2962#define PACKAGE_NAME "$PACKAGE_NAME" 2963_ACEOF 2964 2965cat >>confdefs.h <<_ACEOF 2966#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2967_ACEOF 2968 2969cat >>confdefs.h <<_ACEOF 2970#define PACKAGE_VERSION "$PACKAGE_VERSION" 2971_ACEOF 2972 2973cat >>confdefs.h <<_ACEOF 2974#define PACKAGE_STRING "$PACKAGE_STRING" 2975_ACEOF 2976 2977cat >>confdefs.h <<_ACEOF 2978#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2979_ACEOF 2980 2981cat >>confdefs.h <<_ACEOF 2982#define PACKAGE_URL "$PACKAGE_URL" 2983_ACEOF 2984 2985 2986# Let the site file select an alternate cache file if it wants to. 2987# Prefer an explicitly selected file to automatically selected ones. 2988ac_site_file1=NONE 2989ac_site_file2=NONE 2990if test -n "$CONFIG_SITE"; then 2991 # We do not want a PATH search for config.site. 2992 case $CONFIG_SITE in #(( 2993 -*) ac_site_file1=./$CONFIG_SITE;; 2994 */*) ac_site_file1=$CONFIG_SITE;; 2995 *) ac_site_file1=./$CONFIG_SITE;; 2996 esac 2997elif test "x$prefix" != xNONE; then 2998 ac_site_file1=$prefix/share/config.site 2999 ac_site_file2=$prefix/etc/config.site 3000else 3001 ac_site_file1=$ac_default_prefix/share/config.site 3002 ac_site_file2=$ac_default_prefix/etc/config.site 3003fi 3004for ac_site_file in "$ac_site_file1" "$ac_site_file2" 3005do 3006 test "x$ac_site_file" = xNONE && continue 3007 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 3008 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 3009$as_echo "$as_me: loading site script $ac_site_file" >&6;} 3010 sed 's/^/| /' "$ac_site_file" >&5 3011 . "$ac_site_file" \ 3012 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3013$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3014as_fn_error $? "failed to load site script $ac_site_file 3015See \`config.log' for more details" "$LINENO" 5; } 3016 fi 3017done 3018 3019if test -r "$cache_file"; then 3020 # Some versions of bash will fail to source /dev/null (special files 3021 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 3022 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 3023 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 3024$as_echo "$as_me: loading cache $cache_file" >&6;} 3025 case $cache_file in 3026 [\\/]* | ?:[\\/]* ) . "$cache_file";; 3027 *) . "./$cache_file";; 3028 esac 3029 fi 3030else 3031 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 3032$as_echo "$as_me: creating cache $cache_file" >&6;} 3033 >$cache_file 3034fi 3035 3036gt_needs="$gt_needs " 3037# Check that the precious variables saved in the cache have kept the same 3038# value. 3039ac_cache_corrupted=false 3040for ac_var in $ac_precious_vars; do 3041 eval ac_old_set=\$ac_cv_env_${ac_var}_set 3042 eval ac_new_set=\$ac_env_${ac_var}_set 3043 eval ac_old_val=\$ac_cv_env_${ac_var}_value 3044 eval ac_new_val=\$ac_env_${ac_var}_value 3045 case $ac_old_set,$ac_new_set in 3046 set,) 3047 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 3048$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 3049 ac_cache_corrupted=: ;; 3050 ,set) 3051 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 3052$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 3053 ac_cache_corrupted=: ;; 3054 ,);; 3055 *) 3056 if test "x$ac_old_val" != "x$ac_new_val"; then 3057 # differences in whitespace do not lead to failure. 3058 ac_old_val_w=`echo x $ac_old_val` 3059 ac_new_val_w=`echo x $ac_new_val` 3060 if test "$ac_old_val_w" != "$ac_new_val_w"; then 3061 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 3062$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 3063 ac_cache_corrupted=: 3064 else 3065 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 3066$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 3067 eval $ac_var=\$ac_old_val 3068 fi 3069 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 3070$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 3071 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 3072$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 3073 fi;; 3074 esac 3075 # Pass precious variables to config.status. 3076 if test "$ac_new_set" = set; then 3077 case $ac_new_val in 3078 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 3079 *) ac_arg=$ac_var=$ac_new_val ;; 3080 esac 3081 case " $ac_configure_args " in 3082 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 3083 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 3084 esac 3085 fi 3086done 3087if $ac_cache_corrupted; then 3088 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3089$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3090 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 3091$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 3092 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 3093fi 3094## -------------------- ## 3095## Main body of script. ## 3096## -------------------- ## 3097 3098ac_ext=c 3099ac_cpp='$CPP $CPPFLAGS' 3100ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3101ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3102ac_compiler_gnu=$ac_cv_c_compiler_gnu 3103 3104 3105 3106 3107 3108am__api_version='1.16' 3109 3110ac_aux_dir= 3111for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 3112 if test -f "$ac_dir/install-sh"; then 3113 ac_aux_dir=$ac_dir 3114 ac_install_sh="$ac_aux_dir/install-sh -c" 3115 break 3116 elif test -f "$ac_dir/install.sh"; then 3117 ac_aux_dir=$ac_dir 3118 ac_install_sh="$ac_aux_dir/install.sh -c" 3119 break 3120 elif test -f "$ac_dir/shtool"; then 3121 ac_aux_dir=$ac_dir 3122 ac_install_sh="$ac_aux_dir/shtool install -c" 3123 break 3124 fi 3125done 3126if test -z "$ac_aux_dir"; then 3127 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 3128fi 3129 3130# These three variables are undocumented and unsupported, 3131# and are intended to be withdrawn in a future Autoconf release. 3132# They can cause serious problems if a builder's source tree is in a directory 3133# whose full name contains unusual characters. 3134ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 3135ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 3136ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 3137 3138 3139# Find a good install program. We prefer a C program (faster), 3140# so one script is as good as another. But avoid the broken or 3141# incompatible versions: 3142# SysV /etc/install, /usr/sbin/install 3143# SunOS /usr/etc/install 3144# IRIX /sbin/install 3145# AIX /bin/install 3146# AmigaOS /C/install, which installs bootblocks on floppy discs 3147# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 3148# AFS /usr/afsws/bin/install, which mishandles nonexistent args 3149# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 3150# OS/2's system install, which has a completely different semantic 3151# ./install, which can be erroneously created by make from ./install.sh. 3152# Reject install programs that cannot install multiple files. 3153{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 3154$as_echo_n "checking for a BSD-compatible install... " >&6; } 3155if test -z "$INSTALL"; then 3156if ${ac_cv_path_install+:} false; then : 3157 $as_echo_n "(cached) " >&6 3158else 3159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3160for as_dir in $PATH 3161do 3162 IFS=$as_save_IFS 3163 test -z "$as_dir" && as_dir=. 3164 # Account for people who put trailing slashes in PATH elements. 3165case $as_dir/ in #(( 3166 ./ | .// | /[cC]/* | \ 3167 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 3168 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 3169 /usr/ucb/* ) ;; 3170 *) 3171 # OSF1 and SCO ODT 3.0 have their own names for install. 3172 # Don't use installbsd from OSF since it installs stuff as root 3173 # by default. 3174 for ac_prog in ginstall scoinst install; do 3175 for ac_exec_ext in '' $ac_executable_extensions; do 3176 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 3177 if test $ac_prog = install && 3178 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3179 # AIX install. It has an incompatible calling convention. 3180 : 3181 elif test $ac_prog = install && 3182 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3183 # program-specific install script used by HP pwplus--don't use. 3184 : 3185 else 3186 rm -rf conftest.one conftest.two conftest.dir 3187 echo one > conftest.one 3188 echo two > conftest.two 3189 mkdir conftest.dir 3190 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 3191 test -s conftest.one && test -s conftest.two && 3192 test -s conftest.dir/conftest.one && 3193 test -s conftest.dir/conftest.two 3194 then 3195 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 3196 break 3 3197 fi 3198 fi 3199 fi 3200 done 3201 done 3202 ;; 3203esac 3204 3205 done 3206IFS=$as_save_IFS 3207 3208rm -rf conftest.one conftest.two conftest.dir 3209 3210fi 3211 if test "${ac_cv_path_install+set}" = set; then 3212 INSTALL=$ac_cv_path_install 3213 else 3214 # As a last resort, use the slow shell script. Don't cache a 3215 # value for INSTALL within a source directory, because that will 3216 # break other packages using the cache if that directory is 3217 # removed, or if the value is a relative name. 3218 INSTALL=$ac_install_sh 3219 fi 3220fi 3221{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 3222$as_echo "$INSTALL" >&6; } 3223 3224# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 3225# It thinks the first close brace ends the variable substitution. 3226test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 3227 3228test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 3229 3230test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 3231 3232{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 3233$as_echo_n "checking whether build environment is sane... " >&6; } 3234# Reject unsafe characters in $srcdir or the absolute working directory 3235# name. Accept space and tab only in the latter. 3236am_lf=' 3237' 3238case `pwd` in 3239 *[\\\"\#\$\&\'\`$am_lf]*) 3240 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 3241esac 3242case $srcdir in 3243 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 3244 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 3245esac 3246 3247# Do 'set' in a subshell so we don't clobber the current shell's 3248# arguments. Must try -L first in case configure is actually a 3249# symlink; some systems play weird games with the mod time of symlinks 3250# (eg FreeBSD returns the mod time of the symlink's containing 3251# directory). 3252if ( 3253 am_has_slept=no 3254 for am_try in 1 2; do 3255 echo "timestamp, slept: $am_has_slept" > conftest.file 3256 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 3257 if test "$*" = "X"; then 3258 # -L didn't work. 3259 set X `ls -t "$srcdir/configure" conftest.file` 3260 fi 3261 if test "$*" != "X $srcdir/configure conftest.file" \ 3262 && test "$*" != "X conftest.file $srcdir/configure"; then 3263 3264 # If neither matched, then we have a broken ls. This can happen 3265 # if, for instance, CONFIG_SHELL is bash and it inherits a 3266 # broken ls alias from the environment. This has actually 3267 # happened. Such a system could not be considered "sane". 3268 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 3269 alias in your environment" "$LINENO" 5 3270 fi 3271 if test "$2" = conftest.file || test $am_try -eq 2; then 3272 break 3273 fi 3274 # Just in case. 3275 sleep 1 3276 am_has_slept=yes 3277 done 3278 test "$2" = conftest.file 3279 ) 3280then 3281 # Ok. 3282 : 3283else 3284 as_fn_error $? "newly created file is older than distributed files! 3285Check your system clock" "$LINENO" 5 3286fi 3287{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3288$as_echo "yes" >&6; } 3289# If we didn't sleep, we still need to ensure time stamps of config.status and 3290# generated files are strictly newer. 3291am_sleep_pid= 3292if grep 'slept: no' conftest.file >/dev/null 2>&1; then 3293 ( sleep 1 ) & 3294 am_sleep_pid=$! 3295fi 3296 3297rm -f conftest.file 3298 3299test "$program_prefix" != NONE && 3300 program_transform_name="s&^&$program_prefix&;$program_transform_name" 3301# Use a double $ so make ignores it. 3302test "$program_suffix" != NONE && 3303 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 3304# Double any \ or $. 3305# By default was `s,x,x', remove it if useless. 3306ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 3307program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 3308 3309# Expand $ac_aux_dir to an absolute path. 3310am_aux_dir=`cd "$ac_aux_dir" && pwd` 3311 3312if test x"${MISSING+set}" != xset; then 3313 case $am_aux_dir in 3314 *\ * | *\ *) 3315 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 3316 *) 3317 MISSING="\${SHELL} $am_aux_dir/missing" ;; 3318 esac 3319fi 3320# Use eval to expand $SHELL 3321if eval "$MISSING --is-lightweight"; then 3322 am_missing_run="$MISSING " 3323else 3324 am_missing_run= 3325 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 3326$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 3327fi 3328 3329if test x"${install_sh+set}" != xset; then 3330 case $am_aux_dir in 3331 *\ * | *\ *) 3332 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 3333 *) 3334 install_sh="\${SHELL} $am_aux_dir/install-sh" 3335 esac 3336fi 3337 3338# Installed binaries are usually stripped using 'strip' when the user 3339# run "make install-strip". However 'strip' might not be the right 3340# tool to use in cross-compilation environments, therefore Automake 3341# will honor the 'STRIP' environment variable to overrule this program. 3342if test "$cross_compiling" != no; then 3343 if test -n "$ac_tool_prefix"; then 3344 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 3345set dummy ${ac_tool_prefix}strip; ac_word=$2 3346{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3347$as_echo_n "checking for $ac_word... " >&6; } 3348if ${ac_cv_prog_STRIP+:} false; then : 3349 $as_echo_n "(cached) " >&6 3350else 3351 if test -n "$STRIP"; then 3352 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 3353else 3354as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3355for as_dir in $PATH 3356do 3357 IFS=$as_save_IFS 3358 test -z "$as_dir" && as_dir=. 3359 for ac_exec_ext in '' $ac_executable_extensions; do 3360 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3361 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 3362 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3363 break 2 3364 fi 3365done 3366 done 3367IFS=$as_save_IFS 3368 3369fi 3370fi 3371STRIP=$ac_cv_prog_STRIP 3372if test -n "$STRIP"; then 3373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 3374$as_echo "$STRIP" >&6; } 3375else 3376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3377$as_echo "no" >&6; } 3378fi 3379 3380 3381fi 3382if test -z "$ac_cv_prog_STRIP"; then 3383 ac_ct_STRIP=$STRIP 3384 # Extract the first word of "strip", so it can be a program name with args. 3385set dummy strip; ac_word=$2 3386{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3387$as_echo_n "checking for $ac_word... " >&6; } 3388if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 3389 $as_echo_n "(cached) " >&6 3390else 3391 if test -n "$ac_ct_STRIP"; then 3392 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 3393else 3394as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3395for as_dir in $PATH 3396do 3397 IFS=$as_save_IFS 3398 test -z "$as_dir" && as_dir=. 3399 for ac_exec_ext in '' $ac_executable_extensions; do 3400 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3401 ac_cv_prog_ac_ct_STRIP="strip" 3402 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3403 break 2 3404 fi 3405done 3406 done 3407IFS=$as_save_IFS 3408 3409fi 3410fi 3411ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 3412if test -n "$ac_ct_STRIP"; then 3413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 3414$as_echo "$ac_ct_STRIP" >&6; } 3415else 3416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3417$as_echo "no" >&6; } 3418fi 3419 3420 if test "x$ac_ct_STRIP" = x; then 3421 STRIP=":" 3422 else 3423 case $cross_compiling:$ac_tool_warned in 3424yes:) 3425{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3426$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3427ac_tool_warned=yes ;; 3428esac 3429 STRIP=$ac_ct_STRIP 3430 fi 3431else 3432 STRIP="$ac_cv_prog_STRIP" 3433fi 3434 3435fi 3436INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 3437 3438{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 3439$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 3440if test -z "$MKDIR_P"; then 3441 if ${ac_cv_path_mkdir+:} false; then : 3442 $as_echo_n "(cached) " >&6 3443else 3444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3445for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 3446do 3447 IFS=$as_save_IFS 3448 test -z "$as_dir" && as_dir=. 3449 for ac_prog in mkdir gmkdir; do 3450 for ac_exec_ext in '' $ac_executable_extensions; do 3451 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 3452 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 3453 'mkdir (GNU coreutils) '* | \ 3454 'mkdir (coreutils) '* | \ 3455 'mkdir (fileutils) '4.1*) 3456 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 3457 break 3;; 3458 esac 3459 done 3460 done 3461 done 3462IFS=$as_save_IFS 3463 3464fi 3465 3466 test -d ./--version && rmdir ./--version 3467 if test "${ac_cv_path_mkdir+set}" = set; then 3468 MKDIR_P="$ac_cv_path_mkdir -p" 3469 else 3470 # As a last resort, use the slow shell script. Don't cache a 3471 # value for MKDIR_P within a source directory, because that will 3472 # break other packages using the cache if that directory is 3473 # removed, or if the value is a relative name. 3474 MKDIR_P="$ac_install_sh -d" 3475 fi 3476fi 3477{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 3478$as_echo "$MKDIR_P" >&6; } 3479 3480for ac_prog in gawk mawk nawk awk 3481do 3482 # Extract the first word of "$ac_prog", so it can be a program name with args. 3483set dummy $ac_prog; ac_word=$2 3484{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3485$as_echo_n "checking for $ac_word... " >&6; } 3486if ${ac_cv_prog_AWK+:} false; then : 3487 $as_echo_n "(cached) " >&6 3488else 3489 if test -n "$AWK"; then 3490 ac_cv_prog_AWK="$AWK" # Let the user override the test. 3491else 3492as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3493for as_dir in $PATH 3494do 3495 IFS=$as_save_IFS 3496 test -z "$as_dir" && as_dir=. 3497 for ac_exec_ext in '' $ac_executable_extensions; do 3498 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3499 ac_cv_prog_AWK="$ac_prog" 3500 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3501 break 2 3502 fi 3503done 3504 done 3505IFS=$as_save_IFS 3506 3507fi 3508fi 3509AWK=$ac_cv_prog_AWK 3510if test -n "$AWK"; then 3511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 3512$as_echo "$AWK" >&6; } 3513else 3514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3515$as_echo "no" >&6; } 3516fi 3517 3518 3519 test -n "$AWK" && break 3520done 3521 3522{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3523$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 3524set x ${MAKE-make} 3525ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 3526if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 3527 $as_echo_n "(cached) " >&6 3528else 3529 cat >conftest.make <<\_ACEOF 3530SHELL = /bin/sh 3531all: 3532 @echo '@@@%%%=$(MAKE)=@@@%%%' 3533_ACEOF 3534# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 3535case `${MAKE-make} -f conftest.make 2>/dev/null` in 3536 *@@@%%%=?*=@@@%%%*) 3537 eval ac_cv_prog_make_${ac_make}_set=yes;; 3538 *) 3539 eval ac_cv_prog_make_${ac_make}_set=no;; 3540esac 3541rm -f conftest.make 3542fi 3543if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 3544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3545$as_echo "yes" >&6; } 3546 SET_MAKE= 3547else 3548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3549$as_echo "no" >&6; } 3550 SET_MAKE="MAKE=${MAKE-make}" 3551fi 3552 3553rm -rf .tst 2>/dev/null 3554mkdir .tst 2>/dev/null 3555if test -d .tst; then 3556 am__leading_dot=. 3557else 3558 am__leading_dot=_ 3559fi 3560rmdir .tst 2>/dev/null 3561 3562# Check whether --enable-silent-rules was given. 3563if test "${enable_silent_rules+set}" = set; then : 3564 enableval=$enable_silent_rules; 3565fi 3566 3567case $enable_silent_rules in # ((( 3568 yes) AM_DEFAULT_VERBOSITY=0;; 3569 no) AM_DEFAULT_VERBOSITY=1;; 3570 *) AM_DEFAULT_VERBOSITY=1;; 3571esac 3572am_make=${MAKE-make} 3573{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 3574$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 3575if ${am_cv_make_support_nested_variables+:} false; then : 3576 $as_echo_n "(cached) " >&6 3577else 3578 if $as_echo 'TRUE=$(BAR$(V)) 3579BAR0=false 3580BAR1=true 3581V=1 3582am__doit: 3583 @$(TRUE) 3584.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 3585 am_cv_make_support_nested_variables=yes 3586else 3587 am_cv_make_support_nested_variables=no 3588fi 3589fi 3590{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 3591$as_echo "$am_cv_make_support_nested_variables" >&6; } 3592if test $am_cv_make_support_nested_variables = yes; then 3593 AM_V='$(V)' 3594 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 3595else 3596 AM_V=$AM_DEFAULT_VERBOSITY 3597 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 3598fi 3599AM_BACKSLASH='\' 3600 3601if test "`cd $srcdir && pwd`" != "`pwd`"; then 3602 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 3603 # is not polluted with repeated "-I." 3604 am__isrc=' -I$(srcdir)' 3605 # test to see if srcdir already configured 3606 if test -f $srcdir/config.status; then 3607 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 3608 fi 3609fi 3610 3611# test whether we have cygpath 3612if test -z "$CYGPATH_W"; then 3613 if (cygpath --version) >/dev/null 2>/dev/null; then 3614 CYGPATH_W='cygpath -w' 3615 else 3616 CYGPATH_W=echo 3617 fi 3618fi 3619 3620 3621# Define the identity of the package. 3622 PACKAGE='libvmdk' 3623 VERSION='20210807' 3624 3625 3626cat >>confdefs.h <<_ACEOF 3627#define PACKAGE "$PACKAGE" 3628_ACEOF 3629 3630 3631cat >>confdefs.h <<_ACEOF 3632#define VERSION "$VERSION" 3633_ACEOF 3634 3635# Some tools Automake needs. 3636 3637ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 3638 3639 3640AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 3641 3642 3643AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 3644 3645 3646AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 3647 3648 3649MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 3650 3651# For better backward compatibility. To be removed once Automake 1.9.x 3652# dies out for good. For more background, see: 3653# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 3654# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 3655mkdir_p='$(MKDIR_P)' 3656 3657# We need awk for the "check" target (and possibly the TAP driver). The 3658# system "awk" is bad on some platforms. 3659# Always define AMTAR for backward compatibility. Yes, it's still used 3660# in the wild :-( We should find a proper way to deprecate it ... 3661AMTAR='$${TAR-tar}' 3662 3663 3664# We'll loop over all known methods to create a tar archive until one works. 3665_am_tools='gnutar plaintar pax cpio none' 3666 3667# The POSIX 1988 'ustar' format is defined with fixed-size fields. 3668 # There is notably a 21 bits limit for the UID and the GID. In fact, 3669 # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343 3670 # and bug#13588). 3671 am_max_uid=2097151 # 2^21 - 1 3672 am_max_gid=$am_max_uid 3673 # The $UID and $GID variables are not portable, so we need to resort 3674 # to the POSIX-mandated id(1) utility. Errors in the 'id' calls 3675 # below are definitely unexpected, so allow the users to see them 3676 # (that is, avoid stderr redirection). 3677 am_uid=`id -u || echo unknown` 3678 am_gid=`id -g || echo unknown` 3679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5 3680$as_echo_n "checking whether UID '$am_uid' is supported by ustar format... " >&6; } 3681 if test $am_uid -le $am_max_uid; then 3682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3683$as_echo "yes" >&6; } 3684 else 3685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3686$as_echo "no" >&6; } 3687 _am_tools=none 3688 fi 3689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5 3690$as_echo_n "checking whether GID '$am_gid' is supported by ustar format... " >&6; } 3691 if test $am_gid -le $am_max_gid; then 3692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3693$as_echo "yes" >&6; } 3694 else 3695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3696$as_echo "no" >&6; } 3697 _am_tools=none 3698 fi 3699 3700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5 3701$as_echo_n "checking how to create a ustar tar archive... " >&6; } 3702 3703 # Go ahead even if we have the value already cached. We do so because we 3704 # need to set the values for the 'am__tar' and 'am__untar' variables. 3705 _am_tools=${am_cv_prog_tar_ustar-$_am_tools} 3706 3707 for _am_tool in $_am_tools; do 3708 case $_am_tool in 3709 gnutar) 3710 for _am_tar in tar gnutar gtar; do 3711 { echo "$as_me:$LINENO: $_am_tar --version" >&5 3712 ($_am_tar --version) >&5 2>&5 3713 ac_status=$? 3714 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3715 (exit $ac_status); } && break 3716 done 3717 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"' 3718 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"' 3719 am__untar="$_am_tar -xf -" 3720 ;; 3721 plaintar) 3722 # Must skip GNU tar: if it does not support --format= it doesn't create 3723 # ustar tarball either. 3724 (tar --version) >/dev/null 2>&1 && continue 3725 am__tar='tar chf - "$$tardir"' 3726 am__tar_='tar chf - "$tardir"' 3727 am__untar='tar xf -' 3728 ;; 3729 pax) 3730 am__tar='pax -L -x ustar -w "$$tardir"' 3731 am__tar_='pax -L -x ustar -w "$tardir"' 3732 am__untar='pax -r' 3733 ;; 3734 cpio) 3735 am__tar='find "$$tardir" -print | cpio -o -H ustar -L' 3736 am__tar_='find "$tardir" -print | cpio -o -H ustar -L' 3737 am__untar='cpio -i -H ustar -d' 3738 ;; 3739 none) 3740 am__tar=false 3741 am__tar_=false 3742 am__untar=false 3743 ;; 3744 esac 3745 3746 # If the value was cached, stop now. We just wanted to have am__tar 3747 # and am__untar set. 3748 test -n "${am_cv_prog_tar_ustar}" && break 3749 3750 # tar/untar a dummy directory, and stop if the command works. 3751 rm -rf conftest.dir 3752 mkdir conftest.dir 3753 echo GrepMe > conftest.dir/file 3754 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5 3755 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5 3756 ac_status=$? 3757 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3758 (exit $ac_status); } 3759 rm -rf conftest.dir 3760 if test -s conftest.tar; then 3761 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5 3762 ($am__untar <conftest.tar) >&5 2>&5 3763 ac_status=$? 3764 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3765 (exit $ac_status); } 3766 { echo "$as_me:$LINENO: cat conftest.dir/file" >&5 3767 (cat conftest.dir/file) >&5 2>&5 3768 ac_status=$? 3769 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3770 (exit $ac_status); } 3771 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break 3772 fi 3773 done 3774 rm -rf conftest.dir 3775 3776 if ${am_cv_prog_tar_ustar+:} false; then : 3777 $as_echo_n "(cached) " >&6 3778else 3779 am_cv_prog_tar_ustar=$_am_tool 3780fi 3781 3782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5 3783$as_echo "$am_cv_prog_tar_ustar" >&6; } 3784 3785 3786 3787 3788 3789 3790# POSIX will say in a future version that running "rm -f" with no argument 3791# is OK; and we want to be able to make that assumption in our Makefile 3792# recipes. So use an aggressive probe to check that the usage we want is 3793# actually supported "in the wild" to an acceptable degree. 3794# See automake bug#10828. 3795# To make any issue more visible, cause the running configure to be aborted 3796# by default if the 'rm' program in use doesn't match our expectations; the 3797# user can still override this though. 3798if rm -f && rm -fr && rm -rf; then : OK; else 3799 cat >&2 <<'END' 3800Oops! 3801 3802Your 'rm' program seems unable to run without file operands specified 3803on the command line, even when the '-f' option is present. This is contrary 3804to the behaviour of most rm programs out there, and not conforming with 3805the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 3806 3807Please tell bug-automake@gnu.org about your system, including the value 3808of your $PATH and any error possibly output before this message. This 3809can help us improve future automake versions. 3810 3811END 3812 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 3813 echo 'Configuration will proceed anyway, since you have set the' >&2 3814 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 3815 echo >&2 3816 else 3817 cat >&2 <<'END' 3818Aborting the configuration process, to ensure you take notice of the issue. 3819 3820You can download and install GNU coreutils to get an 'rm' implementation 3821that behaves properly: <https://www.gnu.org/software/coreutils/>. 3822 3823If you want to complete the configuration process using your problematic 3824'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 3825to "yes", and re-run configure. 3826 3827END 3828 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 3829 fi 3830fi 3831 3832 3833 3834 3835# Make sure we can run config.sub. 3836$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 3837 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 3838 3839{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 3840$as_echo_n "checking build system type... " >&6; } 3841if ${ac_cv_build+:} false; then : 3842 $as_echo_n "(cached) " >&6 3843else 3844 ac_build_alias=$build_alias 3845test "x$ac_build_alias" = x && 3846 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 3847test "x$ac_build_alias" = x && 3848 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 3849ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 3850 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 3851 3852fi 3853{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 3854$as_echo "$ac_cv_build" >&6; } 3855case $ac_cv_build in 3856*-*-*) ;; 3857*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 3858esac 3859build=$ac_cv_build 3860ac_save_IFS=$IFS; IFS='-' 3861set x $ac_cv_build 3862shift 3863build_cpu=$1 3864build_vendor=$2 3865shift; shift 3866# Remember, the first character of IFS is used to create $*, 3867# except with old shells: 3868build_os=$* 3869IFS=$ac_save_IFS 3870case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 3871 3872 3873{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 3874$as_echo_n "checking host system type... " >&6; } 3875if ${ac_cv_host+:} false; then : 3876 $as_echo_n "(cached) " >&6 3877else 3878 if test "x$host_alias" = x; then 3879 ac_cv_host=$ac_cv_build 3880else 3881 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 3882 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 3883fi 3884 3885fi 3886{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 3887$as_echo "$ac_cv_host" >&6; } 3888case $ac_cv_host in 3889*-*-*) ;; 3890*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 3891esac 3892host=$ac_cv_host 3893ac_save_IFS=$IFS; IFS='-' 3894set x $ac_cv_host 3895shift 3896host_cpu=$1 3897host_vendor=$2 3898shift; shift 3899# Remember, the first character of IFS is used to create $*, 3900# except with old shells: 3901host_os=$* 3902IFS=$ac_save_IFS 3903case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 3904 3905 3906 3907enable_win32_dll=yes 3908 3909case $host in 3910*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*) 3911 if test -n "$ac_tool_prefix"; then 3912 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. 3913set dummy ${ac_tool_prefix}as; ac_word=$2 3914{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3915$as_echo_n "checking for $ac_word... " >&6; } 3916if ${ac_cv_prog_AS+:} false; then : 3917 $as_echo_n "(cached) " >&6 3918else 3919 if test -n "$AS"; then 3920 ac_cv_prog_AS="$AS" # Let the user override the test. 3921else 3922as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3923for as_dir in $PATH 3924do 3925 IFS=$as_save_IFS 3926 test -z "$as_dir" && as_dir=. 3927 for ac_exec_ext in '' $ac_executable_extensions; do 3928 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3929 ac_cv_prog_AS="${ac_tool_prefix}as" 3930 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3931 break 2 3932 fi 3933done 3934 done 3935IFS=$as_save_IFS 3936 3937fi 3938fi 3939AS=$ac_cv_prog_AS 3940if test -n "$AS"; then 3941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5 3942$as_echo "$AS" >&6; } 3943else 3944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3945$as_echo "no" >&6; } 3946fi 3947 3948 3949fi 3950if test -z "$ac_cv_prog_AS"; then 3951 ac_ct_AS=$AS 3952 # Extract the first word of "as", so it can be a program name with args. 3953set dummy as; ac_word=$2 3954{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3955$as_echo_n "checking for $ac_word... " >&6; } 3956if ${ac_cv_prog_ac_ct_AS+:} false; then : 3957 $as_echo_n "(cached) " >&6 3958else 3959 if test -n "$ac_ct_AS"; then 3960 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test. 3961else 3962as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3963for as_dir in $PATH 3964do 3965 IFS=$as_save_IFS 3966 test -z "$as_dir" && as_dir=. 3967 for ac_exec_ext in '' $ac_executable_extensions; do 3968 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3969 ac_cv_prog_ac_ct_AS="as" 3970 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3971 break 2 3972 fi 3973done 3974 done 3975IFS=$as_save_IFS 3976 3977fi 3978fi 3979ac_ct_AS=$ac_cv_prog_ac_ct_AS 3980if test -n "$ac_ct_AS"; then 3981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5 3982$as_echo "$ac_ct_AS" >&6; } 3983else 3984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3985$as_echo "no" >&6; } 3986fi 3987 3988 if test "x$ac_ct_AS" = x; then 3989 AS="false" 3990 else 3991 case $cross_compiling:$ac_tool_warned in 3992yes:) 3993{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3994$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3995ac_tool_warned=yes ;; 3996esac 3997 AS=$ac_ct_AS 3998 fi 3999else 4000 AS="$ac_cv_prog_AS" 4001fi 4002 4003 if test -n "$ac_tool_prefix"; then 4004 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 4005set dummy ${ac_tool_prefix}dlltool; ac_word=$2 4006{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4007$as_echo_n "checking for $ac_word... " >&6; } 4008if ${ac_cv_prog_DLLTOOL+:} false; then : 4009 $as_echo_n "(cached) " >&6 4010else 4011 if test -n "$DLLTOOL"; then 4012 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 4013else 4014as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4015for as_dir in $PATH 4016do 4017 IFS=$as_save_IFS 4018 test -z "$as_dir" && as_dir=. 4019 for ac_exec_ext in '' $ac_executable_extensions; do 4020 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4021 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 4022 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4023 break 2 4024 fi 4025done 4026 done 4027IFS=$as_save_IFS 4028 4029fi 4030fi 4031DLLTOOL=$ac_cv_prog_DLLTOOL 4032if test -n "$DLLTOOL"; then 4033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 4034$as_echo "$DLLTOOL" >&6; } 4035else 4036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4037$as_echo "no" >&6; } 4038fi 4039 4040 4041fi 4042if test -z "$ac_cv_prog_DLLTOOL"; then 4043 ac_ct_DLLTOOL=$DLLTOOL 4044 # Extract the first word of "dlltool", so it can be a program name with args. 4045set dummy dlltool; ac_word=$2 4046{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4047$as_echo_n "checking for $ac_word... " >&6; } 4048if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 4049 $as_echo_n "(cached) " >&6 4050else 4051 if test -n "$ac_ct_DLLTOOL"; then 4052 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 4053else 4054as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4055for as_dir in $PATH 4056do 4057 IFS=$as_save_IFS 4058 test -z "$as_dir" && as_dir=. 4059 for ac_exec_ext in '' $ac_executable_extensions; do 4060 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4061 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 4062 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4063 break 2 4064 fi 4065done 4066 done 4067IFS=$as_save_IFS 4068 4069fi 4070fi 4071ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 4072if test -n "$ac_ct_DLLTOOL"; then 4073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 4074$as_echo "$ac_ct_DLLTOOL" >&6; } 4075else 4076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4077$as_echo "no" >&6; } 4078fi 4079 4080 if test "x$ac_ct_DLLTOOL" = x; then 4081 DLLTOOL="false" 4082 else 4083 case $cross_compiling:$ac_tool_warned in 4084yes:) 4085{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4086$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4087ac_tool_warned=yes ;; 4088esac 4089 DLLTOOL=$ac_ct_DLLTOOL 4090 fi 4091else 4092 DLLTOOL="$ac_cv_prog_DLLTOOL" 4093fi 4094 4095 if test -n "$ac_tool_prefix"; then 4096 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 4097set dummy ${ac_tool_prefix}objdump; ac_word=$2 4098{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4099$as_echo_n "checking for $ac_word... " >&6; } 4100if ${ac_cv_prog_OBJDUMP+:} false; then : 4101 $as_echo_n "(cached) " >&6 4102else 4103 if test -n "$OBJDUMP"; then 4104 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 4105else 4106as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4107for as_dir in $PATH 4108do 4109 IFS=$as_save_IFS 4110 test -z "$as_dir" && as_dir=. 4111 for ac_exec_ext in '' $ac_executable_extensions; do 4112 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4113 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 4114 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4115 break 2 4116 fi 4117done 4118 done 4119IFS=$as_save_IFS 4120 4121fi 4122fi 4123OBJDUMP=$ac_cv_prog_OBJDUMP 4124if test -n "$OBJDUMP"; then 4125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 4126$as_echo "$OBJDUMP" >&6; } 4127else 4128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4129$as_echo "no" >&6; } 4130fi 4131 4132 4133fi 4134if test -z "$ac_cv_prog_OBJDUMP"; then 4135 ac_ct_OBJDUMP=$OBJDUMP 4136 # Extract the first word of "objdump", so it can be a program name with args. 4137set dummy objdump; ac_word=$2 4138{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4139$as_echo_n "checking for $ac_word... " >&6; } 4140if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 4141 $as_echo_n "(cached) " >&6 4142else 4143 if test -n "$ac_ct_OBJDUMP"; then 4144 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 4145else 4146as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4147for as_dir in $PATH 4148do 4149 IFS=$as_save_IFS 4150 test -z "$as_dir" && as_dir=. 4151 for ac_exec_ext in '' $ac_executable_extensions; do 4152 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4153 ac_cv_prog_ac_ct_OBJDUMP="objdump" 4154 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4155 break 2 4156 fi 4157done 4158 done 4159IFS=$as_save_IFS 4160 4161fi 4162fi 4163ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 4164if test -n "$ac_ct_OBJDUMP"; then 4165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 4166$as_echo "$ac_ct_OBJDUMP" >&6; } 4167else 4168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4169$as_echo "no" >&6; } 4170fi 4171 4172 if test "x$ac_ct_OBJDUMP" = x; then 4173 OBJDUMP="false" 4174 else 4175 case $cross_compiling:$ac_tool_warned in 4176yes:) 4177{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4178$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4179ac_tool_warned=yes ;; 4180esac 4181 OBJDUMP=$ac_ct_OBJDUMP 4182 fi 4183else 4184 OBJDUMP="$ac_cv_prog_OBJDUMP" 4185fi 4186 4187 ;; 4188esac 4189 4190test -z "$AS" && AS=as 4191 4192 4193 4194 4195 4196test -z "$DLLTOOL" && DLLTOOL=dlltool 4197 4198 4199 4200 4201 4202test -z "$OBJDUMP" && OBJDUMP=objdump 4203 4204 4205 4206 4207 4208 4209 4210 4211ac_ext=c 4212ac_cpp='$CPP $CPPFLAGS' 4213ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4214ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4215ac_compiler_gnu=$ac_cv_c_compiler_gnu 4216if test -n "$ac_tool_prefix"; then 4217 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 4218set dummy ${ac_tool_prefix}gcc; ac_word=$2 4219{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4220$as_echo_n "checking for $ac_word... " >&6; } 4221if ${ac_cv_prog_CC+:} false; then : 4222 $as_echo_n "(cached) " >&6 4223else 4224 if test -n "$CC"; then 4225 ac_cv_prog_CC="$CC" # Let the user override the test. 4226else 4227as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4228for as_dir in $PATH 4229do 4230 IFS=$as_save_IFS 4231 test -z "$as_dir" && as_dir=. 4232 for ac_exec_ext in '' $ac_executable_extensions; do 4233 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4234 ac_cv_prog_CC="${ac_tool_prefix}gcc" 4235 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4236 break 2 4237 fi 4238done 4239 done 4240IFS=$as_save_IFS 4241 4242fi 4243fi 4244CC=$ac_cv_prog_CC 4245if test -n "$CC"; then 4246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4247$as_echo "$CC" >&6; } 4248else 4249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4250$as_echo "no" >&6; } 4251fi 4252 4253 4254fi 4255if test -z "$ac_cv_prog_CC"; then 4256 ac_ct_CC=$CC 4257 # Extract the first word of "gcc", so it can be a program name with args. 4258set dummy gcc; ac_word=$2 4259{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4260$as_echo_n "checking for $ac_word... " >&6; } 4261if ${ac_cv_prog_ac_ct_CC+:} false; then : 4262 $as_echo_n "(cached) " >&6 4263else 4264 if test -n "$ac_ct_CC"; then 4265 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 4266else 4267as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4268for as_dir in $PATH 4269do 4270 IFS=$as_save_IFS 4271 test -z "$as_dir" && as_dir=. 4272 for ac_exec_ext in '' $ac_executable_extensions; do 4273 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4274 ac_cv_prog_ac_ct_CC="gcc" 4275 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4276 break 2 4277 fi 4278done 4279 done 4280IFS=$as_save_IFS 4281 4282fi 4283fi 4284ac_ct_CC=$ac_cv_prog_ac_ct_CC 4285if test -n "$ac_ct_CC"; then 4286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 4287$as_echo "$ac_ct_CC" >&6; } 4288else 4289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4290$as_echo "no" >&6; } 4291fi 4292 4293 if test "x$ac_ct_CC" = x; then 4294 CC="" 4295 else 4296 case $cross_compiling:$ac_tool_warned in 4297yes:) 4298{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4299$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4300ac_tool_warned=yes ;; 4301esac 4302 CC=$ac_ct_CC 4303 fi 4304else 4305 CC="$ac_cv_prog_CC" 4306fi 4307 4308if test -z "$CC"; then 4309 if test -n "$ac_tool_prefix"; then 4310 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 4311set dummy ${ac_tool_prefix}cc; ac_word=$2 4312{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4313$as_echo_n "checking for $ac_word... " >&6; } 4314if ${ac_cv_prog_CC+:} false; then : 4315 $as_echo_n "(cached) " >&6 4316else 4317 if test -n "$CC"; then 4318 ac_cv_prog_CC="$CC" # Let the user override the test. 4319else 4320as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4321for as_dir in $PATH 4322do 4323 IFS=$as_save_IFS 4324 test -z "$as_dir" && as_dir=. 4325 for ac_exec_ext in '' $ac_executable_extensions; do 4326 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4327 ac_cv_prog_CC="${ac_tool_prefix}cc" 4328 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4329 break 2 4330 fi 4331done 4332 done 4333IFS=$as_save_IFS 4334 4335fi 4336fi 4337CC=$ac_cv_prog_CC 4338if test -n "$CC"; then 4339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4340$as_echo "$CC" >&6; } 4341else 4342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4343$as_echo "no" >&6; } 4344fi 4345 4346 4347 fi 4348fi 4349if test -z "$CC"; then 4350 # Extract the first word of "cc", so it can be a program name with args. 4351set dummy cc; ac_word=$2 4352{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4353$as_echo_n "checking for $ac_word... " >&6; } 4354if ${ac_cv_prog_CC+:} false; then : 4355 $as_echo_n "(cached) " >&6 4356else 4357 if test -n "$CC"; then 4358 ac_cv_prog_CC="$CC" # Let the user override the test. 4359else 4360 ac_prog_rejected=no 4361as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4362for as_dir in $PATH 4363do 4364 IFS=$as_save_IFS 4365 test -z "$as_dir" && as_dir=. 4366 for ac_exec_ext in '' $ac_executable_extensions; do 4367 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4368 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 4369 ac_prog_rejected=yes 4370 continue 4371 fi 4372 ac_cv_prog_CC="cc" 4373 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4374 break 2 4375 fi 4376done 4377 done 4378IFS=$as_save_IFS 4379 4380if test $ac_prog_rejected = yes; then 4381 # We found a bogon in the path, so make sure we never use it. 4382 set dummy $ac_cv_prog_CC 4383 shift 4384 if test $# != 0; then 4385 # We chose a different compiler from the bogus one. 4386 # However, it has the same basename, so the bogon will be chosen 4387 # first if we set CC to just the basename; use the full file name. 4388 shift 4389 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 4390 fi 4391fi 4392fi 4393fi 4394CC=$ac_cv_prog_CC 4395if test -n "$CC"; then 4396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4397$as_echo "$CC" >&6; } 4398else 4399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4400$as_echo "no" >&6; } 4401fi 4402 4403 4404fi 4405if test -z "$CC"; then 4406 if test -n "$ac_tool_prefix"; then 4407 for ac_prog in cl.exe 4408 do 4409 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4410set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4411{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4412$as_echo_n "checking for $ac_word... " >&6; } 4413if ${ac_cv_prog_CC+:} false; then : 4414 $as_echo_n "(cached) " >&6 4415else 4416 if test -n "$CC"; then 4417 ac_cv_prog_CC="$CC" # Let the user override the test. 4418else 4419as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4420for as_dir in $PATH 4421do 4422 IFS=$as_save_IFS 4423 test -z "$as_dir" && as_dir=. 4424 for ac_exec_ext in '' $ac_executable_extensions; do 4425 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4426 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 4427 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4428 break 2 4429 fi 4430done 4431 done 4432IFS=$as_save_IFS 4433 4434fi 4435fi 4436CC=$ac_cv_prog_CC 4437if test -n "$CC"; then 4438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4439$as_echo "$CC" >&6; } 4440else 4441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4442$as_echo "no" >&6; } 4443fi 4444 4445 4446 test -n "$CC" && break 4447 done 4448fi 4449if test -z "$CC"; then 4450 ac_ct_CC=$CC 4451 for ac_prog in cl.exe 4452do 4453 # Extract the first word of "$ac_prog", so it can be a program name with args. 4454set dummy $ac_prog; ac_word=$2 4455{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4456$as_echo_n "checking for $ac_word... " >&6; } 4457if ${ac_cv_prog_ac_ct_CC+:} false; then : 4458 $as_echo_n "(cached) " >&6 4459else 4460 if test -n "$ac_ct_CC"; then 4461 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 4462else 4463as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4464for as_dir in $PATH 4465do 4466 IFS=$as_save_IFS 4467 test -z "$as_dir" && as_dir=. 4468 for ac_exec_ext in '' $ac_executable_extensions; do 4469 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4470 ac_cv_prog_ac_ct_CC="$ac_prog" 4471 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4472 break 2 4473 fi 4474done 4475 done 4476IFS=$as_save_IFS 4477 4478fi 4479fi 4480ac_ct_CC=$ac_cv_prog_ac_ct_CC 4481if test -n "$ac_ct_CC"; then 4482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 4483$as_echo "$ac_ct_CC" >&6; } 4484else 4485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4486$as_echo "no" >&6; } 4487fi 4488 4489 4490 test -n "$ac_ct_CC" && break 4491done 4492 4493 if test "x$ac_ct_CC" = x; then 4494 CC="" 4495 else 4496 case $cross_compiling:$ac_tool_warned in 4497yes:) 4498{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4499$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4500ac_tool_warned=yes ;; 4501esac 4502 CC=$ac_ct_CC 4503 fi 4504fi 4505 4506fi 4507 4508 4509test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4510$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4511as_fn_error $? "no acceptable C compiler found in \$PATH 4512See \`config.log' for more details" "$LINENO" 5; } 4513 4514# Provide some information about the compiler. 4515$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 4516set X $ac_compile 4517ac_compiler=$2 4518for ac_option in --version -v -V -qversion; do 4519 { { ac_try="$ac_compiler $ac_option >&5" 4520case "(($ac_try" in 4521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4522 *) ac_try_echo=$ac_try;; 4523esac 4524eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4525$as_echo "$ac_try_echo"; } >&5 4526 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 4527 ac_status=$? 4528 if test -s conftest.err; then 4529 sed '10a\ 4530... rest of stderr output deleted ... 4531 10q' conftest.err >conftest.er1 4532 cat conftest.er1 >&5 4533 fi 4534 rm -f conftest.er1 conftest.err 4535 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4536 test $ac_status = 0; } 4537done 4538 4539cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4540/* end confdefs.h. */ 4541 4542int 4543main () 4544{ 4545 4546 ; 4547 return 0; 4548} 4549_ACEOF 4550ac_clean_files_save=$ac_clean_files 4551ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 4552# Try to create an executable without -o first, disregard a.out. 4553# It will help us diagnose broken compilers, and finding out an intuition 4554# of exeext. 4555{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 4556$as_echo_n "checking whether the C compiler works... " >&6; } 4557ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 4558 4559# The possible output files: 4560ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 4561 4562ac_rmfiles= 4563for ac_file in $ac_files 4564do 4565 case $ac_file in 4566 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 4567 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 4568 esac 4569done 4570rm -f $ac_rmfiles 4571 4572if { { ac_try="$ac_link_default" 4573case "(($ac_try" in 4574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4575 *) ac_try_echo=$ac_try;; 4576esac 4577eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4578$as_echo "$ac_try_echo"; } >&5 4579 (eval "$ac_link_default") 2>&5 4580 ac_status=$? 4581 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4582 test $ac_status = 0; }; then : 4583 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 4584# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 4585# in a Makefile. We should not override ac_cv_exeext if it was cached, 4586# so that the user can short-circuit this test for compilers unknown to 4587# Autoconf. 4588for ac_file in $ac_files '' 4589do 4590 test -f "$ac_file" || continue 4591 case $ac_file in 4592 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 4593 ;; 4594 [ab].out ) 4595 # We found the default executable, but exeext='' is most 4596 # certainly right. 4597 break;; 4598 *.* ) 4599 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 4600 then :; else 4601 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 4602 fi 4603 # We set ac_cv_exeext here because the later test for it is not 4604 # safe: cross compilers may not add the suffix if given an `-o' 4605 # argument, so we may need to know it at that point already. 4606 # Even if this section looks crufty: it has the advantage of 4607 # actually working. 4608 break;; 4609 * ) 4610 break;; 4611 esac 4612done 4613test "$ac_cv_exeext" = no && ac_cv_exeext= 4614 4615else 4616 ac_file='' 4617fi 4618if test -z "$ac_file"; then : 4619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4620$as_echo "no" >&6; } 4621$as_echo "$as_me: failed program was:" >&5 4622sed 's/^/| /' conftest.$ac_ext >&5 4623 4624{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4625$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4626as_fn_error 77 "C compiler cannot create executables 4627See \`config.log' for more details" "$LINENO" 5; } 4628else 4629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4630$as_echo "yes" >&6; } 4631fi 4632{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 4633$as_echo_n "checking for C compiler default output file name... " >&6; } 4634{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 4635$as_echo "$ac_file" >&6; } 4636ac_exeext=$ac_cv_exeext 4637 4638rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 4639ac_clean_files=$ac_clean_files_save 4640{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 4641$as_echo_n "checking for suffix of executables... " >&6; } 4642if { { ac_try="$ac_link" 4643case "(($ac_try" in 4644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4645 *) ac_try_echo=$ac_try;; 4646esac 4647eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4648$as_echo "$ac_try_echo"; } >&5 4649 (eval "$ac_link") 2>&5 4650 ac_status=$? 4651 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4652 test $ac_status = 0; }; then : 4653 # If both `conftest.exe' and `conftest' are `present' (well, observable) 4654# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 4655# work properly (i.e., refer to `conftest.exe'), while it won't with 4656# `rm'. 4657for ac_file in conftest.exe conftest conftest.*; do 4658 test -f "$ac_file" || continue 4659 case $ac_file in 4660 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 4661 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 4662 break;; 4663 * ) break;; 4664 esac 4665done 4666else 4667 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4668$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4669as_fn_error $? "cannot compute suffix of executables: cannot compile and link 4670See \`config.log' for more details" "$LINENO" 5; } 4671fi 4672rm -f conftest conftest$ac_cv_exeext 4673{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 4674$as_echo "$ac_cv_exeext" >&6; } 4675 4676rm -f conftest.$ac_ext 4677EXEEXT=$ac_cv_exeext 4678ac_exeext=$EXEEXT 4679cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4680/* end confdefs.h. */ 4681#include <stdio.h> 4682int 4683main () 4684{ 4685FILE *f = fopen ("conftest.out", "w"); 4686 return ferror (f) || fclose (f) != 0; 4687 4688 ; 4689 return 0; 4690} 4691_ACEOF 4692ac_clean_files="$ac_clean_files conftest.out" 4693# Check that the compiler produces executables we can run. If not, either 4694# the compiler is broken, or we cross compile. 4695{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 4696$as_echo_n "checking whether we are cross compiling... " >&6; } 4697if test "$cross_compiling" != yes; then 4698 { { ac_try="$ac_link" 4699case "(($ac_try" in 4700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4701 *) ac_try_echo=$ac_try;; 4702esac 4703eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4704$as_echo "$ac_try_echo"; } >&5 4705 (eval "$ac_link") 2>&5 4706 ac_status=$? 4707 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4708 test $ac_status = 0; } 4709 if { ac_try='./conftest$ac_cv_exeext' 4710 { { case "(($ac_try" in 4711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4712 *) ac_try_echo=$ac_try;; 4713esac 4714eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4715$as_echo "$ac_try_echo"; } >&5 4716 (eval "$ac_try") 2>&5 4717 ac_status=$? 4718 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4719 test $ac_status = 0; }; }; then 4720 cross_compiling=no 4721 else 4722 if test "$cross_compiling" = maybe; then 4723 cross_compiling=yes 4724 else 4725 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4726$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4727as_fn_error $? "cannot run C compiled programs. 4728If you meant to cross compile, use \`--host'. 4729See \`config.log' for more details" "$LINENO" 5; } 4730 fi 4731 fi 4732fi 4733{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 4734$as_echo "$cross_compiling" >&6; } 4735 4736rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 4737ac_clean_files=$ac_clean_files_save 4738{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 4739$as_echo_n "checking for suffix of object files... " >&6; } 4740if ${ac_cv_objext+:} false; then : 4741 $as_echo_n "(cached) " >&6 4742else 4743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4744/* end confdefs.h. */ 4745 4746int 4747main () 4748{ 4749 4750 ; 4751 return 0; 4752} 4753_ACEOF 4754rm -f conftest.o conftest.obj 4755if { { ac_try="$ac_compile" 4756case "(($ac_try" in 4757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4758 *) ac_try_echo=$ac_try;; 4759esac 4760eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4761$as_echo "$ac_try_echo"; } >&5 4762 (eval "$ac_compile") 2>&5 4763 ac_status=$? 4764 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4765 test $ac_status = 0; }; then : 4766 for ac_file in conftest.o conftest.obj conftest.*; do 4767 test -f "$ac_file" || continue; 4768 case $ac_file in 4769 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 4770 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 4771 break;; 4772 esac 4773done 4774else 4775 $as_echo "$as_me: failed program was:" >&5 4776sed 's/^/| /' conftest.$ac_ext >&5 4777 4778{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4779$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4780as_fn_error $? "cannot compute suffix of object files: cannot compile 4781See \`config.log' for more details" "$LINENO" 5; } 4782fi 4783rm -f conftest.$ac_cv_objext conftest.$ac_ext 4784fi 4785{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 4786$as_echo "$ac_cv_objext" >&6; } 4787OBJEXT=$ac_cv_objext 4788ac_objext=$OBJEXT 4789{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 4790$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 4791if ${ac_cv_c_compiler_gnu+:} false; then : 4792 $as_echo_n "(cached) " >&6 4793else 4794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4795/* end confdefs.h. */ 4796 4797int 4798main () 4799{ 4800#ifndef __GNUC__ 4801 choke me 4802#endif 4803 4804 ; 4805 return 0; 4806} 4807_ACEOF 4808if ac_fn_c_try_compile "$LINENO"; then : 4809 ac_compiler_gnu=yes 4810else 4811 ac_compiler_gnu=no 4812fi 4813rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4814ac_cv_c_compiler_gnu=$ac_compiler_gnu 4815 4816fi 4817{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 4818$as_echo "$ac_cv_c_compiler_gnu" >&6; } 4819if test $ac_compiler_gnu = yes; then 4820 GCC=yes 4821else 4822 GCC= 4823fi 4824ac_test_CFLAGS=${CFLAGS+set} 4825ac_save_CFLAGS=$CFLAGS 4826{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 4827$as_echo_n "checking whether $CC accepts -g... " >&6; } 4828if ${ac_cv_prog_cc_g+:} false; then : 4829 $as_echo_n "(cached) " >&6 4830else 4831 ac_save_c_werror_flag=$ac_c_werror_flag 4832 ac_c_werror_flag=yes 4833 ac_cv_prog_cc_g=no 4834 CFLAGS="-g" 4835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4836/* end confdefs.h. */ 4837 4838int 4839main () 4840{ 4841 4842 ; 4843 return 0; 4844} 4845_ACEOF 4846if ac_fn_c_try_compile "$LINENO"; then : 4847 ac_cv_prog_cc_g=yes 4848else 4849 CFLAGS="" 4850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4851/* end confdefs.h. */ 4852 4853int 4854main () 4855{ 4856 4857 ; 4858 return 0; 4859} 4860_ACEOF 4861if ac_fn_c_try_compile "$LINENO"; then : 4862 4863else 4864 ac_c_werror_flag=$ac_save_c_werror_flag 4865 CFLAGS="-g" 4866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4867/* end confdefs.h. */ 4868 4869int 4870main () 4871{ 4872 4873 ; 4874 return 0; 4875} 4876_ACEOF 4877if ac_fn_c_try_compile "$LINENO"; then : 4878 ac_cv_prog_cc_g=yes 4879fi 4880rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4881fi 4882rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4883fi 4884rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4885 ac_c_werror_flag=$ac_save_c_werror_flag 4886fi 4887{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 4888$as_echo "$ac_cv_prog_cc_g" >&6; } 4889if test "$ac_test_CFLAGS" = set; then 4890 CFLAGS=$ac_save_CFLAGS 4891elif test $ac_cv_prog_cc_g = yes; then 4892 if test "$GCC" = yes; then 4893 CFLAGS="-g -O2" 4894 else 4895 CFLAGS="-g" 4896 fi 4897else 4898 if test "$GCC" = yes; then 4899 CFLAGS="-O2" 4900 else 4901 CFLAGS= 4902 fi 4903fi 4904{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 4905$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 4906if ${ac_cv_prog_cc_c89+:} false; then : 4907 $as_echo_n "(cached) " >&6 4908else 4909 ac_cv_prog_cc_c89=no 4910ac_save_CC=$CC 4911cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4912/* end confdefs.h. */ 4913#include <stdarg.h> 4914#include <stdio.h> 4915struct stat; 4916/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 4917struct buf { int x; }; 4918FILE * (*rcsopen) (struct buf *, struct stat *, int); 4919static char *e (p, i) 4920 char **p; 4921 int i; 4922{ 4923 return p[i]; 4924} 4925static char *f (char * (*g) (char **, int), char **p, ...) 4926{ 4927 char *s; 4928 va_list v; 4929 va_start (v,p); 4930 s = g (p, va_arg (v,int)); 4931 va_end (v); 4932 return s; 4933} 4934 4935/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 4936 function prototypes and stuff, but not '\xHH' hex character constants. 4937 These don't provoke an error unfortunately, instead are silently treated 4938 as 'x'. The following induces an error, until -std is added to get 4939 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 4940 array size at least. It's necessary to write '\x00'==0 to get something 4941 that's true only with -std. */ 4942int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 4943 4944/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 4945 inside strings and character constants. */ 4946#define FOO(x) 'x' 4947int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 4948 4949int test (int i, double x); 4950struct s1 {int (*f) (int a);}; 4951struct s2 {int (*f) (double a);}; 4952int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 4953int argc; 4954char **argv; 4955int 4956main () 4957{ 4958return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 4959 ; 4960 return 0; 4961} 4962_ACEOF 4963for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 4964 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 4965do 4966 CC="$ac_save_CC $ac_arg" 4967 if ac_fn_c_try_compile "$LINENO"; then : 4968 ac_cv_prog_cc_c89=$ac_arg 4969fi 4970rm -f core conftest.err conftest.$ac_objext 4971 test "x$ac_cv_prog_cc_c89" != "xno" && break 4972done 4973rm -f conftest.$ac_ext 4974CC=$ac_save_CC 4975 4976fi 4977# AC_CACHE_VAL 4978case "x$ac_cv_prog_cc_c89" in 4979 x) 4980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4981$as_echo "none needed" >&6; } ;; 4982 xno) 4983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4984$as_echo "unsupported" >&6; } ;; 4985 *) 4986 CC="$CC $ac_cv_prog_cc_c89" 4987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 4988$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 4989esac 4990if test "x$ac_cv_prog_cc_c89" != xno; then : 4991 4992fi 4993 4994ac_ext=c 4995ac_cpp='$CPP $CPPFLAGS' 4996ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4997ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4998ac_compiler_gnu=$ac_cv_c_compiler_gnu 4999 5000ac_ext=c 5001ac_cpp='$CPP $CPPFLAGS' 5002ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5003ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5004ac_compiler_gnu=$ac_cv_c_compiler_gnu 5005{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 5006$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 5007if ${am_cv_prog_cc_c_o+:} false; then : 5008 $as_echo_n "(cached) " >&6 5009else 5010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5011/* end confdefs.h. */ 5012 5013int 5014main () 5015{ 5016 5017 ; 5018 return 0; 5019} 5020_ACEOF 5021 # Make sure it works both with $CC and with simple cc. 5022 # Following AC_PROG_CC_C_O, we do the test twice because some 5023 # compilers refuse to overwrite an existing .o file with -o, 5024 # though they will create one. 5025 am_cv_prog_cc_c_o=yes 5026 for am_i in 1 2; do 5027 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 5028 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 5029 ac_status=$? 5030 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5031 (exit $ac_status); } \ 5032 && test -f conftest2.$ac_objext; then 5033 : OK 5034 else 5035 am_cv_prog_cc_c_o=no 5036 break 5037 fi 5038 done 5039 rm -f core conftest* 5040 unset am_i 5041fi 5042{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 5043$as_echo "$am_cv_prog_cc_c_o" >&6; } 5044if test "$am_cv_prog_cc_c_o" != yes; then 5045 # Losing compiler, so override with the script. 5046 # FIXME: It is wrong to rewrite CC. 5047 # But if we don't then we get into trouble of one sort or another. 5048 # A longer-term fix would be to have automake use am__CC in this case, 5049 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 5050 CC="$am_aux_dir/compile $CC" 5051fi 5052ac_ext=c 5053ac_cpp='$CPP $CPPFLAGS' 5054ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5055ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5056ac_compiler_gnu=$ac_cv_c_compiler_gnu 5057 5058DEPDIR="${am__leading_dot}deps" 5059 5060ac_config_commands="$ac_config_commands depfiles" 5061 5062{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5 5063$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; } 5064cat > confinc.mk << 'END' 5065am__doit: 5066 @echo this is the am__doit target >confinc.out 5067.PHONY: am__doit 5068END 5069am__include="#" 5070am__quote= 5071# BSD make does it like this. 5072echo '.include "confinc.mk" # ignored' > confmf.BSD 5073# Other make implementations (GNU, Solaris 10, AIX) do it like this. 5074echo 'include confinc.mk # ignored' > confmf.GNU 5075_am_result=no 5076for s in GNU BSD; do 5077 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5 5078 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5 5079 ac_status=$? 5080 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5081 (exit $ac_status); } 5082 case $?:`cat confinc.out 2>/dev/null` in #( 5083 '0:this is the am__doit target') : 5084 case $s in #( 5085 BSD) : 5086 am__include='.include' am__quote='"' ;; #( 5087 *) : 5088 am__include='include' am__quote='' ;; 5089esac ;; #( 5090 *) : 5091 ;; 5092esac 5093 if test "$am__include" != "#"; then 5094 _am_result="yes ($s style)" 5095 break 5096 fi 5097done 5098rm -f confinc.* confmf.* 5099{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5 5100$as_echo "${_am_result}" >&6; } 5101 5102# Check whether --enable-dependency-tracking was given. 5103if test "${enable_dependency_tracking+set}" = set; then : 5104 enableval=$enable_dependency_tracking; 5105fi 5106 5107if test "x$enable_dependency_tracking" != xno; then 5108 am_depcomp="$ac_aux_dir/depcomp" 5109 AMDEPBACKSLASH='\' 5110 am__nodep='_no' 5111fi 5112 if test "x$enable_dependency_tracking" != xno; then 5113 AMDEP_TRUE= 5114 AMDEP_FALSE='#' 5115else 5116 AMDEP_TRUE='#' 5117 AMDEP_FALSE= 5118fi 5119 5120 5121 5122depcc="$CC" am_compiler_list= 5123 5124{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 5125$as_echo_n "checking dependency style of $depcc... " >&6; } 5126if ${am_cv_CC_dependencies_compiler_type+:} false; then : 5127 $as_echo_n "(cached) " >&6 5128else 5129 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 5130 # We make a subdir and do the tests there. Otherwise we can end up 5131 # making bogus files that we don't know about and never remove. For 5132 # instance it was reported that on HP-UX the gcc test will end up 5133 # making a dummy file named 'D' -- because '-MD' means "put the output 5134 # in D". 5135 rm -rf conftest.dir 5136 mkdir conftest.dir 5137 # Copy depcomp to subdir because otherwise we won't find it if we're 5138 # using a relative directory. 5139 cp "$am_depcomp" conftest.dir 5140 cd conftest.dir 5141 # We will build objects and dependencies in a subdirectory because 5142 # it helps to detect inapplicable dependency modes. For instance 5143 # both Tru64's cc and ICC support -MD to output dependencies as a 5144 # side effect of compilation, but ICC will put the dependencies in 5145 # the current directory while Tru64 will put them in the object 5146 # directory. 5147 mkdir sub 5148 5149 am_cv_CC_dependencies_compiler_type=none 5150 if test "$am_compiler_list" = ""; then 5151 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 5152 fi 5153 am__universal=false 5154 case " $depcc " in #( 5155 *\ -arch\ *\ -arch\ *) am__universal=true ;; 5156 esac 5157 5158 for depmode in $am_compiler_list; do 5159 # Setup a source with many dependencies, because some compilers 5160 # like to wrap large dependency lists on column 80 (with \), and 5161 # we should not choose a depcomp mode which is confused by this. 5162 # 5163 # We need to recreate these files for each test, as the compiler may 5164 # overwrite some of them when testing with obscure command lines. 5165 # This happens at least with the AIX C compiler. 5166 : > sub/conftest.c 5167 for i in 1 2 3 4 5 6; do 5168 echo '#include "conftst'$i'.h"' >> sub/conftest.c 5169 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 5170 # Solaris 10 /bin/sh. 5171 echo '/* dummy */' > sub/conftst$i.h 5172 done 5173 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 5174 5175 # We check with '-c' and '-o' for the sake of the "dashmstdout" 5176 # mode. It turns out that the SunPro C++ compiler does not properly 5177 # handle '-M -o', and we need to detect this. Also, some Intel 5178 # versions had trouble with output in subdirs. 5179 am__obj=sub/conftest.${OBJEXT-o} 5180 am__minus_obj="-o $am__obj" 5181 case $depmode in 5182 gcc) 5183 # This depmode causes a compiler race in universal mode. 5184 test "$am__universal" = false || continue 5185 ;; 5186 nosideeffect) 5187 # After this tag, mechanisms are not by side-effect, so they'll 5188 # only be used when explicitly requested. 5189 if test "x$enable_dependency_tracking" = xyes; then 5190 continue 5191 else 5192 break 5193 fi 5194 ;; 5195 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 5196 # This compiler won't grok '-c -o', but also, the minuso test has 5197 # not run yet. These depmodes are late enough in the game, and 5198 # so weak that their functioning should not be impacted. 5199 am__obj=conftest.${OBJEXT-o} 5200 am__minus_obj= 5201 ;; 5202 none) break ;; 5203 esac 5204 if depmode=$depmode \ 5205 source=sub/conftest.c object=$am__obj \ 5206 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 5207 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 5208 >/dev/null 2>conftest.err && 5209 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 5210 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 5211 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 5212 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 5213 # icc doesn't choke on unknown options, it will just issue warnings 5214 # or remarks (even with -Werror). So we grep stderr for any message 5215 # that says an option was ignored or not supported. 5216 # When given -MP, icc 7.0 and 7.1 complain thusly: 5217 # icc: Command line warning: ignoring option '-M'; no argument required 5218 # The diagnosis changed in icc 8.0: 5219 # icc: Command line remark: option '-MP' not supported 5220 if (grep 'ignoring option' conftest.err || 5221 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 5222 am_cv_CC_dependencies_compiler_type=$depmode 5223 break 5224 fi 5225 fi 5226 done 5227 5228 cd .. 5229 rm -rf conftest.dir 5230else 5231 am_cv_CC_dependencies_compiler_type=none 5232fi 5233 5234fi 5235{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 5236$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 5237CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 5238 5239 if 5240 test "x$enable_dependency_tracking" != xno \ 5241 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 5242 am__fastdepCC_TRUE= 5243 am__fastdepCC_FALSE='#' 5244else 5245 am__fastdepCC_TRUE='#' 5246 am__fastdepCC_FALSE= 5247fi 5248 5249 5250 5251ac_ext=c 5252ac_cpp='$CPP $CPPFLAGS' 5253ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5254ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5255ac_compiler_gnu=$ac_cv_c_compiler_gnu 5256{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 5257$as_echo_n "checking how to run the C preprocessor... " >&6; } 5258# On Suns, sometimes $CPP names a directory. 5259if test -n "$CPP" && test -d "$CPP"; then 5260 CPP= 5261fi 5262if test -z "$CPP"; then 5263 if ${ac_cv_prog_CPP+:} false; then : 5264 $as_echo_n "(cached) " >&6 5265else 5266 # Double quotes because CPP needs to be expanded 5267 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 5268 do 5269 ac_preproc_ok=false 5270for ac_c_preproc_warn_flag in '' yes 5271do 5272 # Use a header file that comes with gcc, so configuring glibc 5273 # with a fresh cross-compiler works. 5274 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 5275 # <limits.h> exists even on freestanding compilers. 5276 # On the NeXT, cc -E runs the code through the compiler's parser, 5277 # not just through cpp. "Syntax error" is here to catch this case. 5278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5279/* end confdefs.h. */ 5280#ifdef __STDC__ 5281# include <limits.h> 5282#else 5283# include <assert.h> 5284#endif 5285 Syntax error 5286_ACEOF 5287if ac_fn_c_try_cpp "$LINENO"; then : 5288 5289else 5290 # Broken: fails on valid input. 5291continue 5292fi 5293rm -f conftest.err conftest.i conftest.$ac_ext 5294 5295 # OK, works on sane cases. Now check whether nonexistent headers 5296 # can be detected and how. 5297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5298/* end confdefs.h. */ 5299#include <ac_nonexistent.h> 5300_ACEOF 5301if ac_fn_c_try_cpp "$LINENO"; then : 5302 # Broken: success on invalid input. 5303continue 5304else 5305 # Passes both tests. 5306ac_preproc_ok=: 5307break 5308fi 5309rm -f conftest.err conftest.i conftest.$ac_ext 5310 5311done 5312# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 5313rm -f conftest.i conftest.err conftest.$ac_ext 5314if $ac_preproc_ok; then : 5315 break 5316fi 5317 5318 done 5319 ac_cv_prog_CPP=$CPP 5320 5321fi 5322 CPP=$ac_cv_prog_CPP 5323else 5324 ac_cv_prog_CPP=$CPP 5325fi 5326{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 5327$as_echo "$CPP" >&6; } 5328ac_preproc_ok=false 5329for ac_c_preproc_warn_flag in '' yes 5330do 5331 # Use a header file that comes with gcc, so configuring glibc 5332 # with a fresh cross-compiler works. 5333 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 5334 # <limits.h> exists even on freestanding compilers. 5335 # On the NeXT, cc -E runs the code through the compiler's parser, 5336 # not just through cpp. "Syntax error" is here to catch this case. 5337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5338/* end confdefs.h. */ 5339#ifdef __STDC__ 5340# include <limits.h> 5341#else 5342# include <assert.h> 5343#endif 5344 Syntax error 5345_ACEOF 5346if ac_fn_c_try_cpp "$LINENO"; then : 5347 5348else 5349 # Broken: fails on valid input. 5350continue 5351fi 5352rm -f conftest.err conftest.i conftest.$ac_ext 5353 5354 # OK, works on sane cases. Now check whether nonexistent headers 5355 # can be detected and how. 5356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5357/* end confdefs.h. */ 5358#include <ac_nonexistent.h> 5359_ACEOF 5360if ac_fn_c_try_cpp "$LINENO"; then : 5361 # Broken: success on invalid input. 5362continue 5363else 5364 # Passes both tests. 5365ac_preproc_ok=: 5366break 5367fi 5368rm -f conftest.err conftest.i conftest.$ac_ext 5369 5370done 5371# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 5372rm -f conftest.i conftest.err conftest.$ac_ext 5373if $ac_preproc_ok; then : 5374 5375else 5376 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5377$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5378as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 5379See \`config.log' for more details" "$LINENO" 5; } 5380fi 5381 5382ac_ext=c 5383ac_cpp='$CPP $CPPFLAGS' 5384ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5385ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5386ac_compiler_gnu=$ac_cv_c_compiler_gnu 5387 5388 5389{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 5390$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 5391if ${ac_cv_path_GREP+:} false; then : 5392 $as_echo_n "(cached) " >&6 5393else 5394 if test -z "$GREP"; then 5395 ac_path_GREP_found=false 5396 # Loop through the user's path and test for each of PROGNAME-LIST 5397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5398for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5399do 5400 IFS=$as_save_IFS 5401 test -z "$as_dir" && as_dir=. 5402 for ac_prog in grep ggrep; do 5403 for ac_exec_ext in '' $ac_executable_extensions; do 5404 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 5405 as_fn_executable_p "$ac_path_GREP" || continue 5406# Check for GNU ac_path_GREP and select it if it is found. 5407 # Check for GNU $ac_path_GREP 5408case `"$ac_path_GREP" --version 2>&1` in 5409*GNU*) 5410 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 5411*) 5412 ac_count=0 5413 $as_echo_n 0123456789 >"conftest.in" 5414 while : 5415 do 5416 cat "conftest.in" "conftest.in" >"conftest.tmp" 5417 mv "conftest.tmp" "conftest.in" 5418 cp "conftest.in" "conftest.nl" 5419 $as_echo 'GREP' >> "conftest.nl" 5420 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 5421 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5422 as_fn_arith $ac_count + 1 && ac_count=$as_val 5423 if test $ac_count -gt ${ac_path_GREP_max-0}; then 5424 # Best one so far, save it but keep looking for a better one 5425 ac_cv_path_GREP="$ac_path_GREP" 5426 ac_path_GREP_max=$ac_count 5427 fi 5428 # 10*(2^10) chars as input seems more than enough 5429 test $ac_count -gt 10 && break 5430 done 5431 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5432esac 5433 5434 $ac_path_GREP_found && break 3 5435 done 5436 done 5437 done 5438IFS=$as_save_IFS 5439 if test -z "$ac_cv_path_GREP"; then 5440 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5441 fi 5442else 5443 ac_cv_path_GREP=$GREP 5444fi 5445 5446fi 5447{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 5448$as_echo "$ac_cv_path_GREP" >&6; } 5449 GREP="$ac_cv_path_GREP" 5450 5451 5452{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 5453$as_echo_n "checking for egrep... " >&6; } 5454if ${ac_cv_path_EGREP+:} false; then : 5455 $as_echo_n "(cached) " >&6 5456else 5457 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 5458 then ac_cv_path_EGREP="$GREP -E" 5459 else 5460 if test -z "$EGREP"; then 5461 ac_path_EGREP_found=false 5462 # Loop through the user's path and test for each of PROGNAME-LIST 5463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5464for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5465do 5466 IFS=$as_save_IFS 5467 test -z "$as_dir" && as_dir=. 5468 for ac_prog in egrep; do 5469 for ac_exec_ext in '' $ac_executable_extensions; do 5470 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 5471 as_fn_executable_p "$ac_path_EGREP" || continue 5472# Check for GNU ac_path_EGREP and select it if it is found. 5473 # Check for GNU $ac_path_EGREP 5474case `"$ac_path_EGREP" --version 2>&1` in 5475*GNU*) 5476 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 5477*) 5478 ac_count=0 5479 $as_echo_n 0123456789 >"conftest.in" 5480 while : 5481 do 5482 cat "conftest.in" "conftest.in" >"conftest.tmp" 5483 mv "conftest.tmp" "conftest.in" 5484 cp "conftest.in" "conftest.nl" 5485 $as_echo 'EGREP' >> "conftest.nl" 5486 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 5487 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5488 as_fn_arith $ac_count + 1 && ac_count=$as_val 5489 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 5490 # Best one so far, save it but keep looking for a better one 5491 ac_cv_path_EGREP="$ac_path_EGREP" 5492 ac_path_EGREP_max=$ac_count 5493 fi 5494 # 10*(2^10) chars as input seems more than enough 5495 test $ac_count -gt 10 && break 5496 done 5497 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5498esac 5499 5500 $ac_path_EGREP_found && break 3 5501 done 5502 done 5503 done 5504IFS=$as_save_IFS 5505 if test -z "$ac_cv_path_EGREP"; then 5506 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5507 fi 5508else 5509 ac_cv_path_EGREP=$EGREP 5510fi 5511 5512 fi 5513fi 5514{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 5515$as_echo "$ac_cv_path_EGREP" >&6; } 5516 EGREP="$ac_cv_path_EGREP" 5517 5518 5519if test $ac_cv_c_compiler_gnu = yes; then 5520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5 5521$as_echo_n "checking whether $CC needs -traditional... " >&6; } 5522if ${ac_cv_prog_gcc_traditional+:} false; then : 5523 $as_echo_n "(cached) " >&6 5524else 5525 ac_pattern="Autoconf.*'x'" 5526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5527/* end confdefs.h. */ 5528#include <sgtty.h> 5529Autoconf TIOCGETP 5530_ACEOF 5531if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5532 $EGREP "$ac_pattern" >/dev/null 2>&1; then : 5533 ac_cv_prog_gcc_traditional=yes 5534else 5535 ac_cv_prog_gcc_traditional=no 5536fi 5537rm -f conftest* 5538 5539 5540 if test $ac_cv_prog_gcc_traditional = no; then 5541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5542/* end confdefs.h. */ 5543#include <termio.h> 5544Autoconf TCGETA 5545_ACEOF 5546if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5547 $EGREP "$ac_pattern" >/dev/null 2>&1; then : 5548 ac_cv_prog_gcc_traditional=yes 5549fi 5550rm -f conftest* 5551 5552 fi 5553fi 5554{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5 5555$as_echo "$ac_cv_prog_gcc_traditional" >&6; } 5556 if test $ac_cv_prog_gcc_traditional = yes; then 5557 CC="$CC -traditional" 5558 fi 5559fi 5560 5561ac_ext=cpp 5562ac_cpp='$CXXCPP $CPPFLAGS' 5563ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5564ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5565ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 5566if test -z "$CXX"; then 5567 if test -n "$CCC"; then 5568 CXX=$CCC 5569 else 5570 if test -n "$ac_tool_prefix"; then 5571 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 5572 do 5573 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5574set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5575{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5576$as_echo_n "checking for $ac_word... " >&6; } 5577if ${ac_cv_prog_CXX+:} false; then : 5578 $as_echo_n "(cached) " >&6 5579else 5580 if test -n "$CXX"; then 5581 ac_cv_prog_CXX="$CXX" # Let the user override the test. 5582else 5583as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5584for as_dir in $PATH 5585do 5586 IFS=$as_save_IFS 5587 test -z "$as_dir" && as_dir=. 5588 for ac_exec_ext in '' $ac_executable_extensions; do 5589 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5590 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 5591 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5592 break 2 5593 fi 5594done 5595 done 5596IFS=$as_save_IFS 5597 5598fi 5599fi 5600CXX=$ac_cv_prog_CXX 5601if test -n "$CXX"; then 5602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 5603$as_echo "$CXX" >&6; } 5604else 5605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5606$as_echo "no" >&6; } 5607fi 5608 5609 5610 test -n "$CXX" && break 5611 done 5612fi 5613if test -z "$CXX"; then 5614 ac_ct_CXX=$CXX 5615 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 5616do 5617 # Extract the first word of "$ac_prog", so it can be a program name with args. 5618set dummy $ac_prog; ac_word=$2 5619{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5620$as_echo_n "checking for $ac_word... " >&6; } 5621if ${ac_cv_prog_ac_ct_CXX+:} false; then : 5622 $as_echo_n "(cached) " >&6 5623else 5624 if test -n "$ac_ct_CXX"; then 5625 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 5626else 5627as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5628for as_dir in $PATH 5629do 5630 IFS=$as_save_IFS 5631 test -z "$as_dir" && as_dir=. 5632 for ac_exec_ext in '' $ac_executable_extensions; do 5633 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5634 ac_cv_prog_ac_ct_CXX="$ac_prog" 5635 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5636 break 2 5637 fi 5638done 5639 done 5640IFS=$as_save_IFS 5641 5642fi 5643fi 5644ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 5645if test -n "$ac_ct_CXX"; then 5646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 5647$as_echo "$ac_ct_CXX" >&6; } 5648else 5649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5650$as_echo "no" >&6; } 5651fi 5652 5653 5654 test -n "$ac_ct_CXX" && break 5655done 5656 5657 if test "x$ac_ct_CXX" = x; then 5658 CXX="g++" 5659 else 5660 case $cross_compiling:$ac_tool_warned in 5661yes:) 5662{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5663$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5664ac_tool_warned=yes ;; 5665esac 5666 CXX=$ac_ct_CXX 5667 fi 5668fi 5669 5670 fi 5671fi 5672# Provide some information about the compiler. 5673$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 5674set X $ac_compile 5675ac_compiler=$2 5676for ac_option in --version -v -V -qversion; do 5677 { { ac_try="$ac_compiler $ac_option >&5" 5678case "(($ac_try" in 5679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5680 *) ac_try_echo=$ac_try;; 5681esac 5682eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 5683$as_echo "$ac_try_echo"; } >&5 5684 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 5685 ac_status=$? 5686 if test -s conftest.err; then 5687 sed '10a\ 5688... rest of stderr output deleted ... 5689 10q' conftest.err >conftest.er1 5690 cat conftest.er1 >&5 5691 fi 5692 rm -f conftest.er1 conftest.err 5693 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5694 test $ac_status = 0; } 5695done 5696 5697{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 5698$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 5699if ${ac_cv_cxx_compiler_gnu+:} false; then : 5700 $as_echo_n "(cached) " >&6 5701else 5702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5703/* end confdefs.h. */ 5704 5705int 5706main () 5707{ 5708#ifndef __GNUC__ 5709 choke me 5710#endif 5711 5712 ; 5713 return 0; 5714} 5715_ACEOF 5716if ac_fn_cxx_try_compile "$LINENO"; then : 5717 ac_compiler_gnu=yes 5718else 5719 ac_compiler_gnu=no 5720fi 5721rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5722ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 5723 5724fi 5725{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 5726$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 5727if test $ac_compiler_gnu = yes; then 5728 GXX=yes 5729else 5730 GXX= 5731fi 5732ac_test_CXXFLAGS=${CXXFLAGS+set} 5733ac_save_CXXFLAGS=$CXXFLAGS 5734{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 5735$as_echo_n "checking whether $CXX accepts -g... " >&6; } 5736if ${ac_cv_prog_cxx_g+:} false; then : 5737 $as_echo_n "(cached) " >&6 5738else 5739 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 5740 ac_cxx_werror_flag=yes 5741 ac_cv_prog_cxx_g=no 5742 CXXFLAGS="-g" 5743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5744/* end confdefs.h. */ 5745 5746int 5747main () 5748{ 5749 5750 ; 5751 return 0; 5752} 5753_ACEOF 5754if ac_fn_cxx_try_compile "$LINENO"; then : 5755 ac_cv_prog_cxx_g=yes 5756else 5757 CXXFLAGS="" 5758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5759/* end confdefs.h. */ 5760 5761int 5762main () 5763{ 5764 5765 ; 5766 return 0; 5767} 5768_ACEOF 5769if ac_fn_cxx_try_compile "$LINENO"; then : 5770 5771else 5772 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 5773 CXXFLAGS="-g" 5774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5775/* end confdefs.h. */ 5776 5777int 5778main () 5779{ 5780 5781 ; 5782 return 0; 5783} 5784_ACEOF 5785if ac_fn_cxx_try_compile "$LINENO"; then : 5786 ac_cv_prog_cxx_g=yes 5787fi 5788rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5789fi 5790rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5791fi 5792rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5793 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 5794fi 5795{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 5796$as_echo "$ac_cv_prog_cxx_g" >&6; } 5797if test "$ac_test_CXXFLAGS" = set; then 5798 CXXFLAGS=$ac_save_CXXFLAGS 5799elif test $ac_cv_prog_cxx_g = yes; then 5800 if test "$GXX" = yes; then 5801 CXXFLAGS="-g -O2" 5802 else 5803 CXXFLAGS="-g" 5804 fi 5805else 5806 if test "$GXX" = yes; then 5807 CXXFLAGS="-O2" 5808 else 5809 CXXFLAGS= 5810 fi 5811fi 5812ac_ext=c 5813ac_cpp='$CPP $CPPFLAGS' 5814ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5815ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5816ac_compiler_gnu=$ac_cv_c_compiler_gnu 5817 5818depcc="$CXX" am_compiler_list= 5819 5820{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 5821$as_echo_n "checking dependency style of $depcc... " >&6; } 5822if ${am_cv_CXX_dependencies_compiler_type+:} false; then : 5823 $as_echo_n "(cached) " >&6 5824else 5825 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 5826 # We make a subdir and do the tests there. Otherwise we can end up 5827 # making bogus files that we don't know about and never remove. For 5828 # instance it was reported that on HP-UX the gcc test will end up 5829 # making a dummy file named 'D' -- because '-MD' means "put the output 5830 # in D". 5831 rm -rf conftest.dir 5832 mkdir conftest.dir 5833 # Copy depcomp to subdir because otherwise we won't find it if we're 5834 # using a relative directory. 5835 cp "$am_depcomp" conftest.dir 5836 cd conftest.dir 5837 # We will build objects and dependencies in a subdirectory because 5838 # it helps to detect inapplicable dependency modes. For instance 5839 # both Tru64's cc and ICC support -MD to output dependencies as a 5840 # side effect of compilation, but ICC will put the dependencies in 5841 # the current directory while Tru64 will put them in the object 5842 # directory. 5843 mkdir sub 5844 5845 am_cv_CXX_dependencies_compiler_type=none 5846 if test "$am_compiler_list" = ""; then 5847 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 5848 fi 5849 am__universal=false 5850 case " $depcc " in #( 5851 *\ -arch\ *\ -arch\ *) am__universal=true ;; 5852 esac 5853 5854 for depmode in $am_compiler_list; do 5855 # Setup a source with many dependencies, because some compilers 5856 # like to wrap large dependency lists on column 80 (with \), and 5857 # we should not choose a depcomp mode which is confused by this. 5858 # 5859 # We need to recreate these files for each test, as the compiler may 5860 # overwrite some of them when testing with obscure command lines. 5861 # This happens at least with the AIX C compiler. 5862 : > sub/conftest.c 5863 for i in 1 2 3 4 5 6; do 5864 echo '#include "conftst'$i'.h"' >> sub/conftest.c 5865 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 5866 # Solaris 10 /bin/sh. 5867 echo '/* dummy */' > sub/conftst$i.h 5868 done 5869 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 5870 5871 # We check with '-c' and '-o' for the sake of the "dashmstdout" 5872 # mode. It turns out that the SunPro C++ compiler does not properly 5873 # handle '-M -o', and we need to detect this. Also, some Intel 5874 # versions had trouble with output in subdirs. 5875 am__obj=sub/conftest.${OBJEXT-o} 5876 am__minus_obj="-o $am__obj" 5877 case $depmode in 5878 gcc) 5879 # This depmode causes a compiler race in universal mode. 5880 test "$am__universal" = false || continue 5881 ;; 5882 nosideeffect) 5883 # After this tag, mechanisms are not by side-effect, so they'll 5884 # only be used when explicitly requested. 5885 if test "x$enable_dependency_tracking" = xyes; then 5886 continue 5887 else 5888 break 5889 fi 5890 ;; 5891 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 5892 # This compiler won't grok '-c -o', but also, the minuso test has 5893 # not run yet. These depmodes are late enough in the game, and 5894 # so weak that their functioning should not be impacted. 5895 am__obj=conftest.${OBJEXT-o} 5896 am__minus_obj= 5897 ;; 5898 none) break ;; 5899 esac 5900 if depmode=$depmode \ 5901 source=sub/conftest.c object=$am__obj \ 5902 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 5903 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 5904 >/dev/null 2>conftest.err && 5905 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 5906 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 5907 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 5908 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 5909 # icc doesn't choke on unknown options, it will just issue warnings 5910 # or remarks (even with -Werror). So we grep stderr for any message 5911 # that says an option was ignored or not supported. 5912 # When given -MP, icc 7.0 and 7.1 complain thusly: 5913 # icc: Command line warning: ignoring option '-M'; no argument required 5914 # The diagnosis changed in icc 8.0: 5915 # icc: Command line remark: option '-MP' not supported 5916 if (grep 'ignoring option' conftest.err || 5917 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 5918 am_cv_CXX_dependencies_compiler_type=$depmode 5919 break 5920 fi 5921 fi 5922 done 5923 5924 cd .. 5925 rm -rf conftest.dir 5926else 5927 am_cv_CXX_dependencies_compiler_type=none 5928fi 5929 5930fi 5931{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 5932$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } 5933CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type 5934 5935 if 5936 test "x$enable_dependency_tracking" != xno \ 5937 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then 5938 am__fastdepCXX_TRUE= 5939 am__fastdepCXX_FALSE='#' 5940else 5941 am__fastdepCXX_TRUE='#' 5942 am__fastdepCXX_FALSE= 5943fi 5944 5945 5946{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 5947$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 5948set x ${MAKE-make} 5949ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 5950if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 5951 $as_echo_n "(cached) " >&6 5952else 5953 cat >conftest.make <<\_ACEOF 5954SHELL = /bin/sh 5955all: 5956 @echo '@@@%%%=$(MAKE)=@@@%%%' 5957_ACEOF 5958# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 5959case `${MAKE-make} -f conftest.make 2>/dev/null` in 5960 *@@@%%%=?*=@@@%%%*) 5961 eval ac_cv_prog_make_${ac_make}_set=yes;; 5962 *) 5963 eval ac_cv_prog_make_${ac_make}_set=no;; 5964esac 5965rm -f conftest.make 5966fi 5967if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 5968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5969$as_echo "yes" >&6; } 5970 SET_MAKE= 5971else 5972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5973$as_echo "no" >&6; } 5974 SET_MAKE="MAKE=${MAKE-make}" 5975fi 5976 5977 5978 5979case `pwd` in 5980 *\ * | *\ *) 5981 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 5982$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 5983esac 5984 5985 5986 5987macro_version='2.4.6' 5988macro_revision='2.4.6' 5989 5990 5991 5992 5993 5994 5995 5996 5997 5998 5999 6000 6001 6002ltmain=$ac_aux_dir/ltmain.sh 6003 6004# Backslashify metacharacters that are still active within 6005# double-quoted strings. 6006sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 6007 6008# Same as above, but do not quote variable references. 6009double_quote_subst='s/\(["`\\]\)/\\\1/g' 6010 6011# Sed substitution to delay expansion of an escaped shell variable in a 6012# double_quote_subst'ed string. 6013delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 6014 6015# Sed substitution to delay expansion of an escaped single quote. 6016delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 6017 6018# Sed substitution to avoid accidental globbing in evaled expressions 6019no_glob_subst='s/\*/\\\*/g' 6020 6021ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 6022ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 6023ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 6024 6025{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 6026$as_echo_n "checking how to print strings... " >&6; } 6027# Test print first, because it will be a builtin if present. 6028if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 6029 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 6030 ECHO='print -r --' 6031elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 6032 ECHO='printf %s\n' 6033else 6034 # Use this function as a fallback that always works. 6035 func_fallback_echo () 6036 { 6037 eval 'cat <<_LTECHO_EOF 6038$1 6039_LTECHO_EOF' 6040 } 6041 ECHO='func_fallback_echo' 6042fi 6043 6044# func_echo_all arg... 6045# Invoke $ECHO with all args, space-separated. 6046func_echo_all () 6047{ 6048 $ECHO "" 6049} 6050 6051case $ECHO in 6052 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 6053$as_echo "printf" >&6; } ;; 6054 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 6055$as_echo "print -r" >&6; } ;; 6056 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 6057$as_echo "cat" >&6; } ;; 6058esac 6059 6060 6061 6062 6063 6064 6065 6066 6067 6068 6069 6070 6071 6072 6073{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 6074$as_echo_n "checking for a sed that does not truncate output... " >&6; } 6075if ${ac_cv_path_SED+:} false; then : 6076 $as_echo_n "(cached) " >&6 6077else 6078 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 6079 for ac_i in 1 2 3 4 5 6 7; do 6080 ac_script="$ac_script$as_nl$ac_script" 6081 done 6082 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 6083 { ac_script=; unset ac_script;} 6084 if test -z "$SED"; then 6085 ac_path_SED_found=false 6086 # Loop through the user's path and test for each of PROGNAME-LIST 6087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6088for as_dir in $PATH 6089do 6090 IFS=$as_save_IFS 6091 test -z "$as_dir" && as_dir=. 6092 for ac_prog in sed gsed; do 6093 for ac_exec_ext in '' $ac_executable_extensions; do 6094 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 6095 as_fn_executable_p "$ac_path_SED" || continue 6096# Check for GNU ac_path_SED and select it if it is found. 6097 # Check for GNU $ac_path_SED 6098case `"$ac_path_SED" --version 2>&1` in 6099*GNU*) 6100 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 6101*) 6102 ac_count=0 6103 $as_echo_n 0123456789 >"conftest.in" 6104 while : 6105 do 6106 cat "conftest.in" "conftest.in" >"conftest.tmp" 6107 mv "conftest.tmp" "conftest.in" 6108 cp "conftest.in" "conftest.nl" 6109 $as_echo '' >> "conftest.nl" 6110 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 6111 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 6112 as_fn_arith $ac_count + 1 && ac_count=$as_val 6113 if test $ac_count -gt ${ac_path_SED_max-0}; then 6114 # Best one so far, save it but keep looking for a better one 6115 ac_cv_path_SED="$ac_path_SED" 6116 ac_path_SED_max=$ac_count 6117 fi 6118 # 10*(2^10) chars as input seems more than enough 6119 test $ac_count -gt 10 && break 6120 done 6121 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 6122esac 6123 6124 $ac_path_SED_found && break 3 6125 done 6126 done 6127 done 6128IFS=$as_save_IFS 6129 if test -z "$ac_cv_path_SED"; then 6130 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 6131 fi 6132else 6133 ac_cv_path_SED=$SED 6134fi 6135 6136fi 6137{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 6138$as_echo "$ac_cv_path_SED" >&6; } 6139 SED="$ac_cv_path_SED" 6140 rm -f conftest.sed 6141 6142test -z "$SED" && SED=sed 6143Xsed="$SED -e 1s/^X//" 6144 6145 6146 6147 6148 6149 6150 6151 6152 6153 6154 6155{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 6156$as_echo_n "checking for fgrep... " >&6; } 6157if ${ac_cv_path_FGREP+:} false; then : 6158 $as_echo_n "(cached) " >&6 6159else 6160 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 6161 then ac_cv_path_FGREP="$GREP -F" 6162 else 6163 if test -z "$FGREP"; then 6164 ac_path_FGREP_found=false 6165 # Loop through the user's path and test for each of PROGNAME-LIST 6166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6167for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 6168do 6169 IFS=$as_save_IFS 6170 test -z "$as_dir" && as_dir=. 6171 for ac_prog in fgrep; do 6172 for ac_exec_ext in '' $ac_executable_extensions; do 6173 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 6174 as_fn_executable_p "$ac_path_FGREP" || continue 6175# Check for GNU ac_path_FGREP and select it if it is found. 6176 # Check for GNU $ac_path_FGREP 6177case `"$ac_path_FGREP" --version 2>&1` in 6178*GNU*) 6179 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 6180*) 6181 ac_count=0 6182 $as_echo_n 0123456789 >"conftest.in" 6183 while : 6184 do 6185 cat "conftest.in" "conftest.in" >"conftest.tmp" 6186 mv "conftest.tmp" "conftest.in" 6187 cp "conftest.in" "conftest.nl" 6188 $as_echo 'FGREP' >> "conftest.nl" 6189 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 6190 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 6191 as_fn_arith $ac_count + 1 && ac_count=$as_val 6192 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 6193 # Best one so far, save it but keep looking for a better one 6194 ac_cv_path_FGREP="$ac_path_FGREP" 6195 ac_path_FGREP_max=$ac_count 6196 fi 6197 # 10*(2^10) chars as input seems more than enough 6198 test $ac_count -gt 10 && break 6199 done 6200 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 6201esac 6202 6203 $ac_path_FGREP_found && break 3 6204 done 6205 done 6206 done 6207IFS=$as_save_IFS 6208 if test -z "$ac_cv_path_FGREP"; then 6209 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 6210 fi 6211else 6212 ac_cv_path_FGREP=$FGREP 6213fi 6214 6215 fi 6216fi 6217{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 6218$as_echo "$ac_cv_path_FGREP" >&6; } 6219 FGREP="$ac_cv_path_FGREP" 6220 6221 6222test -z "$GREP" && GREP=grep 6223 6224 6225 6226 6227 6228 6229 6230 6231 6232 6233 6234 6235 6236 6237 6238 6239 6240 6241 6242# Check whether --with-gnu-ld was given. 6243if test "${with_gnu_ld+set}" = set; then : 6244 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes 6245else 6246 with_gnu_ld=no 6247fi 6248 6249ac_prog=ld 6250if test yes = "$GCC"; then 6251 # Check if gcc -print-prog-name=ld gives a path. 6252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 6253$as_echo_n "checking for ld used by $CC... " >&6; } 6254 case $host in 6255 *-*-mingw*) 6256 # gcc leaves a trailing carriage return, which upsets mingw 6257 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 6258 *) 6259 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 6260 esac 6261 case $ac_prog in 6262 # Accept absolute paths. 6263 [\\/]* | ?:[\\/]*) 6264 re_direlt='/[^/][^/]*/\.\./' 6265 # Canonicalize the pathname of ld 6266 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 6267 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 6268 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 6269 done 6270 test -z "$LD" && LD=$ac_prog 6271 ;; 6272 "") 6273 # If it fails, then pretend we aren't using GCC. 6274 ac_prog=ld 6275 ;; 6276 *) 6277 # If it is relative, then search for the first ld in PATH. 6278 with_gnu_ld=unknown 6279 ;; 6280 esac 6281elif test yes = "$with_gnu_ld"; then 6282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 6283$as_echo_n "checking for GNU ld... " >&6; } 6284else 6285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 6286$as_echo_n "checking for non-GNU ld... " >&6; } 6287fi 6288if ${lt_cv_path_LD+:} false; then : 6289 $as_echo_n "(cached) " >&6 6290else 6291 if test -z "$LD"; then 6292 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 6293 for ac_dir in $PATH; do 6294 IFS=$lt_save_ifs 6295 test -z "$ac_dir" && ac_dir=. 6296 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 6297 lt_cv_path_LD=$ac_dir/$ac_prog 6298 # Check to see if the program is GNU ld. I'd rather use --version, 6299 # but apparently some variants of GNU ld only accept -v. 6300 # Break only if it was the GNU/non-GNU ld that we prefer. 6301 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 6302 *GNU* | *'with BFD'*) 6303 test no != "$with_gnu_ld" && break 6304 ;; 6305 *) 6306 test yes != "$with_gnu_ld" && break 6307 ;; 6308 esac 6309 fi 6310 done 6311 IFS=$lt_save_ifs 6312else 6313 lt_cv_path_LD=$LD # Let the user override the test with a path. 6314fi 6315fi 6316 6317LD=$lt_cv_path_LD 6318if test -n "$LD"; then 6319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 6320$as_echo "$LD" >&6; } 6321else 6322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6323$as_echo "no" >&6; } 6324fi 6325test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 6326{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 6327$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 6328if ${lt_cv_prog_gnu_ld+:} false; then : 6329 $as_echo_n "(cached) " >&6 6330else 6331 # I'd rather use --version here, but apparently some GNU lds only accept -v. 6332case `$LD -v 2>&1 </dev/null` in 6333*GNU* | *'with BFD'*) 6334 lt_cv_prog_gnu_ld=yes 6335 ;; 6336*) 6337 lt_cv_prog_gnu_ld=no 6338 ;; 6339esac 6340fi 6341{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 6342$as_echo "$lt_cv_prog_gnu_ld" >&6; } 6343with_gnu_ld=$lt_cv_prog_gnu_ld 6344 6345 6346 6347 6348 6349 6350 6351 6352 6353{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 6354$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 6355if ${lt_cv_path_NM+:} false; then : 6356 $as_echo_n "(cached) " >&6 6357else 6358 if test -n "$NM"; then 6359 # Let the user override the test. 6360 lt_cv_path_NM=$NM 6361else 6362 lt_nm_to_check=${ac_tool_prefix}nm 6363 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 6364 lt_nm_to_check="$lt_nm_to_check nm" 6365 fi 6366 for lt_tmp_nm in $lt_nm_to_check; do 6367 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 6368 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 6369 IFS=$lt_save_ifs 6370 test -z "$ac_dir" && ac_dir=. 6371 tmp_nm=$ac_dir/$lt_tmp_nm 6372 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then 6373 # Check to see if the nm accepts a BSD-compat flag. 6374 # Adding the 'sed 1q' prevents false positives on HP-UX, which says: 6375 # nm: unknown option "B" ignored 6376 # Tru64's nm complains that /dev/null is an invalid object file 6377 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty 6378 case $build_os in 6379 mingw*) lt_bad_file=conftest.nm/nofile ;; 6380 *) lt_bad_file=/dev/null ;; 6381 esac 6382 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in 6383 *$lt_bad_file* | *'Invalid file or object type'*) 6384 lt_cv_path_NM="$tmp_nm -B" 6385 break 2 6386 ;; 6387 *) 6388 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 6389 */dev/null*) 6390 lt_cv_path_NM="$tmp_nm -p" 6391 break 2 6392 ;; 6393 *) 6394 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 6395 continue # so that we can try to find one that supports BSD flags 6396 ;; 6397 esac 6398 ;; 6399 esac 6400 fi 6401 done 6402 IFS=$lt_save_ifs 6403 done 6404 : ${lt_cv_path_NM=no} 6405fi 6406fi 6407{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 6408$as_echo "$lt_cv_path_NM" >&6; } 6409if test no != "$lt_cv_path_NM"; then 6410 NM=$lt_cv_path_NM 6411else 6412 # Didn't find any BSD compatible name lister, look for dumpbin. 6413 if test -n "$DUMPBIN"; then : 6414 # Let the user override the test. 6415 else 6416 if test -n "$ac_tool_prefix"; then 6417 for ac_prog in dumpbin "link -dump" 6418 do 6419 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 6420set dummy $ac_tool_prefix$ac_prog; ac_word=$2 6421{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6422$as_echo_n "checking for $ac_word... " >&6; } 6423if ${ac_cv_prog_DUMPBIN+:} false; then : 6424 $as_echo_n "(cached) " >&6 6425else 6426 if test -n "$DUMPBIN"; then 6427 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 6428else 6429as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6430for as_dir in $PATH 6431do 6432 IFS=$as_save_IFS 6433 test -z "$as_dir" && as_dir=. 6434 for ac_exec_ext in '' $ac_executable_extensions; do 6435 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6436 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 6437 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6438 break 2 6439 fi 6440done 6441 done 6442IFS=$as_save_IFS 6443 6444fi 6445fi 6446DUMPBIN=$ac_cv_prog_DUMPBIN 6447if test -n "$DUMPBIN"; then 6448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 6449$as_echo "$DUMPBIN" >&6; } 6450else 6451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6452$as_echo "no" >&6; } 6453fi 6454 6455 6456 test -n "$DUMPBIN" && break 6457 done 6458fi 6459if test -z "$DUMPBIN"; then 6460 ac_ct_DUMPBIN=$DUMPBIN 6461 for ac_prog in dumpbin "link -dump" 6462do 6463 # Extract the first word of "$ac_prog", so it can be a program name with args. 6464set dummy $ac_prog; ac_word=$2 6465{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6466$as_echo_n "checking for $ac_word... " >&6; } 6467if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 6468 $as_echo_n "(cached) " >&6 6469else 6470 if test -n "$ac_ct_DUMPBIN"; then 6471 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 6472else 6473as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6474for as_dir in $PATH 6475do 6476 IFS=$as_save_IFS 6477 test -z "$as_dir" && as_dir=. 6478 for ac_exec_ext in '' $ac_executable_extensions; do 6479 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6480 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 6481 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6482 break 2 6483 fi 6484done 6485 done 6486IFS=$as_save_IFS 6487 6488fi 6489fi 6490ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 6491if test -n "$ac_ct_DUMPBIN"; then 6492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 6493$as_echo "$ac_ct_DUMPBIN" >&6; } 6494else 6495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6496$as_echo "no" >&6; } 6497fi 6498 6499 6500 test -n "$ac_ct_DUMPBIN" && break 6501done 6502 6503 if test "x$ac_ct_DUMPBIN" = x; then 6504 DUMPBIN=":" 6505 else 6506 case $cross_compiling:$ac_tool_warned in 6507yes:) 6508{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6509$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6510ac_tool_warned=yes ;; 6511esac 6512 DUMPBIN=$ac_ct_DUMPBIN 6513 fi 6514fi 6515 6516 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in 6517 *COFF*) 6518 DUMPBIN="$DUMPBIN -symbols -headers" 6519 ;; 6520 *) 6521 DUMPBIN=: 6522 ;; 6523 esac 6524 fi 6525 6526 if test : != "$DUMPBIN"; then 6527 NM=$DUMPBIN 6528 fi 6529fi 6530test -z "$NM" && NM=nm 6531 6532 6533 6534 6535 6536 6537{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 6538$as_echo_n "checking the name lister ($NM) interface... " >&6; } 6539if ${lt_cv_nm_interface+:} false; then : 6540 $as_echo_n "(cached) " >&6 6541else 6542 lt_cv_nm_interface="BSD nm" 6543 echo "int some_variable = 0;" > conftest.$ac_ext 6544 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 6545 (eval "$ac_compile" 2>conftest.err) 6546 cat conftest.err >&5 6547 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 6548 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 6549 cat conftest.err >&5 6550 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 6551 cat conftest.out >&5 6552 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 6553 lt_cv_nm_interface="MS dumpbin" 6554 fi 6555 rm -f conftest* 6556fi 6557{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 6558$as_echo "$lt_cv_nm_interface" >&6; } 6559 6560{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 6561$as_echo_n "checking whether ln -s works... " >&6; } 6562LN_S=$as_ln_s 6563if test "$LN_S" = "ln -s"; then 6564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6565$as_echo "yes" >&6; } 6566else 6567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 6568$as_echo "no, using $LN_S" >&6; } 6569fi 6570 6571# find the maximum length of command line arguments 6572{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 6573$as_echo_n "checking the maximum length of command line arguments... " >&6; } 6574if ${lt_cv_sys_max_cmd_len+:} false; then : 6575 $as_echo_n "(cached) " >&6 6576else 6577 i=0 6578 teststring=ABCD 6579 6580 case $build_os in 6581 msdosdjgpp*) 6582 # On DJGPP, this test can blow up pretty badly due to problems in libc 6583 # (any single argument exceeding 2000 bytes causes a buffer overrun 6584 # during glob expansion). Even if it were fixed, the result of this 6585 # check would be larger than it should be. 6586 lt_cv_sys_max_cmd_len=12288; # 12K is about right 6587 ;; 6588 6589 gnu*) 6590 # Under GNU Hurd, this test is not required because there is 6591 # no limit to the length of command line arguments. 6592 # Libtool will interpret -1 as no limit whatsoever 6593 lt_cv_sys_max_cmd_len=-1; 6594 ;; 6595 6596 cygwin* | mingw* | cegcc*) 6597 # On Win9x/ME, this test blows up -- it succeeds, but takes 6598 # about 5 minutes as the teststring grows exponentially. 6599 # Worse, since 9x/ME are not pre-emptively multitasking, 6600 # you end up with a "frozen" computer, even though with patience 6601 # the test eventually succeeds (with a max line length of 256k). 6602 # Instead, let's just punt: use the minimum linelength reported by 6603 # all of the supported platforms: 8192 (on NT/2K/XP). 6604 lt_cv_sys_max_cmd_len=8192; 6605 ;; 6606 6607 mint*) 6608 # On MiNT this can take a long time and run out of memory. 6609 lt_cv_sys_max_cmd_len=8192; 6610 ;; 6611 6612 amigaos*) 6613 # On AmigaOS with pdksh, this test takes hours, literally. 6614 # So we just punt and use a minimum line length of 8192. 6615 lt_cv_sys_max_cmd_len=8192; 6616 ;; 6617 6618 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*) 6619 # This has been around since 386BSD, at least. Likely further. 6620 if test -x /sbin/sysctl; then 6621 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 6622 elif test -x /usr/sbin/sysctl; then 6623 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 6624 else 6625 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 6626 fi 6627 # And add a safety zone 6628 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 6629 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 6630 ;; 6631 6632 interix*) 6633 # We know the value 262144 and hardcode it with a safety zone (like BSD) 6634 lt_cv_sys_max_cmd_len=196608 6635 ;; 6636 6637 os2*) 6638 # The test takes a long time on OS/2. 6639 lt_cv_sys_max_cmd_len=8192 6640 ;; 6641 6642 osf*) 6643 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 6644 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 6645 # nice to cause kernel panics so lets avoid the loop below. 6646 # First set a reasonable default. 6647 lt_cv_sys_max_cmd_len=16384 6648 # 6649 if test -x /sbin/sysconfig; then 6650 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 6651 *1*) lt_cv_sys_max_cmd_len=-1 ;; 6652 esac 6653 fi 6654 ;; 6655 sco3.2v5*) 6656 lt_cv_sys_max_cmd_len=102400 6657 ;; 6658 sysv5* | sco5v6* | sysv4.2uw2*) 6659 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 6660 if test -n "$kargmax"; then 6661 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 6662 else 6663 lt_cv_sys_max_cmd_len=32768 6664 fi 6665 ;; 6666 *) 6667 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 6668 if test -n "$lt_cv_sys_max_cmd_len" && \ 6669 test undefined != "$lt_cv_sys_max_cmd_len"; then 6670 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 6671 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 6672 else 6673 # Make teststring a little bigger before we do anything with it. 6674 # a 1K string should be a reasonable start. 6675 for i in 1 2 3 4 5 6 7 8; do 6676 teststring=$teststring$teststring 6677 done 6678 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 6679 # If test is not a shell built-in, we'll probably end up computing a 6680 # maximum length that is only half of the actual maximum length, but 6681 # we can't tell. 6682 while { test X`env echo "$teststring$teststring" 2>/dev/null` \ 6683 = "X$teststring$teststring"; } >/dev/null 2>&1 && 6684 test 17 != "$i" # 1/2 MB should be enough 6685 do 6686 i=`expr $i + 1` 6687 teststring=$teststring$teststring 6688 done 6689 # Only check the string length outside the loop. 6690 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 6691 teststring= 6692 # Add a significant safety factor because C++ compilers can tack on 6693 # massive amounts of additional arguments before passing them to the 6694 # linker. It appears as though 1/2 is a usable value. 6695 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 6696 fi 6697 ;; 6698 esac 6699 6700fi 6701 6702if test -n "$lt_cv_sys_max_cmd_len"; then 6703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 6704$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 6705else 6706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 6707$as_echo "none" >&6; } 6708fi 6709max_cmd_len=$lt_cv_sys_max_cmd_len 6710 6711 6712 6713 6714 6715 6716: ${CP="cp -f"} 6717: ${MV="mv -f"} 6718: ${RM="rm -f"} 6719 6720if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 6721 lt_unset=unset 6722else 6723 lt_unset=false 6724fi 6725 6726 6727 6728 6729 6730# test EBCDIC or ASCII 6731case `echo X|tr X '\101'` in 6732 A) # ASCII based system 6733 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 6734 lt_SP2NL='tr \040 \012' 6735 lt_NL2SP='tr \015\012 \040\040' 6736 ;; 6737 *) # EBCDIC based system 6738 lt_SP2NL='tr \100 \n' 6739 lt_NL2SP='tr \r\n \100\100' 6740 ;; 6741esac 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 6752$as_echo_n "checking how to convert $build file names to $host format... " >&6; } 6753if ${lt_cv_to_host_file_cmd+:} false; then : 6754 $as_echo_n "(cached) " >&6 6755else 6756 case $host in 6757 *-*-mingw* ) 6758 case $build in 6759 *-*-mingw* ) # actually msys 6760 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 6761 ;; 6762 *-*-cygwin* ) 6763 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 6764 ;; 6765 * ) # otherwise, assume *nix 6766 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 6767 ;; 6768 esac 6769 ;; 6770 *-*-cygwin* ) 6771 case $build in 6772 *-*-mingw* ) # actually msys 6773 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 6774 ;; 6775 *-*-cygwin* ) 6776 lt_cv_to_host_file_cmd=func_convert_file_noop 6777 ;; 6778 * ) # otherwise, assume *nix 6779 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 6780 ;; 6781 esac 6782 ;; 6783 * ) # unhandled hosts (and "normal" native builds) 6784 lt_cv_to_host_file_cmd=func_convert_file_noop 6785 ;; 6786esac 6787 6788fi 6789 6790to_host_file_cmd=$lt_cv_to_host_file_cmd 6791{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 6792$as_echo "$lt_cv_to_host_file_cmd" >&6; } 6793 6794 6795 6796 6797 6798{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 6799$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 6800if ${lt_cv_to_tool_file_cmd+:} false; then : 6801 $as_echo_n "(cached) " >&6 6802else 6803 #assume ordinary cross tools, or native build. 6804lt_cv_to_tool_file_cmd=func_convert_file_noop 6805case $host in 6806 *-*-mingw* ) 6807 case $build in 6808 *-*-mingw* ) # actually msys 6809 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 6810 ;; 6811 esac 6812 ;; 6813esac 6814 6815fi 6816 6817to_tool_file_cmd=$lt_cv_to_tool_file_cmd 6818{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 6819$as_echo "$lt_cv_to_tool_file_cmd" >&6; } 6820 6821 6822 6823 6824 6825{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 6826$as_echo_n "checking for $LD option to reload object files... " >&6; } 6827if ${lt_cv_ld_reload_flag+:} false; then : 6828 $as_echo_n "(cached) " >&6 6829else 6830 lt_cv_ld_reload_flag='-r' 6831fi 6832{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 6833$as_echo "$lt_cv_ld_reload_flag" >&6; } 6834reload_flag=$lt_cv_ld_reload_flag 6835case $reload_flag in 6836"" | " "*) ;; 6837*) reload_flag=" $reload_flag" ;; 6838esac 6839reload_cmds='$LD$reload_flag -o $output$reload_objs' 6840case $host_os in 6841 cygwin* | mingw* | pw32* | cegcc*) 6842 if test yes != "$GCC"; then 6843 reload_cmds=false 6844 fi 6845 ;; 6846 darwin*) 6847 if test yes = "$GCC"; then 6848 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs' 6849 else 6850 reload_cmds='$LD$reload_flag -o $output$reload_objs' 6851 fi 6852 ;; 6853esac 6854 6855 6856 6857 6858 6859 6860 6861 6862 6863if test -n "$ac_tool_prefix"; then 6864 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 6865set dummy ${ac_tool_prefix}objdump; ac_word=$2 6866{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6867$as_echo_n "checking for $ac_word... " >&6; } 6868if ${ac_cv_prog_OBJDUMP+:} false; then : 6869 $as_echo_n "(cached) " >&6 6870else 6871 if test -n "$OBJDUMP"; then 6872 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 6873else 6874as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6875for as_dir in $PATH 6876do 6877 IFS=$as_save_IFS 6878 test -z "$as_dir" && as_dir=. 6879 for ac_exec_ext in '' $ac_executable_extensions; do 6880 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6881 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 6882 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6883 break 2 6884 fi 6885done 6886 done 6887IFS=$as_save_IFS 6888 6889fi 6890fi 6891OBJDUMP=$ac_cv_prog_OBJDUMP 6892if test -n "$OBJDUMP"; then 6893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 6894$as_echo "$OBJDUMP" >&6; } 6895else 6896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6897$as_echo "no" >&6; } 6898fi 6899 6900 6901fi 6902if test -z "$ac_cv_prog_OBJDUMP"; then 6903 ac_ct_OBJDUMP=$OBJDUMP 6904 # Extract the first word of "objdump", so it can be a program name with args. 6905set dummy objdump; ac_word=$2 6906{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6907$as_echo_n "checking for $ac_word... " >&6; } 6908if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 6909 $as_echo_n "(cached) " >&6 6910else 6911 if test -n "$ac_ct_OBJDUMP"; then 6912 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 6913else 6914as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6915for as_dir in $PATH 6916do 6917 IFS=$as_save_IFS 6918 test -z "$as_dir" && as_dir=. 6919 for ac_exec_ext in '' $ac_executable_extensions; do 6920 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6921 ac_cv_prog_ac_ct_OBJDUMP="objdump" 6922 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6923 break 2 6924 fi 6925done 6926 done 6927IFS=$as_save_IFS 6928 6929fi 6930fi 6931ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 6932if test -n "$ac_ct_OBJDUMP"; then 6933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 6934$as_echo "$ac_ct_OBJDUMP" >&6; } 6935else 6936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6937$as_echo "no" >&6; } 6938fi 6939 6940 if test "x$ac_ct_OBJDUMP" = x; then 6941 OBJDUMP="false" 6942 else 6943 case $cross_compiling:$ac_tool_warned in 6944yes:) 6945{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6946$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6947ac_tool_warned=yes ;; 6948esac 6949 OBJDUMP=$ac_ct_OBJDUMP 6950 fi 6951else 6952 OBJDUMP="$ac_cv_prog_OBJDUMP" 6953fi 6954 6955test -z "$OBJDUMP" && OBJDUMP=objdump 6956 6957 6958 6959 6960 6961 6962{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 6963$as_echo_n "checking how to recognize dependent libraries... " >&6; } 6964if ${lt_cv_deplibs_check_method+:} false; then : 6965 $as_echo_n "(cached) " >&6 6966else 6967 lt_cv_file_magic_cmd='$MAGIC_CMD' 6968lt_cv_file_magic_test_file= 6969lt_cv_deplibs_check_method='unknown' 6970# Need to set the preceding variable on all platforms that support 6971# interlibrary dependencies. 6972# 'none' -- dependencies not supported. 6973# 'unknown' -- same as none, but documents that we really don't know. 6974# 'pass_all' -- all dependencies passed with no checks. 6975# 'test_compile' -- check by making test program. 6976# 'file_magic [[regex]]' -- check by looking for files in library path 6977# that responds to the $file_magic_cmd with a given extended regex. 6978# If you have 'file' or equivalent on your system and you're not sure 6979# whether 'pass_all' will *always* work, you probably want this one. 6980 6981case $host_os in 6982aix[4-9]*) 6983 lt_cv_deplibs_check_method=pass_all 6984 ;; 6985 6986beos*) 6987 lt_cv_deplibs_check_method=pass_all 6988 ;; 6989 6990bsdi[45]*) 6991 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 6992 lt_cv_file_magic_cmd='/usr/bin/file -L' 6993 lt_cv_file_magic_test_file=/shlib/libc.so 6994 ;; 6995 6996cygwin*) 6997 # func_win32_libid is a shell function defined in ltmain.sh 6998 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 6999 lt_cv_file_magic_cmd='func_win32_libid' 7000 ;; 7001 7002mingw* | pw32*) 7003 # Base MSYS/MinGW do not provide the 'file' command needed by 7004 # func_win32_libid shell function, so use a weaker test based on 'objdump', 7005 # unless we find 'file', for example because we are cross-compiling. 7006 if ( file / ) >/dev/null 2>&1; then 7007 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 7008 lt_cv_file_magic_cmd='func_win32_libid' 7009 else 7010 # Keep this pattern in sync with the one in func_win32_libid. 7011 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 7012 lt_cv_file_magic_cmd='$OBJDUMP -f' 7013 fi 7014 ;; 7015 7016cegcc*) 7017 # use the weaker test based on 'objdump'. See mingw*. 7018 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 7019 lt_cv_file_magic_cmd='$OBJDUMP -f' 7020 ;; 7021 7022darwin* | rhapsody*) 7023 lt_cv_deplibs_check_method=pass_all 7024 ;; 7025 7026freebsd* | dragonfly*) 7027 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 7028 case $host_cpu in 7029 i*86 ) 7030 # Not sure whether the presence of OpenBSD here was a mistake. 7031 # Let's accept both of them until this is cleared up. 7032 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 7033 lt_cv_file_magic_cmd=/usr/bin/file 7034 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 7035 ;; 7036 esac 7037 else 7038 lt_cv_deplibs_check_method=pass_all 7039 fi 7040 ;; 7041 7042haiku*) 7043 lt_cv_deplibs_check_method=pass_all 7044 ;; 7045 7046hpux10.20* | hpux11*) 7047 lt_cv_file_magic_cmd=/usr/bin/file 7048 case $host_cpu in 7049 ia64*) 7050 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 7051 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 7052 ;; 7053 hppa*64*) 7054 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]' 7055 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 7056 ;; 7057 *) 7058 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 7059 lt_cv_file_magic_test_file=/usr/lib/libc.sl 7060 ;; 7061 esac 7062 ;; 7063 7064interix[3-9]*) 7065 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 7066 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 7067 ;; 7068 7069irix5* | irix6* | nonstopux*) 7070 case $LD in 7071 *-32|*"-32 ") libmagic=32-bit;; 7072 *-n32|*"-n32 ") libmagic=N32;; 7073 *-64|*"-64 ") libmagic=64-bit;; 7074 *) libmagic=never-match;; 7075 esac 7076 lt_cv_deplibs_check_method=pass_all 7077 ;; 7078 7079# This must be glibc/ELF. 7080linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 7081 lt_cv_deplibs_check_method=pass_all 7082 ;; 7083 7084netbsd*) 7085 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 7086 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 7087 else 7088 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 7089 fi 7090 ;; 7091 7092newos6*) 7093 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 7094 lt_cv_file_magic_cmd=/usr/bin/file 7095 lt_cv_file_magic_test_file=/usr/lib/libnls.so 7096 ;; 7097 7098*nto* | *qnx*) 7099 lt_cv_deplibs_check_method=pass_all 7100 ;; 7101 7102openbsd* | bitrig*) 7103 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 7104 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 7105 else 7106 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 7107 fi 7108 ;; 7109 7110osf3* | osf4* | osf5*) 7111 lt_cv_deplibs_check_method=pass_all 7112 ;; 7113 7114rdos*) 7115 lt_cv_deplibs_check_method=pass_all 7116 ;; 7117 7118solaris*) 7119 lt_cv_deplibs_check_method=pass_all 7120 ;; 7121 7122sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 7123 lt_cv_deplibs_check_method=pass_all 7124 ;; 7125 7126sysv4 | sysv4.3*) 7127 case $host_vendor in 7128 motorola) 7129 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]' 7130 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 7131 ;; 7132 ncr) 7133 lt_cv_deplibs_check_method=pass_all 7134 ;; 7135 sequent) 7136 lt_cv_file_magic_cmd='/bin/file' 7137 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 7138 ;; 7139 sni) 7140 lt_cv_file_magic_cmd='/bin/file' 7141 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 7142 lt_cv_file_magic_test_file=/lib/libc.so 7143 ;; 7144 siemens) 7145 lt_cv_deplibs_check_method=pass_all 7146 ;; 7147 pc) 7148 lt_cv_deplibs_check_method=pass_all 7149 ;; 7150 esac 7151 ;; 7152 7153tpf*) 7154 lt_cv_deplibs_check_method=pass_all 7155 ;; 7156os2*) 7157 lt_cv_deplibs_check_method=pass_all 7158 ;; 7159esac 7160 7161fi 7162{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 7163$as_echo "$lt_cv_deplibs_check_method" >&6; } 7164 7165file_magic_glob= 7166want_nocaseglob=no 7167if test "$build" = "$host"; then 7168 case $host_os in 7169 mingw* | pw32*) 7170 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then 7171 want_nocaseglob=yes 7172 else 7173 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` 7174 fi 7175 ;; 7176 esac 7177fi 7178 7179file_magic_cmd=$lt_cv_file_magic_cmd 7180deplibs_check_method=$lt_cv_deplibs_check_method 7181test -z "$deplibs_check_method" && deplibs_check_method=unknown 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196 7197 7198 7199 7200 7201 7202 7203 7204if test -n "$ac_tool_prefix"; then 7205 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 7206set dummy ${ac_tool_prefix}dlltool; ac_word=$2 7207{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7208$as_echo_n "checking for $ac_word... " >&6; } 7209if ${ac_cv_prog_DLLTOOL+:} false; then : 7210 $as_echo_n "(cached) " >&6 7211else 7212 if test -n "$DLLTOOL"; then 7213 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 7214else 7215as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7216for as_dir in $PATH 7217do 7218 IFS=$as_save_IFS 7219 test -z "$as_dir" && as_dir=. 7220 for ac_exec_ext in '' $ac_executable_extensions; do 7221 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7222 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 7223 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7224 break 2 7225 fi 7226done 7227 done 7228IFS=$as_save_IFS 7229 7230fi 7231fi 7232DLLTOOL=$ac_cv_prog_DLLTOOL 7233if test -n "$DLLTOOL"; then 7234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 7235$as_echo "$DLLTOOL" >&6; } 7236else 7237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7238$as_echo "no" >&6; } 7239fi 7240 7241 7242fi 7243if test -z "$ac_cv_prog_DLLTOOL"; then 7244 ac_ct_DLLTOOL=$DLLTOOL 7245 # Extract the first word of "dlltool", so it can be a program name with args. 7246set dummy dlltool; ac_word=$2 7247{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7248$as_echo_n "checking for $ac_word... " >&6; } 7249if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 7250 $as_echo_n "(cached) " >&6 7251else 7252 if test -n "$ac_ct_DLLTOOL"; then 7253 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 7254else 7255as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7256for as_dir in $PATH 7257do 7258 IFS=$as_save_IFS 7259 test -z "$as_dir" && as_dir=. 7260 for ac_exec_ext in '' $ac_executable_extensions; do 7261 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7262 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 7263 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7264 break 2 7265 fi 7266done 7267 done 7268IFS=$as_save_IFS 7269 7270fi 7271fi 7272ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 7273if test -n "$ac_ct_DLLTOOL"; then 7274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 7275$as_echo "$ac_ct_DLLTOOL" >&6; } 7276else 7277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7278$as_echo "no" >&6; } 7279fi 7280 7281 if test "x$ac_ct_DLLTOOL" = x; then 7282 DLLTOOL="false" 7283 else 7284 case $cross_compiling:$ac_tool_warned in 7285yes:) 7286{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7287$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7288ac_tool_warned=yes ;; 7289esac 7290 DLLTOOL=$ac_ct_DLLTOOL 7291 fi 7292else 7293 DLLTOOL="$ac_cv_prog_DLLTOOL" 7294fi 7295 7296test -z "$DLLTOOL" && DLLTOOL=dlltool 7297 7298 7299 7300 7301 7302 7303 7304{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 7305$as_echo_n "checking how to associate runtime and link libraries... " >&6; } 7306if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 7307 $as_echo_n "(cached) " >&6 7308else 7309 lt_cv_sharedlib_from_linklib_cmd='unknown' 7310 7311case $host_os in 7312cygwin* | mingw* | pw32* | cegcc*) 7313 # two different shell functions defined in ltmain.sh; 7314 # decide which one to use based on capabilities of $DLLTOOL 7315 case `$DLLTOOL --help 2>&1` in 7316 *--identify-strict*) 7317 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 7318 ;; 7319 *) 7320 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 7321 ;; 7322 esac 7323 ;; 7324*) 7325 # fallback: assume linklib IS sharedlib 7326 lt_cv_sharedlib_from_linklib_cmd=$ECHO 7327 ;; 7328esac 7329 7330fi 7331{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 7332$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 7333sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 7334test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 7335 7336 7337 7338 7339 7340 7341 7342if test -n "$ac_tool_prefix"; then 7343 for ac_prog in ar 7344 do 7345 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 7346set dummy $ac_tool_prefix$ac_prog; ac_word=$2 7347{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7348$as_echo_n "checking for $ac_word... " >&6; } 7349if ${ac_cv_prog_AR+:} false; then : 7350 $as_echo_n "(cached) " >&6 7351else 7352 if test -n "$AR"; then 7353 ac_cv_prog_AR="$AR" # Let the user override the test. 7354else 7355as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7356for as_dir in $PATH 7357do 7358 IFS=$as_save_IFS 7359 test -z "$as_dir" && as_dir=. 7360 for ac_exec_ext in '' $ac_executable_extensions; do 7361 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7362 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 7363 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7364 break 2 7365 fi 7366done 7367 done 7368IFS=$as_save_IFS 7369 7370fi 7371fi 7372AR=$ac_cv_prog_AR 7373if test -n "$AR"; then 7374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 7375$as_echo "$AR" >&6; } 7376else 7377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7378$as_echo "no" >&6; } 7379fi 7380 7381 7382 test -n "$AR" && break 7383 done 7384fi 7385if test -z "$AR"; then 7386 ac_ct_AR=$AR 7387 for ac_prog in ar 7388do 7389 # Extract the first word of "$ac_prog", so it can be a program name with args. 7390set dummy $ac_prog; ac_word=$2 7391{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7392$as_echo_n "checking for $ac_word... " >&6; } 7393if ${ac_cv_prog_ac_ct_AR+:} false; then : 7394 $as_echo_n "(cached) " >&6 7395else 7396 if test -n "$ac_ct_AR"; then 7397 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 7398else 7399as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7400for as_dir in $PATH 7401do 7402 IFS=$as_save_IFS 7403 test -z "$as_dir" && as_dir=. 7404 for ac_exec_ext in '' $ac_executable_extensions; do 7405 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7406 ac_cv_prog_ac_ct_AR="$ac_prog" 7407 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7408 break 2 7409 fi 7410done 7411 done 7412IFS=$as_save_IFS 7413 7414fi 7415fi 7416ac_ct_AR=$ac_cv_prog_ac_ct_AR 7417if test -n "$ac_ct_AR"; then 7418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 7419$as_echo "$ac_ct_AR" >&6; } 7420else 7421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7422$as_echo "no" >&6; } 7423fi 7424 7425 7426 test -n "$ac_ct_AR" && break 7427done 7428 7429 if test "x$ac_ct_AR" = x; then 7430 AR="false" 7431 else 7432 case $cross_compiling:$ac_tool_warned in 7433yes:) 7434{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7435$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7436ac_tool_warned=yes ;; 7437esac 7438 AR=$ac_ct_AR 7439 fi 7440fi 7441 7442: ${AR=ar} 7443: ${AR_FLAGS=cru} 7444 7445 7446 7447 7448 7449 7450 7451 7452 7453 7454 7455{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 7456$as_echo_n "checking for archiver @FILE support... " >&6; } 7457if ${lt_cv_ar_at_file+:} false; then : 7458 $as_echo_n "(cached) " >&6 7459else 7460 lt_cv_ar_at_file=no 7461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7462/* end confdefs.h. */ 7463 7464int 7465main () 7466{ 7467 7468 ; 7469 return 0; 7470} 7471_ACEOF 7472if ac_fn_c_try_compile "$LINENO"; then : 7473 echo conftest.$ac_objext > conftest.lst 7474 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 7475 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 7476 (eval $lt_ar_try) 2>&5 7477 ac_status=$? 7478 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7479 test $ac_status = 0; } 7480 if test 0 -eq "$ac_status"; then 7481 # Ensure the archiver fails upon bogus file names. 7482 rm -f conftest.$ac_objext libconftest.a 7483 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 7484 (eval $lt_ar_try) 2>&5 7485 ac_status=$? 7486 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7487 test $ac_status = 0; } 7488 if test 0 -ne "$ac_status"; then 7489 lt_cv_ar_at_file=@ 7490 fi 7491 fi 7492 rm -f conftest.* libconftest.a 7493 7494fi 7495rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7496 7497fi 7498{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 7499$as_echo "$lt_cv_ar_at_file" >&6; } 7500 7501if test no = "$lt_cv_ar_at_file"; then 7502 archiver_list_spec= 7503else 7504 archiver_list_spec=$lt_cv_ar_at_file 7505fi 7506 7507 7508 7509 7510 7511 7512 7513if test -n "$ac_tool_prefix"; then 7514 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 7515set dummy ${ac_tool_prefix}strip; ac_word=$2 7516{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7517$as_echo_n "checking for $ac_word... " >&6; } 7518if ${ac_cv_prog_STRIP+:} false; then : 7519 $as_echo_n "(cached) " >&6 7520else 7521 if test -n "$STRIP"; then 7522 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 7523else 7524as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7525for as_dir in $PATH 7526do 7527 IFS=$as_save_IFS 7528 test -z "$as_dir" && as_dir=. 7529 for ac_exec_ext in '' $ac_executable_extensions; do 7530 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7531 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 7532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7533 break 2 7534 fi 7535done 7536 done 7537IFS=$as_save_IFS 7538 7539fi 7540fi 7541STRIP=$ac_cv_prog_STRIP 7542if test -n "$STRIP"; then 7543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 7544$as_echo "$STRIP" >&6; } 7545else 7546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7547$as_echo "no" >&6; } 7548fi 7549 7550 7551fi 7552if test -z "$ac_cv_prog_STRIP"; then 7553 ac_ct_STRIP=$STRIP 7554 # Extract the first word of "strip", so it can be a program name with args. 7555set dummy strip; ac_word=$2 7556{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7557$as_echo_n "checking for $ac_word... " >&6; } 7558if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 7559 $as_echo_n "(cached) " >&6 7560else 7561 if test -n "$ac_ct_STRIP"; then 7562 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 7563else 7564as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7565for as_dir in $PATH 7566do 7567 IFS=$as_save_IFS 7568 test -z "$as_dir" && as_dir=. 7569 for ac_exec_ext in '' $ac_executable_extensions; do 7570 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7571 ac_cv_prog_ac_ct_STRIP="strip" 7572 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7573 break 2 7574 fi 7575done 7576 done 7577IFS=$as_save_IFS 7578 7579fi 7580fi 7581ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 7582if test -n "$ac_ct_STRIP"; then 7583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 7584$as_echo "$ac_ct_STRIP" >&6; } 7585else 7586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7587$as_echo "no" >&6; } 7588fi 7589 7590 if test "x$ac_ct_STRIP" = x; then 7591 STRIP=":" 7592 else 7593 case $cross_compiling:$ac_tool_warned in 7594yes:) 7595{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7596$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7597ac_tool_warned=yes ;; 7598esac 7599 STRIP=$ac_ct_STRIP 7600 fi 7601else 7602 STRIP="$ac_cv_prog_STRIP" 7603fi 7604 7605test -z "$STRIP" && STRIP=: 7606 7607 7608 7609 7610 7611 7612if test -n "$ac_tool_prefix"; then 7613 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 7614set dummy ${ac_tool_prefix}ranlib; ac_word=$2 7615{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7616$as_echo_n "checking for $ac_word... " >&6; } 7617if ${ac_cv_prog_RANLIB+:} false; then : 7618 $as_echo_n "(cached) " >&6 7619else 7620 if test -n "$RANLIB"; then 7621 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 7622else 7623as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7624for as_dir in $PATH 7625do 7626 IFS=$as_save_IFS 7627 test -z "$as_dir" && as_dir=. 7628 for ac_exec_ext in '' $ac_executable_extensions; do 7629 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7630 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 7631 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7632 break 2 7633 fi 7634done 7635 done 7636IFS=$as_save_IFS 7637 7638fi 7639fi 7640RANLIB=$ac_cv_prog_RANLIB 7641if test -n "$RANLIB"; then 7642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 7643$as_echo "$RANLIB" >&6; } 7644else 7645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7646$as_echo "no" >&6; } 7647fi 7648 7649 7650fi 7651if test -z "$ac_cv_prog_RANLIB"; then 7652 ac_ct_RANLIB=$RANLIB 7653 # Extract the first word of "ranlib", so it can be a program name with args. 7654set dummy ranlib; ac_word=$2 7655{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7656$as_echo_n "checking for $ac_word... " >&6; } 7657if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 7658 $as_echo_n "(cached) " >&6 7659else 7660 if test -n "$ac_ct_RANLIB"; then 7661 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 7662else 7663as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7664for as_dir in $PATH 7665do 7666 IFS=$as_save_IFS 7667 test -z "$as_dir" && as_dir=. 7668 for ac_exec_ext in '' $ac_executable_extensions; do 7669 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7670 ac_cv_prog_ac_ct_RANLIB="ranlib" 7671 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7672 break 2 7673 fi 7674done 7675 done 7676IFS=$as_save_IFS 7677 7678fi 7679fi 7680ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 7681if test -n "$ac_ct_RANLIB"; then 7682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 7683$as_echo "$ac_ct_RANLIB" >&6; } 7684else 7685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7686$as_echo "no" >&6; } 7687fi 7688 7689 if test "x$ac_ct_RANLIB" = x; then 7690 RANLIB=":" 7691 else 7692 case $cross_compiling:$ac_tool_warned in 7693yes:) 7694{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7695$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7696ac_tool_warned=yes ;; 7697esac 7698 RANLIB=$ac_ct_RANLIB 7699 fi 7700else 7701 RANLIB="$ac_cv_prog_RANLIB" 7702fi 7703 7704test -z "$RANLIB" && RANLIB=: 7705 7706 7707 7708 7709 7710 7711# Determine commands to create old-style static archives. 7712old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 7713old_postinstall_cmds='chmod 644 $oldlib' 7714old_postuninstall_cmds= 7715 7716if test -n "$RANLIB"; then 7717 case $host_os in 7718 bitrig* | openbsd*) 7719 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" 7720 ;; 7721 *) 7722 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" 7723 ;; 7724 esac 7725 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" 7726fi 7727 7728case $host_os in 7729 darwin*) 7730 lock_old_archive_extraction=yes ;; 7731 *) 7732 lock_old_archive_extraction=no ;; 7733esac 7734 7735 7736 7737 7738 7739 7740 7741 7742 7743 7744 7745 7746 7747 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# If no C compiler was specified, use CC. 7774LTCC=${LTCC-"$CC"} 7775 7776# If no C compiler flags were specified, use CFLAGS. 7777LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 7778 7779# Allow CC to be a program name with arguments. 7780compiler=$CC 7781 7782 7783# Check for command to grab the raw symbol name followed by C symbol from nm. 7784{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 7785$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 7786if ${lt_cv_sys_global_symbol_pipe+:} false; then : 7787 $as_echo_n "(cached) " >&6 7788else 7789 7790# These are sane defaults that work on at least a few old systems. 7791# [They come from Ultrix. What could be older than Ultrix?!! ;)] 7792 7793# Character class describing NM global symbol codes. 7794symcode='[BCDEGRST]' 7795 7796# Regexp to match symbols that can be accessed directly from C. 7797sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 7798 7799# Define system-specific variables. 7800case $host_os in 7801aix*) 7802 symcode='[BCDT]' 7803 ;; 7804cygwin* | mingw* | pw32* | cegcc*) 7805 symcode='[ABCDGISTW]' 7806 ;; 7807hpux*) 7808 if test ia64 = "$host_cpu"; then 7809 symcode='[ABCDEGRST]' 7810 fi 7811 ;; 7812irix* | nonstopux*) 7813 symcode='[BCDEGRST]' 7814 ;; 7815osf*) 7816 symcode='[BCDEGQRST]' 7817 ;; 7818solaris*) 7819 symcode='[BDRT]' 7820 ;; 7821sco3.2v5*) 7822 symcode='[DT]' 7823 ;; 7824sysv4.2uw2*) 7825 symcode='[DT]' 7826 ;; 7827sysv5* | sco5v6* | unixware* | OpenUNIX*) 7828 symcode='[ABDT]' 7829 ;; 7830sysv4) 7831 symcode='[DFNSTU]' 7832 ;; 7833esac 7834 7835# If we're using GNU nm, then use its standard symbol codes. 7836case `$NM -V 2>&1` in 7837*GNU* | *'with BFD'*) 7838 symcode='[ABCDGIRSTW]' ;; 7839esac 7840 7841if test "$lt_cv_nm_interface" = "MS dumpbin"; then 7842 # Gets list of data symbols to import. 7843 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'" 7844 # Adjust the below global symbol transforms to fixup imported variables. 7845 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'" 7846 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'" 7847 lt_c_name_lib_hook="\ 7848 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\ 7849 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'" 7850else 7851 # Disable hooks by default. 7852 lt_cv_sys_global_symbol_to_import= 7853 lt_cdecl_hook= 7854 lt_c_name_hook= 7855 lt_c_name_lib_hook= 7856fi 7857 7858# Transform an extracted symbol line into a proper C declaration. 7859# Some systems (esp. on ia64) link data and code symbols differently, 7860# so use this general approach. 7861lt_cv_sys_global_symbol_to_cdecl="sed -n"\ 7862$lt_cdecl_hook\ 7863" -e 's/^T .* \(.*\)$/extern int \1();/p'"\ 7864" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" 7865 7866# Transform an extracted symbol line into symbol name and symbol address 7867lt_cv_sys_global_symbol_to_c_name_address="sed -n"\ 7868$lt_c_name_hook\ 7869" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 7870" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'" 7871 7872# Transform an extracted symbol line into symbol name with lib prefix and 7873# symbol address. 7874lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\ 7875$lt_c_name_lib_hook\ 7876" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 7877" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\ 7878" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'" 7879 7880# Handle CRLF in mingw tool chain 7881opt_cr= 7882case $build_os in 7883mingw*) 7884 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 7885 ;; 7886esac 7887 7888# Try without a prefix underscore, then with it. 7889for ac_symprfx in "" "_"; do 7890 7891 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 7892 symxfrm="\\1 $ac_symprfx\\2 \\2" 7893 7894 # Write the raw and C identifiers. 7895 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 7896 # Fake it for dumpbin and say T for any non-static function, 7897 # D for any global variable and I for any imported variable. 7898 # Also find C++ and __fastcall symbols from MSVC++, 7899 # which start with @ or ?. 7900 lt_cv_sys_global_symbol_pipe="$AWK '"\ 7901" {last_section=section; section=\$ 3};"\ 7902" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ 7903" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 7904" /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\ 7905" /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\ 7906" /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\ 7907" \$ 0!~/External *\|/{next};"\ 7908" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 7909" {if(hide[section]) next};"\ 7910" {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\ 7911" {split(\$ 0,a,/\||\r/); split(a[2],s)};"\ 7912" s[1]~/^[@?]/{print f,s[1],s[1]; next};"\ 7913" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\ 7914" ' prfx=^$ac_symprfx" 7915 else 7916 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 7917 fi 7918 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 7919 7920 # Check to see that the pipe works correctly. 7921 pipe_works=no 7922 7923 rm -f conftest* 7924 cat > conftest.$ac_ext <<_LT_EOF 7925#ifdef __cplusplus 7926extern "C" { 7927#endif 7928char nm_test_var; 7929void nm_test_func(void); 7930void nm_test_func(void){} 7931#ifdef __cplusplus 7932} 7933#endif 7934int main(){nm_test_var='a';nm_test_func();return(0);} 7935_LT_EOF 7936 7937 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7938 (eval $ac_compile) 2>&5 7939 ac_status=$? 7940 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7941 test $ac_status = 0; }; then 7942 # Now try to grab the symbols. 7943 nlist=conftest.nm 7944 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 7945 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 7946 ac_status=$? 7947 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7948 test $ac_status = 0; } && test -s "$nlist"; then 7949 # Try sorting and uniquifying the output. 7950 if sort "$nlist" | uniq > "$nlist"T; then 7951 mv -f "$nlist"T "$nlist" 7952 else 7953 rm -f "$nlist"T 7954 fi 7955 7956 # Make sure that we snagged all the symbols we need. 7957 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 7958 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 7959 cat <<_LT_EOF > conftest.$ac_ext 7960/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 7961#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE 7962/* DATA imports from DLLs on WIN32 can't be const, because runtime 7963 relocations are performed -- see ld's documentation on pseudo-relocs. */ 7964# define LT_DLSYM_CONST 7965#elif defined __osf__ 7966/* This system does not cope well with relocations in const data. */ 7967# define LT_DLSYM_CONST 7968#else 7969# define LT_DLSYM_CONST const 7970#endif 7971 7972#ifdef __cplusplus 7973extern "C" { 7974#endif 7975 7976_LT_EOF 7977 # Now generate the symbol file. 7978 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 7979 7980 cat <<_LT_EOF >> conftest.$ac_ext 7981 7982/* The mapping between symbol names and symbols. */ 7983LT_DLSYM_CONST struct { 7984 const char *name; 7985 void *address; 7986} 7987lt__PROGRAM__LTX_preloaded_symbols[] = 7988{ 7989 { "@PROGRAM@", (void *) 0 }, 7990_LT_EOF 7991 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 7992 cat <<\_LT_EOF >> conftest.$ac_ext 7993 {0, (void *) 0} 7994}; 7995 7996/* This works around a problem in FreeBSD linker */ 7997#ifdef FREEBSD_WORKAROUND 7998static const void *lt_preloaded_setup() { 7999 return lt__PROGRAM__LTX_preloaded_symbols; 8000} 8001#endif 8002 8003#ifdef __cplusplus 8004} 8005#endif 8006_LT_EOF 8007 # Now try linking the two files. 8008 mv conftest.$ac_objext conftstm.$ac_objext 8009 lt_globsym_save_LIBS=$LIBS 8010 lt_globsym_save_CFLAGS=$CFLAGS 8011 LIBS=conftstm.$ac_objext 8012 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 8013 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 8014 (eval $ac_link) 2>&5 8015 ac_status=$? 8016 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8017 test $ac_status = 0; } && test -s conftest$ac_exeext; then 8018 pipe_works=yes 8019 fi 8020 LIBS=$lt_globsym_save_LIBS 8021 CFLAGS=$lt_globsym_save_CFLAGS 8022 else 8023 echo "cannot find nm_test_func in $nlist" >&5 8024 fi 8025 else 8026 echo "cannot find nm_test_var in $nlist" >&5 8027 fi 8028 else 8029 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 8030 fi 8031 else 8032 echo "$progname: failed program was:" >&5 8033 cat conftest.$ac_ext >&5 8034 fi 8035 rm -rf conftest* conftst* 8036 8037 # Do not use the global_symbol_pipe unless it works. 8038 if test yes = "$pipe_works"; then 8039 break 8040 else 8041 lt_cv_sys_global_symbol_pipe= 8042 fi 8043done 8044 8045fi 8046 8047if test -z "$lt_cv_sys_global_symbol_pipe"; then 8048 lt_cv_sys_global_symbol_to_cdecl= 8049fi 8050if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 8051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 8052$as_echo "failed" >&6; } 8053else 8054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 8055$as_echo "ok" >&6; } 8056fi 8057 8058# Response file support. 8059if test "$lt_cv_nm_interface" = "MS dumpbin"; then 8060 nm_file_list_spec='@' 8061elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then 8062 nm_file_list_spec='@' 8063fi 8064 8065 8066 8067 8068 8069 8070 8071 8072 8073 8074 8075 8076 8077 8078 8079 8080 8081 8082 8083 8084 8085 8086 8087 8088 8089 8090 8091 8092 8093 8094 8095 8096 8097 8098 8099 8100 8101{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 8102$as_echo_n "checking for sysroot... " >&6; } 8103 8104# Check whether --with-sysroot was given. 8105if test "${with_sysroot+set}" = set; then : 8106 withval=$with_sysroot; 8107else 8108 with_sysroot=no 8109fi 8110 8111 8112lt_sysroot= 8113case $with_sysroot in #( 8114 yes) 8115 if test yes = "$GCC"; then 8116 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 8117 fi 8118 ;; #( 8119 /*) 8120 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 8121 ;; #( 8122 no|'') 8123 ;; #( 8124 *) 8125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5 8126$as_echo "$with_sysroot" >&6; } 8127 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 8128 ;; 8129esac 8130 8131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 8132$as_echo "${lt_sysroot:-no}" >&6; } 8133 8134 8135 8136 8137 8138{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5 8139$as_echo_n "checking for a working dd... " >&6; } 8140if ${ac_cv_path_lt_DD+:} false; then : 8141 $as_echo_n "(cached) " >&6 8142else 8143 printf 0123456789abcdef0123456789abcdef >conftest.i 8144cat conftest.i conftest.i >conftest2.i 8145: ${lt_DD:=$DD} 8146if test -z "$lt_DD"; then 8147 ac_path_lt_DD_found=false 8148 # Loop through the user's path and test for each of PROGNAME-LIST 8149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8150for as_dir in $PATH 8151do 8152 IFS=$as_save_IFS 8153 test -z "$as_dir" && as_dir=. 8154 for ac_prog in dd; do 8155 for ac_exec_ext in '' $ac_executable_extensions; do 8156 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext" 8157 as_fn_executable_p "$ac_path_lt_DD" || continue 8158if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 8159 cmp -s conftest.i conftest.out \ 8160 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=: 8161fi 8162 $ac_path_lt_DD_found && break 3 8163 done 8164 done 8165 done 8166IFS=$as_save_IFS 8167 if test -z "$ac_cv_path_lt_DD"; then 8168 : 8169 fi 8170else 8171 ac_cv_path_lt_DD=$lt_DD 8172fi 8173 8174rm -f conftest.i conftest2.i conftest.out 8175fi 8176{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5 8177$as_echo "$ac_cv_path_lt_DD" >&6; } 8178 8179 8180{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5 8181$as_echo_n "checking how to truncate binary pipes... " >&6; } 8182if ${lt_cv_truncate_bin+:} false; then : 8183 $as_echo_n "(cached) " >&6 8184else 8185 printf 0123456789abcdef0123456789abcdef >conftest.i 8186cat conftest.i conftest.i >conftest2.i 8187lt_cv_truncate_bin= 8188if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 8189 cmp -s conftest.i conftest.out \ 8190 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1" 8191fi 8192rm -f conftest.i conftest2.i conftest.out 8193test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" 8194fi 8195{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5 8196$as_echo "$lt_cv_truncate_bin" >&6; } 8197 8198 8199 8200 8201 8202 8203 8204# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 8205func_cc_basename () 8206{ 8207 for cc_temp in $*""; do 8208 case $cc_temp in 8209 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 8210 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 8211 \-*) ;; 8212 *) break;; 8213 esac 8214 done 8215 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 8216} 8217 8218# Check whether --enable-libtool-lock was given. 8219if test "${enable_libtool_lock+set}" = set; then : 8220 enableval=$enable_libtool_lock; 8221fi 8222 8223test no = "$enable_libtool_lock" || enable_libtool_lock=yes 8224 8225# Some flags need to be propagated to the compiler or linker for good 8226# libtool support. 8227case $host in 8228ia64-*-hpux*) 8229 # Find out what ABI is being produced by ac_compile, and set mode 8230 # options accordingly. 8231 echo 'int i;' > conftest.$ac_ext 8232 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8233 (eval $ac_compile) 2>&5 8234 ac_status=$? 8235 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8236 test $ac_status = 0; }; then 8237 case `/usr/bin/file conftest.$ac_objext` in 8238 *ELF-32*) 8239 HPUX_IA64_MODE=32 8240 ;; 8241 *ELF-64*) 8242 HPUX_IA64_MODE=64 8243 ;; 8244 esac 8245 fi 8246 rm -rf conftest* 8247 ;; 8248*-*-irix6*) 8249 # Find out what ABI is being produced by ac_compile, and set linker 8250 # options accordingly. 8251 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 8252 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8253 (eval $ac_compile) 2>&5 8254 ac_status=$? 8255 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8256 test $ac_status = 0; }; then 8257 if test yes = "$lt_cv_prog_gnu_ld"; then 8258 case `/usr/bin/file conftest.$ac_objext` in 8259 *32-bit*) 8260 LD="${LD-ld} -melf32bsmip" 8261 ;; 8262 *N32*) 8263 LD="${LD-ld} -melf32bmipn32" 8264 ;; 8265 *64-bit*) 8266 LD="${LD-ld} -melf64bmip" 8267 ;; 8268 esac 8269 else 8270 case `/usr/bin/file conftest.$ac_objext` in 8271 *32-bit*) 8272 LD="${LD-ld} -32" 8273 ;; 8274 *N32*) 8275 LD="${LD-ld} -n32" 8276 ;; 8277 *64-bit*) 8278 LD="${LD-ld} -64" 8279 ;; 8280 esac 8281 fi 8282 fi 8283 rm -rf conftest* 8284 ;; 8285 8286mips64*-*linux*) 8287 # Find out what ABI is being produced by ac_compile, and set linker 8288 # options accordingly. 8289 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 8290 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8291 (eval $ac_compile) 2>&5 8292 ac_status=$? 8293 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8294 test $ac_status = 0; }; then 8295 emul=elf 8296 case `/usr/bin/file conftest.$ac_objext` in 8297 *32-bit*) 8298 emul="${emul}32" 8299 ;; 8300 *64-bit*) 8301 emul="${emul}64" 8302 ;; 8303 esac 8304 case `/usr/bin/file conftest.$ac_objext` in 8305 *MSB*) 8306 emul="${emul}btsmip" 8307 ;; 8308 *LSB*) 8309 emul="${emul}ltsmip" 8310 ;; 8311 esac 8312 case `/usr/bin/file conftest.$ac_objext` in 8313 *N32*) 8314 emul="${emul}n32" 8315 ;; 8316 esac 8317 LD="${LD-ld} -m $emul" 8318 fi 8319 rm -rf conftest* 8320 ;; 8321 8322x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ 8323s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 8324 # Find out what ABI is being produced by ac_compile, and set linker 8325 # options accordingly. Note that the listed cases only cover the 8326 # situations where additional linker options are needed (such as when 8327 # doing 32-bit compilation for a host where ld defaults to 64-bit, or 8328 # vice versa); the common cases where no linker options are needed do 8329 # not appear in the list. 8330 echo 'int i;' > conftest.$ac_ext 8331 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8332 (eval $ac_compile) 2>&5 8333 ac_status=$? 8334 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8335 test $ac_status = 0; }; then 8336 case `/usr/bin/file conftest.o` in 8337 *32-bit*) 8338 case $host in 8339 x86_64-*kfreebsd*-gnu) 8340 LD="${LD-ld} -m elf_i386_fbsd" 8341 ;; 8342 x86_64-*linux*) 8343 case `/usr/bin/file conftest.o` in 8344 *x86-64*) 8345 LD="${LD-ld} -m elf32_x86_64" 8346 ;; 8347 *) 8348 LD="${LD-ld} -m elf_i386" 8349 ;; 8350 esac 8351 ;; 8352 powerpc64le-*linux*) 8353 LD="${LD-ld} -m elf32lppclinux" 8354 ;; 8355 powerpc64-*linux*) 8356 LD="${LD-ld} -m elf32ppclinux" 8357 ;; 8358 s390x-*linux*) 8359 LD="${LD-ld} -m elf_s390" 8360 ;; 8361 sparc64-*linux*) 8362 LD="${LD-ld} -m elf32_sparc" 8363 ;; 8364 esac 8365 ;; 8366 *64-bit*) 8367 case $host in 8368 x86_64-*kfreebsd*-gnu) 8369 LD="${LD-ld} -m elf_x86_64_fbsd" 8370 ;; 8371 x86_64-*linux*) 8372 LD="${LD-ld} -m elf_x86_64" 8373 ;; 8374 powerpcle-*linux*) 8375 LD="${LD-ld} -m elf64lppc" 8376 ;; 8377 powerpc-*linux*) 8378 LD="${LD-ld} -m elf64ppc" 8379 ;; 8380 s390*-*linux*|s390*-*tpf*) 8381 LD="${LD-ld} -m elf64_s390" 8382 ;; 8383 sparc*-*linux*) 8384 LD="${LD-ld} -m elf64_sparc" 8385 ;; 8386 esac 8387 ;; 8388 esac 8389 fi 8390 rm -rf conftest* 8391 ;; 8392 8393*-*-sco3.2v5*) 8394 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 8395 SAVE_CFLAGS=$CFLAGS 8396 CFLAGS="$CFLAGS -belf" 8397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 8398$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 8399if ${lt_cv_cc_needs_belf+:} false; then : 8400 $as_echo_n "(cached) " >&6 8401else 8402 ac_ext=c 8403ac_cpp='$CPP $CPPFLAGS' 8404ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8405ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8406ac_compiler_gnu=$ac_cv_c_compiler_gnu 8407 8408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8409/* end confdefs.h. */ 8410 8411int 8412main () 8413{ 8414 8415 ; 8416 return 0; 8417} 8418_ACEOF 8419if ac_fn_c_try_link "$LINENO"; then : 8420 lt_cv_cc_needs_belf=yes 8421else 8422 lt_cv_cc_needs_belf=no 8423fi 8424rm -f core conftest.err conftest.$ac_objext \ 8425 conftest$ac_exeext conftest.$ac_ext 8426 ac_ext=c 8427ac_cpp='$CPP $CPPFLAGS' 8428ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8429ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8430ac_compiler_gnu=$ac_cv_c_compiler_gnu 8431 8432fi 8433{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 8434$as_echo "$lt_cv_cc_needs_belf" >&6; } 8435 if test yes != "$lt_cv_cc_needs_belf"; then 8436 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 8437 CFLAGS=$SAVE_CFLAGS 8438 fi 8439 ;; 8440*-*solaris*) 8441 # Find out what ABI is being produced by ac_compile, and set linker 8442 # options accordingly. 8443 echo 'int i;' > conftest.$ac_ext 8444 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8445 (eval $ac_compile) 2>&5 8446 ac_status=$? 8447 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8448 test $ac_status = 0; }; then 8449 case `/usr/bin/file conftest.o` in 8450 *64-bit*) 8451 case $lt_cv_prog_gnu_ld in 8452 yes*) 8453 case $host in 8454 i?86-*-solaris*|x86_64-*-solaris*) 8455 LD="${LD-ld} -m elf_x86_64" 8456 ;; 8457 sparc*-*-solaris*) 8458 LD="${LD-ld} -m elf64_sparc" 8459 ;; 8460 esac 8461 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. 8462 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then 8463 LD=${LD-ld}_sol2 8464 fi 8465 ;; 8466 *) 8467 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 8468 LD="${LD-ld} -64" 8469 fi 8470 ;; 8471 esac 8472 ;; 8473 esac 8474 fi 8475 rm -rf conftest* 8476 ;; 8477esac 8478 8479need_locks=$enable_libtool_lock 8480 8481if test -n "$ac_tool_prefix"; then 8482 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 8483set dummy ${ac_tool_prefix}mt; ac_word=$2 8484{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8485$as_echo_n "checking for $ac_word... " >&6; } 8486if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : 8487 $as_echo_n "(cached) " >&6 8488else 8489 if test -n "$MANIFEST_TOOL"; then 8490 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 8491else 8492as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8493for as_dir in $PATH 8494do 8495 IFS=$as_save_IFS 8496 test -z "$as_dir" && as_dir=. 8497 for ac_exec_ext in '' $ac_executable_extensions; do 8498 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8499 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 8500 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8501 break 2 8502 fi 8503done 8504 done 8505IFS=$as_save_IFS 8506 8507fi 8508fi 8509MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 8510if test -n "$MANIFEST_TOOL"; then 8511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 8512$as_echo "$MANIFEST_TOOL" >&6; } 8513else 8514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8515$as_echo "no" >&6; } 8516fi 8517 8518 8519fi 8520if test -z "$ac_cv_prog_MANIFEST_TOOL"; then 8521 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 8522 # Extract the first word of "mt", so it can be a program name with args. 8523set dummy mt; ac_word=$2 8524{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8525$as_echo_n "checking for $ac_word... " >&6; } 8526if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : 8527 $as_echo_n "(cached) " >&6 8528else 8529 if test -n "$ac_ct_MANIFEST_TOOL"; then 8530 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 8531else 8532as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8533for as_dir in $PATH 8534do 8535 IFS=$as_save_IFS 8536 test -z "$as_dir" && as_dir=. 8537 for ac_exec_ext in '' $ac_executable_extensions; do 8538 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8539 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 8540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8541 break 2 8542 fi 8543done 8544 done 8545IFS=$as_save_IFS 8546 8547fi 8548fi 8549ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 8550if test -n "$ac_ct_MANIFEST_TOOL"; then 8551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 8552$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } 8553else 8554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8555$as_echo "no" >&6; } 8556fi 8557 8558 if test "x$ac_ct_MANIFEST_TOOL" = x; then 8559 MANIFEST_TOOL=":" 8560 else 8561 case $cross_compiling:$ac_tool_warned in 8562yes:) 8563{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8564$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8565ac_tool_warned=yes ;; 8566esac 8567 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL 8568 fi 8569else 8570 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" 8571fi 8572 8573test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 8574{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 8575$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 8576if ${lt_cv_path_mainfest_tool+:} false; then : 8577 $as_echo_n "(cached) " >&6 8578else 8579 lt_cv_path_mainfest_tool=no 8580 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 8581 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out 8582 cat conftest.err >&5 8583 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 8584 lt_cv_path_mainfest_tool=yes 8585 fi 8586 rm -f conftest* 8587fi 8588{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 8589$as_echo "$lt_cv_path_mainfest_tool" >&6; } 8590if test yes != "$lt_cv_path_mainfest_tool"; then 8591 MANIFEST_TOOL=: 8592fi 8593 8594 8595 8596 8597 8598 8599 case $host_os in 8600 rhapsody* | darwin*) 8601 if test -n "$ac_tool_prefix"; then 8602 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 8603set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 8604{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8605$as_echo_n "checking for $ac_word... " >&6; } 8606if ${ac_cv_prog_DSYMUTIL+:} false; then : 8607 $as_echo_n "(cached) " >&6 8608else 8609 if test -n "$DSYMUTIL"; then 8610 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 8611else 8612as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8613for as_dir in $PATH 8614do 8615 IFS=$as_save_IFS 8616 test -z "$as_dir" && as_dir=. 8617 for ac_exec_ext in '' $ac_executable_extensions; do 8618 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8619 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 8620 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8621 break 2 8622 fi 8623done 8624 done 8625IFS=$as_save_IFS 8626 8627fi 8628fi 8629DSYMUTIL=$ac_cv_prog_DSYMUTIL 8630if test -n "$DSYMUTIL"; then 8631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 8632$as_echo "$DSYMUTIL" >&6; } 8633else 8634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8635$as_echo "no" >&6; } 8636fi 8637 8638 8639fi 8640if test -z "$ac_cv_prog_DSYMUTIL"; then 8641 ac_ct_DSYMUTIL=$DSYMUTIL 8642 # Extract the first word of "dsymutil", so it can be a program name with args. 8643set dummy dsymutil; ac_word=$2 8644{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8645$as_echo_n "checking for $ac_word... " >&6; } 8646if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : 8647 $as_echo_n "(cached) " >&6 8648else 8649 if test -n "$ac_ct_DSYMUTIL"; then 8650 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 8651else 8652as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8653for as_dir in $PATH 8654do 8655 IFS=$as_save_IFS 8656 test -z "$as_dir" && as_dir=. 8657 for ac_exec_ext in '' $ac_executable_extensions; do 8658 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8659 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 8660 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8661 break 2 8662 fi 8663done 8664 done 8665IFS=$as_save_IFS 8666 8667fi 8668fi 8669ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 8670if test -n "$ac_ct_DSYMUTIL"; then 8671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 8672$as_echo "$ac_ct_DSYMUTIL" >&6; } 8673else 8674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8675$as_echo "no" >&6; } 8676fi 8677 8678 if test "x$ac_ct_DSYMUTIL" = x; then 8679 DSYMUTIL=":" 8680 else 8681 case $cross_compiling:$ac_tool_warned in 8682yes:) 8683{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8684$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8685ac_tool_warned=yes ;; 8686esac 8687 DSYMUTIL=$ac_ct_DSYMUTIL 8688 fi 8689else 8690 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 8691fi 8692 8693 if test -n "$ac_tool_prefix"; then 8694 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 8695set dummy ${ac_tool_prefix}nmedit; ac_word=$2 8696{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8697$as_echo_n "checking for $ac_word... " >&6; } 8698if ${ac_cv_prog_NMEDIT+:} false; then : 8699 $as_echo_n "(cached) " >&6 8700else 8701 if test -n "$NMEDIT"; then 8702 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 8703else 8704as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8705for as_dir in $PATH 8706do 8707 IFS=$as_save_IFS 8708 test -z "$as_dir" && as_dir=. 8709 for ac_exec_ext in '' $ac_executable_extensions; do 8710 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8711 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 8712 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8713 break 2 8714 fi 8715done 8716 done 8717IFS=$as_save_IFS 8718 8719fi 8720fi 8721NMEDIT=$ac_cv_prog_NMEDIT 8722if test -n "$NMEDIT"; then 8723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 8724$as_echo "$NMEDIT" >&6; } 8725else 8726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8727$as_echo "no" >&6; } 8728fi 8729 8730 8731fi 8732if test -z "$ac_cv_prog_NMEDIT"; then 8733 ac_ct_NMEDIT=$NMEDIT 8734 # Extract the first word of "nmedit", so it can be a program name with args. 8735set dummy nmedit; ac_word=$2 8736{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8737$as_echo_n "checking for $ac_word... " >&6; } 8738if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : 8739 $as_echo_n "(cached) " >&6 8740else 8741 if test -n "$ac_ct_NMEDIT"; then 8742 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 8743else 8744as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8745for as_dir in $PATH 8746do 8747 IFS=$as_save_IFS 8748 test -z "$as_dir" && as_dir=. 8749 for ac_exec_ext in '' $ac_executable_extensions; do 8750 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8751 ac_cv_prog_ac_ct_NMEDIT="nmedit" 8752 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8753 break 2 8754 fi 8755done 8756 done 8757IFS=$as_save_IFS 8758 8759fi 8760fi 8761ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 8762if test -n "$ac_ct_NMEDIT"; then 8763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 8764$as_echo "$ac_ct_NMEDIT" >&6; } 8765else 8766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8767$as_echo "no" >&6; } 8768fi 8769 8770 if test "x$ac_ct_NMEDIT" = x; then 8771 NMEDIT=":" 8772 else 8773 case $cross_compiling:$ac_tool_warned in 8774yes:) 8775{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8776$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8777ac_tool_warned=yes ;; 8778esac 8779 NMEDIT=$ac_ct_NMEDIT 8780 fi 8781else 8782 NMEDIT="$ac_cv_prog_NMEDIT" 8783fi 8784 8785 if test -n "$ac_tool_prefix"; then 8786 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 8787set dummy ${ac_tool_prefix}lipo; ac_word=$2 8788{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8789$as_echo_n "checking for $ac_word... " >&6; } 8790if ${ac_cv_prog_LIPO+:} false; then : 8791 $as_echo_n "(cached) " >&6 8792else 8793 if test -n "$LIPO"; then 8794 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 8795else 8796as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8797for as_dir in $PATH 8798do 8799 IFS=$as_save_IFS 8800 test -z "$as_dir" && as_dir=. 8801 for ac_exec_ext in '' $ac_executable_extensions; do 8802 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8803 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 8804 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8805 break 2 8806 fi 8807done 8808 done 8809IFS=$as_save_IFS 8810 8811fi 8812fi 8813LIPO=$ac_cv_prog_LIPO 8814if test -n "$LIPO"; then 8815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 8816$as_echo "$LIPO" >&6; } 8817else 8818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8819$as_echo "no" >&6; } 8820fi 8821 8822 8823fi 8824if test -z "$ac_cv_prog_LIPO"; then 8825 ac_ct_LIPO=$LIPO 8826 # Extract the first word of "lipo", so it can be a program name with args. 8827set dummy lipo; ac_word=$2 8828{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8829$as_echo_n "checking for $ac_word... " >&6; } 8830if ${ac_cv_prog_ac_ct_LIPO+:} false; then : 8831 $as_echo_n "(cached) " >&6 8832else 8833 if test -n "$ac_ct_LIPO"; then 8834 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 8835else 8836as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8837for as_dir in $PATH 8838do 8839 IFS=$as_save_IFS 8840 test -z "$as_dir" && as_dir=. 8841 for ac_exec_ext in '' $ac_executable_extensions; do 8842 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8843 ac_cv_prog_ac_ct_LIPO="lipo" 8844 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8845 break 2 8846 fi 8847done 8848 done 8849IFS=$as_save_IFS 8850 8851fi 8852fi 8853ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 8854if test -n "$ac_ct_LIPO"; then 8855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 8856$as_echo "$ac_ct_LIPO" >&6; } 8857else 8858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8859$as_echo "no" >&6; } 8860fi 8861 8862 if test "x$ac_ct_LIPO" = x; then 8863 LIPO=":" 8864 else 8865 case $cross_compiling:$ac_tool_warned in 8866yes:) 8867{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8868$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8869ac_tool_warned=yes ;; 8870esac 8871 LIPO=$ac_ct_LIPO 8872 fi 8873else 8874 LIPO="$ac_cv_prog_LIPO" 8875fi 8876 8877 if test -n "$ac_tool_prefix"; then 8878 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 8879set dummy ${ac_tool_prefix}otool; ac_word=$2 8880{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8881$as_echo_n "checking for $ac_word... " >&6; } 8882if ${ac_cv_prog_OTOOL+:} false; then : 8883 $as_echo_n "(cached) " >&6 8884else 8885 if test -n "$OTOOL"; then 8886 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 8887else 8888as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8889for as_dir in $PATH 8890do 8891 IFS=$as_save_IFS 8892 test -z "$as_dir" && as_dir=. 8893 for ac_exec_ext in '' $ac_executable_extensions; do 8894 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8895 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 8896 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8897 break 2 8898 fi 8899done 8900 done 8901IFS=$as_save_IFS 8902 8903fi 8904fi 8905OTOOL=$ac_cv_prog_OTOOL 8906if test -n "$OTOOL"; then 8907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 8908$as_echo "$OTOOL" >&6; } 8909else 8910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8911$as_echo "no" >&6; } 8912fi 8913 8914 8915fi 8916if test -z "$ac_cv_prog_OTOOL"; then 8917 ac_ct_OTOOL=$OTOOL 8918 # Extract the first word of "otool", so it can be a program name with args. 8919set dummy otool; ac_word=$2 8920{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8921$as_echo_n "checking for $ac_word... " >&6; } 8922if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : 8923 $as_echo_n "(cached) " >&6 8924else 8925 if test -n "$ac_ct_OTOOL"; then 8926 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 8927else 8928as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8929for as_dir in $PATH 8930do 8931 IFS=$as_save_IFS 8932 test -z "$as_dir" && as_dir=. 8933 for ac_exec_ext in '' $ac_executable_extensions; do 8934 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8935 ac_cv_prog_ac_ct_OTOOL="otool" 8936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8937 break 2 8938 fi 8939done 8940 done 8941IFS=$as_save_IFS 8942 8943fi 8944fi 8945ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 8946if test -n "$ac_ct_OTOOL"; then 8947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 8948$as_echo "$ac_ct_OTOOL" >&6; } 8949else 8950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8951$as_echo "no" >&6; } 8952fi 8953 8954 if test "x$ac_ct_OTOOL" = x; then 8955 OTOOL=":" 8956 else 8957 case $cross_compiling:$ac_tool_warned in 8958yes:) 8959{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8960$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8961ac_tool_warned=yes ;; 8962esac 8963 OTOOL=$ac_ct_OTOOL 8964 fi 8965else 8966 OTOOL="$ac_cv_prog_OTOOL" 8967fi 8968 8969 if test -n "$ac_tool_prefix"; then 8970 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 8971set dummy ${ac_tool_prefix}otool64; ac_word=$2 8972{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8973$as_echo_n "checking for $ac_word... " >&6; } 8974if ${ac_cv_prog_OTOOL64+:} false; then : 8975 $as_echo_n "(cached) " >&6 8976else 8977 if test -n "$OTOOL64"; then 8978 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 8979else 8980as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8981for as_dir in $PATH 8982do 8983 IFS=$as_save_IFS 8984 test -z "$as_dir" && as_dir=. 8985 for ac_exec_ext in '' $ac_executable_extensions; do 8986 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8987 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 8988 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8989 break 2 8990 fi 8991done 8992 done 8993IFS=$as_save_IFS 8994 8995fi 8996fi 8997OTOOL64=$ac_cv_prog_OTOOL64 8998if test -n "$OTOOL64"; then 8999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 9000$as_echo "$OTOOL64" >&6; } 9001else 9002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9003$as_echo "no" >&6; } 9004fi 9005 9006 9007fi 9008if test -z "$ac_cv_prog_OTOOL64"; then 9009 ac_ct_OTOOL64=$OTOOL64 9010 # Extract the first word of "otool64", so it can be a program name with args. 9011set dummy otool64; ac_word=$2 9012{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9013$as_echo_n "checking for $ac_word... " >&6; } 9014if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : 9015 $as_echo_n "(cached) " >&6 9016else 9017 if test -n "$ac_ct_OTOOL64"; then 9018 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 9019else 9020as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9021for as_dir in $PATH 9022do 9023 IFS=$as_save_IFS 9024 test -z "$as_dir" && as_dir=. 9025 for ac_exec_ext in '' $ac_executable_extensions; do 9026 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9027 ac_cv_prog_ac_ct_OTOOL64="otool64" 9028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9029 break 2 9030 fi 9031done 9032 done 9033IFS=$as_save_IFS 9034 9035fi 9036fi 9037ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 9038if test -n "$ac_ct_OTOOL64"; then 9039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 9040$as_echo "$ac_ct_OTOOL64" >&6; } 9041else 9042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9043$as_echo "no" >&6; } 9044fi 9045 9046 if test "x$ac_ct_OTOOL64" = x; then 9047 OTOOL64=":" 9048 else 9049 case $cross_compiling:$ac_tool_warned in 9050yes:) 9051{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 9052$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 9053ac_tool_warned=yes ;; 9054esac 9055 OTOOL64=$ac_ct_OTOOL64 9056 fi 9057else 9058 OTOOL64="$ac_cv_prog_OTOOL64" 9059fi 9060 9061 9062 9063 9064 9065 9066 9067 9068 9069 9070 9071 9072 9073 9074 9075 9076 9077 9078 9079 9080 9081 9082 9083 9084 9085 9086 9087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 9088$as_echo_n "checking for -single_module linker flag... " >&6; } 9089if ${lt_cv_apple_cc_single_mod+:} false; then : 9090 $as_echo_n "(cached) " >&6 9091else 9092 lt_cv_apple_cc_single_mod=no 9093 if test -z "$LT_MULTI_MODULE"; then 9094 # By default we will add the -single_module flag. You can override 9095 # by either setting the environment variable LT_MULTI_MODULE 9096 # non-empty at configure time, or by adding -multi_module to the 9097 # link flags. 9098 rm -rf libconftest.dylib* 9099 echo "int foo(void){return 1;}" > conftest.c 9100 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 9101-dynamiclib -Wl,-single_module conftest.c" >&5 9102 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 9103 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 9104 _lt_result=$? 9105 # If there is a non-empty error log, and "single_module" 9106 # appears in it, assume the flag caused a linker warning 9107 if test -s conftest.err && $GREP single_module conftest.err; then 9108 cat conftest.err >&5 9109 # Otherwise, if the output was created with a 0 exit code from 9110 # the compiler, it worked. 9111 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then 9112 lt_cv_apple_cc_single_mod=yes 9113 else 9114 cat conftest.err >&5 9115 fi 9116 rm -rf libconftest.dylib* 9117 rm -f conftest.* 9118 fi 9119fi 9120{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 9121$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 9122 9123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 9124$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 9125if ${lt_cv_ld_exported_symbols_list+:} false; then : 9126 $as_echo_n "(cached) " >&6 9127else 9128 lt_cv_ld_exported_symbols_list=no 9129 save_LDFLAGS=$LDFLAGS 9130 echo "_main" > conftest.sym 9131 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 9132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9133/* end confdefs.h. */ 9134 9135int 9136main () 9137{ 9138 9139 ; 9140 return 0; 9141} 9142_ACEOF 9143if ac_fn_c_try_link "$LINENO"; then : 9144 lt_cv_ld_exported_symbols_list=yes 9145else 9146 lt_cv_ld_exported_symbols_list=no 9147fi 9148rm -f core conftest.err conftest.$ac_objext \ 9149 conftest$ac_exeext conftest.$ac_ext 9150 LDFLAGS=$save_LDFLAGS 9151 9152fi 9153{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 9154$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 9155 9156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 9157$as_echo_n "checking for -force_load linker flag... " >&6; } 9158if ${lt_cv_ld_force_load+:} false; then : 9159 $as_echo_n "(cached) " >&6 9160else 9161 lt_cv_ld_force_load=no 9162 cat > conftest.c << _LT_EOF 9163int forced_loaded() { return 2;} 9164_LT_EOF 9165 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 9166 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 9167 echo "$AR cru libconftest.a conftest.o" >&5 9168 $AR cru libconftest.a conftest.o 2>&5 9169 echo "$RANLIB libconftest.a" >&5 9170 $RANLIB libconftest.a 2>&5 9171 cat > conftest.c << _LT_EOF 9172int main() { return 0;} 9173_LT_EOF 9174 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 9175 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 9176 _lt_result=$? 9177 if test -s conftest.err && $GREP force_load conftest.err; then 9178 cat conftest.err >&5 9179 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then 9180 lt_cv_ld_force_load=yes 9181 else 9182 cat conftest.err >&5 9183 fi 9184 rm -f conftest.err libconftest.a conftest conftest.c 9185 rm -rf conftest.dSYM 9186 9187fi 9188{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 9189$as_echo "$lt_cv_ld_force_load" >&6; } 9190 case $host_os in 9191 rhapsody* | darwin1.[012]) 9192 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; 9193 darwin1.*) 9194 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 9195 darwin*) # darwin 5.x on 9196 # if running on 10.5 or later, the deployment target defaults 9197 # to the OS version, if on x86, and 10.4, the deployment 9198 # target defaults to 10.4. Don't you love it? 9199 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 9200 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 9201 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 9202 10.[012][,.]*) 9203 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 9204 10.*) 9205 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 9206 esac 9207 ;; 9208 esac 9209 if test yes = "$lt_cv_apple_cc_single_mod"; then 9210 _lt_dar_single_mod='$single_module' 9211 fi 9212 if test yes = "$lt_cv_ld_exported_symbols_list"; then 9213 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym' 9214 else 9215 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib' 9216 fi 9217 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then 9218 _lt_dsymutil='~$DSYMUTIL $lib || :' 9219 else 9220 _lt_dsymutil= 9221 fi 9222 ;; 9223 esac 9224 9225# func_munge_path_list VARIABLE PATH 9226# ----------------------------------- 9227# VARIABLE is name of variable containing _space_ separated list of 9228# directories to be munged by the contents of PATH, which is string 9229# having a format: 9230# "DIR[:DIR]:" 9231# string "DIR[ DIR]" will be prepended to VARIABLE 9232# ":DIR[:DIR]" 9233# string "DIR[ DIR]" will be appended to VARIABLE 9234# "DIRP[:DIRP]::[DIRA:]DIRA" 9235# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 9236# "DIRA[ DIRA]" will be appended to VARIABLE 9237# "DIR[:DIR]" 9238# VARIABLE will be replaced by "DIR[ DIR]" 9239func_munge_path_list () 9240{ 9241 case x$2 in 9242 x) 9243 ;; 9244 *:) 9245 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 9246 ;; 9247 x:*) 9248 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 9249 ;; 9250 *::*) 9251 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 9252 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 9253 ;; 9254 *) 9255 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 9256 ;; 9257 esac 9258} 9259 9260{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 9261$as_echo_n "checking for ANSI C header files... " >&6; } 9262if ${ac_cv_header_stdc+:} false; then : 9263 $as_echo_n "(cached) " >&6 9264else 9265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9266/* end confdefs.h. */ 9267#include <stdlib.h> 9268#include <stdarg.h> 9269#include <string.h> 9270#include <float.h> 9271 9272int 9273main () 9274{ 9275 9276 ; 9277 return 0; 9278} 9279_ACEOF 9280if ac_fn_c_try_compile "$LINENO"; then : 9281 ac_cv_header_stdc=yes 9282else 9283 ac_cv_header_stdc=no 9284fi 9285rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9286 9287if test $ac_cv_header_stdc = yes; then 9288 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 9289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9290/* end confdefs.h. */ 9291#include <string.h> 9292 9293_ACEOF 9294if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 9295 $EGREP "memchr" >/dev/null 2>&1; then : 9296 9297else 9298 ac_cv_header_stdc=no 9299fi 9300rm -f conftest* 9301 9302fi 9303 9304if test $ac_cv_header_stdc = yes; then 9305 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 9306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9307/* end confdefs.h. */ 9308#include <stdlib.h> 9309 9310_ACEOF 9311if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 9312 $EGREP "free" >/dev/null 2>&1; then : 9313 9314else 9315 ac_cv_header_stdc=no 9316fi 9317rm -f conftest* 9318 9319fi 9320 9321if test $ac_cv_header_stdc = yes; then 9322 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 9323 if test "$cross_compiling" = yes; then : 9324 : 9325else 9326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9327/* end confdefs.h. */ 9328#include <ctype.h> 9329#include <stdlib.h> 9330#if ((' ' & 0x0FF) == 0x020) 9331# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 9332# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 9333#else 9334# define ISLOWER(c) \ 9335 (('a' <= (c) && (c) <= 'i') \ 9336 || ('j' <= (c) && (c) <= 'r') \ 9337 || ('s' <= (c) && (c) <= 'z')) 9338# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 9339#endif 9340 9341#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 9342int 9343main () 9344{ 9345 int i; 9346 for (i = 0; i < 256; i++) 9347 if (XOR (islower (i), ISLOWER (i)) 9348 || toupper (i) != TOUPPER (i)) 9349 return 2; 9350 return 0; 9351} 9352_ACEOF 9353if ac_fn_c_try_run "$LINENO"; then : 9354 9355else 9356 ac_cv_header_stdc=no 9357fi 9358rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 9359 conftest.$ac_objext conftest.beam conftest.$ac_ext 9360fi 9361 9362fi 9363fi 9364{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 9365$as_echo "$ac_cv_header_stdc" >&6; } 9366if test $ac_cv_header_stdc = yes; then 9367 9368$as_echo "#define STDC_HEADERS 1" >>confdefs.h 9369 9370fi 9371 9372# On IRIX 5.3, sys/types and inttypes.h are conflicting. 9373for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 9374 inttypes.h stdint.h unistd.h 9375do : 9376 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 9377ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 9378" 9379if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 9380 cat >>confdefs.h <<_ACEOF 9381#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 9382_ACEOF 9383 9384fi 9385 9386done 9387 9388 9389for ac_header in dlfcn.h 9390do : 9391 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 9392" 9393if test "x$ac_cv_header_dlfcn_h" = xyes; then : 9394 cat >>confdefs.h <<_ACEOF 9395#define HAVE_DLFCN_H 1 9396_ACEOF 9397 9398fi 9399 9400done 9401 9402 9403 9404 9405func_stripname_cnf () 9406{ 9407 case $2 in 9408 .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;; 9409 *) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;; 9410 esac 9411} # func_stripname_cnf 9412 9413 9414 9415 9416 9417# Set options 9418 9419 9420 9421 enable_dlopen=no 9422 9423 9424 9425 # Check whether --enable-shared was given. 9426if test "${enable_shared+set}" = set; then : 9427 enableval=$enable_shared; p=${PACKAGE-default} 9428 case $enableval in 9429 yes) enable_shared=yes ;; 9430 no) enable_shared=no ;; 9431 *) 9432 enable_shared=no 9433 # Look at the argument we got. We use all the common list separators. 9434 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 9435 for pkg in $enableval; do 9436 IFS=$lt_save_ifs 9437 if test "X$pkg" = "X$p"; then 9438 enable_shared=yes 9439 fi 9440 done 9441 IFS=$lt_save_ifs 9442 ;; 9443 esac 9444else 9445 enable_shared=yes 9446fi 9447 9448 9449 9450 9451 9452 9453 9454 9455 9456 # Check whether --enable-static was given. 9457if test "${enable_static+set}" = set; then : 9458 enableval=$enable_static; p=${PACKAGE-default} 9459 case $enableval in 9460 yes) enable_static=yes ;; 9461 no) enable_static=no ;; 9462 *) 9463 enable_static=no 9464 # Look at the argument we got. We use all the common list separators. 9465 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 9466 for pkg in $enableval; do 9467 IFS=$lt_save_ifs 9468 if test "X$pkg" = "X$p"; then 9469 enable_static=yes 9470 fi 9471 done 9472 IFS=$lt_save_ifs 9473 ;; 9474 esac 9475else 9476 enable_static=yes 9477fi 9478 9479 9480 9481 9482 9483 9484 9485 9486 9487 9488# Check whether --with-pic was given. 9489if test "${with_pic+set}" = set; then : 9490 withval=$with_pic; lt_p=${PACKAGE-default} 9491 case $withval in 9492 yes|no) pic_mode=$withval ;; 9493 *) 9494 pic_mode=default 9495 # Look at the argument we got. We use all the common list separators. 9496 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 9497 for lt_pkg in $withval; do 9498 IFS=$lt_save_ifs 9499 if test "X$lt_pkg" = "X$lt_p"; then 9500 pic_mode=yes 9501 fi 9502 done 9503 IFS=$lt_save_ifs 9504 ;; 9505 esac 9506else 9507 pic_mode=default 9508fi 9509 9510 9511 9512 9513 9514 9515 9516 9517 # Check whether --enable-fast-install was given. 9518if test "${enable_fast_install+set}" = set; then : 9519 enableval=$enable_fast_install; p=${PACKAGE-default} 9520 case $enableval in 9521 yes) enable_fast_install=yes ;; 9522 no) enable_fast_install=no ;; 9523 *) 9524 enable_fast_install=no 9525 # Look at the argument we got. We use all the common list separators. 9526 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 9527 for pkg in $enableval; do 9528 IFS=$lt_save_ifs 9529 if test "X$pkg" = "X$p"; then 9530 enable_fast_install=yes 9531 fi 9532 done 9533 IFS=$lt_save_ifs 9534 ;; 9535 esac 9536else 9537 enable_fast_install=yes 9538fi 9539 9540 9541 9542 9543 9544 9545 9546 9547 shared_archive_member_spec= 9548case $host,$enable_shared in 9549power*-*-aix[5-9]*,yes) 9550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5 9551$as_echo_n "checking which variant of shared library versioning to provide... " >&6; } 9552 9553# Check whether --with-aix-soname was given. 9554if test "${with_aix_soname+set}" = set; then : 9555 withval=$with_aix_soname; case $withval in 9556 aix|svr4|both) 9557 ;; 9558 *) 9559 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5 9560 ;; 9561 esac 9562 lt_cv_with_aix_soname=$with_aix_soname 9563else 9564 if ${lt_cv_with_aix_soname+:} false; then : 9565 $as_echo_n "(cached) " >&6 9566else 9567 lt_cv_with_aix_soname=aix 9568fi 9569 9570 with_aix_soname=$lt_cv_with_aix_soname 9571fi 9572 9573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5 9574$as_echo "$with_aix_soname" >&6; } 9575 if test aix != "$with_aix_soname"; then 9576 # For the AIX way of multilib, we name the shared archive member 9577 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', 9578 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File. 9579 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag, 9580 # the AIX toolchain works better with OBJECT_MODE set (default 32). 9581 if test 64 = "${OBJECT_MODE-32}"; then 9582 shared_archive_member_spec=shr_64 9583 else 9584 shared_archive_member_spec=shr 9585 fi 9586 fi 9587 ;; 9588*) 9589 with_aix_soname=aix 9590 ;; 9591esac 9592 9593 9594 9595 9596 9597 9598 9599 9600 9601 9602# This can be used to rebuild libtool when needed 9603LIBTOOL_DEPS=$ltmain 9604 9605# Always use our own libtool. 9606LIBTOOL='$(SHELL) $(top_builddir)/libtool' 9607 9608 9609 9610 9611 9612 9613 9614 9615 9616 9617 9618 9619 9620 9621 9622 9623 9624 9625 9626 9627 9628 9629 9630 9631 9632 9633 9634 9635 9636 9637test -z "$LN_S" && LN_S="ln -s" 9638 9639 9640 9641 9642 9643 9644 9645 9646 9647 9648 9649 9650 9651 9652if test -n "${ZSH_VERSION+set}"; then 9653 setopt NO_GLOB_SUBST 9654fi 9655 9656{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 9657$as_echo_n "checking for objdir... " >&6; } 9658if ${lt_cv_objdir+:} false; then : 9659 $as_echo_n "(cached) " >&6 9660else 9661 rm -f .libs 2>/dev/null 9662mkdir .libs 2>/dev/null 9663if test -d .libs; then 9664 lt_cv_objdir=.libs 9665else 9666 # MS-DOS does not allow filenames that begin with a dot. 9667 lt_cv_objdir=_libs 9668fi 9669rmdir .libs 2>/dev/null 9670fi 9671{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 9672$as_echo "$lt_cv_objdir" >&6; } 9673objdir=$lt_cv_objdir 9674 9675 9676 9677 9678 9679cat >>confdefs.h <<_ACEOF 9680#define LT_OBJDIR "$lt_cv_objdir/" 9681_ACEOF 9682 9683 9684 9685 9686case $host_os in 9687aix3*) 9688 # AIX sometimes has problems with the GCC collect2 program. For some 9689 # reason, if we set the COLLECT_NAMES environment variable, the problems 9690 # vanish in a puff of smoke. 9691 if test set != "${COLLECT_NAMES+set}"; then 9692 COLLECT_NAMES= 9693 export COLLECT_NAMES 9694 fi 9695 ;; 9696esac 9697 9698# Global variables: 9699ofile=libtool 9700can_build_shared=yes 9701 9702# All known linkers require a '.a' archive for static linking (except MSVC, 9703# which needs '.lib'). 9704libext=a 9705 9706with_gnu_ld=$lt_cv_prog_gnu_ld 9707 9708old_CC=$CC 9709old_CFLAGS=$CFLAGS 9710 9711# Set sane defaults for various variables 9712test -z "$CC" && CC=cc 9713test -z "$LTCC" && LTCC=$CC 9714test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 9715test -z "$LD" && LD=ld 9716test -z "$ac_objext" && ac_objext=o 9717 9718func_cc_basename $compiler 9719cc_basename=$func_cc_basename_result 9720 9721 9722# Only perform the check for file, if the check method requires it 9723test -z "$MAGIC_CMD" && MAGIC_CMD=file 9724case $deplibs_check_method in 9725file_magic*) 9726 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 9727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 9728$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 9729if ${lt_cv_path_MAGIC_CMD+:} false; then : 9730 $as_echo_n "(cached) " >&6 9731else 9732 case $MAGIC_CMD in 9733[\\/*] | ?:[\\/]*) 9734 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 9735 ;; 9736*) 9737 lt_save_MAGIC_CMD=$MAGIC_CMD 9738 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 9739 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 9740 for ac_dir in $ac_dummy; do 9741 IFS=$lt_save_ifs 9742 test -z "$ac_dir" && ac_dir=. 9743 if test -f "$ac_dir/${ac_tool_prefix}file"; then 9744 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file" 9745 if test -n "$file_magic_test_file"; then 9746 case $deplibs_check_method in 9747 "file_magic "*) 9748 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 9749 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 9750 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 9751 $EGREP "$file_magic_regex" > /dev/null; then 9752 : 9753 else 9754 cat <<_LT_EOF 1>&2 9755 9756*** Warning: the command libtool uses to detect shared libraries, 9757*** $file_magic_cmd, produces output that libtool cannot recognize. 9758*** The result is that libtool may fail to recognize shared libraries 9759*** as such. This will affect the creation of libtool libraries that 9760*** depend on shared libraries, but programs linked with such libtool 9761*** libraries will work regardless of this problem. Nevertheless, you 9762*** may want to report the problem to your system manager and/or to 9763*** bug-libtool@gnu.org 9764 9765_LT_EOF 9766 fi ;; 9767 esac 9768 fi 9769 break 9770 fi 9771 done 9772 IFS=$lt_save_ifs 9773 MAGIC_CMD=$lt_save_MAGIC_CMD 9774 ;; 9775esac 9776fi 9777 9778MAGIC_CMD=$lt_cv_path_MAGIC_CMD 9779if test -n "$MAGIC_CMD"; then 9780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 9781$as_echo "$MAGIC_CMD" >&6; } 9782else 9783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9784$as_echo "no" >&6; } 9785fi 9786 9787 9788 9789 9790 9791if test -z "$lt_cv_path_MAGIC_CMD"; then 9792 if test -n "$ac_tool_prefix"; then 9793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 9794$as_echo_n "checking for file... " >&6; } 9795if ${lt_cv_path_MAGIC_CMD+:} false; then : 9796 $as_echo_n "(cached) " >&6 9797else 9798 case $MAGIC_CMD in 9799[\\/*] | ?:[\\/]*) 9800 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 9801 ;; 9802*) 9803 lt_save_MAGIC_CMD=$MAGIC_CMD 9804 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 9805 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 9806 for ac_dir in $ac_dummy; do 9807 IFS=$lt_save_ifs 9808 test -z "$ac_dir" && ac_dir=. 9809 if test -f "$ac_dir/file"; then 9810 lt_cv_path_MAGIC_CMD=$ac_dir/"file" 9811 if test -n "$file_magic_test_file"; then 9812 case $deplibs_check_method in 9813 "file_magic "*) 9814 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 9815 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 9816 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 9817 $EGREP "$file_magic_regex" > /dev/null; then 9818 : 9819 else 9820 cat <<_LT_EOF 1>&2 9821 9822*** Warning: the command libtool uses to detect shared libraries, 9823*** $file_magic_cmd, produces output that libtool cannot recognize. 9824*** The result is that libtool may fail to recognize shared libraries 9825*** as such. This will affect the creation of libtool libraries that 9826*** depend on shared libraries, but programs linked with such libtool 9827*** libraries will work regardless of this problem. Nevertheless, you 9828*** may want to report the problem to your system manager and/or to 9829*** bug-libtool@gnu.org 9830 9831_LT_EOF 9832 fi ;; 9833 esac 9834 fi 9835 break 9836 fi 9837 done 9838 IFS=$lt_save_ifs 9839 MAGIC_CMD=$lt_save_MAGIC_CMD 9840 ;; 9841esac 9842fi 9843 9844MAGIC_CMD=$lt_cv_path_MAGIC_CMD 9845if test -n "$MAGIC_CMD"; then 9846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 9847$as_echo "$MAGIC_CMD" >&6; } 9848else 9849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9850$as_echo "no" >&6; } 9851fi 9852 9853 9854 else 9855 MAGIC_CMD=: 9856 fi 9857fi 9858 9859 fi 9860 ;; 9861esac 9862 9863# Use C for the default configuration in the libtool script 9864 9865lt_save_CC=$CC 9866ac_ext=c 9867ac_cpp='$CPP $CPPFLAGS' 9868ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 9869ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 9870ac_compiler_gnu=$ac_cv_c_compiler_gnu 9871 9872 9873# Source file extension for C test sources. 9874ac_ext=c 9875 9876# Object file extension for compiled C test sources. 9877objext=o 9878objext=$objext 9879 9880# Code to be used in simple compile tests 9881lt_simple_compile_test_code="int some_variable = 0;" 9882 9883# Code to be used in simple link tests 9884lt_simple_link_test_code='int main(){return(0);}' 9885 9886 9887 9888 9889 9890 9891 9892# If no C compiler was specified, use CC. 9893LTCC=${LTCC-"$CC"} 9894 9895# If no C compiler flags were specified, use CFLAGS. 9896LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 9897 9898# Allow CC to be a program name with arguments. 9899compiler=$CC 9900 9901# Save the default compiler, since it gets overwritten when the other 9902# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 9903compiler_DEFAULT=$CC 9904 9905# save warnings/boilerplate of simple test code 9906ac_outfile=conftest.$ac_objext 9907echo "$lt_simple_compile_test_code" >conftest.$ac_ext 9908eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 9909_lt_compiler_boilerplate=`cat conftest.err` 9910$RM conftest* 9911 9912ac_outfile=conftest.$ac_objext 9913echo "$lt_simple_link_test_code" >conftest.$ac_ext 9914eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 9915_lt_linker_boilerplate=`cat conftest.err` 9916$RM -r conftest* 9917 9918 9919## CAVEAT EMPTOR: 9920## There is no encapsulation within the following macros, do not change 9921## the running order or otherwise move them around unless you know exactly 9922## what you are doing... 9923if test -n "$compiler"; then 9924 9925lt_prog_compiler_no_builtin_flag= 9926 9927if test yes = "$GCC"; then 9928 case $cc_basename in 9929 nvcc*) 9930 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 9931 *) 9932 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 9933 esac 9934 9935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 9936$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 9937if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 9938 $as_echo_n "(cached) " >&6 9939else 9940 lt_cv_prog_compiler_rtti_exceptions=no 9941 ac_outfile=conftest.$ac_objext 9942 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9943 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment 9944 # Insert the option either (1) after the last *FLAGS variable, or 9945 # (2) before a word containing "conftest.", or (3) at the end. 9946 # Note that $ac_compile itself does not contain backslashes and begins 9947 # with a dollar sign (not a hyphen), so the echo should work correctly. 9948 # The option is referenced via a variable to avoid confusing sed. 9949 lt_compile=`echo "$ac_compile" | $SED \ 9950 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9951 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9952 -e 's:$: $lt_compiler_flag:'` 9953 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9954 (eval "$lt_compile" 2>conftest.err) 9955 ac_status=$? 9956 cat conftest.err >&5 9957 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9958 if (exit $ac_status) && test -s "$ac_outfile"; then 9959 # The compiler can only warn and ignore the option if not recognized 9960 # So say no if there are warnings other than the usual output. 9961 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 9962 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9963 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 9964 lt_cv_prog_compiler_rtti_exceptions=yes 9965 fi 9966 fi 9967 $RM conftest* 9968 9969fi 9970{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 9971$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 9972 9973if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then 9974 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 9975else 9976 : 9977fi 9978 9979fi 9980 9981 9982 9983 9984 9985 9986 lt_prog_compiler_wl= 9987lt_prog_compiler_pic= 9988lt_prog_compiler_static= 9989 9990 9991 if test yes = "$GCC"; then 9992 lt_prog_compiler_wl='-Wl,' 9993 lt_prog_compiler_static='-static' 9994 9995 case $host_os in 9996 aix*) 9997 # All AIX code is PIC. 9998 if test ia64 = "$host_cpu"; then 9999 # AIX 5 now supports IA64 processor 10000 lt_prog_compiler_static='-Bstatic' 10001 fi 10002 lt_prog_compiler_pic='-fPIC' 10003 ;; 10004 10005 amigaos*) 10006 case $host_cpu in 10007 powerpc) 10008 # see comment about AmigaOS4 .so support 10009 lt_prog_compiler_pic='-fPIC' 10010 ;; 10011 m68k) 10012 # FIXME: we need at least 68020 code to build shared libraries, but 10013 # adding the '-m68020' flag to GCC prevents building anything better, 10014 # like '-m68040'. 10015 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 10016 ;; 10017 esac 10018 ;; 10019 10020 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 10021 # PIC is the default for these OSes. 10022 ;; 10023 10024 mingw* | cygwin* | pw32* | os2* | cegcc*) 10025 # This hack is so that the source file can tell whether it is being 10026 # built for inclusion in a dll (and should export symbols for example). 10027 # Although the cygwin gcc ignores -fPIC, still need this for old-style 10028 # (--disable-auto-import) libraries 10029 lt_prog_compiler_pic='-DDLL_EXPORT' 10030 case $host_os in 10031 os2*) 10032 lt_prog_compiler_static='$wl-static' 10033 ;; 10034 esac 10035 ;; 10036 10037 darwin* | rhapsody*) 10038 # PIC is the default on this platform 10039 # Common symbols not allowed in MH_DYLIB files 10040 lt_prog_compiler_pic='-fno-common' 10041 ;; 10042 10043 haiku*) 10044 # PIC is the default for Haiku. 10045 # The "-static" flag exists, but is broken. 10046 lt_prog_compiler_static= 10047 ;; 10048 10049 hpux*) 10050 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 10051 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 10052 # sets the default TLS model and affects inlining. 10053 case $host_cpu in 10054 hppa*64*) 10055 # +Z the default 10056 ;; 10057 *) 10058 lt_prog_compiler_pic='-fPIC' 10059 ;; 10060 esac 10061 ;; 10062 10063 interix[3-9]*) 10064 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 10065 # Instead, we relocate shared libraries at runtime. 10066 ;; 10067 10068 msdosdjgpp*) 10069 # Just because we use GCC doesn't mean we suddenly get shared libraries 10070 # on systems that don't support them. 10071 lt_prog_compiler_can_build_shared=no 10072 enable_shared=no 10073 ;; 10074 10075 *nto* | *qnx*) 10076 # QNX uses GNU C++, but need to define -shared option too, otherwise 10077 # it will coredump. 10078 lt_prog_compiler_pic='-fPIC -shared' 10079 ;; 10080 10081 sysv4*MP*) 10082 if test -d /usr/nec; then 10083 lt_prog_compiler_pic=-Kconform_pic 10084 fi 10085 ;; 10086 10087 *) 10088 lt_prog_compiler_pic='-fPIC' 10089 ;; 10090 esac 10091 10092 case $cc_basename in 10093 nvcc*) # Cuda Compiler Driver 2.2 10094 lt_prog_compiler_wl='-Xlinker ' 10095 if test -n "$lt_prog_compiler_pic"; then 10096 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" 10097 fi 10098 ;; 10099 esac 10100 else 10101 # PORTME Check for flag to pass linker flags through the system compiler. 10102 case $host_os in 10103 aix*) 10104 lt_prog_compiler_wl='-Wl,' 10105 if test ia64 = "$host_cpu"; then 10106 # AIX 5 now supports IA64 processor 10107 lt_prog_compiler_static='-Bstatic' 10108 else 10109 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 10110 fi 10111 ;; 10112 10113 darwin* | rhapsody*) 10114 # PIC is the default on this platform 10115 # Common symbols not allowed in MH_DYLIB files 10116 lt_prog_compiler_pic='-fno-common' 10117 case $cc_basename in 10118 nagfor*) 10119 # NAG Fortran compiler 10120 lt_prog_compiler_wl='-Wl,-Wl,,' 10121 lt_prog_compiler_pic='-PIC' 10122 lt_prog_compiler_static='-Bstatic' 10123 ;; 10124 esac 10125 ;; 10126 10127 mingw* | cygwin* | pw32* | os2* | cegcc*) 10128 # This hack is so that the source file can tell whether it is being 10129 # built for inclusion in a dll (and should export symbols for example). 10130 lt_prog_compiler_pic='-DDLL_EXPORT' 10131 case $host_os in 10132 os2*) 10133 lt_prog_compiler_static='$wl-static' 10134 ;; 10135 esac 10136 ;; 10137 10138 hpux9* | hpux10* | hpux11*) 10139 lt_prog_compiler_wl='-Wl,' 10140 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 10141 # not for PA HP-UX. 10142 case $host_cpu in 10143 hppa*64*|ia64*) 10144 # +Z the default 10145 ;; 10146 *) 10147 lt_prog_compiler_pic='+Z' 10148 ;; 10149 esac 10150 # Is there a better lt_prog_compiler_static that works with the bundled CC? 10151 lt_prog_compiler_static='$wl-a ${wl}archive' 10152 ;; 10153 10154 irix5* | irix6* | nonstopux*) 10155 lt_prog_compiler_wl='-Wl,' 10156 # PIC (with -KPIC) is the default. 10157 lt_prog_compiler_static='-non_shared' 10158 ;; 10159 10160 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 10161 case $cc_basename in 10162 # old Intel for x86_64, which still supported -KPIC. 10163 ecc*) 10164 lt_prog_compiler_wl='-Wl,' 10165 lt_prog_compiler_pic='-KPIC' 10166 lt_prog_compiler_static='-static' 10167 ;; 10168 # icc used to be incompatible with GCC. 10169 # ICC 10 doesn't accept -KPIC any more. 10170 icc* | ifort*) 10171 lt_prog_compiler_wl='-Wl,' 10172 lt_prog_compiler_pic='-fPIC' 10173 lt_prog_compiler_static='-static' 10174 ;; 10175 # Lahey Fortran 8.1. 10176 lf95*) 10177 lt_prog_compiler_wl='-Wl,' 10178 lt_prog_compiler_pic='--shared' 10179 lt_prog_compiler_static='--static' 10180 ;; 10181 nagfor*) 10182 # NAG Fortran compiler 10183 lt_prog_compiler_wl='-Wl,-Wl,,' 10184 lt_prog_compiler_pic='-PIC' 10185 lt_prog_compiler_static='-Bstatic' 10186 ;; 10187 tcc*) 10188 # Fabrice Bellard et al's Tiny C Compiler 10189 lt_prog_compiler_wl='-Wl,' 10190 lt_prog_compiler_pic='-fPIC' 10191 lt_prog_compiler_static='-static' 10192 ;; 10193 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 10194 # Portland Group compilers (*not* the Pentium gcc compiler, 10195 # which looks to be a dead project) 10196 lt_prog_compiler_wl='-Wl,' 10197 lt_prog_compiler_pic='-fpic' 10198 lt_prog_compiler_static='-Bstatic' 10199 ;; 10200 ccc*) 10201 lt_prog_compiler_wl='-Wl,' 10202 # All Alpha code is PIC. 10203 lt_prog_compiler_static='-non_shared' 10204 ;; 10205 xl* | bgxl* | bgf* | mpixl*) 10206 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 10207 lt_prog_compiler_wl='-Wl,' 10208 lt_prog_compiler_pic='-qpic' 10209 lt_prog_compiler_static='-qstaticlink' 10210 ;; 10211 *) 10212 case `$CC -V 2>&1 | sed 5q` in 10213 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) 10214 # Sun Fortran 8.3 passes all unrecognized flags to the linker 10215 lt_prog_compiler_pic='-KPIC' 10216 lt_prog_compiler_static='-Bstatic' 10217 lt_prog_compiler_wl='' 10218 ;; 10219 *Sun\ F* | *Sun*Fortran*) 10220 lt_prog_compiler_pic='-KPIC' 10221 lt_prog_compiler_static='-Bstatic' 10222 lt_prog_compiler_wl='-Qoption ld ' 10223 ;; 10224 *Sun\ C*) 10225 # Sun C 5.9 10226 lt_prog_compiler_pic='-KPIC' 10227 lt_prog_compiler_static='-Bstatic' 10228 lt_prog_compiler_wl='-Wl,' 10229 ;; 10230 *Intel*\ [CF]*Compiler*) 10231 lt_prog_compiler_wl='-Wl,' 10232 lt_prog_compiler_pic='-fPIC' 10233 lt_prog_compiler_static='-static' 10234 ;; 10235 *Portland\ Group*) 10236 lt_prog_compiler_wl='-Wl,' 10237 lt_prog_compiler_pic='-fpic' 10238 lt_prog_compiler_static='-Bstatic' 10239 ;; 10240 esac 10241 ;; 10242 esac 10243 ;; 10244 10245 newsos6) 10246 lt_prog_compiler_pic='-KPIC' 10247 lt_prog_compiler_static='-Bstatic' 10248 ;; 10249 10250 *nto* | *qnx*) 10251 # QNX uses GNU C++, but need to define -shared option too, otherwise 10252 # it will coredump. 10253 lt_prog_compiler_pic='-fPIC -shared' 10254 ;; 10255 10256 osf3* | osf4* | osf5*) 10257 lt_prog_compiler_wl='-Wl,' 10258 # All OSF/1 code is PIC. 10259 lt_prog_compiler_static='-non_shared' 10260 ;; 10261 10262 rdos*) 10263 lt_prog_compiler_static='-non_shared' 10264 ;; 10265 10266 solaris*) 10267 lt_prog_compiler_pic='-KPIC' 10268 lt_prog_compiler_static='-Bstatic' 10269 case $cc_basename in 10270 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 10271 lt_prog_compiler_wl='-Qoption ld ';; 10272 *) 10273 lt_prog_compiler_wl='-Wl,';; 10274 esac 10275 ;; 10276 10277 sunos4*) 10278 lt_prog_compiler_wl='-Qoption ld ' 10279 lt_prog_compiler_pic='-PIC' 10280 lt_prog_compiler_static='-Bstatic' 10281 ;; 10282 10283 sysv4 | sysv4.2uw2* | sysv4.3*) 10284 lt_prog_compiler_wl='-Wl,' 10285 lt_prog_compiler_pic='-KPIC' 10286 lt_prog_compiler_static='-Bstatic' 10287 ;; 10288 10289 sysv4*MP*) 10290 if test -d /usr/nec; then 10291 lt_prog_compiler_pic='-Kconform_pic' 10292 lt_prog_compiler_static='-Bstatic' 10293 fi 10294 ;; 10295 10296 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 10297 lt_prog_compiler_wl='-Wl,' 10298 lt_prog_compiler_pic='-KPIC' 10299 lt_prog_compiler_static='-Bstatic' 10300 ;; 10301 10302 unicos*) 10303 lt_prog_compiler_wl='-Wl,' 10304 lt_prog_compiler_can_build_shared=no 10305 ;; 10306 10307 uts4*) 10308 lt_prog_compiler_pic='-pic' 10309 lt_prog_compiler_static='-Bstatic' 10310 ;; 10311 10312 *) 10313 lt_prog_compiler_can_build_shared=no 10314 ;; 10315 esac 10316 fi 10317 10318case $host_os in 10319 # For platforms that do not support PIC, -DPIC is meaningless: 10320 *djgpp*) 10321 lt_prog_compiler_pic= 10322 ;; 10323 *) 10324 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 10325 ;; 10326esac 10327 10328{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 10329$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 10330if ${lt_cv_prog_compiler_pic+:} false; then : 10331 $as_echo_n "(cached) " >&6 10332else 10333 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 10334fi 10335{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 10336$as_echo "$lt_cv_prog_compiler_pic" >&6; } 10337lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 10338 10339# 10340# Check to make sure the PIC flag actually works. 10341# 10342if test -n "$lt_prog_compiler_pic"; then 10343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 10344$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 10345if ${lt_cv_prog_compiler_pic_works+:} false; then : 10346 $as_echo_n "(cached) " >&6 10347else 10348 lt_cv_prog_compiler_pic_works=no 10349 ac_outfile=conftest.$ac_objext 10350 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10351 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment 10352 # Insert the option either (1) after the last *FLAGS variable, or 10353 # (2) before a word containing "conftest.", or (3) at the end. 10354 # Note that $ac_compile itself does not contain backslashes and begins 10355 # with a dollar sign (not a hyphen), so the echo should work correctly. 10356 # The option is referenced via a variable to avoid confusing sed. 10357 lt_compile=`echo "$ac_compile" | $SED \ 10358 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 10359 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 10360 -e 's:$: $lt_compiler_flag:'` 10361 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 10362 (eval "$lt_compile" 2>conftest.err) 10363 ac_status=$? 10364 cat conftest.err >&5 10365 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10366 if (exit $ac_status) && test -s "$ac_outfile"; then 10367 # The compiler can only warn and ignore the option if not recognized 10368 # So say no if there are warnings other than the usual output. 10369 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 10370 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 10371 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 10372 lt_cv_prog_compiler_pic_works=yes 10373 fi 10374 fi 10375 $RM conftest* 10376 10377fi 10378{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 10379$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 10380 10381if test yes = "$lt_cv_prog_compiler_pic_works"; then 10382 case $lt_prog_compiler_pic in 10383 "" | " "*) ;; 10384 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 10385 esac 10386else 10387 lt_prog_compiler_pic= 10388 lt_prog_compiler_can_build_shared=no 10389fi 10390 10391fi 10392 10393 10394 10395 10396 10397 10398 10399 10400 10401 10402 10403# 10404# Check to make sure the static flag actually works. 10405# 10406wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 10407{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 10408$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 10409if ${lt_cv_prog_compiler_static_works+:} false; then : 10410 $as_echo_n "(cached) " >&6 10411else 10412 lt_cv_prog_compiler_static_works=no 10413 save_LDFLAGS=$LDFLAGS 10414 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 10415 echo "$lt_simple_link_test_code" > conftest.$ac_ext 10416 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 10417 # The linker can only warn and ignore the option if not recognized 10418 # So say no if there are warnings 10419 if test -s conftest.err; then 10420 # Append any errors to the config.log. 10421 cat conftest.err 1>&5 10422 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 10423 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 10424 if diff conftest.exp conftest.er2 >/dev/null; then 10425 lt_cv_prog_compiler_static_works=yes 10426 fi 10427 else 10428 lt_cv_prog_compiler_static_works=yes 10429 fi 10430 fi 10431 $RM -r conftest* 10432 LDFLAGS=$save_LDFLAGS 10433 10434fi 10435{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 10436$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 10437 10438if test yes = "$lt_cv_prog_compiler_static_works"; then 10439 : 10440else 10441 lt_prog_compiler_static= 10442fi 10443 10444 10445 10446 10447 10448 10449 10450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 10451$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 10452if ${lt_cv_prog_compiler_c_o+:} false; then : 10453 $as_echo_n "(cached) " >&6 10454else 10455 lt_cv_prog_compiler_c_o=no 10456 $RM -r conftest 2>/dev/null 10457 mkdir conftest 10458 cd conftest 10459 mkdir out 10460 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10461 10462 lt_compiler_flag="-o out/conftest2.$ac_objext" 10463 # Insert the option either (1) after the last *FLAGS variable, or 10464 # (2) before a word containing "conftest.", or (3) at the end. 10465 # Note that $ac_compile itself does not contain backslashes and begins 10466 # with a dollar sign (not a hyphen), so the echo should work correctly. 10467 lt_compile=`echo "$ac_compile" | $SED \ 10468 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 10469 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 10470 -e 's:$: $lt_compiler_flag:'` 10471 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 10472 (eval "$lt_compile" 2>out/conftest.err) 10473 ac_status=$? 10474 cat out/conftest.err >&5 10475 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10476 if (exit $ac_status) && test -s out/conftest2.$ac_objext 10477 then 10478 # The compiler can only warn and ignore the option if not recognized 10479 # So say no if there are warnings 10480 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 10481 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 10482 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 10483 lt_cv_prog_compiler_c_o=yes 10484 fi 10485 fi 10486 chmod u+w . 2>&5 10487 $RM conftest* 10488 # SGI C++ compiler will create directory out/ii_files/ for 10489 # template instantiation 10490 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 10491 $RM out/* && rmdir out 10492 cd .. 10493 $RM -r conftest 10494 $RM conftest* 10495 10496fi 10497{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 10498$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 10499 10500 10501 10502 10503 10504 10505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 10506$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 10507if ${lt_cv_prog_compiler_c_o+:} false; then : 10508 $as_echo_n "(cached) " >&6 10509else 10510 lt_cv_prog_compiler_c_o=no 10511 $RM -r conftest 2>/dev/null 10512 mkdir conftest 10513 cd conftest 10514 mkdir out 10515 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10516 10517 lt_compiler_flag="-o out/conftest2.$ac_objext" 10518 # Insert the option either (1) after the last *FLAGS variable, or 10519 # (2) before a word containing "conftest.", or (3) at the end. 10520 # Note that $ac_compile itself does not contain backslashes and begins 10521 # with a dollar sign (not a hyphen), so the echo should work correctly. 10522 lt_compile=`echo "$ac_compile" | $SED \ 10523 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 10524 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 10525 -e 's:$: $lt_compiler_flag:'` 10526 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 10527 (eval "$lt_compile" 2>out/conftest.err) 10528 ac_status=$? 10529 cat out/conftest.err >&5 10530 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10531 if (exit $ac_status) && test -s out/conftest2.$ac_objext 10532 then 10533 # The compiler can only warn and ignore the option if not recognized 10534 # So say no if there are warnings 10535 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 10536 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 10537 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 10538 lt_cv_prog_compiler_c_o=yes 10539 fi 10540 fi 10541 chmod u+w . 2>&5 10542 $RM conftest* 10543 # SGI C++ compiler will create directory out/ii_files/ for 10544 # template instantiation 10545 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 10546 $RM out/* && rmdir out 10547 cd .. 10548 $RM -r conftest 10549 $RM conftest* 10550 10551fi 10552{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 10553$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 10554 10555 10556 10557 10558hard_links=nottested 10559if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then 10560 # do not overwrite the value of need_locks provided by the user 10561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 10562$as_echo_n "checking if we can lock with hard links... " >&6; } 10563 hard_links=yes 10564 $RM conftest* 10565 ln conftest.a conftest.b 2>/dev/null && hard_links=no 10566 touch conftest.a 10567 ln conftest.a conftest.b 2>&5 || hard_links=no 10568 ln conftest.a conftest.b 2>/dev/null && hard_links=no 10569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 10570$as_echo "$hard_links" >&6; } 10571 if test no = "$hard_links"; then 10572 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 10573$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} 10574 need_locks=warn 10575 fi 10576else 10577 need_locks=no 10578fi 10579 10580 10581 10582 10583 10584 10585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 10586$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 10587 10588 runpath_var= 10589 allow_undefined_flag= 10590 always_export_symbols=no 10591 archive_cmds= 10592 archive_expsym_cmds= 10593 compiler_needs_object=no 10594 enable_shared_with_static_runtimes=no 10595 export_dynamic_flag_spec= 10596 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 10597 hardcode_automatic=no 10598 hardcode_direct=no 10599 hardcode_direct_absolute=no 10600 hardcode_libdir_flag_spec= 10601 hardcode_libdir_separator= 10602 hardcode_minus_L=no 10603 hardcode_shlibpath_var=unsupported 10604 inherit_rpath=no 10605 link_all_deplibs=unknown 10606 module_cmds= 10607 module_expsym_cmds= 10608 old_archive_from_new_cmds= 10609 old_archive_from_expsyms_cmds= 10610 thread_safe_flag_spec= 10611 whole_archive_flag_spec= 10612 # include_expsyms should be a list of space-separated symbols to be *always* 10613 # included in the symbol list 10614 include_expsyms= 10615 # exclude_expsyms can be an extended regexp of symbols to exclude 10616 # it will be wrapped by ' (' and ')$', so one must not match beginning or 10617 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc', 10618 # as well as any symbol that contains 'd'. 10619 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 10620 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 10621 # platforms (ab)use it in PIC code, but their linkers get confused if 10622 # the symbol is explicitly referenced. Since portable code cannot 10623 # rely on this symbol name, it's probably fine to never include it in 10624 # preloaded symbol tables. 10625 # Exclude shared library initialization/finalization symbols. 10626 extract_expsyms_cmds= 10627 10628 case $host_os in 10629 cygwin* | mingw* | pw32* | cegcc*) 10630 # FIXME: the MSVC++ port hasn't been tested in a loooong time 10631 # When not using gcc, we currently assume that we are using 10632 # Microsoft Visual C++. 10633 if test yes != "$GCC"; then 10634 with_gnu_ld=no 10635 fi 10636 ;; 10637 interix*) 10638 # we just hope/assume this is gcc and not c89 (= MSVC++) 10639 with_gnu_ld=yes 10640 ;; 10641 openbsd* | bitrig*) 10642 with_gnu_ld=no 10643 ;; 10644 esac 10645 10646 ld_shlibs=yes 10647 10648 # On some targets, GNU ld is compatible enough with the native linker 10649 # that we're better off using the native interface for both. 10650 lt_use_gnu_ld_interface=no 10651 if test yes = "$with_gnu_ld"; then 10652 case $host_os in 10653 aix*) 10654 # The AIX port of GNU ld has always aspired to compatibility 10655 # with the native linker. However, as the warning in the GNU ld 10656 # block says, versions before 2.19.5* couldn't really create working 10657 # shared libraries, regardless of the interface used. 10658 case `$LD -v 2>&1` in 10659 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 10660 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 10661 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 10662 *) 10663 lt_use_gnu_ld_interface=yes 10664 ;; 10665 esac 10666 ;; 10667 *) 10668 lt_use_gnu_ld_interface=yes 10669 ;; 10670 esac 10671 fi 10672 10673 if test yes = "$lt_use_gnu_ld_interface"; then 10674 # If archive_cmds runs LD, not CC, wlarc should be empty 10675 wlarc='$wl' 10676 10677 # Set some defaults for GNU ld with shared library support. These 10678 # are reset later if shared libraries are not supported. Putting them 10679 # here allows them to be overridden if necessary. 10680 runpath_var=LD_RUN_PATH 10681 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10682 export_dynamic_flag_spec='$wl--export-dynamic' 10683 # ancient GNU ld didn't support --whole-archive et. al. 10684 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 10685 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 10686 else 10687 whole_archive_flag_spec= 10688 fi 10689 supports_anon_versioning=no 10690 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in 10691 *GNU\ gold*) supports_anon_versioning=yes ;; 10692 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 10693 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 10694 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 10695 *\ 2.11.*) ;; # other 2.11 versions 10696 *) supports_anon_versioning=yes ;; 10697 esac 10698 10699 # See if GNU ld supports shared libraries. 10700 case $host_os in 10701 aix[3-9]*) 10702 # On AIX/PPC, the GNU linker is very broken 10703 if test ia64 != "$host_cpu"; then 10704 ld_shlibs=no 10705 cat <<_LT_EOF 1>&2 10706 10707*** Warning: the GNU linker, at least up to release 2.19, is reported 10708*** to be unable to reliably create shared libraries on AIX. 10709*** Therefore, libtool is disabling shared libraries support. If you 10710*** really care for shared libraries, you may want to install binutils 10711*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 10712*** You will then need to restart the configuration process. 10713 10714_LT_EOF 10715 fi 10716 ;; 10717 10718 amigaos*) 10719 case $host_cpu in 10720 powerpc) 10721 # see comment about AmigaOS4 .so support 10722 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10723 archive_expsym_cmds='' 10724 ;; 10725 m68k) 10726 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)' 10727 hardcode_libdir_flag_spec='-L$libdir' 10728 hardcode_minus_L=yes 10729 ;; 10730 esac 10731 ;; 10732 10733 beos*) 10734 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10735 allow_undefined_flag=unsupported 10736 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 10737 # support --undefined. This deserves some investigation. FIXME 10738 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10739 else 10740 ld_shlibs=no 10741 fi 10742 ;; 10743 10744 cygwin* | mingw* | pw32* | cegcc*) 10745 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 10746 # as there is no search path for DLLs. 10747 hardcode_libdir_flag_spec='-L$libdir' 10748 export_dynamic_flag_spec='$wl--export-all-symbols' 10749 allow_undefined_flag=unsupported 10750 always_export_symbols=no 10751 enable_shared_with_static_runtimes=yes 10752 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' 10753 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 10754 10755 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 10756 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 10757 # If the export-symbols file already is a .def file, use it as 10758 # is; otherwise, prepend EXPORTS... 10759 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 10760 cp $export_symbols $output_objdir/$soname.def; 10761 else 10762 echo EXPORTS > $output_objdir/$soname.def; 10763 cat $export_symbols >> $output_objdir/$soname.def; 10764 fi~ 10765 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 10766 else 10767 ld_shlibs=no 10768 fi 10769 ;; 10770 10771 haiku*) 10772 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10773 link_all_deplibs=yes 10774 ;; 10775 10776 os2*) 10777 hardcode_libdir_flag_spec='-L$libdir' 10778 hardcode_minus_L=yes 10779 allow_undefined_flag=unsupported 10780 shrext_cmds=.dll 10781 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10782 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10783 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10784 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10785 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 10786 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10787 emximp -o $lib $output_objdir/$libname.def' 10788 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10789 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10790 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10791 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10792 prefix_cmds="$SED"~ 10793 if test EXPORTS = "`$SED 1q $export_symbols`"; then 10794 prefix_cmds="$prefix_cmds -e 1d"; 10795 fi~ 10796 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 10797 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 10798 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10799 emximp -o $lib $output_objdir/$libname.def' 10800 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 10801 enable_shared_with_static_runtimes=yes 10802 ;; 10803 10804 interix[3-9]*) 10805 hardcode_direct=no 10806 hardcode_shlibpath_var=no 10807 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 10808 export_dynamic_flag_spec='$wl-E' 10809 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 10810 # Instead, shared libraries are loaded at an image base (0x10000000 by 10811 # default) and relocated if they conflict, which is a slow very memory 10812 # consuming and fragmenting process. To avoid this, we pick a random, 10813 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 10814 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 10815 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 10816 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' 10817 ;; 10818 10819 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 10820 tmp_diet=no 10821 if test linux-dietlibc = "$host_os"; then 10822 case $cc_basename in 10823 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 10824 esac 10825 fi 10826 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 10827 && test no = "$tmp_diet" 10828 then 10829 tmp_addflag=' $pic_flag' 10830 tmp_sharedflag='-shared' 10831 case $cc_basename,$host_cpu in 10832 pgcc*) # Portland Group C compiler 10833 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' 10834 tmp_addflag=' $pic_flag' 10835 ;; 10836 pgf77* | pgf90* | pgf95* | pgfortran*) 10837 # Portland Group f77 and f90 compilers 10838 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' 10839 tmp_addflag=' $pic_flag -Mnomain' ;; 10840 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 10841 tmp_addflag=' -i_dynamic' ;; 10842 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 10843 tmp_addflag=' -i_dynamic -nofor_main' ;; 10844 ifc* | ifort*) # Intel Fortran compiler 10845 tmp_addflag=' -nofor_main' ;; 10846 lf95*) # Lahey Fortran 8.1 10847 whole_archive_flag_spec= 10848 tmp_sharedflag='--shared' ;; 10849 nagfor*) # NAGFOR 5.3 10850 tmp_sharedflag='-Wl,-shared' ;; 10851 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 10852 tmp_sharedflag='-qmkshrobj' 10853 tmp_addflag= ;; 10854 nvcc*) # Cuda Compiler Driver 2.2 10855 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' 10856 compiler_needs_object=yes 10857 ;; 10858 esac 10859 case `$CC -V 2>&1 | sed 5q` in 10860 *Sun\ C*) # Sun C 5.9 10861 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' 10862 compiler_needs_object=yes 10863 tmp_sharedflag='-G' ;; 10864 *Sun\ F*) # Sun Fortran 8.3 10865 tmp_sharedflag='-G' ;; 10866 esac 10867 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10868 10869 if test yes = "$supports_anon_versioning"; then 10870 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 10871 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 10872 echo "local: *; };" >> $output_objdir/$libname.ver~ 10873 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' 10874 fi 10875 10876 case $cc_basename in 10877 tcc*) 10878 export_dynamic_flag_spec='-rdynamic' 10879 ;; 10880 xlf* | bgf* | bgxlf* | mpixlf*) 10881 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 10882 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 10883 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10884 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 10885 if test yes = "$supports_anon_versioning"; then 10886 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 10887 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 10888 echo "local: *; };" >> $output_objdir/$libname.ver~ 10889 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 10890 fi 10891 ;; 10892 esac 10893 else 10894 ld_shlibs=no 10895 fi 10896 ;; 10897 10898 netbsd*) 10899 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10900 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 10901 wlarc= 10902 else 10903 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10904 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 10905 fi 10906 ;; 10907 10908 solaris*) 10909 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 10910 ld_shlibs=no 10911 cat <<_LT_EOF 1>&2 10912 10913*** Warning: The releases 2.8.* of the GNU linker cannot reliably 10914*** create shared libraries on Solaris systems. Therefore, libtool 10915*** is disabling shared libraries support. We urge you to upgrade GNU 10916*** binutils to release 2.9.1 or newer. Another option is to modify 10917*** your PATH or compiler configuration so that the native linker is 10918*** used, and then restart. 10919 10920_LT_EOF 10921 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10922 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10923 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 10924 else 10925 ld_shlibs=no 10926 fi 10927 ;; 10928 10929 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 10930 case `$LD -v 2>&1` in 10931 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 10932 ld_shlibs=no 10933 cat <<_LT_EOF 1>&2 10934 10935*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot 10936*** reliably create shared libraries on SCO systems. Therefore, libtool 10937*** is disabling shared libraries support. We urge you to upgrade GNU 10938*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 10939*** your PATH or compiler configuration so that the native linker is 10940*** used, and then restart. 10941 10942_LT_EOF 10943 ;; 10944 *) 10945 # For security reasons, it is highly recommended that you always 10946 # use absolute paths for naming shared libraries, and exclude the 10947 # DT_RUNPATH tag from executables and libraries. But doing so 10948 # requires that you compile everything twice, which is a pain. 10949 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10950 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10951 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10952 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 10953 else 10954 ld_shlibs=no 10955 fi 10956 ;; 10957 esac 10958 ;; 10959 10960 sunos4*) 10961 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 10962 wlarc= 10963 hardcode_direct=yes 10964 hardcode_shlibpath_var=no 10965 ;; 10966 10967 *) 10968 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10969 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10970 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 10971 else 10972 ld_shlibs=no 10973 fi 10974 ;; 10975 esac 10976 10977 if test no = "$ld_shlibs"; then 10978 runpath_var= 10979 hardcode_libdir_flag_spec= 10980 export_dynamic_flag_spec= 10981 whole_archive_flag_spec= 10982 fi 10983 else 10984 # PORTME fill in a description of your system's linker (not GNU ld) 10985 case $host_os in 10986 aix3*) 10987 allow_undefined_flag=unsupported 10988 always_export_symbols=yes 10989 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' 10990 # Note: this linker hardcodes the directories in LIBPATH if there 10991 # are no directories specified by -L. 10992 hardcode_minus_L=yes 10993 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then 10994 # Neither direct hardcoding nor static linking is supported with a 10995 # broken collect2. 10996 hardcode_direct=unsupported 10997 fi 10998 ;; 10999 11000 aix[4-9]*) 11001 if test ia64 = "$host_cpu"; then 11002 # On IA64, the linker does run time linking by default, so we don't 11003 # have to do anything special. 11004 aix_use_runtimelinking=no 11005 exp_sym_flag='-Bexport' 11006 no_entry_flag= 11007 else 11008 # If we're using GNU nm, then we don't want the "-C" option. 11009 # -C means demangle to GNU nm, but means don't demangle to AIX nm. 11010 # Without the "-l" option, or with the "-B" option, AIX nm treats 11011 # weak defined symbols like other global defined symbols, whereas 11012 # GNU nm marks them as "W". 11013 # While the 'weak' keyword is ignored in the Export File, we need 11014 # it in the Import File for the 'aix-soname' feature, so we have 11015 # to replace the "-B" option with "-P" for AIX nm. 11016 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 11017 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' 11018 else 11019 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' 11020 fi 11021 aix_use_runtimelinking=no 11022 11023 # Test if we are trying to use run time linking or normal 11024 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 11025 # have runtime linking enabled, and use it for executables. 11026 # For shared libraries, we enable/disable runtime linking 11027 # depending on the kind of the shared library created - 11028 # when "with_aix_soname,aix_use_runtimelinking" is: 11029 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables 11030 # "aix,yes" lib.so shared, rtl:yes, for executables 11031 # lib.a static archive 11032 # "both,no" lib.so.V(shr.o) shared, rtl:yes 11033 # lib.a(lib.so.V) shared, rtl:no, for executables 11034 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables 11035 # lib.a(lib.so.V) shared, rtl:no 11036 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables 11037 # lib.a static archive 11038 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 11039 for ld_flag in $LDFLAGS; do 11040 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then 11041 aix_use_runtimelinking=yes 11042 break 11043 fi 11044 done 11045 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then 11046 # With aix-soname=svr4, we create the lib.so.V shared archives only, 11047 # so we don't have lib.a shared libs to link our executables. 11048 # We have to force runtime linking in this case. 11049 aix_use_runtimelinking=yes 11050 LDFLAGS="$LDFLAGS -Wl,-brtl" 11051 fi 11052 ;; 11053 esac 11054 11055 exp_sym_flag='-bexport' 11056 no_entry_flag='-bnoentry' 11057 fi 11058 11059 # When large executables or shared objects are built, AIX ld can 11060 # have problems creating the table of contents. If linking a library 11061 # or program results in "error TOC overflow" add -mminimal-toc to 11062 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 11063 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 11064 11065 archive_cmds='' 11066 hardcode_direct=yes 11067 hardcode_direct_absolute=yes 11068 hardcode_libdir_separator=':' 11069 link_all_deplibs=yes 11070 file_list_spec='$wl-f,' 11071 case $with_aix_soname,$aix_use_runtimelinking in 11072 aix,*) ;; # traditional, no import file 11073 svr4,* | *,yes) # use import file 11074 # The Import File defines what to hardcode. 11075 hardcode_direct=no 11076 hardcode_direct_absolute=no 11077 ;; 11078 esac 11079 11080 if test yes = "$GCC"; then 11081 case $host_os in aix4.[012]|aix4.[012].*) 11082 # We only want to do this on AIX 4.2 and lower, the check 11083 # below for broken collect2 doesn't work under 4.3+ 11084 collect2name=`$CC -print-prog-name=collect2` 11085 if test -f "$collect2name" && 11086 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 11087 then 11088 # We have reworked collect2 11089 : 11090 else 11091 # We have old collect2 11092 hardcode_direct=unsupported 11093 # It fails to find uninstalled libraries when the uninstalled 11094 # path is not listed in the libpath. Setting hardcode_minus_L 11095 # to unsupported forces relinking 11096 hardcode_minus_L=yes 11097 hardcode_libdir_flag_spec='-L$libdir' 11098 hardcode_libdir_separator= 11099 fi 11100 ;; 11101 esac 11102 shared_flag='-shared' 11103 if test yes = "$aix_use_runtimelinking"; then 11104 shared_flag="$shared_flag "'$wl-G' 11105 fi 11106 # Need to ensure runtime linking is disabled for the traditional 11107 # shared library, or the linker may eventually find shared libraries 11108 # /with/ Import File - we do not want to mix them. 11109 shared_flag_aix='-shared' 11110 shared_flag_svr4='-shared $wl-G' 11111 else 11112 # not using gcc 11113 if test ia64 = "$host_cpu"; then 11114 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 11115 # chokes on -Wl,-G. The following line is correct: 11116 shared_flag='-G' 11117 else 11118 if test yes = "$aix_use_runtimelinking"; then 11119 shared_flag='$wl-G' 11120 else 11121 shared_flag='$wl-bM:SRE' 11122 fi 11123 shared_flag_aix='$wl-bM:SRE' 11124 shared_flag_svr4='$wl-G' 11125 fi 11126 fi 11127 11128 export_dynamic_flag_spec='$wl-bexpall' 11129 # It seems that -bexpall does not export symbols beginning with 11130 # underscore (_), so it is better to generate a list of symbols to export. 11131 always_export_symbols=yes 11132 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then 11133 # Warning - without using the other runtime loading flags (-brtl), 11134 # -berok will link without error, but may produce a broken library. 11135 allow_undefined_flag='-berok' 11136 # Determine the default libpath from the value encoded in an 11137 # empty executable. 11138 if test set = "${lt_cv_aix_libpath+set}"; then 11139 aix_libpath=$lt_cv_aix_libpath 11140else 11141 if ${lt_cv_aix_libpath_+:} false; then : 11142 $as_echo_n "(cached) " >&6 11143else 11144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11145/* end confdefs.h. */ 11146 11147int 11148main () 11149{ 11150 11151 ; 11152 return 0; 11153} 11154_ACEOF 11155if ac_fn_c_try_link "$LINENO"; then : 11156 11157 lt_aix_libpath_sed=' 11158 /Import File Strings/,/^$/ { 11159 /^0/ { 11160 s/^0 *\([^ ]*\) *$/\1/ 11161 p 11162 } 11163 }' 11164 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 11165 # Check for a 64-bit object if we didn't find anything. 11166 if test -z "$lt_cv_aix_libpath_"; then 11167 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 11168 fi 11169fi 11170rm -f core conftest.err conftest.$ac_objext \ 11171 conftest$ac_exeext conftest.$ac_ext 11172 if test -z "$lt_cv_aix_libpath_"; then 11173 lt_cv_aix_libpath_=/usr/lib:/lib 11174 fi 11175 11176fi 11177 11178 aix_libpath=$lt_cv_aix_libpath_ 11179fi 11180 11181 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 11182 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 11183 else 11184 if test ia64 = "$host_cpu"; then 11185 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib' 11186 allow_undefined_flag="-z nodefs" 11187 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" 11188 else 11189 # Determine the default libpath from the value encoded in an 11190 # empty executable. 11191 if test set = "${lt_cv_aix_libpath+set}"; then 11192 aix_libpath=$lt_cv_aix_libpath 11193else 11194 if ${lt_cv_aix_libpath_+:} false; then : 11195 $as_echo_n "(cached) " >&6 11196else 11197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11198/* end confdefs.h. */ 11199 11200int 11201main () 11202{ 11203 11204 ; 11205 return 0; 11206} 11207_ACEOF 11208if ac_fn_c_try_link "$LINENO"; then : 11209 11210 lt_aix_libpath_sed=' 11211 /Import File Strings/,/^$/ { 11212 /^0/ { 11213 s/^0 *\([^ ]*\) *$/\1/ 11214 p 11215 } 11216 }' 11217 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 11218 # Check for a 64-bit object if we didn't find anything. 11219 if test -z "$lt_cv_aix_libpath_"; then 11220 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 11221 fi 11222fi 11223rm -f core conftest.err conftest.$ac_objext \ 11224 conftest$ac_exeext conftest.$ac_ext 11225 if test -z "$lt_cv_aix_libpath_"; then 11226 lt_cv_aix_libpath_=/usr/lib:/lib 11227 fi 11228 11229fi 11230 11231 aix_libpath=$lt_cv_aix_libpath_ 11232fi 11233 11234 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 11235 # Warning - without using the other run time loading flags, 11236 # -berok will link without error, but may produce a broken library. 11237 no_undefined_flag=' $wl-bernotok' 11238 allow_undefined_flag=' $wl-berok' 11239 if test yes = "$with_gnu_ld"; then 11240 # We only use this code for GNU lds that support --whole-archive. 11241 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive' 11242 else 11243 # Exported symbols can be pulled into shared objects from archives 11244 whole_archive_flag_spec='$convenience' 11245 fi 11246 archive_cmds_need_lc=yes 11247 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' 11248 # -brtl affects multiple linker settings, -berok does not and is overridden later 11249 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' 11250 if test svr4 != "$with_aix_soname"; then 11251 # This is similar to how AIX traditionally builds its shared libraries. 11252 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' 11253 fi 11254 if test aix != "$with_aix_soname"; then 11255 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' 11256 else 11257 # used by -dlpreopen to get the symbols 11258 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir' 11259 fi 11260 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d' 11261 fi 11262 fi 11263 ;; 11264 11265 amigaos*) 11266 case $host_cpu in 11267 powerpc) 11268 # see comment about AmigaOS4 .so support 11269 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 11270 archive_expsym_cmds='' 11271 ;; 11272 m68k) 11273 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)' 11274 hardcode_libdir_flag_spec='-L$libdir' 11275 hardcode_minus_L=yes 11276 ;; 11277 esac 11278 ;; 11279 11280 bsdi[45]*) 11281 export_dynamic_flag_spec=-rdynamic 11282 ;; 11283 11284 cygwin* | mingw* | pw32* | cegcc*) 11285 # When not using gcc, we currently assume that we are using 11286 # Microsoft Visual C++. 11287 # hardcode_libdir_flag_spec is actually meaningless, as there is 11288 # no search path for DLLs. 11289 case $cc_basename in 11290 cl*) 11291 # Native MSVC 11292 hardcode_libdir_flag_spec=' ' 11293 allow_undefined_flag=unsupported 11294 always_export_symbols=yes 11295 file_list_spec='@' 11296 # Tell ltmain to make .lib files, not .a files. 11297 libext=lib 11298 # Tell ltmain to make .dll files, not .so files. 11299 shrext_cmds=.dll 11300 # FIXME: Setting linknames here is a bad hack. 11301 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' 11302 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 11303 cp "$export_symbols" "$output_objdir/$soname.def"; 11304 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; 11305 else 11306 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; 11307 fi~ 11308 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 11309 linknames=' 11310 # The linker will not automatically build a static lib if we build a DLL. 11311 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 11312 enable_shared_with_static_runtimes=yes 11313 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 11314 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 11315 # Don't use ranlib 11316 old_postinstall_cmds='chmod 644 $oldlib' 11317 postlink_cmds='lt_outputfile="@OUTPUT@"~ 11318 lt_tool_outputfile="@TOOL_OUTPUT@"~ 11319 case $lt_outputfile in 11320 *.exe|*.EXE) ;; 11321 *) 11322 lt_outputfile=$lt_outputfile.exe 11323 lt_tool_outputfile=$lt_tool_outputfile.exe 11324 ;; 11325 esac~ 11326 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then 11327 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 11328 $RM "$lt_outputfile.manifest"; 11329 fi' 11330 ;; 11331 *) 11332 # Assume MSVC wrapper 11333 hardcode_libdir_flag_spec=' ' 11334 allow_undefined_flag=unsupported 11335 # Tell ltmain to make .lib files, not .a files. 11336 libext=lib 11337 # Tell ltmain to make .dll files, not .so files. 11338 shrext_cmds=.dll 11339 # FIXME: Setting linknames here is a bad hack. 11340 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 11341 # The linker will automatically build a .lib file if we build a DLL. 11342 old_archive_from_new_cmds='true' 11343 # FIXME: Should let the user specify the lib program. 11344 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 11345 enable_shared_with_static_runtimes=yes 11346 ;; 11347 esac 11348 ;; 11349 11350 darwin* | rhapsody*) 11351 11352 11353 archive_cmds_need_lc=no 11354 hardcode_direct=no 11355 hardcode_automatic=yes 11356 hardcode_shlibpath_var=unsupported 11357 if test yes = "$lt_cv_ld_force_load"; then 11358 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\"`' 11359 11360 else 11361 whole_archive_flag_spec='' 11362 fi 11363 link_all_deplibs=yes 11364 allow_undefined_flag=$_lt_dar_allow_undefined 11365 case $cc_basename in 11366 ifort*|nagfor*) _lt_dar_can_shared=yes ;; 11367 *) _lt_dar_can_shared=$GCC ;; 11368 esac 11369 if test yes = "$_lt_dar_can_shared"; then 11370 output_verbose_link_cmd=func_echo_all 11371 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" 11372 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" 11373 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" 11374 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" 11375 11376 else 11377 ld_shlibs=no 11378 fi 11379 11380 ;; 11381 11382 dgux*) 11383 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11384 hardcode_libdir_flag_spec='-L$libdir' 11385 hardcode_shlibpath_var=no 11386 ;; 11387 11388 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 11389 # support. Future versions do this automatically, but an explicit c++rt0.o 11390 # does not break anything, and helps significantly (at the cost of a little 11391 # extra space). 11392 freebsd2.2*) 11393 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 11394 hardcode_libdir_flag_spec='-R$libdir' 11395 hardcode_direct=yes 11396 hardcode_shlibpath_var=no 11397 ;; 11398 11399 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 11400 freebsd2.*) 11401 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 11402 hardcode_direct=yes 11403 hardcode_minus_L=yes 11404 hardcode_shlibpath_var=no 11405 ;; 11406 11407 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 11408 freebsd* | dragonfly*) 11409 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 11410 hardcode_libdir_flag_spec='-R$libdir' 11411 hardcode_direct=yes 11412 hardcode_shlibpath_var=no 11413 ;; 11414 11415 hpux9*) 11416 if test yes = "$GCC"; then 11417 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' 11418 else 11419 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' 11420 fi 11421 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 11422 hardcode_libdir_separator=: 11423 hardcode_direct=yes 11424 11425 # hardcode_minus_L: Not really in the search PATH, 11426 # but as the default location of the library. 11427 hardcode_minus_L=yes 11428 export_dynamic_flag_spec='$wl-E' 11429 ;; 11430 11431 hpux10*) 11432 if test yes,no = "$GCC,$with_gnu_ld"; then 11433 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 11434 else 11435 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 11436 fi 11437 if test no = "$with_gnu_ld"; then 11438 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 11439 hardcode_libdir_separator=: 11440 hardcode_direct=yes 11441 hardcode_direct_absolute=yes 11442 export_dynamic_flag_spec='$wl-E' 11443 # hardcode_minus_L: Not really in the search PATH, 11444 # but as the default location of the library. 11445 hardcode_minus_L=yes 11446 fi 11447 ;; 11448 11449 hpux11*) 11450 if test yes,no = "$GCC,$with_gnu_ld"; then 11451 case $host_cpu in 11452 hppa*64*) 11453 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 11454 ;; 11455 ia64*) 11456 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 11457 ;; 11458 *) 11459 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 11460 ;; 11461 esac 11462 else 11463 case $host_cpu in 11464 hppa*64*) 11465 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 11466 ;; 11467 ia64*) 11468 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 11469 ;; 11470 *) 11471 11472 # Older versions of the 11.00 compiler do not understand -b yet 11473 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 11474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 11475$as_echo_n "checking if $CC understands -b... " >&6; } 11476if ${lt_cv_prog_compiler__b+:} false; then : 11477 $as_echo_n "(cached) " >&6 11478else 11479 lt_cv_prog_compiler__b=no 11480 save_LDFLAGS=$LDFLAGS 11481 LDFLAGS="$LDFLAGS -b" 11482 echo "$lt_simple_link_test_code" > conftest.$ac_ext 11483 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 11484 # The linker can only warn and ignore the option if not recognized 11485 # So say no if there are warnings 11486 if test -s conftest.err; then 11487 # Append any errors to the config.log. 11488 cat conftest.err 1>&5 11489 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 11490 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 11491 if diff conftest.exp conftest.er2 >/dev/null; then 11492 lt_cv_prog_compiler__b=yes 11493 fi 11494 else 11495 lt_cv_prog_compiler__b=yes 11496 fi 11497 fi 11498 $RM -r conftest* 11499 LDFLAGS=$save_LDFLAGS 11500 11501fi 11502{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 11503$as_echo "$lt_cv_prog_compiler__b" >&6; } 11504 11505if test yes = "$lt_cv_prog_compiler__b"; then 11506 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 11507else 11508 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 11509fi 11510 11511 ;; 11512 esac 11513 fi 11514 if test no = "$with_gnu_ld"; then 11515 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 11516 hardcode_libdir_separator=: 11517 11518 case $host_cpu in 11519 hppa*64*|ia64*) 11520 hardcode_direct=no 11521 hardcode_shlibpath_var=no 11522 ;; 11523 *) 11524 hardcode_direct=yes 11525 hardcode_direct_absolute=yes 11526 export_dynamic_flag_spec='$wl-E' 11527 11528 # hardcode_minus_L: Not really in the search PATH, 11529 # but as the default location of the library. 11530 hardcode_minus_L=yes 11531 ;; 11532 esac 11533 fi 11534 ;; 11535 11536 irix5* | irix6* | nonstopux*) 11537 if test yes = "$GCC"; then 11538 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' 11539 # Try to use the -exported_symbol ld option, if it does not 11540 # work, assume that -exports_file does not work either and 11541 # implicitly export all symbols. 11542 # This should be the same for all languages, so no per-tag cache variable. 11543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 11544$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 11545if ${lt_cv_irix_exported_symbol+:} false; then : 11546 $as_echo_n "(cached) " >&6 11547else 11548 save_LDFLAGS=$LDFLAGS 11549 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null" 11550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11551/* end confdefs.h. */ 11552int foo (void) { return 0; } 11553_ACEOF 11554if ac_fn_c_try_link "$LINENO"; then : 11555 lt_cv_irix_exported_symbol=yes 11556else 11557 lt_cv_irix_exported_symbol=no 11558fi 11559rm -f core conftest.err conftest.$ac_objext \ 11560 conftest$ac_exeext conftest.$ac_ext 11561 LDFLAGS=$save_LDFLAGS 11562fi 11563{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 11564$as_echo "$lt_cv_irix_exported_symbol" >&6; } 11565 if test yes = "$lt_cv_irix_exported_symbol"; then 11566 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' 11567 fi 11568 else 11569 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' 11570 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' 11571 fi 11572 archive_cmds_need_lc='no' 11573 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 11574 hardcode_libdir_separator=: 11575 inherit_rpath=yes 11576 link_all_deplibs=yes 11577 ;; 11578 11579 linux*) 11580 case $cc_basename in 11581 tcc*) 11582 # Fabrice Bellard et al's Tiny C Compiler 11583 ld_shlibs=yes 11584 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 11585 ;; 11586 esac 11587 ;; 11588 11589 netbsd*) 11590 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 11591 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 11592 else 11593 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 11594 fi 11595 hardcode_libdir_flag_spec='-R$libdir' 11596 hardcode_direct=yes 11597 hardcode_shlibpath_var=no 11598 ;; 11599 11600 newsos6) 11601 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11602 hardcode_direct=yes 11603 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 11604 hardcode_libdir_separator=: 11605 hardcode_shlibpath_var=no 11606 ;; 11607 11608 *nto* | *qnx*) 11609 ;; 11610 11611 openbsd* | bitrig*) 11612 if test -f /usr/libexec/ld.so; then 11613 hardcode_direct=yes 11614 hardcode_shlibpath_var=no 11615 hardcode_direct_absolute=yes 11616 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 11617 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 11618 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols' 11619 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 11620 export_dynamic_flag_spec='$wl-E' 11621 else 11622 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 11623 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 11624 fi 11625 else 11626 ld_shlibs=no 11627 fi 11628 ;; 11629 11630 os2*) 11631 hardcode_libdir_flag_spec='-L$libdir' 11632 hardcode_minus_L=yes 11633 allow_undefined_flag=unsupported 11634 shrext_cmds=.dll 11635 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 11636 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 11637 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 11638 $ECHO EXPORTS >> $output_objdir/$libname.def~ 11639 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 11640 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 11641 emximp -o $lib $output_objdir/$libname.def' 11642 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 11643 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 11644 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 11645 $ECHO EXPORTS >> $output_objdir/$libname.def~ 11646 prefix_cmds="$SED"~ 11647 if test EXPORTS = "`$SED 1q $export_symbols`"; then 11648 prefix_cmds="$prefix_cmds -e 1d"; 11649 fi~ 11650 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 11651 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 11652 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 11653 emximp -o $lib $output_objdir/$libname.def' 11654 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 11655 enable_shared_with_static_runtimes=yes 11656 ;; 11657 11658 osf3*) 11659 if test yes = "$GCC"; then 11660 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 11661 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' 11662 else 11663 allow_undefined_flag=' -expect_unresolved \*' 11664 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' 11665 fi 11666 archive_cmds_need_lc='no' 11667 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 11668 hardcode_libdir_separator=: 11669 ;; 11670 11671 osf4* | osf5*) # as osf3* with the addition of -msym flag 11672 if test yes = "$GCC"; then 11673 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 11674 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' 11675 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 11676 else 11677 allow_undefined_flag=' -expect_unresolved \*' 11678 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' 11679 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~ 11680 $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' 11681 11682 # Both c and cxx compiler support -rpath directly 11683 hardcode_libdir_flag_spec='-rpath $libdir' 11684 fi 11685 archive_cmds_need_lc='no' 11686 hardcode_libdir_separator=: 11687 ;; 11688 11689 solaris*) 11690 no_undefined_flag=' -z defs' 11691 if test yes = "$GCC"; then 11692 wlarc='$wl' 11693 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 11694 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 11695 $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' 11696 else 11697 case `$CC -V 2>&1` in 11698 *"Compilers 5.0"*) 11699 wlarc='' 11700 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags' 11701 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 11702 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 11703 ;; 11704 *) 11705 wlarc='$wl' 11706 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags' 11707 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 11708 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 11709 ;; 11710 esac 11711 fi 11712 hardcode_libdir_flag_spec='-R$libdir' 11713 hardcode_shlibpath_var=no 11714 case $host_os in 11715 solaris2.[0-5] | solaris2.[0-5].*) ;; 11716 *) 11717 # The compiler driver will combine and reorder linker options, 11718 # but understands '-z linker_flag'. GCC discards it without '$wl', 11719 # but is careful enough not to reorder. 11720 # Supported since Solaris 2.6 (maybe 2.5.1?) 11721 if test yes = "$GCC"; then 11722 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' 11723 else 11724 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 11725 fi 11726 ;; 11727 esac 11728 link_all_deplibs=yes 11729 ;; 11730 11731 sunos4*) 11732 if test sequent = "$host_vendor"; then 11733 # Use $CC to link under sequent, because it throws in some extra .o 11734 # files that make .init and .fini sections work. 11735 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags' 11736 else 11737 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 11738 fi 11739 hardcode_libdir_flag_spec='-L$libdir' 11740 hardcode_direct=yes 11741 hardcode_minus_L=yes 11742 hardcode_shlibpath_var=no 11743 ;; 11744 11745 sysv4) 11746 case $host_vendor in 11747 sni) 11748 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11749 hardcode_direct=yes # is this really true??? 11750 ;; 11751 siemens) 11752 ## LD is ld it makes a PLAMLIB 11753 ## CC just makes a GrossModule. 11754 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 11755 reload_cmds='$CC -r -o $output$reload_objs' 11756 hardcode_direct=no 11757 ;; 11758 motorola) 11759 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11760 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 11761 ;; 11762 esac 11763 runpath_var='LD_RUN_PATH' 11764 hardcode_shlibpath_var=no 11765 ;; 11766 11767 sysv4.3*) 11768 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11769 hardcode_shlibpath_var=no 11770 export_dynamic_flag_spec='-Bexport' 11771 ;; 11772 11773 sysv4*MP*) 11774 if test -d /usr/nec; then 11775 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11776 hardcode_shlibpath_var=no 11777 runpath_var=LD_RUN_PATH 11778 hardcode_runpath_var=yes 11779 ld_shlibs=yes 11780 fi 11781 ;; 11782 11783 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 11784 no_undefined_flag='$wl-z,text' 11785 archive_cmds_need_lc=no 11786 hardcode_shlibpath_var=no 11787 runpath_var='LD_RUN_PATH' 11788 11789 if test yes = "$GCC"; then 11790 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11791 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11792 else 11793 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11794 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11795 fi 11796 ;; 11797 11798 sysv5* | sco3.2v5* | sco5v6*) 11799 # Note: We CANNOT use -z defs as we might desire, because we do not 11800 # link with -lc, and that would cause any symbols used from libc to 11801 # always be unresolved, which means just about no library would 11802 # ever link correctly. If we're not using GNU ld we use -z text 11803 # though, which does catch some bad symbols but isn't as heavy-handed 11804 # as -z defs. 11805 no_undefined_flag='$wl-z,text' 11806 allow_undefined_flag='$wl-z,nodefs' 11807 archive_cmds_need_lc=no 11808 hardcode_shlibpath_var=no 11809 hardcode_libdir_flag_spec='$wl-R,$libdir' 11810 hardcode_libdir_separator=':' 11811 link_all_deplibs=yes 11812 export_dynamic_flag_spec='$wl-Bexport' 11813 runpath_var='LD_RUN_PATH' 11814 11815 if test yes = "$GCC"; then 11816 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11817 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11818 else 11819 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11820 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11821 fi 11822 ;; 11823 11824 uts4*) 11825 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11826 hardcode_libdir_flag_spec='-L$libdir' 11827 hardcode_shlibpath_var=no 11828 ;; 11829 11830 *) 11831 ld_shlibs=no 11832 ;; 11833 esac 11834 11835 if test sni = "$host_vendor"; then 11836 case $host in 11837 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 11838 export_dynamic_flag_spec='$wl-Blargedynsym' 11839 ;; 11840 esac 11841 fi 11842 fi 11843 11844{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 11845$as_echo "$ld_shlibs" >&6; } 11846test no = "$ld_shlibs" && can_build_shared=no 11847 11848with_gnu_ld=$with_gnu_ld 11849 11850 11851 11852 11853 11854 11855 11856 11857 11858 11859 11860 11861 11862 11863 11864# 11865# Do we need to explicitly link libc? 11866# 11867case "x$archive_cmds_need_lc" in 11868x|xyes) 11869 # Assume -lc should be added 11870 archive_cmds_need_lc=yes 11871 11872 if test yes,yes = "$GCC,$enable_shared"; then 11873 case $archive_cmds in 11874 *'~'*) 11875 # FIXME: we may have to deal with multi-command sequences. 11876 ;; 11877 '$CC '*) 11878 # Test whether the compiler implicitly links with -lc since on some 11879 # systems, -lgcc has to come before -lc. If gcc already passes -lc 11880 # to ld, don't add -lc before -lgcc. 11881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 11882$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 11883if ${lt_cv_archive_cmds_need_lc+:} false; then : 11884 $as_echo_n "(cached) " >&6 11885else 11886 $RM conftest* 11887 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 11888 11889 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 11890 (eval $ac_compile) 2>&5 11891 ac_status=$? 11892 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11893 test $ac_status = 0; } 2>conftest.err; then 11894 soname=conftest 11895 lib=conftest 11896 libobjs=conftest.$ac_objext 11897 deplibs= 11898 wl=$lt_prog_compiler_wl 11899 pic_flag=$lt_prog_compiler_pic 11900 compiler_flags=-v 11901 linker_flags=-v 11902 verstring= 11903 output_objdir=. 11904 libname=conftest 11905 lt_save_allow_undefined_flag=$allow_undefined_flag 11906 allow_undefined_flag= 11907 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 11908 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 11909 ac_status=$? 11910 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11911 test $ac_status = 0; } 11912 then 11913 lt_cv_archive_cmds_need_lc=no 11914 else 11915 lt_cv_archive_cmds_need_lc=yes 11916 fi 11917 allow_undefined_flag=$lt_save_allow_undefined_flag 11918 else 11919 cat conftest.err 1>&5 11920 fi 11921 $RM conftest* 11922 11923fi 11924{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 11925$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 11926 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 11927 ;; 11928 esac 11929 fi 11930 ;; 11931esac 11932 11933 11934 11935 11936 11937 11938 11939 11940 11941 11942 11943 11944 11945 11946 11947 11948 11949 11950 11951 11952 11953 11954 11955 11956 11957 11958 11959 11960 11961 11962 11963 11964 11965 11966 11967 11968 11969 11970 11971 11972 11973 11974 11975 11976 11977 11978 11979 11980 11981 11982 11983 11984 11985 11986 11987 11988 11989 11990 11991 11992 11993 11994 11995 11996 11997 11998 11999 12000 12001 12002 12003 12004 12005 12006 12007 12008 12009 12010 12011 12012 12013 12014 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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 12085$as_echo_n "checking dynamic linker characteristics... " >&6; } 12086 12087if test yes = "$GCC"; then 12088 case $host_os in 12089 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;; 12090 *) lt_awk_arg='/^libraries:/' ;; 12091 esac 12092 case $host_os in 12093 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;; 12094 *) lt_sed_strip_eq='s|=/|/|g' ;; 12095 esac 12096 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 12097 case $lt_search_path_spec in 12098 *\;*) 12099 # if the path contains ";" then we assume it to be the separator 12100 # otherwise default to the standard path separator (i.e. ":") - it is 12101 # assumed that no part of a normal pathname contains ";" but that should 12102 # okay in the real world where ";" in dirpaths is itself problematic. 12103 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 12104 ;; 12105 *) 12106 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 12107 ;; 12108 esac 12109 # Ok, now we have the path, separated by spaces, we can step through it 12110 # and add multilib dir if necessary... 12111 lt_tmp_lt_search_path_spec= 12112 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 12113 # ...but if some path component already ends with the multilib dir we assume 12114 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer). 12115 case "$lt_multi_os_dir; $lt_search_path_spec " in 12116 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*) 12117 lt_multi_os_dir= 12118 ;; 12119 esac 12120 for lt_sys_path in $lt_search_path_spec; do 12121 if test -d "$lt_sys_path$lt_multi_os_dir"; then 12122 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir" 12123 elif test -n "$lt_multi_os_dir"; then 12124 test -d "$lt_sys_path" && \ 12125 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 12126 fi 12127 done 12128 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 12129BEGIN {RS = " "; FS = "/|\n";} { 12130 lt_foo = ""; 12131 lt_count = 0; 12132 for (lt_i = NF; lt_i > 0; lt_i--) { 12133 if ($lt_i != "" && $lt_i != ".") { 12134 if ($lt_i == "..") { 12135 lt_count++; 12136 } else { 12137 if (lt_count == 0) { 12138 lt_foo = "/" $lt_i lt_foo; 12139 } else { 12140 lt_count--; 12141 } 12142 } 12143 } 12144 } 12145 if (lt_foo != "") { lt_freq[lt_foo]++; } 12146 if (lt_freq[lt_foo] == 1) { print lt_foo; } 12147}'` 12148 # AWK program above erroneously prepends '/' to C:/dos/paths 12149 # for these hosts. 12150 case $host_os in 12151 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 12152 $SED 's|/\([A-Za-z]:\)|\1|g'` ;; 12153 esac 12154 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 12155else 12156 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 12157fi 12158library_names_spec= 12159libname_spec='lib$name' 12160soname_spec= 12161shrext_cmds=.so 12162postinstall_cmds= 12163postuninstall_cmds= 12164finish_cmds= 12165finish_eval= 12166shlibpath_var= 12167shlibpath_overrides_runpath=unknown 12168version_type=none 12169dynamic_linker="$host_os ld.so" 12170sys_lib_dlsearch_path_spec="/lib /usr/lib" 12171need_lib_prefix=unknown 12172hardcode_into_libs=no 12173 12174# when you set need_version to no, make sure it does not cause -set_version 12175# flags to be left without arguments 12176need_version=unknown 12177 12178 12179 12180case $host_os in 12181aix3*) 12182 version_type=linux # correct to gnu/linux during the next big refactor 12183 library_names_spec='$libname$release$shared_ext$versuffix $libname.a' 12184 shlibpath_var=LIBPATH 12185 12186 # AIX 3 has no versioning support, so we append a major version to the name. 12187 soname_spec='$libname$release$shared_ext$major' 12188 ;; 12189 12190aix[4-9]*) 12191 version_type=linux # correct to gnu/linux during the next big refactor 12192 need_lib_prefix=no 12193 need_version=no 12194 hardcode_into_libs=yes 12195 if test ia64 = "$host_cpu"; then 12196 # AIX 5 supports IA64 12197 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' 12198 shlibpath_var=LD_LIBRARY_PATH 12199 else 12200 # With GCC up to 2.95.x, collect2 would create an import file 12201 # for dependence libraries. The import file would start with 12202 # the line '#! .'. This would cause the generated library to 12203 # depend on '.', always an invalid library. This was fixed in 12204 # development snapshots of GCC prior to 3.0. 12205 case $host_os in 12206 aix4 | aix4.[01] | aix4.[01].*) 12207 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 12208 echo ' yes ' 12209 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then 12210 : 12211 else 12212 can_build_shared=no 12213 fi 12214 ;; 12215 esac 12216 # Using Import Files as archive members, it is possible to support 12217 # filename-based versioning of shared library archives on AIX. While 12218 # this would work for both with and without runtime linking, it will 12219 # prevent static linking of such archives. So we do filename-based 12220 # shared library versioning with .so extension only, which is used 12221 # when both runtime linking and shared linking is enabled. 12222 # Unfortunately, runtime linking may impact performance, so we do 12223 # not want this to be the default eventually. Also, we use the 12224 # versioned .so libs for executables only if there is the -brtl 12225 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. 12226 # To allow for filename-based versioning support, we need to create 12227 # libNAME.so.V as an archive file, containing: 12228 # *) an Import File, referring to the versioned filename of the 12229 # archive as well as the shared archive member, telling the 12230 # bitwidth (32 or 64) of that shared object, and providing the 12231 # list of exported symbols of that shared object, eventually 12232 # decorated with the 'weak' keyword 12233 # *) the shared object with the F_LOADONLY flag set, to really avoid 12234 # it being seen by the linker. 12235 # At run time we better use the real file rather than another symlink, 12236 # but for link time we create the symlink libNAME.so -> libNAME.so.V 12237 12238 case $with_aix_soname,$aix_use_runtimelinking in 12239 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct 12240 # soname into executable. Probably we can add versioning support to 12241 # collect2, so additional links can be useful in future. 12242 aix,yes) # traditional libtool 12243 dynamic_linker='AIX unversionable lib.so' 12244 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 12245 # instead of lib<name>.a to let people know that these are not 12246 # typical AIX shared libraries. 12247 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12248 ;; 12249 aix,no) # traditional AIX only 12250 dynamic_linker='AIX lib.a(lib.so.V)' 12251 # We preserve .a as extension for shared libraries through AIX4.2 12252 # and later when we are not doing run time linking. 12253 library_names_spec='$libname$release.a $libname.a' 12254 soname_spec='$libname$release$shared_ext$major' 12255 ;; 12256 svr4,*) # full svr4 only 12257 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" 12258 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 12259 # We do not specify a path in Import Files, so LIBPATH fires. 12260 shlibpath_overrides_runpath=yes 12261 ;; 12262 *,yes) # both, prefer svr4 12263 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" 12264 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 12265 # unpreferred sharedlib libNAME.a needs extra handling 12266 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"' 12267 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"' 12268 # We do not specify a path in Import Files, so LIBPATH fires. 12269 shlibpath_overrides_runpath=yes 12270 ;; 12271 *,no) # both, prefer aix 12272 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" 12273 library_names_spec='$libname$release.a $libname.a' 12274 soname_spec='$libname$release$shared_ext$major' 12275 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling 12276 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)' 12277 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"' 12278 ;; 12279 esac 12280 shlibpath_var=LIBPATH 12281 fi 12282 ;; 12283 12284amigaos*) 12285 case $host_cpu in 12286 powerpc) 12287 # Since July 2007 AmigaOS4 officially supports .so libraries. 12288 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 12289 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12290 ;; 12291 m68k) 12292 library_names_spec='$libname.ixlibrary $libname.a' 12293 # Create ${libname}_ixlibrary.a entries in /sys/libs. 12294 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' 12295 ;; 12296 esac 12297 ;; 12298 12299beos*) 12300 library_names_spec='$libname$shared_ext' 12301 dynamic_linker="$host_os ld.so" 12302 shlibpath_var=LIBRARY_PATH 12303 ;; 12304 12305bsdi[45]*) 12306 version_type=linux # correct to gnu/linux during the next big refactor 12307 need_version=no 12308 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12309 soname_spec='$libname$release$shared_ext$major' 12310 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 12311 shlibpath_var=LD_LIBRARY_PATH 12312 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 12313 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 12314 # the default ld.so.conf also contains /usr/contrib/lib and 12315 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 12316 # libtool to hard-code these into programs 12317 ;; 12318 12319cygwin* | mingw* | pw32* | cegcc*) 12320 version_type=windows 12321 shrext_cmds=.dll 12322 need_version=no 12323 need_lib_prefix=no 12324 12325 case $GCC,$cc_basename in 12326 yes,*) 12327 # gcc 12328 library_names_spec='$libname.dll.a' 12329 # DLL is installed to $(libdir)/../bin by postinstall_cmds 12330 postinstall_cmds='base_file=`basename \$file`~ 12331 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 12332 dldir=$destdir/`dirname \$dlpath`~ 12333 test -d \$dldir || mkdir -p \$dldir~ 12334 $install_prog $dir/$dlname \$dldir/$dlname~ 12335 chmod a+x \$dldir/$dlname~ 12336 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 12337 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 12338 fi' 12339 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 12340 dlpath=$dir/\$dldll~ 12341 $RM \$dlpath' 12342 shlibpath_overrides_runpath=yes 12343 12344 case $host_os in 12345 cygwin*) 12346 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 12347 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 12348 12349 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 12350 ;; 12351 mingw* | cegcc*) 12352 # MinGW DLLs use traditional 'lib' prefix 12353 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 12354 ;; 12355 pw32*) 12356 # pw32 DLLs use 'pw' prefix rather than 'lib' 12357 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 12358 ;; 12359 esac 12360 dynamic_linker='Win32 ld.exe' 12361 ;; 12362 12363 *,cl*) 12364 # Native MSVC 12365 libname_spec='$name' 12366 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 12367 library_names_spec='$libname.dll.lib' 12368 12369 case $build_os in 12370 mingw*) 12371 sys_lib_search_path_spec= 12372 lt_save_ifs=$IFS 12373 IFS=';' 12374 for lt_path in $LIB 12375 do 12376 IFS=$lt_save_ifs 12377 # Let DOS variable expansion print the short 8.3 style file name. 12378 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 12379 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 12380 done 12381 IFS=$lt_save_ifs 12382 # Convert to MSYS style. 12383 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 12384 ;; 12385 cygwin*) 12386 # Convert to unix form, then to dos form, then back to unix form 12387 # but this time dos style (no spaces!) so that the unix form looks 12388 # like /cygdrive/c/PROGRA~1:/cygdr... 12389 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 12390 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 12391 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 12392 ;; 12393 *) 12394 sys_lib_search_path_spec=$LIB 12395 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 12396 # It is most probably a Windows format PATH. 12397 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 12398 else 12399 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 12400 fi 12401 # FIXME: find the short name or the path components, as spaces are 12402 # common. (e.g. "Program Files" -> "PROGRA~1") 12403 ;; 12404 esac 12405 12406 # DLL is installed to $(libdir)/../bin by postinstall_cmds 12407 postinstall_cmds='base_file=`basename \$file`~ 12408 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 12409 dldir=$destdir/`dirname \$dlpath`~ 12410 test -d \$dldir || mkdir -p \$dldir~ 12411 $install_prog $dir/$dlname \$dldir/$dlname' 12412 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 12413 dlpath=$dir/\$dldll~ 12414 $RM \$dlpath' 12415 shlibpath_overrides_runpath=yes 12416 dynamic_linker='Win32 link.exe' 12417 ;; 12418 12419 *) 12420 # Assume MSVC wrapper 12421 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' 12422 dynamic_linker='Win32 ld.exe' 12423 ;; 12424 esac 12425 # FIXME: first we should search . and the directory the executable is in 12426 shlibpath_var=PATH 12427 ;; 12428 12429darwin* | rhapsody*) 12430 dynamic_linker="$host_os dyld" 12431 version_type=darwin 12432 need_lib_prefix=no 12433 need_version=no 12434 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' 12435 soname_spec='$libname$release$major$shared_ext' 12436 shlibpath_overrides_runpath=yes 12437 shlibpath_var=DYLD_LIBRARY_PATH 12438 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 12439 12440 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 12441 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 12442 ;; 12443 12444dgux*) 12445 version_type=linux # correct to gnu/linux during the next big refactor 12446 need_lib_prefix=no 12447 need_version=no 12448 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12449 soname_spec='$libname$release$shared_ext$major' 12450 shlibpath_var=LD_LIBRARY_PATH 12451 ;; 12452 12453freebsd* | dragonfly*) 12454 # DragonFly does not have aout. When/if they implement a new 12455 # versioning mechanism, adjust this. 12456 if test -x /usr/bin/objformat; then 12457 objformat=`/usr/bin/objformat` 12458 else 12459 case $host_os in 12460 freebsd[23].*) objformat=aout ;; 12461 *) objformat=elf ;; 12462 esac 12463 fi 12464 version_type=freebsd-$objformat 12465 case $version_type in 12466 freebsd-elf*) 12467 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12468 soname_spec='$libname$release$shared_ext$major' 12469 need_version=no 12470 need_lib_prefix=no 12471 ;; 12472 freebsd-*) 12473 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 12474 need_version=yes 12475 ;; 12476 esac 12477 shlibpath_var=LD_LIBRARY_PATH 12478 case $host_os in 12479 freebsd2.*) 12480 shlibpath_overrides_runpath=yes 12481 ;; 12482 freebsd3.[01]* | freebsdelf3.[01]*) 12483 shlibpath_overrides_runpath=yes 12484 hardcode_into_libs=yes 12485 ;; 12486 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 12487 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 12488 shlibpath_overrides_runpath=no 12489 hardcode_into_libs=yes 12490 ;; 12491 *) # from 4.6 on, and DragonFly 12492 shlibpath_overrides_runpath=yes 12493 hardcode_into_libs=yes 12494 ;; 12495 esac 12496 ;; 12497 12498haiku*) 12499 version_type=linux # correct to gnu/linux during the next big refactor 12500 need_lib_prefix=no 12501 need_version=no 12502 dynamic_linker="$host_os runtime_loader" 12503 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12504 soname_spec='$libname$release$shared_ext$major' 12505 shlibpath_var=LIBRARY_PATH 12506 shlibpath_overrides_runpath=no 12507 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 12508 hardcode_into_libs=yes 12509 ;; 12510 12511hpux9* | hpux10* | hpux11*) 12512 # Give a soname corresponding to the major version so that dld.sl refuses to 12513 # link against other versions. 12514 version_type=sunos 12515 need_lib_prefix=no 12516 need_version=no 12517 case $host_cpu in 12518 ia64*) 12519 shrext_cmds='.so' 12520 hardcode_into_libs=yes 12521 dynamic_linker="$host_os dld.so" 12522 shlibpath_var=LD_LIBRARY_PATH 12523 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 12524 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12525 soname_spec='$libname$release$shared_ext$major' 12526 if test 32 = "$HPUX_IA64_MODE"; then 12527 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 12528 sys_lib_dlsearch_path_spec=/usr/lib/hpux32 12529 else 12530 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 12531 sys_lib_dlsearch_path_spec=/usr/lib/hpux64 12532 fi 12533 ;; 12534 hppa*64*) 12535 shrext_cmds='.sl' 12536 hardcode_into_libs=yes 12537 dynamic_linker="$host_os dld.sl" 12538 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 12539 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 12540 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12541 soname_spec='$libname$release$shared_ext$major' 12542 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 12543 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 12544 ;; 12545 *) 12546 shrext_cmds='.sl' 12547 dynamic_linker="$host_os dld.sl" 12548 shlibpath_var=SHLIB_PATH 12549 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 12550 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12551 soname_spec='$libname$release$shared_ext$major' 12552 ;; 12553 esac 12554 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 12555 postinstall_cmds='chmod 555 $lib' 12556 # or fails outright, so override atomically: 12557 install_override_mode=555 12558 ;; 12559 12560interix[3-9]*) 12561 version_type=linux # correct to gnu/linux during the next big refactor 12562 need_lib_prefix=no 12563 need_version=no 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 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 12567 shlibpath_var=LD_LIBRARY_PATH 12568 shlibpath_overrides_runpath=no 12569 hardcode_into_libs=yes 12570 ;; 12571 12572irix5* | irix6* | nonstopux*) 12573 case $host_os in 12574 nonstopux*) version_type=nonstopux ;; 12575 *) 12576 if test yes = "$lt_cv_prog_gnu_ld"; then 12577 version_type=linux # correct to gnu/linux during the next big refactor 12578 else 12579 version_type=irix 12580 fi ;; 12581 esac 12582 need_lib_prefix=no 12583 need_version=no 12584 soname_spec='$libname$release$shared_ext$major' 12585 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' 12586 case $host_os in 12587 irix5* | nonstopux*) 12588 libsuff= shlibsuff= 12589 ;; 12590 *) 12591 case $LD in # libtool.m4 will add one of these switches to LD 12592 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 12593 libsuff= shlibsuff= libmagic=32-bit;; 12594 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 12595 libsuff=32 shlibsuff=N32 libmagic=N32;; 12596 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 12597 libsuff=64 shlibsuff=64 libmagic=64-bit;; 12598 *) libsuff= shlibsuff= libmagic=never-match;; 12599 esac 12600 ;; 12601 esac 12602 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 12603 shlibpath_overrides_runpath=no 12604 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" 12605 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" 12606 hardcode_into_libs=yes 12607 ;; 12608 12609# No shared lib support for Linux oldld, aout, or coff. 12610linux*oldld* | linux*aout* | linux*coff*) 12611 dynamic_linker=no 12612 ;; 12613 12614linux*android*) 12615 version_type=none # Android doesn't support versioned libraries. 12616 need_lib_prefix=no 12617 need_version=no 12618 library_names_spec='$libname$release$shared_ext' 12619 soname_spec='$libname$release$shared_ext' 12620 finish_cmds= 12621 shlibpath_var=LD_LIBRARY_PATH 12622 shlibpath_overrides_runpath=yes 12623 12624 # This implies no fast_install, which is unacceptable. 12625 # Some rework will be needed to allow for fast_install 12626 # before this can be enabled. 12627 hardcode_into_libs=yes 12628 12629 dynamic_linker='Android linker' 12630 # Don't embed -rpath directories since the linker doesn't support them. 12631 hardcode_libdir_flag_spec='-L$libdir' 12632 ;; 12633 12634# This must be glibc/ELF. 12635linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 12636 version_type=linux # correct to gnu/linux during the next big refactor 12637 need_lib_prefix=no 12638 need_version=no 12639 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12640 soname_spec='$libname$release$shared_ext$major' 12641 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 12642 shlibpath_var=LD_LIBRARY_PATH 12643 shlibpath_overrides_runpath=no 12644 12645 # Some binutils ld are patched to set DT_RUNPATH 12646 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 12647 $as_echo_n "(cached) " >&6 12648else 12649 lt_cv_shlibpath_overrides_runpath=no 12650 save_LDFLAGS=$LDFLAGS 12651 save_libdir=$libdir 12652 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 12653 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 12654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12655/* end confdefs.h. */ 12656 12657int 12658main () 12659{ 12660 12661 ; 12662 return 0; 12663} 12664_ACEOF 12665if ac_fn_c_try_link "$LINENO"; then : 12666 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 12667 lt_cv_shlibpath_overrides_runpath=yes 12668fi 12669fi 12670rm -f core conftest.err conftest.$ac_objext \ 12671 conftest$ac_exeext conftest.$ac_ext 12672 LDFLAGS=$save_LDFLAGS 12673 libdir=$save_libdir 12674 12675fi 12676 12677 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 12678 12679 # This implies no fast_install, which is unacceptable. 12680 # Some rework will be needed to allow for fast_install 12681 # before this can be enabled. 12682 hardcode_into_libs=yes 12683 12684 # Add ABI-specific directories to the system library path. 12685 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" 12686 12687 # Ideally, we could use ldconfig to report *all* directores which are 12688 # searched for libraries, however this is still not possible. Aside from not 12689 # being certain /sbin/ldconfig is available, command 12690 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, 12691 # even though it is searched at run-time. Try to do the best guess by 12692 # appending ld.so.conf contents (and includes) to the search path. 12693 if test -f /etc/ld.so.conf; then 12694 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' ' '` 12695 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" 12696 fi 12697 12698 # We used to test for /lib/ld.so.1 and disable shared libraries on 12699 # powerpc, because MkLinux only supported shared libraries with the 12700 # GNU dynamic linker. Since this was broken with cross compilers, 12701 # most powerpc-linux boxes support dynamic linking these days and 12702 # people can always --disable-shared, the test was removed, and we 12703 # assume the GNU/Linux dynamic linker is in use. 12704 dynamic_linker='GNU/Linux ld.so' 12705 ;; 12706 12707netbsd*) 12708 version_type=sunos 12709 need_lib_prefix=no 12710 need_version=no 12711 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 12712 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 12713 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 12714 dynamic_linker='NetBSD (a.out) ld.so' 12715 else 12716 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12717 soname_spec='$libname$release$shared_ext$major' 12718 dynamic_linker='NetBSD ld.elf_so' 12719 fi 12720 shlibpath_var=LD_LIBRARY_PATH 12721 shlibpath_overrides_runpath=yes 12722 hardcode_into_libs=yes 12723 ;; 12724 12725newsos6) 12726 version_type=linux # correct to gnu/linux during the next big refactor 12727 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12728 shlibpath_var=LD_LIBRARY_PATH 12729 shlibpath_overrides_runpath=yes 12730 ;; 12731 12732*nto* | *qnx*) 12733 version_type=qnx 12734 need_lib_prefix=no 12735 need_version=no 12736 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12737 soname_spec='$libname$release$shared_ext$major' 12738 shlibpath_var=LD_LIBRARY_PATH 12739 shlibpath_overrides_runpath=no 12740 hardcode_into_libs=yes 12741 dynamic_linker='ldqnx.so' 12742 ;; 12743 12744openbsd* | bitrig*) 12745 version_type=sunos 12746 sys_lib_dlsearch_path_spec=/usr/lib 12747 need_lib_prefix=no 12748 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 12749 need_version=no 12750 else 12751 need_version=yes 12752 fi 12753 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 12754 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 12755 shlibpath_var=LD_LIBRARY_PATH 12756 shlibpath_overrides_runpath=yes 12757 ;; 12758 12759os2*) 12760 libname_spec='$name' 12761 version_type=windows 12762 shrext_cmds=.dll 12763 need_version=no 12764 need_lib_prefix=no 12765 # OS/2 can only load a DLL with a base name of 8 characters or less. 12766 soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; 12767 v=$($ECHO $release$versuffix | tr -d .-); 12768 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); 12769 $ECHO $n$v`$shared_ext' 12770 library_names_spec='${libname}_dll.$libext' 12771 dynamic_linker='OS/2 ld.exe' 12772 shlibpath_var=BEGINLIBPATH 12773 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 12774 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 12775 postinstall_cmds='base_file=`basename \$file`~ 12776 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ 12777 dldir=$destdir/`dirname \$dlpath`~ 12778 test -d \$dldir || mkdir -p \$dldir~ 12779 $install_prog $dir/$dlname \$dldir/$dlname~ 12780 chmod a+x \$dldir/$dlname~ 12781 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 12782 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 12783 fi' 12784 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ 12785 dlpath=$dir/\$dldll~ 12786 $RM \$dlpath' 12787 ;; 12788 12789osf3* | osf4* | osf5*) 12790 version_type=osf 12791 need_lib_prefix=no 12792 need_version=no 12793 soname_spec='$libname$release$shared_ext$major' 12794 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12795 shlibpath_var=LD_LIBRARY_PATH 12796 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 12797 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 12798 ;; 12799 12800rdos*) 12801 dynamic_linker=no 12802 ;; 12803 12804solaris*) 12805 version_type=linux # correct to gnu/linux during the next big refactor 12806 need_lib_prefix=no 12807 need_version=no 12808 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12809 soname_spec='$libname$release$shared_ext$major' 12810 shlibpath_var=LD_LIBRARY_PATH 12811 shlibpath_overrides_runpath=yes 12812 hardcode_into_libs=yes 12813 # ldd complains unless libraries are executable 12814 postinstall_cmds='chmod +x $lib' 12815 ;; 12816 12817sunos4*) 12818 version_type=sunos 12819 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 12820 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 12821 shlibpath_var=LD_LIBRARY_PATH 12822 shlibpath_overrides_runpath=yes 12823 if test yes = "$with_gnu_ld"; then 12824 need_lib_prefix=no 12825 fi 12826 need_version=yes 12827 ;; 12828 12829sysv4 | sysv4.3*) 12830 version_type=linux # correct to gnu/linux during the next big refactor 12831 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12832 soname_spec='$libname$release$shared_ext$major' 12833 shlibpath_var=LD_LIBRARY_PATH 12834 case $host_vendor in 12835 sni) 12836 shlibpath_overrides_runpath=no 12837 need_lib_prefix=no 12838 runpath_var=LD_RUN_PATH 12839 ;; 12840 siemens) 12841 need_lib_prefix=no 12842 ;; 12843 motorola) 12844 need_lib_prefix=no 12845 need_version=no 12846 shlibpath_overrides_runpath=no 12847 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 12848 ;; 12849 esac 12850 ;; 12851 12852sysv4*MP*) 12853 if test -d /usr/nec; then 12854 version_type=linux # correct to gnu/linux during the next big refactor 12855 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' 12856 soname_spec='$libname$shared_ext.$major' 12857 shlibpath_var=LD_LIBRARY_PATH 12858 fi 12859 ;; 12860 12861sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 12862 version_type=sco 12863 need_lib_prefix=no 12864 need_version=no 12865 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' 12866 soname_spec='$libname$release$shared_ext$major' 12867 shlibpath_var=LD_LIBRARY_PATH 12868 shlibpath_overrides_runpath=yes 12869 hardcode_into_libs=yes 12870 if test yes = "$with_gnu_ld"; then 12871 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 12872 else 12873 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 12874 case $host_os in 12875 sco3.2v5*) 12876 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 12877 ;; 12878 esac 12879 fi 12880 sys_lib_dlsearch_path_spec='/usr/lib' 12881 ;; 12882 12883tpf*) 12884 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 12885 version_type=linux # correct to gnu/linux during the next big refactor 12886 need_lib_prefix=no 12887 need_version=no 12888 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12889 shlibpath_var=LD_LIBRARY_PATH 12890 shlibpath_overrides_runpath=no 12891 hardcode_into_libs=yes 12892 ;; 12893 12894uts4*) 12895 version_type=linux # correct to gnu/linux during the next big refactor 12896 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12897 soname_spec='$libname$release$shared_ext$major' 12898 shlibpath_var=LD_LIBRARY_PATH 12899 ;; 12900 12901*) 12902 dynamic_linker=no 12903 ;; 12904esac 12905{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 12906$as_echo "$dynamic_linker" >&6; } 12907test no = "$dynamic_linker" && can_build_shared=no 12908 12909variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 12910if test yes = "$GCC"; then 12911 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 12912fi 12913 12914if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then 12915 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec 12916fi 12917 12918if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then 12919 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec 12920fi 12921 12922# remember unaugmented sys_lib_dlsearch_path content for libtool script decls... 12923configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec 12924 12925# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code 12926func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" 12927 12928# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool 12929configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH 12930 12931 12932 12933 12934 12935 12936 12937 12938 12939 12940 12941 12942 12943 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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 13028$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 13029hardcode_action= 13030if test -n "$hardcode_libdir_flag_spec" || 13031 test -n "$runpath_var" || 13032 test yes = "$hardcode_automatic"; then 13033 13034 # We can hardcode non-existent directories. 13035 if test no != "$hardcode_direct" && 13036 # If the only mechanism to avoid hardcoding is shlibpath_var, we 13037 # have to relink, otherwise we might link with an installed library 13038 # when we should be linking with a yet-to-be-installed one 13039 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" && 13040 test no != "$hardcode_minus_L"; then 13041 # Linking always hardcodes the temporary library directory. 13042 hardcode_action=relink 13043 else 13044 # We can link without hardcoding, and we can hardcode nonexisting dirs. 13045 hardcode_action=immediate 13046 fi 13047else 13048 # We cannot hardcode anything, or else we can only hardcode existing 13049 # directories. 13050 hardcode_action=unsupported 13051fi 13052{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 13053$as_echo "$hardcode_action" >&6; } 13054 13055if test relink = "$hardcode_action" || 13056 test yes = "$inherit_rpath"; then 13057 # Fast installation is not supported 13058 enable_fast_install=no 13059elif test yes = "$shlibpath_overrides_runpath" || 13060 test no = "$enable_shared"; then 13061 # Fast installation is not necessary 13062 enable_fast_install=needless 13063fi 13064 13065 13066 13067 13068 13069 13070 if test yes != "$enable_dlopen"; then 13071 enable_dlopen=unknown 13072 enable_dlopen_self=unknown 13073 enable_dlopen_self_static=unknown 13074else 13075 lt_cv_dlopen=no 13076 lt_cv_dlopen_libs= 13077 13078 case $host_os in 13079 beos*) 13080 lt_cv_dlopen=load_add_on 13081 lt_cv_dlopen_libs= 13082 lt_cv_dlopen_self=yes 13083 ;; 13084 13085 mingw* | pw32* | cegcc*) 13086 lt_cv_dlopen=LoadLibrary 13087 lt_cv_dlopen_libs= 13088 ;; 13089 13090 cygwin*) 13091 lt_cv_dlopen=dlopen 13092 lt_cv_dlopen_libs= 13093 ;; 13094 13095 darwin*) 13096 # if libdl is installed we need to link against it 13097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 13098$as_echo_n "checking for dlopen in -ldl... " >&6; } 13099if ${ac_cv_lib_dl_dlopen+:} false; then : 13100 $as_echo_n "(cached) " >&6 13101else 13102 ac_check_lib_save_LIBS=$LIBS 13103LIBS="-ldl $LIBS" 13104cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13105/* end confdefs.h. */ 13106 13107/* Override any GCC internal prototype to avoid an error. 13108 Use char because int might match the return type of a GCC 13109 builtin and then its argument prototype would still apply. */ 13110#ifdef __cplusplus 13111extern "C" 13112#endif 13113char dlopen (); 13114int 13115main () 13116{ 13117return dlopen (); 13118 ; 13119 return 0; 13120} 13121_ACEOF 13122if ac_fn_c_try_link "$LINENO"; then : 13123 ac_cv_lib_dl_dlopen=yes 13124else 13125 ac_cv_lib_dl_dlopen=no 13126fi 13127rm -f core conftest.err conftest.$ac_objext \ 13128 conftest$ac_exeext conftest.$ac_ext 13129LIBS=$ac_check_lib_save_LIBS 13130fi 13131{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 13132$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 13133if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 13134 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 13135else 13136 13137 lt_cv_dlopen=dyld 13138 lt_cv_dlopen_libs= 13139 lt_cv_dlopen_self=yes 13140 13141fi 13142 13143 ;; 13144 13145 tpf*) 13146 # Don't try to run any link tests for TPF. We know it's impossible 13147 # because TPF is a cross-compiler, and we know how we open DSOs. 13148 lt_cv_dlopen=dlopen 13149 lt_cv_dlopen_libs= 13150 lt_cv_dlopen_self=no 13151 ;; 13152 13153 *) 13154 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 13155if test "x$ac_cv_func_shl_load" = xyes; then : 13156 lt_cv_dlopen=shl_load 13157else 13158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 13159$as_echo_n "checking for shl_load in -ldld... " >&6; } 13160if ${ac_cv_lib_dld_shl_load+:} false; then : 13161 $as_echo_n "(cached) " >&6 13162else 13163 ac_check_lib_save_LIBS=$LIBS 13164LIBS="-ldld $LIBS" 13165cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13166/* end confdefs.h. */ 13167 13168/* Override any GCC internal prototype to avoid an error. 13169 Use char because int might match the return type of a GCC 13170 builtin and then its argument prototype would still apply. */ 13171#ifdef __cplusplus 13172extern "C" 13173#endif 13174char shl_load (); 13175int 13176main () 13177{ 13178return shl_load (); 13179 ; 13180 return 0; 13181} 13182_ACEOF 13183if ac_fn_c_try_link "$LINENO"; then : 13184 ac_cv_lib_dld_shl_load=yes 13185else 13186 ac_cv_lib_dld_shl_load=no 13187fi 13188rm -f core conftest.err conftest.$ac_objext \ 13189 conftest$ac_exeext conftest.$ac_ext 13190LIBS=$ac_check_lib_save_LIBS 13191fi 13192{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 13193$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 13194if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 13195 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld 13196else 13197 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 13198if test "x$ac_cv_func_dlopen" = xyes; then : 13199 lt_cv_dlopen=dlopen 13200else 13201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 13202$as_echo_n "checking for dlopen in -ldl... " >&6; } 13203if ${ac_cv_lib_dl_dlopen+:} false; then : 13204 $as_echo_n "(cached) " >&6 13205else 13206 ac_check_lib_save_LIBS=$LIBS 13207LIBS="-ldl $LIBS" 13208cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13209/* end confdefs.h. */ 13210 13211/* Override any GCC internal prototype to avoid an error. 13212 Use char because int might match the return type of a GCC 13213 builtin and then its argument prototype would still apply. */ 13214#ifdef __cplusplus 13215extern "C" 13216#endif 13217char dlopen (); 13218int 13219main () 13220{ 13221return dlopen (); 13222 ; 13223 return 0; 13224} 13225_ACEOF 13226if ac_fn_c_try_link "$LINENO"; then : 13227 ac_cv_lib_dl_dlopen=yes 13228else 13229 ac_cv_lib_dl_dlopen=no 13230fi 13231rm -f core conftest.err conftest.$ac_objext \ 13232 conftest$ac_exeext conftest.$ac_ext 13233LIBS=$ac_check_lib_save_LIBS 13234fi 13235{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 13236$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 13237if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 13238 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 13239else 13240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 13241$as_echo_n "checking for dlopen in -lsvld... " >&6; } 13242if ${ac_cv_lib_svld_dlopen+:} false; then : 13243 $as_echo_n "(cached) " >&6 13244else 13245 ac_check_lib_save_LIBS=$LIBS 13246LIBS="-lsvld $LIBS" 13247cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13248/* end confdefs.h. */ 13249 13250/* Override any GCC internal prototype to avoid an error. 13251 Use char because int might match the return type of a GCC 13252 builtin and then its argument prototype would still apply. */ 13253#ifdef __cplusplus 13254extern "C" 13255#endif 13256char dlopen (); 13257int 13258main () 13259{ 13260return dlopen (); 13261 ; 13262 return 0; 13263} 13264_ACEOF 13265if ac_fn_c_try_link "$LINENO"; then : 13266 ac_cv_lib_svld_dlopen=yes 13267else 13268 ac_cv_lib_svld_dlopen=no 13269fi 13270rm -f core conftest.err conftest.$ac_objext \ 13271 conftest$ac_exeext conftest.$ac_ext 13272LIBS=$ac_check_lib_save_LIBS 13273fi 13274{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 13275$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 13276if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 13277 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld 13278else 13279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 13280$as_echo_n "checking for dld_link in -ldld... " >&6; } 13281if ${ac_cv_lib_dld_dld_link+:} false; then : 13282 $as_echo_n "(cached) " >&6 13283else 13284 ac_check_lib_save_LIBS=$LIBS 13285LIBS="-ldld $LIBS" 13286cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13287/* end confdefs.h. */ 13288 13289/* Override any GCC internal prototype to avoid an error. 13290 Use char because int might match the return type of a GCC 13291 builtin and then its argument prototype would still apply. */ 13292#ifdef __cplusplus 13293extern "C" 13294#endif 13295char dld_link (); 13296int 13297main () 13298{ 13299return dld_link (); 13300 ; 13301 return 0; 13302} 13303_ACEOF 13304if ac_fn_c_try_link "$LINENO"; then : 13305 ac_cv_lib_dld_dld_link=yes 13306else 13307 ac_cv_lib_dld_dld_link=no 13308fi 13309rm -f core conftest.err conftest.$ac_objext \ 13310 conftest$ac_exeext conftest.$ac_ext 13311LIBS=$ac_check_lib_save_LIBS 13312fi 13313{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 13314$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 13315if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 13316 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld 13317fi 13318 13319 13320fi 13321 13322 13323fi 13324 13325 13326fi 13327 13328 13329fi 13330 13331 13332fi 13333 13334 ;; 13335 esac 13336 13337 if test no = "$lt_cv_dlopen"; then 13338 enable_dlopen=no 13339 else 13340 enable_dlopen=yes 13341 fi 13342 13343 case $lt_cv_dlopen in 13344 dlopen) 13345 save_CPPFLAGS=$CPPFLAGS 13346 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 13347 13348 save_LDFLAGS=$LDFLAGS 13349 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 13350 13351 save_LIBS=$LIBS 13352 LIBS="$lt_cv_dlopen_libs $LIBS" 13353 13354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 13355$as_echo_n "checking whether a program can dlopen itself... " >&6; } 13356if ${lt_cv_dlopen_self+:} false; then : 13357 $as_echo_n "(cached) " >&6 13358else 13359 if test yes = "$cross_compiling"; then : 13360 lt_cv_dlopen_self=cross 13361else 13362 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 13363 lt_status=$lt_dlunknown 13364 cat > conftest.$ac_ext <<_LT_EOF 13365#line $LINENO "configure" 13366#include "confdefs.h" 13367 13368#if HAVE_DLFCN_H 13369#include <dlfcn.h> 13370#endif 13371 13372#include <stdio.h> 13373 13374#ifdef RTLD_GLOBAL 13375# define LT_DLGLOBAL RTLD_GLOBAL 13376#else 13377# ifdef DL_GLOBAL 13378# define LT_DLGLOBAL DL_GLOBAL 13379# else 13380# define LT_DLGLOBAL 0 13381# endif 13382#endif 13383 13384/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 13385 find out it does not work in some platform. */ 13386#ifndef LT_DLLAZY_OR_NOW 13387# ifdef RTLD_LAZY 13388# define LT_DLLAZY_OR_NOW RTLD_LAZY 13389# else 13390# ifdef DL_LAZY 13391# define LT_DLLAZY_OR_NOW DL_LAZY 13392# else 13393# ifdef RTLD_NOW 13394# define LT_DLLAZY_OR_NOW RTLD_NOW 13395# else 13396# ifdef DL_NOW 13397# define LT_DLLAZY_OR_NOW DL_NOW 13398# else 13399# define LT_DLLAZY_OR_NOW 0 13400# endif 13401# endif 13402# endif 13403# endif 13404#endif 13405 13406/* When -fvisibility=hidden is used, assume the code has been annotated 13407 correspondingly for the symbols needed. */ 13408#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 13409int fnord () __attribute__((visibility("default"))); 13410#endif 13411 13412int fnord () { return 42; } 13413int main () 13414{ 13415 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 13416 int status = $lt_dlunknown; 13417 13418 if (self) 13419 { 13420 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 13421 else 13422 { 13423 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 13424 else puts (dlerror ()); 13425 } 13426 /* dlclose (self); */ 13427 } 13428 else 13429 puts (dlerror ()); 13430 13431 return status; 13432} 13433_LT_EOF 13434 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 13435 (eval $ac_link) 2>&5 13436 ac_status=$? 13437 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13438 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 13439 (./conftest; exit; ) >&5 2>/dev/null 13440 lt_status=$? 13441 case x$lt_status in 13442 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 13443 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 13444 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 13445 esac 13446 else : 13447 # compilation failed 13448 lt_cv_dlopen_self=no 13449 fi 13450fi 13451rm -fr conftest* 13452 13453 13454fi 13455{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 13456$as_echo "$lt_cv_dlopen_self" >&6; } 13457 13458 if test yes = "$lt_cv_dlopen_self"; then 13459 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 13460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 13461$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 13462if ${lt_cv_dlopen_self_static+:} false; then : 13463 $as_echo_n "(cached) " >&6 13464else 13465 if test yes = "$cross_compiling"; then : 13466 lt_cv_dlopen_self_static=cross 13467else 13468 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 13469 lt_status=$lt_dlunknown 13470 cat > conftest.$ac_ext <<_LT_EOF 13471#line $LINENO "configure" 13472#include "confdefs.h" 13473 13474#if HAVE_DLFCN_H 13475#include <dlfcn.h> 13476#endif 13477 13478#include <stdio.h> 13479 13480#ifdef RTLD_GLOBAL 13481# define LT_DLGLOBAL RTLD_GLOBAL 13482#else 13483# ifdef DL_GLOBAL 13484# define LT_DLGLOBAL DL_GLOBAL 13485# else 13486# define LT_DLGLOBAL 0 13487# endif 13488#endif 13489 13490/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 13491 find out it does not work in some platform. */ 13492#ifndef LT_DLLAZY_OR_NOW 13493# ifdef RTLD_LAZY 13494# define LT_DLLAZY_OR_NOW RTLD_LAZY 13495# else 13496# ifdef DL_LAZY 13497# define LT_DLLAZY_OR_NOW DL_LAZY 13498# else 13499# ifdef RTLD_NOW 13500# define LT_DLLAZY_OR_NOW RTLD_NOW 13501# else 13502# ifdef DL_NOW 13503# define LT_DLLAZY_OR_NOW DL_NOW 13504# else 13505# define LT_DLLAZY_OR_NOW 0 13506# endif 13507# endif 13508# endif 13509# endif 13510#endif 13511 13512/* When -fvisibility=hidden is used, assume the code has been annotated 13513 correspondingly for the symbols needed. */ 13514#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 13515int fnord () __attribute__((visibility("default"))); 13516#endif 13517 13518int fnord () { return 42; } 13519int main () 13520{ 13521 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 13522 int status = $lt_dlunknown; 13523 13524 if (self) 13525 { 13526 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 13527 else 13528 { 13529 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 13530 else puts (dlerror ()); 13531 } 13532 /* dlclose (self); */ 13533 } 13534 else 13535 puts (dlerror ()); 13536 13537 return status; 13538} 13539_LT_EOF 13540 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 13541 (eval $ac_link) 2>&5 13542 ac_status=$? 13543 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13544 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 13545 (./conftest; exit; ) >&5 2>/dev/null 13546 lt_status=$? 13547 case x$lt_status in 13548 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 13549 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 13550 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 13551 esac 13552 else : 13553 # compilation failed 13554 lt_cv_dlopen_self_static=no 13555 fi 13556fi 13557rm -fr conftest* 13558 13559 13560fi 13561{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 13562$as_echo "$lt_cv_dlopen_self_static" >&6; } 13563 fi 13564 13565 CPPFLAGS=$save_CPPFLAGS 13566 LDFLAGS=$save_LDFLAGS 13567 LIBS=$save_LIBS 13568 ;; 13569 esac 13570 13571 case $lt_cv_dlopen_self in 13572 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 13573 *) enable_dlopen_self=unknown ;; 13574 esac 13575 13576 case $lt_cv_dlopen_self_static in 13577 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 13578 *) enable_dlopen_self_static=unknown ;; 13579 esac 13580fi 13581 13582 13583 13584 13585 13586 13587 13588 13589 13590 13591 13592 13593 13594 13595 13596 13597 13598striplib= 13599old_striplib= 13600{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 13601$as_echo_n "checking whether stripping libraries is possible... " >&6; } 13602if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 13603 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 13604 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 13605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13606$as_echo "yes" >&6; } 13607else 13608# FIXME - insert some real tests, host_os isn't really good enough 13609 case $host_os in 13610 darwin*) 13611 if test -n "$STRIP"; then 13612 striplib="$STRIP -x" 13613 old_striplib="$STRIP -S" 13614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13615$as_echo "yes" >&6; } 13616 else 13617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13618$as_echo "no" >&6; } 13619 fi 13620 ;; 13621 *) 13622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13623$as_echo "no" >&6; } 13624 ;; 13625 esac 13626fi 13627 13628 13629 13630 13631 13632 13633 13634 13635 13636 13637 13638 13639 # Report what library types will actually be built 13640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 13641$as_echo_n "checking if libtool supports shared libraries... " >&6; } 13642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 13643$as_echo "$can_build_shared" >&6; } 13644 13645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 13646$as_echo_n "checking whether to build shared libraries... " >&6; } 13647 test no = "$can_build_shared" && enable_shared=no 13648 13649 # On AIX, shared libraries and static libraries use the same namespace, and 13650 # are all built from PIC. 13651 case $host_os in 13652 aix3*) 13653 test yes = "$enable_shared" && enable_static=no 13654 if test -n "$RANLIB"; then 13655 archive_cmds="$archive_cmds~\$RANLIB \$lib" 13656 postinstall_cmds='$RANLIB $lib' 13657 fi 13658 ;; 13659 13660 aix[4-9]*) 13661 if test ia64 != "$host_cpu"; then 13662 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in 13663 yes,aix,yes) ;; # shared object as lib.so file only 13664 yes,svr4,*) ;; # shared object as lib.so archive member only 13665 yes,*) enable_static=no ;; # shared object in lib.a archive as well 13666 esac 13667 fi 13668 ;; 13669 esac 13670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 13671$as_echo "$enable_shared" >&6; } 13672 13673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 13674$as_echo_n "checking whether to build static libraries... " >&6; } 13675 # Make sure either enable_shared or enable_static is yes. 13676 test yes = "$enable_shared" || enable_static=yes 13677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 13678$as_echo "$enable_static" >&6; } 13679 13680 13681 13682 13683fi 13684ac_ext=c 13685ac_cpp='$CPP $CPPFLAGS' 13686ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13687ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13688ac_compiler_gnu=$ac_cv_c_compiler_gnu 13689 13690CC=$lt_save_CC 13691 13692 if test -n "$CXX" && ( test no != "$CXX" && 13693 ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) || 13694 (test g++ != "$CXX"))); then 13695 ac_ext=cpp 13696ac_cpp='$CXXCPP $CPPFLAGS' 13697ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13698ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13699ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 13700{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 13701$as_echo_n "checking how to run the C++ preprocessor... " >&6; } 13702if test -z "$CXXCPP"; then 13703 if ${ac_cv_prog_CXXCPP+:} false; then : 13704 $as_echo_n "(cached) " >&6 13705else 13706 # Double quotes because CXXCPP needs to be expanded 13707 for CXXCPP in "$CXX -E" "/lib/cpp" 13708 do 13709 ac_preproc_ok=false 13710for ac_cxx_preproc_warn_flag in '' yes 13711do 13712 # Use a header file that comes with gcc, so configuring glibc 13713 # with a fresh cross-compiler works. 13714 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 13715 # <limits.h> exists even on freestanding compilers. 13716 # On the NeXT, cc -E runs the code through the compiler's parser, 13717 # not just through cpp. "Syntax error" is here to catch this case. 13718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13719/* end confdefs.h. */ 13720#ifdef __STDC__ 13721# include <limits.h> 13722#else 13723# include <assert.h> 13724#endif 13725 Syntax error 13726_ACEOF 13727if ac_fn_cxx_try_cpp "$LINENO"; then : 13728 13729else 13730 # Broken: fails on valid input. 13731continue 13732fi 13733rm -f conftest.err conftest.i conftest.$ac_ext 13734 13735 # OK, works on sane cases. Now check whether nonexistent headers 13736 # can be detected and how. 13737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13738/* end confdefs.h. */ 13739#include <ac_nonexistent.h> 13740_ACEOF 13741if ac_fn_cxx_try_cpp "$LINENO"; then : 13742 # Broken: success on invalid input. 13743continue 13744else 13745 # Passes both tests. 13746ac_preproc_ok=: 13747break 13748fi 13749rm -f conftest.err conftest.i conftest.$ac_ext 13750 13751done 13752# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 13753rm -f conftest.i conftest.err conftest.$ac_ext 13754if $ac_preproc_ok; then : 13755 break 13756fi 13757 13758 done 13759 ac_cv_prog_CXXCPP=$CXXCPP 13760 13761fi 13762 CXXCPP=$ac_cv_prog_CXXCPP 13763else 13764 ac_cv_prog_CXXCPP=$CXXCPP 13765fi 13766{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 13767$as_echo "$CXXCPP" >&6; } 13768ac_preproc_ok=false 13769for ac_cxx_preproc_warn_flag in '' yes 13770do 13771 # Use a header file that comes with gcc, so configuring glibc 13772 # with a fresh cross-compiler works. 13773 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 13774 # <limits.h> exists even on freestanding compilers. 13775 # On the NeXT, cc -E runs the code through the compiler's parser, 13776 # not just through cpp. "Syntax error" is here to catch this case. 13777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13778/* end confdefs.h. */ 13779#ifdef __STDC__ 13780# include <limits.h> 13781#else 13782# include <assert.h> 13783#endif 13784 Syntax error 13785_ACEOF 13786if ac_fn_cxx_try_cpp "$LINENO"; then : 13787 13788else 13789 # Broken: fails on valid input. 13790continue 13791fi 13792rm -f conftest.err conftest.i conftest.$ac_ext 13793 13794 # OK, works on sane cases. Now check whether nonexistent headers 13795 # can be detected and how. 13796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13797/* end confdefs.h. */ 13798#include <ac_nonexistent.h> 13799_ACEOF 13800if ac_fn_cxx_try_cpp "$LINENO"; then : 13801 # Broken: success on invalid input. 13802continue 13803else 13804 # Passes both tests. 13805ac_preproc_ok=: 13806break 13807fi 13808rm -f conftest.err conftest.i conftest.$ac_ext 13809 13810done 13811# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 13812rm -f conftest.i conftest.err conftest.$ac_ext 13813if $ac_preproc_ok; then : 13814 13815else 13816 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 13817$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 13818as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check 13819See \`config.log' for more details" "$LINENO" 5; } 13820fi 13821 13822ac_ext=c 13823ac_cpp='$CPP $CPPFLAGS' 13824ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13825ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13826ac_compiler_gnu=$ac_cv_c_compiler_gnu 13827 13828else 13829 _lt_caught_CXX_error=yes 13830fi 13831 13832ac_ext=cpp 13833ac_cpp='$CXXCPP $CPPFLAGS' 13834ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13835ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13836ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 13837 13838archive_cmds_need_lc_CXX=no 13839allow_undefined_flag_CXX= 13840always_export_symbols_CXX=no 13841archive_expsym_cmds_CXX= 13842compiler_needs_object_CXX=no 13843export_dynamic_flag_spec_CXX= 13844hardcode_direct_CXX=no 13845hardcode_direct_absolute_CXX=no 13846hardcode_libdir_flag_spec_CXX= 13847hardcode_libdir_separator_CXX= 13848hardcode_minus_L_CXX=no 13849hardcode_shlibpath_var_CXX=unsupported 13850hardcode_automatic_CXX=no 13851inherit_rpath_CXX=no 13852module_cmds_CXX= 13853module_expsym_cmds_CXX= 13854link_all_deplibs_CXX=unknown 13855old_archive_cmds_CXX=$old_archive_cmds 13856reload_flag_CXX=$reload_flag 13857reload_cmds_CXX=$reload_cmds 13858no_undefined_flag_CXX= 13859whole_archive_flag_spec_CXX= 13860enable_shared_with_static_runtimes_CXX=no 13861 13862# Source file extension for C++ test sources. 13863ac_ext=cpp 13864 13865# Object file extension for compiled C++ test sources. 13866objext=o 13867objext_CXX=$objext 13868 13869# No sense in running all these tests if we already determined that 13870# the CXX compiler isn't working. Some variables (like enable_shared) 13871# are currently assumed to apply to all compilers on this platform, 13872# and will be corrupted by setting them based on a non-working compiler. 13873if test yes != "$_lt_caught_CXX_error"; then 13874 # Code to be used in simple compile tests 13875 lt_simple_compile_test_code="int some_variable = 0;" 13876 13877 # Code to be used in simple link tests 13878 lt_simple_link_test_code='int main(int, char *[]) { return(0); }' 13879 13880 # ltmain only uses $CC for tagged configurations so make sure $CC is set. 13881 13882 13883 13884 13885 13886 13887# If no C compiler was specified, use CC. 13888LTCC=${LTCC-"$CC"} 13889 13890# If no C compiler flags were specified, use CFLAGS. 13891LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 13892 13893# Allow CC to be a program name with arguments. 13894compiler=$CC 13895 13896 13897 # save warnings/boilerplate of simple test code 13898 ac_outfile=conftest.$ac_objext 13899echo "$lt_simple_compile_test_code" >conftest.$ac_ext 13900eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 13901_lt_compiler_boilerplate=`cat conftest.err` 13902$RM conftest* 13903 13904 ac_outfile=conftest.$ac_objext 13905echo "$lt_simple_link_test_code" >conftest.$ac_ext 13906eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 13907_lt_linker_boilerplate=`cat conftest.err` 13908$RM -r conftest* 13909 13910 13911 # Allow CC to be a program name with arguments. 13912 lt_save_CC=$CC 13913 lt_save_CFLAGS=$CFLAGS 13914 lt_save_LD=$LD 13915 lt_save_GCC=$GCC 13916 GCC=$GXX 13917 lt_save_with_gnu_ld=$with_gnu_ld 13918 lt_save_path_LD=$lt_cv_path_LD 13919 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then 13920 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx 13921 else 13922 $as_unset lt_cv_prog_gnu_ld 13923 fi 13924 if test -n "${lt_cv_path_LDCXX+set}"; then 13925 lt_cv_path_LD=$lt_cv_path_LDCXX 13926 else 13927 $as_unset lt_cv_path_LD 13928 fi 13929 test -z "${LDCXX+set}" || LD=$LDCXX 13930 CC=${CXX-"c++"} 13931 CFLAGS=$CXXFLAGS 13932 compiler=$CC 13933 compiler_CXX=$CC 13934 func_cc_basename $compiler 13935cc_basename=$func_cc_basename_result 13936 13937 13938 if test -n "$compiler"; then 13939 # We don't want -fno-exception when compiling C++ code, so set the 13940 # no_builtin_flag separately 13941 if test yes = "$GXX"; then 13942 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin' 13943 else 13944 lt_prog_compiler_no_builtin_flag_CXX= 13945 fi 13946 13947 if test yes = "$GXX"; then 13948 # Set up default GNU C++ configuration 13949 13950 13951 13952# Check whether --with-gnu-ld was given. 13953if test "${with_gnu_ld+set}" = set; then : 13954 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes 13955else 13956 with_gnu_ld=no 13957fi 13958 13959ac_prog=ld 13960if test yes = "$GCC"; then 13961 # Check if gcc -print-prog-name=ld gives a path. 13962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 13963$as_echo_n "checking for ld used by $CC... " >&6; } 13964 case $host in 13965 *-*-mingw*) 13966 # gcc leaves a trailing carriage return, which upsets mingw 13967 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 13968 *) 13969 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 13970 esac 13971 case $ac_prog in 13972 # Accept absolute paths. 13973 [\\/]* | ?:[\\/]*) 13974 re_direlt='/[^/][^/]*/\.\./' 13975 # Canonicalize the pathname of ld 13976 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 13977 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 13978 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 13979 done 13980 test -z "$LD" && LD=$ac_prog 13981 ;; 13982 "") 13983 # If it fails, then pretend we aren't using GCC. 13984 ac_prog=ld 13985 ;; 13986 *) 13987 # If it is relative, then search for the first ld in PATH. 13988 with_gnu_ld=unknown 13989 ;; 13990 esac 13991elif test yes = "$with_gnu_ld"; then 13992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 13993$as_echo_n "checking for GNU ld... " >&6; } 13994else 13995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 13996$as_echo_n "checking for non-GNU ld... " >&6; } 13997fi 13998if ${lt_cv_path_LD+:} false; then : 13999 $as_echo_n "(cached) " >&6 14000else 14001 if test -z "$LD"; then 14002 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 14003 for ac_dir in $PATH; do 14004 IFS=$lt_save_ifs 14005 test -z "$ac_dir" && ac_dir=. 14006 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 14007 lt_cv_path_LD=$ac_dir/$ac_prog 14008 # Check to see if the program is GNU ld. I'd rather use --version, 14009 # but apparently some variants of GNU ld only accept -v. 14010 # Break only if it was the GNU/non-GNU ld that we prefer. 14011 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 14012 *GNU* | *'with BFD'*) 14013 test no != "$with_gnu_ld" && break 14014 ;; 14015 *) 14016 test yes != "$with_gnu_ld" && break 14017 ;; 14018 esac 14019 fi 14020 done 14021 IFS=$lt_save_ifs 14022else 14023 lt_cv_path_LD=$LD # Let the user override the test with a path. 14024fi 14025fi 14026 14027LD=$lt_cv_path_LD 14028if test -n "$LD"; then 14029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 14030$as_echo "$LD" >&6; } 14031else 14032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14033$as_echo "no" >&6; } 14034fi 14035test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 14036{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 14037$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 14038if ${lt_cv_prog_gnu_ld+:} false; then : 14039 $as_echo_n "(cached) " >&6 14040else 14041 # I'd rather use --version here, but apparently some GNU lds only accept -v. 14042case `$LD -v 2>&1 </dev/null` in 14043*GNU* | *'with BFD'*) 14044 lt_cv_prog_gnu_ld=yes 14045 ;; 14046*) 14047 lt_cv_prog_gnu_ld=no 14048 ;; 14049esac 14050fi 14051{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 14052$as_echo "$lt_cv_prog_gnu_ld" >&6; } 14053with_gnu_ld=$lt_cv_prog_gnu_ld 14054 14055 14056 14057 14058 14059 14060 14061 # Check if GNU C++ uses GNU ld as the underlying linker, since the 14062 # archiving commands below assume that GNU ld is being used. 14063 if test yes = "$with_gnu_ld"; then 14064 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 14065 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' 14066 14067 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 14068 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 14069 14070 # If archive_cmds runs LD, not CC, wlarc should be empty 14071 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to 14072 # investigate it a little bit more. (MM) 14073 wlarc='$wl' 14074 14075 # ancient GNU ld didn't support --whole-archive et. al. 14076 if eval "`$CC -print-prog-name=ld` --help 2>&1" | 14077 $GREP 'no-whole-archive' > /dev/null; then 14078 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 14079 else 14080 whole_archive_flag_spec_CXX= 14081 fi 14082 else 14083 with_gnu_ld=no 14084 wlarc= 14085 14086 # A generic and very simple default shared library creation 14087 # command for GNU C++ for the case where it uses the native 14088 # linker, instead of GNU ld. If possible, this setting should 14089 # overridden to take advantage of the native linker features on 14090 # the platform it is being used on. 14091 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 14092 fi 14093 14094 # Commands to make compiler produce verbose output that lists 14095 # what "hidden" libraries, object files and flags are used when 14096 # linking a shared library. 14097 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 14098 14099 else 14100 GXX=no 14101 with_gnu_ld=no 14102 wlarc= 14103 fi 14104 14105 # PORTME: fill in a description of your system's C++ link characteristics 14106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 14107$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 14108 ld_shlibs_CXX=yes 14109 case $host_os in 14110 aix3*) 14111 # FIXME: insert proper C++ library support 14112 ld_shlibs_CXX=no 14113 ;; 14114 aix[4-9]*) 14115 if test ia64 = "$host_cpu"; then 14116 # On IA64, the linker does run time linking by default, so we don't 14117 # have to do anything special. 14118 aix_use_runtimelinking=no 14119 exp_sym_flag='-Bexport' 14120 no_entry_flag= 14121 else 14122 aix_use_runtimelinking=no 14123 14124 # Test if we are trying to use run time linking or normal 14125 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 14126 # have runtime linking enabled, and use it for executables. 14127 # For shared libraries, we enable/disable runtime linking 14128 # depending on the kind of the shared library created - 14129 # when "with_aix_soname,aix_use_runtimelinking" is: 14130 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables 14131 # "aix,yes" lib.so shared, rtl:yes, for executables 14132 # lib.a static archive 14133 # "both,no" lib.so.V(shr.o) shared, rtl:yes 14134 # lib.a(lib.so.V) shared, rtl:no, for executables 14135 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables 14136 # lib.a(lib.so.V) shared, rtl:no 14137 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables 14138 # lib.a static archive 14139 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 14140 for ld_flag in $LDFLAGS; do 14141 case $ld_flag in 14142 *-brtl*) 14143 aix_use_runtimelinking=yes 14144 break 14145 ;; 14146 esac 14147 done 14148 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then 14149 # With aix-soname=svr4, we create the lib.so.V shared archives only, 14150 # so we don't have lib.a shared libs to link our executables. 14151 # We have to force runtime linking in this case. 14152 aix_use_runtimelinking=yes 14153 LDFLAGS="$LDFLAGS -Wl,-brtl" 14154 fi 14155 ;; 14156 esac 14157 14158 exp_sym_flag='-bexport' 14159 no_entry_flag='-bnoentry' 14160 fi 14161 14162 # When large executables or shared objects are built, AIX ld can 14163 # have problems creating the table of contents. If linking a library 14164 # or program results in "error TOC overflow" add -mminimal-toc to 14165 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 14166 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 14167 14168 archive_cmds_CXX='' 14169 hardcode_direct_CXX=yes 14170 hardcode_direct_absolute_CXX=yes 14171 hardcode_libdir_separator_CXX=':' 14172 link_all_deplibs_CXX=yes 14173 file_list_spec_CXX='$wl-f,' 14174 case $with_aix_soname,$aix_use_runtimelinking in 14175 aix,*) ;; # no import file 14176 svr4,* | *,yes) # use import file 14177 # The Import File defines what to hardcode. 14178 hardcode_direct_CXX=no 14179 hardcode_direct_absolute_CXX=no 14180 ;; 14181 esac 14182 14183 if test yes = "$GXX"; then 14184 case $host_os in aix4.[012]|aix4.[012].*) 14185 # We only want to do this on AIX 4.2 and lower, the check 14186 # below for broken collect2 doesn't work under 4.3+ 14187 collect2name=`$CC -print-prog-name=collect2` 14188 if test -f "$collect2name" && 14189 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 14190 then 14191 # We have reworked collect2 14192 : 14193 else 14194 # We have old collect2 14195 hardcode_direct_CXX=unsupported 14196 # It fails to find uninstalled libraries when the uninstalled 14197 # path is not listed in the libpath. Setting hardcode_minus_L 14198 # to unsupported forces relinking 14199 hardcode_minus_L_CXX=yes 14200 hardcode_libdir_flag_spec_CXX='-L$libdir' 14201 hardcode_libdir_separator_CXX= 14202 fi 14203 esac 14204 shared_flag='-shared' 14205 if test yes = "$aix_use_runtimelinking"; then 14206 shared_flag=$shared_flag' $wl-G' 14207 fi 14208 # Need to ensure runtime linking is disabled for the traditional 14209 # shared library, or the linker may eventually find shared libraries 14210 # /with/ Import File - we do not want to mix them. 14211 shared_flag_aix='-shared' 14212 shared_flag_svr4='-shared $wl-G' 14213 else 14214 # not using gcc 14215 if test ia64 = "$host_cpu"; then 14216 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 14217 # chokes on -Wl,-G. The following line is correct: 14218 shared_flag='-G' 14219 else 14220 if test yes = "$aix_use_runtimelinking"; then 14221 shared_flag='$wl-G' 14222 else 14223 shared_flag='$wl-bM:SRE' 14224 fi 14225 shared_flag_aix='$wl-bM:SRE' 14226 shared_flag_svr4='$wl-G' 14227 fi 14228 fi 14229 14230 export_dynamic_flag_spec_CXX='$wl-bexpall' 14231 # It seems that -bexpall does not export symbols beginning with 14232 # underscore (_), so it is better to generate a list of symbols to 14233 # export. 14234 always_export_symbols_CXX=yes 14235 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then 14236 # Warning - without using the other runtime loading flags (-brtl), 14237 # -berok will link without error, but may produce a broken library. 14238 # The "-G" linker flag allows undefined symbols. 14239 no_undefined_flag_CXX='-bernotok' 14240 # Determine the default libpath from the value encoded in an empty 14241 # executable. 14242 if test set = "${lt_cv_aix_libpath+set}"; then 14243 aix_libpath=$lt_cv_aix_libpath 14244else 14245 if ${lt_cv_aix_libpath__CXX+:} false; then : 14246 $as_echo_n "(cached) " >&6 14247else 14248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14249/* end confdefs.h. */ 14250 14251int 14252main () 14253{ 14254 14255 ; 14256 return 0; 14257} 14258_ACEOF 14259if ac_fn_cxx_try_link "$LINENO"; then : 14260 14261 lt_aix_libpath_sed=' 14262 /Import File Strings/,/^$/ { 14263 /^0/ { 14264 s/^0 *\([^ ]*\) *$/\1/ 14265 p 14266 } 14267 }' 14268 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 14269 # Check for a 64-bit object if we didn't find anything. 14270 if test -z "$lt_cv_aix_libpath__CXX"; then 14271 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 14272 fi 14273fi 14274rm -f core conftest.err conftest.$ac_objext \ 14275 conftest$ac_exeext conftest.$ac_ext 14276 if test -z "$lt_cv_aix_libpath__CXX"; then 14277 lt_cv_aix_libpath__CXX=/usr/lib:/lib 14278 fi 14279 14280fi 14281 14282 aix_libpath=$lt_cv_aix_libpath__CXX 14283fi 14284 14285 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath" 14286 14287 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 14288 else 14289 if test ia64 = "$host_cpu"; then 14290 hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib' 14291 allow_undefined_flag_CXX="-z nodefs" 14292 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" 14293 else 14294 # Determine the default libpath from the value encoded in an 14295 # empty executable. 14296 if test set = "${lt_cv_aix_libpath+set}"; then 14297 aix_libpath=$lt_cv_aix_libpath 14298else 14299 if ${lt_cv_aix_libpath__CXX+:} false; then : 14300 $as_echo_n "(cached) " >&6 14301else 14302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14303/* end confdefs.h. */ 14304 14305int 14306main () 14307{ 14308 14309 ; 14310 return 0; 14311} 14312_ACEOF 14313if ac_fn_cxx_try_link "$LINENO"; then : 14314 14315 lt_aix_libpath_sed=' 14316 /Import File Strings/,/^$/ { 14317 /^0/ { 14318 s/^0 *\([^ ]*\) *$/\1/ 14319 p 14320 } 14321 }' 14322 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 14323 # Check for a 64-bit object if we didn't find anything. 14324 if test -z "$lt_cv_aix_libpath__CXX"; then 14325 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 14326 fi 14327fi 14328rm -f core conftest.err conftest.$ac_objext \ 14329 conftest$ac_exeext conftest.$ac_ext 14330 if test -z "$lt_cv_aix_libpath__CXX"; then 14331 lt_cv_aix_libpath__CXX=/usr/lib:/lib 14332 fi 14333 14334fi 14335 14336 aix_libpath=$lt_cv_aix_libpath__CXX 14337fi 14338 14339 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath" 14340 # Warning - without using the other run time loading flags, 14341 # -berok will link without error, but may produce a broken library. 14342 no_undefined_flag_CXX=' $wl-bernotok' 14343 allow_undefined_flag_CXX=' $wl-berok' 14344 if test yes = "$with_gnu_ld"; then 14345 # We only use this code for GNU lds that support --whole-archive. 14346 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive' 14347 else 14348 # Exported symbols can be pulled into shared objects from archives 14349 whole_archive_flag_spec_CXX='$convenience' 14350 fi 14351 archive_cmds_need_lc_CXX=yes 14352 archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' 14353 # -brtl affects multiple linker settings, -berok does not and is overridden later 14354 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' 14355 if test svr4 != "$with_aix_soname"; then 14356 # This is similar to how AIX traditionally builds its shared 14357 # libraries. Need -bnortl late, we may have -brtl in LDFLAGS. 14358 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' 14359 fi 14360 if test aix != "$with_aix_soname"; then 14361 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' 14362 else 14363 # used by -dlpreopen to get the symbols 14364 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV $output_objdir/$realname.d/$soname $output_objdir' 14365 fi 14366 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d' 14367 fi 14368 fi 14369 ;; 14370 14371 beos*) 14372 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 14373 allow_undefined_flag_CXX=unsupported 14374 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 14375 # support --undefined. This deserves some investigation. FIXME 14376 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 14377 else 14378 ld_shlibs_CXX=no 14379 fi 14380 ;; 14381 14382 chorus*) 14383 case $cc_basename in 14384 *) 14385 # FIXME: insert proper C++ library support 14386 ld_shlibs_CXX=no 14387 ;; 14388 esac 14389 ;; 14390 14391 cygwin* | mingw* | pw32* | cegcc*) 14392 case $GXX,$cc_basename in 14393 ,cl* | no,cl*) 14394 # Native MSVC 14395 # hardcode_libdir_flag_spec is actually meaningless, as there is 14396 # no search path for DLLs. 14397 hardcode_libdir_flag_spec_CXX=' ' 14398 allow_undefined_flag_CXX=unsupported 14399 always_export_symbols_CXX=yes 14400 file_list_spec_CXX='@' 14401 # Tell ltmain to make .lib files, not .a files. 14402 libext=lib 14403 # Tell ltmain to make .dll files, not .so files. 14404 shrext_cmds=.dll 14405 # FIXME: Setting linknames here is a bad hack. 14406 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' 14407 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 14408 cp "$export_symbols" "$output_objdir/$soname.def"; 14409 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; 14410 else 14411 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; 14412 fi~ 14413 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 14414 linknames=' 14415 # The linker will not automatically build a static lib if we build a DLL. 14416 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true' 14417 enable_shared_with_static_runtimes_CXX=yes 14418 # Don't use ranlib 14419 old_postinstall_cmds_CXX='chmod 644 $oldlib' 14420 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~ 14421 lt_tool_outputfile="@TOOL_OUTPUT@"~ 14422 case $lt_outputfile in 14423 *.exe|*.EXE) ;; 14424 *) 14425 lt_outputfile=$lt_outputfile.exe 14426 lt_tool_outputfile=$lt_tool_outputfile.exe 14427 ;; 14428 esac~ 14429 func_to_tool_file "$lt_outputfile"~ 14430 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then 14431 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 14432 $RM "$lt_outputfile.manifest"; 14433 fi' 14434 ;; 14435 *) 14436 # g++ 14437 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, 14438 # as there is no search path for DLLs. 14439 hardcode_libdir_flag_spec_CXX='-L$libdir' 14440 export_dynamic_flag_spec_CXX='$wl--export-all-symbols' 14441 allow_undefined_flag_CXX=unsupported 14442 always_export_symbols_CXX=no 14443 enable_shared_with_static_runtimes_CXX=yes 14444 14445 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 14446 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' 14447 # If the export-symbols file already is a .def file, use it as 14448 # is; otherwise, prepend EXPORTS... 14449 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 14450 cp $export_symbols $output_objdir/$soname.def; 14451 else 14452 echo EXPORTS > $output_objdir/$soname.def; 14453 cat $export_symbols >> $output_objdir/$soname.def; 14454 fi~ 14455 $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' 14456 else 14457 ld_shlibs_CXX=no 14458 fi 14459 ;; 14460 esac 14461 ;; 14462 darwin* | rhapsody*) 14463 14464 14465 archive_cmds_need_lc_CXX=no 14466 hardcode_direct_CXX=no 14467 hardcode_automatic_CXX=yes 14468 hardcode_shlibpath_var_CXX=unsupported 14469 if test yes = "$lt_cv_ld_force_load"; then 14470 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\"`' 14471 14472 else 14473 whole_archive_flag_spec_CXX='' 14474 fi 14475 link_all_deplibs_CXX=yes 14476 allow_undefined_flag_CXX=$_lt_dar_allow_undefined 14477 case $cc_basename in 14478 ifort*|nagfor*) _lt_dar_can_shared=yes ;; 14479 *) _lt_dar_can_shared=$GCC ;; 14480 esac 14481 if test yes = "$_lt_dar_can_shared"; then 14482 output_verbose_link_cmd=func_echo_all 14483 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" 14484 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" 14485 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" 14486 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" 14487 if test yes != "$lt_cv_apple_cc_single_mod"; then 14488 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" 14489 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" 14490 fi 14491 14492 else 14493 ld_shlibs_CXX=no 14494 fi 14495 14496 ;; 14497 14498 os2*) 14499 hardcode_libdir_flag_spec_CXX='-L$libdir' 14500 hardcode_minus_L_CXX=yes 14501 allow_undefined_flag_CXX=unsupported 14502 shrext_cmds=.dll 14503 archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 14504 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 14505 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 14506 $ECHO EXPORTS >> $output_objdir/$libname.def~ 14507 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 14508 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 14509 emximp -o $lib $output_objdir/$libname.def' 14510 archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 14511 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 14512 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 14513 $ECHO EXPORTS >> $output_objdir/$libname.def~ 14514 prefix_cmds="$SED"~ 14515 if test EXPORTS = "`$SED 1q $export_symbols`"; then 14516 prefix_cmds="$prefix_cmds -e 1d"; 14517 fi~ 14518 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 14519 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 14520 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 14521 emximp -o $lib $output_objdir/$libname.def' 14522 old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 14523 enable_shared_with_static_runtimes_CXX=yes 14524 ;; 14525 14526 dgux*) 14527 case $cc_basename in 14528 ec++*) 14529 # FIXME: insert proper C++ library support 14530 ld_shlibs_CXX=no 14531 ;; 14532 ghcx*) 14533 # Green Hills C++ Compiler 14534 # FIXME: insert proper C++ library support 14535 ld_shlibs_CXX=no 14536 ;; 14537 *) 14538 # FIXME: insert proper C++ library support 14539 ld_shlibs_CXX=no 14540 ;; 14541 esac 14542 ;; 14543 14544 freebsd2.*) 14545 # C++ shared libraries reported to be fairly broken before 14546 # switch to ELF 14547 ld_shlibs_CXX=no 14548 ;; 14549 14550 freebsd-elf*) 14551 archive_cmds_need_lc_CXX=no 14552 ;; 14553 14554 freebsd* | dragonfly*) 14555 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF 14556 # conventions 14557 ld_shlibs_CXX=yes 14558 ;; 14559 14560 haiku*) 14561 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 14562 link_all_deplibs_CXX=yes 14563 ;; 14564 14565 hpux9*) 14566 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir' 14567 hardcode_libdir_separator_CXX=: 14568 export_dynamic_flag_spec_CXX='$wl-E' 14569 hardcode_direct_CXX=yes 14570 hardcode_minus_L_CXX=yes # Not in the search PATH, 14571 # but as the default 14572 # location of the library. 14573 14574 case $cc_basename in 14575 CC*) 14576 # FIXME: insert proper C++ library support 14577 ld_shlibs_CXX=no 14578 ;; 14579 aCC*) 14580 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' 14581 # Commands to make compiler produce verbose output that lists 14582 # what "hidden" libraries, object files and flags are used when 14583 # linking a shared library. 14584 # 14585 # There doesn't appear to be a way to prevent this compiler from 14586 # explicitly linking system object files so we need to strip them 14587 # from the output so that they don't get included in the library 14588 # dependencies. 14589 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"' 14590 ;; 14591 *) 14592 if test yes = "$GXX"; then 14593 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' 14594 else 14595 # FIXME: insert proper C++ library support 14596 ld_shlibs_CXX=no 14597 fi 14598 ;; 14599 esac 14600 ;; 14601 14602 hpux10*|hpux11*) 14603 if test no = "$with_gnu_ld"; then 14604 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir' 14605 hardcode_libdir_separator_CXX=: 14606 14607 case $host_cpu in 14608 hppa*64*|ia64*) 14609 ;; 14610 *) 14611 export_dynamic_flag_spec_CXX='$wl-E' 14612 ;; 14613 esac 14614 fi 14615 case $host_cpu in 14616 hppa*64*|ia64*) 14617 hardcode_direct_CXX=no 14618 hardcode_shlibpath_var_CXX=no 14619 ;; 14620 *) 14621 hardcode_direct_CXX=yes 14622 hardcode_direct_absolute_CXX=yes 14623 hardcode_minus_L_CXX=yes # Not in the search PATH, 14624 # but as the default 14625 # location of the library. 14626 ;; 14627 esac 14628 14629 case $cc_basename in 14630 CC*) 14631 # FIXME: insert proper C++ library support 14632 ld_shlibs_CXX=no 14633 ;; 14634 aCC*) 14635 case $host_cpu in 14636 hppa*64*) 14637 archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14638 ;; 14639 ia64*) 14640 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14641 ;; 14642 *) 14643 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14644 ;; 14645 esac 14646 # Commands to make compiler produce verbose output that lists 14647 # what "hidden" libraries, object files and flags are used when 14648 # linking a shared library. 14649 # 14650 # There doesn't appear to be a way to prevent this compiler from 14651 # explicitly linking system object files so we need to strip them 14652 # from the output so that they don't get included in the library 14653 # dependencies. 14654 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"' 14655 ;; 14656 *) 14657 if test yes = "$GXX"; then 14658 if test no = "$with_gnu_ld"; then 14659 case $host_cpu in 14660 hppa*64*) 14661 archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14662 ;; 14663 ia64*) 14664 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14665 ;; 14666 *) 14667 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' 14668 ;; 14669 esac 14670 fi 14671 else 14672 # FIXME: insert proper C++ library support 14673 ld_shlibs_CXX=no 14674 fi 14675 ;; 14676 esac 14677 ;; 14678 14679 interix[3-9]*) 14680 hardcode_direct_CXX=no 14681 hardcode_shlibpath_var_CXX=no 14682 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 14683 export_dynamic_flag_spec_CXX='$wl-E' 14684 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 14685 # Instead, shared libraries are loaded at an image base (0x10000000 by 14686 # default) and relocated if they conflict, which is a slow very memory 14687 # consuming and fragmenting process. To avoid this, we pick a random, 14688 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 14689 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 14690 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' 14691 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' 14692 ;; 14693 irix5* | irix6*) 14694 case $cc_basename in 14695 CC*) 14696 # SGI C++ 14697 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' 14698 14699 # Archives containing C++ object files must be created using 14700 # "CC -ar", where "CC" is the IRIX C++ compiler. This is 14701 # necessary to make sure instantiated templates are included 14702 # in the archive. 14703 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs' 14704 ;; 14705 *) 14706 if test yes = "$GXX"; then 14707 if test no = "$with_gnu_ld"; then 14708 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' 14709 else 14710 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' 14711 fi 14712 fi 14713 link_all_deplibs_CXX=yes 14714 ;; 14715 esac 14716 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 14717 hardcode_libdir_separator_CXX=: 14718 inherit_rpath_CXX=yes 14719 ;; 14720 14721 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 14722 case $cc_basename in 14723 KCC*) 14724 # Kuck and Associates, Inc. (KAI) C++ Compiler 14725 14726 # KCC will only create a shared library if the output file 14727 # ends with ".so" (or ".sl" for HP-UX), so rename the library 14728 # to its proper name (with version) after linking. 14729 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' 14730 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' 14731 # Commands to make compiler produce verbose output that lists 14732 # what "hidden" libraries, object files and flags are used when 14733 # linking a shared library. 14734 # 14735 # There doesn't appear to be a way to prevent this compiler from 14736 # explicitly linking system object files so we need to strip them 14737 # from the output so that they don't get included in the library 14738 # dependencies. 14739 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"' 14740 14741 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 14742 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 14743 14744 # Archives containing C++ object files must be created using 14745 # "CC -Bstatic", where "CC" is the KAI C++ compiler. 14746 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' 14747 ;; 14748 icpc* | ecpc* ) 14749 # Intel C++ 14750 with_gnu_ld=yes 14751 # version 8.0 and above of icpc choke on multiply defined symbols 14752 # if we add $predep_objects and $postdep_objects, however 7.1 and 14753 # earlier do not add the objects themselves. 14754 case `$CC -V 2>&1` in 14755 *"Version 7."*) 14756 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 14757 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' 14758 ;; 14759 *) # Version 8.0 or newer 14760 tmp_idyn= 14761 case $host_cpu in 14762 ia64*) tmp_idyn=' -i_dynamic';; 14763 esac 14764 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 14765 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' 14766 ;; 14767 esac 14768 archive_cmds_need_lc_CXX=no 14769 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 14770 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 14771 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive' 14772 ;; 14773 pgCC* | pgcpp*) 14774 # Portland Group C++ compiler 14775 case `$CC -V` in 14776 *pgCC\ [1-5].* | *pgcpp\ [1-5].*) 14777 prelink_cmds_CXX='tpldir=Template.dir~ 14778 rm -rf $tpldir~ 14779 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~ 14780 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"' 14781 old_archive_cmds_CXX='tpldir=Template.dir~ 14782 rm -rf $tpldir~ 14783 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~ 14784 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~ 14785 $RANLIB $oldlib' 14786 archive_cmds_CXX='tpldir=Template.dir~ 14787 rm -rf $tpldir~ 14788 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ 14789 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 14790 archive_expsym_cmds_CXX='tpldir=Template.dir~ 14791 rm -rf $tpldir~ 14792 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ 14793 $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' 14794 ;; 14795 *) # Version 6 and above use weak symbols 14796 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 14797 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' 14798 ;; 14799 esac 14800 14801 hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir' 14802 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 14803 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' 14804 ;; 14805 cxx*) 14806 # Compaq C++ 14807 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 14808 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' 14809 14810 runpath_var=LD_RUN_PATH 14811 hardcode_libdir_flag_spec_CXX='-rpath $libdir' 14812 hardcode_libdir_separator_CXX=: 14813 14814 # Commands to make compiler produce verbose output that lists 14815 # what "hidden" libraries, object files and flags are used when 14816 # linking a shared library. 14817 # 14818 # There doesn't appear to be a way to prevent this compiler from 14819 # explicitly linking system object files so we need to strip them 14820 # from the output so that they don't get included in the library 14821 # dependencies. 14822 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' 14823 ;; 14824 xl* | mpixl* | bgxl*) 14825 # IBM XL 8.0 on PPC, with GNU ld 14826 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 14827 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 14828 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 14829 if test yes = "$supports_anon_versioning"; then 14830 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~ 14831 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 14832 echo "local: *; };" >> $output_objdir/$libname.ver~ 14833 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' 14834 fi 14835 ;; 14836 *) 14837 case `$CC -V 2>&1 | sed 5q` in 14838 *Sun\ C*) 14839 # Sun C++ 5.9 14840 no_undefined_flag_CXX=' -zdefs' 14841 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14842 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' 14843 hardcode_libdir_flag_spec_CXX='-R$libdir' 14844 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' 14845 compiler_needs_object_CXX=yes 14846 14847 # Not sure whether something based on 14848 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 14849 # would be better. 14850 output_verbose_link_cmd='func_echo_all' 14851 14852 # Archives containing C++ object files must be created using 14853 # "CC -xar", where "CC" is the Sun C++ compiler. This is 14854 # necessary to make sure instantiated templates are included 14855 # in the archive. 14856 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' 14857 ;; 14858 esac 14859 ;; 14860 esac 14861 ;; 14862 14863 lynxos*) 14864 # FIXME: insert proper C++ library support 14865 ld_shlibs_CXX=no 14866 ;; 14867 14868 m88k*) 14869 # FIXME: insert proper C++ library support 14870 ld_shlibs_CXX=no 14871 ;; 14872 14873 mvs*) 14874 case $cc_basename in 14875 cxx*) 14876 # FIXME: insert proper C++ library support 14877 ld_shlibs_CXX=no 14878 ;; 14879 *) 14880 # FIXME: insert proper C++ library support 14881 ld_shlibs_CXX=no 14882 ;; 14883 esac 14884 ;; 14885 14886 netbsd*) 14887 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 14888 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' 14889 wlarc= 14890 hardcode_libdir_flag_spec_CXX='-R$libdir' 14891 hardcode_direct_CXX=yes 14892 hardcode_shlibpath_var_CXX=no 14893 fi 14894 # Workaround some broken pre-1.5 toolchains 14895 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' 14896 ;; 14897 14898 *nto* | *qnx*) 14899 ld_shlibs_CXX=yes 14900 ;; 14901 14902 openbsd* | bitrig*) 14903 if test -f /usr/libexec/ld.so; then 14904 hardcode_direct_CXX=yes 14905 hardcode_shlibpath_var_CXX=no 14906 hardcode_direct_absolute_CXX=yes 14907 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 14908 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 14909 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then 14910 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib' 14911 export_dynamic_flag_spec_CXX='$wl-E' 14912 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 14913 fi 14914 output_verbose_link_cmd=func_echo_all 14915 else 14916 ld_shlibs_CXX=no 14917 fi 14918 ;; 14919 14920 osf3* | osf4* | osf5*) 14921 case $cc_basename in 14922 KCC*) 14923 # Kuck and Associates, Inc. (KAI) C++ Compiler 14924 14925 # KCC will only create a shared library if the output file 14926 # ends with ".so" (or ".sl" for HP-UX), so rename the library 14927 # to its proper name (with version) after linking. 14928 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' 14929 14930 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 14931 hardcode_libdir_separator_CXX=: 14932 14933 # Archives containing C++ object files must be created using 14934 # the KAI C++ compiler. 14935 case $host in 14936 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;; 14937 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;; 14938 esac 14939 ;; 14940 RCC*) 14941 # Rational C++ 2.4.1 14942 # FIXME: insert proper C++ library support 14943 ld_shlibs_CXX=no 14944 ;; 14945 cxx*) 14946 case $host in 14947 osf3*) 14948 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*' 14949 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' 14950 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 14951 ;; 14952 *) 14953 allow_undefined_flag_CXX=' -expect_unresolved \*' 14954 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' 14955 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ 14956 echo "-hidden">> $lib.exp~ 14957 $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~ 14958 $RM $lib.exp' 14959 hardcode_libdir_flag_spec_CXX='-rpath $libdir' 14960 ;; 14961 esac 14962 14963 hardcode_libdir_separator_CXX=: 14964 14965 # Commands to make compiler produce verbose output that lists 14966 # what "hidden" libraries, object files and flags are used when 14967 # linking a shared library. 14968 # 14969 # There doesn't appear to be a way to prevent this compiler from 14970 # explicitly linking system object files so we need to strip them 14971 # from the output so that they don't get included in the library 14972 # dependencies. 14973 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"' 14974 ;; 14975 *) 14976 if test yes,no = "$GXX,$with_gnu_ld"; then 14977 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*' 14978 case $host in 14979 osf3*) 14980 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' 14981 ;; 14982 *) 14983 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' 14984 ;; 14985 esac 14986 14987 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 14988 hardcode_libdir_separator_CXX=: 14989 14990 # Commands to make compiler produce verbose output that lists 14991 # what "hidden" libraries, object files and flags are used when 14992 # linking a shared library. 14993 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 14994 14995 else 14996 # FIXME: insert proper C++ library support 14997 ld_shlibs_CXX=no 14998 fi 14999 ;; 15000 esac 15001 ;; 15002 15003 psos*) 15004 # FIXME: insert proper C++ library support 15005 ld_shlibs_CXX=no 15006 ;; 15007 15008 sunos4*) 15009 case $cc_basename in 15010 CC*) 15011 # Sun C++ 4.x 15012 # FIXME: insert proper C++ library support 15013 ld_shlibs_CXX=no 15014 ;; 15015 lcc*) 15016 # Lucid 15017 # FIXME: insert proper C++ library support 15018 ld_shlibs_CXX=no 15019 ;; 15020 *) 15021 # FIXME: insert proper C++ library support 15022 ld_shlibs_CXX=no 15023 ;; 15024 esac 15025 ;; 15026 15027 solaris*) 15028 case $cc_basename in 15029 CC* | sunCC*) 15030 # Sun C++ 4.2, 5.x and Centerline C++ 15031 archive_cmds_need_lc_CXX=yes 15032 no_undefined_flag_CXX=' -zdefs' 15033 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 15034 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 15035 $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' 15036 15037 hardcode_libdir_flag_spec_CXX='-R$libdir' 15038 hardcode_shlibpath_var_CXX=no 15039 case $host_os in 15040 solaris2.[0-5] | solaris2.[0-5].*) ;; 15041 *) 15042 # The compiler driver will combine and reorder linker options, 15043 # but understands '-z linker_flag'. 15044 # Supported since Solaris 2.6 (maybe 2.5.1?) 15045 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract' 15046 ;; 15047 esac 15048 link_all_deplibs_CXX=yes 15049 15050 output_verbose_link_cmd='func_echo_all' 15051 15052 # Archives containing C++ object files must be created using 15053 # "CC -xar", where "CC" is the Sun C++ compiler. This is 15054 # necessary to make sure instantiated templates are included 15055 # in the archive. 15056 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' 15057 ;; 15058 gcx*) 15059 # Green Hills C++ Compiler 15060 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' 15061 15062 # The C++ compiler must be used to create the archive. 15063 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs' 15064 ;; 15065 *) 15066 # GNU C++ compiler with Solaris linker 15067 if test yes,no = "$GXX,$with_gnu_ld"; then 15068 no_undefined_flag_CXX=' $wl-z ${wl}defs' 15069 if $CC --version | $GREP -v '^2\.7' > /dev/null; then 15070 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' 15071 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 15072 $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' 15073 15074 # Commands to make compiler produce verbose output that lists 15075 # what "hidden" libraries, object files and flags are used when 15076 # linking a shared library. 15077 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 15078 else 15079 # g++ 2.7 appears to require '-G' NOT '-shared' on this 15080 # platform. 15081 archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' 15082 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 15083 $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' 15084 15085 # Commands to make compiler produce verbose output that lists 15086 # what "hidden" libraries, object files and flags are used when 15087 # linking a shared library. 15088 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 15089 fi 15090 15091 hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir' 15092 case $host_os in 15093 solaris2.[0-5] | solaris2.[0-5].*) ;; 15094 *) 15095 whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' 15096 ;; 15097 esac 15098 fi 15099 ;; 15100 esac 15101 ;; 15102 15103 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 15104 no_undefined_flag_CXX='$wl-z,text' 15105 archive_cmds_need_lc_CXX=no 15106 hardcode_shlibpath_var_CXX=no 15107 runpath_var='LD_RUN_PATH' 15108 15109 case $cc_basename in 15110 CC*) 15111 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15112 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15113 ;; 15114 *) 15115 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15116 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15117 ;; 15118 esac 15119 ;; 15120 15121 sysv5* | sco3.2v5* | sco5v6*) 15122 # Note: We CANNOT use -z defs as we might desire, because we do not 15123 # link with -lc, and that would cause any symbols used from libc to 15124 # always be unresolved, which means just about no library would 15125 # ever link correctly. If we're not using GNU ld we use -z text 15126 # though, which does catch some bad symbols but isn't as heavy-handed 15127 # as -z defs. 15128 no_undefined_flag_CXX='$wl-z,text' 15129 allow_undefined_flag_CXX='$wl-z,nodefs' 15130 archive_cmds_need_lc_CXX=no 15131 hardcode_shlibpath_var_CXX=no 15132 hardcode_libdir_flag_spec_CXX='$wl-R,$libdir' 15133 hardcode_libdir_separator_CXX=':' 15134 link_all_deplibs_CXX=yes 15135 export_dynamic_flag_spec_CXX='$wl-Bexport' 15136 runpath_var='LD_RUN_PATH' 15137 15138 case $cc_basename in 15139 CC*) 15140 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15141 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15142 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~ 15143 '"$old_archive_cmds_CXX" 15144 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~ 15145 '"$reload_cmds_CXX" 15146 ;; 15147 *) 15148 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15149 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15150 ;; 15151 esac 15152 ;; 15153 15154 tandem*) 15155 case $cc_basename in 15156 NCC*) 15157 # NonStop-UX NCC 3.20 15158 # FIXME: insert proper C++ library support 15159 ld_shlibs_CXX=no 15160 ;; 15161 *) 15162 # FIXME: insert proper C++ library support 15163 ld_shlibs_CXX=no 15164 ;; 15165 esac 15166 ;; 15167 15168 vxworks*) 15169 # FIXME: insert proper C++ library support 15170 ld_shlibs_CXX=no 15171 ;; 15172 15173 *) 15174 # FIXME: insert proper C++ library support 15175 ld_shlibs_CXX=no 15176 ;; 15177 esac 15178 15179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 15180$as_echo "$ld_shlibs_CXX" >&6; } 15181 test no = "$ld_shlibs_CXX" && can_build_shared=no 15182 15183 GCC_CXX=$GXX 15184 LD_CXX=$LD 15185 15186 ## CAVEAT EMPTOR: 15187 ## There is no encapsulation within the following macros, do not change 15188 ## the running order or otherwise move them around unless you know exactly 15189 ## what you are doing... 15190 # Dependencies to place before and after the object being linked: 15191predep_objects_CXX= 15192postdep_objects_CXX= 15193predeps_CXX= 15194postdeps_CXX= 15195compiler_lib_search_path_CXX= 15196 15197cat > conftest.$ac_ext <<_LT_EOF 15198class Foo 15199{ 15200public: 15201 Foo (void) { a = 0; } 15202private: 15203 int a; 15204}; 15205_LT_EOF 15206 15207 15208_lt_libdeps_save_CFLAGS=$CFLAGS 15209case "$CC $CFLAGS " in #( 15210*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;; 15211*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;; 15212*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;; 15213esac 15214 15215if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 15216 (eval $ac_compile) 2>&5 15217 ac_status=$? 15218 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15219 test $ac_status = 0; }; then 15220 # Parse the compiler output and extract the necessary 15221 # objects, libraries and library flags. 15222 15223 # Sentinel used to keep track of whether or not we are before 15224 # the conftest object file. 15225 pre_test_object_deps_done=no 15226 15227 for p in `eval "$output_verbose_link_cmd"`; do 15228 case $prev$p in 15229 15230 -L* | -R* | -l*) 15231 # Some compilers place space between "-{L,R}" and the path. 15232 # Remove the space. 15233 if test x-L = "$p" || 15234 test x-R = "$p"; then 15235 prev=$p 15236 continue 15237 fi 15238 15239 # Expand the sysroot to ease extracting the directories later. 15240 if test -z "$prev"; then 15241 case $p in 15242 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;; 15243 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;; 15244 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;; 15245 esac 15246 fi 15247 case $p in 15248 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;; 15249 esac 15250 if test no = "$pre_test_object_deps_done"; then 15251 case $prev in 15252 -L | -R) 15253 # Internal compiler library paths should come after those 15254 # provided the user. The postdeps already come after the 15255 # user supplied libs so there is no need to process them. 15256 if test -z "$compiler_lib_search_path_CXX"; then 15257 compiler_lib_search_path_CXX=$prev$p 15258 else 15259 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p" 15260 fi 15261 ;; 15262 # The "-l" case would never come before the object being 15263 # linked, so don't bother handling this case. 15264 esac 15265 else 15266 if test -z "$postdeps_CXX"; then 15267 postdeps_CXX=$prev$p 15268 else 15269 postdeps_CXX="${postdeps_CXX} $prev$p" 15270 fi 15271 fi 15272 prev= 15273 ;; 15274 15275 *.lto.$objext) ;; # Ignore GCC LTO objects 15276 *.$objext) 15277 # This assumes that the test object file only shows up 15278 # once in the compiler output. 15279 if test "$p" = "conftest.$objext"; then 15280 pre_test_object_deps_done=yes 15281 continue 15282 fi 15283 15284 if test no = "$pre_test_object_deps_done"; then 15285 if test -z "$predep_objects_CXX"; then 15286 predep_objects_CXX=$p 15287 else 15288 predep_objects_CXX="$predep_objects_CXX $p" 15289 fi 15290 else 15291 if test -z "$postdep_objects_CXX"; then 15292 postdep_objects_CXX=$p 15293 else 15294 postdep_objects_CXX="$postdep_objects_CXX $p" 15295 fi 15296 fi 15297 ;; 15298 15299 *) ;; # Ignore the rest. 15300 15301 esac 15302 done 15303 15304 # Clean up. 15305 rm -f a.out a.exe 15306else 15307 echo "libtool.m4: error: problem compiling CXX test program" 15308fi 15309 15310$RM -f confest.$objext 15311CFLAGS=$_lt_libdeps_save_CFLAGS 15312 15313# PORTME: override above test on systems where it is broken 15314case $host_os in 15315interix[3-9]*) 15316 # Interix 3.5 installs completely hosed .la files for C++, so rather than 15317 # hack all around it, let's just trust "g++" to DTRT. 15318 predep_objects_CXX= 15319 postdep_objects_CXX= 15320 postdeps_CXX= 15321 ;; 15322esac 15323 15324 15325case " $postdeps_CXX " in 15326*" -lc "*) archive_cmds_need_lc_CXX=no ;; 15327esac 15328 compiler_lib_search_dirs_CXX= 15329if test -n "${compiler_lib_search_path_CXX}"; then 15330 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'` 15331fi 15332 15333 15334 15335 15336 15337 15338 15339 15340 15341 15342 15343 15344 15345 15346 15347 15348 15349 15350 15351 15352 15353 15354 15355 15356 15357 15358 15359 15360 15361 15362 15363 lt_prog_compiler_wl_CXX= 15364lt_prog_compiler_pic_CXX= 15365lt_prog_compiler_static_CXX= 15366 15367 15368 # C++ specific cases for pic, static, wl, etc. 15369 if test yes = "$GXX"; then 15370 lt_prog_compiler_wl_CXX='-Wl,' 15371 lt_prog_compiler_static_CXX='-static' 15372 15373 case $host_os in 15374 aix*) 15375 # All AIX code is PIC. 15376 if test ia64 = "$host_cpu"; then 15377 # AIX 5 now supports IA64 processor 15378 lt_prog_compiler_static_CXX='-Bstatic' 15379 fi 15380 lt_prog_compiler_pic_CXX='-fPIC' 15381 ;; 15382 15383 amigaos*) 15384 case $host_cpu in 15385 powerpc) 15386 # see comment about AmigaOS4 .so support 15387 lt_prog_compiler_pic_CXX='-fPIC' 15388 ;; 15389 m68k) 15390 # FIXME: we need at least 68020 code to build shared libraries, but 15391 # adding the '-m68020' flag to GCC prevents building anything better, 15392 # like '-m68040'. 15393 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4' 15394 ;; 15395 esac 15396 ;; 15397 15398 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 15399 # PIC is the default for these OSes. 15400 ;; 15401 mingw* | cygwin* | os2* | pw32* | cegcc*) 15402 # This hack is so that the source file can tell whether it is being 15403 # built for inclusion in a dll (and should export symbols for example). 15404 # Although the cygwin gcc ignores -fPIC, still need this for old-style 15405 # (--disable-auto-import) libraries 15406 lt_prog_compiler_pic_CXX='-DDLL_EXPORT' 15407 case $host_os in 15408 os2*) 15409 lt_prog_compiler_static_CXX='$wl-static' 15410 ;; 15411 esac 15412 ;; 15413 darwin* | rhapsody*) 15414 # PIC is the default on this platform 15415 # Common symbols not allowed in MH_DYLIB files 15416 lt_prog_compiler_pic_CXX='-fno-common' 15417 ;; 15418 *djgpp*) 15419 # DJGPP does not support shared libraries at all 15420 lt_prog_compiler_pic_CXX= 15421 ;; 15422 haiku*) 15423 # PIC is the default for Haiku. 15424 # The "-static" flag exists, but is broken. 15425 lt_prog_compiler_static_CXX= 15426 ;; 15427 interix[3-9]*) 15428 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 15429 # Instead, we relocate shared libraries at runtime. 15430 ;; 15431 sysv4*MP*) 15432 if test -d /usr/nec; then 15433 lt_prog_compiler_pic_CXX=-Kconform_pic 15434 fi 15435 ;; 15436 hpux*) 15437 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 15438 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 15439 # sets the default TLS model and affects inlining. 15440 case $host_cpu in 15441 hppa*64*) 15442 ;; 15443 *) 15444 lt_prog_compiler_pic_CXX='-fPIC' 15445 ;; 15446 esac 15447 ;; 15448 *qnx* | *nto*) 15449 # QNX uses GNU C++, but need to define -shared option too, otherwise 15450 # it will coredump. 15451 lt_prog_compiler_pic_CXX='-fPIC -shared' 15452 ;; 15453 *) 15454 lt_prog_compiler_pic_CXX='-fPIC' 15455 ;; 15456 esac 15457 else 15458 case $host_os in 15459 aix[4-9]*) 15460 # All AIX code is PIC. 15461 if test ia64 = "$host_cpu"; then 15462 # AIX 5 now supports IA64 processor 15463 lt_prog_compiler_static_CXX='-Bstatic' 15464 else 15465 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp' 15466 fi 15467 ;; 15468 chorus*) 15469 case $cc_basename in 15470 cxch68*) 15471 # Green Hills C++ Compiler 15472 # _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" 15473 ;; 15474 esac 15475 ;; 15476 mingw* | cygwin* | os2* | pw32* | cegcc*) 15477 # This hack is so that the source file can tell whether it is being 15478 # built for inclusion in a dll (and should export symbols for example). 15479 lt_prog_compiler_pic_CXX='-DDLL_EXPORT' 15480 ;; 15481 dgux*) 15482 case $cc_basename in 15483 ec++*) 15484 lt_prog_compiler_pic_CXX='-KPIC' 15485 ;; 15486 ghcx*) 15487 # Green Hills C++ Compiler 15488 lt_prog_compiler_pic_CXX='-pic' 15489 ;; 15490 *) 15491 ;; 15492 esac 15493 ;; 15494 freebsd* | dragonfly*) 15495 # FreeBSD uses GNU C++ 15496 ;; 15497 hpux9* | hpux10* | hpux11*) 15498 case $cc_basename in 15499 CC*) 15500 lt_prog_compiler_wl_CXX='-Wl,' 15501 lt_prog_compiler_static_CXX='$wl-a ${wl}archive' 15502 if test ia64 != "$host_cpu"; then 15503 lt_prog_compiler_pic_CXX='+Z' 15504 fi 15505 ;; 15506 aCC*) 15507 lt_prog_compiler_wl_CXX='-Wl,' 15508 lt_prog_compiler_static_CXX='$wl-a ${wl}archive' 15509 case $host_cpu in 15510 hppa*64*|ia64*) 15511 # +Z the default 15512 ;; 15513 *) 15514 lt_prog_compiler_pic_CXX='+Z' 15515 ;; 15516 esac 15517 ;; 15518 *) 15519 ;; 15520 esac 15521 ;; 15522 interix*) 15523 # This is c89, which is MS Visual C++ (no shared libs) 15524 # Anyone wants to do a port? 15525 ;; 15526 irix5* | irix6* | nonstopux*) 15527 case $cc_basename in 15528 CC*) 15529 lt_prog_compiler_wl_CXX='-Wl,' 15530 lt_prog_compiler_static_CXX='-non_shared' 15531 # CC pic flag -KPIC is the default. 15532 ;; 15533 *) 15534 ;; 15535 esac 15536 ;; 15537 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 15538 case $cc_basename in 15539 KCC*) 15540 # KAI C++ Compiler 15541 lt_prog_compiler_wl_CXX='--backend -Wl,' 15542 lt_prog_compiler_pic_CXX='-fPIC' 15543 ;; 15544 ecpc* ) 15545 # old Intel C++ for x86_64, which still supported -KPIC. 15546 lt_prog_compiler_wl_CXX='-Wl,' 15547 lt_prog_compiler_pic_CXX='-KPIC' 15548 lt_prog_compiler_static_CXX='-static' 15549 ;; 15550 icpc* ) 15551 # Intel C++, used to be incompatible with GCC. 15552 # ICC 10 doesn't accept -KPIC any more. 15553 lt_prog_compiler_wl_CXX='-Wl,' 15554 lt_prog_compiler_pic_CXX='-fPIC' 15555 lt_prog_compiler_static_CXX='-static' 15556 ;; 15557 pgCC* | pgcpp*) 15558 # Portland Group C++ compiler 15559 lt_prog_compiler_wl_CXX='-Wl,' 15560 lt_prog_compiler_pic_CXX='-fpic' 15561 lt_prog_compiler_static_CXX='-Bstatic' 15562 ;; 15563 cxx*) 15564 # Compaq C++ 15565 # Make sure the PIC flag is empty. It appears that all Alpha 15566 # Linux and Compaq Tru64 Unix objects are PIC. 15567 lt_prog_compiler_pic_CXX= 15568 lt_prog_compiler_static_CXX='-non_shared' 15569 ;; 15570 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*) 15571 # IBM XL 8.0, 9.0 on PPC and BlueGene 15572 lt_prog_compiler_wl_CXX='-Wl,' 15573 lt_prog_compiler_pic_CXX='-qpic' 15574 lt_prog_compiler_static_CXX='-qstaticlink' 15575 ;; 15576 *) 15577 case `$CC -V 2>&1 | sed 5q` in 15578 *Sun\ C*) 15579 # Sun C++ 5.9 15580 lt_prog_compiler_pic_CXX='-KPIC' 15581 lt_prog_compiler_static_CXX='-Bstatic' 15582 lt_prog_compiler_wl_CXX='-Qoption ld ' 15583 ;; 15584 esac 15585 ;; 15586 esac 15587 ;; 15588 lynxos*) 15589 ;; 15590 m88k*) 15591 ;; 15592 mvs*) 15593 case $cc_basename in 15594 cxx*) 15595 lt_prog_compiler_pic_CXX='-W c,exportall' 15596 ;; 15597 *) 15598 ;; 15599 esac 15600 ;; 15601 netbsd*) 15602 ;; 15603 *qnx* | *nto*) 15604 # QNX uses GNU C++, but need to define -shared option too, otherwise 15605 # it will coredump. 15606 lt_prog_compiler_pic_CXX='-fPIC -shared' 15607 ;; 15608 osf3* | osf4* | osf5*) 15609 case $cc_basename in 15610 KCC*) 15611 lt_prog_compiler_wl_CXX='--backend -Wl,' 15612 ;; 15613 RCC*) 15614 # Rational C++ 2.4.1 15615 lt_prog_compiler_pic_CXX='-pic' 15616 ;; 15617 cxx*) 15618 # Digital/Compaq C++ 15619 lt_prog_compiler_wl_CXX='-Wl,' 15620 # Make sure the PIC flag is empty. It appears that all Alpha 15621 # Linux and Compaq Tru64 Unix objects are PIC. 15622 lt_prog_compiler_pic_CXX= 15623 lt_prog_compiler_static_CXX='-non_shared' 15624 ;; 15625 *) 15626 ;; 15627 esac 15628 ;; 15629 psos*) 15630 ;; 15631 solaris*) 15632 case $cc_basename in 15633 CC* | sunCC*) 15634 # Sun C++ 4.2, 5.x and Centerline C++ 15635 lt_prog_compiler_pic_CXX='-KPIC' 15636 lt_prog_compiler_static_CXX='-Bstatic' 15637 lt_prog_compiler_wl_CXX='-Qoption ld ' 15638 ;; 15639 gcx*) 15640 # Green Hills C++ Compiler 15641 lt_prog_compiler_pic_CXX='-PIC' 15642 ;; 15643 *) 15644 ;; 15645 esac 15646 ;; 15647 sunos4*) 15648 case $cc_basename in 15649 CC*) 15650 # Sun C++ 4.x 15651 lt_prog_compiler_pic_CXX='-pic' 15652 lt_prog_compiler_static_CXX='-Bstatic' 15653 ;; 15654 lcc*) 15655 # Lucid 15656 lt_prog_compiler_pic_CXX='-pic' 15657 ;; 15658 *) 15659 ;; 15660 esac 15661 ;; 15662 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 15663 case $cc_basename in 15664 CC*) 15665 lt_prog_compiler_wl_CXX='-Wl,' 15666 lt_prog_compiler_pic_CXX='-KPIC' 15667 lt_prog_compiler_static_CXX='-Bstatic' 15668 ;; 15669 esac 15670 ;; 15671 tandem*) 15672 case $cc_basename in 15673 NCC*) 15674 # NonStop-UX NCC 3.20 15675 lt_prog_compiler_pic_CXX='-KPIC' 15676 ;; 15677 *) 15678 ;; 15679 esac 15680 ;; 15681 vxworks*) 15682 ;; 15683 *) 15684 lt_prog_compiler_can_build_shared_CXX=no 15685 ;; 15686 esac 15687 fi 15688 15689case $host_os in 15690 # For platforms that do not support PIC, -DPIC is meaningless: 15691 *djgpp*) 15692 lt_prog_compiler_pic_CXX= 15693 ;; 15694 *) 15695 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" 15696 ;; 15697esac 15698 15699{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 15700$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 15701if ${lt_cv_prog_compiler_pic_CXX+:} false; then : 15702 $as_echo_n "(cached) " >&6 15703else 15704 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX 15705fi 15706{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5 15707$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; } 15708lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX 15709 15710# 15711# Check to make sure the PIC flag actually works. 15712# 15713if test -n "$lt_prog_compiler_pic_CXX"; then 15714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 15715$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; } 15716if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then : 15717 $as_echo_n "(cached) " >&6 15718else 15719 lt_cv_prog_compiler_pic_works_CXX=no 15720 ac_outfile=conftest.$ac_objext 15721 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 15722 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" ## exclude from sc_useless_quotes_in_assignment 15723 # Insert the option either (1) after the last *FLAGS variable, or 15724 # (2) before a word containing "conftest.", or (3) at the end. 15725 # Note that $ac_compile itself does not contain backslashes and begins 15726 # with a dollar sign (not a hyphen), so the echo should work correctly. 15727 # The option is referenced via a variable to avoid confusing sed. 15728 lt_compile=`echo "$ac_compile" | $SED \ 15729 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 15730 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 15731 -e 's:$: $lt_compiler_flag:'` 15732 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 15733 (eval "$lt_compile" 2>conftest.err) 15734 ac_status=$? 15735 cat conftest.err >&5 15736 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15737 if (exit $ac_status) && test -s "$ac_outfile"; then 15738 # The compiler can only warn and ignore the option if not recognized 15739 # So say no if there are warnings other than the usual output. 15740 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 15741 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 15742 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 15743 lt_cv_prog_compiler_pic_works_CXX=yes 15744 fi 15745 fi 15746 $RM conftest* 15747 15748fi 15749{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5 15750$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; } 15751 15752if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then 15753 case $lt_prog_compiler_pic_CXX in 15754 "" | " "*) ;; 15755 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;; 15756 esac 15757else 15758 lt_prog_compiler_pic_CXX= 15759 lt_prog_compiler_can_build_shared_CXX=no 15760fi 15761 15762fi 15763 15764 15765 15766 15767 15768# 15769# Check to make sure the static flag actually works. 15770# 15771wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\" 15772{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 15773$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 15774if ${lt_cv_prog_compiler_static_works_CXX+:} false; then : 15775 $as_echo_n "(cached) " >&6 15776else 15777 lt_cv_prog_compiler_static_works_CXX=no 15778 save_LDFLAGS=$LDFLAGS 15779 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 15780 echo "$lt_simple_link_test_code" > conftest.$ac_ext 15781 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 15782 # The linker can only warn and ignore the option if not recognized 15783 # So say no if there are warnings 15784 if test -s conftest.err; then 15785 # Append any errors to the config.log. 15786 cat conftest.err 1>&5 15787 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 15788 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 15789 if diff conftest.exp conftest.er2 >/dev/null; then 15790 lt_cv_prog_compiler_static_works_CXX=yes 15791 fi 15792 else 15793 lt_cv_prog_compiler_static_works_CXX=yes 15794 fi 15795 fi 15796 $RM -r conftest* 15797 LDFLAGS=$save_LDFLAGS 15798 15799fi 15800{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5 15801$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; } 15802 15803if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then 15804 : 15805else 15806 lt_prog_compiler_static_CXX= 15807fi 15808 15809 15810 15811 15812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 15813$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 15814if ${lt_cv_prog_compiler_c_o_CXX+:} false; then : 15815 $as_echo_n "(cached) " >&6 15816else 15817 lt_cv_prog_compiler_c_o_CXX=no 15818 $RM -r conftest 2>/dev/null 15819 mkdir conftest 15820 cd conftest 15821 mkdir out 15822 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 15823 15824 lt_compiler_flag="-o out/conftest2.$ac_objext" 15825 # Insert the option either (1) after the last *FLAGS variable, or 15826 # (2) before a word containing "conftest.", or (3) at the end. 15827 # Note that $ac_compile itself does not contain backslashes and begins 15828 # with a dollar sign (not a hyphen), so the echo should work correctly. 15829 lt_compile=`echo "$ac_compile" | $SED \ 15830 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 15831 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 15832 -e 's:$: $lt_compiler_flag:'` 15833 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 15834 (eval "$lt_compile" 2>out/conftest.err) 15835 ac_status=$? 15836 cat out/conftest.err >&5 15837 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15838 if (exit $ac_status) && test -s out/conftest2.$ac_objext 15839 then 15840 # The compiler can only warn and ignore the option if not recognized 15841 # So say no if there are warnings 15842 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 15843 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 15844 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 15845 lt_cv_prog_compiler_c_o_CXX=yes 15846 fi 15847 fi 15848 chmod u+w . 2>&5 15849 $RM conftest* 15850 # SGI C++ compiler will create directory out/ii_files/ for 15851 # template instantiation 15852 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 15853 $RM out/* && rmdir out 15854 cd .. 15855 $RM -r conftest 15856 $RM conftest* 15857 15858fi 15859{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 15860$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } 15861 15862 15863 15864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 15865$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 15866if ${lt_cv_prog_compiler_c_o_CXX+:} false; then : 15867 $as_echo_n "(cached) " >&6 15868else 15869 lt_cv_prog_compiler_c_o_CXX=no 15870 $RM -r conftest 2>/dev/null 15871 mkdir conftest 15872 cd conftest 15873 mkdir out 15874 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 15875 15876 lt_compiler_flag="-o out/conftest2.$ac_objext" 15877 # Insert the option either (1) after the last *FLAGS variable, or 15878 # (2) before a word containing "conftest.", or (3) at the end. 15879 # Note that $ac_compile itself does not contain backslashes and begins 15880 # with a dollar sign (not a hyphen), so the echo should work correctly. 15881 lt_compile=`echo "$ac_compile" | $SED \ 15882 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 15883 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 15884 -e 's:$: $lt_compiler_flag:'` 15885 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 15886 (eval "$lt_compile" 2>out/conftest.err) 15887 ac_status=$? 15888 cat out/conftest.err >&5 15889 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15890 if (exit $ac_status) && test -s out/conftest2.$ac_objext 15891 then 15892 # The compiler can only warn and ignore the option if not recognized 15893 # So say no if there are warnings 15894 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 15895 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 15896 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 15897 lt_cv_prog_compiler_c_o_CXX=yes 15898 fi 15899 fi 15900 chmod u+w . 2>&5 15901 $RM conftest* 15902 # SGI C++ compiler will create directory out/ii_files/ for 15903 # template instantiation 15904 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 15905 $RM out/* && rmdir out 15906 cd .. 15907 $RM -r conftest 15908 $RM conftest* 15909 15910fi 15911{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 15912$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } 15913 15914 15915 15916 15917hard_links=nottested 15918if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then 15919 # do not overwrite the value of need_locks provided by the user 15920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 15921$as_echo_n "checking if we can lock with hard links... " >&6; } 15922 hard_links=yes 15923 $RM conftest* 15924 ln conftest.a conftest.b 2>/dev/null && hard_links=no 15925 touch conftest.a 15926 ln conftest.a conftest.b 2>&5 || hard_links=no 15927 ln conftest.a conftest.b 2>/dev/null && hard_links=no 15928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 15929$as_echo "$hard_links" >&6; } 15930 if test no = "$hard_links"; then 15931 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 15932$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} 15933 need_locks=warn 15934 fi 15935else 15936 need_locks=no 15937fi 15938 15939 15940 15941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 15942$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 15943 15944 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 15945 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 15946 case $host_os in 15947 aix[4-9]*) 15948 # If we're using GNU nm, then we don't want the "-C" option. 15949 # -C means demangle to GNU nm, but means don't demangle to AIX nm. 15950 # Without the "-l" option, or with the "-B" option, AIX nm treats 15951 # weak defined symbols like other global defined symbols, whereas 15952 # GNU nm marks them as "W". 15953 # While the 'weak' keyword is ignored in the Export File, we need 15954 # it in the Import File for the 'aix-soname' feature, so we have 15955 # to replace the "-B" option with "-P" for AIX nm. 15956 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 15957 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' 15958 else 15959 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' 15960 fi 15961 ;; 15962 pw32*) 15963 export_symbols_cmds_CXX=$ltdll_cmds 15964 ;; 15965 cygwin* | mingw* | cegcc*) 15966 case $cc_basename in 15967 cl*) 15968 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 15969 ;; 15970 *) 15971 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' 15972 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 15973 ;; 15974 esac 15975 ;; 15976 *) 15977 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 15978 ;; 15979 esac 15980 15981{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 15982$as_echo "$ld_shlibs_CXX" >&6; } 15983test no = "$ld_shlibs_CXX" && can_build_shared=no 15984 15985with_gnu_ld_CXX=$with_gnu_ld 15986 15987 15988 15989 15990 15991 15992# 15993# Do we need to explicitly link libc? 15994# 15995case "x$archive_cmds_need_lc_CXX" in 15996x|xyes) 15997 # Assume -lc should be added 15998 archive_cmds_need_lc_CXX=yes 15999 16000 if test yes,yes = "$GCC,$enable_shared"; then 16001 case $archive_cmds_CXX in 16002 *'~'*) 16003 # FIXME: we may have to deal with multi-command sequences. 16004 ;; 16005 '$CC '*) 16006 # Test whether the compiler implicitly links with -lc since on some 16007 # systems, -lgcc has to come before -lc. If gcc already passes -lc 16008 # to ld, don't add -lc before -lgcc. 16009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 16010$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 16011if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then : 16012 $as_echo_n "(cached) " >&6 16013else 16014 $RM conftest* 16015 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 16016 16017 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 16018 (eval $ac_compile) 2>&5 16019 ac_status=$? 16020 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16021 test $ac_status = 0; } 2>conftest.err; then 16022 soname=conftest 16023 lib=conftest 16024 libobjs=conftest.$ac_objext 16025 deplibs= 16026 wl=$lt_prog_compiler_wl_CXX 16027 pic_flag=$lt_prog_compiler_pic_CXX 16028 compiler_flags=-v 16029 linker_flags=-v 16030 verstring= 16031 output_objdir=. 16032 libname=conftest 16033 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX 16034 allow_undefined_flag_CXX= 16035 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 16036 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 16037 ac_status=$? 16038 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16039 test $ac_status = 0; } 16040 then 16041 lt_cv_archive_cmds_need_lc_CXX=no 16042 else 16043 lt_cv_archive_cmds_need_lc_CXX=yes 16044 fi 16045 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag 16046 else 16047 cat conftest.err 1>&5 16048 fi 16049 $RM conftest* 16050 16051fi 16052{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5 16053$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; } 16054 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX 16055 ;; 16056 esac 16057 fi 16058 ;; 16059esac 16060 16061 16062 16063 16064 16065 16066 16067 16068 16069 16070 16071 16072 16073 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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 16123$as_echo_n "checking dynamic linker characteristics... " >&6; } 16124 16125library_names_spec= 16126libname_spec='lib$name' 16127soname_spec= 16128shrext_cmds=.so 16129postinstall_cmds= 16130postuninstall_cmds= 16131finish_cmds= 16132finish_eval= 16133shlibpath_var= 16134shlibpath_overrides_runpath=unknown 16135version_type=none 16136dynamic_linker="$host_os ld.so" 16137sys_lib_dlsearch_path_spec="/lib /usr/lib" 16138need_lib_prefix=unknown 16139hardcode_into_libs=no 16140 16141# when you set need_version to no, make sure it does not cause -set_version 16142# flags to be left without arguments 16143need_version=unknown 16144 16145 16146 16147case $host_os in 16148aix3*) 16149 version_type=linux # correct to gnu/linux during the next big refactor 16150 library_names_spec='$libname$release$shared_ext$versuffix $libname.a' 16151 shlibpath_var=LIBPATH 16152 16153 # AIX 3 has no versioning support, so we append a major version to the name. 16154 soname_spec='$libname$release$shared_ext$major' 16155 ;; 16156 16157aix[4-9]*) 16158 version_type=linux # correct to gnu/linux during the next big refactor 16159 need_lib_prefix=no 16160 need_version=no 16161 hardcode_into_libs=yes 16162 if test ia64 = "$host_cpu"; then 16163 # AIX 5 supports IA64 16164 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' 16165 shlibpath_var=LD_LIBRARY_PATH 16166 else 16167 # With GCC up to 2.95.x, collect2 would create an import file 16168 # for dependence libraries. The import file would start with 16169 # the line '#! .'. This would cause the generated library to 16170 # depend on '.', always an invalid library. This was fixed in 16171 # development snapshots of GCC prior to 3.0. 16172 case $host_os in 16173 aix4 | aix4.[01] | aix4.[01].*) 16174 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 16175 echo ' yes ' 16176 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then 16177 : 16178 else 16179 can_build_shared=no 16180 fi 16181 ;; 16182 esac 16183 # Using Import Files as archive members, it is possible to support 16184 # filename-based versioning of shared library archives on AIX. While 16185 # this would work for both with and without runtime linking, it will 16186 # prevent static linking of such archives. So we do filename-based 16187 # shared library versioning with .so extension only, which is used 16188 # when both runtime linking and shared linking is enabled. 16189 # Unfortunately, runtime linking may impact performance, so we do 16190 # not want this to be the default eventually. Also, we use the 16191 # versioned .so libs for executables only if there is the -brtl 16192 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. 16193 # To allow for filename-based versioning support, we need to create 16194 # libNAME.so.V as an archive file, containing: 16195 # *) an Import File, referring to the versioned filename of the 16196 # archive as well as the shared archive member, telling the 16197 # bitwidth (32 or 64) of that shared object, and providing the 16198 # list of exported symbols of that shared object, eventually 16199 # decorated with the 'weak' keyword 16200 # *) the shared object with the F_LOADONLY flag set, to really avoid 16201 # it being seen by the linker. 16202 # At run time we better use the real file rather than another symlink, 16203 # but for link time we create the symlink libNAME.so -> libNAME.so.V 16204 16205 case $with_aix_soname,$aix_use_runtimelinking in 16206 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct 16207 # soname into executable. Probably we can add versioning support to 16208 # collect2, so additional links can be useful in future. 16209 aix,yes) # traditional libtool 16210 dynamic_linker='AIX unversionable lib.so' 16211 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 16212 # instead of lib<name>.a to let people know that these are not 16213 # typical AIX shared libraries. 16214 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16215 ;; 16216 aix,no) # traditional AIX only 16217 dynamic_linker='AIX lib.a(lib.so.V)' 16218 # We preserve .a as extension for shared libraries through AIX4.2 16219 # and later when we are not doing run time linking. 16220 library_names_spec='$libname$release.a $libname.a' 16221 soname_spec='$libname$release$shared_ext$major' 16222 ;; 16223 svr4,*) # full svr4 only 16224 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" 16225 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 16226 # We do not specify a path in Import Files, so LIBPATH fires. 16227 shlibpath_overrides_runpath=yes 16228 ;; 16229 *,yes) # both, prefer svr4 16230 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" 16231 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 16232 # unpreferred sharedlib libNAME.a needs extra handling 16233 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"' 16234 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"' 16235 # We do not specify a path in Import Files, so LIBPATH fires. 16236 shlibpath_overrides_runpath=yes 16237 ;; 16238 *,no) # both, prefer aix 16239 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" 16240 library_names_spec='$libname$release.a $libname.a' 16241 soname_spec='$libname$release$shared_ext$major' 16242 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling 16243 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)' 16244 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"' 16245 ;; 16246 esac 16247 shlibpath_var=LIBPATH 16248 fi 16249 ;; 16250 16251amigaos*) 16252 case $host_cpu in 16253 powerpc) 16254 # Since July 2007 AmigaOS4 officially supports .so libraries. 16255 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 16256 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16257 ;; 16258 m68k) 16259 library_names_spec='$libname.ixlibrary $libname.a' 16260 # Create ${libname}_ixlibrary.a entries in /sys/libs. 16261 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' 16262 ;; 16263 esac 16264 ;; 16265 16266beos*) 16267 library_names_spec='$libname$shared_ext' 16268 dynamic_linker="$host_os ld.so" 16269 shlibpath_var=LIBRARY_PATH 16270 ;; 16271 16272bsdi[45]*) 16273 version_type=linux # correct to gnu/linux during the next big refactor 16274 need_version=no 16275 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16276 soname_spec='$libname$release$shared_ext$major' 16277 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 16278 shlibpath_var=LD_LIBRARY_PATH 16279 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 16280 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 16281 # the default ld.so.conf also contains /usr/contrib/lib and 16282 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 16283 # libtool to hard-code these into programs 16284 ;; 16285 16286cygwin* | mingw* | pw32* | cegcc*) 16287 version_type=windows 16288 shrext_cmds=.dll 16289 need_version=no 16290 need_lib_prefix=no 16291 16292 case $GCC,$cc_basename in 16293 yes,*) 16294 # gcc 16295 library_names_spec='$libname.dll.a' 16296 # DLL is installed to $(libdir)/../bin by postinstall_cmds 16297 postinstall_cmds='base_file=`basename \$file`~ 16298 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 16299 dldir=$destdir/`dirname \$dlpath`~ 16300 test -d \$dldir || mkdir -p \$dldir~ 16301 $install_prog $dir/$dlname \$dldir/$dlname~ 16302 chmod a+x \$dldir/$dlname~ 16303 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 16304 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 16305 fi' 16306 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 16307 dlpath=$dir/\$dldll~ 16308 $RM \$dlpath' 16309 shlibpath_overrides_runpath=yes 16310 16311 case $host_os in 16312 cygwin*) 16313 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 16314 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 16315 16316 ;; 16317 mingw* | cegcc*) 16318 # MinGW DLLs use traditional 'lib' prefix 16319 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 16320 ;; 16321 pw32*) 16322 # pw32 DLLs use 'pw' prefix rather than 'lib' 16323 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 16324 ;; 16325 esac 16326 dynamic_linker='Win32 ld.exe' 16327 ;; 16328 16329 *,cl*) 16330 # Native MSVC 16331 libname_spec='$name' 16332 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 16333 library_names_spec='$libname.dll.lib' 16334 16335 case $build_os in 16336 mingw*) 16337 sys_lib_search_path_spec= 16338 lt_save_ifs=$IFS 16339 IFS=';' 16340 for lt_path in $LIB 16341 do 16342 IFS=$lt_save_ifs 16343 # Let DOS variable expansion print the short 8.3 style file name. 16344 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 16345 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 16346 done 16347 IFS=$lt_save_ifs 16348 # Convert to MSYS style. 16349 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 16350 ;; 16351 cygwin*) 16352 # Convert to unix form, then to dos form, then back to unix form 16353 # but this time dos style (no spaces!) so that the unix form looks 16354 # like /cygdrive/c/PROGRA~1:/cygdr... 16355 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 16356 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 16357 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 16358 ;; 16359 *) 16360 sys_lib_search_path_spec=$LIB 16361 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 16362 # It is most probably a Windows format PATH. 16363 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 16364 else 16365 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 16366 fi 16367 # FIXME: find the short name or the path components, as spaces are 16368 # common. (e.g. "Program Files" -> "PROGRA~1") 16369 ;; 16370 esac 16371 16372 # DLL is installed to $(libdir)/../bin by postinstall_cmds 16373 postinstall_cmds='base_file=`basename \$file`~ 16374 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 16375 dldir=$destdir/`dirname \$dlpath`~ 16376 test -d \$dldir || mkdir -p \$dldir~ 16377 $install_prog $dir/$dlname \$dldir/$dlname' 16378 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 16379 dlpath=$dir/\$dldll~ 16380 $RM \$dlpath' 16381 shlibpath_overrides_runpath=yes 16382 dynamic_linker='Win32 link.exe' 16383 ;; 16384 16385 *) 16386 # Assume MSVC wrapper 16387 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' 16388 dynamic_linker='Win32 ld.exe' 16389 ;; 16390 esac 16391 # FIXME: first we should search . and the directory the executable is in 16392 shlibpath_var=PATH 16393 ;; 16394 16395darwin* | rhapsody*) 16396 dynamic_linker="$host_os dyld" 16397 version_type=darwin 16398 need_lib_prefix=no 16399 need_version=no 16400 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' 16401 soname_spec='$libname$release$major$shared_ext' 16402 shlibpath_overrides_runpath=yes 16403 shlibpath_var=DYLD_LIBRARY_PATH 16404 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 16405 16406 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 16407 ;; 16408 16409dgux*) 16410 version_type=linux # correct to gnu/linux during the next big refactor 16411 need_lib_prefix=no 16412 need_version=no 16413 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16414 soname_spec='$libname$release$shared_ext$major' 16415 shlibpath_var=LD_LIBRARY_PATH 16416 ;; 16417 16418freebsd* | dragonfly*) 16419 # DragonFly does not have aout. When/if they implement a new 16420 # versioning mechanism, adjust this. 16421 if test -x /usr/bin/objformat; then 16422 objformat=`/usr/bin/objformat` 16423 else 16424 case $host_os in 16425 freebsd[23].*) objformat=aout ;; 16426 *) objformat=elf ;; 16427 esac 16428 fi 16429 version_type=freebsd-$objformat 16430 case $version_type in 16431 freebsd-elf*) 16432 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16433 soname_spec='$libname$release$shared_ext$major' 16434 need_version=no 16435 need_lib_prefix=no 16436 ;; 16437 freebsd-*) 16438 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 16439 need_version=yes 16440 ;; 16441 esac 16442 shlibpath_var=LD_LIBRARY_PATH 16443 case $host_os in 16444 freebsd2.*) 16445 shlibpath_overrides_runpath=yes 16446 ;; 16447 freebsd3.[01]* | freebsdelf3.[01]*) 16448 shlibpath_overrides_runpath=yes 16449 hardcode_into_libs=yes 16450 ;; 16451 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 16452 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 16453 shlibpath_overrides_runpath=no 16454 hardcode_into_libs=yes 16455 ;; 16456 *) # from 4.6 on, and DragonFly 16457 shlibpath_overrides_runpath=yes 16458 hardcode_into_libs=yes 16459 ;; 16460 esac 16461 ;; 16462 16463haiku*) 16464 version_type=linux # correct to gnu/linux during the next big refactor 16465 need_lib_prefix=no 16466 need_version=no 16467 dynamic_linker="$host_os runtime_loader" 16468 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16469 soname_spec='$libname$release$shared_ext$major' 16470 shlibpath_var=LIBRARY_PATH 16471 shlibpath_overrides_runpath=no 16472 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 16473 hardcode_into_libs=yes 16474 ;; 16475 16476hpux9* | hpux10* | hpux11*) 16477 # Give a soname corresponding to the major version so that dld.sl refuses to 16478 # link against other versions. 16479 version_type=sunos 16480 need_lib_prefix=no 16481 need_version=no 16482 case $host_cpu in 16483 ia64*) 16484 shrext_cmds='.so' 16485 hardcode_into_libs=yes 16486 dynamic_linker="$host_os dld.so" 16487 shlibpath_var=LD_LIBRARY_PATH 16488 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 16489 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16490 soname_spec='$libname$release$shared_ext$major' 16491 if test 32 = "$HPUX_IA64_MODE"; then 16492 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 16493 sys_lib_dlsearch_path_spec=/usr/lib/hpux32 16494 else 16495 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 16496 sys_lib_dlsearch_path_spec=/usr/lib/hpux64 16497 fi 16498 ;; 16499 hppa*64*) 16500 shrext_cmds='.sl' 16501 hardcode_into_libs=yes 16502 dynamic_linker="$host_os dld.sl" 16503 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 16504 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 16505 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16506 soname_spec='$libname$release$shared_ext$major' 16507 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 16508 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 16509 ;; 16510 *) 16511 shrext_cmds='.sl' 16512 dynamic_linker="$host_os dld.sl" 16513 shlibpath_var=SHLIB_PATH 16514 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 16515 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16516 soname_spec='$libname$release$shared_ext$major' 16517 ;; 16518 esac 16519 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 16520 postinstall_cmds='chmod 555 $lib' 16521 # or fails outright, so override atomically: 16522 install_override_mode=555 16523 ;; 16524 16525interix[3-9]*) 16526 version_type=linux # correct to gnu/linux during the next big refactor 16527 need_lib_prefix=no 16528 need_version=no 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 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 16532 shlibpath_var=LD_LIBRARY_PATH 16533 shlibpath_overrides_runpath=no 16534 hardcode_into_libs=yes 16535 ;; 16536 16537irix5* | irix6* | nonstopux*) 16538 case $host_os in 16539 nonstopux*) version_type=nonstopux ;; 16540 *) 16541 if test yes = "$lt_cv_prog_gnu_ld"; then 16542 version_type=linux # correct to gnu/linux during the next big refactor 16543 else 16544 version_type=irix 16545 fi ;; 16546 esac 16547 need_lib_prefix=no 16548 need_version=no 16549 soname_spec='$libname$release$shared_ext$major' 16550 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' 16551 case $host_os in 16552 irix5* | nonstopux*) 16553 libsuff= shlibsuff= 16554 ;; 16555 *) 16556 case $LD in # libtool.m4 will add one of these switches to LD 16557 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 16558 libsuff= shlibsuff= libmagic=32-bit;; 16559 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 16560 libsuff=32 shlibsuff=N32 libmagic=N32;; 16561 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 16562 libsuff=64 shlibsuff=64 libmagic=64-bit;; 16563 *) libsuff= shlibsuff= libmagic=never-match;; 16564 esac 16565 ;; 16566 esac 16567 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 16568 shlibpath_overrides_runpath=no 16569 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" 16570 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" 16571 hardcode_into_libs=yes 16572 ;; 16573 16574# No shared lib support for Linux oldld, aout, or coff. 16575linux*oldld* | linux*aout* | linux*coff*) 16576 dynamic_linker=no 16577 ;; 16578 16579linux*android*) 16580 version_type=none # Android doesn't support versioned libraries. 16581 need_lib_prefix=no 16582 need_version=no 16583 library_names_spec='$libname$release$shared_ext' 16584 soname_spec='$libname$release$shared_ext' 16585 finish_cmds= 16586 shlibpath_var=LD_LIBRARY_PATH 16587 shlibpath_overrides_runpath=yes 16588 16589 # This implies no fast_install, which is unacceptable. 16590 # Some rework will be needed to allow for fast_install 16591 # before this can be enabled. 16592 hardcode_into_libs=yes 16593 16594 dynamic_linker='Android linker' 16595 # Don't embed -rpath directories since the linker doesn't support them. 16596 hardcode_libdir_flag_spec_CXX='-L$libdir' 16597 ;; 16598 16599# This must be glibc/ELF. 16600linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 16601 version_type=linux # correct to gnu/linux during the next big refactor 16602 need_lib_prefix=no 16603 need_version=no 16604 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16605 soname_spec='$libname$release$shared_ext$major' 16606 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 16607 shlibpath_var=LD_LIBRARY_PATH 16608 shlibpath_overrides_runpath=no 16609 16610 # Some binutils ld are patched to set DT_RUNPATH 16611 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 16612 $as_echo_n "(cached) " >&6 16613else 16614 lt_cv_shlibpath_overrides_runpath=no 16615 save_LDFLAGS=$LDFLAGS 16616 save_libdir=$libdir 16617 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \ 16618 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\"" 16619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16620/* end confdefs.h. */ 16621 16622int 16623main () 16624{ 16625 16626 ; 16627 return 0; 16628} 16629_ACEOF 16630if ac_fn_cxx_try_link "$LINENO"; then : 16631 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 16632 lt_cv_shlibpath_overrides_runpath=yes 16633fi 16634fi 16635rm -f core conftest.err conftest.$ac_objext \ 16636 conftest$ac_exeext conftest.$ac_ext 16637 LDFLAGS=$save_LDFLAGS 16638 libdir=$save_libdir 16639 16640fi 16641 16642 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 16643 16644 # This implies no fast_install, which is unacceptable. 16645 # Some rework will be needed to allow for fast_install 16646 # before this can be enabled. 16647 hardcode_into_libs=yes 16648 16649 # Add ABI-specific directories to the system library path. 16650 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" 16651 16652 # Ideally, we could use ldconfig to report *all* directores which are 16653 # searched for libraries, however this is still not possible. Aside from not 16654 # being certain /sbin/ldconfig is available, command 16655 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, 16656 # even though it is searched at run-time. Try to do the best guess by 16657 # appending ld.so.conf contents (and includes) to the search path. 16658 if test -f /etc/ld.so.conf; then 16659 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' ' '` 16660 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" 16661 fi 16662 16663 # We used to test for /lib/ld.so.1 and disable shared libraries on 16664 # powerpc, because MkLinux only supported shared libraries with the 16665 # GNU dynamic linker. Since this was broken with cross compilers, 16666 # most powerpc-linux boxes support dynamic linking these days and 16667 # people can always --disable-shared, the test was removed, and we 16668 # assume the GNU/Linux dynamic linker is in use. 16669 dynamic_linker='GNU/Linux ld.so' 16670 ;; 16671 16672netbsd*) 16673 version_type=sunos 16674 need_lib_prefix=no 16675 need_version=no 16676 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 16677 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 16678 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 16679 dynamic_linker='NetBSD (a.out) ld.so' 16680 else 16681 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16682 soname_spec='$libname$release$shared_ext$major' 16683 dynamic_linker='NetBSD ld.elf_so' 16684 fi 16685 shlibpath_var=LD_LIBRARY_PATH 16686 shlibpath_overrides_runpath=yes 16687 hardcode_into_libs=yes 16688 ;; 16689 16690newsos6) 16691 version_type=linux # correct to gnu/linux during the next big refactor 16692 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16693 shlibpath_var=LD_LIBRARY_PATH 16694 shlibpath_overrides_runpath=yes 16695 ;; 16696 16697*nto* | *qnx*) 16698 version_type=qnx 16699 need_lib_prefix=no 16700 need_version=no 16701 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16702 soname_spec='$libname$release$shared_ext$major' 16703 shlibpath_var=LD_LIBRARY_PATH 16704 shlibpath_overrides_runpath=no 16705 hardcode_into_libs=yes 16706 dynamic_linker='ldqnx.so' 16707 ;; 16708 16709openbsd* | bitrig*) 16710 version_type=sunos 16711 sys_lib_dlsearch_path_spec=/usr/lib 16712 need_lib_prefix=no 16713 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 16714 need_version=no 16715 else 16716 need_version=yes 16717 fi 16718 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 16719 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 16720 shlibpath_var=LD_LIBRARY_PATH 16721 shlibpath_overrides_runpath=yes 16722 ;; 16723 16724os2*) 16725 libname_spec='$name' 16726 version_type=windows 16727 shrext_cmds=.dll 16728 need_version=no 16729 need_lib_prefix=no 16730 # OS/2 can only load a DLL with a base name of 8 characters or less. 16731 soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; 16732 v=$($ECHO $release$versuffix | tr -d .-); 16733 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); 16734 $ECHO $n$v`$shared_ext' 16735 library_names_spec='${libname}_dll.$libext' 16736 dynamic_linker='OS/2 ld.exe' 16737 shlibpath_var=BEGINLIBPATH 16738 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 16739 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 16740 postinstall_cmds='base_file=`basename \$file`~ 16741 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ 16742 dldir=$destdir/`dirname \$dlpath`~ 16743 test -d \$dldir || mkdir -p \$dldir~ 16744 $install_prog $dir/$dlname \$dldir/$dlname~ 16745 chmod a+x \$dldir/$dlname~ 16746 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 16747 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 16748 fi' 16749 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ 16750 dlpath=$dir/\$dldll~ 16751 $RM \$dlpath' 16752 ;; 16753 16754osf3* | osf4* | osf5*) 16755 version_type=osf 16756 need_lib_prefix=no 16757 need_version=no 16758 soname_spec='$libname$release$shared_ext$major' 16759 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16760 shlibpath_var=LD_LIBRARY_PATH 16761 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 16762 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 16763 ;; 16764 16765rdos*) 16766 dynamic_linker=no 16767 ;; 16768 16769solaris*) 16770 version_type=linux # correct to gnu/linux during the next big refactor 16771 need_lib_prefix=no 16772 need_version=no 16773 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16774 soname_spec='$libname$release$shared_ext$major' 16775 shlibpath_var=LD_LIBRARY_PATH 16776 shlibpath_overrides_runpath=yes 16777 hardcode_into_libs=yes 16778 # ldd complains unless libraries are executable 16779 postinstall_cmds='chmod +x $lib' 16780 ;; 16781 16782sunos4*) 16783 version_type=sunos 16784 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 16785 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 16786 shlibpath_var=LD_LIBRARY_PATH 16787 shlibpath_overrides_runpath=yes 16788 if test yes = "$with_gnu_ld"; then 16789 need_lib_prefix=no 16790 fi 16791 need_version=yes 16792 ;; 16793 16794sysv4 | sysv4.3*) 16795 version_type=linux # correct to gnu/linux during the next big refactor 16796 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16797 soname_spec='$libname$release$shared_ext$major' 16798 shlibpath_var=LD_LIBRARY_PATH 16799 case $host_vendor in 16800 sni) 16801 shlibpath_overrides_runpath=no 16802 need_lib_prefix=no 16803 runpath_var=LD_RUN_PATH 16804 ;; 16805 siemens) 16806 need_lib_prefix=no 16807 ;; 16808 motorola) 16809 need_lib_prefix=no 16810 need_version=no 16811 shlibpath_overrides_runpath=no 16812 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 16813 ;; 16814 esac 16815 ;; 16816 16817sysv4*MP*) 16818 if test -d /usr/nec; then 16819 version_type=linux # correct to gnu/linux during the next big refactor 16820 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' 16821 soname_spec='$libname$shared_ext.$major' 16822 shlibpath_var=LD_LIBRARY_PATH 16823 fi 16824 ;; 16825 16826sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 16827 version_type=sco 16828 need_lib_prefix=no 16829 need_version=no 16830 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' 16831 soname_spec='$libname$release$shared_ext$major' 16832 shlibpath_var=LD_LIBRARY_PATH 16833 shlibpath_overrides_runpath=yes 16834 hardcode_into_libs=yes 16835 if test yes = "$with_gnu_ld"; then 16836 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 16837 else 16838 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 16839 case $host_os in 16840 sco3.2v5*) 16841 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 16842 ;; 16843 esac 16844 fi 16845 sys_lib_dlsearch_path_spec='/usr/lib' 16846 ;; 16847 16848tpf*) 16849 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 16850 version_type=linux # correct to gnu/linux during the next big refactor 16851 need_lib_prefix=no 16852 need_version=no 16853 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16854 shlibpath_var=LD_LIBRARY_PATH 16855 shlibpath_overrides_runpath=no 16856 hardcode_into_libs=yes 16857 ;; 16858 16859uts4*) 16860 version_type=linux # correct to gnu/linux during the next big refactor 16861 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16862 soname_spec='$libname$release$shared_ext$major' 16863 shlibpath_var=LD_LIBRARY_PATH 16864 ;; 16865 16866*) 16867 dynamic_linker=no 16868 ;; 16869esac 16870{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 16871$as_echo "$dynamic_linker" >&6; } 16872test no = "$dynamic_linker" && can_build_shared=no 16873 16874variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 16875if test yes = "$GCC"; then 16876 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 16877fi 16878 16879if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then 16880 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec 16881fi 16882 16883if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then 16884 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec 16885fi 16886 16887# remember unaugmented sys_lib_dlsearch_path content for libtool script decls... 16888configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec 16889 16890# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code 16891func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" 16892 16893# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool 16894configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH 16895 16896 16897 16898 16899 16900 16901 16902 16903 16904 16905 16906 16907 16908 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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 16936$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 16937hardcode_action_CXX= 16938if test -n "$hardcode_libdir_flag_spec_CXX" || 16939 test -n "$runpath_var_CXX" || 16940 test yes = "$hardcode_automatic_CXX"; then 16941 16942 # We can hardcode non-existent directories. 16943 if test no != "$hardcode_direct_CXX" && 16944 # If the only mechanism to avoid hardcoding is shlibpath_var, we 16945 # have to relink, otherwise we might link with an installed library 16946 # when we should be linking with a yet-to-be-installed one 16947 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" && 16948 test no != "$hardcode_minus_L_CXX"; then 16949 # Linking always hardcodes the temporary library directory. 16950 hardcode_action_CXX=relink 16951 else 16952 # We can link without hardcoding, and we can hardcode nonexisting dirs. 16953 hardcode_action_CXX=immediate 16954 fi 16955else 16956 # We cannot hardcode anything, or else we can only hardcode existing 16957 # directories. 16958 hardcode_action_CXX=unsupported 16959fi 16960{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5 16961$as_echo "$hardcode_action_CXX" >&6; } 16962 16963if test relink = "$hardcode_action_CXX" || 16964 test yes = "$inherit_rpath_CXX"; then 16965 # Fast installation is not supported 16966 enable_fast_install=no 16967elif test yes = "$shlibpath_overrides_runpath" || 16968 test no = "$enable_shared"; then 16969 # Fast installation is not necessary 16970 enable_fast_install=needless 16971fi 16972 16973 16974 16975 16976 16977 16978 16979 fi # test -n "$compiler" 16980 16981 CC=$lt_save_CC 16982 CFLAGS=$lt_save_CFLAGS 16983 LDCXX=$LD 16984 LD=$lt_save_LD 16985 GCC=$lt_save_GCC 16986 with_gnu_ld=$lt_save_with_gnu_ld 16987 lt_cv_path_LDCXX=$lt_cv_path_LD 16988 lt_cv_path_LD=$lt_save_path_LD 16989 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld 16990 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld 16991fi # test yes != "$_lt_caught_CXX_error" 16992 16993ac_ext=c 16994ac_cpp='$CPP $CPPFLAGS' 16995ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 16996ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 16997ac_compiler_gnu=$ac_cv_c_compiler_gnu 16998 16999 17000 17001 17002 17003 17004 17005 17006 17007 17008 17009 17010 17011 17012 17013 ac_config_commands="$ac_config_commands libtool" 17014 17015 17016 17017 17018# Only expand once: 17019 17020 17021 17022 17023# Extract the first word of "pkg-config", so it can be a program name with args. 17024set dummy pkg-config; ac_word=$2 17025{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 17026$as_echo_n "checking for $ac_word... " >&6; } 17027if ${ac_cv_path_PKGCONFIG+:} false; then : 17028 $as_echo_n "(cached) " >&6 17029else 17030 case $PKGCONFIG in 17031 [\\/]* | ?:[\\/]*) 17032 ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path. 17033 ;; 17034 *) 17035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 17036for as_dir in $PATH 17037do 17038 IFS=$as_save_IFS 17039 test -z "$as_dir" && as_dir=. 17040 for ac_exec_ext in '' $ac_executable_extensions; do 17041 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 17042 ac_cv_path_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext" 17043 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 17044 break 2 17045 fi 17046done 17047 done 17048IFS=$as_save_IFS 17049 17050 ;; 17051esac 17052fi 17053PKGCONFIG=$ac_cv_path_PKGCONFIG 17054if test -n "$PKGCONFIG"; then 17055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5 17056$as_echo "$PKGCONFIG" >&6; } 17057else 17058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17059$as_echo "no" >&6; } 17060fi 17061 17062 17063 17064 17065mkdir_p="$MKDIR_P" 17066case $mkdir_p in 17067 [\\/$]* | ?:[\\/]*) ;; 17068 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 17069esac 17070 17071 17072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 17073$as_echo_n "checking whether NLS is requested... " >&6; } 17074 # Check whether --enable-nls was given. 17075if test "${enable_nls+set}" = set; then : 17076 enableval=$enable_nls; USE_NLS=$enableval 17077else 17078 USE_NLS=yes 17079fi 17080 17081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 17082$as_echo "$USE_NLS" >&6; } 17083 17084 17085 17086 17087 GETTEXT_MACRO_VERSION=0.18 17088 17089 17090 17091 17092# Prepare PATH_SEPARATOR. 17093# The user is always right. 17094if test "${PATH_SEPARATOR+set}" != set; then 17095 echo "#! /bin/sh" >conf$$.sh 17096 echo "exit 0" >>conf$$.sh 17097 chmod +x conf$$.sh 17098 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 17099 PATH_SEPARATOR=';' 17100 else 17101 PATH_SEPARATOR=: 17102 fi 17103 rm -f conf$$.sh 17104fi 17105 17106# Find out how to test for executable files. Don't use a zero-byte file, 17107# as systems may use methods other than mode bits to determine executability. 17108cat >conf$$.file <<_ASEOF 17109#! /bin/sh 17110exit 0 17111_ASEOF 17112chmod +x conf$$.file 17113if test -x conf$$.file >/dev/null 2>&1; then 17114 ac_executable_p="test -x" 17115else 17116 ac_executable_p="test -f" 17117fi 17118rm -f conf$$.file 17119 17120# Extract the first word of "msgfmt", so it can be a program name with args. 17121set dummy msgfmt; ac_word=$2 17122{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 17123$as_echo_n "checking for $ac_word... " >&6; } 17124if ${ac_cv_path_MSGFMT+:} false; then : 17125 $as_echo_n "(cached) " >&6 17126else 17127 case "$MSGFMT" in 17128 [\\/]* | ?:[\\/]*) 17129 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 17130 ;; 17131 *) 17132 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 17133 for ac_dir in $PATH; do 17134 IFS="$ac_save_IFS" 17135 test -z "$ac_dir" && ac_dir=. 17136 for ac_exec_ext in '' $ac_executable_extensions; do 17137 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 17138 echo "$as_me: trying $ac_dir/$ac_word..." >&5 17139 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 && 17140 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then 17141 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext" 17142 break 2 17143 fi 17144 fi 17145 done 17146 done 17147 IFS="$ac_save_IFS" 17148 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":" 17149 ;; 17150esac 17151fi 17152MSGFMT="$ac_cv_path_MSGFMT" 17153if test "$MSGFMT" != ":"; then 17154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 17155$as_echo "$MSGFMT" >&6; } 17156else 17157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17158$as_echo "no" >&6; } 17159fi 17160 17161 # Extract the first word of "gmsgfmt", so it can be a program name with args. 17162set dummy gmsgfmt; ac_word=$2 17163{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 17164$as_echo_n "checking for $ac_word... " >&6; } 17165if ${ac_cv_path_GMSGFMT+:} false; then : 17166 $as_echo_n "(cached) " >&6 17167else 17168 case $GMSGFMT in 17169 [\\/]* | ?:[\\/]*) 17170 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 17171 ;; 17172 *) 17173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 17174for as_dir in $PATH 17175do 17176 IFS=$as_save_IFS 17177 test -z "$as_dir" && as_dir=. 17178 for ac_exec_ext in '' $ac_executable_extensions; do 17179 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 17180 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" 17181 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 17182 break 2 17183 fi 17184done 17185 done 17186IFS=$as_save_IFS 17187 17188 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" 17189 ;; 17190esac 17191fi 17192GMSGFMT=$ac_cv_path_GMSGFMT 17193if test -n "$GMSGFMT"; then 17194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 17195$as_echo "$GMSGFMT" >&6; } 17196else 17197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17198$as_echo "no" >&6; } 17199fi 17200 17201 17202 17203 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in 17204 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;; 17205 *) MSGFMT_015=$MSGFMT ;; 17206 esac 17207 17208 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in 17209 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;; 17210 *) GMSGFMT_015=$GMSGFMT ;; 17211 esac 17212 17213 17214 17215# Prepare PATH_SEPARATOR. 17216# The user is always right. 17217if test "${PATH_SEPARATOR+set}" != set; then 17218 echo "#! /bin/sh" >conf$$.sh 17219 echo "exit 0" >>conf$$.sh 17220 chmod +x conf$$.sh 17221 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 17222 PATH_SEPARATOR=';' 17223 else 17224 PATH_SEPARATOR=: 17225 fi 17226 rm -f conf$$.sh 17227fi 17228 17229# Find out how to test for executable files. Don't use a zero-byte file, 17230# as systems may use methods other than mode bits to determine executability. 17231cat >conf$$.file <<_ASEOF 17232#! /bin/sh 17233exit 0 17234_ASEOF 17235chmod +x conf$$.file 17236if test -x conf$$.file >/dev/null 2>&1; then 17237 ac_executable_p="test -x" 17238else 17239 ac_executable_p="test -f" 17240fi 17241rm -f conf$$.file 17242 17243# Extract the first word of "xgettext", so it can be a program name with args. 17244set dummy xgettext; ac_word=$2 17245{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 17246$as_echo_n "checking for $ac_word... " >&6; } 17247if ${ac_cv_path_XGETTEXT+:} false; then : 17248 $as_echo_n "(cached) " >&6 17249else 17250 case "$XGETTEXT" in 17251 [\\/]* | ?:[\\/]*) 17252 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 17253 ;; 17254 *) 17255 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 17256 for ac_dir in $PATH; do 17257 IFS="$ac_save_IFS" 17258 test -z "$ac_dir" && ac_dir=. 17259 for ac_exec_ext in '' $ac_executable_extensions; do 17260 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 17261 echo "$as_me: trying $ac_dir/$ac_word..." >&5 17262 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 && 17263 (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 17264 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext" 17265 break 2 17266 fi 17267 fi 17268 done 17269 done 17270 IFS="$ac_save_IFS" 17271 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" 17272 ;; 17273esac 17274fi 17275XGETTEXT="$ac_cv_path_XGETTEXT" 17276if test "$XGETTEXT" != ":"; then 17277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 17278$as_echo "$XGETTEXT" >&6; } 17279else 17280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17281$as_echo "no" >&6; } 17282fi 17283 17284 rm -f messages.po 17285 17286 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in 17287 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;; 17288 *) XGETTEXT_015=$XGETTEXT ;; 17289 esac 17290 17291 17292 17293# Prepare PATH_SEPARATOR. 17294# The user is always right. 17295if test "${PATH_SEPARATOR+set}" != set; then 17296 echo "#! /bin/sh" >conf$$.sh 17297 echo "exit 0" >>conf$$.sh 17298 chmod +x conf$$.sh 17299 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 17300 PATH_SEPARATOR=';' 17301 else 17302 PATH_SEPARATOR=: 17303 fi 17304 rm -f conf$$.sh 17305fi 17306 17307# Find out how to test for executable files. Don't use a zero-byte file, 17308# as systems may use methods other than mode bits to determine executability. 17309cat >conf$$.file <<_ASEOF 17310#! /bin/sh 17311exit 0 17312_ASEOF 17313chmod +x conf$$.file 17314if test -x conf$$.file >/dev/null 2>&1; then 17315 ac_executable_p="test -x" 17316else 17317 ac_executable_p="test -f" 17318fi 17319rm -f conf$$.file 17320 17321# Extract the first word of "msgmerge", so it can be a program name with args. 17322set dummy msgmerge; ac_word=$2 17323{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 17324$as_echo_n "checking for $ac_word... " >&6; } 17325if ${ac_cv_path_MSGMERGE+:} false; then : 17326 $as_echo_n "(cached) " >&6 17327else 17328 case "$MSGMERGE" in 17329 [\\/]* | ?:[\\/]*) 17330 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. 17331 ;; 17332 *) 17333 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 17334 for ac_dir in $PATH; do 17335 IFS="$ac_save_IFS" 17336 test -z "$ac_dir" && ac_dir=. 17337 for ac_exec_ext in '' $ac_executable_extensions; do 17338 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 17339 echo "$as_me: trying $ac_dir/$ac_word..." >&5 17340 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then 17341 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext" 17342 break 2 17343 fi 17344 fi 17345 done 17346 done 17347 IFS="$ac_save_IFS" 17348 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":" 17349 ;; 17350esac 17351fi 17352MSGMERGE="$ac_cv_path_MSGMERGE" 17353if test "$MSGMERGE" != ":"; then 17354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 17355$as_echo "$MSGMERGE" >&6; } 17356else 17357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17358$as_echo "no" >&6; } 17359fi 17360 17361 17362 test -n "$localedir" || localedir='${datadir}/locale' 17363 17364 17365 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS= 17366 17367 17368 ac_config_commands="$ac_config_commands po-directories" 17369 17370 17371 17372 if test "X$prefix" = "XNONE"; then 17373 acl_final_prefix="$ac_default_prefix" 17374 else 17375 acl_final_prefix="$prefix" 17376 fi 17377 if test "X$exec_prefix" = "XNONE"; then 17378 acl_final_exec_prefix='${prefix}' 17379 else 17380 acl_final_exec_prefix="$exec_prefix" 17381 fi 17382 acl_save_prefix="$prefix" 17383 prefix="$acl_final_prefix" 17384 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" 17385 prefix="$acl_save_prefix" 17386 17387 17388# Check whether --with-gnu-ld was given. 17389if test "${with_gnu_ld+set}" = set; then : 17390 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 17391else 17392 with_gnu_ld=no 17393fi 17394 17395# Prepare PATH_SEPARATOR. 17396# The user is always right. 17397if test "${PATH_SEPARATOR+set}" != set; then 17398 echo "#! /bin/sh" >conf$$.sh 17399 echo "exit 0" >>conf$$.sh 17400 chmod +x conf$$.sh 17401 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 17402 PATH_SEPARATOR=';' 17403 else 17404 PATH_SEPARATOR=: 17405 fi 17406 rm -f conf$$.sh 17407fi 17408ac_prog=ld 17409if test "$GCC" = yes; then 17410 # Check if gcc -print-prog-name=ld gives a path. 17411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5 17412$as_echo_n "checking for ld used by GCC... " >&6; } 17413 case $host in 17414 *-*-mingw*) 17415 # gcc leaves a trailing carriage return which upsets mingw 17416 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 17417 *) 17418 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 17419 esac 17420 case $ac_prog in 17421 # Accept absolute paths. 17422 [\\/]* | [A-Za-z]:[\\/]*) 17423 re_direlt='/[^/][^/]*/\.\./' 17424 # Canonicalize the path of ld 17425 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` 17426 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do 17427 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` 17428 done 17429 test -z "$LD" && LD="$ac_prog" 17430 ;; 17431 "") 17432 # If it fails, then pretend we aren't using GCC. 17433 ac_prog=ld 17434 ;; 17435 *) 17436 # If it is relative, then search for the first ld in PATH. 17437 with_gnu_ld=unknown 17438 ;; 17439 esac 17440elif test "$with_gnu_ld" = yes; then 17441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 17442$as_echo_n "checking for GNU ld... " >&6; } 17443else 17444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 17445$as_echo_n "checking for non-GNU ld... " >&6; } 17446fi 17447if ${acl_cv_path_LD+:} false; then : 17448 $as_echo_n "(cached) " >&6 17449else 17450 if test -z "$LD"; then 17451 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" 17452 for ac_dir in $PATH; do 17453 test -z "$ac_dir" && ac_dir=. 17454 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 17455 acl_cv_path_LD="$ac_dir/$ac_prog" 17456 # Check to see if the program is GNU ld. I'd rather use --version, 17457 # but apparently some GNU ld's only accept -v. 17458 # Break only if it was the GNU/non-GNU ld that we prefer. 17459 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in 17460 *GNU* | *'with BFD'*) 17461 test "$with_gnu_ld" != no && break ;; 17462 *) 17463 test "$with_gnu_ld" != yes && break ;; 17464 esac 17465 fi 17466 done 17467 IFS="$ac_save_ifs" 17468else 17469 acl_cv_path_LD="$LD" # Let the user override the test with a path. 17470fi 17471fi 17472 17473LD="$acl_cv_path_LD" 17474if test -n "$LD"; then 17475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 17476$as_echo "$LD" >&6; } 17477else 17478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17479$as_echo "no" >&6; } 17480fi 17481test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 17482{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 17483$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 17484if ${acl_cv_prog_gnu_ld+:} false; then : 17485 $as_echo_n "(cached) " >&6 17486else 17487 # I'd rather use --version here, but apparently some GNU ld's only accept -v. 17488case `$LD -v 2>&1 </dev/null` in 17489*GNU* | *'with BFD'*) 17490 acl_cv_prog_gnu_ld=yes ;; 17491*) 17492 acl_cv_prog_gnu_ld=no ;; 17493esac 17494fi 17495{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5 17496$as_echo "$acl_cv_prog_gnu_ld" >&6; } 17497with_gnu_ld=$acl_cv_prog_gnu_ld 17498 17499 17500 17501 17502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5 17503$as_echo_n "checking for shared library run path origin... " >&6; } 17504if ${acl_cv_rpath+:} false; then : 17505 $as_echo_n "(cached) " >&6 17506else 17507 17508 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ 17509 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh 17510 . ./conftest.sh 17511 rm -f ./conftest.sh 17512 acl_cv_rpath=done 17513 17514fi 17515{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5 17516$as_echo "$acl_cv_rpath" >&6; } 17517 wl="$acl_cv_wl" 17518 acl_libext="$acl_cv_libext" 17519 acl_shlibext="$acl_cv_shlibext" 17520 acl_libname_spec="$acl_cv_libname_spec" 17521 acl_library_names_spec="$acl_cv_library_names_spec" 17522 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" 17523 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" 17524 acl_hardcode_direct="$acl_cv_hardcode_direct" 17525 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L" 17526 # Check whether --enable-rpath was given. 17527if test "${enable_rpath+set}" = set; then : 17528 enableval=$enable_rpath; : 17529else 17530 enable_rpath=yes 17531fi 17532 17533 17534 17535 17536 acl_libdirstem=lib 17537 acl_libdirstem2= 17538 case "$host_os" in 17539 solaris*) 17540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5 17541$as_echo_n "checking for 64-bit host... " >&6; } 17542if ${gl_cv_solaris_64bit+:} false; then : 17543 $as_echo_n "(cached) " >&6 17544else 17545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17546/* end confdefs.h. */ 17547 17548#ifdef _LP64 17549sixtyfour bits 17550#endif 17551 17552_ACEOF 17553if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 17554 $EGREP "sixtyfour bits" >/dev/null 2>&1; then : 17555 gl_cv_solaris_64bit=yes 17556else 17557 gl_cv_solaris_64bit=no 17558fi 17559rm -f conftest* 17560 17561 17562fi 17563{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5 17564$as_echo "$gl_cv_solaris_64bit" >&6; } 17565 if test $gl_cv_solaris_64bit = yes; then 17566 acl_libdirstem=lib/64 17567 case "$host_cpu" in 17568 sparc*) acl_libdirstem2=lib/sparcv9 ;; 17569 i*86 | x86_64) acl_libdirstem2=lib/amd64 ;; 17570 esac 17571 fi 17572 ;; 17573 *) 17574 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'` 17575 if test -n "$searchpath"; then 17576 acl_save_IFS="${IFS= }"; IFS=":" 17577 for searchdir in $searchpath; do 17578 if test -d "$searchdir"; then 17579 case "$searchdir" in 17580 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;; 17581 */../ | */.. ) 17582 # Better ignore directories of this form. They are misleading. 17583 ;; 17584 *) searchdir=`cd "$searchdir" && pwd` 17585 case "$searchdir" in 17586 */lib64 ) acl_libdirstem=lib64 ;; 17587 esac ;; 17588 esac 17589 fi 17590 done 17591 IFS="$acl_save_IFS" 17592 fi 17593 ;; 17594 esac 17595 test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem" 17596 17597 17598 17599 17600 17601 17602 17603 17604 17605 17606 17607 17608 use_additional=yes 17609 17610 acl_save_prefix="$prefix" 17611 prefix="$acl_final_prefix" 17612 acl_save_exec_prefix="$exec_prefix" 17613 exec_prefix="$acl_final_exec_prefix" 17614 17615 eval additional_includedir=\"$includedir\" 17616 eval additional_libdir=\"$libdir\" 17617 17618 exec_prefix="$acl_save_exec_prefix" 17619 prefix="$acl_save_prefix" 17620 17621 17622# Check whether --with-libiconv-prefix was given. 17623if test "${with_libiconv_prefix+set}" = set; then : 17624 withval=$with_libiconv_prefix; 17625 if test "X$withval" = "Xno"; then 17626 use_additional=no 17627 else 17628 if test "X$withval" = "X"; then 17629 17630 acl_save_prefix="$prefix" 17631 prefix="$acl_final_prefix" 17632 acl_save_exec_prefix="$exec_prefix" 17633 exec_prefix="$acl_final_exec_prefix" 17634 17635 eval additional_includedir=\"$includedir\" 17636 eval additional_libdir=\"$libdir\" 17637 17638 exec_prefix="$acl_save_exec_prefix" 17639 prefix="$acl_save_prefix" 17640 17641 else 17642 additional_includedir="$withval/include" 17643 additional_libdir="$withval/$acl_libdirstem" 17644 if test "$acl_libdirstem2" != "$acl_libdirstem" \ 17645 && ! test -d "$withval/$acl_libdirstem"; then 17646 additional_libdir="$withval/$acl_libdirstem2" 17647 fi 17648 fi 17649 fi 17650 17651fi 17652 17653 LIBICONV= 17654 LTLIBICONV= 17655 INCICONV= 17656 LIBICONV_PREFIX= 17657 HAVE_LIBICONV= 17658 rpathdirs= 17659 ltrpathdirs= 17660 names_already_handled= 17661 names_next_round='iconv ' 17662 while test -n "$names_next_round"; do 17663 names_this_round="$names_next_round" 17664 names_next_round= 17665 for name in $names_this_round; do 17666 already_handled= 17667 for n in $names_already_handled; do 17668 if test "$n" = "$name"; then 17669 already_handled=yes 17670 break 17671 fi 17672 done 17673 if test -z "$already_handled"; then 17674 names_already_handled="$names_already_handled $name" 17675 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` 17676 eval value=\"\$HAVE_LIB$uppername\" 17677 if test -n "$value"; then 17678 if test "$value" = yes; then 17679 eval value=\"\$LIB$uppername\" 17680 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value" 17681 eval value=\"\$LTLIB$uppername\" 17682 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value" 17683 else 17684 : 17685 fi 17686 else 17687 found_dir= 17688 found_la= 17689 found_so= 17690 found_a= 17691 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name 17692 if test -n "$acl_shlibext"; then 17693 shrext=".$acl_shlibext" # typically: shrext=.so 17694 else 17695 shrext= 17696 fi 17697 if test $use_additional = yes; then 17698 dir="$additional_libdir" 17699 if test -n "$acl_shlibext"; then 17700 if test -f "$dir/$libname$shrext"; then 17701 found_dir="$dir" 17702 found_so="$dir/$libname$shrext" 17703 else 17704 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 17705 ver=`(cd "$dir" && \ 17706 for f in "$libname$shrext".*; do echo "$f"; done \ 17707 | sed -e "s,^$libname$shrext\\\\.,," \ 17708 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 17709 | sed 1q ) 2>/dev/null` 17710 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then 17711 found_dir="$dir" 17712 found_so="$dir/$libname$shrext.$ver" 17713 fi 17714 else 17715 eval library_names=\"$acl_library_names_spec\" 17716 for f in $library_names; do 17717 if test -f "$dir/$f"; then 17718 found_dir="$dir" 17719 found_so="$dir/$f" 17720 break 17721 fi 17722 done 17723 fi 17724 fi 17725 fi 17726 if test "X$found_dir" = "X"; then 17727 if test -f "$dir/$libname.$acl_libext"; then 17728 found_dir="$dir" 17729 found_a="$dir/$libname.$acl_libext" 17730 fi 17731 fi 17732 if test "X$found_dir" != "X"; then 17733 if test -f "$dir/$libname.la"; then 17734 found_la="$dir/$libname.la" 17735 fi 17736 fi 17737 fi 17738 if test "X$found_dir" = "X"; then 17739 for x in $LDFLAGS $LTLIBICONV; do 17740 17741 acl_save_prefix="$prefix" 17742 prefix="$acl_final_prefix" 17743 acl_save_exec_prefix="$exec_prefix" 17744 exec_prefix="$acl_final_exec_prefix" 17745 eval x=\"$x\" 17746 exec_prefix="$acl_save_exec_prefix" 17747 prefix="$acl_save_prefix" 17748 17749 case "$x" in 17750 -L*) 17751 dir=`echo "X$x" | sed -e 's/^X-L//'` 17752 if test -n "$acl_shlibext"; then 17753 if test -f "$dir/$libname$shrext"; then 17754 found_dir="$dir" 17755 found_so="$dir/$libname$shrext" 17756 else 17757 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 17758 ver=`(cd "$dir" && \ 17759 for f in "$libname$shrext".*; do echo "$f"; done \ 17760 | sed -e "s,^$libname$shrext\\\\.,," \ 17761 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 17762 | sed 1q ) 2>/dev/null` 17763 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then 17764 found_dir="$dir" 17765 found_so="$dir/$libname$shrext.$ver" 17766 fi 17767 else 17768 eval library_names=\"$acl_library_names_spec\" 17769 for f in $library_names; do 17770 if test -f "$dir/$f"; then 17771 found_dir="$dir" 17772 found_so="$dir/$f" 17773 break 17774 fi 17775 done 17776 fi 17777 fi 17778 fi 17779 if test "X$found_dir" = "X"; then 17780 if test -f "$dir/$libname.$acl_libext"; then 17781 found_dir="$dir" 17782 found_a="$dir/$libname.$acl_libext" 17783 fi 17784 fi 17785 if test "X$found_dir" != "X"; then 17786 if test -f "$dir/$libname.la"; then 17787 found_la="$dir/$libname.la" 17788 fi 17789 fi 17790 ;; 17791 esac 17792 if test "X$found_dir" != "X"; then 17793 break 17794 fi 17795 done 17796 fi 17797 if test "X$found_dir" != "X"; then 17798 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name" 17799 if test "X$found_so" != "X"; then 17800 if test "$enable_rpath" = no \ 17801 || test "X$found_dir" = "X/usr/$acl_libdirstem" \ 17802 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then 17803 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 17804 else 17805 haveit= 17806 for x in $ltrpathdirs; do 17807 if test "X$x" = "X$found_dir"; then 17808 haveit=yes 17809 break 17810 fi 17811 done 17812 if test -z "$haveit"; then 17813 ltrpathdirs="$ltrpathdirs $found_dir" 17814 fi 17815 if test "$acl_hardcode_direct" = yes; then 17816 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 17817 else 17818 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then 17819 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 17820 haveit= 17821 for x in $rpathdirs; do 17822 if test "X$x" = "X$found_dir"; then 17823 haveit=yes 17824 break 17825 fi 17826 done 17827 if test -z "$haveit"; then 17828 rpathdirs="$rpathdirs $found_dir" 17829 fi 17830 else 17831 haveit= 17832 for x in $LDFLAGS $LIBICONV; do 17833 17834 acl_save_prefix="$prefix" 17835 prefix="$acl_final_prefix" 17836 acl_save_exec_prefix="$exec_prefix" 17837 exec_prefix="$acl_final_exec_prefix" 17838 eval x=\"$x\" 17839 exec_prefix="$acl_save_exec_prefix" 17840 prefix="$acl_save_prefix" 17841 17842 if test "X$x" = "X-L$found_dir"; then 17843 haveit=yes 17844 break 17845 fi 17846 done 17847 if test -z "$haveit"; then 17848 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir" 17849 fi 17850 if test "$acl_hardcode_minus_L" != no; then 17851 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 17852 else 17853 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" 17854 fi 17855 fi 17856 fi 17857 fi 17858 else 17859 if test "X$found_a" != "X"; then 17860 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a" 17861 else 17862 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name" 17863 fi 17864 fi 17865 additional_includedir= 17866 case "$found_dir" in 17867 */$acl_libdirstem | */$acl_libdirstem/) 17868 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` 17869 if test "$name" = 'iconv'; then 17870 LIBICONV_PREFIX="$basedir" 17871 fi 17872 additional_includedir="$basedir/include" 17873 ;; 17874 */$acl_libdirstem2 | */$acl_libdirstem2/) 17875 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` 17876 if test "$name" = 'iconv'; then 17877 LIBICONV_PREFIX="$basedir" 17878 fi 17879 additional_includedir="$basedir/include" 17880 ;; 17881 esac 17882 if test "X$additional_includedir" != "X"; then 17883 if test "X$additional_includedir" != "X/usr/include"; then 17884 haveit= 17885 if test "X$additional_includedir" = "X/usr/local/include"; then 17886 if test -n "$GCC"; then 17887 case $host_os in 17888 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 17889 esac 17890 fi 17891 fi 17892 if test -z "$haveit"; then 17893 for x in $CPPFLAGS $INCICONV; do 17894 17895 acl_save_prefix="$prefix" 17896 prefix="$acl_final_prefix" 17897 acl_save_exec_prefix="$exec_prefix" 17898 exec_prefix="$acl_final_exec_prefix" 17899 eval x=\"$x\" 17900 exec_prefix="$acl_save_exec_prefix" 17901 prefix="$acl_save_prefix" 17902 17903 if test "X$x" = "X-I$additional_includedir"; then 17904 haveit=yes 17905 break 17906 fi 17907 done 17908 if test -z "$haveit"; then 17909 if test -d "$additional_includedir"; then 17910 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir" 17911 fi 17912 fi 17913 fi 17914 fi 17915 fi 17916 if test -n "$found_la"; then 17917 save_libdir="$libdir" 17918 case "$found_la" in 17919 */* | *\\*) . "$found_la" ;; 17920 *) . "./$found_la" ;; 17921 esac 17922 libdir="$save_libdir" 17923 for dep in $dependency_libs; do 17924 case "$dep" in 17925 -L*) 17926 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` 17927 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ 17928 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then 17929 haveit= 17930 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ 17931 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then 17932 if test -n "$GCC"; then 17933 case $host_os in 17934 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 17935 esac 17936 fi 17937 fi 17938 if test -z "$haveit"; then 17939 haveit= 17940 for x in $LDFLAGS $LIBICONV; do 17941 17942 acl_save_prefix="$prefix" 17943 prefix="$acl_final_prefix" 17944 acl_save_exec_prefix="$exec_prefix" 17945 exec_prefix="$acl_final_exec_prefix" 17946 eval x=\"$x\" 17947 exec_prefix="$acl_save_exec_prefix" 17948 prefix="$acl_save_prefix" 17949 17950 if test "X$x" = "X-L$additional_libdir"; then 17951 haveit=yes 17952 break 17953 fi 17954 done 17955 if test -z "$haveit"; then 17956 if test -d "$additional_libdir"; then 17957 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir" 17958 fi 17959 fi 17960 haveit= 17961 for x in $LDFLAGS $LTLIBICONV; do 17962 17963 acl_save_prefix="$prefix" 17964 prefix="$acl_final_prefix" 17965 acl_save_exec_prefix="$exec_prefix" 17966 exec_prefix="$acl_final_exec_prefix" 17967 eval x=\"$x\" 17968 exec_prefix="$acl_save_exec_prefix" 17969 prefix="$acl_save_prefix" 17970 17971 if test "X$x" = "X-L$additional_libdir"; then 17972 haveit=yes 17973 break 17974 fi 17975 done 17976 if test -z "$haveit"; then 17977 if test -d "$additional_libdir"; then 17978 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir" 17979 fi 17980 fi 17981 fi 17982 fi 17983 ;; 17984 -R*) 17985 dir=`echo "X$dep" | sed -e 's/^X-R//'` 17986 if test "$enable_rpath" != no; then 17987 haveit= 17988 for x in $rpathdirs; do 17989 if test "X$x" = "X$dir"; then 17990 haveit=yes 17991 break 17992 fi 17993 done 17994 if test -z "$haveit"; then 17995 rpathdirs="$rpathdirs $dir" 17996 fi 17997 haveit= 17998 for x in $ltrpathdirs; do 17999 if test "X$x" = "X$dir"; then 18000 haveit=yes 18001 break 18002 fi 18003 done 18004 if test -z "$haveit"; then 18005 ltrpathdirs="$ltrpathdirs $dir" 18006 fi 18007 fi 18008 ;; 18009 -l*) 18010 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` 18011 ;; 18012 *.la) 18013 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` 18014 ;; 18015 *) 18016 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep" 18017 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep" 18018 ;; 18019 esac 18020 done 18021 fi 18022 else 18023 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" 18024 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name" 18025 fi 18026 fi 18027 fi 18028 done 18029 done 18030 if test "X$rpathdirs" != "X"; then 18031 if test -n "$acl_hardcode_libdir_separator"; then 18032 alldirs= 18033 for found_dir in $rpathdirs; do 18034 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" 18035 done 18036 acl_save_libdir="$libdir" 18037 libdir="$alldirs" 18038 eval flag=\"$acl_hardcode_libdir_flag_spec\" 18039 libdir="$acl_save_libdir" 18040 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" 18041 else 18042 for found_dir in $rpathdirs; do 18043 acl_save_libdir="$libdir" 18044 libdir="$found_dir" 18045 eval flag=\"$acl_hardcode_libdir_flag_spec\" 18046 libdir="$acl_save_libdir" 18047 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" 18048 done 18049 fi 18050 fi 18051 if test "X$ltrpathdirs" != "X"; then 18052 for found_dir in $ltrpathdirs; do 18053 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir" 18054 done 18055 fi 18056 18057 18058 18059 18060 18061 18062 18063 18064 18065 18066 18067 18068 18069 18070 18071 18072 18073 18074 18075 18076 18077 18078 18079 18080 18081 18082 18083 18084 18085 18086 18087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5 18088$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; } 18089if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then : 18090 $as_echo_n "(cached) " >&6 18091else 18092 gt_save_LIBS="$LIBS" 18093 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" 18094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18095/* end confdefs.h. */ 18096#include <CoreFoundation/CFPreferences.h> 18097int 18098main () 18099{ 18100CFPreferencesCopyAppValue(NULL, NULL) 18101 ; 18102 return 0; 18103} 18104_ACEOF 18105if ac_fn_c_try_link "$LINENO"; then : 18106 gt_cv_func_CFPreferencesCopyAppValue=yes 18107else 18108 gt_cv_func_CFPreferencesCopyAppValue=no 18109fi 18110rm -f core conftest.err conftest.$ac_objext \ 18111 conftest$ac_exeext conftest.$ac_ext 18112 LIBS="$gt_save_LIBS" 18113fi 18114{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5 18115$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; } 18116 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then 18117 18118$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h 18119 18120 fi 18121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5 18122$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; } 18123if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then : 18124 $as_echo_n "(cached) " >&6 18125else 18126 gt_save_LIBS="$LIBS" 18127 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" 18128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18129/* end confdefs.h. */ 18130#include <CoreFoundation/CFLocale.h> 18131int 18132main () 18133{ 18134CFLocaleCopyCurrent(); 18135 ; 18136 return 0; 18137} 18138_ACEOF 18139if ac_fn_c_try_link "$LINENO"; then : 18140 gt_cv_func_CFLocaleCopyCurrent=yes 18141else 18142 gt_cv_func_CFLocaleCopyCurrent=no 18143fi 18144rm -f core conftest.err conftest.$ac_objext \ 18145 conftest$ac_exeext conftest.$ac_ext 18146 LIBS="$gt_save_LIBS" 18147fi 18148{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5 18149$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; } 18150 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then 18151 18152$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h 18153 18154 fi 18155 INTL_MACOSX_LIBS= 18156 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then 18157 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation" 18158 fi 18159 18160 18161 18162 18163 18164 18165 LIBINTL= 18166 LTLIBINTL= 18167 POSUB= 18168 18169 case " $gt_needs " in 18170 *" need-formatstring-macros "*) gt_api_version=3 ;; 18171 *" need-ngettext "*) gt_api_version=2 ;; 18172 *) gt_api_version=1 ;; 18173 esac 18174 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc" 18175 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl" 18176 18177 if test "$USE_NLS" = "yes"; then 18178 gt_use_preinstalled_gnugettext=no 18179 18180 18181 if test $gt_api_version -ge 3; then 18182 gt_revision_test_code=' 18183#ifndef __GNU_GETTEXT_SUPPORTED_REVISION 18184#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1) 18185#endif 18186typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; 18187' 18188 else 18189 gt_revision_test_code= 18190 fi 18191 if test $gt_api_version -ge 2; then 18192 gt_expression_test_code=' + * ngettext ("", "", 0)' 18193 else 18194 gt_expression_test_code= 18195 fi 18196 18197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5 18198$as_echo_n "checking for GNU gettext in libc... " >&6; } 18199if eval \${$gt_func_gnugettext_libc+:} false; then : 18200 $as_echo_n "(cached) " >&6 18201else 18202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18203/* end confdefs.h. */ 18204#include <libintl.h> 18205$gt_revision_test_code 18206extern int _nl_msg_cat_cntr; 18207extern int *_nl_domain_bindings; 18208int 18209main () 18210{ 18211bindtextdomain ("", ""); 18212return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings 18213 ; 18214 return 0; 18215} 18216_ACEOF 18217if ac_fn_c_try_link "$LINENO"; then : 18218 eval "$gt_func_gnugettext_libc=yes" 18219else 18220 eval "$gt_func_gnugettext_libc=no" 18221fi 18222rm -f core conftest.err conftest.$ac_objext \ 18223 conftest$ac_exeext conftest.$ac_ext 18224fi 18225eval ac_res=\$$gt_func_gnugettext_libc 18226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 18227$as_echo "$ac_res" >&6; } 18228 18229 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then 18230 18231 18232 18233 18234 18235 am_save_CPPFLAGS="$CPPFLAGS" 18236 18237 for element in $INCICONV; do 18238 haveit= 18239 for x in $CPPFLAGS; do 18240 18241 acl_save_prefix="$prefix" 18242 prefix="$acl_final_prefix" 18243 acl_save_exec_prefix="$exec_prefix" 18244 exec_prefix="$acl_final_exec_prefix" 18245 eval x=\"$x\" 18246 exec_prefix="$acl_save_exec_prefix" 18247 prefix="$acl_save_prefix" 18248 18249 if test "X$x" = "X$element"; then 18250 haveit=yes 18251 break 18252 fi 18253 done 18254 if test -z "$haveit"; then 18255 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" 18256 fi 18257 done 18258 18259 18260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 18261$as_echo_n "checking for iconv... " >&6; } 18262if ${am_cv_func_iconv+:} false; then : 18263 $as_echo_n "(cached) " >&6 18264else 18265 18266 am_cv_func_iconv="no, consider installing GNU libiconv" 18267 am_cv_lib_iconv=no 18268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18269/* end confdefs.h. */ 18270#include <stdlib.h> 18271#include <iconv.h> 18272int 18273main () 18274{ 18275iconv_t cd = iconv_open("",""); 18276 iconv(cd,NULL,NULL,NULL,NULL); 18277 iconv_close(cd); 18278 ; 18279 return 0; 18280} 18281_ACEOF 18282if ac_fn_c_try_link "$LINENO"; then : 18283 am_cv_func_iconv=yes 18284fi 18285rm -f core conftest.err conftest.$ac_objext \ 18286 conftest$ac_exeext conftest.$ac_ext 18287 if test "$am_cv_func_iconv" != yes; then 18288 am_save_LIBS="$LIBS" 18289 LIBS="$LIBS $LIBICONV" 18290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18291/* end confdefs.h. */ 18292#include <stdlib.h> 18293#include <iconv.h> 18294int 18295main () 18296{ 18297iconv_t cd = iconv_open("",""); 18298 iconv(cd,NULL,NULL,NULL,NULL); 18299 iconv_close(cd); 18300 ; 18301 return 0; 18302} 18303_ACEOF 18304if ac_fn_c_try_link "$LINENO"; then : 18305 am_cv_lib_iconv=yes 18306 am_cv_func_iconv=yes 18307fi 18308rm -f core conftest.err conftest.$ac_objext \ 18309 conftest$ac_exeext conftest.$ac_ext 18310 LIBS="$am_save_LIBS" 18311 fi 18312 18313fi 18314{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 18315$as_echo "$am_cv_func_iconv" >&6; } 18316 if test "$am_cv_func_iconv" = yes; then 18317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5 18318$as_echo_n "checking for working iconv... " >&6; } 18319if ${am_cv_func_iconv_works+:} false; then : 18320 $as_echo_n "(cached) " >&6 18321else 18322 18323 am_save_LIBS="$LIBS" 18324 if test $am_cv_lib_iconv = yes; then 18325 LIBS="$LIBS $LIBICONV" 18326 fi 18327 if test "$cross_compiling" = yes; then : 18328 case "$host_os" in 18329 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; 18330 *) am_cv_func_iconv_works="guessing yes" ;; 18331 esac 18332else 18333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18334/* end confdefs.h. */ 18335 18336#include <iconv.h> 18337#include <string.h> 18338int main () 18339{ 18340 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful 18341 returns. */ 18342 { 18343 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8"); 18344 if (cd_utf8_to_88591 != (iconv_t)(-1)) 18345 { 18346 static const char input[] = "\342\202\254"; /* EURO SIGN */ 18347 char buf[10]; 18348 const char *inptr = input; 18349 size_t inbytesleft = strlen (input); 18350 char *outptr = buf; 18351 size_t outbytesleft = sizeof (buf); 18352 size_t res = iconv (cd_utf8_to_88591, 18353 (char **) &inptr, &inbytesleft, 18354 &outptr, &outbytesleft); 18355 if (res == 0) 18356 return 1; 18357 } 18358 } 18359 /* Test against Solaris 10 bug: Failures are not distinguishable from 18360 successful returns. */ 18361 { 18362 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646"); 18363 if (cd_ascii_to_88591 != (iconv_t)(-1)) 18364 { 18365 static const char input[] = "\263"; 18366 char buf[10]; 18367 const char *inptr = input; 18368 size_t inbytesleft = strlen (input); 18369 char *outptr = buf; 18370 size_t outbytesleft = sizeof (buf); 18371 size_t res = iconv (cd_ascii_to_88591, 18372 (char **) &inptr, &inbytesleft, 18373 &outptr, &outbytesleft); 18374 if (res == 0) 18375 return 1; 18376 } 18377 } 18378#if 0 /* This bug could be worked around by the caller. */ 18379 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */ 18380 { 18381 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591"); 18382 if (cd_88591_to_utf8 != (iconv_t)(-1)) 18383 { 18384 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; 18385 char buf[50]; 18386 const char *inptr = input; 18387 size_t inbytesleft = strlen (input); 18388 char *outptr = buf; 18389 size_t outbytesleft = sizeof (buf); 18390 size_t res = iconv (cd_88591_to_utf8, 18391 (char **) &inptr, &inbytesleft, 18392 &outptr, &outbytesleft); 18393 if ((int)res > 0) 18394 return 1; 18395 } 18396 } 18397#endif 18398 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is 18399 provided. */ 18400 if (/* Try standardized names. */ 18401 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1) 18402 /* Try IRIX, OSF/1 names. */ 18403 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1) 18404 /* Try AIX names. */ 18405 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1) 18406 /* Try HP-UX names. */ 18407 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1)) 18408 return 1; 18409 return 0; 18410} 18411_ACEOF 18412if ac_fn_c_try_run "$LINENO"; then : 18413 am_cv_func_iconv_works=yes 18414else 18415 am_cv_func_iconv_works=no 18416fi 18417rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 18418 conftest.$ac_objext conftest.beam conftest.$ac_ext 18419fi 18420 18421 LIBS="$am_save_LIBS" 18422 18423fi 18424{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5 18425$as_echo "$am_cv_func_iconv_works" >&6; } 18426 case "$am_cv_func_iconv_works" in 18427 *no) am_func_iconv=no am_cv_lib_iconv=no ;; 18428 *) am_func_iconv=yes ;; 18429 esac 18430 else 18431 am_func_iconv=no am_cv_lib_iconv=no 18432 fi 18433 if test "$am_func_iconv" = yes; then 18434 18435$as_echo "#define HAVE_ICONV 1" >>confdefs.h 18436 18437 fi 18438 if test "$am_cv_lib_iconv" = yes; then 18439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5 18440$as_echo_n "checking how to link with libiconv... " >&6; } 18441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5 18442$as_echo "$LIBICONV" >&6; } 18443 else 18444 CPPFLAGS="$am_save_CPPFLAGS" 18445 LIBICONV= 18446 LTLIBICONV= 18447 fi 18448 18449 18450 18451 18452 18453 18454 18455 18456 18457 18458 18459 use_additional=yes 18460 18461 acl_save_prefix="$prefix" 18462 prefix="$acl_final_prefix" 18463 acl_save_exec_prefix="$exec_prefix" 18464 exec_prefix="$acl_final_exec_prefix" 18465 18466 eval additional_includedir=\"$includedir\" 18467 eval additional_libdir=\"$libdir\" 18468 18469 exec_prefix="$acl_save_exec_prefix" 18470 prefix="$acl_save_prefix" 18471 18472 18473# Check whether --with-libintl-prefix was given. 18474if test "${with_libintl_prefix+set}" = set; then : 18475 withval=$with_libintl_prefix; 18476 if test "X$withval" = "Xno"; then 18477 use_additional=no 18478 else 18479 if test "X$withval" = "X"; then 18480 18481 acl_save_prefix="$prefix" 18482 prefix="$acl_final_prefix" 18483 acl_save_exec_prefix="$exec_prefix" 18484 exec_prefix="$acl_final_exec_prefix" 18485 18486 eval additional_includedir=\"$includedir\" 18487 eval additional_libdir=\"$libdir\" 18488 18489 exec_prefix="$acl_save_exec_prefix" 18490 prefix="$acl_save_prefix" 18491 18492 else 18493 additional_includedir="$withval/include" 18494 additional_libdir="$withval/$acl_libdirstem" 18495 if test "$acl_libdirstem2" != "$acl_libdirstem" \ 18496 && ! test -d "$withval/$acl_libdirstem"; then 18497 additional_libdir="$withval/$acl_libdirstem2" 18498 fi 18499 fi 18500 fi 18501 18502fi 18503 18504 LIBINTL= 18505 LTLIBINTL= 18506 INCINTL= 18507 LIBINTL_PREFIX= 18508 HAVE_LIBINTL= 18509 rpathdirs= 18510 ltrpathdirs= 18511 names_already_handled= 18512 names_next_round='intl ' 18513 while test -n "$names_next_round"; do 18514 names_this_round="$names_next_round" 18515 names_next_round= 18516 for name in $names_this_round; do 18517 already_handled= 18518 for n in $names_already_handled; do 18519 if test "$n" = "$name"; then 18520 already_handled=yes 18521 break 18522 fi 18523 done 18524 if test -z "$already_handled"; then 18525 names_already_handled="$names_already_handled $name" 18526 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` 18527 eval value=\"\$HAVE_LIB$uppername\" 18528 if test -n "$value"; then 18529 if test "$value" = yes; then 18530 eval value=\"\$LIB$uppername\" 18531 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value" 18532 eval value=\"\$LTLIB$uppername\" 18533 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value" 18534 else 18535 : 18536 fi 18537 else 18538 found_dir= 18539 found_la= 18540 found_so= 18541 found_a= 18542 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name 18543 if test -n "$acl_shlibext"; then 18544 shrext=".$acl_shlibext" # typically: shrext=.so 18545 else 18546 shrext= 18547 fi 18548 if test $use_additional = yes; then 18549 dir="$additional_libdir" 18550 if test -n "$acl_shlibext"; then 18551 if test -f "$dir/$libname$shrext"; then 18552 found_dir="$dir" 18553 found_so="$dir/$libname$shrext" 18554 else 18555 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 18556 ver=`(cd "$dir" && \ 18557 for f in "$libname$shrext".*; do echo "$f"; done \ 18558 | sed -e "s,^$libname$shrext\\\\.,," \ 18559 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 18560 | sed 1q ) 2>/dev/null` 18561 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then 18562 found_dir="$dir" 18563 found_so="$dir/$libname$shrext.$ver" 18564 fi 18565 else 18566 eval library_names=\"$acl_library_names_spec\" 18567 for f in $library_names; do 18568 if test -f "$dir/$f"; then 18569 found_dir="$dir" 18570 found_so="$dir/$f" 18571 break 18572 fi 18573 done 18574 fi 18575 fi 18576 fi 18577 if test "X$found_dir" = "X"; then 18578 if test -f "$dir/$libname.$acl_libext"; then 18579 found_dir="$dir" 18580 found_a="$dir/$libname.$acl_libext" 18581 fi 18582 fi 18583 if test "X$found_dir" != "X"; then 18584 if test -f "$dir/$libname.la"; then 18585 found_la="$dir/$libname.la" 18586 fi 18587 fi 18588 fi 18589 if test "X$found_dir" = "X"; then 18590 for x in $LDFLAGS $LTLIBINTL; do 18591 18592 acl_save_prefix="$prefix" 18593 prefix="$acl_final_prefix" 18594 acl_save_exec_prefix="$exec_prefix" 18595 exec_prefix="$acl_final_exec_prefix" 18596 eval x=\"$x\" 18597 exec_prefix="$acl_save_exec_prefix" 18598 prefix="$acl_save_prefix" 18599 18600 case "$x" in 18601 -L*) 18602 dir=`echo "X$x" | sed -e 's/^X-L//'` 18603 if test -n "$acl_shlibext"; then 18604 if test -f "$dir/$libname$shrext"; then 18605 found_dir="$dir" 18606 found_so="$dir/$libname$shrext" 18607 else 18608 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 18609 ver=`(cd "$dir" && \ 18610 for f in "$libname$shrext".*; do echo "$f"; done \ 18611 | sed -e "s,^$libname$shrext\\\\.,," \ 18612 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 18613 | sed 1q ) 2>/dev/null` 18614 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then 18615 found_dir="$dir" 18616 found_so="$dir/$libname$shrext.$ver" 18617 fi 18618 else 18619 eval library_names=\"$acl_library_names_spec\" 18620 for f in $library_names; do 18621 if test -f "$dir/$f"; then 18622 found_dir="$dir" 18623 found_so="$dir/$f" 18624 break 18625 fi 18626 done 18627 fi 18628 fi 18629 fi 18630 if test "X$found_dir" = "X"; then 18631 if test -f "$dir/$libname.$acl_libext"; then 18632 found_dir="$dir" 18633 found_a="$dir/$libname.$acl_libext" 18634 fi 18635 fi 18636 if test "X$found_dir" != "X"; then 18637 if test -f "$dir/$libname.la"; then 18638 found_la="$dir/$libname.la" 18639 fi 18640 fi 18641 ;; 18642 esac 18643 if test "X$found_dir" != "X"; then 18644 break 18645 fi 18646 done 18647 fi 18648 if test "X$found_dir" != "X"; then 18649 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name" 18650 if test "X$found_so" != "X"; then 18651 if test "$enable_rpath" = no \ 18652 || test "X$found_dir" = "X/usr/$acl_libdirstem" \ 18653 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then 18654 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 18655 else 18656 haveit= 18657 for x in $ltrpathdirs; do 18658 if test "X$x" = "X$found_dir"; then 18659 haveit=yes 18660 break 18661 fi 18662 done 18663 if test -z "$haveit"; then 18664 ltrpathdirs="$ltrpathdirs $found_dir" 18665 fi 18666 if test "$acl_hardcode_direct" = yes; then 18667 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 18668 else 18669 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then 18670 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 18671 haveit= 18672 for x in $rpathdirs; do 18673 if test "X$x" = "X$found_dir"; then 18674 haveit=yes 18675 break 18676 fi 18677 done 18678 if test -z "$haveit"; then 18679 rpathdirs="$rpathdirs $found_dir" 18680 fi 18681 else 18682 haveit= 18683 for x in $LDFLAGS $LIBINTL; do 18684 18685 acl_save_prefix="$prefix" 18686 prefix="$acl_final_prefix" 18687 acl_save_exec_prefix="$exec_prefix" 18688 exec_prefix="$acl_final_exec_prefix" 18689 eval x=\"$x\" 18690 exec_prefix="$acl_save_exec_prefix" 18691 prefix="$acl_save_prefix" 18692 18693 if test "X$x" = "X-L$found_dir"; then 18694 haveit=yes 18695 break 18696 fi 18697 done 18698 if test -z "$haveit"; then 18699 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir" 18700 fi 18701 if test "$acl_hardcode_minus_L" != no; then 18702 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 18703 else 18704 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" 18705 fi 18706 fi 18707 fi 18708 fi 18709 else 18710 if test "X$found_a" != "X"; then 18711 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a" 18712 else 18713 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name" 18714 fi 18715 fi 18716 additional_includedir= 18717 case "$found_dir" in 18718 */$acl_libdirstem | */$acl_libdirstem/) 18719 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` 18720 if test "$name" = 'intl'; then 18721 LIBINTL_PREFIX="$basedir" 18722 fi 18723 additional_includedir="$basedir/include" 18724 ;; 18725 */$acl_libdirstem2 | */$acl_libdirstem2/) 18726 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` 18727 if test "$name" = 'intl'; then 18728 LIBINTL_PREFIX="$basedir" 18729 fi 18730 additional_includedir="$basedir/include" 18731 ;; 18732 esac 18733 if test "X$additional_includedir" != "X"; then 18734 if test "X$additional_includedir" != "X/usr/include"; then 18735 haveit= 18736 if test "X$additional_includedir" = "X/usr/local/include"; then 18737 if test -n "$GCC"; then 18738 case $host_os in 18739 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 18740 esac 18741 fi 18742 fi 18743 if test -z "$haveit"; then 18744 for x in $CPPFLAGS $INCINTL; do 18745 18746 acl_save_prefix="$prefix" 18747 prefix="$acl_final_prefix" 18748 acl_save_exec_prefix="$exec_prefix" 18749 exec_prefix="$acl_final_exec_prefix" 18750 eval x=\"$x\" 18751 exec_prefix="$acl_save_exec_prefix" 18752 prefix="$acl_save_prefix" 18753 18754 if test "X$x" = "X-I$additional_includedir"; then 18755 haveit=yes 18756 break 18757 fi 18758 done 18759 if test -z "$haveit"; then 18760 if test -d "$additional_includedir"; then 18761 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir" 18762 fi 18763 fi 18764 fi 18765 fi 18766 fi 18767 if test -n "$found_la"; then 18768 save_libdir="$libdir" 18769 case "$found_la" in 18770 */* | *\\*) . "$found_la" ;; 18771 *) . "./$found_la" ;; 18772 esac 18773 libdir="$save_libdir" 18774 for dep in $dependency_libs; do 18775 case "$dep" in 18776 -L*) 18777 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` 18778 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ 18779 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then 18780 haveit= 18781 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ 18782 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then 18783 if test -n "$GCC"; then 18784 case $host_os in 18785 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 18786 esac 18787 fi 18788 fi 18789 if test -z "$haveit"; then 18790 haveit= 18791 for x in $LDFLAGS $LIBINTL; do 18792 18793 acl_save_prefix="$prefix" 18794 prefix="$acl_final_prefix" 18795 acl_save_exec_prefix="$exec_prefix" 18796 exec_prefix="$acl_final_exec_prefix" 18797 eval x=\"$x\" 18798 exec_prefix="$acl_save_exec_prefix" 18799 prefix="$acl_save_prefix" 18800 18801 if test "X$x" = "X-L$additional_libdir"; then 18802 haveit=yes 18803 break 18804 fi 18805 done 18806 if test -z "$haveit"; then 18807 if test -d "$additional_libdir"; then 18808 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir" 18809 fi 18810 fi 18811 haveit= 18812 for x in $LDFLAGS $LTLIBINTL; do 18813 18814 acl_save_prefix="$prefix" 18815 prefix="$acl_final_prefix" 18816 acl_save_exec_prefix="$exec_prefix" 18817 exec_prefix="$acl_final_exec_prefix" 18818 eval x=\"$x\" 18819 exec_prefix="$acl_save_exec_prefix" 18820 prefix="$acl_save_prefix" 18821 18822 if test "X$x" = "X-L$additional_libdir"; then 18823 haveit=yes 18824 break 18825 fi 18826 done 18827 if test -z "$haveit"; then 18828 if test -d "$additional_libdir"; then 18829 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir" 18830 fi 18831 fi 18832 fi 18833 fi 18834 ;; 18835 -R*) 18836 dir=`echo "X$dep" | sed -e 's/^X-R//'` 18837 if test "$enable_rpath" != no; then 18838 haveit= 18839 for x in $rpathdirs; do 18840 if test "X$x" = "X$dir"; then 18841 haveit=yes 18842 break 18843 fi 18844 done 18845 if test -z "$haveit"; then 18846 rpathdirs="$rpathdirs $dir" 18847 fi 18848 haveit= 18849 for x in $ltrpathdirs; do 18850 if test "X$x" = "X$dir"; then 18851 haveit=yes 18852 break 18853 fi 18854 done 18855 if test -z "$haveit"; then 18856 ltrpathdirs="$ltrpathdirs $dir" 18857 fi 18858 fi 18859 ;; 18860 -l*) 18861 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` 18862 ;; 18863 *.la) 18864 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` 18865 ;; 18866 *) 18867 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep" 18868 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep" 18869 ;; 18870 esac 18871 done 18872 fi 18873 else 18874 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" 18875 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name" 18876 fi 18877 fi 18878 fi 18879 done 18880 done 18881 if test "X$rpathdirs" != "X"; then 18882 if test -n "$acl_hardcode_libdir_separator"; then 18883 alldirs= 18884 for found_dir in $rpathdirs; do 18885 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" 18886 done 18887 acl_save_libdir="$libdir" 18888 libdir="$alldirs" 18889 eval flag=\"$acl_hardcode_libdir_flag_spec\" 18890 libdir="$acl_save_libdir" 18891 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" 18892 else 18893 for found_dir in $rpathdirs; do 18894 acl_save_libdir="$libdir" 18895 libdir="$found_dir" 18896 eval flag=\"$acl_hardcode_libdir_flag_spec\" 18897 libdir="$acl_save_libdir" 18898 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" 18899 done 18900 fi 18901 fi 18902 if test "X$ltrpathdirs" != "X"; then 18903 for found_dir in $ltrpathdirs; do 18904 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir" 18905 done 18906 fi 18907 18908 18909 18910 18911 18912 18913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5 18914$as_echo_n "checking for GNU gettext in libintl... " >&6; } 18915if eval \${$gt_func_gnugettext_libintl+:} false; then : 18916 $as_echo_n "(cached) " >&6 18917else 18918 gt_save_CPPFLAGS="$CPPFLAGS" 18919 CPPFLAGS="$CPPFLAGS $INCINTL" 18920 gt_save_LIBS="$LIBS" 18921 LIBS="$LIBS $LIBINTL" 18922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18923/* end confdefs.h. */ 18924#include <libintl.h> 18925$gt_revision_test_code 18926extern int _nl_msg_cat_cntr; 18927extern 18928#ifdef __cplusplus 18929"C" 18930#endif 18931const char *_nl_expand_alias (const char *); 18932int 18933main () 18934{ 18935bindtextdomain ("", ""); 18936return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") 18937 ; 18938 return 0; 18939} 18940_ACEOF 18941if ac_fn_c_try_link "$LINENO"; then : 18942 eval "$gt_func_gnugettext_libintl=yes" 18943else 18944 eval "$gt_func_gnugettext_libintl=no" 18945fi 18946rm -f core conftest.err conftest.$ac_objext \ 18947 conftest$ac_exeext conftest.$ac_ext 18948 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then 18949 LIBS="$LIBS $LIBICONV" 18950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18951/* end confdefs.h. */ 18952#include <libintl.h> 18953$gt_revision_test_code 18954extern int _nl_msg_cat_cntr; 18955extern 18956#ifdef __cplusplus 18957"C" 18958#endif 18959const char *_nl_expand_alias (const char *); 18960int 18961main () 18962{ 18963bindtextdomain ("", ""); 18964return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") 18965 ; 18966 return 0; 18967} 18968_ACEOF 18969if ac_fn_c_try_link "$LINENO"; then : 18970 LIBINTL="$LIBINTL $LIBICONV" 18971 LTLIBINTL="$LTLIBINTL $LTLIBICONV" 18972 eval "$gt_func_gnugettext_libintl=yes" 18973 18974fi 18975rm -f core conftest.err conftest.$ac_objext \ 18976 conftest$ac_exeext conftest.$ac_ext 18977 fi 18978 CPPFLAGS="$gt_save_CPPFLAGS" 18979 LIBS="$gt_save_LIBS" 18980fi 18981eval ac_res=\$$gt_func_gnugettext_libintl 18982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 18983$as_echo "$ac_res" >&6; } 18984 fi 18985 18986 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \ 18987 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \ 18988 && test "$PACKAGE" != gettext-runtime \ 18989 && test "$PACKAGE" != gettext-tools; }; then 18990 gt_use_preinstalled_gnugettext=yes 18991 else 18992 LIBINTL= 18993 LTLIBINTL= 18994 INCINTL= 18995 fi 18996 18997 18998 18999 if test -n "$INTL_MACOSX_LIBS"; then 19000 if test "$gt_use_preinstalled_gnugettext" = "yes" \ 19001 || test "$nls_cv_use_gnu_gettext" = "yes"; then 19002 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS" 19003 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS" 19004 fi 19005 fi 19006 19007 if test "$gt_use_preinstalled_gnugettext" = "yes" \ 19008 || test "$nls_cv_use_gnu_gettext" = "yes"; then 19009 19010$as_echo "#define ENABLE_NLS 1" >>confdefs.h 19011 19012 else 19013 USE_NLS=no 19014 fi 19015 fi 19016 19017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5 19018$as_echo_n "checking whether to use NLS... " >&6; } 19019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 19020$as_echo "$USE_NLS" >&6; } 19021 if test "$USE_NLS" = "yes"; then 19022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5 19023$as_echo_n "checking where the gettext function comes from... " >&6; } 19024 if test "$gt_use_preinstalled_gnugettext" = "yes"; then 19025 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then 19026 gt_source="external libintl" 19027 else 19028 gt_source="libc" 19029 fi 19030 else 19031 gt_source="included intl directory" 19032 fi 19033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5 19034$as_echo "$gt_source" >&6; } 19035 fi 19036 19037 if test "$USE_NLS" = "yes"; then 19038 19039 if test "$gt_use_preinstalled_gnugettext" = "yes"; then 19040 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then 19041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5 19042$as_echo_n "checking how to link with libintl... " >&6; } 19043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5 19044$as_echo "$LIBINTL" >&6; } 19045 19046 for element in $INCINTL; do 19047 haveit= 19048 for x in $CPPFLAGS; do 19049 19050 acl_save_prefix="$prefix" 19051 prefix="$acl_final_prefix" 19052 acl_save_exec_prefix="$exec_prefix" 19053 exec_prefix="$acl_final_exec_prefix" 19054 eval x=\"$x\" 19055 exec_prefix="$acl_save_exec_prefix" 19056 prefix="$acl_save_prefix" 19057 19058 if test "X$x" = "X$element"; then 19059 haveit=yes 19060 break 19061 fi 19062 done 19063 if test -z "$haveit"; then 19064 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" 19065 fi 19066 done 19067 19068 fi 19069 19070 19071$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h 19072 19073 19074$as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h 19075 19076 fi 19077 19078 POSUB=po 19079 fi 19080 19081 19082 19083 INTLLIBS="$LIBINTL" 19084 19085 19086 19087 19088 19089 19090 19091 19092{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 19093$as_echo_n "checking for an ANSI C-conforming const... " >&6; } 19094if ${ac_cv_c_const+:} false; then : 19095 $as_echo_n "(cached) " >&6 19096else 19097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19098/* end confdefs.h. */ 19099 19100int 19101main () 19102{ 19103 19104#ifndef __cplusplus 19105 /* Ultrix mips cc rejects this sort of thing. */ 19106 typedef int charset[2]; 19107 const charset cs = { 0, 0 }; 19108 /* SunOS 4.1.1 cc rejects this. */ 19109 char const *const *pcpcc; 19110 char **ppc; 19111 /* NEC SVR4.0.2 mips cc rejects this. */ 19112 struct point {int x, y;}; 19113 static struct point const zero = {0,0}; 19114 /* AIX XL C 1.02.0.0 rejects this. 19115 It does not let you subtract one const X* pointer from another in 19116 an arm of an if-expression whose if-part is not a constant 19117 expression */ 19118 const char *g = "string"; 19119 pcpcc = &g + (g ? g-g : 0); 19120 /* HPUX 7.0 cc rejects these. */ 19121 ++pcpcc; 19122 ppc = (char**) pcpcc; 19123 pcpcc = (char const *const *) ppc; 19124 { /* SCO 3.2v4 cc rejects this sort of thing. */ 19125 char tx; 19126 char *t = &tx; 19127 char const *s = 0 ? (char *) 0 : (char const *) 0; 19128 19129 *t++ = 0; 19130 if (s) return 0; 19131 } 19132 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ 19133 int x[] = {25, 17}; 19134 const int *foo = &x[0]; 19135 ++foo; 19136 } 19137 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 19138 typedef const int *iptr; 19139 iptr p = 0; 19140 ++p; 19141 } 19142 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying 19143 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 19144 struct s { int j; const int *ap[3]; } bx; 19145 struct s *b = &bx; b->j = 5; 19146 } 19147 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 19148 const int foo = 10; 19149 if (!foo) return 0; 19150 } 19151 return !cs[0] && !zero.x; 19152#endif 19153 19154 ; 19155 return 0; 19156} 19157_ACEOF 19158if ac_fn_c_try_compile "$LINENO"; then : 19159 ac_cv_c_const=yes 19160else 19161 ac_cv_c_const=no 19162fi 19163rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19164fi 19165{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 19166$as_echo "$ac_cv_c_const" >&6; } 19167if test $ac_cv_c_const = no; then 19168 19169$as_echo "#define const /**/" >>confdefs.h 19170 19171fi 19172 19173{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5 19174$as_echo_n "checking for working volatile... " >&6; } 19175if ${ac_cv_c_volatile+:} false; then : 19176 $as_echo_n "(cached) " >&6 19177else 19178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19179/* end confdefs.h. */ 19180 19181int 19182main () 19183{ 19184 19185volatile int x; 19186int * volatile y = (int *) 0; 19187return !x && !y; 19188 ; 19189 return 0; 19190} 19191_ACEOF 19192if ac_fn_c_try_compile "$LINENO"; then : 19193 ac_cv_c_volatile=yes 19194else 19195 ac_cv_c_volatile=no 19196fi 19197rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19198fi 19199{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_volatile" >&5 19200$as_echo "$ac_cv_c_volatile" >&6; } 19201if test $ac_cv_c_volatile = no; then 19202 19203$as_echo "#define volatile /**/" >>confdefs.h 19204 19205fi 19206 19207 19208# Check whether --enable-largefile was given. 19209if test "${enable_largefile+set}" = set; then : 19210 enableval=$enable_largefile; 19211fi 19212 19213if test "$enable_largefile" != no; then 19214 19215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 19216$as_echo_n "checking for special C compiler options needed for large files... " >&6; } 19217if ${ac_cv_sys_largefile_CC+:} false; then : 19218 $as_echo_n "(cached) " >&6 19219else 19220 ac_cv_sys_largefile_CC=no 19221 if test "$GCC" != yes; then 19222 ac_save_CC=$CC 19223 while :; do 19224 # IRIX 6.2 and later do not support large files by default, 19225 # so use the C compiler's -n32 option if that helps. 19226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19227/* end confdefs.h. */ 19228#include <sys/types.h> 19229 /* Check that off_t can represent 2**63 - 1 correctly. 19230 We can't simply define LARGE_OFF_T to be 9223372036854775807, 19231 since some C++ compilers masquerading as C compilers 19232 incorrectly reject 9223372036854775807. */ 19233#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 19234 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 19235 && LARGE_OFF_T % 2147483647 == 1) 19236 ? 1 : -1]; 19237int 19238main () 19239{ 19240 19241 ; 19242 return 0; 19243} 19244_ACEOF 19245 if ac_fn_c_try_compile "$LINENO"; then : 19246 break 19247fi 19248rm -f core conftest.err conftest.$ac_objext 19249 CC="$CC -n32" 19250 if ac_fn_c_try_compile "$LINENO"; then : 19251 ac_cv_sys_largefile_CC=' -n32'; break 19252fi 19253rm -f core conftest.err conftest.$ac_objext 19254 break 19255 done 19256 CC=$ac_save_CC 19257 rm -f conftest.$ac_ext 19258 fi 19259fi 19260{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5 19261$as_echo "$ac_cv_sys_largefile_CC" >&6; } 19262 if test "$ac_cv_sys_largefile_CC" != no; then 19263 CC=$CC$ac_cv_sys_largefile_CC 19264 fi 19265 19266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 19267$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } 19268if ${ac_cv_sys_file_offset_bits+:} false; then : 19269 $as_echo_n "(cached) " >&6 19270else 19271 while :; do 19272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19273/* end confdefs.h. */ 19274#include <sys/types.h> 19275 /* Check that off_t can represent 2**63 - 1 correctly. 19276 We can't simply define LARGE_OFF_T to be 9223372036854775807, 19277 since some C++ compilers masquerading as C compilers 19278 incorrectly reject 9223372036854775807. */ 19279#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 19280 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 19281 && LARGE_OFF_T % 2147483647 == 1) 19282 ? 1 : -1]; 19283int 19284main () 19285{ 19286 19287 ; 19288 return 0; 19289} 19290_ACEOF 19291if ac_fn_c_try_compile "$LINENO"; then : 19292 ac_cv_sys_file_offset_bits=no; break 19293fi 19294rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19296/* end confdefs.h. */ 19297#define _FILE_OFFSET_BITS 64 19298#include <sys/types.h> 19299 /* Check that off_t can represent 2**63 - 1 correctly. 19300 We can't simply define LARGE_OFF_T to be 9223372036854775807, 19301 since some C++ compilers masquerading as C compilers 19302 incorrectly reject 9223372036854775807. */ 19303#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 19304 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 19305 && LARGE_OFF_T % 2147483647 == 1) 19306 ? 1 : -1]; 19307int 19308main () 19309{ 19310 19311 ; 19312 return 0; 19313} 19314_ACEOF 19315if ac_fn_c_try_compile "$LINENO"; then : 19316 ac_cv_sys_file_offset_bits=64; break 19317fi 19318rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19319 ac_cv_sys_file_offset_bits=unknown 19320 break 19321done 19322fi 19323{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5 19324$as_echo "$ac_cv_sys_file_offset_bits" >&6; } 19325case $ac_cv_sys_file_offset_bits in #( 19326 no | unknown) ;; 19327 *) 19328cat >>confdefs.h <<_ACEOF 19329#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits 19330_ACEOF 19331;; 19332esac 19333rm -rf conftest* 19334 if test $ac_cv_sys_file_offset_bits = unknown; then 19335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 19336$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } 19337if ${ac_cv_sys_large_files+:} false; then : 19338 $as_echo_n "(cached) " >&6 19339else 19340 while :; do 19341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19342/* end confdefs.h. */ 19343#include <sys/types.h> 19344 /* Check that off_t can represent 2**63 - 1 correctly. 19345 We can't simply define LARGE_OFF_T to be 9223372036854775807, 19346 since some C++ compilers masquerading as C compilers 19347 incorrectly reject 9223372036854775807. */ 19348#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 19349 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 19350 && LARGE_OFF_T % 2147483647 == 1) 19351 ? 1 : -1]; 19352int 19353main () 19354{ 19355 19356 ; 19357 return 0; 19358} 19359_ACEOF 19360if ac_fn_c_try_compile "$LINENO"; then : 19361 ac_cv_sys_large_files=no; break 19362fi 19363rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19365/* end confdefs.h. */ 19366#define _LARGE_FILES 1 19367#include <sys/types.h> 19368 /* Check that off_t can represent 2**63 - 1 correctly. 19369 We can't simply define LARGE_OFF_T to be 9223372036854775807, 19370 since some C++ compilers masquerading as C compilers 19371 incorrectly reject 9223372036854775807. */ 19372#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 19373 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 19374 && LARGE_OFF_T % 2147483647 == 1) 19375 ? 1 : -1]; 19376int 19377main () 19378{ 19379 19380 ; 19381 return 0; 19382} 19383_ACEOF 19384if ac_fn_c_try_compile "$LINENO"; then : 19385 ac_cv_sys_large_files=1; break 19386fi 19387rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19388 ac_cv_sys_large_files=unknown 19389 break 19390done 19391fi 19392{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5 19393$as_echo "$ac_cv_sys_large_files" >&6; } 19394case $ac_cv_sys_large_files in #( 19395 no | unknown) ;; 19396 *) 19397cat >>confdefs.h <<_ACEOF 19398#define _LARGE_FILES $ac_cv_sys_large_files 19399_ACEOF 19400;; 19401esac 19402rm -rf conftest* 19403 fi 19404 19405 19406fi 19407 19408 19409 19410 19411 # Check whether --enable-shared-libs was given. 19412if test "${enable_shared_libs+set}" = set; then : 19413 enableval=$enable_shared_libs; ac_cv_enable_shared_libs=$enableval 19414else 19415 ac_cv_enable_shared_libs="yes" 19416fi 19417 19418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to disable disable shared library support" >&5 19419$as_echo_n "checking whether to disable disable shared library support... " >&6; } 19420if ${ac_cv_enable_shared_libs+:} false; then : 19421 $as_echo_n "(cached) " >&6 19422else 19423 ac_cv_enable_shared_libs="yes" 19424fi 19425{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_shared_libs" >&5 19426$as_echo "$ac_cv_enable_shared_libs" >&6; } 19427 19428 19429 19430 19431 # Check whether --enable-static-executables was given. 19432if test "${enable_static_executables+set}" = set; then : 19433 enableval=$enable_static_executables; ac_cv_enable_static_executables=$enableval 19434else 19435 ac_cv_enable_static_executables=no 19436fi 19437 19438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable build static executables (binaries)" >&5 19439$as_echo_n "checking whether to enable build static executables (binaries)... " >&6; } 19440if ${ac_cv_enable_static_executables+:} false; then : 19441 $as_echo_n "(cached) " >&6 19442else 19443 ac_cv_enable_static_executables=no 19444fi 19445{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_static_executables" >&5 19446$as_echo "$ac_cv_enable_static_executables" >&6; } 19447 19448 if test "x$ac_cv_enable_static_executables" != xno; then : 19449 STATIC_LDFLAGS="-all-static"; 19450 19451 19452 19453 ac_cv_enable_static_executables=yes 19454 enable_shared=no 19455fi 19456 19457 19458 19459 19460 # Check whether --enable-winapi was given. 19461if test "${enable_winapi+set}" = set; then : 19462 enableval=$enable_winapi; ac_cv_enable_winapi=$enableval 19463else 19464 ac_cv_enable_winapi=auto-detect 19465fi 19466 19467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable enable WINAPI support for cross-compilation" >&5 19468$as_echo_n "checking whether to enable enable WINAPI support for cross-compilation... " >&6; } 19469if ${ac_cv_enable_winapi+:} false; then : 19470 $as_echo_n "(cached) " >&6 19471else 19472 ac_cv_enable_winapi=auto-detect 19473fi 19474{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_winapi" >&5 19475$as_echo "$ac_cv_enable_winapi" >&6; } 19476 19477 if test "x$ac_cv_enable_winapi" = xauto-detect; then : 19478 ac_common_check_winapi_target_string="$target" 19479 19480 if test "x$ac_common_check_winapi_target_string" = x; then : 19481 ac_common_check_winapi_target_string="$host" 19482fi 19483 19484 case $ac_common_check_winapi_target_string in #( 19485 *mingw*) : 19486 { $as_echo "$as_me:${as_lineno-$LINENO}: detected MinGW enabling WINAPI support for cross-compilation" >&5 19487$as_echo "$as_me: detected MinGW enabling WINAPI support for cross-compilation" >&6;} 19488 ac_cv_enable_winapi=yes ;; #( 19489 *msys*) : 19490 { $as_echo "$as_me:${as_lineno-$LINENO}: detected MSYS enabling WINAPI support for cross-compilation" >&5 19491$as_echo "$as_me: detected MSYS enabling WINAPI support for cross-compilation" >&6;} 19492 ac_cv_enable_winapi=yes ;; #( 19493 *) : 19494 ac_cv_enable_winapi=no ;; #( 19495 *) : 19496 ;; 19497esac 19498 19499fi 19500 19501 19502 19503 19504 # Check whether --enable-wide-character-type was given. 19505if test "${enable_wide_character_type+set}" = set; then : 19506 enableval=$enable_wide_character_type; ac_cv_enable_wide_character_type=$enableval 19507else 19508 ac_cv_enable_wide_character_type=no 19509fi 19510 19511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable enable wide character type support" >&5 19512$as_echo_n "checking whether to enable enable wide character type support... " >&6; } 19513if ${ac_cv_enable_wide_character_type+:} false; then : 19514 $as_echo_n "(cached) " >&6 19515else 19516 ac_cv_enable_wide_character_type=no 19517fi 19518{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_wide_character_type" >&5 19519$as_echo "$ac_cv_enable_wide_character_type" >&6; } 19520 19521 19522 19523 19524 # Check whether --enable-verbose-output was given. 19525if test "${enable_verbose_output+set}" = set; then : 19526 enableval=$enable_verbose_output; ac_cv_enable_verbose_output=$enableval 19527else 19528 ac_cv_enable_verbose_output=no 19529fi 19530 19531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable enable verbose output" >&5 19532$as_echo_n "checking whether to enable enable verbose output... " >&6; } 19533if ${ac_cv_enable_verbose_output+:} false; then : 19534 $as_echo_n "(cached) " >&6 19535else 19536 ac_cv_enable_verbose_output=no 19537fi 19538{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_verbose_output" >&5 19539$as_echo "$ac_cv_enable_verbose_output" >&6; } 19540 19541 if test "x$ac_cv_enable_verbose_output" != xno ; then : 19542 19543$as_echo "#define HAVE_VERBOSE_OUTPUT 1" >>confdefs.h 19544 19545 19546 ac_cv_enable_verbose_output=yes 19547fi 19548 19549 19550 19551 19552 # Check whether --enable-debug-output was given. 19553if test "${enable_debug_output+set}" = set; then : 19554 enableval=$enable_debug_output; ac_cv_enable_debug_output=$enableval 19555else 19556 ac_cv_enable_debug_output=no 19557fi 19558 19559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable enable debug output" >&5 19560$as_echo_n "checking whether to enable enable debug output... " >&6; } 19561if ${ac_cv_enable_debug_output+:} false; then : 19562 $as_echo_n "(cached) " >&6 19563else 19564 ac_cv_enable_debug_output=no 19565fi 19566{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_debug_output" >&5 19567$as_echo "$ac_cv_enable_debug_output" >&6; } 19568 19569 if test "x$ac_cv_enable_debug_output" != xno ; then : 19570 19571$as_echo "#define HAVE_DEBUG_OUTPUT 1" >>confdefs.h 19572 19573 19574 ac_cv_enable_debug_output=yes 19575fi 19576 19577 19578if test "x$ac_cv_enable_winapi" = xyes; then : 19579 ac_cv_enable_wide_character_type=yes 19580fi 19581 19582 if test "x$ac_cv_enable_wide_character_type" = xyes; then : 19583 19584$as_echo "#define HAVE_WIDE_CHARACTER_TYPE 1" >>confdefs.h 19585 19586 HAVE_WIDE_CHARACTER_TYPE=1 19587 19588else 19589 HAVE_WIDE_CHARACTER_TYPE=0 19590 19591 19592fi 19593 19594 for ac_header in sys/types.h inttypes.h stdint.h wchar.h 19595do : 19596 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 19597ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 19598if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 19599 cat >>confdefs.h <<_ACEOF 19600#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 19601_ACEOF 19602 19603fi 19604 19605done 19606 19607 19608 if test "x$ac_cv_header_sys_types_h" = xyes; then : 19609 HAVE_SYS_TYPES_H=1 19610 19611else 19612 HAVE_SYS_TYPES_H=0 19613 19614 19615fi 19616 19617 if test "x$ac_cv_header_inttypes_h" = xyes; then : 19618 HAVE_INTTYPES_H=1 19619 19620else 19621 HAVE_INTTYPES_H=0 19622 19623 19624fi 19625 19626 if test "x$ac_cv_header_stdint_h" = xyes; then : 19627 HAVE_STDINT_H=1 19628 19629else 19630 HAVE_STDINT_H=0 19631 19632 19633fi 19634 19635 if test "x$ac_cv_header_wchar_h" = xyes; then : 19636 HAVE_WCHAR_H=1 19637 19638else 19639 HAVE_WCHAR_H=0 19640 19641 19642fi 19643 19644 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default" 19645if test "x$ac_cv_type_mode_t" = xyes; then : 19646 19647else 19648 19649cat >>confdefs.h <<_ACEOF 19650#define mode_t int 19651_ACEOF 19652 19653fi 19654 19655 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default" 19656if test "x$ac_cv_type_off_t" = xyes; then : 19657 19658else 19659 19660cat >>confdefs.h <<_ACEOF 19661#define off_t long int 19662_ACEOF 19663 19664fi 19665 19666 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" 19667if test "x$ac_cv_type_size_t" = xyes; then : 19668 19669else 19670 19671cat >>confdefs.h <<_ACEOF 19672#define size_t unsigned int 19673_ACEOF 19674 19675fi 19676 19677 19678 ac_fn_c_check_type "$LINENO" "size32_t" "ac_cv_type_size32_t" "$ac_includes_default" 19679if test "x$ac_cv_type_size32_t" = xyes; then : 19680 HAVE_SIZE32_T=1 19681 19682else 19683 HAVE_SIZE32_T=0 19684 19685 19686fi 19687 19688 19689 ac_fn_c_check_type "$LINENO" "ssize32_t" "ac_cv_type_ssize32_t" "$ac_includes_default" 19690if test "x$ac_cv_type_ssize32_t" = xyes; then : 19691 HAVE_SSIZE32_T=1 19692 19693else 19694 HAVE_SSIZE32_T=0 19695 19696 19697fi 19698 19699 19700 ac_fn_c_check_type "$LINENO" "size64_t" "ac_cv_type_size64_t" "$ac_includes_default" 19701if test "x$ac_cv_type_size64_t" = xyes; then : 19702 HAVE_SIZE64_T=1 19703 19704else 19705 HAVE_SIZE64_T=0 19706 19707 19708fi 19709 19710 19711 ac_fn_c_check_type "$LINENO" "ssize64_t" "ac_cv_type_ssize64_t" "$ac_includes_default" 19712if test "x$ac_cv_type_ssize64_t" = xyes; then : 19713 HAVE_SSIZE64_T=1 19714 19715else 19716 HAVE_SSIZE64_T=0 19717 19718 19719fi 19720 19721 19722 ac_fn_c_check_type "$LINENO" "off64_t" "ac_cv_type_off64_t" "$ac_includes_default" 19723if test "x$ac_cv_type_off64_t" = xyes; then : 19724 HAVE_OFF64_T=1 19725 19726else 19727 HAVE_OFF64_T=0 19728 19729 19730fi 19731 19732 19733 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default" 19734if test "x$ac_cv_type_ssize_t" = xyes; then : 19735 19736fi 19737 19738 ac_fn_c_check_type "$LINENO" "u64" "ac_cv_type_u64" "$ac_includes_default" 19739if test "x$ac_cv_type_u64" = xyes; then : 19740 19741fi 19742 19743 19744 # The cast to long int works around a bug in the HP C Compiler 19745# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 19746# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 19747# This bug is HP SR number 8606223364. 19748{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5 19749$as_echo_n "checking size of int... " >&6; } 19750if ${ac_cv_sizeof_int+:} false; then : 19751 $as_echo_n "(cached) " >&6 19752else 19753 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then : 19754 19755else 19756 if test "$ac_cv_type_int" = yes; then 19757 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 19758$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 19759as_fn_error 77 "cannot compute sizeof (int) 19760See \`config.log' for more details" "$LINENO" 5; } 19761 else 19762 ac_cv_sizeof_int=0 19763 fi 19764fi 19765 19766fi 19767{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5 19768$as_echo "$ac_cv_sizeof_int" >&6; } 19769 19770 19771 19772cat >>confdefs.h <<_ACEOF 19773#define SIZEOF_INT $ac_cv_sizeof_int 19774_ACEOF 19775 19776 19777 # The cast to long int works around a bug in the HP C Compiler 19778# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 19779# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 19780# This bug is HP SR number 8606223364. 19781{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 19782$as_echo_n "checking size of long... " >&6; } 19783if ${ac_cv_sizeof_long+:} false; then : 19784 $as_echo_n "(cached) " >&6 19785else 19786 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then : 19787 19788else 19789 if test "$ac_cv_type_long" = yes; then 19790 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 19791$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 19792as_fn_error 77 "cannot compute sizeof (long) 19793See \`config.log' for more details" "$LINENO" 5; } 19794 else 19795 ac_cv_sizeof_long=0 19796 fi 19797fi 19798 19799fi 19800{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 19801$as_echo "$ac_cv_sizeof_long" >&6; } 19802 19803 19804 19805cat >>confdefs.h <<_ACEOF 19806#define SIZEOF_LONG $ac_cv_sizeof_long 19807_ACEOF 19808 19809 19810 # The cast to long int works around a bug in the HP C Compiler 19811# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 19812# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 19813# This bug is HP SR number 8606223364. 19814{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5 19815$as_echo_n "checking size of off_t... " >&6; } 19816if ${ac_cv_sizeof_off_t+:} false; then : 19817 $as_echo_n "(cached) " >&6 19818else 19819 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (off_t))" "ac_cv_sizeof_off_t" "$ac_includes_default"; then : 19820 19821else 19822 if test "$ac_cv_type_off_t" = yes; then 19823 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 19824$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 19825as_fn_error 77 "cannot compute sizeof (off_t) 19826See \`config.log' for more details" "$LINENO" 5; } 19827 else 19828 ac_cv_sizeof_off_t=0 19829 fi 19830fi 19831 19832fi 19833{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5 19834$as_echo "$ac_cv_sizeof_off_t" >&6; } 19835 19836 19837 19838cat >>confdefs.h <<_ACEOF 19839#define SIZEOF_OFF_T $ac_cv_sizeof_off_t 19840_ACEOF 19841 19842 19843 # The cast to long int works around a bug in the HP C Compiler 19844# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 19845# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 19846# This bug is HP SR number 8606223364. 19847{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5 19848$as_echo_n "checking size of size_t... " >&6; } 19849if ${ac_cv_sizeof_size_t+:} false; then : 19850 $as_echo_n "(cached) " >&6 19851else 19852 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t" "$ac_includes_default"; then : 19853 19854else 19855 if test "$ac_cv_type_size_t" = yes; then 19856 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 19857$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 19858as_fn_error 77 "cannot compute sizeof (size_t) 19859See \`config.log' for more details" "$LINENO" 5; } 19860 else 19861 ac_cv_sizeof_size_t=0 19862 fi 19863fi 19864 19865fi 19866{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5 19867$as_echo "$ac_cv_sizeof_size_t" >&6; } 19868 19869 19870 19871cat >>confdefs.h <<_ACEOF 19872#define SIZEOF_SIZE_T $ac_cv_sizeof_size_t 19873_ACEOF 19874 19875 19876 19877 if test "x$ac_cv_header_wchar_h" = xyes; then : 19878 # The cast to long int works around a bug in the HP C Compiler 19879# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 19880# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 19881# This bug is HP SR number 8606223364. 19882{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of wchar_t" >&5 19883$as_echo_n "checking size of wchar_t... " >&6; } 19884if ${ac_cv_sizeof_wchar_t+:} false; then : 19885 $as_echo_n "(cached) " >&6 19886else 19887 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (wchar_t))" "ac_cv_sizeof_wchar_t" "$ac_includes_default"; then : 19888 19889else 19890 if test "$ac_cv_type_wchar_t" = yes; then 19891 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 19892$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 19893as_fn_error 77 "cannot compute sizeof (wchar_t) 19894See \`config.log' for more details" "$LINENO" 5; } 19895 else 19896 ac_cv_sizeof_wchar_t=0 19897 fi 19898fi 19899 19900fi 19901{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_wchar_t" >&5 19902$as_echo "$ac_cv_sizeof_wchar_t" >&6; } 19903 19904 19905 19906cat >>confdefs.h <<_ACEOF 19907#define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t 19908_ACEOF 19909 19910 19911fi 19912 19913 19914 19915 if test "x$ac_cv_enable_winapi" = xyes; then : 19916 for ac_header in windows.h 19917do : 19918 ac_fn_c_check_header_mongrel "$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default" 19919if test "x$ac_cv_header_windows_h" = xyes; then : 19920 cat >>confdefs.h <<_ACEOF 19921#define HAVE_WINDOWS_H 1 19922_ACEOF 19923 19924fi 19925 19926done 19927 19928 19929 if test "x$ac_cv_header_windows_h" = xno; then : 19930 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 19931$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 19932as_fn_error 1 "Missing header: windows.h header is required to compile with winapi support 19933See \`config.log' for more details" "$LINENO" 5; } 19934 19935fi 19936 19937fi 19938 19939 if test "x$ac_cv_enable_winapi" = xno; then : 19940 for ac_header in libintl.h 19941do : 19942 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default" 19943if test "x$ac_cv_header_libintl_h" = xyes; then : 19944 cat >>confdefs.h <<_ACEOF 19945#define HAVE_LIBINTL_H 1 19946_ACEOF 19947 19948fi 19949 19950done 19951 19952 19953fi 19954 19955 for ac_header in limits.h 19956do : 19957 ac_fn_c_check_header_mongrel "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default" 19958if test "x$ac_cv_header_limits_h" = xyes; then : 19959 cat >>confdefs.h <<_ACEOF 19960#define HAVE_LIMITS_H 1 19961_ACEOF 19962 19963fi 19964 19965done 19966 19967 19968 for ac_header in stdlib.h string.h 19969do : 19970 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 19971ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 19972if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 19973 cat >>confdefs.h <<_ACEOF 19974#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 19975_ACEOF 19976 19977fi 19978 19979done 19980 19981 19982 for ac_header in wchar.h wctype.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_func in fclose feof fgets fopen fread fseeko fseeko64 fwrite vfprintf 19997do : 19998 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 19999ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 20000if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 20001 cat >>confdefs.h <<_ACEOF 20002#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 20003_ACEOF 20004 20005fi 20006done 20007 20008 20009 if test "x$ac_cv_func_fclose" != xyes; then : 20010 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20011$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20012as_fn_error 1 "Missing function: fclose 20013See \`config.log' for more details" "$LINENO" 5; } 20014 20015fi 20016 20017 if test "x$ac_cv_func_feof" != xyes; then : 20018 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20019$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20020as_fn_error 1 "Missing function: feof 20021See \`config.log' for more details" "$LINENO" 5; } 20022 20023fi 20024 20025 if test "x$ac_cv_func_fgets" != xyes; then : 20026 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20027$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20028as_fn_error 1 "Missing function: fgets 20029See \`config.log' for more details" "$LINENO" 5; } 20030 20031fi 20032 20033 if test "x$ac_cv_func_fopen" != xyes; then : 20034 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20035$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20036as_fn_error 1 "Missing function: fopen 20037See \`config.log' for more details" "$LINENO" 5; } 20038 20039fi 20040 20041 if test "x$ac_cv_func_fread" != xyes; then : 20042 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20043$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20044as_fn_error 1 "Missing function: fread 20045See \`config.log' for more details" "$LINENO" 5; } 20046 20047fi 20048 20049 if test "x$ac_cv_func_fseeko" != xyes && test "x$ac_cv_func_fseeko64" != xyes; then : 20050 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20051$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20052as_fn_error 1 "Missing function: fseeko and fseeko64 20053See \`config.log' for more details" "$LINENO" 5; } 20054 20055fi 20056 20057 if test "x$ac_cv_func_fwrite" != xyes; then : 20058 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20059$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20060as_fn_error 1 "Missing function: fwrite 20061See \`config.log' for more details" "$LINENO" 5; } 20062 20063fi 20064 20065 if test "x$ac_cv_func_vfprintf" != xyes; then : 20066 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20067$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20068as_fn_error 1 "Missing function: vfprintf 20069See \`config.log' for more details" "$LINENO" 5; } 20070 20071fi 20072 20073 if test "x$ac_cv_enable_wide_character_type" != xno; then : 20074 for ac_func in fgetws 20075do : 20076 ac_fn_c_check_func "$LINENO" "fgetws" "ac_cv_func_fgetws" 20077if test "x$ac_cv_func_fgetws" = xyes; then : 20078 cat >>confdefs.h <<_ACEOF 20079#define HAVE_FGETWS 1 20080_ACEOF 20081 20082fi 20083done 20084 20085 20086 if test "x$ac_cv_func_fgetws" != xyes; then : 20087 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20088$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20089as_fn_error 1 "Missing function: fgetws 20090See \`config.log' for more details" "$LINENO" 5; } 20091 20092fi 20093 20094fi 20095 20096 for ac_func in free malloc memcmp memcpy memset realloc 20097do : 20098 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 20099ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 20100if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 20101 cat >>confdefs.h <<_ACEOF 20102#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 20103_ACEOF 20104 20105fi 20106done 20107 20108 20109 if test "x$ac_cv_func_free" != xyes; then : 20110 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20111$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20112as_fn_error 1 "Missing function: free 20113See \`config.log' for more details" "$LINENO" 5; } 20114 20115fi 20116 20117 if test "x$ac_cv_func_malloc" != xyes; then : 20118 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20119$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20120as_fn_error 1 "Missing function: malloc 20121See \`config.log' for more details" "$LINENO" 5; } 20122 20123fi 20124 20125 if test "x$ac_cv_func_memcmp" != xyes; then : 20126 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20127$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20128as_fn_error 1 "Missing function: memcmp 20129See \`config.log' for more details" "$LINENO" 5; } 20130 20131fi 20132 20133 if test "x$ac_cv_func_memcpy" != xyes; then : 20134 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20135$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20136as_fn_error 1 "Missing function: memcpy 20137See \`config.log' for more details" "$LINENO" 5; } 20138 20139fi 20140 20141 if test "x$ac_cv_func_memset" != xyes; then : 20142 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20143$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20144as_fn_error 1 "Missing function: memset 20145See \`config.log' for more details" "$LINENO" 5; } 20146 20147fi 20148 20149 if test "x$ac_cv_func_realloc" != xyes; then : 20150 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20151$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20152as_fn_error 1 "Missing function: realloc 20153See \`config.log' for more details" "$LINENO" 5; } 20154 20155fi 20156 20157 for ac_func in memchr memrchr snprintf sscanf strcasecmp strchr strlen strncasecmp strncmp strncpy strnicmp strrchr strstr vsnprintf 20158do : 20159 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 20160ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 20161if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 20162 cat >>confdefs.h <<_ACEOF 20163#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 20164_ACEOF 20165 20166fi 20167done 20168 20169 20170 if test "x$ac_cv_func_memchr" != xyes && test "x$ac_cv_func_strchr" != xyes; then : 20171 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20172$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20173as_fn_error 1 "Missing functions: memchr and strchr 20174See \`config.log' for more details" "$LINENO" 5; } 20175 20176fi 20177 20178 if test "x$ac_cv_func_memcmp" != xyes && test "x$ac_cv_func_strncmp" != xyes; then : 20179 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20180$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20181as_fn_error 1 "Missing functions: memcmp and strncmp 20182See \`config.log' for more details" "$LINENO" 5; } 20183 20184fi 20185 20186 if test "x$ac_cv_func_memcpy" != xyes && test "x$ac_cv_func_strncpy" != xyes; then : 20187 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20188$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20189as_fn_error 1 "Missing functions: memcpy and strncpy 20190See \`config.log' for more details" "$LINENO" 5; } 20191 20192fi 20193 20194 if test "x$ac_cv_func_memrchr" = xyes; then : 20195 ac_fn_c_check_decl "$LINENO" "memrchr" "ac_cv_have_decl_memrchr" "$ac_includes_default" 20196if test "x$ac_cv_have_decl_memrchr" = xyes; then : 20197 ac_have_decl=1 20198else 20199 ac_have_decl=0 20200fi 20201 20202cat >>confdefs.h <<_ACEOF 20203#define HAVE_DECL_MEMRCHR $ac_have_decl 20204_ACEOF 20205 20206 20207 if test "x$ac_cv_decl_memrchr" != xyes; then : 20208 ac_cv_func_memrchr=no 20209fi 20210 20211fi 20212 20213 if test "x$ac_cv_func_memrchr" != xyes && test "x$ac_cv_func_strrchr" != xyes; then : 20214 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20215$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20216as_fn_error 1 "Missing functions: strrchr and memrchr 20217See \`config.log' for more details" "$LINENO" 5; } 20218 20219fi 20220 20221 if test "x$ac_cv_func_snprintf" != xyes; then : 20222 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20223$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20224as_fn_error 1 "Missing function: snprintf 20225See \`config.log' for more details" "$LINENO" 5; } 20226 20227fi 20228 20229 if test "x$ac_cv_func_sscanf" != xyes; then : 20230 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20231$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20232as_fn_error 1 "Missing function: sscanf 20233See \`config.log' for more details" "$LINENO" 5; } 20234 20235fi 20236 20237 if test "x$ac_cv_func_strlen" != xyes; then : 20238 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20239$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20240as_fn_error 1 "Missing function: strlen 20241See \`config.log' for more details" "$LINENO" 5; } 20242 20243fi 20244 20245 if test "x$ac_cv_func_strcasecmp" != xyes && test "x$ac_cv_func_strncasecmp" != xyes && test "x$ac_cv_func_strnicmp" != xyes; then : 20246 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20247$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20248as_fn_error 1 "Missing functions: strncasecmp, strcasecmp and strnicmp 20249See \`config.log' for more details" "$LINENO" 5; } 20250 20251fi 20252 20253 if test "x$ac_cv_func_strstr" != xyes; then : 20254 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20255$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20256as_fn_error 1 "Missing function: strstr 20257See \`config.log' for more details" "$LINENO" 5; } 20258 20259fi 20260 20261 if test "x$ac_cv_func_vsnprintf" != xyes; then : 20262 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20263$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20264as_fn_error 1 "Missing function: vsnprintf 20265See \`config.log' for more details" "$LINENO" 5; } 20266 20267fi 20268 20269 if test "x$ac_cv_enable_wide_character_type" != xno; then : 20270 for ac_func in swprintf towlower wcscasecmp wcschr wcslen wcsncasecmp wcsncmp wcsncpy wcsnicmp wcsrchr wcsstr wmemchr wmemcmp wmemcpy wmemrchr 20271do : 20272 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 20273ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 20274if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 20275 cat >>confdefs.h <<_ACEOF 20276#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 20277_ACEOF 20278 20279fi 20280done 20281 20282 20283 if test "x$ac_cv_func_swprintf" != xyes; then : 20284 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20285$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20286as_fn_error 1 "Missing function: swprintf 20287See \`config.log' for more details" "$LINENO" 5; } 20288 20289fi 20290 20291 if test "x$ac_cv_func_wmemchr" != xyes && test "x$ac_cv_func_wcschr" != xyes; then : 20292 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20293$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20294as_fn_error 1 "Missing functions: wmemchr and wcschr 20295See \`config.log' for more details" "$LINENO" 5; } 20296 20297fi 20298 20299 if test "x$ac_cv_func_wmemcmp" != xyes && test "x$ac_cv_func_wcsncmp" != xyes; then : 20300 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20301$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20302as_fn_error 1 "Missing functions: wmemcmp and wcsncmp 20303See \`config.log' for more details" "$LINENO" 5; } 20304 20305fi 20306 20307 if test "x$ac_cv_func_wmemcpy" != xyes && test "x$ac_cv_func_wcsncpy" != xyes; then : 20308 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20309$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20310as_fn_error 1 "Missing functions: wmemcpy and wcsncpy 20311See \`config.log' for more details" "$LINENO" 5; } 20312 20313fi 20314 20315 if test "x$ac_cv_func_wmemrchr" != xyes && test "x$ac_cv_func_wcsrchr" != xyes; then : 20316 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20317$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20318as_fn_error 1 "Missing functions: wmemrchr and wcsrchr 20319See \`config.log' for more details" "$LINENO" 5; } 20320 20321fi 20322 20323 if test "x$ac_cv_func_wcslen" != xyes; then : 20324 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20325$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20326as_fn_error 1 "Missing function: wcslen 20327See \`config.log' for more details" "$LINENO" 5; } 20328 20329fi 20330 20331 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 : 20332 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20333$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20334as_fn_error 1 "Missing functions: wcsncasecmp, wcscasecmp, wcsnicmp and towlower 20335See \`config.log' for more details" "$LINENO" 5; } 20336 20337fi 20338 20339 if test "x$ac_cv_func_wcsstr" != xyes; then : 20340 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20341$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20342as_fn_error 1 "Missing function: wcsstr 20343See \`config.log' for more details" "$LINENO" 5; } 20344 20345fi 20346 20347fi 20348 20349 20350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports the conversion specifier \"%jd\"" >&5 20351$as_echo_n "checking whether printf supports the conversion specifier \"%jd\"... " >&6; } 20352 20353 SAVE_CFLAGS="$CFLAGS" 20354 CFLAGS="$CFLAGS -Wall -Werror" 20355 ac_ext=c 20356ac_cpp='$CPP $CPPFLAGS' 20357ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 20358ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 20359ac_compiler_gnu=$ac_cv_c_compiler_gnu 20360 20361 20362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20363/* end confdefs.h. */ 20364#include <stdio.h> 20365int 20366main () 20367{ 20368printf( "%jd" ); 20369 ; 20370 return 0; 20371} 20372_ACEOF 20373if ac_fn_c_try_link "$LINENO"; then : 20374 ac_cv_cv_have_printf_jd=no 20375else 20376 ac_cv_cv_have_printf_jd=yes 20377fi 20378rm -f core conftest.err conftest.$ac_objext \ 20379 conftest$ac_exeext conftest.$ac_ext 20380 20381 if test "x$ac_cv_cv_have_printf_jd" = xyes; then : 20382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20383/* end confdefs.h. */ 20384#include <sys/types.h> 20385#include <stdio.h> 20386int 20387main () 20388{ 20389printf( "%jd", (off_t) 10 ); 20390 ; 20391 return 0; 20392} 20393_ACEOF 20394if ac_fn_c_try_link "$LINENO"; then : 20395 ac_cv_cv_have_printf_jd=yes 20396else 20397 ac_cv_cv_have_printf_jd=no 20398fi 20399rm -f core conftest.err conftest.$ac_objext \ 20400 conftest$ac_exeext conftest.$ac_ext 20401 20402fi 20403 20404 if test "x$ac_cv_cv_have_printf_jd" = xyes; then : 20405 if test "$cross_compiling" = yes; then : 20406 ac_cv_cv_have_printf_jd=undetermined 20407else 20408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20409/* end confdefs.h. */ 20410#include <sys/types.h> 20411#include <stdio.h> 20412int 20413main () 20414{ 20415char string[ 3 ]; 20416if( snprintf( string, 3, "%jd", (off_t) 10 ) < 0 ) return( 1 ); 20417if( ( string[ 0 ] != '1' ) || ( string[ 1 ] != '0' ) ) return( 1 ); 20418 ; 20419 return 0; 20420} 20421_ACEOF 20422if ac_fn_c_try_run "$LINENO"; then : 20423 ac_cv_cv_have_printf_jd=yes 20424else 20425 ac_cv_cv_have_printf_jd=no 20426fi 20427rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 20428 conftest.$ac_objext conftest.beam conftest.$ac_ext 20429fi 20430 20431 20432fi 20433 20434 ac_ext=c 20435ac_cpp='$CPP $CPPFLAGS' 20436ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 20437ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 20438ac_compiler_gnu=$ac_cv_c_compiler_gnu 20439 20440 CFLAGS="$SAVE_CFLAGS" 20441 20442 if test "x$ac_cv_cv_have_printf_jd" = xyes; then : 20443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 20444$as_echo "yes" >&6; } 20445 20446$as_echo "#define HAVE_PRINTF_JD 1" >>confdefs.h 20447 20448else 20449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cv_have_printf_jd" >&5 20450$as_echo "$ac_cv_cv_have_printf_jd" >&6; } 20451 20452fi 20453 20454 20455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports the conversion specifier \"%zd\"" >&5 20456$as_echo_n "checking whether printf supports the conversion specifier \"%zd\"... " >&6; } 20457 20458 SAVE_CFLAGS="$CFLAGS" 20459 CFLAGS="$CFLAGS -Wall -Werror" 20460 ac_ext=c 20461ac_cpp='$CPP $CPPFLAGS' 20462ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 20463ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 20464ac_compiler_gnu=$ac_cv_c_compiler_gnu 20465 20466 20467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20468/* end confdefs.h. */ 20469#include <stdio.h> 20470int 20471main () 20472{ 20473printf( "%zd" ); 20474 ; 20475 return 0; 20476} 20477_ACEOF 20478if ac_fn_c_try_link "$LINENO"; then : 20479 ac_cv_cv_have_printf_zd=no 20480else 20481 ac_cv_cv_have_printf_zd=yes 20482fi 20483rm -f core conftest.err conftest.$ac_objext \ 20484 conftest$ac_exeext conftest.$ac_ext 20485 20486 if test "x$ac_cv_cv_have_printf_zd" = xyes; then : 20487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20488/* end confdefs.h. */ 20489#include <sys/types.h> 20490#include <stdio.h> 20491int 20492main () 20493{ 20494printf( "%zd", (size_t) 10 ); 20495 ; 20496 return 0; 20497} 20498_ACEOF 20499if ac_fn_c_try_link "$LINENO"; then : 20500 ac_cv_cv_have_printf_zd=yes 20501else 20502 ac_cv_cv_have_printf_zd=no 20503fi 20504rm -f core conftest.err conftest.$ac_objext \ 20505 conftest$ac_exeext conftest.$ac_ext 20506 20507fi 20508 20509 if test "x$ac_cv_cv_have_printf_zd" = xyes; then : 20510 if test "$cross_compiling" = yes; then : 20511 ac_cv_cv_have_printf_zd=undetermined 20512else 20513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20514/* end confdefs.h. */ 20515#include <sys/types.h> 20516#include <stdio.h> 20517int 20518main () 20519{ 20520char string[ 3 ]; 20521if( snprintf( string, 3, "%zd", (size_t) 10 ) < 0 ) return( 1 ); 20522if( ( string[ 0 ] != '1' ) || ( string[ 1 ] != '0' ) ) return( 1 ); 20523 ; 20524 return 0; 20525} 20526_ACEOF 20527if ac_fn_c_try_run "$LINENO"; then : 20528 ac_cv_cv_have_printf_zd=yes 20529else 20530 ac_cv_cv_have_printf_zd=no 20531fi 20532rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 20533 conftest.$ac_objext conftest.beam conftest.$ac_ext 20534fi 20535 20536 20537fi 20538 20539 ac_ext=c 20540ac_cpp='$CPP $CPPFLAGS' 20541ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 20542ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 20543ac_compiler_gnu=$ac_cv_c_compiler_gnu 20544 20545 CFLAGS="$SAVE_CFLAGS" 20546 20547 if test "x$ac_cv_cv_have_printf_zd" = xyes; then : 20548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 20549$as_echo "yes" >&6; } 20550 20551$as_echo "#define HAVE_PRINTF_ZD 1" >>confdefs.h 20552 20553else 20554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cv_have_printf_zd" >&5 20555$as_echo "$ac_cv_cv_have_printf_zd" >&6; } 20556 20557fi 20558 20559 20560 20561 20562 20563 20564 20565 20566 20567 20568if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 20569 if test -n "$ac_tool_prefix"; then 20570 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 20571set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 20572{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 20573$as_echo_n "checking for $ac_word... " >&6; } 20574if ${ac_cv_path_PKG_CONFIG+:} false; then : 20575 $as_echo_n "(cached) " >&6 20576else 20577 case $PKG_CONFIG in 20578 [\\/]* | ?:[\\/]*) 20579 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 20580 ;; 20581 *) 20582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 20583for as_dir in $PATH 20584do 20585 IFS=$as_save_IFS 20586 test -z "$as_dir" && as_dir=. 20587 for ac_exec_ext in '' $ac_executable_extensions; do 20588 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 20589 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 20590 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 20591 break 2 20592 fi 20593done 20594 done 20595IFS=$as_save_IFS 20596 20597 ;; 20598esac 20599fi 20600PKG_CONFIG=$ac_cv_path_PKG_CONFIG 20601if test -n "$PKG_CONFIG"; then 20602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 20603$as_echo "$PKG_CONFIG" >&6; } 20604else 20605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 20606$as_echo "no" >&6; } 20607fi 20608 20609 20610fi 20611if test -z "$ac_cv_path_PKG_CONFIG"; then 20612 ac_pt_PKG_CONFIG=$PKG_CONFIG 20613 # Extract the first word of "pkg-config", so it can be a program name with args. 20614set dummy pkg-config; ac_word=$2 20615{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 20616$as_echo_n "checking for $ac_word... " >&6; } 20617if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 20618 $as_echo_n "(cached) " >&6 20619else 20620 case $ac_pt_PKG_CONFIG in 20621 [\\/]* | ?:[\\/]*) 20622 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 20623 ;; 20624 *) 20625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 20626for as_dir in $PATH 20627do 20628 IFS=$as_save_IFS 20629 test -z "$as_dir" && as_dir=. 20630 for ac_exec_ext in '' $ac_executable_extensions; do 20631 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 20632 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 20633 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 20634 break 2 20635 fi 20636done 20637 done 20638IFS=$as_save_IFS 20639 20640 ;; 20641esac 20642fi 20643ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 20644if test -n "$ac_pt_PKG_CONFIG"; then 20645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 20646$as_echo "$ac_pt_PKG_CONFIG" >&6; } 20647else 20648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 20649$as_echo "no" >&6; } 20650fi 20651 20652 if test "x$ac_pt_PKG_CONFIG" = x; then 20653 PKG_CONFIG="" 20654 else 20655 case $cross_compiling:$ac_tool_warned in 20656yes:) 20657{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 20658$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 20659ac_tool_warned=yes ;; 20660esac 20661 PKG_CONFIG=$ac_pt_PKG_CONFIG 20662 fi 20663else 20664 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 20665fi 20666 20667fi 20668if test -n "$PKG_CONFIG"; then 20669 _pkg_min_version=0.9.0 20670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 20671$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 20672 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 20673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 20674$as_echo "yes" >&6; } 20675 else 20676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 20677$as_echo "no" >&6; } 20678 PKG_CONFIG="" 20679 fi 20680fi 20681 20682 20683# Check whether --with-libcerror was given. 20684if test "${with_libcerror+set}" = set; then : 20685 withval=$with_libcerror; ac_cv_with_libcerror=$withval 20686else 20687 ac_cv_with_libcerror=auto-detect 20688fi 20689 20690 { $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 20691$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; } 20692if ${ac_cv_with_libcerror+:} false; then : 20693 $as_echo_n "(cached) " >&6 20694else 20695 ac_cv_with_libcerror=auto-detect 20696fi 20697{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libcerror" >&5 20698$as_echo "$ac_cv_with_libcerror" >&6; } 20699 20700 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libcerror" = xno; then : 20701 ac_cv_libcerror=no 20702else 20703 ac_cv_libcerror=check 20704 if test "x$ac_cv_with_libcerror" != x && test "x$ac_cv_with_libcerror" != xauto-detect; then : 20705 if test -d "$ac_cv_with_libcerror"; then : 20706 CFLAGS="$CFLAGS -I${ac_cv_with_libcerror}/include" 20707 LDFLAGS="$LDFLAGS -L${ac_cv_with_libcerror}/lib" 20708else 20709 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20710$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20711as_fn_error 1 "no such directory: $ac_cv_with_libcerror 20712See \`config.log' for more details" "$LINENO" 5; } 20713 20714fi 20715 20716else 20717 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 20718 20719pkg_failed=no 20720{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror" >&5 20721$as_echo_n "checking for libcerror... " >&6; } 20722 20723if test -n "$libcerror_CFLAGS"; then 20724 pkg_cv_libcerror_CFLAGS="$libcerror_CFLAGS" 20725 elif test -n "$PKG_CONFIG"; then 20726 if test -n "$PKG_CONFIG" && \ 20727 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcerror >= 20120425\""; } >&5 20728 ($PKG_CONFIG --exists --print-errors "libcerror >= 20120425") 2>&5 20729 ac_status=$? 20730 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 20731 test $ac_status = 0; }; then 20732 pkg_cv_libcerror_CFLAGS=`$PKG_CONFIG --cflags "libcerror >= 20120425" 2>/dev/null` 20733 test "x$?" != "x0" && pkg_failed=yes 20734else 20735 pkg_failed=yes 20736fi 20737 else 20738 pkg_failed=untried 20739fi 20740if test -n "$libcerror_LIBS"; then 20741 pkg_cv_libcerror_LIBS="$libcerror_LIBS" 20742 elif test -n "$PKG_CONFIG"; then 20743 if test -n "$PKG_CONFIG" && \ 20744 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcerror >= 20120425\""; } >&5 20745 ($PKG_CONFIG --exists --print-errors "libcerror >= 20120425") 2>&5 20746 ac_status=$? 20747 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 20748 test $ac_status = 0; }; then 20749 pkg_cv_libcerror_LIBS=`$PKG_CONFIG --libs "libcerror >= 20120425" 2>/dev/null` 20750 test "x$?" != "x0" && pkg_failed=yes 20751else 20752 pkg_failed=yes 20753fi 20754 else 20755 pkg_failed=untried 20756fi 20757 20758 20759 20760if test $pkg_failed = yes; then 20761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 20762$as_echo "no" >&6; } 20763 20764if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 20765 _pkg_short_errors_supported=yes 20766else 20767 _pkg_short_errors_supported=no 20768fi 20769 if test $_pkg_short_errors_supported = yes; then 20770 libcerror_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcerror >= 20120425" 2>&1` 20771 else 20772 libcerror_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcerror >= 20120425" 2>&1` 20773 fi 20774 # Put the nasty error message in config.log where it belongs 20775 echo "$libcerror_PKG_ERRORS" >&5 20776 20777 ac_cv_libcerror=check 20778elif test $pkg_failed = untried; then 20779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 20780$as_echo "no" >&6; } 20781 ac_cv_libcerror=check 20782else 20783 libcerror_CFLAGS=$pkg_cv_libcerror_CFLAGS 20784 libcerror_LIBS=$pkg_cv_libcerror_LIBS 20785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 20786$as_echo "yes" >&6; } 20787 ac_cv_libcerror=yes 20788fi 20789 20790fi 20791 if test "x$ac_cv_libcerror" = xyes; then : 20792 ac_cv_libcerror_CPPFLAGS="$pkg_cv_libcerror_CFLAGS" 20793 ac_cv_libcerror_LIBADD="$pkg_cv_libcerror_LIBS" 20794fi 20795 20796fi 20797 20798 if test "x$ac_cv_libcerror" = xcheck; then : 20799 for ac_header in libcerror.h 20800do : 20801 ac_fn_c_check_header_mongrel "$LINENO" "libcerror.h" "ac_cv_header_libcerror_h" "$ac_includes_default" 20802if test "x$ac_cv_header_libcerror_h" = xyes; then : 20803 cat >>confdefs.h <<_ACEOF 20804#define HAVE_LIBCERROR_H 1 20805_ACEOF 20806 20807fi 20808 20809done 20810 20811 20812 if test "x$ac_cv_header_libcerror_h" = xno; then : 20813 ac_cv_libcerror=no 20814else 20815 ac_cv_libcerror=yes 20816 20817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_get_version in -lcerror" >&5 20818$as_echo_n "checking for libcerror_get_version in -lcerror... " >&6; } 20819if ${ac_cv_lib_cerror_libcerror_get_version+:} false; then : 20820 $as_echo_n "(cached) " >&6 20821else 20822 ac_check_lib_save_LIBS=$LIBS 20823LIBS="-lcerror $LIBS" 20824cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20825/* end confdefs.h. */ 20826 20827/* Override any GCC internal prototype to avoid an error. 20828 Use char because int might match the return type of a GCC 20829 builtin and then its argument prototype would still apply. */ 20830#ifdef __cplusplus 20831extern "C" 20832#endif 20833char libcerror_get_version (); 20834int 20835main () 20836{ 20837return libcerror_get_version (); 20838 ; 20839 return 0; 20840} 20841_ACEOF 20842if ac_fn_c_try_link "$LINENO"; then : 20843 ac_cv_lib_cerror_libcerror_get_version=yes 20844else 20845 ac_cv_lib_cerror_libcerror_get_version=no 20846fi 20847rm -f core conftest.err conftest.$ac_objext \ 20848 conftest$ac_exeext conftest.$ac_ext 20849LIBS=$ac_check_lib_save_LIBS 20850fi 20851{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_get_version" >&5 20852$as_echo "$ac_cv_lib_cerror_libcerror_get_version" >&6; } 20853if test "x$ac_cv_lib_cerror_libcerror_get_version" = xyes; then : 20854 ac_cv_libcerror_dummy=yes 20855else 20856 ac_cv_libcerror=no 20857fi 20858 20859 20860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_error_free in -lcerror" >&5 20861$as_echo_n "checking for libcerror_error_free in -lcerror... " >&6; } 20862if ${ac_cv_lib_cerror_libcerror_error_free+:} false; then : 20863 $as_echo_n "(cached) " >&6 20864else 20865 ac_check_lib_save_LIBS=$LIBS 20866LIBS="-lcerror $LIBS" 20867cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20868/* end confdefs.h. */ 20869 20870/* Override any GCC internal prototype to avoid an error. 20871 Use char because int might match the return type of a GCC 20872 builtin and then its argument prototype would still apply. */ 20873#ifdef __cplusplus 20874extern "C" 20875#endif 20876char libcerror_error_free (); 20877int 20878main () 20879{ 20880return libcerror_error_free (); 20881 ; 20882 return 0; 20883} 20884_ACEOF 20885if ac_fn_c_try_link "$LINENO"; then : 20886 ac_cv_lib_cerror_libcerror_error_free=yes 20887else 20888 ac_cv_lib_cerror_libcerror_error_free=no 20889fi 20890rm -f core conftest.err conftest.$ac_objext \ 20891 conftest$ac_exeext conftest.$ac_ext 20892LIBS=$ac_check_lib_save_LIBS 20893fi 20894{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_error_free" >&5 20895$as_echo "$ac_cv_lib_cerror_libcerror_error_free" >&6; } 20896if test "x$ac_cv_lib_cerror_libcerror_error_free" = xyes; then : 20897 ac_cv_libcerror_dummy=yes 20898else 20899 ac_cv_libcerror=no 20900fi 20901 20902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_error_set in -lcerror" >&5 20903$as_echo_n "checking for libcerror_error_set in -lcerror... " >&6; } 20904if ${ac_cv_lib_cerror_libcerror_error_set+:} false; then : 20905 $as_echo_n "(cached) " >&6 20906else 20907 ac_check_lib_save_LIBS=$LIBS 20908LIBS="-lcerror $LIBS" 20909cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20910/* end confdefs.h. */ 20911 20912/* Override any GCC internal prototype to avoid an error. 20913 Use char because int might match the return type of a GCC 20914 builtin and then its argument prototype would still apply. */ 20915#ifdef __cplusplus 20916extern "C" 20917#endif 20918char libcerror_error_set (); 20919int 20920main () 20921{ 20922return libcerror_error_set (); 20923 ; 20924 return 0; 20925} 20926_ACEOF 20927if ac_fn_c_try_link "$LINENO"; then : 20928 ac_cv_lib_cerror_libcerror_error_set=yes 20929else 20930 ac_cv_lib_cerror_libcerror_error_set=no 20931fi 20932rm -f core conftest.err conftest.$ac_objext \ 20933 conftest$ac_exeext conftest.$ac_ext 20934LIBS=$ac_check_lib_save_LIBS 20935fi 20936{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_error_set" >&5 20937$as_echo "$ac_cv_lib_cerror_libcerror_error_set" >&6; } 20938if test "x$ac_cv_lib_cerror_libcerror_error_set" = xyes; then : 20939 ac_cv_libcerror_dummy=yes 20940else 20941 ac_cv_libcerror=no 20942fi 20943 20944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_error_matches in -lcerror" >&5 20945$as_echo_n "checking for libcerror_error_matches in -lcerror... " >&6; } 20946if ${ac_cv_lib_cerror_libcerror_error_matches+:} false; then : 20947 $as_echo_n "(cached) " >&6 20948else 20949 ac_check_lib_save_LIBS=$LIBS 20950LIBS="-lcerror $LIBS" 20951cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20952/* end confdefs.h. */ 20953 20954/* Override any GCC internal prototype to avoid an error. 20955 Use char because int might match the return type of a GCC 20956 builtin and then its argument prototype would still apply. */ 20957#ifdef __cplusplus 20958extern "C" 20959#endif 20960char libcerror_error_matches (); 20961int 20962main () 20963{ 20964return libcerror_error_matches (); 20965 ; 20966 return 0; 20967} 20968_ACEOF 20969if ac_fn_c_try_link "$LINENO"; then : 20970 ac_cv_lib_cerror_libcerror_error_matches=yes 20971else 20972 ac_cv_lib_cerror_libcerror_error_matches=no 20973fi 20974rm -f core conftest.err conftest.$ac_objext \ 20975 conftest$ac_exeext conftest.$ac_ext 20976LIBS=$ac_check_lib_save_LIBS 20977fi 20978{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_error_matches" >&5 20979$as_echo "$ac_cv_lib_cerror_libcerror_error_matches" >&6; } 20980if test "x$ac_cv_lib_cerror_libcerror_error_matches" = xyes; then : 20981 ac_cv_libcerror_dummy=yes 20982else 20983 ac_cv_libcerror=no 20984fi 20985 20986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_error_fprint in -lcerror" >&5 20987$as_echo_n "checking for libcerror_error_fprint in -lcerror... " >&6; } 20988if ${ac_cv_lib_cerror_libcerror_error_fprint+:} false; then : 20989 $as_echo_n "(cached) " >&6 20990else 20991 ac_check_lib_save_LIBS=$LIBS 20992LIBS="-lcerror $LIBS" 20993cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20994/* end confdefs.h. */ 20995 20996/* Override any GCC internal prototype to avoid an error. 20997 Use char because int might match the return type of a GCC 20998 builtin and then its argument prototype would still apply. */ 20999#ifdef __cplusplus 21000extern "C" 21001#endif 21002char libcerror_error_fprint (); 21003int 21004main () 21005{ 21006return libcerror_error_fprint (); 21007 ; 21008 return 0; 21009} 21010_ACEOF 21011if ac_fn_c_try_link "$LINENO"; then : 21012 ac_cv_lib_cerror_libcerror_error_fprint=yes 21013else 21014 ac_cv_lib_cerror_libcerror_error_fprint=no 21015fi 21016rm -f core conftest.err conftest.$ac_objext \ 21017 conftest$ac_exeext conftest.$ac_ext 21018LIBS=$ac_check_lib_save_LIBS 21019fi 21020{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_error_fprint" >&5 21021$as_echo "$ac_cv_lib_cerror_libcerror_error_fprint" >&6; } 21022if test "x$ac_cv_lib_cerror_libcerror_error_fprint" = xyes; then : 21023 ac_cv_libcerror_dummy=yes 21024else 21025 ac_cv_libcerror=no 21026fi 21027 21028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_error_sprint in -lcerror" >&5 21029$as_echo_n "checking for libcerror_error_sprint in -lcerror... " >&6; } 21030if ${ac_cv_lib_cerror_libcerror_error_sprint+:} false; then : 21031 $as_echo_n "(cached) " >&6 21032else 21033 ac_check_lib_save_LIBS=$LIBS 21034LIBS="-lcerror $LIBS" 21035cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21036/* end confdefs.h. */ 21037 21038/* Override any GCC internal prototype to avoid an error. 21039 Use char because int might match the return type of a GCC 21040 builtin and then its argument prototype would still apply. */ 21041#ifdef __cplusplus 21042extern "C" 21043#endif 21044char libcerror_error_sprint (); 21045int 21046main () 21047{ 21048return libcerror_error_sprint (); 21049 ; 21050 return 0; 21051} 21052_ACEOF 21053if ac_fn_c_try_link "$LINENO"; then : 21054 ac_cv_lib_cerror_libcerror_error_sprint=yes 21055else 21056 ac_cv_lib_cerror_libcerror_error_sprint=no 21057fi 21058rm -f core conftest.err conftest.$ac_objext \ 21059 conftest$ac_exeext conftest.$ac_ext 21060LIBS=$ac_check_lib_save_LIBS 21061fi 21062{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_error_sprint" >&5 21063$as_echo "$ac_cv_lib_cerror_libcerror_error_sprint" >&6; } 21064if test "x$ac_cv_lib_cerror_libcerror_error_sprint" = xyes; then : 21065 ac_cv_libcerror_dummy=yes 21066else 21067 ac_cv_libcerror=no 21068fi 21069 21070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_error_backtrace_fprint in -lcerror" >&5 21071$as_echo_n "checking for libcerror_error_backtrace_fprint in -lcerror... " >&6; } 21072if ${ac_cv_lib_cerror_libcerror_error_backtrace_fprint+:} false; then : 21073 $as_echo_n "(cached) " >&6 21074else 21075 ac_check_lib_save_LIBS=$LIBS 21076LIBS="-lcerror $LIBS" 21077cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21078/* end confdefs.h. */ 21079 21080/* Override any GCC internal prototype to avoid an error. 21081 Use char because int might match the return type of a GCC 21082 builtin and then its argument prototype would still apply. */ 21083#ifdef __cplusplus 21084extern "C" 21085#endif 21086char libcerror_error_backtrace_fprint (); 21087int 21088main () 21089{ 21090return libcerror_error_backtrace_fprint (); 21091 ; 21092 return 0; 21093} 21094_ACEOF 21095if ac_fn_c_try_link "$LINENO"; then : 21096 ac_cv_lib_cerror_libcerror_error_backtrace_fprint=yes 21097else 21098 ac_cv_lib_cerror_libcerror_error_backtrace_fprint=no 21099fi 21100rm -f core conftest.err conftest.$ac_objext \ 21101 conftest$ac_exeext conftest.$ac_ext 21102LIBS=$ac_check_lib_save_LIBS 21103fi 21104{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_error_backtrace_fprint" >&5 21105$as_echo "$ac_cv_lib_cerror_libcerror_error_backtrace_fprint" >&6; } 21106if test "x$ac_cv_lib_cerror_libcerror_error_backtrace_fprint" = xyes; then : 21107 ac_cv_libcerror_dummy=yes 21108else 21109 ac_cv_libcerror=no 21110fi 21111 21112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_error_backtrace_sprint in -lcerror" >&5 21113$as_echo_n "checking for libcerror_error_backtrace_sprint in -lcerror... " >&6; } 21114if ${ac_cv_lib_cerror_libcerror_error_backtrace_sprint+:} false; then : 21115 $as_echo_n "(cached) " >&6 21116else 21117 ac_check_lib_save_LIBS=$LIBS 21118LIBS="-lcerror $LIBS" 21119cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21120/* end confdefs.h. */ 21121 21122/* Override any GCC internal prototype to avoid an error. 21123 Use char because int might match the return type of a GCC 21124 builtin and then its argument prototype would still apply. */ 21125#ifdef __cplusplus 21126extern "C" 21127#endif 21128char libcerror_error_backtrace_sprint (); 21129int 21130main () 21131{ 21132return libcerror_error_backtrace_sprint (); 21133 ; 21134 return 0; 21135} 21136_ACEOF 21137if ac_fn_c_try_link "$LINENO"; then : 21138 ac_cv_lib_cerror_libcerror_error_backtrace_sprint=yes 21139else 21140 ac_cv_lib_cerror_libcerror_error_backtrace_sprint=no 21141fi 21142rm -f core conftest.err conftest.$ac_objext \ 21143 conftest$ac_exeext conftest.$ac_ext 21144LIBS=$ac_check_lib_save_LIBS 21145fi 21146{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_error_backtrace_sprint" >&5 21147$as_echo "$ac_cv_lib_cerror_libcerror_error_backtrace_sprint" >&6; } 21148if test "x$ac_cv_lib_cerror_libcerror_error_backtrace_sprint" = xyes; then : 21149 ac_cv_libcerror_dummy=yes 21150else 21151 ac_cv_libcerror=no 21152fi 21153 21154 21155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_system_set_error in -lcerror" >&5 21156$as_echo_n "checking for libcerror_system_set_error in -lcerror... " >&6; } 21157if ${ac_cv_lib_cerror_libcerror_system_set_error+:} false; then : 21158 $as_echo_n "(cached) " >&6 21159else 21160 ac_check_lib_save_LIBS=$LIBS 21161LIBS="-lcerror $LIBS" 21162cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21163/* end confdefs.h. */ 21164 21165/* Override any GCC internal prototype to avoid an error. 21166 Use char because int might match the return type of a GCC 21167 builtin and then its argument prototype would still apply. */ 21168#ifdef __cplusplus 21169extern "C" 21170#endif 21171char libcerror_system_set_error (); 21172int 21173main () 21174{ 21175return libcerror_system_set_error (); 21176 ; 21177 return 0; 21178} 21179_ACEOF 21180if ac_fn_c_try_link "$LINENO"; then : 21181 ac_cv_lib_cerror_libcerror_system_set_error=yes 21182else 21183 ac_cv_lib_cerror_libcerror_system_set_error=no 21184fi 21185rm -f core conftest.err conftest.$ac_objext \ 21186 conftest$ac_exeext conftest.$ac_ext 21187LIBS=$ac_check_lib_save_LIBS 21188fi 21189{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_system_set_error" >&5 21190$as_echo "$ac_cv_lib_cerror_libcerror_system_set_error" >&6; } 21191if test "x$ac_cv_lib_cerror_libcerror_system_set_error" = xyes; then : 21192 ac_cv_libcerror_dummy=yes 21193else 21194 ac_cv_libcerror=no 21195fi 21196 21197 21198 ac_cv_libcerror_LIBADD="-lcerror" 21199fi 21200 21201fi 21202 if test "x$ac_cv_with_libcerror" != x && test "x$ac_cv_with_libcerror" != xauto-detect && test "x$ac_cv_libcerror" != xyes; then : 21203 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 21204$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 21205as_fn_error 1 "unable to find supported libcerror in directory: $ac_cv_with_libcerror 21206See \`config.log' for more details" "$LINENO" 5; } 21207 21208fi 21209 21210fi 21211 21212 if test "x$ac_cv_libcerror" = xyes; then : 21213 21214$as_echo "#define HAVE_LIBCERROR 1" >>confdefs.h 21215 21216 21217fi 21218 21219 if test "x$ac_cv_libcerror" = xyes; then : 21220 HAVE_LIBCERROR=1 21221 21222else 21223 HAVE_LIBCERROR=0 21224 21225 21226fi 21227 21228 21229 if test "x$ac_cv_libcerror" != xyes; then : 21230 for ac_header in stdarg.h varargs.h 21231do : 21232 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 21233ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 21234if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 21235 cat >>confdefs.h <<_ACEOF 21236#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 21237_ACEOF 21238 21239fi 21240 21241done 21242 21243 21244 if test "x$ac_cv_header_stdarg_h" != xyes && test "x$ac_cv_header_varargs_h" != xyes; then : 21245 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 21246$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 21247as_fn_error 1 "Missing headers: stdarg.h and varargs.h 21248See \`config.log' for more details" "$LINENO" 5; } 21249 21250fi 21251 21252 if test "x$ac_cv_enable_wide_character_type" != xno; then : 21253 for ac_func in wcstombs 21254do : 21255 ac_fn_c_check_func "$LINENO" "wcstombs" "ac_cv_func_wcstombs" 21256if test "x$ac_cv_func_wcstombs" = xyes; then : 21257 cat >>confdefs.h <<_ACEOF 21258#define HAVE_WCSTOMBS 1 21259_ACEOF 21260 21261fi 21262done 21263 21264 21265 if test "x$ac_cv_func_wcstombs" != xyes; then : 21266 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 21267$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 21268as_fn_error 1 "Missing function: wcstombs 21269See \`config.log' for more details" "$LINENO" 5; } 21270 21271fi 21272 21273fi 21274 21275 ac_fn_c_check_decl "$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac_includes_default" 21276if test "x$ac_cv_have_decl_strerror_r" = xyes; then : 21277 ac_have_decl=1 21278else 21279 ac_have_decl=0 21280fi 21281 21282cat >>confdefs.h <<_ACEOF 21283#define HAVE_DECL_STRERROR_R $ac_have_decl 21284_ACEOF 21285 21286for ac_func in strerror_r 21287do : 21288 ac_fn_c_check_func "$LINENO" "strerror_r" "ac_cv_func_strerror_r" 21289if test "x$ac_cv_func_strerror_r" = xyes; then : 21290 cat >>confdefs.h <<_ACEOF 21291#define HAVE_STRERROR_R 1 21292_ACEOF 21293 21294fi 21295done 21296 21297{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char *" >&5 21298$as_echo_n "checking whether strerror_r returns char *... " >&6; } 21299if ${ac_cv_func_strerror_r_char_p+:} false; then : 21300 $as_echo_n "(cached) " >&6 21301else 21302 21303 ac_cv_func_strerror_r_char_p=no 21304 if test $ac_cv_have_decl_strerror_r = yes; then 21305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21306/* end confdefs.h. */ 21307$ac_includes_default 21308int 21309main () 21310{ 21311 21312 char buf[100]; 21313 char x = *strerror_r (0, buf, sizeof buf); 21314 char *p = strerror_r (0, buf, sizeof buf); 21315 return !p || x; 21316 21317 ; 21318 return 0; 21319} 21320_ACEOF 21321if ac_fn_c_try_compile "$LINENO"; then : 21322 ac_cv_func_strerror_r_char_p=yes 21323fi 21324rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 21325 else 21326 # strerror_r is not declared. Choose between 21327 # systems that have relatively inaccessible declarations for the 21328 # function. BeOS and DEC UNIX 4.0 fall in this category, but the 21329 # former has a strerror_r that returns char*, while the latter 21330 # has a strerror_r that returns `int'. 21331 # This test should segfault on the DEC system. 21332 if test "$cross_compiling" = yes; then : 21333 : 21334else 21335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21336/* end confdefs.h. */ 21337$ac_includes_default 21338 extern char *strerror_r (); 21339int 21340main () 21341{ 21342char buf[100]; 21343 char x = *strerror_r (0, buf, sizeof buf); 21344 return ! isalpha (x); 21345 ; 21346 return 0; 21347} 21348_ACEOF 21349if ac_fn_c_try_run "$LINENO"; then : 21350 ac_cv_func_strerror_r_char_p=yes 21351fi 21352rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 21353 conftest.$ac_objext conftest.beam conftest.$ac_ext 21354fi 21355 21356 fi 21357 21358fi 21359{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strerror_r_char_p" >&5 21360$as_echo "$ac_cv_func_strerror_r_char_p" >&6; } 21361if test $ac_cv_func_strerror_r_char_p = yes; then 21362 21363$as_echo "#define STRERROR_R_CHAR_P 1" >>confdefs.h 21364 21365fi 21366 21367 21368 if test "x$ac_cv_have_decl_strerror_r" != xyes; then : 21369 for ac_func in strerror 21370do : 21371 ac_fn_c_check_func "$LINENO" "strerror" "ac_cv_func_strerror" 21372if test "x$ac_cv_func_strerror" = xyes; then : 21373 cat >>confdefs.h <<_ACEOF 21374#define HAVE_STRERROR 1 21375_ACEOF 21376 21377fi 21378done 21379 21380 21381 if test "x$ac_cv_func_strerror" != xyes; then : 21382 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 21383$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 21384as_fn_error 1 "Missing functions: strerror_r and strerror 21385See \`config.log' for more details" "$LINENO" 5; } 21386 21387fi 21388 21389fi 21390 21391 ac_cv_libcerror_CPPFLAGS="-I../libcerror"; 21392 ac_cv_libcerror_LIBADD="../libcerror/libcerror.la"; 21393 21394 ac_cv_libcerror=local 21395 21396 21397 21398$as_echo "#define HAVE_LOCAL_LIBCERROR 1" >>confdefs.h 21399 21400 HAVE_LOCAL_LIBCERROR=1 21401 21402 21403fi 21404 21405 if test "x$ac_cv_libcerror" = xlocal; then 21406 HAVE_LOCAL_LIBCERROR_TRUE= 21407 HAVE_LOCAL_LIBCERROR_FALSE='#' 21408else 21409 HAVE_LOCAL_LIBCERROR_TRUE='#' 21410 HAVE_LOCAL_LIBCERROR_FALSE= 21411fi 21412 21413 if test "x$ac_cv_libcerror_CPPFLAGS" != "x"; then : 21414 LIBCERROR_CPPFLAGS=$ac_cv_libcerror_CPPFLAGS 21415 21416 21417fi 21418 if test "x$ac_cv_libcerror_LIBADD" != "x"; then : 21419 LIBCERROR_LIBADD=$ac_cv_libcerror_LIBADD 21420 21421 21422fi 21423 21424 if test "x$ac_cv_libcerror" = xyes; then : 21425 ax_libcerror_pc_libs_private=-lcerror 21426 21427 21428fi 21429 21430 if test "x$ac_cv_libcerror" = xyes; then : 21431 ax_libcerror_spec_requires=libcerror 21432 21433 ax_libcerror_spec_build_requires=libcerror-devel 21434 21435 21436fi 21437 21438 21439 21440 # Check whether --enable-multi-threading-support was given. 21441if test "${enable_multi_threading_support+set}" = set; then : 21442 enableval=$enable_multi_threading_support; ac_cv_enable_multi_threading_support=$enableval 21443else 21444 ac_cv_enable_multi_threading_support=yes 21445fi 21446 21447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable enable multi-threading support" >&5 21448$as_echo_n "checking whether to enable enable multi-threading support... " >&6; } 21449if ${ac_cv_enable_multi_threading_support+:} false; then : 21450 $as_echo_n "(cached) " >&6 21451else 21452 ac_cv_enable_multi_threading_support=yes 21453fi 21454{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_multi_threading_support" >&5 21455$as_echo "$ac_cv_enable_multi_threading_support" >&6; } 21456 21457 21458# Check whether --with-libcthreads was given. 21459if test "${with_libcthreads+set}" = set; then : 21460 withval=$with_libcthreads; ac_cv_with_libcthreads=$withval 21461else 21462 ac_cv_with_libcthreads=auto-detect 21463fi 21464 21465 { $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 21466$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; } 21467if ${ac_cv_with_libcthreads+:} false; then : 21468 $as_echo_n "(cached) " >&6 21469else 21470 ac_cv_with_libcthreads=auto-detect 21471fi 21472{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libcthreads" >&5 21473$as_echo "$ac_cv_with_libcthreads" >&6; } 21474 21475 if test "x$ac_cv_enable_multi_threading_support" = xno; then : 21476 ac_cv_libcthreads="no" 21477 ac_cv_libcthreads_multi_threading="no" 21478else 21479 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libcthreads" = xno; then : 21480 ac_cv_libcthreads=no 21481else 21482 ac_cv_libcthreads=check 21483 if test "x$ac_cv_with_libcthreads" != x && test "x$ac_cv_with_libcthreads" != xauto-detect; then : 21484 if test -d "$ac_cv_with_libcthreads"; then : 21485 CFLAGS="$CFLAGS -I${ac_cv_with_libcthreads}/include" 21486 LDFLAGS="$LDFLAGS -L${ac_cv_with_libcthreads}/lib" 21487else 21488 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 21489$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 21490as_fn_error 1 "no such directory: $ac_cv_with_libcthreads 21491See \`config.log' for more details" "$LINENO" 5; } 21492 21493fi 21494 21495else 21496 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 21497 21498pkg_failed=no 21499{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads" >&5 21500$as_echo_n "checking for libcthreads... " >&6; } 21501 21502if test -n "$libcthreads_CFLAGS"; then 21503 pkg_cv_libcthreads_CFLAGS="$libcthreads_CFLAGS" 21504 elif test -n "$PKG_CONFIG"; then 21505 if test -n "$PKG_CONFIG" && \ 21506 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcthreads >= 20160404\""; } >&5 21507 ($PKG_CONFIG --exists --print-errors "libcthreads >= 20160404") 2>&5 21508 ac_status=$? 21509 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 21510 test $ac_status = 0; }; then 21511 pkg_cv_libcthreads_CFLAGS=`$PKG_CONFIG --cflags "libcthreads >= 20160404" 2>/dev/null` 21512 test "x$?" != "x0" && pkg_failed=yes 21513else 21514 pkg_failed=yes 21515fi 21516 else 21517 pkg_failed=untried 21518fi 21519if test -n "$libcthreads_LIBS"; then 21520 pkg_cv_libcthreads_LIBS="$libcthreads_LIBS" 21521 elif test -n "$PKG_CONFIG"; then 21522 if test -n "$PKG_CONFIG" && \ 21523 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcthreads >= 20160404\""; } >&5 21524 ($PKG_CONFIG --exists --print-errors "libcthreads >= 20160404") 2>&5 21525 ac_status=$? 21526 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 21527 test $ac_status = 0; }; then 21528 pkg_cv_libcthreads_LIBS=`$PKG_CONFIG --libs "libcthreads >= 20160404" 2>/dev/null` 21529 test "x$?" != "x0" && pkg_failed=yes 21530else 21531 pkg_failed=yes 21532fi 21533 else 21534 pkg_failed=untried 21535fi 21536 21537 21538 21539if test $pkg_failed = yes; then 21540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 21541$as_echo "no" >&6; } 21542 21543if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 21544 _pkg_short_errors_supported=yes 21545else 21546 _pkg_short_errors_supported=no 21547fi 21548 if test $_pkg_short_errors_supported = yes; then 21549 libcthreads_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcthreads >= 20160404" 2>&1` 21550 else 21551 libcthreads_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcthreads >= 20160404" 2>&1` 21552 fi 21553 # Put the nasty error message in config.log where it belongs 21554 echo "$libcthreads_PKG_ERRORS" >&5 21555 21556 ac_cv_libcthreads=check 21557elif test $pkg_failed = untried; then 21558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 21559$as_echo "no" >&6; } 21560 ac_cv_libcthreads=check 21561else 21562 libcthreads_CFLAGS=$pkg_cv_libcthreads_CFLAGS 21563 libcthreads_LIBS=$pkg_cv_libcthreads_LIBS 21564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 21565$as_echo "yes" >&6; } 21566 ac_cv_libcthreads=yes 21567fi 21568 21569fi 21570 if test "x$ac_cv_libcthreads" = xyes; then : 21571 ac_cv_libcthreads_CPPFLAGS="$pkg_cv_libcthreads_CFLAGS" 21572 ac_cv_libcthreads_LIBADD="$pkg_cv_libcthreads_LIBS" 21573fi 21574 21575fi 21576 21577 if test "x$ac_cv_libcthreads" = xcheck; then : 21578 for ac_header in libcthreads.h 21579do : 21580 ac_fn_c_check_header_mongrel "$LINENO" "libcthreads.h" "ac_cv_header_libcthreads_h" "$ac_includes_default" 21581if test "x$ac_cv_header_libcthreads_h" = xyes; then : 21582 cat >>confdefs.h <<_ACEOF 21583#define HAVE_LIBCTHREADS_H 1 21584_ACEOF 21585 21586fi 21587 21588done 21589 21590 21591 if test "x$ac_cv_header_libcthreads_h" = xno; then : 21592 ac_cv_libcthreads=no 21593else 21594 ac_cv_libcthreads=yes 21595 21596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_get_version in -lcthreads" >&5 21597$as_echo_n "checking for libcthreads_get_version in -lcthreads... " >&6; } 21598if ${ac_cv_lib_cthreads_libcthreads_get_version+:} false; then : 21599 $as_echo_n "(cached) " >&6 21600else 21601 ac_check_lib_save_LIBS=$LIBS 21602LIBS="-lcthreads $LIBS" 21603cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21604/* end confdefs.h. */ 21605 21606/* Override any GCC internal prototype to avoid an error. 21607 Use char because int might match the return type of a GCC 21608 builtin and then its argument prototype would still apply. */ 21609#ifdef __cplusplus 21610extern "C" 21611#endif 21612char libcthreads_get_version (); 21613int 21614main () 21615{ 21616return libcthreads_get_version (); 21617 ; 21618 return 0; 21619} 21620_ACEOF 21621if ac_fn_c_try_link "$LINENO"; then : 21622 ac_cv_lib_cthreads_libcthreads_get_version=yes 21623else 21624 ac_cv_lib_cthreads_libcthreads_get_version=no 21625fi 21626rm -f core conftest.err conftest.$ac_objext \ 21627 conftest$ac_exeext conftest.$ac_ext 21628LIBS=$ac_check_lib_save_LIBS 21629fi 21630{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_get_version" >&5 21631$as_echo "$ac_cv_lib_cthreads_libcthreads_get_version" >&6; } 21632if test "x$ac_cv_lib_cthreads_libcthreads_get_version" = xyes; then : 21633 ac_cv_libcthreads_dummy=yes 21634else 21635 ac_cv_libcthreads=no 21636fi 21637 21638 21639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_create in -lcthreads" >&5 21640$as_echo_n "checking for libcthreads_thread_create in -lcthreads... " >&6; } 21641if ${ac_cv_lib_cthreads_libcthreads_thread_create+:} false; then : 21642 $as_echo_n "(cached) " >&6 21643else 21644 ac_check_lib_save_LIBS=$LIBS 21645LIBS="-lcthreads $LIBS" 21646cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21647/* end confdefs.h. */ 21648 21649/* Override any GCC internal prototype to avoid an error. 21650 Use char because int might match the return type of a GCC 21651 builtin and then its argument prototype would still apply. */ 21652#ifdef __cplusplus 21653extern "C" 21654#endif 21655char libcthreads_thread_create (); 21656int 21657main () 21658{ 21659return libcthreads_thread_create (); 21660 ; 21661 return 0; 21662} 21663_ACEOF 21664if ac_fn_c_try_link "$LINENO"; then : 21665 ac_cv_lib_cthreads_libcthreads_thread_create=yes 21666else 21667 ac_cv_lib_cthreads_libcthreads_thread_create=no 21668fi 21669rm -f core conftest.err conftest.$ac_objext \ 21670 conftest$ac_exeext conftest.$ac_ext 21671LIBS=$ac_check_lib_save_LIBS 21672fi 21673{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_create" >&5 21674$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_create" >&6; } 21675if test "x$ac_cv_lib_cthreads_libcthreads_thread_create" = xyes; then : 21676 ac_cv_libcthreads_dummy=yes 21677else 21678 ac_cv_libcthreads=no 21679fi 21680 21681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_join in -lcthreads" >&5 21682$as_echo_n "checking for libcthreads_thread_join in -lcthreads... " >&6; } 21683if ${ac_cv_lib_cthreads_libcthreads_thread_join+:} false; then : 21684 $as_echo_n "(cached) " >&6 21685else 21686 ac_check_lib_save_LIBS=$LIBS 21687LIBS="-lcthreads $LIBS" 21688cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21689/* end confdefs.h. */ 21690 21691/* Override any GCC internal prototype to avoid an error. 21692 Use char because int might match the return type of a GCC 21693 builtin and then its argument prototype would still apply. */ 21694#ifdef __cplusplus 21695extern "C" 21696#endif 21697char libcthreads_thread_join (); 21698int 21699main () 21700{ 21701return libcthreads_thread_join (); 21702 ; 21703 return 0; 21704} 21705_ACEOF 21706if ac_fn_c_try_link "$LINENO"; then : 21707 ac_cv_lib_cthreads_libcthreads_thread_join=yes 21708else 21709 ac_cv_lib_cthreads_libcthreads_thread_join=no 21710fi 21711rm -f core conftest.err conftest.$ac_objext \ 21712 conftest$ac_exeext conftest.$ac_ext 21713LIBS=$ac_check_lib_save_LIBS 21714fi 21715{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_join" >&5 21716$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_join" >&6; } 21717if test "x$ac_cv_lib_cthreads_libcthreads_thread_join" = xyes; then : 21718 ac_cv_libcthreads_dummy=yes 21719else 21720 ac_cv_libcthreads=no 21721fi 21722 21723 21724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_attributes_initialize in -lcthreads" >&5 21725$as_echo_n "checking for libcthreads_thread_attributes_initialize in -lcthreads... " >&6; } 21726if ${ac_cv_lib_cthreads_libcthreads_thread_attributes_initialize+:} false; then : 21727 $as_echo_n "(cached) " >&6 21728else 21729 ac_check_lib_save_LIBS=$LIBS 21730LIBS="-lcthreads $LIBS" 21731cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21732/* end confdefs.h. */ 21733 21734/* Override any GCC internal prototype to avoid an error. 21735 Use char because int might match the return type of a GCC 21736 builtin and then its argument prototype would still apply. */ 21737#ifdef __cplusplus 21738extern "C" 21739#endif 21740char libcthreads_thread_attributes_initialize (); 21741int 21742main () 21743{ 21744return libcthreads_thread_attributes_initialize (); 21745 ; 21746 return 0; 21747} 21748_ACEOF 21749if ac_fn_c_try_link "$LINENO"; then : 21750 ac_cv_lib_cthreads_libcthreads_thread_attributes_initialize=yes 21751else 21752 ac_cv_lib_cthreads_libcthreads_thread_attributes_initialize=no 21753fi 21754rm -f core conftest.err conftest.$ac_objext \ 21755 conftest$ac_exeext conftest.$ac_ext 21756LIBS=$ac_check_lib_save_LIBS 21757fi 21758{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_attributes_initialize" >&5 21759$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_attributes_initialize" >&6; } 21760if test "x$ac_cv_lib_cthreads_libcthreads_thread_attributes_initialize" = xyes; then : 21761 ac_cv_libcthreads_dummy=yes 21762else 21763 ac_cv_libcthreads=no 21764fi 21765 21766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_attributes_free in -lcthreads" >&5 21767$as_echo_n "checking for libcthreads_thread_attributes_free in -lcthreads... " >&6; } 21768if ${ac_cv_lib_cthreads_libcthreads_thread_attributes_free+:} false; then : 21769 $as_echo_n "(cached) " >&6 21770else 21771 ac_check_lib_save_LIBS=$LIBS 21772LIBS="-lcthreads $LIBS" 21773cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21774/* end confdefs.h. */ 21775 21776/* Override any GCC internal prototype to avoid an error. 21777 Use char because int might match the return type of a GCC 21778 builtin and then its argument prototype would still apply. */ 21779#ifdef __cplusplus 21780extern "C" 21781#endif 21782char libcthreads_thread_attributes_free (); 21783int 21784main () 21785{ 21786return libcthreads_thread_attributes_free (); 21787 ; 21788 return 0; 21789} 21790_ACEOF 21791if ac_fn_c_try_link "$LINENO"; then : 21792 ac_cv_lib_cthreads_libcthreads_thread_attributes_free=yes 21793else 21794 ac_cv_lib_cthreads_libcthreads_thread_attributes_free=no 21795fi 21796rm -f core conftest.err conftest.$ac_objext \ 21797 conftest$ac_exeext conftest.$ac_ext 21798LIBS=$ac_check_lib_save_LIBS 21799fi 21800{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_attributes_free" >&5 21801$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_attributes_free" >&6; } 21802if test "x$ac_cv_lib_cthreads_libcthreads_thread_attributes_free" = xyes; then : 21803 ac_cv_libcthreads_dummy=yes 21804else 21805 ac_cv_libcthreads=no 21806fi 21807 21808 21809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_condition_initialize in -lcthreads" >&5 21810$as_echo_n "checking for libcthreads_condition_initialize in -lcthreads... " >&6; } 21811if ${ac_cv_lib_cthreads_libcthreads_condition_initialize+:} false; then : 21812 $as_echo_n "(cached) " >&6 21813else 21814 ac_check_lib_save_LIBS=$LIBS 21815LIBS="-lcthreads $LIBS" 21816cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21817/* end confdefs.h. */ 21818 21819/* Override any GCC internal prototype to avoid an error. 21820 Use char because int might match the return type of a GCC 21821 builtin and then its argument prototype would still apply. */ 21822#ifdef __cplusplus 21823extern "C" 21824#endif 21825char libcthreads_condition_initialize (); 21826int 21827main () 21828{ 21829return libcthreads_condition_initialize (); 21830 ; 21831 return 0; 21832} 21833_ACEOF 21834if ac_fn_c_try_link "$LINENO"; then : 21835 ac_cv_lib_cthreads_libcthreads_condition_initialize=yes 21836else 21837 ac_cv_lib_cthreads_libcthreads_condition_initialize=no 21838fi 21839rm -f core conftest.err conftest.$ac_objext \ 21840 conftest$ac_exeext conftest.$ac_ext 21841LIBS=$ac_check_lib_save_LIBS 21842fi 21843{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_condition_initialize" >&5 21844$as_echo "$ac_cv_lib_cthreads_libcthreads_condition_initialize" >&6; } 21845if test "x$ac_cv_lib_cthreads_libcthreads_condition_initialize" = xyes; then : 21846 ac_cv_libcthreads_dummy=yes 21847else 21848 ac_cv_libcthreads=no 21849fi 21850 21851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_condition_free in -lcthreads" >&5 21852$as_echo_n "checking for libcthreads_condition_free in -lcthreads... " >&6; } 21853if ${ac_cv_lib_cthreads_libcthreads_condition_free+:} false; then : 21854 $as_echo_n "(cached) " >&6 21855else 21856 ac_check_lib_save_LIBS=$LIBS 21857LIBS="-lcthreads $LIBS" 21858cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21859/* end confdefs.h. */ 21860 21861/* Override any GCC internal prototype to avoid an error. 21862 Use char because int might match the return type of a GCC 21863 builtin and then its argument prototype would still apply. */ 21864#ifdef __cplusplus 21865extern "C" 21866#endif 21867char libcthreads_condition_free (); 21868int 21869main () 21870{ 21871return libcthreads_condition_free (); 21872 ; 21873 return 0; 21874} 21875_ACEOF 21876if ac_fn_c_try_link "$LINENO"; then : 21877 ac_cv_lib_cthreads_libcthreads_condition_free=yes 21878else 21879 ac_cv_lib_cthreads_libcthreads_condition_free=no 21880fi 21881rm -f core conftest.err conftest.$ac_objext \ 21882 conftest$ac_exeext conftest.$ac_ext 21883LIBS=$ac_check_lib_save_LIBS 21884fi 21885{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_condition_free" >&5 21886$as_echo "$ac_cv_lib_cthreads_libcthreads_condition_free" >&6; } 21887if test "x$ac_cv_lib_cthreads_libcthreads_condition_free" = xyes; then : 21888 ac_cv_libcthreads_dummy=yes 21889else 21890 ac_cv_libcthreads=no 21891fi 21892 21893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_condition_broadcast in -lcthreads" >&5 21894$as_echo_n "checking for libcthreads_condition_broadcast in -lcthreads... " >&6; } 21895if ${ac_cv_lib_cthreads_libcthreads_condition_broadcast+:} false; then : 21896 $as_echo_n "(cached) " >&6 21897else 21898 ac_check_lib_save_LIBS=$LIBS 21899LIBS="-lcthreads $LIBS" 21900cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21901/* end confdefs.h. */ 21902 21903/* Override any GCC internal prototype to avoid an error. 21904 Use char because int might match the return type of a GCC 21905 builtin and then its argument prototype would still apply. */ 21906#ifdef __cplusplus 21907extern "C" 21908#endif 21909char libcthreads_condition_broadcast (); 21910int 21911main () 21912{ 21913return libcthreads_condition_broadcast (); 21914 ; 21915 return 0; 21916} 21917_ACEOF 21918if ac_fn_c_try_link "$LINENO"; then : 21919 ac_cv_lib_cthreads_libcthreads_condition_broadcast=yes 21920else 21921 ac_cv_lib_cthreads_libcthreads_condition_broadcast=no 21922fi 21923rm -f core conftest.err conftest.$ac_objext \ 21924 conftest$ac_exeext conftest.$ac_ext 21925LIBS=$ac_check_lib_save_LIBS 21926fi 21927{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_condition_broadcast" >&5 21928$as_echo "$ac_cv_lib_cthreads_libcthreads_condition_broadcast" >&6; } 21929if test "x$ac_cv_lib_cthreads_libcthreads_condition_broadcast" = xyes; then : 21930 ac_cv_libcthreads_dummy=yes 21931else 21932 ac_cv_libcthreads=no 21933fi 21934 21935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_condition_signal in -lcthreads" >&5 21936$as_echo_n "checking for libcthreads_condition_signal in -lcthreads... " >&6; } 21937if ${ac_cv_lib_cthreads_libcthreads_condition_signal+:} false; then : 21938 $as_echo_n "(cached) " >&6 21939else 21940 ac_check_lib_save_LIBS=$LIBS 21941LIBS="-lcthreads $LIBS" 21942cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21943/* end confdefs.h. */ 21944 21945/* Override any GCC internal prototype to avoid an error. 21946 Use char because int might match the return type of a GCC 21947 builtin and then its argument prototype would still apply. */ 21948#ifdef __cplusplus 21949extern "C" 21950#endif 21951char libcthreads_condition_signal (); 21952int 21953main () 21954{ 21955return libcthreads_condition_signal (); 21956 ; 21957 return 0; 21958} 21959_ACEOF 21960if ac_fn_c_try_link "$LINENO"; then : 21961 ac_cv_lib_cthreads_libcthreads_condition_signal=yes 21962else 21963 ac_cv_lib_cthreads_libcthreads_condition_signal=no 21964fi 21965rm -f core conftest.err conftest.$ac_objext \ 21966 conftest$ac_exeext conftest.$ac_ext 21967LIBS=$ac_check_lib_save_LIBS 21968fi 21969{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_condition_signal" >&5 21970$as_echo "$ac_cv_lib_cthreads_libcthreads_condition_signal" >&6; } 21971if test "x$ac_cv_lib_cthreads_libcthreads_condition_signal" = xyes; then : 21972 ac_cv_libcthreads_dummy=yes 21973else 21974 ac_cv_libcthreads=no 21975fi 21976 21977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_condition_wait in -lcthreads" >&5 21978$as_echo_n "checking for libcthreads_condition_wait in -lcthreads... " >&6; } 21979if ${ac_cv_lib_cthreads_libcthreads_condition_wait+:} false; then : 21980 $as_echo_n "(cached) " >&6 21981else 21982 ac_check_lib_save_LIBS=$LIBS 21983LIBS="-lcthreads $LIBS" 21984cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21985/* end confdefs.h. */ 21986 21987/* Override any GCC internal prototype to avoid an error. 21988 Use char because int might match the return type of a GCC 21989 builtin and then its argument prototype would still apply. */ 21990#ifdef __cplusplus 21991extern "C" 21992#endif 21993char libcthreads_condition_wait (); 21994int 21995main () 21996{ 21997return libcthreads_condition_wait (); 21998 ; 21999 return 0; 22000} 22001_ACEOF 22002if ac_fn_c_try_link "$LINENO"; then : 22003 ac_cv_lib_cthreads_libcthreads_condition_wait=yes 22004else 22005 ac_cv_lib_cthreads_libcthreads_condition_wait=no 22006fi 22007rm -f core conftest.err conftest.$ac_objext \ 22008 conftest$ac_exeext conftest.$ac_ext 22009LIBS=$ac_check_lib_save_LIBS 22010fi 22011{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_condition_wait" >&5 22012$as_echo "$ac_cv_lib_cthreads_libcthreads_condition_wait" >&6; } 22013if test "x$ac_cv_lib_cthreads_libcthreads_condition_wait" = xyes; then : 22014 ac_cv_libcthreads_dummy=yes 22015else 22016 ac_cv_libcthreads=no 22017fi 22018 22019 22020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_lock_initialize in -lcthreads" >&5 22021$as_echo_n "checking for libcthreads_lock_initialize in -lcthreads... " >&6; } 22022if ${ac_cv_lib_cthreads_libcthreads_lock_initialize+:} false; then : 22023 $as_echo_n "(cached) " >&6 22024else 22025 ac_check_lib_save_LIBS=$LIBS 22026LIBS="-lcthreads $LIBS" 22027cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22028/* end confdefs.h. */ 22029 22030/* Override any GCC internal prototype to avoid an error. 22031 Use char because int might match the return type of a GCC 22032 builtin and then its argument prototype would still apply. */ 22033#ifdef __cplusplus 22034extern "C" 22035#endif 22036char libcthreads_lock_initialize (); 22037int 22038main () 22039{ 22040return libcthreads_lock_initialize (); 22041 ; 22042 return 0; 22043} 22044_ACEOF 22045if ac_fn_c_try_link "$LINENO"; then : 22046 ac_cv_lib_cthreads_libcthreads_lock_initialize=yes 22047else 22048 ac_cv_lib_cthreads_libcthreads_lock_initialize=no 22049fi 22050rm -f core conftest.err conftest.$ac_objext \ 22051 conftest$ac_exeext conftest.$ac_ext 22052LIBS=$ac_check_lib_save_LIBS 22053fi 22054{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_lock_initialize" >&5 22055$as_echo "$ac_cv_lib_cthreads_libcthreads_lock_initialize" >&6; } 22056if test "x$ac_cv_lib_cthreads_libcthreads_lock_initialize" = xyes; then : 22057 ac_cv_libcthreads_dummy=yes 22058else 22059 ac_cv_libcthreads=no 22060fi 22061 22062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_lock_free in -lcthreads" >&5 22063$as_echo_n "checking for libcthreads_lock_free in -lcthreads... " >&6; } 22064if ${ac_cv_lib_cthreads_libcthreads_lock_free+:} false; then : 22065 $as_echo_n "(cached) " >&6 22066else 22067 ac_check_lib_save_LIBS=$LIBS 22068LIBS="-lcthreads $LIBS" 22069cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22070/* end confdefs.h. */ 22071 22072/* Override any GCC internal prototype to avoid an error. 22073 Use char because int might match the return type of a GCC 22074 builtin and then its argument prototype would still apply. */ 22075#ifdef __cplusplus 22076extern "C" 22077#endif 22078char libcthreads_lock_free (); 22079int 22080main () 22081{ 22082return libcthreads_lock_free (); 22083 ; 22084 return 0; 22085} 22086_ACEOF 22087if ac_fn_c_try_link "$LINENO"; then : 22088 ac_cv_lib_cthreads_libcthreads_lock_free=yes 22089else 22090 ac_cv_lib_cthreads_libcthreads_lock_free=no 22091fi 22092rm -f core conftest.err conftest.$ac_objext \ 22093 conftest$ac_exeext conftest.$ac_ext 22094LIBS=$ac_check_lib_save_LIBS 22095fi 22096{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_lock_free" >&5 22097$as_echo "$ac_cv_lib_cthreads_libcthreads_lock_free" >&6; } 22098if test "x$ac_cv_lib_cthreads_libcthreads_lock_free" = xyes; then : 22099 ac_cv_libcthreads_dummy=yes 22100else 22101 ac_cv_libcthreads=no 22102fi 22103 22104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_lock_grab in -lcthreads" >&5 22105$as_echo_n "checking for libcthreads_lock_grab in -lcthreads... " >&6; } 22106if ${ac_cv_lib_cthreads_libcthreads_lock_grab+:} false; then : 22107 $as_echo_n "(cached) " >&6 22108else 22109 ac_check_lib_save_LIBS=$LIBS 22110LIBS="-lcthreads $LIBS" 22111cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22112/* end confdefs.h. */ 22113 22114/* Override any GCC internal prototype to avoid an error. 22115 Use char because int might match the return type of a GCC 22116 builtin and then its argument prototype would still apply. */ 22117#ifdef __cplusplus 22118extern "C" 22119#endif 22120char libcthreads_lock_grab (); 22121int 22122main () 22123{ 22124return libcthreads_lock_grab (); 22125 ; 22126 return 0; 22127} 22128_ACEOF 22129if ac_fn_c_try_link "$LINENO"; then : 22130 ac_cv_lib_cthreads_libcthreads_lock_grab=yes 22131else 22132 ac_cv_lib_cthreads_libcthreads_lock_grab=no 22133fi 22134rm -f core conftest.err conftest.$ac_objext \ 22135 conftest$ac_exeext conftest.$ac_ext 22136LIBS=$ac_check_lib_save_LIBS 22137fi 22138{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_lock_grab" >&5 22139$as_echo "$ac_cv_lib_cthreads_libcthreads_lock_grab" >&6; } 22140if test "x$ac_cv_lib_cthreads_libcthreads_lock_grab" = xyes; then : 22141 ac_cv_libcthreads_dummy=yes 22142else 22143 ac_cv_libcthreads=no 22144fi 22145 22146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_lock_release in -lcthreads" >&5 22147$as_echo_n "checking for libcthreads_lock_release in -lcthreads... " >&6; } 22148if ${ac_cv_lib_cthreads_libcthreads_lock_release+:} false; then : 22149 $as_echo_n "(cached) " >&6 22150else 22151 ac_check_lib_save_LIBS=$LIBS 22152LIBS="-lcthreads $LIBS" 22153cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22154/* end confdefs.h. */ 22155 22156/* Override any GCC internal prototype to avoid an error. 22157 Use char because int might match the return type of a GCC 22158 builtin and then its argument prototype would still apply. */ 22159#ifdef __cplusplus 22160extern "C" 22161#endif 22162char libcthreads_lock_release (); 22163int 22164main () 22165{ 22166return libcthreads_lock_release (); 22167 ; 22168 return 0; 22169} 22170_ACEOF 22171if ac_fn_c_try_link "$LINENO"; then : 22172 ac_cv_lib_cthreads_libcthreads_lock_release=yes 22173else 22174 ac_cv_lib_cthreads_libcthreads_lock_release=no 22175fi 22176rm -f core conftest.err conftest.$ac_objext \ 22177 conftest$ac_exeext conftest.$ac_ext 22178LIBS=$ac_check_lib_save_LIBS 22179fi 22180{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_lock_release" >&5 22181$as_echo "$ac_cv_lib_cthreads_libcthreads_lock_release" >&6; } 22182if test "x$ac_cv_lib_cthreads_libcthreads_lock_release" = xyes; then : 22183 ac_cv_libcthreads_dummy=yes 22184else 22185 ac_cv_libcthreads=no 22186fi 22187 22188 22189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_mutex_initialize in -lcthreads" >&5 22190$as_echo_n "checking for libcthreads_mutex_initialize in -lcthreads... " >&6; } 22191if ${ac_cv_lib_cthreads_libcthreads_mutex_initialize+:} false; then : 22192 $as_echo_n "(cached) " >&6 22193else 22194 ac_check_lib_save_LIBS=$LIBS 22195LIBS="-lcthreads $LIBS" 22196cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22197/* end confdefs.h. */ 22198 22199/* Override any GCC internal prototype to avoid an error. 22200 Use char because int might match the return type of a GCC 22201 builtin and then its argument prototype would still apply. */ 22202#ifdef __cplusplus 22203extern "C" 22204#endif 22205char libcthreads_mutex_initialize (); 22206int 22207main () 22208{ 22209return libcthreads_mutex_initialize (); 22210 ; 22211 return 0; 22212} 22213_ACEOF 22214if ac_fn_c_try_link "$LINENO"; then : 22215 ac_cv_lib_cthreads_libcthreads_mutex_initialize=yes 22216else 22217 ac_cv_lib_cthreads_libcthreads_mutex_initialize=no 22218fi 22219rm -f core conftest.err conftest.$ac_objext \ 22220 conftest$ac_exeext conftest.$ac_ext 22221LIBS=$ac_check_lib_save_LIBS 22222fi 22223{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_mutex_initialize" >&5 22224$as_echo "$ac_cv_lib_cthreads_libcthreads_mutex_initialize" >&6; } 22225if test "x$ac_cv_lib_cthreads_libcthreads_mutex_initialize" = xyes; then : 22226 ac_cv_libcthreads_dummy=yes 22227else 22228 ac_cv_libcthreads=no 22229fi 22230 22231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_mutex_free in -lcthreads" >&5 22232$as_echo_n "checking for libcthreads_mutex_free in -lcthreads... " >&6; } 22233if ${ac_cv_lib_cthreads_libcthreads_mutex_free+:} false; then : 22234 $as_echo_n "(cached) " >&6 22235else 22236 ac_check_lib_save_LIBS=$LIBS 22237LIBS="-lcthreads $LIBS" 22238cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22239/* end confdefs.h. */ 22240 22241/* Override any GCC internal prototype to avoid an error. 22242 Use char because int might match the return type of a GCC 22243 builtin and then its argument prototype would still apply. */ 22244#ifdef __cplusplus 22245extern "C" 22246#endif 22247char libcthreads_mutex_free (); 22248int 22249main () 22250{ 22251return libcthreads_mutex_free (); 22252 ; 22253 return 0; 22254} 22255_ACEOF 22256if ac_fn_c_try_link "$LINENO"; then : 22257 ac_cv_lib_cthreads_libcthreads_mutex_free=yes 22258else 22259 ac_cv_lib_cthreads_libcthreads_mutex_free=no 22260fi 22261rm -f core conftest.err conftest.$ac_objext \ 22262 conftest$ac_exeext conftest.$ac_ext 22263LIBS=$ac_check_lib_save_LIBS 22264fi 22265{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_mutex_free" >&5 22266$as_echo "$ac_cv_lib_cthreads_libcthreads_mutex_free" >&6; } 22267if test "x$ac_cv_lib_cthreads_libcthreads_mutex_free" = xyes; then : 22268 ac_cv_libcthreads_dummy=yes 22269else 22270 ac_cv_libcthreads=no 22271fi 22272 22273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_mutex_grab in -lcthreads" >&5 22274$as_echo_n "checking for libcthreads_mutex_grab in -lcthreads... " >&6; } 22275if ${ac_cv_lib_cthreads_libcthreads_mutex_grab+:} false; then : 22276 $as_echo_n "(cached) " >&6 22277else 22278 ac_check_lib_save_LIBS=$LIBS 22279LIBS="-lcthreads $LIBS" 22280cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22281/* end confdefs.h. */ 22282 22283/* Override any GCC internal prototype to avoid an error. 22284 Use char because int might match the return type of a GCC 22285 builtin and then its argument prototype would still apply. */ 22286#ifdef __cplusplus 22287extern "C" 22288#endif 22289char libcthreads_mutex_grab (); 22290int 22291main () 22292{ 22293return libcthreads_mutex_grab (); 22294 ; 22295 return 0; 22296} 22297_ACEOF 22298if ac_fn_c_try_link "$LINENO"; then : 22299 ac_cv_lib_cthreads_libcthreads_mutex_grab=yes 22300else 22301 ac_cv_lib_cthreads_libcthreads_mutex_grab=no 22302fi 22303rm -f core conftest.err conftest.$ac_objext \ 22304 conftest$ac_exeext conftest.$ac_ext 22305LIBS=$ac_check_lib_save_LIBS 22306fi 22307{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_mutex_grab" >&5 22308$as_echo "$ac_cv_lib_cthreads_libcthreads_mutex_grab" >&6; } 22309if test "x$ac_cv_lib_cthreads_libcthreads_mutex_grab" = xyes; then : 22310 ac_cv_libcthreads_dummy=yes 22311else 22312 ac_cv_libcthreads=no 22313fi 22314 22315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_mutex_try_grab in -lcthreads" >&5 22316$as_echo_n "checking for libcthreads_mutex_try_grab in -lcthreads... " >&6; } 22317if ${ac_cv_lib_cthreads_libcthreads_mutex_try_grab+:} false; then : 22318 $as_echo_n "(cached) " >&6 22319else 22320 ac_check_lib_save_LIBS=$LIBS 22321LIBS="-lcthreads $LIBS" 22322cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22323/* end confdefs.h. */ 22324 22325/* Override any GCC internal prototype to avoid an error. 22326 Use char because int might match the return type of a GCC 22327 builtin and then its argument prototype would still apply. */ 22328#ifdef __cplusplus 22329extern "C" 22330#endif 22331char libcthreads_mutex_try_grab (); 22332int 22333main () 22334{ 22335return libcthreads_mutex_try_grab (); 22336 ; 22337 return 0; 22338} 22339_ACEOF 22340if ac_fn_c_try_link "$LINENO"; then : 22341 ac_cv_lib_cthreads_libcthreads_mutex_try_grab=yes 22342else 22343 ac_cv_lib_cthreads_libcthreads_mutex_try_grab=no 22344fi 22345rm -f core conftest.err conftest.$ac_objext \ 22346 conftest$ac_exeext conftest.$ac_ext 22347LIBS=$ac_check_lib_save_LIBS 22348fi 22349{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_mutex_try_grab" >&5 22350$as_echo "$ac_cv_lib_cthreads_libcthreads_mutex_try_grab" >&6; } 22351if test "x$ac_cv_lib_cthreads_libcthreads_mutex_try_grab" = xyes; then : 22352 ac_cv_libcthreads_dummy=yes 22353else 22354 ac_cv_libcthreads=no 22355fi 22356 22357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_mutex_release in -lcthreads" >&5 22358$as_echo_n "checking for libcthreads_mutex_release in -lcthreads... " >&6; } 22359if ${ac_cv_lib_cthreads_libcthreads_mutex_release+:} false; then : 22360 $as_echo_n "(cached) " >&6 22361else 22362 ac_check_lib_save_LIBS=$LIBS 22363LIBS="-lcthreads $LIBS" 22364cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22365/* end confdefs.h. */ 22366 22367/* Override any GCC internal prototype to avoid an error. 22368 Use char because int might match the return type of a GCC 22369 builtin and then its argument prototype would still apply. */ 22370#ifdef __cplusplus 22371extern "C" 22372#endif 22373char libcthreads_mutex_release (); 22374int 22375main () 22376{ 22377return libcthreads_mutex_release (); 22378 ; 22379 return 0; 22380} 22381_ACEOF 22382if ac_fn_c_try_link "$LINENO"; then : 22383 ac_cv_lib_cthreads_libcthreads_mutex_release=yes 22384else 22385 ac_cv_lib_cthreads_libcthreads_mutex_release=no 22386fi 22387rm -f core conftest.err conftest.$ac_objext \ 22388 conftest$ac_exeext conftest.$ac_ext 22389LIBS=$ac_check_lib_save_LIBS 22390fi 22391{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_mutex_release" >&5 22392$as_echo "$ac_cv_lib_cthreads_libcthreads_mutex_release" >&6; } 22393if test "x$ac_cv_lib_cthreads_libcthreads_mutex_release" = xyes; then : 22394 ac_cv_libcthreads_dummy=yes 22395else 22396 ac_cv_libcthreads=no 22397fi 22398 22399 22400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_read_write_lock_initialize in -lcthreads" >&5 22401$as_echo_n "checking for libcthreads_read_write_lock_initialize in -lcthreads... " >&6; } 22402if ${ac_cv_lib_cthreads_libcthreads_read_write_lock_initialize+:} false; then : 22403 $as_echo_n "(cached) " >&6 22404else 22405 ac_check_lib_save_LIBS=$LIBS 22406LIBS="-lcthreads $LIBS" 22407cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22408/* end confdefs.h. */ 22409 22410/* Override any GCC internal prototype to avoid an error. 22411 Use char because int might match the return type of a GCC 22412 builtin and then its argument prototype would still apply. */ 22413#ifdef __cplusplus 22414extern "C" 22415#endif 22416char libcthreads_read_write_lock_initialize (); 22417int 22418main () 22419{ 22420return libcthreads_read_write_lock_initialize (); 22421 ; 22422 return 0; 22423} 22424_ACEOF 22425if ac_fn_c_try_link "$LINENO"; then : 22426 ac_cv_lib_cthreads_libcthreads_read_write_lock_initialize=yes 22427else 22428 ac_cv_lib_cthreads_libcthreads_read_write_lock_initialize=no 22429fi 22430rm -f core conftest.err conftest.$ac_objext \ 22431 conftest$ac_exeext conftest.$ac_ext 22432LIBS=$ac_check_lib_save_LIBS 22433fi 22434{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_read_write_lock_initialize" >&5 22435$as_echo "$ac_cv_lib_cthreads_libcthreads_read_write_lock_initialize" >&6; } 22436if test "x$ac_cv_lib_cthreads_libcthreads_read_write_lock_initialize" = xyes; then : 22437 ac_cv_libcthreads_dummy=yes 22438else 22439 ac_cv_libcthreads=no 22440fi 22441 22442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_read_write_lock_free in -lcthreads" >&5 22443$as_echo_n "checking for libcthreads_read_write_lock_free in -lcthreads... " >&6; } 22444if ${ac_cv_lib_cthreads_libcthreads_read_write_lock_free+:} false; then : 22445 $as_echo_n "(cached) " >&6 22446else 22447 ac_check_lib_save_LIBS=$LIBS 22448LIBS="-lcthreads $LIBS" 22449cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22450/* end confdefs.h. */ 22451 22452/* Override any GCC internal prototype to avoid an error. 22453 Use char because int might match the return type of a GCC 22454 builtin and then its argument prototype would still apply. */ 22455#ifdef __cplusplus 22456extern "C" 22457#endif 22458char libcthreads_read_write_lock_free (); 22459int 22460main () 22461{ 22462return libcthreads_read_write_lock_free (); 22463 ; 22464 return 0; 22465} 22466_ACEOF 22467if ac_fn_c_try_link "$LINENO"; then : 22468 ac_cv_lib_cthreads_libcthreads_read_write_lock_free=yes 22469else 22470 ac_cv_lib_cthreads_libcthreads_read_write_lock_free=no 22471fi 22472rm -f core conftest.err conftest.$ac_objext \ 22473 conftest$ac_exeext conftest.$ac_ext 22474LIBS=$ac_check_lib_save_LIBS 22475fi 22476{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_read_write_lock_free" >&5 22477$as_echo "$ac_cv_lib_cthreads_libcthreads_read_write_lock_free" >&6; } 22478if test "x$ac_cv_lib_cthreads_libcthreads_read_write_lock_free" = xyes; then : 22479 ac_cv_libcthreads_dummy=yes 22480else 22481 ac_cv_libcthreads=no 22482fi 22483 22484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_read_write_lock_grab_for_read in -lcthreads" >&5 22485$as_echo_n "checking for libcthreads_read_write_lock_grab_for_read in -lcthreads... " >&6; } 22486if ${ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_read+:} false; then : 22487 $as_echo_n "(cached) " >&6 22488else 22489 ac_check_lib_save_LIBS=$LIBS 22490LIBS="-lcthreads $LIBS" 22491cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22492/* end confdefs.h. */ 22493 22494/* Override any GCC internal prototype to avoid an error. 22495 Use char because int might match the return type of a GCC 22496 builtin and then its argument prototype would still apply. */ 22497#ifdef __cplusplus 22498extern "C" 22499#endif 22500char libcthreads_read_write_lock_grab_for_read (); 22501int 22502main () 22503{ 22504return libcthreads_read_write_lock_grab_for_read (); 22505 ; 22506 return 0; 22507} 22508_ACEOF 22509if ac_fn_c_try_link "$LINENO"; then : 22510 ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_read=yes 22511else 22512 ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_read=no 22513fi 22514rm -f core conftest.err conftest.$ac_objext \ 22515 conftest$ac_exeext conftest.$ac_ext 22516LIBS=$ac_check_lib_save_LIBS 22517fi 22518{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_read" >&5 22519$as_echo "$ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_read" >&6; } 22520if test "x$ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_read" = xyes; then : 22521 ac_cv_libcthreads_dummy=yes 22522else 22523 ac_cv_libcthreads=no 22524fi 22525 22526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_read_write_lock_grab_for_write in -lcthreads" >&5 22527$as_echo_n "checking for libcthreads_read_write_lock_grab_for_write in -lcthreads... " >&6; } 22528if ${ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_write+:} false; then : 22529 $as_echo_n "(cached) " >&6 22530else 22531 ac_check_lib_save_LIBS=$LIBS 22532LIBS="-lcthreads $LIBS" 22533cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22534/* end confdefs.h. */ 22535 22536/* Override any GCC internal prototype to avoid an error. 22537 Use char because int might match the return type of a GCC 22538 builtin and then its argument prototype would still apply. */ 22539#ifdef __cplusplus 22540extern "C" 22541#endif 22542char libcthreads_read_write_lock_grab_for_write (); 22543int 22544main () 22545{ 22546return libcthreads_read_write_lock_grab_for_write (); 22547 ; 22548 return 0; 22549} 22550_ACEOF 22551if ac_fn_c_try_link "$LINENO"; then : 22552 ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_write=yes 22553else 22554 ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_write=no 22555fi 22556rm -f core conftest.err conftest.$ac_objext \ 22557 conftest$ac_exeext conftest.$ac_ext 22558LIBS=$ac_check_lib_save_LIBS 22559fi 22560{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_write" >&5 22561$as_echo "$ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_write" >&6; } 22562if test "x$ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_write" = xyes; then : 22563 ac_cv_libcthreads_dummy=yes 22564else 22565 ac_cv_libcthreads=no 22566fi 22567 22568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_read_write_lock_release_for_read in -lcthreads" >&5 22569$as_echo_n "checking for libcthreads_read_write_lock_release_for_read in -lcthreads... " >&6; } 22570if ${ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_read+:} false; then : 22571 $as_echo_n "(cached) " >&6 22572else 22573 ac_check_lib_save_LIBS=$LIBS 22574LIBS="-lcthreads $LIBS" 22575cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22576/* end confdefs.h. */ 22577 22578/* Override any GCC internal prototype to avoid an error. 22579 Use char because int might match the return type of a GCC 22580 builtin and then its argument prototype would still apply. */ 22581#ifdef __cplusplus 22582extern "C" 22583#endif 22584char libcthreads_read_write_lock_release_for_read (); 22585int 22586main () 22587{ 22588return libcthreads_read_write_lock_release_for_read (); 22589 ; 22590 return 0; 22591} 22592_ACEOF 22593if ac_fn_c_try_link "$LINENO"; then : 22594 ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_read=yes 22595else 22596 ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_read=no 22597fi 22598rm -f core conftest.err conftest.$ac_objext \ 22599 conftest$ac_exeext conftest.$ac_ext 22600LIBS=$ac_check_lib_save_LIBS 22601fi 22602{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_read" >&5 22603$as_echo "$ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_read" >&6; } 22604if test "x$ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_read" = xyes; then : 22605 ac_cv_libcthreads_dummy=yes 22606else 22607 ac_cv_libcthreads=no 22608fi 22609 22610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_read_write_lock_release_for_write in -lcthreads" >&5 22611$as_echo_n "checking for libcthreads_read_write_lock_release_for_write in -lcthreads... " >&6; } 22612if ${ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_write+:} false; then : 22613 $as_echo_n "(cached) " >&6 22614else 22615 ac_check_lib_save_LIBS=$LIBS 22616LIBS="-lcthreads $LIBS" 22617cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22618/* end confdefs.h. */ 22619 22620/* Override any GCC internal prototype to avoid an error. 22621 Use char because int might match the return type of a GCC 22622 builtin and then its argument prototype would still apply. */ 22623#ifdef __cplusplus 22624extern "C" 22625#endif 22626char libcthreads_read_write_lock_release_for_write (); 22627int 22628main () 22629{ 22630return libcthreads_read_write_lock_release_for_write (); 22631 ; 22632 return 0; 22633} 22634_ACEOF 22635if ac_fn_c_try_link "$LINENO"; then : 22636 ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_write=yes 22637else 22638 ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_write=no 22639fi 22640rm -f core conftest.err conftest.$ac_objext \ 22641 conftest$ac_exeext conftest.$ac_ext 22642LIBS=$ac_check_lib_save_LIBS 22643fi 22644{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_write" >&5 22645$as_echo "$ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_write" >&6; } 22646if test "x$ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_write" = xyes; then : 22647 ac_cv_libcthreads_dummy=yes 22648else 22649 ac_cv_libcthreads=no 22650fi 22651 22652 22653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_queue_initialize in -lcthreads" >&5 22654$as_echo_n "checking for libcthreads_queue_initialize in -lcthreads... " >&6; } 22655if ${ac_cv_lib_cthreads_libcthreads_queue_initialize+:} false; then : 22656 $as_echo_n "(cached) " >&6 22657else 22658 ac_check_lib_save_LIBS=$LIBS 22659LIBS="-lcthreads $LIBS" 22660cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22661/* end confdefs.h. */ 22662 22663/* Override any GCC internal prototype to avoid an error. 22664 Use char because int might match the return type of a GCC 22665 builtin and then its argument prototype would still apply. */ 22666#ifdef __cplusplus 22667extern "C" 22668#endif 22669char libcthreads_queue_initialize (); 22670int 22671main () 22672{ 22673return libcthreads_queue_initialize (); 22674 ; 22675 return 0; 22676} 22677_ACEOF 22678if ac_fn_c_try_link "$LINENO"; then : 22679 ac_cv_lib_cthreads_libcthreads_queue_initialize=yes 22680else 22681 ac_cv_lib_cthreads_libcthreads_queue_initialize=no 22682fi 22683rm -f core conftest.err conftest.$ac_objext \ 22684 conftest$ac_exeext conftest.$ac_ext 22685LIBS=$ac_check_lib_save_LIBS 22686fi 22687{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_queue_initialize" >&5 22688$as_echo "$ac_cv_lib_cthreads_libcthreads_queue_initialize" >&6; } 22689if test "x$ac_cv_lib_cthreads_libcthreads_queue_initialize" = xyes; then : 22690 ac_cv_libcthreads_dummy=yes 22691else 22692 ac_cv_libcthreads=no 22693fi 22694 22695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_queue_free in -lcthreads" >&5 22696$as_echo_n "checking for libcthreads_queue_free in -lcthreads... " >&6; } 22697if ${ac_cv_lib_cthreads_libcthreads_queue_free+:} false; then : 22698 $as_echo_n "(cached) " >&6 22699else 22700 ac_check_lib_save_LIBS=$LIBS 22701LIBS="-lcthreads $LIBS" 22702cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22703/* end confdefs.h. */ 22704 22705/* Override any GCC internal prototype to avoid an error. 22706 Use char because int might match the return type of a GCC 22707 builtin and then its argument prototype would still apply. */ 22708#ifdef __cplusplus 22709extern "C" 22710#endif 22711char libcthreads_queue_free (); 22712int 22713main () 22714{ 22715return libcthreads_queue_free (); 22716 ; 22717 return 0; 22718} 22719_ACEOF 22720if ac_fn_c_try_link "$LINENO"; then : 22721 ac_cv_lib_cthreads_libcthreads_queue_free=yes 22722else 22723 ac_cv_lib_cthreads_libcthreads_queue_free=no 22724fi 22725rm -f core conftest.err conftest.$ac_objext \ 22726 conftest$ac_exeext conftest.$ac_ext 22727LIBS=$ac_check_lib_save_LIBS 22728fi 22729{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_queue_free" >&5 22730$as_echo "$ac_cv_lib_cthreads_libcthreads_queue_free" >&6; } 22731if test "x$ac_cv_lib_cthreads_libcthreads_queue_free" = xyes; then : 22732 ac_cv_libcthreads_dummy=yes 22733else 22734 ac_cv_libcthreads=no 22735fi 22736 22737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_queue_type_pop in -lcthreads" >&5 22738$as_echo_n "checking for libcthreads_queue_type_pop in -lcthreads... " >&6; } 22739if ${ac_cv_lib_cthreads_libcthreads_queue_type_pop+:} false; then : 22740 $as_echo_n "(cached) " >&6 22741else 22742 ac_check_lib_save_LIBS=$LIBS 22743LIBS="-lcthreads $LIBS" 22744cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22745/* end confdefs.h. */ 22746 22747/* Override any GCC internal prototype to avoid an error. 22748 Use char because int might match the return type of a GCC 22749 builtin and then its argument prototype would still apply. */ 22750#ifdef __cplusplus 22751extern "C" 22752#endif 22753char libcthreads_queue_type_pop (); 22754int 22755main () 22756{ 22757return libcthreads_queue_type_pop (); 22758 ; 22759 return 0; 22760} 22761_ACEOF 22762if ac_fn_c_try_link "$LINENO"; then : 22763 ac_cv_lib_cthreads_libcthreads_queue_type_pop=yes 22764else 22765 ac_cv_lib_cthreads_libcthreads_queue_type_pop=no 22766fi 22767rm -f core conftest.err conftest.$ac_objext \ 22768 conftest$ac_exeext conftest.$ac_ext 22769LIBS=$ac_check_lib_save_LIBS 22770fi 22771{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_queue_type_pop" >&5 22772$as_echo "$ac_cv_lib_cthreads_libcthreads_queue_type_pop" >&6; } 22773if test "x$ac_cv_lib_cthreads_libcthreads_queue_type_pop" = xyes; then : 22774 ac_cv_libcthreads_dummy=yes 22775else 22776 ac_cv_libcthreads=no 22777fi 22778 22779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_queue_pop in -lcthreads" >&5 22780$as_echo_n "checking for libcthreads_queue_pop in -lcthreads... " >&6; } 22781if ${ac_cv_lib_cthreads_libcthreads_queue_pop+:} false; then : 22782 $as_echo_n "(cached) " >&6 22783else 22784 ac_check_lib_save_LIBS=$LIBS 22785LIBS="-lcthreads $LIBS" 22786cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22787/* end confdefs.h. */ 22788 22789/* Override any GCC internal prototype to avoid an error. 22790 Use char because int might match the return type of a GCC 22791 builtin and then its argument prototype would still apply. */ 22792#ifdef __cplusplus 22793extern "C" 22794#endif 22795char libcthreads_queue_pop (); 22796int 22797main () 22798{ 22799return libcthreads_queue_pop (); 22800 ; 22801 return 0; 22802} 22803_ACEOF 22804if ac_fn_c_try_link "$LINENO"; then : 22805 ac_cv_lib_cthreads_libcthreads_queue_pop=yes 22806else 22807 ac_cv_lib_cthreads_libcthreads_queue_pop=no 22808fi 22809rm -f core conftest.err conftest.$ac_objext \ 22810 conftest$ac_exeext conftest.$ac_ext 22811LIBS=$ac_check_lib_save_LIBS 22812fi 22813{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_queue_pop" >&5 22814$as_echo "$ac_cv_lib_cthreads_libcthreads_queue_pop" >&6; } 22815if test "x$ac_cv_lib_cthreads_libcthreads_queue_pop" = xyes; then : 22816 ac_cv_libcthreads_dummy=yes 22817else 22818 ac_cv_libcthreads=no 22819fi 22820 22821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_queue_try_push in -lcthreads" >&5 22822$as_echo_n "checking for libcthreads_queue_try_push in -lcthreads... " >&6; } 22823if ${ac_cv_lib_cthreads_libcthreads_queue_try_push+:} false; then : 22824 $as_echo_n "(cached) " >&6 22825else 22826 ac_check_lib_save_LIBS=$LIBS 22827LIBS="-lcthreads $LIBS" 22828cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22829/* end confdefs.h. */ 22830 22831/* Override any GCC internal prototype to avoid an error. 22832 Use char because int might match the return type of a GCC 22833 builtin and then its argument prototype would still apply. */ 22834#ifdef __cplusplus 22835extern "C" 22836#endif 22837char libcthreads_queue_try_push (); 22838int 22839main () 22840{ 22841return libcthreads_queue_try_push (); 22842 ; 22843 return 0; 22844} 22845_ACEOF 22846if ac_fn_c_try_link "$LINENO"; then : 22847 ac_cv_lib_cthreads_libcthreads_queue_try_push=yes 22848else 22849 ac_cv_lib_cthreads_libcthreads_queue_try_push=no 22850fi 22851rm -f core conftest.err conftest.$ac_objext \ 22852 conftest$ac_exeext conftest.$ac_ext 22853LIBS=$ac_check_lib_save_LIBS 22854fi 22855{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_queue_try_push" >&5 22856$as_echo "$ac_cv_lib_cthreads_libcthreads_queue_try_push" >&6; } 22857if test "x$ac_cv_lib_cthreads_libcthreads_queue_try_push" = xyes; then : 22858 ac_cv_libcthreads_dummy=yes 22859else 22860 ac_cv_libcthreads=no 22861fi 22862 22863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_queue_push in -lcthreads" >&5 22864$as_echo_n "checking for libcthreads_queue_push in -lcthreads... " >&6; } 22865if ${ac_cv_lib_cthreads_libcthreads_queue_push+:} false; then : 22866 $as_echo_n "(cached) " >&6 22867else 22868 ac_check_lib_save_LIBS=$LIBS 22869LIBS="-lcthreads $LIBS" 22870cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22871/* end confdefs.h. */ 22872 22873/* Override any GCC internal prototype to avoid an error. 22874 Use char because int might match the return type of a GCC 22875 builtin and then its argument prototype would still apply. */ 22876#ifdef __cplusplus 22877extern "C" 22878#endif 22879char libcthreads_queue_push (); 22880int 22881main () 22882{ 22883return libcthreads_queue_push (); 22884 ; 22885 return 0; 22886} 22887_ACEOF 22888if ac_fn_c_try_link "$LINENO"; then : 22889 ac_cv_lib_cthreads_libcthreads_queue_push=yes 22890else 22891 ac_cv_lib_cthreads_libcthreads_queue_push=no 22892fi 22893rm -f core conftest.err conftest.$ac_objext \ 22894 conftest$ac_exeext conftest.$ac_ext 22895LIBS=$ac_check_lib_save_LIBS 22896fi 22897{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_queue_push" >&5 22898$as_echo "$ac_cv_lib_cthreads_libcthreads_queue_push" >&6; } 22899if test "x$ac_cv_lib_cthreads_libcthreads_queue_push" = xyes; then : 22900 ac_cv_libcthreads_dummy=yes 22901else 22902 ac_cv_libcthreads=no 22903fi 22904 22905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_queue_push_sorted in -lcthreads" >&5 22906$as_echo_n "checking for libcthreads_queue_push_sorted in -lcthreads... " >&6; } 22907if ${ac_cv_lib_cthreads_libcthreads_queue_push_sorted+:} false; then : 22908 $as_echo_n "(cached) " >&6 22909else 22910 ac_check_lib_save_LIBS=$LIBS 22911LIBS="-lcthreads $LIBS" 22912cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22913/* end confdefs.h. */ 22914 22915/* Override any GCC internal prototype to avoid an error. 22916 Use char because int might match the return type of a GCC 22917 builtin and then its argument prototype would still apply. */ 22918#ifdef __cplusplus 22919extern "C" 22920#endif 22921char libcthreads_queue_push_sorted (); 22922int 22923main () 22924{ 22925return libcthreads_queue_push_sorted (); 22926 ; 22927 return 0; 22928} 22929_ACEOF 22930if ac_fn_c_try_link "$LINENO"; then : 22931 ac_cv_lib_cthreads_libcthreads_queue_push_sorted=yes 22932else 22933 ac_cv_lib_cthreads_libcthreads_queue_push_sorted=no 22934fi 22935rm -f core conftest.err conftest.$ac_objext \ 22936 conftest$ac_exeext conftest.$ac_ext 22937LIBS=$ac_check_lib_save_LIBS 22938fi 22939{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_queue_push_sorted" >&5 22940$as_echo "$ac_cv_lib_cthreads_libcthreads_queue_push_sorted" >&6; } 22941if test "x$ac_cv_lib_cthreads_libcthreads_queue_push_sorted" = xyes; then : 22942 ac_cv_libcthreads_dummy=yes 22943else 22944 ac_cv_libcthreads=no 22945fi 22946 22947 22948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_pool_create in -lcthreads" >&5 22949$as_echo_n "checking for libcthreads_thread_pool_create in -lcthreads... " >&6; } 22950if ${ac_cv_lib_cthreads_libcthreads_thread_pool_create+:} false; then : 22951 $as_echo_n "(cached) " >&6 22952else 22953 ac_check_lib_save_LIBS=$LIBS 22954LIBS="-lcthreads $LIBS" 22955cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22956/* end confdefs.h. */ 22957 22958/* Override any GCC internal prototype to avoid an error. 22959 Use char because int might match the return type of a GCC 22960 builtin and then its argument prototype would still apply. */ 22961#ifdef __cplusplus 22962extern "C" 22963#endif 22964char libcthreads_thread_pool_create (); 22965int 22966main () 22967{ 22968return libcthreads_thread_pool_create (); 22969 ; 22970 return 0; 22971} 22972_ACEOF 22973if ac_fn_c_try_link "$LINENO"; then : 22974 ac_cv_lib_cthreads_libcthreads_thread_pool_create=yes 22975else 22976 ac_cv_lib_cthreads_libcthreads_thread_pool_create=no 22977fi 22978rm -f core conftest.err conftest.$ac_objext \ 22979 conftest$ac_exeext conftest.$ac_ext 22980LIBS=$ac_check_lib_save_LIBS 22981fi 22982{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_pool_create" >&5 22983$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_pool_create" >&6; } 22984if test "x$ac_cv_lib_cthreads_libcthreads_thread_pool_create" = xyes; then : 22985 ac_cv_libcthreads_dummy=yes 22986else 22987 ac_cv_libcthreads=no 22988fi 22989 22990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_pool_push in -lcthreads" >&5 22991$as_echo_n "checking for libcthreads_thread_pool_push in -lcthreads... " >&6; } 22992if ${ac_cv_lib_cthreads_libcthreads_thread_pool_push+:} false; then : 22993 $as_echo_n "(cached) " >&6 22994else 22995 ac_check_lib_save_LIBS=$LIBS 22996LIBS="-lcthreads $LIBS" 22997cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22998/* end confdefs.h. */ 22999 23000/* Override any GCC internal prototype to avoid an error. 23001 Use char because int might match the return type of a GCC 23002 builtin and then its argument prototype would still apply. */ 23003#ifdef __cplusplus 23004extern "C" 23005#endif 23006char libcthreads_thread_pool_push (); 23007int 23008main () 23009{ 23010return libcthreads_thread_pool_push (); 23011 ; 23012 return 0; 23013} 23014_ACEOF 23015if ac_fn_c_try_link "$LINENO"; then : 23016 ac_cv_lib_cthreads_libcthreads_thread_pool_push=yes 23017else 23018 ac_cv_lib_cthreads_libcthreads_thread_pool_push=no 23019fi 23020rm -f core conftest.err conftest.$ac_objext \ 23021 conftest$ac_exeext conftest.$ac_ext 23022LIBS=$ac_check_lib_save_LIBS 23023fi 23024{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_pool_push" >&5 23025$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_pool_push" >&6; } 23026if test "x$ac_cv_lib_cthreads_libcthreads_thread_pool_push" = xyes; then : 23027 ac_cv_libcthreads_dummy=yes 23028else 23029 ac_cv_libcthreads=no 23030fi 23031 23032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_pool_push_sorted in -lcthreads" >&5 23033$as_echo_n "checking for libcthreads_thread_pool_push_sorted in -lcthreads... " >&6; } 23034if ${ac_cv_lib_cthreads_libcthreads_thread_pool_push_sorted+:} false; then : 23035 $as_echo_n "(cached) " >&6 23036else 23037 ac_check_lib_save_LIBS=$LIBS 23038LIBS="-lcthreads $LIBS" 23039cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23040/* end confdefs.h. */ 23041 23042/* Override any GCC internal prototype to avoid an error. 23043 Use char because int might match the return type of a GCC 23044 builtin and then its argument prototype would still apply. */ 23045#ifdef __cplusplus 23046extern "C" 23047#endif 23048char libcthreads_thread_pool_push_sorted (); 23049int 23050main () 23051{ 23052return libcthreads_thread_pool_push_sorted (); 23053 ; 23054 return 0; 23055} 23056_ACEOF 23057if ac_fn_c_try_link "$LINENO"; then : 23058 ac_cv_lib_cthreads_libcthreads_thread_pool_push_sorted=yes 23059else 23060 ac_cv_lib_cthreads_libcthreads_thread_pool_push_sorted=no 23061fi 23062rm -f core conftest.err conftest.$ac_objext \ 23063 conftest$ac_exeext conftest.$ac_ext 23064LIBS=$ac_check_lib_save_LIBS 23065fi 23066{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_pool_push_sorted" >&5 23067$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_pool_push_sorted" >&6; } 23068if test "x$ac_cv_lib_cthreads_libcthreads_thread_pool_push_sorted" = xyes; then : 23069 ac_cv_libcthreads_dummy=yes 23070else 23071 ac_cv_libcthreads=no 23072fi 23073 23074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_pool_join in -lcthreads" >&5 23075$as_echo_n "checking for libcthreads_thread_pool_join in -lcthreads... " >&6; } 23076if ${ac_cv_lib_cthreads_libcthreads_thread_pool_join+:} false; then : 23077 $as_echo_n "(cached) " >&6 23078else 23079 ac_check_lib_save_LIBS=$LIBS 23080LIBS="-lcthreads $LIBS" 23081cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23082/* end confdefs.h. */ 23083 23084/* Override any GCC internal prototype to avoid an error. 23085 Use char because int might match the return type of a GCC 23086 builtin and then its argument prototype would still apply. */ 23087#ifdef __cplusplus 23088extern "C" 23089#endif 23090char libcthreads_thread_pool_join (); 23091int 23092main () 23093{ 23094return libcthreads_thread_pool_join (); 23095 ; 23096 return 0; 23097} 23098_ACEOF 23099if ac_fn_c_try_link "$LINENO"; then : 23100 ac_cv_lib_cthreads_libcthreads_thread_pool_join=yes 23101else 23102 ac_cv_lib_cthreads_libcthreads_thread_pool_join=no 23103fi 23104rm -f core conftest.err conftest.$ac_objext \ 23105 conftest$ac_exeext conftest.$ac_ext 23106LIBS=$ac_check_lib_save_LIBS 23107fi 23108{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_pool_join" >&5 23109$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_pool_join" >&6; } 23110if test "x$ac_cv_lib_cthreads_libcthreads_thread_pool_join" = xyes; then : 23111 ac_cv_libcthreads_dummy=yes 23112else 23113 ac_cv_libcthreads=no 23114fi 23115 23116 23117 ac_cv_libcthreads_LIBADD="-lcthreads" 23118fi 23119 23120fi 23121 23122 if test "x$ac_cv_with_libcthreads" != x && test "x$ac_cv_with_libcthreads" != xauto-detect && test "x$ac_cv_libcthreads" != xyes; then : 23123 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 23124$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 23125as_fn_error 1 "unable to find supported libcthreads in directory: $ac_cv_with_libcthreads 23126See \`config.log' for more details" "$LINENO" 5; } 23127 23128fi 23129 23130fi 23131 23132 if test "x$ac_cv_libcthreads" = xyes; then : 23133 23134$as_echo "#define HAVE_LIBCTHREADS 1" >>confdefs.h 23135 23136 23137fi 23138 23139 if test "x$ac_cv_libcthreads" = xyes; then : 23140 ac_cv_libcthreads_multi_threading=libcthreads 23141else 23142 ac_cv_libcthreads_multi_threading=no 23143fi 23144 23145 if test "x$ac_cv_libcthreads" = xyes; then : 23146 HAVE_LIBCTHREADS=1 23147 23148else 23149 HAVE_LIBCTHREADS=0 23150 23151 23152fi 23153 23154 23155 if test "x$ac_cv_libcthreads" != xyes; then : 23156 if test "x$ac_cv_enable_winapi" = xno; then : 23157 23158 23159# Check whether --with-pthread was given. 23160if test "${with_pthread+set}" = set; then : 23161 withval=$with_pthread; ac_cv_with_pthread=$withval 23162else 23163 ac_cv_with_pthread=auto-detect 23164fi 23165 23166 { $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 23167$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; } 23168if ${ac_cv_with_pthread+:} false; then : 23169 $as_echo_n "(cached) " >&6 23170else 23171 ac_cv_with_pthread=auto-detect 23172fi 23173{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_pthread" >&5 23174$as_echo "$ac_cv_with_pthread" >&6; } 23175 23176 if test "x$ac_cv_with_pthread" != x && test "x$ac_cv_with_pthread" != xno && test "x$ac_cv_with_pthread" != xauto-detect; then : 23177 if test -d "$ac_cv_with_pthread"; then : 23178 CFLAGS="$CFLAGS -I${ac_cv_with_pthread}/include" 23179 LDFLAGS="$LDFLAGS -L${ac_cv_with_pthread}/lib" 23180else 23181 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no such directory: $ac_cv_with_pthread" >&5 23182$as_echo "$as_me: WARNING: no such directory: $ac_cv_with_pthread" >&2;} 23183 23184fi 23185 23186fi 23187 23188 if test "x$ac_cv_with_pthread" = xno; then : 23189 ac_cv_pthread=no 23190else 23191 for ac_header in pthread.h 23192do : 23193 ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" 23194if test "x$ac_cv_header_pthread_h" = xyes; then : 23195 cat >>confdefs.h <<_ACEOF 23196#define HAVE_PTHREAD_H 1 23197_ACEOF 23198 23199fi 23200 23201done 23202 23203 23204 if test "x$ac_cv_header_pthread_h" = xno; then : 23205 ac_cv_pthread=no 23206else 23207 ac_cv_pthread=pthread 23208 23209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5 23210$as_echo_n "checking for pthread_create in -lpthread... " >&6; } 23211if ${ac_cv_lib_pthread_pthread_create+:} false; then : 23212 $as_echo_n "(cached) " >&6 23213else 23214 ac_check_lib_save_LIBS=$LIBS 23215LIBS="-lpthread $LIBS" 23216cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23217/* end confdefs.h. */ 23218 23219/* Override any GCC internal prototype to avoid an error. 23220 Use char because int might match the return type of a GCC 23221 builtin and then its argument prototype would still apply. */ 23222#ifdef __cplusplus 23223extern "C" 23224#endif 23225char pthread_create (); 23226int 23227main () 23228{ 23229return pthread_create (); 23230 ; 23231 return 0; 23232} 23233_ACEOF 23234if ac_fn_c_try_link "$LINENO"; then : 23235 ac_cv_lib_pthread_pthread_create=yes 23236else 23237 ac_cv_lib_pthread_pthread_create=no 23238fi 23239rm -f core conftest.err conftest.$ac_objext \ 23240 conftest$ac_exeext conftest.$ac_ext 23241LIBS=$ac_check_lib_save_LIBS 23242fi 23243{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5 23244$as_echo "$ac_cv_lib_pthread_pthread_create" >&6; } 23245if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then : 23246 ac_pthread_dummy=yes 23247else 23248 ac_cv_pthread=no 23249fi 23250 23251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_exit in -lpthread" >&5 23252$as_echo_n "checking for pthread_exit in -lpthread... " >&6; } 23253if ${ac_cv_lib_pthread_pthread_exit+:} false; then : 23254 $as_echo_n "(cached) " >&6 23255else 23256 ac_check_lib_save_LIBS=$LIBS 23257LIBS="-lpthread $LIBS" 23258cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23259/* end confdefs.h. */ 23260 23261/* Override any GCC internal prototype to avoid an error. 23262 Use char because int might match the return type of a GCC 23263 builtin and then its argument prototype would still apply. */ 23264#ifdef __cplusplus 23265extern "C" 23266#endif 23267char pthread_exit (); 23268int 23269main () 23270{ 23271return pthread_exit (); 23272 ; 23273 return 0; 23274} 23275_ACEOF 23276if ac_fn_c_try_link "$LINENO"; then : 23277 ac_cv_lib_pthread_pthread_exit=yes 23278else 23279 ac_cv_lib_pthread_pthread_exit=no 23280fi 23281rm -f core conftest.err conftest.$ac_objext \ 23282 conftest$ac_exeext conftest.$ac_ext 23283LIBS=$ac_check_lib_save_LIBS 23284fi 23285{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_exit" >&5 23286$as_echo "$ac_cv_lib_pthread_pthread_exit" >&6; } 23287if test "x$ac_cv_lib_pthread_pthread_exit" = xyes; then : 23288 ac_pthread_dummy=yes 23289else 23290 ac_cv_pthread=no 23291fi 23292 23293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in -lpthread" >&5 23294$as_echo_n "checking for pthread_join in -lpthread... " >&6; } 23295if ${ac_cv_lib_pthread_pthread_join+:} false; then : 23296 $as_echo_n "(cached) " >&6 23297else 23298 ac_check_lib_save_LIBS=$LIBS 23299LIBS="-lpthread $LIBS" 23300cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23301/* end confdefs.h. */ 23302 23303/* Override any GCC internal prototype to avoid an error. 23304 Use char because int might match the return type of a GCC 23305 builtin and then its argument prototype would still apply. */ 23306#ifdef __cplusplus 23307extern "C" 23308#endif 23309char pthread_join (); 23310int 23311main () 23312{ 23313return pthread_join (); 23314 ; 23315 return 0; 23316} 23317_ACEOF 23318if ac_fn_c_try_link "$LINENO"; then : 23319 ac_cv_lib_pthread_pthread_join=yes 23320else 23321 ac_cv_lib_pthread_pthread_join=no 23322fi 23323rm -f core conftest.err conftest.$ac_objext \ 23324 conftest$ac_exeext conftest.$ac_ext 23325LIBS=$ac_check_lib_save_LIBS 23326fi 23327{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_join" >&5 23328$as_echo "$ac_cv_lib_pthread_pthread_join" >&6; } 23329if test "x$ac_cv_lib_pthread_pthread_join" = xyes; then : 23330 ac_pthread_dummy=yes 23331else 23332 ac_cv_pthread=no 23333fi 23334 23335 23336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_init in -lpthread" >&5 23337$as_echo_n "checking for pthread_cond_init in -lpthread... " >&6; } 23338if ${ac_cv_lib_pthread_pthread_cond_init+:} false; then : 23339 $as_echo_n "(cached) " >&6 23340else 23341 ac_check_lib_save_LIBS=$LIBS 23342LIBS="-lpthread $LIBS" 23343cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23344/* end confdefs.h. */ 23345 23346/* Override any GCC internal prototype to avoid an error. 23347 Use char because int might match the return type of a GCC 23348 builtin and then its argument prototype would still apply. */ 23349#ifdef __cplusplus 23350extern "C" 23351#endif 23352char pthread_cond_init (); 23353int 23354main () 23355{ 23356return pthread_cond_init (); 23357 ; 23358 return 0; 23359} 23360_ACEOF 23361if ac_fn_c_try_link "$LINENO"; then : 23362 ac_cv_lib_pthread_pthread_cond_init=yes 23363else 23364 ac_cv_lib_pthread_pthread_cond_init=no 23365fi 23366rm -f core conftest.err conftest.$ac_objext \ 23367 conftest$ac_exeext conftest.$ac_ext 23368LIBS=$ac_check_lib_save_LIBS 23369fi 23370{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_cond_init" >&5 23371$as_echo "$ac_cv_lib_pthread_pthread_cond_init" >&6; } 23372if test "x$ac_cv_lib_pthread_pthread_cond_init" = xyes; then : 23373 ac_pthread_dummy=yes 23374else 23375 ac_cv_pthread=no 23376fi 23377 23378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_destroy in -lpthread" >&5 23379$as_echo_n "checking for pthread_cond_destroy in -lpthread... " >&6; } 23380if ${ac_cv_lib_pthread_pthread_cond_destroy+:} false; then : 23381 $as_echo_n "(cached) " >&6 23382else 23383 ac_check_lib_save_LIBS=$LIBS 23384LIBS="-lpthread $LIBS" 23385cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23386/* end confdefs.h. */ 23387 23388/* Override any GCC internal prototype to avoid an error. 23389 Use char because int might match the return type of a GCC 23390 builtin and then its argument prototype would still apply. */ 23391#ifdef __cplusplus 23392extern "C" 23393#endif 23394char pthread_cond_destroy (); 23395int 23396main () 23397{ 23398return pthread_cond_destroy (); 23399 ; 23400 return 0; 23401} 23402_ACEOF 23403if ac_fn_c_try_link "$LINENO"; then : 23404 ac_cv_lib_pthread_pthread_cond_destroy=yes 23405else 23406 ac_cv_lib_pthread_pthread_cond_destroy=no 23407fi 23408rm -f core conftest.err conftest.$ac_objext \ 23409 conftest$ac_exeext conftest.$ac_ext 23410LIBS=$ac_check_lib_save_LIBS 23411fi 23412{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_cond_destroy" >&5 23413$as_echo "$ac_cv_lib_pthread_pthread_cond_destroy" >&6; } 23414if test "x$ac_cv_lib_pthread_pthread_cond_destroy" = xyes; then : 23415 ac_pthread_dummy=yes 23416else 23417 ac_cv_pthread=no 23418fi 23419 23420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_broadcast in -lpthread" >&5 23421$as_echo_n "checking for pthread_cond_broadcast in -lpthread... " >&6; } 23422if ${ac_cv_lib_pthread_pthread_cond_broadcast+:} false; then : 23423 $as_echo_n "(cached) " >&6 23424else 23425 ac_check_lib_save_LIBS=$LIBS 23426LIBS="-lpthread $LIBS" 23427cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23428/* end confdefs.h. */ 23429 23430/* Override any GCC internal prototype to avoid an error. 23431 Use char because int might match the return type of a GCC 23432 builtin and then its argument prototype would still apply. */ 23433#ifdef __cplusplus 23434extern "C" 23435#endif 23436char pthread_cond_broadcast (); 23437int 23438main () 23439{ 23440return pthread_cond_broadcast (); 23441 ; 23442 return 0; 23443} 23444_ACEOF 23445if ac_fn_c_try_link "$LINENO"; then : 23446 ac_cv_lib_pthread_pthread_cond_broadcast=yes 23447else 23448 ac_cv_lib_pthread_pthread_cond_broadcast=no 23449fi 23450rm -f core conftest.err conftest.$ac_objext \ 23451 conftest$ac_exeext conftest.$ac_ext 23452LIBS=$ac_check_lib_save_LIBS 23453fi 23454{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_cond_broadcast" >&5 23455$as_echo "$ac_cv_lib_pthread_pthread_cond_broadcast" >&6; } 23456if test "x$ac_cv_lib_pthread_pthread_cond_broadcast" = xyes; then : 23457 ac_pthread_dummy=yes 23458else 23459 ac_cv_pthread=no 23460fi 23461 23462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_signal in -lpthread" >&5 23463$as_echo_n "checking for pthread_cond_signal in -lpthread... " >&6; } 23464if ${ac_cv_lib_pthread_pthread_cond_signal+:} false; then : 23465 $as_echo_n "(cached) " >&6 23466else 23467 ac_check_lib_save_LIBS=$LIBS 23468LIBS="-lpthread $LIBS" 23469cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23470/* end confdefs.h. */ 23471 23472/* Override any GCC internal prototype to avoid an error. 23473 Use char because int might match the return type of a GCC 23474 builtin and then its argument prototype would still apply. */ 23475#ifdef __cplusplus 23476extern "C" 23477#endif 23478char pthread_cond_signal (); 23479int 23480main () 23481{ 23482return pthread_cond_signal (); 23483 ; 23484 return 0; 23485} 23486_ACEOF 23487if ac_fn_c_try_link "$LINENO"; then : 23488 ac_cv_lib_pthread_pthread_cond_signal=yes 23489else 23490 ac_cv_lib_pthread_pthread_cond_signal=no 23491fi 23492rm -f core conftest.err conftest.$ac_objext \ 23493 conftest$ac_exeext conftest.$ac_ext 23494LIBS=$ac_check_lib_save_LIBS 23495fi 23496{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_cond_signal" >&5 23497$as_echo "$ac_cv_lib_pthread_pthread_cond_signal" >&6; } 23498if test "x$ac_cv_lib_pthread_pthread_cond_signal" = xyes; then : 23499 ac_pthread_dummy=yes 23500else 23501 ac_cv_pthread=no 23502fi 23503 23504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_wait in -lpthread" >&5 23505$as_echo_n "checking for pthread_cond_wait in -lpthread... " >&6; } 23506if ${ac_cv_lib_pthread_pthread_cond_wait+:} false; then : 23507 $as_echo_n "(cached) " >&6 23508else 23509 ac_check_lib_save_LIBS=$LIBS 23510LIBS="-lpthread $LIBS" 23511cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23512/* end confdefs.h. */ 23513 23514/* Override any GCC internal prototype to avoid an error. 23515 Use char because int might match the return type of a GCC 23516 builtin and then its argument prototype would still apply. */ 23517#ifdef __cplusplus 23518extern "C" 23519#endif 23520char pthread_cond_wait (); 23521int 23522main () 23523{ 23524return pthread_cond_wait (); 23525 ; 23526 return 0; 23527} 23528_ACEOF 23529if ac_fn_c_try_link "$LINENO"; then : 23530 ac_cv_lib_pthread_pthread_cond_wait=yes 23531else 23532 ac_cv_lib_pthread_pthread_cond_wait=no 23533fi 23534rm -f core conftest.err conftest.$ac_objext \ 23535 conftest$ac_exeext conftest.$ac_ext 23536LIBS=$ac_check_lib_save_LIBS 23537fi 23538{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_cond_wait" >&5 23539$as_echo "$ac_cv_lib_pthread_pthread_cond_wait" >&6; } 23540if test "x$ac_cv_lib_pthread_pthread_cond_wait" = xyes; then : 23541 ac_pthread_dummy=yes 23542else 23543 ac_cv_pthread=no 23544fi 23545 23546 23547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_init in -lpthread" >&5 23548$as_echo_n "checking for pthread_mutex_init in -lpthread... " >&6; } 23549if ${ac_cv_lib_pthread_pthread_mutex_init+:} false; then : 23550 $as_echo_n "(cached) " >&6 23551else 23552 ac_check_lib_save_LIBS=$LIBS 23553LIBS="-lpthread $LIBS" 23554cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23555/* end confdefs.h. */ 23556 23557/* Override any GCC internal prototype to avoid an error. 23558 Use char because int might match the return type of a GCC 23559 builtin and then its argument prototype would still apply. */ 23560#ifdef __cplusplus 23561extern "C" 23562#endif 23563char pthread_mutex_init (); 23564int 23565main () 23566{ 23567return pthread_mutex_init (); 23568 ; 23569 return 0; 23570} 23571_ACEOF 23572if ac_fn_c_try_link "$LINENO"; then : 23573 ac_cv_lib_pthread_pthread_mutex_init=yes 23574else 23575 ac_cv_lib_pthread_pthread_mutex_init=no 23576fi 23577rm -f core conftest.err conftest.$ac_objext \ 23578 conftest$ac_exeext conftest.$ac_ext 23579LIBS=$ac_check_lib_save_LIBS 23580fi 23581{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_mutex_init" >&5 23582$as_echo "$ac_cv_lib_pthread_pthread_mutex_init" >&6; } 23583if test "x$ac_cv_lib_pthread_pthread_mutex_init" = xyes; then : 23584 ac_pthread_dummy=yes 23585else 23586 ac_cv_pthread=no 23587fi 23588 23589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_destroy in -lpthread" >&5 23590$as_echo_n "checking for pthread_mutex_destroy in -lpthread... " >&6; } 23591if ${ac_cv_lib_pthread_pthread_mutex_destroy+:} false; then : 23592 $as_echo_n "(cached) " >&6 23593else 23594 ac_check_lib_save_LIBS=$LIBS 23595LIBS="-lpthread $LIBS" 23596cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23597/* end confdefs.h. */ 23598 23599/* Override any GCC internal prototype to avoid an error. 23600 Use char because int might match the return type of a GCC 23601 builtin and then its argument prototype would still apply. */ 23602#ifdef __cplusplus 23603extern "C" 23604#endif 23605char pthread_mutex_destroy (); 23606int 23607main () 23608{ 23609return pthread_mutex_destroy (); 23610 ; 23611 return 0; 23612} 23613_ACEOF 23614if ac_fn_c_try_link "$LINENO"; then : 23615 ac_cv_lib_pthread_pthread_mutex_destroy=yes 23616else 23617 ac_cv_lib_pthread_pthread_mutex_destroy=no 23618fi 23619rm -f core conftest.err conftest.$ac_objext \ 23620 conftest$ac_exeext conftest.$ac_ext 23621LIBS=$ac_check_lib_save_LIBS 23622fi 23623{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_mutex_destroy" >&5 23624$as_echo "$ac_cv_lib_pthread_pthread_mutex_destroy" >&6; } 23625if test "x$ac_cv_lib_pthread_pthread_mutex_destroy" = xyes; then : 23626 ac_pthread_dummy=yes 23627else 23628 ac_cv_pthread=no 23629fi 23630 23631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_lock in -lpthread" >&5 23632$as_echo_n "checking for pthread_mutex_lock in -lpthread... " >&6; } 23633if ${ac_cv_lib_pthread_pthread_mutex_lock+:} false; then : 23634 $as_echo_n "(cached) " >&6 23635else 23636 ac_check_lib_save_LIBS=$LIBS 23637LIBS="-lpthread $LIBS" 23638cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23639/* end confdefs.h. */ 23640 23641/* Override any GCC internal prototype to avoid an error. 23642 Use char because int might match the return type of a GCC 23643 builtin and then its argument prototype would still apply. */ 23644#ifdef __cplusplus 23645extern "C" 23646#endif 23647char pthread_mutex_lock (); 23648int 23649main () 23650{ 23651return pthread_mutex_lock (); 23652 ; 23653 return 0; 23654} 23655_ACEOF 23656if ac_fn_c_try_link "$LINENO"; then : 23657 ac_cv_lib_pthread_pthread_mutex_lock=yes 23658else 23659 ac_cv_lib_pthread_pthread_mutex_lock=no 23660fi 23661rm -f core conftest.err conftest.$ac_objext \ 23662 conftest$ac_exeext conftest.$ac_ext 23663LIBS=$ac_check_lib_save_LIBS 23664fi 23665{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_mutex_lock" >&5 23666$as_echo "$ac_cv_lib_pthread_pthread_mutex_lock" >&6; } 23667if test "x$ac_cv_lib_pthread_pthread_mutex_lock" = xyes; then : 23668 ac_pthread_dummy=yes 23669else 23670 ac_cv_pthread=no 23671fi 23672 23673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_trylock in -lpthread" >&5 23674$as_echo_n "checking for pthread_mutex_trylock in -lpthread... " >&6; } 23675if ${ac_cv_lib_pthread_pthread_mutex_trylock+:} false; then : 23676 $as_echo_n "(cached) " >&6 23677else 23678 ac_check_lib_save_LIBS=$LIBS 23679LIBS="-lpthread $LIBS" 23680cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23681/* end confdefs.h. */ 23682 23683/* Override any GCC internal prototype to avoid an error. 23684 Use char because int might match the return type of a GCC 23685 builtin and then its argument prototype would still apply. */ 23686#ifdef __cplusplus 23687extern "C" 23688#endif 23689char pthread_mutex_trylock (); 23690int 23691main () 23692{ 23693return pthread_mutex_trylock (); 23694 ; 23695 return 0; 23696} 23697_ACEOF 23698if ac_fn_c_try_link "$LINENO"; then : 23699 ac_cv_lib_pthread_pthread_mutex_trylock=yes 23700else 23701 ac_cv_lib_pthread_pthread_mutex_trylock=no 23702fi 23703rm -f core conftest.err conftest.$ac_objext \ 23704 conftest$ac_exeext conftest.$ac_ext 23705LIBS=$ac_check_lib_save_LIBS 23706fi 23707{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_mutex_trylock" >&5 23708$as_echo "$ac_cv_lib_pthread_pthread_mutex_trylock" >&6; } 23709if test "x$ac_cv_lib_pthread_pthread_mutex_trylock" = xyes; then : 23710 ac_pthread_dummy=yes 23711else 23712 ac_cv_pthread=no 23713fi 23714 23715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_unlock in -lpthread" >&5 23716$as_echo_n "checking for pthread_mutex_unlock in -lpthread... " >&6; } 23717if ${ac_cv_lib_pthread_pthread_mutex_unlock+:} false; then : 23718 $as_echo_n "(cached) " >&6 23719else 23720 ac_check_lib_save_LIBS=$LIBS 23721LIBS="-lpthread $LIBS" 23722cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23723/* end confdefs.h. */ 23724 23725/* Override any GCC internal prototype to avoid an error. 23726 Use char because int might match the return type of a GCC 23727 builtin and then its argument prototype would still apply. */ 23728#ifdef __cplusplus 23729extern "C" 23730#endif 23731char pthread_mutex_unlock (); 23732int 23733main () 23734{ 23735return pthread_mutex_unlock (); 23736 ; 23737 return 0; 23738} 23739_ACEOF 23740if ac_fn_c_try_link "$LINENO"; then : 23741 ac_cv_lib_pthread_pthread_mutex_unlock=yes 23742else 23743 ac_cv_lib_pthread_pthread_mutex_unlock=no 23744fi 23745rm -f core conftest.err conftest.$ac_objext \ 23746 conftest$ac_exeext conftest.$ac_ext 23747LIBS=$ac_check_lib_save_LIBS 23748fi 23749{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_mutex_unlock" >&5 23750$as_echo "$ac_cv_lib_pthread_pthread_mutex_unlock" >&6; } 23751if test "x$ac_cv_lib_pthread_pthread_mutex_unlock" = xyes; then : 23752 ac_pthread_dummy=yes 23753else 23754 ac_cv_pthread=no 23755fi 23756 23757 23758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_init in -lpthread" >&5 23759$as_echo_n "checking for pthread_rwlock_init in -lpthread... " >&6; } 23760if ${ac_cv_lib_pthread_pthread_rwlock_init+:} false; then : 23761 $as_echo_n "(cached) " >&6 23762else 23763 ac_check_lib_save_LIBS=$LIBS 23764LIBS="-lpthread $LIBS" 23765cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23766/* end confdefs.h. */ 23767 23768/* Override any GCC internal prototype to avoid an error. 23769 Use char because int might match the return type of a GCC 23770 builtin and then its argument prototype would still apply. */ 23771#ifdef __cplusplus 23772extern "C" 23773#endif 23774char pthread_rwlock_init (); 23775int 23776main () 23777{ 23778return pthread_rwlock_init (); 23779 ; 23780 return 0; 23781} 23782_ACEOF 23783if ac_fn_c_try_link "$LINENO"; then : 23784 ac_cv_lib_pthread_pthread_rwlock_init=yes 23785else 23786 ac_cv_lib_pthread_pthread_rwlock_init=no 23787fi 23788rm -f core conftest.err conftest.$ac_objext \ 23789 conftest$ac_exeext conftest.$ac_ext 23790LIBS=$ac_check_lib_save_LIBS 23791fi 23792{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_rwlock_init" >&5 23793$as_echo "$ac_cv_lib_pthread_pthread_rwlock_init" >&6; } 23794if test "x$ac_cv_lib_pthread_pthread_rwlock_init" = xyes; then : 23795 ac_pthread_dummy=yes 23796else 23797 ac_cv_pthread=no 23798fi 23799 23800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_destroy in -lpthread" >&5 23801$as_echo_n "checking for pthread_rwlock_destroy in -lpthread... " >&6; } 23802if ${ac_cv_lib_pthread_pthread_rwlock_destroy+:} false; then : 23803 $as_echo_n "(cached) " >&6 23804else 23805 ac_check_lib_save_LIBS=$LIBS 23806LIBS="-lpthread $LIBS" 23807cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23808/* end confdefs.h. */ 23809 23810/* Override any GCC internal prototype to avoid an error. 23811 Use char because int might match the return type of a GCC 23812 builtin and then its argument prototype would still apply. */ 23813#ifdef __cplusplus 23814extern "C" 23815#endif 23816char pthread_rwlock_destroy (); 23817int 23818main () 23819{ 23820return pthread_rwlock_destroy (); 23821 ; 23822 return 0; 23823} 23824_ACEOF 23825if ac_fn_c_try_link "$LINENO"; then : 23826 ac_cv_lib_pthread_pthread_rwlock_destroy=yes 23827else 23828 ac_cv_lib_pthread_pthread_rwlock_destroy=no 23829fi 23830rm -f core conftest.err conftest.$ac_objext \ 23831 conftest$ac_exeext conftest.$ac_ext 23832LIBS=$ac_check_lib_save_LIBS 23833fi 23834{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_rwlock_destroy" >&5 23835$as_echo "$ac_cv_lib_pthread_pthread_rwlock_destroy" >&6; } 23836if test "x$ac_cv_lib_pthread_pthread_rwlock_destroy" = xyes; then : 23837 ac_pthread_dummy=yes 23838else 23839 ac_cv_pthread=no 23840fi 23841 23842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_rdlock in -lpthread" >&5 23843$as_echo_n "checking for pthread_rwlock_rdlock in -lpthread... " >&6; } 23844if ${ac_cv_lib_pthread_pthread_rwlock_rdlock+:} false; then : 23845 $as_echo_n "(cached) " >&6 23846else 23847 ac_check_lib_save_LIBS=$LIBS 23848LIBS="-lpthread $LIBS" 23849cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23850/* end confdefs.h. */ 23851 23852/* Override any GCC internal prototype to avoid an error. 23853 Use char because int might match the return type of a GCC 23854 builtin and then its argument prototype would still apply. */ 23855#ifdef __cplusplus 23856extern "C" 23857#endif 23858char pthread_rwlock_rdlock (); 23859int 23860main () 23861{ 23862return pthread_rwlock_rdlock (); 23863 ; 23864 return 0; 23865} 23866_ACEOF 23867if ac_fn_c_try_link "$LINENO"; then : 23868 ac_cv_lib_pthread_pthread_rwlock_rdlock=yes 23869else 23870 ac_cv_lib_pthread_pthread_rwlock_rdlock=no 23871fi 23872rm -f core conftest.err conftest.$ac_objext \ 23873 conftest$ac_exeext conftest.$ac_ext 23874LIBS=$ac_check_lib_save_LIBS 23875fi 23876{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_rwlock_rdlock" >&5 23877$as_echo "$ac_cv_lib_pthread_pthread_rwlock_rdlock" >&6; } 23878if test "x$ac_cv_lib_pthread_pthread_rwlock_rdlock" = xyes; then : 23879 ac_pthread_dummy=yes 23880else 23881 ac_cv_pthread=no 23882fi 23883 23884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_wrlock in -lpthread" >&5 23885$as_echo_n "checking for pthread_rwlock_wrlock in -lpthread... " >&6; } 23886if ${ac_cv_lib_pthread_pthread_rwlock_wrlock+:} false; then : 23887 $as_echo_n "(cached) " >&6 23888else 23889 ac_check_lib_save_LIBS=$LIBS 23890LIBS="-lpthread $LIBS" 23891cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23892/* end confdefs.h. */ 23893 23894/* Override any GCC internal prototype to avoid an error. 23895 Use char because int might match the return type of a GCC 23896 builtin and then its argument prototype would still apply. */ 23897#ifdef __cplusplus 23898extern "C" 23899#endif 23900char pthread_rwlock_wrlock (); 23901int 23902main () 23903{ 23904return pthread_rwlock_wrlock (); 23905 ; 23906 return 0; 23907} 23908_ACEOF 23909if ac_fn_c_try_link "$LINENO"; then : 23910 ac_cv_lib_pthread_pthread_rwlock_wrlock=yes 23911else 23912 ac_cv_lib_pthread_pthread_rwlock_wrlock=no 23913fi 23914rm -f core conftest.err conftest.$ac_objext \ 23915 conftest$ac_exeext conftest.$ac_ext 23916LIBS=$ac_check_lib_save_LIBS 23917fi 23918{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_rwlock_wrlock" >&5 23919$as_echo "$ac_cv_lib_pthread_pthread_rwlock_wrlock" >&6; } 23920if test "x$ac_cv_lib_pthread_pthread_rwlock_wrlock" = xyes; then : 23921 ac_pthread_dummy=yes 23922else 23923 ac_cv_pthread=no 23924fi 23925 23926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_unlock in -lpthread" >&5 23927$as_echo_n "checking for pthread_rwlock_unlock in -lpthread... " >&6; } 23928if ${ac_cv_lib_pthread_pthread_rwlock_unlock+:} false; then : 23929 $as_echo_n "(cached) " >&6 23930else 23931 ac_check_lib_save_LIBS=$LIBS 23932LIBS="-lpthread $LIBS" 23933cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23934/* end confdefs.h. */ 23935 23936/* Override any GCC internal prototype to avoid an error. 23937 Use char because int might match the return type of a GCC 23938 builtin and then its argument prototype would still apply. */ 23939#ifdef __cplusplus 23940extern "C" 23941#endif 23942char pthread_rwlock_unlock (); 23943int 23944main () 23945{ 23946return pthread_rwlock_unlock (); 23947 ; 23948 return 0; 23949} 23950_ACEOF 23951if ac_fn_c_try_link "$LINENO"; then : 23952 ac_cv_lib_pthread_pthread_rwlock_unlock=yes 23953else 23954 ac_cv_lib_pthread_pthread_rwlock_unlock=no 23955fi 23956rm -f core conftest.err conftest.$ac_objext \ 23957 conftest$ac_exeext conftest.$ac_ext 23958LIBS=$ac_check_lib_save_LIBS 23959fi 23960{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_rwlock_unlock" >&5 23961$as_echo "$ac_cv_lib_pthread_pthread_rwlock_unlock" >&6; } 23962if test "x$ac_cv_lib_pthread_pthread_rwlock_unlock" = xyes; then : 23963 ac_pthread_dummy=yes 23964else 23965 ac_cv_pthread=no 23966fi 23967 23968 23969 ac_cv_pthread_LIBADD="-lpthread"; 23970 23971fi 23972 23973fi 23974 23975 if test "x$ac_cv_pthread" = xpthread; then : 23976 23977$as_echo "#define HAVE_PTHREAD 1" >>confdefs.h 23978 23979 23980fi 23981 23982 if test "x$ac_cv_pthread" != xno; then : 23983 HAVE_PTHREAD=1 23984 23985else 23986 HAVE_PTHREAD=0 23987 23988 23989fi 23990 23991 23992 if test "x$ac_cv_pthread_CPPFLAGS" != "x"; then : 23993 PTHREAD_CPPFLAGS=$ac_cv_pthread_CPPFLAGS 23994 23995 23996fi 23997 if test "x$ac_cv_pthread_LIBADD" != "x"; then : 23998 PTHREAD_LIBADD=$ac_cv_pthread_LIBADD 23999 24000 24001fi 24002 24003 if test "x$ac_cv_pthread" = xpthread; then : 24004 ax_pthread_pc_libs_private=-lpthread 24005 24006 24007fi 24008 24009 ac_cv_libcthreads_multi_threading=$ac_cv_pthread 24010else 24011 ac_cv_libcthreads_multi_threading="winapi" 24012fi 24013 24014 if test "x$ac_cv_libcthreads_multi_threading" != xno; then : 24015 ac_cv_libcthreads_CPPFLAGS="-I../libcthreads"; 24016 ac_cv_libcthreads_LIBADD="../libcthreads/libcthreads.la"; 24017 24018 ac_cv_libcthreads=local 24019else 24020 ac_cv_libcthreads=no 24021fi 24022 24023 24024 24025$as_echo "#define HAVE_LOCAL_LIBCTHREADS 1" >>confdefs.h 24026 24027 HAVE_LOCAL_LIBCTHREADS=1 24028 24029 24030fi 24031 24032fi 24033 24034 if test "x$ac_cv_libcthreads" = xlocal; then 24035 HAVE_LOCAL_LIBCTHREADS_TRUE= 24036 HAVE_LOCAL_LIBCTHREADS_FALSE='#' 24037else 24038 HAVE_LOCAL_LIBCTHREADS_TRUE='#' 24039 HAVE_LOCAL_LIBCTHREADS_FALSE= 24040fi 24041 24042 if test "x$ac_cv_libcthreads_CPPFLAGS" != "x"; then : 24043 LIBCTHREADS_CPPFLAGS=$ac_cv_libcthreads_CPPFLAGS 24044 24045 24046fi 24047 if test "x$ac_cv_libcthreads_LIBADD" != "x"; then : 24048 LIBCTHREADS_LIBADD=$ac_cv_libcthreads_LIBADD 24049 24050 24051fi 24052 24053 if test "x$ac_cv_libcthreads" != xno; then : 24054 24055$as_echo "#define HAVE_MULTI_THREAD_SUPPORT 1" >>confdefs.h 24056 24057 HAVE_MULTI_THREAD_SUPPORT=1 24058 24059else 24060 HAVE_MULTI_THREAD_SUPPORT=0 24061 24062 24063fi 24064 24065 if test "x$ac_cv_libcthreads" = xyes; then : 24066 ax_libcthreads_pc_libs_private=-lcthreads 24067 24068 24069fi 24070 24071 if test "x$ac_cv_libcthreads" = xyes; then : 24072 ax_libcthreads_spec_requires=libcthreads 24073 24074 ax_libcthreads_spec_build_requires=libcthreads-devel 24075 24076 24077fi 24078 24079 24080 24081 24082# Check whether --with-libcdata was given. 24083if test "${with_libcdata+set}" = set; then : 24084 withval=$with_libcdata; ac_cv_with_libcdata=$withval 24085else 24086 ac_cv_with_libcdata=auto-detect 24087fi 24088 24089 { $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 24090$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; } 24091if ${ac_cv_with_libcdata+:} false; then : 24092 $as_echo_n "(cached) " >&6 24093else 24094 ac_cv_with_libcdata=auto-detect 24095fi 24096{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libcdata" >&5 24097$as_echo "$ac_cv_with_libcdata" >&6; } 24098 24099 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libcdata" = xno; then : 24100 ac_cv_libcdata=no 24101else 24102 ac_cv_libcdata=check 24103 if test "x$ac_cv_with_libcdata" != x && test "x$ac_cv_with_libcdata" != xauto-detect; then : 24104 if test -d "$ac_cv_with_libcdata"; then : 24105 CFLAGS="$CFLAGS -I${ac_cv_with_libcdata}/include" 24106 LDFLAGS="$LDFLAGS -L${ac_cv_with_libcdata}/lib" 24107else 24108 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 24109$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 24110as_fn_error 1 "no such directory: $ac_cv_with_libcdata 24111See \`config.log' for more details" "$LINENO" 5; } 24112 24113fi 24114 24115else 24116 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 24117 24118pkg_failed=no 24119{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata" >&5 24120$as_echo_n "checking for libcdata... " >&6; } 24121 24122if test -n "$libcdata_CFLAGS"; then 24123 pkg_cv_libcdata_CFLAGS="$libcdata_CFLAGS" 24124 elif test -n "$PKG_CONFIG"; then 24125 if test -n "$PKG_CONFIG" && \ 24126 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcdata >= 20190112\""; } >&5 24127 ($PKG_CONFIG --exists --print-errors "libcdata >= 20190112") 2>&5 24128 ac_status=$? 24129 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 24130 test $ac_status = 0; }; then 24131 pkg_cv_libcdata_CFLAGS=`$PKG_CONFIG --cflags "libcdata >= 20190112" 2>/dev/null` 24132 test "x$?" != "x0" && pkg_failed=yes 24133else 24134 pkg_failed=yes 24135fi 24136 else 24137 pkg_failed=untried 24138fi 24139if test -n "$libcdata_LIBS"; then 24140 pkg_cv_libcdata_LIBS="$libcdata_LIBS" 24141 elif test -n "$PKG_CONFIG"; then 24142 if test -n "$PKG_CONFIG" && \ 24143 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcdata >= 20190112\""; } >&5 24144 ($PKG_CONFIG --exists --print-errors "libcdata >= 20190112") 2>&5 24145 ac_status=$? 24146 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 24147 test $ac_status = 0; }; then 24148 pkg_cv_libcdata_LIBS=`$PKG_CONFIG --libs "libcdata >= 20190112" 2>/dev/null` 24149 test "x$?" != "x0" && pkg_failed=yes 24150else 24151 pkg_failed=yes 24152fi 24153 else 24154 pkg_failed=untried 24155fi 24156 24157 24158 24159if test $pkg_failed = yes; then 24160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24161$as_echo "no" >&6; } 24162 24163if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 24164 _pkg_short_errors_supported=yes 24165else 24166 _pkg_short_errors_supported=no 24167fi 24168 if test $_pkg_short_errors_supported = yes; then 24169 libcdata_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcdata >= 20190112" 2>&1` 24170 else 24171 libcdata_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcdata >= 20190112" 2>&1` 24172 fi 24173 # Put the nasty error message in config.log where it belongs 24174 echo "$libcdata_PKG_ERRORS" >&5 24175 24176 ac_cv_libcdata=check 24177elif test $pkg_failed = untried; then 24178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24179$as_echo "no" >&6; } 24180 ac_cv_libcdata=check 24181else 24182 libcdata_CFLAGS=$pkg_cv_libcdata_CFLAGS 24183 libcdata_LIBS=$pkg_cv_libcdata_LIBS 24184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 24185$as_echo "yes" >&6; } 24186 ac_cv_libcdata=yes 24187fi 24188 24189fi 24190 if test "x$ac_cv_libcdata" = xyes; then : 24191 ac_cv_libcdata_CPPFLAGS="$pkg_cv_libcdata_CFLAGS" 24192 ac_cv_libcdata_LIBADD="$pkg_cv_libcdata_LIBS" 24193fi 24194 24195fi 24196 24197 if test "x$ac_cv_libcdata" = xcheck; then : 24198 for ac_header in libcdata.h 24199do : 24200 ac_fn_c_check_header_mongrel "$LINENO" "libcdata.h" "ac_cv_header_libcdata_h" "$ac_includes_default" 24201if test "x$ac_cv_header_libcdata_h" = xyes; then : 24202 cat >>confdefs.h <<_ACEOF 24203#define HAVE_LIBCDATA_H 1 24204_ACEOF 24205 24206fi 24207 24208done 24209 24210 24211 if test "x$ac_cv_header_libcdata_h" = xno; then : 24212 ac_cv_libcdata=no 24213else 24214 ac_cv_libcdata=yes 24215 24216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_get_version in -lcdata" >&5 24217$as_echo_n "checking for libcdata_get_version in -lcdata... " >&6; } 24218if ${ac_cv_lib_cdata_libcdata_get_version+:} false; then : 24219 $as_echo_n "(cached) " >&6 24220else 24221 ac_check_lib_save_LIBS=$LIBS 24222LIBS="-lcdata $LIBS" 24223cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24224/* end confdefs.h. */ 24225 24226/* Override any GCC internal prototype to avoid an error. 24227 Use char because int might match the return type of a GCC 24228 builtin and then its argument prototype would still apply. */ 24229#ifdef __cplusplus 24230extern "C" 24231#endif 24232char libcdata_get_version (); 24233int 24234main () 24235{ 24236return libcdata_get_version (); 24237 ; 24238 return 0; 24239} 24240_ACEOF 24241if ac_fn_c_try_link "$LINENO"; then : 24242 ac_cv_lib_cdata_libcdata_get_version=yes 24243else 24244 ac_cv_lib_cdata_libcdata_get_version=no 24245fi 24246rm -f core conftest.err conftest.$ac_objext \ 24247 conftest$ac_exeext conftest.$ac_ext 24248LIBS=$ac_check_lib_save_LIBS 24249fi 24250{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_get_version" >&5 24251$as_echo "$ac_cv_lib_cdata_libcdata_get_version" >&6; } 24252if test "x$ac_cv_lib_cdata_libcdata_get_version" = xyes; then : 24253 ac_cv_libcdata_dummy=yes 24254else 24255 ac_cv_libcdata=no 24256fi 24257 24258 24259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_initialize in -lcdata" >&5 24260$as_echo_n "checking for libcdata_array_initialize in -lcdata... " >&6; } 24261if ${ac_cv_lib_cdata_libcdata_array_initialize+:} false; then : 24262 $as_echo_n "(cached) " >&6 24263else 24264 ac_check_lib_save_LIBS=$LIBS 24265LIBS="-lcdata $LIBS" 24266cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24267/* end confdefs.h. */ 24268 24269/* Override any GCC internal prototype to avoid an error. 24270 Use char because int might match the return type of a GCC 24271 builtin and then its argument prototype would still apply. */ 24272#ifdef __cplusplus 24273extern "C" 24274#endif 24275char libcdata_array_initialize (); 24276int 24277main () 24278{ 24279return libcdata_array_initialize (); 24280 ; 24281 return 0; 24282} 24283_ACEOF 24284if ac_fn_c_try_link "$LINENO"; then : 24285 ac_cv_lib_cdata_libcdata_array_initialize=yes 24286else 24287 ac_cv_lib_cdata_libcdata_array_initialize=no 24288fi 24289rm -f core conftest.err conftest.$ac_objext \ 24290 conftest$ac_exeext conftest.$ac_ext 24291LIBS=$ac_check_lib_save_LIBS 24292fi 24293{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_initialize" >&5 24294$as_echo "$ac_cv_lib_cdata_libcdata_array_initialize" >&6; } 24295if test "x$ac_cv_lib_cdata_libcdata_array_initialize" = xyes; then : 24296 ac_cv_libcdata_dummy=yes 24297else 24298 ac_cv_libcdata=no 24299fi 24300 24301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_free in -lcdata" >&5 24302$as_echo_n "checking for libcdata_array_free in -lcdata... " >&6; } 24303if ${ac_cv_lib_cdata_libcdata_array_free+:} false; then : 24304 $as_echo_n "(cached) " >&6 24305else 24306 ac_check_lib_save_LIBS=$LIBS 24307LIBS="-lcdata $LIBS" 24308cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24309/* end confdefs.h. */ 24310 24311/* Override any GCC internal prototype to avoid an error. 24312 Use char because int might match the return type of a GCC 24313 builtin and then its argument prototype would still apply. */ 24314#ifdef __cplusplus 24315extern "C" 24316#endif 24317char libcdata_array_free (); 24318int 24319main () 24320{ 24321return libcdata_array_free (); 24322 ; 24323 return 0; 24324} 24325_ACEOF 24326if ac_fn_c_try_link "$LINENO"; then : 24327 ac_cv_lib_cdata_libcdata_array_free=yes 24328else 24329 ac_cv_lib_cdata_libcdata_array_free=no 24330fi 24331rm -f core conftest.err conftest.$ac_objext \ 24332 conftest$ac_exeext conftest.$ac_ext 24333LIBS=$ac_check_lib_save_LIBS 24334fi 24335{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_free" >&5 24336$as_echo "$ac_cv_lib_cdata_libcdata_array_free" >&6; } 24337if test "x$ac_cv_lib_cdata_libcdata_array_free" = xyes; then : 24338 ac_cv_libcdata_dummy=yes 24339else 24340 ac_cv_libcdata=no 24341fi 24342 24343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_empty in -lcdata" >&5 24344$as_echo_n "checking for libcdata_array_empty in -lcdata... " >&6; } 24345if ${ac_cv_lib_cdata_libcdata_array_empty+:} false; then : 24346 $as_echo_n "(cached) " >&6 24347else 24348 ac_check_lib_save_LIBS=$LIBS 24349LIBS="-lcdata $LIBS" 24350cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24351/* end confdefs.h. */ 24352 24353/* Override any GCC internal prototype to avoid an error. 24354 Use char because int might match the return type of a GCC 24355 builtin and then its argument prototype would still apply. */ 24356#ifdef __cplusplus 24357extern "C" 24358#endif 24359char libcdata_array_empty (); 24360int 24361main () 24362{ 24363return libcdata_array_empty (); 24364 ; 24365 return 0; 24366} 24367_ACEOF 24368if ac_fn_c_try_link "$LINENO"; then : 24369 ac_cv_lib_cdata_libcdata_array_empty=yes 24370else 24371 ac_cv_lib_cdata_libcdata_array_empty=no 24372fi 24373rm -f core conftest.err conftest.$ac_objext \ 24374 conftest$ac_exeext conftest.$ac_ext 24375LIBS=$ac_check_lib_save_LIBS 24376fi 24377{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_empty" >&5 24378$as_echo "$ac_cv_lib_cdata_libcdata_array_empty" >&6; } 24379if test "x$ac_cv_lib_cdata_libcdata_array_empty" = xyes; then : 24380 ac_cv_libcdata_dummy=yes 24381else 24382 ac_cv_libcdata=no 24383fi 24384 24385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_clone in -lcdata" >&5 24386$as_echo_n "checking for libcdata_array_clone in -lcdata... " >&6; } 24387if ${ac_cv_lib_cdata_libcdata_array_clone+:} false; then : 24388 $as_echo_n "(cached) " >&6 24389else 24390 ac_check_lib_save_LIBS=$LIBS 24391LIBS="-lcdata $LIBS" 24392cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24393/* end confdefs.h. */ 24394 24395/* Override any GCC internal prototype to avoid an error. 24396 Use char because int might match the return type of a GCC 24397 builtin and then its argument prototype would still apply. */ 24398#ifdef __cplusplus 24399extern "C" 24400#endif 24401char libcdata_array_clone (); 24402int 24403main () 24404{ 24405return libcdata_array_clone (); 24406 ; 24407 return 0; 24408} 24409_ACEOF 24410if ac_fn_c_try_link "$LINENO"; then : 24411 ac_cv_lib_cdata_libcdata_array_clone=yes 24412else 24413 ac_cv_lib_cdata_libcdata_array_clone=no 24414fi 24415rm -f core conftest.err conftest.$ac_objext \ 24416 conftest$ac_exeext conftest.$ac_ext 24417LIBS=$ac_check_lib_save_LIBS 24418fi 24419{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_clone" >&5 24420$as_echo "$ac_cv_lib_cdata_libcdata_array_clone" >&6; } 24421if test "x$ac_cv_lib_cdata_libcdata_array_clone" = xyes; then : 24422 ac_cv_libcdata_dummy=yes 24423else 24424 ac_cv_libcdata=no 24425fi 24426 24427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_resize in -lcdata" >&5 24428$as_echo_n "checking for libcdata_array_resize in -lcdata... " >&6; } 24429if ${ac_cv_lib_cdata_libcdata_array_resize+:} false; then : 24430 $as_echo_n "(cached) " >&6 24431else 24432 ac_check_lib_save_LIBS=$LIBS 24433LIBS="-lcdata $LIBS" 24434cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24435/* end confdefs.h. */ 24436 24437/* Override any GCC internal prototype to avoid an error. 24438 Use char because int might match the return type of a GCC 24439 builtin and then its argument prototype would still apply. */ 24440#ifdef __cplusplus 24441extern "C" 24442#endif 24443char libcdata_array_resize (); 24444int 24445main () 24446{ 24447return libcdata_array_resize (); 24448 ; 24449 return 0; 24450} 24451_ACEOF 24452if ac_fn_c_try_link "$LINENO"; then : 24453 ac_cv_lib_cdata_libcdata_array_resize=yes 24454else 24455 ac_cv_lib_cdata_libcdata_array_resize=no 24456fi 24457rm -f core conftest.err conftest.$ac_objext \ 24458 conftest$ac_exeext conftest.$ac_ext 24459LIBS=$ac_check_lib_save_LIBS 24460fi 24461{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_resize" >&5 24462$as_echo "$ac_cv_lib_cdata_libcdata_array_resize" >&6; } 24463if test "x$ac_cv_lib_cdata_libcdata_array_resize" = xyes; then : 24464 ac_cv_libcdata_dummy=yes 24465else 24466 ac_cv_libcdata=no 24467fi 24468 24469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_reverse in -lcdata" >&5 24470$as_echo_n "checking for libcdata_array_reverse in -lcdata... " >&6; } 24471if ${ac_cv_lib_cdata_libcdata_array_reverse+:} false; then : 24472 $as_echo_n "(cached) " >&6 24473else 24474 ac_check_lib_save_LIBS=$LIBS 24475LIBS="-lcdata $LIBS" 24476cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24477/* end confdefs.h. */ 24478 24479/* Override any GCC internal prototype to avoid an error. 24480 Use char because int might match the return type of a GCC 24481 builtin and then its argument prototype would still apply. */ 24482#ifdef __cplusplus 24483extern "C" 24484#endif 24485char libcdata_array_reverse (); 24486int 24487main () 24488{ 24489return libcdata_array_reverse (); 24490 ; 24491 return 0; 24492} 24493_ACEOF 24494if ac_fn_c_try_link "$LINENO"; then : 24495 ac_cv_lib_cdata_libcdata_array_reverse=yes 24496else 24497 ac_cv_lib_cdata_libcdata_array_reverse=no 24498fi 24499rm -f core conftest.err conftest.$ac_objext \ 24500 conftest$ac_exeext conftest.$ac_ext 24501LIBS=$ac_check_lib_save_LIBS 24502fi 24503{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_reverse" >&5 24504$as_echo "$ac_cv_lib_cdata_libcdata_array_reverse" >&6; } 24505if test "x$ac_cv_lib_cdata_libcdata_array_reverse" = xyes; then : 24506 ac_cv_libcdata_dummy=yes 24507else 24508 ac_cv_libcdata=no 24509fi 24510 24511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_get_number_of_entries in -lcdata" >&5 24512$as_echo_n "checking for libcdata_array_get_number_of_entries in -lcdata... " >&6; } 24513if ${ac_cv_lib_cdata_libcdata_array_get_number_of_entries+:} false; then : 24514 $as_echo_n "(cached) " >&6 24515else 24516 ac_check_lib_save_LIBS=$LIBS 24517LIBS="-lcdata $LIBS" 24518cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24519/* end confdefs.h. */ 24520 24521/* Override any GCC internal prototype to avoid an error. 24522 Use char because int might match the return type of a GCC 24523 builtin and then its argument prototype would still apply. */ 24524#ifdef __cplusplus 24525extern "C" 24526#endif 24527char libcdata_array_get_number_of_entries (); 24528int 24529main () 24530{ 24531return libcdata_array_get_number_of_entries (); 24532 ; 24533 return 0; 24534} 24535_ACEOF 24536if ac_fn_c_try_link "$LINENO"; then : 24537 ac_cv_lib_cdata_libcdata_array_get_number_of_entries=yes 24538else 24539 ac_cv_lib_cdata_libcdata_array_get_number_of_entries=no 24540fi 24541rm -f core conftest.err conftest.$ac_objext \ 24542 conftest$ac_exeext conftest.$ac_ext 24543LIBS=$ac_check_lib_save_LIBS 24544fi 24545{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_get_number_of_entries" >&5 24546$as_echo "$ac_cv_lib_cdata_libcdata_array_get_number_of_entries" >&6; } 24547if test "x$ac_cv_lib_cdata_libcdata_array_get_number_of_entries" = xyes; then : 24548 ac_cv_libcdata_dummy=yes 24549else 24550 ac_cv_libcdata=no 24551fi 24552 24553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_get_entry_by_index in -lcdata" >&5 24554$as_echo_n "checking for libcdata_array_get_entry_by_index in -lcdata... " >&6; } 24555if ${ac_cv_lib_cdata_libcdata_array_get_entry_by_index+:} false; then : 24556 $as_echo_n "(cached) " >&6 24557else 24558 ac_check_lib_save_LIBS=$LIBS 24559LIBS="-lcdata $LIBS" 24560cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24561/* end confdefs.h. */ 24562 24563/* Override any GCC internal prototype to avoid an error. 24564 Use char because int might match the return type of a GCC 24565 builtin and then its argument prototype would still apply. */ 24566#ifdef __cplusplus 24567extern "C" 24568#endif 24569char libcdata_array_get_entry_by_index (); 24570int 24571main () 24572{ 24573return libcdata_array_get_entry_by_index (); 24574 ; 24575 return 0; 24576} 24577_ACEOF 24578if ac_fn_c_try_link "$LINENO"; then : 24579 ac_cv_lib_cdata_libcdata_array_get_entry_by_index=yes 24580else 24581 ac_cv_lib_cdata_libcdata_array_get_entry_by_index=no 24582fi 24583rm -f core conftest.err conftest.$ac_objext \ 24584 conftest$ac_exeext conftest.$ac_ext 24585LIBS=$ac_check_lib_save_LIBS 24586fi 24587{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_get_entry_by_index" >&5 24588$as_echo "$ac_cv_lib_cdata_libcdata_array_get_entry_by_index" >&6; } 24589if test "x$ac_cv_lib_cdata_libcdata_array_get_entry_by_index" = xyes; then : 24590 ac_cv_libcdata_dummy=yes 24591else 24592 ac_cv_libcdata=no 24593fi 24594 24595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_get_entry_by_value in -lcdata" >&5 24596$as_echo_n "checking for libcdata_array_get_entry_by_value in -lcdata... " >&6; } 24597if ${ac_cv_lib_cdata_libcdata_array_get_entry_by_value+:} false; then : 24598 $as_echo_n "(cached) " >&6 24599else 24600 ac_check_lib_save_LIBS=$LIBS 24601LIBS="-lcdata $LIBS" 24602cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24603/* end confdefs.h. */ 24604 24605/* Override any GCC internal prototype to avoid an error. 24606 Use char because int might match the return type of a GCC 24607 builtin and then its argument prototype would still apply. */ 24608#ifdef __cplusplus 24609extern "C" 24610#endif 24611char libcdata_array_get_entry_by_value (); 24612int 24613main () 24614{ 24615return libcdata_array_get_entry_by_value (); 24616 ; 24617 return 0; 24618} 24619_ACEOF 24620if ac_fn_c_try_link "$LINENO"; then : 24621 ac_cv_lib_cdata_libcdata_array_get_entry_by_value=yes 24622else 24623 ac_cv_lib_cdata_libcdata_array_get_entry_by_value=no 24624fi 24625rm -f core conftest.err conftest.$ac_objext \ 24626 conftest$ac_exeext conftest.$ac_ext 24627LIBS=$ac_check_lib_save_LIBS 24628fi 24629{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_get_entry_by_value" >&5 24630$as_echo "$ac_cv_lib_cdata_libcdata_array_get_entry_by_value" >&6; } 24631if test "x$ac_cv_lib_cdata_libcdata_array_get_entry_by_value" = xyes; then : 24632 ac_cv_libcdata_dummy=yes 24633else 24634 ac_cv_libcdata=no 24635fi 24636 24637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_set_entry_by_index in -lcdata" >&5 24638$as_echo_n "checking for libcdata_array_set_entry_by_index in -lcdata... " >&6; } 24639if ${ac_cv_lib_cdata_libcdata_array_set_entry_by_index+:} false; then : 24640 $as_echo_n "(cached) " >&6 24641else 24642 ac_check_lib_save_LIBS=$LIBS 24643LIBS="-lcdata $LIBS" 24644cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24645/* end confdefs.h. */ 24646 24647/* Override any GCC internal prototype to avoid an error. 24648 Use char because int might match the return type of a GCC 24649 builtin and then its argument prototype would still apply. */ 24650#ifdef __cplusplus 24651extern "C" 24652#endif 24653char libcdata_array_set_entry_by_index (); 24654int 24655main () 24656{ 24657return libcdata_array_set_entry_by_index (); 24658 ; 24659 return 0; 24660} 24661_ACEOF 24662if ac_fn_c_try_link "$LINENO"; then : 24663 ac_cv_lib_cdata_libcdata_array_set_entry_by_index=yes 24664else 24665 ac_cv_lib_cdata_libcdata_array_set_entry_by_index=no 24666fi 24667rm -f core conftest.err conftest.$ac_objext \ 24668 conftest$ac_exeext conftest.$ac_ext 24669LIBS=$ac_check_lib_save_LIBS 24670fi 24671{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_set_entry_by_index" >&5 24672$as_echo "$ac_cv_lib_cdata_libcdata_array_set_entry_by_index" >&6; } 24673if test "x$ac_cv_lib_cdata_libcdata_array_set_entry_by_index" = xyes; then : 24674 ac_cv_libcdata_dummy=yes 24675else 24676 ac_cv_libcdata=no 24677fi 24678 24679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_prepend_entry in -lcdata" >&5 24680$as_echo_n "checking for libcdata_array_prepend_entry in -lcdata... " >&6; } 24681if ${ac_cv_lib_cdata_libcdata_array_prepend_entry+:} false; then : 24682 $as_echo_n "(cached) " >&6 24683else 24684 ac_check_lib_save_LIBS=$LIBS 24685LIBS="-lcdata $LIBS" 24686cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24687/* end confdefs.h. */ 24688 24689/* Override any GCC internal prototype to avoid an error. 24690 Use char because int might match the return type of a GCC 24691 builtin and then its argument prototype would still apply. */ 24692#ifdef __cplusplus 24693extern "C" 24694#endif 24695char libcdata_array_prepend_entry (); 24696int 24697main () 24698{ 24699return libcdata_array_prepend_entry (); 24700 ; 24701 return 0; 24702} 24703_ACEOF 24704if ac_fn_c_try_link "$LINENO"; then : 24705 ac_cv_lib_cdata_libcdata_array_prepend_entry=yes 24706else 24707 ac_cv_lib_cdata_libcdata_array_prepend_entry=no 24708fi 24709rm -f core conftest.err conftest.$ac_objext \ 24710 conftest$ac_exeext conftest.$ac_ext 24711LIBS=$ac_check_lib_save_LIBS 24712fi 24713{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_prepend_entry" >&5 24714$as_echo "$ac_cv_lib_cdata_libcdata_array_prepend_entry" >&6; } 24715if test "x$ac_cv_lib_cdata_libcdata_array_prepend_entry" = xyes; then : 24716 ac_cv_libcdata_dummy=yes 24717else 24718 ac_cv_libcdata=no 24719fi 24720 24721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_append_entry in -lcdata" >&5 24722$as_echo_n "checking for libcdata_array_append_entry in -lcdata... " >&6; } 24723if ${ac_cv_lib_cdata_libcdata_array_append_entry+:} false; then : 24724 $as_echo_n "(cached) " >&6 24725else 24726 ac_check_lib_save_LIBS=$LIBS 24727LIBS="-lcdata $LIBS" 24728cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24729/* end confdefs.h. */ 24730 24731/* Override any GCC internal prototype to avoid an error. 24732 Use char because int might match the return type of a GCC 24733 builtin and then its argument prototype would still apply. */ 24734#ifdef __cplusplus 24735extern "C" 24736#endif 24737char libcdata_array_append_entry (); 24738int 24739main () 24740{ 24741return libcdata_array_append_entry (); 24742 ; 24743 return 0; 24744} 24745_ACEOF 24746if ac_fn_c_try_link "$LINENO"; then : 24747 ac_cv_lib_cdata_libcdata_array_append_entry=yes 24748else 24749 ac_cv_lib_cdata_libcdata_array_append_entry=no 24750fi 24751rm -f core conftest.err conftest.$ac_objext \ 24752 conftest$ac_exeext conftest.$ac_ext 24753LIBS=$ac_check_lib_save_LIBS 24754fi 24755{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_append_entry" >&5 24756$as_echo "$ac_cv_lib_cdata_libcdata_array_append_entry" >&6; } 24757if test "x$ac_cv_lib_cdata_libcdata_array_append_entry" = xyes; then : 24758 ac_cv_libcdata_dummy=yes 24759else 24760 ac_cv_libcdata=no 24761fi 24762 24763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_insert_entry in -lcdata" >&5 24764$as_echo_n "checking for libcdata_array_insert_entry in -lcdata... " >&6; } 24765if ${ac_cv_lib_cdata_libcdata_array_insert_entry+:} false; then : 24766 $as_echo_n "(cached) " >&6 24767else 24768 ac_check_lib_save_LIBS=$LIBS 24769LIBS="-lcdata $LIBS" 24770cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24771/* end confdefs.h. */ 24772 24773/* Override any GCC internal prototype to avoid an error. 24774 Use char because int might match the return type of a GCC 24775 builtin and then its argument prototype would still apply. */ 24776#ifdef __cplusplus 24777extern "C" 24778#endif 24779char libcdata_array_insert_entry (); 24780int 24781main () 24782{ 24783return libcdata_array_insert_entry (); 24784 ; 24785 return 0; 24786} 24787_ACEOF 24788if ac_fn_c_try_link "$LINENO"; then : 24789 ac_cv_lib_cdata_libcdata_array_insert_entry=yes 24790else 24791 ac_cv_lib_cdata_libcdata_array_insert_entry=no 24792fi 24793rm -f core conftest.err conftest.$ac_objext \ 24794 conftest$ac_exeext conftest.$ac_ext 24795LIBS=$ac_check_lib_save_LIBS 24796fi 24797{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_insert_entry" >&5 24798$as_echo "$ac_cv_lib_cdata_libcdata_array_insert_entry" >&6; } 24799if test "x$ac_cv_lib_cdata_libcdata_array_insert_entry" = xyes; then : 24800 ac_cv_libcdata_dummy=yes 24801else 24802 ac_cv_libcdata=no 24803fi 24804 24805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_remove_entry in -lcdata" >&5 24806$as_echo_n "checking for libcdata_array_remove_entry in -lcdata... " >&6; } 24807if ${ac_cv_lib_cdata_libcdata_array_remove_entry+:} false; then : 24808 $as_echo_n "(cached) " >&6 24809else 24810 ac_check_lib_save_LIBS=$LIBS 24811LIBS="-lcdata $LIBS" 24812cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24813/* end confdefs.h. */ 24814 24815/* Override any GCC internal prototype to avoid an error. 24816 Use char because int might match the return type of a GCC 24817 builtin and then its argument prototype would still apply. */ 24818#ifdef __cplusplus 24819extern "C" 24820#endif 24821char libcdata_array_remove_entry (); 24822int 24823main () 24824{ 24825return libcdata_array_remove_entry (); 24826 ; 24827 return 0; 24828} 24829_ACEOF 24830if ac_fn_c_try_link "$LINENO"; then : 24831 ac_cv_lib_cdata_libcdata_array_remove_entry=yes 24832else 24833 ac_cv_lib_cdata_libcdata_array_remove_entry=no 24834fi 24835rm -f core conftest.err conftest.$ac_objext \ 24836 conftest$ac_exeext conftest.$ac_ext 24837LIBS=$ac_check_lib_save_LIBS 24838fi 24839{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_remove_entry" >&5 24840$as_echo "$ac_cv_lib_cdata_libcdata_array_remove_entry" >&6; } 24841if test "x$ac_cv_lib_cdata_libcdata_array_remove_entry" = xyes; then : 24842 ac_cv_libcdata_dummy=yes 24843else 24844 ac_cv_libcdata=no 24845fi 24846 24847 24848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_btree_initialize in -lcdata" >&5 24849$as_echo_n "checking for libfdata_btree_initialize in -lcdata... " >&6; } 24850if ${ac_cv_lib_cdata_libfdata_btree_initialize+:} false; then : 24851 $as_echo_n "(cached) " >&6 24852else 24853 ac_check_lib_save_LIBS=$LIBS 24854LIBS="-lcdata $LIBS" 24855cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24856/* end confdefs.h. */ 24857 24858/* Override any GCC internal prototype to avoid an error. 24859 Use char because int might match the return type of a GCC 24860 builtin and then its argument prototype would still apply. */ 24861#ifdef __cplusplus 24862extern "C" 24863#endif 24864char libfdata_btree_initialize (); 24865int 24866main () 24867{ 24868return libfdata_btree_initialize (); 24869 ; 24870 return 0; 24871} 24872_ACEOF 24873if ac_fn_c_try_link "$LINENO"; then : 24874 ac_cv_lib_cdata_libfdata_btree_initialize=yes 24875else 24876 ac_cv_lib_cdata_libfdata_btree_initialize=no 24877fi 24878rm -f core conftest.err conftest.$ac_objext \ 24879 conftest$ac_exeext conftest.$ac_ext 24880LIBS=$ac_check_lib_save_LIBS 24881fi 24882{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libfdata_btree_initialize" >&5 24883$as_echo "$ac_cv_lib_cdata_libfdata_btree_initialize" >&6; } 24884if test "x$ac_cv_lib_cdata_libfdata_btree_initialize" = xyes; then : 24885 ac_cv_libcdata_dummy=yes 24886else 24887 ac_cv_libcdata=no 24888fi 24889 24890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_btree_free in -lcdata" >&5 24891$as_echo_n "checking for libcdata_btree_free in -lcdata... " >&6; } 24892if ${ac_cv_lib_cdata_libcdata_btree_free+:} false; then : 24893 $as_echo_n "(cached) " >&6 24894else 24895 ac_check_lib_save_LIBS=$LIBS 24896LIBS="-lcdata $LIBS" 24897cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24898/* end confdefs.h. */ 24899 24900/* Override any GCC internal prototype to avoid an error. 24901 Use char because int might match the return type of a GCC 24902 builtin and then its argument prototype would still apply. */ 24903#ifdef __cplusplus 24904extern "C" 24905#endif 24906char libcdata_btree_free (); 24907int 24908main () 24909{ 24910return libcdata_btree_free (); 24911 ; 24912 return 0; 24913} 24914_ACEOF 24915if ac_fn_c_try_link "$LINENO"; then : 24916 ac_cv_lib_cdata_libcdata_btree_free=yes 24917else 24918 ac_cv_lib_cdata_libcdata_btree_free=no 24919fi 24920rm -f core conftest.err conftest.$ac_objext \ 24921 conftest$ac_exeext conftest.$ac_ext 24922LIBS=$ac_check_lib_save_LIBS 24923fi 24924{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_btree_free" >&5 24925$as_echo "$ac_cv_lib_cdata_libcdata_btree_free" >&6; } 24926if test "x$ac_cv_lib_cdata_libcdata_btree_free" = xyes; then : 24927 ac_cv_libcdata_dummy=yes 24928else 24929 ac_cv_libcdata=no 24930fi 24931 24932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_btree_get_number_of_values in -lcdata" >&5 24933$as_echo_n "checking for libcdata_btree_get_number_of_values in -lcdata... " >&6; } 24934if ${ac_cv_lib_cdata_libcdata_btree_get_number_of_values+:} false; then : 24935 $as_echo_n "(cached) " >&6 24936else 24937 ac_check_lib_save_LIBS=$LIBS 24938LIBS="-lcdata $LIBS" 24939cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24940/* end confdefs.h. */ 24941 24942/* Override any GCC internal prototype to avoid an error. 24943 Use char because int might match the return type of a GCC 24944 builtin and then its argument prototype would still apply. */ 24945#ifdef __cplusplus 24946extern "C" 24947#endif 24948char libcdata_btree_get_number_of_values (); 24949int 24950main () 24951{ 24952return libcdata_btree_get_number_of_values (); 24953 ; 24954 return 0; 24955} 24956_ACEOF 24957if ac_fn_c_try_link "$LINENO"; then : 24958 ac_cv_lib_cdata_libcdata_btree_get_number_of_values=yes 24959else 24960 ac_cv_lib_cdata_libcdata_btree_get_number_of_values=no 24961fi 24962rm -f core conftest.err conftest.$ac_objext \ 24963 conftest$ac_exeext conftest.$ac_ext 24964LIBS=$ac_check_lib_save_LIBS 24965fi 24966{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_btree_get_number_of_values" >&5 24967$as_echo "$ac_cv_lib_cdata_libcdata_btree_get_number_of_values" >&6; } 24968if test "x$ac_cv_lib_cdata_libcdata_btree_get_number_of_values" = xyes; then : 24969 ac_cv_libcdata_dummy=yes 24970else 24971 ac_cv_libcdata=no 24972fi 24973 24974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_btree_get_value_by_index in -lcdata" >&5 24975$as_echo_n "checking for libcdata_btree_get_value_by_index in -lcdata... " >&6; } 24976if ${ac_cv_lib_cdata_libcdata_btree_get_value_by_index+:} false; then : 24977 $as_echo_n "(cached) " >&6 24978else 24979 ac_check_lib_save_LIBS=$LIBS 24980LIBS="-lcdata $LIBS" 24981cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24982/* end confdefs.h. */ 24983 24984/* Override any GCC internal prototype to avoid an error. 24985 Use char because int might match the return type of a GCC 24986 builtin and then its argument prototype would still apply. */ 24987#ifdef __cplusplus 24988extern "C" 24989#endif 24990char libcdata_btree_get_value_by_index (); 24991int 24992main () 24993{ 24994return libcdata_btree_get_value_by_index (); 24995 ; 24996 return 0; 24997} 24998_ACEOF 24999if ac_fn_c_try_link "$LINENO"; then : 25000 ac_cv_lib_cdata_libcdata_btree_get_value_by_index=yes 25001else 25002 ac_cv_lib_cdata_libcdata_btree_get_value_by_index=no 25003fi 25004rm -f core conftest.err conftest.$ac_objext \ 25005 conftest$ac_exeext conftest.$ac_ext 25006LIBS=$ac_check_lib_save_LIBS 25007fi 25008{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_btree_get_value_by_index" >&5 25009$as_echo "$ac_cv_lib_cdata_libcdata_btree_get_value_by_index" >&6; } 25010if test "x$ac_cv_lib_cdata_libcdata_btree_get_value_by_index" = xyes; then : 25011 ac_cv_libcdata_dummy=yes 25012else 25013 ac_cv_libcdata=no 25014fi 25015 25016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_btree_get_value_by_value in -lcdata" >&5 25017$as_echo_n "checking for libcdata_btree_get_value_by_value in -lcdata... " >&6; } 25018if ${ac_cv_lib_cdata_libcdata_btree_get_value_by_value+:} false; then : 25019 $as_echo_n "(cached) " >&6 25020else 25021 ac_check_lib_save_LIBS=$LIBS 25022LIBS="-lcdata $LIBS" 25023cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25024/* end confdefs.h. */ 25025 25026/* Override any GCC internal prototype to avoid an error. 25027 Use char because int might match the return type of a GCC 25028 builtin and then its argument prototype would still apply. */ 25029#ifdef __cplusplus 25030extern "C" 25031#endif 25032char libcdata_btree_get_value_by_value (); 25033int 25034main () 25035{ 25036return libcdata_btree_get_value_by_value (); 25037 ; 25038 return 0; 25039} 25040_ACEOF 25041if ac_fn_c_try_link "$LINENO"; then : 25042 ac_cv_lib_cdata_libcdata_btree_get_value_by_value=yes 25043else 25044 ac_cv_lib_cdata_libcdata_btree_get_value_by_value=no 25045fi 25046rm -f core conftest.err conftest.$ac_objext \ 25047 conftest$ac_exeext conftest.$ac_ext 25048LIBS=$ac_check_lib_save_LIBS 25049fi 25050{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_btree_get_value_by_value" >&5 25051$as_echo "$ac_cv_lib_cdata_libcdata_btree_get_value_by_value" >&6; } 25052if test "x$ac_cv_lib_cdata_libcdata_btree_get_value_by_value" = xyes; then : 25053 ac_cv_libcdata_dummy=yes 25054else 25055 ac_cv_libcdata=no 25056fi 25057 25058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_btree_insert_value in -lcdata" >&5 25059$as_echo_n "checking for libcdata_btree_insert_value in -lcdata... " >&6; } 25060if ${ac_cv_lib_cdata_libcdata_btree_insert_value+:} false; then : 25061 $as_echo_n "(cached) " >&6 25062else 25063 ac_check_lib_save_LIBS=$LIBS 25064LIBS="-lcdata $LIBS" 25065cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25066/* end confdefs.h. */ 25067 25068/* Override any GCC internal prototype to avoid an error. 25069 Use char because int might match the return type of a GCC 25070 builtin and then its argument prototype would still apply. */ 25071#ifdef __cplusplus 25072extern "C" 25073#endif 25074char libcdata_btree_insert_value (); 25075int 25076main () 25077{ 25078return libcdata_btree_insert_value (); 25079 ; 25080 return 0; 25081} 25082_ACEOF 25083if ac_fn_c_try_link "$LINENO"; then : 25084 ac_cv_lib_cdata_libcdata_btree_insert_value=yes 25085else 25086 ac_cv_lib_cdata_libcdata_btree_insert_value=no 25087fi 25088rm -f core conftest.err conftest.$ac_objext \ 25089 conftest$ac_exeext conftest.$ac_ext 25090LIBS=$ac_check_lib_save_LIBS 25091fi 25092{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_btree_insert_value" >&5 25093$as_echo "$ac_cv_lib_cdata_libcdata_btree_insert_value" >&6; } 25094if test "x$ac_cv_lib_cdata_libcdata_btree_insert_value" = xyes; then : 25095 ac_cv_libcdata_dummy=yes 25096else 25097 ac_cv_libcdata=no 25098fi 25099 25100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_btree_replace_value in -lcdata" >&5 25101$as_echo_n "checking for libcdata_btree_replace_value in -lcdata... " >&6; } 25102if ${ac_cv_lib_cdata_libcdata_btree_replace_value+:} false; then : 25103 $as_echo_n "(cached) " >&6 25104else 25105 ac_check_lib_save_LIBS=$LIBS 25106LIBS="-lcdata $LIBS" 25107cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25108/* end confdefs.h. */ 25109 25110/* Override any GCC internal prototype to avoid an error. 25111 Use char because int might match the return type of a GCC 25112 builtin and then its argument prototype would still apply. */ 25113#ifdef __cplusplus 25114extern "C" 25115#endif 25116char libcdata_btree_replace_value (); 25117int 25118main () 25119{ 25120return libcdata_btree_replace_value (); 25121 ; 25122 return 0; 25123} 25124_ACEOF 25125if ac_fn_c_try_link "$LINENO"; then : 25126 ac_cv_lib_cdata_libcdata_btree_replace_value=yes 25127else 25128 ac_cv_lib_cdata_libcdata_btree_replace_value=no 25129fi 25130rm -f core conftest.err conftest.$ac_objext \ 25131 conftest$ac_exeext conftest.$ac_ext 25132LIBS=$ac_check_lib_save_LIBS 25133fi 25134{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_btree_replace_value" >&5 25135$as_echo "$ac_cv_lib_cdata_libcdata_btree_replace_value" >&6; } 25136if test "x$ac_cv_lib_cdata_libcdata_btree_replace_value" = xyes; then : 25137 ac_cv_libcdata_dummy=yes 25138else 25139 ac_cv_libcdata=no 25140fi 25141 25142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_btree_remove_value in -lcdata" >&5 25143$as_echo_n "checking for libcdata_btree_remove_value in -lcdata... " >&6; } 25144if ${ac_cv_lib_cdata_libcdata_btree_remove_value+:} false; then : 25145 $as_echo_n "(cached) " >&6 25146else 25147 ac_check_lib_save_LIBS=$LIBS 25148LIBS="-lcdata $LIBS" 25149cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25150/* end confdefs.h. */ 25151 25152/* Override any GCC internal prototype to avoid an error. 25153 Use char because int might match the return type of a GCC 25154 builtin and then its argument prototype would still apply. */ 25155#ifdef __cplusplus 25156extern "C" 25157#endif 25158char libcdata_btree_remove_value (); 25159int 25160main () 25161{ 25162return libcdata_btree_remove_value (); 25163 ; 25164 return 0; 25165} 25166_ACEOF 25167if ac_fn_c_try_link "$LINENO"; then : 25168 ac_cv_lib_cdata_libcdata_btree_remove_value=yes 25169else 25170 ac_cv_lib_cdata_libcdata_btree_remove_value=no 25171fi 25172rm -f core conftest.err conftest.$ac_objext \ 25173 conftest$ac_exeext conftest.$ac_ext 25174LIBS=$ac_check_lib_save_LIBS 25175fi 25176{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_btree_remove_value" >&5 25177$as_echo "$ac_cv_lib_cdata_libcdata_btree_remove_value" >&6; } 25178if test "x$ac_cv_lib_cdata_libcdata_btree_remove_value" = xyes; then : 25179 ac_cv_libcdata_dummy=yes 25180else 25181 ac_cv_libcdata=no 25182fi 25183 25184 25185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_initialize in -lcdata" >&5 25186$as_echo_n "checking for libcdata_list_initialize in -lcdata... " >&6; } 25187if ${ac_cv_lib_cdata_libcdata_list_initialize+:} false; then : 25188 $as_echo_n "(cached) " >&6 25189else 25190 ac_check_lib_save_LIBS=$LIBS 25191LIBS="-lcdata $LIBS" 25192cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25193/* end confdefs.h. */ 25194 25195/* Override any GCC internal prototype to avoid an error. 25196 Use char because int might match the return type of a GCC 25197 builtin and then its argument prototype would still apply. */ 25198#ifdef __cplusplus 25199extern "C" 25200#endif 25201char libcdata_list_initialize (); 25202int 25203main () 25204{ 25205return libcdata_list_initialize (); 25206 ; 25207 return 0; 25208} 25209_ACEOF 25210if ac_fn_c_try_link "$LINENO"; then : 25211 ac_cv_lib_cdata_libcdata_list_initialize=yes 25212else 25213 ac_cv_lib_cdata_libcdata_list_initialize=no 25214fi 25215rm -f core conftest.err conftest.$ac_objext \ 25216 conftest$ac_exeext conftest.$ac_ext 25217LIBS=$ac_check_lib_save_LIBS 25218fi 25219{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_initialize" >&5 25220$as_echo "$ac_cv_lib_cdata_libcdata_list_initialize" >&6; } 25221if test "x$ac_cv_lib_cdata_libcdata_list_initialize" = xyes; then : 25222 ac_cv_libcdata_dummy=yes 25223else 25224 ac_cv_libcdata=no 25225fi 25226 25227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_free in -lcdata" >&5 25228$as_echo_n "checking for libcdata_list_free in -lcdata... " >&6; } 25229if ${ac_cv_lib_cdata_libcdata_list_free+:} false; then : 25230 $as_echo_n "(cached) " >&6 25231else 25232 ac_check_lib_save_LIBS=$LIBS 25233LIBS="-lcdata $LIBS" 25234cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25235/* end confdefs.h. */ 25236 25237/* Override any GCC internal prototype to avoid an error. 25238 Use char because int might match the return type of a GCC 25239 builtin and then its argument prototype would still apply. */ 25240#ifdef __cplusplus 25241extern "C" 25242#endif 25243char libcdata_list_free (); 25244int 25245main () 25246{ 25247return libcdata_list_free (); 25248 ; 25249 return 0; 25250} 25251_ACEOF 25252if ac_fn_c_try_link "$LINENO"; then : 25253 ac_cv_lib_cdata_libcdata_list_free=yes 25254else 25255 ac_cv_lib_cdata_libcdata_list_free=no 25256fi 25257rm -f core conftest.err conftest.$ac_objext \ 25258 conftest$ac_exeext conftest.$ac_ext 25259LIBS=$ac_check_lib_save_LIBS 25260fi 25261{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_free" >&5 25262$as_echo "$ac_cv_lib_cdata_libcdata_list_free" >&6; } 25263if test "x$ac_cv_lib_cdata_libcdata_list_free" = xyes; then : 25264 ac_cv_libcdata_dummy=yes 25265else 25266 ac_cv_libcdata=no 25267fi 25268 25269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_empty in -lcdata" >&5 25270$as_echo_n "checking for libcdata_list_empty in -lcdata... " >&6; } 25271if ${ac_cv_lib_cdata_libcdata_list_empty+:} false; then : 25272 $as_echo_n "(cached) " >&6 25273else 25274 ac_check_lib_save_LIBS=$LIBS 25275LIBS="-lcdata $LIBS" 25276cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25277/* end confdefs.h. */ 25278 25279/* Override any GCC internal prototype to avoid an error. 25280 Use char because int might match the return type of a GCC 25281 builtin and then its argument prototype would still apply. */ 25282#ifdef __cplusplus 25283extern "C" 25284#endif 25285char libcdata_list_empty (); 25286int 25287main () 25288{ 25289return libcdata_list_empty (); 25290 ; 25291 return 0; 25292} 25293_ACEOF 25294if ac_fn_c_try_link "$LINENO"; then : 25295 ac_cv_lib_cdata_libcdata_list_empty=yes 25296else 25297 ac_cv_lib_cdata_libcdata_list_empty=no 25298fi 25299rm -f core conftest.err conftest.$ac_objext \ 25300 conftest$ac_exeext conftest.$ac_ext 25301LIBS=$ac_check_lib_save_LIBS 25302fi 25303{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_empty" >&5 25304$as_echo "$ac_cv_lib_cdata_libcdata_list_empty" >&6; } 25305if test "x$ac_cv_lib_cdata_libcdata_list_empty" = xyes; then : 25306 ac_cv_libcdata_dummy=yes 25307else 25308 ac_cv_libcdata=no 25309fi 25310 25311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_clone in -lcdata" >&5 25312$as_echo_n "checking for libcdata_list_clone in -lcdata... " >&6; } 25313if ${ac_cv_lib_cdata_libcdata_list_clone+:} false; then : 25314 $as_echo_n "(cached) " >&6 25315else 25316 ac_check_lib_save_LIBS=$LIBS 25317LIBS="-lcdata $LIBS" 25318cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25319/* end confdefs.h. */ 25320 25321/* Override any GCC internal prototype to avoid an error. 25322 Use char because int might match the return type of a GCC 25323 builtin and then its argument prototype would still apply. */ 25324#ifdef __cplusplus 25325extern "C" 25326#endif 25327char libcdata_list_clone (); 25328int 25329main () 25330{ 25331return libcdata_list_clone (); 25332 ; 25333 return 0; 25334} 25335_ACEOF 25336if ac_fn_c_try_link "$LINENO"; then : 25337 ac_cv_lib_cdata_libcdata_list_clone=yes 25338else 25339 ac_cv_lib_cdata_libcdata_list_clone=no 25340fi 25341rm -f core conftest.err conftest.$ac_objext \ 25342 conftest$ac_exeext conftest.$ac_ext 25343LIBS=$ac_check_lib_save_LIBS 25344fi 25345{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_clone" >&5 25346$as_echo "$ac_cv_lib_cdata_libcdata_list_clone" >&6; } 25347if test "x$ac_cv_lib_cdata_libcdata_list_clone" = xyes; then : 25348 ac_cv_libcdata_dummy=yes 25349else 25350 ac_cv_libcdata=no 25351fi 25352 25353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_get_number_of_elements in -lcdata" >&5 25354$as_echo_n "checking for libcdata_list_get_number_of_elements in -lcdata... " >&6; } 25355if ${ac_cv_lib_cdata_libcdata_list_get_number_of_elements+:} false; then : 25356 $as_echo_n "(cached) " >&6 25357else 25358 ac_check_lib_save_LIBS=$LIBS 25359LIBS="-lcdata $LIBS" 25360cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25361/* end confdefs.h. */ 25362 25363/* Override any GCC internal prototype to avoid an error. 25364 Use char because int might match the return type of a GCC 25365 builtin and then its argument prototype would still apply. */ 25366#ifdef __cplusplus 25367extern "C" 25368#endif 25369char libcdata_list_get_number_of_elements (); 25370int 25371main () 25372{ 25373return libcdata_list_get_number_of_elements (); 25374 ; 25375 return 0; 25376} 25377_ACEOF 25378if ac_fn_c_try_link "$LINENO"; then : 25379 ac_cv_lib_cdata_libcdata_list_get_number_of_elements=yes 25380else 25381 ac_cv_lib_cdata_libcdata_list_get_number_of_elements=no 25382fi 25383rm -f core conftest.err conftest.$ac_objext \ 25384 conftest$ac_exeext conftest.$ac_ext 25385LIBS=$ac_check_lib_save_LIBS 25386fi 25387{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_get_number_of_elements" >&5 25388$as_echo "$ac_cv_lib_cdata_libcdata_list_get_number_of_elements" >&6; } 25389if test "x$ac_cv_lib_cdata_libcdata_list_get_number_of_elements" = xyes; then : 25390 ac_cv_libcdata_dummy=yes 25391else 25392 ac_cv_libcdata=no 25393fi 25394 25395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_get_first_element in -lcdata" >&5 25396$as_echo_n "checking for libcdata_list_get_first_element in -lcdata... " >&6; } 25397if ${ac_cv_lib_cdata_libcdata_list_get_first_element+:} false; then : 25398 $as_echo_n "(cached) " >&6 25399else 25400 ac_check_lib_save_LIBS=$LIBS 25401LIBS="-lcdata $LIBS" 25402cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25403/* end confdefs.h. */ 25404 25405/* Override any GCC internal prototype to avoid an error. 25406 Use char because int might match the return type of a GCC 25407 builtin and then its argument prototype would still apply. */ 25408#ifdef __cplusplus 25409extern "C" 25410#endif 25411char libcdata_list_get_first_element (); 25412int 25413main () 25414{ 25415return libcdata_list_get_first_element (); 25416 ; 25417 return 0; 25418} 25419_ACEOF 25420if ac_fn_c_try_link "$LINENO"; then : 25421 ac_cv_lib_cdata_libcdata_list_get_first_element=yes 25422else 25423 ac_cv_lib_cdata_libcdata_list_get_first_element=no 25424fi 25425rm -f core conftest.err conftest.$ac_objext \ 25426 conftest$ac_exeext conftest.$ac_ext 25427LIBS=$ac_check_lib_save_LIBS 25428fi 25429{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_get_first_element" >&5 25430$as_echo "$ac_cv_lib_cdata_libcdata_list_get_first_element" >&6; } 25431if test "x$ac_cv_lib_cdata_libcdata_list_get_first_element" = xyes; then : 25432 ac_cv_libcdata_dummy=yes 25433else 25434 ac_cv_libcdata=no 25435fi 25436 25437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_get_last_element in -lcdata" >&5 25438$as_echo_n "checking for libcdata_list_get_last_element in -lcdata... " >&6; } 25439if ${ac_cv_lib_cdata_libcdata_list_get_last_element+:} false; then : 25440 $as_echo_n "(cached) " >&6 25441else 25442 ac_check_lib_save_LIBS=$LIBS 25443LIBS="-lcdata $LIBS" 25444cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25445/* end confdefs.h. */ 25446 25447/* Override any GCC internal prototype to avoid an error. 25448 Use char because int might match the return type of a GCC 25449 builtin and then its argument prototype would still apply. */ 25450#ifdef __cplusplus 25451extern "C" 25452#endif 25453char libcdata_list_get_last_element (); 25454int 25455main () 25456{ 25457return libcdata_list_get_last_element (); 25458 ; 25459 return 0; 25460} 25461_ACEOF 25462if ac_fn_c_try_link "$LINENO"; then : 25463 ac_cv_lib_cdata_libcdata_list_get_last_element=yes 25464else 25465 ac_cv_lib_cdata_libcdata_list_get_last_element=no 25466fi 25467rm -f core conftest.err conftest.$ac_objext \ 25468 conftest$ac_exeext conftest.$ac_ext 25469LIBS=$ac_check_lib_save_LIBS 25470fi 25471{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_get_last_element" >&5 25472$as_echo "$ac_cv_lib_cdata_libcdata_list_get_last_element" >&6; } 25473if test "x$ac_cv_lib_cdata_libcdata_list_get_last_element" = xyes; then : 25474 ac_cv_libcdata_dummy=yes 25475else 25476 ac_cv_libcdata=no 25477fi 25478 25479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_get_element_by_index in -lcdata" >&5 25480$as_echo_n "checking for libcdata_list_get_element_by_index in -lcdata... " >&6; } 25481if ${ac_cv_lib_cdata_libcdata_list_get_element_by_index+:} false; then : 25482 $as_echo_n "(cached) " >&6 25483else 25484 ac_check_lib_save_LIBS=$LIBS 25485LIBS="-lcdata $LIBS" 25486cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25487/* end confdefs.h. */ 25488 25489/* Override any GCC internal prototype to avoid an error. 25490 Use char because int might match the return type of a GCC 25491 builtin and then its argument prototype would still apply. */ 25492#ifdef __cplusplus 25493extern "C" 25494#endif 25495char libcdata_list_get_element_by_index (); 25496int 25497main () 25498{ 25499return libcdata_list_get_element_by_index (); 25500 ; 25501 return 0; 25502} 25503_ACEOF 25504if ac_fn_c_try_link "$LINENO"; then : 25505 ac_cv_lib_cdata_libcdata_list_get_element_by_index=yes 25506else 25507 ac_cv_lib_cdata_libcdata_list_get_element_by_index=no 25508fi 25509rm -f core conftest.err conftest.$ac_objext \ 25510 conftest$ac_exeext conftest.$ac_ext 25511LIBS=$ac_check_lib_save_LIBS 25512fi 25513{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_get_element_by_index" >&5 25514$as_echo "$ac_cv_lib_cdata_libcdata_list_get_element_by_index" >&6; } 25515if test "x$ac_cv_lib_cdata_libcdata_list_get_element_by_index" = xyes; then : 25516 ac_cv_libcdata_dummy=yes 25517else 25518 ac_cv_libcdata=no 25519fi 25520 25521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_get_value_by_index in -lcdata" >&5 25522$as_echo_n "checking for libcdata_list_get_value_by_index in -lcdata... " >&6; } 25523if ${ac_cv_lib_cdata_libcdata_list_get_value_by_index+:} false; then : 25524 $as_echo_n "(cached) " >&6 25525else 25526 ac_check_lib_save_LIBS=$LIBS 25527LIBS="-lcdata $LIBS" 25528cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25529/* end confdefs.h. */ 25530 25531/* Override any GCC internal prototype to avoid an error. 25532 Use char because int might match the return type of a GCC 25533 builtin and then its argument prototype would still apply. */ 25534#ifdef __cplusplus 25535extern "C" 25536#endif 25537char libcdata_list_get_value_by_index (); 25538int 25539main () 25540{ 25541return libcdata_list_get_value_by_index (); 25542 ; 25543 return 0; 25544} 25545_ACEOF 25546if ac_fn_c_try_link "$LINENO"; then : 25547 ac_cv_lib_cdata_libcdata_list_get_value_by_index=yes 25548else 25549 ac_cv_lib_cdata_libcdata_list_get_value_by_index=no 25550fi 25551rm -f core conftest.err conftest.$ac_objext \ 25552 conftest$ac_exeext conftest.$ac_ext 25553LIBS=$ac_check_lib_save_LIBS 25554fi 25555{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_get_value_by_index" >&5 25556$as_echo "$ac_cv_lib_cdata_libcdata_list_get_value_by_index" >&6; } 25557if test "x$ac_cv_lib_cdata_libcdata_list_get_value_by_index" = xyes; then : 25558 ac_cv_libcdata_dummy=yes 25559else 25560 ac_cv_libcdata=no 25561fi 25562 25563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_prepend_element in -lcdata" >&5 25564$as_echo_n "checking for libcdata_list_prepend_element in -lcdata... " >&6; } 25565if ${ac_cv_lib_cdata_libcdata_list_prepend_element+:} false; then : 25566 $as_echo_n "(cached) " >&6 25567else 25568 ac_check_lib_save_LIBS=$LIBS 25569LIBS="-lcdata $LIBS" 25570cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25571/* end confdefs.h. */ 25572 25573/* Override any GCC internal prototype to avoid an error. 25574 Use char because int might match the return type of a GCC 25575 builtin and then its argument prototype would still apply. */ 25576#ifdef __cplusplus 25577extern "C" 25578#endif 25579char libcdata_list_prepend_element (); 25580int 25581main () 25582{ 25583return libcdata_list_prepend_element (); 25584 ; 25585 return 0; 25586} 25587_ACEOF 25588if ac_fn_c_try_link "$LINENO"; then : 25589 ac_cv_lib_cdata_libcdata_list_prepend_element=yes 25590else 25591 ac_cv_lib_cdata_libcdata_list_prepend_element=no 25592fi 25593rm -f core conftest.err conftest.$ac_objext \ 25594 conftest$ac_exeext conftest.$ac_ext 25595LIBS=$ac_check_lib_save_LIBS 25596fi 25597{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_prepend_element" >&5 25598$as_echo "$ac_cv_lib_cdata_libcdata_list_prepend_element" >&6; } 25599if test "x$ac_cv_lib_cdata_libcdata_list_prepend_element" = xyes; then : 25600 ac_cv_libcdata_dummy=yes 25601else 25602 ac_cv_libcdata=no 25603fi 25604 25605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_prepend_value in -lcdata" >&5 25606$as_echo_n "checking for libcdata_list_prepend_value in -lcdata... " >&6; } 25607if ${ac_cv_lib_cdata_libcdata_list_prepend_value+:} false; then : 25608 $as_echo_n "(cached) " >&6 25609else 25610 ac_check_lib_save_LIBS=$LIBS 25611LIBS="-lcdata $LIBS" 25612cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25613/* end confdefs.h. */ 25614 25615/* Override any GCC internal prototype to avoid an error. 25616 Use char because int might match the return type of a GCC 25617 builtin and then its argument prototype would still apply. */ 25618#ifdef __cplusplus 25619extern "C" 25620#endif 25621char libcdata_list_prepend_value (); 25622int 25623main () 25624{ 25625return libcdata_list_prepend_value (); 25626 ; 25627 return 0; 25628} 25629_ACEOF 25630if ac_fn_c_try_link "$LINENO"; then : 25631 ac_cv_lib_cdata_libcdata_list_prepend_value=yes 25632else 25633 ac_cv_lib_cdata_libcdata_list_prepend_value=no 25634fi 25635rm -f core conftest.err conftest.$ac_objext \ 25636 conftest$ac_exeext conftest.$ac_ext 25637LIBS=$ac_check_lib_save_LIBS 25638fi 25639{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_prepend_value" >&5 25640$as_echo "$ac_cv_lib_cdata_libcdata_list_prepend_value" >&6; } 25641if test "x$ac_cv_lib_cdata_libcdata_list_prepend_value" = xyes; then : 25642 ac_cv_libcdata_dummy=yes 25643else 25644 ac_cv_libcdata=no 25645fi 25646 25647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_append_element in -lcdata" >&5 25648$as_echo_n "checking for libcdata_list_append_element in -lcdata... " >&6; } 25649if ${ac_cv_lib_cdata_libcdata_list_append_element+:} false; then : 25650 $as_echo_n "(cached) " >&6 25651else 25652 ac_check_lib_save_LIBS=$LIBS 25653LIBS="-lcdata $LIBS" 25654cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25655/* end confdefs.h. */ 25656 25657/* Override any GCC internal prototype to avoid an error. 25658 Use char because int might match the return type of a GCC 25659 builtin and then its argument prototype would still apply. */ 25660#ifdef __cplusplus 25661extern "C" 25662#endif 25663char libcdata_list_append_element (); 25664int 25665main () 25666{ 25667return libcdata_list_append_element (); 25668 ; 25669 return 0; 25670} 25671_ACEOF 25672if ac_fn_c_try_link "$LINENO"; then : 25673 ac_cv_lib_cdata_libcdata_list_append_element=yes 25674else 25675 ac_cv_lib_cdata_libcdata_list_append_element=no 25676fi 25677rm -f core conftest.err conftest.$ac_objext \ 25678 conftest$ac_exeext conftest.$ac_ext 25679LIBS=$ac_check_lib_save_LIBS 25680fi 25681{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_append_element" >&5 25682$as_echo "$ac_cv_lib_cdata_libcdata_list_append_element" >&6; } 25683if test "x$ac_cv_lib_cdata_libcdata_list_append_element" = xyes; then : 25684 ac_cv_libcdata_dummy=yes 25685else 25686 ac_cv_libcdata=no 25687fi 25688 25689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_append_value in -lcdata" >&5 25690$as_echo_n "checking for libcdata_list_append_value in -lcdata... " >&6; } 25691if ${ac_cv_lib_cdata_libcdata_list_append_value+:} false; then : 25692 $as_echo_n "(cached) " >&6 25693else 25694 ac_check_lib_save_LIBS=$LIBS 25695LIBS="-lcdata $LIBS" 25696cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25697/* end confdefs.h. */ 25698 25699/* Override any GCC internal prototype to avoid an error. 25700 Use char because int might match the return type of a GCC 25701 builtin and then its argument prototype would still apply. */ 25702#ifdef __cplusplus 25703extern "C" 25704#endif 25705char libcdata_list_append_value (); 25706int 25707main () 25708{ 25709return libcdata_list_append_value (); 25710 ; 25711 return 0; 25712} 25713_ACEOF 25714if ac_fn_c_try_link "$LINENO"; then : 25715 ac_cv_lib_cdata_libcdata_list_append_value=yes 25716else 25717 ac_cv_lib_cdata_libcdata_list_append_value=no 25718fi 25719rm -f core conftest.err conftest.$ac_objext \ 25720 conftest$ac_exeext conftest.$ac_ext 25721LIBS=$ac_check_lib_save_LIBS 25722fi 25723{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_append_value" >&5 25724$as_echo "$ac_cv_lib_cdata_libcdata_list_append_value" >&6; } 25725if test "x$ac_cv_lib_cdata_libcdata_list_append_value" = xyes; then : 25726 ac_cv_libcdata_dummy=yes 25727else 25728 ac_cv_libcdata=no 25729fi 25730 25731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_insert_element in -lcdata" >&5 25732$as_echo_n "checking for libcdata_list_insert_element in -lcdata... " >&6; } 25733if ${ac_cv_lib_cdata_libcdata_list_insert_element+:} false; then : 25734 $as_echo_n "(cached) " >&6 25735else 25736 ac_check_lib_save_LIBS=$LIBS 25737LIBS="-lcdata $LIBS" 25738cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25739/* end confdefs.h. */ 25740 25741/* Override any GCC internal prototype to avoid an error. 25742 Use char because int might match the return type of a GCC 25743 builtin and then its argument prototype would still apply. */ 25744#ifdef __cplusplus 25745extern "C" 25746#endif 25747char libcdata_list_insert_element (); 25748int 25749main () 25750{ 25751return libcdata_list_insert_element (); 25752 ; 25753 return 0; 25754} 25755_ACEOF 25756if ac_fn_c_try_link "$LINENO"; then : 25757 ac_cv_lib_cdata_libcdata_list_insert_element=yes 25758else 25759 ac_cv_lib_cdata_libcdata_list_insert_element=no 25760fi 25761rm -f core conftest.err conftest.$ac_objext \ 25762 conftest$ac_exeext conftest.$ac_ext 25763LIBS=$ac_check_lib_save_LIBS 25764fi 25765{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_insert_element" >&5 25766$as_echo "$ac_cv_lib_cdata_libcdata_list_insert_element" >&6; } 25767if test "x$ac_cv_lib_cdata_libcdata_list_insert_element" = xyes; then : 25768 ac_cv_libcdata_dummy=yes 25769else 25770 ac_cv_libcdata=no 25771fi 25772 25773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_insert_value in -lcdata" >&5 25774$as_echo_n "checking for libcdata_list_insert_value in -lcdata... " >&6; } 25775if ${ac_cv_lib_cdata_libcdata_list_insert_value+:} false; then : 25776 $as_echo_n "(cached) " >&6 25777else 25778 ac_check_lib_save_LIBS=$LIBS 25779LIBS="-lcdata $LIBS" 25780cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25781/* end confdefs.h. */ 25782 25783/* Override any GCC internal prototype to avoid an error. 25784 Use char because int might match the return type of a GCC 25785 builtin and then its argument prototype would still apply. */ 25786#ifdef __cplusplus 25787extern "C" 25788#endif 25789char libcdata_list_insert_value (); 25790int 25791main () 25792{ 25793return libcdata_list_insert_value (); 25794 ; 25795 return 0; 25796} 25797_ACEOF 25798if ac_fn_c_try_link "$LINENO"; then : 25799 ac_cv_lib_cdata_libcdata_list_insert_value=yes 25800else 25801 ac_cv_lib_cdata_libcdata_list_insert_value=no 25802fi 25803rm -f core conftest.err conftest.$ac_objext \ 25804 conftest$ac_exeext conftest.$ac_ext 25805LIBS=$ac_check_lib_save_LIBS 25806fi 25807{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_insert_value" >&5 25808$as_echo "$ac_cv_lib_cdata_libcdata_list_insert_value" >&6; } 25809if test "x$ac_cv_lib_cdata_libcdata_list_insert_value" = xyes; then : 25810 ac_cv_libcdata_dummy=yes 25811else 25812 ac_cv_libcdata=no 25813fi 25814 25815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_remove_element in -lcdata" >&5 25816$as_echo_n "checking for libcdata_list_remove_element in -lcdata... " >&6; } 25817if ${ac_cv_lib_cdata_libcdata_list_remove_element+:} false; then : 25818 $as_echo_n "(cached) " >&6 25819else 25820 ac_check_lib_save_LIBS=$LIBS 25821LIBS="-lcdata $LIBS" 25822cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25823/* end confdefs.h. */ 25824 25825/* Override any GCC internal prototype to avoid an error. 25826 Use char because int might match the return type of a GCC 25827 builtin and then its argument prototype would still apply. */ 25828#ifdef __cplusplus 25829extern "C" 25830#endif 25831char libcdata_list_remove_element (); 25832int 25833main () 25834{ 25835return libcdata_list_remove_element (); 25836 ; 25837 return 0; 25838} 25839_ACEOF 25840if ac_fn_c_try_link "$LINENO"; then : 25841 ac_cv_lib_cdata_libcdata_list_remove_element=yes 25842else 25843 ac_cv_lib_cdata_libcdata_list_remove_element=no 25844fi 25845rm -f core conftest.err conftest.$ac_objext \ 25846 conftest$ac_exeext conftest.$ac_ext 25847LIBS=$ac_check_lib_save_LIBS 25848fi 25849{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_remove_element" >&5 25850$as_echo "$ac_cv_lib_cdata_libcdata_list_remove_element" >&6; } 25851if test "x$ac_cv_lib_cdata_libcdata_list_remove_element" = xyes; then : 25852 ac_cv_libcdata_dummy=yes 25853else 25854 ac_cv_libcdata=no 25855fi 25856 25857 25858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_initialize in -lcdata" >&5 25859$as_echo_n "checking for libcdata_list_element_initialize in -lcdata... " >&6; } 25860if ${ac_cv_lib_cdata_libcdata_list_element_initialize+:} false; then : 25861 $as_echo_n "(cached) " >&6 25862else 25863 ac_check_lib_save_LIBS=$LIBS 25864LIBS="-lcdata $LIBS" 25865cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25866/* end confdefs.h. */ 25867 25868/* Override any GCC internal prototype to avoid an error. 25869 Use char because int might match the return type of a GCC 25870 builtin and then its argument prototype would still apply. */ 25871#ifdef __cplusplus 25872extern "C" 25873#endif 25874char libcdata_list_element_initialize (); 25875int 25876main () 25877{ 25878return libcdata_list_element_initialize (); 25879 ; 25880 return 0; 25881} 25882_ACEOF 25883if ac_fn_c_try_link "$LINENO"; then : 25884 ac_cv_lib_cdata_libcdata_list_element_initialize=yes 25885else 25886 ac_cv_lib_cdata_libcdata_list_element_initialize=no 25887fi 25888rm -f core conftest.err conftest.$ac_objext \ 25889 conftest$ac_exeext conftest.$ac_ext 25890LIBS=$ac_check_lib_save_LIBS 25891fi 25892{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_initialize" >&5 25893$as_echo "$ac_cv_lib_cdata_libcdata_list_element_initialize" >&6; } 25894if test "x$ac_cv_lib_cdata_libcdata_list_element_initialize" = xyes; then : 25895 ac_cv_libcdata_dummy=yes 25896else 25897 ac_cv_libcdata=no 25898fi 25899 25900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_free in -lcdata" >&5 25901$as_echo_n "checking for libcdata_list_element_free in -lcdata... " >&6; } 25902if ${ac_cv_lib_cdata_libcdata_list_element_free+:} false; then : 25903 $as_echo_n "(cached) " >&6 25904else 25905 ac_check_lib_save_LIBS=$LIBS 25906LIBS="-lcdata $LIBS" 25907cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25908/* end confdefs.h. */ 25909 25910/* Override any GCC internal prototype to avoid an error. 25911 Use char because int might match the return type of a GCC 25912 builtin and then its argument prototype would still apply. */ 25913#ifdef __cplusplus 25914extern "C" 25915#endif 25916char libcdata_list_element_free (); 25917int 25918main () 25919{ 25920return libcdata_list_element_free (); 25921 ; 25922 return 0; 25923} 25924_ACEOF 25925if ac_fn_c_try_link "$LINENO"; then : 25926 ac_cv_lib_cdata_libcdata_list_element_free=yes 25927else 25928 ac_cv_lib_cdata_libcdata_list_element_free=no 25929fi 25930rm -f core conftest.err conftest.$ac_objext \ 25931 conftest$ac_exeext conftest.$ac_ext 25932LIBS=$ac_check_lib_save_LIBS 25933fi 25934{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_free" >&5 25935$as_echo "$ac_cv_lib_cdata_libcdata_list_element_free" >&6; } 25936if test "x$ac_cv_lib_cdata_libcdata_list_element_free" = xyes; then : 25937 ac_cv_libcdata_dummy=yes 25938else 25939 ac_cv_libcdata=no 25940fi 25941 25942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_get_value in -lcdata" >&5 25943$as_echo_n "checking for libcdata_list_element_get_value in -lcdata... " >&6; } 25944if ${ac_cv_lib_cdata_libcdata_list_element_get_value+:} false; then : 25945 $as_echo_n "(cached) " >&6 25946else 25947 ac_check_lib_save_LIBS=$LIBS 25948LIBS="-lcdata $LIBS" 25949cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25950/* end confdefs.h. */ 25951 25952/* Override any GCC internal prototype to avoid an error. 25953 Use char because int might match the return type of a GCC 25954 builtin and then its argument prototype would still apply. */ 25955#ifdef __cplusplus 25956extern "C" 25957#endif 25958char libcdata_list_element_get_value (); 25959int 25960main () 25961{ 25962return libcdata_list_element_get_value (); 25963 ; 25964 return 0; 25965} 25966_ACEOF 25967if ac_fn_c_try_link "$LINENO"; then : 25968 ac_cv_lib_cdata_libcdata_list_element_get_value=yes 25969else 25970 ac_cv_lib_cdata_libcdata_list_element_get_value=no 25971fi 25972rm -f core conftest.err conftest.$ac_objext \ 25973 conftest$ac_exeext conftest.$ac_ext 25974LIBS=$ac_check_lib_save_LIBS 25975fi 25976{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_get_value" >&5 25977$as_echo "$ac_cv_lib_cdata_libcdata_list_element_get_value" >&6; } 25978if test "x$ac_cv_lib_cdata_libcdata_list_element_get_value" = xyes; then : 25979 ac_cv_libcdata_dummy=yes 25980else 25981 ac_cv_libcdata=no 25982fi 25983 25984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_set_value in -lcdata" >&5 25985$as_echo_n "checking for libcdata_list_element_set_value in -lcdata... " >&6; } 25986if ${ac_cv_lib_cdata_libcdata_list_element_set_value+:} false; then : 25987 $as_echo_n "(cached) " >&6 25988else 25989 ac_check_lib_save_LIBS=$LIBS 25990LIBS="-lcdata $LIBS" 25991cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25992/* end confdefs.h. */ 25993 25994/* Override any GCC internal prototype to avoid an error. 25995 Use char because int might match the return type of a GCC 25996 builtin and then its argument prototype would still apply. */ 25997#ifdef __cplusplus 25998extern "C" 25999#endif 26000char libcdata_list_element_set_value (); 26001int 26002main () 26003{ 26004return libcdata_list_element_set_value (); 26005 ; 26006 return 0; 26007} 26008_ACEOF 26009if ac_fn_c_try_link "$LINENO"; then : 26010 ac_cv_lib_cdata_libcdata_list_element_set_value=yes 26011else 26012 ac_cv_lib_cdata_libcdata_list_element_set_value=no 26013fi 26014rm -f core conftest.err conftest.$ac_objext \ 26015 conftest$ac_exeext conftest.$ac_ext 26016LIBS=$ac_check_lib_save_LIBS 26017fi 26018{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_set_value" >&5 26019$as_echo "$ac_cv_lib_cdata_libcdata_list_element_set_value" >&6; } 26020if test "x$ac_cv_lib_cdata_libcdata_list_element_set_value" = xyes; then : 26021 ac_cv_libcdata_dummy=yes 26022else 26023 ac_cv_libcdata=no 26024fi 26025 26026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_get_previous_element in -lcdata" >&5 26027$as_echo_n "checking for libcdata_list_element_get_previous_element in -lcdata... " >&6; } 26028if ${ac_cv_lib_cdata_libcdata_list_element_get_previous_element+:} false; then : 26029 $as_echo_n "(cached) " >&6 26030else 26031 ac_check_lib_save_LIBS=$LIBS 26032LIBS="-lcdata $LIBS" 26033cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26034/* end confdefs.h. */ 26035 26036/* Override any GCC internal prototype to avoid an error. 26037 Use char because int might match the return type of a GCC 26038 builtin and then its argument prototype would still apply. */ 26039#ifdef __cplusplus 26040extern "C" 26041#endif 26042char libcdata_list_element_get_previous_element (); 26043int 26044main () 26045{ 26046return libcdata_list_element_get_previous_element (); 26047 ; 26048 return 0; 26049} 26050_ACEOF 26051if ac_fn_c_try_link "$LINENO"; then : 26052 ac_cv_lib_cdata_libcdata_list_element_get_previous_element=yes 26053else 26054 ac_cv_lib_cdata_libcdata_list_element_get_previous_element=no 26055fi 26056rm -f core conftest.err conftest.$ac_objext \ 26057 conftest$ac_exeext conftest.$ac_ext 26058LIBS=$ac_check_lib_save_LIBS 26059fi 26060{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_get_previous_element" >&5 26061$as_echo "$ac_cv_lib_cdata_libcdata_list_element_get_previous_element" >&6; } 26062if test "x$ac_cv_lib_cdata_libcdata_list_element_get_previous_element" = xyes; then : 26063 ac_cv_libcdata_dummy=yes 26064else 26065 ac_cv_libcdata=no 26066fi 26067 26068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_set_previous_element in -lcdata" >&5 26069$as_echo_n "checking for libcdata_list_element_set_previous_element in -lcdata... " >&6; } 26070if ${ac_cv_lib_cdata_libcdata_list_element_set_previous_element+:} false; then : 26071 $as_echo_n "(cached) " >&6 26072else 26073 ac_check_lib_save_LIBS=$LIBS 26074LIBS="-lcdata $LIBS" 26075cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26076/* end confdefs.h. */ 26077 26078/* Override any GCC internal prototype to avoid an error. 26079 Use char because int might match the return type of a GCC 26080 builtin and then its argument prototype would still apply. */ 26081#ifdef __cplusplus 26082extern "C" 26083#endif 26084char libcdata_list_element_set_previous_element (); 26085int 26086main () 26087{ 26088return libcdata_list_element_set_previous_element (); 26089 ; 26090 return 0; 26091} 26092_ACEOF 26093if ac_fn_c_try_link "$LINENO"; then : 26094 ac_cv_lib_cdata_libcdata_list_element_set_previous_element=yes 26095else 26096 ac_cv_lib_cdata_libcdata_list_element_set_previous_element=no 26097fi 26098rm -f core conftest.err conftest.$ac_objext \ 26099 conftest$ac_exeext conftest.$ac_ext 26100LIBS=$ac_check_lib_save_LIBS 26101fi 26102{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_set_previous_element" >&5 26103$as_echo "$ac_cv_lib_cdata_libcdata_list_element_set_previous_element" >&6; } 26104if test "x$ac_cv_lib_cdata_libcdata_list_element_set_previous_element" = xyes; then : 26105 ac_cv_libcdata_dummy=yes 26106else 26107 ac_cv_libcdata=no 26108fi 26109 26110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_get_next_element in -lcdata" >&5 26111$as_echo_n "checking for libcdata_list_element_get_next_element in -lcdata... " >&6; } 26112if ${ac_cv_lib_cdata_libcdata_list_element_get_next_element+:} false; then : 26113 $as_echo_n "(cached) " >&6 26114else 26115 ac_check_lib_save_LIBS=$LIBS 26116LIBS="-lcdata $LIBS" 26117cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26118/* end confdefs.h. */ 26119 26120/* Override any GCC internal prototype to avoid an error. 26121 Use char because int might match the return type of a GCC 26122 builtin and then its argument prototype would still apply. */ 26123#ifdef __cplusplus 26124extern "C" 26125#endif 26126char libcdata_list_element_get_next_element (); 26127int 26128main () 26129{ 26130return libcdata_list_element_get_next_element (); 26131 ; 26132 return 0; 26133} 26134_ACEOF 26135if ac_fn_c_try_link "$LINENO"; then : 26136 ac_cv_lib_cdata_libcdata_list_element_get_next_element=yes 26137else 26138 ac_cv_lib_cdata_libcdata_list_element_get_next_element=no 26139fi 26140rm -f core conftest.err conftest.$ac_objext \ 26141 conftest$ac_exeext conftest.$ac_ext 26142LIBS=$ac_check_lib_save_LIBS 26143fi 26144{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_get_next_element" >&5 26145$as_echo "$ac_cv_lib_cdata_libcdata_list_element_get_next_element" >&6; } 26146if test "x$ac_cv_lib_cdata_libcdata_list_element_get_next_element" = xyes; then : 26147 ac_cv_libcdata_dummy=yes 26148else 26149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_set_next_element in -lcdata" >&5 26150$as_echo_n "checking for libcdata_list_element_set_next_element in -lcdata... " >&6; } 26151if ${ac_cv_lib_cdata_libcdata_list_element_set_next_element+:} false; then : 26152 $as_echo_n "(cached) " >&6 26153else 26154 ac_check_lib_save_LIBS=$LIBS 26155LIBS="-lcdata $LIBS" 26156cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26157/* end confdefs.h. */ 26158 26159/* Override any GCC internal prototype to avoid an error. 26160 Use char because int might match the return type of a GCC 26161 builtin and then its argument prototype would still apply. */ 26162#ifdef __cplusplus 26163extern "C" 26164#endif 26165char libcdata_list_element_set_next_element (); 26166int 26167main () 26168{ 26169return libcdata_list_element_set_next_element (); 26170 ; 26171 return 0; 26172} 26173_ACEOF 26174if ac_fn_c_try_link "$LINENO"; then : 26175 ac_cv_lib_cdata_libcdata_list_element_set_next_element=yes 26176else 26177 ac_cv_lib_cdata_libcdata_list_element_set_next_element=no 26178fi 26179rm -f core conftest.err conftest.$ac_objext \ 26180 conftest$ac_exeext conftest.$ac_ext 26181LIBS=$ac_check_lib_save_LIBS 26182fi 26183{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_set_next_element" >&5 26184$as_echo "$ac_cv_lib_cdata_libcdata_list_element_set_next_element" >&6; } 26185if test "x$ac_cv_lib_cdata_libcdata_list_element_set_next_element" = xyes; then : 26186 ac_cv_libcdata_dummy=yes 26187else 26188 ac_cv_libcdata=no 26189fi 26190 26191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_get_elements in -lcdata" >&5 26192$as_echo_n "checking for libcdata_list_element_get_elements in -lcdata... " >&6; } 26193if ${ac_cv_lib_cdata_libcdata_list_element_get_elements+:} false; then : 26194 $as_echo_n "(cached) " >&6 26195else 26196 ac_check_lib_save_LIBS=$LIBS 26197LIBS="-lcdata $LIBS" 26198cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26199/* end confdefs.h. */ 26200 26201/* Override any GCC internal prototype to avoid an error. 26202 Use char because int might match the return type of a GCC 26203 builtin and then its argument prototype would still apply. */ 26204#ifdef __cplusplus 26205extern "C" 26206#endif 26207char libcdata_list_element_get_elements (); 26208int 26209main () 26210{ 26211return libcdata_list_element_get_elements (); 26212 ; 26213 return 0; 26214} 26215_ACEOF 26216if ac_fn_c_try_link "$LINENO"; then : 26217 ac_cv_lib_cdata_libcdata_list_element_get_elements=yes 26218else 26219 ac_cv_lib_cdata_libcdata_list_element_get_elements=no 26220fi 26221rm -f core conftest.err conftest.$ac_objext \ 26222 conftest$ac_exeext conftest.$ac_ext 26223LIBS=$ac_check_lib_save_LIBS 26224fi 26225{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_get_elements" >&5 26226$as_echo "$ac_cv_lib_cdata_libcdata_list_element_get_elements" >&6; } 26227if test "x$ac_cv_lib_cdata_libcdata_list_element_get_elements" = xyes; then : 26228 ac_cv_libcdata_dummy=yes 26229else 26230 ac_cv_libcdata=no 26231fi 26232 26233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_set_elements in -lcdata" >&5 26234$as_echo_n "checking for libcdata_list_element_set_elements in -lcdata... " >&6; } 26235if ${ac_cv_lib_cdata_libcdata_list_element_set_elements+:} false; then : 26236 $as_echo_n "(cached) " >&6 26237else 26238 ac_check_lib_save_LIBS=$LIBS 26239LIBS="-lcdata $LIBS" 26240cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26241/* end confdefs.h. */ 26242 26243/* Override any GCC internal prototype to avoid an error. 26244 Use char because int might match the return type of a GCC 26245 builtin and then its argument prototype would still apply. */ 26246#ifdef __cplusplus 26247extern "C" 26248#endif 26249char libcdata_list_element_set_elements (); 26250int 26251main () 26252{ 26253return libcdata_list_element_set_elements (); 26254 ; 26255 return 0; 26256} 26257_ACEOF 26258if ac_fn_c_try_link "$LINENO"; then : 26259 ac_cv_lib_cdata_libcdata_list_element_set_elements=yes 26260else 26261 ac_cv_lib_cdata_libcdata_list_element_set_elements=no 26262fi 26263rm -f core conftest.err conftest.$ac_objext \ 26264 conftest$ac_exeext conftest.$ac_ext 26265LIBS=$ac_check_lib_save_LIBS 26266fi 26267{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_set_elements" >&5 26268$as_echo "$ac_cv_lib_cdata_libcdata_list_element_set_elements" >&6; } 26269if test "x$ac_cv_lib_cdata_libcdata_list_element_set_elements" = xyes; then : 26270 ac_cv_libcdata_dummy=yes 26271else 26272 ac_cv_libcdata=no 26273fi 26274 26275 ac_cv_libcdata=no 26276fi 26277 26278 26279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_initialize in -lcdata" >&5 26280$as_echo_n "checking for libcdata_range_list_initialize in -lcdata... " >&6; } 26281if ${ac_cv_lib_cdata_libcdata_range_list_initialize+:} false; then : 26282 $as_echo_n "(cached) " >&6 26283else 26284 ac_check_lib_save_LIBS=$LIBS 26285LIBS="-lcdata $LIBS" 26286cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26287/* end confdefs.h. */ 26288 26289/* Override any GCC internal prototype to avoid an error. 26290 Use char because int might match the return type of a GCC 26291 builtin and then its argument prototype would still apply. */ 26292#ifdef __cplusplus 26293extern "C" 26294#endif 26295char libcdata_range_list_initialize (); 26296int 26297main () 26298{ 26299return libcdata_range_list_initialize (); 26300 ; 26301 return 0; 26302} 26303_ACEOF 26304if ac_fn_c_try_link "$LINENO"; then : 26305 ac_cv_lib_cdata_libcdata_range_list_initialize=yes 26306else 26307 ac_cv_lib_cdata_libcdata_range_list_initialize=no 26308fi 26309rm -f core conftest.err conftest.$ac_objext \ 26310 conftest$ac_exeext conftest.$ac_ext 26311LIBS=$ac_check_lib_save_LIBS 26312fi 26313{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_initialize" >&5 26314$as_echo "$ac_cv_lib_cdata_libcdata_range_list_initialize" >&6; } 26315if test "x$ac_cv_lib_cdata_libcdata_range_list_initialize" = xyes; then : 26316 ac_cv_libcdata_dummy=yes 26317else 26318 ac_cv_libcdata=no 26319fi 26320 26321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_free in -lcdata" >&5 26322$as_echo_n "checking for libcdata_range_list_free in -lcdata... " >&6; } 26323if ${ac_cv_lib_cdata_libcdata_range_list_free+:} false; then : 26324 $as_echo_n "(cached) " >&6 26325else 26326 ac_check_lib_save_LIBS=$LIBS 26327LIBS="-lcdata $LIBS" 26328cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26329/* end confdefs.h. */ 26330 26331/* Override any GCC internal prototype to avoid an error. 26332 Use char because int might match the return type of a GCC 26333 builtin and then its argument prototype would still apply. */ 26334#ifdef __cplusplus 26335extern "C" 26336#endif 26337char libcdata_range_list_free (); 26338int 26339main () 26340{ 26341return libcdata_range_list_free (); 26342 ; 26343 return 0; 26344} 26345_ACEOF 26346if ac_fn_c_try_link "$LINENO"; then : 26347 ac_cv_lib_cdata_libcdata_range_list_free=yes 26348else 26349 ac_cv_lib_cdata_libcdata_range_list_free=no 26350fi 26351rm -f core conftest.err conftest.$ac_objext \ 26352 conftest$ac_exeext conftest.$ac_ext 26353LIBS=$ac_check_lib_save_LIBS 26354fi 26355{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_free" >&5 26356$as_echo "$ac_cv_lib_cdata_libcdata_range_list_free" >&6; } 26357if test "x$ac_cv_lib_cdata_libcdata_range_list_free" = xyes; then : 26358 ac_cv_libcdata_dummy=yes 26359else 26360 ac_cv_libcdata=no 26361fi 26362 26363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_empty in -lcdata" >&5 26364$as_echo_n "checking for libcdata_range_list_empty in -lcdata... " >&6; } 26365if ${ac_cv_lib_cdata_libcdata_range_list_empty+:} false; then : 26366 $as_echo_n "(cached) " >&6 26367else 26368 ac_check_lib_save_LIBS=$LIBS 26369LIBS="-lcdata $LIBS" 26370cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26371/* end confdefs.h. */ 26372 26373/* Override any GCC internal prototype to avoid an error. 26374 Use char because int might match the return type of a GCC 26375 builtin and then its argument prototype would still apply. */ 26376#ifdef __cplusplus 26377extern "C" 26378#endif 26379char libcdata_range_list_empty (); 26380int 26381main () 26382{ 26383return libcdata_range_list_empty (); 26384 ; 26385 return 0; 26386} 26387_ACEOF 26388if ac_fn_c_try_link "$LINENO"; then : 26389 ac_cv_lib_cdata_libcdata_range_list_empty=yes 26390else 26391 ac_cv_lib_cdata_libcdata_range_list_empty=no 26392fi 26393rm -f core conftest.err conftest.$ac_objext \ 26394 conftest$ac_exeext conftest.$ac_ext 26395LIBS=$ac_check_lib_save_LIBS 26396fi 26397{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_empty" >&5 26398$as_echo "$ac_cv_lib_cdata_libcdata_range_list_empty" >&6; } 26399if test "x$ac_cv_lib_cdata_libcdata_range_list_empty" = xyes; then : 26400 ac_cv_libcdata_dummy=yes 26401else 26402 ac_cv_libcdata=no 26403fi 26404 26405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_clone in -lcdata" >&5 26406$as_echo_n "checking for libcdata_range_list_clone in -lcdata... " >&6; } 26407if ${ac_cv_lib_cdata_libcdata_range_list_clone+:} false; then : 26408 $as_echo_n "(cached) " >&6 26409else 26410 ac_check_lib_save_LIBS=$LIBS 26411LIBS="-lcdata $LIBS" 26412cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26413/* end confdefs.h. */ 26414 26415/* Override any GCC internal prototype to avoid an error. 26416 Use char because int might match the return type of a GCC 26417 builtin and then its argument prototype would still apply. */ 26418#ifdef __cplusplus 26419extern "C" 26420#endif 26421char libcdata_range_list_clone (); 26422int 26423main () 26424{ 26425return libcdata_range_list_clone (); 26426 ; 26427 return 0; 26428} 26429_ACEOF 26430if ac_fn_c_try_link "$LINENO"; then : 26431 ac_cv_lib_cdata_libcdata_range_list_clone=yes 26432else 26433 ac_cv_lib_cdata_libcdata_range_list_clone=no 26434fi 26435rm -f core conftest.err conftest.$ac_objext \ 26436 conftest$ac_exeext conftest.$ac_ext 26437LIBS=$ac_check_lib_save_LIBS 26438fi 26439{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_clone" >&5 26440$as_echo "$ac_cv_lib_cdata_libcdata_range_list_clone" >&6; } 26441if test "x$ac_cv_lib_cdata_libcdata_range_list_clone" = xyes; then : 26442 ac_cv_libcdata_dummy=yes 26443else 26444 ac_cv_libcdata=no 26445fi 26446 26447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_get_number_of_elements in -lcdata" >&5 26448$as_echo_n "checking for libcdata_range_list_get_number_of_elements in -lcdata... " >&6; } 26449if ${ac_cv_lib_cdata_libcdata_range_list_get_number_of_elements+:} false; then : 26450 $as_echo_n "(cached) " >&6 26451else 26452 ac_check_lib_save_LIBS=$LIBS 26453LIBS="-lcdata $LIBS" 26454cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26455/* end confdefs.h. */ 26456 26457/* Override any GCC internal prototype to avoid an error. 26458 Use char because int might match the return type of a GCC 26459 builtin and then its argument prototype would still apply. */ 26460#ifdef __cplusplus 26461extern "C" 26462#endif 26463char libcdata_range_list_get_number_of_elements (); 26464int 26465main () 26466{ 26467return libcdata_range_list_get_number_of_elements (); 26468 ; 26469 return 0; 26470} 26471_ACEOF 26472if ac_fn_c_try_link "$LINENO"; then : 26473 ac_cv_lib_cdata_libcdata_range_list_get_number_of_elements=yes 26474else 26475 ac_cv_lib_cdata_libcdata_range_list_get_number_of_elements=no 26476fi 26477rm -f core conftest.err conftest.$ac_objext \ 26478 conftest$ac_exeext conftest.$ac_ext 26479LIBS=$ac_check_lib_save_LIBS 26480fi 26481{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_get_number_of_elements" >&5 26482$as_echo "$ac_cv_lib_cdata_libcdata_range_list_get_number_of_elements" >&6; } 26483if test "x$ac_cv_lib_cdata_libcdata_range_list_get_number_of_elements" = xyes; then : 26484 ac_cv_libcdata_dummy=yes 26485else 26486 ac_cv_libcdata=no 26487fi 26488 26489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_insert_range in -lcdata" >&5 26490$as_echo_n "checking for libcdata_range_list_insert_range in -lcdata... " >&6; } 26491if ${ac_cv_lib_cdata_libcdata_range_list_insert_range+:} false; then : 26492 $as_echo_n "(cached) " >&6 26493else 26494 ac_check_lib_save_LIBS=$LIBS 26495LIBS="-lcdata $LIBS" 26496cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26497/* end confdefs.h. */ 26498 26499/* Override any GCC internal prototype to avoid an error. 26500 Use char because int might match the return type of a GCC 26501 builtin and then its argument prototype would still apply. */ 26502#ifdef __cplusplus 26503extern "C" 26504#endif 26505char libcdata_range_list_insert_range (); 26506int 26507main () 26508{ 26509return libcdata_range_list_insert_range (); 26510 ; 26511 return 0; 26512} 26513_ACEOF 26514if ac_fn_c_try_link "$LINENO"; then : 26515 ac_cv_lib_cdata_libcdata_range_list_insert_range=yes 26516else 26517 ac_cv_lib_cdata_libcdata_range_list_insert_range=no 26518fi 26519rm -f core conftest.err conftest.$ac_objext \ 26520 conftest$ac_exeext conftest.$ac_ext 26521LIBS=$ac_check_lib_save_LIBS 26522fi 26523{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_insert_range" >&5 26524$as_echo "$ac_cv_lib_cdata_libcdata_range_list_insert_range" >&6; } 26525if test "x$ac_cv_lib_cdata_libcdata_range_list_insert_range" = xyes; then : 26526 ac_cv_libcdata_dummy=yes 26527else 26528 ac_cv_libcdata=no 26529fi 26530 26531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_insert_range_list in -lcdata" >&5 26532$as_echo_n "checking for libcdata_range_list_insert_range_list in -lcdata... " >&6; } 26533if ${ac_cv_lib_cdata_libcdata_range_list_insert_range_list+:} false; then : 26534 $as_echo_n "(cached) " >&6 26535else 26536 ac_check_lib_save_LIBS=$LIBS 26537LIBS="-lcdata $LIBS" 26538cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26539/* end confdefs.h. */ 26540 26541/* Override any GCC internal prototype to avoid an error. 26542 Use char because int might match the return type of a GCC 26543 builtin and then its argument prototype would still apply. */ 26544#ifdef __cplusplus 26545extern "C" 26546#endif 26547char libcdata_range_list_insert_range_list (); 26548int 26549main () 26550{ 26551return libcdata_range_list_insert_range_list (); 26552 ; 26553 return 0; 26554} 26555_ACEOF 26556if ac_fn_c_try_link "$LINENO"; then : 26557 ac_cv_lib_cdata_libcdata_range_list_insert_range_list=yes 26558else 26559 ac_cv_lib_cdata_libcdata_range_list_insert_range_list=no 26560fi 26561rm -f core conftest.err conftest.$ac_objext \ 26562 conftest$ac_exeext conftest.$ac_ext 26563LIBS=$ac_check_lib_save_LIBS 26564fi 26565{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_insert_range_list" >&5 26566$as_echo "$ac_cv_lib_cdata_libcdata_range_list_insert_range_list" >&6; } 26567if test "x$ac_cv_lib_cdata_libcdata_range_list_insert_range_list" = xyes; then : 26568 ac_cv_libcdata_dummy=yes 26569else 26570 ac_cv_libcdata=no 26571fi 26572 26573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_remove_range in -lcdata" >&5 26574$as_echo_n "checking for libcdata_range_list_remove_range in -lcdata... " >&6; } 26575if ${ac_cv_lib_cdata_libcdata_range_list_remove_range+:} false; then : 26576 $as_echo_n "(cached) " >&6 26577else 26578 ac_check_lib_save_LIBS=$LIBS 26579LIBS="-lcdata $LIBS" 26580cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26581/* end confdefs.h. */ 26582 26583/* Override any GCC internal prototype to avoid an error. 26584 Use char because int might match the return type of a GCC 26585 builtin and then its argument prototype would still apply. */ 26586#ifdef __cplusplus 26587extern "C" 26588#endif 26589char libcdata_range_list_remove_range (); 26590int 26591main () 26592{ 26593return libcdata_range_list_remove_range (); 26594 ; 26595 return 0; 26596} 26597_ACEOF 26598if ac_fn_c_try_link "$LINENO"; then : 26599 ac_cv_lib_cdata_libcdata_range_list_remove_range=yes 26600else 26601 ac_cv_lib_cdata_libcdata_range_list_remove_range=no 26602fi 26603rm -f core conftest.err conftest.$ac_objext \ 26604 conftest$ac_exeext conftest.$ac_ext 26605LIBS=$ac_check_lib_save_LIBS 26606fi 26607{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_remove_range" >&5 26608$as_echo "$ac_cv_lib_cdata_libcdata_range_list_remove_range" >&6; } 26609if test "x$ac_cv_lib_cdata_libcdata_range_list_remove_range" = xyes; then : 26610 ac_cv_libcdata_dummy=yes 26611else 26612 ac_cv_libcdata=no 26613fi 26614 26615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_get_range_by_index in -lcdata" >&5 26616$as_echo_n "checking for libcdata_range_list_get_range_by_index in -lcdata... " >&6; } 26617if ${ac_cv_lib_cdata_libcdata_range_list_get_range_by_index+:} false; then : 26618 $as_echo_n "(cached) " >&6 26619else 26620 ac_check_lib_save_LIBS=$LIBS 26621LIBS="-lcdata $LIBS" 26622cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26623/* end confdefs.h. */ 26624 26625/* Override any GCC internal prototype to avoid an error. 26626 Use char because int might match the return type of a GCC 26627 builtin and then its argument prototype would still apply. */ 26628#ifdef __cplusplus 26629extern "C" 26630#endif 26631char libcdata_range_list_get_range_by_index (); 26632int 26633main () 26634{ 26635return libcdata_range_list_get_range_by_index (); 26636 ; 26637 return 0; 26638} 26639_ACEOF 26640if ac_fn_c_try_link "$LINENO"; then : 26641 ac_cv_lib_cdata_libcdata_range_list_get_range_by_index=yes 26642else 26643 ac_cv_lib_cdata_libcdata_range_list_get_range_by_index=no 26644fi 26645rm -f core conftest.err conftest.$ac_objext \ 26646 conftest$ac_exeext conftest.$ac_ext 26647LIBS=$ac_check_lib_save_LIBS 26648fi 26649{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_get_range_by_index" >&5 26650$as_echo "$ac_cv_lib_cdata_libcdata_range_list_get_range_by_index" >&6; } 26651if test "x$ac_cv_lib_cdata_libcdata_range_list_get_range_by_index" = xyes; then : 26652 ac_cv_libcdata_dummy=yes 26653else 26654 ac_cv_libcdata=no 26655fi 26656 26657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_get_range_at_offset in -lcdata" >&5 26658$as_echo_n "checking for libcdata_range_list_get_range_at_offset in -lcdata... " >&6; } 26659if ${ac_cv_lib_cdata_libcdata_range_list_get_range_at_offset+:} false; then : 26660 $as_echo_n "(cached) " >&6 26661else 26662 ac_check_lib_save_LIBS=$LIBS 26663LIBS="-lcdata $LIBS" 26664cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26665/* end confdefs.h. */ 26666 26667/* Override any GCC internal prototype to avoid an error. 26668 Use char because int might match the return type of a GCC 26669 builtin and then its argument prototype would still apply. */ 26670#ifdef __cplusplus 26671extern "C" 26672#endif 26673char libcdata_range_list_get_range_at_offset (); 26674int 26675main () 26676{ 26677return libcdata_range_list_get_range_at_offset (); 26678 ; 26679 return 0; 26680} 26681_ACEOF 26682if ac_fn_c_try_link "$LINENO"; then : 26683 ac_cv_lib_cdata_libcdata_range_list_get_range_at_offset=yes 26684else 26685 ac_cv_lib_cdata_libcdata_range_list_get_range_at_offset=no 26686fi 26687rm -f core conftest.err conftest.$ac_objext \ 26688 conftest$ac_exeext conftest.$ac_ext 26689LIBS=$ac_check_lib_save_LIBS 26690fi 26691{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_get_range_at_offset" >&5 26692$as_echo "$ac_cv_lib_cdata_libcdata_range_list_get_range_at_offset" >&6; } 26693if test "x$ac_cv_lib_cdata_libcdata_range_list_get_range_at_offset" = xyes; then : 26694 ac_cv_libcdata_dummy=yes 26695else 26696 ac_cv_libcdata=no 26697fi 26698 26699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_range_is_present in -lcdata" >&5 26700$as_echo_n "checking for libcdata_range_list_range_is_present in -lcdata... " >&6; } 26701if ${ac_cv_lib_cdata_libcdata_range_list_range_is_present+:} false; then : 26702 $as_echo_n "(cached) " >&6 26703else 26704 ac_check_lib_save_LIBS=$LIBS 26705LIBS="-lcdata $LIBS" 26706cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26707/* end confdefs.h. */ 26708 26709/* Override any GCC internal prototype to avoid an error. 26710 Use char because int might match the return type of a GCC 26711 builtin and then its argument prototype would still apply. */ 26712#ifdef __cplusplus 26713extern "C" 26714#endif 26715char libcdata_range_list_range_is_present (); 26716int 26717main () 26718{ 26719return libcdata_range_list_range_is_present (); 26720 ; 26721 return 0; 26722} 26723_ACEOF 26724if ac_fn_c_try_link "$LINENO"; then : 26725 ac_cv_lib_cdata_libcdata_range_list_range_is_present=yes 26726else 26727 ac_cv_lib_cdata_libcdata_range_list_range_is_present=no 26728fi 26729rm -f core conftest.err conftest.$ac_objext \ 26730 conftest$ac_exeext conftest.$ac_ext 26731LIBS=$ac_check_lib_save_LIBS 26732fi 26733{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_range_is_present" >&5 26734$as_echo "$ac_cv_lib_cdata_libcdata_range_list_range_is_present" >&6; } 26735if test "x$ac_cv_lib_cdata_libcdata_range_list_range_is_present" = xyes; then : 26736 ac_cv_libcdata_dummy=yes 26737else 26738 ac_cv_libcdata=no 26739fi 26740 26741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_range_has_overlapping_range in -lcdata" >&5 26742$as_echo_n "checking for libcdata_range_list_range_has_overlapping_range in -lcdata... " >&6; } 26743if ${ac_cv_lib_cdata_libcdata_range_list_range_has_overlapping_range+:} false; then : 26744 $as_echo_n "(cached) " >&6 26745else 26746 ac_check_lib_save_LIBS=$LIBS 26747LIBS="-lcdata $LIBS" 26748cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26749/* end confdefs.h. */ 26750 26751/* Override any GCC internal prototype to avoid an error. 26752 Use char because int might match the return type of a GCC 26753 builtin and then its argument prototype would still apply. */ 26754#ifdef __cplusplus 26755extern "C" 26756#endif 26757char libcdata_range_list_range_has_overlapping_range (); 26758int 26759main () 26760{ 26761return libcdata_range_list_range_has_overlapping_range (); 26762 ; 26763 return 0; 26764} 26765_ACEOF 26766if ac_fn_c_try_link "$LINENO"; then : 26767 ac_cv_lib_cdata_libcdata_range_list_range_has_overlapping_range=yes 26768else 26769 ac_cv_lib_cdata_libcdata_range_list_range_has_overlapping_range=no 26770fi 26771rm -f core conftest.err conftest.$ac_objext \ 26772 conftest$ac_exeext conftest.$ac_ext 26773LIBS=$ac_check_lib_save_LIBS 26774fi 26775{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_range_has_overlapping_range" >&5 26776$as_echo "$ac_cv_lib_cdata_libcdata_range_list_range_has_overlapping_range" >&6; } 26777if test "x$ac_cv_lib_cdata_libcdata_range_list_range_has_overlapping_range" = xyes; then : 26778 ac_cv_libcdata_dummy=yes 26779else 26780 ac_cv_libcdata=no 26781fi 26782 26783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_get_spanning_range in -lcdata" >&5 26784$as_echo_n "checking for libcdata_range_list_get_spanning_range in -lcdata... " >&6; } 26785if ${ac_cv_lib_cdata_libcdata_range_list_get_spanning_range+:} false; then : 26786 $as_echo_n "(cached) " >&6 26787else 26788 ac_check_lib_save_LIBS=$LIBS 26789LIBS="-lcdata $LIBS" 26790cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26791/* end confdefs.h. */ 26792 26793/* Override any GCC internal prototype to avoid an error. 26794 Use char because int might match the return type of a GCC 26795 builtin and then its argument prototype would still apply. */ 26796#ifdef __cplusplus 26797extern "C" 26798#endif 26799char libcdata_range_list_get_spanning_range (); 26800int 26801main () 26802{ 26803return libcdata_range_list_get_spanning_range (); 26804 ; 26805 return 0; 26806} 26807_ACEOF 26808if ac_fn_c_try_link "$LINENO"; then : 26809 ac_cv_lib_cdata_libcdata_range_list_get_spanning_range=yes 26810else 26811 ac_cv_lib_cdata_libcdata_range_list_get_spanning_range=no 26812fi 26813rm -f core conftest.err conftest.$ac_objext \ 26814 conftest$ac_exeext conftest.$ac_ext 26815LIBS=$ac_check_lib_save_LIBS 26816fi 26817{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_get_spanning_range" >&5 26818$as_echo "$ac_cv_lib_cdata_libcdata_range_list_get_spanning_range" >&6; } 26819if test "x$ac_cv_lib_cdata_libcdata_range_list_get_spanning_range" = xyes; then : 26820 ac_cv_libcdata_dummy=yes 26821else 26822 ac_cv_libcdata=no 26823fi 26824 26825 26826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_initialize in -lcdata" >&5 26827$as_echo_n "checking for libcdata_tree_node_initialize in -lcdata... " >&6; } 26828if ${ac_cv_lib_cdata_libcdata_tree_node_initialize+:} false; then : 26829 $as_echo_n "(cached) " >&6 26830else 26831 ac_check_lib_save_LIBS=$LIBS 26832LIBS="-lcdata $LIBS" 26833cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26834/* end confdefs.h. */ 26835 26836/* Override any GCC internal prototype to avoid an error. 26837 Use char because int might match the return type of a GCC 26838 builtin and then its argument prototype would still apply. */ 26839#ifdef __cplusplus 26840extern "C" 26841#endif 26842char libcdata_tree_node_initialize (); 26843int 26844main () 26845{ 26846return libcdata_tree_node_initialize (); 26847 ; 26848 return 0; 26849} 26850_ACEOF 26851if ac_fn_c_try_link "$LINENO"; then : 26852 ac_cv_lib_cdata_libcdata_tree_node_initialize=yes 26853else 26854 ac_cv_lib_cdata_libcdata_tree_node_initialize=no 26855fi 26856rm -f core conftest.err conftest.$ac_objext \ 26857 conftest$ac_exeext conftest.$ac_ext 26858LIBS=$ac_check_lib_save_LIBS 26859fi 26860{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_initialize" >&5 26861$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_initialize" >&6; } 26862if test "x$ac_cv_lib_cdata_libcdata_tree_node_initialize" = xyes; then : 26863 ac_cv_libcdata_dummy=yes 26864else 26865 ac_cv_libcdata=no 26866fi 26867 26868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_free in -lcdata" >&5 26869$as_echo_n "checking for libcdata_tree_node_free in -lcdata... " >&6; } 26870if ${ac_cv_lib_cdata_libcdata_tree_node_free+:} false; then : 26871 $as_echo_n "(cached) " >&6 26872else 26873 ac_check_lib_save_LIBS=$LIBS 26874LIBS="-lcdata $LIBS" 26875cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26876/* end confdefs.h. */ 26877 26878/* Override any GCC internal prototype to avoid an error. 26879 Use char because int might match the return type of a GCC 26880 builtin and then its argument prototype would still apply. */ 26881#ifdef __cplusplus 26882extern "C" 26883#endif 26884char libcdata_tree_node_free (); 26885int 26886main () 26887{ 26888return libcdata_tree_node_free (); 26889 ; 26890 return 0; 26891} 26892_ACEOF 26893if ac_fn_c_try_link "$LINENO"; then : 26894 ac_cv_lib_cdata_libcdata_tree_node_free=yes 26895else 26896 ac_cv_lib_cdata_libcdata_tree_node_free=no 26897fi 26898rm -f core conftest.err conftest.$ac_objext \ 26899 conftest$ac_exeext conftest.$ac_ext 26900LIBS=$ac_check_lib_save_LIBS 26901fi 26902{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_free" >&5 26903$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_free" >&6; } 26904if test "x$ac_cv_lib_cdata_libcdata_tree_node_free" = xyes; then : 26905 ac_cv_libcdata_dummy=yes 26906else 26907 ac_cv_libcdata=no 26908fi 26909 26910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_empty in -lcdata" >&5 26911$as_echo_n "checking for libcdata_tree_node_empty in -lcdata... " >&6; } 26912if ${ac_cv_lib_cdata_libcdata_tree_node_empty+:} false; then : 26913 $as_echo_n "(cached) " >&6 26914else 26915 ac_check_lib_save_LIBS=$LIBS 26916LIBS="-lcdata $LIBS" 26917cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26918/* end confdefs.h. */ 26919 26920/* Override any GCC internal prototype to avoid an error. 26921 Use char because int might match the return type of a GCC 26922 builtin and then its argument prototype would still apply. */ 26923#ifdef __cplusplus 26924extern "C" 26925#endif 26926char libcdata_tree_node_empty (); 26927int 26928main () 26929{ 26930return libcdata_tree_node_empty (); 26931 ; 26932 return 0; 26933} 26934_ACEOF 26935if ac_fn_c_try_link "$LINENO"; then : 26936 ac_cv_lib_cdata_libcdata_tree_node_empty=yes 26937else 26938 ac_cv_lib_cdata_libcdata_tree_node_empty=no 26939fi 26940rm -f core conftest.err conftest.$ac_objext \ 26941 conftest$ac_exeext conftest.$ac_ext 26942LIBS=$ac_check_lib_save_LIBS 26943fi 26944{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_empty" >&5 26945$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_empty" >&6; } 26946if test "x$ac_cv_lib_cdata_libcdata_tree_node_empty" = xyes; then : 26947 ac_cv_libcdata_dummy=yes 26948else 26949 ac_cv_libcdata=no 26950fi 26951 26952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_clone in -lcdata" >&5 26953$as_echo_n "checking for libcdata_tree_node_clone in -lcdata... " >&6; } 26954if ${ac_cv_lib_cdata_libcdata_tree_node_clone+:} false; then : 26955 $as_echo_n "(cached) " >&6 26956else 26957 ac_check_lib_save_LIBS=$LIBS 26958LIBS="-lcdata $LIBS" 26959cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26960/* end confdefs.h. */ 26961 26962/* Override any GCC internal prototype to avoid an error. 26963 Use char because int might match the return type of a GCC 26964 builtin and then its argument prototype would still apply. */ 26965#ifdef __cplusplus 26966extern "C" 26967#endif 26968char libcdata_tree_node_clone (); 26969int 26970main () 26971{ 26972return libcdata_tree_node_clone (); 26973 ; 26974 return 0; 26975} 26976_ACEOF 26977if ac_fn_c_try_link "$LINENO"; then : 26978 ac_cv_lib_cdata_libcdata_tree_node_clone=yes 26979else 26980 ac_cv_lib_cdata_libcdata_tree_node_clone=no 26981fi 26982rm -f core conftest.err conftest.$ac_objext \ 26983 conftest$ac_exeext conftest.$ac_ext 26984LIBS=$ac_check_lib_save_LIBS 26985fi 26986{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_clone" >&5 26987$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_clone" >&6; } 26988if test "x$ac_cv_lib_cdata_libcdata_tree_node_clone" = xyes; then : 26989 ac_cv_libcdata_dummy=yes 26990else 26991 ac_cv_libcdata=no 26992fi 26993 26994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_value in -lcdata" >&5 26995$as_echo_n "checking for libcdata_tree_node_get_value in -lcdata... " >&6; } 26996if ${ac_cv_lib_cdata_libcdata_tree_node_get_value+:} false; then : 26997 $as_echo_n "(cached) " >&6 26998else 26999 ac_check_lib_save_LIBS=$LIBS 27000LIBS="-lcdata $LIBS" 27001cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27002/* end confdefs.h. */ 27003 27004/* Override any GCC internal prototype to avoid an error. 27005 Use char because int might match the return type of a GCC 27006 builtin and then its argument prototype would still apply. */ 27007#ifdef __cplusplus 27008extern "C" 27009#endif 27010char libcdata_tree_node_get_value (); 27011int 27012main () 27013{ 27014return libcdata_tree_node_get_value (); 27015 ; 27016 return 0; 27017} 27018_ACEOF 27019if ac_fn_c_try_link "$LINENO"; then : 27020 ac_cv_lib_cdata_libcdata_tree_node_get_value=yes 27021else 27022 ac_cv_lib_cdata_libcdata_tree_node_get_value=no 27023fi 27024rm -f core conftest.err conftest.$ac_objext \ 27025 conftest$ac_exeext conftest.$ac_ext 27026LIBS=$ac_check_lib_save_LIBS 27027fi 27028{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_value" >&5 27029$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_value" >&6; } 27030if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_value" = xyes; then : 27031 ac_cv_libcdata_dummy=yes 27032else 27033 ac_cv_libcdata=no 27034fi 27035 27036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_set_value in -lcdata" >&5 27037$as_echo_n "checking for libcdata_tree_node_set_value in -lcdata... " >&6; } 27038if ${ac_cv_lib_cdata_libcdata_tree_node_set_value+:} false; then : 27039 $as_echo_n "(cached) " >&6 27040else 27041 ac_check_lib_save_LIBS=$LIBS 27042LIBS="-lcdata $LIBS" 27043cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27044/* end confdefs.h. */ 27045 27046/* Override any GCC internal prototype to avoid an error. 27047 Use char because int might match the return type of a GCC 27048 builtin and then its argument prototype would still apply. */ 27049#ifdef __cplusplus 27050extern "C" 27051#endif 27052char libcdata_tree_node_set_value (); 27053int 27054main () 27055{ 27056return libcdata_tree_node_set_value (); 27057 ; 27058 return 0; 27059} 27060_ACEOF 27061if ac_fn_c_try_link "$LINENO"; then : 27062 ac_cv_lib_cdata_libcdata_tree_node_set_value=yes 27063else 27064 ac_cv_lib_cdata_libcdata_tree_node_set_value=no 27065fi 27066rm -f core conftest.err conftest.$ac_objext \ 27067 conftest$ac_exeext conftest.$ac_ext 27068LIBS=$ac_check_lib_save_LIBS 27069fi 27070{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_set_value" >&5 27071$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_set_value" >&6; } 27072if test "x$ac_cv_lib_cdata_libcdata_tree_node_set_value" = xyes; then : 27073 ac_cv_libcdata_dummy=yes 27074else 27075 ac_cv_libcdata=no 27076fi 27077 27078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_parent_node in -lcdata" >&5 27079$as_echo_n "checking for libcdata_tree_node_get_parent_node in -lcdata... " >&6; } 27080if ${ac_cv_lib_cdata_libcdata_tree_node_get_parent_node+:} false; then : 27081 $as_echo_n "(cached) " >&6 27082else 27083 ac_check_lib_save_LIBS=$LIBS 27084LIBS="-lcdata $LIBS" 27085cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27086/* end confdefs.h. */ 27087 27088/* Override any GCC internal prototype to avoid an error. 27089 Use char because int might match the return type of a GCC 27090 builtin and then its argument prototype would still apply. */ 27091#ifdef __cplusplus 27092extern "C" 27093#endif 27094char libcdata_tree_node_get_parent_node (); 27095int 27096main () 27097{ 27098return libcdata_tree_node_get_parent_node (); 27099 ; 27100 return 0; 27101} 27102_ACEOF 27103if ac_fn_c_try_link "$LINENO"; then : 27104 ac_cv_lib_cdata_libcdata_tree_node_get_parent_node=yes 27105else 27106 ac_cv_lib_cdata_libcdata_tree_node_get_parent_node=no 27107fi 27108rm -f core conftest.err conftest.$ac_objext \ 27109 conftest$ac_exeext conftest.$ac_ext 27110LIBS=$ac_check_lib_save_LIBS 27111fi 27112{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_parent_node" >&5 27113$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_parent_node" >&6; } 27114if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_parent_node" = xyes; then : 27115 ac_cv_libcdata_dummy=yes 27116else 27117 ac_cv_libcdata=no 27118fi 27119 27120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_set_parent_node in -lcdata" >&5 27121$as_echo_n "checking for libcdata_tree_node_set_parent_node in -lcdata... " >&6; } 27122if ${ac_cv_lib_cdata_libcdata_tree_node_set_parent_node+:} false; then : 27123 $as_echo_n "(cached) " >&6 27124else 27125 ac_check_lib_save_LIBS=$LIBS 27126LIBS="-lcdata $LIBS" 27127cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27128/* end confdefs.h. */ 27129 27130/* Override any GCC internal prototype to avoid an error. 27131 Use char because int might match the return type of a GCC 27132 builtin and then its argument prototype would still apply. */ 27133#ifdef __cplusplus 27134extern "C" 27135#endif 27136char libcdata_tree_node_set_parent_node (); 27137int 27138main () 27139{ 27140return libcdata_tree_node_set_parent_node (); 27141 ; 27142 return 0; 27143} 27144_ACEOF 27145if ac_fn_c_try_link "$LINENO"; then : 27146 ac_cv_lib_cdata_libcdata_tree_node_set_parent_node=yes 27147else 27148 ac_cv_lib_cdata_libcdata_tree_node_set_parent_node=no 27149fi 27150rm -f core conftest.err conftest.$ac_objext \ 27151 conftest$ac_exeext conftest.$ac_ext 27152LIBS=$ac_check_lib_save_LIBS 27153fi 27154{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_set_parent_node" >&5 27155$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_set_parent_node" >&6; } 27156if test "x$ac_cv_lib_cdata_libcdata_tree_node_set_parent_node" = xyes; then : 27157 ac_cv_libcdata_dummy=yes 27158else 27159 ac_cv_libcdata=no 27160fi 27161 27162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_previous_node in -lcdata" >&5 27163$as_echo_n "checking for libcdata_tree_node_get_previous_node in -lcdata... " >&6; } 27164if ${ac_cv_lib_cdata_libcdata_tree_node_get_previous_node+:} false; then : 27165 $as_echo_n "(cached) " >&6 27166else 27167 ac_check_lib_save_LIBS=$LIBS 27168LIBS="-lcdata $LIBS" 27169cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27170/* end confdefs.h. */ 27171 27172/* Override any GCC internal prototype to avoid an error. 27173 Use char because int might match the return type of a GCC 27174 builtin and then its argument prototype would still apply. */ 27175#ifdef __cplusplus 27176extern "C" 27177#endif 27178char libcdata_tree_node_get_previous_node (); 27179int 27180main () 27181{ 27182return libcdata_tree_node_get_previous_node (); 27183 ; 27184 return 0; 27185} 27186_ACEOF 27187if ac_fn_c_try_link "$LINENO"; then : 27188 ac_cv_lib_cdata_libcdata_tree_node_get_previous_node=yes 27189else 27190 ac_cv_lib_cdata_libcdata_tree_node_get_previous_node=no 27191fi 27192rm -f core conftest.err conftest.$ac_objext \ 27193 conftest$ac_exeext conftest.$ac_ext 27194LIBS=$ac_check_lib_save_LIBS 27195fi 27196{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_previous_node" >&5 27197$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_previous_node" >&6; } 27198if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_previous_node" = xyes; then : 27199 ac_cv_libcdata_dummy=yes 27200else 27201 ac_cv_libcdata=no 27202fi 27203 27204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_set_previous_node in -lcdata" >&5 27205$as_echo_n "checking for libcdata_tree_node_set_previous_node in -lcdata... " >&6; } 27206if ${ac_cv_lib_cdata_libcdata_tree_node_set_previous_node+:} false; then : 27207 $as_echo_n "(cached) " >&6 27208else 27209 ac_check_lib_save_LIBS=$LIBS 27210LIBS="-lcdata $LIBS" 27211cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27212/* end confdefs.h. */ 27213 27214/* Override any GCC internal prototype to avoid an error. 27215 Use char because int might match the return type of a GCC 27216 builtin and then its argument prototype would still apply. */ 27217#ifdef __cplusplus 27218extern "C" 27219#endif 27220char libcdata_tree_node_set_previous_node (); 27221int 27222main () 27223{ 27224return libcdata_tree_node_set_previous_node (); 27225 ; 27226 return 0; 27227} 27228_ACEOF 27229if ac_fn_c_try_link "$LINENO"; then : 27230 ac_cv_lib_cdata_libcdata_tree_node_set_previous_node=yes 27231else 27232 ac_cv_lib_cdata_libcdata_tree_node_set_previous_node=no 27233fi 27234rm -f core conftest.err conftest.$ac_objext \ 27235 conftest$ac_exeext conftest.$ac_ext 27236LIBS=$ac_check_lib_save_LIBS 27237fi 27238{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_set_previous_node" >&5 27239$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_set_previous_node" >&6; } 27240if test "x$ac_cv_lib_cdata_libcdata_tree_node_set_previous_node" = xyes; then : 27241 ac_cv_libcdata_dummy=yes 27242else 27243 ac_cv_libcdata=no 27244fi 27245 27246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_next_node in -lcdata" >&5 27247$as_echo_n "checking for libcdata_tree_node_get_next_node in -lcdata... " >&6; } 27248if ${ac_cv_lib_cdata_libcdata_tree_node_get_next_node+:} false; then : 27249 $as_echo_n "(cached) " >&6 27250else 27251 ac_check_lib_save_LIBS=$LIBS 27252LIBS="-lcdata $LIBS" 27253cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27254/* end confdefs.h. */ 27255 27256/* Override any GCC internal prototype to avoid an error. 27257 Use char because int might match the return type of a GCC 27258 builtin and then its argument prototype would still apply. */ 27259#ifdef __cplusplus 27260extern "C" 27261#endif 27262char libcdata_tree_node_get_next_node (); 27263int 27264main () 27265{ 27266return libcdata_tree_node_get_next_node (); 27267 ; 27268 return 0; 27269} 27270_ACEOF 27271if ac_fn_c_try_link "$LINENO"; then : 27272 ac_cv_lib_cdata_libcdata_tree_node_get_next_node=yes 27273else 27274 ac_cv_lib_cdata_libcdata_tree_node_get_next_node=no 27275fi 27276rm -f core conftest.err conftest.$ac_objext \ 27277 conftest$ac_exeext conftest.$ac_ext 27278LIBS=$ac_check_lib_save_LIBS 27279fi 27280{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_next_node" >&5 27281$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_next_node" >&6; } 27282if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_next_node" = xyes; then : 27283 ac_cv_libcdata_dummy=yes 27284else 27285 ac_cv_libcdata=no 27286fi 27287 27288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_set_next_node in -lcdata" >&5 27289$as_echo_n "checking for libcdata_tree_node_set_next_node in -lcdata... " >&6; } 27290if ${ac_cv_lib_cdata_libcdata_tree_node_set_next_node+:} false; then : 27291 $as_echo_n "(cached) " >&6 27292else 27293 ac_check_lib_save_LIBS=$LIBS 27294LIBS="-lcdata $LIBS" 27295cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27296/* end confdefs.h. */ 27297 27298/* Override any GCC internal prototype to avoid an error. 27299 Use char because int might match the return type of a GCC 27300 builtin and then its argument prototype would still apply. */ 27301#ifdef __cplusplus 27302extern "C" 27303#endif 27304char libcdata_tree_node_set_next_node (); 27305int 27306main () 27307{ 27308return libcdata_tree_node_set_next_node (); 27309 ; 27310 return 0; 27311} 27312_ACEOF 27313if ac_fn_c_try_link "$LINENO"; then : 27314 ac_cv_lib_cdata_libcdata_tree_node_set_next_node=yes 27315else 27316 ac_cv_lib_cdata_libcdata_tree_node_set_next_node=no 27317fi 27318rm -f core conftest.err conftest.$ac_objext \ 27319 conftest$ac_exeext conftest.$ac_ext 27320LIBS=$ac_check_lib_save_LIBS 27321fi 27322{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_set_next_node" >&5 27323$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_set_next_node" >&6; } 27324if test "x$ac_cv_lib_cdata_libcdata_tree_node_set_next_node" = xyes; then : 27325 ac_cv_libcdata_dummy=yes 27326else 27327 ac_cv_libcdata=no 27328fi 27329 27330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_nodes in -lcdata" >&5 27331$as_echo_n "checking for libcdata_tree_node_get_nodes in -lcdata... " >&6; } 27332if ${ac_cv_lib_cdata_libcdata_tree_node_get_nodes+:} false; then : 27333 $as_echo_n "(cached) " >&6 27334else 27335 ac_check_lib_save_LIBS=$LIBS 27336LIBS="-lcdata $LIBS" 27337cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27338/* end confdefs.h. */ 27339 27340/* Override any GCC internal prototype to avoid an error. 27341 Use char because int might match the return type of a GCC 27342 builtin and then its argument prototype would still apply. */ 27343#ifdef __cplusplus 27344extern "C" 27345#endif 27346char libcdata_tree_node_get_nodes (); 27347int 27348main () 27349{ 27350return libcdata_tree_node_get_nodes (); 27351 ; 27352 return 0; 27353} 27354_ACEOF 27355if ac_fn_c_try_link "$LINENO"; then : 27356 ac_cv_lib_cdata_libcdata_tree_node_get_nodes=yes 27357else 27358 ac_cv_lib_cdata_libcdata_tree_node_get_nodes=no 27359fi 27360rm -f core conftest.err conftest.$ac_objext \ 27361 conftest$ac_exeext conftest.$ac_ext 27362LIBS=$ac_check_lib_save_LIBS 27363fi 27364{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_nodes" >&5 27365$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_nodes" >&6; } 27366if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_nodes" = xyes; then : 27367 ac_cv_libcdata_dummy=yes 27368else 27369 ac_cv_libcdata=no 27370fi 27371 27372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_set_nodes in -lcdata" >&5 27373$as_echo_n "checking for libcdata_tree_node_set_nodes in -lcdata... " >&6; } 27374if ${ac_cv_lib_cdata_libcdata_tree_node_set_nodes+:} false; then : 27375 $as_echo_n "(cached) " >&6 27376else 27377 ac_check_lib_save_LIBS=$LIBS 27378LIBS="-lcdata $LIBS" 27379cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27380/* end confdefs.h. */ 27381 27382/* Override any GCC internal prototype to avoid an error. 27383 Use char because int might match the return type of a GCC 27384 builtin and then its argument prototype would still apply. */ 27385#ifdef __cplusplus 27386extern "C" 27387#endif 27388char libcdata_tree_node_set_nodes (); 27389int 27390main () 27391{ 27392return libcdata_tree_node_set_nodes (); 27393 ; 27394 return 0; 27395} 27396_ACEOF 27397if ac_fn_c_try_link "$LINENO"; then : 27398 ac_cv_lib_cdata_libcdata_tree_node_set_nodes=yes 27399else 27400 ac_cv_lib_cdata_libcdata_tree_node_set_nodes=no 27401fi 27402rm -f core conftest.err conftest.$ac_objext \ 27403 conftest$ac_exeext conftest.$ac_ext 27404LIBS=$ac_check_lib_save_LIBS 27405fi 27406{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_set_nodes" >&5 27407$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_set_nodes" >&6; } 27408if test "x$ac_cv_lib_cdata_libcdata_tree_node_set_nodes" = xyes; then : 27409 ac_cv_libcdata_dummy=yes 27410else 27411 ac_cv_libcdata=no 27412fi 27413 27414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_append_node in -lcdata" >&5 27415$as_echo_n "checking for libcdata_tree_node_append_node in -lcdata... " >&6; } 27416if ${ac_cv_lib_cdata_libcdata_tree_node_append_node+:} false; then : 27417 $as_echo_n "(cached) " >&6 27418else 27419 ac_check_lib_save_LIBS=$LIBS 27420LIBS="-lcdata $LIBS" 27421cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27422/* end confdefs.h. */ 27423 27424/* Override any GCC internal prototype to avoid an error. 27425 Use char because int might match the return type of a GCC 27426 builtin and then its argument prototype would still apply. */ 27427#ifdef __cplusplus 27428extern "C" 27429#endif 27430char libcdata_tree_node_append_node (); 27431int 27432main () 27433{ 27434return libcdata_tree_node_append_node (); 27435 ; 27436 return 0; 27437} 27438_ACEOF 27439if ac_fn_c_try_link "$LINENO"; then : 27440 ac_cv_lib_cdata_libcdata_tree_node_append_node=yes 27441else 27442 ac_cv_lib_cdata_libcdata_tree_node_append_node=no 27443fi 27444rm -f core conftest.err conftest.$ac_objext \ 27445 conftest$ac_exeext conftest.$ac_ext 27446LIBS=$ac_check_lib_save_LIBS 27447fi 27448{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_append_node" >&5 27449$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_append_node" >&6; } 27450if test "x$ac_cv_lib_cdata_libcdata_tree_node_append_node" = xyes; then : 27451 ac_cv_libcdata_dummy=yes 27452else 27453 ac_cv_libcdata=no 27454fi 27455 27456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_append_value in -lcdata" >&5 27457$as_echo_n "checking for libcdata_tree_node_append_value in -lcdata... " >&6; } 27458if ${ac_cv_lib_cdata_libcdata_tree_node_append_value+:} false; then : 27459 $as_echo_n "(cached) " >&6 27460else 27461 ac_check_lib_save_LIBS=$LIBS 27462LIBS="-lcdata $LIBS" 27463cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27464/* end confdefs.h. */ 27465 27466/* Override any GCC internal prototype to avoid an error. 27467 Use char because int might match the return type of a GCC 27468 builtin and then its argument prototype would still apply. */ 27469#ifdef __cplusplus 27470extern "C" 27471#endif 27472char libcdata_tree_node_append_value (); 27473int 27474main () 27475{ 27476return libcdata_tree_node_append_value (); 27477 ; 27478 return 0; 27479} 27480_ACEOF 27481if ac_fn_c_try_link "$LINENO"; then : 27482 ac_cv_lib_cdata_libcdata_tree_node_append_value=yes 27483else 27484 ac_cv_lib_cdata_libcdata_tree_node_append_value=no 27485fi 27486rm -f core conftest.err conftest.$ac_objext \ 27487 conftest$ac_exeext conftest.$ac_ext 27488LIBS=$ac_check_lib_save_LIBS 27489fi 27490{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_append_value" >&5 27491$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_append_value" >&6; } 27492if test "x$ac_cv_lib_cdata_libcdata_tree_node_append_value" = xyes; then : 27493 ac_cv_libcdata_dummy=yes 27494else 27495 ac_cv_libcdata=no 27496fi 27497 27498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_insert_node in -lcdata" >&5 27499$as_echo_n "checking for libcdata_tree_node_insert_node in -lcdata... " >&6; } 27500if ${ac_cv_lib_cdata_libcdata_tree_node_insert_node+:} false; then : 27501 $as_echo_n "(cached) " >&6 27502else 27503 ac_check_lib_save_LIBS=$LIBS 27504LIBS="-lcdata $LIBS" 27505cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27506/* end confdefs.h. */ 27507 27508/* Override any GCC internal prototype to avoid an error. 27509 Use char because int might match the return type of a GCC 27510 builtin and then its argument prototype would still apply. */ 27511#ifdef __cplusplus 27512extern "C" 27513#endif 27514char libcdata_tree_node_insert_node (); 27515int 27516main () 27517{ 27518return libcdata_tree_node_insert_node (); 27519 ; 27520 return 0; 27521} 27522_ACEOF 27523if ac_fn_c_try_link "$LINENO"; then : 27524 ac_cv_lib_cdata_libcdata_tree_node_insert_node=yes 27525else 27526 ac_cv_lib_cdata_libcdata_tree_node_insert_node=no 27527fi 27528rm -f core conftest.err conftest.$ac_objext \ 27529 conftest$ac_exeext conftest.$ac_ext 27530LIBS=$ac_check_lib_save_LIBS 27531fi 27532{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_insert_node" >&5 27533$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_insert_node" >&6; } 27534if test "x$ac_cv_lib_cdata_libcdata_tree_node_insert_node" = xyes; then : 27535 ac_cv_libcdata_dummy=yes 27536else 27537 ac_cv_libcdata=no 27538fi 27539 27540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_insert_value in -lcdata" >&5 27541$as_echo_n "checking for libcdata_tree_node_insert_value in -lcdata... " >&6; } 27542if ${ac_cv_lib_cdata_libcdata_tree_node_insert_value+:} false; then : 27543 $as_echo_n "(cached) " >&6 27544else 27545 ac_check_lib_save_LIBS=$LIBS 27546LIBS="-lcdata $LIBS" 27547cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27548/* end confdefs.h. */ 27549 27550/* Override any GCC internal prototype to avoid an error. 27551 Use char because int might match the return type of a GCC 27552 builtin and then its argument prototype would still apply. */ 27553#ifdef __cplusplus 27554extern "C" 27555#endif 27556char libcdata_tree_node_insert_value (); 27557int 27558main () 27559{ 27560return libcdata_tree_node_insert_value (); 27561 ; 27562 return 0; 27563} 27564_ACEOF 27565if ac_fn_c_try_link "$LINENO"; then : 27566 ac_cv_lib_cdata_libcdata_tree_node_insert_value=yes 27567else 27568 ac_cv_lib_cdata_libcdata_tree_node_insert_value=no 27569fi 27570rm -f core conftest.err conftest.$ac_objext \ 27571 conftest$ac_exeext conftest.$ac_ext 27572LIBS=$ac_check_lib_save_LIBS 27573fi 27574{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_insert_value" >&5 27575$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_insert_value" >&6; } 27576if test "x$ac_cv_lib_cdata_libcdata_tree_node_insert_value" = xyes; then : 27577 ac_cv_libcdata_dummy=yes 27578else 27579 ac_cv_libcdata=no 27580fi 27581 27582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_replace_node in -lcdata" >&5 27583$as_echo_n "checking for libcdata_tree_node_replace_node in -lcdata... " >&6; } 27584if ${ac_cv_lib_cdata_libcdata_tree_node_replace_node+:} false; then : 27585 $as_echo_n "(cached) " >&6 27586else 27587 ac_check_lib_save_LIBS=$LIBS 27588LIBS="-lcdata $LIBS" 27589cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27590/* end confdefs.h. */ 27591 27592/* Override any GCC internal prototype to avoid an error. 27593 Use char because int might match the return type of a GCC 27594 builtin and then its argument prototype would still apply. */ 27595#ifdef __cplusplus 27596extern "C" 27597#endif 27598char libcdata_tree_node_replace_node (); 27599int 27600main () 27601{ 27602return libcdata_tree_node_replace_node (); 27603 ; 27604 return 0; 27605} 27606_ACEOF 27607if ac_fn_c_try_link "$LINENO"; then : 27608 ac_cv_lib_cdata_libcdata_tree_node_replace_node=yes 27609else 27610 ac_cv_lib_cdata_libcdata_tree_node_replace_node=no 27611fi 27612rm -f core conftest.err conftest.$ac_objext \ 27613 conftest$ac_exeext conftest.$ac_ext 27614LIBS=$ac_check_lib_save_LIBS 27615fi 27616{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_replace_node" >&5 27617$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_replace_node" >&6; } 27618if test "x$ac_cv_lib_cdata_libcdata_tree_node_replace_node" = xyes; then : 27619 ac_cv_libcdata_dummy=yes 27620else 27621 ac_cv_libcdata=no 27622fi 27623 27624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_remove_node in -lcdata" >&5 27625$as_echo_n "checking for libcdata_tree_node_remove_node in -lcdata... " >&6; } 27626if ${ac_cv_lib_cdata_libcdata_tree_node_remove_node+:} false; then : 27627 $as_echo_n "(cached) " >&6 27628else 27629 ac_check_lib_save_LIBS=$LIBS 27630LIBS="-lcdata $LIBS" 27631cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27632/* end confdefs.h. */ 27633 27634/* Override any GCC internal prototype to avoid an error. 27635 Use char because int might match the return type of a GCC 27636 builtin and then its argument prototype would still apply. */ 27637#ifdef __cplusplus 27638extern "C" 27639#endif 27640char libcdata_tree_node_remove_node (); 27641int 27642main () 27643{ 27644return libcdata_tree_node_remove_node (); 27645 ; 27646 return 0; 27647} 27648_ACEOF 27649if ac_fn_c_try_link "$LINENO"; then : 27650 ac_cv_lib_cdata_libcdata_tree_node_remove_node=yes 27651else 27652 ac_cv_lib_cdata_libcdata_tree_node_remove_node=no 27653fi 27654rm -f core conftest.err conftest.$ac_objext \ 27655 conftest$ac_exeext conftest.$ac_ext 27656LIBS=$ac_check_lib_save_LIBS 27657fi 27658{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_remove_node" >&5 27659$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_remove_node" >&6; } 27660if test "x$ac_cv_lib_cdata_libcdata_tree_node_remove_node" = xyes; then : 27661 ac_cv_libcdata_dummy=yes 27662else 27663 ac_cv_libcdata=no 27664fi 27665 27666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_number_of_sub_nodes in -lcdata" >&5 27667$as_echo_n "checking for libcdata_tree_node_get_number_of_sub_nodes in -lcdata... " >&6; } 27668if ${ac_cv_lib_cdata_libcdata_tree_node_get_number_of_sub_nodes+:} false; then : 27669 $as_echo_n "(cached) " >&6 27670else 27671 ac_check_lib_save_LIBS=$LIBS 27672LIBS="-lcdata $LIBS" 27673cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27674/* end confdefs.h. */ 27675 27676/* Override any GCC internal prototype to avoid an error. 27677 Use char because int might match the return type of a GCC 27678 builtin and then its argument prototype would still apply. */ 27679#ifdef __cplusplus 27680extern "C" 27681#endif 27682char libcdata_tree_node_get_number_of_sub_nodes (); 27683int 27684main () 27685{ 27686return libcdata_tree_node_get_number_of_sub_nodes (); 27687 ; 27688 return 0; 27689} 27690_ACEOF 27691if ac_fn_c_try_link "$LINENO"; then : 27692 ac_cv_lib_cdata_libcdata_tree_node_get_number_of_sub_nodes=yes 27693else 27694 ac_cv_lib_cdata_libcdata_tree_node_get_number_of_sub_nodes=no 27695fi 27696rm -f core conftest.err conftest.$ac_objext \ 27697 conftest$ac_exeext conftest.$ac_ext 27698LIBS=$ac_check_lib_save_LIBS 27699fi 27700{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_number_of_sub_nodes" >&5 27701$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_number_of_sub_nodes" >&6; } 27702if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_number_of_sub_nodes" = xyes; then : 27703 ac_cv_libcdata_dummy=yes 27704else 27705 ac_cv_libcdata=no 27706fi 27707 27708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_sub_node_by_index in -lcdata" >&5 27709$as_echo_n "checking for libcdata_tree_node_get_sub_node_by_index in -lcdata... " >&6; } 27710if ${ac_cv_lib_cdata_libcdata_tree_node_get_sub_node_by_index+:} false; then : 27711 $as_echo_n "(cached) " >&6 27712else 27713 ac_check_lib_save_LIBS=$LIBS 27714LIBS="-lcdata $LIBS" 27715cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27716/* end confdefs.h. */ 27717 27718/* Override any GCC internal prototype to avoid an error. 27719 Use char because int might match the return type of a GCC 27720 builtin and then its argument prototype would still apply. */ 27721#ifdef __cplusplus 27722extern "C" 27723#endif 27724char libcdata_tree_node_get_sub_node_by_index (); 27725int 27726main () 27727{ 27728return libcdata_tree_node_get_sub_node_by_index (); 27729 ; 27730 return 0; 27731} 27732_ACEOF 27733if ac_fn_c_try_link "$LINENO"; then : 27734 ac_cv_lib_cdata_libcdata_tree_node_get_sub_node_by_index=yes 27735else 27736 ac_cv_lib_cdata_libcdata_tree_node_get_sub_node_by_index=no 27737fi 27738rm -f core conftest.err conftest.$ac_objext \ 27739 conftest$ac_exeext conftest.$ac_ext 27740LIBS=$ac_check_lib_save_LIBS 27741fi 27742{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_sub_node_by_index" >&5 27743$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_sub_node_by_index" >&6; } 27744if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_sub_node_by_index" = xyes; then : 27745 ac_cv_libcdata_dummy=yes 27746else 27747 ac_cv_libcdata=no 27748fi 27749 27750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_leaf_node_list in -lcdata" >&5 27751$as_echo_n "checking for libcdata_tree_node_get_leaf_node_list in -lcdata... " >&6; } 27752if ${ac_cv_lib_cdata_libcdata_tree_node_get_leaf_node_list+:} false; then : 27753 $as_echo_n "(cached) " >&6 27754else 27755 ac_check_lib_save_LIBS=$LIBS 27756LIBS="-lcdata $LIBS" 27757cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27758/* end confdefs.h. */ 27759 27760/* Override any GCC internal prototype to avoid an error. 27761 Use char because int might match the return type of a GCC 27762 builtin and then its argument prototype would still apply. */ 27763#ifdef __cplusplus 27764extern "C" 27765#endif 27766char libcdata_tree_node_get_leaf_node_list (); 27767int 27768main () 27769{ 27770return libcdata_tree_node_get_leaf_node_list (); 27771 ; 27772 return 0; 27773} 27774_ACEOF 27775if ac_fn_c_try_link "$LINENO"; then : 27776 ac_cv_lib_cdata_libcdata_tree_node_get_leaf_node_list=yes 27777else 27778 ac_cv_lib_cdata_libcdata_tree_node_get_leaf_node_list=no 27779fi 27780rm -f core conftest.err conftest.$ac_objext \ 27781 conftest$ac_exeext conftest.$ac_ext 27782LIBS=$ac_check_lib_save_LIBS 27783fi 27784{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_leaf_node_list" >&5 27785$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_leaf_node_list" >&6; } 27786if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_leaf_node_list" = xyes; then : 27787 ac_cv_libcdata_dummy=yes 27788else 27789 ac_cv_libcdata=no 27790fi 27791 27792 27793 ac_cv_libcdata_LIBADD="-lcdata" 27794fi 27795 27796fi 27797 if test "x$ac_cv_with_libcdata" != x && test "x$ac_cv_with_libcdata" != xauto-detect && test "x$ac_cv_libcdata" != xyes; then : 27798 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 27799$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 27800as_fn_error 1 "unable to find supported libcdata in directory: $ac_cv_with_libcdata 27801See \`config.log' for more details" "$LINENO" 5; } 27802 27803fi 27804 27805fi 27806 27807 if test "x$ac_cv_libcdata" = xyes; then : 27808 27809$as_echo "#define HAVE_LIBCDATA 1" >>confdefs.h 27810 27811 27812fi 27813 27814 if test "x$ac_cv_libcdata" = xyes; then : 27815 HAVE_LIBCDATA=1 27816 27817else 27818 HAVE_LIBCDATA=0 27819 27820 27821fi 27822 27823 27824 if test "x$ac_cv_libcdata" != xyes; then : 27825 27826 ac_cv_libcdata_CPPFLAGS="-I../libcdata"; 27827 ac_cv_libcdata_LIBADD="../libcdata/libcdata.la"; 27828 27829 ac_cv_libcdata=local 27830 27831 27832 27833$as_echo "#define HAVE_LOCAL_LIBCDATA 1" >>confdefs.h 27834 27835 HAVE_LOCAL_LIBCDATA=1 27836 27837 27838fi 27839 27840 if test "x$ac_cv_libcdata" = xlocal; then 27841 HAVE_LOCAL_LIBCDATA_TRUE= 27842 HAVE_LOCAL_LIBCDATA_FALSE='#' 27843else 27844 HAVE_LOCAL_LIBCDATA_TRUE='#' 27845 HAVE_LOCAL_LIBCDATA_FALSE= 27846fi 27847 27848 if test "x$ac_cv_libcdata_CPPFLAGS" != "x"; then : 27849 LIBCDATA_CPPFLAGS=$ac_cv_libcdata_CPPFLAGS 27850 27851 27852fi 27853 if test "x$ac_cv_libcdata_LIBADD" != "x"; then : 27854 LIBCDATA_LIBADD=$ac_cv_libcdata_LIBADD 27855 27856 27857fi 27858 27859 if test "x$ac_cv_libcdata" = xyes; then : 27860 ax_libcdata_pc_libs_private=-lcdata 27861 27862 27863fi 27864 27865 if test "x$ac_cv_libcdata" = xyes; then : 27866 ax_libcdata_spec_requires=libcdata 27867 27868 ax_libcdata_spec_build_requires=libcdata-devel 27869 27870 27871fi 27872 27873 27874 27875 27876# Check whether --with-libclocale was given. 27877if test "${with_libclocale+set}" = set; then : 27878 withval=$with_libclocale; ac_cv_with_libclocale=$withval 27879else 27880 ac_cv_with_libclocale=auto-detect 27881fi 27882 27883 { $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 27884$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; } 27885if ${ac_cv_with_libclocale+:} false; then : 27886 $as_echo_n "(cached) " >&6 27887else 27888 ac_cv_with_libclocale=auto-detect 27889fi 27890{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libclocale" >&5 27891$as_echo "$ac_cv_with_libclocale" >&6; } 27892 27893 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libclocale" = xno; then : 27894 ac_cv_libclocale=no 27895else 27896 ac_cv_libclocale=check 27897 if test "x$ac_cv_with_libclocale" != x && test "x$ac_cv_with_libclocale" != xauto-detect; then : 27898 if test -d "$ac_cv_with_libclocale"; then : 27899 CFLAGS="$CFLAGS -I${ac_cv_with_libclocale}/include" 27900 LDFLAGS="$LDFLAGS -L${ac_cv_with_libclocale}/lib" 27901else 27902 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 27903$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 27904as_fn_error 1 "no such directory: $ac_cv_with_libclocale 27905See \`config.log' for more details" "$LINENO" 5; } 27906 27907fi 27908 27909else 27910 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 27911 27912pkg_failed=no 27913{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale" >&5 27914$as_echo_n "checking for libclocale... " >&6; } 27915 27916if test -n "$libclocale_CFLAGS"; then 27917 pkg_cv_libclocale_CFLAGS="$libclocale_CFLAGS" 27918 elif test -n "$PKG_CONFIG"; then 27919 if test -n "$PKG_CONFIG" && \ 27920 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libclocale >= 20120425\""; } >&5 27921 ($PKG_CONFIG --exists --print-errors "libclocale >= 20120425") 2>&5 27922 ac_status=$? 27923 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 27924 test $ac_status = 0; }; then 27925 pkg_cv_libclocale_CFLAGS=`$PKG_CONFIG --cflags "libclocale >= 20120425" 2>/dev/null` 27926 test "x$?" != "x0" && pkg_failed=yes 27927else 27928 pkg_failed=yes 27929fi 27930 else 27931 pkg_failed=untried 27932fi 27933if test -n "$libclocale_LIBS"; then 27934 pkg_cv_libclocale_LIBS="$libclocale_LIBS" 27935 elif test -n "$PKG_CONFIG"; then 27936 if test -n "$PKG_CONFIG" && \ 27937 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libclocale >= 20120425\""; } >&5 27938 ($PKG_CONFIG --exists --print-errors "libclocale >= 20120425") 2>&5 27939 ac_status=$? 27940 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 27941 test $ac_status = 0; }; then 27942 pkg_cv_libclocale_LIBS=`$PKG_CONFIG --libs "libclocale >= 20120425" 2>/dev/null` 27943 test "x$?" != "x0" && pkg_failed=yes 27944else 27945 pkg_failed=yes 27946fi 27947 else 27948 pkg_failed=untried 27949fi 27950 27951 27952 27953if test $pkg_failed = yes; then 27954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27955$as_echo "no" >&6; } 27956 27957if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 27958 _pkg_short_errors_supported=yes 27959else 27960 _pkg_short_errors_supported=no 27961fi 27962 if test $_pkg_short_errors_supported = yes; then 27963 libclocale_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libclocale >= 20120425" 2>&1` 27964 else 27965 libclocale_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libclocale >= 20120425" 2>&1` 27966 fi 27967 # Put the nasty error message in config.log where it belongs 27968 echo "$libclocale_PKG_ERRORS" >&5 27969 27970 ac_cv_libclocale=check 27971elif test $pkg_failed = untried; then 27972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27973$as_echo "no" >&6; } 27974 ac_cv_libclocale=check 27975else 27976 libclocale_CFLAGS=$pkg_cv_libclocale_CFLAGS 27977 libclocale_LIBS=$pkg_cv_libclocale_LIBS 27978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 27979$as_echo "yes" >&6; } 27980 ac_cv_libclocale=yes 27981fi 27982 27983fi 27984 if test "x$ac_cv_libclocale" = xyes && test "x$ac_cv_enable_wide_character_type" != xno; then : 27985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libclocale/features.h defines LIBCLOCALE_HAVE_WIDE_CHARACTER_TYPE as 1" >&5 27986$as_echo_n "checking whether libclocale/features.h defines LIBCLOCALE_HAVE_WIDE_CHARACTER_TYPE as 1... " >&6; } 27987if ${ac_cv_header_libclocale_features_h_have_wide_character_type+:} false; then : 27988 $as_echo_n "(cached) " >&6 27989else 27990 ac_ext=c 27991ac_cpp='$CPP $CPPFLAGS' 27992ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 27993ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 27994ac_compiler_gnu=$ac_cv_c_compiler_gnu 27995 27996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27997/* end confdefs.h. */ 27998#include <libclocale/features.h> 27999int 28000main () 28001{ 28002#if !defined( LIBCLOCALE_HAVE_WIDE_CHARACTER_TYPE ) || ( LIBCLOCALE_HAVE_WIDE_CHARACTER_TYPE != 1 ) 28003#error LIBCLOCALE_HAVE_WIDE_CHARACTER_TYPE not defined 28004#endif 28005 ; 28006 return 0; 28007} 28008_ACEOF 28009if ac_fn_c_try_compile "$LINENO"; then : 28010 ac_cv_header_libclocale_features_h_have_wide_character_type=yes 28011else 28012 ac_cv_header_libclocale_features_h_have_wide_character_type=no 28013fi 28014rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 28015 ac_ext=c 28016ac_cpp='$CPP $CPPFLAGS' 28017ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 28018ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 28019ac_compiler_gnu=$ac_cv_c_compiler_gnu 28020 28021fi 28022{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_libclocale_features_h_have_wide_character_type" >&5 28023$as_echo "$ac_cv_header_libclocale_features_h_have_wide_character_type" >&6; } 28024 28025 if test "x$ac_cv_header_libclocale_features_h_have_wide_character_type" = xno; then : 28026 ac_cv_libclocale=no 28027fi 28028 28029fi 28030 if test "x$ac_cv_libclocale" = xyes; then : 28031 ac_cv_libclocale_CPPFLAGS="$pkg_cv_libclocale_CFLAGS" 28032 ac_cv_libclocale_LIBADD="$pkg_cv_libclocale_LIBS" 28033fi 28034 28035fi 28036 28037 if test "x$ac_cv_libclocale" = xcheck; then : 28038 for ac_header in libclocale.h 28039do : 28040 ac_fn_c_check_header_mongrel "$LINENO" "libclocale.h" "ac_cv_header_libclocale_h" "$ac_includes_default" 28041if test "x$ac_cv_header_libclocale_h" = xyes; then : 28042 cat >>confdefs.h <<_ACEOF 28043#define HAVE_LIBCLOCALE_H 1 28044_ACEOF 28045 28046fi 28047 28048done 28049 28050 28051 if test "x$ac_cv_header_libclocale_h" = xno; then : 28052 ac_cv_libclocale=no 28053else 28054 ac_cv_libclocale=yes 28055 28056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_get_version in -lclocale" >&5 28057$as_echo_n "checking for libclocale_get_version in -lclocale... " >&6; } 28058if ${ac_cv_lib_clocale_libclocale_get_version+:} false; then : 28059 $as_echo_n "(cached) " >&6 28060else 28061 ac_check_lib_save_LIBS=$LIBS 28062LIBS="-lclocale $LIBS" 28063cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28064/* end confdefs.h. */ 28065 28066/* Override any GCC internal prototype to avoid an error. 28067 Use char because int might match the return type of a GCC 28068 builtin and then its argument prototype would still apply. */ 28069#ifdef __cplusplus 28070extern "C" 28071#endif 28072char libclocale_get_version (); 28073int 28074main () 28075{ 28076return libclocale_get_version (); 28077 ; 28078 return 0; 28079} 28080_ACEOF 28081if ac_fn_c_try_link "$LINENO"; then : 28082 ac_cv_lib_clocale_libclocale_get_version=yes 28083else 28084 ac_cv_lib_clocale_libclocale_get_version=no 28085fi 28086rm -f core conftest.err conftest.$ac_objext \ 28087 conftest$ac_exeext conftest.$ac_ext 28088LIBS=$ac_check_lib_save_LIBS 28089fi 28090{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_get_version" >&5 28091$as_echo "$ac_cv_lib_clocale_libclocale_get_version" >&6; } 28092if test "x$ac_cv_lib_clocale_libclocale_get_version" = xyes; then : 28093 ac_cv_libclocale_dummy=yes 28094else 28095 ac_cv_libclocale=no 28096fi 28097 28098 28099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_codepage in -lclocale" >&5 28100$as_echo_n "checking for libclocale_codepage in -lclocale... " >&6; } 28101if ${ac_cv_lib_clocale_libclocale_codepage+:} false; then : 28102 $as_echo_n "(cached) " >&6 28103else 28104 ac_check_lib_save_LIBS=$LIBS 28105LIBS="-lclocale $LIBS" 28106cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28107/* end confdefs.h. */ 28108 28109/* Override any GCC internal prototype to avoid an error. 28110 Use char because int might match the return type of a GCC 28111 builtin and then its argument prototype would still apply. */ 28112#ifdef __cplusplus 28113extern "C" 28114#endif 28115char libclocale_codepage (); 28116int 28117main () 28118{ 28119return libclocale_codepage (); 28120 ; 28121 return 0; 28122} 28123_ACEOF 28124if ac_fn_c_try_link "$LINENO"; then : 28125 ac_cv_lib_clocale_libclocale_codepage=yes 28126else 28127 ac_cv_lib_clocale_libclocale_codepage=no 28128fi 28129rm -f core conftest.err conftest.$ac_objext \ 28130 conftest$ac_exeext conftest.$ac_ext 28131LIBS=$ac_check_lib_save_LIBS 28132fi 28133{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_codepage" >&5 28134$as_echo "$ac_cv_lib_clocale_libclocale_codepage" >&6; } 28135if test "x$ac_cv_lib_clocale_libclocale_codepage" = xyes; then : 28136 ac_cv_libclocale_dummy=yes 28137else 28138 ac_cv_libclocale=no 28139fi 28140 28141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_codepage_get in -lclocale" >&5 28142$as_echo_n "checking for libclocale_codepage_get in -lclocale... " >&6; } 28143if ${ac_cv_lib_clocale_libclocale_codepage_get+:} false; then : 28144 $as_echo_n "(cached) " >&6 28145else 28146 ac_check_lib_save_LIBS=$LIBS 28147LIBS="-lclocale $LIBS" 28148cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28149/* end confdefs.h. */ 28150 28151/* Override any GCC internal prototype to avoid an error. 28152 Use char because int might match the return type of a GCC 28153 builtin and then its argument prototype would still apply. */ 28154#ifdef __cplusplus 28155extern "C" 28156#endif 28157char libclocale_codepage_get (); 28158int 28159main () 28160{ 28161return libclocale_codepage_get (); 28162 ; 28163 return 0; 28164} 28165_ACEOF 28166if ac_fn_c_try_link "$LINENO"; then : 28167 ac_cv_lib_clocale_libclocale_codepage_get=yes 28168else 28169 ac_cv_lib_clocale_libclocale_codepage_get=no 28170fi 28171rm -f core conftest.err conftest.$ac_objext \ 28172 conftest$ac_exeext conftest.$ac_ext 28173LIBS=$ac_check_lib_save_LIBS 28174fi 28175{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_codepage_get" >&5 28176$as_echo "$ac_cv_lib_clocale_libclocale_codepage_get" >&6; } 28177if test "x$ac_cv_lib_clocale_libclocale_codepage_get" = xyes; then : 28178 ac_cv_libclocale_dummy=yes 28179else 28180 ac_cv_libclocale=no 28181fi 28182 28183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_codepage_set in -lclocale" >&5 28184$as_echo_n "checking for libclocale_codepage_set in -lclocale... " >&6; } 28185if ${ac_cv_lib_clocale_libclocale_codepage_set+:} false; then : 28186 $as_echo_n "(cached) " >&6 28187else 28188 ac_check_lib_save_LIBS=$LIBS 28189LIBS="-lclocale $LIBS" 28190cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28191/* end confdefs.h. */ 28192 28193/* Override any GCC internal prototype to avoid an error. 28194 Use char because int might match the return type of a GCC 28195 builtin and then its argument prototype would still apply. */ 28196#ifdef __cplusplus 28197extern "C" 28198#endif 28199char libclocale_codepage_set (); 28200int 28201main () 28202{ 28203return libclocale_codepage_set (); 28204 ; 28205 return 0; 28206} 28207_ACEOF 28208if ac_fn_c_try_link "$LINENO"; then : 28209 ac_cv_lib_clocale_libclocale_codepage_set=yes 28210else 28211 ac_cv_lib_clocale_libclocale_codepage_set=no 28212fi 28213rm -f core conftest.err conftest.$ac_objext \ 28214 conftest$ac_exeext conftest.$ac_ext 28215LIBS=$ac_check_lib_save_LIBS 28216fi 28217{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_codepage_set" >&5 28218$as_echo "$ac_cv_lib_clocale_libclocale_codepage_set" >&6; } 28219if test "x$ac_cv_lib_clocale_libclocale_codepage_set" = xyes; then : 28220 ac_cv_libclocale_dummy=yes 28221else 28222 ac_cv_libclocale=no 28223fi 28224 28225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_codepage_copy_from_string in -lclocale" >&5 28226$as_echo_n "checking for libclocale_codepage_copy_from_string in -lclocale... " >&6; } 28227if ${ac_cv_lib_clocale_libclocale_codepage_copy_from_string+:} false; then : 28228 $as_echo_n "(cached) " >&6 28229else 28230 ac_check_lib_save_LIBS=$LIBS 28231LIBS="-lclocale $LIBS" 28232cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28233/* end confdefs.h. */ 28234 28235/* Override any GCC internal prototype to avoid an error. 28236 Use char because int might match the return type of a GCC 28237 builtin and then its argument prototype would still apply. */ 28238#ifdef __cplusplus 28239extern "C" 28240#endif 28241char libclocale_codepage_copy_from_string (); 28242int 28243main () 28244{ 28245return libclocale_codepage_copy_from_string (); 28246 ; 28247 return 0; 28248} 28249_ACEOF 28250if ac_fn_c_try_link "$LINENO"; then : 28251 ac_cv_lib_clocale_libclocale_codepage_copy_from_string=yes 28252else 28253 ac_cv_lib_clocale_libclocale_codepage_copy_from_string=no 28254fi 28255rm -f core conftest.err conftest.$ac_objext \ 28256 conftest$ac_exeext conftest.$ac_ext 28257LIBS=$ac_check_lib_save_LIBS 28258fi 28259{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_codepage_copy_from_string" >&5 28260$as_echo "$ac_cv_lib_clocale_libclocale_codepage_copy_from_string" >&6; } 28261if test "x$ac_cv_lib_clocale_libclocale_codepage_copy_from_string" = xyes; then : 28262 ac_cv_libclocale_dummy=yes 28263else 28264 ac_cv_libclocale=no 28265fi 28266 28267 28268 if test "x$ac_cv_enable_wide_character_type" != xno; then : 28269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_codepage_copy_from_string_wide in -lclocale" >&5 28270$as_echo_n "checking for libclocale_codepage_copy_from_string_wide in -lclocale... " >&6; } 28271if ${ac_cv_lib_clocale_libclocale_codepage_copy_from_string_wide+:} false; then : 28272 $as_echo_n "(cached) " >&6 28273else 28274 ac_check_lib_save_LIBS=$LIBS 28275LIBS="-lclocale $LIBS" 28276cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28277/* end confdefs.h. */ 28278 28279/* Override any GCC internal prototype to avoid an error. 28280 Use char because int might match the return type of a GCC 28281 builtin and then its argument prototype would still apply. */ 28282#ifdef __cplusplus 28283extern "C" 28284#endif 28285char libclocale_codepage_copy_from_string_wide (); 28286int 28287main () 28288{ 28289return libclocale_codepage_copy_from_string_wide (); 28290 ; 28291 return 0; 28292} 28293_ACEOF 28294if ac_fn_c_try_link "$LINENO"; then : 28295 ac_cv_lib_clocale_libclocale_codepage_copy_from_string_wide=yes 28296else 28297 ac_cv_lib_clocale_libclocale_codepage_copy_from_string_wide=no 28298fi 28299rm -f core conftest.err conftest.$ac_objext \ 28300 conftest$ac_exeext conftest.$ac_ext 28301LIBS=$ac_check_lib_save_LIBS 28302fi 28303{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_codepage_copy_from_string_wide" >&5 28304$as_echo "$ac_cv_lib_clocale_libclocale_codepage_copy_from_string_wide" >&6; } 28305if test "x$ac_cv_lib_clocale_libclocale_codepage_copy_from_string_wide" = xyes; then : 28306 ac_cv_libclocale_dummy=yes 28307else 28308 ac_cv_libclocale=no 28309fi 28310 28311 28312fi 28313 28314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_locale_get_codepage in -lclocale" >&5 28315$as_echo_n "checking for libclocale_locale_get_codepage in -lclocale... " >&6; } 28316if ${ac_cv_lib_clocale_libclocale_locale_get_codepage+:} false; then : 28317 $as_echo_n "(cached) " >&6 28318else 28319 ac_check_lib_save_LIBS=$LIBS 28320LIBS="-lclocale $LIBS" 28321cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28322/* end confdefs.h. */ 28323 28324/* Override any GCC internal prototype to avoid an error. 28325 Use char because int might match the return type of a GCC 28326 builtin and then its argument prototype would still apply. */ 28327#ifdef __cplusplus 28328extern "C" 28329#endif 28330char libclocale_locale_get_codepage (); 28331int 28332main () 28333{ 28334return libclocale_locale_get_codepage (); 28335 ; 28336 return 0; 28337} 28338_ACEOF 28339if ac_fn_c_try_link "$LINENO"; then : 28340 ac_cv_lib_clocale_libclocale_locale_get_codepage=yes 28341else 28342 ac_cv_lib_clocale_libclocale_locale_get_codepage=no 28343fi 28344rm -f core conftest.err conftest.$ac_objext \ 28345 conftest$ac_exeext conftest.$ac_ext 28346LIBS=$ac_check_lib_save_LIBS 28347fi 28348{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_locale_get_codepage" >&5 28349$as_echo "$ac_cv_lib_clocale_libclocale_locale_get_codepage" >&6; } 28350if test "x$ac_cv_lib_clocale_libclocale_locale_get_codepage" = xyes; then : 28351 ac_cv_libclocale_dummy=yes 28352else 28353 ac_cv_libclocale=no 28354fi 28355 28356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_locale_get_decimal_point in -lclocale" >&5 28357$as_echo_n "checking for libclocale_locale_get_decimal_point in -lclocale... " >&6; } 28358if ${ac_cv_lib_clocale_libclocale_locale_get_decimal_point+:} false; then : 28359 $as_echo_n "(cached) " >&6 28360else 28361 ac_check_lib_save_LIBS=$LIBS 28362LIBS="-lclocale $LIBS" 28363cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28364/* end confdefs.h. */ 28365 28366/* Override any GCC internal prototype to avoid an error. 28367 Use char because int might match the return type of a GCC 28368 builtin and then its argument prototype would still apply. */ 28369#ifdef __cplusplus 28370extern "C" 28371#endif 28372char libclocale_locale_get_decimal_point (); 28373int 28374main () 28375{ 28376return libclocale_locale_get_decimal_point (); 28377 ; 28378 return 0; 28379} 28380_ACEOF 28381if ac_fn_c_try_link "$LINENO"; then : 28382 ac_cv_lib_clocale_libclocale_locale_get_decimal_point=yes 28383else 28384 ac_cv_lib_clocale_libclocale_locale_get_decimal_point=no 28385fi 28386rm -f core conftest.err conftest.$ac_objext \ 28387 conftest$ac_exeext conftest.$ac_ext 28388LIBS=$ac_check_lib_save_LIBS 28389fi 28390{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_locale_get_decimal_point" >&5 28391$as_echo "$ac_cv_lib_clocale_libclocale_locale_get_decimal_point" >&6; } 28392if test "x$ac_cv_lib_clocale_libclocale_locale_get_decimal_point" = xyes; then : 28393 ac_cv_libclocale_dummy=yes 28394else 28395 ac_cv_libclocale=no 28396fi 28397 28398 28399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_initialize in -lclocale" >&5 28400$as_echo_n "checking for libclocale_initialize in -lclocale... " >&6; } 28401if ${ac_cv_lib_clocale_libclocale_initialize+:} false; then : 28402 $as_echo_n "(cached) " >&6 28403else 28404 ac_check_lib_save_LIBS=$LIBS 28405LIBS="-lclocale $LIBS" 28406cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28407/* end confdefs.h. */ 28408 28409/* Override any GCC internal prototype to avoid an error. 28410 Use char because int might match the return type of a GCC 28411 builtin and then its argument prototype would still apply. */ 28412#ifdef __cplusplus 28413extern "C" 28414#endif 28415char libclocale_initialize (); 28416int 28417main () 28418{ 28419return libclocale_initialize (); 28420 ; 28421 return 0; 28422} 28423_ACEOF 28424if ac_fn_c_try_link "$LINENO"; then : 28425 ac_cv_lib_clocale_libclocale_initialize=yes 28426else 28427 ac_cv_lib_clocale_libclocale_initialize=no 28428fi 28429rm -f core conftest.err conftest.$ac_objext \ 28430 conftest$ac_exeext conftest.$ac_ext 28431LIBS=$ac_check_lib_save_LIBS 28432fi 28433{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_initialize" >&5 28434$as_echo "$ac_cv_lib_clocale_libclocale_initialize" >&6; } 28435if test "x$ac_cv_lib_clocale_libclocale_initialize" = xyes; then : 28436 ac_cv_libclocale_dummy=yes 28437else 28438 ac_cv_libclocale=no 28439fi 28440 28441 28442 ac_cv_libclocale_LIBADD="-lclocale" 28443fi 28444 28445fi 28446 if test "x$ac_cv_with_libclocale" != x && test "x$ac_cv_with_libclocale" != xauto-detect && test "x$ac_cv_libclocale" != xyes; then : 28447 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 28448$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 28449as_fn_error 1 "unable to find supported libclocale in directory: $ac_cv_with_libclocale 28450See \`config.log' for more details" "$LINENO" 5; } 28451 28452fi 28453 28454fi 28455 28456 if test "x$ac_cv_libclocale" = xyes; then : 28457 28458$as_echo "#define HAVE_LIBCLOCALE 1" >>confdefs.h 28459 28460 28461fi 28462 28463 if test "x$ac_cv_libclocale" = xyes; then : 28464 HAVE_LIBCLOCALE=1 28465 28466else 28467 HAVE_LIBCLOCALE=0 28468 28469 28470fi 28471 28472 28473 if test "x$ac_cv_libclocale" != xyes; then : 28474 for ac_header in langinfo.h locale.h 28475do : 28476 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 28477ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 28478if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 28479 cat >>confdefs.h <<_ACEOF 28480#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 28481_ACEOF 28482 28483fi 28484 28485done 28486 28487 28488 for ac_func in getenv 28489do : 28490 ac_fn_c_check_func "$LINENO" "getenv" "ac_cv_func_getenv" 28491if test "x$ac_cv_func_getenv" = xyes; then : 28492 cat >>confdefs.h <<_ACEOF 28493#define HAVE_GETENV 1 28494_ACEOF 28495 28496fi 28497done 28498 28499 28500 if test "x$ac_cv_func_getenv" != xyes; then : 28501 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 28502$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 28503as_fn_error 1 "Missing function: getenv 28504See \`config.log' for more details" "$LINENO" 5; } 28505 28506fi 28507 28508 if test "x$ac_cv_enable_winapi" = xno; then : 28509 for ac_func in localeconv 28510do : 28511 ac_fn_c_check_func "$LINENO" "localeconv" "ac_cv_func_localeconv" 28512if test "x$ac_cv_func_localeconv" = xyes; then : 28513 cat >>confdefs.h <<_ACEOF 28514#define HAVE_LOCALECONV 1 28515_ACEOF 28516 28517fi 28518done 28519 28520 28521 if test "x$ac_cv_func_localeconv" != xyes; then : 28522 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 28523$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 28524as_fn_error 1 "Missing function: localeconv 28525See \`config.log' for more details" "$LINENO" 5; } 28526 28527fi 28528 28529fi 28530 28531 for ac_func in setlocale 28532do : 28533 ac_fn_c_check_func "$LINENO" "setlocale" "ac_cv_func_setlocale" 28534if test "x$ac_cv_func_setlocale" = xyes; then : 28535 cat >>confdefs.h <<_ACEOF 28536#define HAVE_SETLOCALE 1 28537_ACEOF 28538 28539fi 28540done 28541 28542 28543 if test "x$ac_cv_func_setlocale" != xyes; then : 28544 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 28545$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 28546as_fn_error 1 "Missing function: setlocale 28547See \`config.log' for more details" "$LINENO" 5; } 28548 28549fi 28550 28551 for ac_func in nl_langinfo 28552do : 28553 ac_fn_c_check_func "$LINENO" "nl_langinfo" "ac_cv_func_nl_langinfo" 28554if test "x$ac_cv_func_nl_langinfo" = xyes; then : 28555 cat >>confdefs.h <<_ACEOF 28556#define HAVE_NL_LANGINFO 1 28557_ACEOF 28558 28559fi 28560done 28561 28562 28563 if test "x$ac_cv_func_nl_langinfo" = xyes; then : 28564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo CODESET support" >&5 28565$as_echo_n "checking for nl_langinfo CODESET support... " >&6; } 28566if ${ac_cv_cv_langinfo_codeset+:} false; then : 28567 $as_echo_n "(cached) " >&6 28568else 28569 ac_ext=c 28570ac_cpp='$CPP $CPPFLAGS' 28571ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 28572ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 28573ac_compiler_gnu=$ac_cv_c_compiler_gnu 28574 28575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28576/* end confdefs.h. */ 28577#include <langinfo.h> 28578int 28579main () 28580{ 28581char* charset = nl_langinfo( CODESET ); 28582 ; 28583 return 0; 28584} 28585_ACEOF 28586if ac_fn_c_try_link "$LINENO"; then : 28587 ac_cv_cv_langinfo_codeset=yes 28588else 28589 ac_cv_cv_langinfo_codeset=no 28590fi 28591rm -f core conftest.err conftest.$ac_objext \ 28592 conftest$ac_exeext conftest.$ac_ext 28593 ac_ext=c 28594ac_cpp='$CPP $CPPFLAGS' 28595ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 28596ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 28597ac_compiler_gnu=$ac_cv_c_compiler_gnu 28598 28599fi 28600{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cv_langinfo_codeset" >&5 28601$as_echo "$ac_cv_cv_langinfo_codeset" >&6; } 28602else 28603 ac_cv_cv_langinfo_codeset=no 28604fi 28605 28606 if test "x$ac_cv_cv_langinfo_codeset" = xyes; then : 28607 28608$as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h 28609 28610 28611fi 28612 28613 28614 ac_cv_libclocale_CPPFLAGS="-I../libclocale"; 28615 ac_cv_libclocale_LIBADD="../libclocale/libclocale.la"; 28616 28617 ac_cv_libclocale=local 28618 28619 28620 28621$as_echo "#define HAVE_LOCAL_LIBCLOCALE 1" >>confdefs.h 28622 28623 HAVE_LOCAL_LIBCLOCALE=1 28624 28625 28626fi 28627 28628 if test "x$ac_cv_libclocale" = xlocal; then 28629 HAVE_LOCAL_LIBCLOCALE_TRUE= 28630 HAVE_LOCAL_LIBCLOCALE_FALSE='#' 28631else 28632 HAVE_LOCAL_LIBCLOCALE_TRUE='#' 28633 HAVE_LOCAL_LIBCLOCALE_FALSE= 28634fi 28635 28636 if test "x$ac_cv_libclocale_CPPFLAGS" != "x"; then : 28637 LIBCLOCALE_CPPFLAGS=$ac_cv_libclocale_CPPFLAGS 28638 28639 28640fi 28641 if test "x$ac_cv_libclocale_LIBADD" != "x"; then : 28642 LIBCLOCALE_LIBADD=$ac_cv_libclocale_LIBADD 28643 28644 28645fi 28646 28647 if test "x$ac_cv_libclocale" = xyes; then : 28648 ax_libclocale_pc_libs_private=-lclocale 28649 28650 28651fi 28652 28653 if test "x$ac_cv_libclocale" = xyes; then : 28654 ax_libclocale_spec_requires=libclocale 28655 28656 ax_libclocale_spec_build_requires=libclocale-devel 28657 28658 28659fi 28660 28661 28662 28663 28664# Check whether --with-libcnotify was given. 28665if test "${with_libcnotify+set}" = set; then : 28666 withval=$with_libcnotify; ac_cv_with_libcnotify=$withval 28667else 28668 ac_cv_with_libcnotify=auto-detect 28669fi 28670 28671 { $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 28672$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; } 28673if ${ac_cv_with_libcnotify+:} false; then : 28674 $as_echo_n "(cached) " >&6 28675else 28676 ac_cv_with_libcnotify=auto-detect 28677fi 28678{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libcnotify" >&5 28679$as_echo "$ac_cv_with_libcnotify" >&6; } 28680 28681 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libcnotify" = xno; then : 28682 ac_cv_libcnotify=no 28683else 28684 ac_cv_libcnotify=check 28685 if test "x$ac_cv_with_libcnotify" != x && test "x$ac_cv_with_libcnotify" != xauto-detect; then : 28686 if test -d "$ac_cv_with_libcnotify"; then : 28687 CFLAGS="$CFLAGS -I${ac_cv_with_libcnotify}/include" 28688 LDFLAGS="$LDFLAGS -L${ac_cv_with_libcnotify}/lib" 28689else 28690 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 28691$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 28692as_fn_error 1 "no such directory: $ac_cv_with_libcnotify 28693See \`config.log' for more details" "$LINENO" 5; } 28694 28695fi 28696 28697else 28698 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 28699 28700pkg_failed=no 28701{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify" >&5 28702$as_echo_n "checking for libcnotify... " >&6; } 28703 28704if test -n "$libcnotify_CFLAGS"; then 28705 pkg_cv_libcnotify_CFLAGS="$libcnotify_CFLAGS" 28706 elif test -n "$PKG_CONFIG"; then 28707 if test -n "$PKG_CONFIG" && \ 28708 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcnotify >= 20120425\""; } >&5 28709 ($PKG_CONFIG --exists --print-errors "libcnotify >= 20120425") 2>&5 28710 ac_status=$? 28711 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 28712 test $ac_status = 0; }; then 28713 pkg_cv_libcnotify_CFLAGS=`$PKG_CONFIG --cflags "libcnotify >= 20120425" 2>/dev/null` 28714 test "x$?" != "x0" && pkg_failed=yes 28715else 28716 pkg_failed=yes 28717fi 28718 else 28719 pkg_failed=untried 28720fi 28721if test -n "$libcnotify_LIBS"; then 28722 pkg_cv_libcnotify_LIBS="$libcnotify_LIBS" 28723 elif test -n "$PKG_CONFIG"; then 28724 if test -n "$PKG_CONFIG" && \ 28725 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcnotify >= 20120425\""; } >&5 28726 ($PKG_CONFIG --exists --print-errors "libcnotify >= 20120425") 2>&5 28727 ac_status=$? 28728 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 28729 test $ac_status = 0; }; then 28730 pkg_cv_libcnotify_LIBS=`$PKG_CONFIG --libs "libcnotify >= 20120425" 2>/dev/null` 28731 test "x$?" != "x0" && pkg_failed=yes 28732else 28733 pkg_failed=yes 28734fi 28735 else 28736 pkg_failed=untried 28737fi 28738 28739 28740 28741if test $pkg_failed = yes; then 28742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 28743$as_echo "no" >&6; } 28744 28745if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 28746 _pkg_short_errors_supported=yes 28747else 28748 _pkg_short_errors_supported=no 28749fi 28750 if test $_pkg_short_errors_supported = yes; then 28751 libcnotify_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcnotify >= 20120425" 2>&1` 28752 else 28753 libcnotify_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcnotify >= 20120425" 2>&1` 28754 fi 28755 # Put the nasty error message in config.log where it belongs 28756 echo "$libcnotify_PKG_ERRORS" >&5 28757 28758 ac_cv_libcnotify=check 28759elif test $pkg_failed = untried; then 28760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 28761$as_echo "no" >&6; } 28762 ac_cv_libcnotify=check 28763else 28764 libcnotify_CFLAGS=$pkg_cv_libcnotify_CFLAGS 28765 libcnotify_LIBS=$pkg_cv_libcnotify_LIBS 28766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 28767$as_echo "yes" >&6; } 28768 ac_cv_libcnotify=yes 28769fi 28770 28771fi 28772 if test "x$ac_cv_libcnotify" = xyes; then : 28773 ac_cv_libcnotify_CPPFLAGS="$pkg_cv_libcnotify_CFLAGS" 28774 ac_cv_libcnotify_LIBADD="$pkg_cv_libcnotify_LIBS" 28775fi 28776 28777fi 28778 28779 if test "x$ac_cv_libcnotify" = xcheck; then : 28780 for ac_header in libcnotify.h 28781do : 28782 ac_fn_c_check_header_mongrel "$LINENO" "libcnotify.h" "ac_cv_header_libcnotify_h" "$ac_includes_default" 28783if test "x$ac_cv_header_libcnotify_h" = xyes; then : 28784 cat >>confdefs.h <<_ACEOF 28785#define HAVE_LIBCNOTIFY_H 1 28786_ACEOF 28787 28788fi 28789 28790done 28791 28792 28793 if test "x$ac_cv_header_libcnotify_h" = xno; then : 28794 ac_cv_libcnotify=no 28795else 28796 ac_cv_libcnotify=yes 28797 28798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_get_version in -lcnotify" >&5 28799$as_echo_n "checking for libcnotify_get_version in -lcnotify... " >&6; } 28800if ${ac_cv_lib_cnotify_libcnotify_get_version+:} false; then : 28801 $as_echo_n "(cached) " >&6 28802else 28803 ac_check_lib_save_LIBS=$LIBS 28804LIBS="-lcnotify $LIBS" 28805cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28806/* end confdefs.h. */ 28807 28808/* Override any GCC internal prototype to avoid an error. 28809 Use char because int might match the return type of a GCC 28810 builtin and then its argument prototype would still apply. */ 28811#ifdef __cplusplus 28812extern "C" 28813#endif 28814char libcnotify_get_version (); 28815int 28816main () 28817{ 28818return libcnotify_get_version (); 28819 ; 28820 return 0; 28821} 28822_ACEOF 28823if ac_fn_c_try_link "$LINENO"; then : 28824 ac_cv_lib_cnotify_libcnotify_get_version=yes 28825else 28826 ac_cv_lib_cnotify_libcnotify_get_version=no 28827fi 28828rm -f core conftest.err conftest.$ac_objext \ 28829 conftest$ac_exeext conftest.$ac_ext 28830LIBS=$ac_check_lib_save_LIBS 28831fi 28832{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_get_version" >&5 28833$as_echo "$ac_cv_lib_cnotify_libcnotify_get_version" >&6; } 28834if test "x$ac_cv_lib_cnotify_libcnotify_get_version" = xyes; then : 28835 ac_cv_libcnotify_dummy=yes 28836else 28837 ac_cv_libcnotify=no 28838fi 28839 28840 28841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_printf in -lcnotify" >&5 28842$as_echo_n "checking for libcnotify_printf in -lcnotify... " >&6; } 28843if ${ac_cv_lib_cnotify_libcnotify_printf+:} false; then : 28844 $as_echo_n "(cached) " >&6 28845else 28846 ac_check_lib_save_LIBS=$LIBS 28847LIBS="-lcnotify $LIBS" 28848cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28849/* end confdefs.h. */ 28850 28851/* Override any GCC internal prototype to avoid an error. 28852 Use char because int might match the return type of a GCC 28853 builtin and then its argument prototype would still apply. */ 28854#ifdef __cplusplus 28855extern "C" 28856#endif 28857char libcnotify_printf (); 28858int 28859main () 28860{ 28861return libcnotify_printf (); 28862 ; 28863 return 0; 28864} 28865_ACEOF 28866if ac_fn_c_try_link "$LINENO"; then : 28867 ac_cv_lib_cnotify_libcnotify_printf=yes 28868else 28869 ac_cv_lib_cnotify_libcnotify_printf=no 28870fi 28871rm -f core conftest.err conftest.$ac_objext \ 28872 conftest$ac_exeext conftest.$ac_ext 28873LIBS=$ac_check_lib_save_LIBS 28874fi 28875{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_printf" >&5 28876$as_echo "$ac_cv_lib_cnotify_libcnotify_printf" >&6; } 28877if test "x$ac_cv_lib_cnotify_libcnotify_printf" = xyes; then : 28878 ac_cv_libcnotify_dummy=yes 28879else 28880 ac_cv_libcnotify=no 28881fi 28882 28883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_print_data in -lcnotify" >&5 28884$as_echo_n "checking for libcnotify_print_data in -lcnotify... " >&6; } 28885if ${ac_cv_lib_cnotify_libcnotify_print_data+:} false; then : 28886 $as_echo_n "(cached) " >&6 28887else 28888 ac_check_lib_save_LIBS=$LIBS 28889LIBS="-lcnotify $LIBS" 28890cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28891/* end confdefs.h. */ 28892 28893/* Override any GCC internal prototype to avoid an error. 28894 Use char because int might match the return type of a GCC 28895 builtin and then its argument prototype would still apply. */ 28896#ifdef __cplusplus 28897extern "C" 28898#endif 28899char libcnotify_print_data (); 28900int 28901main () 28902{ 28903return libcnotify_print_data (); 28904 ; 28905 return 0; 28906} 28907_ACEOF 28908if ac_fn_c_try_link "$LINENO"; then : 28909 ac_cv_lib_cnotify_libcnotify_print_data=yes 28910else 28911 ac_cv_lib_cnotify_libcnotify_print_data=no 28912fi 28913rm -f core conftest.err conftest.$ac_objext \ 28914 conftest$ac_exeext conftest.$ac_ext 28915LIBS=$ac_check_lib_save_LIBS 28916fi 28917{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_print_data" >&5 28918$as_echo "$ac_cv_lib_cnotify_libcnotify_print_data" >&6; } 28919if test "x$ac_cv_lib_cnotify_libcnotify_print_data" = xyes; then : 28920 ac_cv_libcnotify_dummy=yes 28921else 28922 ac_cv_libcnotify=no 28923fi 28924 28925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_print_error_backtrace in -lcnotify" >&5 28926$as_echo_n "checking for libcnotify_print_error_backtrace in -lcnotify... " >&6; } 28927if ${ac_cv_lib_cnotify_libcnotify_print_error_backtrace+:} false; then : 28928 $as_echo_n "(cached) " >&6 28929else 28930 ac_check_lib_save_LIBS=$LIBS 28931LIBS="-lcnotify $LIBS" 28932cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28933/* end confdefs.h. */ 28934 28935/* Override any GCC internal prototype to avoid an error. 28936 Use char because int might match the return type of a GCC 28937 builtin and then its argument prototype would still apply. */ 28938#ifdef __cplusplus 28939extern "C" 28940#endif 28941char libcnotify_print_error_backtrace (); 28942int 28943main () 28944{ 28945return libcnotify_print_error_backtrace (); 28946 ; 28947 return 0; 28948} 28949_ACEOF 28950if ac_fn_c_try_link "$LINENO"; then : 28951 ac_cv_lib_cnotify_libcnotify_print_error_backtrace=yes 28952else 28953 ac_cv_lib_cnotify_libcnotify_print_error_backtrace=no 28954fi 28955rm -f core conftest.err conftest.$ac_objext \ 28956 conftest$ac_exeext conftest.$ac_ext 28957LIBS=$ac_check_lib_save_LIBS 28958fi 28959{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_print_error_backtrace" >&5 28960$as_echo "$ac_cv_lib_cnotify_libcnotify_print_error_backtrace" >&6; } 28961if test "x$ac_cv_lib_cnotify_libcnotify_print_error_backtrace" = xyes; then : 28962 ac_cv_libcnotify_dummy=yes 28963else 28964 ac_cv_libcnotify=no 28965fi 28966 28967 28968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_stream_set in -lcnotify" >&5 28969$as_echo_n "checking for libcnotify_stream_set in -lcnotify... " >&6; } 28970if ${ac_cv_lib_cnotify_libcnotify_stream_set+:} false; then : 28971 $as_echo_n "(cached) " >&6 28972else 28973 ac_check_lib_save_LIBS=$LIBS 28974LIBS="-lcnotify $LIBS" 28975cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28976/* end confdefs.h. */ 28977 28978/* Override any GCC internal prototype to avoid an error. 28979 Use char because int might match the return type of a GCC 28980 builtin and then its argument prototype would still apply. */ 28981#ifdef __cplusplus 28982extern "C" 28983#endif 28984char libcnotify_stream_set (); 28985int 28986main () 28987{ 28988return libcnotify_stream_set (); 28989 ; 28990 return 0; 28991} 28992_ACEOF 28993if ac_fn_c_try_link "$LINENO"; then : 28994 ac_cv_lib_cnotify_libcnotify_stream_set=yes 28995else 28996 ac_cv_lib_cnotify_libcnotify_stream_set=no 28997fi 28998rm -f core conftest.err conftest.$ac_objext \ 28999 conftest$ac_exeext conftest.$ac_ext 29000LIBS=$ac_check_lib_save_LIBS 29001fi 29002{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_stream_set" >&5 29003$as_echo "$ac_cv_lib_cnotify_libcnotify_stream_set" >&6; } 29004if test "x$ac_cv_lib_cnotify_libcnotify_stream_set" = xyes; then : 29005 ac_cv_libcnotify_dummy=yes 29006else 29007 ac_cv_libcnotify=no 29008fi 29009 29010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_stream_open in -lcnotify" >&5 29011$as_echo_n "checking for libcnotify_stream_open in -lcnotify... " >&6; } 29012if ${ac_cv_lib_cnotify_libcnotify_stream_open+:} false; then : 29013 $as_echo_n "(cached) " >&6 29014else 29015 ac_check_lib_save_LIBS=$LIBS 29016LIBS="-lcnotify $LIBS" 29017cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29018/* end confdefs.h. */ 29019 29020/* Override any GCC internal prototype to avoid an error. 29021 Use char because int might match the return type of a GCC 29022 builtin and then its argument prototype would still apply. */ 29023#ifdef __cplusplus 29024extern "C" 29025#endif 29026char libcnotify_stream_open (); 29027int 29028main () 29029{ 29030return libcnotify_stream_open (); 29031 ; 29032 return 0; 29033} 29034_ACEOF 29035if ac_fn_c_try_link "$LINENO"; then : 29036 ac_cv_lib_cnotify_libcnotify_stream_open=yes 29037else 29038 ac_cv_lib_cnotify_libcnotify_stream_open=no 29039fi 29040rm -f core conftest.err conftest.$ac_objext \ 29041 conftest$ac_exeext conftest.$ac_ext 29042LIBS=$ac_check_lib_save_LIBS 29043fi 29044{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_stream_open" >&5 29045$as_echo "$ac_cv_lib_cnotify_libcnotify_stream_open" >&6; } 29046if test "x$ac_cv_lib_cnotify_libcnotify_stream_open" = xyes; then : 29047 ac_cv_libcnotify_dummy=yes 29048else 29049 ac_cv_libcnotify=no 29050fi 29051 29052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_stream_close in -lcnotify" >&5 29053$as_echo_n "checking for libcnotify_stream_close in -lcnotify... " >&6; } 29054if ${ac_cv_lib_cnotify_libcnotify_stream_close+:} false; then : 29055 $as_echo_n "(cached) " >&6 29056else 29057 ac_check_lib_save_LIBS=$LIBS 29058LIBS="-lcnotify $LIBS" 29059cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29060/* end confdefs.h. */ 29061 29062/* Override any GCC internal prototype to avoid an error. 29063 Use char because int might match the return type of a GCC 29064 builtin and then its argument prototype would still apply. */ 29065#ifdef __cplusplus 29066extern "C" 29067#endif 29068char libcnotify_stream_close (); 29069int 29070main () 29071{ 29072return libcnotify_stream_close (); 29073 ; 29074 return 0; 29075} 29076_ACEOF 29077if ac_fn_c_try_link "$LINENO"; then : 29078 ac_cv_lib_cnotify_libcnotify_stream_close=yes 29079else 29080 ac_cv_lib_cnotify_libcnotify_stream_close=no 29081fi 29082rm -f core conftest.err conftest.$ac_objext \ 29083 conftest$ac_exeext conftest.$ac_ext 29084LIBS=$ac_check_lib_save_LIBS 29085fi 29086{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_stream_close" >&5 29087$as_echo "$ac_cv_lib_cnotify_libcnotify_stream_close" >&6; } 29088if test "x$ac_cv_lib_cnotify_libcnotify_stream_close" = xyes; then : 29089 ac_cv_libcnotify_dummy=yes 29090else 29091 ac_cv_libcnotify=no 29092fi 29093 29094 29095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_verbose_set in -lcnotify" >&5 29096$as_echo_n "checking for libcnotify_verbose_set in -lcnotify... " >&6; } 29097if ${ac_cv_lib_cnotify_libcnotify_verbose_set+:} false; then : 29098 $as_echo_n "(cached) " >&6 29099else 29100 ac_check_lib_save_LIBS=$LIBS 29101LIBS="-lcnotify $LIBS" 29102cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29103/* end confdefs.h. */ 29104 29105/* Override any GCC internal prototype to avoid an error. 29106 Use char because int might match the return type of a GCC 29107 builtin and then its argument prototype would still apply. */ 29108#ifdef __cplusplus 29109extern "C" 29110#endif 29111char libcnotify_verbose_set (); 29112int 29113main () 29114{ 29115return libcnotify_verbose_set (); 29116 ; 29117 return 0; 29118} 29119_ACEOF 29120if ac_fn_c_try_link "$LINENO"; then : 29121 ac_cv_lib_cnotify_libcnotify_verbose_set=yes 29122else 29123 ac_cv_lib_cnotify_libcnotify_verbose_set=no 29124fi 29125rm -f core conftest.err conftest.$ac_objext \ 29126 conftest$ac_exeext conftest.$ac_ext 29127LIBS=$ac_check_lib_save_LIBS 29128fi 29129{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_verbose_set" >&5 29130$as_echo "$ac_cv_lib_cnotify_libcnotify_verbose_set" >&6; } 29131if test "x$ac_cv_lib_cnotify_libcnotify_verbose_set" = xyes; then : 29132 ac_cv_libcnotify_dummy=yes 29133else 29134 ac_cv_libcnotify=no 29135fi 29136 29137 29138 ac_cv_libcnotify_LIBADD="-lcnotify" 29139fi 29140 29141fi 29142 if test "x$ac_cv_with_libcnotify" != x && test "x$ac_cv_with_libcnotify" != xauto-detect && test "x$ac_cv_libcnotify" != xyes; then : 29143 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 29144$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 29145as_fn_error 1 "unable to find supported libcnotify in directory: $ac_cv_with_libcnotify 29146See \`config.log' for more details" "$LINENO" 5; } 29147 29148fi 29149 29150fi 29151 29152 if test "x$ac_cv_libcnotify" = xyes; then : 29153 29154$as_echo "#define HAVE_LIBCNOTIFY 1" >>confdefs.h 29155 29156 29157fi 29158 29159 if test "x$ac_cv_libcnotify" = xyes; then : 29160 HAVE_LIBCNOTIFY=1 29161 29162else 29163 HAVE_LIBCNOTIFY=0 29164 29165 29166fi 29167 29168 29169 if test "x$ac_cv_libcnotify" != xyes; then : 29170 for ac_header in stdarg.h varargs.h 29171do : 29172 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 29173ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 29174if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 29175 cat >>confdefs.h <<_ACEOF 29176#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 29177_ACEOF 29178 29179fi 29180 29181done 29182 29183 29184 if test "x$ac_cv_header_stdarg_h" != xyes && test "x$ac_cv_header_varargs_h" != xyes; then : 29185 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 29186$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 29187as_fn_error 1 "Missing headers: stdarg.h and varargs.h 29188See \`config.log' for more details" "$LINENO" 5; } 29189 29190fi 29191 29192 for ac_header in errno.h 29193do : 29194 ac_fn_c_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default" 29195if test "x$ac_cv_header_errno_h" = xyes; then : 29196 cat >>confdefs.h <<_ACEOF 29197#define HAVE_ERRNO_H 1 29198_ACEOF 29199 29200fi 29201 29202done 29203 29204 29205 ac_cv_libcnotify_CPPFLAGS="-I../libcnotify"; 29206 ac_cv_libcnotify_LIBADD="../libcnotify/libcnotify.la"; 29207 29208 ac_cv_libcnotify=local 29209 29210 29211 29212$as_echo "#define HAVE_LOCAL_LIBCNOTIFY 1" >>confdefs.h 29213 29214 HAVE_LOCAL_LIBCNOTIFY=1 29215 29216 29217fi 29218 29219 if test "x$ac_cv_libcnotify" = xlocal; then 29220 HAVE_LOCAL_LIBCNOTIFY_TRUE= 29221 HAVE_LOCAL_LIBCNOTIFY_FALSE='#' 29222else 29223 HAVE_LOCAL_LIBCNOTIFY_TRUE='#' 29224 HAVE_LOCAL_LIBCNOTIFY_FALSE= 29225fi 29226 29227 if test "x$ac_cv_libcnotify_CPPFLAGS" != "x"; then : 29228 LIBCNOTIFY_CPPFLAGS=$ac_cv_libcnotify_CPPFLAGS 29229 29230 29231fi 29232 if test "x$ac_cv_libcnotify_LIBADD" != "x"; then : 29233 LIBCNOTIFY_LIBADD=$ac_cv_libcnotify_LIBADD 29234 29235 29236fi 29237 29238 if test "x$ac_cv_libcnotify" = xyes; then : 29239 ax_libcnotify_pc_libs_private=-lcnotify 29240 29241 29242fi 29243 29244 if test "x$ac_cv_libcnotify" = xyes; then : 29245 ax_libcnotify_spec_requires=libcnotify 29246 29247 ax_libcnotify_spec_build_requires=libcnotify-devel 29248 29249 29250fi 29251 29252 29253 29254 29255# Check whether --with-libcsplit was given. 29256if test "${with_libcsplit+set}" = set; then : 29257 withval=$with_libcsplit; ac_cv_with_libcsplit=$withval 29258else 29259 ac_cv_with_libcsplit=auto-detect 29260fi 29261 29262 { $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 29263$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; } 29264if ${ac_cv_with_libcsplit+:} false; then : 29265 $as_echo_n "(cached) " >&6 29266else 29267 ac_cv_with_libcsplit=auto-detect 29268fi 29269{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libcsplit" >&5 29270$as_echo "$ac_cv_with_libcsplit" >&6; } 29271 29272 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libcsplit" = xno; then : 29273 ac_cv_libcsplit=no 29274else 29275 ac_cv_libcsplit=check 29276 if test "x$ac_cv_with_libcsplit" != x && test "x$ac_cv_with_libcsplit" != xauto-detect; then : 29277 if test -d "$ac_cv_with_libcsplit"; then : 29278 CFLAGS="$CFLAGS -I${ac_cv_with_libcsplit}/include" 29279 LDFLAGS="$LDFLAGS -L${ac_cv_with_libcsplit}/lib" 29280else 29281 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 29282$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 29283as_fn_error 1 "no such directory: $ac_cv_with_libcsplit 29284See \`config.log' for more details" "$LINENO" 5; } 29285 29286fi 29287 29288else 29289 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 29290 29291pkg_failed=no 29292{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit" >&5 29293$as_echo_n "checking for libcsplit... " >&6; } 29294 29295if test -n "$libcsplit_CFLAGS"; then 29296 pkg_cv_libcsplit_CFLAGS="$libcsplit_CFLAGS" 29297 elif test -n "$PKG_CONFIG"; then 29298 if test -n "$PKG_CONFIG" && \ 29299 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcsplit >= 20120701\""; } >&5 29300 ($PKG_CONFIG --exists --print-errors "libcsplit >= 20120701") 2>&5 29301 ac_status=$? 29302 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 29303 test $ac_status = 0; }; then 29304 pkg_cv_libcsplit_CFLAGS=`$PKG_CONFIG --cflags "libcsplit >= 20120701" 2>/dev/null` 29305 test "x$?" != "x0" && pkg_failed=yes 29306else 29307 pkg_failed=yes 29308fi 29309 else 29310 pkg_failed=untried 29311fi 29312if test -n "$libcsplit_LIBS"; then 29313 pkg_cv_libcsplit_LIBS="$libcsplit_LIBS" 29314 elif test -n "$PKG_CONFIG"; then 29315 if test -n "$PKG_CONFIG" && \ 29316 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcsplit >= 20120701\""; } >&5 29317 ($PKG_CONFIG --exists --print-errors "libcsplit >= 20120701") 2>&5 29318 ac_status=$? 29319 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 29320 test $ac_status = 0; }; then 29321 pkg_cv_libcsplit_LIBS=`$PKG_CONFIG --libs "libcsplit >= 20120701" 2>/dev/null` 29322 test "x$?" != "x0" && pkg_failed=yes 29323else 29324 pkg_failed=yes 29325fi 29326 else 29327 pkg_failed=untried 29328fi 29329 29330 29331 29332if test $pkg_failed = yes; then 29333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 29334$as_echo "no" >&6; } 29335 29336if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 29337 _pkg_short_errors_supported=yes 29338else 29339 _pkg_short_errors_supported=no 29340fi 29341 if test $_pkg_short_errors_supported = yes; then 29342 libcsplit_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcsplit >= 20120701" 2>&1` 29343 else 29344 libcsplit_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcsplit >= 20120701" 2>&1` 29345 fi 29346 # Put the nasty error message in config.log where it belongs 29347 echo "$libcsplit_PKG_ERRORS" >&5 29348 29349 ac_cv_libcsplit=check 29350elif test $pkg_failed = untried; then 29351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 29352$as_echo "no" >&6; } 29353 ac_cv_libcsplit=check 29354else 29355 libcsplit_CFLAGS=$pkg_cv_libcsplit_CFLAGS 29356 libcsplit_LIBS=$pkg_cv_libcsplit_LIBS 29357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 29358$as_echo "yes" >&6; } 29359 ac_cv_libcsplit=yes 29360fi 29361 29362fi 29363 if test "x$ac_cv_libcsplit" = xyes && test "x$ac_cv_enable_wide_character_type" != xno; then : 29364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libcsplit/features.h defines LIBCSPLIT_HAVE_WIDE_CHARACTER_TYPE as 1" >&5 29365$as_echo_n "checking whether libcsplit/features.h defines LIBCSPLIT_HAVE_WIDE_CHARACTER_TYPE as 1... " >&6; } 29366if ${ac_cv_header_libcsplit_features_h_have_wide_character_type+:} false; then : 29367 $as_echo_n "(cached) " >&6 29368else 29369 ac_ext=c 29370ac_cpp='$CPP $CPPFLAGS' 29371ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 29372ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 29373ac_compiler_gnu=$ac_cv_c_compiler_gnu 29374 29375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29376/* end confdefs.h. */ 29377#include <libcsplit/features.h> 29378int 29379main () 29380{ 29381#if !defined( LIBCSPLIT_HAVE_WIDE_CHARACTER_TYPE ) || ( LIBCSPLIT_HAVE_WIDE_CHARACTER_TYPE != 1 ) 29382#error LIBCSPLIT_HAVE_WIDE_CHARACTER_TYPE not defined 29383#endif 29384 ; 29385 return 0; 29386} 29387_ACEOF 29388if ac_fn_c_try_compile "$LINENO"; then : 29389 ac_cv_header_libcsplit_features_h_have_wide_character_type=yes 29390else 29391 ac_cv_header_libcsplit_features_h_have_wide_character_type=no 29392fi 29393rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 29394 ac_ext=c 29395ac_cpp='$CPP $CPPFLAGS' 29396ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 29397ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 29398ac_compiler_gnu=$ac_cv_c_compiler_gnu 29399 29400fi 29401{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_libcsplit_features_h_have_wide_character_type" >&5 29402$as_echo "$ac_cv_header_libcsplit_features_h_have_wide_character_type" >&6; } 29403 29404 if test "x$ac_cv_header_libcsplit_features_h_have_wide_character_type" = xno; then : 29405 ac_cv_libcsplit=no 29406fi 29407 29408fi 29409 if test "x$ac_cv_libcsplit" = xyes; then : 29410 ac_cv_libcsplit_CPPFLAGS="$pkg_cv_libcsplit_CFLAGS" 29411 ac_cv_libcsplit_LIBADD="$pkg_cv_libcsplit_LIBS" 29412fi 29413 29414fi 29415 29416 if test "x$ac_cv_libcsplit" = xcheck; then : 29417 for ac_header in libcsplit.h 29418do : 29419 ac_fn_c_check_header_mongrel "$LINENO" "libcsplit.h" "ac_cv_header_libcsplit_h" "$ac_includes_default" 29420if test "x$ac_cv_header_libcsplit_h" = xyes; then : 29421 cat >>confdefs.h <<_ACEOF 29422#define HAVE_LIBCSPLIT_H 1 29423_ACEOF 29424 29425fi 29426 29427done 29428 29429 29430 if test "x$ac_cv_header_libcsplit_h" = xno; then : 29431 ac_cv_libcsplit=no 29432else 29433 ac_cv_libcsplit=yes 29434 29435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_get_version in -lcsplit" >&5 29436$as_echo_n "checking for libcsplit_get_version in -lcsplit... " >&6; } 29437if ${ac_cv_lib_csplit_libcsplit_get_version+:} false; then : 29438 $as_echo_n "(cached) " >&6 29439else 29440 ac_check_lib_save_LIBS=$LIBS 29441LIBS="-lcsplit $LIBS" 29442cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29443/* end confdefs.h. */ 29444 29445/* Override any GCC internal prototype to avoid an error. 29446 Use char because int might match the return type of a GCC 29447 builtin and then its argument prototype would still apply. */ 29448#ifdef __cplusplus 29449extern "C" 29450#endif 29451char libcsplit_get_version (); 29452int 29453main () 29454{ 29455return libcsplit_get_version (); 29456 ; 29457 return 0; 29458} 29459_ACEOF 29460if ac_fn_c_try_link "$LINENO"; then : 29461 ac_cv_lib_csplit_libcsplit_get_version=yes 29462else 29463 ac_cv_lib_csplit_libcsplit_get_version=no 29464fi 29465rm -f core conftest.err conftest.$ac_objext \ 29466 conftest$ac_exeext conftest.$ac_ext 29467LIBS=$ac_check_lib_save_LIBS 29468fi 29469{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_get_version" >&5 29470$as_echo "$ac_cv_lib_csplit_libcsplit_get_version" >&6; } 29471if test "x$ac_cv_lib_csplit_libcsplit_get_version" = xyes; then : 29472 ac_cv_libcsplit_dummy=yes 29473else 29474 ac_cv_libcsplit=no 29475fi 29476 29477 29478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_narrow_string_split in -lcsplit" >&5 29479$as_echo_n "checking for libcsplit_narrow_string_split in -lcsplit... " >&6; } 29480if ${ac_cv_lib_csplit_libcsplit_narrow_string_split+:} false; then : 29481 $as_echo_n "(cached) " >&6 29482else 29483 ac_check_lib_save_LIBS=$LIBS 29484LIBS="-lcsplit $LIBS" 29485cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29486/* end confdefs.h. */ 29487 29488/* Override any GCC internal prototype to avoid an error. 29489 Use char because int might match the return type of a GCC 29490 builtin and then its argument prototype would still apply. */ 29491#ifdef __cplusplus 29492extern "C" 29493#endif 29494char libcsplit_narrow_string_split (); 29495int 29496main () 29497{ 29498return libcsplit_narrow_string_split (); 29499 ; 29500 return 0; 29501} 29502_ACEOF 29503if ac_fn_c_try_link "$LINENO"; then : 29504 ac_cv_lib_csplit_libcsplit_narrow_string_split=yes 29505else 29506 ac_cv_lib_csplit_libcsplit_narrow_string_split=no 29507fi 29508rm -f core conftest.err conftest.$ac_objext \ 29509 conftest$ac_exeext conftest.$ac_ext 29510LIBS=$ac_check_lib_save_LIBS 29511fi 29512{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_narrow_string_split" >&5 29513$as_echo "$ac_cv_lib_csplit_libcsplit_narrow_string_split" >&6; } 29514if test "x$ac_cv_lib_csplit_libcsplit_narrow_string_split" = xyes; then : 29515 ac_cv_libcsplit_dummy=yes 29516else 29517 ac_cv_libcsplit=no 29518fi 29519 29520 29521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_narrow_split_string_free in -lcsplit" >&5 29522$as_echo_n "checking for libcsplit_narrow_split_string_free in -lcsplit... " >&6; } 29523if ${ac_cv_lib_csplit_libcsplit_narrow_split_string_free+:} false; then : 29524 $as_echo_n "(cached) " >&6 29525else 29526 ac_check_lib_save_LIBS=$LIBS 29527LIBS="-lcsplit $LIBS" 29528cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29529/* end confdefs.h. */ 29530 29531/* Override any GCC internal prototype to avoid an error. 29532 Use char because int might match the return type of a GCC 29533 builtin and then its argument prototype would still apply. */ 29534#ifdef __cplusplus 29535extern "C" 29536#endif 29537char libcsplit_narrow_split_string_free (); 29538int 29539main () 29540{ 29541return libcsplit_narrow_split_string_free (); 29542 ; 29543 return 0; 29544} 29545_ACEOF 29546if ac_fn_c_try_link "$LINENO"; then : 29547 ac_cv_lib_csplit_libcsplit_narrow_split_string_free=yes 29548else 29549 ac_cv_lib_csplit_libcsplit_narrow_split_string_free=no 29550fi 29551rm -f core conftest.err conftest.$ac_objext \ 29552 conftest$ac_exeext conftest.$ac_ext 29553LIBS=$ac_check_lib_save_LIBS 29554fi 29555{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_narrow_split_string_free" >&5 29556$as_echo "$ac_cv_lib_csplit_libcsplit_narrow_split_string_free" >&6; } 29557if test "x$ac_cv_lib_csplit_libcsplit_narrow_split_string_free" = xyes; then : 29558 ac_cv_libcsplit_dummy=yes 29559else 29560 ac_cv_libcsplit=no 29561fi 29562 29563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_narrow_split_string_get_string in -lcsplit" >&5 29564$as_echo_n "checking for libcsplit_narrow_split_string_get_string in -lcsplit... " >&6; } 29565if ${ac_cv_lib_csplit_libcsplit_narrow_split_string_get_string+:} false; then : 29566 $as_echo_n "(cached) " >&6 29567else 29568 ac_check_lib_save_LIBS=$LIBS 29569LIBS="-lcsplit $LIBS" 29570cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29571/* end confdefs.h. */ 29572 29573/* Override any GCC internal prototype to avoid an error. 29574 Use char because int might match the return type of a GCC 29575 builtin and then its argument prototype would still apply. */ 29576#ifdef __cplusplus 29577extern "C" 29578#endif 29579char libcsplit_narrow_split_string_get_string (); 29580int 29581main () 29582{ 29583return libcsplit_narrow_split_string_get_string (); 29584 ; 29585 return 0; 29586} 29587_ACEOF 29588if ac_fn_c_try_link "$LINENO"; then : 29589 ac_cv_lib_csplit_libcsplit_narrow_split_string_get_string=yes 29590else 29591 ac_cv_lib_csplit_libcsplit_narrow_split_string_get_string=no 29592fi 29593rm -f core conftest.err conftest.$ac_objext \ 29594 conftest$ac_exeext conftest.$ac_ext 29595LIBS=$ac_check_lib_save_LIBS 29596fi 29597{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_narrow_split_string_get_string" >&5 29598$as_echo "$ac_cv_lib_csplit_libcsplit_narrow_split_string_get_string" >&6; } 29599if test "x$ac_cv_lib_csplit_libcsplit_narrow_split_string_get_string" = xyes; then : 29600 ac_cv_libcsplit_dummy=yes 29601else 29602 ac_cv_libcsplit=no 29603fi 29604 29605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_narrow_split_string_get_number_of_segments in -lcsplit" >&5 29606$as_echo_n "checking for libcsplit_narrow_split_string_get_number_of_segments in -lcsplit... " >&6; } 29607if ${ac_cv_lib_csplit_libcsplit_narrow_split_string_get_number_of_segments+:} false; then : 29608 $as_echo_n "(cached) " >&6 29609else 29610 ac_check_lib_save_LIBS=$LIBS 29611LIBS="-lcsplit $LIBS" 29612cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29613/* end confdefs.h. */ 29614 29615/* Override any GCC internal prototype to avoid an error. 29616 Use char because int might match the return type of a GCC 29617 builtin and then its argument prototype would still apply. */ 29618#ifdef __cplusplus 29619extern "C" 29620#endif 29621char libcsplit_narrow_split_string_get_number_of_segments (); 29622int 29623main () 29624{ 29625return libcsplit_narrow_split_string_get_number_of_segments (); 29626 ; 29627 return 0; 29628} 29629_ACEOF 29630if ac_fn_c_try_link "$LINENO"; then : 29631 ac_cv_lib_csplit_libcsplit_narrow_split_string_get_number_of_segments=yes 29632else 29633 ac_cv_lib_csplit_libcsplit_narrow_split_string_get_number_of_segments=no 29634fi 29635rm -f core conftest.err conftest.$ac_objext \ 29636 conftest$ac_exeext conftest.$ac_ext 29637LIBS=$ac_check_lib_save_LIBS 29638fi 29639{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_narrow_split_string_get_number_of_segments" >&5 29640$as_echo "$ac_cv_lib_csplit_libcsplit_narrow_split_string_get_number_of_segments" >&6; } 29641if test "x$ac_cv_lib_csplit_libcsplit_narrow_split_string_get_number_of_segments" = xyes; then : 29642 ac_cv_libcsplit_dummy=yes 29643else 29644 ac_cv_libcsplit=no 29645fi 29646 29647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_narrow_split_string_get_segment_by_index in -lcsplit" >&5 29648$as_echo_n "checking for libcsplit_narrow_split_string_get_segment_by_index in -lcsplit... " >&6; } 29649if ${ac_cv_lib_csplit_libcsplit_narrow_split_string_get_segment_by_index+:} false; then : 29650 $as_echo_n "(cached) " >&6 29651else 29652 ac_check_lib_save_LIBS=$LIBS 29653LIBS="-lcsplit $LIBS" 29654cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29655/* end confdefs.h. */ 29656 29657/* Override any GCC internal prototype to avoid an error. 29658 Use char because int might match the return type of a GCC 29659 builtin and then its argument prototype would still apply. */ 29660#ifdef __cplusplus 29661extern "C" 29662#endif 29663char libcsplit_narrow_split_string_get_segment_by_index (); 29664int 29665main () 29666{ 29667return libcsplit_narrow_split_string_get_segment_by_index (); 29668 ; 29669 return 0; 29670} 29671_ACEOF 29672if ac_fn_c_try_link "$LINENO"; then : 29673 ac_cv_lib_csplit_libcsplit_narrow_split_string_get_segment_by_index=yes 29674else 29675 ac_cv_lib_csplit_libcsplit_narrow_split_string_get_segment_by_index=no 29676fi 29677rm -f core conftest.err conftest.$ac_objext \ 29678 conftest$ac_exeext conftest.$ac_ext 29679LIBS=$ac_check_lib_save_LIBS 29680fi 29681{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_narrow_split_string_get_segment_by_index" >&5 29682$as_echo "$ac_cv_lib_csplit_libcsplit_narrow_split_string_get_segment_by_index" >&6; } 29683if test "x$ac_cv_lib_csplit_libcsplit_narrow_split_string_get_segment_by_index" = xyes; then : 29684 ac_cv_libcsplit_dummy=yes 29685else 29686 ac_cv_libcsplit=no 29687fi 29688 29689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_narrow_split_string_set_segment_by_index in -lcsplit" >&5 29690$as_echo_n "checking for libcsplit_narrow_split_string_set_segment_by_index in -lcsplit... " >&6; } 29691if ${ac_cv_lib_csplit_libcsplit_narrow_split_string_set_segment_by_index+:} false; then : 29692 $as_echo_n "(cached) " >&6 29693else 29694 ac_check_lib_save_LIBS=$LIBS 29695LIBS="-lcsplit $LIBS" 29696cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29697/* end confdefs.h. */ 29698 29699/* Override any GCC internal prototype to avoid an error. 29700 Use char because int might match the return type of a GCC 29701 builtin and then its argument prototype would still apply. */ 29702#ifdef __cplusplus 29703extern "C" 29704#endif 29705char libcsplit_narrow_split_string_set_segment_by_index (); 29706int 29707main () 29708{ 29709return libcsplit_narrow_split_string_set_segment_by_index (); 29710 ; 29711 return 0; 29712} 29713_ACEOF 29714if ac_fn_c_try_link "$LINENO"; then : 29715 ac_cv_lib_csplit_libcsplit_narrow_split_string_set_segment_by_index=yes 29716else 29717 ac_cv_lib_csplit_libcsplit_narrow_split_string_set_segment_by_index=no 29718fi 29719rm -f core conftest.err conftest.$ac_objext \ 29720 conftest$ac_exeext conftest.$ac_ext 29721LIBS=$ac_check_lib_save_LIBS 29722fi 29723{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_narrow_split_string_set_segment_by_index" >&5 29724$as_echo "$ac_cv_lib_csplit_libcsplit_narrow_split_string_set_segment_by_index" >&6; } 29725if test "x$ac_cv_lib_csplit_libcsplit_narrow_split_string_set_segment_by_index" = xyes; then : 29726 ac_cv_libcsplit_dummy=yes 29727else 29728 ac_cv_libcsplit=no 29729fi 29730 29731 29732 if test "x$ac_cv_enable_wide_character_type" != xno; then : 29733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_wide_string_split in -lcsplit" >&5 29734$as_echo_n "checking for libcsplit_wide_string_split in -lcsplit... " >&6; } 29735if ${ac_cv_lib_csplit_libcsplit_wide_string_split+:} false; then : 29736 $as_echo_n "(cached) " >&6 29737else 29738 ac_check_lib_save_LIBS=$LIBS 29739LIBS="-lcsplit $LIBS" 29740cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29741/* end confdefs.h. */ 29742 29743/* Override any GCC internal prototype to avoid an error. 29744 Use char because int might match the return type of a GCC 29745 builtin and then its argument prototype would still apply. */ 29746#ifdef __cplusplus 29747extern "C" 29748#endif 29749char libcsplit_wide_string_split (); 29750int 29751main () 29752{ 29753return libcsplit_wide_string_split (); 29754 ; 29755 return 0; 29756} 29757_ACEOF 29758if ac_fn_c_try_link "$LINENO"; then : 29759 ac_cv_lib_csplit_libcsplit_wide_string_split=yes 29760else 29761 ac_cv_lib_csplit_libcsplit_wide_string_split=no 29762fi 29763rm -f core conftest.err conftest.$ac_objext \ 29764 conftest$ac_exeext conftest.$ac_ext 29765LIBS=$ac_check_lib_save_LIBS 29766fi 29767{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_wide_string_split" >&5 29768$as_echo "$ac_cv_lib_csplit_libcsplit_wide_string_split" >&6; } 29769if test "x$ac_cv_lib_csplit_libcsplit_wide_string_split" = xyes; then : 29770 ac_cv_libcsplit_dummy=yes 29771else 29772 ac_cv_libcsplit=no 29773fi 29774 29775 29776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_wide_split_string_free in -lcsplit" >&5 29777$as_echo_n "checking for libcsplit_wide_split_string_free in -lcsplit... " >&6; } 29778if ${ac_cv_lib_csplit_libcsplit_wide_split_string_free+:} false; then : 29779 $as_echo_n "(cached) " >&6 29780else 29781 ac_check_lib_save_LIBS=$LIBS 29782LIBS="-lcsplit $LIBS" 29783cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29784/* end confdefs.h. */ 29785 29786/* Override any GCC internal prototype to avoid an error. 29787 Use char because int might match the return type of a GCC 29788 builtin and then its argument prototype would still apply. */ 29789#ifdef __cplusplus 29790extern "C" 29791#endif 29792char libcsplit_wide_split_string_free (); 29793int 29794main () 29795{ 29796return libcsplit_wide_split_string_free (); 29797 ; 29798 return 0; 29799} 29800_ACEOF 29801if ac_fn_c_try_link "$LINENO"; then : 29802 ac_cv_lib_csplit_libcsplit_wide_split_string_free=yes 29803else 29804 ac_cv_lib_csplit_libcsplit_wide_split_string_free=no 29805fi 29806rm -f core conftest.err conftest.$ac_objext \ 29807 conftest$ac_exeext conftest.$ac_ext 29808LIBS=$ac_check_lib_save_LIBS 29809fi 29810{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_wide_split_string_free" >&5 29811$as_echo "$ac_cv_lib_csplit_libcsplit_wide_split_string_free" >&6; } 29812if test "x$ac_cv_lib_csplit_libcsplit_wide_split_string_free" = xyes; then : 29813 ac_cv_libcsplit_dummy=yes 29814else 29815 ac_cv_libcsplit=no 29816fi 29817 29818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_wide_split_string_get_string in -lcsplit" >&5 29819$as_echo_n "checking for libcsplit_wide_split_string_get_string in -lcsplit... " >&6; } 29820if ${ac_cv_lib_csplit_libcsplit_wide_split_string_get_string+:} false; then : 29821 $as_echo_n "(cached) " >&6 29822else 29823 ac_check_lib_save_LIBS=$LIBS 29824LIBS="-lcsplit $LIBS" 29825cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29826/* end confdefs.h. */ 29827 29828/* Override any GCC internal prototype to avoid an error. 29829 Use char because int might match the return type of a GCC 29830 builtin and then its argument prototype would still apply. */ 29831#ifdef __cplusplus 29832extern "C" 29833#endif 29834char libcsplit_wide_split_string_get_string (); 29835int 29836main () 29837{ 29838return libcsplit_wide_split_string_get_string (); 29839 ; 29840 return 0; 29841} 29842_ACEOF 29843if ac_fn_c_try_link "$LINENO"; then : 29844 ac_cv_lib_csplit_libcsplit_wide_split_string_get_string=yes 29845else 29846 ac_cv_lib_csplit_libcsplit_wide_split_string_get_string=no 29847fi 29848rm -f core conftest.err conftest.$ac_objext \ 29849 conftest$ac_exeext conftest.$ac_ext 29850LIBS=$ac_check_lib_save_LIBS 29851fi 29852{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_wide_split_string_get_string" >&5 29853$as_echo "$ac_cv_lib_csplit_libcsplit_wide_split_string_get_string" >&6; } 29854if test "x$ac_cv_lib_csplit_libcsplit_wide_split_string_get_string" = xyes; then : 29855 ac_cv_libcsplit_dummy=yes 29856else 29857 ac_cv_libcsplit=no 29858fi 29859 29860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_wide_split_string_get_number_of_segments in -lcsplit" >&5 29861$as_echo_n "checking for libcsplit_wide_split_string_get_number_of_segments in -lcsplit... " >&6; } 29862if ${ac_cv_lib_csplit_libcsplit_wide_split_string_get_number_of_segments+:} false; then : 29863 $as_echo_n "(cached) " >&6 29864else 29865 ac_check_lib_save_LIBS=$LIBS 29866LIBS="-lcsplit $LIBS" 29867cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29868/* end confdefs.h. */ 29869 29870/* Override any GCC internal prototype to avoid an error. 29871 Use char because int might match the return type of a GCC 29872 builtin and then its argument prototype would still apply. */ 29873#ifdef __cplusplus 29874extern "C" 29875#endif 29876char libcsplit_wide_split_string_get_number_of_segments (); 29877int 29878main () 29879{ 29880return libcsplit_wide_split_string_get_number_of_segments (); 29881 ; 29882 return 0; 29883} 29884_ACEOF 29885if ac_fn_c_try_link "$LINENO"; then : 29886 ac_cv_lib_csplit_libcsplit_wide_split_string_get_number_of_segments=yes 29887else 29888 ac_cv_lib_csplit_libcsplit_wide_split_string_get_number_of_segments=no 29889fi 29890rm -f core conftest.err conftest.$ac_objext \ 29891 conftest$ac_exeext conftest.$ac_ext 29892LIBS=$ac_check_lib_save_LIBS 29893fi 29894{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_wide_split_string_get_number_of_segments" >&5 29895$as_echo "$ac_cv_lib_csplit_libcsplit_wide_split_string_get_number_of_segments" >&6; } 29896if test "x$ac_cv_lib_csplit_libcsplit_wide_split_string_get_number_of_segments" = xyes; then : 29897 ac_cv_libcsplit_dummy=yes 29898else 29899 ac_cv_libcsplit=no 29900fi 29901 29902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_wide_split_string_get_segment_by_index in -lcsplit" >&5 29903$as_echo_n "checking for libcsplit_wide_split_string_get_segment_by_index in -lcsplit... " >&6; } 29904if ${ac_cv_lib_csplit_libcsplit_wide_split_string_get_segment_by_index+:} false; then : 29905 $as_echo_n "(cached) " >&6 29906else 29907 ac_check_lib_save_LIBS=$LIBS 29908LIBS="-lcsplit $LIBS" 29909cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29910/* end confdefs.h. */ 29911 29912/* Override any GCC internal prototype to avoid an error. 29913 Use char because int might match the return type of a GCC 29914 builtin and then its argument prototype would still apply. */ 29915#ifdef __cplusplus 29916extern "C" 29917#endif 29918char libcsplit_wide_split_string_get_segment_by_index (); 29919int 29920main () 29921{ 29922return libcsplit_wide_split_string_get_segment_by_index (); 29923 ; 29924 return 0; 29925} 29926_ACEOF 29927if ac_fn_c_try_link "$LINENO"; then : 29928 ac_cv_lib_csplit_libcsplit_wide_split_string_get_segment_by_index=yes 29929else 29930 ac_cv_lib_csplit_libcsplit_wide_split_string_get_segment_by_index=no 29931fi 29932rm -f core conftest.err conftest.$ac_objext \ 29933 conftest$ac_exeext conftest.$ac_ext 29934LIBS=$ac_check_lib_save_LIBS 29935fi 29936{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_wide_split_string_get_segment_by_index" >&5 29937$as_echo "$ac_cv_lib_csplit_libcsplit_wide_split_string_get_segment_by_index" >&6; } 29938if test "x$ac_cv_lib_csplit_libcsplit_wide_split_string_get_segment_by_index" = xyes; then : 29939 ac_cv_libcsplit_dummy=yes 29940else 29941 ac_cv_libcsplit=no 29942fi 29943 29944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_wide_split_string_set_segment_by_index in -lcsplit" >&5 29945$as_echo_n "checking for libcsplit_wide_split_string_set_segment_by_index in -lcsplit... " >&6; } 29946if ${ac_cv_lib_csplit_libcsplit_wide_split_string_set_segment_by_index+:} false; then : 29947 $as_echo_n "(cached) " >&6 29948else 29949 ac_check_lib_save_LIBS=$LIBS 29950LIBS="-lcsplit $LIBS" 29951cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29952/* end confdefs.h. */ 29953 29954/* Override any GCC internal prototype to avoid an error. 29955 Use char because int might match the return type of a GCC 29956 builtin and then its argument prototype would still apply. */ 29957#ifdef __cplusplus 29958extern "C" 29959#endif 29960char libcsplit_wide_split_string_set_segment_by_index (); 29961int 29962main () 29963{ 29964return libcsplit_wide_split_string_set_segment_by_index (); 29965 ; 29966 return 0; 29967} 29968_ACEOF 29969if ac_fn_c_try_link "$LINENO"; then : 29970 ac_cv_lib_csplit_libcsplit_wide_split_string_set_segment_by_index=yes 29971else 29972 ac_cv_lib_csplit_libcsplit_wide_split_string_set_segment_by_index=no 29973fi 29974rm -f core conftest.err conftest.$ac_objext \ 29975 conftest$ac_exeext conftest.$ac_ext 29976LIBS=$ac_check_lib_save_LIBS 29977fi 29978{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_wide_split_string_set_segment_by_index" >&5 29979$as_echo "$ac_cv_lib_csplit_libcsplit_wide_split_string_set_segment_by_index" >&6; } 29980if test "x$ac_cv_lib_csplit_libcsplit_wide_split_string_set_segment_by_index" = xyes; then : 29981 ac_cv_libcsplit_dummy=yes 29982else 29983 ac_cv_libcsplit=no 29984fi 29985 29986 29987fi 29988 29989 ac_cv_libcsplit_LIBADD="-lcsplit" 29990fi 29991 29992fi 29993 if test "x$ac_cv_with_libcsplit" != x && test "x$ac_cv_with_libcsplit" != xauto-detect && test "x$ac_cv_libcsplit" != xyes; then : 29994 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 29995$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 29996as_fn_error 1 "unable to find supported libcsplit in directory: $ac_cv_with_libcsplit 29997See \`config.log' for more details" "$LINENO" 5; } 29998 29999fi 30000 30001fi 30002 30003 if test "x$ac_cv_libcsplit" = xyes; then : 30004 30005$as_echo "#define HAVE_LIBCSPLIT 1" >>confdefs.h 30006 30007 30008fi 30009 30010 if test "x$ac_cv_libcsplit" = xyes; then : 30011 HAVE_LIBCSPLIT=1 30012 30013else 30014 HAVE_LIBCSPLIT=0 30015 30016 30017fi 30018 30019 30020 if test "x$ac_cv_libcsplit" != xyes; then : 30021 30022 ac_cv_libcsplit_CPPFLAGS="-I../libcsplit"; 30023 ac_cv_libcsplit_LIBADD="../libcsplit/libcsplit.la"; 30024 30025 ac_cv_libcsplit=local 30026 30027 30028 30029$as_echo "#define HAVE_LOCAL_LIBCSPLIT 1" >>confdefs.h 30030 30031 HAVE_LOCAL_LIBCSPLIT=1 30032 30033 30034fi 30035 30036 if test "x$ac_cv_libcsplit" = xlocal; then 30037 HAVE_LOCAL_LIBCSPLIT_TRUE= 30038 HAVE_LOCAL_LIBCSPLIT_FALSE='#' 30039else 30040 HAVE_LOCAL_LIBCSPLIT_TRUE='#' 30041 HAVE_LOCAL_LIBCSPLIT_FALSE= 30042fi 30043 30044 if test "x$ac_cv_libcsplit_CPPFLAGS" != "x"; then : 30045 LIBCSPLIT_CPPFLAGS=$ac_cv_libcsplit_CPPFLAGS 30046 30047 30048fi 30049 if test "x$ac_cv_libcsplit_LIBADD" != "x"; then : 30050 LIBCSPLIT_LIBADD=$ac_cv_libcsplit_LIBADD 30051 30052 30053fi 30054 30055 if test "x$ac_cv_libcsplit" = xyes; then : 30056 ax_libcsplit_pc_libs_private=-lcsplit 30057 30058 30059fi 30060 30061 if test "x$ac_cv_libcsplit" = xyes; then : 30062 ax_libcsplit_spec_requires=libcsplit 30063 30064 ax_libcsplit_spec_build_requires=libcsplit-devel 30065 30066 30067fi 30068 30069 30070 30071 30072# Check whether --with-libuna was given. 30073if test "${with_libuna+set}" = set; then : 30074 withval=$with_libuna; ac_cv_with_libuna=$withval 30075else 30076 ac_cv_with_libuna=auto-detect 30077fi 30078 30079 { $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 30080$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; } 30081if ${ac_cv_with_libuna+:} false; then : 30082 $as_echo_n "(cached) " >&6 30083else 30084 ac_cv_with_libuna=auto-detect 30085fi 30086{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libuna" >&5 30087$as_echo "$ac_cv_with_libuna" >&6; } 30088 30089 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libuna" = xno; then : 30090 ac_cv_libuna=no 30091else 30092 ac_cv_libuna=check 30093 if test "x$ac_cv_with_libuna" != x && test "x$ac_cv_with_libuna" != xauto-detect; then : 30094 if test -d "$ac_cv_with_libuna"; then : 30095 CFLAGS="$CFLAGS -I${ac_cv_with_libuna}/include" 30096 LDFLAGS="$LDFLAGS -L${ac_cv_with_libuna}/lib" 30097else 30098 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 30099$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 30100as_fn_error 1 "no such directory: $ac_cv_with_libuna 30101See \`config.log' for more details" "$LINENO" 5; } 30102 30103fi 30104 30105else 30106 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 30107 30108pkg_failed=no 30109{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna" >&5 30110$as_echo_n "checking for libuna... " >&6; } 30111 30112if test -n "$libuna_CFLAGS"; then 30113 pkg_cv_libuna_CFLAGS="$libuna_CFLAGS" 30114 elif test -n "$PKG_CONFIG"; then 30115 if test -n "$PKG_CONFIG" && \ 30116 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libuna >= 20200711\""; } >&5 30117 ($PKG_CONFIG --exists --print-errors "libuna >= 20200711") 2>&5 30118 ac_status=$? 30119 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 30120 test $ac_status = 0; }; then 30121 pkg_cv_libuna_CFLAGS=`$PKG_CONFIG --cflags "libuna >= 20200711" 2>/dev/null` 30122 test "x$?" != "x0" && pkg_failed=yes 30123else 30124 pkg_failed=yes 30125fi 30126 else 30127 pkg_failed=untried 30128fi 30129if test -n "$libuna_LIBS"; then 30130 pkg_cv_libuna_LIBS="$libuna_LIBS" 30131 elif test -n "$PKG_CONFIG"; then 30132 if test -n "$PKG_CONFIG" && \ 30133 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libuna >= 20200711\""; } >&5 30134 ($PKG_CONFIG --exists --print-errors "libuna >= 20200711") 2>&5 30135 ac_status=$? 30136 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 30137 test $ac_status = 0; }; then 30138 pkg_cv_libuna_LIBS=`$PKG_CONFIG --libs "libuna >= 20200711" 2>/dev/null` 30139 test "x$?" != "x0" && pkg_failed=yes 30140else 30141 pkg_failed=yes 30142fi 30143 else 30144 pkg_failed=untried 30145fi 30146 30147 30148 30149if test $pkg_failed = yes; then 30150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 30151$as_echo "no" >&6; } 30152 30153if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 30154 _pkg_short_errors_supported=yes 30155else 30156 _pkg_short_errors_supported=no 30157fi 30158 if test $_pkg_short_errors_supported = yes; then 30159 libuna_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libuna >= 20200711" 2>&1` 30160 else 30161 libuna_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libuna >= 20200711" 2>&1` 30162 fi 30163 # Put the nasty error message in config.log where it belongs 30164 echo "$libuna_PKG_ERRORS" >&5 30165 30166 ac_cv_libuna=check 30167elif test $pkg_failed = untried; then 30168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 30169$as_echo "no" >&6; } 30170 ac_cv_libuna=check 30171else 30172 libuna_CFLAGS=$pkg_cv_libuna_CFLAGS 30173 libuna_LIBS=$pkg_cv_libuna_LIBS 30174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 30175$as_echo "yes" >&6; } 30176 ac_cv_libuna=yes 30177fi 30178 30179fi 30180 if test "x$ac_cv_libuna" = xyes; then : 30181 ac_cv_libuna_CPPFLAGS="$pkg_cv_libuna_CFLAGS" 30182 ac_cv_libuna_LIBADD="$pkg_cv_libuna_LIBS" 30183fi 30184 30185fi 30186 30187 if test "x$ac_cv_libuna" = xcheck; then : 30188 for ac_header in libuna.h 30189do : 30190 ac_fn_c_check_header_mongrel "$LINENO" "libuna.h" "ac_cv_header_libuna_h" "$ac_includes_default" 30191if test "x$ac_cv_header_libuna_h" = xyes; then : 30192 cat >>confdefs.h <<_ACEOF 30193#define HAVE_LIBUNA_H 1 30194_ACEOF 30195 30196fi 30197 30198done 30199 30200 30201 if test "x$ac_cv_header_libuna_h" = xno; then : 30202 ac_cv_libuna=no 30203else 30204 ac_cv_libuna=yes 30205 30206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_get_version in -luna" >&5 30207$as_echo_n "checking for libuna_get_version in -luna... " >&6; } 30208if ${ac_cv_lib_una_libuna_get_version+:} false; then : 30209 $as_echo_n "(cached) " >&6 30210else 30211 ac_check_lib_save_LIBS=$LIBS 30212LIBS="-luna $LIBS" 30213cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30214/* end confdefs.h. */ 30215 30216/* Override any GCC internal prototype to avoid an error. 30217 Use char because int might match the return type of a GCC 30218 builtin and then its argument prototype would still apply. */ 30219#ifdef __cplusplus 30220extern "C" 30221#endif 30222char libuna_get_version (); 30223int 30224main () 30225{ 30226return libuna_get_version (); 30227 ; 30228 return 0; 30229} 30230_ACEOF 30231if ac_fn_c_try_link "$LINENO"; then : 30232 ac_cv_lib_una_libuna_get_version=yes 30233else 30234 ac_cv_lib_una_libuna_get_version=no 30235fi 30236rm -f core conftest.err conftest.$ac_objext \ 30237 conftest$ac_exeext conftest.$ac_ext 30238LIBS=$ac_check_lib_save_LIBS 30239fi 30240{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_get_version" >&5 30241$as_echo "$ac_cv_lib_una_libuna_get_version" >&6; } 30242if test "x$ac_cv_lib_una_libuna_get_version" = xyes; then : 30243 ac_cv_libuna_dummy=yes 30244else 30245 ac_cv_libuna=no 30246fi 30247 30248 30249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base16_stream_size_to_byte_stream in -luna" >&5 30250$as_echo_n "checking for libuna_base16_stream_size_to_byte_stream in -luna... " >&6; } 30251if ${ac_cv_lib_una_libuna_base16_stream_size_to_byte_stream+:} false; then : 30252 $as_echo_n "(cached) " >&6 30253else 30254 ac_check_lib_save_LIBS=$LIBS 30255LIBS="-luna $LIBS" 30256cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30257/* end confdefs.h. */ 30258 30259/* Override any GCC internal prototype to avoid an error. 30260 Use char because int might match the return type of a GCC 30261 builtin and then its argument prototype would still apply. */ 30262#ifdef __cplusplus 30263extern "C" 30264#endif 30265char libuna_base16_stream_size_to_byte_stream (); 30266int 30267main () 30268{ 30269return libuna_base16_stream_size_to_byte_stream (); 30270 ; 30271 return 0; 30272} 30273_ACEOF 30274if ac_fn_c_try_link "$LINENO"; then : 30275 ac_cv_lib_una_libuna_base16_stream_size_to_byte_stream=yes 30276else 30277 ac_cv_lib_una_libuna_base16_stream_size_to_byte_stream=no 30278fi 30279rm -f core conftest.err conftest.$ac_objext \ 30280 conftest$ac_exeext conftest.$ac_ext 30281LIBS=$ac_check_lib_save_LIBS 30282fi 30283{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base16_stream_size_to_byte_stream" >&5 30284$as_echo "$ac_cv_lib_una_libuna_base16_stream_size_to_byte_stream" >&6; } 30285if test "x$ac_cv_lib_una_libuna_base16_stream_size_to_byte_stream" = xyes; then : 30286 ac_cv_libuna_dummy=yes 30287else 30288 ac_cv_libuna=no 30289fi 30290 30291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base16_stream_copy_to_byte_stream in -luna" >&5 30292$as_echo_n "checking for libuna_base16_stream_copy_to_byte_stream in -luna... " >&6; } 30293if ${ac_cv_lib_una_libuna_base16_stream_copy_to_byte_stream+:} false; then : 30294 $as_echo_n "(cached) " >&6 30295else 30296 ac_check_lib_save_LIBS=$LIBS 30297LIBS="-luna $LIBS" 30298cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30299/* end confdefs.h. */ 30300 30301/* Override any GCC internal prototype to avoid an error. 30302 Use char because int might match the return type of a GCC 30303 builtin and then its argument prototype would still apply. */ 30304#ifdef __cplusplus 30305extern "C" 30306#endif 30307char libuna_base16_stream_copy_to_byte_stream (); 30308int 30309main () 30310{ 30311return libuna_base16_stream_copy_to_byte_stream (); 30312 ; 30313 return 0; 30314} 30315_ACEOF 30316if ac_fn_c_try_link "$LINENO"; then : 30317 ac_cv_lib_una_libuna_base16_stream_copy_to_byte_stream=yes 30318else 30319 ac_cv_lib_una_libuna_base16_stream_copy_to_byte_stream=no 30320fi 30321rm -f core conftest.err conftest.$ac_objext \ 30322 conftest$ac_exeext conftest.$ac_ext 30323LIBS=$ac_check_lib_save_LIBS 30324fi 30325{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base16_stream_copy_to_byte_stream" >&5 30326$as_echo "$ac_cv_lib_una_libuna_base16_stream_copy_to_byte_stream" >&6; } 30327if test "x$ac_cv_lib_una_libuna_base16_stream_copy_to_byte_stream" = xyes; then : 30328 ac_cv_libuna_dummy=yes 30329else 30330 ac_cv_libuna=no 30331fi 30332 30333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base16_stream_size_from_byte_stream in -luna" >&5 30334$as_echo_n "checking for libuna_base16_stream_size_from_byte_stream in -luna... " >&6; } 30335if ${ac_cv_lib_una_libuna_base16_stream_size_from_byte_stream+:} false; then : 30336 $as_echo_n "(cached) " >&6 30337else 30338 ac_check_lib_save_LIBS=$LIBS 30339LIBS="-luna $LIBS" 30340cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30341/* end confdefs.h. */ 30342 30343/* Override any GCC internal prototype to avoid an error. 30344 Use char because int might match the return type of a GCC 30345 builtin and then its argument prototype would still apply. */ 30346#ifdef __cplusplus 30347extern "C" 30348#endif 30349char libuna_base16_stream_size_from_byte_stream (); 30350int 30351main () 30352{ 30353return libuna_base16_stream_size_from_byte_stream (); 30354 ; 30355 return 0; 30356} 30357_ACEOF 30358if ac_fn_c_try_link "$LINENO"; then : 30359 ac_cv_lib_una_libuna_base16_stream_size_from_byte_stream=yes 30360else 30361 ac_cv_lib_una_libuna_base16_stream_size_from_byte_stream=no 30362fi 30363rm -f core conftest.err conftest.$ac_objext \ 30364 conftest$ac_exeext conftest.$ac_ext 30365LIBS=$ac_check_lib_save_LIBS 30366fi 30367{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base16_stream_size_from_byte_stream" >&5 30368$as_echo "$ac_cv_lib_una_libuna_base16_stream_size_from_byte_stream" >&6; } 30369if test "x$ac_cv_lib_una_libuna_base16_stream_size_from_byte_stream" = xyes; then : 30370 ac_cv_libuna_dummy=yes 30371else 30372 ac_cv_libuna=no 30373fi 30374 30375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base16_stream_copy_from_byte_stream in -luna" >&5 30376$as_echo_n "checking for libuna_base16_stream_copy_from_byte_stream in -luna... " >&6; } 30377if ${ac_cv_lib_una_libuna_base16_stream_copy_from_byte_stream+:} false; then : 30378 $as_echo_n "(cached) " >&6 30379else 30380 ac_check_lib_save_LIBS=$LIBS 30381LIBS="-luna $LIBS" 30382cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30383/* end confdefs.h. */ 30384 30385/* Override any GCC internal prototype to avoid an error. 30386 Use char because int might match the return type of a GCC 30387 builtin and then its argument prototype would still apply. */ 30388#ifdef __cplusplus 30389extern "C" 30390#endif 30391char libuna_base16_stream_copy_from_byte_stream (); 30392int 30393main () 30394{ 30395return libuna_base16_stream_copy_from_byte_stream (); 30396 ; 30397 return 0; 30398} 30399_ACEOF 30400if ac_fn_c_try_link "$LINENO"; then : 30401 ac_cv_lib_una_libuna_base16_stream_copy_from_byte_stream=yes 30402else 30403 ac_cv_lib_una_libuna_base16_stream_copy_from_byte_stream=no 30404fi 30405rm -f core conftest.err conftest.$ac_objext \ 30406 conftest$ac_exeext conftest.$ac_ext 30407LIBS=$ac_check_lib_save_LIBS 30408fi 30409{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base16_stream_copy_from_byte_stream" >&5 30410$as_echo "$ac_cv_lib_una_libuna_base16_stream_copy_from_byte_stream" >&6; } 30411if test "x$ac_cv_lib_una_libuna_base16_stream_copy_from_byte_stream" = xyes; then : 30412 ac_cv_libuna_dummy=yes 30413else 30414 ac_cv_libuna=no 30415fi 30416 30417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base16_stream_with_index_copy_from_byte_stream in -luna" >&5 30418$as_echo_n "checking for libuna_base16_stream_with_index_copy_from_byte_stream in -luna... " >&6; } 30419if ${ac_cv_lib_una_libuna_base16_stream_with_index_copy_from_byte_stream+:} false; then : 30420 $as_echo_n "(cached) " >&6 30421else 30422 ac_check_lib_save_LIBS=$LIBS 30423LIBS="-luna $LIBS" 30424cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30425/* end confdefs.h. */ 30426 30427/* Override any GCC internal prototype to avoid an error. 30428 Use char because int might match the return type of a GCC 30429 builtin and then its argument prototype would still apply. */ 30430#ifdef __cplusplus 30431extern "C" 30432#endif 30433char libuna_base16_stream_with_index_copy_from_byte_stream (); 30434int 30435main () 30436{ 30437return libuna_base16_stream_with_index_copy_from_byte_stream (); 30438 ; 30439 return 0; 30440} 30441_ACEOF 30442if ac_fn_c_try_link "$LINENO"; then : 30443 ac_cv_lib_una_libuna_base16_stream_with_index_copy_from_byte_stream=yes 30444else 30445 ac_cv_lib_una_libuna_base16_stream_with_index_copy_from_byte_stream=no 30446fi 30447rm -f core conftest.err conftest.$ac_objext \ 30448 conftest$ac_exeext conftest.$ac_ext 30449LIBS=$ac_check_lib_save_LIBS 30450fi 30451{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base16_stream_with_index_copy_from_byte_stream" >&5 30452$as_echo "$ac_cv_lib_una_libuna_base16_stream_with_index_copy_from_byte_stream" >&6; } 30453if test "x$ac_cv_lib_una_libuna_base16_stream_with_index_copy_from_byte_stream" = xyes; then : 30454 ac_cv_libuna_dummy=yes 30455else 30456 ac_cv_libuna=no 30457fi 30458 30459 30460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_quintuplet_copy_from_base32_stream in -luna" >&5 30461$as_echo_n "checking for libuna_base32_quintuplet_copy_from_base32_stream in -luna... " >&6; } 30462if ${ac_cv_lib_una_libuna_base32_quintuplet_copy_from_base32_stream+:} false; then : 30463 $as_echo_n "(cached) " >&6 30464else 30465 ac_check_lib_save_LIBS=$LIBS 30466LIBS="-luna $LIBS" 30467cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30468/* end confdefs.h. */ 30469 30470/* Override any GCC internal prototype to avoid an error. 30471 Use char because int might match the return type of a GCC 30472 builtin and then its argument prototype would still apply. */ 30473#ifdef __cplusplus 30474extern "C" 30475#endif 30476char libuna_base32_quintuplet_copy_from_base32_stream (); 30477int 30478main () 30479{ 30480return libuna_base32_quintuplet_copy_from_base32_stream (); 30481 ; 30482 return 0; 30483} 30484_ACEOF 30485if ac_fn_c_try_link "$LINENO"; then : 30486 ac_cv_lib_una_libuna_base32_quintuplet_copy_from_base32_stream=yes 30487else 30488 ac_cv_lib_una_libuna_base32_quintuplet_copy_from_base32_stream=no 30489fi 30490rm -f core conftest.err conftest.$ac_objext \ 30491 conftest$ac_exeext conftest.$ac_ext 30492LIBS=$ac_check_lib_save_LIBS 30493fi 30494{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_quintuplet_copy_from_base32_stream" >&5 30495$as_echo "$ac_cv_lib_una_libuna_base32_quintuplet_copy_from_base32_stream" >&6; } 30496if test "x$ac_cv_lib_una_libuna_base32_quintuplet_copy_from_base32_stream" = xyes; then : 30497 ac_cv_libuna_dummy=yes 30498else 30499 ac_cv_libuna=no 30500fi 30501 30502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_quintuplet_copy_to_base32_stream in -luna" >&5 30503$as_echo_n "checking for libuna_base32_quintuplet_copy_to_base32_stream in -luna... " >&6; } 30504if ${ac_cv_lib_una_libuna_base32_quintuplet_copy_to_base32_stream+:} false; then : 30505 $as_echo_n "(cached) " >&6 30506else 30507 ac_check_lib_save_LIBS=$LIBS 30508LIBS="-luna $LIBS" 30509cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30510/* end confdefs.h. */ 30511 30512/* Override any GCC internal prototype to avoid an error. 30513 Use char because int might match the return type of a GCC 30514 builtin and then its argument prototype would still apply. */ 30515#ifdef __cplusplus 30516extern "C" 30517#endif 30518char libuna_base32_quintuplet_copy_to_base32_stream (); 30519int 30520main () 30521{ 30522return libuna_base32_quintuplet_copy_to_base32_stream (); 30523 ; 30524 return 0; 30525} 30526_ACEOF 30527if ac_fn_c_try_link "$LINENO"; then : 30528 ac_cv_lib_una_libuna_base32_quintuplet_copy_to_base32_stream=yes 30529else 30530 ac_cv_lib_una_libuna_base32_quintuplet_copy_to_base32_stream=no 30531fi 30532rm -f core conftest.err conftest.$ac_objext \ 30533 conftest$ac_exeext conftest.$ac_ext 30534LIBS=$ac_check_lib_save_LIBS 30535fi 30536{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_quintuplet_copy_to_base32_stream" >&5 30537$as_echo "$ac_cv_lib_una_libuna_base32_quintuplet_copy_to_base32_stream" >&6; } 30538if test "x$ac_cv_lib_una_libuna_base32_quintuplet_copy_to_base32_stream" = xyes; then : 30539 ac_cv_libuna_dummy=yes 30540else 30541 ac_cv_libuna=no 30542fi 30543 30544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_quintuplet_copy_from_byte_stream in -luna" >&5 30545$as_echo_n "checking for libuna_base32_quintuplet_copy_from_byte_stream in -luna... " >&6; } 30546if ${ac_cv_lib_una_libuna_base32_quintuplet_copy_from_byte_stream+:} false; then : 30547 $as_echo_n "(cached) " >&6 30548else 30549 ac_check_lib_save_LIBS=$LIBS 30550LIBS="-luna $LIBS" 30551cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30552/* end confdefs.h. */ 30553 30554/* Override any GCC internal prototype to avoid an error. 30555 Use char because int might match the return type of a GCC 30556 builtin and then its argument prototype would still apply. */ 30557#ifdef __cplusplus 30558extern "C" 30559#endif 30560char libuna_base32_quintuplet_copy_from_byte_stream (); 30561int 30562main () 30563{ 30564return libuna_base32_quintuplet_copy_from_byte_stream (); 30565 ; 30566 return 0; 30567} 30568_ACEOF 30569if ac_fn_c_try_link "$LINENO"; then : 30570 ac_cv_lib_una_libuna_base32_quintuplet_copy_from_byte_stream=yes 30571else 30572 ac_cv_lib_una_libuna_base32_quintuplet_copy_from_byte_stream=no 30573fi 30574rm -f core conftest.err conftest.$ac_objext \ 30575 conftest$ac_exeext conftest.$ac_ext 30576LIBS=$ac_check_lib_save_LIBS 30577fi 30578{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_quintuplet_copy_from_byte_stream" >&5 30579$as_echo "$ac_cv_lib_una_libuna_base32_quintuplet_copy_from_byte_stream" >&6; } 30580if test "x$ac_cv_lib_una_libuna_base32_quintuplet_copy_from_byte_stream" = xyes; then : 30581 ac_cv_libuna_dummy=yes 30582else 30583 ac_cv_libuna=no 30584fi 30585 30586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_quintuplet_copy_to_byte_stream in -luna" >&5 30587$as_echo_n "checking for libuna_base32_quintuplet_copy_to_byte_stream in -luna... " >&6; } 30588if ${ac_cv_lib_una_libuna_base32_quintuplet_copy_to_byte_stream+:} false; then : 30589 $as_echo_n "(cached) " >&6 30590else 30591 ac_check_lib_save_LIBS=$LIBS 30592LIBS="-luna $LIBS" 30593cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30594/* end confdefs.h. */ 30595 30596/* Override any GCC internal prototype to avoid an error. 30597 Use char because int might match the return type of a GCC 30598 builtin and then its argument prototype would still apply. */ 30599#ifdef __cplusplus 30600extern "C" 30601#endif 30602char libuna_base32_quintuplet_copy_to_byte_stream (); 30603int 30604main () 30605{ 30606return libuna_base32_quintuplet_copy_to_byte_stream (); 30607 ; 30608 return 0; 30609} 30610_ACEOF 30611if ac_fn_c_try_link "$LINENO"; then : 30612 ac_cv_lib_una_libuna_base32_quintuplet_copy_to_byte_stream=yes 30613else 30614 ac_cv_lib_una_libuna_base32_quintuplet_copy_to_byte_stream=no 30615fi 30616rm -f core conftest.err conftest.$ac_objext \ 30617 conftest$ac_exeext conftest.$ac_ext 30618LIBS=$ac_check_lib_save_LIBS 30619fi 30620{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_quintuplet_copy_to_byte_stream" >&5 30621$as_echo "$ac_cv_lib_una_libuna_base32_quintuplet_copy_to_byte_stream" >&6; } 30622if test "x$ac_cv_lib_una_libuna_base32_quintuplet_copy_to_byte_stream" = xyes; then : 30623 ac_cv_libuna_dummy=yes 30624else 30625 ac_cv_libuna=no 30626fi 30627 30628 30629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_stream_size_to_byte_stream in -luna" >&5 30630$as_echo_n "checking for libuna_base32_stream_size_to_byte_stream in -luna... " >&6; } 30631if ${ac_cv_lib_una_libuna_base32_stream_size_to_byte_stream+:} false; then : 30632 $as_echo_n "(cached) " >&6 30633else 30634 ac_check_lib_save_LIBS=$LIBS 30635LIBS="-luna $LIBS" 30636cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30637/* end confdefs.h. */ 30638 30639/* Override any GCC internal prototype to avoid an error. 30640 Use char because int might match the return type of a GCC 30641 builtin and then its argument prototype would still apply. */ 30642#ifdef __cplusplus 30643extern "C" 30644#endif 30645char libuna_base32_stream_size_to_byte_stream (); 30646int 30647main () 30648{ 30649return libuna_base32_stream_size_to_byte_stream (); 30650 ; 30651 return 0; 30652} 30653_ACEOF 30654if ac_fn_c_try_link "$LINENO"; then : 30655 ac_cv_lib_una_libuna_base32_stream_size_to_byte_stream=yes 30656else 30657 ac_cv_lib_una_libuna_base32_stream_size_to_byte_stream=no 30658fi 30659rm -f core conftest.err conftest.$ac_objext \ 30660 conftest$ac_exeext conftest.$ac_ext 30661LIBS=$ac_check_lib_save_LIBS 30662fi 30663{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_stream_size_to_byte_stream" >&5 30664$as_echo "$ac_cv_lib_una_libuna_base32_stream_size_to_byte_stream" >&6; } 30665if test "x$ac_cv_lib_una_libuna_base32_stream_size_to_byte_stream" = xyes; then : 30666 ac_cv_libuna_dummy=yes 30667else 30668 ac_cv_libuna=no 30669fi 30670 30671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_stream_copy_to_byte_stream in -luna" >&5 30672$as_echo_n "checking for libuna_base32_stream_copy_to_byte_stream in -luna... " >&6; } 30673if ${ac_cv_lib_una_libuna_base32_stream_copy_to_byte_stream+:} false; then : 30674 $as_echo_n "(cached) " >&6 30675else 30676 ac_check_lib_save_LIBS=$LIBS 30677LIBS="-luna $LIBS" 30678cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30679/* end confdefs.h. */ 30680 30681/* Override any GCC internal prototype to avoid an error. 30682 Use char because int might match the return type of a GCC 30683 builtin and then its argument prototype would still apply. */ 30684#ifdef __cplusplus 30685extern "C" 30686#endif 30687char libuna_base32_stream_copy_to_byte_stream (); 30688int 30689main () 30690{ 30691return libuna_base32_stream_copy_to_byte_stream (); 30692 ; 30693 return 0; 30694} 30695_ACEOF 30696if ac_fn_c_try_link "$LINENO"; then : 30697 ac_cv_lib_una_libuna_base32_stream_copy_to_byte_stream=yes 30698else 30699 ac_cv_lib_una_libuna_base32_stream_copy_to_byte_stream=no 30700fi 30701rm -f core conftest.err conftest.$ac_objext \ 30702 conftest$ac_exeext conftest.$ac_ext 30703LIBS=$ac_check_lib_save_LIBS 30704fi 30705{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_stream_copy_to_byte_stream" >&5 30706$as_echo "$ac_cv_lib_una_libuna_base32_stream_copy_to_byte_stream" >&6; } 30707if test "x$ac_cv_lib_una_libuna_base32_stream_copy_to_byte_stream" = xyes; then : 30708 ac_cv_libuna_dummy=yes 30709else 30710 ac_cv_libuna=no 30711fi 30712 30713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_stream_size_from_byte_stream in -luna" >&5 30714$as_echo_n "checking for libuna_base32_stream_size_from_byte_stream in -luna... " >&6; } 30715if ${ac_cv_lib_una_libuna_base32_stream_size_from_byte_stream+:} false; then : 30716 $as_echo_n "(cached) " >&6 30717else 30718 ac_check_lib_save_LIBS=$LIBS 30719LIBS="-luna $LIBS" 30720cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30721/* end confdefs.h. */ 30722 30723/* Override any GCC internal prototype to avoid an error. 30724 Use char because int might match the return type of a GCC 30725 builtin and then its argument prototype would still apply. */ 30726#ifdef __cplusplus 30727extern "C" 30728#endif 30729char libuna_base32_stream_size_from_byte_stream (); 30730int 30731main () 30732{ 30733return libuna_base32_stream_size_from_byte_stream (); 30734 ; 30735 return 0; 30736} 30737_ACEOF 30738if ac_fn_c_try_link "$LINENO"; then : 30739 ac_cv_lib_una_libuna_base32_stream_size_from_byte_stream=yes 30740else 30741 ac_cv_lib_una_libuna_base32_stream_size_from_byte_stream=no 30742fi 30743rm -f core conftest.err conftest.$ac_objext \ 30744 conftest$ac_exeext conftest.$ac_ext 30745LIBS=$ac_check_lib_save_LIBS 30746fi 30747{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_stream_size_from_byte_stream" >&5 30748$as_echo "$ac_cv_lib_una_libuna_base32_stream_size_from_byte_stream" >&6; } 30749if test "x$ac_cv_lib_una_libuna_base32_stream_size_from_byte_stream" = xyes; then : 30750 ac_cv_libuna_dummy=yes 30751else 30752 ac_cv_libuna=no 30753fi 30754 30755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_stream_copy_from_byte_stream in -luna" >&5 30756$as_echo_n "checking for libuna_base32_stream_copy_from_byte_stream in -luna... " >&6; } 30757if ${ac_cv_lib_una_libuna_base32_stream_copy_from_byte_stream+:} false; then : 30758 $as_echo_n "(cached) " >&6 30759else 30760 ac_check_lib_save_LIBS=$LIBS 30761LIBS="-luna $LIBS" 30762cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30763/* end confdefs.h. */ 30764 30765/* Override any GCC internal prototype to avoid an error. 30766 Use char because int might match the return type of a GCC 30767 builtin and then its argument prototype would still apply. */ 30768#ifdef __cplusplus 30769extern "C" 30770#endif 30771char libuna_base32_stream_copy_from_byte_stream (); 30772int 30773main () 30774{ 30775return libuna_base32_stream_copy_from_byte_stream (); 30776 ; 30777 return 0; 30778} 30779_ACEOF 30780if ac_fn_c_try_link "$LINENO"; then : 30781 ac_cv_lib_una_libuna_base32_stream_copy_from_byte_stream=yes 30782else 30783 ac_cv_lib_una_libuna_base32_stream_copy_from_byte_stream=no 30784fi 30785rm -f core conftest.err conftest.$ac_objext \ 30786 conftest$ac_exeext conftest.$ac_ext 30787LIBS=$ac_check_lib_save_LIBS 30788fi 30789{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_stream_copy_from_byte_stream" >&5 30790$as_echo "$ac_cv_lib_una_libuna_base32_stream_copy_from_byte_stream" >&6; } 30791if test "x$ac_cv_lib_una_libuna_base32_stream_copy_from_byte_stream" = xyes; then : 30792 ac_cv_libuna_dummy=yes 30793else 30794 ac_cv_libuna=no 30795fi 30796 30797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_stream_with_index_copy_from_byte_stream in -luna" >&5 30798$as_echo_n "checking for libuna_base32_stream_with_index_copy_from_byte_stream in -luna... " >&6; } 30799if ${ac_cv_lib_una_libuna_base32_stream_with_index_copy_from_byte_stream+:} false; then : 30800 $as_echo_n "(cached) " >&6 30801else 30802 ac_check_lib_save_LIBS=$LIBS 30803LIBS="-luna $LIBS" 30804cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30805/* end confdefs.h. */ 30806 30807/* Override any GCC internal prototype to avoid an error. 30808 Use char because int might match the return type of a GCC 30809 builtin and then its argument prototype would still apply. */ 30810#ifdef __cplusplus 30811extern "C" 30812#endif 30813char libuna_base32_stream_with_index_copy_from_byte_stream (); 30814int 30815main () 30816{ 30817return libuna_base32_stream_with_index_copy_from_byte_stream (); 30818 ; 30819 return 0; 30820} 30821_ACEOF 30822if ac_fn_c_try_link "$LINENO"; then : 30823 ac_cv_lib_una_libuna_base32_stream_with_index_copy_from_byte_stream=yes 30824else 30825 ac_cv_lib_una_libuna_base32_stream_with_index_copy_from_byte_stream=no 30826fi 30827rm -f core conftest.err conftest.$ac_objext \ 30828 conftest$ac_exeext conftest.$ac_ext 30829LIBS=$ac_check_lib_save_LIBS 30830fi 30831{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_stream_with_index_copy_from_byte_stream" >&5 30832$as_echo "$ac_cv_lib_una_libuna_base32_stream_with_index_copy_from_byte_stream" >&6; } 30833if test "x$ac_cv_lib_una_libuna_base32_stream_with_index_copy_from_byte_stream" = xyes; then : 30834 ac_cv_libuna_dummy=yes 30835else 30836 ac_cv_libuna=no 30837fi 30838 30839 30840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_triplet_copy_from_base64_stream in -luna" >&5 30841$as_echo_n "checking for libuna_base64_triplet_copy_from_base64_stream in -luna... " >&6; } 30842if ${ac_cv_lib_una_libuna_base64_triplet_copy_from_base64_stream+:} false; then : 30843 $as_echo_n "(cached) " >&6 30844else 30845 ac_check_lib_save_LIBS=$LIBS 30846LIBS="-luna $LIBS" 30847cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30848/* end confdefs.h. */ 30849 30850/* Override any GCC internal prototype to avoid an error. 30851 Use char because int might match the return type of a GCC 30852 builtin and then its argument prototype would still apply. */ 30853#ifdef __cplusplus 30854extern "C" 30855#endif 30856char libuna_base64_triplet_copy_from_base64_stream (); 30857int 30858main () 30859{ 30860return libuna_base64_triplet_copy_from_base64_stream (); 30861 ; 30862 return 0; 30863} 30864_ACEOF 30865if ac_fn_c_try_link "$LINENO"; then : 30866 ac_cv_lib_una_libuna_base64_triplet_copy_from_base64_stream=yes 30867else 30868 ac_cv_lib_una_libuna_base64_triplet_copy_from_base64_stream=no 30869fi 30870rm -f core conftest.err conftest.$ac_objext \ 30871 conftest$ac_exeext conftest.$ac_ext 30872LIBS=$ac_check_lib_save_LIBS 30873fi 30874{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_triplet_copy_from_base64_stream" >&5 30875$as_echo "$ac_cv_lib_una_libuna_base64_triplet_copy_from_base64_stream" >&6; } 30876if test "x$ac_cv_lib_una_libuna_base64_triplet_copy_from_base64_stream" = xyes; then : 30877 ac_cv_libuna_dummy=yes 30878else 30879 ac_cv_libuna=no 30880fi 30881 30882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_triplet_copy_to_base64_stream in -luna" >&5 30883$as_echo_n "checking for libuna_base64_triplet_copy_to_base64_stream in -luna... " >&6; } 30884if ${ac_cv_lib_una_libuna_base64_triplet_copy_to_base64_stream+:} false; then : 30885 $as_echo_n "(cached) " >&6 30886else 30887 ac_check_lib_save_LIBS=$LIBS 30888LIBS="-luna $LIBS" 30889cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30890/* end confdefs.h. */ 30891 30892/* Override any GCC internal prototype to avoid an error. 30893 Use char because int might match the return type of a GCC 30894 builtin and then its argument prototype would still apply. */ 30895#ifdef __cplusplus 30896extern "C" 30897#endif 30898char libuna_base64_triplet_copy_to_base64_stream (); 30899int 30900main () 30901{ 30902return libuna_base64_triplet_copy_to_base64_stream (); 30903 ; 30904 return 0; 30905} 30906_ACEOF 30907if ac_fn_c_try_link "$LINENO"; then : 30908 ac_cv_lib_una_libuna_base64_triplet_copy_to_base64_stream=yes 30909else 30910 ac_cv_lib_una_libuna_base64_triplet_copy_to_base64_stream=no 30911fi 30912rm -f core conftest.err conftest.$ac_objext \ 30913 conftest$ac_exeext conftest.$ac_ext 30914LIBS=$ac_check_lib_save_LIBS 30915fi 30916{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_triplet_copy_to_base64_stream" >&5 30917$as_echo "$ac_cv_lib_una_libuna_base64_triplet_copy_to_base64_stream" >&6; } 30918if test "x$ac_cv_lib_una_libuna_base64_triplet_copy_to_base64_stream" = xyes; then : 30919 ac_cv_libuna_dummy=yes 30920else 30921 ac_cv_libuna=no 30922fi 30923 30924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_triplet_copy_from_byte_stream in -luna" >&5 30925$as_echo_n "checking for libuna_base64_triplet_copy_from_byte_stream in -luna... " >&6; } 30926if ${ac_cv_lib_una_libuna_base64_triplet_copy_from_byte_stream+:} false; then : 30927 $as_echo_n "(cached) " >&6 30928else 30929 ac_check_lib_save_LIBS=$LIBS 30930LIBS="-luna $LIBS" 30931cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30932/* end confdefs.h. */ 30933 30934/* Override any GCC internal prototype to avoid an error. 30935 Use char because int might match the return type of a GCC 30936 builtin and then its argument prototype would still apply. */ 30937#ifdef __cplusplus 30938extern "C" 30939#endif 30940char libuna_base64_triplet_copy_from_byte_stream (); 30941int 30942main () 30943{ 30944return libuna_base64_triplet_copy_from_byte_stream (); 30945 ; 30946 return 0; 30947} 30948_ACEOF 30949if ac_fn_c_try_link "$LINENO"; then : 30950 ac_cv_lib_una_libuna_base64_triplet_copy_from_byte_stream=yes 30951else 30952 ac_cv_lib_una_libuna_base64_triplet_copy_from_byte_stream=no 30953fi 30954rm -f core conftest.err conftest.$ac_objext \ 30955 conftest$ac_exeext conftest.$ac_ext 30956LIBS=$ac_check_lib_save_LIBS 30957fi 30958{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_triplet_copy_from_byte_stream" >&5 30959$as_echo "$ac_cv_lib_una_libuna_base64_triplet_copy_from_byte_stream" >&6; } 30960if test "x$ac_cv_lib_una_libuna_base64_triplet_copy_from_byte_stream" = xyes; then : 30961 ac_cv_libuna_dummy=yes 30962else 30963 ac_cv_libuna=no 30964fi 30965 30966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_triplet_copy_to_byte_stream in -luna" >&5 30967$as_echo_n "checking for libuna_base64_triplet_copy_to_byte_stream in -luna... " >&6; } 30968if ${ac_cv_lib_una_libuna_base64_triplet_copy_to_byte_stream+:} false; then : 30969 $as_echo_n "(cached) " >&6 30970else 30971 ac_check_lib_save_LIBS=$LIBS 30972LIBS="-luna $LIBS" 30973cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30974/* end confdefs.h. */ 30975 30976/* Override any GCC internal prototype to avoid an error. 30977 Use char because int might match the return type of a GCC 30978 builtin and then its argument prototype would still apply. */ 30979#ifdef __cplusplus 30980extern "C" 30981#endif 30982char libuna_base64_triplet_copy_to_byte_stream (); 30983int 30984main () 30985{ 30986return libuna_base64_triplet_copy_to_byte_stream (); 30987 ; 30988 return 0; 30989} 30990_ACEOF 30991if ac_fn_c_try_link "$LINENO"; then : 30992 ac_cv_lib_una_libuna_base64_triplet_copy_to_byte_stream=yes 30993else 30994 ac_cv_lib_una_libuna_base64_triplet_copy_to_byte_stream=no 30995fi 30996rm -f core conftest.err conftest.$ac_objext \ 30997 conftest$ac_exeext conftest.$ac_ext 30998LIBS=$ac_check_lib_save_LIBS 30999fi 31000{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_triplet_copy_to_byte_stream" >&5 31001$as_echo "$ac_cv_lib_una_libuna_base64_triplet_copy_to_byte_stream" >&6; } 31002if test "x$ac_cv_lib_una_libuna_base64_triplet_copy_to_byte_stream" = xyes; then : 31003 ac_cv_libuna_dummy=yes 31004else 31005 ac_cv_libuna=no 31006fi 31007 31008 31009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_stream_size_to_byte_stream in -luna" >&5 31010$as_echo_n "checking for libuna_base64_stream_size_to_byte_stream in -luna... " >&6; } 31011if ${ac_cv_lib_una_libuna_base64_stream_size_to_byte_stream+:} false; then : 31012 $as_echo_n "(cached) " >&6 31013else 31014 ac_check_lib_save_LIBS=$LIBS 31015LIBS="-luna $LIBS" 31016cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31017/* end confdefs.h. */ 31018 31019/* Override any GCC internal prototype to avoid an error. 31020 Use char because int might match the return type of a GCC 31021 builtin and then its argument prototype would still apply. */ 31022#ifdef __cplusplus 31023extern "C" 31024#endif 31025char libuna_base64_stream_size_to_byte_stream (); 31026int 31027main () 31028{ 31029return libuna_base64_stream_size_to_byte_stream (); 31030 ; 31031 return 0; 31032} 31033_ACEOF 31034if ac_fn_c_try_link "$LINENO"; then : 31035 ac_cv_lib_una_libuna_base64_stream_size_to_byte_stream=yes 31036else 31037 ac_cv_lib_una_libuna_base64_stream_size_to_byte_stream=no 31038fi 31039rm -f core conftest.err conftest.$ac_objext \ 31040 conftest$ac_exeext conftest.$ac_ext 31041LIBS=$ac_check_lib_save_LIBS 31042fi 31043{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_stream_size_to_byte_stream" >&5 31044$as_echo "$ac_cv_lib_una_libuna_base64_stream_size_to_byte_stream" >&6; } 31045if test "x$ac_cv_lib_una_libuna_base64_stream_size_to_byte_stream" = xyes; then : 31046 ac_cv_libuna_dummy=yes 31047else 31048 ac_cv_libuna=no 31049fi 31050 31051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_stream_copy_to_byte_stream in -luna" >&5 31052$as_echo_n "checking for libuna_base64_stream_copy_to_byte_stream in -luna... " >&6; } 31053if ${ac_cv_lib_una_libuna_base64_stream_copy_to_byte_stream+:} false; then : 31054 $as_echo_n "(cached) " >&6 31055else 31056 ac_check_lib_save_LIBS=$LIBS 31057LIBS="-luna $LIBS" 31058cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31059/* end confdefs.h. */ 31060 31061/* Override any GCC internal prototype to avoid an error. 31062 Use char because int might match the return type of a GCC 31063 builtin and then its argument prototype would still apply. */ 31064#ifdef __cplusplus 31065extern "C" 31066#endif 31067char libuna_base64_stream_copy_to_byte_stream (); 31068int 31069main () 31070{ 31071return libuna_base64_stream_copy_to_byte_stream (); 31072 ; 31073 return 0; 31074} 31075_ACEOF 31076if ac_fn_c_try_link "$LINENO"; then : 31077 ac_cv_lib_una_libuna_base64_stream_copy_to_byte_stream=yes 31078else 31079 ac_cv_lib_una_libuna_base64_stream_copy_to_byte_stream=no 31080fi 31081rm -f core conftest.err conftest.$ac_objext \ 31082 conftest$ac_exeext conftest.$ac_ext 31083LIBS=$ac_check_lib_save_LIBS 31084fi 31085{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_stream_copy_to_byte_stream" >&5 31086$as_echo "$ac_cv_lib_una_libuna_base64_stream_copy_to_byte_stream" >&6; } 31087if test "x$ac_cv_lib_una_libuna_base64_stream_copy_to_byte_stream" = xyes; then : 31088 ac_cv_libuna_dummy=yes 31089else 31090 ac_cv_libuna=no 31091fi 31092 31093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_stream_size_from_byte_stream in -luna" >&5 31094$as_echo_n "checking for libuna_base64_stream_size_from_byte_stream in -luna... " >&6; } 31095if ${ac_cv_lib_una_libuna_base64_stream_size_from_byte_stream+:} false; then : 31096 $as_echo_n "(cached) " >&6 31097else 31098 ac_check_lib_save_LIBS=$LIBS 31099LIBS="-luna $LIBS" 31100cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31101/* end confdefs.h. */ 31102 31103/* Override any GCC internal prototype to avoid an error. 31104 Use char because int might match the return type of a GCC 31105 builtin and then its argument prototype would still apply. */ 31106#ifdef __cplusplus 31107extern "C" 31108#endif 31109char libuna_base64_stream_size_from_byte_stream (); 31110int 31111main () 31112{ 31113return libuna_base64_stream_size_from_byte_stream (); 31114 ; 31115 return 0; 31116} 31117_ACEOF 31118if ac_fn_c_try_link "$LINENO"; then : 31119 ac_cv_lib_una_libuna_base64_stream_size_from_byte_stream=yes 31120else 31121 ac_cv_lib_una_libuna_base64_stream_size_from_byte_stream=no 31122fi 31123rm -f core conftest.err conftest.$ac_objext \ 31124 conftest$ac_exeext conftest.$ac_ext 31125LIBS=$ac_check_lib_save_LIBS 31126fi 31127{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_stream_size_from_byte_stream" >&5 31128$as_echo "$ac_cv_lib_una_libuna_base64_stream_size_from_byte_stream" >&6; } 31129if test "x$ac_cv_lib_una_libuna_base64_stream_size_from_byte_stream" = xyes; then : 31130 ac_cv_libuna_dummy=yes 31131else 31132 ac_cv_libuna=no 31133fi 31134 31135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_stream_copy_from_byte_stream in -luna" >&5 31136$as_echo_n "checking for libuna_base64_stream_copy_from_byte_stream in -luna... " >&6; } 31137if ${ac_cv_lib_una_libuna_base64_stream_copy_from_byte_stream+:} false; then : 31138 $as_echo_n "(cached) " >&6 31139else 31140 ac_check_lib_save_LIBS=$LIBS 31141LIBS="-luna $LIBS" 31142cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31143/* end confdefs.h. */ 31144 31145/* Override any GCC internal prototype to avoid an error. 31146 Use char because int might match the return type of a GCC 31147 builtin and then its argument prototype would still apply. */ 31148#ifdef __cplusplus 31149extern "C" 31150#endif 31151char libuna_base64_stream_copy_from_byte_stream (); 31152int 31153main () 31154{ 31155return libuna_base64_stream_copy_from_byte_stream (); 31156 ; 31157 return 0; 31158} 31159_ACEOF 31160if ac_fn_c_try_link "$LINENO"; then : 31161 ac_cv_lib_una_libuna_base64_stream_copy_from_byte_stream=yes 31162else 31163 ac_cv_lib_una_libuna_base64_stream_copy_from_byte_stream=no 31164fi 31165rm -f core conftest.err conftest.$ac_objext \ 31166 conftest$ac_exeext conftest.$ac_ext 31167LIBS=$ac_check_lib_save_LIBS 31168fi 31169{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_stream_copy_from_byte_stream" >&5 31170$as_echo "$ac_cv_lib_una_libuna_base64_stream_copy_from_byte_stream" >&6; } 31171if test "x$ac_cv_lib_una_libuna_base64_stream_copy_from_byte_stream" = xyes; then : 31172 ac_cv_libuna_dummy=yes 31173else 31174 ac_cv_libuna=no 31175fi 31176 31177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_stream_with_index_copy_from_byte_stream in -luna" >&5 31178$as_echo_n "checking for libuna_base64_stream_with_index_copy_from_byte_stream in -luna... " >&6; } 31179if ${ac_cv_lib_una_libuna_base64_stream_with_index_copy_from_byte_stream+:} false; then : 31180 $as_echo_n "(cached) " >&6 31181else 31182 ac_check_lib_save_LIBS=$LIBS 31183LIBS="-luna $LIBS" 31184cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31185/* end confdefs.h. */ 31186 31187/* Override any GCC internal prototype to avoid an error. 31188 Use char because int might match the return type of a GCC 31189 builtin and then its argument prototype would still apply. */ 31190#ifdef __cplusplus 31191extern "C" 31192#endif 31193char libuna_base64_stream_with_index_copy_from_byte_stream (); 31194int 31195main () 31196{ 31197return libuna_base64_stream_with_index_copy_from_byte_stream (); 31198 ; 31199 return 0; 31200} 31201_ACEOF 31202if ac_fn_c_try_link "$LINENO"; then : 31203 ac_cv_lib_una_libuna_base64_stream_with_index_copy_from_byte_stream=yes 31204else 31205 ac_cv_lib_una_libuna_base64_stream_with_index_copy_from_byte_stream=no 31206fi 31207rm -f core conftest.err conftest.$ac_objext \ 31208 conftest$ac_exeext conftest.$ac_ext 31209LIBS=$ac_check_lib_save_LIBS 31210fi 31211{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_stream_with_index_copy_from_byte_stream" >&5 31212$as_echo "$ac_cv_lib_una_libuna_base64_stream_with_index_copy_from_byte_stream" >&6; } 31213if test "x$ac_cv_lib_una_libuna_base64_stream_with_index_copy_from_byte_stream" = xyes; then : 31214 ac_cv_libuna_dummy=yes 31215else 31216 ac_cv_libuna=no 31217fi 31218 31219 31220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_byte_stream_size_from_utf8 in -luna" >&5 31221$as_echo_n "checking for libuna_byte_stream_size_from_utf8 in -luna... " >&6; } 31222if ${ac_cv_lib_una_libuna_byte_stream_size_from_utf8+:} false; then : 31223 $as_echo_n "(cached) " >&6 31224else 31225 ac_check_lib_save_LIBS=$LIBS 31226LIBS="-luna $LIBS" 31227cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31228/* end confdefs.h. */ 31229 31230/* Override any GCC internal prototype to avoid an error. 31231 Use char because int might match the return type of a GCC 31232 builtin and then its argument prototype would still apply. */ 31233#ifdef __cplusplus 31234extern "C" 31235#endif 31236char libuna_byte_stream_size_from_utf8 (); 31237int 31238main () 31239{ 31240return libuna_byte_stream_size_from_utf8 (); 31241 ; 31242 return 0; 31243} 31244_ACEOF 31245if ac_fn_c_try_link "$LINENO"; then : 31246 ac_cv_lib_una_libuna_byte_stream_size_from_utf8=yes 31247else 31248 ac_cv_lib_una_libuna_byte_stream_size_from_utf8=no 31249fi 31250rm -f core conftest.err conftest.$ac_objext \ 31251 conftest$ac_exeext conftest.$ac_ext 31252LIBS=$ac_check_lib_save_LIBS 31253fi 31254{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_byte_stream_size_from_utf8" >&5 31255$as_echo "$ac_cv_lib_una_libuna_byte_stream_size_from_utf8" >&6; } 31256if test "x$ac_cv_lib_una_libuna_byte_stream_size_from_utf8" = xyes; then : 31257 ac_cv_libuna_dummy=yes 31258else 31259 ac_cv_libuna=no 31260fi 31261 31262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_byte_stream_copy_from_utf8 in -luna" >&5 31263$as_echo_n "checking for libuna_byte_stream_copy_from_utf8 in -luna... " >&6; } 31264if ${ac_cv_lib_una_libuna_byte_stream_copy_from_utf8+:} false; then : 31265 $as_echo_n "(cached) " >&6 31266else 31267 ac_check_lib_save_LIBS=$LIBS 31268LIBS="-luna $LIBS" 31269cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31270/* end confdefs.h. */ 31271 31272/* Override any GCC internal prototype to avoid an error. 31273 Use char because int might match the return type of a GCC 31274 builtin and then its argument prototype would still apply. */ 31275#ifdef __cplusplus 31276extern "C" 31277#endif 31278char libuna_byte_stream_copy_from_utf8 (); 31279int 31280main () 31281{ 31282return libuna_byte_stream_copy_from_utf8 (); 31283 ; 31284 return 0; 31285} 31286_ACEOF 31287if ac_fn_c_try_link "$LINENO"; then : 31288 ac_cv_lib_una_libuna_byte_stream_copy_from_utf8=yes 31289else 31290 ac_cv_lib_una_libuna_byte_stream_copy_from_utf8=no 31291fi 31292rm -f core conftest.err conftest.$ac_objext \ 31293 conftest$ac_exeext conftest.$ac_ext 31294LIBS=$ac_check_lib_save_LIBS 31295fi 31296{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_byte_stream_copy_from_utf8" >&5 31297$as_echo "$ac_cv_lib_una_libuna_byte_stream_copy_from_utf8" >&6; } 31298if test "x$ac_cv_lib_una_libuna_byte_stream_copy_from_utf8" = xyes; then : 31299 ac_cv_libuna_dummy=yes 31300else 31301 ac_cv_libuna=no 31302fi 31303 31304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_byte_stream_size_from_utf16 in -luna" >&5 31305$as_echo_n "checking for libuna_byte_stream_size_from_utf16 in -luna... " >&6; } 31306if ${ac_cv_lib_una_libuna_byte_stream_size_from_utf16+:} false; then : 31307 $as_echo_n "(cached) " >&6 31308else 31309 ac_check_lib_save_LIBS=$LIBS 31310LIBS="-luna $LIBS" 31311cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31312/* end confdefs.h. */ 31313 31314/* Override any GCC internal prototype to avoid an error. 31315 Use char because int might match the return type of a GCC 31316 builtin and then its argument prototype would still apply. */ 31317#ifdef __cplusplus 31318extern "C" 31319#endif 31320char libuna_byte_stream_size_from_utf16 (); 31321int 31322main () 31323{ 31324return libuna_byte_stream_size_from_utf16 (); 31325 ; 31326 return 0; 31327} 31328_ACEOF 31329if ac_fn_c_try_link "$LINENO"; then : 31330 ac_cv_lib_una_libuna_byte_stream_size_from_utf16=yes 31331else 31332 ac_cv_lib_una_libuna_byte_stream_size_from_utf16=no 31333fi 31334rm -f core conftest.err conftest.$ac_objext \ 31335 conftest$ac_exeext conftest.$ac_ext 31336LIBS=$ac_check_lib_save_LIBS 31337fi 31338{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_byte_stream_size_from_utf16" >&5 31339$as_echo "$ac_cv_lib_una_libuna_byte_stream_size_from_utf16" >&6; } 31340if test "x$ac_cv_lib_una_libuna_byte_stream_size_from_utf16" = xyes; then : 31341 ac_cv_libuna_dummy=yes 31342else 31343 ac_cv_libuna=no 31344fi 31345 31346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_byte_stream_copy_from_utf16 in -luna" >&5 31347$as_echo_n "checking for libuna_byte_stream_copy_from_utf16 in -luna... " >&6; } 31348if ${ac_cv_lib_una_libuna_byte_stream_copy_from_utf16+:} false; then : 31349 $as_echo_n "(cached) " >&6 31350else 31351 ac_check_lib_save_LIBS=$LIBS 31352LIBS="-luna $LIBS" 31353cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31354/* end confdefs.h. */ 31355 31356/* Override any GCC internal prototype to avoid an error. 31357 Use char because int might match the return type of a GCC 31358 builtin and then its argument prototype would still apply. */ 31359#ifdef __cplusplus 31360extern "C" 31361#endif 31362char libuna_byte_stream_copy_from_utf16 (); 31363int 31364main () 31365{ 31366return libuna_byte_stream_copy_from_utf16 (); 31367 ; 31368 return 0; 31369} 31370_ACEOF 31371if ac_fn_c_try_link "$LINENO"; then : 31372 ac_cv_lib_una_libuna_byte_stream_copy_from_utf16=yes 31373else 31374 ac_cv_lib_una_libuna_byte_stream_copy_from_utf16=no 31375fi 31376rm -f core conftest.err conftest.$ac_objext \ 31377 conftest$ac_exeext conftest.$ac_ext 31378LIBS=$ac_check_lib_save_LIBS 31379fi 31380{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_byte_stream_copy_from_utf16" >&5 31381$as_echo "$ac_cv_lib_una_libuna_byte_stream_copy_from_utf16" >&6; } 31382if test "x$ac_cv_lib_una_libuna_byte_stream_copy_from_utf16" = xyes; then : 31383 ac_cv_libuna_dummy=yes 31384else 31385 ac_cv_libuna=no 31386fi 31387 31388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_byte_stream_size_from_utf32 in -luna" >&5 31389$as_echo_n "checking for libuna_byte_stream_size_from_utf32 in -luna... " >&6; } 31390if ${ac_cv_lib_una_libuna_byte_stream_size_from_utf32+:} false; then : 31391 $as_echo_n "(cached) " >&6 31392else 31393 ac_check_lib_save_LIBS=$LIBS 31394LIBS="-luna $LIBS" 31395cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31396/* end confdefs.h. */ 31397 31398/* Override any GCC internal prototype to avoid an error. 31399 Use char because int might match the return type of a GCC 31400 builtin and then its argument prototype would still apply. */ 31401#ifdef __cplusplus 31402extern "C" 31403#endif 31404char libuna_byte_stream_size_from_utf32 (); 31405int 31406main () 31407{ 31408return libuna_byte_stream_size_from_utf32 (); 31409 ; 31410 return 0; 31411} 31412_ACEOF 31413if ac_fn_c_try_link "$LINENO"; then : 31414 ac_cv_lib_una_libuna_byte_stream_size_from_utf32=yes 31415else 31416 ac_cv_lib_una_libuna_byte_stream_size_from_utf32=no 31417fi 31418rm -f core conftest.err conftest.$ac_objext \ 31419 conftest$ac_exeext conftest.$ac_ext 31420LIBS=$ac_check_lib_save_LIBS 31421fi 31422{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_byte_stream_size_from_utf32" >&5 31423$as_echo "$ac_cv_lib_una_libuna_byte_stream_size_from_utf32" >&6; } 31424if test "x$ac_cv_lib_una_libuna_byte_stream_size_from_utf32" = xyes; then : 31425 ac_cv_libuna_dummy=yes 31426else 31427 ac_cv_libuna=no 31428fi 31429 31430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_byte_stream_copy_from_utf32 in -luna" >&5 31431$as_echo_n "checking for libuna_byte_stream_copy_from_utf32 in -luna... " >&6; } 31432if ${ac_cv_lib_una_libuna_byte_stream_copy_from_utf32+:} false; then : 31433 $as_echo_n "(cached) " >&6 31434else 31435 ac_check_lib_save_LIBS=$LIBS 31436LIBS="-luna $LIBS" 31437cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31438/* end confdefs.h. */ 31439 31440/* Override any GCC internal prototype to avoid an error. 31441 Use char because int might match the return type of a GCC 31442 builtin and then its argument prototype would still apply. */ 31443#ifdef __cplusplus 31444extern "C" 31445#endif 31446char libuna_byte_stream_copy_from_utf32 (); 31447int 31448main () 31449{ 31450return libuna_byte_stream_copy_from_utf32 (); 31451 ; 31452 return 0; 31453} 31454_ACEOF 31455if ac_fn_c_try_link "$LINENO"; then : 31456 ac_cv_lib_una_libuna_byte_stream_copy_from_utf32=yes 31457else 31458 ac_cv_lib_una_libuna_byte_stream_copy_from_utf32=no 31459fi 31460rm -f core conftest.err conftest.$ac_objext \ 31461 conftest$ac_exeext conftest.$ac_ext 31462LIBS=$ac_check_lib_save_LIBS 31463fi 31464{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_byte_stream_copy_from_utf32" >&5 31465$as_echo "$ac_cv_lib_una_libuna_byte_stream_copy_from_utf32" >&6; } 31466if test "x$ac_cv_lib_una_libuna_byte_stream_copy_from_utf32" = xyes; then : 31467 ac_cv_libuna_dummy=yes 31468else 31469 ac_cv_libuna=no 31470fi 31471 31472 31473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_stream_size_from_utf8 in -luna" >&5 31474$as_echo_n "checking for libuna_utf8_stream_size_from_utf8 in -luna... " >&6; } 31475if ${ac_cv_lib_una_libuna_utf8_stream_size_from_utf8+:} false; then : 31476 $as_echo_n "(cached) " >&6 31477else 31478 ac_check_lib_save_LIBS=$LIBS 31479LIBS="-luna $LIBS" 31480cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31481/* end confdefs.h. */ 31482 31483/* Override any GCC internal prototype to avoid an error. 31484 Use char because int might match the return type of a GCC 31485 builtin and then its argument prototype would still apply. */ 31486#ifdef __cplusplus 31487extern "C" 31488#endif 31489char libuna_utf8_stream_size_from_utf8 (); 31490int 31491main () 31492{ 31493return libuna_utf8_stream_size_from_utf8 (); 31494 ; 31495 return 0; 31496} 31497_ACEOF 31498if ac_fn_c_try_link "$LINENO"; then : 31499 ac_cv_lib_una_libuna_utf8_stream_size_from_utf8=yes 31500else 31501 ac_cv_lib_una_libuna_utf8_stream_size_from_utf8=no 31502fi 31503rm -f core conftest.err conftest.$ac_objext \ 31504 conftest$ac_exeext conftest.$ac_ext 31505LIBS=$ac_check_lib_save_LIBS 31506fi 31507{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_stream_size_from_utf8" >&5 31508$as_echo "$ac_cv_lib_una_libuna_utf8_stream_size_from_utf8" >&6; } 31509if test "x$ac_cv_lib_una_libuna_utf8_stream_size_from_utf8" = xyes; then : 31510 ac_cv_libuna_dummy=yes 31511else 31512 ac_cv_libuna=no 31513fi 31514 31515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_stream_copy_from_utf8 in -luna" >&5 31516$as_echo_n "checking for libuna_utf8_stream_copy_from_utf8 in -luna... " >&6; } 31517if ${ac_cv_lib_una_libuna_utf8_stream_copy_from_utf8+:} false; then : 31518 $as_echo_n "(cached) " >&6 31519else 31520 ac_check_lib_save_LIBS=$LIBS 31521LIBS="-luna $LIBS" 31522cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31523/* end confdefs.h. */ 31524 31525/* Override any GCC internal prototype to avoid an error. 31526 Use char because int might match the return type of a GCC 31527 builtin and then its argument prototype would still apply. */ 31528#ifdef __cplusplus 31529extern "C" 31530#endif 31531char libuna_utf8_stream_copy_from_utf8 (); 31532int 31533main () 31534{ 31535return libuna_utf8_stream_copy_from_utf8 (); 31536 ; 31537 return 0; 31538} 31539_ACEOF 31540if ac_fn_c_try_link "$LINENO"; then : 31541 ac_cv_lib_una_libuna_utf8_stream_copy_from_utf8=yes 31542else 31543 ac_cv_lib_una_libuna_utf8_stream_copy_from_utf8=no 31544fi 31545rm -f core conftest.err conftest.$ac_objext \ 31546 conftest$ac_exeext conftest.$ac_ext 31547LIBS=$ac_check_lib_save_LIBS 31548fi 31549{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_stream_copy_from_utf8" >&5 31550$as_echo "$ac_cv_lib_una_libuna_utf8_stream_copy_from_utf8" >&6; } 31551if test "x$ac_cv_lib_una_libuna_utf8_stream_copy_from_utf8" = xyes; then : 31552 ac_cv_libuna_dummy=yes 31553else 31554 ac_cv_libuna=no 31555fi 31556 31557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_stream_size_from_utf16 in -luna" >&5 31558$as_echo_n "checking for libuna_utf8_stream_size_from_utf16 in -luna... " >&6; } 31559if ${ac_cv_lib_una_libuna_utf8_stream_size_from_utf16+:} false; then : 31560 $as_echo_n "(cached) " >&6 31561else 31562 ac_check_lib_save_LIBS=$LIBS 31563LIBS="-luna $LIBS" 31564cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31565/* end confdefs.h. */ 31566 31567/* Override any GCC internal prototype to avoid an error. 31568 Use char because int might match the return type of a GCC 31569 builtin and then its argument prototype would still apply. */ 31570#ifdef __cplusplus 31571extern "C" 31572#endif 31573char libuna_utf8_stream_size_from_utf16 (); 31574int 31575main () 31576{ 31577return libuna_utf8_stream_size_from_utf16 (); 31578 ; 31579 return 0; 31580} 31581_ACEOF 31582if ac_fn_c_try_link "$LINENO"; then : 31583 ac_cv_lib_una_libuna_utf8_stream_size_from_utf16=yes 31584else 31585 ac_cv_lib_una_libuna_utf8_stream_size_from_utf16=no 31586fi 31587rm -f core conftest.err conftest.$ac_objext \ 31588 conftest$ac_exeext conftest.$ac_ext 31589LIBS=$ac_check_lib_save_LIBS 31590fi 31591{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_stream_size_from_utf16" >&5 31592$as_echo "$ac_cv_lib_una_libuna_utf8_stream_size_from_utf16" >&6; } 31593if test "x$ac_cv_lib_una_libuna_utf8_stream_size_from_utf16" = xyes; then : 31594 ac_cv_libuna_dummy=yes 31595else 31596 ac_cv_libuna=no 31597fi 31598 31599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_stream_copy_from_utf16 in -luna" >&5 31600$as_echo_n "checking for libuna_utf8_stream_copy_from_utf16 in -luna... " >&6; } 31601if ${ac_cv_lib_una_libuna_utf8_stream_copy_from_utf16+:} false; then : 31602 $as_echo_n "(cached) " >&6 31603else 31604 ac_check_lib_save_LIBS=$LIBS 31605LIBS="-luna $LIBS" 31606cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31607/* end confdefs.h. */ 31608 31609/* Override any GCC internal prototype to avoid an error. 31610 Use char because int might match the return type of a GCC 31611 builtin and then its argument prototype would still apply. */ 31612#ifdef __cplusplus 31613extern "C" 31614#endif 31615char libuna_utf8_stream_copy_from_utf16 (); 31616int 31617main () 31618{ 31619return libuna_utf8_stream_copy_from_utf16 (); 31620 ; 31621 return 0; 31622} 31623_ACEOF 31624if ac_fn_c_try_link "$LINENO"; then : 31625 ac_cv_lib_una_libuna_utf8_stream_copy_from_utf16=yes 31626else 31627 ac_cv_lib_una_libuna_utf8_stream_copy_from_utf16=no 31628fi 31629rm -f core conftest.err conftest.$ac_objext \ 31630 conftest$ac_exeext conftest.$ac_ext 31631LIBS=$ac_check_lib_save_LIBS 31632fi 31633{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_stream_copy_from_utf16" >&5 31634$as_echo "$ac_cv_lib_una_libuna_utf8_stream_copy_from_utf16" >&6; } 31635if test "x$ac_cv_lib_una_libuna_utf8_stream_copy_from_utf16" = xyes; then : 31636 ac_cv_libuna_dummy=yes 31637else 31638 ac_cv_libuna=no 31639fi 31640 31641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_stream_size_from_utf32 in -luna" >&5 31642$as_echo_n "checking for libuna_utf8_stream_size_from_utf32 in -luna... " >&6; } 31643if ${ac_cv_lib_una_libuna_utf8_stream_size_from_utf32+:} false; then : 31644 $as_echo_n "(cached) " >&6 31645else 31646 ac_check_lib_save_LIBS=$LIBS 31647LIBS="-luna $LIBS" 31648cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31649/* end confdefs.h. */ 31650 31651/* Override any GCC internal prototype to avoid an error. 31652 Use char because int might match the return type of a GCC 31653 builtin and then its argument prototype would still apply. */ 31654#ifdef __cplusplus 31655extern "C" 31656#endif 31657char libuna_utf8_stream_size_from_utf32 (); 31658int 31659main () 31660{ 31661return libuna_utf8_stream_size_from_utf32 (); 31662 ; 31663 return 0; 31664} 31665_ACEOF 31666if ac_fn_c_try_link "$LINENO"; then : 31667 ac_cv_lib_una_libuna_utf8_stream_size_from_utf32=yes 31668else 31669 ac_cv_lib_una_libuna_utf8_stream_size_from_utf32=no 31670fi 31671rm -f core conftest.err conftest.$ac_objext \ 31672 conftest$ac_exeext conftest.$ac_ext 31673LIBS=$ac_check_lib_save_LIBS 31674fi 31675{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_stream_size_from_utf32" >&5 31676$as_echo "$ac_cv_lib_una_libuna_utf8_stream_size_from_utf32" >&6; } 31677if test "x$ac_cv_lib_una_libuna_utf8_stream_size_from_utf32" = xyes; then : 31678 ac_cv_libuna_dummy=yes 31679else 31680 ac_cv_libuna=no 31681fi 31682 31683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_stream_copy_from_utf32 in -luna" >&5 31684$as_echo_n "checking for libuna_utf8_stream_copy_from_utf32 in -luna... " >&6; } 31685if ${ac_cv_lib_una_libuna_utf8_stream_copy_from_utf32+:} false; then : 31686 $as_echo_n "(cached) " >&6 31687else 31688 ac_check_lib_save_LIBS=$LIBS 31689LIBS="-luna $LIBS" 31690cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31691/* end confdefs.h. */ 31692 31693/* Override any GCC internal prototype to avoid an error. 31694 Use char because int might match the return type of a GCC 31695 builtin and then its argument prototype would still apply. */ 31696#ifdef __cplusplus 31697extern "C" 31698#endif 31699char libuna_utf8_stream_copy_from_utf32 (); 31700int 31701main () 31702{ 31703return libuna_utf8_stream_copy_from_utf32 (); 31704 ; 31705 return 0; 31706} 31707_ACEOF 31708if ac_fn_c_try_link "$LINENO"; then : 31709 ac_cv_lib_una_libuna_utf8_stream_copy_from_utf32=yes 31710else 31711 ac_cv_lib_una_libuna_utf8_stream_copy_from_utf32=no 31712fi 31713rm -f core conftest.err conftest.$ac_objext \ 31714 conftest$ac_exeext conftest.$ac_ext 31715LIBS=$ac_check_lib_save_LIBS 31716fi 31717{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_stream_copy_from_utf32" >&5 31718$as_echo "$ac_cv_lib_una_libuna_utf8_stream_copy_from_utf32" >&6; } 31719if test "x$ac_cv_lib_una_libuna_utf8_stream_copy_from_utf32" = xyes; then : 31720 ac_cv_libuna_dummy=yes 31721else 31722 ac_cv_libuna=no 31723fi 31724 31725 31726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_stream_size_from_utf8 in -luna" >&5 31727$as_echo_n "checking for libuna_utf16_stream_size_from_utf8 in -luna... " >&6; } 31728if ${ac_cv_lib_una_libuna_utf16_stream_size_from_utf8+:} false; then : 31729 $as_echo_n "(cached) " >&6 31730else 31731 ac_check_lib_save_LIBS=$LIBS 31732LIBS="-luna $LIBS" 31733cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31734/* end confdefs.h. */ 31735 31736/* Override any GCC internal prototype to avoid an error. 31737 Use char because int might match the return type of a GCC 31738 builtin and then its argument prototype would still apply. */ 31739#ifdef __cplusplus 31740extern "C" 31741#endif 31742char libuna_utf16_stream_size_from_utf8 (); 31743int 31744main () 31745{ 31746return libuna_utf16_stream_size_from_utf8 (); 31747 ; 31748 return 0; 31749} 31750_ACEOF 31751if ac_fn_c_try_link "$LINENO"; then : 31752 ac_cv_lib_una_libuna_utf16_stream_size_from_utf8=yes 31753else 31754 ac_cv_lib_una_libuna_utf16_stream_size_from_utf8=no 31755fi 31756rm -f core conftest.err conftest.$ac_objext \ 31757 conftest$ac_exeext conftest.$ac_ext 31758LIBS=$ac_check_lib_save_LIBS 31759fi 31760{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_stream_size_from_utf8" >&5 31761$as_echo "$ac_cv_lib_una_libuna_utf16_stream_size_from_utf8" >&6; } 31762if test "x$ac_cv_lib_una_libuna_utf16_stream_size_from_utf8" = xyes; then : 31763 ac_cv_libuna_dummy=yes 31764else 31765 ac_cv_libuna=no 31766fi 31767 31768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_stream_copy_from_utf8 in -luna" >&5 31769$as_echo_n "checking for libuna_utf16_stream_copy_from_utf8 in -luna... " >&6; } 31770if ${ac_cv_lib_una_libuna_utf16_stream_copy_from_utf8+:} false; then : 31771 $as_echo_n "(cached) " >&6 31772else 31773 ac_check_lib_save_LIBS=$LIBS 31774LIBS="-luna $LIBS" 31775cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31776/* end confdefs.h. */ 31777 31778/* Override any GCC internal prototype to avoid an error. 31779 Use char because int might match the return type of a GCC 31780 builtin and then its argument prototype would still apply. */ 31781#ifdef __cplusplus 31782extern "C" 31783#endif 31784char libuna_utf16_stream_copy_from_utf8 (); 31785int 31786main () 31787{ 31788return libuna_utf16_stream_copy_from_utf8 (); 31789 ; 31790 return 0; 31791} 31792_ACEOF 31793if ac_fn_c_try_link "$LINENO"; then : 31794 ac_cv_lib_una_libuna_utf16_stream_copy_from_utf8=yes 31795else 31796 ac_cv_lib_una_libuna_utf16_stream_copy_from_utf8=no 31797fi 31798rm -f core conftest.err conftest.$ac_objext \ 31799 conftest$ac_exeext conftest.$ac_ext 31800LIBS=$ac_check_lib_save_LIBS 31801fi 31802{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_stream_copy_from_utf8" >&5 31803$as_echo "$ac_cv_lib_una_libuna_utf16_stream_copy_from_utf8" >&6; } 31804if test "x$ac_cv_lib_una_libuna_utf16_stream_copy_from_utf8" = xyes; then : 31805 ac_cv_libuna_dummy=yes 31806else 31807 ac_cv_libuna=no 31808fi 31809 31810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_stream_size_from_utf16 in -luna" >&5 31811$as_echo_n "checking for libuna_utf16_stream_size_from_utf16 in -luna... " >&6; } 31812if ${ac_cv_lib_una_libuna_utf16_stream_size_from_utf16+:} false; then : 31813 $as_echo_n "(cached) " >&6 31814else 31815 ac_check_lib_save_LIBS=$LIBS 31816LIBS="-luna $LIBS" 31817cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31818/* end confdefs.h. */ 31819 31820/* Override any GCC internal prototype to avoid an error. 31821 Use char because int might match the return type of a GCC 31822 builtin and then its argument prototype would still apply. */ 31823#ifdef __cplusplus 31824extern "C" 31825#endif 31826char libuna_utf16_stream_size_from_utf16 (); 31827int 31828main () 31829{ 31830return libuna_utf16_stream_size_from_utf16 (); 31831 ; 31832 return 0; 31833} 31834_ACEOF 31835if ac_fn_c_try_link "$LINENO"; then : 31836 ac_cv_lib_una_libuna_utf16_stream_size_from_utf16=yes 31837else 31838 ac_cv_lib_una_libuna_utf16_stream_size_from_utf16=no 31839fi 31840rm -f core conftest.err conftest.$ac_objext \ 31841 conftest$ac_exeext conftest.$ac_ext 31842LIBS=$ac_check_lib_save_LIBS 31843fi 31844{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_stream_size_from_utf16" >&5 31845$as_echo "$ac_cv_lib_una_libuna_utf16_stream_size_from_utf16" >&6; } 31846if test "x$ac_cv_lib_una_libuna_utf16_stream_size_from_utf16" = xyes; then : 31847 ac_cv_libuna_dummy=yes 31848else 31849 ac_cv_libuna=no 31850fi 31851 31852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_stream_copy_from_utf16 in -luna" >&5 31853$as_echo_n "checking for libuna_utf16_stream_copy_from_utf16 in -luna... " >&6; } 31854if ${ac_cv_lib_una_libuna_utf16_stream_copy_from_utf16+:} false; then : 31855 $as_echo_n "(cached) " >&6 31856else 31857 ac_check_lib_save_LIBS=$LIBS 31858LIBS="-luna $LIBS" 31859cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31860/* end confdefs.h. */ 31861 31862/* Override any GCC internal prototype to avoid an error. 31863 Use char because int might match the return type of a GCC 31864 builtin and then its argument prototype would still apply. */ 31865#ifdef __cplusplus 31866extern "C" 31867#endif 31868char libuna_utf16_stream_copy_from_utf16 (); 31869int 31870main () 31871{ 31872return libuna_utf16_stream_copy_from_utf16 (); 31873 ; 31874 return 0; 31875} 31876_ACEOF 31877if ac_fn_c_try_link "$LINENO"; then : 31878 ac_cv_lib_una_libuna_utf16_stream_copy_from_utf16=yes 31879else 31880 ac_cv_lib_una_libuna_utf16_stream_copy_from_utf16=no 31881fi 31882rm -f core conftest.err conftest.$ac_objext \ 31883 conftest$ac_exeext conftest.$ac_ext 31884LIBS=$ac_check_lib_save_LIBS 31885fi 31886{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_stream_copy_from_utf16" >&5 31887$as_echo "$ac_cv_lib_una_libuna_utf16_stream_copy_from_utf16" >&6; } 31888if test "x$ac_cv_lib_una_libuna_utf16_stream_copy_from_utf16" = xyes; then : 31889 ac_cv_libuna_dummy=yes 31890else 31891 ac_cv_libuna=no 31892fi 31893 31894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_stream_size_from_utf32 in -luna" >&5 31895$as_echo_n "checking for libuna_utf16_stream_size_from_utf32 in -luna... " >&6; } 31896if ${ac_cv_lib_una_libuna_utf16_stream_size_from_utf32+:} false; then : 31897 $as_echo_n "(cached) " >&6 31898else 31899 ac_check_lib_save_LIBS=$LIBS 31900LIBS="-luna $LIBS" 31901cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31902/* end confdefs.h. */ 31903 31904/* Override any GCC internal prototype to avoid an error. 31905 Use char because int might match the return type of a GCC 31906 builtin and then its argument prototype would still apply. */ 31907#ifdef __cplusplus 31908extern "C" 31909#endif 31910char libuna_utf16_stream_size_from_utf32 (); 31911int 31912main () 31913{ 31914return libuna_utf16_stream_size_from_utf32 (); 31915 ; 31916 return 0; 31917} 31918_ACEOF 31919if ac_fn_c_try_link "$LINENO"; then : 31920 ac_cv_lib_una_libuna_utf16_stream_size_from_utf32=yes 31921else 31922 ac_cv_lib_una_libuna_utf16_stream_size_from_utf32=no 31923fi 31924rm -f core conftest.err conftest.$ac_objext \ 31925 conftest$ac_exeext conftest.$ac_ext 31926LIBS=$ac_check_lib_save_LIBS 31927fi 31928{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_stream_size_from_utf32" >&5 31929$as_echo "$ac_cv_lib_una_libuna_utf16_stream_size_from_utf32" >&6; } 31930if test "x$ac_cv_lib_una_libuna_utf16_stream_size_from_utf32" = xyes; then : 31931 ac_cv_libuna_dummy=yes 31932else 31933 ac_cv_libuna=no 31934fi 31935 31936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_stream_copy_from_utf32 in -luna" >&5 31937$as_echo_n "checking for libuna_utf16_stream_copy_from_utf32 in -luna... " >&6; } 31938if ${ac_cv_lib_una_libuna_utf16_stream_copy_from_utf32+:} false; then : 31939 $as_echo_n "(cached) " >&6 31940else 31941 ac_check_lib_save_LIBS=$LIBS 31942LIBS="-luna $LIBS" 31943cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31944/* end confdefs.h. */ 31945 31946/* Override any GCC internal prototype to avoid an error. 31947 Use char because int might match the return type of a GCC 31948 builtin and then its argument prototype would still apply. */ 31949#ifdef __cplusplus 31950extern "C" 31951#endif 31952char libuna_utf16_stream_copy_from_utf32 (); 31953int 31954main () 31955{ 31956return libuna_utf16_stream_copy_from_utf32 (); 31957 ; 31958 return 0; 31959} 31960_ACEOF 31961if ac_fn_c_try_link "$LINENO"; then : 31962 ac_cv_lib_una_libuna_utf16_stream_copy_from_utf32=yes 31963else 31964 ac_cv_lib_una_libuna_utf16_stream_copy_from_utf32=no 31965fi 31966rm -f core conftest.err conftest.$ac_objext \ 31967 conftest$ac_exeext conftest.$ac_ext 31968LIBS=$ac_check_lib_save_LIBS 31969fi 31970{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_stream_copy_from_utf32" >&5 31971$as_echo "$ac_cv_lib_una_libuna_utf16_stream_copy_from_utf32" >&6; } 31972if test "x$ac_cv_lib_una_libuna_utf16_stream_copy_from_utf32" = xyes; then : 31973 ac_cv_libuna_dummy=yes 31974else 31975 ac_cv_libuna=no 31976fi 31977 31978 31979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_stream_size_from_utf8 in -luna" >&5 31980$as_echo_n "checking for libuna_utf32_stream_size_from_utf8 in -luna... " >&6; } 31981if ${ac_cv_lib_una_libuna_utf32_stream_size_from_utf8+:} false; then : 31982 $as_echo_n "(cached) " >&6 31983else 31984 ac_check_lib_save_LIBS=$LIBS 31985LIBS="-luna $LIBS" 31986cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31987/* end confdefs.h. */ 31988 31989/* Override any GCC internal prototype to avoid an error. 31990 Use char because int might match the return type of a GCC 31991 builtin and then its argument prototype would still apply. */ 31992#ifdef __cplusplus 31993extern "C" 31994#endif 31995char libuna_utf32_stream_size_from_utf8 (); 31996int 31997main () 31998{ 31999return libuna_utf32_stream_size_from_utf8 (); 32000 ; 32001 return 0; 32002} 32003_ACEOF 32004if ac_fn_c_try_link "$LINENO"; then : 32005 ac_cv_lib_una_libuna_utf32_stream_size_from_utf8=yes 32006else 32007 ac_cv_lib_una_libuna_utf32_stream_size_from_utf8=no 32008fi 32009rm -f core conftest.err conftest.$ac_objext \ 32010 conftest$ac_exeext conftest.$ac_ext 32011LIBS=$ac_check_lib_save_LIBS 32012fi 32013{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_stream_size_from_utf8" >&5 32014$as_echo "$ac_cv_lib_una_libuna_utf32_stream_size_from_utf8" >&6; } 32015if test "x$ac_cv_lib_una_libuna_utf32_stream_size_from_utf8" = xyes; then : 32016 ac_cv_libuna_dummy=yes 32017else 32018 ac_cv_libuna=no 32019fi 32020 32021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_stream_copy_from_utf8 in -luna" >&5 32022$as_echo_n "checking for libuna_utf32_stream_copy_from_utf8 in -luna... " >&6; } 32023if ${ac_cv_lib_una_libuna_utf32_stream_copy_from_utf8+:} false; then : 32024 $as_echo_n "(cached) " >&6 32025else 32026 ac_check_lib_save_LIBS=$LIBS 32027LIBS="-luna $LIBS" 32028cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32029/* end confdefs.h. */ 32030 32031/* Override any GCC internal prototype to avoid an error. 32032 Use char because int might match the return type of a GCC 32033 builtin and then its argument prototype would still apply. */ 32034#ifdef __cplusplus 32035extern "C" 32036#endif 32037char libuna_utf32_stream_copy_from_utf8 (); 32038int 32039main () 32040{ 32041return libuna_utf32_stream_copy_from_utf8 (); 32042 ; 32043 return 0; 32044} 32045_ACEOF 32046if ac_fn_c_try_link "$LINENO"; then : 32047 ac_cv_lib_una_libuna_utf32_stream_copy_from_utf8=yes 32048else 32049 ac_cv_lib_una_libuna_utf32_stream_copy_from_utf8=no 32050fi 32051rm -f core conftest.err conftest.$ac_objext \ 32052 conftest$ac_exeext conftest.$ac_ext 32053LIBS=$ac_check_lib_save_LIBS 32054fi 32055{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_stream_copy_from_utf8" >&5 32056$as_echo "$ac_cv_lib_una_libuna_utf32_stream_copy_from_utf8" >&6; } 32057if test "x$ac_cv_lib_una_libuna_utf32_stream_copy_from_utf8" = xyes; then : 32058 ac_cv_libuna_dummy=yes 32059else 32060 ac_cv_libuna=no 32061fi 32062 32063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_stream_size_from_utf16 in -luna" >&5 32064$as_echo_n "checking for libuna_utf32_stream_size_from_utf16 in -luna... " >&6; } 32065if ${ac_cv_lib_una_libuna_utf32_stream_size_from_utf16+:} false; then : 32066 $as_echo_n "(cached) " >&6 32067else 32068 ac_check_lib_save_LIBS=$LIBS 32069LIBS="-luna $LIBS" 32070cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32071/* end confdefs.h. */ 32072 32073/* Override any GCC internal prototype to avoid an error. 32074 Use char because int might match the return type of a GCC 32075 builtin and then its argument prototype would still apply. */ 32076#ifdef __cplusplus 32077extern "C" 32078#endif 32079char libuna_utf32_stream_size_from_utf16 (); 32080int 32081main () 32082{ 32083return libuna_utf32_stream_size_from_utf16 (); 32084 ; 32085 return 0; 32086} 32087_ACEOF 32088if ac_fn_c_try_link "$LINENO"; then : 32089 ac_cv_lib_una_libuna_utf32_stream_size_from_utf16=yes 32090else 32091 ac_cv_lib_una_libuna_utf32_stream_size_from_utf16=no 32092fi 32093rm -f core conftest.err conftest.$ac_objext \ 32094 conftest$ac_exeext conftest.$ac_ext 32095LIBS=$ac_check_lib_save_LIBS 32096fi 32097{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_stream_size_from_utf16" >&5 32098$as_echo "$ac_cv_lib_una_libuna_utf32_stream_size_from_utf16" >&6; } 32099if test "x$ac_cv_lib_una_libuna_utf32_stream_size_from_utf16" = xyes; then : 32100 ac_cv_libuna_dummy=yes 32101else 32102 ac_cv_libuna=no 32103fi 32104 32105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_stream_copy_from_utf16 in -luna" >&5 32106$as_echo_n "checking for libuna_utf32_stream_copy_from_utf16 in -luna... " >&6; } 32107if ${ac_cv_lib_una_libuna_utf32_stream_copy_from_utf16+:} false; then : 32108 $as_echo_n "(cached) " >&6 32109else 32110 ac_check_lib_save_LIBS=$LIBS 32111LIBS="-luna $LIBS" 32112cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32113/* end confdefs.h. */ 32114 32115/* Override any GCC internal prototype to avoid an error. 32116 Use char because int might match the return type of a GCC 32117 builtin and then its argument prototype would still apply. */ 32118#ifdef __cplusplus 32119extern "C" 32120#endif 32121char libuna_utf32_stream_copy_from_utf16 (); 32122int 32123main () 32124{ 32125return libuna_utf32_stream_copy_from_utf16 (); 32126 ; 32127 return 0; 32128} 32129_ACEOF 32130if ac_fn_c_try_link "$LINENO"; then : 32131 ac_cv_lib_una_libuna_utf32_stream_copy_from_utf16=yes 32132else 32133 ac_cv_lib_una_libuna_utf32_stream_copy_from_utf16=no 32134fi 32135rm -f core conftest.err conftest.$ac_objext \ 32136 conftest$ac_exeext conftest.$ac_ext 32137LIBS=$ac_check_lib_save_LIBS 32138fi 32139{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_stream_copy_from_utf16" >&5 32140$as_echo "$ac_cv_lib_una_libuna_utf32_stream_copy_from_utf16" >&6; } 32141if test "x$ac_cv_lib_una_libuna_utf32_stream_copy_from_utf16" = xyes; then : 32142 ac_cv_libuna_dummy=yes 32143else 32144 ac_cv_libuna=no 32145fi 32146 32147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_stream_size_from_utf32 in -luna" >&5 32148$as_echo_n "checking for libuna_utf32_stream_size_from_utf32 in -luna... " >&6; } 32149if ${ac_cv_lib_una_libuna_utf32_stream_size_from_utf32+:} false; then : 32150 $as_echo_n "(cached) " >&6 32151else 32152 ac_check_lib_save_LIBS=$LIBS 32153LIBS="-luna $LIBS" 32154cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32155/* end confdefs.h. */ 32156 32157/* Override any GCC internal prototype to avoid an error. 32158 Use char because int might match the return type of a GCC 32159 builtin and then its argument prototype would still apply. */ 32160#ifdef __cplusplus 32161extern "C" 32162#endif 32163char libuna_utf32_stream_size_from_utf32 (); 32164int 32165main () 32166{ 32167return libuna_utf32_stream_size_from_utf32 (); 32168 ; 32169 return 0; 32170} 32171_ACEOF 32172if ac_fn_c_try_link "$LINENO"; then : 32173 ac_cv_lib_una_libuna_utf32_stream_size_from_utf32=yes 32174else 32175 ac_cv_lib_una_libuna_utf32_stream_size_from_utf32=no 32176fi 32177rm -f core conftest.err conftest.$ac_objext \ 32178 conftest$ac_exeext conftest.$ac_ext 32179LIBS=$ac_check_lib_save_LIBS 32180fi 32181{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_stream_size_from_utf32" >&5 32182$as_echo "$ac_cv_lib_una_libuna_utf32_stream_size_from_utf32" >&6; } 32183if test "x$ac_cv_lib_una_libuna_utf32_stream_size_from_utf32" = xyes; then : 32184 ac_cv_libuna_dummy=yes 32185else 32186 ac_cv_libuna=no 32187fi 32188 32189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_stream_copy_from_utf32 in -luna" >&5 32190$as_echo_n "checking for libuna_utf32_stream_copy_from_utf32 in -luna... " >&6; } 32191if ${ac_cv_lib_una_libuna_utf32_stream_copy_from_utf32+:} false; then : 32192 $as_echo_n "(cached) " >&6 32193else 32194 ac_check_lib_save_LIBS=$LIBS 32195LIBS="-luna $LIBS" 32196cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32197/* end confdefs.h. */ 32198 32199/* Override any GCC internal prototype to avoid an error. 32200 Use char because int might match the return type of a GCC 32201 builtin and then its argument prototype would still apply. */ 32202#ifdef __cplusplus 32203extern "C" 32204#endif 32205char libuna_utf32_stream_copy_from_utf32 (); 32206int 32207main () 32208{ 32209return libuna_utf32_stream_copy_from_utf32 (); 32210 ; 32211 return 0; 32212} 32213_ACEOF 32214if ac_fn_c_try_link "$LINENO"; then : 32215 ac_cv_lib_una_libuna_utf32_stream_copy_from_utf32=yes 32216else 32217 ac_cv_lib_una_libuna_utf32_stream_copy_from_utf32=no 32218fi 32219rm -f core conftest.err conftest.$ac_objext \ 32220 conftest$ac_exeext conftest.$ac_ext 32221LIBS=$ac_check_lib_save_LIBS 32222fi 32223{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_stream_copy_from_utf32" >&5 32224$as_echo "$ac_cv_lib_una_libuna_utf32_stream_copy_from_utf32" >&6; } 32225if test "x$ac_cv_lib_una_libuna_utf32_stream_copy_from_utf32" = xyes; then : 32226 ac_cv_libuna_dummy=yes 32227else 32228 ac_cv_libuna=no 32229fi 32230 32231 32232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_byte_stream in -luna" >&5 32233$as_echo_n "checking for libuna_utf8_string_size_from_byte_stream in -luna... " >&6; } 32234if ${ac_cv_lib_una_libuna_utf8_string_size_from_byte_stream+:} false; then : 32235 $as_echo_n "(cached) " >&6 32236else 32237 ac_check_lib_save_LIBS=$LIBS 32238LIBS="-luna $LIBS" 32239cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32240/* end confdefs.h. */ 32241 32242/* Override any GCC internal prototype to avoid an error. 32243 Use char because int might match the return type of a GCC 32244 builtin and then its argument prototype would still apply. */ 32245#ifdef __cplusplus 32246extern "C" 32247#endif 32248char libuna_utf8_string_size_from_byte_stream (); 32249int 32250main () 32251{ 32252return libuna_utf8_string_size_from_byte_stream (); 32253 ; 32254 return 0; 32255} 32256_ACEOF 32257if ac_fn_c_try_link "$LINENO"; then : 32258 ac_cv_lib_una_libuna_utf8_string_size_from_byte_stream=yes 32259else 32260 ac_cv_lib_una_libuna_utf8_string_size_from_byte_stream=no 32261fi 32262rm -f core conftest.err conftest.$ac_objext \ 32263 conftest$ac_exeext conftest.$ac_ext 32264LIBS=$ac_check_lib_save_LIBS 32265fi 32266{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_byte_stream" >&5 32267$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_byte_stream" >&6; } 32268if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_byte_stream" = xyes; then : 32269 ac_cv_libuna_dummy=yes 32270else 32271 ac_cv_libuna=no 32272fi 32273 32274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_byte_stream in -luna" >&5 32275$as_echo_n "checking for libuna_utf8_string_copy_from_byte_stream in -luna... " >&6; } 32276if ${ac_cv_lib_una_libuna_utf8_string_copy_from_byte_stream+:} false; then : 32277 $as_echo_n "(cached) " >&6 32278else 32279 ac_check_lib_save_LIBS=$LIBS 32280LIBS="-luna $LIBS" 32281cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32282/* end confdefs.h. */ 32283 32284/* Override any GCC internal prototype to avoid an error. 32285 Use char because int might match the return type of a GCC 32286 builtin and then its argument prototype would still apply. */ 32287#ifdef __cplusplus 32288extern "C" 32289#endif 32290char libuna_utf8_string_copy_from_byte_stream (); 32291int 32292main () 32293{ 32294return libuna_utf8_string_copy_from_byte_stream (); 32295 ; 32296 return 0; 32297} 32298_ACEOF 32299if ac_fn_c_try_link "$LINENO"; then : 32300 ac_cv_lib_una_libuna_utf8_string_copy_from_byte_stream=yes 32301else 32302 ac_cv_lib_una_libuna_utf8_string_copy_from_byte_stream=no 32303fi 32304rm -f core conftest.err conftest.$ac_objext \ 32305 conftest$ac_exeext conftest.$ac_ext 32306LIBS=$ac_check_lib_save_LIBS 32307fi 32308{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_byte_stream" >&5 32309$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_byte_stream" >&6; } 32310if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_byte_stream" = xyes; then : 32311 ac_cv_libuna_dummy=yes 32312else 32313 ac_cv_libuna=no 32314fi 32315 32316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_byte_stream in -luna" >&5 32317$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_byte_stream in -luna... " >&6; } 32318if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_byte_stream+:} false; then : 32319 $as_echo_n "(cached) " >&6 32320else 32321 ac_check_lib_save_LIBS=$LIBS 32322LIBS="-luna $LIBS" 32323cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32324/* end confdefs.h. */ 32325 32326/* Override any GCC internal prototype to avoid an error. 32327 Use char because int might match the return type of a GCC 32328 builtin and then its argument prototype would still apply. */ 32329#ifdef __cplusplus 32330extern "C" 32331#endif 32332char libuna_utf8_string_with_index_copy_from_byte_stream (); 32333int 32334main () 32335{ 32336return libuna_utf8_string_with_index_copy_from_byte_stream (); 32337 ; 32338 return 0; 32339} 32340_ACEOF 32341if ac_fn_c_try_link "$LINENO"; then : 32342 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_byte_stream=yes 32343else 32344 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_byte_stream=no 32345fi 32346rm -f core conftest.err conftest.$ac_objext \ 32347 conftest$ac_exeext conftest.$ac_ext 32348LIBS=$ac_check_lib_save_LIBS 32349fi 32350{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_byte_stream" >&5 32351$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_byte_stream" >&6; } 32352if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_byte_stream" = xyes; then : 32353 ac_cv_libuna_dummy=yes 32354else 32355 ac_cv_libuna=no 32356fi 32357 32358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_utf7_stream in -luna" >&5 32359$as_echo_n "checking for libuna_utf8_string_size_from_utf7_stream in -luna... " >&6; } 32360if ${ac_cv_lib_una_libuna_utf8_string_size_from_utf7_stream+:} false; then : 32361 $as_echo_n "(cached) " >&6 32362else 32363 ac_check_lib_save_LIBS=$LIBS 32364LIBS="-luna $LIBS" 32365cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32366/* end confdefs.h. */ 32367 32368/* Override any GCC internal prototype to avoid an error. 32369 Use char because int might match the return type of a GCC 32370 builtin and then its argument prototype would still apply. */ 32371#ifdef __cplusplus 32372extern "C" 32373#endif 32374char libuna_utf8_string_size_from_utf7_stream (); 32375int 32376main () 32377{ 32378return libuna_utf8_string_size_from_utf7_stream (); 32379 ; 32380 return 0; 32381} 32382_ACEOF 32383if ac_fn_c_try_link "$LINENO"; then : 32384 ac_cv_lib_una_libuna_utf8_string_size_from_utf7_stream=yes 32385else 32386 ac_cv_lib_una_libuna_utf8_string_size_from_utf7_stream=no 32387fi 32388rm -f core conftest.err conftest.$ac_objext \ 32389 conftest$ac_exeext conftest.$ac_ext 32390LIBS=$ac_check_lib_save_LIBS 32391fi 32392{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_utf7_stream" >&5 32393$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_utf7_stream" >&6; } 32394if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_utf7_stream" = xyes; then : 32395 ac_cv_libuna_dummy=yes 32396else 32397 ac_cv_libuna=no 32398fi 32399 32400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_utf7_stream in -luna" >&5 32401$as_echo_n "checking for libuna_utf8_string_copy_from_utf7_stream in -luna... " >&6; } 32402if ${ac_cv_lib_una_libuna_utf8_string_copy_from_utf7_stream+:} false; then : 32403 $as_echo_n "(cached) " >&6 32404else 32405 ac_check_lib_save_LIBS=$LIBS 32406LIBS="-luna $LIBS" 32407cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32408/* end confdefs.h. */ 32409 32410/* Override any GCC internal prototype to avoid an error. 32411 Use char because int might match the return type of a GCC 32412 builtin and then its argument prototype would still apply. */ 32413#ifdef __cplusplus 32414extern "C" 32415#endif 32416char libuna_utf8_string_copy_from_utf7_stream (); 32417int 32418main () 32419{ 32420return libuna_utf8_string_copy_from_utf7_stream (); 32421 ; 32422 return 0; 32423} 32424_ACEOF 32425if ac_fn_c_try_link "$LINENO"; then : 32426 ac_cv_lib_una_libuna_utf8_string_copy_from_utf7_stream=yes 32427else 32428 ac_cv_lib_una_libuna_utf8_string_copy_from_utf7_stream=no 32429fi 32430rm -f core conftest.err conftest.$ac_objext \ 32431 conftest$ac_exeext conftest.$ac_ext 32432LIBS=$ac_check_lib_save_LIBS 32433fi 32434{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_utf7_stream" >&5 32435$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_utf7_stream" >&6; } 32436if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_utf7_stream" = xyes; then : 32437 ac_cv_libuna_dummy=yes 32438else 32439 ac_cv_libuna=no 32440fi 32441 32442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_utf7_stream in -luna" >&5 32443$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_utf7_stream in -luna... " >&6; } 32444if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf7_stream+:} false; then : 32445 $as_echo_n "(cached) " >&6 32446else 32447 ac_check_lib_save_LIBS=$LIBS 32448LIBS="-luna $LIBS" 32449cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32450/* end confdefs.h. */ 32451 32452/* Override any GCC internal prototype to avoid an error. 32453 Use char because int might match the return type of a GCC 32454 builtin and then its argument prototype would still apply. */ 32455#ifdef __cplusplus 32456extern "C" 32457#endif 32458char libuna_utf8_string_with_index_copy_from_utf7_stream (); 32459int 32460main () 32461{ 32462return libuna_utf8_string_with_index_copy_from_utf7_stream (); 32463 ; 32464 return 0; 32465} 32466_ACEOF 32467if ac_fn_c_try_link "$LINENO"; then : 32468 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf7_stream=yes 32469else 32470 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf7_stream=no 32471fi 32472rm -f core conftest.err conftest.$ac_objext \ 32473 conftest$ac_exeext conftest.$ac_ext 32474LIBS=$ac_check_lib_save_LIBS 32475fi 32476{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf7_stream" >&5 32477$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf7_stream" >&6; } 32478if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf7_stream" = xyes; then : 32479 ac_cv_libuna_dummy=yes 32480else 32481 ac_cv_libuna=no 32482fi 32483 32484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_utf8_stream in -luna" >&5 32485$as_echo_n "checking for libuna_utf8_string_size_from_utf8_stream in -luna... " >&6; } 32486if ${ac_cv_lib_una_libuna_utf8_string_size_from_utf8_stream+:} false; then : 32487 $as_echo_n "(cached) " >&6 32488else 32489 ac_check_lib_save_LIBS=$LIBS 32490LIBS="-luna $LIBS" 32491cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32492/* end confdefs.h. */ 32493 32494/* Override any GCC internal prototype to avoid an error. 32495 Use char because int might match the return type of a GCC 32496 builtin and then its argument prototype would still apply. */ 32497#ifdef __cplusplus 32498extern "C" 32499#endif 32500char libuna_utf8_string_size_from_utf8_stream (); 32501int 32502main () 32503{ 32504return libuna_utf8_string_size_from_utf8_stream (); 32505 ; 32506 return 0; 32507} 32508_ACEOF 32509if ac_fn_c_try_link "$LINENO"; then : 32510 ac_cv_lib_una_libuna_utf8_string_size_from_utf8_stream=yes 32511else 32512 ac_cv_lib_una_libuna_utf8_string_size_from_utf8_stream=no 32513fi 32514rm -f core conftest.err conftest.$ac_objext \ 32515 conftest$ac_exeext conftest.$ac_ext 32516LIBS=$ac_check_lib_save_LIBS 32517fi 32518{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_utf8_stream" >&5 32519$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_utf8_stream" >&6; } 32520if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_utf8_stream" = xyes; then : 32521 ac_cv_libuna_dummy=yes 32522else 32523 ac_cv_libuna=no 32524fi 32525 32526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_utf8_stream in -luna" >&5 32527$as_echo_n "checking for libuna_utf8_string_copy_from_utf8_stream in -luna... " >&6; } 32528if ${ac_cv_lib_una_libuna_utf8_string_copy_from_utf8_stream+:} false; then : 32529 $as_echo_n "(cached) " >&6 32530else 32531 ac_check_lib_save_LIBS=$LIBS 32532LIBS="-luna $LIBS" 32533cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32534/* end confdefs.h. */ 32535 32536/* Override any GCC internal prototype to avoid an error. 32537 Use char because int might match the return type of a GCC 32538 builtin and then its argument prototype would still apply. */ 32539#ifdef __cplusplus 32540extern "C" 32541#endif 32542char libuna_utf8_string_copy_from_utf8_stream (); 32543int 32544main () 32545{ 32546return libuna_utf8_string_copy_from_utf8_stream (); 32547 ; 32548 return 0; 32549} 32550_ACEOF 32551if ac_fn_c_try_link "$LINENO"; then : 32552 ac_cv_lib_una_libuna_utf8_string_copy_from_utf8_stream=yes 32553else 32554 ac_cv_lib_una_libuna_utf8_string_copy_from_utf8_stream=no 32555fi 32556rm -f core conftest.err conftest.$ac_objext \ 32557 conftest$ac_exeext conftest.$ac_ext 32558LIBS=$ac_check_lib_save_LIBS 32559fi 32560{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_utf8_stream" >&5 32561$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_utf8_stream" >&6; } 32562if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_utf8_stream" = xyes; then : 32563 ac_cv_libuna_dummy=yes 32564else 32565 ac_cv_libuna=no 32566fi 32567 32568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_utf8_stream in -luna" >&5 32569$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_utf8_stream in -luna... " >&6; } 32570if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf8_stream+:} false; then : 32571 $as_echo_n "(cached) " >&6 32572else 32573 ac_check_lib_save_LIBS=$LIBS 32574LIBS="-luna $LIBS" 32575cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32576/* end confdefs.h. */ 32577 32578/* Override any GCC internal prototype to avoid an error. 32579 Use char because int might match the return type of a GCC 32580 builtin and then its argument prototype would still apply. */ 32581#ifdef __cplusplus 32582extern "C" 32583#endif 32584char libuna_utf8_string_with_index_copy_from_utf8_stream (); 32585int 32586main () 32587{ 32588return libuna_utf8_string_with_index_copy_from_utf8_stream (); 32589 ; 32590 return 0; 32591} 32592_ACEOF 32593if ac_fn_c_try_link "$LINENO"; then : 32594 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf8_stream=yes 32595else 32596 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf8_stream=no 32597fi 32598rm -f core conftest.err conftest.$ac_objext \ 32599 conftest$ac_exeext conftest.$ac_ext 32600LIBS=$ac_check_lib_save_LIBS 32601fi 32602{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf8_stream" >&5 32603$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf8_stream" >&6; } 32604if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf8_stream" = xyes; then : 32605 ac_cv_libuna_dummy=yes 32606else 32607 ac_cv_libuna=no 32608fi 32609 32610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_utf16_stream in -luna" >&5 32611$as_echo_n "checking for libuna_utf8_string_size_from_utf16_stream in -luna... " >&6; } 32612if ${ac_cv_lib_una_libuna_utf8_string_size_from_utf16_stream+:} false; then : 32613 $as_echo_n "(cached) " >&6 32614else 32615 ac_check_lib_save_LIBS=$LIBS 32616LIBS="-luna $LIBS" 32617cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32618/* end confdefs.h. */ 32619 32620/* Override any GCC internal prototype to avoid an error. 32621 Use char because int might match the return type of a GCC 32622 builtin and then its argument prototype would still apply. */ 32623#ifdef __cplusplus 32624extern "C" 32625#endif 32626char libuna_utf8_string_size_from_utf16_stream (); 32627int 32628main () 32629{ 32630return libuna_utf8_string_size_from_utf16_stream (); 32631 ; 32632 return 0; 32633} 32634_ACEOF 32635if ac_fn_c_try_link "$LINENO"; then : 32636 ac_cv_lib_una_libuna_utf8_string_size_from_utf16_stream=yes 32637else 32638 ac_cv_lib_una_libuna_utf8_string_size_from_utf16_stream=no 32639fi 32640rm -f core conftest.err conftest.$ac_objext \ 32641 conftest$ac_exeext conftest.$ac_ext 32642LIBS=$ac_check_lib_save_LIBS 32643fi 32644{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_utf16_stream" >&5 32645$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_utf16_stream" >&6; } 32646if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_utf16_stream" = xyes; then : 32647 ac_cv_libuna_dummy=yes 32648else 32649 ac_cv_libuna=no 32650fi 32651 32652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_utf16_stream in -luna" >&5 32653$as_echo_n "checking for libuna_utf8_string_copy_from_utf16_stream in -luna... " >&6; } 32654if ${ac_cv_lib_una_libuna_utf8_string_copy_from_utf16_stream+:} false; then : 32655 $as_echo_n "(cached) " >&6 32656else 32657 ac_check_lib_save_LIBS=$LIBS 32658LIBS="-luna $LIBS" 32659cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32660/* end confdefs.h. */ 32661 32662/* Override any GCC internal prototype to avoid an error. 32663 Use char because int might match the return type of a GCC 32664 builtin and then its argument prototype would still apply. */ 32665#ifdef __cplusplus 32666extern "C" 32667#endif 32668char libuna_utf8_string_copy_from_utf16_stream (); 32669int 32670main () 32671{ 32672return libuna_utf8_string_copy_from_utf16_stream (); 32673 ; 32674 return 0; 32675} 32676_ACEOF 32677if ac_fn_c_try_link "$LINENO"; then : 32678 ac_cv_lib_una_libuna_utf8_string_copy_from_utf16_stream=yes 32679else 32680 ac_cv_lib_una_libuna_utf8_string_copy_from_utf16_stream=no 32681fi 32682rm -f core conftest.err conftest.$ac_objext \ 32683 conftest$ac_exeext conftest.$ac_ext 32684LIBS=$ac_check_lib_save_LIBS 32685fi 32686{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_utf16_stream" >&5 32687$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_utf16_stream" >&6; } 32688if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_utf16_stream" = xyes; then : 32689 ac_cv_libuna_dummy=yes 32690else 32691 ac_cv_libuna=no 32692fi 32693 32694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_utf16_stream in -luna" >&5 32695$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_utf16_stream in -luna... " >&6; } 32696if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16_stream+:} false; then : 32697 $as_echo_n "(cached) " >&6 32698else 32699 ac_check_lib_save_LIBS=$LIBS 32700LIBS="-luna $LIBS" 32701cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32702/* end confdefs.h. */ 32703 32704/* Override any GCC internal prototype to avoid an error. 32705 Use char because int might match the return type of a GCC 32706 builtin and then its argument prototype would still apply. */ 32707#ifdef __cplusplus 32708extern "C" 32709#endif 32710char libuna_utf8_string_with_index_copy_from_utf16_stream (); 32711int 32712main () 32713{ 32714return libuna_utf8_string_with_index_copy_from_utf16_stream (); 32715 ; 32716 return 0; 32717} 32718_ACEOF 32719if ac_fn_c_try_link "$LINENO"; then : 32720 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16_stream=yes 32721else 32722 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16_stream=no 32723fi 32724rm -f core conftest.err conftest.$ac_objext \ 32725 conftest$ac_exeext conftest.$ac_ext 32726LIBS=$ac_check_lib_save_LIBS 32727fi 32728{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16_stream" >&5 32729$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16_stream" >&6; } 32730if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16_stream" = xyes; then : 32731 ac_cv_libuna_dummy=yes 32732else 32733 ac_cv_libuna=no 32734fi 32735 32736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_utf32_stream in -luna" >&5 32737$as_echo_n "checking for libuna_utf8_string_size_from_utf32_stream in -luna... " >&6; } 32738if ${ac_cv_lib_una_libuna_utf8_string_size_from_utf32_stream+:} false; then : 32739 $as_echo_n "(cached) " >&6 32740else 32741 ac_check_lib_save_LIBS=$LIBS 32742LIBS="-luna $LIBS" 32743cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32744/* end confdefs.h. */ 32745 32746/* Override any GCC internal prototype to avoid an error. 32747 Use char because int might match the return type of a GCC 32748 builtin and then its argument prototype would still apply. */ 32749#ifdef __cplusplus 32750extern "C" 32751#endif 32752char libuna_utf8_string_size_from_utf32_stream (); 32753int 32754main () 32755{ 32756return libuna_utf8_string_size_from_utf32_stream (); 32757 ; 32758 return 0; 32759} 32760_ACEOF 32761if ac_fn_c_try_link "$LINENO"; then : 32762 ac_cv_lib_una_libuna_utf8_string_size_from_utf32_stream=yes 32763else 32764 ac_cv_lib_una_libuna_utf8_string_size_from_utf32_stream=no 32765fi 32766rm -f core conftest.err conftest.$ac_objext \ 32767 conftest$ac_exeext conftest.$ac_ext 32768LIBS=$ac_check_lib_save_LIBS 32769fi 32770{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_utf32_stream" >&5 32771$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_utf32_stream" >&6; } 32772if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_utf32_stream" = xyes; then : 32773 ac_cv_libuna_dummy=yes 32774else 32775 ac_cv_libuna=no 32776fi 32777 32778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_utf32_stream in -luna" >&5 32779$as_echo_n "checking for libuna_utf8_string_copy_from_utf32_stream in -luna... " >&6; } 32780if ${ac_cv_lib_una_libuna_utf8_string_copy_from_utf32_stream+:} false; then : 32781 $as_echo_n "(cached) " >&6 32782else 32783 ac_check_lib_save_LIBS=$LIBS 32784LIBS="-luna $LIBS" 32785cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32786/* end confdefs.h. */ 32787 32788/* Override any GCC internal prototype to avoid an error. 32789 Use char because int might match the return type of a GCC 32790 builtin and then its argument prototype would still apply. */ 32791#ifdef __cplusplus 32792extern "C" 32793#endif 32794char libuna_utf8_string_copy_from_utf32_stream (); 32795int 32796main () 32797{ 32798return libuna_utf8_string_copy_from_utf32_stream (); 32799 ; 32800 return 0; 32801} 32802_ACEOF 32803if ac_fn_c_try_link "$LINENO"; then : 32804 ac_cv_lib_una_libuna_utf8_string_copy_from_utf32_stream=yes 32805else 32806 ac_cv_lib_una_libuna_utf8_string_copy_from_utf32_stream=no 32807fi 32808rm -f core conftest.err conftest.$ac_objext \ 32809 conftest$ac_exeext conftest.$ac_ext 32810LIBS=$ac_check_lib_save_LIBS 32811fi 32812{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_utf32_stream" >&5 32813$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_utf32_stream" >&6; } 32814if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_utf32_stream" = xyes; then : 32815 ac_cv_libuna_dummy=yes 32816else 32817 ac_cv_libuna=no 32818fi 32819 32820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_utf32_stream in -luna" >&5 32821$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_utf32_stream in -luna... " >&6; } 32822if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32_stream+:} false; then : 32823 $as_echo_n "(cached) " >&6 32824else 32825 ac_check_lib_save_LIBS=$LIBS 32826LIBS="-luna $LIBS" 32827cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32828/* end confdefs.h. */ 32829 32830/* Override any GCC internal prototype to avoid an error. 32831 Use char because int might match the return type of a GCC 32832 builtin and then its argument prototype would still apply. */ 32833#ifdef __cplusplus 32834extern "C" 32835#endif 32836char libuna_utf8_string_with_index_copy_from_utf32_stream (); 32837int 32838main () 32839{ 32840return libuna_utf8_string_with_index_copy_from_utf32_stream (); 32841 ; 32842 return 0; 32843} 32844_ACEOF 32845if ac_fn_c_try_link "$LINENO"; then : 32846 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32_stream=yes 32847else 32848 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32_stream=no 32849fi 32850rm -f core conftest.err conftest.$ac_objext \ 32851 conftest$ac_exeext conftest.$ac_ext 32852LIBS=$ac_check_lib_save_LIBS 32853fi 32854{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32_stream" >&5 32855$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32_stream" >&6; } 32856if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32_stream" = xyes; then : 32857 ac_cv_libuna_dummy=yes 32858else 32859 ac_cv_libuna=no 32860fi 32861 32862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_utf16 in -luna" >&5 32863$as_echo_n "checking for libuna_utf8_string_size_from_utf16 in -luna... " >&6; } 32864if ${ac_cv_lib_una_libuna_utf8_string_size_from_utf16+:} false; then : 32865 $as_echo_n "(cached) " >&6 32866else 32867 ac_check_lib_save_LIBS=$LIBS 32868LIBS="-luna $LIBS" 32869cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32870/* end confdefs.h. */ 32871 32872/* Override any GCC internal prototype to avoid an error. 32873 Use char because int might match the return type of a GCC 32874 builtin and then its argument prototype would still apply. */ 32875#ifdef __cplusplus 32876extern "C" 32877#endif 32878char libuna_utf8_string_size_from_utf16 (); 32879int 32880main () 32881{ 32882return libuna_utf8_string_size_from_utf16 (); 32883 ; 32884 return 0; 32885} 32886_ACEOF 32887if ac_fn_c_try_link "$LINENO"; then : 32888 ac_cv_lib_una_libuna_utf8_string_size_from_utf16=yes 32889else 32890 ac_cv_lib_una_libuna_utf8_string_size_from_utf16=no 32891fi 32892rm -f core conftest.err conftest.$ac_objext \ 32893 conftest$ac_exeext conftest.$ac_ext 32894LIBS=$ac_check_lib_save_LIBS 32895fi 32896{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_utf16" >&5 32897$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_utf16" >&6; } 32898if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_utf16" = xyes; then : 32899 ac_cv_libuna_dummy=yes 32900else 32901 ac_cv_libuna=no 32902fi 32903 32904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_utf16 in -luna" >&5 32905$as_echo_n "checking for libuna_utf8_string_copy_from_utf16 in -luna... " >&6; } 32906if ${ac_cv_lib_una_libuna_utf8_string_copy_from_utf16+:} false; then : 32907 $as_echo_n "(cached) " >&6 32908else 32909 ac_check_lib_save_LIBS=$LIBS 32910LIBS="-luna $LIBS" 32911cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32912/* end confdefs.h. */ 32913 32914/* Override any GCC internal prototype to avoid an error. 32915 Use char because int might match the return type of a GCC 32916 builtin and then its argument prototype would still apply. */ 32917#ifdef __cplusplus 32918extern "C" 32919#endif 32920char libuna_utf8_string_copy_from_utf16 (); 32921int 32922main () 32923{ 32924return libuna_utf8_string_copy_from_utf16 (); 32925 ; 32926 return 0; 32927} 32928_ACEOF 32929if ac_fn_c_try_link "$LINENO"; then : 32930 ac_cv_lib_una_libuna_utf8_string_copy_from_utf16=yes 32931else 32932 ac_cv_lib_una_libuna_utf8_string_copy_from_utf16=no 32933fi 32934rm -f core conftest.err conftest.$ac_objext \ 32935 conftest$ac_exeext conftest.$ac_ext 32936LIBS=$ac_check_lib_save_LIBS 32937fi 32938{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_utf16" >&5 32939$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_utf16" >&6; } 32940if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_utf16" = xyes; then : 32941 ac_cv_libuna_dummy=yes 32942else 32943 ac_cv_libuna=no 32944fi 32945 32946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_utf16 in -luna" >&5 32947$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_utf16 in -luna... " >&6; } 32948if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16+:} false; then : 32949 $as_echo_n "(cached) " >&6 32950else 32951 ac_check_lib_save_LIBS=$LIBS 32952LIBS="-luna $LIBS" 32953cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32954/* end confdefs.h. */ 32955 32956/* Override any GCC internal prototype to avoid an error. 32957 Use char because int might match the return type of a GCC 32958 builtin and then its argument prototype would still apply. */ 32959#ifdef __cplusplus 32960extern "C" 32961#endif 32962char libuna_utf8_string_with_index_copy_from_utf16 (); 32963int 32964main () 32965{ 32966return libuna_utf8_string_with_index_copy_from_utf16 (); 32967 ; 32968 return 0; 32969} 32970_ACEOF 32971if ac_fn_c_try_link "$LINENO"; then : 32972 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16=yes 32973else 32974 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16=no 32975fi 32976rm -f core conftest.err conftest.$ac_objext \ 32977 conftest$ac_exeext conftest.$ac_ext 32978LIBS=$ac_check_lib_save_LIBS 32979fi 32980{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16" >&5 32981$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16" >&6; } 32982if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16" = xyes; then : 32983 ac_cv_libuna_dummy=yes 32984else 32985 ac_cv_libuna=no 32986fi 32987 32988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_utf32 in -luna" >&5 32989$as_echo_n "checking for libuna_utf8_string_size_from_utf32 in -luna... " >&6; } 32990if ${ac_cv_lib_una_libuna_utf8_string_size_from_utf32+:} false; then : 32991 $as_echo_n "(cached) " >&6 32992else 32993 ac_check_lib_save_LIBS=$LIBS 32994LIBS="-luna $LIBS" 32995cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32996/* end confdefs.h. */ 32997 32998/* Override any GCC internal prototype to avoid an error. 32999 Use char because int might match the return type of a GCC 33000 builtin and then its argument prototype would still apply. */ 33001#ifdef __cplusplus 33002extern "C" 33003#endif 33004char libuna_utf8_string_size_from_utf32 (); 33005int 33006main () 33007{ 33008return libuna_utf8_string_size_from_utf32 (); 33009 ; 33010 return 0; 33011} 33012_ACEOF 33013if ac_fn_c_try_link "$LINENO"; then : 33014 ac_cv_lib_una_libuna_utf8_string_size_from_utf32=yes 33015else 33016 ac_cv_lib_una_libuna_utf8_string_size_from_utf32=no 33017fi 33018rm -f core conftest.err conftest.$ac_objext \ 33019 conftest$ac_exeext conftest.$ac_ext 33020LIBS=$ac_check_lib_save_LIBS 33021fi 33022{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_utf32" >&5 33023$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_utf32" >&6; } 33024if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_utf32" = xyes; then : 33025 ac_cv_libuna_dummy=yes 33026else 33027 ac_cv_libuna=no 33028fi 33029 33030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_utf32 in -luna" >&5 33031$as_echo_n "checking for libuna_utf8_string_copy_from_utf32 in -luna... " >&6; } 33032if ${ac_cv_lib_una_libuna_utf8_string_copy_from_utf32+:} false; then : 33033 $as_echo_n "(cached) " >&6 33034else 33035 ac_check_lib_save_LIBS=$LIBS 33036LIBS="-luna $LIBS" 33037cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33038/* end confdefs.h. */ 33039 33040/* Override any GCC internal prototype to avoid an error. 33041 Use char because int might match the return type of a GCC 33042 builtin and then its argument prototype would still apply. */ 33043#ifdef __cplusplus 33044extern "C" 33045#endif 33046char libuna_utf8_string_copy_from_utf32 (); 33047int 33048main () 33049{ 33050return libuna_utf8_string_copy_from_utf32 (); 33051 ; 33052 return 0; 33053} 33054_ACEOF 33055if ac_fn_c_try_link "$LINENO"; then : 33056 ac_cv_lib_una_libuna_utf8_string_copy_from_utf32=yes 33057else 33058 ac_cv_lib_una_libuna_utf8_string_copy_from_utf32=no 33059fi 33060rm -f core conftest.err conftest.$ac_objext \ 33061 conftest$ac_exeext conftest.$ac_ext 33062LIBS=$ac_check_lib_save_LIBS 33063fi 33064{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_utf32" >&5 33065$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_utf32" >&6; } 33066if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_utf32" = xyes; then : 33067 ac_cv_libuna_dummy=yes 33068else 33069 ac_cv_libuna=no 33070fi 33071 33072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_utf32 in -luna" >&5 33073$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_utf32 in -luna... " >&6; } 33074if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32+:} false; then : 33075 $as_echo_n "(cached) " >&6 33076else 33077 ac_check_lib_save_LIBS=$LIBS 33078LIBS="-luna $LIBS" 33079cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33080/* end confdefs.h. */ 33081 33082/* Override any GCC internal prototype to avoid an error. 33083 Use char because int might match the return type of a GCC 33084 builtin and then its argument prototype would still apply. */ 33085#ifdef __cplusplus 33086extern "C" 33087#endif 33088char libuna_utf8_string_with_index_copy_from_utf32 (); 33089int 33090main () 33091{ 33092return libuna_utf8_string_with_index_copy_from_utf32 (); 33093 ; 33094 return 0; 33095} 33096_ACEOF 33097if ac_fn_c_try_link "$LINENO"; then : 33098 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32=yes 33099else 33100 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32=no 33101fi 33102rm -f core conftest.err conftest.$ac_objext \ 33103 conftest$ac_exeext conftest.$ac_ext 33104LIBS=$ac_check_lib_save_LIBS 33105fi 33106{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32" >&5 33107$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32" >&6; } 33108if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32" = xyes; then : 33109 ac_cv_libuna_dummy=yes 33110else 33111 ac_cv_libuna=no 33112fi 33113 33114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_scsu_stream in -luna" >&5 33115$as_echo_n "checking for libuna_utf8_string_size_from_scsu_stream in -luna... " >&6; } 33116if ${ac_cv_lib_una_libuna_utf8_string_size_from_scsu_stream+:} false; then : 33117 $as_echo_n "(cached) " >&6 33118else 33119 ac_check_lib_save_LIBS=$LIBS 33120LIBS="-luna $LIBS" 33121cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33122/* end confdefs.h. */ 33123 33124/* Override any GCC internal prototype to avoid an error. 33125 Use char because int might match the return type of a GCC 33126 builtin and then its argument prototype would still apply. */ 33127#ifdef __cplusplus 33128extern "C" 33129#endif 33130char libuna_utf8_string_size_from_scsu_stream (); 33131int 33132main () 33133{ 33134return libuna_utf8_string_size_from_scsu_stream (); 33135 ; 33136 return 0; 33137} 33138_ACEOF 33139if ac_fn_c_try_link "$LINENO"; then : 33140 ac_cv_lib_una_libuna_utf8_string_size_from_scsu_stream=yes 33141else 33142 ac_cv_lib_una_libuna_utf8_string_size_from_scsu_stream=no 33143fi 33144rm -f core conftest.err conftest.$ac_objext \ 33145 conftest$ac_exeext conftest.$ac_ext 33146LIBS=$ac_check_lib_save_LIBS 33147fi 33148{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_scsu_stream" >&5 33149$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_scsu_stream" >&6; } 33150if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_scsu_stream" = xyes; then : 33151 ac_cv_libuna_dummy=yes 33152else 33153 ac_cv_libuna=no 33154fi 33155 33156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_scsu_stream in -luna" >&5 33157$as_echo_n "checking for libuna_utf8_string_copy_from_scsu_stream in -luna... " >&6; } 33158if ${ac_cv_lib_una_libuna_utf8_string_copy_from_scsu_stream+:} false; then : 33159 $as_echo_n "(cached) " >&6 33160else 33161 ac_check_lib_save_LIBS=$LIBS 33162LIBS="-luna $LIBS" 33163cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33164/* end confdefs.h. */ 33165 33166/* Override any GCC internal prototype to avoid an error. 33167 Use char because int might match the return type of a GCC 33168 builtin and then its argument prototype would still apply. */ 33169#ifdef __cplusplus 33170extern "C" 33171#endif 33172char libuna_utf8_string_copy_from_scsu_stream (); 33173int 33174main () 33175{ 33176return libuna_utf8_string_copy_from_scsu_stream (); 33177 ; 33178 return 0; 33179} 33180_ACEOF 33181if ac_fn_c_try_link "$LINENO"; then : 33182 ac_cv_lib_una_libuna_utf8_string_copy_from_scsu_stream=yes 33183else 33184 ac_cv_lib_una_libuna_utf8_string_copy_from_scsu_stream=no 33185fi 33186rm -f core conftest.err conftest.$ac_objext \ 33187 conftest$ac_exeext conftest.$ac_ext 33188LIBS=$ac_check_lib_save_LIBS 33189fi 33190{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_scsu_stream" >&5 33191$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_scsu_stream" >&6; } 33192if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_scsu_stream" = xyes; then : 33193 ac_cv_libuna_dummy=yes 33194else 33195 ac_cv_libuna=no 33196fi 33197 33198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_scsu_stream in -luna" >&5 33199$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_scsu_stream in -luna... " >&6; } 33200if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_scsu_stream+:} false; then : 33201 $as_echo_n "(cached) " >&6 33202else 33203 ac_check_lib_save_LIBS=$LIBS 33204LIBS="-luna $LIBS" 33205cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33206/* end confdefs.h. */ 33207 33208/* Override any GCC internal prototype to avoid an error. 33209 Use char because int might match the return type of a GCC 33210 builtin and then its argument prototype would still apply. */ 33211#ifdef __cplusplus 33212extern "C" 33213#endif 33214char libuna_utf8_string_with_index_copy_from_scsu_stream (); 33215int 33216main () 33217{ 33218return libuna_utf8_string_with_index_copy_from_scsu_stream (); 33219 ; 33220 return 0; 33221} 33222_ACEOF 33223if ac_fn_c_try_link "$LINENO"; then : 33224 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_scsu_stream=yes 33225else 33226 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_scsu_stream=no 33227fi 33228rm -f core conftest.err conftest.$ac_objext \ 33229 conftest$ac_exeext conftest.$ac_ext 33230LIBS=$ac_check_lib_save_LIBS 33231fi 33232{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_scsu_stream" >&5 33233$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_scsu_stream" >&6; } 33234if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_scsu_stream" = xyes; then : 33235 ac_cv_libuna_dummy=yes 33236else 33237 ac_cv_libuna=no 33238fi 33239 33240 33241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_byte_stream in -luna" >&5 33242$as_echo_n "checking for libuna_utf16_string_size_from_byte_stream in -luna... " >&6; } 33243if ${ac_cv_lib_una_libuna_utf16_string_size_from_byte_stream+:} false; then : 33244 $as_echo_n "(cached) " >&6 33245else 33246 ac_check_lib_save_LIBS=$LIBS 33247LIBS="-luna $LIBS" 33248cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33249/* end confdefs.h. */ 33250 33251/* Override any GCC internal prototype to avoid an error. 33252 Use char because int might match the return type of a GCC 33253 builtin and then its argument prototype would still apply. */ 33254#ifdef __cplusplus 33255extern "C" 33256#endif 33257char libuna_utf16_string_size_from_byte_stream (); 33258int 33259main () 33260{ 33261return libuna_utf16_string_size_from_byte_stream (); 33262 ; 33263 return 0; 33264} 33265_ACEOF 33266if ac_fn_c_try_link "$LINENO"; then : 33267 ac_cv_lib_una_libuna_utf16_string_size_from_byte_stream=yes 33268else 33269 ac_cv_lib_una_libuna_utf16_string_size_from_byte_stream=no 33270fi 33271rm -f core conftest.err conftest.$ac_objext \ 33272 conftest$ac_exeext conftest.$ac_ext 33273LIBS=$ac_check_lib_save_LIBS 33274fi 33275{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_byte_stream" >&5 33276$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_byte_stream" >&6; } 33277if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_byte_stream" = xyes; then : 33278 ac_cv_libuna_dummy=yes 33279else 33280 ac_cv_libuna=no 33281fi 33282 33283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_byte_stream in -luna" >&5 33284$as_echo_n "checking for libuna_utf16_string_copy_from_byte_stream in -luna... " >&6; } 33285if ${ac_cv_lib_una_libuna_utf16_string_copy_from_byte_stream+:} false; then : 33286 $as_echo_n "(cached) " >&6 33287else 33288 ac_check_lib_save_LIBS=$LIBS 33289LIBS="-luna $LIBS" 33290cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33291/* end confdefs.h. */ 33292 33293/* Override any GCC internal prototype to avoid an error. 33294 Use char because int might match the return type of a GCC 33295 builtin and then its argument prototype would still apply. */ 33296#ifdef __cplusplus 33297extern "C" 33298#endif 33299char libuna_utf16_string_copy_from_byte_stream (); 33300int 33301main () 33302{ 33303return libuna_utf16_string_copy_from_byte_stream (); 33304 ; 33305 return 0; 33306} 33307_ACEOF 33308if ac_fn_c_try_link "$LINENO"; then : 33309 ac_cv_lib_una_libuna_utf16_string_copy_from_byte_stream=yes 33310else 33311 ac_cv_lib_una_libuna_utf16_string_copy_from_byte_stream=no 33312fi 33313rm -f core conftest.err conftest.$ac_objext \ 33314 conftest$ac_exeext conftest.$ac_ext 33315LIBS=$ac_check_lib_save_LIBS 33316fi 33317{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_byte_stream" >&5 33318$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_byte_stream" >&6; } 33319if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_byte_stream" = xyes; then : 33320 ac_cv_libuna_dummy=yes 33321else 33322 ac_cv_libuna=no 33323fi 33324 33325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_byte_stream in -luna" >&5 33326$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_byte_stream in -luna... " >&6; } 33327if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_byte_stream+:} false; then : 33328 $as_echo_n "(cached) " >&6 33329else 33330 ac_check_lib_save_LIBS=$LIBS 33331LIBS="-luna $LIBS" 33332cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33333/* end confdefs.h. */ 33334 33335/* Override any GCC internal prototype to avoid an error. 33336 Use char because int might match the return type of a GCC 33337 builtin and then its argument prototype would still apply. */ 33338#ifdef __cplusplus 33339extern "C" 33340#endif 33341char libuna_utf16_string_with_index_copy_from_byte_stream (); 33342int 33343main () 33344{ 33345return libuna_utf16_string_with_index_copy_from_byte_stream (); 33346 ; 33347 return 0; 33348} 33349_ACEOF 33350if ac_fn_c_try_link "$LINENO"; then : 33351 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_byte_stream=yes 33352else 33353 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_byte_stream=no 33354fi 33355rm -f core conftest.err conftest.$ac_objext \ 33356 conftest$ac_exeext conftest.$ac_ext 33357LIBS=$ac_check_lib_save_LIBS 33358fi 33359{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_byte_stream" >&5 33360$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_byte_stream" >&6; } 33361if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_byte_stream" = xyes; then : 33362 ac_cv_libuna_dummy=yes 33363else 33364 ac_cv_libuna=no 33365fi 33366 33367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_utf7_stream in -luna" >&5 33368$as_echo_n "checking for libuna_utf16_string_size_from_utf7_stream in -luna... " >&6; } 33369if ${ac_cv_lib_una_libuna_utf16_string_size_from_utf7_stream+:} false; then : 33370 $as_echo_n "(cached) " >&6 33371else 33372 ac_check_lib_save_LIBS=$LIBS 33373LIBS="-luna $LIBS" 33374cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33375/* end confdefs.h. */ 33376 33377/* Override any GCC internal prototype to avoid an error. 33378 Use char because int might match the return type of a GCC 33379 builtin and then its argument prototype would still apply. */ 33380#ifdef __cplusplus 33381extern "C" 33382#endif 33383char libuna_utf16_string_size_from_utf7_stream (); 33384int 33385main () 33386{ 33387return libuna_utf16_string_size_from_utf7_stream (); 33388 ; 33389 return 0; 33390} 33391_ACEOF 33392if ac_fn_c_try_link "$LINENO"; then : 33393 ac_cv_lib_una_libuna_utf16_string_size_from_utf7_stream=yes 33394else 33395 ac_cv_lib_una_libuna_utf16_string_size_from_utf7_stream=no 33396fi 33397rm -f core conftest.err conftest.$ac_objext \ 33398 conftest$ac_exeext conftest.$ac_ext 33399LIBS=$ac_check_lib_save_LIBS 33400fi 33401{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_utf7_stream" >&5 33402$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_utf7_stream" >&6; } 33403if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_utf7_stream" = xyes; then : 33404 ac_cv_libuna_dummy=yes 33405else 33406 ac_cv_libuna=no 33407fi 33408 33409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_utf7_stream in -luna" >&5 33410$as_echo_n "checking for libuna_utf16_string_copy_from_utf7_stream in -luna... " >&6; } 33411if ${ac_cv_lib_una_libuna_utf16_string_copy_from_utf7_stream+:} false; then : 33412 $as_echo_n "(cached) " >&6 33413else 33414 ac_check_lib_save_LIBS=$LIBS 33415LIBS="-luna $LIBS" 33416cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33417/* end confdefs.h. */ 33418 33419/* Override any GCC internal prototype to avoid an error. 33420 Use char because int might match the return type of a GCC 33421 builtin and then its argument prototype would still apply. */ 33422#ifdef __cplusplus 33423extern "C" 33424#endif 33425char libuna_utf16_string_copy_from_utf7_stream (); 33426int 33427main () 33428{ 33429return libuna_utf16_string_copy_from_utf7_stream (); 33430 ; 33431 return 0; 33432} 33433_ACEOF 33434if ac_fn_c_try_link "$LINENO"; then : 33435 ac_cv_lib_una_libuna_utf16_string_copy_from_utf7_stream=yes 33436else 33437 ac_cv_lib_una_libuna_utf16_string_copy_from_utf7_stream=no 33438fi 33439rm -f core conftest.err conftest.$ac_objext \ 33440 conftest$ac_exeext conftest.$ac_ext 33441LIBS=$ac_check_lib_save_LIBS 33442fi 33443{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_utf7_stream" >&5 33444$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_utf7_stream" >&6; } 33445if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_utf7_stream" = xyes; then : 33446 ac_cv_libuna_dummy=yes 33447else 33448 ac_cv_libuna=no 33449fi 33450 33451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_utf7_stream in -luna" >&5 33452$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_utf7_stream in -luna... " >&6; } 33453if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf7_stream+:} false; then : 33454 $as_echo_n "(cached) " >&6 33455else 33456 ac_check_lib_save_LIBS=$LIBS 33457LIBS="-luna $LIBS" 33458cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33459/* end confdefs.h. */ 33460 33461/* Override any GCC internal prototype to avoid an error. 33462 Use char because int might match the return type of a GCC 33463 builtin and then its argument prototype would still apply. */ 33464#ifdef __cplusplus 33465extern "C" 33466#endif 33467char libuna_utf16_string_with_index_copy_from_utf7_stream (); 33468int 33469main () 33470{ 33471return libuna_utf16_string_with_index_copy_from_utf7_stream (); 33472 ; 33473 return 0; 33474} 33475_ACEOF 33476if ac_fn_c_try_link "$LINENO"; then : 33477 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf7_stream=yes 33478else 33479 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf7_stream=no 33480fi 33481rm -f core conftest.err conftest.$ac_objext \ 33482 conftest$ac_exeext conftest.$ac_ext 33483LIBS=$ac_check_lib_save_LIBS 33484fi 33485{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf7_stream" >&5 33486$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf7_stream" >&6; } 33487if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf7_stream" = xyes; then : 33488 ac_cv_libuna_dummy=yes 33489else 33490 ac_cv_libuna=no 33491fi 33492 33493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_utf8_stream in -luna" >&5 33494$as_echo_n "checking for libuna_utf16_string_size_from_utf8_stream in -luna... " >&6; } 33495if ${ac_cv_lib_una_libuna_utf16_string_size_from_utf8_stream+:} false; then : 33496 $as_echo_n "(cached) " >&6 33497else 33498 ac_check_lib_save_LIBS=$LIBS 33499LIBS="-luna $LIBS" 33500cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33501/* end confdefs.h. */ 33502 33503/* Override any GCC internal prototype to avoid an error. 33504 Use char because int might match the return type of a GCC 33505 builtin and then its argument prototype would still apply. */ 33506#ifdef __cplusplus 33507extern "C" 33508#endif 33509char libuna_utf16_string_size_from_utf8_stream (); 33510int 33511main () 33512{ 33513return libuna_utf16_string_size_from_utf8_stream (); 33514 ; 33515 return 0; 33516} 33517_ACEOF 33518if ac_fn_c_try_link "$LINENO"; then : 33519 ac_cv_lib_una_libuna_utf16_string_size_from_utf8_stream=yes 33520else 33521 ac_cv_lib_una_libuna_utf16_string_size_from_utf8_stream=no 33522fi 33523rm -f core conftest.err conftest.$ac_objext \ 33524 conftest$ac_exeext conftest.$ac_ext 33525LIBS=$ac_check_lib_save_LIBS 33526fi 33527{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_utf8_stream" >&5 33528$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_utf8_stream" >&6; } 33529if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_utf8_stream" = xyes; then : 33530 ac_cv_libuna_dummy=yes 33531else 33532 ac_cv_libuna=no 33533fi 33534 33535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_utf8_stream in -luna" >&5 33536$as_echo_n "checking for libuna_utf16_string_copy_from_utf8_stream in -luna... " >&6; } 33537if ${ac_cv_lib_una_libuna_utf16_string_copy_from_utf8_stream+:} false; then : 33538 $as_echo_n "(cached) " >&6 33539else 33540 ac_check_lib_save_LIBS=$LIBS 33541LIBS="-luna $LIBS" 33542cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33543/* end confdefs.h. */ 33544 33545/* Override any GCC internal prototype to avoid an error. 33546 Use char because int might match the return type of a GCC 33547 builtin and then its argument prototype would still apply. */ 33548#ifdef __cplusplus 33549extern "C" 33550#endif 33551char libuna_utf16_string_copy_from_utf8_stream (); 33552int 33553main () 33554{ 33555return libuna_utf16_string_copy_from_utf8_stream (); 33556 ; 33557 return 0; 33558} 33559_ACEOF 33560if ac_fn_c_try_link "$LINENO"; then : 33561 ac_cv_lib_una_libuna_utf16_string_copy_from_utf8_stream=yes 33562else 33563 ac_cv_lib_una_libuna_utf16_string_copy_from_utf8_stream=no 33564fi 33565rm -f core conftest.err conftest.$ac_objext \ 33566 conftest$ac_exeext conftest.$ac_ext 33567LIBS=$ac_check_lib_save_LIBS 33568fi 33569{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_utf8_stream" >&5 33570$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_utf8_stream" >&6; } 33571if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_utf8_stream" = xyes; then : 33572 ac_cv_libuna_dummy=yes 33573else 33574 ac_cv_libuna=no 33575fi 33576 33577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_utf8_stream in -luna" >&5 33578$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_utf8_stream in -luna... " >&6; } 33579if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8_stream+:} false; then : 33580 $as_echo_n "(cached) " >&6 33581else 33582 ac_check_lib_save_LIBS=$LIBS 33583LIBS="-luna $LIBS" 33584cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33585/* end confdefs.h. */ 33586 33587/* Override any GCC internal prototype to avoid an error. 33588 Use char because int might match the return type of a GCC 33589 builtin and then its argument prototype would still apply. */ 33590#ifdef __cplusplus 33591extern "C" 33592#endif 33593char libuna_utf16_string_with_index_copy_from_utf8_stream (); 33594int 33595main () 33596{ 33597return libuna_utf16_string_with_index_copy_from_utf8_stream (); 33598 ; 33599 return 0; 33600} 33601_ACEOF 33602if ac_fn_c_try_link "$LINENO"; then : 33603 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8_stream=yes 33604else 33605 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8_stream=no 33606fi 33607rm -f core conftest.err conftest.$ac_objext \ 33608 conftest$ac_exeext conftest.$ac_ext 33609LIBS=$ac_check_lib_save_LIBS 33610fi 33611{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8_stream" >&5 33612$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8_stream" >&6; } 33613if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8_stream" = xyes; then : 33614 ac_cv_libuna_dummy=yes 33615else 33616 ac_cv_libuna=no 33617fi 33618 33619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_utf16_stream in -luna" >&5 33620$as_echo_n "checking for libuna_utf16_string_size_from_utf16_stream in -luna... " >&6; } 33621if ${ac_cv_lib_una_libuna_utf16_string_size_from_utf16_stream+:} false; then : 33622 $as_echo_n "(cached) " >&6 33623else 33624 ac_check_lib_save_LIBS=$LIBS 33625LIBS="-luna $LIBS" 33626cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33627/* end confdefs.h. */ 33628 33629/* Override any GCC internal prototype to avoid an error. 33630 Use char because int might match the return type of a GCC 33631 builtin and then its argument prototype would still apply. */ 33632#ifdef __cplusplus 33633extern "C" 33634#endif 33635char libuna_utf16_string_size_from_utf16_stream (); 33636int 33637main () 33638{ 33639return libuna_utf16_string_size_from_utf16_stream (); 33640 ; 33641 return 0; 33642} 33643_ACEOF 33644if ac_fn_c_try_link "$LINENO"; then : 33645 ac_cv_lib_una_libuna_utf16_string_size_from_utf16_stream=yes 33646else 33647 ac_cv_lib_una_libuna_utf16_string_size_from_utf16_stream=no 33648fi 33649rm -f core conftest.err conftest.$ac_objext \ 33650 conftest$ac_exeext conftest.$ac_ext 33651LIBS=$ac_check_lib_save_LIBS 33652fi 33653{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_utf16_stream" >&5 33654$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_utf16_stream" >&6; } 33655if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_utf16_stream" = xyes; then : 33656 ac_cv_libuna_dummy=yes 33657else 33658 ac_cv_libuna=no 33659fi 33660 33661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_utf16_stream in -luna" >&5 33662$as_echo_n "checking for libuna_utf16_string_copy_from_utf16_stream in -luna... " >&6; } 33663if ${ac_cv_lib_una_libuna_utf16_string_copy_from_utf16_stream+:} false; then : 33664 $as_echo_n "(cached) " >&6 33665else 33666 ac_check_lib_save_LIBS=$LIBS 33667LIBS="-luna $LIBS" 33668cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33669/* end confdefs.h. */ 33670 33671/* Override any GCC internal prototype to avoid an error. 33672 Use char because int might match the return type of a GCC 33673 builtin and then its argument prototype would still apply. */ 33674#ifdef __cplusplus 33675extern "C" 33676#endif 33677char libuna_utf16_string_copy_from_utf16_stream (); 33678int 33679main () 33680{ 33681return libuna_utf16_string_copy_from_utf16_stream (); 33682 ; 33683 return 0; 33684} 33685_ACEOF 33686if ac_fn_c_try_link "$LINENO"; then : 33687 ac_cv_lib_una_libuna_utf16_string_copy_from_utf16_stream=yes 33688else 33689 ac_cv_lib_una_libuna_utf16_string_copy_from_utf16_stream=no 33690fi 33691rm -f core conftest.err conftest.$ac_objext \ 33692 conftest$ac_exeext conftest.$ac_ext 33693LIBS=$ac_check_lib_save_LIBS 33694fi 33695{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_utf16_stream" >&5 33696$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_utf16_stream" >&6; } 33697if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_utf16_stream" = xyes; then : 33698 ac_cv_libuna_dummy=yes 33699else 33700 ac_cv_libuna=no 33701fi 33702 33703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_utf16_stream in -luna" >&5 33704$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_utf16_stream in -luna... " >&6; } 33705if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf16_stream+:} false; then : 33706 $as_echo_n "(cached) " >&6 33707else 33708 ac_check_lib_save_LIBS=$LIBS 33709LIBS="-luna $LIBS" 33710cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33711/* end confdefs.h. */ 33712 33713/* Override any GCC internal prototype to avoid an error. 33714 Use char because int might match the return type of a GCC 33715 builtin and then its argument prototype would still apply. */ 33716#ifdef __cplusplus 33717extern "C" 33718#endif 33719char libuna_utf16_string_with_index_copy_from_utf16_stream (); 33720int 33721main () 33722{ 33723return libuna_utf16_string_with_index_copy_from_utf16_stream (); 33724 ; 33725 return 0; 33726} 33727_ACEOF 33728if ac_fn_c_try_link "$LINENO"; then : 33729 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf16_stream=yes 33730else 33731 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf16_stream=no 33732fi 33733rm -f core conftest.err conftest.$ac_objext \ 33734 conftest$ac_exeext conftest.$ac_ext 33735LIBS=$ac_check_lib_save_LIBS 33736fi 33737{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf16_stream" >&5 33738$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf16_stream" >&6; } 33739if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf16_stream" = xyes; then : 33740 ac_cv_libuna_dummy=yes 33741else 33742 ac_cv_libuna=no 33743fi 33744 33745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_utf32_stream in -luna" >&5 33746$as_echo_n "checking for libuna_utf16_string_size_from_utf32_stream in -luna... " >&6; } 33747if ${ac_cv_lib_una_libuna_utf16_string_size_from_utf32_stream+:} false; then : 33748 $as_echo_n "(cached) " >&6 33749else 33750 ac_check_lib_save_LIBS=$LIBS 33751LIBS="-luna $LIBS" 33752cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33753/* end confdefs.h. */ 33754 33755/* Override any GCC internal prototype to avoid an error. 33756 Use char because int might match the return type of a GCC 33757 builtin and then its argument prototype would still apply. */ 33758#ifdef __cplusplus 33759extern "C" 33760#endif 33761char libuna_utf16_string_size_from_utf32_stream (); 33762int 33763main () 33764{ 33765return libuna_utf16_string_size_from_utf32_stream (); 33766 ; 33767 return 0; 33768} 33769_ACEOF 33770if ac_fn_c_try_link "$LINENO"; then : 33771 ac_cv_lib_una_libuna_utf16_string_size_from_utf32_stream=yes 33772else 33773 ac_cv_lib_una_libuna_utf16_string_size_from_utf32_stream=no 33774fi 33775rm -f core conftest.err conftest.$ac_objext \ 33776 conftest$ac_exeext conftest.$ac_ext 33777LIBS=$ac_check_lib_save_LIBS 33778fi 33779{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_utf32_stream" >&5 33780$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_utf32_stream" >&6; } 33781if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_utf32_stream" = xyes; then : 33782 ac_cv_libuna_dummy=yes 33783else 33784 ac_cv_libuna=no 33785fi 33786 33787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_utf32_stream in -luna" >&5 33788$as_echo_n "checking for libuna_utf16_string_copy_from_utf32_stream in -luna... " >&6; } 33789if ${ac_cv_lib_una_libuna_utf16_string_copy_from_utf32_stream+:} false; then : 33790 $as_echo_n "(cached) " >&6 33791else 33792 ac_check_lib_save_LIBS=$LIBS 33793LIBS="-luna $LIBS" 33794cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33795/* end confdefs.h. */ 33796 33797/* Override any GCC internal prototype to avoid an error. 33798 Use char because int might match the return type of a GCC 33799 builtin and then its argument prototype would still apply. */ 33800#ifdef __cplusplus 33801extern "C" 33802#endif 33803char libuna_utf16_string_copy_from_utf32_stream (); 33804int 33805main () 33806{ 33807return libuna_utf16_string_copy_from_utf32_stream (); 33808 ; 33809 return 0; 33810} 33811_ACEOF 33812if ac_fn_c_try_link "$LINENO"; then : 33813 ac_cv_lib_una_libuna_utf16_string_copy_from_utf32_stream=yes 33814else 33815 ac_cv_lib_una_libuna_utf16_string_copy_from_utf32_stream=no 33816fi 33817rm -f core conftest.err conftest.$ac_objext \ 33818 conftest$ac_exeext conftest.$ac_ext 33819LIBS=$ac_check_lib_save_LIBS 33820fi 33821{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_utf32_stream" >&5 33822$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_utf32_stream" >&6; } 33823if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_utf32_stream" = xyes; then : 33824 ac_cv_libuna_dummy=yes 33825else 33826 ac_cv_libuna=no 33827fi 33828 33829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_utf32_stream in -luna" >&5 33830$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_utf32_stream in -luna... " >&6; } 33831if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32_stream+:} false; then : 33832 $as_echo_n "(cached) " >&6 33833else 33834 ac_check_lib_save_LIBS=$LIBS 33835LIBS="-luna $LIBS" 33836cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33837/* end confdefs.h. */ 33838 33839/* Override any GCC internal prototype to avoid an error. 33840 Use char because int might match the return type of a GCC 33841 builtin and then its argument prototype would still apply. */ 33842#ifdef __cplusplus 33843extern "C" 33844#endif 33845char libuna_utf16_string_with_index_copy_from_utf32_stream (); 33846int 33847main () 33848{ 33849return libuna_utf16_string_with_index_copy_from_utf32_stream (); 33850 ; 33851 return 0; 33852} 33853_ACEOF 33854if ac_fn_c_try_link "$LINENO"; then : 33855 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32_stream=yes 33856else 33857 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32_stream=no 33858fi 33859rm -f core conftest.err conftest.$ac_objext \ 33860 conftest$ac_exeext conftest.$ac_ext 33861LIBS=$ac_check_lib_save_LIBS 33862fi 33863{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32_stream" >&5 33864$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32_stream" >&6; } 33865if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32_stream" = xyes; then : 33866 ac_cv_libuna_dummy=yes 33867else 33868 ac_cv_libuna=no 33869fi 33870 33871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_utf8 in -luna" >&5 33872$as_echo_n "checking for libuna_utf16_string_size_from_utf8 in -luna... " >&6; } 33873if ${ac_cv_lib_una_libuna_utf16_string_size_from_utf8+:} false; then : 33874 $as_echo_n "(cached) " >&6 33875else 33876 ac_check_lib_save_LIBS=$LIBS 33877LIBS="-luna $LIBS" 33878cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33879/* end confdefs.h. */ 33880 33881/* Override any GCC internal prototype to avoid an error. 33882 Use char because int might match the return type of a GCC 33883 builtin and then its argument prototype would still apply. */ 33884#ifdef __cplusplus 33885extern "C" 33886#endif 33887char libuna_utf16_string_size_from_utf8 (); 33888int 33889main () 33890{ 33891return libuna_utf16_string_size_from_utf8 (); 33892 ; 33893 return 0; 33894} 33895_ACEOF 33896if ac_fn_c_try_link "$LINENO"; then : 33897 ac_cv_lib_una_libuna_utf16_string_size_from_utf8=yes 33898else 33899 ac_cv_lib_una_libuna_utf16_string_size_from_utf8=no 33900fi 33901rm -f core conftest.err conftest.$ac_objext \ 33902 conftest$ac_exeext conftest.$ac_ext 33903LIBS=$ac_check_lib_save_LIBS 33904fi 33905{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_utf8" >&5 33906$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_utf8" >&6; } 33907if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_utf8" = xyes; then : 33908 ac_cv_libuna_dummy=yes 33909else 33910 ac_cv_libuna=no 33911fi 33912 33913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_utf8 in -luna" >&5 33914$as_echo_n "checking for libuna_utf16_string_copy_from_utf8 in -luna... " >&6; } 33915if ${ac_cv_lib_una_libuna_utf16_string_copy_from_utf8+:} false; then : 33916 $as_echo_n "(cached) " >&6 33917else 33918 ac_check_lib_save_LIBS=$LIBS 33919LIBS="-luna $LIBS" 33920cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33921/* end confdefs.h. */ 33922 33923/* Override any GCC internal prototype to avoid an error. 33924 Use char because int might match the return type of a GCC 33925 builtin and then its argument prototype would still apply. */ 33926#ifdef __cplusplus 33927extern "C" 33928#endif 33929char libuna_utf16_string_copy_from_utf8 (); 33930int 33931main () 33932{ 33933return libuna_utf16_string_copy_from_utf8 (); 33934 ; 33935 return 0; 33936} 33937_ACEOF 33938if ac_fn_c_try_link "$LINENO"; then : 33939 ac_cv_lib_una_libuna_utf16_string_copy_from_utf8=yes 33940else 33941 ac_cv_lib_una_libuna_utf16_string_copy_from_utf8=no 33942fi 33943rm -f core conftest.err conftest.$ac_objext \ 33944 conftest$ac_exeext conftest.$ac_ext 33945LIBS=$ac_check_lib_save_LIBS 33946fi 33947{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_utf8" >&5 33948$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_utf8" >&6; } 33949if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_utf8" = xyes; then : 33950 ac_cv_libuna_dummy=yes 33951else 33952 ac_cv_libuna=no 33953fi 33954 33955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_utf8 in -luna" >&5 33956$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_utf8 in -luna... " >&6; } 33957if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8+:} false; then : 33958 $as_echo_n "(cached) " >&6 33959else 33960 ac_check_lib_save_LIBS=$LIBS 33961LIBS="-luna $LIBS" 33962cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33963/* end confdefs.h. */ 33964 33965/* Override any GCC internal prototype to avoid an error. 33966 Use char because int might match the return type of a GCC 33967 builtin and then its argument prototype would still apply. */ 33968#ifdef __cplusplus 33969extern "C" 33970#endif 33971char libuna_utf16_string_with_index_copy_from_utf8 (); 33972int 33973main () 33974{ 33975return libuna_utf16_string_with_index_copy_from_utf8 (); 33976 ; 33977 return 0; 33978} 33979_ACEOF 33980if ac_fn_c_try_link "$LINENO"; then : 33981 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8=yes 33982else 33983 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8=no 33984fi 33985rm -f core conftest.err conftest.$ac_objext \ 33986 conftest$ac_exeext conftest.$ac_ext 33987LIBS=$ac_check_lib_save_LIBS 33988fi 33989{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8" >&5 33990$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8" >&6; } 33991if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8" = xyes; then : 33992 ac_cv_libuna_dummy=yes 33993else 33994 ac_cv_libuna=no 33995fi 33996 33997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_utf32 in -luna" >&5 33998$as_echo_n "checking for libuna_utf16_string_size_from_utf32 in -luna... " >&6; } 33999if ${ac_cv_lib_una_libuna_utf16_string_size_from_utf32+:} false; then : 34000 $as_echo_n "(cached) " >&6 34001else 34002 ac_check_lib_save_LIBS=$LIBS 34003LIBS="-luna $LIBS" 34004cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34005/* end confdefs.h. */ 34006 34007/* Override any GCC internal prototype to avoid an error. 34008 Use char because int might match the return type of a GCC 34009 builtin and then its argument prototype would still apply. */ 34010#ifdef __cplusplus 34011extern "C" 34012#endif 34013char libuna_utf16_string_size_from_utf32 (); 34014int 34015main () 34016{ 34017return libuna_utf16_string_size_from_utf32 (); 34018 ; 34019 return 0; 34020} 34021_ACEOF 34022if ac_fn_c_try_link "$LINENO"; then : 34023 ac_cv_lib_una_libuna_utf16_string_size_from_utf32=yes 34024else 34025 ac_cv_lib_una_libuna_utf16_string_size_from_utf32=no 34026fi 34027rm -f core conftest.err conftest.$ac_objext \ 34028 conftest$ac_exeext conftest.$ac_ext 34029LIBS=$ac_check_lib_save_LIBS 34030fi 34031{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_utf32" >&5 34032$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_utf32" >&6; } 34033if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_utf32" = xyes; then : 34034 ac_cv_libuna_dummy=yes 34035else 34036 ac_cv_libuna=no 34037fi 34038 34039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_utf32 in -luna" >&5 34040$as_echo_n "checking for libuna_utf16_string_copy_from_utf32 in -luna... " >&6; } 34041if ${ac_cv_lib_una_libuna_utf16_string_copy_from_utf32+:} false; then : 34042 $as_echo_n "(cached) " >&6 34043else 34044 ac_check_lib_save_LIBS=$LIBS 34045LIBS="-luna $LIBS" 34046cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34047/* end confdefs.h. */ 34048 34049/* Override any GCC internal prototype to avoid an error. 34050 Use char because int might match the return type of a GCC 34051 builtin and then its argument prototype would still apply. */ 34052#ifdef __cplusplus 34053extern "C" 34054#endif 34055char libuna_utf16_string_copy_from_utf32 (); 34056int 34057main () 34058{ 34059return libuna_utf16_string_copy_from_utf32 (); 34060 ; 34061 return 0; 34062} 34063_ACEOF 34064if ac_fn_c_try_link "$LINENO"; then : 34065 ac_cv_lib_una_libuna_utf16_string_copy_from_utf32=yes 34066else 34067 ac_cv_lib_una_libuna_utf16_string_copy_from_utf32=no 34068fi 34069rm -f core conftest.err conftest.$ac_objext \ 34070 conftest$ac_exeext conftest.$ac_ext 34071LIBS=$ac_check_lib_save_LIBS 34072fi 34073{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_utf32" >&5 34074$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_utf32" >&6; } 34075if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_utf32" = xyes; then : 34076 ac_cv_libuna_dummy=yes 34077else 34078 ac_cv_libuna=no 34079fi 34080 34081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_utf32 in -luna" >&5 34082$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_utf32 in -luna... " >&6; } 34083if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32+:} false; then : 34084 $as_echo_n "(cached) " >&6 34085else 34086 ac_check_lib_save_LIBS=$LIBS 34087LIBS="-luna $LIBS" 34088cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34089/* end confdefs.h. */ 34090 34091/* Override any GCC internal prototype to avoid an error. 34092 Use char because int might match the return type of a GCC 34093 builtin and then its argument prototype would still apply. */ 34094#ifdef __cplusplus 34095extern "C" 34096#endif 34097char libuna_utf16_string_with_index_copy_from_utf32 (); 34098int 34099main () 34100{ 34101return libuna_utf16_string_with_index_copy_from_utf32 (); 34102 ; 34103 return 0; 34104} 34105_ACEOF 34106if ac_fn_c_try_link "$LINENO"; then : 34107 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32=yes 34108else 34109 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32=no 34110fi 34111rm -f core conftest.err conftest.$ac_objext \ 34112 conftest$ac_exeext conftest.$ac_ext 34113LIBS=$ac_check_lib_save_LIBS 34114fi 34115{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32" >&5 34116$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32" >&6; } 34117if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32" = xyes; then : 34118 ac_cv_libuna_dummy=yes 34119else 34120 ac_cv_libuna=no 34121fi 34122 34123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_scsu_stream in -luna" >&5 34124$as_echo_n "checking for libuna_utf16_string_size_from_scsu_stream in -luna... " >&6; } 34125if ${ac_cv_lib_una_libuna_utf16_string_size_from_scsu_stream+:} false; then : 34126 $as_echo_n "(cached) " >&6 34127else 34128 ac_check_lib_save_LIBS=$LIBS 34129LIBS="-luna $LIBS" 34130cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34131/* end confdefs.h. */ 34132 34133/* Override any GCC internal prototype to avoid an error. 34134 Use char because int might match the return type of a GCC 34135 builtin and then its argument prototype would still apply. */ 34136#ifdef __cplusplus 34137extern "C" 34138#endif 34139char libuna_utf16_string_size_from_scsu_stream (); 34140int 34141main () 34142{ 34143return libuna_utf16_string_size_from_scsu_stream (); 34144 ; 34145 return 0; 34146} 34147_ACEOF 34148if ac_fn_c_try_link "$LINENO"; then : 34149 ac_cv_lib_una_libuna_utf16_string_size_from_scsu_stream=yes 34150else 34151 ac_cv_lib_una_libuna_utf16_string_size_from_scsu_stream=no 34152fi 34153rm -f core conftest.err conftest.$ac_objext \ 34154 conftest$ac_exeext conftest.$ac_ext 34155LIBS=$ac_check_lib_save_LIBS 34156fi 34157{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_scsu_stream" >&5 34158$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_scsu_stream" >&6; } 34159if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_scsu_stream" = xyes; then : 34160 ac_cv_libuna_dummy=yes 34161else 34162 ac_cv_libuna=no 34163fi 34164 34165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_scsu_stream in -luna" >&5 34166$as_echo_n "checking for libuna_utf16_string_copy_from_scsu_stream in -luna... " >&6; } 34167if ${ac_cv_lib_una_libuna_utf16_string_copy_from_scsu_stream+:} false; then : 34168 $as_echo_n "(cached) " >&6 34169else 34170 ac_check_lib_save_LIBS=$LIBS 34171LIBS="-luna $LIBS" 34172cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34173/* end confdefs.h. */ 34174 34175/* Override any GCC internal prototype to avoid an error. 34176 Use char because int might match the return type of a GCC 34177 builtin and then its argument prototype would still apply. */ 34178#ifdef __cplusplus 34179extern "C" 34180#endif 34181char libuna_utf16_string_copy_from_scsu_stream (); 34182int 34183main () 34184{ 34185return libuna_utf16_string_copy_from_scsu_stream (); 34186 ; 34187 return 0; 34188} 34189_ACEOF 34190if ac_fn_c_try_link "$LINENO"; then : 34191 ac_cv_lib_una_libuna_utf16_string_copy_from_scsu_stream=yes 34192else 34193 ac_cv_lib_una_libuna_utf16_string_copy_from_scsu_stream=no 34194fi 34195rm -f core conftest.err conftest.$ac_objext \ 34196 conftest$ac_exeext conftest.$ac_ext 34197LIBS=$ac_check_lib_save_LIBS 34198fi 34199{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_scsu_stream" >&5 34200$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_scsu_stream" >&6; } 34201if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_scsu_stream" = xyes; then : 34202 ac_cv_libuna_dummy=yes 34203else 34204 ac_cv_libuna=no 34205fi 34206 34207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_scsu_stream in -luna" >&5 34208$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_scsu_stream in -luna... " >&6; } 34209if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_scsu_stream+:} false; then : 34210 $as_echo_n "(cached) " >&6 34211else 34212 ac_check_lib_save_LIBS=$LIBS 34213LIBS="-luna $LIBS" 34214cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34215/* end confdefs.h. */ 34216 34217/* Override any GCC internal prototype to avoid an error. 34218 Use char because int might match the return type of a GCC 34219 builtin and then its argument prototype would still apply. */ 34220#ifdef __cplusplus 34221extern "C" 34222#endif 34223char libuna_utf16_string_with_index_copy_from_scsu_stream (); 34224int 34225main () 34226{ 34227return libuna_utf16_string_with_index_copy_from_scsu_stream (); 34228 ; 34229 return 0; 34230} 34231_ACEOF 34232if ac_fn_c_try_link "$LINENO"; then : 34233 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_scsu_stream=yes 34234else 34235 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_scsu_stream=no 34236fi 34237rm -f core conftest.err conftest.$ac_objext \ 34238 conftest$ac_exeext conftest.$ac_ext 34239LIBS=$ac_check_lib_save_LIBS 34240fi 34241{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_scsu_stream" >&5 34242$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_scsu_stream" >&6; } 34243if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_scsu_stream" = xyes; then : 34244 ac_cv_libuna_dummy=yes 34245else 34246 ac_cv_libuna=no 34247fi 34248 34249 34250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_byte_stream in -luna" >&5 34251$as_echo_n "checking for libuna_utf32_string_size_from_byte_stream in -luna... " >&6; } 34252if ${ac_cv_lib_una_libuna_utf32_string_size_from_byte_stream+:} false; then : 34253 $as_echo_n "(cached) " >&6 34254else 34255 ac_check_lib_save_LIBS=$LIBS 34256LIBS="-luna $LIBS" 34257cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34258/* end confdefs.h. */ 34259 34260/* Override any GCC internal prototype to avoid an error. 34261 Use char because int might match the return type of a GCC 34262 builtin and then its argument prototype would still apply. */ 34263#ifdef __cplusplus 34264extern "C" 34265#endif 34266char libuna_utf32_string_size_from_byte_stream (); 34267int 34268main () 34269{ 34270return libuna_utf32_string_size_from_byte_stream (); 34271 ; 34272 return 0; 34273} 34274_ACEOF 34275if ac_fn_c_try_link "$LINENO"; then : 34276 ac_cv_lib_una_libuna_utf32_string_size_from_byte_stream=yes 34277else 34278 ac_cv_lib_una_libuna_utf32_string_size_from_byte_stream=no 34279fi 34280rm -f core conftest.err conftest.$ac_objext \ 34281 conftest$ac_exeext conftest.$ac_ext 34282LIBS=$ac_check_lib_save_LIBS 34283fi 34284{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_byte_stream" >&5 34285$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_byte_stream" >&6; } 34286if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_byte_stream" = xyes; then : 34287 ac_cv_libuna_dummy=yes 34288else 34289 ac_cv_libuna=no 34290fi 34291 34292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_byte_stream in -luna" >&5 34293$as_echo_n "checking for libuna_utf32_string_copy_from_byte_stream in -luna... " >&6; } 34294if ${ac_cv_lib_una_libuna_utf32_string_copy_from_byte_stream+:} false; then : 34295 $as_echo_n "(cached) " >&6 34296else 34297 ac_check_lib_save_LIBS=$LIBS 34298LIBS="-luna $LIBS" 34299cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34300/* end confdefs.h. */ 34301 34302/* Override any GCC internal prototype to avoid an error. 34303 Use char because int might match the return type of a GCC 34304 builtin and then its argument prototype would still apply. */ 34305#ifdef __cplusplus 34306extern "C" 34307#endif 34308char libuna_utf32_string_copy_from_byte_stream (); 34309int 34310main () 34311{ 34312return libuna_utf32_string_copy_from_byte_stream (); 34313 ; 34314 return 0; 34315} 34316_ACEOF 34317if ac_fn_c_try_link "$LINENO"; then : 34318 ac_cv_lib_una_libuna_utf32_string_copy_from_byte_stream=yes 34319else 34320 ac_cv_lib_una_libuna_utf32_string_copy_from_byte_stream=no 34321fi 34322rm -f core conftest.err conftest.$ac_objext \ 34323 conftest$ac_exeext conftest.$ac_ext 34324LIBS=$ac_check_lib_save_LIBS 34325fi 34326{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_byte_stream" >&5 34327$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_byte_stream" >&6; } 34328if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_byte_stream" = xyes; then : 34329 ac_cv_libuna_dummy=yes 34330else 34331 ac_cv_libuna=no 34332fi 34333 34334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_with_index_copy_from_byte_stream in -luna" >&5 34335$as_echo_n "checking for libuna_utf32_string_with_index_copy_from_byte_stream in -luna... " >&6; } 34336if ${ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_byte_stream+:} false; then : 34337 $as_echo_n "(cached) " >&6 34338else 34339 ac_check_lib_save_LIBS=$LIBS 34340LIBS="-luna $LIBS" 34341cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34342/* end confdefs.h. */ 34343 34344/* Override any GCC internal prototype to avoid an error. 34345 Use char because int might match the return type of a GCC 34346 builtin and then its argument prototype would still apply. */ 34347#ifdef __cplusplus 34348extern "C" 34349#endif 34350char libuna_utf32_string_with_index_copy_from_byte_stream (); 34351int 34352main () 34353{ 34354return libuna_utf32_string_with_index_copy_from_byte_stream (); 34355 ; 34356 return 0; 34357} 34358_ACEOF 34359if ac_fn_c_try_link "$LINENO"; then : 34360 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_byte_stream=yes 34361else 34362 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_byte_stream=no 34363fi 34364rm -f core conftest.err conftest.$ac_objext \ 34365 conftest$ac_exeext conftest.$ac_ext 34366LIBS=$ac_check_lib_save_LIBS 34367fi 34368{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_byte_stream" >&5 34369$as_echo "$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_byte_stream" >&6; } 34370if test "x$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_byte_stream" = xyes; then : 34371 ac_cv_libuna_dummy=yes 34372else 34373 ac_cv_libuna=no 34374fi 34375 34376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_utf7_stream in -luna" >&5 34377$as_echo_n "checking for libuna_utf32_string_size_from_utf7_stream in -luna... " >&6; } 34378if ${ac_cv_lib_una_libuna_utf32_string_size_from_utf7_stream+:} false; then : 34379 $as_echo_n "(cached) " >&6 34380else 34381 ac_check_lib_save_LIBS=$LIBS 34382LIBS="-luna $LIBS" 34383cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34384/* end confdefs.h. */ 34385 34386/* Override any GCC internal prototype to avoid an error. 34387 Use char because int might match the return type of a GCC 34388 builtin and then its argument prototype would still apply. */ 34389#ifdef __cplusplus 34390extern "C" 34391#endif 34392char libuna_utf32_string_size_from_utf7_stream (); 34393int 34394main () 34395{ 34396return libuna_utf32_string_size_from_utf7_stream (); 34397 ; 34398 return 0; 34399} 34400_ACEOF 34401if ac_fn_c_try_link "$LINENO"; then : 34402 ac_cv_lib_una_libuna_utf32_string_size_from_utf7_stream=yes 34403else 34404 ac_cv_lib_una_libuna_utf32_string_size_from_utf7_stream=no 34405fi 34406rm -f core conftest.err conftest.$ac_objext \ 34407 conftest$ac_exeext conftest.$ac_ext 34408LIBS=$ac_check_lib_save_LIBS 34409fi 34410{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_utf7_stream" >&5 34411$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_utf7_stream" >&6; } 34412if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_utf7_stream" = xyes; then : 34413 ac_cv_libuna_dummy=yes 34414else 34415 ac_cv_libuna=no 34416fi 34417 34418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_utf7_stream in -luna" >&5 34419$as_echo_n "checking for libuna_utf32_string_copy_from_utf7_stream in -luna... " >&6; } 34420if ${ac_cv_lib_una_libuna_utf32_string_copy_from_utf7_stream+:} false; then : 34421 $as_echo_n "(cached) " >&6 34422else 34423 ac_check_lib_save_LIBS=$LIBS 34424LIBS="-luna $LIBS" 34425cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34426/* end confdefs.h. */ 34427 34428/* Override any GCC internal prototype to avoid an error. 34429 Use char because int might match the return type of a GCC 34430 builtin and then its argument prototype would still apply. */ 34431#ifdef __cplusplus 34432extern "C" 34433#endif 34434char libuna_utf32_string_copy_from_utf7_stream (); 34435int 34436main () 34437{ 34438return libuna_utf32_string_copy_from_utf7_stream (); 34439 ; 34440 return 0; 34441} 34442_ACEOF 34443if ac_fn_c_try_link "$LINENO"; then : 34444 ac_cv_lib_una_libuna_utf32_string_copy_from_utf7_stream=yes 34445else 34446 ac_cv_lib_una_libuna_utf32_string_copy_from_utf7_stream=no 34447fi 34448rm -f core conftest.err conftest.$ac_objext \ 34449 conftest$ac_exeext conftest.$ac_ext 34450LIBS=$ac_check_lib_save_LIBS 34451fi 34452{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_utf7_stream" >&5 34453$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_utf7_stream" >&6; } 34454if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_utf7_stream" = xyes; then : 34455 ac_cv_libuna_dummy=yes 34456else 34457 ac_cv_libuna=no 34458fi 34459 34460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_with_index_copy_from_utf7_stream in -luna" >&5 34461$as_echo_n "checking for libuna_utf32_string_with_index_copy_from_utf7_stream in -luna... " >&6; } 34462if ${ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf7_stream+:} false; then : 34463 $as_echo_n "(cached) " >&6 34464else 34465 ac_check_lib_save_LIBS=$LIBS 34466LIBS="-luna $LIBS" 34467cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34468/* end confdefs.h. */ 34469 34470/* Override any GCC internal prototype to avoid an error. 34471 Use char because int might match the return type of a GCC 34472 builtin and then its argument prototype would still apply. */ 34473#ifdef __cplusplus 34474extern "C" 34475#endif 34476char libuna_utf32_string_with_index_copy_from_utf7_stream (); 34477int 34478main () 34479{ 34480return libuna_utf32_string_with_index_copy_from_utf7_stream (); 34481 ; 34482 return 0; 34483} 34484_ACEOF 34485if ac_fn_c_try_link "$LINENO"; then : 34486 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf7_stream=yes 34487else 34488 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf7_stream=no 34489fi 34490rm -f core conftest.err conftest.$ac_objext \ 34491 conftest$ac_exeext conftest.$ac_ext 34492LIBS=$ac_check_lib_save_LIBS 34493fi 34494{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf7_stream" >&5 34495$as_echo "$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf7_stream" >&6; } 34496if test "x$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf7_stream" = xyes; then : 34497 ac_cv_libuna_dummy=yes 34498else 34499 ac_cv_libuna=no 34500fi 34501 34502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_utf8_stream in -luna" >&5 34503$as_echo_n "checking for libuna_utf32_string_size_from_utf8_stream in -luna... " >&6; } 34504if ${ac_cv_lib_una_libuna_utf32_string_size_from_utf8_stream+:} false; then : 34505 $as_echo_n "(cached) " >&6 34506else 34507 ac_check_lib_save_LIBS=$LIBS 34508LIBS="-luna $LIBS" 34509cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34510/* end confdefs.h. */ 34511 34512/* Override any GCC internal prototype to avoid an error. 34513 Use char because int might match the return type of a GCC 34514 builtin and then its argument prototype would still apply. */ 34515#ifdef __cplusplus 34516extern "C" 34517#endif 34518char libuna_utf32_string_size_from_utf8_stream (); 34519int 34520main () 34521{ 34522return libuna_utf32_string_size_from_utf8_stream (); 34523 ; 34524 return 0; 34525} 34526_ACEOF 34527if ac_fn_c_try_link "$LINENO"; then : 34528 ac_cv_lib_una_libuna_utf32_string_size_from_utf8_stream=yes 34529else 34530 ac_cv_lib_una_libuna_utf32_string_size_from_utf8_stream=no 34531fi 34532rm -f core conftest.err conftest.$ac_objext \ 34533 conftest$ac_exeext conftest.$ac_ext 34534LIBS=$ac_check_lib_save_LIBS 34535fi 34536{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_utf8_stream" >&5 34537$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_utf8_stream" >&6; } 34538if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_utf8_stream" = xyes; then : 34539 ac_cv_libuna_dummy=yes 34540else 34541 ac_cv_libuna=no 34542fi 34543 34544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_utf8_stream in -luna" >&5 34545$as_echo_n "checking for libuna_utf32_string_copy_from_utf8_stream in -luna... " >&6; } 34546if ${ac_cv_lib_una_libuna_utf32_string_copy_from_utf8_stream+:} false; then : 34547 $as_echo_n "(cached) " >&6 34548else 34549 ac_check_lib_save_LIBS=$LIBS 34550LIBS="-luna $LIBS" 34551cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34552/* end confdefs.h. */ 34553 34554/* Override any GCC internal prototype to avoid an error. 34555 Use char because int might match the return type of a GCC 34556 builtin and then its argument prototype would still apply. */ 34557#ifdef __cplusplus 34558extern "C" 34559#endif 34560char libuna_utf32_string_copy_from_utf8_stream (); 34561int 34562main () 34563{ 34564return libuna_utf32_string_copy_from_utf8_stream (); 34565 ; 34566 return 0; 34567} 34568_ACEOF 34569if ac_fn_c_try_link "$LINENO"; then : 34570 ac_cv_lib_una_libuna_utf32_string_copy_from_utf8_stream=yes 34571else 34572 ac_cv_lib_una_libuna_utf32_string_copy_from_utf8_stream=no 34573fi 34574rm -f core conftest.err conftest.$ac_objext \ 34575 conftest$ac_exeext conftest.$ac_ext 34576LIBS=$ac_check_lib_save_LIBS 34577fi 34578{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_utf8_stream" >&5 34579$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_utf8_stream" >&6; } 34580if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_utf8_stream" = xyes; then : 34581 ac_cv_libuna_dummy=yes 34582else 34583 ac_cv_libuna=no 34584fi 34585 34586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_with_index_copy_from_utf8_stream in -luna" >&5 34587$as_echo_n "checking for libuna_utf32_string_with_index_copy_from_utf8_stream in -luna... " >&6; } 34588if ${ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf8_stream+:} false; then : 34589 $as_echo_n "(cached) " >&6 34590else 34591 ac_check_lib_save_LIBS=$LIBS 34592LIBS="-luna $LIBS" 34593cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34594/* end confdefs.h. */ 34595 34596/* Override any GCC internal prototype to avoid an error. 34597 Use char because int might match the return type of a GCC 34598 builtin and then its argument prototype would still apply. */ 34599#ifdef __cplusplus 34600extern "C" 34601#endif 34602char libuna_utf32_string_with_index_copy_from_utf8_stream (); 34603int 34604main () 34605{ 34606return libuna_utf32_string_with_index_copy_from_utf8_stream (); 34607 ; 34608 return 0; 34609} 34610_ACEOF 34611if ac_fn_c_try_link "$LINENO"; then : 34612 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf8_stream=yes 34613else 34614 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf8_stream=no 34615fi 34616rm -f core conftest.err conftest.$ac_objext \ 34617 conftest$ac_exeext conftest.$ac_ext 34618LIBS=$ac_check_lib_save_LIBS 34619fi 34620{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf8_stream" >&5 34621$as_echo "$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf8_stream" >&6; } 34622if test "x$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf8_stream" = xyes; then : 34623 ac_cv_libuna_dummy=yes 34624else 34625 ac_cv_libuna=no 34626fi 34627 34628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_utf16_stream in -luna" >&5 34629$as_echo_n "checking for libuna_utf32_string_size_from_utf16_stream in -luna... " >&6; } 34630if ${ac_cv_lib_una_libuna_utf32_string_size_from_utf16_stream+:} false; then : 34631 $as_echo_n "(cached) " >&6 34632else 34633 ac_check_lib_save_LIBS=$LIBS 34634LIBS="-luna $LIBS" 34635cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34636/* end confdefs.h. */ 34637 34638/* Override any GCC internal prototype to avoid an error. 34639 Use char because int might match the return type of a GCC 34640 builtin and then its argument prototype would still apply. */ 34641#ifdef __cplusplus 34642extern "C" 34643#endif 34644char libuna_utf32_string_size_from_utf16_stream (); 34645int 34646main () 34647{ 34648return libuna_utf32_string_size_from_utf16_stream (); 34649 ; 34650 return 0; 34651} 34652_ACEOF 34653if ac_fn_c_try_link "$LINENO"; then : 34654 ac_cv_lib_una_libuna_utf32_string_size_from_utf16_stream=yes 34655else 34656 ac_cv_lib_una_libuna_utf32_string_size_from_utf16_stream=no 34657fi 34658rm -f core conftest.err conftest.$ac_objext \ 34659 conftest$ac_exeext conftest.$ac_ext 34660LIBS=$ac_check_lib_save_LIBS 34661fi 34662{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_utf16_stream" >&5 34663$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_utf16_stream" >&6; } 34664if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_utf16_stream" = xyes; then : 34665 ac_cv_libuna_dummy=yes 34666else 34667 ac_cv_libuna=no 34668fi 34669 34670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_utf16_stream in -luna" >&5 34671$as_echo_n "checking for libuna_utf32_string_copy_from_utf16_stream in -luna... " >&6; } 34672if ${ac_cv_lib_una_libuna_utf32_string_copy_from_utf16_stream+:} false; then : 34673 $as_echo_n "(cached) " >&6 34674else 34675 ac_check_lib_save_LIBS=$LIBS 34676LIBS="-luna $LIBS" 34677cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34678/* end confdefs.h. */ 34679 34680/* Override any GCC internal prototype to avoid an error. 34681 Use char because int might match the return type of a GCC 34682 builtin and then its argument prototype would still apply. */ 34683#ifdef __cplusplus 34684extern "C" 34685#endif 34686char libuna_utf32_string_copy_from_utf16_stream (); 34687int 34688main () 34689{ 34690return libuna_utf32_string_copy_from_utf16_stream (); 34691 ; 34692 return 0; 34693} 34694_ACEOF 34695if ac_fn_c_try_link "$LINENO"; then : 34696 ac_cv_lib_una_libuna_utf32_string_copy_from_utf16_stream=yes 34697else 34698 ac_cv_lib_una_libuna_utf32_string_copy_from_utf16_stream=no 34699fi 34700rm -f core conftest.err conftest.$ac_objext \ 34701 conftest$ac_exeext conftest.$ac_ext 34702LIBS=$ac_check_lib_save_LIBS 34703fi 34704{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_utf16_stream" >&5 34705$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_utf16_stream" >&6; } 34706if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_utf16_stream" = xyes; then : 34707 ac_cv_libuna_dummy=yes 34708else 34709 ac_cv_libuna=no 34710fi 34711 34712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_with_index_copy_from_utf16_stream in -luna" >&5 34713$as_echo_n "checking for libuna_utf32_string_with_index_copy_from_utf16_stream in -luna... " >&6; } 34714if ${ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16_stream+:} false; then : 34715 $as_echo_n "(cached) " >&6 34716else 34717 ac_check_lib_save_LIBS=$LIBS 34718LIBS="-luna $LIBS" 34719cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34720/* end confdefs.h. */ 34721 34722/* Override any GCC internal prototype to avoid an error. 34723 Use char because int might match the return type of a GCC 34724 builtin and then its argument prototype would still apply. */ 34725#ifdef __cplusplus 34726extern "C" 34727#endif 34728char libuna_utf32_string_with_index_copy_from_utf16_stream (); 34729int 34730main () 34731{ 34732return libuna_utf32_string_with_index_copy_from_utf16_stream (); 34733 ; 34734 return 0; 34735} 34736_ACEOF 34737if ac_fn_c_try_link "$LINENO"; then : 34738 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16_stream=yes 34739else 34740 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16_stream=no 34741fi 34742rm -f core conftest.err conftest.$ac_objext \ 34743 conftest$ac_exeext conftest.$ac_ext 34744LIBS=$ac_check_lib_save_LIBS 34745fi 34746{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16_stream" >&5 34747$as_echo "$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16_stream" >&6; } 34748if test "x$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16_stream" = xyes; then : 34749 ac_cv_libuna_dummy=yes 34750else 34751 ac_cv_libuna=no 34752fi 34753 34754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_utf32_stream in -luna" >&5 34755$as_echo_n "checking for libuna_utf32_string_size_from_utf32_stream in -luna... " >&6; } 34756if ${ac_cv_lib_una_libuna_utf32_string_size_from_utf32_stream+:} false; then : 34757 $as_echo_n "(cached) " >&6 34758else 34759 ac_check_lib_save_LIBS=$LIBS 34760LIBS="-luna $LIBS" 34761cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34762/* end confdefs.h. */ 34763 34764/* Override any GCC internal prototype to avoid an error. 34765 Use char because int might match the return type of a GCC 34766 builtin and then its argument prototype would still apply. */ 34767#ifdef __cplusplus 34768extern "C" 34769#endif 34770char libuna_utf32_string_size_from_utf32_stream (); 34771int 34772main () 34773{ 34774return libuna_utf32_string_size_from_utf32_stream (); 34775 ; 34776 return 0; 34777} 34778_ACEOF 34779if ac_fn_c_try_link "$LINENO"; then : 34780 ac_cv_lib_una_libuna_utf32_string_size_from_utf32_stream=yes 34781else 34782 ac_cv_lib_una_libuna_utf32_string_size_from_utf32_stream=no 34783fi 34784rm -f core conftest.err conftest.$ac_objext \ 34785 conftest$ac_exeext conftest.$ac_ext 34786LIBS=$ac_check_lib_save_LIBS 34787fi 34788{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_utf32_stream" >&5 34789$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_utf32_stream" >&6; } 34790if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_utf32_stream" = xyes; then : 34791 ac_cv_libuna_dummy=yes 34792else 34793 ac_cv_libuna=no 34794fi 34795 34796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_utf32_stream in -luna" >&5 34797$as_echo_n "checking for libuna_utf32_string_copy_from_utf32_stream in -luna... " >&6; } 34798if ${ac_cv_lib_una_libuna_utf32_string_copy_from_utf32_stream+:} false; then : 34799 $as_echo_n "(cached) " >&6 34800else 34801 ac_check_lib_save_LIBS=$LIBS 34802LIBS="-luna $LIBS" 34803cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34804/* end confdefs.h. */ 34805 34806/* Override any GCC internal prototype to avoid an error. 34807 Use char because int might match the return type of a GCC 34808 builtin and then its argument prototype would still apply. */ 34809#ifdef __cplusplus 34810extern "C" 34811#endif 34812char libuna_utf32_string_copy_from_utf32_stream (); 34813int 34814main () 34815{ 34816return libuna_utf32_string_copy_from_utf32_stream (); 34817 ; 34818 return 0; 34819} 34820_ACEOF 34821if ac_fn_c_try_link "$LINENO"; then : 34822 ac_cv_lib_una_libuna_utf32_string_copy_from_utf32_stream=yes 34823else 34824 ac_cv_lib_una_libuna_utf32_string_copy_from_utf32_stream=no 34825fi 34826rm -f core conftest.err conftest.$ac_objext \ 34827 conftest$ac_exeext conftest.$ac_ext 34828LIBS=$ac_check_lib_save_LIBS 34829fi 34830{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_utf32_stream" >&5 34831$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_utf32_stream" >&6; } 34832if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_utf32_stream" = xyes; then : 34833 ac_cv_libuna_dummy=yes 34834else 34835 ac_cv_libuna=no 34836fi 34837 34838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_with_index_copy_from_utf32_stream in -luna" >&5 34839$as_echo_n "checking for libuna_utf32_string_with_index_copy_from_utf32_stream in -luna... " >&6; } 34840if ${ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf32_stream+:} false; then : 34841 $as_echo_n "(cached) " >&6 34842else 34843 ac_check_lib_save_LIBS=$LIBS 34844LIBS="-luna $LIBS" 34845cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34846/* end confdefs.h. */ 34847 34848/* Override any GCC internal prototype to avoid an error. 34849 Use char because int might match the return type of a GCC 34850 builtin and then its argument prototype would still apply. */ 34851#ifdef __cplusplus 34852extern "C" 34853#endif 34854char libuna_utf32_string_with_index_copy_from_utf32_stream (); 34855int 34856main () 34857{ 34858return libuna_utf32_string_with_index_copy_from_utf32_stream (); 34859 ; 34860 return 0; 34861} 34862_ACEOF 34863if ac_fn_c_try_link "$LINENO"; then : 34864 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf32_stream=yes 34865else 34866 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf32_stream=no 34867fi 34868rm -f core conftest.err conftest.$ac_objext \ 34869 conftest$ac_exeext conftest.$ac_ext 34870LIBS=$ac_check_lib_save_LIBS 34871fi 34872{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf32_stream" >&5 34873$as_echo "$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf32_stream" >&6; } 34874if test "x$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf32_stream" = xyes; then : 34875 ac_cv_libuna_dummy=yes 34876else 34877 ac_cv_libuna=no 34878fi 34879 34880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_utf8 in -luna" >&5 34881$as_echo_n "checking for libuna_utf32_string_size_from_utf8 in -luna... " >&6; } 34882if ${ac_cv_lib_una_libuna_utf32_string_size_from_utf8+:} false; then : 34883 $as_echo_n "(cached) " >&6 34884else 34885 ac_check_lib_save_LIBS=$LIBS 34886LIBS="-luna $LIBS" 34887cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34888/* end confdefs.h. */ 34889 34890/* Override any GCC internal prototype to avoid an error. 34891 Use char because int might match the return type of a GCC 34892 builtin and then its argument prototype would still apply. */ 34893#ifdef __cplusplus 34894extern "C" 34895#endif 34896char libuna_utf32_string_size_from_utf8 (); 34897int 34898main () 34899{ 34900return libuna_utf32_string_size_from_utf8 (); 34901 ; 34902 return 0; 34903} 34904_ACEOF 34905if ac_fn_c_try_link "$LINENO"; then : 34906 ac_cv_lib_una_libuna_utf32_string_size_from_utf8=yes 34907else 34908 ac_cv_lib_una_libuna_utf32_string_size_from_utf8=no 34909fi 34910rm -f core conftest.err conftest.$ac_objext \ 34911 conftest$ac_exeext conftest.$ac_ext 34912LIBS=$ac_check_lib_save_LIBS 34913fi 34914{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_utf8" >&5 34915$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_utf8" >&6; } 34916if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_utf8" = xyes; then : 34917 ac_cv_libuna_dummy=yes 34918else 34919 ac_cv_libuna=no 34920fi 34921 34922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_utf8 in -luna" >&5 34923$as_echo_n "checking for libuna_utf32_string_copy_from_utf8 in -luna... " >&6; } 34924if ${ac_cv_lib_una_libuna_utf32_string_copy_from_utf8+:} false; then : 34925 $as_echo_n "(cached) " >&6 34926else 34927 ac_check_lib_save_LIBS=$LIBS 34928LIBS="-luna $LIBS" 34929cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34930/* end confdefs.h. */ 34931 34932/* Override any GCC internal prototype to avoid an error. 34933 Use char because int might match the return type of a GCC 34934 builtin and then its argument prototype would still apply. */ 34935#ifdef __cplusplus 34936extern "C" 34937#endif 34938char libuna_utf32_string_copy_from_utf8 (); 34939int 34940main () 34941{ 34942return libuna_utf32_string_copy_from_utf8 (); 34943 ; 34944 return 0; 34945} 34946_ACEOF 34947if ac_fn_c_try_link "$LINENO"; then : 34948 ac_cv_lib_una_libuna_utf32_string_copy_from_utf8=yes 34949else 34950 ac_cv_lib_una_libuna_utf32_string_copy_from_utf8=no 34951fi 34952rm -f core conftest.err conftest.$ac_objext \ 34953 conftest$ac_exeext conftest.$ac_ext 34954LIBS=$ac_check_lib_save_LIBS 34955fi 34956{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_utf8" >&5 34957$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_utf8" >&6; } 34958if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_utf8" = xyes; then : 34959 ac_cv_libuna_dummy=yes 34960else 34961 ac_cv_libuna=no 34962fi 34963 34964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ac_cv_libuna_dummy=yes in -llibuna_utf32_string_with_index_copy_from_utf8" >&5 34965$as_echo_n "checking for ac_cv_libuna_dummy=yes in -llibuna_utf32_string_with_index_copy_from_utf8... " >&6; } 34966if ${ac_cv_lib_libuna_utf32_string_with_index_copy_from_utf8_ac_cv_libuna_dummy_yes+:} false; then : 34967 $as_echo_n "(cached) " >&6 34968else 34969 ac_check_lib_save_LIBS=$LIBS 34970LIBS="-llibuna_utf32_string_with_index_copy_from_utf8 $LIBS" 34971cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34972/* end confdefs.h. */ 34973 34974/* Override any GCC internal prototype to avoid an error. 34975 Use char because int might match the return type of a GCC 34976 builtin and then its argument prototype would still apply. */ 34977#ifdef __cplusplus 34978extern "C" 34979#endif 34980char ac_cv_libuna_dummy=yes (); 34981int 34982main () 34983{ 34984return ac_cv_libuna_dummy=yes (); 34985 ; 34986 return 0; 34987} 34988_ACEOF 34989if ac_fn_c_try_link "$LINENO"; then : 34990 ac_cv_lib_libuna_utf32_string_with_index_copy_from_utf8_ac_cv_libuna_dummy_yes=yes 34991else 34992 ac_cv_lib_libuna_utf32_string_with_index_copy_from_utf8_ac_cv_libuna_dummy_yes=no 34993fi 34994rm -f core conftest.err conftest.$ac_objext \ 34995 conftest$ac_exeext conftest.$ac_ext 34996LIBS=$ac_check_lib_save_LIBS 34997fi 34998{ $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 34999$as_echo "$ac_cv_lib_libuna_utf32_string_with_index_copy_from_utf8_ac_cv_libuna_dummy_yes" >&6; } 35000if test "x$ac_cv_lib_libuna_utf32_string_with_index_copy_from_utf8_ac_cv_libuna_dummy_yes" = xyes; then : 35001 ac_cv_libuna=no 35002fi 35003 35004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_utf16 in -luna" >&5 35005$as_echo_n "checking for libuna_utf32_string_size_from_utf16 in -luna... " >&6; } 35006if ${ac_cv_lib_una_libuna_utf32_string_size_from_utf16+:} false; then : 35007 $as_echo_n "(cached) " >&6 35008else 35009 ac_check_lib_save_LIBS=$LIBS 35010LIBS="-luna $LIBS" 35011cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35012/* end confdefs.h. */ 35013 35014/* Override any GCC internal prototype to avoid an error. 35015 Use char because int might match the return type of a GCC 35016 builtin and then its argument prototype would still apply. */ 35017#ifdef __cplusplus 35018extern "C" 35019#endif 35020char libuna_utf32_string_size_from_utf16 (); 35021int 35022main () 35023{ 35024return libuna_utf32_string_size_from_utf16 (); 35025 ; 35026 return 0; 35027} 35028_ACEOF 35029if ac_fn_c_try_link "$LINENO"; then : 35030 ac_cv_lib_una_libuna_utf32_string_size_from_utf16=yes 35031else 35032 ac_cv_lib_una_libuna_utf32_string_size_from_utf16=no 35033fi 35034rm -f core conftest.err conftest.$ac_objext \ 35035 conftest$ac_exeext conftest.$ac_ext 35036LIBS=$ac_check_lib_save_LIBS 35037fi 35038{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_utf16" >&5 35039$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_utf16" >&6; } 35040if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_utf16" = xyes; then : 35041 ac_cv_libuna_dummy=yes 35042else 35043 ac_cv_libuna=no 35044fi 35045 35046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_utf16 in -luna" >&5 35047$as_echo_n "checking for libuna_utf32_string_copy_from_utf16 in -luna... " >&6; } 35048if ${ac_cv_lib_una_libuna_utf32_string_copy_from_utf16+:} false; then : 35049 $as_echo_n "(cached) " >&6 35050else 35051 ac_check_lib_save_LIBS=$LIBS 35052LIBS="-luna $LIBS" 35053cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35054/* end confdefs.h. */ 35055 35056/* Override any GCC internal prototype to avoid an error. 35057 Use char because int might match the return type of a GCC 35058 builtin and then its argument prototype would still apply. */ 35059#ifdef __cplusplus 35060extern "C" 35061#endif 35062char libuna_utf32_string_copy_from_utf16 (); 35063int 35064main () 35065{ 35066return libuna_utf32_string_copy_from_utf16 (); 35067 ; 35068 return 0; 35069} 35070_ACEOF 35071if ac_fn_c_try_link "$LINENO"; then : 35072 ac_cv_lib_una_libuna_utf32_string_copy_from_utf16=yes 35073else 35074 ac_cv_lib_una_libuna_utf32_string_copy_from_utf16=no 35075fi 35076rm -f core conftest.err conftest.$ac_objext \ 35077 conftest$ac_exeext conftest.$ac_ext 35078LIBS=$ac_check_lib_save_LIBS 35079fi 35080{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_utf16" >&5 35081$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_utf16" >&6; } 35082if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_utf16" = xyes; then : 35083 ac_cv_libuna_dummy=yes 35084else 35085 ac_cv_libuna=no 35086fi 35087 35088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_with_index_copy_from_utf16 in -luna" >&5 35089$as_echo_n "checking for libuna_utf32_string_with_index_copy_from_utf16 in -luna... " >&6; } 35090if ${ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16+:} false; then : 35091 $as_echo_n "(cached) " >&6 35092else 35093 ac_check_lib_save_LIBS=$LIBS 35094LIBS="-luna $LIBS" 35095cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35096/* end confdefs.h. */ 35097 35098/* Override any GCC internal prototype to avoid an error. 35099 Use char because int might match the return type of a GCC 35100 builtin and then its argument prototype would still apply. */ 35101#ifdef __cplusplus 35102extern "C" 35103#endif 35104char libuna_utf32_string_with_index_copy_from_utf16 (); 35105int 35106main () 35107{ 35108return libuna_utf32_string_with_index_copy_from_utf16 (); 35109 ; 35110 return 0; 35111} 35112_ACEOF 35113if ac_fn_c_try_link "$LINENO"; then : 35114 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16=yes 35115else 35116 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16=no 35117fi 35118rm -f core conftest.err conftest.$ac_objext \ 35119 conftest$ac_exeext conftest.$ac_ext 35120LIBS=$ac_check_lib_save_LIBS 35121fi 35122{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16" >&5 35123$as_echo "$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16" >&6; } 35124if test "x$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16" = xyes; then : 35125 ac_cv_libuna_dummy=yes 35126else 35127 ac_cv_libuna=no 35128fi 35129 35130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_scsu_stream in -luna" >&5 35131$as_echo_n "checking for libuna_utf32_string_size_from_scsu_stream in -luna... " >&6; } 35132if ${ac_cv_lib_una_libuna_utf32_string_size_from_scsu_stream+:} false; then : 35133 $as_echo_n "(cached) " >&6 35134else 35135 ac_check_lib_save_LIBS=$LIBS 35136LIBS="-luna $LIBS" 35137cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35138/* end confdefs.h. */ 35139 35140/* Override any GCC internal prototype to avoid an error. 35141 Use char because int might match the return type of a GCC 35142 builtin and then its argument prototype would still apply. */ 35143#ifdef __cplusplus 35144extern "C" 35145#endif 35146char libuna_utf32_string_size_from_scsu_stream (); 35147int 35148main () 35149{ 35150return libuna_utf32_string_size_from_scsu_stream (); 35151 ; 35152 return 0; 35153} 35154_ACEOF 35155if ac_fn_c_try_link "$LINENO"; then : 35156 ac_cv_lib_una_libuna_utf32_string_size_from_scsu_stream=yes 35157else 35158 ac_cv_lib_una_libuna_utf32_string_size_from_scsu_stream=no 35159fi 35160rm -f core conftest.err conftest.$ac_objext \ 35161 conftest$ac_exeext conftest.$ac_ext 35162LIBS=$ac_check_lib_save_LIBS 35163fi 35164{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_scsu_stream" >&5 35165$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_scsu_stream" >&6; } 35166if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_scsu_stream" = xyes; then : 35167 ac_cv_libuna_dummy=yes 35168else 35169 ac_cv_libuna=no 35170fi 35171 35172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_scsu_stream in -luna" >&5 35173$as_echo_n "checking for libuna_utf32_string_copy_from_scsu_stream in -luna... " >&6; } 35174if ${ac_cv_lib_una_libuna_utf32_string_copy_from_scsu_stream+:} false; then : 35175 $as_echo_n "(cached) " >&6 35176else 35177 ac_check_lib_save_LIBS=$LIBS 35178LIBS="-luna $LIBS" 35179cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35180/* end confdefs.h. */ 35181 35182/* Override any GCC internal prototype to avoid an error. 35183 Use char because int might match the return type of a GCC 35184 builtin and then its argument prototype would still apply. */ 35185#ifdef __cplusplus 35186extern "C" 35187#endif 35188char libuna_utf32_string_copy_from_scsu_stream (); 35189int 35190main () 35191{ 35192return libuna_utf32_string_copy_from_scsu_stream (); 35193 ; 35194 return 0; 35195} 35196_ACEOF 35197if ac_fn_c_try_link "$LINENO"; then : 35198 ac_cv_lib_una_libuna_utf32_string_copy_from_scsu_stream=yes 35199else 35200 ac_cv_lib_una_libuna_utf32_string_copy_from_scsu_stream=no 35201fi 35202rm -f core conftest.err conftest.$ac_objext \ 35203 conftest$ac_exeext conftest.$ac_ext 35204LIBS=$ac_check_lib_save_LIBS 35205fi 35206{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_scsu_stream" >&5 35207$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_scsu_stream" >&6; } 35208if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_scsu_stream" = xyes; then : 35209 ac_cv_libuna_dummy=yes 35210else 35211 ac_cv_libuna=no 35212fi 35213 35214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_with_index_copy_from_scsu_stream in -luna" >&5 35215$as_echo_n "checking for libuna_utf32_string_with_index_copy_from_scsu_stream in -luna... " >&6; } 35216if ${ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_scsu_stream+:} false; then : 35217 $as_echo_n "(cached) " >&6 35218else 35219 ac_check_lib_save_LIBS=$LIBS 35220LIBS="-luna $LIBS" 35221cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35222/* end confdefs.h. */ 35223 35224/* Override any GCC internal prototype to avoid an error. 35225 Use char because int might match the return type of a GCC 35226 builtin and then its argument prototype would still apply. */ 35227#ifdef __cplusplus 35228extern "C" 35229#endif 35230char libuna_utf32_string_with_index_copy_from_scsu_stream (); 35231int 35232main () 35233{ 35234return libuna_utf32_string_with_index_copy_from_scsu_stream (); 35235 ; 35236 return 0; 35237} 35238_ACEOF 35239if ac_fn_c_try_link "$LINENO"; then : 35240 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_scsu_stream=yes 35241else 35242 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_scsu_stream=no 35243fi 35244rm -f core conftest.err conftest.$ac_objext \ 35245 conftest$ac_exeext conftest.$ac_ext 35246LIBS=$ac_check_lib_save_LIBS 35247fi 35248{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_scsu_stream" >&5 35249$as_echo "$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_scsu_stream" >&6; } 35250if test "x$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_scsu_stream" = xyes; then : 35251 ac_cv_libuna_dummy=yes 35252else 35253 ac_cv_libuna=no 35254fi 35255 35256 35257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if \`LIBUNA_COMPARE_LESS' is defined" >&5 35258$as_echo_n "checking if \`LIBUNA_COMPARE_LESS' is defined... " >&6; } 35259if ${ac_cv_libuna_defines_compare_less+:} false; then : 35260 $as_echo_n "(cached) " >&6 35261else 35262 ac_ext=c 35263ac_cpp='$CPP $CPPFLAGS' 35264ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 35265ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 35266ac_compiler_gnu=$ac_cv_c_compiler_gnu 35267 35268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35269/* end confdefs.h. */ 35270#include <libuna.h> 35271int 35272main () 35273{ 35274int test = LIBUNA_COMPARE_LESS; 35275 35276return( 0 ); 35277 ; 35278 return 0; 35279} 35280_ACEOF 35281if ac_fn_c_try_link "$LINENO"; then : 35282 ac_cv_libuna_defines_compare_less=yes 35283else 35284 ac_cv_libuna_defines_compare_less=no 35285fi 35286rm -f core conftest.err conftest.$ac_objext \ 35287 conftest$ac_exeext conftest.$ac_ext 35288 ac_ext=c 35289ac_cpp='$CPP $CPPFLAGS' 35290ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 35291ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 35292ac_compiler_gnu=$ac_cv_c_compiler_gnu 35293 35294fi 35295{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libuna_defines_compare_less" >&5 35296$as_echo "$ac_cv_libuna_defines_compare_less" >&6; } 35297 35298 if test "x$ac_cv_libuna_defines_compare_less" != xyes; then : 35299 ac_cv_libuna=no 35300fi 35301 35302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if \`LIBUNA_COMPARE_EQUAL' is defined" >&5 35303$as_echo_n "checking if \`LIBUNA_COMPARE_EQUAL' is defined... " >&6; } 35304if ${ac_cv_libuna_defines_compare_equal+:} false; then : 35305 $as_echo_n "(cached) " >&6 35306else 35307 ac_ext=c 35308ac_cpp='$CPP $CPPFLAGS' 35309ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 35310ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 35311ac_compiler_gnu=$ac_cv_c_compiler_gnu 35312 35313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35314/* end confdefs.h. */ 35315#include <libuna.h> 35316int 35317main () 35318{ 35319int test = LIBUNA_COMPARE_EQUAL; 35320 35321return( 0 ); 35322 ; 35323 return 0; 35324} 35325_ACEOF 35326if ac_fn_c_try_link "$LINENO"; then : 35327 ac_cv_libuna_defines_compare_equal=yes 35328else 35329 ac_cv_libuna_defines_compare_equal=no 35330fi 35331rm -f core conftest.err conftest.$ac_objext \ 35332 conftest$ac_exeext conftest.$ac_ext 35333 ac_ext=c 35334ac_cpp='$CPP $CPPFLAGS' 35335ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 35336ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 35337ac_compiler_gnu=$ac_cv_c_compiler_gnu 35338 35339fi 35340{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libuna_defines_compare_equal" >&5 35341$as_echo "$ac_cv_libuna_defines_compare_equal" >&6; } 35342 35343 if test "x$ac_cv_libuna_defines_compare_less" != xyes; then : 35344 ac_cv_libuna=no 35345fi 35346 35347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if \`LIBUNA_COMPARE_GREATER' is defined" >&5 35348$as_echo_n "checking if \`LIBUNA_COMPARE_GREATER' is defined... " >&6; } 35349if ${ac_cv_libuna_defines_compare_greater+:} false; then : 35350 $as_echo_n "(cached) " >&6 35351else 35352 ac_ext=c 35353ac_cpp='$CPP $CPPFLAGS' 35354ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 35355ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 35356ac_compiler_gnu=$ac_cv_c_compiler_gnu 35357 35358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35359/* end confdefs.h. */ 35360#include <libuna.h> 35361int 35362main () 35363{ 35364int test = LIBUNA_COMPARE_GREATER; 35365 35366return( 0 ); 35367 ; 35368 return 0; 35369} 35370_ACEOF 35371if ac_fn_c_try_link "$LINENO"; then : 35372 ac_cv_libuna_defines_compare_greater=yes 35373else 35374 ac_cv_libuna_defines_compare_greater=no 35375fi 35376rm -f core conftest.err conftest.$ac_objext \ 35377 conftest$ac_exeext conftest.$ac_ext 35378 ac_ext=c 35379ac_cpp='$CPP $CPPFLAGS' 35380ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 35381ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 35382ac_compiler_gnu=$ac_cv_c_compiler_gnu 35383 35384fi 35385{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libuna_defines_compare_greater" >&5 35386$as_echo "$ac_cv_libuna_defines_compare_greater" >&6; } 35387 35388 if test "x$ac_cv_libuna_defines_compare_less" != xyes; then : 35389 ac_cv_libuna=no 35390fi 35391 35392 ac_cv_libuna_LIBADD="-luna" 35393fi 35394 35395fi 35396 if test "x$ac_cv_with_libuna" != x && test "x$ac_cv_with_libuna" != xauto-detect && test "x$ac_cv_libuna" != xyes; then : 35397 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 35398$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 35399as_fn_error 1 "unable to find supported libuna in directory: $ac_cv_with_libuna 35400See \`config.log' for more details" "$LINENO" 5; } 35401 35402fi 35403 35404fi 35405 35406 if test "x$ac_cv_libuna" = xyes; then : 35407 35408$as_echo "#define HAVE_LIBUNA 1" >>confdefs.h 35409 35410 35411fi 35412 35413 if test "x$ac_cv_libuna" = xyes; then : 35414 HAVE_LIBUNA=1 35415 35416else 35417 HAVE_LIBUNA=0 35418 35419 35420fi 35421 35422 35423 if test "x$ac_cv_libuna" != xyes; then : 35424 35425 ac_cv_libuna_CPPFLAGS="-I../libuna"; 35426 ac_cv_libuna_LIBADD="../libuna/libuna.la"; 35427 35428 ac_cv_libuna=local 35429 35430 35431 35432$as_echo "#define HAVE_LOCAL_LIBUNA 1" >>confdefs.h 35433 35434 HAVE_LOCAL_LIBUNA=1 35435 35436 35437fi 35438 35439 if test "x$ac_cv_libuna" = xlocal; then 35440 HAVE_LOCAL_LIBUNA_TRUE= 35441 HAVE_LOCAL_LIBUNA_FALSE='#' 35442else 35443 HAVE_LOCAL_LIBUNA_TRUE='#' 35444 HAVE_LOCAL_LIBUNA_FALSE= 35445fi 35446 35447 if test "x$ac_cv_libuna_CPPFLAGS" != "x"; then : 35448 LIBUNA_CPPFLAGS=$ac_cv_libuna_CPPFLAGS 35449 35450 35451fi 35452 if test "x$ac_cv_libuna_LIBADD" != "x"; then : 35453 LIBUNA_LIBADD=$ac_cv_libuna_LIBADD 35454 35455 35456fi 35457 35458 if test "x$ac_cv_libuna" = xyes; then : 35459 ax_libuna_pc_libs_private=-luna 35460 35461 35462fi 35463 35464 if test "x$ac_cv_libuna" = xyes; then : 35465 ax_libuna_spec_requires=libuna 35466 35467 ax_libuna_spec_build_requires=libuna-devel 35468 35469 35470fi 35471 35472 35473 35474 35475# Check whether --with-libcfile was given. 35476if test "${with_libcfile+set}" = set; then : 35477 withval=$with_libcfile; ac_cv_with_libcfile=$withval 35478else 35479 ac_cv_with_libcfile=auto-detect 35480fi 35481 35482 { $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 35483$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; } 35484if ${ac_cv_with_libcfile+:} false; then : 35485 $as_echo_n "(cached) " >&6 35486else 35487 ac_cv_with_libcfile=auto-detect 35488fi 35489{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libcfile" >&5 35490$as_echo "$ac_cv_with_libcfile" >&6; } 35491 35492 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libcfile" = xno; then : 35493 ac_cv_libcfile=no 35494else 35495 ac_cv_libcfile=check 35496 if test "x$ac_cv_with_libcfile" != x && test "x$ac_cv_with_libcfile" != xauto-detect; then : 35497 if test -d "$ac_cv_with_libcfile"; then : 35498 CFLAGS="$CFLAGS -I${ac_cv_with_libcfile}/include" 35499 LDFLAGS="$LDFLAGS -L${ac_cv_with_libcfile}/lib" 35500else 35501 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 35502$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 35503as_fn_error 1 "no such directory: $ac_cv_with_libcfile 35504See \`config.log' for more details" "$LINENO" 5; } 35505 35506fi 35507 35508else 35509 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 35510 35511pkg_failed=no 35512{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile" >&5 35513$as_echo_n "checking for libcfile... " >&6; } 35514 35515if test -n "$libcfile_CFLAGS"; then 35516 pkg_cv_libcfile_CFLAGS="$libcfile_CFLAGS" 35517 elif test -n "$PKG_CONFIG"; then 35518 if test -n "$PKG_CONFIG" && \ 35519 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcfile >= 20160409\""; } >&5 35520 ($PKG_CONFIG --exists --print-errors "libcfile >= 20160409") 2>&5 35521 ac_status=$? 35522 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 35523 test $ac_status = 0; }; then 35524 pkg_cv_libcfile_CFLAGS=`$PKG_CONFIG --cflags "libcfile >= 20160409" 2>/dev/null` 35525 test "x$?" != "x0" && pkg_failed=yes 35526else 35527 pkg_failed=yes 35528fi 35529 else 35530 pkg_failed=untried 35531fi 35532if test -n "$libcfile_LIBS"; then 35533 pkg_cv_libcfile_LIBS="$libcfile_LIBS" 35534 elif test -n "$PKG_CONFIG"; then 35535 if test -n "$PKG_CONFIG" && \ 35536 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcfile >= 20160409\""; } >&5 35537 ($PKG_CONFIG --exists --print-errors "libcfile >= 20160409") 2>&5 35538 ac_status=$? 35539 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 35540 test $ac_status = 0; }; then 35541 pkg_cv_libcfile_LIBS=`$PKG_CONFIG --libs "libcfile >= 20160409" 2>/dev/null` 35542 test "x$?" != "x0" && pkg_failed=yes 35543else 35544 pkg_failed=yes 35545fi 35546 else 35547 pkg_failed=untried 35548fi 35549 35550 35551 35552if test $pkg_failed = yes; then 35553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 35554$as_echo "no" >&6; } 35555 35556if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 35557 _pkg_short_errors_supported=yes 35558else 35559 _pkg_short_errors_supported=no 35560fi 35561 if test $_pkg_short_errors_supported = yes; then 35562 libcfile_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcfile >= 20160409" 2>&1` 35563 else 35564 libcfile_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcfile >= 20160409" 2>&1` 35565 fi 35566 # Put the nasty error message in config.log where it belongs 35567 echo "$libcfile_PKG_ERRORS" >&5 35568 35569 ac_cv_libcfile=check 35570elif test $pkg_failed = untried; then 35571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 35572$as_echo "no" >&6; } 35573 ac_cv_libcfile=check 35574else 35575 libcfile_CFLAGS=$pkg_cv_libcfile_CFLAGS 35576 libcfile_LIBS=$pkg_cv_libcfile_LIBS 35577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 35578$as_echo "yes" >&6; } 35579 ac_cv_libcfile=yes 35580fi 35581 35582fi 35583 if test "x$ac_cv_libcfile" = xyes && test "x$ac_cv_enable_wide_character_type" != xno; then : 35584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libcfile/features.h defines LIBCFILE_HAVE_WIDE_CHARACTER_TYPE as 1" >&5 35585$as_echo_n "checking whether libcfile/features.h defines LIBCFILE_HAVE_WIDE_CHARACTER_TYPE as 1... " >&6; } 35586if ${ac_cv_header_libcfile_features_h_have_wide_character_type+:} false; then : 35587 $as_echo_n "(cached) " >&6 35588else 35589 ac_ext=c 35590ac_cpp='$CPP $CPPFLAGS' 35591ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 35592ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 35593ac_compiler_gnu=$ac_cv_c_compiler_gnu 35594 35595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35596/* end confdefs.h. */ 35597#include <libcfile/features.h> 35598int 35599main () 35600{ 35601#if !defined( LIBCFILE_HAVE_WIDE_CHARACTER_TYPE ) || ( LIBCFILE_HAVE_WIDE_CHARACTER_TYPE != 1 ) 35602#error LIBCFILE_HAVE_WIDE_CHARACTER_TYPE not defined 35603#endif 35604 ; 35605 return 0; 35606} 35607_ACEOF 35608if ac_fn_c_try_compile "$LINENO"; then : 35609 ac_cv_header_libcfile_features_h_have_wide_character_type=yes 35610else 35611 ac_cv_header_libcfile_features_h_have_wide_character_type=no 35612fi 35613rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 35614 ac_ext=c 35615ac_cpp='$CPP $CPPFLAGS' 35616ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 35617ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 35618ac_compiler_gnu=$ac_cv_c_compiler_gnu 35619 35620fi 35621{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_libcfile_features_h_have_wide_character_type" >&5 35622$as_echo "$ac_cv_header_libcfile_features_h_have_wide_character_type" >&6; } 35623 35624 if test "x$ac_cv_header_libcfile_features_h_have_wide_character_type" = xno; then : 35625 ac_cv_libcfile=no 35626fi 35627 35628fi 35629 if test "x$ac_cv_libcfile" = xyes; then : 35630 ac_cv_libcfile_CPPFLAGS="$pkg_cv_libcfile_CFLAGS" 35631 ac_cv_libcfile_LIBADD="$pkg_cv_libcfile_LIBS" 35632fi 35633 35634fi 35635 35636 if test "x$ac_cv_libcfile" = xcheck; then : 35637 for ac_header in libcfile.h 35638do : 35639 ac_fn_c_check_header_mongrel "$LINENO" "libcfile.h" "ac_cv_header_libcfile_h" "$ac_includes_default" 35640if test "x$ac_cv_header_libcfile_h" = xyes; then : 35641 cat >>confdefs.h <<_ACEOF 35642#define HAVE_LIBCFILE_H 1 35643_ACEOF 35644 35645fi 35646 35647done 35648 35649 35650 if test "x$ac_cv_header_libcfile_h" = xno; then : 35651 ac_cv_libcfile=no 35652else 35653 ac_cv_libcfile=yes 35654 35655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_get_version in -lcfile" >&5 35656$as_echo_n "checking for libcfile_get_version in -lcfile... " >&6; } 35657if ${ac_cv_lib_cfile_libcfile_get_version+:} false; then : 35658 $as_echo_n "(cached) " >&6 35659else 35660 ac_check_lib_save_LIBS=$LIBS 35661LIBS="-lcfile $LIBS" 35662cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35663/* end confdefs.h. */ 35664 35665/* Override any GCC internal prototype to avoid an error. 35666 Use char because int might match the return type of a GCC 35667 builtin and then its argument prototype would still apply. */ 35668#ifdef __cplusplus 35669extern "C" 35670#endif 35671char libcfile_get_version (); 35672int 35673main () 35674{ 35675return libcfile_get_version (); 35676 ; 35677 return 0; 35678} 35679_ACEOF 35680if ac_fn_c_try_link "$LINENO"; then : 35681 ac_cv_lib_cfile_libcfile_get_version=yes 35682else 35683 ac_cv_lib_cfile_libcfile_get_version=no 35684fi 35685rm -f core conftest.err conftest.$ac_objext \ 35686 conftest$ac_exeext conftest.$ac_ext 35687LIBS=$ac_check_lib_save_LIBS 35688fi 35689{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_get_version" >&5 35690$as_echo "$ac_cv_lib_cfile_libcfile_get_version" >&6; } 35691if test "x$ac_cv_lib_cfile_libcfile_get_version" = xyes; then : 35692 ac_cv_libcfile_dummy=yes 35693else 35694 ac_cv_libcfile=no 35695fi 35696 35697 35698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_initialize in -lcfile" >&5 35699$as_echo_n "checking for libcfile_file_initialize in -lcfile... " >&6; } 35700if ${ac_cv_lib_cfile_libcfile_file_initialize+:} false; then : 35701 $as_echo_n "(cached) " >&6 35702else 35703 ac_check_lib_save_LIBS=$LIBS 35704LIBS="-lcfile $LIBS" 35705cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35706/* end confdefs.h. */ 35707 35708/* Override any GCC internal prototype to avoid an error. 35709 Use char because int might match the return type of a GCC 35710 builtin and then its argument prototype would still apply. */ 35711#ifdef __cplusplus 35712extern "C" 35713#endif 35714char libcfile_file_initialize (); 35715int 35716main () 35717{ 35718return libcfile_file_initialize (); 35719 ; 35720 return 0; 35721} 35722_ACEOF 35723if ac_fn_c_try_link "$LINENO"; then : 35724 ac_cv_lib_cfile_libcfile_file_initialize=yes 35725else 35726 ac_cv_lib_cfile_libcfile_file_initialize=no 35727fi 35728rm -f core conftest.err conftest.$ac_objext \ 35729 conftest$ac_exeext conftest.$ac_ext 35730LIBS=$ac_check_lib_save_LIBS 35731fi 35732{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_initialize" >&5 35733$as_echo "$ac_cv_lib_cfile_libcfile_file_initialize" >&6; } 35734if test "x$ac_cv_lib_cfile_libcfile_file_initialize" = xyes; then : 35735 ac_cv_libcfile_dummy=yes 35736else 35737 ac_cv_libcfile=no 35738fi 35739 35740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_free in -lcfile" >&5 35741$as_echo_n "checking for libcfile_file_free in -lcfile... " >&6; } 35742if ${ac_cv_lib_cfile_libcfile_file_free+:} false; then : 35743 $as_echo_n "(cached) " >&6 35744else 35745 ac_check_lib_save_LIBS=$LIBS 35746LIBS="-lcfile $LIBS" 35747cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35748/* end confdefs.h. */ 35749 35750/* Override any GCC internal prototype to avoid an error. 35751 Use char because int might match the return type of a GCC 35752 builtin and then its argument prototype would still apply. */ 35753#ifdef __cplusplus 35754extern "C" 35755#endif 35756char libcfile_file_free (); 35757int 35758main () 35759{ 35760return libcfile_file_free (); 35761 ; 35762 return 0; 35763} 35764_ACEOF 35765if ac_fn_c_try_link "$LINENO"; then : 35766 ac_cv_lib_cfile_libcfile_file_free=yes 35767else 35768 ac_cv_lib_cfile_libcfile_file_free=no 35769fi 35770rm -f core conftest.err conftest.$ac_objext \ 35771 conftest$ac_exeext conftest.$ac_ext 35772LIBS=$ac_check_lib_save_LIBS 35773fi 35774{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_free" >&5 35775$as_echo "$ac_cv_lib_cfile_libcfile_file_free" >&6; } 35776if test "x$ac_cv_lib_cfile_libcfile_file_free" = xyes; then : 35777 ac_cv_libcfile_dummy=yes 35778else 35779 ac_cv_libcfile=no 35780fi 35781 35782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_open in -lcfile" >&5 35783$as_echo_n "checking for libcfile_file_open in -lcfile... " >&6; } 35784if ${ac_cv_lib_cfile_libcfile_file_open+:} false; then : 35785 $as_echo_n "(cached) " >&6 35786else 35787 ac_check_lib_save_LIBS=$LIBS 35788LIBS="-lcfile $LIBS" 35789cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35790/* end confdefs.h. */ 35791 35792/* Override any GCC internal prototype to avoid an error. 35793 Use char because int might match the return type of a GCC 35794 builtin and then its argument prototype would still apply. */ 35795#ifdef __cplusplus 35796extern "C" 35797#endif 35798char libcfile_file_open (); 35799int 35800main () 35801{ 35802return libcfile_file_open (); 35803 ; 35804 return 0; 35805} 35806_ACEOF 35807if ac_fn_c_try_link "$LINENO"; then : 35808 ac_cv_lib_cfile_libcfile_file_open=yes 35809else 35810 ac_cv_lib_cfile_libcfile_file_open=no 35811fi 35812rm -f core conftest.err conftest.$ac_objext \ 35813 conftest$ac_exeext conftest.$ac_ext 35814LIBS=$ac_check_lib_save_LIBS 35815fi 35816{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_open" >&5 35817$as_echo "$ac_cv_lib_cfile_libcfile_file_open" >&6; } 35818if test "x$ac_cv_lib_cfile_libcfile_file_open" = xyes; then : 35819 ac_cv_libcfile_dummy=yes 35820else 35821 ac_cv_libcfile=no 35822fi 35823 35824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_open_with_error_code in -lcfile" >&5 35825$as_echo_n "checking for libcfile_file_open_with_error_code in -lcfile... " >&6; } 35826if ${ac_cv_lib_cfile_libcfile_file_open_with_error_code+:} false; then : 35827 $as_echo_n "(cached) " >&6 35828else 35829 ac_check_lib_save_LIBS=$LIBS 35830LIBS="-lcfile $LIBS" 35831cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35832/* end confdefs.h. */ 35833 35834/* Override any GCC internal prototype to avoid an error. 35835 Use char because int might match the return type of a GCC 35836 builtin and then its argument prototype would still apply. */ 35837#ifdef __cplusplus 35838extern "C" 35839#endif 35840char libcfile_file_open_with_error_code (); 35841int 35842main () 35843{ 35844return libcfile_file_open_with_error_code (); 35845 ; 35846 return 0; 35847} 35848_ACEOF 35849if ac_fn_c_try_link "$LINENO"; then : 35850 ac_cv_lib_cfile_libcfile_file_open_with_error_code=yes 35851else 35852 ac_cv_lib_cfile_libcfile_file_open_with_error_code=no 35853fi 35854rm -f core conftest.err conftest.$ac_objext \ 35855 conftest$ac_exeext conftest.$ac_ext 35856LIBS=$ac_check_lib_save_LIBS 35857fi 35858{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_open_with_error_code" >&5 35859$as_echo "$ac_cv_lib_cfile_libcfile_file_open_with_error_code" >&6; } 35860if test "x$ac_cv_lib_cfile_libcfile_file_open_with_error_code" = xyes; then : 35861 ac_cv_libcfile_dummy=yes 35862else 35863 ac_cv_libcfile=no 35864fi 35865 35866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_close in -lcfile" >&5 35867$as_echo_n "checking for libcfile_file_close in -lcfile... " >&6; } 35868if ${ac_cv_lib_cfile_libcfile_file_close+:} false; then : 35869 $as_echo_n "(cached) " >&6 35870else 35871 ac_check_lib_save_LIBS=$LIBS 35872LIBS="-lcfile $LIBS" 35873cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35874/* end confdefs.h. */ 35875 35876/* Override any GCC internal prototype to avoid an error. 35877 Use char because int might match the return type of a GCC 35878 builtin and then its argument prototype would still apply. */ 35879#ifdef __cplusplus 35880extern "C" 35881#endif 35882char libcfile_file_close (); 35883int 35884main () 35885{ 35886return libcfile_file_close (); 35887 ; 35888 return 0; 35889} 35890_ACEOF 35891if ac_fn_c_try_link "$LINENO"; then : 35892 ac_cv_lib_cfile_libcfile_file_close=yes 35893else 35894 ac_cv_lib_cfile_libcfile_file_close=no 35895fi 35896rm -f core conftest.err conftest.$ac_objext \ 35897 conftest$ac_exeext conftest.$ac_ext 35898LIBS=$ac_check_lib_save_LIBS 35899fi 35900{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_close" >&5 35901$as_echo "$ac_cv_lib_cfile_libcfile_file_close" >&6; } 35902if test "x$ac_cv_lib_cfile_libcfile_file_close" = xyes; then : 35903 ac_cv_libcfile_dummy=yes 35904else 35905 ac_cv_libcfile=no 35906fi 35907 35908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_read_buffer in -lcfile" >&5 35909$as_echo_n "checking for libcfile_file_read_buffer in -lcfile... " >&6; } 35910if ${ac_cv_lib_cfile_libcfile_file_read_buffer+:} false; then : 35911 $as_echo_n "(cached) " >&6 35912else 35913 ac_check_lib_save_LIBS=$LIBS 35914LIBS="-lcfile $LIBS" 35915cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35916/* end confdefs.h. */ 35917 35918/* Override any GCC internal prototype to avoid an error. 35919 Use char because int might match the return type of a GCC 35920 builtin and then its argument prototype would still apply. */ 35921#ifdef __cplusplus 35922extern "C" 35923#endif 35924char libcfile_file_read_buffer (); 35925int 35926main () 35927{ 35928return libcfile_file_read_buffer (); 35929 ; 35930 return 0; 35931} 35932_ACEOF 35933if ac_fn_c_try_link "$LINENO"; then : 35934 ac_cv_lib_cfile_libcfile_file_read_buffer=yes 35935else 35936 ac_cv_lib_cfile_libcfile_file_read_buffer=no 35937fi 35938rm -f core conftest.err conftest.$ac_objext \ 35939 conftest$ac_exeext conftest.$ac_ext 35940LIBS=$ac_check_lib_save_LIBS 35941fi 35942{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_read_buffer" >&5 35943$as_echo "$ac_cv_lib_cfile_libcfile_file_read_buffer" >&6; } 35944if test "x$ac_cv_lib_cfile_libcfile_file_read_buffer" = xyes; then : 35945 ac_cv_libcfile_dummy=yes 35946else 35947 ac_cv_libcfile=no 35948fi 35949 35950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_read_buffer_with_error_code in -lcfile" >&5 35951$as_echo_n "checking for libcfile_file_read_buffer_with_error_code in -lcfile... " >&6; } 35952if ${ac_cv_lib_cfile_libcfile_file_read_buffer_with_error_code+:} false; then : 35953 $as_echo_n "(cached) " >&6 35954else 35955 ac_check_lib_save_LIBS=$LIBS 35956LIBS="-lcfile $LIBS" 35957cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35958/* end confdefs.h. */ 35959 35960/* Override any GCC internal prototype to avoid an error. 35961 Use char because int might match the return type of a GCC 35962 builtin and then its argument prototype would still apply. */ 35963#ifdef __cplusplus 35964extern "C" 35965#endif 35966char libcfile_file_read_buffer_with_error_code (); 35967int 35968main () 35969{ 35970return libcfile_file_read_buffer_with_error_code (); 35971 ; 35972 return 0; 35973} 35974_ACEOF 35975if ac_fn_c_try_link "$LINENO"; then : 35976 ac_cv_lib_cfile_libcfile_file_read_buffer_with_error_code=yes 35977else 35978 ac_cv_lib_cfile_libcfile_file_read_buffer_with_error_code=no 35979fi 35980rm -f core conftest.err conftest.$ac_objext \ 35981 conftest$ac_exeext conftest.$ac_ext 35982LIBS=$ac_check_lib_save_LIBS 35983fi 35984{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_read_buffer_with_error_code" >&5 35985$as_echo "$ac_cv_lib_cfile_libcfile_file_read_buffer_with_error_code" >&6; } 35986if test "x$ac_cv_lib_cfile_libcfile_file_read_buffer_with_error_code" = xyes; then : 35987 ac_cv_libcfile_dummy=yes 35988else 35989 ac_cv_libcfile=no 35990fi 35991 35992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_write_buffer in -lcfile" >&5 35993$as_echo_n "checking for libcfile_file_write_buffer in -lcfile... " >&6; } 35994if ${ac_cv_lib_cfile_libcfile_file_write_buffer+:} false; then : 35995 $as_echo_n "(cached) " >&6 35996else 35997 ac_check_lib_save_LIBS=$LIBS 35998LIBS="-lcfile $LIBS" 35999cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36000/* end confdefs.h. */ 36001 36002/* Override any GCC internal prototype to avoid an error. 36003 Use char because int might match the return type of a GCC 36004 builtin and then its argument prototype would still apply. */ 36005#ifdef __cplusplus 36006extern "C" 36007#endif 36008char libcfile_file_write_buffer (); 36009int 36010main () 36011{ 36012return libcfile_file_write_buffer (); 36013 ; 36014 return 0; 36015} 36016_ACEOF 36017if ac_fn_c_try_link "$LINENO"; then : 36018 ac_cv_lib_cfile_libcfile_file_write_buffer=yes 36019else 36020 ac_cv_lib_cfile_libcfile_file_write_buffer=no 36021fi 36022rm -f core conftest.err conftest.$ac_objext \ 36023 conftest$ac_exeext conftest.$ac_ext 36024LIBS=$ac_check_lib_save_LIBS 36025fi 36026{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_write_buffer" >&5 36027$as_echo "$ac_cv_lib_cfile_libcfile_file_write_buffer" >&6; } 36028if test "x$ac_cv_lib_cfile_libcfile_file_write_buffer" = xyes; then : 36029 ac_cv_libcfile_dummy=yes 36030else 36031 ac_cv_libcfile=no 36032fi 36033 36034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_write_buffer_with_error_code in -lcfile" >&5 36035$as_echo_n "checking for libcfile_file_write_buffer_with_error_code in -lcfile... " >&6; } 36036if ${ac_cv_lib_cfile_libcfile_file_write_buffer_with_error_code+:} false; then : 36037 $as_echo_n "(cached) " >&6 36038else 36039 ac_check_lib_save_LIBS=$LIBS 36040LIBS="-lcfile $LIBS" 36041cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36042/* end confdefs.h. */ 36043 36044/* Override any GCC internal prototype to avoid an error. 36045 Use char because int might match the return type of a GCC 36046 builtin and then its argument prototype would still apply. */ 36047#ifdef __cplusplus 36048extern "C" 36049#endif 36050char libcfile_file_write_buffer_with_error_code (); 36051int 36052main () 36053{ 36054return libcfile_file_write_buffer_with_error_code (); 36055 ; 36056 return 0; 36057} 36058_ACEOF 36059if ac_fn_c_try_link "$LINENO"; then : 36060 ac_cv_lib_cfile_libcfile_file_write_buffer_with_error_code=yes 36061else 36062 ac_cv_lib_cfile_libcfile_file_write_buffer_with_error_code=no 36063fi 36064rm -f core conftest.err conftest.$ac_objext \ 36065 conftest$ac_exeext conftest.$ac_ext 36066LIBS=$ac_check_lib_save_LIBS 36067fi 36068{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_write_buffer_with_error_code" >&5 36069$as_echo "$ac_cv_lib_cfile_libcfile_file_write_buffer_with_error_code" >&6; } 36070if test "x$ac_cv_lib_cfile_libcfile_file_write_buffer_with_error_code" = xyes; then : 36071 ac_cv_libcfile_dummy=yes 36072else 36073 ac_cv_libcfile=no 36074fi 36075 36076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_seek_offset in -lcfile" >&5 36077$as_echo_n "checking for libcfile_file_seek_offset in -lcfile... " >&6; } 36078if ${ac_cv_lib_cfile_libcfile_file_seek_offset+:} false; then : 36079 $as_echo_n "(cached) " >&6 36080else 36081 ac_check_lib_save_LIBS=$LIBS 36082LIBS="-lcfile $LIBS" 36083cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36084/* end confdefs.h. */ 36085 36086/* Override any GCC internal prototype to avoid an error. 36087 Use char because int might match the return type of a GCC 36088 builtin and then its argument prototype would still apply. */ 36089#ifdef __cplusplus 36090extern "C" 36091#endif 36092char libcfile_file_seek_offset (); 36093int 36094main () 36095{ 36096return libcfile_file_seek_offset (); 36097 ; 36098 return 0; 36099} 36100_ACEOF 36101if ac_fn_c_try_link "$LINENO"; then : 36102 ac_cv_lib_cfile_libcfile_file_seek_offset=yes 36103else 36104 ac_cv_lib_cfile_libcfile_file_seek_offset=no 36105fi 36106rm -f core conftest.err conftest.$ac_objext \ 36107 conftest$ac_exeext conftest.$ac_ext 36108LIBS=$ac_check_lib_save_LIBS 36109fi 36110{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_seek_offset" >&5 36111$as_echo "$ac_cv_lib_cfile_libcfile_file_seek_offset" >&6; } 36112if test "x$ac_cv_lib_cfile_libcfile_file_seek_offset" = xyes; then : 36113 ac_cv_libcfile_dummy=yes 36114else 36115 ac_cv_libcfile=no 36116fi 36117 36118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_resize in -lcfile" >&5 36119$as_echo_n "checking for libcfile_file_resize in -lcfile... " >&6; } 36120if ${ac_cv_lib_cfile_libcfile_file_resize+:} false; then : 36121 $as_echo_n "(cached) " >&6 36122else 36123 ac_check_lib_save_LIBS=$LIBS 36124LIBS="-lcfile $LIBS" 36125cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36126/* end confdefs.h. */ 36127 36128/* Override any GCC internal prototype to avoid an error. 36129 Use char because int might match the return type of a GCC 36130 builtin and then its argument prototype would still apply. */ 36131#ifdef __cplusplus 36132extern "C" 36133#endif 36134char libcfile_file_resize (); 36135int 36136main () 36137{ 36138return libcfile_file_resize (); 36139 ; 36140 return 0; 36141} 36142_ACEOF 36143if ac_fn_c_try_link "$LINENO"; then : 36144 ac_cv_lib_cfile_libcfile_file_resize=yes 36145else 36146 ac_cv_lib_cfile_libcfile_file_resize=no 36147fi 36148rm -f core conftest.err conftest.$ac_objext \ 36149 conftest$ac_exeext conftest.$ac_ext 36150LIBS=$ac_check_lib_save_LIBS 36151fi 36152{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_resize" >&5 36153$as_echo "$ac_cv_lib_cfile_libcfile_file_resize" >&6; } 36154if test "x$ac_cv_lib_cfile_libcfile_file_resize" = xyes; then : 36155 ac_cv_libcfile_dummy=yes 36156else 36157 ac_cv_libcfile=no 36158fi 36159 36160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_is_open in -lcfile" >&5 36161$as_echo_n "checking for libcfile_file_is_open in -lcfile... " >&6; } 36162if ${ac_cv_lib_cfile_libcfile_file_is_open+:} false; then : 36163 $as_echo_n "(cached) " >&6 36164else 36165 ac_check_lib_save_LIBS=$LIBS 36166LIBS="-lcfile $LIBS" 36167cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36168/* end confdefs.h. */ 36169 36170/* Override any GCC internal prototype to avoid an error. 36171 Use char because int might match the return type of a GCC 36172 builtin and then its argument prototype would still apply. */ 36173#ifdef __cplusplus 36174extern "C" 36175#endif 36176char libcfile_file_is_open (); 36177int 36178main () 36179{ 36180return libcfile_file_is_open (); 36181 ; 36182 return 0; 36183} 36184_ACEOF 36185if ac_fn_c_try_link "$LINENO"; then : 36186 ac_cv_lib_cfile_libcfile_file_is_open=yes 36187else 36188 ac_cv_lib_cfile_libcfile_file_is_open=no 36189fi 36190rm -f core conftest.err conftest.$ac_objext \ 36191 conftest$ac_exeext conftest.$ac_ext 36192LIBS=$ac_check_lib_save_LIBS 36193fi 36194{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_is_open" >&5 36195$as_echo "$ac_cv_lib_cfile_libcfile_file_is_open" >&6; } 36196if test "x$ac_cv_lib_cfile_libcfile_file_is_open" = xyes; then : 36197 ac_cv_libcfile_dummy=yes 36198else 36199 ac_cv_libcfile=no 36200fi 36201 36202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_get_offset in -lcfile" >&5 36203$as_echo_n "checking for libcfile_file_get_offset in -lcfile... " >&6; } 36204if ${ac_cv_lib_cfile_libcfile_file_get_offset+:} false; then : 36205 $as_echo_n "(cached) " >&6 36206else 36207 ac_check_lib_save_LIBS=$LIBS 36208LIBS="-lcfile $LIBS" 36209cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36210/* end confdefs.h. */ 36211 36212/* Override any GCC internal prototype to avoid an error. 36213 Use char because int might match the return type of a GCC 36214 builtin and then its argument prototype would still apply. */ 36215#ifdef __cplusplus 36216extern "C" 36217#endif 36218char libcfile_file_get_offset (); 36219int 36220main () 36221{ 36222return libcfile_file_get_offset (); 36223 ; 36224 return 0; 36225} 36226_ACEOF 36227if ac_fn_c_try_link "$LINENO"; then : 36228 ac_cv_lib_cfile_libcfile_file_get_offset=yes 36229else 36230 ac_cv_lib_cfile_libcfile_file_get_offset=no 36231fi 36232rm -f core conftest.err conftest.$ac_objext \ 36233 conftest$ac_exeext conftest.$ac_ext 36234LIBS=$ac_check_lib_save_LIBS 36235fi 36236{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_get_offset" >&5 36237$as_echo "$ac_cv_lib_cfile_libcfile_file_get_offset" >&6; } 36238if test "x$ac_cv_lib_cfile_libcfile_file_get_offset" = xyes; then : 36239 ac_cv_libcfile_dummy=yes 36240else 36241 ac_cv_libcfile=no 36242fi 36243 36244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_get_size in -lcfile" >&5 36245$as_echo_n "checking for libcfile_file_get_size in -lcfile... " >&6; } 36246if ${ac_cv_lib_cfile_libcfile_file_get_size+:} false; then : 36247 $as_echo_n "(cached) " >&6 36248else 36249 ac_check_lib_save_LIBS=$LIBS 36250LIBS="-lcfile $LIBS" 36251cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36252/* end confdefs.h. */ 36253 36254/* Override any GCC internal prototype to avoid an error. 36255 Use char because int might match the return type of a GCC 36256 builtin and then its argument prototype would still apply. */ 36257#ifdef __cplusplus 36258extern "C" 36259#endif 36260char libcfile_file_get_size (); 36261int 36262main () 36263{ 36264return libcfile_file_get_size (); 36265 ; 36266 return 0; 36267} 36268_ACEOF 36269if ac_fn_c_try_link "$LINENO"; then : 36270 ac_cv_lib_cfile_libcfile_file_get_size=yes 36271else 36272 ac_cv_lib_cfile_libcfile_file_get_size=no 36273fi 36274rm -f core conftest.err conftest.$ac_objext \ 36275 conftest$ac_exeext conftest.$ac_ext 36276LIBS=$ac_check_lib_save_LIBS 36277fi 36278{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_get_size" >&5 36279$as_echo "$ac_cv_lib_cfile_libcfile_file_get_size" >&6; } 36280if test "x$ac_cv_lib_cfile_libcfile_file_get_size" = xyes; then : 36281 ac_cv_libcfile_dummy=yes 36282else 36283 ac_cv_libcfile=no 36284fi 36285 36286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_is_device in -lcfile" >&5 36287$as_echo_n "checking for libcfile_file_is_device in -lcfile... " >&6; } 36288if ${ac_cv_lib_cfile_libcfile_file_is_device+:} false; then : 36289 $as_echo_n "(cached) " >&6 36290else 36291 ac_check_lib_save_LIBS=$LIBS 36292LIBS="-lcfile $LIBS" 36293cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36294/* end confdefs.h. */ 36295 36296/* Override any GCC internal prototype to avoid an error. 36297 Use char because int might match the return type of a GCC 36298 builtin and then its argument prototype would still apply. */ 36299#ifdef __cplusplus 36300extern "C" 36301#endif 36302char libcfile_file_is_device (); 36303int 36304main () 36305{ 36306return libcfile_file_is_device (); 36307 ; 36308 return 0; 36309} 36310_ACEOF 36311if ac_fn_c_try_link "$LINENO"; then : 36312 ac_cv_lib_cfile_libcfile_file_is_device=yes 36313else 36314 ac_cv_lib_cfile_libcfile_file_is_device=no 36315fi 36316rm -f core conftest.err conftest.$ac_objext \ 36317 conftest$ac_exeext conftest.$ac_ext 36318LIBS=$ac_check_lib_save_LIBS 36319fi 36320{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_is_device" >&5 36321$as_echo "$ac_cv_lib_cfile_libcfile_file_is_device" >&6; } 36322if test "x$ac_cv_lib_cfile_libcfile_file_is_device" = xyes; then : 36323 ac_cv_libcfile_dummy=yes 36324else 36325 ac_cv_libcfile=no 36326fi 36327 36328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_io_control_read in -lcfile" >&5 36329$as_echo_n "checking for libcfile_file_io_control_read in -lcfile... " >&6; } 36330if ${ac_cv_lib_cfile_libcfile_file_io_control_read+:} false; then : 36331 $as_echo_n "(cached) " >&6 36332else 36333 ac_check_lib_save_LIBS=$LIBS 36334LIBS="-lcfile $LIBS" 36335cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36336/* end confdefs.h. */ 36337 36338/* Override any GCC internal prototype to avoid an error. 36339 Use char because int might match the return type of a GCC 36340 builtin and then its argument prototype would still apply. */ 36341#ifdef __cplusplus 36342extern "C" 36343#endif 36344char libcfile_file_io_control_read (); 36345int 36346main () 36347{ 36348return libcfile_file_io_control_read (); 36349 ; 36350 return 0; 36351} 36352_ACEOF 36353if ac_fn_c_try_link "$LINENO"; then : 36354 ac_cv_lib_cfile_libcfile_file_io_control_read=yes 36355else 36356 ac_cv_lib_cfile_libcfile_file_io_control_read=no 36357fi 36358rm -f core conftest.err conftest.$ac_objext \ 36359 conftest$ac_exeext conftest.$ac_ext 36360LIBS=$ac_check_lib_save_LIBS 36361fi 36362{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_io_control_read" >&5 36363$as_echo "$ac_cv_lib_cfile_libcfile_file_io_control_read" >&6; } 36364if test "x$ac_cv_lib_cfile_libcfile_file_io_control_read" = xyes; then : 36365 ac_cv_libcfile_dummy=yes 36366else 36367 ac_cv_libcfile=no 36368fi 36369 36370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_io_control_read_with_error_code in -lcfile" >&5 36371$as_echo_n "checking for libcfile_file_io_control_read_with_error_code in -lcfile... " >&6; } 36372if ${ac_cv_lib_cfile_libcfile_file_io_control_read_with_error_code+:} false; then : 36373 $as_echo_n "(cached) " >&6 36374else 36375 ac_check_lib_save_LIBS=$LIBS 36376LIBS="-lcfile $LIBS" 36377cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36378/* end confdefs.h. */ 36379 36380/* Override any GCC internal prototype to avoid an error. 36381 Use char because int might match the return type of a GCC 36382 builtin and then its argument prototype would still apply. */ 36383#ifdef __cplusplus 36384extern "C" 36385#endif 36386char libcfile_file_io_control_read_with_error_code (); 36387int 36388main () 36389{ 36390return libcfile_file_io_control_read_with_error_code (); 36391 ; 36392 return 0; 36393} 36394_ACEOF 36395if ac_fn_c_try_link "$LINENO"; then : 36396 ac_cv_lib_cfile_libcfile_file_io_control_read_with_error_code=yes 36397else 36398 ac_cv_lib_cfile_libcfile_file_io_control_read_with_error_code=no 36399fi 36400rm -f core conftest.err conftest.$ac_objext \ 36401 conftest$ac_exeext conftest.$ac_ext 36402LIBS=$ac_check_lib_save_LIBS 36403fi 36404{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_io_control_read_with_error_code" >&5 36405$as_echo "$ac_cv_lib_cfile_libcfile_file_io_control_read_with_error_code" >&6; } 36406if test "x$ac_cv_lib_cfile_libcfile_file_io_control_read_with_error_code" = xyes; then : 36407 ac_cv_libcfile_dummy=yes 36408else 36409 ac_cv_libcfile=no 36410fi 36411 36412 36413 if test "x$ac_cv_enable_wide_character_type" != xno; then : 36414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_open_wide in -lcfile" >&5 36415$as_echo_n "checking for libcfile_file_open_wide in -lcfile... " >&6; } 36416if ${ac_cv_lib_cfile_libcfile_file_open_wide+:} false; then : 36417 $as_echo_n "(cached) " >&6 36418else 36419 ac_check_lib_save_LIBS=$LIBS 36420LIBS="-lcfile $LIBS" 36421cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36422/* end confdefs.h. */ 36423 36424/* Override any GCC internal prototype to avoid an error. 36425 Use char because int might match the return type of a GCC 36426 builtin and then its argument prototype would still apply. */ 36427#ifdef __cplusplus 36428extern "C" 36429#endif 36430char libcfile_file_open_wide (); 36431int 36432main () 36433{ 36434return libcfile_file_open_wide (); 36435 ; 36436 return 0; 36437} 36438_ACEOF 36439if ac_fn_c_try_link "$LINENO"; then : 36440 ac_cv_lib_cfile_libcfile_file_open_wide=yes 36441else 36442 ac_cv_lib_cfile_libcfile_file_open_wide=no 36443fi 36444rm -f core conftest.err conftest.$ac_objext \ 36445 conftest$ac_exeext conftest.$ac_ext 36446LIBS=$ac_check_lib_save_LIBS 36447fi 36448{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_open_wide" >&5 36449$as_echo "$ac_cv_lib_cfile_libcfile_file_open_wide" >&6; } 36450if test "x$ac_cv_lib_cfile_libcfile_file_open_wide" = xyes; then : 36451 ac_cv_libcfile_dummy=yes 36452else 36453 ac_cv_libcfile=no 36454fi 36455 36456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_open_wide_with_error_code in -lcfile" >&5 36457$as_echo_n "checking for libcfile_file_open_wide_with_error_code in -lcfile... " >&6; } 36458if ${ac_cv_lib_cfile_libcfile_file_open_wide_with_error_code+:} false; then : 36459 $as_echo_n "(cached) " >&6 36460else 36461 ac_check_lib_save_LIBS=$LIBS 36462LIBS="-lcfile $LIBS" 36463cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36464/* end confdefs.h. */ 36465 36466/* Override any GCC internal prototype to avoid an error. 36467 Use char because int might match the return type of a GCC 36468 builtin and then its argument prototype would still apply. */ 36469#ifdef __cplusplus 36470extern "C" 36471#endif 36472char libcfile_file_open_wide_with_error_code (); 36473int 36474main () 36475{ 36476return libcfile_file_open_wide_with_error_code (); 36477 ; 36478 return 0; 36479} 36480_ACEOF 36481if ac_fn_c_try_link "$LINENO"; then : 36482 ac_cv_lib_cfile_libcfile_file_open_wide_with_error_code=yes 36483else 36484 ac_cv_lib_cfile_libcfile_file_open_wide_with_error_code=no 36485fi 36486rm -f core conftest.err conftest.$ac_objext \ 36487 conftest$ac_exeext conftest.$ac_ext 36488LIBS=$ac_check_lib_save_LIBS 36489fi 36490{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_open_wide_with_error_code" >&5 36491$as_echo "$ac_cv_lib_cfile_libcfile_file_open_wide_with_error_code" >&6; } 36492if test "x$ac_cv_lib_cfile_libcfile_file_open_wide_with_error_code" = xyes; then : 36493 ac_cv_libcfile_dummy=yes 36494else 36495 ac_cv_libcfile=no 36496fi 36497 36498 36499fi 36500 36501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_exists in -lcfile" >&5 36502$as_echo_n "checking for libcfile_file_exists in -lcfile... " >&6; } 36503if ${ac_cv_lib_cfile_libcfile_file_exists+:} false; then : 36504 $as_echo_n "(cached) " >&6 36505else 36506 ac_check_lib_save_LIBS=$LIBS 36507LIBS="-lcfile $LIBS" 36508cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36509/* end confdefs.h. */ 36510 36511/* Override any GCC internal prototype to avoid an error. 36512 Use char because int might match the return type of a GCC 36513 builtin and then its argument prototype would still apply. */ 36514#ifdef __cplusplus 36515extern "C" 36516#endif 36517char libcfile_file_exists (); 36518int 36519main () 36520{ 36521return libcfile_file_exists (); 36522 ; 36523 return 0; 36524} 36525_ACEOF 36526if ac_fn_c_try_link "$LINENO"; then : 36527 ac_cv_lib_cfile_libcfile_file_exists=yes 36528else 36529 ac_cv_lib_cfile_libcfile_file_exists=no 36530fi 36531rm -f core conftest.err conftest.$ac_objext \ 36532 conftest$ac_exeext conftest.$ac_ext 36533LIBS=$ac_check_lib_save_LIBS 36534fi 36535{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_exists" >&5 36536$as_echo "$ac_cv_lib_cfile_libcfile_file_exists" >&6; } 36537if test "x$ac_cv_lib_cfile_libcfile_file_exists" = xyes; then : 36538 ac_cv_libcfile_dummy=yes 36539else 36540 ac_cv_libcfile=no 36541fi 36542 36543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_remove in -lcfile" >&5 36544$as_echo_n "checking for libcfile_file_remove in -lcfile... " >&6; } 36545if ${ac_cv_lib_cfile_libcfile_file_remove+:} false; then : 36546 $as_echo_n "(cached) " >&6 36547else 36548 ac_check_lib_save_LIBS=$LIBS 36549LIBS="-lcfile $LIBS" 36550cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36551/* end confdefs.h. */ 36552 36553/* Override any GCC internal prototype to avoid an error. 36554 Use char because int might match the return type of a GCC 36555 builtin and then its argument prototype would still apply. */ 36556#ifdef __cplusplus 36557extern "C" 36558#endif 36559char libcfile_file_remove (); 36560int 36561main () 36562{ 36563return libcfile_file_remove (); 36564 ; 36565 return 0; 36566} 36567_ACEOF 36568if ac_fn_c_try_link "$LINENO"; then : 36569 ac_cv_lib_cfile_libcfile_file_remove=yes 36570else 36571 ac_cv_lib_cfile_libcfile_file_remove=no 36572fi 36573rm -f core conftest.err conftest.$ac_objext \ 36574 conftest$ac_exeext conftest.$ac_ext 36575LIBS=$ac_check_lib_save_LIBS 36576fi 36577{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_remove" >&5 36578$as_echo "$ac_cv_lib_cfile_libcfile_file_remove" >&6; } 36579if test "x$ac_cv_lib_cfile_libcfile_file_remove" = xyes; then : 36580 ac_cv_libcfile_dummy=yes 36581else 36582 ac_cv_libcfile=no 36583fi 36584 36585 36586 if test "x$ac_cv_enable_wide_character_type" != xno; then : 36587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_exists_wide in -lcfile" >&5 36588$as_echo_n "checking for libcfile_file_exists_wide in -lcfile... " >&6; } 36589if ${ac_cv_lib_cfile_libcfile_file_exists_wide+:} false; then : 36590 $as_echo_n "(cached) " >&6 36591else 36592 ac_check_lib_save_LIBS=$LIBS 36593LIBS="-lcfile $LIBS" 36594cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36595/* end confdefs.h. */ 36596 36597/* Override any GCC internal prototype to avoid an error. 36598 Use char because int might match the return type of a GCC 36599 builtin and then its argument prototype would still apply. */ 36600#ifdef __cplusplus 36601extern "C" 36602#endif 36603char libcfile_file_exists_wide (); 36604int 36605main () 36606{ 36607return libcfile_file_exists_wide (); 36608 ; 36609 return 0; 36610} 36611_ACEOF 36612if ac_fn_c_try_link "$LINENO"; then : 36613 ac_cv_lib_cfile_libcfile_file_exists_wide=yes 36614else 36615 ac_cv_lib_cfile_libcfile_file_exists_wide=no 36616fi 36617rm -f core conftest.err conftest.$ac_objext \ 36618 conftest$ac_exeext conftest.$ac_ext 36619LIBS=$ac_check_lib_save_LIBS 36620fi 36621{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_exists_wide" >&5 36622$as_echo "$ac_cv_lib_cfile_libcfile_file_exists_wide" >&6; } 36623if test "x$ac_cv_lib_cfile_libcfile_file_exists_wide" = xyes; then : 36624 ac_cv_libcfile_dummy=yes 36625else 36626 ac_cv_libcfile=no 36627fi 36628 36629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_remove_wide in -lcfile" >&5 36630$as_echo_n "checking for libcfile_file_remove_wide in -lcfile... " >&6; } 36631if ${ac_cv_lib_cfile_libcfile_file_remove_wide+:} false; then : 36632 $as_echo_n "(cached) " >&6 36633else 36634 ac_check_lib_save_LIBS=$LIBS 36635LIBS="-lcfile $LIBS" 36636cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36637/* end confdefs.h. */ 36638 36639/* Override any GCC internal prototype to avoid an error. 36640 Use char because int might match the return type of a GCC 36641 builtin and then its argument prototype would still apply. */ 36642#ifdef __cplusplus 36643extern "C" 36644#endif 36645char libcfile_file_remove_wide (); 36646int 36647main () 36648{ 36649return libcfile_file_remove_wide (); 36650 ; 36651 return 0; 36652} 36653_ACEOF 36654if ac_fn_c_try_link "$LINENO"; then : 36655 ac_cv_lib_cfile_libcfile_file_remove_wide=yes 36656else 36657 ac_cv_lib_cfile_libcfile_file_remove_wide=no 36658fi 36659rm -f core conftest.err conftest.$ac_objext \ 36660 conftest$ac_exeext conftest.$ac_ext 36661LIBS=$ac_check_lib_save_LIBS 36662fi 36663{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_remove_wide" >&5 36664$as_echo "$ac_cv_lib_cfile_libcfile_file_remove_wide" >&6; } 36665if test "x$ac_cv_lib_cfile_libcfile_file_remove_wide" = xyes; then : 36666 ac_cv_libcfile_dummy=yes 36667else 36668 ac_cv_libcfile=no 36669fi 36670 36671 36672fi 36673 36674 ac_cv_libcfile_LIBADD="-lcfile" 36675fi 36676 36677fi 36678 if test "x$ac_cv_with_libcfile" != x && test "x$ac_cv_with_libcfile" != xauto-detect && test "x$ac_cv_libcfile" != xyes; then : 36679 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36680$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36681as_fn_error 1 "unable to find supported libcfile in directory: $ac_cv_with_libcfile 36682See \`config.log' for more details" "$LINENO" 5; } 36683 36684fi 36685 36686fi 36687 36688 if test "x$ac_cv_libcfile" = xyes; then : 36689 36690$as_echo "#define HAVE_LIBCFILE 1" >>confdefs.h 36691 36692 36693fi 36694 36695 if test "x$ac_cv_libcfile" = xyes; then : 36696 HAVE_LIBCFILE=1 36697 36698else 36699 HAVE_LIBCFILE=0 36700 36701 36702fi 36703 36704 36705 if test "x$ac_cv_libcfile" != xyes; then : 36706 for ac_header in errno.h stdio.h sys/stat.h 36707do : 36708 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 36709ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 36710if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 36711 cat >>confdefs.h <<_ACEOF 36712#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 36713_ACEOF 36714 36715fi 36716 36717done 36718 36719 36720 for ac_header in cygwin/fs.h fcntl.h linux/fs.h sys/disk.h sys/disklabel.h sys/ioctl.h unistd.h 36721do : 36722 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 36723ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 36724if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 36725 cat >>confdefs.h <<_ACEOF 36726#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 36727_ACEOF 36728 36729fi 36730 36731done 36732 36733 36734 for ac_func in close fstat ftruncate ioctl lseek open read write 36735do : 36736 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 36737ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 36738if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 36739 cat >>confdefs.h <<_ACEOF 36740#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 36741_ACEOF 36742 36743fi 36744done 36745 36746 36747 if test "x$ac_cv_func_close" != xyes; then : 36748 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36749$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36750as_fn_error 1 "Missing function: close 36751See \`config.log' for more details" "$LINENO" 5; } 36752 36753fi 36754 36755 for ac_func in posix_fadvise 36756do : 36757 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise" 36758if test "x$ac_cv_func_posix_fadvise" = xyes; then : 36759 cat >>confdefs.h <<_ACEOF 36760#define HAVE_POSIX_FADVISE 1 36761_ACEOF 36762 36763fi 36764done 36765 36766 36767 if test "x$ac_cv_func_posix_fadvise" = xyes; then : 36768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether posix_fadvise can be linked" >&5 36769$as_echo_n "checking whether posix_fadvise can be linked... " >&6; } 36770 36771 SAVE_CFLAGS="$CFLAGS" 36772 CFLAGS="$CFLAGS -Wall -Werror" 36773 ac_ext=c 36774ac_cpp='$CPP $CPPFLAGS' 36775ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 36776ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 36777ac_compiler_gnu=$ac_cv_c_compiler_gnu 36778 36779 36780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36781/* end confdefs.h. */ 36782#include <fcntl.h> 36783int 36784main () 36785{ 36786#if !defined( POSIX_FADV_SEQUENTIAL ) 36787#define POSIX_FADV_SEQUENTIAL 2 36788#endif 36789posix_fadvise( 0, 0, 0, POSIX_FADV_SEQUENTIAL ) 36790 ; 36791 return 0; 36792} 36793_ACEOF 36794if ac_fn_c_try_link "$LINENO"; then : 36795 ac_cv_func_posix_fadvise=yes 36796else 36797 ac_cv_func_posix_fadvise=no 36798fi 36799rm -f core conftest.err conftest.$ac_objext \ 36800 conftest$ac_exeext conftest.$ac_ext 36801 36802 ac_ext=c 36803ac_cpp='$CPP $CPPFLAGS' 36804ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 36805ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 36806ac_compiler_gnu=$ac_cv_c_compiler_gnu 36807 36808 CFLAGS="$SAVE_CFLAGS" 36809 36810 if test "x$ac_cv_func_posix_fadvise" = xyes; then : 36811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 36812$as_echo "yes" >&6; } 36813 36814$as_echo "#define HAVE_POSIX_FADVISE 1" >>confdefs.h 36815 36816else 36817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 36818$as_echo "no" >&6; } 36819fi 36820 36821fi 36822 36823 36824 if test "x$ac_cv_func_fstat" != xyes; then : 36825 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36826$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36827as_fn_error 1 "Missing function: fstat 36828See \`config.log' for more details" "$LINENO" 5; } 36829 36830fi 36831 36832 if test "x$ac_cv_func_ftruncate" != xyes; then : 36833 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36834$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36835as_fn_error 1 "Missing function: ftruncate 36836See \`config.log' for more details" "$LINENO" 5; } 36837 36838fi 36839 36840 if test x"$ac_cv_enable_winapi" = xno; then : 36841 if test "x$ac_cv_func_ioctl" != xyes; then : 36842 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36843$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36844as_fn_error 1 "Missing function: ioctl 36845See \`config.log' for more details" "$LINENO" 5; } 36846 36847fi 36848 36849fi 36850 36851 if test "x$ac_cv_func_lseek" != xyes; then : 36852 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36853$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36854as_fn_error 1 "Missing function: lseek 36855See \`config.log' for more details" "$LINENO" 5; } 36856 36857fi 36858 36859 if test "x$ac_cv_func_open" != xyes; then : 36860 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36861$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36862as_fn_error 1 "Missing function: open 36863See \`config.log' for more details" "$LINENO" 5; } 36864 36865fi 36866 36867 if test "x$ac_cv_func_read" != xyes; then : 36868 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36869$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36870as_fn_error 1 "Missing function: read 36871See \`config.log' for more details" "$LINENO" 5; } 36872 36873fi 36874 36875 if test "x$ac_cv_func_write" != xyes; then : 36876 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36877$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36878as_fn_error 1 "Missing function: write 36879See \`config.log' for more details" "$LINENO" 5; } 36880 36881fi 36882 36883 for ac_func in stat unlink 36884do : 36885 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 36886ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 36887if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 36888 cat >>confdefs.h <<_ACEOF 36889#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 36890_ACEOF 36891 36892fi 36893done 36894 36895 36896 if test "x$ac_cv_func_stat" != xyes; then : 36897 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36898$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36899as_fn_error 1 "Missing function: stat 36900See \`config.log' for more details" "$LINENO" 5; } 36901 36902fi 36903 36904 if test "x$ac_cv_func_unlink" != xyes; then : 36905 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36906$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36907as_fn_error 1 "Missing function: unlink 36908See \`config.log' for more details" "$LINENO" 5; } 36909 36910fi 36911 36912 ac_cv_libcfile_CPPFLAGS="-I../libcfile"; 36913 ac_cv_libcfile_LIBADD="../libcfile/libcfile.la"; 36914 36915 ac_cv_libcfile=local 36916 36917 36918 36919$as_echo "#define HAVE_LOCAL_LIBCFILE 1" >>confdefs.h 36920 36921 HAVE_LOCAL_LIBCFILE=1 36922 36923 36924fi 36925 36926 if test "x$ac_cv_libcfile" = xlocal; then 36927 HAVE_LOCAL_LIBCFILE_TRUE= 36928 HAVE_LOCAL_LIBCFILE_FALSE='#' 36929else 36930 HAVE_LOCAL_LIBCFILE_TRUE='#' 36931 HAVE_LOCAL_LIBCFILE_FALSE= 36932fi 36933 36934 if test "x$ac_cv_libcfile_CPPFLAGS" != "x"; then : 36935 LIBCFILE_CPPFLAGS=$ac_cv_libcfile_CPPFLAGS 36936 36937 36938fi 36939 if test "x$ac_cv_libcfile_LIBADD" != "x"; then : 36940 LIBCFILE_LIBADD=$ac_cv_libcfile_LIBADD 36941 36942 36943fi 36944 36945 if test "x$ac_cv_libcfile" = xyes; then : 36946 ax_libcfile_pc_libs_private=-lcfile 36947 36948 36949fi 36950 36951 if test "x$ac_cv_libcfile" = xyes; then : 36952 ax_libcfile_spec_requires=libcfile 36953 36954 ax_libcfile_spec_build_requires=libcfile-devel 36955 36956 36957fi 36958 36959 36960 36961 36962# Check whether --with-libcpath was given. 36963if test "${with_libcpath+set}" = set; then : 36964 withval=$with_libcpath; ac_cv_with_libcpath=$withval 36965else 36966 ac_cv_with_libcpath=auto-detect 36967fi 36968 36969 { $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 36970$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; } 36971if ${ac_cv_with_libcpath+:} false; then : 36972 $as_echo_n "(cached) " >&6 36973else 36974 ac_cv_with_libcpath=auto-detect 36975fi 36976{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libcpath" >&5 36977$as_echo "$ac_cv_with_libcpath" >&6; } 36978 36979 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libcpath" = xno; then : 36980 ac_cv_libcpath=no 36981else 36982 ac_cv_libcpath=check 36983 if test "x$ac_cv_with_libcpath" != x && test "x$ac_cv_with_libcpath" != xauto-detect; then : 36984 if test -d "$ac_cv_with_libcpath"; then : 36985 CFLAGS="$CFLAGS -I${ac_cv_with_libcpath}/include" 36986 LDFLAGS="$LDFLAGS -L${ac_cv_with_libcpath}/lib" 36987else 36988 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36989$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36990as_fn_error 1 "no such directory: $ac_cv_with_libcpath 36991See \`config.log' for more details" "$LINENO" 5; } 36992 36993fi 36994 36995else 36996 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 36997 36998pkg_failed=no 36999{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath" >&5 37000$as_echo_n "checking for libcpath... " >&6; } 37001 37002if test -n "$libcpath_CFLAGS"; then 37003 pkg_cv_libcpath_CFLAGS="$libcpath_CFLAGS" 37004 elif test -n "$PKG_CONFIG"; then 37005 if test -n "$PKG_CONFIG" && \ 37006 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcpath >= 20180716\""; } >&5 37007 ($PKG_CONFIG --exists --print-errors "libcpath >= 20180716") 2>&5 37008 ac_status=$? 37009 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 37010 test $ac_status = 0; }; then 37011 pkg_cv_libcpath_CFLAGS=`$PKG_CONFIG --cflags "libcpath >= 20180716" 2>/dev/null` 37012 test "x$?" != "x0" && pkg_failed=yes 37013else 37014 pkg_failed=yes 37015fi 37016 else 37017 pkg_failed=untried 37018fi 37019if test -n "$libcpath_LIBS"; then 37020 pkg_cv_libcpath_LIBS="$libcpath_LIBS" 37021 elif test -n "$PKG_CONFIG"; then 37022 if test -n "$PKG_CONFIG" && \ 37023 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcpath >= 20180716\""; } >&5 37024 ($PKG_CONFIG --exists --print-errors "libcpath >= 20180716") 2>&5 37025 ac_status=$? 37026 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 37027 test $ac_status = 0; }; then 37028 pkg_cv_libcpath_LIBS=`$PKG_CONFIG --libs "libcpath >= 20180716" 2>/dev/null` 37029 test "x$?" != "x0" && pkg_failed=yes 37030else 37031 pkg_failed=yes 37032fi 37033 else 37034 pkg_failed=untried 37035fi 37036 37037 37038 37039if test $pkg_failed = yes; then 37040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 37041$as_echo "no" >&6; } 37042 37043if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 37044 _pkg_short_errors_supported=yes 37045else 37046 _pkg_short_errors_supported=no 37047fi 37048 if test $_pkg_short_errors_supported = yes; then 37049 libcpath_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcpath >= 20180716" 2>&1` 37050 else 37051 libcpath_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcpath >= 20180716" 2>&1` 37052 fi 37053 # Put the nasty error message in config.log where it belongs 37054 echo "$libcpath_PKG_ERRORS" >&5 37055 37056 ac_cv_libcpath=check 37057elif test $pkg_failed = untried; then 37058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 37059$as_echo "no" >&6; } 37060 ac_cv_libcpath=check 37061else 37062 libcpath_CFLAGS=$pkg_cv_libcpath_CFLAGS 37063 libcpath_LIBS=$pkg_cv_libcpath_LIBS 37064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 37065$as_echo "yes" >&6; } 37066 ac_cv_libcpath=yes 37067fi 37068 37069fi 37070 if test "x$ac_cv_libcpath" = xyes && test "x$ac_cv_enable_wide_character_type" != xno; then : 37071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libcpath/features.h defines LIBCPATH_HAVE_WIDE_CHARACTER_TYPE as 1" >&5 37072$as_echo_n "checking whether libcpath/features.h defines LIBCPATH_HAVE_WIDE_CHARACTER_TYPE as 1... " >&6; } 37073if ${ac_cv_header_libcpath_features_h_have_wide_character_type+:} false; then : 37074 $as_echo_n "(cached) " >&6 37075else 37076 ac_ext=c 37077ac_cpp='$CPP $CPPFLAGS' 37078ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 37079ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 37080ac_compiler_gnu=$ac_cv_c_compiler_gnu 37081 37082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37083/* end confdefs.h. */ 37084#include <libcpath/features.h> 37085int 37086main () 37087{ 37088#if !defined( LIBCPATH_HAVE_WIDE_CHARACTER_TYPE ) || ( LIBCPATH_HAVE_WIDE_CHARACTER_TYPE != 1 ) 37089#error LIBCPATH_HAVE_WIDE_CHARACTER_TYPE not defined 37090#endif 37091 ; 37092 return 0; 37093} 37094_ACEOF 37095if ac_fn_c_try_compile "$LINENO"; then : 37096 ac_cv_header_libcpath_features_h_have_wide_character_type=yes 37097else 37098 ac_cv_header_libcpath_features_h_have_wide_character_type=no 37099fi 37100rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 37101 ac_ext=c 37102ac_cpp='$CPP $CPPFLAGS' 37103ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 37104ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 37105ac_compiler_gnu=$ac_cv_c_compiler_gnu 37106 37107fi 37108{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_libcpath_features_h_have_wide_character_type" >&5 37109$as_echo "$ac_cv_header_libcpath_features_h_have_wide_character_type" >&6; } 37110 37111 if test "x$ac_cv_header_libcpath_features_h_have_wide_character_type" = xno; then : 37112 ac_cv_libcpath=no 37113fi 37114 37115fi 37116 if test "x$ac_cv_libcpath" = xyes; then : 37117 ac_cv_libcpath_CPPFLAGS="$pkg_cv_libcpath_CFLAGS" 37118 ac_cv_libcpath_LIBADD="$pkg_cv_libcpath_LIBS" 37119fi 37120 37121fi 37122 37123 if test "x$ac_cv_libcpath" = xcheck; then : 37124 for ac_header in libcpath.h 37125do : 37126 ac_fn_c_check_header_mongrel "$LINENO" "libcpath.h" "ac_cv_header_libcpath_h" "$ac_includes_default" 37127if test "x$ac_cv_header_libcpath_h" = xyes; then : 37128 cat >>confdefs.h <<_ACEOF 37129#define HAVE_LIBCPATH_H 1 37130_ACEOF 37131 37132fi 37133 37134done 37135 37136 37137 if test "x$ac_cv_header_libcpath_h" = xno; then : 37138 ac_cv_libcpath=no 37139else 37140 ac_cv_libcpath=yes 37141 37142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_get_version in -lcpath" >&5 37143$as_echo_n "checking for libcpath_get_version in -lcpath... " >&6; } 37144if ${ac_cv_lib_cpath_libcpath_get_version+:} false; then : 37145 $as_echo_n "(cached) " >&6 37146else 37147 ac_check_lib_save_LIBS=$LIBS 37148LIBS="-lcpath $LIBS" 37149cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37150/* end confdefs.h. */ 37151 37152/* Override any GCC internal prototype to avoid an error. 37153 Use char because int might match the return type of a GCC 37154 builtin and then its argument prototype would still apply. */ 37155#ifdef __cplusplus 37156extern "C" 37157#endif 37158char libcpath_get_version (); 37159int 37160main () 37161{ 37162return libcpath_get_version (); 37163 ; 37164 return 0; 37165} 37166_ACEOF 37167if ac_fn_c_try_link "$LINENO"; then : 37168 ac_cv_lib_cpath_libcpath_get_version=yes 37169else 37170 ac_cv_lib_cpath_libcpath_get_version=no 37171fi 37172rm -f core conftest.err conftest.$ac_objext \ 37173 conftest$ac_exeext conftest.$ac_ext 37174LIBS=$ac_check_lib_save_LIBS 37175fi 37176{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_get_version" >&5 37177$as_echo "$ac_cv_lib_cpath_libcpath_get_version" >&6; } 37178if test "x$ac_cv_lib_cpath_libcpath_get_version" = xyes; then : 37179 ac_cv_libcpath_dummy=yes 37180else 37181 ac_cv_libcpath=no 37182fi 37183 37184 37185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_change_directory in -lcpath" >&5 37186$as_echo_n "checking for libcpath_path_change_directory in -lcpath... " >&6; } 37187if ${ac_cv_lib_cpath_libcpath_path_change_directory+:} false; then : 37188 $as_echo_n "(cached) " >&6 37189else 37190 ac_check_lib_save_LIBS=$LIBS 37191LIBS="-lcpath $LIBS" 37192cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37193/* end confdefs.h. */ 37194 37195/* Override any GCC internal prototype to avoid an error. 37196 Use char because int might match the return type of a GCC 37197 builtin and then its argument prototype would still apply. */ 37198#ifdef __cplusplus 37199extern "C" 37200#endif 37201char libcpath_path_change_directory (); 37202int 37203main () 37204{ 37205return libcpath_path_change_directory (); 37206 ; 37207 return 0; 37208} 37209_ACEOF 37210if ac_fn_c_try_link "$LINENO"; then : 37211 ac_cv_lib_cpath_libcpath_path_change_directory=yes 37212else 37213 ac_cv_lib_cpath_libcpath_path_change_directory=no 37214fi 37215rm -f core conftest.err conftest.$ac_objext \ 37216 conftest$ac_exeext conftest.$ac_ext 37217LIBS=$ac_check_lib_save_LIBS 37218fi 37219{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_change_directory" >&5 37220$as_echo "$ac_cv_lib_cpath_libcpath_path_change_directory" >&6; } 37221if test "x$ac_cv_lib_cpath_libcpath_path_change_directory" = xyes; then : 37222 ac_cv_libcpath_dummy=yes 37223else 37224 ac_cv_libcpath=no 37225fi 37226 37227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_current_working_directory in -lcpath" >&5 37228$as_echo_n "checking for libcpath_path_get_current_working_directory in -lcpath... " >&6; } 37229if ${ac_cv_lib_cpath_libcpath_path_get_current_working_directory+:} false; then : 37230 $as_echo_n "(cached) " >&6 37231else 37232 ac_check_lib_save_LIBS=$LIBS 37233LIBS="-lcpath $LIBS" 37234cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37235/* end confdefs.h. */ 37236 37237/* Override any GCC internal prototype to avoid an error. 37238 Use char because int might match the return type of a GCC 37239 builtin and then its argument prototype would still apply. */ 37240#ifdef __cplusplus 37241extern "C" 37242#endif 37243char libcpath_path_get_current_working_directory (); 37244int 37245main () 37246{ 37247return libcpath_path_get_current_working_directory (); 37248 ; 37249 return 0; 37250} 37251_ACEOF 37252if ac_fn_c_try_link "$LINENO"; then : 37253 ac_cv_lib_cpath_libcpath_path_get_current_working_directory=yes 37254else 37255 ac_cv_lib_cpath_libcpath_path_get_current_working_directory=no 37256fi 37257rm -f core conftest.err conftest.$ac_objext \ 37258 conftest$ac_exeext conftest.$ac_ext 37259LIBS=$ac_check_lib_save_LIBS 37260fi 37261{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_current_working_directory" >&5 37262$as_echo "$ac_cv_lib_cpath_libcpath_path_get_current_working_directory" >&6; } 37263if test "x$ac_cv_lib_cpath_libcpath_path_get_current_working_directory" = xyes; then : 37264 ac_cv_libcpath_dummy=yes 37265else 37266 ac_cv_libcpath=no 37267fi 37268 37269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_full_path in -lcpath" >&5 37270$as_echo_n "checking for libcpath_path_get_full_path in -lcpath... " >&6; } 37271if ${ac_cv_lib_cpath_libcpath_path_get_full_path+:} false; then : 37272 $as_echo_n "(cached) " >&6 37273else 37274 ac_check_lib_save_LIBS=$LIBS 37275LIBS="-lcpath $LIBS" 37276cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37277/* end confdefs.h. */ 37278 37279/* Override any GCC internal prototype to avoid an error. 37280 Use char because int might match the return type of a GCC 37281 builtin and then its argument prototype would still apply. */ 37282#ifdef __cplusplus 37283extern "C" 37284#endif 37285char libcpath_path_get_full_path (); 37286int 37287main () 37288{ 37289return libcpath_path_get_full_path (); 37290 ; 37291 return 0; 37292} 37293_ACEOF 37294if ac_fn_c_try_link "$LINENO"; then : 37295 ac_cv_lib_cpath_libcpath_path_get_full_path=yes 37296else 37297 ac_cv_lib_cpath_libcpath_path_get_full_path=no 37298fi 37299rm -f core conftest.err conftest.$ac_objext \ 37300 conftest$ac_exeext conftest.$ac_ext 37301LIBS=$ac_check_lib_save_LIBS 37302fi 37303{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_full_path" >&5 37304$as_echo "$ac_cv_lib_cpath_libcpath_path_get_full_path" >&6; } 37305if test "x$ac_cv_lib_cpath_libcpath_path_get_full_path" = xyes; then : 37306 ac_cv_libcpath_dummy=yes 37307else 37308 ac_cv_libcpath=no 37309fi 37310 37311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_sanitized_filename in -lcpath" >&5 37312$as_echo_n "checking for libcpath_path_get_sanitized_filename in -lcpath... " >&6; } 37313if ${ac_cv_lib_cpath_libcpath_path_get_sanitized_filename+:} false; then : 37314 $as_echo_n "(cached) " >&6 37315else 37316 ac_check_lib_save_LIBS=$LIBS 37317LIBS="-lcpath $LIBS" 37318cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37319/* end confdefs.h. */ 37320 37321/* Override any GCC internal prototype to avoid an error. 37322 Use char because int might match the return type of a GCC 37323 builtin and then its argument prototype would still apply. */ 37324#ifdef __cplusplus 37325extern "C" 37326#endif 37327char libcpath_path_get_sanitized_filename (); 37328int 37329main () 37330{ 37331return libcpath_path_get_sanitized_filename (); 37332 ; 37333 return 0; 37334} 37335_ACEOF 37336if ac_fn_c_try_link "$LINENO"; then : 37337 ac_cv_lib_cpath_libcpath_path_get_sanitized_filename=yes 37338else 37339 ac_cv_lib_cpath_libcpath_path_get_sanitized_filename=no 37340fi 37341rm -f core conftest.err conftest.$ac_objext \ 37342 conftest$ac_exeext conftest.$ac_ext 37343LIBS=$ac_check_lib_save_LIBS 37344fi 37345{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_sanitized_filename" >&5 37346$as_echo "$ac_cv_lib_cpath_libcpath_path_get_sanitized_filename" >&6; } 37347if test "x$ac_cv_lib_cpath_libcpath_path_get_sanitized_filename" = xyes; then : 37348 ac_cv_libcpath_dummy=yes 37349else 37350 ac_cv_libcpath=no 37351fi 37352 37353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_sanitized_path in -lcpath" >&5 37354$as_echo_n "checking for libcpath_path_get_sanitized_path in -lcpath... " >&6; } 37355if ${ac_cv_lib_cpath_libcpath_path_get_sanitized_path+:} false; then : 37356 $as_echo_n "(cached) " >&6 37357else 37358 ac_check_lib_save_LIBS=$LIBS 37359LIBS="-lcpath $LIBS" 37360cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37361/* end confdefs.h. */ 37362 37363/* Override any GCC internal prototype to avoid an error. 37364 Use char because int might match the return type of a GCC 37365 builtin and then its argument prototype would still apply. */ 37366#ifdef __cplusplus 37367extern "C" 37368#endif 37369char libcpath_path_get_sanitized_path (); 37370int 37371main () 37372{ 37373return libcpath_path_get_sanitized_path (); 37374 ; 37375 return 0; 37376} 37377_ACEOF 37378if ac_fn_c_try_link "$LINENO"; then : 37379 ac_cv_lib_cpath_libcpath_path_get_sanitized_path=yes 37380else 37381 ac_cv_lib_cpath_libcpath_path_get_sanitized_path=no 37382fi 37383rm -f core conftest.err conftest.$ac_objext \ 37384 conftest$ac_exeext conftest.$ac_ext 37385LIBS=$ac_check_lib_save_LIBS 37386fi 37387{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_sanitized_path" >&5 37388$as_echo "$ac_cv_lib_cpath_libcpath_path_get_sanitized_path" >&6; } 37389if test "x$ac_cv_lib_cpath_libcpath_path_get_sanitized_path" = xyes; then : 37390 ac_cv_libcpath_dummy=yes 37391else 37392 ac_cv_libcpath=no 37393fi 37394 37395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_join in -lcpath" >&5 37396$as_echo_n "checking for libcpath_path_join in -lcpath... " >&6; } 37397if ${ac_cv_lib_cpath_libcpath_path_join+:} false; then : 37398 $as_echo_n "(cached) " >&6 37399else 37400 ac_check_lib_save_LIBS=$LIBS 37401LIBS="-lcpath $LIBS" 37402cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37403/* end confdefs.h. */ 37404 37405/* Override any GCC internal prototype to avoid an error. 37406 Use char because int might match the return type of a GCC 37407 builtin and then its argument prototype would still apply. */ 37408#ifdef __cplusplus 37409extern "C" 37410#endif 37411char libcpath_path_join (); 37412int 37413main () 37414{ 37415return libcpath_path_join (); 37416 ; 37417 return 0; 37418} 37419_ACEOF 37420if ac_fn_c_try_link "$LINENO"; then : 37421 ac_cv_lib_cpath_libcpath_path_join=yes 37422else 37423 ac_cv_lib_cpath_libcpath_path_join=no 37424fi 37425rm -f core conftest.err conftest.$ac_objext \ 37426 conftest$ac_exeext conftest.$ac_ext 37427LIBS=$ac_check_lib_save_LIBS 37428fi 37429{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_join" >&5 37430$as_echo "$ac_cv_lib_cpath_libcpath_path_join" >&6; } 37431if test "x$ac_cv_lib_cpath_libcpath_path_join" = xyes; then : 37432 ac_cv_libcpath_dummy=yes 37433else 37434 ac_cv_libcpath=no 37435fi 37436 37437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_make_directory in -lcpath" >&5 37438$as_echo_n "checking for libcpath_path_make_directory in -lcpath... " >&6; } 37439if ${ac_cv_lib_cpath_libcpath_path_make_directory+:} false; then : 37440 $as_echo_n "(cached) " >&6 37441else 37442 ac_check_lib_save_LIBS=$LIBS 37443LIBS="-lcpath $LIBS" 37444cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37445/* end confdefs.h. */ 37446 37447/* Override any GCC internal prototype to avoid an error. 37448 Use char because int might match the return type of a GCC 37449 builtin and then its argument prototype would still apply. */ 37450#ifdef __cplusplus 37451extern "C" 37452#endif 37453char libcpath_path_make_directory (); 37454int 37455main () 37456{ 37457return libcpath_path_make_directory (); 37458 ; 37459 return 0; 37460} 37461_ACEOF 37462if ac_fn_c_try_link "$LINENO"; then : 37463 ac_cv_lib_cpath_libcpath_path_make_directory=yes 37464else 37465 ac_cv_lib_cpath_libcpath_path_make_directory=no 37466fi 37467rm -f core conftest.err conftest.$ac_objext \ 37468 conftest$ac_exeext conftest.$ac_ext 37469LIBS=$ac_check_lib_save_LIBS 37470fi 37471{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_make_directory" >&5 37472$as_echo "$ac_cv_lib_cpath_libcpath_path_make_directory" >&6; } 37473if test "x$ac_cv_lib_cpath_libcpath_path_make_directory" = xyes; then : 37474 ac_cv_libcpath_dummy=yes 37475else 37476 ac_cv_libcpath=no 37477fi 37478 37479 37480 if test "x$ac_cv_enable_wide_character_type" != xno; then : 37481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_change_directory_wide in -lcpath" >&5 37482$as_echo_n "checking for libcpath_path_change_directory_wide in -lcpath... " >&6; } 37483if ${ac_cv_lib_cpath_libcpath_path_change_directory_wide+:} false; then : 37484 $as_echo_n "(cached) " >&6 37485else 37486 ac_check_lib_save_LIBS=$LIBS 37487LIBS="-lcpath $LIBS" 37488cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37489/* end confdefs.h. */ 37490 37491/* Override any GCC internal prototype to avoid an error. 37492 Use char because int might match the return type of a GCC 37493 builtin and then its argument prototype would still apply. */ 37494#ifdef __cplusplus 37495extern "C" 37496#endif 37497char libcpath_path_change_directory_wide (); 37498int 37499main () 37500{ 37501return libcpath_path_change_directory_wide (); 37502 ; 37503 return 0; 37504} 37505_ACEOF 37506if ac_fn_c_try_link "$LINENO"; then : 37507 ac_cv_lib_cpath_libcpath_path_change_directory_wide=yes 37508else 37509 ac_cv_lib_cpath_libcpath_path_change_directory_wide=no 37510fi 37511rm -f core conftest.err conftest.$ac_objext \ 37512 conftest$ac_exeext conftest.$ac_ext 37513LIBS=$ac_check_lib_save_LIBS 37514fi 37515{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_change_directory_wide" >&5 37516$as_echo "$ac_cv_lib_cpath_libcpath_path_change_directory_wide" >&6; } 37517if test "x$ac_cv_lib_cpath_libcpath_path_change_directory_wide" = xyes; then : 37518 ac_cv_libcpath_dummy=yes 37519else 37520 ac_cv_libcpath=no 37521fi 37522 37523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_current_working_directory_wide in -lcpath" >&5 37524$as_echo_n "checking for libcpath_path_get_current_working_directory_wide in -lcpath... " >&6; } 37525if ${ac_cv_lib_cpath_libcpath_path_get_current_working_directory_wide+:} false; then : 37526 $as_echo_n "(cached) " >&6 37527else 37528 ac_check_lib_save_LIBS=$LIBS 37529LIBS="-lcpath $LIBS" 37530cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37531/* end confdefs.h. */ 37532 37533/* Override any GCC internal prototype to avoid an error. 37534 Use char because int might match the return type of a GCC 37535 builtin and then its argument prototype would still apply. */ 37536#ifdef __cplusplus 37537extern "C" 37538#endif 37539char libcpath_path_get_current_working_directory_wide (); 37540int 37541main () 37542{ 37543return libcpath_path_get_current_working_directory_wide (); 37544 ; 37545 return 0; 37546} 37547_ACEOF 37548if ac_fn_c_try_link "$LINENO"; then : 37549 ac_cv_lib_cpath_libcpath_path_get_current_working_directory_wide=yes 37550else 37551 ac_cv_lib_cpath_libcpath_path_get_current_working_directory_wide=no 37552fi 37553rm -f core conftest.err conftest.$ac_objext \ 37554 conftest$ac_exeext conftest.$ac_ext 37555LIBS=$ac_check_lib_save_LIBS 37556fi 37557{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_current_working_directory_wide" >&5 37558$as_echo "$ac_cv_lib_cpath_libcpath_path_get_current_working_directory_wide" >&6; } 37559if test "x$ac_cv_lib_cpath_libcpath_path_get_current_working_directory_wide" = xyes; then : 37560 ac_cv_libcpath_dummy=yes 37561else 37562 ac_cv_libcpath=no 37563fi 37564 37565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_full_path_wide in -lcpath" >&5 37566$as_echo_n "checking for libcpath_path_get_full_path_wide in -lcpath... " >&6; } 37567if ${ac_cv_lib_cpath_libcpath_path_get_full_path_wide+:} false; then : 37568 $as_echo_n "(cached) " >&6 37569else 37570 ac_check_lib_save_LIBS=$LIBS 37571LIBS="-lcpath $LIBS" 37572cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37573/* end confdefs.h. */ 37574 37575/* Override any GCC internal prototype to avoid an error. 37576 Use char because int might match the return type of a GCC 37577 builtin and then its argument prototype would still apply. */ 37578#ifdef __cplusplus 37579extern "C" 37580#endif 37581char libcpath_path_get_full_path_wide (); 37582int 37583main () 37584{ 37585return libcpath_path_get_full_path_wide (); 37586 ; 37587 return 0; 37588} 37589_ACEOF 37590if ac_fn_c_try_link "$LINENO"; then : 37591 ac_cv_lib_cpath_libcpath_path_get_full_path_wide=yes 37592else 37593 ac_cv_lib_cpath_libcpath_path_get_full_path_wide=no 37594fi 37595rm -f core conftest.err conftest.$ac_objext \ 37596 conftest$ac_exeext conftest.$ac_ext 37597LIBS=$ac_check_lib_save_LIBS 37598fi 37599{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_full_path_wide" >&5 37600$as_echo "$ac_cv_lib_cpath_libcpath_path_get_full_path_wide" >&6; } 37601if test "x$ac_cv_lib_cpath_libcpath_path_get_full_path_wide" = xyes; then : 37602 ac_cv_libcpath_dummy=yes 37603else 37604 ac_cv_libcpath=no 37605fi 37606 37607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_sanitized_filename_wide in -lcpath" >&5 37608$as_echo_n "checking for libcpath_path_get_sanitized_filename_wide in -lcpath... " >&6; } 37609if ${ac_cv_lib_cpath_libcpath_path_get_sanitized_filename_wide+:} false; then : 37610 $as_echo_n "(cached) " >&6 37611else 37612 ac_check_lib_save_LIBS=$LIBS 37613LIBS="-lcpath $LIBS" 37614cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37615/* end confdefs.h. */ 37616 37617/* Override any GCC internal prototype to avoid an error. 37618 Use char because int might match the return type of a GCC 37619 builtin and then its argument prototype would still apply. */ 37620#ifdef __cplusplus 37621extern "C" 37622#endif 37623char libcpath_path_get_sanitized_filename_wide (); 37624int 37625main () 37626{ 37627return libcpath_path_get_sanitized_filename_wide (); 37628 ; 37629 return 0; 37630} 37631_ACEOF 37632if ac_fn_c_try_link "$LINENO"; then : 37633 ac_cv_lib_cpath_libcpath_path_get_sanitized_filename_wide=yes 37634else 37635 ac_cv_lib_cpath_libcpath_path_get_sanitized_filename_wide=no 37636fi 37637rm -f core conftest.err conftest.$ac_objext \ 37638 conftest$ac_exeext conftest.$ac_ext 37639LIBS=$ac_check_lib_save_LIBS 37640fi 37641{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_sanitized_filename_wide" >&5 37642$as_echo "$ac_cv_lib_cpath_libcpath_path_get_sanitized_filename_wide" >&6; } 37643if test "x$ac_cv_lib_cpath_libcpath_path_get_sanitized_filename_wide" = xyes; then : 37644 ac_cv_libcpath_dummy=yes 37645else 37646 ac_cv_libcpath=no 37647fi 37648 37649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_sanitized_path_wide in -lcpath" >&5 37650$as_echo_n "checking for libcpath_path_get_sanitized_path_wide in -lcpath... " >&6; } 37651if ${ac_cv_lib_cpath_libcpath_path_get_sanitized_path_wide+:} false; then : 37652 $as_echo_n "(cached) " >&6 37653else 37654 ac_check_lib_save_LIBS=$LIBS 37655LIBS="-lcpath $LIBS" 37656cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37657/* end confdefs.h. */ 37658 37659/* Override any GCC internal prototype to avoid an error. 37660 Use char because int might match the return type of a GCC 37661 builtin and then its argument prototype would still apply. */ 37662#ifdef __cplusplus 37663extern "C" 37664#endif 37665char libcpath_path_get_sanitized_path_wide (); 37666int 37667main () 37668{ 37669return libcpath_path_get_sanitized_path_wide (); 37670 ; 37671 return 0; 37672} 37673_ACEOF 37674if ac_fn_c_try_link "$LINENO"; then : 37675 ac_cv_lib_cpath_libcpath_path_get_sanitized_path_wide=yes 37676else 37677 ac_cv_lib_cpath_libcpath_path_get_sanitized_path_wide=no 37678fi 37679rm -f core conftest.err conftest.$ac_objext \ 37680 conftest$ac_exeext conftest.$ac_ext 37681LIBS=$ac_check_lib_save_LIBS 37682fi 37683{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_sanitized_path_wide" >&5 37684$as_echo "$ac_cv_lib_cpath_libcpath_path_get_sanitized_path_wide" >&6; } 37685if test "x$ac_cv_lib_cpath_libcpath_path_get_sanitized_path_wide" = xyes; then : 37686 ac_cv_libcpath_dummy=yes 37687else 37688 ac_cv_libcpath=no 37689fi 37690 37691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_join_wide in -lcpath" >&5 37692$as_echo_n "checking for libcpath_path_join_wide in -lcpath... " >&6; } 37693if ${ac_cv_lib_cpath_libcpath_path_join_wide+:} false; then : 37694 $as_echo_n "(cached) " >&6 37695else 37696 ac_check_lib_save_LIBS=$LIBS 37697LIBS="-lcpath $LIBS" 37698cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37699/* end confdefs.h. */ 37700 37701/* Override any GCC internal prototype to avoid an error. 37702 Use char because int might match the return type of a GCC 37703 builtin and then its argument prototype would still apply. */ 37704#ifdef __cplusplus 37705extern "C" 37706#endif 37707char libcpath_path_join_wide (); 37708int 37709main () 37710{ 37711return libcpath_path_join_wide (); 37712 ; 37713 return 0; 37714} 37715_ACEOF 37716if ac_fn_c_try_link "$LINENO"; then : 37717 ac_cv_lib_cpath_libcpath_path_join_wide=yes 37718else 37719 ac_cv_lib_cpath_libcpath_path_join_wide=no 37720fi 37721rm -f core conftest.err conftest.$ac_objext \ 37722 conftest$ac_exeext conftest.$ac_ext 37723LIBS=$ac_check_lib_save_LIBS 37724fi 37725{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_join_wide" >&5 37726$as_echo "$ac_cv_lib_cpath_libcpath_path_join_wide" >&6; } 37727if test "x$ac_cv_lib_cpath_libcpath_path_join_wide" = xyes; then : 37728 ac_cv_libcpath_dummy=yes 37729else 37730 ac_cv_libcpath=no 37731fi 37732 37733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_make_directory_wide in -lcpath" >&5 37734$as_echo_n "checking for libcpath_path_make_directory_wide in -lcpath... " >&6; } 37735if ${ac_cv_lib_cpath_libcpath_path_make_directory_wide+:} false; then : 37736 $as_echo_n "(cached) " >&6 37737else 37738 ac_check_lib_save_LIBS=$LIBS 37739LIBS="-lcpath $LIBS" 37740cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37741/* end confdefs.h. */ 37742 37743/* Override any GCC internal prototype to avoid an error. 37744 Use char because int might match the return type of a GCC 37745 builtin and then its argument prototype would still apply. */ 37746#ifdef __cplusplus 37747extern "C" 37748#endif 37749char libcpath_path_make_directory_wide (); 37750int 37751main () 37752{ 37753return libcpath_path_make_directory_wide (); 37754 ; 37755 return 0; 37756} 37757_ACEOF 37758if ac_fn_c_try_link "$LINENO"; then : 37759 ac_cv_lib_cpath_libcpath_path_make_directory_wide=yes 37760else 37761 ac_cv_lib_cpath_libcpath_path_make_directory_wide=no 37762fi 37763rm -f core conftest.err conftest.$ac_objext \ 37764 conftest$ac_exeext conftest.$ac_ext 37765LIBS=$ac_check_lib_save_LIBS 37766fi 37767{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_make_directory_wide" >&5 37768$as_echo "$ac_cv_lib_cpath_libcpath_path_make_directory_wide" >&6; } 37769if test "x$ac_cv_lib_cpath_libcpath_path_make_directory_wide" = xyes; then : 37770 ac_cv_libcpath_dummy=yes 37771else 37772 ac_cv_libcpath=no 37773fi 37774 37775 37776fi 37777 37778 ac_cv_libcpath_LIBADD="-lcpath" 37779fi 37780 37781fi 37782 if test "x$ac_cv_with_libcpath" != x && test "x$ac_cv_with_libcpath" != xauto-detect && test "x$ac_cv_libcpath" != xyes; then : 37783 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 37784$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 37785as_fn_error 1 "unable to find supported libcpath in directory: $ac_cv_with_libcpath 37786See \`config.log' for more details" "$LINENO" 5; } 37787 37788fi 37789 37790fi 37791 37792 if test "x$ac_cv_libcpath" = xyes; then : 37793 37794$as_echo "#define HAVE_LIBCPATH 1" >>confdefs.h 37795 37796 37797fi 37798 37799 if test "x$ac_cv_libcpath" = xyes; then : 37800 HAVE_LIBCPATH=1 37801 37802else 37803 HAVE_LIBCPATH=0 37804 37805 37806fi 37807 37808 37809 if test "x$ac_cv_libcpath" != xyes; then : 37810 for ac_header in errno.h sys/stat.h sys/syslimits.h 37811do : 37812 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 37813ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 37814if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 37815 cat >>confdefs.h <<_ACEOF 37816#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 37817_ACEOF 37818 37819fi 37820 37821done 37822 37823 37824 for ac_func in chdir getcwd 37825do : 37826 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 37827ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 37828if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 37829 cat >>confdefs.h <<_ACEOF 37830#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 37831_ACEOF 37832 37833fi 37834done 37835 37836 37837 if test "x$ac_cv_func_chdir" != xyes; then : 37838 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 37839$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 37840as_fn_error 1 "Missing functions: chdir 37841See \`config.log' for more details" "$LINENO" 5; } 37842 37843fi 37844 37845 if test "x$ac_cv_func_getcwd" != xyes; then : 37846 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 37847$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 37848as_fn_error 1 "Missing functions: getcwd 37849See \`config.log' for more details" "$LINENO" 5; } 37850 37851fi 37852 37853 for ac_func in mkdir 37854do : 37855 ac_fn_c_check_func "$LINENO" "mkdir" "ac_cv_func_mkdir" 37856if test "x$ac_cv_func_mkdir" = xyes; then : 37857 cat >>confdefs.h <<_ACEOF 37858#define HAVE_MKDIR 1 37859_ACEOF 37860 37861fi 37862done 37863 37864 37865 if test "x$ac_cv_func_mkdir" = xyes; then : 37866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to use mkdir" >&5 37867$as_echo_n "checking how to use mkdir... " >&6; } 37868 37869 SAVE_CFLAGS="$CFLAGS" 37870 CFLAGS="$CFLAGS -Wall -Werror" 37871 ac_ext=c 37872ac_cpp='$CPP $CPPFLAGS' 37873ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 37874ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 37875ac_compiler_gnu=$ac_cv_c_compiler_gnu 37876 37877 37878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37879/* end confdefs.h. */ 37880#include <sys/stat.h> 37881#include <sys/types.h> 37882int 37883main () 37884{ 37885mkdir( "", 0 ) 37886 ; 37887 return 0; 37888} 37889_ACEOF 37890if ac_fn_c_try_link "$LINENO"; then : 37891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: with additional mode argument" >&5 37892$as_echo "with additional mode argument" >&6; } 37893 ac_cv_cv_mkdir_mode=yes 37894else 37895 ac_cv_cv_mkdir_mode=no 37896fi 37897rm -f core conftest.err conftest.$ac_objext \ 37898 conftest$ac_exeext conftest.$ac_ext 37899 37900 if test "x$ac_cv_cv_mkdir_mode" = xno; then : 37901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37902/* end confdefs.h. */ 37903#include <io.h> 37904int 37905main () 37906{ 37907mkdir( "" ) 37908 ; 37909 return 0; 37910} 37911_ACEOF 37912if ac_fn_c_try_link "$LINENO"; then : 37913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: with single argument" >&5 37914$as_echo "with single argument" >&6; } 37915 ac_cv_cv_mkdir=yes 37916else 37917 ac_cv_cv_mkdir=no 37918fi 37919rm -f core conftest.err conftest.$ac_objext \ 37920 conftest$ac_exeext conftest.$ac_ext 37921 37922fi 37923 37924 ac_ext=c 37925ac_cpp='$CPP $CPPFLAGS' 37926ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 37927ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 37928ac_compiler_gnu=$ac_cv_c_compiler_gnu 37929 37930 CFLAGS="$SAVE_CFLAGS" 37931 37932 if test "x$ac_cv_cv_mkdir_mode" = xno && test "x$ac_cv_cv_mkdir" = xno; then : 37933 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unknown" >&5 37934$as_echo "$as_me: WARNING: unknown" >&2;} 37935 ac_cv_func_mkdir=no 37936fi 37937 37938 if test "x$ac_cv_func_mkdir" = xyes; then : 37939 37940$as_echo "#define HAVE_MKDIR 1" >>confdefs.h 37941 37942 37943fi 37944 37945 if test "x$ac_cv_cv_mkdir_mode" = xyes; then : 37946 37947$as_echo "#define HAVE_MKDIR_MODE 1" >>confdefs.h 37948 37949 37950fi 37951 37952fi 37953 37954 if test "x$ac_cv_func_mkdir" = xno; then : 37955 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 37956$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 37957as_fn_error 1 "Missing function: mkdir 37958See \`config.log' for more details" "$LINENO" 5; } 37959 37960fi 37961 37962 37963 ac_cv_libcpath_CPPFLAGS="-I../libcpath"; 37964 ac_cv_libcpath_LIBADD="../libcpath/libcpath.la"; 37965 37966 ac_cv_libcpath=local 37967 37968 37969 37970$as_echo "#define HAVE_LOCAL_LIBCPATH 1" >>confdefs.h 37971 37972 HAVE_LOCAL_LIBCPATH=1 37973 37974 37975fi 37976 37977 if test "x$ac_cv_libcpath" = xlocal; then 37978 HAVE_LOCAL_LIBCPATH_TRUE= 37979 HAVE_LOCAL_LIBCPATH_FALSE='#' 37980else 37981 HAVE_LOCAL_LIBCPATH_TRUE='#' 37982 HAVE_LOCAL_LIBCPATH_FALSE= 37983fi 37984 37985 if test "x$ac_cv_libcpath_CPPFLAGS" != "x"; then : 37986 LIBCPATH_CPPFLAGS=$ac_cv_libcpath_CPPFLAGS 37987 37988 37989fi 37990 if test "x$ac_cv_libcpath_LIBADD" != "x"; then : 37991 LIBCPATH_LIBADD=$ac_cv_libcpath_LIBADD 37992 37993 37994fi 37995 37996 if test "x$ac_cv_libcpath" = xyes; then : 37997 ax_libcpath_pc_libs_private=-lcpath 37998 37999 38000fi 38001 38002 if test "x$ac_cv_libcpath" = xyes; then : 38003 ax_libcpath_spec_requires=libcpath 38004 38005 ax_libcpath_spec_build_requires=libcpath-devel 38006 38007 38008fi 38009 38010 38011 38012 38013# Check whether --with-libbfio was given. 38014if test "${with_libbfio+set}" = set; then : 38015 withval=$with_libbfio; ac_cv_with_libbfio=$withval 38016else 38017 ac_cv_with_libbfio=auto-detect 38018fi 38019 38020 { $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 38021$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; } 38022if ${ac_cv_with_libbfio+:} false; then : 38023 $as_echo_n "(cached) " >&6 38024else 38025 ac_cv_with_libbfio=auto-detect 38026fi 38027{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libbfio" >&5 38028$as_echo "$ac_cv_with_libbfio" >&6; } 38029 38030 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libbfio" = xno; then : 38031 ac_cv_libbfio=no 38032else 38033 ac_cv_libbfio=check 38034 if test "x$ac_cv_with_libbfio" != x && test "x$ac_cv_with_libbfio" != xauto-detect; then : 38035 if test -d "$ac_cv_with_libbfio"; then : 38036 CFLAGS="$CFLAGS -I${ac_cv_with_libbfio}/include" 38037 LDFLAGS="$LDFLAGS -L${ac_cv_with_libbfio}/lib" 38038else 38039 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 38040$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 38041as_fn_error 1 "no such directory: $ac_cv_with_libbfio 38042See \`config.log' for more details" "$LINENO" 5; } 38043 38044fi 38045 38046else 38047 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 38048 38049pkg_failed=no 38050{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio" >&5 38051$as_echo_n "checking for libbfio... " >&6; } 38052 38053if test -n "$libbfio_CFLAGS"; then 38054 pkg_cv_libbfio_CFLAGS="$libbfio_CFLAGS" 38055 elif test -n "$PKG_CONFIG"; then 38056 if test -n "$PKG_CONFIG" && \ 38057 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libbfio >= 20201125\""; } >&5 38058 ($PKG_CONFIG --exists --print-errors "libbfio >= 20201125") 2>&5 38059 ac_status=$? 38060 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 38061 test $ac_status = 0; }; then 38062 pkg_cv_libbfio_CFLAGS=`$PKG_CONFIG --cflags "libbfio >= 20201125" 2>/dev/null` 38063 test "x$?" != "x0" && pkg_failed=yes 38064else 38065 pkg_failed=yes 38066fi 38067 else 38068 pkg_failed=untried 38069fi 38070if test -n "$libbfio_LIBS"; then 38071 pkg_cv_libbfio_LIBS="$libbfio_LIBS" 38072 elif test -n "$PKG_CONFIG"; then 38073 if test -n "$PKG_CONFIG" && \ 38074 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libbfio >= 20201125\""; } >&5 38075 ($PKG_CONFIG --exists --print-errors "libbfio >= 20201125") 2>&5 38076 ac_status=$? 38077 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 38078 test $ac_status = 0; }; then 38079 pkg_cv_libbfio_LIBS=`$PKG_CONFIG --libs "libbfio >= 20201125" 2>/dev/null` 38080 test "x$?" != "x0" && pkg_failed=yes 38081else 38082 pkg_failed=yes 38083fi 38084 else 38085 pkg_failed=untried 38086fi 38087 38088 38089 38090if test $pkg_failed = yes; then 38091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 38092$as_echo "no" >&6; } 38093 38094if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 38095 _pkg_short_errors_supported=yes 38096else 38097 _pkg_short_errors_supported=no 38098fi 38099 if test $_pkg_short_errors_supported = yes; then 38100 libbfio_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libbfio >= 20201125" 2>&1` 38101 else 38102 libbfio_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libbfio >= 20201125" 2>&1` 38103 fi 38104 # Put the nasty error message in config.log where it belongs 38105 echo "$libbfio_PKG_ERRORS" >&5 38106 38107 ac_cv_libbfio=check 38108elif test $pkg_failed = untried; then 38109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 38110$as_echo "no" >&6; } 38111 ac_cv_libbfio=check 38112else 38113 libbfio_CFLAGS=$pkg_cv_libbfio_CFLAGS 38114 libbfio_LIBS=$pkg_cv_libbfio_LIBS 38115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 38116$as_echo "yes" >&6; } 38117 ac_cv_libbfio=yes 38118fi 38119 38120fi 38121 if test "x$ac_cv_libbfio" = xyes && test "x$ac_cv_enable_wide_character_type" != xno; then : 38122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libbfio/features.h defines LIBBFIO_HAVE_WIDE_CHARACTER_TYPE as 1" >&5 38123$as_echo_n "checking whether libbfio/features.h defines LIBBFIO_HAVE_WIDE_CHARACTER_TYPE as 1... " >&6; } 38124if ${ac_cv_header_libbfio_features_h_have_wide_character_type+:} false; then : 38125 $as_echo_n "(cached) " >&6 38126else 38127 ac_ext=c 38128ac_cpp='$CPP $CPPFLAGS' 38129ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 38130ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 38131ac_compiler_gnu=$ac_cv_c_compiler_gnu 38132 38133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38134/* end confdefs.h. */ 38135#include <libbfio/features.h> 38136int 38137main () 38138{ 38139#if !defined( LIBBFIO_HAVE_WIDE_CHARACTER_TYPE ) || ( LIBBFIO_HAVE_WIDE_CHARACTER_TYPE != 1 ) 38140#error LIBBFIO_HAVE_WIDE_CHARACTER_TYPE not defined 38141#endif 38142 ; 38143 return 0; 38144} 38145_ACEOF 38146if ac_fn_c_try_compile "$LINENO"; then : 38147 ac_cv_header_libbfio_features_h_have_wide_character_type=yes 38148else 38149 ac_cv_header_libbfio_features_h_have_wide_character_type=no 38150fi 38151rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 38152 ac_ext=c 38153ac_cpp='$CPP $CPPFLAGS' 38154ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 38155ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 38156ac_compiler_gnu=$ac_cv_c_compiler_gnu 38157 38158fi 38159{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_libbfio_features_h_have_wide_character_type" >&5 38160$as_echo "$ac_cv_header_libbfio_features_h_have_wide_character_type" >&6; } 38161 38162 if test "x$ac_cv_header_libbfio_features_h_have_wide_character_type" = xno; then : 38163 ac_cv_libbfio=no 38164fi 38165 38166fi 38167 if test "x$ac_cv_libbfio" = xyes; then : 38168 ac_cv_libbfio_CPPFLAGS="$pkg_cv_libbfio_CFLAGS" 38169 ac_cv_libbfio_LIBADD="$pkg_cv_libbfio_LIBS" 38170fi 38171 38172fi 38173 38174 if test "x$ac_cv_libbfio" = xcheck; then : 38175 for ac_header in libbfio.h 38176do : 38177 ac_fn_c_check_header_mongrel "$LINENO" "libbfio.h" "ac_cv_header_libbfio_h" "$ac_includes_default" 38178if test "x$ac_cv_header_libbfio_h" = xyes; then : 38179 cat >>confdefs.h <<_ACEOF 38180#define HAVE_LIBBFIO_H 1 38181_ACEOF 38182 38183fi 38184 38185done 38186 38187 38188 if test "x$ac_cv_header_libbfio_h" = xno; then : 38189 ac_cv_libbfio=no 38190else 38191 ac_cv_libbfio=yes 38192 38193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_get_version in -lbfio" >&5 38194$as_echo_n "checking for libbfio_get_version in -lbfio... " >&6; } 38195if ${ac_cv_lib_bfio_libbfio_get_version+:} false; then : 38196 $as_echo_n "(cached) " >&6 38197else 38198 ac_check_lib_save_LIBS=$LIBS 38199LIBS="-lbfio $LIBS" 38200cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38201/* end confdefs.h. */ 38202 38203/* Override any GCC internal prototype to avoid an error. 38204 Use char because int might match the return type of a GCC 38205 builtin and then its argument prototype would still apply. */ 38206#ifdef __cplusplus 38207extern "C" 38208#endif 38209char libbfio_get_version (); 38210int 38211main () 38212{ 38213return libbfio_get_version (); 38214 ; 38215 return 0; 38216} 38217_ACEOF 38218if ac_fn_c_try_link "$LINENO"; then : 38219 ac_cv_lib_bfio_libbfio_get_version=yes 38220else 38221 ac_cv_lib_bfio_libbfio_get_version=no 38222fi 38223rm -f core conftest.err conftest.$ac_objext \ 38224 conftest$ac_exeext conftest.$ac_ext 38225LIBS=$ac_check_lib_save_LIBS 38226fi 38227{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_get_version" >&5 38228$as_echo "$ac_cv_lib_bfio_libbfio_get_version" >&6; } 38229if test "x$ac_cv_lib_bfio_libbfio_get_version" = xyes; then : 38230 ac_cv_libbfio_dummy=yes 38231else 38232 ac_cv_libbfio=no 38233fi 38234 38235 38236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_free in -lbfio" >&5 38237$as_echo_n "checking for libbfio_handle_free in -lbfio... " >&6; } 38238if ${ac_cv_lib_bfio_libbfio_handle_free+:} false; then : 38239 $as_echo_n "(cached) " >&6 38240else 38241 ac_check_lib_save_LIBS=$LIBS 38242LIBS="-lbfio $LIBS" 38243cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38244/* end confdefs.h. */ 38245 38246/* Override any GCC internal prototype to avoid an error. 38247 Use char because int might match the return type of a GCC 38248 builtin and then its argument prototype would still apply. */ 38249#ifdef __cplusplus 38250extern "C" 38251#endif 38252char libbfio_handle_free (); 38253int 38254main () 38255{ 38256return libbfio_handle_free (); 38257 ; 38258 return 0; 38259} 38260_ACEOF 38261if ac_fn_c_try_link "$LINENO"; then : 38262 ac_cv_lib_bfio_libbfio_handle_free=yes 38263else 38264 ac_cv_lib_bfio_libbfio_handle_free=no 38265fi 38266rm -f core conftest.err conftest.$ac_objext \ 38267 conftest$ac_exeext conftest.$ac_ext 38268LIBS=$ac_check_lib_save_LIBS 38269fi 38270{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_free" >&5 38271$as_echo "$ac_cv_lib_bfio_libbfio_handle_free" >&6; } 38272if test "x$ac_cv_lib_bfio_libbfio_handle_free" = xyes; then : 38273 ac_cv_libbfio_dummy=yes 38274else 38275 ac_cv_libbfio=no 38276fi 38277 38278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_open in -lbfio" >&5 38279$as_echo_n "checking for libbfio_handle_open in -lbfio... " >&6; } 38280if ${ac_cv_lib_bfio_libbfio_handle_open+:} false; then : 38281 $as_echo_n "(cached) " >&6 38282else 38283 ac_check_lib_save_LIBS=$LIBS 38284LIBS="-lbfio $LIBS" 38285cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38286/* end confdefs.h. */ 38287 38288/* Override any GCC internal prototype to avoid an error. 38289 Use char because int might match the return type of a GCC 38290 builtin and then its argument prototype would still apply. */ 38291#ifdef __cplusplus 38292extern "C" 38293#endif 38294char libbfio_handle_open (); 38295int 38296main () 38297{ 38298return libbfio_handle_open (); 38299 ; 38300 return 0; 38301} 38302_ACEOF 38303if ac_fn_c_try_link "$LINENO"; then : 38304 ac_cv_lib_bfio_libbfio_handle_open=yes 38305else 38306 ac_cv_lib_bfio_libbfio_handle_open=no 38307fi 38308rm -f core conftest.err conftest.$ac_objext \ 38309 conftest$ac_exeext conftest.$ac_ext 38310LIBS=$ac_check_lib_save_LIBS 38311fi 38312{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_open" >&5 38313$as_echo "$ac_cv_lib_bfio_libbfio_handle_open" >&6; } 38314if test "x$ac_cv_lib_bfio_libbfio_handle_open" = xyes; then : 38315 ac_cv_libbfio_dummy=yes 38316else 38317 ac_cv_libbfio=no 38318fi 38319 38320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_close in -lbfio" >&5 38321$as_echo_n "checking for libbfio_handle_close in -lbfio... " >&6; } 38322if ${ac_cv_lib_bfio_libbfio_handle_close+:} false; then : 38323 $as_echo_n "(cached) " >&6 38324else 38325 ac_check_lib_save_LIBS=$LIBS 38326LIBS="-lbfio $LIBS" 38327cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38328/* end confdefs.h. */ 38329 38330/* Override any GCC internal prototype to avoid an error. 38331 Use char because int might match the return type of a GCC 38332 builtin and then its argument prototype would still apply. */ 38333#ifdef __cplusplus 38334extern "C" 38335#endif 38336char libbfio_handle_close (); 38337int 38338main () 38339{ 38340return libbfio_handle_close (); 38341 ; 38342 return 0; 38343} 38344_ACEOF 38345if ac_fn_c_try_link "$LINENO"; then : 38346 ac_cv_lib_bfio_libbfio_handle_close=yes 38347else 38348 ac_cv_lib_bfio_libbfio_handle_close=no 38349fi 38350rm -f core conftest.err conftest.$ac_objext \ 38351 conftest$ac_exeext conftest.$ac_ext 38352LIBS=$ac_check_lib_save_LIBS 38353fi 38354{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_close" >&5 38355$as_echo "$ac_cv_lib_bfio_libbfio_handle_close" >&6; } 38356if test "x$ac_cv_lib_bfio_libbfio_handle_close" = xyes; then : 38357 ac_cv_libbfio_dummy=yes 38358else 38359 ac_cv_libbfio=no 38360fi 38361 38362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_exists in -lbfio" >&5 38363$as_echo_n "checking for libbfio_handle_exists in -lbfio... " >&6; } 38364if ${ac_cv_lib_bfio_libbfio_handle_exists+:} false; then : 38365 $as_echo_n "(cached) " >&6 38366else 38367 ac_check_lib_save_LIBS=$LIBS 38368LIBS="-lbfio $LIBS" 38369cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38370/* end confdefs.h. */ 38371 38372/* Override any GCC internal prototype to avoid an error. 38373 Use char because int might match the return type of a GCC 38374 builtin and then its argument prototype would still apply. */ 38375#ifdef __cplusplus 38376extern "C" 38377#endif 38378char libbfio_handle_exists (); 38379int 38380main () 38381{ 38382return libbfio_handle_exists (); 38383 ; 38384 return 0; 38385} 38386_ACEOF 38387if ac_fn_c_try_link "$LINENO"; then : 38388 ac_cv_lib_bfio_libbfio_handle_exists=yes 38389else 38390 ac_cv_lib_bfio_libbfio_handle_exists=no 38391fi 38392rm -f core conftest.err conftest.$ac_objext \ 38393 conftest$ac_exeext conftest.$ac_ext 38394LIBS=$ac_check_lib_save_LIBS 38395fi 38396{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_exists" >&5 38397$as_echo "$ac_cv_lib_bfio_libbfio_handle_exists" >&6; } 38398if test "x$ac_cv_lib_bfio_libbfio_handle_exists" = xyes; then : 38399 ac_cv_libbfio_dummy=yes 38400else 38401 ac_cv_libbfio=no 38402fi 38403 38404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_read_buffer in -lbfio" >&5 38405$as_echo_n "checking for libbfio_handle_read_buffer in -lbfio... " >&6; } 38406if ${ac_cv_lib_bfio_libbfio_handle_read_buffer+:} false; then : 38407 $as_echo_n "(cached) " >&6 38408else 38409 ac_check_lib_save_LIBS=$LIBS 38410LIBS="-lbfio $LIBS" 38411cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38412/* end confdefs.h. */ 38413 38414/* Override any GCC internal prototype to avoid an error. 38415 Use char because int might match the return type of a GCC 38416 builtin and then its argument prototype would still apply. */ 38417#ifdef __cplusplus 38418extern "C" 38419#endif 38420char libbfio_handle_read_buffer (); 38421int 38422main () 38423{ 38424return libbfio_handle_read_buffer (); 38425 ; 38426 return 0; 38427} 38428_ACEOF 38429if ac_fn_c_try_link "$LINENO"; then : 38430 ac_cv_lib_bfio_libbfio_handle_read_buffer=yes 38431else 38432 ac_cv_lib_bfio_libbfio_handle_read_buffer=no 38433fi 38434rm -f core conftest.err conftest.$ac_objext \ 38435 conftest$ac_exeext conftest.$ac_ext 38436LIBS=$ac_check_lib_save_LIBS 38437fi 38438{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_read_buffer" >&5 38439$as_echo "$ac_cv_lib_bfio_libbfio_handle_read_buffer" >&6; } 38440if test "x$ac_cv_lib_bfio_libbfio_handle_read_buffer" = xyes; then : 38441 ac_cv_libbfio_dummy=yes 38442else 38443 ac_cv_libbfio=no 38444fi 38445 38446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_read_buffer_at_offset in -lbfio" >&5 38447$as_echo_n "checking for libbfio_handle_read_buffer_at_offset in -lbfio... " >&6; } 38448if ${ac_cv_lib_bfio_libbfio_handle_read_buffer_at_offset+:} false; then : 38449 $as_echo_n "(cached) " >&6 38450else 38451 ac_check_lib_save_LIBS=$LIBS 38452LIBS="-lbfio $LIBS" 38453cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38454/* end confdefs.h. */ 38455 38456/* Override any GCC internal prototype to avoid an error. 38457 Use char because int might match the return type of a GCC 38458 builtin and then its argument prototype would still apply. */ 38459#ifdef __cplusplus 38460extern "C" 38461#endif 38462char libbfio_handle_read_buffer_at_offset (); 38463int 38464main () 38465{ 38466return libbfio_handle_read_buffer_at_offset (); 38467 ; 38468 return 0; 38469} 38470_ACEOF 38471if ac_fn_c_try_link "$LINENO"; then : 38472 ac_cv_lib_bfio_libbfio_handle_read_buffer_at_offset=yes 38473else 38474 ac_cv_lib_bfio_libbfio_handle_read_buffer_at_offset=no 38475fi 38476rm -f core conftest.err conftest.$ac_objext \ 38477 conftest$ac_exeext conftest.$ac_ext 38478LIBS=$ac_check_lib_save_LIBS 38479fi 38480{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_read_buffer_at_offset" >&5 38481$as_echo "$ac_cv_lib_bfio_libbfio_handle_read_buffer_at_offset" >&6; } 38482if test "x$ac_cv_lib_bfio_libbfio_handle_read_buffer_at_offset" = xyes; then : 38483 ac_cv_libbfio_dummy=yes 38484else 38485 ac_cv_libbfio=no 38486fi 38487 38488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_write_buffer in -lbfio" >&5 38489$as_echo_n "checking for libbfio_handle_write_buffer in -lbfio... " >&6; } 38490if ${ac_cv_lib_bfio_libbfio_handle_write_buffer+:} false; then : 38491 $as_echo_n "(cached) " >&6 38492else 38493 ac_check_lib_save_LIBS=$LIBS 38494LIBS="-lbfio $LIBS" 38495cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38496/* end confdefs.h. */ 38497 38498/* Override any GCC internal prototype to avoid an error. 38499 Use char because int might match the return type of a GCC 38500 builtin and then its argument prototype would still apply. */ 38501#ifdef __cplusplus 38502extern "C" 38503#endif 38504char libbfio_handle_write_buffer (); 38505int 38506main () 38507{ 38508return libbfio_handle_write_buffer (); 38509 ; 38510 return 0; 38511} 38512_ACEOF 38513if ac_fn_c_try_link "$LINENO"; then : 38514 ac_cv_lib_bfio_libbfio_handle_write_buffer=yes 38515else 38516 ac_cv_lib_bfio_libbfio_handle_write_buffer=no 38517fi 38518rm -f core conftest.err conftest.$ac_objext \ 38519 conftest$ac_exeext conftest.$ac_ext 38520LIBS=$ac_check_lib_save_LIBS 38521fi 38522{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_write_buffer" >&5 38523$as_echo "$ac_cv_lib_bfio_libbfio_handle_write_buffer" >&6; } 38524if test "x$ac_cv_lib_bfio_libbfio_handle_write_buffer" = xyes; then : 38525 ac_cv_libbfio_dummy=yes 38526else 38527 ac_cv_libbfio=no 38528fi 38529 38530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_write_buffer_at_offset in -lbfio" >&5 38531$as_echo_n "checking for libbfio_handle_write_buffer_at_offset in -lbfio... " >&6; } 38532if ${ac_cv_lib_bfio_libbfio_handle_write_buffer_at_offset+:} false; then : 38533 $as_echo_n "(cached) " >&6 38534else 38535 ac_check_lib_save_LIBS=$LIBS 38536LIBS="-lbfio $LIBS" 38537cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38538/* end confdefs.h. */ 38539 38540/* Override any GCC internal prototype to avoid an error. 38541 Use char because int might match the return type of a GCC 38542 builtin and then its argument prototype would still apply. */ 38543#ifdef __cplusplus 38544extern "C" 38545#endif 38546char libbfio_handle_write_buffer_at_offset (); 38547int 38548main () 38549{ 38550return libbfio_handle_write_buffer_at_offset (); 38551 ; 38552 return 0; 38553} 38554_ACEOF 38555if ac_fn_c_try_link "$LINENO"; then : 38556 ac_cv_lib_bfio_libbfio_handle_write_buffer_at_offset=yes 38557else 38558 ac_cv_lib_bfio_libbfio_handle_write_buffer_at_offset=no 38559fi 38560rm -f core conftest.err conftest.$ac_objext \ 38561 conftest$ac_exeext conftest.$ac_ext 38562LIBS=$ac_check_lib_save_LIBS 38563fi 38564{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_write_buffer_at_offset" >&5 38565$as_echo "$ac_cv_lib_bfio_libbfio_handle_write_buffer_at_offset" >&6; } 38566if test "x$ac_cv_lib_bfio_libbfio_handle_write_buffer_at_offset" = xyes; then : 38567 ac_cv_libbfio_dummy=yes 38568else 38569 ac_cv_libbfio=no 38570fi 38571 38572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_seek_offset in -lbfio" >&5 38573$as_echo_n "checking for libbfio_handle_seek_offset in -lbfio... " >&6; } 38574if ${ac_cv_lib_bfio_libbfio_handle_seek_offset+:} false; then : 38575 $as_echo_n "(cached) " >&6 38576else 38577 ac_check_lib_save_LIBS=$LIBS 38578LIBS="-lbfio $LIBS" 38579cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38580/* end confdefs.h. */ 38581 38582/* Override any GCC internal prototype to avoid an error. 38583 Use char because int might match the return type of a GCC 38584 builtin and then its argument prototype would still apply. */ 38585#ifdef __cplusplus 38586extern "C" 38587#endif 38588char libbfio_handle_seek_offset (); 38589int 38590main () 38591{ 38592return libbfio_handle_seek_offset (); 38593 ; 38594 return 0; 38595} 38596_ACEOF 38597if ac_fn_c_try_link "$LINENO"; then : 38598 ac_cv_lib_bfio_libbfio_handle_seek_offset=yes 38599else 38600 ac_cv_lib_bfio_libbfio_handle_seek_offset=no 38601fi 38602rm -f core conftest.err conftest.$ac_objext \ 38603 conftest$ac_exeext conftest.$ac_ext 38604LIBS=$ac_check_lib_save_LIBS 38605fi 38606{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_seek_offset" >&5 38607$as_echo "$ac_cv_lib_bfio_libbfio_handle_seek_offset" >&6; } 38608if test "x$ac_cv_lib_bfio_libbfio_handle_seek_offset" = xyes; then : 38609 ac_cv_libbfio_dummy=yes 38610else 38611 ac_cv_libbfio=no 38612fi 38613 38614 38615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_is_open in -lbfio" >&5 38616$as_echo_n "checking for libbfio_handle_is_open in -lbfio... " >&6; } 38617if ${ac_cv_lib_bfio_libbfio_handle_is_open+:} false; then : 38618 $as_echo_n "(cached) " >&6 38619else 38620 ac_check_lib_save_LIBS=$LIBS 38621LIBS="-lbfio $LIBS" 38622cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38623/* end confdefs.h. */ 38624 38625/* Override any GCC internal prototype to avoid an error. 38626 Use char because int might match the return type of a GCC 38627 builtin and then its argument prototype would still apply. */ 38628#ifdef __cplusplus 38629extern "C" 38630#endif 38631char libbfio_handle_is_open (); 38632int 38633main () 38634{ 38635return libbfio_handle_is_open (); 38636 ; 38637 return 0; 38638} 38639_ACEOF 38640if ac_fn_c_try_link "$LINENO"; then : 38641 ac_cv_lib_bfio_libbfio_handle_is_open=yes 38642else 38643 ac_cv_lib_bfio_libbfio_handle_is_open=no 38644fi 38645rm -f core conftest.err conftest.$ac_objext \ 38646 conftest$ac_exeext conftest.$ac_ext 38647LIBS=$ac_check_lib_save_LIBS 38648fi 38649{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_is_open" >&5 38650$as_echo "$ac_cv_lib_bfio_libbfio_handle_is_open" >&6; } 38651if test "x$ac_cv_lib_bfio_libbfio_handle_is_open" = xyes; then : 38652 ac_cv_libbfio_dummy=yes 38653else 38654 ac_cv_libbfio=no 38655fi 38656 38657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_get_offset in -lbfio" >&5 38658$as_echo_n "checking for libbfio_handle_get_offset in -lbfio... " >&6; } 38659if ${ac_cv_lib_bfio_libbfio_handle_get_offset+:} false; then : 38660 $as_echo_n "(cached) " >&6 38661else 38662 ac_check_lib_save_LIBS=$LIBS 38663LIBS="-lbfio $LIBS" 38664cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38665/* end confdefs.h. */ 38666 38667/* Override any GCC internal prototype to avoid an error. 38668 Use char because int might match the return type of a GCC 38669 builtin and then its argument prototype would still apply. */ 38670#ifdef __cplusplus 38671extern "C" 38672#endif 38673char libbfio_handle_get_offset (); 38674int 38675main () 38676{ 38677return libbfio_handle_get_offset (); 38678 ; 38679 return 0; 38680} 38681_ACEOF 38682if ac_fn_c_try_link "$LINENO"; then : 38683 ac_cv_lib_bfio_libbfio_handle_get_offset=yes 38684else 38685 ac_cv_lib_bfio_libbfio_handle_get_offset=no 38686fi 38687rm -f core conftest.err conftest.$ac_objext \ 38688 conftest$ac_exeext conftest.$ac_ext 38689LIBS=$ac_check_lib_save_LIBS 38690fi 38691{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_get_offset" >&5 38692$as_echo "$ac_cv_lib_bfio_libbfio_handle_get_offset" >&6; } 38693if test "x$ac_cv_lib_bfio_libbfio_handle_get_offset" = xyes; then : 38694 ac_cv_libbfio_dummy=yes 38695else 38696 ac_cv_libbfio=no 38697fi 38698 38699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_get_size in -lbfio" >&5 38700$as_echo_n "checking for libbfio_handle_get_size in -lbfio... " >&6; } 38701if ${ac_cv_lib_bfio_libbfio_handle_get_size+:} false; then : 38702 $as_echo_n "(cached) " >&6 38703else 38704 ac_check_lib_save_LIBS=$LIBS 38705LIBS="-lbfio $LIBS" 38706cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38707/* end confdefs.h. */ 38708 38709/* Override any GCC internal prototype to avoid an error. 38710 Use char because int might match the return type of a GCC 38711 builtin and then its argument prototype would still apply. */ 38712#ifdef __cplusplus 38713extern "C" 38714#endif 38715char libbfio_handle_get_size (); 38716int 38717main () 38718{ 38719return libbfio_handle_get_size (); 38720 ; 38721 return 0; 38722} 38723_ACEOF 38724if ac_fn_c_try_link "$LINENO"; then : 38725 ac_cv_lib_bfio_libbfio_handle_get_size=yes 38726else 38727 ac_cv_lib_bfio_libbfio_handle_get_size=no 38728fi 38729rm -f core conftest.err conftest.$ac_objext \ 38730 conftest$ac_exeext conftest.$ac_ext 38731LIBS=$ac_check_lib_save_LIBS 38732fi 38733{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_get_size" >&5 38734$as_echo "$ac_cv_lib_bfio_libbfio_handle_get_size" >&6; } 38735if test "x$ac_cv_lib_bfio_libbfio_handle_get_size" = xyes; then : 38736 ac_cv_libbfio_dummy=yes 38737else 38738 ac_cv_libbfio=no 38739fi 38740 38741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_set_track_offsets_read in -lbfio" >&5 38742$as_echo_n "checking for libbfio_handle_set_track_offsets_read in -lbfio... " >&6; } 38743if ${ac_cv_lib_bfio_libbfio_handle_set_track_offsets_read+:} false; then : 38744 $as_echo_n "(cached) " >&6 38745else 38746 ac_check_lib_save_LIBS=$LIBS 38747LIBS="-lbfio $LIBS" 38748cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38749/* end confdefs.h. */ 38750 38751/* Override any GCC internal prototype to avoid an error. 38752 Use char because int might match the return type of a GCC 38753 builtin and then its argument prototype would still apply. */ 38754#ifdef __cplusplus 38755extern "C" 38756#endif 38757char libbfio_handle_set_track_offsets_read (); 38758int 38759main () 38760{ 38761return libbfio_handle_set_track_offsets_read (); 38762 ; 38763 return 0; 38764} 38765_ACEOF 38766if ac_fn_c_try_link "$LINENO"; then : 38767 ac_cv_lib_bfio_libbfio_handle_set_track_offsets_read=yes 38768else 38769 ac_cv_lib_bfio_libbfio_handle_set_track_offsets_read=no 38770fi 38771rm -f core conftest.err conftest.$ac_objext \ 38772 conftest$ac_exeext conftest.$ac_ext 38773LIBS=$ac_check_lib_save_LIBS 38774fi 38775{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_set_track_offsets_read" >&5 38776$as_echo "$ac_cv_lib_bfio_libbfio_handle_set_track_offsets_read" >&6; } 38777if test "x$ac_cv_lib_bfio_libbfio_handle_set_track_offsets_read" = xyes; then : 38778 ac_cv_libbfio_dummy=yes 38779else 38780 ac_cv_libbfio=no 38781fi 38782 38783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_get_number_of_offsets_read in -lbfio" >&5 38784$as_echo_n "checking for libbfio_handle_get_number_of_offsets_read in -lbfio... " >&6; } 38785if ${ac_cv_lib_bfio_libbfio_handle_get_number_of_offsets_read+:} false; then : 38786 $as_echo_n "(cached) " >&6 38787else 38788 ac_check_lib_save_LIBS=$LIBS 38789LIBS="-lbfio $LIBS" 38790cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38791/* end confdefs.h. */ 38792 38793/* Override any GCC internal prototype to avoid an error. 38794 Use char because int might match the return type of a GCC 38795 builtin and then its argument prototype would still apply. */ 38796#ifdef __cplusplus 38797extern "C" 38798#endif 38799char libbfio_handle_get_number_of_offsets_read (); 38800int 38801main () 38802{ 38803return libbfio_handle_get_number_of_offsets_read (); 38804 ; 38805 return 0; 38806} 38807_ACEOF 38808if ac_fn_c_try_link "$LINENO"; then : 38809 ac_cv_lib_bfio_libbfio_handle_get_number_of_offsets_read=yes 38810else 38811 ac_cv_lib_bfio_libbfio_handle_get_number_of_offsets_read=no 38812fi 38813rm -f core conftest.err conftest.$ac_objext \ 38814 conftest$ac_exeext conftest.$ac_ext 38815LIBS=$ac_check_lib_save_LIBS 38816fi 38817{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_get_number_of_offsets_read" >&5 38818$as_echo "$ac_cv_lib_bfio_libbfio_handle_get_number_of_offsets_read" >&6; } 38819if test "x$ac_cv_lib_bfio_libbfio_handle_get_number_of_offsets_read" = xyes; then : 38820 ac_cv_libbfio_dummy=yes 38821else 38822 ac_cv_libbfio=no 38823fi 38824 38825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_get_offset_read in -lbfio" >&5 38826$as_echo_n "checking for libbfio_handle_get_offset_read in -lbfio... " >&6; } 38827if ${ac_cv_lib_bfio_libbfio_handle_get_offset_read+:} false; then : 38828 $as_echo_n "(cached) " >&6 38829else 38830 ac_check_lib_save_LIBS=$LIBS 38831LIBS="-lbfio $LIBS" 38832cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38833/* end confdefs.h. */ 38834 38835/* Override any GCC internal prototype to avoid an error. 38836 Use char because int might match the return type of a GCC 38837 builtin and then its argument prototype would still apply. */ 38838#ifdef __cplusplus 38839extern "C" 38840#endif 38841char libbfio_handle_get_offset_read (); 38842int 38843main () 38844{ 38845return libbfio_handle_get_offset_read (); 38846 ; 38847 return 0; 38848} 38849_ACEOF 38850if ac_fn_c_try_link "$LINENO"; then : 38851 ac_cv_lib_bfio_libbfio_handle_get_offset_read=yes 38852else 38853 ac_cv_lib_bfio_libbfio_handle_get_offset_read=no 38854fi 38855rm -f core conftest.err conftest.$ac_objext \ 38856 conftest$ac_exeext conftest.$ac_ext 38857LIBS=$ac_check_lib_save_LIBS 38858fi 38859{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_get_offset_read" >&5 38860$as_echo "$ac_cv_lib_bfio_libbfio_handle_get_offset_read" >&6; } 38861if test "x$ac_cv_lib_bfio_libbfio_handle_get_offset_read" = xyes; then : 38862 ac_cv_libbfio_dummy=yes 38863else 38864 ac_cv_libbfio=no 38865fi 38866 38867 38868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_initialize in -lbfio" >&5 38869$as_echo_n "checking for libbfio_file_initialize in -lbfio... " >&6; } 38870if ${ac_cv_lib_bfio_libbfio_file_initialize+:} false; then : 38871 $as_echo_n "(cached) " >&6 38872else 38873 ac_check_lib_save_LIBS=$LIBS 38874LIBS="-lbfio $LIBS" 38875cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38876/* end confdefs.h. */ 38877 38878/* Override any GCC internal prototype to avoid an error. 38879 Use char because int might match the return type of a GCC 38880 builtin and then its argument prototype would still apply. */ 38881#ifdef __cplusplus 38882extern "C" 38883#endif 38884char libbfio_file_initialize (); 38885int 38886main () 38887{ 38888return libbfio_file_initialize (); 38889 ; 38890 return 0; 38891} 38892_ACEOF 38893if ac_fn_c_try_link "$LINENO"; then : 38894 ac_cv_lib_bfio_libbfio_file_initialize=yes 38895else 38896 ac_cv_lib_bfio_libbfio_file_initialize=no 38897fi 38898rm -f core conftest.err conftest.$ac_objext \ 38899 conftest$ac_exeext conftest.$ac_ext 38900LIBS=$ac_check_lib_save_LIBS 38901fi 38902{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_initialize" >&5 38903$as_echo "$ac_cv_lib_bfio_libbfio_file_initialize" >&6; } 38904if test "x$ac_cv_lib_bfio_libbfio_file_initialize" = xyes; then : 38905 ac_cv_libbfio_dummy=yes 38906else 38907 ac_cv_libbfio=no 38908fi 38909 38910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_get_name_size in -lbfio" >&5 38911$as_echo_n "checking for libbfio_file_get_name_size in -lbfio... " >&6; } 38912if ${ac_cv_lib_bfio_libbfio_file_get_name_size+:} false; then : 38913 $as_echo_n "(cached) " >&6 38914else 38915 ac_check_lib_save_LIBS=$LIBS 38916LIBS="-lbfio $LIBS" 38917cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38918/* end confdefs.h. */ 38919 38920/* Override any GCC internal prototype to avoid an error. 38921 Use char because int might match the return type of a GCC 38922 builtin and then its argument prototype would still apply. */ 38923#ifdef __cplusplus 38924extern "C" 38925#endif 38926char libbfio_file_get_name_size (); 38927int 38928main () 38929{ 38930return libbfio_file_get_name_size (); 38931 ; 38932 return 0; 38933} 38934_ACEOF 38935if ac_fn_c_try_link "$LINENO"; then : 38936 ac_cv_lib_bfio_libbfio_file_get_name_size=yes 38937else 38938 ac_cv_lib_bfio_libbfio_file_get_name_size=no 38939fi 38940rm -f core conftest.err conftest.$ac_objext \ 38941 conftest$ac_exeext conftest.$ac_ext 38942LIBS=$ac_check_lib_save_LIBS 38943fi 38944{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_get_name_size" >&5 38945$as_echo "$ac_cv_lib_bfio_libbfio_file_get_name_size" >&6; } 38946if test "x$ac_cv_lib_bfio_libbfio_file_get_name_size" = xyes; then : 38947 ac_cv_libbfio_dummy=yes 38948else 38949 ac_cv_libbfio=no 38950fi 38951 38952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_get_name in -lbfio" >&5 38953$as_echo_n "checking for libbfio_file_get_name in -lbfio... " >&6; } 38954if ${ac_cv_lib_bfio_libbfio_file_get_name+:} false; then : 38955 $as_echo_n "(cached) " >&6 38956else 38957 ac_check_lib_save_LIBS=$LIBS 38958LIBS="-lbfio $LIBS" 38959cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38960/* end confdefs.h. */ 38961 38962/* Override any GCC internal prototype to avoid an error. 38963 Use char because int might match the return type of a GCC 38964 builtin and then its argument prototype would still apply. */ 38965#ifdef __cplusplus 38966extern "C" 38967#endif 38968char libbfio_file_get_name (); 38969int 38970main () 38971{ 38972return libbfio_file_get_name (); 38973 ; 38974 return 0; 38975} 38976_ACEOF 38977if ac_fn_c_try_link "$LINENO"; then : 38978 ac_cv_lib_bfio_libbfio_file_get_name=yes 38979else 38980 ac_cv_lib_bfio_libbfio_file_get_name=no 38981fi 38982rm -f core conftest.err conftest.$ac_objext \ 38983 conftest$ac_exeext conftest.$ac_ext 38984LIBS=$ac_check_lib_save_LIBS 38985fi 38986{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_get_name" >&5 38987$as_echo "$ac_cv_lib_bfio_libbfio_file_get_name" >&6; } 38988if test "x$ac_cv_lib_bfio_libbfio_file_get_name" = xyes; then : 38989 ac_cv_libbfio_dummy=yes 38990else 38991 ac_cv_libbfio=no 38992fi 38993 38994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_set_name in -lbfio" >&5 38995$as_echo_n "checking for libbfio_file_set_name in -lbfio... " >&6; } 38996if ${ac_cv_lib_bfio_libbfio_file_set_name+:} false; then : 38997 $as_echo_n "(cached) " >&6 38998else 38999 ac_check_lib_save_LIBS=$LIBS 39000LIBS="-lbfio $LIBS" 39001cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39002/* end confdefs.h. */ 39003 39004/* Override any GCC internal prototype to avoid an error. 39005 Use char because int might match the return type of a GCC 39006 builtin and then its argument prototype would still apply. */ 39007#ifdef __cplusplus 39008extern "C" 39009#endif 39010char libbfio_file_set_name (); 39011int 39012main () 39013{ 39014return libbfio_file_set_name (); 39015 ; 39016 return 0; 39017} 39018_ACEOF 39019if ac_fn_c_try_link "$LINENO"; then : 39020 ac_cv_lib_bfio_libbfio_file_set_name=yes 39021else 39022 ac_cv_lib_bfio_libbfio_file_set_name=no 39023fi 39024rm -f core conftest.err conftest.$ac_objext \ 39025 conftest$ac_exeext conftest.$ac_ext 39026LIBS=$ac_check_lib_save_LIBS 39027fi 39028{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_set_name" >&5 39029$as_echo "$ac_cv_lib_bfio_libbfio_file_set_name" >&6; } 39030if test "x$ac_cv_lib_bfio_libbfio_file_set_name" = xyes; then : 39031 ac_cv_libbfio_dummy=yes 39032else 39033 ac_cv_libbfio=no 39034fi 39035 39036 39037 if test "x$ac_cv_enable_wide_character_type" != xno; then : 39038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_get_name_size_wide in -lbfio" >&5 39039$as_echo_n "checking for libbfio_file_get_name_size_wide in -lbfio... " >&6; } 39040if ${ac_cv_lib_bfio_libbfio_file_get_name_size_wide+:} false; then : 39041 $as_echo_n "(cached) " >&6 39042else 39043 ac_check_lib_save_LIBS=$LIBS 39044LIBS="-lbfio $LIBS" 39045cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39046/* end confdefs.h. */ 39047 39048/* Override any GCC internal prototype to avoid an error. 39049 Use char because int might match the return type of a GCC 39050 builtin and then its argument prototype would still apply. */ 39051#ifdef __cplusplus 39052extern "C" 39053#endif 39054char libbfio_file_get_name_size_wide (); 39055int 39056main () 39057{ 39058return libbfio_file_get_name_size_wide (); 39059 ; 39060 return 0; 39061} 39062_ACEOF 39063if ac_fn_c_try_link "$LINENO"; then : 39064 ac_cv_lib_bfio_libbfio_file_get_name_size_wide=yes 39065else 39066 ac_cv_lib_bfio_libbfio_file_get_name_size_wide=no 39067fi 39068rm -f core conftest.err conftest.$ac_objext \ 39069 conftest$ac_exeext conftest.$ac_ext 39070LIBS=$ac_check_lib_save_LIBS 39071fi 39072{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_get_name_size_wide" >&5 39073$as_echo "$ac_cv_lib_bfio_libbfio_file_get_name_size_wide" >&6; } 39074if test "x$ac_cv_lib_bfio_libbfio_file_get_name_size_wide" = xyes; then : 39075 ac_cv_libbfio_dummy=yes 39076else 39077 ac_cv_libbfio=no 39078fi 39079 39080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_get_name_wide in -lbfio" >&5 39081$as_echo_n "checking for libbfio_file_get_name_wide in -lbfio... " >&6; } 39082if ${ac_cv_lib_bfio_libbfio_file_get_name_wide+:} false; then : 39083 $as_echo_n "(cached) " >&6 39084else 39085 ac_check_lib_save_LIBS=$LIBS 39086LIBS="-lbfio $LIBS" 39087cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39088/* end confdefs.h. */ 39089 39090/* Override any GCC internal prototype to avoid an error. 39091 Use char because int might match the return type of a GCC 39092 builtin and then its argument prototype would still apply. */ 39093#ifdef __cplusplus 39094extern "C" 39095#endif 39096char libbfio_file_get_name_wide (); 39097int 39098main () 39099{ 39100return libbfio_file_get_name_wide (); 39101 ; 39102 return 0; 39103} 39104_ACEOF 39105if ac_fn_c_try_link "$LINENO"; then : 39106 ac_cv_lib_bfio_libbfio_file_get_name_wide=yes 39107else 39108 ac_cv_lib_bfio_libbfio_file_get_name_wide=no 39109fi 39110rm -f core conftest.err conftest.$ac_objext \ 39111 conftest$ac_exeext conftest.$ac_ext 39112LIBS=$ac_check_lib_save_LIBS 39113fi 39114{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_get_name_wide" >&5 39115$as_echo "$ac_cv_lib_bfio_libbfio_file_get_name_wide" >&6; } 39116if test "x$ac_cv_lib_bfio_libbfio_file_get_name_wide" = xyes; then : 39117 ac_cv_libbfio_dummy=yes 39118else 39119 ac_cv_libbfio=no 39120fi 39121 39122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_set_name_wide in -lbfio" >&5 39123$as_echo_n "checking for libbfio_file_set_name_wide in -lbfio... " >&6; } 39124if ${ac_cv_lib_bfio_libbfio_file_set_name_wide+:} false; then : 39125 $as_echo_n "(cached) " >&6 39126else 39127 ac_check_lib_save_LIBS=$LIBS 39128LIBS="-lbfio $LIBS" 39129cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39130/* end confdefs.h. */ 39131 39132/* Override any GCC internal prototype to avoid an error. 39133 Use char because int might match the return type of a GCC 39134 builtin and then its argument prototype would still apply. */ 39135#ifdef __cplusplus 39136extern "C" 39137#endif 39138char libbfio_file_set_name_wide (); 39139int 39140main () 39141{ 39142return libbfio_file_set_name_wide (); 39143 ; 39144 return 0; 39145} 39146_ACEOF 39147if ac_fn_c_try_link "$LINENO"; then : 39148 ac_cv_lib_bfio_libbfio_file_set_name_wide=yes 39149else 39150 ac_cv_lib_bfio_libbfio_file_set_name_wide=no 39151fi 39152rm -f core conftest.err conftest.$ac_objext \ 39153 conftest$ac_exeext conftest.$ac_ext 39154LIBS=$ac_check_lib_save_LIBS 39155fi 39156{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_set_name_wide" >&5 39157$as_echo "$ac_cv_lib_bfio_libbfio_file_set_name_wide" >&6; } 39158if test "x$ac_cv_lib_bfio_libbfio_file_set_name_wide" = xyes; then : 39159 ac_cv_libbfio_dummy=yes 39160else 39161 ac_cv_libbfio=no 39162fi 39163 39164 39165fi 39166 39167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_initialize in -lbfio" >&5 39168$as_echo_n "checking for libbfio_pool_initialize in -lbfio... " >&6; } 39169if ${ac_cv_lib_bfio_libbfio_pool_initialize+:} false; then : 39170 $as_echo_n "(cached) " >&6 39171else 39172 ac_check_lib_save_LIBS=$LIBS 39173LIBS="-lbfio $LIBS" 39174cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39175/* end confdefs.h. */ 39176 39177/* Override any GCC internal prototype to avoid an error. 39178 Use char because int might match the return type of a GCC 39179 builtin and then its argument prototype would still apply. */ 39180#ifdef __cplusplus 39181extern "C" 39182#endif 39183char libbfio_pool_initialize (); 39184int 39185main () 39186{ 39187return libbfio_pool_initialize (); 39188 ; 39189 return 0; 39190} 39191_ACEOF 39192if ac_fn_c_try_link "$LINENO"; then : 39193 ac_cv_lib_bfio_libbfio_pool_initialize=yes 39194else 39195 ac_cv_lib_bfio_libbfio_pool_initialize=no 39196fi 39197rm -f core conftest.err conftest.$ac_objext \ 39198 conftest$ac_exeext conftest.$ac_ext 39199LIBS=$ac_check_lib_save_LIBS 39200fi 39201{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_initialize" >&5 39202$as_echo "$ac_cv_lib_bfio_libbfio_pool_initialize" >&6; } 39203if test "x$ac_cv_lib_bfio_libbfio_pool_initialize" = xyes; then : 39204 ac_cv_libbfio_dummy=yes 39205else 39206 ac_cv_libbfio=no 39207fi 39208 39209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_free in -lbfio" >&5 39210$as_echo_n "checking for libbfio_pool_free in -lbfio... " >&6; } 39211if ${ac_cv_lib_bfio_libbfio_pool_free+:} false; then : 39212 $as_echo_n "(cached) " >&6 39213else 39214 ac_check_lib_save_LIBS=$LIBS 39215LIBS="-lbfio $LIBS" 39216cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39217/* end confdefs.h. */ 39218 39219/* Override any GCC internal prototype to avoid an error. 39220 Use char because int might match the return type of a GCC 39221 builtin and then its argument prototype would still apply. */ 39222#ifdef __cplusplus 39223extern "C" 39224#endif 39225char libbfio_pool_free (); 39226int 39227main () 39228{ 39229return libbfio_pool_free (); 39230 ; 39231 return 0; 39232} 39233_ACEOF 39234if ac_fn_c_try_link "$LINENO"; then : 39235 ac_cv_lib_bfio_libbfio_pool_free=yes 39236else 39237 ac_cv_lib_bfio_libbfio_pool_free=no 39238fi 39239rm -f core conftest.err conftest.$ac_objext \ 39240 conftest$ac_exeext conftest.$ac_ext 39241LIBS=$ac_check_lib_save_LIBS 39242fi 39243{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_free" >&5 39244$as_echo "$ac_cv_lib_bfio_libbfio_pool_free" >&6; } 39245if test "x$ac_cv_lib_bfio_libbfio_pool_free" = xyes; then : 39246 ac_cv_libbfio_dummy=yes 39247else 39248 ac_cv_libbfio=no 39249fi 39250 39251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_clone in -lbfio" >&5 39252$as_echo_n "checking for libbfio_pool_clone in -lbfio... " >&6; } 39253if ${ac_cv_lib_bfio_libbfio_pool_clone+:} false; then : 39254 $as_echo_n "(cached) " >&6 39255else 39256 ac_check_lib_save_LIBS=$LIBS 39257LIBS="-lbfio $LIBS" 39258cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39259/* end confdefs.h. */ 39260 39261/* Override any GCC internal prototype to avoid an error. 39262 Use char because int might match the return type of a GCC 39263 builtin and then its argument prototype would still apply. */ 39264#ifdef __cplusplus 39265extern "C" 39266#endif 39267char libbfio_pool_clone (); 39268int 39269main () 39270{ 39271return libbfio_pool_clone (); 39272 ; 39273 return 0; 39274} 39275_ACEOF 39276if ac_fn_c_try_link "$LINENO"; then : 39277 ac_cv_lib_bfio_libbfio_pool_clone=yes 39278else 39279 ac_cv_lib_bfio_libbfio_pool_clone=no 39280fi 39281rm -f core conftest.err conftest.$ac_objext \ 39282 conftest$ac_exeext conftest.$ac_ext 39283LIBS=$ac_check_lib_save_LIBS 39284fi 39285{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_clone" >&5 39286$as_echo "$ac_cv_lib_bfio_libbfio_pool_clone" >&6; } 39287if test "x$ac_cv_lib_bfio_libbfio_pool_clone" = xyes; then : 39288 ac_cv_libbfio_dummy=yes 39289else 39290 ac_cv_libbfio=no 39291fi 39292 39293 39294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_get_number_of_handles in -lbfio" >&5 39295$as_echo_n "checking for libbfio_pool_get_number_of_handles in -lbfio... " >&6; } 39296if ${ac_cv_lib_bfio_libbfio_pool_get_number_of_handles+:} false; then : 39297 $as_echo_n "(cached) " >&6 39298else 39299 ac_check_lib_save_LIBS=$LIBS 39300LIBS="-lbfio $LIBS" 39301cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39302/* end confdefs.h. */ 39303 39304/* Override any GCC internal prototype to avoid an error. 39305 Use char because int might match the return type of a GCC 39306 builtin and then its argument prototype would still apply. */ 39307#ifdef __cplusplus 39308extern "C" 39309#endif 39310char libbfio_pool_get_number_of_handles (); 39311int 39312main () 39313{ 39314return libbfio_pool_get_number_of_handles (); 39315 ; 39316 return 0; 39317} 39318_ACEOF 39319if ac_fn_c_try_link "$LINENO"; then : 39320 ac_cv_lib_bfio_libbfio_pool_get_number_of_handles=yes 39321else 39322 ac_cv_lib_bfio_libbfio_pool_get_number_of_handles=no 39323fi 39324rm -f core conftest.err conftest.$ac_objext \ 39325 conftest$ac_exeext conftest.$ac_ext 39326LIBS=$ac_check_lib_save_LIBS 39327fi 39328{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_get_number_of_handles" >&5 39329$as_echo "$ac_cv_lib_bfio_libbfio_pool_get_number_of_handles" >&6; } 39330if test "x$ac_cv_lib_bfio_libbfio_pool_get_number_of_handles" = xyes; then : 39331 ac_cv_libbfio_dummy=yes 39332else 39333 ac_cv_libbfio=no 39334fi 39335 39336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_get_handle in -lbfio" >&5 39337$as_echo_n "checking for libbfio_pool_get_handle in -lbfio... " >&6; } 39338if ${ac_cv_lib_bfio_libbfio_pool_get_handle+:} false; then : 39339 $as_echo_n "(cached) " >&6 39340else 39341 ac_check_lib_save_LIBS=$LIBS 39342LIBS="-lbfio $LIBS" 39343cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39344/* end confdefs.h. */ 39345 39346/* Override any GCC internal prototype to avoid an error. 39347 Use char because int might match the return type of a GCC 39348 builtin and then its argument prototype would still apply. */ 39349#ifdef __cplusplus 39350extern "C" 39351#endif 39352char libbfio_pool_get_handle (); 39353int 39354main () 39355{ 39356return libbfio_pool_get_handle (); 39357 ; 39358 return 0; 39359} 39360_ACEOF 39361if ac_fn_c_try_link "$LINENO"; then : 39362 ac_cv_lib_bfio_libbfio_pool_get_handle=yes 39363else 39364 ac_cv_lib_bfio_libbfio_pool_get_handle=no 39365fi 39366rm -f core conftest.err conftest.$ac_objext \ 39367 conftest$ac_exeext conftest.$ac_ext 39368LIBS=$ac_check_lib_save_LIBS 39369fi 39370{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_get_handle" >&5 39371$as_echo "$ac_cv_lib_bfio_libbfio_pool_get_handle" >&6; } 39372if test "x$ac_cv_lib_bfio_libbfio_pool_get_handle" = xyes; then : 39373 ac_cv_libbfio_dummy=yes 39374else 39375 ac_cv_libbfio=no 39376fi 39377 39378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_set_handle in -lbfio" >&5 39379$as_echo_n "checking for libbfio_pool_set_handle in -lbfio... " >&6; } 39380if ${ac_cv_lib_bfio_libbfio_pool_set_handle+:} false; then : 39381 $as_echo_n "(cached) " >&6 39382else 39383 ac_check_lib_save_LIBS=$LIBS 39384LIBS="-lbfio $LIBS" 39385cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39386/* end confdefs.h. */ 39387 39388/* Override any GCC internal prototype to avoid an error. 39389 Use char because int might match the return type of a GCC 39390 builtin and then its argument prototype would still apply. */ 39391#ifdef __cplusplus 39392extern "C" 39393#endif 39394char libbfio_pool_set_handle (); 39395int 39396main () 39397{ 39398return libbfio_pool_set_handle (); 39399 ; 39400 return 0; 39401} 39402_ACEOF 39403if ac_fn_c_try_link "$LINENO"; then : 39404 ac_cv_lib_bfio_libbfio_pool_set_handle=yes 39405else 39406 ac_cv_lib_bfio_libbfio_pool_set_handle=no 39407fi 39408rm -f core conftest.err conftest.$ac_objext \ 39409 conftest$ac_exeext conftest.$ac_ext 39410LIBS=$ac_check_lib_save_LIBS 39411fi 39412{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_set_handle" >&5 39413$as_echo "$ac_cv_lib_bfio_libbfio_pool_set_handle" >&6; } 39414if test "x$ac_cv_lib_bfio_libbfio_pool_set_handle" = xyes; then : 39415 ac_cv_libbfio_dummy=yes 39416else 39417 ac_cv_libbfio=no 39418fi 39419 39420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_append_handle in -lbfio" >&5 39421$as_echo_n "checking for libbfio_pool_append_handle in -lbfio... " >&6; } 39422if ${ac_cv_lib_bfio_libbfio_pool_append_handle+:} false; then : 39423 $as_echo_n "(cached) " >&6 39424else 39425 ac_check_lib_save_LIBS=$LIBS 39426LIBS="-lbfio $LIBS" 39427cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39428/* end confdefs.h. */ 39429 39430/* Override any GCC internal prototype to avoid an error. 39431 Use char because int might match the return type of a GCC 39432 builtin and then its argument prototype would still apply. */ 39433#ifdef __cplusplus 39434extern "C" 39435#endif 39436char libbfio_pool_append_handle (); 39437int 39438main () 39439{ 39440return libbfio_pool_append_handle (); 39441 ; 39442 return 0; 39443} 39444_ACEOF 39445if ac_fn_c_try_link "$LINENO"; then : 39446 ac_cv_lib_bfio_libbfio_pool_append_handle=yes 39447else 39448 ac_cv_lib_bfio_libbfio_pool_append_handle=no 39449fi 39450rm -f core conftest.err conftest.$ac_objext \ 39451 conftest$ac_exeext conftest.$ac_ext 39452LIBS=$ac_check_lib_save_LIBS 39453fi 39454{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_append_handle" >&5 39455$as_echo "$ac_cv_lib_bfio_libbfio_pool_append_handle" >&6; } 39456if test "x$ac_cv_lib_bfio_libbfio_pool_append_handle" = xyes; then : 39457 ac_cv_libbfio_dummy=yes 39458else 39459 ac_cv_libbfio=no 39460fi 39461 39462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_remove_handle in -lbfio" >&5 39463$as_echo_n "checking for libbfio_pool_remove_handle in -lbfio... " >&6; } 39464if ${ac_cv_lib_bfio_libbfio_pool_remove_handle+:} false; then : 39465 $as_echo_n "(cached) " >&6 39466else 39467 ac_check_lib_save_LIBS=$LIBS 39468LIBS="-lbfio $LIBS" 39469cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39470/* end confdefs.h. */ 39471 39472/* Override any GCC internal prototype to avoid an error. 39473 Use char because int might match the return type of a GCC 39474 builtin and then its argument prototype would still apply. */ 39475#ifdef __cplusplus 39476extern "C" 39477#endif 39478char libbfio_pool_remove_handle (); 39479int 39480main () 39481{ 39482return libbfio_pool_remove_handle (); 39483 ; 39484 return 0; 39485} 39486_ACEOF 39487if ac_fn_c_try_link "$LINENO"; then : 39488 ac_cv_lib_bfio_libbfio_pool_remove_handle=yes 39489else 39490 ac_cv_lib_bfio_libbfio_pool_remove_handle=no 39491fi 39492rm -f core conftest.err conftest.$ac_objext \ 39493 conftest$ac_exeext conftest.$ac_ext 39494LIBS=$ac_check_lib_save_LIBS 39495fi 39496{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_remove_handle" >&5 39497$as_echo "$ac_cv_lib_bfio_libbfio_pool_remove_handle" >&6; } 39498if test "x$ac_cv_lib_bfio_libbfio_pool_remove_handle" = xyes; then : 39499 ac_cv_libbfio_dummy=yes 39500else 39501 ac_cv_libbfio=no 39502fi 39503 39504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_get_maximum_number_of_open_handles in -lbfio" >&5 39505$as_echo_n "checking for libbfio_pool_get_maximum_number_of_open_handles in -lbfio... " >&6; } 39506if ${ac_cv_lib_bfio_libbfio_pool_get_maximum_number_of_open_handles+:} false; then : 39507 $as_echo_n "(cached) " >&6 39508else 39509 ac_check_lib_save_LIBS=$LIBS 39510LIBS="-lbfio $LIBS" 39511cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39512/* end confdefs.h. */ 39513 39514/* Override any GCC internal prototype to avoid an error. 39515 Use char because int might match the return type of a GCC 39516 builtin and then its argument prototype would still apply. */ 39517#ifdef __cplusplus 39518extern "C" 39519#endif 39520char libbfio_pool_get_maximum_number_of_open_handles (); 39521int 39522main () 39523{ 39524return libbfio_pool_get_maximum_number_of_open_handles (); 39525 ; 39526 return 0; 39527} 39528_ACEOF 39529if ac_fn_c_try_link "$LINENO"; then : 39530 ac_cv_lib_bfio_libbfio_pool_get_maximum_number_of_open_handles=yes 39531else 39532 ac_cv_lib_bfio_libbfio_pool_get_maximum_number_of_open_handles=no 39533fi 39534rm -f core conftest.err conftest.$ac_objext \ 39535 conftest$ac_exeext conftest.$ac_ext 39536LIBS=$ac_check_lib_save_LIBS 39537fi 39538{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_get_maximum_number_of_open_handles" >&5 39539$as_echo "$ac_cv_lib_bfio_libbfio_pool_get_maximum_number_of_open_handles" >&6; } 39540if test "x$ac_cv_lib_bfio_libbfio_pool_get_maximum_number_of_open_handles" = xyes; then : 39541 ac_cv_libbfio_dummy=yes 39542else 39543 ac_cv_libbfio=no 39544fi 39545 39546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_set_maximum_number_of_open_handles in -lbfio" >&5 39547$as_echo_n "checking for libbfio_pool_set_maximum_number_of_open_handles in -lbfio... " >&6; } 39548if ${ac_cv_lib_bfio_libbfio_pool_set_maximum_number_of_open_handles+:} false; then : 39549 $as_echo_n "(cached) " >&6 39550else 39551 ac_check_lib_save_LIBS=$LIBS 39552LIBS="-lbfio $LIBS" 39553cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39554/* end confdefs.h. */ 39555 39556/* Override any GCC internal prototype to avoid an error. 39557 Use char because int might match the return type of a GCC 39558 builtin and then its argument prototype would still apply. */ 39559#ifdef __cplusplus 39560extern "C" 39561#endif 39562char libbfio_pool_set_maximum_number_of_open_handles (); 39563int 39564main () 39565{ 39566return libbfio_pool_set_maximum_number_of_open_handles (); 39567 ; 39568 return 0; 39569} 39570_ACEOF 39571if ac_fn_c_try_link "$LINENO"; then : 39572 ac_cv_lib_bfio_libbfio_pool_set_maximum_number_of_open_handles=yes 39573else 39574 ac_cv_lib_bfio_libbfio_pool_set_maximum_number_of_open_handles=no 39575fi 39576rm -f core conftest.err conftest.$ac_objext \ 39577 conftest$ac_exeext conftest.$ac_ext 39578LIBS=$ac_check_lib_save_LIBS 39579fi 39580{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_set_maximum_number_of_open_handles" >&5 39581$as_echo "$ac_cv_lib_bfio_libbfio_pool_set_maximum_number_of_open_handles" >&6; } 39582if test "x$ac_cv_lib_bfio_libbfio_pool_set_maximum_number_of_open_handles" = xyes; then : 39583 ac_cv_libbfio_dummy=yes 39584else 39585 ac_cv_libbfio=no 39586fi 39587 39588 39589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_open in -lbfio" >&5 39590$as_echo_n "checking for libbfio_pool_open in -lbfio... " >&6; } 39591if ${ac_cv_lib_bfio_libbfio_pool_open+:} false; then : 39592 $as_echo_n "(cached) " >&6 39593else 39594 ac_check_lib_save_LIBS=$LIBS 39595LIBS="-lbfio $LIBS" 39596cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39597/* end confdefs.h. */ 39598 39599/* Override any GCC internal prototype to avoid an error. 39600 Use char because int might match the return type of a GCC 39601 builtin and then its argument prototype would still apply. */ 39602#ifdef __cplusplus 39603extern "C" 39604#endif 39605char libbfio_pool_open (); 39606int 39607main () 39608{ 39609return libbfio_pool_open (); 39610 ; 39611 return 0; 39612} 39613_ACEOF 39614if ac_fn_c_try_link "$LINENO"; then : 39615 ac_cv_lib_bfio_libbfio_pool_open=yes 39616else 39617 ac_cv_lib_bfio_libbfio_pool_open=no 39618fi 39619rm -f core conftest.err conftest.$ac_objext \ 39620 conftest$ac_exeext conftest.$ac_ext 39621LIBS=$ac_check_lib_save_LIBS 39622fi 39623{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_open" >&5 39624$as_echo "$ac_cv_lib_bfio_libbfio_pool_open" >&6; } 39625if test "x$ac_cv_lib_bfio_libbfio_pool_open" = xyes; then : 39626 ac_cv_libbfio_dummy=yes 39627else 39628 ac_cv_libbfio=no 39629fi 39630 39631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_reopen in -lbfio" >&5 39632$as_echo_n "checking for libbfio_pool_reopen in -lbfio... " >&6; } 39633if ${ac_cv_lib_bfio_libbfio_pool_reopen+:} false; then : 39634 $as_echo_n "(cached) " >&6 39635else 39636 ac_check_lib_save_LIBS=$LIBS 39637LIBS="-lbfio $LIBS" 39638cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39639/* end confdefs.h. */ 39640 39641/* Override any GCC internal prototype to avoid an error. 39642 Use char because int might match the return type of a GCC 39643 builtin and then its argument prototype would still apply. */ 39644#ifdef __cplusplus 39645extern "C" 39646#endif 39647char libbfio_pool_reopen (); 39648int 39649main () 39650{ 39651return libbfio_pool_reopen (); 39652 ; 39653 return 0; 39654} 39655_ACEOF 39656if ac_fn_c_try_link "$LINENO"; then : 39657 ac_cv_lib_bfio_libbfio_pool_reopen=yes 39658else 39659 ac_cv_lib_bfio_libbfio_pool_reopen=no 39660fi 39661rm -f core conftest.err conftest.$ac_objext \ 39662 conftest$ac_exeext conftest.$ac_ext 39663LIBS=$ac_check_lib_save_LIBS 39664fi 39665{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_reopen" >&5 39666$as_echo "$ac_cv_lib_bfio_libbfio_pool_reopen" >&6; } 39667if test "x$ac_cv_lib_bfio_libbfio_pool_reopen" = xyes; then : 39668 ac_cv_libbfio_dummy=yes 39669else 39670 ac_cv_libbfio=no 39671fi 39672 39673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_close in -lbfio" >&5 39674$as_echo_n "checking for libbfio_pool_close in -lbfio... " >&6; } 39675if ${ac_cv_lib_bfio_libbfio_pool_close+:} false; then : 39676 $as_echo_n "(cached) " >&6 39677else 39678 ac_check_lib_save_LIBS=$LIBS 39679LIBS="-lbfio $LIBS" 39680cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39681/* end confdefs.h. */ 39682 39683/* Override any GCC internal prototype to avoid an error. 39684 Use char because int might match the return type of a GCC 39685 builtin and then its argument prototype would still apply. */ 39686#ifdef __cplusplus 39687extern "C" 39688#endif 39689char libbfio_pool_close (); 39690int 39691main () 39692{ 39693return libbfio_pool_close (); 39694 ; 39695 return 0; 39696} 39697_ACEOF 39698if ac_fn_c_try_link "$LINENO"; then : 39699 ac_cv_lib_bfio_libbfio_pool_close=yes 39700else 39701 ac_cv_lib_bfio_libbfio_pool_close=no 39702fi 39703rm -f core conftest.err conftest.$ac_objext \ 39704 conftest$ac_exeext conftest.$ac_ext 39705LIBS=$ac_check_lib_save_LIBS 39706fi 39707{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_close" >&5 39708$as_echo "$ac_cv_lib_bfio_libbfio_pool_close" >&6; } 39709if test "x$ac_cv_lib_bfio_libbfio_pool_close" = xyes; then : 39710 ac_cv_libbfio_dummy=yes 39711else 39712 ac_cv_libbfio=no 39713fi 39714 39715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_close_all in -lbfio" >&5 39716$as_echo_n "checking for libbfio_pool_close_all in -lbfio... " >&6; } 39717if ${ac_cv_lib_bfio_libbfio_pool_close_all+:} false; then : 39718 $as_echo_n "(cached) " >&6 39719else 39720 ac_check_lib_save_LIBS=$LIBS 39721LIBS="-lbfio $LIBS" 39722cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39723/* end confdefs.h. */ 39724 39725/* Override any GCC internal prototype to avoid an error. 39726 Use char because int might match the return type of a GCC 39727 builtin and then its argument prototype would still apply. */ 39728#ifdef __cplusplus 39729extern "C" 39730#endif 39731char libbfio_pool_close_all (); 39732int 39733main () 39734{ 39735return libbfio_pool_close_all (); 39736 ; 39737 return 0; 39738} 39739_ACEOF 39740if ac_fn_c_try_link "$LINENO"; then : 39741 ac_cv_lib_bfio_libbfio_pool_close_all=yes 39742else 39743 ac_cv_lib_bfio_libbfio_pool_close_all=no 39744fi 39745rm -f core conftest.err conftest.$ac_objext \ 39746 conftest$ac_exeext conftest.$ac_ext 39747LIBS=$ac_check_lib_save_LIBS 39748fi 39749{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_close_all" >&5 39750$as_echo "$ac_cv_lib_bfio_libbfio_pool_close_all" >&6; } 39751if test "x$ac_cv_lib_bfio_libbfio_pool_close_all" = xyes; then : 39752 ac_cv_libbfio_dummy=yes 39753else 39754 ac_cv_libbfio=no 39755fi 39756 39757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_read_buffer in -lbfio" >&5 39758$as_echo_n "checking for libbfio_pool_read_buffer in -lbfio... " >&6; } 39759if ${ac_cv_lib_bfio_libbfio_pool_read_buffer+:} false; then : 39760 $as_echo_n "(cached) " >&6 39761else 39762 ac_check_lib_save_LIBS=$LIBS 39763LIBS="-lbfio $LIBS" 39764cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39765/* end confdefs.h. */ 39766 39767/* Override any GCC internal prototype to avoid an error. 39768 Use char because int might match the return type of a GCC 39769 builtin and then its argument prototype would still apply. */ 39770#ifdef __cplusplus 39771extern "C" 39772#endif 39773char libbfio_pool_read_buffer (); 39774int 39775main () 39776{ 39777return libbfio_pool_read_buffer (); 39778 ; 39779 return 0; 39780} 39781_ACEOF 39782if ac_fn_c_try_link "$LINENO"; then : 39783 ac_cv_lib_bfio_libbfio_pool_read_buffer=yes 39784else 39785 ac_cv_lib_bfio_libbfio_pool_read_buffer=no 39786fi 39787rm -f core conftest.err conftest.$ac_objext \ 39788 conftest$ac_exeext conftest.$ac_ext 39789LIBS=$ac_check_lib_save_LIBS 39790fi 39791{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_read_buffer" >&5 39792$as_echo "$ac_cv_lib_bfio_libbfio_pool_read_buffer" >&6; } 39793if test "x$ac_cv_lib_bfio_libbfio_pool_read_buffer" = xyes; then : 39794 ac_cv_libbfio_dummy=yes 39795else 39796 ac_cv_libbfio=no 39797fi 39798 39799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_read_buffer_at_offset in -lbfio" >&5 39800$as_echo_n "checking for libbfio_pool_read_buffer_at_offset in -lbfio... " >&6; } 39801if ${ac_cv_lib_bfio_libbfio_pool_read_buffer_at_offset+:} false; then : 39802 $as_echo_n "(cached) " >&6 39803else 39804 ac_check_lib_save_LIBS=$LIBS 39805LIBS="-lbfio $LIBS" 39806cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39807/* end confdefs.h. */ 39808 39809/* Override any GCC internal prototype to avoid an error. 39810 Use char because int might match the return type of a GCC 39811 builtin and then its argument prototype would still apply. */ 39812#ifdef __cplusplus 39813extern "C" 39814#endif 39815char libbfio_pool_read_buffer_at_offset (); 39816int 39817main () 39818{ 39819return libbfio_pool_read_buffer_at_offset (); 39820 ; 39821 return 0; 39822} 39823_ACEOF 39824if ac_fn_c_try_link "$LINENO"; then : 39825 ac_cv_lib_bfio_libbfio_pool_read_buffer_at_offset=yes 39826else 39827 ac_cv_lib_bfio_libbfio_pool_read_buffer_at_offset=no 39828fi 39829rm -f core conftest.err conftest.$ac_objext \ 39830 conftest$ac_exeext conftest.$ac_ext 39831LIBS=$ac_check_lib_save_LIBS 39832fi 39833{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_read_buffer_at_offset" >&5 39834$as_echo "$ac_cv_lib_bfio_libbfio_pool_read_buffer_at_offset" >&6; } 39835if test "x$ac_cv_lib_bfio_libbfio_pool_read_buffer_at_offset" = xyes; then : 39836 ac_cv_libbfio_dummy=yes 39837else 39838 ac_cv_libbfio=no 39839fi 39840 39841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_write_buffer in -lbfio" >&5 39842$as_echo_n "checking for libbfio_pool_write_buffer in -lbfio... " >&6; } 39843if ${ac_cv_lib_bfio_libbfio_pool_write_buffer+:} false; then : 39844 $as_echo_n "(cached) " >&6 39845else 39846 ac_check_lib_save_LIBS=$LIBS 39847LIBS="-lbfio $LIBS" 39848cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39849/* end confdefs.h. */ 39850 39851/* Override any GCC internal prototype to avoid an error. 39852 Use char because int might match the return type of a GCC 39853 builtin and then its argument prototype would still apply. */ 39854#ifdef __cplusplus 39855extern "C" 39856#endif 39857char libbfio_pool_write_buffer (); 39858int 39859main () 39860{ 39861return libbfio_pool_write_buffer (); 39862 ; 39863 return 0; 39864} 39865_ACEOF 39866if ac_fn_c_try_link "$LINENO"; then : 39867 ac_cv_lib_bfio_libbfio_pool_write_buffer=yes 39868else 39869 ac_cv_lib_bfio_libbfio_pool_write_buffer=no 39870fi 39871rm -f core conftest.err conftest.$ac_objext \ 39872 conftest$ac_exeext conftest.$ac_ext 39873LIBS=$ac_check_lib_save_LIBS 39874fi 39875{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_write_buffer" >&5 39876$as_echo "$ac_cv_lib_bfio_libbfio_pool_write_buffer" >&6; } 39877if test "x$ac_cv_lib_bfio_libbfio_pool_write_buffer" = xyes; then : 39878 ac_cv_libbfio_dummy=yes 39879else 39880 ac_cv_libbfio=no 39881fi 39882 39883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_write_buffer_at_offset in -lbfio" >&5 39884$as_echo_n "checking for libbfio_pool_write_buffer_at_offset in -lbfio... " >&6; } 39885if ${ac_cv_lib_bfio_libbfio_pool_write_buffer_at_offset+:} false; then : 39886 $as_echo_n "(cached) " >&6 39887else 39888 ac_check_lib_save_LIBS=$LIBS 39889LIBS="-lbfio $LIBS" 39890cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39891/* end confdefs.h. */ 39892 39893/* Override any GCC internal prototype to avoid an error. 39894 Use char because int might match the return type of a GCC 39895 builtin and then its argument prototype would still apply. */ 39896#ifdef __cplusplus 39897extern "C" 39898#endif 39899char libbfio_pool_write_buffer_at_offset (); 39900int 39901main () 39902{ 39903return libbfio_pool_write_buffer_at_offset (); 39904 ; 39905 return 0; 39906} 39907_ACEOF 39908if ac_fn_c_try_link "$LINENO"; then : 39909 ac_cv_lib_bfio_libbfio_pool_write_buffer_at_offset=yes 39910else 39911 ac_cv_lib_bfio_libbfio_pool_write_buffer_at_offset=no 39912fi 39913rm -f core conftest.err conftest.$ac_objext \ 39914 conftest$ac_exeext conftest.$ac_ext 39915LIBS=$ac_check_lib_save_LIBS 39916fi 39917{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_write_buffer_at_offset" >&5 39918$as_echo "$ac_cv_lib_bfio_libbfio_pool_write_buffer_at_offset" >&6; } 39919if test "x$ac_cv_lib_bfio_libbfio_pool_write_buffer_at_offset" = xyes; then : 39920 ac_cv_libbfio_dummy=yes 39921else 39922 ac_cv_libbfio=no 39923fi 39924 39925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_seek_offset in -lbfio" >&5 39926$as_echo_n "checking for libbfio_pool_seek_offset in -lbfio... " >&6; } 39927if ${ac_cv_lib_bfio_libbfio_pool_seek_offset+:} false; then : 39928 $as_echo_n "(cached) " >&6 39929else 39930 ac_check_lib_save_LIBS=$LIBS 39931LIBS="-lbfio $LIBS" 39932cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39933/* end confdefs.h. */ 39934 39935/* Override any GCC internal prototype to avoid an error. 39936 Use char because int might match the return type of a GCC 39937 builtin and then its argument prototype would still apply. */ 39938#ifdef __cplusplus 39939extern "C" 39940#endif 39941char libbfio_pool_seek_offset (); 39942int 39943main () 39944{ 39945return libbfio_pool_seek_offset (); 39946 ; 39947 return 0; 39948} 39949_ACEOF 39950if ac_fn_c_try_link "$LINENO"; then : 39951 ac_cv_lib_bfio_libbfio_pool_seek_offset=yes 39952else 39953 ac_cv_lib_bfio_libbfio_pool_seek_offset=no 39954fi 39955rm -f core conftest.err conftest.$ac_objext \ 39956 conftest$ac_exeext conftest.$ac_ext 39957LIBS=$ac_check_lib_save_LIBS 39958fi 39959{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_seek_offset" >&5 39960$as_echo "$ac_cv_lib_bfio_libbfio_pool_seek_offset" >&6; } 39961if test "x$ac_cv_lib_bfio_libbfio_pool_seek_offset" = xyes; then : 39962 ac_cv_libbfio_dummy=yes 39963else 39964 ac_cv_libbfio=no 39965fi 39966 39967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_get_offset in -lbfio" >&5 39968$as_echo_n "checking for libbfio_pool_get_offset in -lbfio... " >&6; } 39969if ${ac_cv_lib_bfio_libbfio_pool_get_offset+:} false; then : 39970 $as_echo_n "(cached) " >&6 39971else 39972 ac_check_lib_save_LIBS=$LIBS 39973LIBS="-lbfio $LIBS" 39974cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39975/* end confdefs.h. */ 39976 39977/* Override any GCC internal prototype to avoid an error. 39978 Use char because int might match the return type of a GCC 39979 builtin and then its argument prototype would still apply. */ 39980#ifdef __cplusplus 39981extern "C" 39982#endif 39983char libbfio_pool_get_offset (); 39984int 39985main () 39986{ 39987return libbfio_pool_get_offset (); 39988 ; 39989 return 0; 39990} 39991_ACEOF 39992if ac_fn_c_try_link "$LINENO"; then : 39993 ac_cv_lib_bfio_libbfio_pool_get_offset=yes 39994else 39995 ac_cv_lib_bfio_libbfio_pool_get_offset=no 39996fi 39997rm -f core conftest.err conftest.$ac_objext \ 39998 conftest$ac_exeext conftest.$ac_ext 39999LIBS=$ac_check_lib_save_LIBS 40000fi 40001{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_get_offset" >&5 40002$as_echo "$ac_cv_lib_bfio_libbfio_pool_get_offset" >&6; } 40003if test "x$ac_cv_lib_bfio_libbfio_pool_get_offset" = xyes; then : 40004 ac_cv_libbfio_dummy=yes 40005else 40006 ac_cv_libbfio=no 40007fi 40008 40009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_get_size in -lbfio" >&5 40010$as_echo_n "checking for libbfio_pool_get_size in -lbfio... " >&6; } 40011if ${ac_cv_lib_bfio_libbfio_pool_get_size+:} false; then : 40012 $as_echo_n "(cached) " >&6 40013else 40014 ac_check_lib_save_LIBS=$LIBS 40015LIBS="-lbfio $LIBS" 40016cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40017/* end confdefs.h. */ 40018 40019/* Override any GCC internal prototype to avoid an error. 40020 Use char because int might match the return type of a GCC 40021 builtin and then its argument prototype would still apply. */ 40022#ifdef __cplusplus 40023extern "C" 40024#endif 40025char libbfio_pool_get_size (); 40026int 40027main () 40028{ 40029return libbfio_pool_get_size (); 40030 ; 40031 return 0; 40032} 40033_ACEOF 40034if ac_fn_c_try_link "$LINENO"; then : 40035 ac_cv_lib_bfio_libbfio_pool_get_size=yes 40036else 40037 ac_cv_lib_bfio_libbfio_pool_get_size=no 40038fi 40039rm -f core conftest.err conftest.$ac_objext \ 40040 conftest$ac_exeext conftest.$ac_ext 40041LIBS=$ac_check_lib_save_LIBS 40042fi 40043{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_get_size" >&5 40044$as_echo "$ac_cv_lib_bfio_libbfio_pool_get_size" >&6; } 40045if test "x$ac_cv_lib_bfio_libbfio_pool_get_size" = xyes; then : 40046 ac_cv_libbfio_dummy=yes 40047else 40048 ac_cv_libbfio=no 40049fi 40050 40051 40052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_pool_open in -lbfio" >&5 40053$as_echo_n "checking for libbfio_file_pool_open in -lbfio... " >&6; } 40054if ${ac_cv_lib_bfio_libbfio_file_pool_open+:} false; then : 40055 $as_echo_n "(cached) " >&6 40056else 40057 ac_check_lib_save_LIBS=$LIBS 40058LIBS="-lbfio $LIBS" 40059cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40060/* end confdefs.h. */ 40061 40062/* Override any GCC internal prototype to avoid an error. 40063 Use char because int might match the return type of a GCC 40064 builtin and then its argument prototype would still apply. */ 40065#ifdef __cplusplus 40066extern "C" 40067#endif 40068char libbfio_file_pool_open (); 40069int 40070main () 40071{ 40072return libbfio_file_pool_open (); 40073 ; 40074 return 0; 40075} 40076_ACEOF 40077if ac_fn_c_try_link "$LINENO"; then : 40078 ac_cv_lib_bfio_libbfio_file_pool_open=yes 40079else 40080 ac_cv_lib_bfio_libbfio_file_pool_open=no 40081fi 40082rm -f core conftest.err conftest.$ac_objext \ 40083 conftest$ac_exeext conftest.$ac_ext 40084LIBS=$ac_check_lib_save_LIBS 40085fi 40086{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_pool_open" >&5 40087$as_echo "$ac_cv_lib_bfio_libbfio_file_pool_open" >&6; } 40088if test "x$ac_cv_lib_bfio_libbfio_file_pool_open" = xyes; then : 40089 ac_cv_libbfio_dummy=yes 40090else 40091 ac_cv_libbfio=no 40092fi 40093 40094 40095 if test "x$ac_cv_enable_wide_character_type" != xno; then : 40096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_pool_open_wide in -lbfio" >&5 40097$as_echo_n "checking for libbfio_file_pool_open_wide in -lbfio... " >&6; } 40098if ${ac_cv_lib_bfio_libbfio_file_pool_open_wide+:} false; then : 40099 $as_echo_n "(cached) " >&6 40100else 40101 ac_check_lib_save_LIBS=$LIBS 40102LIBS="-lbfio $LIBS" 40103cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40104/* end confdefs.h. */ 40105 40106/* Override any GCC internal prototype to avoid an error. 40107 Use char because int might match the return type of a GCC 40108 builtin and then its argument prototype would still apply. */ 40109#ifdef __cplusplus 40110extern "C" 40111#endif 40112char libbfio_file_pool_open_wide (); 40113int 40114main () 40115{ 40116return libbfio_file_pool_open_wide (); 40117 ; 40118 return 0; 40119} 40120_ACEOF 40121if ac_fn_c_try_link "$LINENO"; then : 40122 ac_cv_lib_bfio_libbfio_file_pool_open_wide=yes 40123else 40124 ac_cv_lib_bfio_libbfio_file_pool_open_wide=no 40125fi 40126rm -f core conftest.err conftest.$ac_objext \ 40127 conftest$ac_exeext conftest.$ac_ext 40128LIBS=$ac_check_lib_save_LIBS 40129fi 40130{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_pool_open_wide" >&5 40131$as_echo "$ac_cv_lib_bfio_libbfio_file_pool_open_wide" >&6; } 40132if test "x$ac_cv_lib_bfio_libbfio_file_pool_open_wide" = xyes; then : 40133 ac_cv_libbfio_dummy=yes 40134else 40135 ac_cv_libbfio=no 40136fi 40137 40138 40139fi 40140 40141 ac_cv_libbfio_LIBADD="-lbfio" 40142fi 40143 40144fi 40145 if test "x$ac_cv_with_libbfio" != x && test "x$ac_cv_with_libbfio" != xauto-detect && test "x$ac_cv_libbfio" != xyes; then : 40146 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 40147$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 40148as_fn_error 1 "unable to find supported libbfio in directory: $ac_cv_with_libbfio 40149See \`config.log' for more details" "$LINENO" 5; } 40150 40151fi 40152 40153fi 40154 40155 if test "x$ac_cv_libbfio" = xyes; then : 40156 40157$as_echo "#define HAVE_LIBBFIO 1" >>confdefs.h 40158 40159 40160fi 40161 40162 if test "x$ac_cv_libbfio" = xyes; then : 40163 HAVE_LIBBFIO=1 40164 40165else 40166 HAVE_LIBBFIO=0 40167 40168 40169fi 40170 40171 40172 if test "x$ac_cv_libbfio" != xyes; then : 40173 40174 ac_cv_libbfio_CPPFLAGS="-I../libbfio"; 40175 ac_cv_libbfio_LIBADD="../libbfio/libbfio.la"; 40176 40177 ac_cv_libbfio=local 40178 40179 40180 40181$as_echo "#define HAVE_LOCAL_LIBBFIO 1" >>confdefs.h 40182 40183 HAVE_LOCAL_LIBBFIO=1 40184 40185 40186fi 40187 40188 if test "x$ac_cv_libbfio" = xlocal; then 40189 HAVE_LOCAL_LIBBFIO_TRUE= 40190 HAVE_LOCAL_LIBBFIO_FALSE='#' 40191else 40192 HAVE_LOCAL_LIBBFIO_TRUE='#' 40193 HAVE_LOCAL_LIBBFIO_FALSE= 40194fi 40195 40196 if test "x$ac_cv_libbfio_CPPFLAGS" != "x"; then : 40197 LIBBFIO_CPPFLAGS=$ac_cv_libbfio_CPPFLAGS 40198 40199 40200fi 40201 if test "x$ac_cv_libbfio_LIBADD" != "x"; then : 40202 LIBBFIO_LIBADD=$ac_cv_libbfio_LIBADD 40203 40204 40205fi 40206 40207 if test "x$ac_cv_libbfio" = xyes; then : 40208 ax_libbfio_pc_libs_private=-lbfio 40209 40210 40211fi 40212 40213 if test "x$ac_cv_libbfio" = xyes; then : 40214 ax_libbfio_spec_requires=libbfio 40215 40216 ax_libbfio_spec_build_requires=libbfio-devel 40217 40218 40219fi 40220 40221 40222 40223 40224# Check whether --with-libfcache was given. 40225if test "${with_libfcache+set}" = set; then : 40226 withval=$with_libfcache; ac_cv_with_libfcache=$withval 40227else 40228 ac_cv_with_libfcache=auto-detect 40229fi 40230 40231 { $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 40232$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; } 40233if ${ac_cv_with_libfcache+:} false; then : 40234 $as_echo_n "(cached) " >&6 40235else 40236 ac_cv_with_libfcache=auto-detect 40237fi 40238{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libfcache" >&5 40239$as_echo "$ac_cv_with_libfcache" >&6; } 40240 40241 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libfcache" = xno; then : 40242 ac_cv_libfcache=no 40243else 40244 ac_cv_libfcache=check 40245 if test "x$ac_cv_with_libfcache" != x && test "x$ac_cv_with_libfcache" != xauto-detect; then : 40246 if test -d "$ac_cv_with_libfcache"; then : 40247 CFLAGS="$CFLAGS -I${ac_cv_with_libfcache}/include" 40248 LDFLAGS="$LDFLAGS -L${ac_cv_with_libfcache}/lib" 40249else 40250 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 40251$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 40252as_fn_error 1 "no such directory: $ac_cv_with_libfcache 40253See \`config.log' for more details" "$LINENO" 5; } 40254 40255fi 40256 40257else 40258 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 40259 40260pkg_failed=no 40261{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache" >&5 40262$as_echo_n "checking for libfcache... " >&6; } 40263 40264if test -n "$libfcache_CFLAGS"; then 40265 pkg_cv_libfcache_CFLAGS="$libfcache_CFLAGS" 40266 elif test -n "$PKG_CONFIG"; then 40267 if test -n "$PKG_CONFIG" && \ 40268 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfcache >= 20191109\""; } >&5 40269 ($PKG_CONFIG --exists --print-errors "libfcache >= 20191109") 2>&5 40270 ac_status=$? 40271 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 40272 test $ac_status = 0; }; then 40273 pkg_cv_libfcache_CFLAGS=`$PKG_CONFIG --cflags "libfcache >= 20191109" 2>/dev/null` 40274 test "x$?" != "x0" && pkg_failed=yes 40275else 40276 pkg_failed=yes 40277fi 40278 else 40279 pkg_failed=untried 40280fi 40281if test -n "$libfcache_LIBS"; then 40282 pkg_cv_libfcache_LIBS="$libfcache_LIBS" 40283 elif test -n "$PKG_CONFIG"; then 40284 if test -n "$PKG_CONFIG" && \ 40285 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfcache >= 20191109\""; } >&5 40286 ($PKG_CONFIG --exists --print-errors "libfcache >= 20191109") 2>&5 40287 ac_status=$? 40288 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 40289 test $ac_status = 0; }; then 40290 pkg_cv_libfcache_LIBS=`$PKG_CONFIG --libs "libfcache >= 20191109" 2>/dev/null` 40291 test "x$?" != "x0" && pkg_failed=yes 40292else 40293 pkg_failed=yes 40294fi 40295 else 40296 pkg_failed=untried 40297fi 40298 40299 40300 40301if test $pkg_failed = yes; then 40302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 40303$as_echo "no" >&6; } 40304 40305if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 40306 _pkg_short_errors_supported=yes 40307else 40308 _pkg_short_errors_supported=no 40309fi 40310 if test $_pkg_short_errors_supported = yes; then 40311 libfcache_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libfcache >= 20191109" 2>&1` 40312 else 40313 libfcache_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libfcache >= 20191109" 2>&1` 40314 fi 40315 # Put the nasty error message in config.log where it belongs 40316 echo "$libfcache_PKG_ERRORS" >&5 40317 40318 ac_cv_libfcache=check 40319elif test $pkg_failed = untried; then 40320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 40321$as_echo "no" >&6; } 40322 ac_cv_libfcache=check 40323else 40324 libfcache_CFLAGS=$pkg_cv_libfcache_CFLAGS 40325 libfcache_LIBS=$pkg_cv_libfcache_LIBS 40326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 40327$as_echo "yes" >&6; } 40328 ac_cv_libfcache=yes 40329fi 40330 40331fi 40332 if test "x$ac_cv_libfcache" = xyes; then : 40333 ac_cv_libfcache_CPPFLAGS="$pkg_cv_libfcache_CFLAGS" 40334 ac_cv_libfcache_LIBADD="$pkg_cv_libfcache_LIBS" 40335fi 40336 40337fi 40338 40339 if test "x$ac_cv_libfcache" = xcheck; then : 40340 for ac_header in libfcache.h 40341do : 40342 ac_fn_c_check_header_mongrel "$LINENO" "libfcache.h" "ac_cv_header_libfcache_h" "$ac_includes_default" 40343if test "x$ac_cv_header_libfcache_h" = xyes; then : 40344 cat >>confdefs.h <<_ACEOF 40345#define HAVE_LIBFCACHE_H 1 40346_ACEOF 40347 40348fi 40349 40350done 40351 40352 40353 if test "x$ac_cv_header_libfcache_h" = xno; then : 40354 ac_cv_libfcache=no 40355else 40356 ac_cv_libfcache=yes 40357 40358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_get_version in -lfcache" >&5 40359$as_echo_n "checking for libfcache_get_version in -lfcache... " >&6; } 40360if ${ac_cv_lib_fcache_libfcache_get_version+:} false; then : 40361 $as_echo_n "(cached) " >&6 40362else 40363 ac_check_lib_save_LIBS=$LIBS 40364LIBS="-lfcache $LIBS" 40365cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40366/* end confdefs.h. */ 40367 40368/* Override any GCC internal prototype to avoid an error. 40369 Use char because int might match the return type of a GCC 40370 builtin and then its argument prototype would still apply. */ 40371#ifdef __cplusplus 40372extern "C" 40373#endif 40374char libfcache_get_version (); 40375int 40376main () 40377{ 40378return libfcache_get_version (); 40379 ; 40380 return 0; 40381} 40382_ACEOF 40383if ac_fn_c_try_link "$LINENO"; then : 40384 ac_cv_lib_fcache_libfcache_get_version=yes 40385else 40386 ac_cv_lib_fcache_libfcache_get_version=no 40387fi 40388rm -f core conftest.err conftest.$ac_objext \ 40389 conftest$ac_exeext conftest.$ac_ext 40390LIBS=$ac_check_lib_save_LIBS 40391fi 40392{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_get_version" >&5 40393$as_echo "$ac_cv_lib_fcache_libfcache_get_version" >&6; } 40394if test "x$ac_cv_lib_fcache_libfcache_get_version" = xyes; then : 40395 ac_cv_libfcache_dummy=yes 40396else 40397 ac_cv_libfcache=no 40398fi 40399 40400 40401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_initialize in -lfcache" >&5 40402$as_echo_n "checking for libfcache_cache_initialize in -lfcache... " >&6; } 40403if ${ac_cv_lib_fcache_libfcache_cache_initialize+:} false; then : 40404 $as_echo_n "(cached) " >&6 40405else 40406 ac_check_lib_save_LIBS=$LIBS 40407LIBS="-lfcache $LIBS" 40408cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40409/* end confdefs.h. */ 40410 40411/* Override any GCC internal prototype to avoid an error. 40412 Use char because int might match the return type of a GCC 40413 builtin and then its argument prototype would still apply. */ 40414#ifdef __cplusplus 40415extern "C" 40416#endif 40417char libfcache_cache_initialize (); 40418int 40419main () 40420{ 40421return libfcache_cache_initialize (); 40422 ; 40423 return 0; 40424} 40425_ACEOF 40426if ac_fn_c_try_link "$LINENO"; then : 40427 ac_cv_lib_fcache_libfcache_cache_initialize=yes 40428else 40429 ac_cv_lib_fcache_libfcache_cache_initialize=no 40430fi 40431rm -f core conftest.err conftest.$ac_objext \ 40432 conftest$ac_exeext conftest.$ac_ext 40433LIBS=$ac_check_lib_save_LIBS 40434fi 40435{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_initialize" >&5 40436$as_echo "$ac_cv_lib_fcache_libfcache_cache_initialize" >&6; } 40437if test "x$ac_cv_lib_fcache_libfcache_cache_initialize" = xyes; then : 40438 ac_cv_libfcache_dummy=yes 40439else 40440 ac_cv_libfcache=no 40441fi 40442 40443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_free in -lfcache" >&5 40444$as_echo_n "checking for libfcache_cache_free in -lfcache... " >&6; } 40445if ${ac_cv_lib_fcache_libfcache_cache_free+:} false; then : 40446 $as_echo_n "(cached) " >&6 40447else 40448 ac_check_lib_save_LIBS=$LIBS 40449LIBS="-lfcache $LIBS" 40450cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40451/* end confdefs.h. */ 40452 40453/* Override any GCC internal prototype to avoid an error. 40454 Use char because int might match the return type of a GCC 40455 builtin and then its argument prototype would still apply. */ 40456#ifdef __cplusplus 40457extern "C" 40458#endif 40459char libfcache_cache_free (); 40460int 40461main () 40462{ 40463return libfcache_cache_free (); 40464 ; 40465 return 0; 40466} 40467_ACEOF 40468if ac_fn_c_try_link "$LINENO"; then : 40469 ac_cv_lib_fcache_libfcache_cache_free=yes 40470else 40471 ac_cv_lib_fcache_libfcache_cache_free=no 40472fi 40473rm -f core conftest.err conftest.$ac_objext \ 40474 conftest$ac_exeext conftest.$ac_ext 40475LIBS=$ac_check_lib_save_LIBS 40476fi 40477{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_free" >&5 40478$as_echo "$ac_cv_lib_fcache_libfcache_cache_free" >&6; } 40479if test "x$ac_cv_lib_fcache_libfcache_cache_free" = xyes; then : 40480 ac_cv_libfcache_dummy=yes 40481else 40482 ac_cv_libfcache=no 40483fi 40484 40485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_clone in -lfcache" >&5 40486$as_echo_n "checking for libfcache_cache_clone in -lfcache... " >&6; } 40487if ${ac_cv_lib_fcache_libfcache_cache_clone+:} false; then : 40488 $as_echo_n "(cached) " >&6 40489else 40490 ac_check_lib_save_LIBS=$LIBS 40491LIBS="-lfcache $LIBS" 40492cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40493/* end confdefs.h. */ 40494 40495/* Override any GCC internal prototype to avoid an error. 40496 Use char because int might match the return type of a GCC 40497 builtin and then its argument prototype would still apply. */ 40498#ifdef __cplusplus 40499extern "C" 40500#endif 40501char libfcache_cache_clone (); 40502int 40503main () 40504{ 40505return libfcache_cache_clone (); 40506 ; 40507 return 0; 40508} 40509_ACEOF 40510if ac_fn_c_try_link "$LINENO"; then : 40511 ac_cv_lib_fcache_libfcache_cache_clone=yes 40512else 40513 ac_cv_lib_fcache_libfcache_cache_clone=no 40514fi 40515rm -f core conftest.err conftest.$ac_objext \ 40516 conftest$ac_exeext conftest.$ac_ext 40517LIBS=$ac_check_lib_save_LIBS 40518fi 40519{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_clone" >&5 40520$as_echo "$ac_cv_lib_fcache_libfcache_cache_clone" >&6; } 40521if test "x$ac_cv_lib_fcache_libfcache_cache_clone" = xyes; then : 40522 ac_cv_libfcache_dummy=yes 40523else 40524 ac_cv_libfcache=no 40525fi 40526 40527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_clear in -lfcache" >&5 40528$as_echo_n "checking for libfcache_cache_clear in -lfcache... " >&6; } 40529if ${ac_cv_lib_fcache_libfcache_cache_clear+:} false; then : 40530 $as_echo_n "(cached) " >&6 40531else 40532 ac_check_lib_save_LIBS=$LIBS 40533LIBS="-lfcache $LIBS" 40534cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40535/* end confdefs.h. */ 40536 40537/* Override any GCC internal prototype to avoid an error. 40538 Use char because int might match the return type of a GCC 40539 builtin and then its argument prototype would still apply. */ 40540#ifdef __cplusplus 40541extern "C" 40542#endif 40543char libfcache_cache_clear (); 40544int 40545main () 40546{ 40547return libfcache_cache_clear (); 40548 ; 40549 return 0; 40550} 40551_ACEOF 40552if ac_fn_c_try_link "$LINENO"; then : 40553 ac_cv_lib_fcache_libfcache_cache_clear=yes 40554else 40555 ac_cv_lib_fcache_libfcache_cache_clear=no 40556fi 40557rm -f core conftest.err conftest.$ac_objext \ 40558 conftest$ac_exeext conftest.$ac_ext 40559LIBS=$ac_check_lib_save_LIBS 40560fi 40561{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_clear" >&5 40562$as_echo "$ac_cv_lib_fcache_libfcache_cache_clear" >&6; } 40563if test "x$ac_cv_lib_fcache_libfcache_cache_clear" = xyes; then : 40564 ac_cv_libfcache_dummy=yes 40565else 40566 ac_cv_libfcache=no 40567fi 40568 40569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_get_number_of_entries in -lfcache" >&5 40570$as_echo_n "checking for libfcache_cache_get_number_of_entries in -lfcache... " >&6; } 40571if ${ac_cv_lib_fcache_libfcache_cache_get_number_of_entries+:} false; then : 40572 $as_echo_n "(cached) " >&6 40573else 40574 ac_check_lib_save_LIBS=$LIBS 40575LIBS="-lfcache $LIBS" 40576cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40577/* end confdefs.h. */ 40578 40579/* Override any GCC internal prototype to avoid an error. 40580 Use char because int might match the return type of a GCC 40581 builtin and then its argument prototype would still apply. */ 40582#ifdef __cplusplus 40583extern "C" 40584#endif 40585char libfcache_cache_get_number_of_entries (); 40586int 40587main () 40588{ 40589return libfcache_cache_get_number_of_entries (); 40590 ; 40591 return 0; 40592} 40593_ACEOF 40594if ac_fn_c_try_link "$LINENO"; then : 40595 ac_cv_lib_fcache_libfcache_cache_get_number_of_entries=yes 40596else 40597 ac_cv_lib_fcache_libfcache_cache_get_number_of_entries=no 40598fi 40599rm -f core conftest.err conftest.$ac_objext \ 40600 conftest$ac_exeext conftest.$ac_ext 40601LIBS=$ac_check_lib_save_LIBS 40602fi 40603{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_get_number_of_entries" >&5 40604$as_echo "$ac_cv_lib_fcache_libfcache_cache_get_number_of_entries" >&6; } 40605if test "x$ac_cv_lib_fcache_libfcache_cache_get_number_of_entries" = xyes; then : 40606 ac_cv_libfcache_dummy=yes 40607else 40608 ac_cv_libfcache=no 40609fi 40610 40611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_get_number_of_cache_values in -lfcache" >&5 40612$as_echo_n "checking for libfcache_cache_get_number_of_cache_values in -lfcache... " >&6; } 40613if ${ac_cv_lib_fcache_libfcache_cache_get_number_of_cache_values+:} false; then : 40614 $as_echo_n "(cached) " >&6 40615else 40616 ac_check_lib_save_LIBS=$LIBS 40617LIBS="-lfcache $LIBS" 40618cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40619/* end confdefs.h. */ 40620 40621/* Override any GCC internal prototype to avoid an error. 40622 Use char because int might match the return type of a GCC 40623 builtin and then its argument prototype would still apply. */ 40624#ifdef __cplusplus 40625extern "C" 40626#endif 40627char libfcache_cache_get_number_of_cache_values (); 40628int 40629main () 40630{ 40631return libfcache_cache_get_number_of_cache_values (); 40632 ; 40633 return 0; 40634} 40635_ACEOF 40636if ac_fn_c_try_link "$LINENO"; then : 40637 ac_cv_lib_fcache_libfcache_cache_get_number_of_cache_values=yes 40638else 40639 ac_cv_lib_fcache_libfcache_cache_get_number_of_cache_values=no 40640fi 40641rm -f core conftest.err conftest.$ac_objext \ 40642 conftest$ac_exeext conftest.$ac_ext 40643LIBS=$ac_check_lib_save_LIBS 40644fi 40645{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_get_number_of_cache_values" >&5 40646$as_echo "$ac_cv_lib_fcache_libfcache_cache_get_number_of_cache_values" >&6; } 40647if test "x$ac_cv_lib_fcache_libfcache_cache_get_number_of_cache_values" = xyes; then : 40648 ac_cv_libfcache_dummy=yes 40649else 40650 ac_cv_libfcache=no 40651fi 40652 40653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_clear_value_by_index in -lfcache" >&5 40654$as_echo_n "checking for libfcache_cache_clear_value_by_index in -lfcache... " >&6; } 40655if ${ac_cv_lib_fcache_libfcache_cache_clear_value_by_index+:} false; then : 40656 $as_echo_n "(cached) " >&6 40657else 40658 ac_check_lib_save_LIBS=$LIBS 40659LIBS="-lfcache $LIBS" 40660cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40661/* end confdefs.h. */ 40662 40663/* Override any GCC internal prototype to avoid an error. 40664 Use char because int might match the return type of a GCC 40665 builtin and then its argument prototype would still apply. */ 40666#ifdef __cplusplus 40667extern "C" 40668#endif 40669char libfcache_cache_clear_value_by_index (); 40670int 40671main () 40672{ 40673return libfcache_cache_clear_value_by_index (); 40674 ; 40675 return 0; 40676} 40677_ACEOF 40678if ac_fn_c_try_link "$LINENO"; then : 40679 ac_cv_lib_fcache_libfcache_cache_clear_value_by_index=yes 40680else 40681 ac_cv_lib_fcache_libfcache_cache_clear_value_by_index=no 40682fi 40683rm -f core conftest.err conftest.$ac_objext \ 40684 conftest$ac_exeext conftest.$ac_ext 40685LIBS=$ac_check_lib_save_LIBS 40686fi 40687{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_clear_value_by_index" >&5 40688$as_echo "$ac_cv_lib_fcache_libfcache_cache_clear_value_by_index" >&6; } 40689if test "x$ac_cv_lib_fcache_libfcache_cache_clear_value_by_index" = xyes; then : 40690 ac_cv_libfcache_dummy=yes 40691else 40692 ac_cv_libfcache=no 40693fi 40694 40695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_get_value_by_identifier in -lfcache" >&5 40696$as_echo_n "checking for libfcache_cache_get_value_by_identifier in -lfcache... " >&6; } 40697if ${ac_cv_lib_fcache_libfcache_cache_get_value_by_identifier+:} false; then : 40698 $as_echo_n "(cached) " >&6 40699else 40700 ac_check_lib_save_LIBS=$LIBS 40701LIBS="-lfcache $LIBS" 40702cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40703/* end confdefs.h. */ 40704 40705/* Override any GCC internal prototype to avoid an error. 40706 Use char because int might match the return type of a GCC 40707 builtin and then its argument prototype would still apply. */ 40708#ifdef __cplusplus 40709extern "C" 40710#endif 40711char libfcache_cache_get_value_by_identifier (); 40712int 40713main () 40714{ 40715return libfcache_cache_get_value_by_identifier (); 40716 ; 40717 return 0; 40718} 40719_ACEOF 40720if ac_fn_c_try_link "$LINENO"; then : 40721 ac_cv_lib_fcache_libfcache_cache_get_value_by_identifier=yes 40722else 40723 ac_cv_lib_fcache_libfcache_cache_get_value_by_identifier=no 40724fi 40725rm -f core conftest.err conftest.$ac_objext \ 40726 conftest$ac_exeext conftest.$ac_ext 40727LIBS=$ac_check_lib_save_LIBS 40728fi 40729{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_get_value_by_identifier" >&5 40730$as_echo "$ac_cv_lib_fcache_libfcache_cache_get_value_by_identifier" >&6; } 40731if test "x$ac_cv_lib_fcache_libfcache_cache_get_value_by_identifier" = xyes; then : 40732 ac_cv_libfcache_dummy=yes 40733else 40734 ac_cv_libfcache=no 40735fi 40736 40737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_get_value_by_index in -lfcache" >&5 40738$as_echo_n "checking for libfcache_cache_get_value_by_index in -lfcache... " >&6; } 40739if ${ac_cv_lib_fcache_libfcache_cache_get_value_by_index+:} false; then : 40740 $as_echo_n "(cached) " >&6 40741else 40742 ac_check_lib_save_LIBS=$LIBS 40743LIBS="-lfcache $LIBS" 40744cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40745/* end confdefs.h. */ 40746 40747/* Override any GCC internal prototype to avoid an error. 40748 Use char because int might match the return type of a GCC 40749 builtin and then its argument prototype would still apply. */ 40750#ifdef __cplusplus 40751extern "C" 40752#endif 40753char libfcache_cache_get_value_by_index (); 40754int 40755main () 40756{ 40757return libfcache_cache_get_value_by_index (); 40758 ; 40759 return 0; 40760} 40761_ACEOF 40762if ac_fn_c_try_link "$LINENO"; then : 40763 ac_cv_lib_fcache_libfcache_cache_get_value_by_index=yes 40764else 40765 ac_cv_lib_fcache_libfcache_cache_get_value_by_index=no 40766fi 40767rm -f core conftest.err conftest.$ac_objext \ 40768 conftest$ac_exeext conftest.$ac_ext 40769LIBS=$ac_check_lib_save_LIBS 40770fi 40771{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_get_value_by_index" >&5 40772$as_echo "$ac_cv_lib_fcache_libfcache_cache_get_value_by_index" >&6; } 40773if test "x$ac_cv_lib_fcache_libfcache_cache_get_value_by_index" = xyes; then : 40774 ac_cv_libfcache_dummy=yes 40775else 40776 ac_cv_libfcache=no 40777fi 40778 40779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_set_value_by_identifier in -lfcache" >&5 40780$as_echo_n "checking for libfcache_cache_set_value_by_identifier in -lfcache... " >&6; } 40781if ${ac_cv_lib_fcache_libfcache_cache_set_value_by_identifier+:} false; then : 40782 $as_echo_n "(cached) " >&6 40783else 40784 ac_check_lib_save_LIBS=$LIBS 40785LIBS="-lfcache $LIBS" 40786cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40787/* end confdefs.h. */ 40788 40789/* Override any GCC internal prototype to avoid an error. 40790 Use char because int might match the return type of a GCC 40791 builtin and then its argument prototype would still apply. */ 40792#ifdef __cplusplus 40793extern "C" 40794#endif 40795char libfcache_cache_set_value_by_identifier (); 40796int 40797main () 40798{ 40799return libfcache_cache_set_value_by_identifier (); 40800 ; 40801 return 0; 40802} 40803_ACEOF 40804if ac_fn_c_try_link "$LINENO"; then : 40805 ac_cv_lib_fcache_libfcache_cache_set_value_by_identifier=yes 40806else 40807 ac_cv_lib_fcache_libfcache_cache_set_value_by_identifier=no 40808fi 40809rm -f core conftest.err conftest.$ac_objext \ 40810 conftest$ac_exeext conftest.$ac_ext 40811LIBS=$ac_check_lib_save_LIBS 40812fi 40813{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_set_value_by_identifier" >&5 40814$as_echo "$ac_cv_lib_fcache_libfcache_cache_set_value_by_identifier" >&6; } 40815if test "x$ac_cv_lib_fcache_libfcache_cache_set_value_by_identifier" = xyes; then : 40816 ac_cv_libfcache_dummy=yes 40817else 40818 ac_cv_libfcache=no 40819fi 40820 40821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_set_value_by_index in -lfcache" >&5 40822$as_echo_n "checking for libfcache_cache_set_value_by_index in -lfcache... " >&6; } 40823if ${ac_cv_lib_fcache_libfcache_cache_set_value_by_index+:} false; then : 40824 $as_echo_n "(cached) " >&6 40825else 40826 ac_check_lib_save_LIBS=$LIBS 40827LIBS="-lfcache $LIBS" 40828cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40829/* end confdefs.h. */ 40830 40831/* Override any GCC internal prototype to avoid an error. 40832 Use char because int might match the return type of a GCC 40833 builtin and then its argument prototype would still apply. */ 40834#ifdef __cplusplus 40835extern "C" 40836#endif 40837char libfcache_cache_set_value_by_index (); 40838int 40839main () 40840{ 40841return libfcache_cache_set_value_by_index (); 40842 ; 40843 return 0; 40844} 40845_ACEOF 40846if ac_fn_c_try_link "$LINENO"; then : 40847 ac_cv_lib_fcache_libfcache_cache_set_value_by_index=yes 40848else 40849 ac_cv_lib_fcache_libfcache_cache_set_value_by_index=no 40850fi 40851rm -f core conftest.err conftest.$ac_objext \ 40852 conftest$ac_exeext conftest.$ac_ext 40853LIBS=$ac_check_lib_save_LIBS 40854fi 40855{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_set_value_by_index" >&5 40856$as_echo "$ac_cv_lib_fcache_libfcache_cache_set_value_by_index" >&6; } 40857if test "x$ac_cv_lib_fcache_libfcache_cache_set_value_by_index" = xyes; then : 40858 ac_cv_libfcache_dummy=yes 40859else 40860 ac_cv_libfcache=no 40861fi 40862 40863 40864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_value_free in -lfcache" >&5 40865$as_echo_n "checking for libfcache_cache_value_free in -lfcache... " >&6; } 40866if ${ac_cv_lib_fcache_libfcache_cache_value_free+:} false; then : 40867 $as_echo_n "(cached) " >&6 40868else 40869 ac_check_lib_save_LIBS=$LIBS 40870LIBS="-lfcache $LIBS" 40871cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40872/* end confdefs.h. */ 40873 40874/* Override any GCC internal prototype to avoid an error. 40875 Use char because int might match the return type of a GCC 40876 builtin and then its argument prototype would still apply. */ 40877#ifdef __cplusplus 40878extern "C" 40879#endif 40880char libfcache_cache_value_free (); 40881int 40882main () 40883{ 40884return libfcache_cache_value_free (); 40885 ; 40886 return 0; 40887} 40888_ACEOF 40889if ac_fn_c_try_link "$LINENO"; then : 40890 ac_cv_lib_fcache_libfcache_cache_value_free=yes 40891else 40892 ac_cv_lib_fcache_libfcache_cache_value_free=no 40893fi 40894rm -f core conftest.err conftest.$ac_objext \ 40895 conftest$ac_exeext conftest.$ac_ext 40896LIBS=$ac_check_lib_save_LIBS 40897fi 40898{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_value_free" >&5 40899$as_echo "$ac_cv_lib_fcache_libfcache_cache_value_free" >&6; } 40900if test "x$ac_cv_lib_fcache_libfcache_cache_value_free" = xyes; then : 40901 ac_cv_libfcache_dummy=yes 40902else 40903 ac_cv_libfcache=no 40904fi 40905 40906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_value_clear in -lfcache" >&5 40907$as_echo_n "checking for libfcache_cache_value_clear in -lfcache... " >&6; } 40908if ${ac_cv_lib_fcache_libfcache_cache_value_clear+:} false; then : 40909 $as_echo_n "(cached) " >&6 40910else 40911 ac_check_lib_save_LIBS=$LIBS 40912LIBS="-lfcache $LIBS" 40913cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40914/* end confdefs.h. */ 40915 40916/* Override any GCC internal prototype to avoid an error. 40917 Use char because int might match the return type of a GCC 40918 builtin and then its argument prototype would still apply. */ 40919#ifdef __cplusplus 40920extern "C" 40921#endif 40922char libfcache_cache_value_clear (); 40923int 40924main () 40925{ 40926return libfcache_cache_value_clear (); 40927 ; 40928 return 0; 40929} 40930_ACEOF 40931if ac_fn_c_try_link "$LINENO"; then : 40932 ac_cv_lib_fcache_libfcache_cache_value_clear=yes 40933else 40934 ac_cv_lib_fcache_libfcache_cache_value_clear=no 40935fi 40936rm -f core conftest.err conftest.$ac_objext \ 40937 conftest$ac_exeext conftest.$ac_ext 40938LIBS=$ac_check_lib_save_LIBS 40939fi 40940{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_value_clear" >&5 40941$as_echo "$ac_cv_lib_fcache_libfcache_cache_value_clear" >&6; } 40942if test "x$ac_cv_lib_fcache_libfcache_cache_value_clear" = xyes; then : 40943 ac_cv_libfcache_dummy=yes 40944else 40945 ac_cv_libfcache=no 40946fi 40947 40948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_value_get_identifier in -lfcache" >&5 40949$as_echo_n "checking for libfcache_cache_value_get_identifier in -lfcache... " >&6; } 40950if ${ac_cv_lib_fcache_libfcache_cache_value_get_identifier+:} false; then : 40951 $as_echo_n "(cached) " >&6 40952else 40953 ac_check_lib_save_LIBS=$LIBS 40954LIBS="-lfcache $LIBS" 40955cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40956/* end confdefs.h. */ 40957 40958/* Override any GCC internal prototype to avoid an error. 40959 Use char because int might match the return type of a GCC 40960 builtin and then its argument prototype would still apply. */ 40961#ifdef __cplusplus 40962extern "C" 40963#endif 40964char libfcache_cache_value_get_identifier (); 40965int 40966main () 40967{ 40968return libfcache_cache_value_get_identifier (); 40969 ; 40970 return 0; 40971} 40972_ACEOF 40973if ac_fn_c_try_link "$LINENO"; then : 40974 ac_cv_lib_fcache_libfcache_cache_value_get_identifier=yes 40975else 40976 ac_cv_lib_fcache_libfcache_cache_value_get_identifier=no 40977fi 40978rm -f core conftest.err conftest.$ac_objext \ 40979 conftest$ac_exeext conftest.$ac_ext 40980LIBS=$ac_check_lib_save_LIBS 40981fi 40982{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_value_get_identifier" >&5 40983$as_echo "$ac_cv_lib_fcache_libfcache_cache_value_get_identifier" >&6; } 40984if test "x$ac_cv_lib_fcache_libfcache_cache_value_get_identifier" = xyes; then : 40985 ac_cv_libfcache_dummy=yes 40986else 40987 ac_cv_libfcache=no 40988fi 40989 40990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_value_set_identifier in -lfcache" >&5 40991$as_echo_n "checking for libfcache_cache_value_set_identifier in -lfcache... " >&6; } 40992if ${ac_cv_lib_fcache_libfcache_cache_value_set_identifier+:} false; then : 40993 $as_echo_n "(cached) " >&6 40994else 40995 ac_check_lib_save_LIBS=$LIBS 40996LIBS="-lfcache $LIBS" 40997cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40998/* end confdefs.h. */ 40999 41000/* Override any GCC internal prototype to avoid an error. 41001 Use char because int might match the return type of a GCC 41002 builtin and then its argument prototype would still apply. */ 41003#ifdef __cplusplus 41004extern "C" 41005#endif 41006char libfcache_cache_value_set_identifier (); 41007int 41008main () 41009{ 41010return libfcache_cache_value_set_identifier (); 41011 ; 41012 return 0; 41013} 41014_ACEOF 41015if ac_fn_c_try_link "$LINENO"; then : 41016 ac_cv_lib_fcache_libfcache_cache_value_set_identifier=yes 41017else 41018 ac_cv_lib_fcache_libfcache_cache_value_set_identifier=no 41019fi 41020rm -f core conftest.err conftest.$ac_objext \ 41021 conftest$ac_exeext conftest.$ac_ext 41022LIBS=$ac_check_lib_save_LIBS 41023fi 41024{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_value_set_identifier" >&5 41025$as_echo "$ac_cv_lib_fcache_libfcache_cache_value_set_identifier" >&6; } 41026if test "x$ac_cv_lib_fcache_libfcache_cache_value_set_identifier" = xyes; then : 41027 ac_cv_libfcache_dummy=yes 41028else 41029 ac_cv_libfcache=no 41030fi 41031 41032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_value_get_value in -lfcache" >&5 41033$as_echo_n "checking for libfcache_cache_value_get_value in -lfcache... " >&6; } 41034if ${ac_cv_lib_fcache_libfcache_cache_value_get_value+:} false; then : 41035 $as_echo_n "(cached) " >&6 41036else 41037 ac_check_lib_save_LIBS=$LIBS 41038LIBS="-lfcache $LIBS" 41039cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41040/* end confdefs.h. */ 41041 41042/* Override any GCC internal prototype to avoid an error. 41043 Use char because int might match the return type of a GCC 41044 builtin and then its argument prototype would still apply. */ 41045#ifdef __cplusplus 41046extern "C" 41047#endif 41048char libfcache_cache_value_get_value (); 41049int 41050main () 41051{ 41052return libfcache_cache_value_get_value (); 41053 ; 41054 return 0; 41055} 41056_ACEOF 41057if ac_fn_c_try_link "$LINENO"; then : 41058 ac_cv_lib_fcache_libfcache_cache_value_get_value=yes 41059else 41060 ac_cv_lib_fcache_libfcache_cache_value_get_value=no 41061fi 41062rm -f core conftest.err conftest.$ac_objext \ 41063 conftest$ac_exeext conftest.$ac_ext 41064LIBS=$ac_check_lib_save_LIBS 41065fi 41066{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_value_get_value" >&5 41067$as_echo "$ac_cv_lib_fcache_libfcache_cache_value_get_value" >&6; } 41068if test "x$ac_cv_lib_fcache_libfcache_cache_value_get_value" = xyes; then : 41069 ac_cv_libfcache_dummy=yes 41070else 41071 ac_cv_libfcache=no 41072fi 41073 41074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_value_set_value in -lfcache" >&5 41075$as_echo_n "checking for libfcache_cache_value_set_value in -lfcache... " >&6; } 41076if ${ac_cv_lib_fcache_libfcache_cache_value_set_value+:} false; then : 41077 $as_echo_n "(cached) " >&6 41078else 41079 ac_check_lib_save_LIBS=$LIBS 41080LIBS="-lfcache $LIBS" 41081cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41082/* end confdefs.h. */ 41083 41084/* Override any GCC internal prototype to avoid an error. 41085 Use char because int might match the return type of a GCC 41086 builtin and then its argument prototype would still apply. */ 41087#ifdef __cplusplus 41088extern "C" 41089#endif 41090char libfcache_cache_value_set_value (); 41091int 41092main () 41093{ 41094return libfcache_cache_value_set_value (); 41095 ; 41096 return 0; 41097} 41098_ACEOF 41099if ac_fn_c_try_link "$LINENO"; then : 41100 ac_cv_lib_fcache_libfcache_cache_value_set_value=yes 41101else 41102 ac_cv_lib_fcache_libfcache_cache_value_set_value=no 41103fi 41104rm -f core conftest.err conftest.$ac_objext \ 41105 conftest$ac_exeext conftest.$ac_ext 41106LIBS=$ac_check_lib_save_LIBS 41107fi 41108{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_value_set_value" >&5 41109$as_echo "$ac_cv_lib_fcache_libfcache_cache_value_set_value" >&6; } 41110if test "x$ac_cv_lib_fcache_libfcache_cache_value_set_value" = xyes; then : 41111 ac_cv_libfcache_dummy=yes 41112else 41113 ac_cv_libfcache=no 41114fi 41115 41116 41117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_date_time_get_timestamp in -lfcache" >&5 41118$as_echo_n "checking for libfcache_date_time_get_timestamp in -lfcache... " >&6; } 41119if ${ac_cv_lib_fcache_libfcache_date_time_get_timestamp+:} false; then : 41120 $as_echo_n "(cached) " >&6 41121else 41122 ac_check_lib_save_LIBS=$LIBS 41123LIBS="-lfcache $LIBS" 41124cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41125/* end confdefs.h. */ 41126 41127/* Override any GCC internal prototype to avoid an error. 41128 Use char because int might match the return type of a GCC 41129 builtin and then its argument prototype would still apply. */ 41130#ifdef __cplusplus 41131extern "C" 41132#endif 41133char libfcache_date_time_get_timestamp (); 41134int 41135main () 41136{ 41137return libfcache_date_time_get_timestamp (); 41138 ; 41139 return 0; 41140} 41141_ACEOF 41142if ac_fn_c_try_link "$LINENO"; then : 41143 ac_cv_lib_fcache_libfcache_date_time_get_timestamp=yes 41144else 41145 ac_cv_lib_fcache_libfcache_date_time_get_timestamp=no 41146fi 41147rm -f core conftest.err conftest.$ac_objext \ 41148 conftest$ac_exeext conftest.$ac_ext 41149LIBS=$ac_check_lib_save_LIBS 41150fi 41151{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_date_time_get_timestamp" >&5 41152$as_echo "$ac_cv_lib_fcache_libfcache_date_time_get_timestamp" >&6; } 41153if test "x$ac_cv_lib_fcache_libfcache_date_time_get_timestamp" = xyes; then : 41154 ac_cv_libfcache_dummy=yes 41155else 41156 ac_cv_libfcache=no 41157fi 41158 41159 41160 ac_cv_libfcache_LIBADD="-lfcache" 41161fi 41162 41163fi 41164 if test "x$ac_cv_with_libfcache" != x && test "x$ac_cv_with_libfcache" != xauto-detect && test "x$ac_cv_libfcache" != xyes; then : 41165 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 41166$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 41167as_fn_error 1 "unable to find supported libfcache in directory: $ac_cv_with_libfcache 41168See \`config.log' for more details" "$LINENO" 5; } 41169 41170fi 41171 41172fi 41173 41174 if test "x$ac_cv_libfcache" = xyes; then : 41175 41176$as_echo "#define HAVE_LIBFCACHE 1" >>confdefs.h 41177 41178 41179fi 41180 41181 if test "x$ac_cv_libfcache" = xyes; then : 41182 HAVE_LIBFCACHE=1 41183 41184else 41185 HAVE_LIBFCACHE=0 41186 41187 41188fi 41189 41190 41191 if test "x$ac_cv_libfcache" != xyes; then : 41192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 41193$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } 41194if ${ac_cv_struct_tm+:} false; then : 41195 $as_echo_n "(cached) " >&6 41196else 41197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41198/* end confdefs.h. */ 41199#include <sys/types.h> 41200#include <time.h> 41201 41202int 41203main () 41204{ 41205struct tm tm; 41206 int *p = &tm.tm_sec; 41207 return !p; 41208 ; 41209 return 0; 41210} 41211_ACEOF 41212if ac_fn_c_try_compile "$LINENO"; then : 41213 ac_cv_struct_tm=time.h 41214else 41215 ac_cv_struct_tm=sys/time.h 41216fi 41217rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 41218fi 41219{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5 41220$as_echo "$ac_cv_struct_tm" >&6; } 41221if test $ac_cv_struct_tm = sys/time.h; then 41222 41223$as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h 41224 41225fi 41226 41227 41228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 41229$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } 41230if ${ac_cv_header_time+:} false; then : 41231 $as_echo_n "(cached) " >&6 41232else 41233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41234/* end confdefs.h. */ 41235#include <sys/types.h> 41236#include <sys/time.h> 41237#include <time.h> 41238 41239int 41240main () 41241{ 41242if ((struct tm *) 0) 41243return 0; 41244 ; 41245 return 0; 41246} 41247_ACEOF 41248if ac_fn_c_try_compile "$LINENO"; then : 41249 ac_cv_header_time=yes 41250else 41251 ac_cv_header_time=no 41252fi 41253rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 41254fi 41255{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5 41256$as_echo "$ac_cv_header_time" >&6; } 41257if test $ac_cv_header_time = yes; then 41258 41259$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h 41260 41261fi 41262 41263 41264 for ac_func in clock_gettime time 41265do : 41266 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 41267ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 41268if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 41269 cat >>confdefs.h <<_ACEOF 41270#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 41271_ACEOF 41272 41273fi 41274done 41275 41276 41277 if test "x$ac_cv_func_time" != xyes; then : 41278 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 41279$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 41280as_fn_error 1 "Missing function: time 41281See \`config.log' for more details" "$LINENO" 5; } 41282 41283fi 41284 41285 ac_cv_libfcache_CPPFLAGS="-I../libfcache"; 41286 ac_cv_libfcache_LIBADD="../libfcache/libfcache.la"; 41287 41288 ac_cv_libfcache=local 41289 41290 41291 41292$as_echo "#define HAVE_LOCAL_LIBFCACHE 1" >>confdefs.h 41293 41294 HAVE_LOCAL_LIBFCACHE=1 41295 41296 41297fi 41298 41299 if test "x$ac_cv_libfcache" = xlocal; then 41300 HAVE_LOCAL_LIBFCACHE_TRUE= 41301 HAVE_LOCAL_LIBFCACHE_FALSE='#' 41302else 41303 HAVE_LOCAL_LIBFCACHE_TRUE='#' 41304 HAVE_LOCAL_LIBFCACHE_FALSE= 41305fi 41306 41307 if test "x$ac_cv_libfcache_CPPFLAGS" != "x"; then : 41308 LIBFCACHE_CPPFLAGS=$ac_cv_libfcache_CPPFLAGS 41309 41310 41311fi 41312 if test "x$ac_cv_libfcache_LIBADD" != "x"; then : 41313 LIBFCACHE_LIBADD=$ac_cv_libfcache_LIBADD 41314 41315 41316fi 41317 41318 if test "x$ac_cv_libfcache" = xyes; then : 41319 ax_libfcache_pc_libs_private=-lfcache 41320 41321 41322fi 41323 41324 if test "x$ac_cv_libfcache" = xyes; then : 41325 ax_libfcache_spec_requires=libfcache 41326 41327 ax_libfcache_spec_build_requires=libfcache-devel 41328 41329 41330fi 41331 41332 41333 41334 41335# Check whether --with-libfdata was given. 41336if test "${with_libfdata+set}" = set; then : 41337 withval=$with_libfdata; ac_cv_with_libfdata=$withval 41338else 41339 ac_cv_with_libfdata=auto-detect 41340fi 41341 41342 { $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 41343$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; } 41344if ${ac_cv_with_libfdata+:} false; then : 41345 $as_echo_n "(cached) " >&6 41346else 41347 ac_cv_with_libfdata=auto-detect 41348fi 41349{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libfdata" >&5 41350$as_echo "$ac_cv_with_libfdata" >&6; } 41351 41352 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libfdata" = xno; then : 41353 ac_cv_libfdata=no 41354else 41355 ac_cv_libfdata=check 41356 if test "x$ac_cv_with_libfdata" != x && test "x$ac_cv_with_libfdata" != xauto-detect; then : 41357 if test -d "$ac_cv_with_libfdata"; then : 41358 CFLAGS="$CFLAGS -I${ac_cv_with_libfdata}/include" 41359 LDFLAGS="$LDFLAGS -L${ac_cv_with_libfdata}/lib" 41360else 41361 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 41362$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 41363as_fn_error 1 "no such directory: $ac_cv_with_libfdata 41364See \`config.log' for more details" "$LINENO" 5; } 41365 41366fi 41367 41368else 41369 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 41370 41371pkg_failed=no 41372{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata" >&5 41373$as_echo_n "checking for libfdata... " >&6; } 41374 41375if test -n "$libfdata_CFLAGS"; then 41376 pkg_cv_libfdata_CFLAGS="$libfdata_CFLAGS" 41377 elif test -n "$PKG_CONFIG"; then 41378 if test -n "$PKG_CONFIG" && \ 41379 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfdata >= 20201129\""; } >&5 41380 ($PKG_CONFIG --exists --print-errors "libfdata >= 20201129") 2>&5 41381 ac_status=$? 41382 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 41383 test $ac_status = 0; }; then 41384 pkg_cv_libfdata_CFLAGS=`$PKG_CONFIG --cflags "libfdata >= 20201129" 2>/dev/null` 41385 test "x$?" != "x0" && pkg_failed=yes 41386else 41387 pkg_failed=yes 41388fi 41389 else 41390 pkg_failed=untried 41391fi 41392if test -n "$libfdata_LIBS"; then 41393 pkg_cv_libfdata_LIBS="$libfdata_LIBS" 41394 elif test -n "$PKG_CONFIG"; then 41395 if test -n "$PKG_CONFIG" && \ 41396 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfdata >= 20201129\""; } >&5 41397 ($PKG_CONFIG --exists --print-errors "libfdata >= 20201129") 2>&5 41398 ac_status=$? 41399 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 41400 test $ac_status = 0; }; then 41401 pkg_cv_libfdata_LIBS=`$PKG_CONFIG --libs "libfdata >= 20201129" 2>/dev/null` 41402 test "x$?" != "x0" && pkg_failed=yes 41403else 41404 pkg_failed=yes 41405fi 41406 else 41407 pkg_failed=untried 41408fi 41409 41410 41411 41412if test $pkg_failed = yes; then 41413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 41414$as_echo "no" >&6; } 41415 41416if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 41417 _pkg_short_errors_supported=yes 41418else 41419 _pkg_short_errors_supported=no 41420fi 41421 if test $_pkg_short_errors_supported = yes; then 41422 libfdata_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libfdata >= 20201129" 2>&1` 41423 else 41424 libfdata_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libfdata >= 20201129" 2>&1` 41425 fi 41426 # Put the nasty error message in config.log where it belongs 41427 echo "$libfdata_PKG_ERRORS" >&5 41428 41429 ac_cv_libfdata=check 41430elif test $pkg_failed = untried; then 41431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 41432$as_echo "no" >&6; } 41433 ac_cv_libfdata=check 41434else 41435 libfdata_CFLAGS=$pkg_cv_libfdata_CFLAGS 41436 libfdata_LIBS=$pkg_cv_libfdata_LIBS 41437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 41438$as_echo "yes" >&6; } 41439 ac_cv_libfdata=yes 41440fi 41441 41442fi 41443 if test "x$ac_cv_libfdata" = xyes; then : 41444 ac_cv_libfdata_CPPFLAGS="$pkg_cv_libfdata_CFLAGS" 41445 ac_cv_libfdata_LIBADD="$pkg_cv_libfdata_LIBS" 41446fi 41447 41448fi 41449 41450 if test "x$ac_cv_libfdata" = xcheck; then : 41451 for ac_header in libfdata.h 41452do : 41453 ac_fn_c_check_header_mongrel "$LINENO" "libfdata.h" "ac_cv_header_libfdata_h" "$ac_includes_default" 41454if test "x$ac_cv_header_libfdata_h" = xyes; then : 41455 cat >>confdefs.h <<_ACEOF 41456#define HAVE_LIBFDATA_H 1 41457_ACEOF 41458 41459fi 41460 41461done 41462 41463 41464 if test "x$ac_cv_header_libfdata_h" = xno; then : 41465 ac_cv_libfdata=no 41466else 41467 ac_cv_libfdata=yes 41468 41469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_get_version in -lfdata" >&5 41470$as_echo_n "checking for libfdata_get_version in -lfdata... " >&6; } 41471if ${ac_cv_lib_fdata_libfdata_get_version+:} false; then : 41472 $as_echo_n "(cached) " >&6 41473else 41474 ac_check_lib_save_LIBS=$LIBS 41475LIBS="-lfdata $LIBS" 41476cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41477/* end confdefs.h. */ 41478 41479/* Override any GCC internal prototype to avoid an error. 41480 Use char because int might match the return type of a GCC 41481 builtin and then its argument prototype would still apply. */ 41482#ifdef __cplusplus 41483extern "C" 41484#endif 41485char libfdata_get_version (); 41486int 41487main () 41488{ 41489return libfdata_get_version (); 41490 ; 41491 return 0; 41492} 41493_ACEOF 41494if ac_fn_c_try_link "$LINENO"; then : 41495 ac_cv_lib_fdata_libfdata_get_version=yes 41496else 41497 ac_cv_lib_fdata_libfdata_get_version=no 41498fi 41499rm -f core conftest.err conftest.$ac_objext \ 41500 conftest$ac_exeext conftest.$ac_ext 41501LIBS=$ac_check_lib_save_LIBS 41502fi 41503{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_get_version" >&5 41504$as_echo "$ac_cv_lib_fdata_libfdata_get_version" >&6; } 41505if test "x$ac_cv_lib_fdata_libfdata_get_version" = xyes; then : 41506 ac_cv_libfdata_dummy=yes 41507else 41508 ac_cv_libfdata=no 41509fi 41510 41511 41512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_initialize in -lfdata" >&5 41513$as_echo_n "checking for libfdata_area_initialize in -lfdata... " >&6; } 41514if ${ac_cv_lib_fdata_libfdata_area_initialize+:} false; then : 41515 $as_echo_n "(cached) " >&6 41516else 41517 ac_check_lib_save_LIBS=$LIBS 41518LIBS="-lfdata $LIBS" 41519cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41520/* end confdefs.h. */ 41521 41522/* Override any GCC internal prototype to avoid an error. 41523 Use char because int might match the return type of a GCC 41524 builtin and then its argument prototype would still apply. */ 41525#ifdef __cplusplus 41526extern "C" 41527#endif 41528char libfdata_area_initialize (); 41529int 41530main () 41531{ 41532return libfdata_area_initialize (); 41533 ; 41534 return 0; 41535} 41536_ACEOF 41537if ac_fn_c_try_link "$LINENO"; then : 41538 ac_cv_lib_fdata_libfdata_area_initialize=yes 41539else 41540 ac_cv_lib_fdata_libfdata_area_initialize=no 41541fi 41542rm -f core conftest.err conftest.$ac_objext \ 41543 conftest$ac_exeext conftest.$ac_ext 41544LIBS=$ac_check_lib_save_LIBS 41545fi 41546{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_initialize" >&5 41547$as_echo "$ac_cv_lib_fdata_libfdata_area_initialize" >&6; } 41548if test "x$ac_cv_lib_fdata_libfdata_area_initialize" = xyes; then : 41549 ac_cv_libfdata_dummy=yes 41550else 41551 ac_cv_libfdata=no 41552fi 41553 41554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_free in -lfdata" >&5 41555$as_echo_n "checking for libfdata_area_free in -lfdata... " >&6; } 41556if ${ac_cv_lib_fdata_libfdata_area_free+:} false; then : 41557 $as_echo_n "(cached) " >&6 41558else 41559 ac_check_lib_save_LIBS=$LIBS 41560LIBS="-lfdata $LIBS" 41561cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41562/* end confdefs.h. */ 41563 41564/* Override any GCC internal prototype to avoid an error. 41565 Use char because int might match the return type of a GCC 41566 builtin and then its argument prototype would still apply. */ 41567#ifdef __cplusplus 41568extern "C" 41569#endif 41570char libfdata_area_free (); 41571int 41572main () 41573{ 41574return libfdata_area_free (); 41575 ; 41576 return 0; 41577} 41578_ACEOF 41579if ac_fn_c_try_link "$LINENO"; then : 41580 ac_cv_lib_fdata_libfdata_area_free=yes 41581else 41582 ac_cv_lib_fdata_libfdata_area_free=no 41583fi 41584rm -f core conftest.err conftest.$ac_objext \ 41585 conftest$ac_exeext conftest.$ac_ext 41586LIBS=$ac_check_lib_save_LIBS 41587fi 41588{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_free" >&5 41589$as_echo "$ac_cv_lib_fdata_libfdata_area_free" >&6; } 41590if test "x$ac_cv_lib_fdata_libfdata_area_free" = xyes; then : 41591 ac_cv_libfdata_dummy=yes 41592else 41593 ac_cv_libfdata=no 41594fi 41595 41596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_clone in -lfdata" >&5 41597$as_echo_n "checking for libfdata_area_clone in -lfdata... " >&6; } 41598if ${ac_cv_lib_fdata_libfdata_area_clone+:} false; then : 41599 $as_echo_n "(cached) " >&6 41600else 41601 ac_check_lib_save_LIBS=$LIBS 41602LIBS="-lfdata $LIBS" 41603cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41604/* end confdefs.h. */ 41605 41606/* Override any GCC internal prototype to avoid an error. 41607 Use char because int might match the return type of a GCC 41608 builtin and then its argument prototype would still apply. */ 41609#ifdef __cplusplus 41610extern "C" 41611#endif 41612char libfdata_area_clone (); 41613int 41614main () 41615{ 41616return libfdata_area_clone (); 41617 ; 41618 return 0; 41619} 41620_ACEOF 41621if ac_fn_c_try_link "$LINENO"; then : 41622 ac_cv_lib_fdata_libfdata_area_clone=yes 41623else 41624 ac_cv_lib_fdata_libfdata_area_clone=no 41625fi 41626rm -f core conftest.err conftest.$ac_objext \ 41627 conftest$ac_exeext conftest.$ac_ext 41628LIBS=$ac_check_lib_save_LIBS 41629fi 41630{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_clone" >&5 41631$as_echo "$ac_cv_lib_fdata_libfdata_area_clone" >&6; } 41632if test "x$ac_cv_lib_fdata_libfdata_area_clone" = xyes; then : 41633 ac_cv_libfdata_dummy=yes 41634else 41635 ac_cv_libfdata=no 41636fi 41637 41638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_empty in -lfdata" >&5 41639$as_echo_n "checking for libfdata_area_empty in -lfdata... " >&6; } 41640if ${ac_cv_lib_fdata_libfdata_area_empty+:} false; then : 41641 $as_echo_n "(cached) " >&6 41642else 41643 ac_check_lib_save_LIBS=$LIBS 41644LIBS="-lfdata $LIBS" 41645cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41646/* end confdefs.h. */ 41647 41648/* Override any GCC internal prototype to avoid an error. 41649 Use char because int might match the return type of a GCC 41650 builtin and then its argument prototype would still apply. */ 41651#ifdef __cplusplus 41652extern "C" 41653#endif 41654char libfdata_area_empty (); 41655int 41656main () 41657{ 41658return libfdata_area_empty (); 41659 ; 41660 return 0; 41661} 41662_ACEOF 41663if ac_fn_c_try_link "$LINENO"; then : 41664 ac_cv_lib_fdata_libfdata_area_empty=yes 41665else 41666 ac_cv_lib_fdata_libfdata_area_empty=no 41667fi 41668rm -f core conftest.err conftest.$ac_objext \ 41669 conftest$ac_exeext conftest.$ac_ext 41670LIBS=$ac_check_lib_save_LIBS 41671fi 41672{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_empty" >&5 41673$as_echo "$ac_cv_lib_fdata_libfdata_area_empty" >&6; } 41674if test "x$ac_cv_lib_fdata_libfdata_area_empty" = xyes; then : 41675 ac_cv_libfdata_dummy=yes 41676else 41677 ac_cv_libfdata=no 41678fi 41679 41680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_resize in -lfdata" >&5 41681$as_echo_n "checking for libfdata_area_resize in -lfdata... " >&6; } 41682if ${ac_cv_lib_fdata_libfdata_area_resize+:} false; then : 41683 $as_echo_n "(cached) " >&6 41684else 41685 ac_check_lib_save_LIBS=$LIBS 41686LIBS="-lfdata $LIBS" 41687cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41688/* end confdefs.h. */ 41689 41690/* Override any GCC internal prototype to avoid an error. 41691 Use char because int might match the return type of a GCC 41692 builtin and then its argument prototype would still apply. */ 41693#ifdef __cplusplus 41694extern "C" 41695#endif 41696char libfdata_area_resize (); 41697int 41698main () 41699{ 41700return libfdata_area_resize (); 41701 ; 41702 return 0; 41703} 41704_ACEOF 41705if ac_fn_c_try_link "$LINENO"; then : 41706 ac_cv_lib_fdata_libfdata_area_resize=yes 41707else 41708 ac_cv_lib_fdata_libfdata_area_resize=no 41709fi 41710rm -f core conftest.err conftest.$ac_objext \ 41711 conftest$ac_exeext conftest.$ac_ext 41712LIBS=$ac_check_lib_save_LIBS 41713fi 41714{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_resize" >&5 41715$as_echo "$ac_cv_lib_fdata_libfdata_area_resize" >&6; } 41716if test "x$ac_cv_lib_fdata_libfdata_area_resize" = xyes; then : 41717 ac_cv_libfdata_dummy=yes 41718else 41719 ac_cv_libfdata=no 41720fi 41721 41722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_get_number_of_segments in -lfdata" >&5 41723$as_echo_n "checking for libfdata_area_get_number_of_segments in -lfdata... " >&6; } 41724if ${ac_cv_lib_fdata_libfdata_area_get_number_of_segments+:} false; then : 41725 $as_echo_n "(cached) " >&6 41726else 41727 ac_check_lib_save_LIBS=$LIBS 41728LIBS="-lfdata $LIBS" 41729cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41730/* end confdefs.h. */ 41731 41732/* Override any GCC internal prototype to avoid an error. 41733 Use char because int might match the return type of a GCC 41734 builtin and then its argument prototype would still apply. */ 41735#ifdef __cplusplus 41736extern "C" 41737#endif 41738char libfdata_area_get_number_of_segments (); 41739int 41740main () 41741{ 41742return libfdata_area_get_number_of_segments (); 41743 ; 41744 return 0; 41745} 41746_ACEOF 41747if ac_fn_c_try_link "$LINENO"; then : 41748 ac_cv_lib_fdata_libfdata_area_get_number_of_segments=yes 41749else 41750 ac_cv_lib_fdata_libfdata_area_get_number_of_segments=no 41751fi 41752rm -f core conftest.err conftest.$ac_objext \ 41753 conftest$ac_exeext conftest.$ac_ext 41754LIBS=$ac_check_lib_save_LIBS 41755fi 41756{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_get_number_of_segments" >&5 41757$as_echo "$ac_cv_lib_fdata_libfdata_area_get_number_of_segments" >&6; } 41758if test "x$ac_cv_lib_fdata_libfdata_area_get_number_of_segments" = xyes; then : 41759 ac_cv_libfdata_dummy=yes 41760else 41761 ac_cv_libfdata=no 41762fi 41763 41764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_get_segment_by_index in -lfdata" >&5 41765$as_echo_n "checking for libfdata_area_get_segment_by_index in -lfdata... " >&6; } 41766if ${ac_cv_lib_fdata_libfdata_area_get_segment_by_index+:} false; then : 41767 $as_echo_n "(cached) " >&6 41768else 41769 ac_check_lib_save_LIBS=$LIBS 41770LIBS="-lfdata $LIBS" 41771cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41772/* end confdefs.h. */ 41773 41774/* Override any GCC internal prototype to avoid an error. 41775 Use char because int might match the return type of a GCC 41776 builtin and then its argument prototype would still apply. */ 41777#ifdef __cplusplus 41778extern "C" 41779#endif 41780char libfdata_area_get_segment_by_index (); 41781int 41782main () 41783{ 41784return libfdata_area_get_segment_by_index (); 41785 ; 41786 return 0; 41787} 41788_ACEOF 41789if ac_fn_c_try_link "$LINENO"; then : 41790 ac_cv_lib_fdata_libfdata_area_get_segment_by_index=yes 41791else 41792 ac_cv_lib_fdata_libfdata_area_get_segment_by_index=no 41793fi 41794rm -f core conftest.err conftest.$ac_objext \ 41795 conftest$ac_exeext conftest.$ac_ext 41796LIBS=$ac_check_lib_save_LIBS 41797fi 41798{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_get_segment_by_index" >&5 41799$as_echo "$ac_cv_lib_fdata_libfdata_area_get_segment_by_index" >&6; } 41800if test "x$ac_cv_lib_fdata_libfdata_area_get_segment_by_index" = xyes; then : 41801 ac_cv_libfdata_dummy=yes 41802else 41803 ac_cv_libfdata=no 41804fi 41805 41806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_set_segment_by_index in -lfdata" >&5 41807$as_echo_n "checking for libfdata_area_set_segment_by_index in -lfdata... " >&6; } 41808if ${ac_cv_lib_fdata_libfdata_area_set_segment_by_index+:} false; then : 41809 $as_echo_n "(cached) " >&6 41810else 41811 ac_check_lib_save_LIBS=$LIBS 41812LIBS="-lfdata $LIBS" 41813cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41814/* end confdefs.h. */ 41815 41816/* Override any GCC internal prototype to avoid an error. 41817 Use char because int might match the return type of a GCC 41818 builtin and then its argument prototype would still apply. */ 41819#ifdef __cplusplus 41820extern "C" 41821#endif 41822char libfdata_area_set_segment_by_index (); 41823int 41824main () 41825{ 41826return libfdata_area_set_segment_by_index (); 41827 ; 41828 return 0; 41829} 41830_ACEOF 41831if ac_fn_c_try_link "$LINENO"; then : 41832 ac_cv_lib_fdata_libfdata_area_set_segment_by_index=yes 41833else 41834 ac_cv_lib_fdata_libfdata_area_set_segment_by_index=no 41835fi 41836rm -f core conftest.err conftest.$ac_objext \ 41837 conftest$ac_exeext conftest.$ac_ext 41838LIBS=$ac_check_lib_save_LIBS 41839fi 41840{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_set_segment_by_index" >&5 41841$as_echo "$ac_cv_lib_fdata_libfdata_area_set_segment_by_index" >&6; } 41842if test "x$ac_cv_lib_fdata_libfdata_area_set_segment_by_index" = xyes; then : 41843 ac_cv_libfdata_dummy=yes 41844else 41845 ac_cv_libfdata=no 41846fi 41847 41848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_prepend_segment in -lfdata" >&5 41849$as_echo_n "checking for libfdata_area_prepend_segment in -lfdata... " >&6; } 41850if ${ac_cv_lib_fdata_libfdata_area_prepend_segment+:} false; then : 41851 $as_echo_n "(cached) " >&6 41852else 41853 ac_check_lib_save_LIBS=$LIBS 41854LIBS="-lfdata $LIBS" 41855cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41856/* end confdefs.h. */ 41857 41858/* Override any GCC internal prototype to avoid an error. 41859 Use char because int might match the return type of a GCC 41860 builtin and then its argument prototype would still apply. */ 41861#ifdef __cplusplus 41862extern "C" 41863#endif 41864char libfdata_area_prepend_segment (); 41865int 41866main () 41867{ 41868return libfdata_area_prepend_segment (); 41869 ; 41870 return 0; 41871} 41872_ACEOF 41873if ac_fn_c_try_link "$LINENO"; then : 41874 ac_cv_lib_fdata_libfdata_area_prepend_segment=yes 41875else 41876 ac_cv_lib_fdata_libfdata_area_prepend_segment=no 41877fi 41878rm -f core conftest.err conftest.$ac_objext \ 41879 conftest$ac_exeext conftest.$ac_ext 41880LIBS=$ac_check_lib_save_LIBS 41881fi 41882{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_prepend_segment" >&5 41883$as_echo "$ac_cv_lib_fdata_libfdata_area_prepend_segment" >&6; } 41884if test "x$ac_cv_lib_fdata_libfdata_area_prepend_segment" = xyes; then : 41885 ac_cv_libfdata_dummy=yes 41886else 41887 ac_cv_libfdata=no 41888fi 41889 41890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_append_segment in -lfdata" >&5 41891$as_echo_n "checking for libfdata_area_append_segment in -lfdata... " >&6; } 41892if ${ac_cv_lib_fdata_libfdata_area_append_segment+:} false; then : 41893 $as_echo_n "(cached) " >&6 41894else 41895 ac_check_lib_save_LIBS=$LIBS 41896LIBS="-lfdata $LIBS" 41897cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41898/* end confdefs.h. */ 41899 41900/* Override any GCC internal prototype to avoid an error. 41901 Use char because int might match the return type of a GCC 41902 builtin and then its argument prototype would still apply. */ 41903#ifdef __cplusplus 41904extern "C" 41905#endif 41906char libfdata_area_append_segment (); 41907int 41908main () 41909{ 41910return libfdata_area_append_segment (); 41911 ; 41912 return 0; 41913} 41914_ACEOF 41915if ac_fn_c_try_link "$LINENO"; then : 41916 ac_cv_lib_fdata_libfdata_area_append_segment=yes 41917else 41918 ac_cv_lib_fdata_libfdata_area_append_segment=no 41919fi 41920rm -f core conftest.err conftest.$ac_objext \ 41921 conftest$ac_exeext conftest.$ac_ext 41922LIBS=$ac_check_lib_save_LIBS 41923fi 41924{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_append_segment" >&5 41925$as_echo "$ac_cv_lib_fdata_libfdata_area_append_segment" >&6; } 41926if test "x$ac_cv_lib_fdata_libfdata_area_append_segment" = xyes; then : 41927 ac_cv_libfdata_dummy=yes 41928else 41929 ac_cv_libfdata=no 41930fi 41931 41932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_get_element_data_size in -lfdata" >&5 41933$as_echo_n "checking for libfdata_area_get_element_data_size in -lfdata... " >&6; } 41934if ${ac_cv_lib_fdata_libfdata_area_get_element_data_size+:} false; then : 41935 $as_echo_n "(cached) " >&6 41936else 41937 ac_check_lib_save_LIBS=$LIBS 41938LIBS="-lfdata $LIBS" 41939cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41940/* end confdefs.h. */ 41941 41942/* Override any GCC internal prototype to avoid an error. 41943 Use char because int might match the return type of a GCC 41944 builtin and then its argument prototype would still apply. */ 41945#ifdef __cplusplus 41946extern "C" 41947#endif 41948char libfdata_area_get_element_data_size (); 41949int 41950main () 41951{ 41952return libfdata_area_get_element_data_size (); 41953 ; 41954 return 0; 41955} 41956_ACEOF 41957if ac_fn_c_try_link "$LINENO"; then : 41958 ac_cv_lib_fdata_libfdata_area_get_element_data_size=yes 41959else 41960 ac_cv_lib_fdata_libfdata_area_get_element_data_size=no 41961fi 41962rm -f core conftest.err conftest.$ac_objext \ 41963 conftest$ac_exeext conftest.$ac_ext 41964LIBS=$ac_check_lib_save_LIBS 41965fi 41966{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_get_element_data_size" >&5 41967$as_echo "$ac_cv_lib_fdata_libfdata_area_get_element_data_size" >&6; } 41968if test "x$ac_cv_lib_fdata_libfdata_area_get_element_data_size" = xyes; then : 41969 ac_cv_libfdata_dummy=yes 41970else 41971 ac_cv_libfdata=no 41972fi 41973 41974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_get_element_value_at_offset in -lfdata" >&5 41975$as_echo_n "checking for libfdata_area_get_element_value_at_offset in -lfdata... " >&6; } 41976if ${ac_cv_lib_fdata_libfdata_area_get_element_value_at_offset+:} false; then : 41977 $as_echo_n "(cached) " >&6 41978else 41979 ac_check_lib_save_LIBS=$LIBS 41980LIBS="-lfdata $LIBS" 41981cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41982/* end confdefs.h. */ 41983 41984/* Override any GCC internal prototype to avoid an error. 41985 Use char because int might match the return type of a GCC 41986 builtin and then its argument prototype would still apply. */ 41987#ifdef __cplusplus 41988extern "C" 41989#endif 41990char libfdata_area_get_element_value_at_offset (); 41991int 41992main () 41993{ 41994return libfdata_area_get_element_value_at_offset (); 41995 ; 41996 return 0; 41997} 41998_ACEOF 41999if ac_fn_c_try_link "$LINENO"; then : 42000 ac_cv_lib_fdata_libfdata_area_get_element_value_at_offset=yes 42001else 42002 ac_cv_lib_fdata_libfdata_area_get_element_value_at_offset=no 42003fi 42004rm -f core conftest.err conftest.$ac_objext \ 42005 conftest$ac_exeext conftest.$ac_ext 42006LIBS=$ac_check_lib_save_LIBS 42007fi 42008{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_get_element_value_at_offset" >&5 42009$as_echo "$ac_cv_lib_fdata_libfdata_area_get_element_value_at_offset" >&6; } 42010if test "x$ac_cv_lib_fdata_libfdata_area_get_element_value_at_offset" = xyes; then : 42011 ac_cv_libfdata_dummy=yes 42012else 42013 ac_cv_libfdata=no 42014fi 42015 42016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_set_element_value_at_offset in -lfdata" >&5 42017$as_echo_n "checking for libfdata_area_set_element_value_at_offset in -lfdata... " >&6; } 42018if ${ac_cv_lib_fdata_libfdata_area_set_element_value_at_offset+:} false; then : 42019 $as_echo_n "(cached) " >&6 42020else 42021 ac_check_lib_save_LIBS=$LIBS 42022LIBS="-lfdata $LIBS" 42023cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42024/* end confdefs.h. */ 42025 42026/* Override any GCC internal prototype to avoid an error. 42027 Use char because int might match the return type of a GCC 42028 builtin and then its argument prototype would still apply. */ 42029#ifdef __cplusplus 42030extern "C" 42031#endif 42032char libfdata_area_set_element_value_at_offset (); 42033int 42034main () 42035{ 42036return libfdata_area_set_element_value_at_offset (); 42037 ; 42038 return 0; 42039} 42040_ACEOF 42041if ac_fn_c_try_link "$LINENO"; then : 42042 ac_cv_lib_fdata_libfdata_area_set_element_value_at_offset=yes 42043else 42044 ac_cv_lib_fdata_libfdata_area_set_element_value_at_offset=no 42045fi 42046rm -f core conftest.err conftest.$ac_objext \ 42047 conftest$ac_exeext conftest.$ac_ext 42048LIBS=$ac_check_lib_save_LIBS 42049fi 42050{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_set_element_value_at_offset" >&5 42051$as_echo "$ac_cv_lib_fdata_libfdata_area_set_element_value_at_offset" >&6; } 42052if test "x$ac_cv_lib_fdata_libfdata_area_set_element_value_at_offset" = xyes; then : 42053 ac_cv_libfdata_dummy=yes 42054else 42055 ac_cv_libfdata=no 42056fi 42057 42058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_get_size in -lfdata" >&5 42059$as_echo_n "checking for libfdata_area_get_size in -lfdata... " >&6; } 42060if ${ac_cv_lib_fdata_libfdata_area_get_size+:} false; then : 42061 $as_echo_n "(cached) " >&6 42062else 42063 ac_check_lib_save_LIBS=$LIBS 42064LIBS="-lfdata $LIBS" 42065cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42066/* end confdefs.h. */ 42067 42068/* Override any GCC internal prototype to avoid an error. 42069 Use char because int might match the return type of a GCC 42070 builtin and then its argument prototype would still apply. */ 42071#ifdef __cplusplus 42072extern "C" 42073#endif 42074char libfdata_area_get_size (); 42075int 42076main () 42077{ 42078return libfdata_area_get_size (); 42079 ; 42080 return 0; 42081} 42082_ACEOF 42083if ac_fn_c_try_link "$LINENO"; then : 42084 ac_cv_lib_fdata_libfdata_area_get_size=yes 42085else 42086 ac_cv_lib_fdata_libfdata_area_get_size=no 42087fi 42088rm -f core conftest.err conftest.$ac_objext \ 42089 conftest$ac_exeext conftest.$ac_ext 42090LIBS=$ac_check_lib_save_LIBS 42091fi 42092{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_get_size" >&5 42093$as_echo "$ac_cv_lib_fdata_libfdata_area_get_size" >&6; } 42094if test "x$ac_cv_lib_fdata_libfdata_area_get_size" = xyes; then : 42095 ac_cv_libfdata_dummy=yes 42096else 42097 ac_cv_libfdata=no 42098fi 42099 42100 42101 42102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_initialize in -lfdata" >&5 42103$as_echo_n "checking for libfdata_list_initialize in -lfdata... " >&6; } 42104if ${ac_cv_lib_fdata_libfdata_list_initialize+:} false; then : 42105 $as_echo_n "(cached) " >&6 42106else 42107 ac_check_lib_save_LIBS=$LIBS 42108LIBS="-lfdata $LIBS" 42109cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42110/* end confdefs.h. */ 42111 42112/* Override any GCC internal prototype to avoid an error. 42113 Use char because int might match the return type of a GCC 42114 builtin and then its argument prototype would still apply. */ 42115#ifdef __cplusplus 42116extern "C" 42117#endif 42118char libfdata_list_initialize (); 42119int 42120main () 42121{ 42122return libfdata_list_initialize (); 42123 ; 42124 return 0; 42125} 42126_ACEOF 42127if ac_fn_c_try_link "$LINENO"; then : 42128 ac_cv_lib_fdata_libfdata_list_initialize=yes 42129else 42130 ac_cv_lib_fdata_libfdata_list_initialize=no 42131fi 42132rm -f core conftest.err conftest.$ac_objext \ 42133 conftest$ac_exeext conftest.$ac_ext 42134LIBS=$ac_check_lib_save_LIBS 42135fi 42136{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_initialize" >&5 42137$as_echo "$ac_cv_lib_fdata_libfdata_list_initialize" >&6; } 42138if test "x$ac_cv_lib_fdata_libfdata_list_initialize" = xyes; then : 42139 ac_cv_libfdata_dummy=yes 42140else 42141 ac_cv_libfdata=no 42142fi 42143 42144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_free in -lfdata" >&5 42145$as_echo_n "checking for libfdata_list_free in -lfdata... " >&6; } 42146if ${ac_cv_lib_fdata_libfdata_list_free+:} false; then : 42147 $as_echo_n "(cached) " >&6 42148else 42149 ac_check_lib_save_LIBS=$LIBS 42150LIBS="-lfdata $LIBS" 42151cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42152/* end confdefs.h. */ 42153 42154/* Override any GCC internal prototype to avoid an error. 42155 Use char because int might match the return type of a GCC 42156 builtin and then its argument prototype would still apply. */ 42157#ifdef __cplusplus 42158extern "C" 42159#endif 42160char libfdata_list_free (); 42161int 42162main () 42163{ 42164return libfdata_list_free (); 42165 ; 42166 return 0; 42167} 42168_ACEOF 42169if ac_fn_c_try_link "$LINENO"; then : 42170 ac_cv_lib_fdata_libfdata_list_free=yes 42171else 42172 ac_cv_lib_fdata_libfdata_list_free=no 42173fi 42174rm -f core conftest.err conftest.$ac_objext \ 42175 conftest$ac_exeext conftest.$ac_ext 42176LIBS=$ac_check_lib_save_LIBS 42177fi 42178{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_free" >&5 42179$as_echo "$ac_cv_lib_fdata_libfdata_list_free" >&6; } 42180if test "x$ac_cv_lib_fdata_libfdata_list_free" = xyes; then : 42181 ac_cv_libfdata_dummy=yes 42182else 42183 ac_cv_libfdata=no 42184fi 42185 42186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_clone in -lfdata" >&5 42187$as_echo_n "checking for libfdata_list_clone in -lfdata... " >&6; } 42188if ${ac_cv_lib_fdata_libfdata_list_clone+:} false; then : 42189 $as_echo_n "(cached) " >&6 42190else 42191 ac_check_lib_save_LIBS=$LIBS 42192LIBS="-lfdata $LIBS" 42193cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42194/* end confdefs.h. */ 42195 42196/* Override any GCC internal prototype to avoid an error. 42197 Use char because int might match the return type of a GCC 42198 builtin and then its argument prototype would still apply. */ 42199#ifdef __cplusplus 42200extern "C" 42201#endif 42202char libfdata_list_clone (); 42203int 42204main () 42205{ 42206return libfdata_list_clone (); 42207 ; 42208 return 0; 42209} 42210_ACEOF 42211if ac_fn_c_try_link "$LINENO"; then : 42212 ac_cv_lib_fdata_libfdata_list_clone=yes 42213else 42214 ac_cv_lib_fdata_libfdata_list_clone=no 42215fi 42216rm -f core conftest.err conftest.$ac_objext \ 42217 conftest$ac_exeext conftest.$ac_ext 42218LIBS=$ac_check_lib_save_LIBS 42219fi 42220{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_clone" >&5 42221$as_echo "$ac_cv_lib_fdata_libfdata_list_clone" >&6; } 42222if test "x$ac_cv_lib_fdata_libfdata_list_clone" = xyes; then : 42223 ac_cv_libfdata_dummy=yes 42224else 42225 ac_cv_libfdata=no 42226fi 42227 42228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_empty in -lfdata" >&5 42229$as_echo_n "checking for libfdata_list_empty in -lfdata... " >&6; } 42230if ${ac_cv_lib_fdata_libfdata_list_empty+:} false; then : 42231 $as_echo_n "(cached) " >&6 42232else 42233 ac_check_lib_save_LIBS=$LIBS 42234LIBS="-lfdata $LIBS" 42235cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42236/* end confdefs.h. */ 42237 42238/* Override any GCC internal prototype to avoid an error. 42239 Use char because int might match the return type of a GCC 42240 builtin and then its argument prototype would still apply. */ 42241#ifdef __cplusplus 42242extern "C" 42243#endif 42244char libfdata_list_empty (); 42245int 42246main () 42247{ 42248return libfdata_list_empty (); 42249 ; 42250 return 0; 42251} 42252_ACEOF 42253if ac_fn_c_try_link "$LINENO"; then : 42254 ac_cv_lib_fdata_libfdata_list_empty=yes 42255else 42256 ac_cv_lib_fdata_libfdata_list_empty=no 42257fi 42258rm -f core conftest.err conftest.$ac_objext \ 42259 conftest$ac_exeext conftest.$ac_ext 42260LIBS=$ac_check_lib_save_LIBS 42261fi 42262{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_empty" >&5 42263$as_echo "$ac_cv_lib_fdata_libfdata_list_empty" >&6; } 42264if test "x$ac_cv_lib_fdata_libfdata_list_empty" = xyes; then : 42265 ac_cv_libfdata_dummy=yes 42266else 42267 ac_cv_libfdata=no 42268fi 42269 42270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_resize in -lfdata" >&5 42271$as_echo_n "checking for libfdata_list_resize in -lfdata... " >&6; } 42272if ${ac_cv_lib_fdata_libfdata_list_resize+:} false; then : 42273 $as_echo_n "(cached) " >&6 42274else 42275 ac_check_lib_save_LIBS=$LIBS 42276LIBS="-lfdata $LIBS" 42277cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42278/* end confdefs.h. */ 42279 42280/* Override any GCC internal prototype to avoid an error. 42281 Use char because int might match the return type of a GCC 42282 builtin and then its argument prototype would still apply. */ 42283#ifdef __cplusplus 42284extern "C" 42285#endif 42286char libfdata_list_resize (); 42287int 42288main () 42289{ 42290return libfdata_list_resize (); 42291 ; 42292 return 0; 42293} 42294_ACEOF 42295if ac_fn_c_try_link "$LINENO"; then : 42296 ac_cv_lib_fdata_libfdata_list_resize=yes 42297else 42298 ac_cv_lib_fdata_libfdata_list_resize=no 42299fi 42300rm -f core conftest.err conftest.$ac_objext \ 42301 conftest$ac_exeext conftest.$ac_ext 42302LIBS=$ac_check_lib_save_LIBS 42303fi 42304{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_resize" >&5 42305$as_echo "$ac_cv_lib_fdata_libfdata_list_resize" >&6; } 42306if test "x$ac_cv_lib_fdata_libfdata_list_resize" = xyes; then : 42307 ac_cv_libfdata_dummy=yes 42308else 42309 ac_cv_libfdata=no 42310fi 42311 42312 42313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_reverse in -lfdata" >&5 42314$as_echo_n "checking for libfdata_list_reverse in -lfdata... " >&6; } 42315if ${ac_cv_lib_fdata_libfdata_list_reverse+:} false; then : 42316 $as_echo_n "(cached) " >&6 42317else 42318 ac_check_lib_save_LIBS=$LIBS 42319LIBS="-lfdata $LIBS" 42320cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42321/* end confdefs.h. */ 42322 42323/* Override any GCC internal prototype to avoid an error. 42324 Use char because int might match the return type of a GCC 42325 builtin and then its argument prototype would still apply. */ 42326#ifdef __cplusplus 42327extern "C" 42328#endif 42329char libfdata_list_reverse (); 42330int 42331main () 42332{ 42333return libfdata_list_reverse (); 42334 ; 42335 return 0; 42336} 42337_ACEOF 42338if ac_fn_c_try_link "$LINENO"; then : 42339 ac_cv_lib_fdata_libfdata_list_reverse=yes 42340else 42341 ac_cv_lib_fdata_libfdata_list_reverse=no 42342fi 42343rm -f core conftest.err conftest.$ac_objext \ 42344 conftest$ac_exeext conftest.$ac_ext 42345LIBS=$ac_check_lib_save_LIBS 42346fi 42347{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_reverse" >&5 42348$as_echo "$ac_cv_lib_fdata_libfdata_list_reverse" >&6; } 42349if test "x$ac_cv_lib_fdata_libfdata_list_reverse" = xyes; then : 42350 ac_cv_libfdata_dummy=yes 42351else 42352 ac_cv_libfdata=no 42353fi 42354 42355 42356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_number_of_elements in -lfdata" >&5 42357$as_echo_n "checking for libfdata_list_get_number_of_elements in -lfdata... " >&6; } 42358if ${ac_cv_lib_fdata_libfdata_list_get_number_of_elements+:} false; then : 42359 $as_echo_n "(cached) " >&6 42360else 42361 ac_check_lib_save_LIBS=$LIBS 42362LIBS="-lfdata $LIBS" 42363cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42364/* end confdefs.h. */ 42365 42366/* Override any GCC internal prototype to avoid an error. 42367 Use char because int might match the return type of a GCC 42368 builtin and then its argument prototype would still apply. */ 42369#ifdef __cplusplus 42370extern "C" 42371#endif 42372char libfdata_list_get_number_of_elements (); 42373int 42374main () 42375{ 42376return libfdata_list_get_number_of_elements (); 42377 ; 42378 return 0; 42379} 42380_ACEOF 42381if ac_fn_c_try_link "$LINENO"; then : 42382 ac_cv_lib_fdata_libfdata_list_get_number_of_elements=yes 42383else 42384 ac_cv_lib_fdata_libfdata_list_get_number_of_elements=no 42385fi 42386rm -f core conftest.err conftest.$ac_objext \ 42387 conftest$ac_exeext conftest.$ac_ext 42388LIBS=$ac_check_lib_save_LIBS 42389fi 42390{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_number_of_elements" >&5 42391$as_echo "$ac_cv_lib_fdata_libfdata_list_get_number_of_elements" >&6; } 42392if test "x$ac_cv_lib_fdata_libfdata_list_get_number_of_elements" = xyes; then : 42393 ac_cv_libfdata_dummy=yes 42394else 42395 ac_cv_libfdata=no 42396fi 42397 42398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_list_element_by_index in -lfdata" >&5 42399$as_echo_n "checking for libfdata_list_get_list_element_by_index in -lfdata... " >&6; } 42400if ${ac_cv_lib_fdata_libfdata_list_get_list_element_by_index+:} false; then : 42401 $as_echo_n "(cached) " >&6 42402else 42403 ac_check_lib_save_LIBS=$LIBS 42404LIBS="-lfdata $LIBS" 42405cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42406/* end confdefs.h. */ 42407 42408/* Override any GCC internal prototype to avoid an error. 42409 Use char because int might match the return type of a GCC 42410 builtin and then its argument prototype would still apply. */ 42411#ifdef __cplusplus 42412extern "C" 42413#endif 42414char libfdata_list_get_list_element_by_index (); 42415int 42416main () 42417{ 42418return libfdata_list_get_list_element_by_index (); 42419 ; 42420 return 0; 42421} 42422_ACEOF 42423if ac_fn_c_try_link "$LINENO"; then : 42424 ac_cv_lib_fdata_libfdata_list_get_list_element_by_index=yes 42425else 42426 ac_cv_lib_fdata_libfdata_list_get_list_element_by_index=no 42427fi 42428rm -f core conftest.err conftest.$ac_objext \ 42429 conftest$ac_exeext conftest.$ac_ext 42430LIBS=$ac_check_lib_save_LIBS 42431fi 42432{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_list_element_by_index" >&5 42433$as_echo "$ac_cv_lib_fdata_libfdata_list_get_list_element_by_index" >&6; } 42434if test "x$ac_cv_lib_fdata_libfdata_list_get_list_element_by_index" = xyes; then : 42435 ac_cv_libfdata_dummy=yes 42436else 42437 ac_cv_libfdata=no 42438fi 42439 42440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_element_by_index in -lfdata" >&5 42441$as_echo_n "checking for libfdata_list_get_element_by_index in -lfdata... " >&6; } 42442if ${ac_cv_lib_fdata_libfdata_list_get_element_by_index+:} false; then : 42443 $as_echo_n "(cached) " >&6 42444else 42445 ac_check_lib_save_LIBS=$LIBS 42446LIBS="-lfdata $LIBS" 42447cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42448/* end confdefs.h. */ 42449 42450/* Override any GCC internal prototype to avoid an error. 42451 Use char because int might match the return type of a GCC 42452 builtin and then its argument prototype would still apply. */ 42453#ifdef __cplusplus 42454extern "C" 42455#endif 42456char libfdata_list_get_element_by_index (); 42457int 42458main () 42459{ 42460return libfdata_list_get_element_by_index (); 42461 ; 42462 return 0; 42463} 42464_ACEOF 42465if ac_fn_c_try_link "$LINENO"; then : 42466 ac_cv_lib_fdata_libfdata_list_get_element_by_index=yes 42467else 42468 ac_cv_lib_fdata_libfdata_list_get_element_by_index=no 42469fi 42470rm -f core conftest.err conftest.$ac_objext \ 42471 conftest$ac_exeext conftest.$ac_ext 42472LIBS=$ac_check_lib_save_LIBS 42473fi 42474{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_element_by_index" >&5 42475$as_echo "$ac_cv_lib_fdata_libfdata_list_get_element_by_index" >&6; } 42476if test "x$ac_cv_lib_fdata_libfdata_list_get_element_by_index" = xyes; then : 42477 ac_cv_libfdata_dummy=yes 42478else 42479 ac_cv_libfdata=no 42480fi 42481 42482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_set_element_by_index in -lfdata" >&5 42483$as_echo_n "checking for libfdata_list_set_element_by_index in -lfdata... " >&6; } 42484if ${ac_cv_lib_fdata_libfdata_list_set_element_by_index+:} false; then : 42485 $as_echo_n "(cached) " >&6 42486else 42487 ac_check_lib_save_LIBS=$LIBS 42488LIBS="-lfdata $LIBS" 42489cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42490/* end confdefs.h. */ 42491 42492/* Override any GCC internal prototype to avoid an error. 42493 Use char because int might match the return type of a GCC 42494 builtin and then its argument prototype would still apply. */ 42495#ifdef __cplusplus 42496extern "C" 42497#endif 42498char libfdata_list_set_element_by_index (); 42499int 42500main () 42501{ 42502return libfdata_list_set_element_by_index (); 42503 ; 42504 return 0; 42505} 42506_ACEOF 42507if ac_fn_c_try_link "$LINENO"; then : 42508 ac_cv_lib_fdata_libfdata_list_set_element_by_index=yes 42509else 42510 ac_cv_lib_fdata_libfdata_list_set_element_by_index=no 42511fi 42512rm -f core conftest.err conftest.$ac_objext \ 42513 conftest$ac_exeext conftest.$ac_ext 42514LIBS=$ac_check_lib_save_LIBS 42515fi 42516{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_set_element_by_index" >&5 42517$as_echo "$ac_cv_lib_fdata_libfdata_list_set_element_by_index" >&6; } 42518if test "x$ac_cv_lib_fdata_libfdata_list_set_element_by_index" = xyes; then : 42519 ac_cv_libfdata_dummy=yes 42520else 42521 ac_cv_libfdata=no 42522fi 42523 42524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_prepend_element in -lfdata" >&5 42525$as_echo_n "checking for libfdata_list_prepend_element in -lfdata... " >&6; } 42526if ${ac_cv_lib_fdata_libfdata_list_prepend_element+:} false; then : 42527 $as_echo_n "(cached) " >&6 42528else 42529 ac_check_lib_save_LIBS=$LIBS 42530LIBS="-lfdata $LIBS" 42531cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42532/* end confdefs.h. */ 42533 42534/* Override any GCC internal prototype to avoid an error. 42535 Use char because int might match the return type of a GCC 42536 builtin and then its argument prototype would still apply. */ 42537#ifdef __cplusplus 42538extern "C" 42539#endif 42540char libfdata_list_prepend_element (); 42541int 42542main () 42543{ 42544return libfdata_list_prepend_element (); 42545 ; 42546 return 0; 42547} 42548_ACEOF 42549if ac_fn_c_try_link "$LINENO"; then : 42550 ac_cv_lib_fdata_libfdata_list_prepend_element=yes 42551else 42552 ac_cv_lib_fdata_libfdata_list_prepend_element=no 42553fi 42554rm -f core conftest.err conftest.$ac_objext \ 42555 conftest$ac_exeext conftest.$ac_ext 42556LIBS=$ac_check_lib_save_LIBS 42557fi 42558{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_prepend_element" >&5 42559$as_echo "$ac_cv_lib_fdata_libfdata_list_prepend_element" >&6; } 42560if test "x$ac_cv_lib_fdata_libfdata_list_prepend_element" = xyes; then : 42561 ac_cv_libfdata_dummy=yes 42562else 42563 ac_cv_libfdata=no 42564fi 42565 42566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_append_element in -lfdata" >&5 42567$as_echo_n "checking for libfdata_list_append_element in -lfdata... " >&6; } 42568if ${ac_cv_lib_fdata_libfdata_list_append_element+:} false; then : 42569 $as_echo_n "(cached) " >&6 42570else 42571 ac_check_lib_save_LIBS=$LIBS 42572LIBS="-lfdata $LIBS" 42573cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42574/* end confdefs.h. */ 42575 42576/* Override any GCC internal prototype to avoid an error. 42577 Use char because int might match the return type of a GCC 42578 builtin and then its argument prototype would still apply. */ 42579#ifdef __cplusplus 42580extern "C" 42581#endif 42582char libfdata_list_append_element (); 42583int 42584main () 42585{ 42586return libfdata_list_append_element (); 42587 ; 42588 return 0; 42589} 42590_ACEOF 42591if ac_fn_c_try_link "$LINENO"; then : 42592 ac_cv_lib_fdata_libfdata_list_append_element=yes 42593else 42594 ac_cv_lib_fdata_libfdata_list_append_element=no 42595fi 42596rm -f core conftest.err conftest.$ac_objext \ 42597 conftest$ac_exeext conftest.$ac_ext 42598LIBS=$ac_check_lib_save_LIBS 42599fi 42600{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_append_element" >&5 42601$as_echo "$ac_cv_lib_fdata_libfdata_list_append_element" >&6; } 42602if test "x$ac_cv_lib_fdata_libfdata_list_append_element" = xyes; then : 42603 ac_cv_libfdata_dummy=yes 42604else 42605 ac_cv_libfdata=no 42606fi 42607 42608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_append_list in -lfdata" >&5 42609$as_echo_n "checking for libfdata_list_append_list in -lfdata... " >&6; } 42610if ${ac_cv_lib_fdata_libfdata_list_append_list+:} false; then : 42611 $as_echo_n "(cached) " >&6 42612else 42613 ac_check_lib_save_LIBS=$LIBS 42614LIBS="-lfdata $LIBS" 42615cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42616/* end confdefs.h. */ 42617 42618/* Override any GCC internal prototype to avoid an error. 42619 Use char because int might match the return type of a GCC 42620 builtin and then its argument prototype would still apply. */ 42621#ifdef __cplusplus 42622extern "C" 42623#endif 42624char libfdata_list_append_list (); 42625int 42626main () 42627{ 42628return libfdata_list_append_list (); 42629 ; 42630 return 0; 42631} 42632_ACEOF 42633if ac_fn_c_try_link "$LINENO"; then : 42634 ac_cv_lib_fdata_libfdata_list_append_list=yes 42635else 42636 ac_cv_lib_fdata_libfdata_list_append_list=no 42637fi 42638rm -f core conftest.err conftest.$ac_objext \ 42639 conftest$ac_exeext conftest.$ac_ext 42640LIBS=$ac_check_lib_save_LIBS 42641fi 42642{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_append_list" >&5 42643$as_echo "$ac_cv_lib_fdata_libfdata_list_append_list" >&6; } 42644if test "x$ac_cv_lib_fdata_libfdata_list_append_list" = xyes; then : 42645 ac_cv_libfdata_dummy=yes 42646else 42647 ac_cv_libfdata=no 42648fi 42649 42650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_is_element_set in -lfdata" >&5 42651$as_echo_n "checking for libfdata_list_is_element_set in -lfdata... " >&6; } 42652if ${ac_cv_lib_fdata_libfdata_list_is_element_set+:} false; then : 42653 $as_echo_n "(cached) " >&6 42654else 42655 ac_check_lib_save_LIBS=$LIBS 42656LIBS="-lfdata $LIBS" 42657cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42658/* end confdefs.h. */ 42659 42660/* Override any GCC internal prototype to avoid an error. 42661 Use char because int might match the return type of a GCC 42662 builtin and then its argument prototype would still apply. */ 42663#ifdef __cplusplus 42664extern "C" 42665#endif 42666char libfdata_list_is_element_set (); 42667int 42668main () 42669{ 42670return libfdata_list_is_element_set (); 42671 ; 42672 return 0; 42673} 42674_ACEOF 42675if ac_fn_c_try_link "$LINENO"; then : 42676 ac_cv_lib_fdata_libfdata_list_is_element_set=yes 42677else 42678 ac_cv_lib_fdata_libfdata_list_is_element_set=no 42679fi 42680rm -f core conftest.err conftest.$ac_objext \ 42681 conftest$ac_exeext conftest.$ac_ext 42682LIBS=$ac_check_lib_save_LIBS 42683fi 42684{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_is_element_set" >&5 42685$as_echo "$ac_cv_lib_fdata_libfdata_list_is_element_set" >&6; } 42686if test "x$ac_cv_lib_fdata_libfdata_list_is_element_set" = xyes; then : 42687 ac_cv_libfdata_dummy=yes 42688else 42689 ac_cv_libfdata=no 42690fi 42691 42692 42693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_element_mapped_range in -lfdata" >&5 42694$as_echo_n "checking for libfdata_list_get_element_mapped_range in -lfdata... " >&6; } 42695if ${ac_cv_lib_fdata_libfdata_list_get_element_mapped_range+:} false; then : 42696 $as_echo_n "(cached) " >&6 42697else 42698 ac_check_lib_save_LIBS=$LIBS 42699LIBS="-lfdata $LIBS" 42700cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42701/* end confdefs.h. */ 42702 42703/* Override any GCC internal prototype to avoid an error. 42704 Use char because int might match the return type of a GCC 42705 builtin and then its argument prototype would still apply. */ 42706#ifdef __cplusplus 42707extern "C" 42708#endif 42709char libfdata_list_get_element_mapped_range (); 42710int 42711main () 42712{ 42713return libfdata_list_get_element_mapped_range (); 42714 ; 42715 return 0; 42716} 42717_ACEOF 42718if ac_fn_c_try_link "$LINENO"; then : 42719 ac_cv_lib_fdata_libfdata_list_get_element_mapped_range=yes 42720else 42721 ac_cv_lib_fdata_libfdata_list_get_element_mapped_range=no 42722fi 42723rm -f core conftest.err conftest.$ac_objext \ 42724 conftest$ac_exeext conftest.$ac_ext 42725LIBS=$ac_check_lib_save_LIBS 42726fi 42727{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_element_mapped_range" >&5 42728$as_echo "$ac_cv_lib_fdata_libfdata_list_get_element_mapped_range" >&6; } 42729if test "x$ac_cv_lib_fdata_libfdata_list_get_element_mapped_range" = xyes; then : 42730 ac_cv_libfdata_dummy=yes 42731else 42732 ac_cv_libfdata=no 42733fi 42734 42735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_mapped_offset in -lfdata" >&5 42736$as_echo_n "checking for libfdata_list_get_mapped_offset in -lfdata... " >&6; } 42737if ${ac_cv_lib_fdata_libfdata_list_get_mapped_offset+:} false; then : 42738 $as_echo_n "(cached) " >&6 42739else 42740 ac_check_lib_save_LIBS=$LIBS 42741LIBS="-lfdata $LIBS" 42742cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42743/* end confdefs.h. */ 42744 42745/* Override any GCC internal prototype to avoid an error. 42746 Use char because int might match the return type of a GCC 42747 builtin and then its argument prototype would still apply. */ 42748#ifdef __cplusplus 42749extern "C" 42750#endif 42751char libfdata_list_get_mapped_offset (); 42752int 42753main () 42754{ 42755return libfdata_list_get_mapped_offset (); 42756 ; 42757 return 0; 42758} 42759_ACEOF 42760if ac_fn_c_try_link "$LINENO"; then : 42761 ac_cv_lib_fdata_libfdata_list_get_mapped_offset=yes 42762else 42763 ac_cv_lib_fdata_libfdata_list_get_mapped_offset=no 42764fi 42765rm -f core conftest.err conftest.$ac_objext \ 42766 conftest$ac_exeext conftest.$ac_ext 42767LIBS=$ac_check_lib_save_LIBS 42768fi 42769{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_mapped_offset" >&5 42770$as_echo "$ac_cv_lib_fdata_libfdata_list_get_mapped_offset" >&6; } 42771if test "x$ac_cv_lib_fdata_libfdata_list_get_mapped_offset" = xyes; then : 42772 ac_cv_libfdata_dummy=yes 42773else 42774 ac_cv_libfdata=no 42775fi 42776 42777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_set_mapped_offset in -lfdata" >&5 42778$as_echo_n "checking for libfdata_list_set_mapped_offset in -lfdata... " >&6; } 42779if ${ac_cv_lib_fdata_libfdata_list_set_mapped_offset+:} false; then : 42780 $as_echo_n "(cached) " >&6 42781else 42782 ac_check_lib_save_LIBS=$LIBS 42783LIBS="-lfdata $LIBS" 42784cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42785/* end confdefs.h. */ 42786 42787/* Override any GCC internal prototype to avoid an error. 42788 Use char because int might match the return type of a GCC 42789 builtin and then its argument prototype would still apply. */ 42790#ifdef __cplusplus 42791extern "C" 42792#endif 42793char libfdata_list_set_mapped_offset (); 42794int 42795main () 42796{ 42797return libfdata_list_set_mapped_offset (); 42798 ; 42799 return 0; 42800} 42801_ACEOF 42802if ac_fn_c_try_link "$LINENO"; then : 42803 ac_cv_lib_fdata_libfdata_list_set_mapped_offset=yes 42804else 42805 ac_cv_lib_fdata_libfdata_list_set_mapped_offset=no 42806fi 42807rm -f core conftest.err conftest.$ac_objext \ 42808 conftest$ac_exeext conftest.$ac_ext 42809LIBS=$ac_check_lib_save_LIBS 42810fi 42811{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_set_mapped_offset" >&5 42812$as_echo "$ac_cv_lib_fdata_libfdata_list_set_mapped_offset" >&6; } 42813if test "x$ac_cv_lib_fdata_libfdata_list_set_mapped_offset" = xyes; then : 42814 ac_cv_libfdata_dummy=yes 42815else 42816 ac_cv_libfdata=no 42817fi 42818 42819 42820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_mapped_size_by_index in -lfdata" >&5 42821$as_echo_n "checking for libfdata_list_get_mapped_size_by_index in -lfdata... " >&6; } 42822if ${ac_cv_lib_fdata_libfdata_list_get_mapped_size_by_index+:} false; then : 42823 $as_echo_n "(cached) " >&6 42824else 42825 ac_check_lib_save_LIBS=$LIBS 42826LIBS="-lfdata $LIBS" 42827cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42828/* end confdefs.h. */ 42829 42830/* Override any GCC internal prototype to avoid an error. 42831 Use char because int might match the return type of a GCC 42832 builtin and then its argument prototype would still apply. */ 42833#ifdef __cplusplus 42834extern "C" 42835#endif 42836char libfdata_list_get_mapped_size_by_index (); 42837int 42838main () 42839{ 42840return libfdata_list_get_mapped_size_by_index (); 42841 ; 42842 return 0; 42843} 42844_ACEOF 42845if ac_fn_c_try_link "$LINENO"; then : 42846 ac_cv_lib_fdata_libfdata_list_get_mapped_size_by_index=yes 42847else 42848 ac_cv_lib_fdata_libfdata_list_get_mapped_size_by_index=no 42849fi 42850rm -f core conftest.err conftest.$ac_objext \ 42851 conftest$ac_exeext conftest.$ac_ext 42852LIBS=$ac_check_lib_save_LIBS 42853fi 42854{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_mapped_size_by_index" >&5 42855$as_echo "$ac_cv_lib_fdata_libfdata_list_get_mapped_size_by_index" >&6; } 42856if test "x$ac_cv_lib_fdata_libfdata_list_get_mapped_size_by_index" = xyes; then : 42857 ac_cv_libfdata_dummy=yes 42858else 42859 ac_cv_libfdata=no 42860fi 42861 42862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_set_mapped_size_by_index in -lfdata" >&5 42863$as_echo_n "checking for libfdata_list_set_mapped_size_by_index in -lfdata... " >&6; } 42864if ${ac_cv_lib_fdata_libfdata_list_set_mapped_size_by_index+:} false; then : 42865 $as_echo_n "(cached) " >&6 42866else 42867 ac_check_lib_save_LIBS=$LIBS 42868LIBS="-lfdata $LIBS" 42869cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42870/* end confdefs.h. */ 42871 42872/* Override any GCC internal prototype to avoid an error. 42873 Use char because int might match the return type of a GCC 42874 builtin and then its argument prototype would still apply. */ 42875#ifdef __cplusplus 42876extern "C" 42877#endif 42878char libfdata_list_set_mapped_size_by_index (); 42879int 42880main () 42881{ 42882return libfdata_list_set_mapped_size_by_index (); 42883 ; 42884 return 0; 42885} 42886_ACEOF 42887if ac_fn_c_try_link "$LINENO"; then : 42888 ac_cv_lib_fdata_libfdata_list_set_mapped_size_by_index=yes 42889else 42890 ac_cv_lib_fdata_libfdata_list_set_mapped_size_by_index=no 42891fi 42892rm -f core conftest.err conftest.$ac_objext \ 42893 conftest$ac_exeext conftest.$ac_ext 42894LIBS=$ac_check_lib_save_LIBS 42895fi 42896{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_set_mapped_size_by_index" >&5 42897$as_echo "$ac_cv_lib_fdata_libfdata_list_set_mapped_size_by_index" >&6; } 42898if test "x$ac_cv_lib_fdata_libfdata_list_set_mapped_size_by_index" = xyes; then : 42899 ac_cv_libfdata_dummy=yes 42900else 42901 ac_cv_libfdata=no 42902fi 42903 42904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_element_by_index_with_mapped_size in -lfdata" >&5 42905$as_echo_n "checking for libfdata_list_get_element_by_index_with_mapped_size in -lfdata... " >&6; } 42906if ${ac_cv_lib_fdata_libfdata_list_get_element_by_index_with_mapped_size+:} false; then : 42907 $as_echo_n "(cached) " >&6 42908else 42909 ac_check_lib_save_LIBS=$LIBS 42910LIBS="-lfdata $LIBS" 42911cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42912/* end confdefs.h. */ 42913 42914/* Override any GCC internal prototype to avoid an error. 42915 Use char because int might match the return type of a GCC 42916 builtin and then its argument prototype would still apply. */ 42917#ifdef __cplusplus 42918extern "C" 42919#endif 42920char libfdata_list_get_element_by_index_with_mapped_size (); 42921int 42922main () 42923{ 42924return libfdata_list_get_element_by_index_with_mapped_size (); 42925 ; 42926 return 0; 42927} 42928_ACEOF 42929if ac_fn_c_try_link "$LINENO"; then : 42930 ac_cv_lib_fdata_libfdata_list_get_element_by_index_with_mapped_size=yes 42931else 42932 ac_cv_lib_fdata_libfdata_list_get_element_by_index_with_mapped_size=no 42933fi 42934rm -f core conftest.err conftest.$ac_objext \ 42935 conftest$ac_exeext conftest.$ac_ext 42936LIBS=$ac_check_lib_save_LIBS 42937fi 42938{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_element_by_index_with_mapped_size" >&5 42939$as_echo "$ac_cv_lib_fdata_libfdata_list_get_element_by_index_with_mapped_size" >&6; } 42940if test "x$ac_cv_lib_fdata_libfdata_list_get_element_by_index_with_mapped_size" = xyes; then : 42941 ac_cv_libfdata_dummy=yes 42942else 42943 ac_cv_libfdata=no 42944fi 42945 42946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_set_element_by_index_with_mapped_size in -lfdata" >&5 42947$as_echo_n "checking for libfdata_list_set_element_by_index_with_mapped_size in -lfdata... " >&6; } 42948if ${ac_cv_lib_fdata_libfdata_list_set_element_by_index_with_mapped_size+:} false; then : 42949 $as_echo_n "(cached) " >&6 42950else 42951 ac_check_lib_save_LIBS=$LIBS 42952LIBS="-lfdata $LIBS" 42953cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42954/* end confdefs.h. */ 42955 42956/* Override any GCC internal prototype to avoid an error. 42957 Use char because int might match the return type of a GCC 42958 builtin and then its argument prototype would still apply. */ 42959#ifdef __cplusplus 42960extern "C" 42961#endif 42962char libfdata_list_set_element_by_index_with_mapped_size (); 42963int 42964main () 42965{ 42966return libfdata_list_set_element_by_index_with_mapped_size (); 42967 ; 42968 return 0; 42969} 42970_ACEOF 42971if ac_fn_c_try_link "$LINENO"; then : 42972 ac_cv_lib_fdata_libfdata_list_set_element_by_index_with_mapped_size=yes 42973else 42974 ac_cv_lib_fdata_libfdata_list_set_element_by_index_with_mapped_size=no 42975fi 42976rm -f core conftest.err conftest.$ac_objext \ 42977 conftest$ac_exeext conftest.$ac_ext 42978LIBS=$ac_check_lib_save_LIBS 42979fi 42980{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_set_element_by_index_with_mapped_size" >&5 42981$as_echo "$ac_cv_lib_fdata_libfdata_list_set_element_by_index_with_mapped_size" >&6; } 42982if test "x$ac_cv_lib_fdata_libfdata_list_set_element_by_index_with_mapped_size" = xyes; then : 42983 ac_cv_libfdata_dummy=yes 42984else 42985 ac_cv_libfdata=no 42986fi 42987 42988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_append_element_with_mapped_size in -lfdata" >&5 42989$as_echo_n "checking for libfdata_list_append_element_with_mapped_size in -lfdata... " >&6; } 42990if ${ac_cv_lib_fdata_libfdata_list_append_element_with_mapped_size+:} false; then : 42991 $as_echo_n "(cached) " >&6 42992else 42993 ac_check_lib_save_LIBS=$LIBS 42994LIBS="-lfdata $LIBS" 42995cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42996/* end confdefs.h. */ 42997 42998/* Override any GCC internal prototype to avoid an error. 42999 Use char because int might match the return type of a GCC 43000 builtin and then its argument prototype would still apply. */ 43001#ifdef __cplusplus 43002extern "C" 43003#endif 43004char libfdata_list_append_element_with_mapped_size (); 43005int 43006main () 43007{ 43008return libfdata_list_append_element_with_mapped_size (); 43009 ; 43010 return 0; 43011} 43012_ACEOF 43013if ac_fn_c_try_link "$LINENO"; then : 43014 ac_cv_lib_fdata_libfdata_list_append_element_with_mapped_size=yes 43015else 43016 ac_cv_lib_fdata_libfdata_list_append_element_with_mapped_size=no 43017fi 43018rm -f core conftest.err conftest.$ac_objext \ 43019 conftest$ac_exeext conftest.$ac_ext 43020LIBS=$ac_check_lib_save_LIBS 43021fi 43022{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_append_element_with_mapped_size" >&5 43023$as_echo "$ac_cv_lib_fdata_libfdata_list_append_element_with_mapped_size" >&6; } 43024if test "x$ac_cv_lib_fdata_libfdata_list_append_element_with_mapped_size" = xyes; then : 43025 ac_cv_libfdata_dummy=yes 43026else 43027 ac_cv_libfdata=no 43028fi 43029 43030 43031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_element_index_at_offset in -lfdata" >&5 43032$as_echo_n "checking for libfdata_list_get_element_index_at_offset in -lfdata... " >&6; } 43033if ${ac_cv_lib_fdata_libfdata_list_get_element_index_at_offset+:} false; then : 43034 $as_echo_n "(cached) " >&6 43035else 43036 ac_check_lib_save_LIBS=$LIBS 43037LIBS="-lfdata $LIBS" 43038cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43039/* end confdefs.h. */ 43040 43041/* Override any GCC internal prototype to avoid an error. 43042 Use char because int might match the return type of a GCC 43043 builtin and then its argument prototype would still apply. */ 43044#ifdef __cplusplus 43045extern "C" 43046#endif 43047char libfdata_list_get_element_index_at_offset (); 43048int 43049main () 43050{ 43051return libfdata_list_get_element_index_at_offset (); 43052 ; 43053 return 0; 43054} 43055_ACEOF 43056if ac_fn_c_try_link "$LINENO"; then : 43057 ac_cv_lib_fdata_libfdata_list_get_element_index_at_offset=yes 43058else 43059 ac_cv_lib_fdata_libfdata_list_get_element_index_at_offset=no 43060fi 43061rm -f core conftest.err conftest.$ac_objext \ 43062 conftest$ac_exeext conftest.$ac_ext 43063LIBS=$ac_check_lib_save_LIBS 43064fi 43065{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_element_index_at_offset" >&5 43066$as_echo "$ac_cv_lib_fdata_libfdata_list_get_element_index_at_offset" >&6; } 43067if test "x$ac_cv_lib_fdata_libfdata_list_get_element_index_at_offset" = xyes; then : 43068 ac_cv_libfdata_dummy=yes 43069else 43070 ac_cv_libfdata=no 43071fi 43072 43073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_list_element_at_offset in -lfdata" >&5 43074$as_echo_n "checking for libfdata_list_get_list_element_at_offset in -lfdata... " >&6; } 43075if ${ac_cv_lib_fdata_libfdata_list_get_list_element_at_offset+:} false; then : 43076 $as_echo_n "(cached) " >&6 43077else 43078 ac_check_lib_save_LIBS=$LIBS 43079LIBS="-lfdata $LIBS" 43080cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43081/* end confdefs.h. */ 43082 43083/* Override any GCC internal prototype to avoid an error. 43084 Use char because int might match the return type of a GCC 43085 builtin and then its argument prototype would still apply. */ 43086#ifdef __cplusplus 43087extern "C" 43088#endif 43089char libfdata_list_get_list_element_at_offset (); 43090int 43091main () 43092{ 43093return libfdata_list_get_list_element_at_offset (); 43094 ; 43095 return 0; 43096} 43097_ACEOF 43098if ac_fn_c_try_link "$LINENO"; then : 43099 ac_cv_lib_fdata_libfdata_list_get_list_element_at_offset=yes 43100else 43101 ac_cv_lib_fdata_libfdata_list_get_list_element_at_offset=no 43102fi 43103rm -f core conftest.err conftest.$ac_objext \ 43104 conftest$ac_exeext conftest.$ac_ext 43105LIBS=$ac_check_lib_save_LIBS 43106fi 43107{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_list_element_at_offset" >&5 43108$as_echo "$ac_cv_lib_fdata_libfdata_list_get_list_element_at_offset" >&6; } 43109if test "x$ac_cv_lib_fdata_libfdata_list_get_list_element_at_offset" = xyes; then : 43110 ac_cv_libfdata_dummy=yes 43111else 43112 ac_cv_libfdata=no 43113fi 43114 43115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_element_at_offset in -lfdata" >&5 43116$as_echo_n "checking for libfdata_list_get_element_at_offset in -lfdata... " >&6; } 43117if ${ac_cv_lib_fdata_libfdata_list_get_element_at_offset+:} false; then : 43118 $as_echo_n "(cached) " >&6 43119else 43120 ac_check_lib_save_LIBS=$LIBS 43121LIBS="-lfdata $LIBS" 43122cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43123/* end confdefs.h. */ 43124 43125/* Override any GCC internal prototype to avoid an error. 43126 Use char because int might match the return type of a GCC 43127 builtin and then its argument prototype would still apply. */ 43128#ifdef __cplusplus 43129extern "C" 43130#endif 43131char libfdata_list_get_element_at_offset (); 43132int 43133main () 43134{ 43135return libfdata_list_get_element_at_offset (); 43136 ; 43137 return 0; 43138} 43139_ACEOF 43140if ac_fn_c_try_link "$LINENO"; then : 43141 ac_cv_lib_fdata_libfdata_list_get_element_at_offset=yes 43142else 43143 ac_cv_lib_fdata_libfdata_list_get_element_at_offset=no 43144fi 43145rm -f core conftest.err conftest.$ac_objext \ 43146 conftest$ac_exeext conftest.$ac_ext 43147LIBS=$ac_check_lib_save_LIBS 43148fi 43149{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_element_at_offset" >&5 43150$as_echo "$ac_cv_lib_fdata_libfdata_list_get_element_at_offset" >&6; } 43151if test "x$ac_cv_lib_fdata_libfdata_list_get_element_at_offset" = xyes; then : 43152 ac_cv_libfdata_dummy=yes 43153else 43154 ac_cv_libfdata=no 43155fi 43156 43157 43158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_cache_element_value in -lfdata" >&5 43159$as_echo_n "checking for libfdata_list_cache_element_value in -lfdata... " >&6; } 43160if ${ac_cv_lib_fdata_libfdata_list_cache_element_value+:} false; then : 43161 $as_echo_n "(cached) " >&6 43162else 43163 ac_check_lib_save_LIBS=$LIBS 43164LIBS="-lfdata $LIBS" 43165cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43166/* end confdefs.h. */ 43167 43168/* Override any GCC internal prototype to avoid an error. 43169 Use char because int might match the return type of a GCC 43170 builtin and then its argument prototype would still apply. */ 43171#ifdef __cplusplus 43172extern "C" 43173#endif 43174char libfdata_list_cache_element_value (); 43175int 43176main () 43177{ 43178return libfdata_list_cache_element_value (); 43179 ; 43180 return 0; 43181} 43182_ACEOF 43183if ac_fn_c_try_link "$LINENO"; then : 43184 ac_cv_lib_fdata_libfdata_list_cache_element_value=yes 43185else 43186 ac_cv_lib_fdata_libfdata_list_cache_element_value=no 43187fi 43188rm -f core conftest.err conftest.$ac_objext \ 43189 conftest$ac_exeext conftest.$ac_ext 43190LIBS=$ac_check_lib_save_LIBS 43191fi 43192{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_cache_element_value" >&5 43193$as_echo "$ac_cv_lib_fdata_libfdata_list_cache_element_value" >&6; } 43194if test "x$ac_cv_lib_fdata_libfdata_list_cache_element_value" = xyes; then : 43195 ac_cv_libfdata_dummy=yes 43196else 43197 ac_cv_libfdata=no 43198fi 43199 43200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_element_value_by_index in -lfdata" >&5 43201$as_echo_n "checking for libfdata_list_get_element_value_by_index in -lfdata... " >&6; } 43202if ${ac_cv_lib_fdata_libfdata_list_get_element_value_by_index+:} false; then : 43203 $as_echo_n "(cached) " >&6 43204else 43205 ac_check_lib_save_LIBS=$LIBS 43206LIBS="-lfdata $LIBS" 43207cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43208/* end confdefs.h. */ 43209 43210/* Override any GCC internal prototype to avoid an error. 43211 Use char because int might match the return type of a GCC 43212 builtin and then its argument prototype would still apply. */ 43213#ifdef __cplusplus 43214extern "C" 43215#endif 43216char libfdata_list_get_element_value_by_index (); 43217int 43218main () 43219{ 43220return libfdata_list_get_element_value_by_index (); 43221 ; 43222 return 0; 43223} 43224_ACEOF 43225if ac_fn_c_try_link "$LINENO"; then : 43226 ac_cv_lib_fdata_libfdata_list_get_element_value_by_index=yes 43227else 43228 ac_cv_lib_fdata_libfdata_list_get_element_value_by_index=no 43229fi 43230rm -f core conftest.err conftest.$ac_objext \ 43231 conftest$ac_exeext conftest.$ac_ext 43232LIBS=$ac_check_lib_save_LIBS 43233fi 43234{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_element_value_by_index" >&5 43235$as_echo "$ac_cv_lib_fdata_libfdata_list_get_element_value_by_index" >&6; } 43236if test "x$ac_cv_lib_fdata_libfdata_list_get_element_value_by_index" = xyes; then : 43237 ac_cv_libfdata_dummy=yes 43238else 43239 ac_cv_libfdata=no 43240fi 43241 43242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_element_value_at_offset in -lfdata" >&5 43243$as_echo_n "checking for libfdata_list_get_element_value_at_offset in -lfdata... " >&6; } 43244if ${ac_cv_lib_fdata_libfdata_list_get_element_value_at_offset+:} false; then : 43245 $as_echo_n "(cached) " >&6 43246else 43247 ac_check_lib_save_LIBS=$LIBS 43248LIBS="-lfdata $LIBS" 43249cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43250/* end confdefs.h. */ 43251 43252/* Override any GCC internal prototype to avoid an error. 43253 Use char because int might match the return type of a GCC 43254 builtin and then its argument prototype would still apply. */ 43255#ifdef __cplusplus 43256extern "C" 43257#endif 43258char libfdata_list_get_element_value_at_offset (); 43259int 43260main () 43261{ 43262return libfdata_list_get_element_value_at_offset (); 43263 ; 43264 return 0; 43265} 43266_ACEOF 43267if ac_fn_c_try_link "$LINENO"; then : 43268 ac_cv_lib_fdata_libfdata_list_get_element_value_at_offset=yes 43269else 43270 ac_cv_lib_fdata_libfdata_list_get_element_value_at_offset=no 43271fi 43272rm -f core conftest.err conftest.$ac_objext \ 43273 conftest$ac_exeext conftest.$ac_ext 43274LIBS=$ac_check_lib_save_LIBS 43275fi 43276{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_element_value_at_offset" >&5 43277$as_echo "$ac_cv_lib_fdata_libfdata_list_get_element_value_at_offset" >&6; } 43278if test "x$ac_cv_lib_fdata_libfdata_list_get_element_value_at_offset" = xyes; then : 43279 ac_cv_libfdata_dummy=yes 43280else 43281 ac_cv_libfdata=no 43282fi 43283 43284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_set_element_value_by_index in -lfdata" >&5 43285$as_echo_n "checking for libfdata_list_set_element_value_by_index in -lfdata... " >&6; } 43286if ${ac_cv_lib_fdata_libfdata_list_set_element_value_by_index+:} false; then : 43287 $as_echo_n "(cached) " >&6 43288else 43289 ac_check_lib_save_LIBS=$LIBS 43290LIBS="-lfdata $LIBS" 43291cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43292/* end confdefs.h. */ 43293 43294/* Override any GCC internal prototype to avoid an error. 43295 Use char because int might match the return type of a GCC 43296 builtin and then its argument prototype would still apply. */ 43297#ifdef __cplusplus 43298extern "C" 43299#endif 43300char libfdata_list_set_element_value_by_index (); 43301int 43302main () 43303{ 43304return libfdata_list_set_element_value_by_index (); 43305 ; 43306 return 0; 43307} 43308_ACEOF 43309if ac_fn_c_try_link "$LINENO"; then : 43310 ac_cv_lib_fdata_libfdata_list_set_element_value_by_index=yes 43311else 43312 ac_cv_lib_fdata_libfdata_list_set_element_value_by_index=no 43313fi 43314rm -f core conftest.err conftest.$ac_objext \ 43315 conftest$ac_exeext conftest.$ac_ext 43316LIBS=$ac_check_lib_save_LIBS 43317fi 43318{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_set_element_value_by_index" >&5 43319$as_echo "$ac_cv_lib_fdata_libfdata_list_set_element_value_by_index" >&6; } 43320if test "x$ac_cv_lib_fdata_libfdata_list_set_element_value_by_index" = xyes; then : 43321 ac_cv_libfdata_dummy=yes 43322else 43323 ac_cv_libfdata=no 43324fi 43325 43326 43327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_set_element_value_at_offset in -lfdata" >&5 43328$as_echo_n "checking for libfdata_list_set_element_value_at_offset in -lfdata... " >&6; } 43329if ${ac_cv_lib_fdata_libfdata_list_set_element_value_at_offset+:} false; then : 43330 $as_echo_n "(cached) " >&6 43331else 43332 ac_check_lib_save_LIBS=$LIBS 43333LIBS="-lfdata $LIBS" 43334cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43335/* end confdefs.h. */ 43336 43337/* Override any GCC internal prototype to avoid an error. 43338 Use char because int might match the return type of a GCC 43339 builtin and then its argument prototype would still apply. */ 43340#ifdef __cplusplus 43341extern "C" 43342#endif 43343char libfdata_list_set_element_value_at_offset (); 43344int 43345main () 43346{ 43347return libfdata_list_set_element_value_at_offset (); 43348 ; 43349 return 0; 43350} 43351_ACEOF 43352if ac_fn_c_try_link "$LINENO"; then : 43353 ac_cv_lib_fdata_libfdata_list_set_element_value_at_offset=yes 43354else 43355 ac_cv_lib_fdata_libfdata_list_set_element_value_at_offset=no 43356fi 43357rm -f core conftest.err conftest.$ac_objext \ 43358 conftest$ac_exeext conftest.$ac_ext 43359LIBS=$ac_check_lib_save_LIBS 43360fi 43361{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_set_element_value_at_offset" >&5 43362$as_echo "$ac_cv_lib_fdata_libfdata_list_set_element_value_at_offset" >&6; } 43363if test "x$ac_cv_lib_fdata_libfdata_list_set_element_value_at_offset" = xyes; then : 43364 ac_cv_libfdata_dummy=yes 43365else 43366 ac_cv_libfdata=no 43367fi 43368 43369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_size in -lfdata" >&5 43370$as_echo_n "checking for libfdata_list_get_size in -lfdata... " >&6; } 43371if ${ac_cv_lib_fdata_libfdata_list_get_size+:} false; then : 43372 $as_echo_n "(cached) " >&6 43373else 43374 ac_check_lib_save_LIBS=$LIBS 43375LIBS="-lfdata $LIBS" 43376cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43377/* end confdefs.h. */ 43378 43379/* Override any GCC internal prototype to avoid an error. 43380 Use char because int might match the return type of a GCC 43381 builtin and then its argument prototype would still apply. */ 43382#ifdef __cplusplus 43383extern "C" 43384#endif 43385char libfdata_list_get_size (); 43386int 43387main () 43388{ 43389return libfdata_list_get_size (); 43390 ; 43391 return 0; 43392} 43393_ACEOF 43394if ac_fn_c_try_link "$LINENO"; then : 43395 ac_cv_lib_fdata_libfdata_list_get_size=yes 43396else 43397 ac_cv_lib_fdata_libfdata_list_get_size=no 43398fi 43399rm -f core conftest.err conftest.$ac_objext \ 43400 conftest$ac_exeext conftest.$ac_ext 43401LIBS=$ac_check_lib_save_LIBS 43402fi 43403{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_size" >&5 43404$as_echo "$ac_cv_lib_fdata_libfdata_list_get_size" >&6; } 43405if test "x$ac_cv_lib_fdata_libfdata_list_get_size" = xyes; then : 43406 ac_cv_libfdata_dummy=yes 43407else 43408 ac_cv_libfdata=no 43409fi 43410 43411 43412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_element_get_mapped_size in -lfdata" >&5 43413$as_echo_n "checking for libfdata_list_element_get_mapped_size in -lfdata... " >&6; } 43414if ${ac_cv_lib_fdata_libfdata_list_element_get_mapped_size+:} false; then : 43415 $as_echo_n "(cached) " >&6 43416else 43417 ac_check_lib_save_LIBS=$LIBS 43418LIBS="-lfdata $LIBS" 43419cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43420/* end confdefs.h. */ 43421 43422/* Override any GCC internal prototype to avoid an error. 43423 Use char because int might match the return type of a GCC 43424 builtin and then its argument prototype would still apply. */ 43425#ifdef __cplusplus 43426extern "C" 43427#endif 43428char libfdata_list_element_get_mapped_size (); 43429int 43430main () 43431{ 43432return libfdata_list_element_get_mapped_size (); 43433 ; 43434 return 0; 43435} 43436_ACEOF 43437if ac_fn_c_try_link "$LINENO"; then : 43438 ac_cv_lib_fdata_libfdata_list_element_get_mapped_size=yes 43439else 43440 ac_cv_lib_fdata_libfdata_list_element_get_mapped_size=no 43441fi 43442rm -f core conftest.err conftest.$ac_objext \ 43443 conftest$ac_exeext conftest.$ac_ext 43444LIBS=$ac_check_lib_save_LIBS 43445fi 43446{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_element_get_mapped_size" >&5 43447$as_echo "$ac_cv_lib_fdata_libfdata_list_element_get_mapped_size" >&6; } 43448if test "x$ac_cv_lib_fdata_libfdata_list_element_get_mapped_size" = xyes; then : 43449 ac_cv_libfdata_dummy=yes 43450else 43451 ac_cv_libfdata=no 43452fi 43453 43454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_element_set_mapped_size in -lfdata" >&5 43455$as_echo_n "checking for libfdata_list_element_set_mapped_size in -lfdata... " >&6; } 43456if ${ac_cv_lib_fdata_libfdata_list_element_set_mapped_size+:} false; then : 43457 $as_echo_n "(cached) " >&6 43458else 43459 ac_check_lib_save_LIBS=$LIBS 43460LIBS="-lfdata $LIBS" 43461cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43462/* end confdefs.h. */ 43463 43464/* Override any GCC internal prototype to avoid an error. 43465 Use char because int might match the return type of a GCC 43466 builtin and then its argument prototype would still apply. */ 43467#ifdef __cplusplus 43468extern "C" 43469#endif 43470char libfdata_list_element_set_mapped_size (); 43471int 43472main () 43473{ 43474return libfdata_list_element_set_mapped_size (); 43475 ; 43476 return 0; 43477} 43478_ACEOF 43479if ac_fn_c_try_link "$LINENO"; then : 43480 ac_cv_lib_fdata_libfdata_list_element_set_mapped_size=yes 43481else 43482 ac_cv_lib_fdata_libfdata_list_element_set_mapped_size=no 43483fi 43484rm -f core conftest.err conftest.$ac_objext \ 43485 conftest$ac_exeext conftest.$ac_ext 43486LIBS=$ac_check_lib_save_LIBS 43487fi 43488{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_element_set_mapped_size" >&5 43489$as_echo "$ac_cv_lib_fdata_libfdata_list_element_set_mapped_size" >&6; } 43490if test "x$ac_cv_lib_fdata_libfdata_list_element_set_mapped_size" = xyes; then : 43491 ac_cv_libfdata_dummy=yes 43492else 43493 ac_cv_libfdata=no 43494fi 43495 43496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_element_get_element_value in -lfdata" >&5 43497$as_echo_n "checking for libfdata_list_element_get_element_value in -lfdata... " >&6; } 43498if ${ac_cv_lib_fdata_libfdata_list_element_get_element_value+:} false; then : 43499 $as_echo_n "(cached) " >&6 43500else 43501 ac_check_lib_save_LIBS=$LIBS 43502LIBS="-lfdata $LIBS" 43503cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43504/* end confdefs.h. */ 43505 43506/* Override any GCC internal prototype to avoid an error. 43507 Use char because int might match the return type of a GCC 43508 builtin and then its argument prototype would still apply. */ 43509#ifdef __cplusplus 43510extern "C" 43511#endif 43512char libfdata_list_element_get_element_value (); 43513int 43514main () 43515{ 43516return libfdata_list_element_get_element_value (); 43517 ; 43518 return 0; 43519} 43520_ACEOF 43521if ac_fn_c_try_link "$LINENO"; then : 43522 ac_cv_lib_fdata_libfdata_list_element_get_element_value=yes 43523else 43524 ac_cv_lib_fdata_libfdata_list_element_get_element_value=no 43525fi 43526rm -f core conftest.err conftest.$ac_objext \ 43527 conftest$ac_exeext conftest.$ac_ext 43528LIBS=$ac_check_lib_save_LIBS 43529fi 43530{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_element_get_element_value" >&5 43531$as_echo "$ac_cv_lib_fdata_libfdata_list_element_get_element_value" >&6; } 43532if test "x$ac_cv_lib_fdata_libfdata_list_element_get_element_value" = xyes; then : 43533 ac_cv_libfdata_dummy=yes 43534else 43535 ac_cv_libfdata=no 43536fi 43537 43538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_element_set_element_value in -lfdata" >&5 43539$as_echo_n "checking for libfdata_list_element_set_element_value in -lfdata... " >&6; } 43540if ${ac_cv_lib_fdata_libfdata_list_element_set_element_value+:} false; then : 43541 $as_echo_n "(cached) " >&6 43542else 43543 ac_check_lib_save_LIBS=$LIBS 43544LIBS="-lfdata $LIBS" 43545cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43546/* end confdefs.h. */ 43547 43548/* Override any GCC internal prototype to avoid an error. 43549 Use char because int might match the return type of a GCC 43550 builtin and then its argument prototype would still apply. */ 43551#ifdef __cplusplus 43552extern "C" 43553#endif 43554char libfdata_list_element_set_element_value (); 43555int 43556main () 43557{ 43558return libfdata_list_element_set_element_value (); 43559 ; 43560 return 0; 43561} 43562_ACEOF 43563if ac_fn_c_try_link "$LINENO"; then : 43564 ac_cv_lib_fdata_libfdata_list_element_set_element_value=yes 43565else 43566 ac_cv_lib_fdata_libfdata_list_element_set_element_value=no 43567fi 43568rm -f core conftest.err conftest.$ac_objext \ 43569 conftest$ac_exeext conftest.$ac_ext 43570LIBS=$ac_check_lib_save_LIBS 43571fi 43572{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_element_set_element_value" >&5 43573$as_echo "$ac_cv_lib_fdata_libfdata_list_element_set_element_value" >&6; } 43574if test "x$ac_cv_lib_fdata_libfdata_list_element_set_element_value" = xyes; then : 43575 ac_cv_libfdata_dummy=yes 43576else 43577 ac_cv_libfdata=no 43578fi 43579 43580 43581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_element_get_mapped_size in -lfdata" >&5 43582$as_echo_n "checking for libfdata_list_element_get_mapped_size in -lfdata... " >&6; } 43583if ${ac_cv_lib_fdata_libfdata_list_element_get_mapped_size+:} false; then : 43584 $as_echo_n "(cached) " >&6 43585else 43586 ac_check_lib_save_LIBS=$LIBS 43587LIBS="-lfdata $LIBS" 43588cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43589/* end confdefs.h. */ 43590 43591/* Override any GCC internal prototype to avoid an error. 43592 Use char because int might match the return type of a GCC 43593 builtin and then its argument prototype would still apply. */ 43594#ifdef __cplusplus 43595extern "C" 43596#endif 43597char libfdata_list_element_get_mapped_size (); 43598int 43599main () 43600{ 43601return libfdata_list_element_get_mapped_size (); 43602 ; 43603 return 0; 43604} 43605_ACEOF 43606if ac_fn_c_try_link "$LINENO"; then : 43607 ac_cv_lib_fdata_libfdata_list_element_get_mapped_size=yes 43608else 43609 ac_cv_lib_fdata_libfdata_list_element_get_mapped_size=no 43610fi 43611rm -f core conftest.err conftest.$ac_objext \ 43612 conftest$ac_exeext conftest.$ac_ext 43613LIBS=$ac_check_lib_save_LIBS 43614fi 43615{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_element_get_mapped_size" >&5 43616$as_echo "$ac_cv_lib_fdata_libfdata_list_element_get_mapped_size" >&6; } 43617if test "x$ac_cv_lib_fdata_libfdata_list_element_get_mapped_size" = xyes; then : 43618 ac_cv_libfdata_dummy=yes 43619else 43620 ac_cv_libfdata=no 43621fi 43622 43623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_element_set_mapped_size in -lfdata" >&5 43624$as_echo_n "checking for libfdata_list_element_set_mapped_size in -lfdata... " >&6; } 43625if ${ac_cv_lib_fdata_libfdata_list_element_set_mapped_size+:} false; then : 43626 $as_echo_n "(cached) " >&6 43627else 43628 ac_check_lib_save_LIBS=$LIBS 43629LIBS="-lfdata $LIBS" 43630cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43631/* end confdefs.h. */ 43632 43633/* Override any GCC internal prototype to avoid an error. 43634 Use char because int might match the return type of a GCC 43635 builtin and then its argument prototype would still apply. */ 43636#ifdef __cplusplus 43637extern "C" 43638#endif 43639char libfdata_list_element_set_mapped_size (); 43640int 43641main () 43642{ 43643return libfdata_list_element_set_mapped_size (); 43644 ; 43645 return 0; 43646} 43647_ACEOF 43648if ac_fn_c_try_link "$LINENO"; then : 43649 ac_cv_lib_fdata_libfdata_list_element_set_mapped_size=yes 43650else 43651 ac_cv_lib_fdata_libfdata_list_element_set_mapped_size=no 43652fi 43653rm -f core conftest.err conftest.$ac_objext \ 43654 conftest$ac_exeext conftest.$ac_ext 43655LIBS=$ac_check_lib_save_LIBS 43656fi 43657{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_element_set_mapped_size" >&5 43658$as_echo "$ac_cv_lib_fdata_libfdata_list_element_set_mapped_size" >&6; } 43659if test "x$ac_cv_lib_fdata_libfdata_list_element_set_mapped_size" = xyes; then : 43660 ac_cv_libfdata_dummy=yes 43661else 43662 ac_cv_libfdata=no 43663fi 43664 43665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_element_get_element_value in -lfdata" >&5 43666$as_echo_n "checking for libfdata_list_element_get_element_value in -lfdata... " >&6; } 43667if ${ac_cv_lib_fdata_libfdata_list_element_get_element_value+:} false; then : 43668 $as_echo_n "(cached) " >&6 43669else 43670 ac_check_lib_save_LIBS=$LIBS 43671LIBS="-lfdata $LIBS" 43672cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43673/* end confdefs.h. */ 43674 43675/* Override any GCC internal prototype to avoid an error. 43676 Use char because int might match the return type of a GCC 43677 builtin and then its argument prototype would still apply. */ 43678#ifdef __cplusplus 43679extern "C" 43680#endif 43681char libfdata_list_element_get_element_value (); 43682int 43683main () 43684{ 43685return libfdata_list_element_get_element_value (); 43686 ; 43687 return 0; 43688} 43689_ACEOF 43690if ac_fn_c_try_link "$LINENO"; then : 43691 ac_cv_lib_fdata_libfdata_list_element_get_element_value=yes 43692else 43693 ac_cv_lib_fdata_libfdata_list_element_get_element_value=no 43694fi 43695rm -f core conftest.err conftest.$ac_objext \ 43696 conftest$ac_exeext conftest.$ac_ext 43697LIBS=$ac_check_lib_save_LIBS 43698fi 43699{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_element_get_element_value" >&5 43700$as_echo "$ac_cv_lib_fdata_libfdata_list_element_get_element_value" >&6; } 43701if test "x$ac_cv_lib_fdata_libfdata_list_element_get_element_value" = xyes; then : 43702 ac_cv_libfdata_dummy=yes 43703else 43704 ac_cv_libfdata=no 43705fi 43706 43707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_element_set_element_value in -lfdata" >&5 43708$as_echo_n "checking for libfdata_list_element_set_element_value in -lfdata... " >&6; } 43709if ${ac_cv_lib_fdata_libfdata_list_element_set_element_value+:} false; then : 43710 $as_echo_n "(cached) " >&6 43711else 43712 ac_check_lib_save_LIBS=$LIBS 43713LIBS="-lfdata $LIBS" 43714cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43715/* end confdefs.h. */ 43716 43717/* Override any GCC internal prototype to avoid an error. 43718 Use char because int might match the return type of a GCC 43719 builtin and then its argument prototype would still apply. */ 43720#ifdef __cplusplus 43721extern "C" 43722#endif 43723char libfdata_list_element_set_element_value (); 43724int 43725main () 43726{ 43727return libfdata_list_element_set_element_value (); 43728 ; 43729 return 0; 43730} 43731_ACEOF 43732if ac_fn_c_try_link "$LINENO"; then : 43733 ac_cv_lib_fdata_libfdata_list_element_set_element_value=yes 43734else 43735 ac_cv_lib_fdata_libfdata_list_element_set_element_value=no 43736fi 43737rm -f core conftest.err conftest.$ac_objext \ 43738 conftest$ac_exeext conftest.$ac_ext 43739LIBS=$ac_check_lib_save_LIBS 43740fi 43741{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_element_set_element_value" >&5 43742$as_echo "$ac_cv_lib_fdata_libfdata_list_element_set_element_value" >&6; } 43743if test "x$ac_cv_lib_fdata_libfdata_list_element_set_element_value" = xyes; then : 43744 ac_cv_libfdata_dummy=yes 43745else 43746 ac_cv_libfdata=no 43747fi 43748 43749 43750 43751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_initialize in -lfdata" >&5 43752$as_echo_n "checking for libfdata_stream_initialize in -lfdata... " >&6; } 43753if ${ac_cv_lib_fdata_libfdata_stream_initialize+:} false; then : 43754 $as_echo_n "(cached) " >&6 43755else 43756 ac_check_lib_save_LIBS=$LIBS 43757LIBS="-lfdata $LIBS" 43758cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43759/* end confdefs.h. */ 43760 43761/* Override any GCC internal prototype to avoid an error. 43762 Use char because int might match the return type of a GCC 43763 builtin and then its argument prototype would still apply. */ 43764#ifdef __cplusplus 43765extern "C" 43766#endif 43767char libfdata_stream_initialize (); 43768int 43769main () 43770{ 43771return libfdata_stream_initialize (); 43772 ; 43773 return 0; 43774} 43775_ACEOF 43776if ac_fn_c_try_link "$LINENO"; then : 43777 ac_cv_lib_fdata_libfdata_stream_initialize=yes 43778else 43779 ac_cv_lib_fdata_libfdata_stream_initialize=no 43780fi 43781rm -f core conftest.err conftest.$ac_objext \ 43782 conftest$ac_exeext conftest.$ac_ext 43783LIBS=$ac_check_lib_save_LIBS 43784fi 43785{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_initialize" >&5 43786$as_echo "$ac_cv_lib_fdata_libfdata_stream_initialize" >&6; } 43787if test "x$ac_cv_lib_fdata_libfdata_stream_initialize" = xyes; then : 43788 ac_cv_libfdata_dummy=yes 43789else 43790 ac_cv_libfdata=no 43791fi 43792 43793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_free in -lfdata" >&5 43794$as_echo_n "checking for libfdata_stream_free in -lfdata... " >&6; } 43795if ${ac_cv_lib_fdata_libfdata_stream_free+:} false; then : 43796 $as_echo_n "(cached) " >&6 43797else 43798 ac_check_lib_save_LIBS=$LIBS 43799LIBS="-lfdata $LIBS" 43800cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43801/* end confdefs.h. */ 43802 43803/* Override any GCC internal prototype to avoid an error. 43804 Use char because int might match the return type of a GCC 43805 builtin and then its argument prototype would still apply. */ 43806#ifdef __cplusplus 43807extern "C" 43808#endif 43809char libfdata_stream_free (); 43810int 43811main () 43812{ 43813return libfdata_stream_free (); 43814 ; 43815 return 0; 43816} 43817_ACEOF 43818if ac_fn_c_try_link "$LINENO"; then : 43819 ac_cv_lib_fdata_libfdata_stream_free=yes 43820else 43821 ac_cv_lib_fdata_libfdata_stream_free=no 43822fi 43823rm -f core conftest.err conftest.$ac_objext \ 43824 conftest$ac_exeext conftest.$ac_ext 43825LIBS=$ac_check_lib_save_LIBS 43826fi 43827{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_free" >&5 43828$as_echo "$ac_cv_lib_fdata_libfdata_stream_free" >&6; } 43829if test "x$ac_cv_lib_fdata_libfdata_stream_free" = xyes; then : 43830 ac_cv_libfdata_dummy=yes 43831else 43832 ac_cv_libfdata=no 43833fi 43834 43835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_clone in -lfdata" >&5 43836$as_echo_n "checking for libfdata_stream_clone in -lfdata... " >&6; } 43837if ${ac_cv_lib_fdata_libfdata_stream_clone+:} false; then : 43838 $as_echo_n "(cached) " >&6 43839else 43840 ac_check_lib_save_LIBS=$LIBS 43841LIBS="-lfdata $LIBS" 43842cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43843/* end confdefs.h. */ 43844 43845/* Override any GCC internal prototype to avoid an error. 43846 Use char because int might match the return type of a GCC 43847 builtin and then its argument prototype would still apply. */ 43848#ifdef __cplusplus 43849extern "C" 43850#endif 43851char libfdata_stream_clone (); 43852int 43853main () 43854{ 43855return libfdata_stream_clone (); 43856 ; 43857 return 0; 43858} 43859_ACEOF 43860if ac_fn_c_try_link "$LINENO"; then : 43861 ac_cv_lib_fdata_libfdata_stream_clone=yes 43862else 43863 ac_cv_lib_fdata_libfdata_stream_clone=no 43864fi 43865rm -f core conftest.err conftest.$ac_objext \ 43866 conftest$ac_exeext conftest.$ac_ext 43867LIBS=$ac_check_lib_save_LIBS 43868fi 43869{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_clone" >&5 43870$as_echo "$ac_cv_lib_fdata_libfdata_stream_clone" >&6; } 43871if test "x$ac_cv_lib_fdata_libfdata_stream_clone" = xyes; then : 43872 ac_cv_libfdata_dummy=yes 43873else 43874 ac_cv_libfdata=no 43875fi 43876 43877 43878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_empty in -lfdata" >&5 43879$as_echo_n "checking for libfdata_stream_empty in -lfdata... " >&6; } 43880if ${ac_cv_lib_fdata_libfdata_stream_empty+:} false; then : 43881 $as_echo_n "(cached) " >&6 43882else 43883 ac_check_lib_save_LIBS=$LIBS 43884LIBS="-lfdata $LIBS" 43885cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43886/* end confdefs.h. */ 43887 43888/* Override any GCC internal prototype to avoid an error. 43889 Use char because int might match the return type of a GCC 43890 builtin and then its argument prototype would still apply. */ 43891#ifdef __cplusplus 43892extern "C" 43893#endif 43894char libfdata_stream_empty (); 43895int 43896main () 43897{ 43898return libfdata_stream_empty (); 43899 ; 43900 return 0; 43901} 43902_ACEOF 43903if ac_fn_c_try_link "$LINENO"; then : 43904 ac_cv_lib_fdata_libfdata_stream_empty=yes 43905else 43906 ac_cv_lib_fdata_libfdata_stream_empty=no 43907fi 43908rm -f core conftest.err conftest.$ac_objext \ 43909 conftest$ac_exeext conftest.$ac_ext 43910LIBS=$ac_check_lib_save_LIBS 43911fi 43912{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_empty" >&5 43913$as_echo "$ac_cv_lib_fdata_libfdata_stream_empty" >&6; } 43914if test "x$ac_cv_lib_fdata_libfdata_stream_empty" = xyes; then : 43915 ac_cv_libfdata_dummy=yes 43916else 43917 ac_cv_libfdata=no 43918fi 43919 43920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_resize in -lfdata" >&5 43921$as_echo_n "checking for libfdata_stream_resize in -lfdata... " >&6; } 43922if ${ac_cv_lib_fdata_libfdata_stream_resize+:} false; then : 43923 $as_echo_n "(cached) " >&6 43924else 43925 ac_check_lib_save_LIBS=$LIBS 43926LIBS="-lfdata $LIBS" 43927cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43928/* end confdefs.h. */ 43929 43930/* Override any GCC internal prototype to avoid an error. 43931 Use char because int might match the return type of a GCC 43932 builtin and then its argument prototype would still apply. */ 43933#ifdef __cplusplus 43934extern "C" 43935#endif 43936char libfdata_stream_resize (); 43937int 43938main () 43939{ 43940return libfdata_stream_resize (); 43941 ; 43942 return 0; 43943} 43944_ACEOF 43945if ac_fn_c_try_link "$LINENO"; then : 43946 ac_cv_lib_fdata_libfdata_stream_resize=yes 43947else 43948 ac_cv_lib_fdata_libfdata_stream_resize=no 43949fi 43950rm -f core conftest.err conftest.$ac_objext \ 43951 conftest$ac_exeext conftest.$ac_ext 43952LIBS=$ac_check_lib_save_LIBS 43953fi 43954{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_resize" >&5 43955$as_echo "$ac_cv_lib_fdata_libfdata_stream_resize" >&6; } 43956if test "x$ac_cv_lib_fdata_libfdata_stream_resize" = xyes; then : 43957 ac_cv_libfdata_dummy=yes 43958else 43959 ac_cv_libfdata=no 43960fi 43961 43962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_reverse in -lfdata" >&5 43963$as_echo_n "checking for libfdata_stream_reverse in -lfdata... " >&6; } 43964if ${ac_cv_lib_fdata_libfdata_stream_reverse+:} false; then : 43965 $as_echo_n "(cached) " >&6 43966else 43967 ac_check_lib_save_LIBS=$LIBS 43968LIBS="-lfdata $LIBS" 43969cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43970/* end confdefs.h. */ 43971 43972/* Override any GCC internal prototype to avoid an error. 43973 Use char because int might match the return type of a GCC 43974 builtin and then its argument prototype would still apply. */ 43975#ifdef __cplusplus 43976extern "C" 43977#endif 43978char libfdata_stream_reverse (); 43979int 43980main () 43981{ 43982return libfdata_stream_reverse (); 43983 ; 43984 return 0; 43985} 43986_ACEOF 43987if ac_fn_c_try_link "$LINENO"; then : 43988 ac_cv_lib_fdata_libfdata_stream_reverse=yes 43989else 43990 ac_cv_lib_fdata_libfdata_stream_reverse=no 43991fi 43992rm -f core conftest.err conftest.$ac_objext \ 43993 conftest$ac_exeext conftest.$ac_ext 43994LIBS=$ac_check_lib_save_LIBS 43995fi 43996{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_reverse" >&5 43997$as_echo "$ac_cv_lib_fdata_libfdata_stream_reverse" >&6; } 43998if test "x$ac_cv_lib_fdata_libfdata_stream_reverse" = xyes; then : 43999 ac_cv_libfdata_dummy=yes 44000else 44001 ac_cv_libfdata=no 44002fi 44003 44004 44005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_get_number_of_segments in -lfdata" >&5 44006$as_echo_n "checking for libfdata_stream_get_number_of_segments in -lfdata... " >&6; } 44007if ${ac_cv_lib_fdata_libfdata_stream_get_number_of_segments+:} false; then : 44008 $as_echo_n "(cached) " >&6 44009else 44010 ac_check_lib_save_LIBS=$LIBS 44011LIBS="-lfdata $LIBS" 44012cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44013/* end confdefs.h. */ 44014 44015/* Override any GCC internal prototype to avoid an error. 44016 Use char because int might match the return type of a GCC 44017 builtin and then its argument prototype would still apply. */ 44018#ifdef __cplusplus 44019extern "C" 44020#endif 44021char libfdata_stream_get_number_of_segments (); 44022int 44023main () 44024{ 44025return libfdata_stream_get_number_of_segments (); 44026 ; 44027 return 0; 44028} 44029_ACEOF 44030if ac_fn_c_try_link "$LINENO"; then : 44031 ac_cv_lib_fdata_libfdata_stream_get_number_of_segments=yes 44032else 44033 ac_cv_lib_fdata_libfdata_stream_get_number_of_segments=no 44034fi 44035rm -f core conftest.err conftest.$ac_objext \ 44036 conftest$ac_exeext conftest.$ac_ext 44037LIBS=$ac_check_lib_save_LIBS 44038fi 44039{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_get_number_of_segments" >&5 44040$as_echo "$ac_cv_lib_fdata_libfdata_stream_get_number_of_segments" >&6; } 44041if test "x$ac_cv_lib_fdata_libfdata_stream_get_number_of_segments" = xyes; then : 44042 ac_cv_libfdata_dummy=yes 44043else 44044 ac_cv_libfdata=no 44045fi 44046 44047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_get_segment_by_index in -lfdata" >&5 44048$as_echo_n "checking for libfdata_stream_get_segment_by_index in -lfdata... " >&6; } 44049if ${ac_cv_lib_fdata_libfdata_stream_get_segment_by_index+:} false; then : 44050 $as_echo_n "(cached) " >&6 44051else 44052 ac_check_lib_save_LIBS=$LIBS 44053LIBS="-lfdata $LIBS" 44054cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44055/* end confdefs.h. */ 44056 44057/* Override any GCC internal prototype to avoid an error. 44058 Use char because int might match the return type of a GCC 44059 builtin and then its argument prototype would still apply. */ 44060#ifdef __cplusplus 44061extern "C" 44062#endif 44063char libfdata_stream_get_segment_by_index (); 44064int 44065main () 44066{ 44067return libfdata_stream_get_segment_by_index (); 44068 ; 44069 return 0; 44070} 44071_ACEOF 44072if ac_fn_c_try_link "$LINENO"; then : 44073 ac_cv_lib_fdata_libfdata_stream_get_segment_by_index=yes 44074else 44075 ac_cv_lib_fdata_libfdata_stream_get_segment_by_index=no 44076fi 44077rm -f core conftest.err conftest.$ac_objext \ 44078 conftest$ac_exeext conftest.$ac_ext 44079LIBS=$ac_check_lib_save_LIBS 44080fi 44081{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_get_segment_by_index" >&5 44082$as_echo "$ac_cv_lib_fdata_libfdata_stream_get_segment_by_index" >&6; } 44083if test "x$ac_cv_lib_fdata_libfdata_stream_get_segment_by_index" = xyes; then : 44084 ac_cv_libfdata_dummy=yes 44085else 44086 ac_cv_libfdata=no 44087fi 44088 44089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_set_segment_by_index in -lfdata" >&5 44090$as_echo_n "checking for libfdata_stream_set_segment_by_index in -lfdata... " >&6; } 44091if ${ac_cv_lib_fdata_libfdata_stream_set_segment_by_index+:} false; then : 44092 $as_echo_n "(cached) " >&6 44093else 44094 ac_check_lib_save_LIBS=$LIBS 44095LIBS="-lfdata $LIBS" 44096cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44097/* end confdefs.h. */ 44098 44099/* Override any GCC internal prototype to avoid an error. 44100 Use char because int might match the return type of a GCC 44101 builtin and then its argument prototype would still apply. */ 44102#ifdef __cplusplus 44103extern "C" 44104#endif 44105char libfdata_stream_set_segment_by_index (); 44106int 44107main () 44108{ 44109return libfdata_stream_set_segment_by_index (); 44110 ; 44111 return 0; 44112} 44113_ACEOF 44114if ac_fn_c_try_link "$LINENO"; then : 44115 ac_cv_lib_fdata_libfdata_stream_set_segment_by_index=yes 44116else 44117 ac_cv_lib_fdata_libfdata_stream_set_segment_by_index=no 44118fi 44119rm -f core conftest.err conftest.$ac_objext \ 44120 conftest$ac_exeext conftest.$ac_ext 44121LIBS=$ac_check_lib_save_LIBS 44122fi 44123{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_set_segment_by_index" >&5 44124$as_echo "$ac_cv_lib_fdata_libfdata_stream_set_segment_by_index" >&6; } 44125if test "x$ac_cv_lib_fdata_libfdata_stream_set_segment_by_index" = xyes; then : 44126 ac_cv_libfdata_dummy=yes 44127else 44128 ac_cv_libfdata=no 44129fi 44130 44131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_prepend_segment in -lfdata" >&5 44132$as_echo_n "checking for libfdata_stream_prepend_segment in -lfdata... " >&6; } 44133if ${ac_cv_lib_fdata_libfdata_stream_prepend_segment+:} false; then : 44134 $as_echo_n "(cached) " >&6 44135else 44136 ac_check_lib_save_LIBS=$LIBS 44137LIBS="-lfdata $LIBS" 44138cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44139/* end confdefs.h. */ 44140 44141/* Override any GCC internal prototype to avoid an error. 44142 Use char because int might match the return type of a GCC 44143 builtin and then its argument prototype would still apply. */ 44144#ifdef __cplusplus 44145extern "C" 44146#endif 44147char libfdata_stream_prepend_segment (); 44148int 44149main () 44150{ 44151return libfdata_stream_prepend_segment (); 44152 ; 44153 return 0; 44154} 44155_ACEOF 44156if ac_fn_c_try_link "$LINENO"; then : 44157 ac_cv_lib_fdata_libfdata_stream_prepend_segment=yes 44158else 44159 ac_cv_lib_fdata_libfdata_stream_prepend_segment=no 44160fi 44161rm -f core conftest.err conftest.$ac_objext \ 44162 conftest$ac_exeext conftest.$ac_ext 44163LIBS=$ac_check_lib_save_LIBS 44164fi 44165{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_prepend_segment" >&5 44166$as_echo "$ac_cv_lib_fdata_libfdata_stream_prepend_segment" >&6; } 44167if test "x$ac_cv_lib_fdata_libfdata_stream_prepend_segment" = xyes; then : 44168 ac_cv_libfdata_dummy=yes 44169else 44170 ac_cv_libfdata=no 44171fi 44172 44173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_append_segment in -lfdata" >&5 44174$as_echo_n "checking for libfdata_stream_append_segment in -lfdata... " >&6; } 44175if ${ac_cv_lib_fdata_libfdata_stream_append_segment+:} false; then : 44176 $as_echo_n "(cached) " >&6 44177else 44178 ac_check_lib_save_LIBS=$LIBS 44179LIBS="-lfdata $LIBS" 44180cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44181/* end confdefs.h. */ 44182 44183/* Override any GCC internal prototype to avoid an error. 44184 Use char because int might match the return type of a GCC 44185 builtin and then its argument prototype would still apply. */ 44186#ifdef __cplusplus 44187extern "C" 44188#endif 44189char libfdata_stream_append_segment (); 44190int 44191main () 44192{ 44193return libfdata_stream_append_segment (); 44194 ; 44195 return 0; 44196} 44197_ACEOF 44198if ac_fn_c_try_link "$LINENO"; then : 44199 ac_cv_lib_fdata_libfdata_stream_append_segment=yes 44200else 44201 ac_cv_lib_fdata_libfdata_stream_append_segment=no 44202fi 44203rm -f core conftest.err conftest.$ac_objext \ 44204 conftest$ac_exeext conftest.$ac_ext 44205LIBS=$ac_check_lib_save_LIBS 44206fi 44207{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_append_segment" >&5 44208$as_echo "$ac_cv_lib_fdata_libfdata_stream_append_segment" >&6; } 44209if test "x$ac_cv_lib_fdata_libfdata_stream_append_segment" = xyes; then : 44210 ac_cv_libfdata_dummy=yes 44211else 44212 ac_cv_libfdata=no 44213fi 44214 44215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_set_mapped_size in -lfdata" >&5 44216$as_echo_n "checking for libfdata_stream_set_mapped_size in -lfdata... " >&6; } 44217if ${ac_cv_lib_fdata_libfdata_stream_set_mapped_size+:} false; then : 44218 $as_echo_n "(cached) " >&6 44219else 44220 ac_check_lib_save_LIBS=$LIBS 44221LIBS="-lfdata $LIBS" 44222cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44223/* end confdefs.h. */ 44224 44225/* Override any GCC internal prototype to avoid an error. 44226 Use char because int might match the return type of a GCC 44227 builtin and then its argument prototype would still apply. */ 44228#ifdef __cplusplus 44229extern "C" 44230#endif 44231char libfdata_stream_set_mapped_size (); 44232int 44233main () 44234{ 44235return libfdata_stream_set_mapped_size (); 44236 ; 44237 return 0; 44238} 44239_ACEOF 44240if ac_fn_c_try_link "$LINENO"; then : 44241 ac_cv_lib_fdata_libfdata_stream_set_mapped_size=yes 44242else 44243 ac_cv_lib_fdata_libfdata_stream_set_mapped_size=no 44244fi 44245rm -f core conftest.err conftest.$ac_objext \ 44246 conftest$ac_exeext conftest.$ac_ext 44247LIBS=$ac_check_lib_save_LIBS 44248fi 44249{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_set_mapped_size" >&5 44250$as_echo "$ac_cv_lib_fdata_libfdata_stream_set_mapped_size" >&6; } 44251if test "x$ac_cv_lib_fdata_libfdata_stream_set_mapped_size" = xyes; then : 44252 ac_cv_libfdata_dummy=yes 44253else 44254 ac_cv_libfdata=no 44255fi 44256 44257 44258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_get_segment_mapped_range in -lfdata" >&5 44259$as_echo_n "checking for libfdata_stream_get_segment_mapped_range in -lfdata... " >&6; } 44260if ${ac_cv_lib_fdata_libfdata_stream_get_segment_mapped_range+:} false; then : 44261 $as_echo_n "(cached) " >&6 44262else 44263 ac_check_lib_save_LIBS=$LIBS 44264LIBS="-lfdata $LIBS" 44265cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44266/* end confdefs.h. */ 44267 44268/* Override any GCC internal prototype to avoid an error. 44269 Use char because int might match the return type of a GCC 44270 builtin and then its argument prototype would still apply. */ 44271#ifdef __cplusplus 44272extern "C" 44273#endif 44274char libfdata_stream_get_segment_mapped_range (); 44275int 44276main () 44277{ 44278return libfdata_stream_get_segment_mapped_range (); 44279 ; 44280 return 0; 44281} 44282_ACEOF 44283if ac_fn_c_try_link "$LINENO"; then : 44284 ac_cv_lib_fdata_libfdata_stream_get_segment_mapped_range=yes 44285else 44286 ac_cv_lib_fdata_libfdata_stream_get_segment_mapped_range=no 44287fi 44288rm -f core conftest.err conftest.$ac_objext \ 44289 conftest$ac_exeext conftest.$ac_ext 44290LIBS=$ac_check_lib_save_LIBS 44291fi 44292{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_get_segment_mapped_range" >&5 44293$as_echo "$ac_cv_lib_fdata_libfdata_stream_get_segment_mapped_range" >&6; } 44294if test "x$ac_cv_lib_fdata_libfdata_stream_get_segment_mapped_range" = xyes; then : 44295 ac_cv_libfdata_dummy=yes 44296else 44297 ac_cv_libfdata=no 44298fi 44299 44300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_get_segment_index_at_offset in -lfdata" >&5 44301$as_echo_n "checking for libfdata_stream_get_segment_index_at_offset in -lfdata... " >&6; } 44302if ${ac_cv_lib_fdata_libfdata_stream_get_segment_index_at_offset+:} false; then : 44303 $as_echo_n "(cached) " >&6 44304else 44305 ac_check_lib_save_LIBS=$LIBS 44306LIBS="-lfdata $LIBS" 44307cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44308/* end confdefs.h. */ 44309 44310/* Override any GCC internal prototype to avoid an error. 44311 Use char because int might match the return type of a GCC 44312 builtin and then its argument prototype would still apply. */ 44313#ifdef __cplusplus 44314extern "C" 44315#endif 44316char libfdata_stream_get_segment_index_at_offset (); 44317int 44318main () 44319{ 44320return libfdata_stream_get_segment_index_at_offset (); 44321 ; 44322 return 0; 44323} 44324_ACEOF 44325if ac_fn_c_try_link "$LINENO"; then : 44326 ac_cv_lib_fdata_libfdata_stream_get_segment_index_at_offset=yes 44327else 44328 ac_cv_lib_fdata_libfdata_stream_get_segment_index_at_offset=no 44329fi 44330rm -f core conftest.err conftest.$ac_objext \ 44331 conftest$ac_exeext conftest.$ac_ext 44332LIBS=$ac_check_lib_save_LIBS 44333fi 44334{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_get_segment_index_at_offset" >&5 44335$as_echo "$ac_cv_lib_fdata_libfdata_stream_get_segment_index_at_offset" >&6; } 44336if test "x$ac_cv_lib_fdata_libfdata_stream_get_segment_index_at_offset" = xyes; then : 44337 ac_cv_libfdata_dummy=yes 44338else 44339 ac_cv_libfdata=no 44340fi 44341 44342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_get_segment_at_offset in -lfdata" >&5 44343$as_echo_n "checking for libfdata_stream_get_segment_at_offset in -lfdata... " >&6; } 44344if ${ac_cv_lib_fdata_libfdata_stream_get_segment_at_offset+:} false; then : 44345 $as_echo_n "(cached) " >&6 44346else 44347 ac_check_lib_save_LIBS=$LIBS 44348LIBS="-lfdata $LIBS" 44349cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44350/* end confdefs.h. */ 44351 44352/* Override any GCC internal prototype to avoid an error. 44353 Use char because int might match the return type of a GCC 44354 builtin and then its argument prototype would still apply. */ 44355#ifdef __cplusplus 44356extern "C" 44357#endif 44358char libfdata_stream_get_segment_at_offset (); 44359int 44360main () 44361{ 44362return libfdata_stream_get_segment_at_offset (); 44363 ; 44364 return 0; 44365} 44366_ACEOF 44367if ac_fn_c_try_link "$LINENO"; then : 44368 ac_cv_lib_fdata_libfdata_stream_get_segment_at_offset=yes 44369else 44370 ac_cv_lib_fdata_libfdata_stream_get_segment_at_offset=no 44371fi 44372rm -f core conftest.err conftest.$ac_objext \ 44373 conftest$ac_exeext conftest.$ac_ext 44374LIBS=$ac_check_lib_save_LIBS 44375fi 44376{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_get_segment_at_offset" >&5 44377$as_echo "$ac_cv_lib_fdata_libfdata_stream_get_segment_at_offset" >&6; } 44378if test "x$ac_cv_lib_fdata_libfdata_stream_get_segment_at_offset" = xyes; then : 44379 ac_cv_libfdata_dummy=yes 44380else 44381 ac_cv_libfdata=no 44382fi 44383 44384 44385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_read_buffer in -lfdata" >&5 44386$as_echo_n "checking for libfdata_stream_read_buffer in -lfdata... " >&6; } 44387if ${ac_cv_lib_fdata_libfdata_stream_read_buffer+:} false; then : 44388 $as_echo_n "(cached) " >&6 44389else 44390 ac_check_lib_save_LIBS=$LIBS 44391LIBS="-lfdata $LIBS" 44392cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44393/* end confdefs.h. */ 44394 44395/* Override any GCC internal prototype to avoid an error. 44396 Use char because int might match the return type of a GCC 44397 builtin and then its argument prototype would still apply. */ 44398#ifdef __cplusplus 44399extern "C" 44400#endif 44401char libfdata_stream_read_buffer (); 44402int 44403main () 44404{ 44405return libfdata_stream_read_buffer (); 44406 ; 44407 return 0; 44408} 44409_ACEOF 44410if ac_fn_c_try_link "$LINENO"; then : 44411 ac_cv_lib_fdata_libfdata_stream_read_buffer=yes 44412else 44413 ac_cv_lib_fdata_libfdata_stream_read_buffer=no 44414fi 44415rm -f core conftest.err conftest.$ac_objext \ 44416 conftest$ac_exeext conftest.$ac_ext 44417LIBS=$ac_check_lib_save_LIBS 44418fi 44419{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_read_buffer" >&5 44420$as_echo "$ac_cv_lib_fdata_libfdata_stream_read_buffer" >&6; } 44421if test "x$ac_cv_lib_fdata_libfdata_stream_read_buffer" = xyes; then : 44422 ac_cv_libfdata_dummy=yes 44423else 44424 ac_cv_libfdata=no 44425fi 44426 44427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_read_buffer_at_offset in -lfdata" >&5 44428$as_echo_n "checking for libfdata_stream_read_buffer_at_offset in -lfdata... " >&6; } 44429if ${ac_cv_lib_fdata_libfdata_stream_read_buffer_at_offset+:} false; then : 44430 $as_echo_n "(cached) " >&6 44431else 44432 ac_check_lib_save_LIBS=$LIBS 44433LIBS="-lfdata $LIBS" 44434cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44435/* end confdefs.h. */ 44436 44437/* Override any GCC internal prototype to avoid an error. 44438 Use char because int might match the return type of a GCC 44439 builtin and then its argument prototype would still apply. */ 44440#ifdef __cplusplus 44441extern "C" 44442#endif 44443char libfdata_stream_read_buffer_at_offset (); 44444int 44445main () 44446{ 44447return libfdata_stream_read_buffer_at_offset (); 44448 ; 44449 return 0; 44450} 44451_ACEOF 44452if ac_fn_c_try_link "$LINENO"; then : 44453 ac_cv_lib_fdata_libfdata_stream_read_buffer_at_offset=yes 44454else 44455 ac_cv_lib_fdata_libfdata_stream_read_buffer_at_offset=no 44456fi 44457rm -f core conftest.err conftest.$ac_objext \ 44458 conftest$ac_exeext conftest.$ac_ext 44459LIBS=$ac_check_lib_save_LIBS 44460fi 44461{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_read_buffer_at_offset" >&5 44462$as_echo "$ac_cv_lib_fdata_libfdata_stream_read_buffer_at_offset" >&6; } 44463if test "x$ac_cv_lib_fdata_libfdata_stream_read_buffer_at_offset" = xyes; then : 44464 ac_cv_libfdata_dummy=yes 44465else 44466 ac_cv_libfdata=no 44467fi 44468 44469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_write_buffer in -lfdata" >&5 44470$as_echo_n "checking for libfdata_stream_write_buffer in -lfdata... " >&6; } 44471if ${ac_cv_lib_fdata_libfdata_stream_write_buffer+:} false; then : 44472 $as_echo_n "(cached) " >&6 44473else 44474 ac_check_lib_save_LIBS=$LIBS 44475LIBS="-lfdata $LIBS" 44476cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44477/* end confdefs.h. */ 44478 44479/* Override any GCC internal prototype to avoid an error. 44480 Use char because int might match the return type of a GCC 44481 builtin and then its argument prototype would still apply. */ 44482#ifdef __cplusplus 44483extern "C" 44484#endif 44485char libfdata_stream_write_buffer (); 44486int 44487main () 44488{ 44489return libfdata_stream_write_buffer (); 44490 ; 44491 return 0; 44492} 44493_ACEOF 44494if ac_fn_c_try_link "$LINENO"; then : 44495 ac_cv_lib_fdata_libfdata_stream_write_buffer=yes 44496else 44497 ac_cv_lib_fdata_libfdata_stream_write_buffer=no 44498fi 44499rm -f core conftest.err conftest.$ac_objext \ 44500 conftest$ac_exeext conftest.$ac_ext 44501LIBS=$ac_check_lib_save_LIBS 44502fi 44503{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_write_buffer" >&5 44504$as_echo "$ac_cv_lib_fdata_libfdata_stream_write_buffer" >&6; } 44505if test "x$ac_cv_lib_fdata_libfdata_stream_write_buffer" = xyes; then : 44506 ac_cv_libfdata_dummy=yes 44507else 44508 ac_cv_libfdata=no 44509fi 44510 44511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_seek_offset in -lfdata" >&5 44512$as_echo_n "checking for libfdata_stream_seek_offset in -lfdata... " >&6; } 44513if ${ac_cv_lib_fdata_libfdata_stream_seek_offset+:} false; then : 44514 $as_echo_n "(cached) " >&6 44515else 44516 ac_check_lib_save_LIBS=$LIBS 44517LIBS="-lfdata $LIBS" 44518cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44519/* end confdefs.h. */ 44520 44521/* Override any GCC internal prototype to avoid an error. 44522 Use char because int might match the return type of a GCC 44523 builtin and then its argument prototype would still apply. */ 44524#ifdef __cplusplus 44525extern "C" 44526#endif 44527char libfdata_stream_seek_offset (); 44528int 44529main () 44530{ 44531return libfdata_stream_seek_offset (); 44532 ; 44533 return 0; 44534} 44535_ACEOF 44536if ac_fn_c_try_link "$LINENO"; then : 44537 ac_cv_lib_fdata_libfdata_stream_seek_offset=yes 44538else 44539 ac_cv_lib_fdata_libfdata_stream_seek_offset=no 44540fi 44541rm -f core conftest.err conftest.$ac_objext \ 44542 conftest$ac_exeext conftest.$ac_ext 44543LIBS=$ac_check_lib_save_LIBS 44544fi 44545{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_seek_offset" >&5 44546$as_echo "$ac_cv_lib_fdata_libfdata_stream_seek_offset" >&6; } 44547if test "x$ac_cv_lib_fdata_libfdata_stream_seek_offset" = xyes; then : 44548 ac_cv_libfdata_dummy=yes 44549else 44550 ac_cv_libfdata=no 44551fi 44552 44553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_get_offset in -lfdata" >&5 44554$as_echo_n "checking for libfdata_stream_get_offset in -lfdata... " >&6; } 44555if ${ac_cv_lib_fdata_libfdata_stream_get_offset+:} false; then : 44556 $as_echo_n "(cached) " >&6 44557else 44558 ac_check_lib_save_LIBS=$LIBS 44559LIBS="-lfdata $LIBS" 44560cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44561/* end confdefs.h. */ 44562 44563/* Override any GCC internal prototype to avoid an error. 44564 Use char because int might match the return type of a GCC 44565 builtin and then its argument prototype would still apply. */ 44566#ifdef __cplusplus 44567extern "C" 44568#endif 44569char libfdata_stream_get_offset (); 44570int 44571main () 44572{ 44573return libfdata_stream_get_offset (); 44574 ; 44575 return 0; 44576} 44577_ACEOF 44578if ac_fn_c_try_link "$LINENO"; then : 44579 ac_cv_lib_fdata_libfdata_stream_get_offset=yes 44580else 44581 ac_cv_lib_fdata_libfdata_stream_get_offset=no 44582fi 44583rm -f core conftest.err conftest.$ac_objext \ 44584 conftest$ac_exeext conftest.$ac_ext 44585LIBS=$ac_check_lib_save_LIBS 44586fi 44587{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_get_offset" >&5 44588$as_echo "$ac_cv_lib_fdata_libfdata_stream_get_offset" >&6; } 44589if test "x$ac_cv_lib_fdata_libfdata_stream_get_offset" = xyes; then : 44590 ac_cv_libfdata_dummy=yes 44591else 44592 ac_cv_libfdata=no 44593fi 44594 44595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_get_size in -lfdata" >&5 44596$as_echo_n "checking for libfdata_stream_get_size in -lfdata... " >&6; } 44597if ${ac_cv_lib_fdata_libfdata_stream_get_size+:} false; then : 44598 $as_echo_n "(cached) " >&6 44599else 44600 ac_check_lib_save_LIBS=$LIBS 44601LIBS="-lfdata $LIBS" 44602cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44603/* end confdefs.h. */ 44604 44605/* Override any GCC internal prototype to avoid an error. 44606 Use char because int might match the return type of a GCC 44607 builtin and then its argument prototype would still apply. */ 44608#ifdef __cplusplus 44609extern "C" 44610#endif 44611char libfdata_stream_get_size (); 44612int 44613main () 44614{ 44615return libfdata_stream_get_size (); 44616 ; 44617 return 0; 44618} 44619_ACEOF 44620if ac_fn_c_try_link "$LINENO"; then : 44621 ac_cv_lib_fdata_libfdata_stream_get_size=yes 44622else 44623 ac_cv_lib_fdata_libfdata_stream_get_size=no 44624fi 44625rm -f core conftest.err conftest.$ac_objext \ 44626 conftest$ac_exeext conftest.$ac_ext 44627LIBS=$ac_check_lib_save_LIBS 44628fi 44629{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_get_size" >&5 44630$as_echo "$ac_cv_lib_fdata_libfdata_stream_get_size" >&6; } 44631if test "x$ac_cv_lib_fdata_libfdata_stream_get_size" = xyes; then : 44632 ac_cv_libfdata_dummy=yes 44633else 44634 ac_cv_libfdata=no 44635fi 44636 44637 44638 44639 44640 ac_cv_libfdata_LIBADD="-lfdata" 44641fi 44642 44643fi 44644 if test "x$ac_cv_with_libfdata" != x && test "x$ac_cv_with_libfdata" != xauto-detect && test "x$ac_cv_libfdata" != xyes; then : 44645 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 44646$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 44647as_fn_error 1 "unable to find supported libfdata in directory: $ac_cv_with_libfdata 44648See \`config.log' for more details" "$LINENO" 5; } 44649 44650fi 44651 44652fi 44653 44654 if test "x$ac_cv_libfdata" = xyes; then : 44655 44656$as_echo "#define HAVE_LIBFDATA 1" >>confdefs.h 44657 44658 44659fi 44660 44661 if test "x$ac_cv_libfdata" = xyes; then : 44662 HAVE_LIBFDATA=1 44663 44664else 44665 HAVE_LIBFDATA=0 44666 44667 44668fi 44669 44670 44671 if test "x$ac_cv_libfdata" != xyes; then : 44672 44673 ac_cv_libfdata_CPPFLAGS="-I../libfdata"; 44674 ac_cv_libfdata_LIBADD="../libfdata/libfdata.la"; 44675 44676 ac_cv_libfdata=local 44677 44678 44679 44680$as_echo "#define HAVE_LOCAL_LIBFDATA 1" >>confdefs.h 44681 44682 HAVE_LOCAL_LIBFDATA=1 44683 44684 44685fi 44686 44687 if test "x$ac_cv_libfdata" = xlocal; then 44688 HAVE_LOCAL_LIBFDATA_TRUE= 44689 HAVE_LOCAL_LIBFDATA_FALSE='#' 44690else 44691 HAVE_LOCAL_LIBFDATA_TRUE='#' 44692 HAVE_LOCAL_LIBFDATA_FALSE= 44693fi 44694 44695 if test "x$ac_cv_libfdata_CPPFLAGS" != "x"; then : 44696 LIBFDATA_CPPFLAGS=$ac_cv_libfdata_CPPFLAGS 44697 44698 44699fi 44700 if test "x$ac_cv_libfdata_LIBADD" != "x"; then : 44701 LIBFDATA_LIBADD=$ac_cv_libfdata_LIBADD 44702 44703 44704fi 44705 44706 if test "x$ac_cv_libfdata" = xyes; then : 44707 ax_libfdata_pc_libs_private=-lfdata 44708 44709 44710fi 44711 44712 if test "x$ac_cv_libfdata" = xyes; then : 44713 ax_libfdata_spec_requires=libfdata 44714 44715 ax_libfdata_spec_build_requires=libfdata-devel 44716 44717 44718fi 44719 44720 44721 44722 44723# Check whether --with-libfvalue was given. 44724if test "${with_libfvalue+set}" = set; then : 44725 withval=$with_libfvalue; ac_cv_with_libfvalue=$withval 44726else 44727 ac_cv_with_libfvalue=auto-detect 44728fi 44729 44730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use search for libfvalue in includedir and libdir or in the specified DIR, or no if to use local version" >&5 44731$as_echo_n "checking whether to use search for libfvalue in includedir and libdir or in the specified DIR, or no if to use local version... " >&6; } 44732if ${ac_cv_with_libfvalue+:} false; then : 44733 $as_echo_n "(cached) " >&6 44734else 44735 ac_cv_with_libfvalue=auto-detect 44736fi 44737{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libfvalue" >&5 44738$as_echo "$ac_cv_with_libfvalue" >&6; } 44739 44740 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libfvalue" = xno; then : 44741 ac_cv_libfvalue=no 44742else 44743 ac_cv_libfvalue=check 44744 if test "x$ac_cv_with_libfvalue" != x && test "x$ac_cv_with_libfvalue" != xauto-detect; then : 44745 if test -d "$ac_cv_with_libfvalue"; then : 44746 CFLAGS="$CFLAGS -I${ac_cv_with_libfvalue}/include" 44747 LDFLAGS="$LDFLAGS -L${ac_cv_with_libfvalue}/lib" 44748else 44749 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 44750$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 44751as_fn_error 1 "no such directory: $ac_cv_with_libfvalue 44752See \`config.log' for more details" "$LINENO" 5; } 44753 44754fi 44755 44756else 44757 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 44758 44759pkg_failed=no 44760{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue" >&5 44761$as_echo_n "checking for libfvalue... " >&6; } 44762 44763if test -n "$libfvalue_CFLAGS"; then 44764 pkg_cv_libfvalue_CFLAGS="$libfvalue_CFLAGS" 44765 elif test -n "$PKG_CONFIG"; then 44766 if test -n "$PKG_CONFIG" && \ 44767 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfvalue >= 20200711\""; } >&5 44768 ($PKG_CONFIG --exists --print-errors "libfvalue >= 20200711") 2>&5 44769 ac_status=$? 44770 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 44771 test $ac_status = 0; }; then 44772 pkg_cv_libfvalue_CFLAGS=`$PKG_CONFIG --cflags "libfvalue >= 20200711" 2>/dev/null` 44773 test "x$?" != "x0" && pkg_failed=yes 44774else 44775 pkg_failed=yes 44776fi 44777 else 44778 pkg_failed=untried 44779fi 44780if test -n "$libfvalue_LIBS"; then 44781 pkg_cv_libfvalue_LIBS="$libfvalue_LIBS" 44782 elif test -n "$PKG_CONFIG"; then 44783 if test -n "$PKG_CONFIG" && \ 44784 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfvalue >= 20200711\""; } >&5 44785 ($PKG_CONFIG --exists --print-errors "libfvalue >= 20200711") 2>&5 44786 ac_status=$? 44787 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 44788 test $ac_status = 0; }; then 44789 pkg_cv_libfvalue_LIBS=`$PKG_CONFIG --libs "libfvalue >= 20200711" 2>/dev/null` 44790 test "x$?" != "x0" && pkg_failed=yes 44791else 44792 pkg_failed=yes 44793fi 44794 else 44795 pkg_failed=untried 44796fi 44797 44798 44799 44800if test $pkg_failed = yes; then 44801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 44802$as_echo "no" >&6; } 44803 44804if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 44805 _pkg_short_errors_supported=yes 44806else 44807 _pkg_short_errors_supported=no 44808fi 44809 if test $_pkg_short_errors_supported = yes; then 44810 libfvalue_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libfvalue >= 20200711" 2>&1` 44811 else 44812 libfvalue_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libfvalue >= 20200711" 2>&1` 44813 fi 44814 # Put the nasty error message in config.log where it belongs 44815 echo "$libfvalue_PKG_ERRORS" >&5 44816 44817 ac_cv_libfvalue=check 44818elif test $pkg_failed = untried; then 44819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 44820$as_echo "no" >&6; } 44821 ac_cv_libfvalue=check 44822else 44823 libfvalue_CFLAGS=$pkg_cv_libfvalue_CFLAGS 44824 libfvalue_LIBS=$pkg_cv_libfvalue_LIBS 44825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 44826$as_echo "yes" >&6; } 44827 ac_cv_libfvalue=yes 44828fi 44829 44830fi 44831 if test "x$ac_cv_libfvalue" = xyes; then : 44832 ac_cv_libfvalue_CPPFLAGS="$pkg_cv_libfvalue_CFLAGS" 44833 ac_cv_libfvalue_LIBADD="$pkg_cv_libfvalue_LIBS" 44834fi 44835 44836fi 44837 44838 if test "x$ac_cv_libfvalue" = xcheck; then : 44839 for ac_header in libfvalue.h 44840do : 44841 ac_fn_c_check_header_mongrel "$LINENO" "libfvalue.h" "ac_cv_header_libfvalue_h" "$ac_includes_default" 44842if test "x$ac_cv_header_libfvalue_h" = xyes; then : 44843 cat >>confdefs.h <<_ACEOF 44844#define HAVE_LIBFVALUE_H 1 44845_ACEOF 44846 44847fi 44848 44849done 44850 44851 44852 if test "x$ac_cv_header_libfvalue_h" = xno; then : 44853 ac_cv_libfvalue=no 44854else 44855 ac_cv_libfvalue=yes 44856 44857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_get_version in -lfvalue" >&5 44858$as_echo_n "checking for libfvalue_get_version in -lfvalue... " >&6; } 44859if ${ac_cv_lib_fvalue_libfvalue_get_version+:} false; then : 44860 $as_echo_n "(cached) " >&6 44861else 44862 ac_check_lib_save_LIBS=$LIBS 44863LIBS="-lfvalue $LIBS" 44864cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44865/* end confdefs.h. */ 44866 44867/* Override any GCC internal prototype to avoid an error. 44868 Use char because int might match the return type of a GCC 44869 builtin and then its argument prototype would still apply. */ 44870#ifdef __cplusplus 44871extern "C" 44872#endif 44873char libfvalue_get_version (); 44874int 44875main () 44876{ 44877return libfvalue_get_version (); 44878 ; 44879 return 0; 44880} 44881_ACEOF 44882if ac_fn_c_try_link "$LINENO"; then : 44883 ac_cv_lib_fvalue_libfvalue_get_version=yes 44884else 44885 ac_cv_lib_fvalue_libfvalue_get_version=no 44886fi 44887rm -f core conftest.err conftest.$ac_objext \ 44888 conftest$ac_exeext conftest.$ac_ext 44889LIBS=$ac_check_lib_save_LIBS 44890fi 44891{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_get_version" >&5 44892$as_echo "$ac_cv_lib_fvalue_libfvalue_get_version" >&6; } 44893if test "x$ac_cv_lib_fvalue_libfvalue_get_version" = xyes; then : 44894 ac_cv_libfvalue_dummy=yes 44895else 44896 ac_cv_libfvalue=no 44897fi 44898 44899 44900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_data_handle_initialize in -lfvalue" >&5 44901$as_echo_n "checking for libfvalue_data_handle_initialize in -lfvalue... " >&6; } 44902if ${ac_cv_lib_fvalue_libfvalue_data_handle_initialize+:} false; then : 44903 $as_echo_n "(cached) " >&6 44904else 44905 ac_check_lib_save_LIBS=$LIBS 44906LIBS="-lfvalue $LIBS" 44907cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44908/* end confdefs.h. */ 44909 44910/* Override any GCC internal prototype to avoid an error. 44911 Use char because int might match the return type of a GCC 44912 builtin and then its argument prototype would still apply. */ 44913#ifdef __cplusplus 44914extern "C" 44915#endif 44916char libfvalue_data_handle_initialize (); 44917int 44918main () 44919{ 44920return libfvalue_data_handle_initialize (); 44921 ; 44922 return 0; 44923} 44924_ACEOF 44925if ac_fn_c_try_link "$LINENO"; then : 44926 ac_cv_lib_fvalue_libfvalue_data_handle_initialize=yes 44927else 44928 ac_cv_lib_fvalue_libfvalue_data_handle_initialize=no 44929fi 44930rm -f core conftest.err conftest.$ac_objext \ 44931 conftest$ac_exeext conftest.$ac_ext 44932LIBS=$ac_check_lib_save_LIBS 44933fi 44934{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_data_handle_initialize" >&5 44935$as_echo "$ac_cv_lib_fvalue_libfvalue_data_handle_initialize" >&6; } 44936if test "x$ac_cv_lib_fvalue_libfvalue_data_handle_initialize" = xyes; then : 44937 ac_cv_libfvalue_dummy=yes 44938else 44939 ac_cv_libfvalue=no 44940fi 44941 44942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_data_handle_free in -lfvalue" >&5 44943$as_echo_n "checking for libfvalue_data_handle_free in -lfvalue... " >&6; } 44944if ${ac_cv_lib_fvalue_libfvalue_data_handle_free+:} false; then : 44945 $as_echo_n "(cached) " >&6 44946else 44947 ac_check_lib_save_LIBS=$LIBS 44948LIBS="-lfvalue $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 libfvalue_data_handle_free (); 44959int 44960main () 44961{ 44962return libfvalue_data_handle_free (); 44963 ; 44964 return 0; 44965} 44966_ACEOF 44967if ac_fn_c_try_link "$LINENO"; then : 44968 ac_cv_lib_fvalue_libfvalue_data_handle_free=yes 44969else 44970 ac_cv_lib_fvalue_libfvalue_data_handle_free=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_fvalue_libfvalue_data_handle_free" >&5 44977$as_echo "$ac_cv_lib_fvalue_libfvalue_data_handle_free" >&6; } 44978if test "x$ac_cv_lib_fvalue_libfvalue_data_handle_free" = xyes; then : 44979 ac_cv_libfvalue_dummy=yes 44980else 44981 ac_cv_libfvalue=no 44982fi 44983 44984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_data_handle_clone in -lfvalue" >&5 44985$as_echo_n "checking for libfvalue_data_handle_clone in -lfvalue... " >&6; } 44986if ${ac_cv_lib_fvalue_libfvalue_data_handle_clone+:} false; then : 44987 $as_echo_n "(cached) " >&6 44988else 44989 ac_check_lib_save_LIBS=$LIBS 44990LIBS="-lfvalue $LIBS" 44991cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44992/* end confdefs.h. */ 44993 44994/* Override any GCC internal prototype to avoid an error. 44995 Use char because int might match the return type of a GCC 44996 builtin and then its argument prototype would still apply. */ 44997#ifdef __cplusplus 44998extern "C" 44999#endif 45000char libfvalue_data_handle_clone (); 45001int 45002main () 45003{ 45004return libfvalue_data_handle_clone (); 45005 ; 45006 return 0; 45007} 45008_ACEOF 45009if ac_fn_c_try_link "$LINENO"; then : 45010 ac_cv_lib_fvalue_libfvalue_data_handle_clone=yes 45011else 45012 ac_cv_lib_fvalue_libfvalue_data_handle_clone=no 45013fi 45014rm -f core conftest.err conftest.$ac_objext \ 45015 conftest$ac_exeext conftest.$ac_ext 45016LIBS=$ac_check_lib_save_LIBS 45017fi 45018{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_data_handle_clone" >&5 45019$as_echo "$ac_cv_lib_fvalue_libfvalue_data_handle_clone" >&6; } 45020if test "x$ac_cv_lib_fvalue_libfvalue_data_handle_clone" = xyes; then : 45021 ac_cv_libfvalue_dummy=yes 45022else 45023 ac_cv_libfvalue=no 45024fi 45025 45026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_data_handle_clear in -lfvalue" >&5 45027$as_echo_n "checking for libfvalue_data_handle_clear in -lfvalue... " >&6; } 45028if ${ac_cv_lib_fvalue_libfvalue_data_handle_clear+:} false; then : 45029 $as_echo_n "(cached) " >&6 45030else 45031 ac_check_lib_save_LIBS=$LIBS 45032LIBS="-lfvalue $LIBS" 45033cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45034/* end confdefs.h. */ 45035 45036/* Override any GCC internal prototype to avoid an error. 45037 Use char because int might match the return type of a GCC 45038 builtin and then its argument prototype would still apply. */ 45039#ifdef __cplusplus 45040extern "C" 45041#endif 45042char libfvalue_data_handle_clear (); 45043int 45044main () 45045{ 45046return libfvalue_data_handle_clear (); 45047 ; 45048 return 0; 45049} 45050_ACEOF 45051if ac_fn_c_try_link "$LINENO"; then : 45052 ac_cv_lib_fvalue_libfvalue_data_handle_clear=yes 45053else 45054 ac_cv_lib_fvalue_libfvalue_data_handle_clear=no 45055fi 45056rm -f core conftest.err conftest.$ac_objext \ 45057 conftest$ac_exeext conftest.$ac_ext 45058LIBS=$ac_check_lib_save_LIBS 45059fi 45060{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_data_handle_clear" >&5 45061$as_echo "$ac_cv_lib_fvalue_libfvalue_data_handle_clear" >&6; } 45062if test "x$ac_cv_lib_fvalue_libfvalue_data_handle_clear" = xyes; then : 45063 ac_cv_libfvalue_dummy=yes 45064else 45065 ac_cv_libfvalue=no 45066fi 45067 45068 45069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_data_handle_get_data in -lfvalue" >&5 45070$as_echo_n "checking for libfvalue_data_handle_get_data in -lfvalue... " >&6; } 45071if ${ac_cv_lib_fvalue_libfvalue_data_handle_get_data+:} false; then : 45072 $as_echo_n "(cached) " >&6 45073else 45074 ac_check_lib_save_LIBS=$LIBS 45075LIBS="-lfvalue $LIBS" 45076cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45077/* end confdefs.h. */ 45078 45079/* Override any GCC internal prototype to avoid an error. 45080 Use char because int might match the return type of a GCC 45081 builtin and then its argument prototype would still apply. */ 45082#ifdef __cplusplus 45083extern "C" 45084#endif 45085char libfvalue_data_handle_get_data (); 45086int 45087main () 45088{ 45089return libfvalue_data_handle_get_data (); 45090 ; 45091 return 0; 45092} 45093_ACEOF 45094if ac_fn_c_try_link "$LINENO"; then : 45095 ac_cv_lib_fvalue_libfvalue_data_handle_get_data=yes 45096else 45097 ac_cv_lib_fvalue_libfvalue_data_handle_get_data=no 45098fi 45099rm -f core conftest.err conftest.$ac_objext \ 45100 conftest$ac_exeext conftest.$ac_ext 45101LIBS=$ac_check_lib_save_LIBS 45102fi 45103{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_data_handle_get_data" >&5 45104$as_echo "$ac_cv_lib_fvalue_libfvalue_data_handle_get_data" >&6; } 45105if test "x$ac_cv_lib_fvalue_libfvalue_data_handle_get_data" = xyes; then : 45106 ac_cv_libfvalue_dummy=yes 45107else 45108 ac_cv_libfvalue=no 45109fi 45110 45111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_data_handle_set_data in -lfvalue" >&5 45112$as_echo_n "checking for libfvalue_data_handle_set_data in -lfvalue... " >&6; } 45113if ${ac_cv_lib_fvalue_libfvalue_data_handle_set_data+:} false; then : 45114 $as_echo_n "(cached) " >&6 45115else 45116 ac_check_lib_save_LIBS=$LIBS 45117LIBS="-lfvalue $LIBS" 45118cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45119/* end confdefs.h. */ 45120 45121/* Override any GCC internal prototype to avoid an error. 45122 Use char because int might match the return type of a GCC 45123 builtin and then its argument prototype would still apply. */ 45124#ifdef __cplusplus 45125extern "C" 45126#endif 45127char libfvalue_data_handle_set_data (); 45128int 45129main () 45130{ 45131return libfvalue_data_handle_set_data (); 45132 ; 45133 return 0; 45134} 45135_ACEOF 45136if ac_fn_c_try_link "$LINENO"; then : 45137 ac_cv_lib_fvalue_libfvalue_data_handle_set_data=yes 45138else 45139 ac_cv_lib_fvalue_libfvalue_data_handle_set_data=no 45140fi 45141rm -f core conftest.err conftest.$ac_objext \ 45142 conftest$ac_exeext conftest.$ac_ext 45143LIBS=$ac_check_lib_save_LIBS 45144fi 45145{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_data_handle_set_data" >&5 45146$as_echo "$ac_cv_lib_fvalue_libfvalue_data_handle_set_data" >&6; } 45147if test "x$ac_cv_lib_fvalue_libfvalue_data_handle_set_data" = xyes; then : 45148 ac_cv_libfvalue_dummy=yes 45149else 45150 ac_cv_libfvalue=no 45151fi 45152 45153 45154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_data_handle_get_data_flags in -lfvalue" >&5 45155$as_echo_n "checking for libfvalue_data_handle_get_data_flags in -lfvalue... " >&6; } 45156if ${ac_cv_lib_fvalue_libfvalue_data_handle_get_data_flags+:} false; then : 45157 $as_echo_n "(cached) " >&6 45158else 45159 ac_check_lib_save_LIBS=$LIBS 45160LIBS="-lfvalue $LIBS" 45161cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45162/* end confdefs.h. */ 45163 45164/* Override any GCC internal prototype to avoid an error. 45165 Use char because int might match the return type of a GCC 45166 builtin and then its argument prototype would still apply. */ 45167#ifdef __cplusplus 45168extern "C" 45169#endif 45170char libfvalue_data_handle_get_data_flags (); 45171int 45172main () 45173{ 45174return libfvalue_data_handle_get_data_flags (); 45175 ; 45176 return 0; 45177} 45178_ACEOF 45179if ac_fn_c_try_link "$LINENO"; then : 45180 ac_cv_lib_fvalue_libfvalue_data_handle_get_data_flags=yes 45181else 45182 ac_cv_lib_fvalue_libfvalue_data_handle_get_data_flags=no 45183fi 45184rm -f core conftest.err conftest.$ac_objext \ 45185 conftest$ac_exeext conftest.$ac_ext 45186LIBS=$ac_check_lib_save_LIBS 45187fi 45188{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_data_handle_get_data_flags" >&5 45189$as_echo "$ac_cv_lib_fvalue_libfvalue_data_handle_get_data_flags" >&6; } 45190if test "x$ac_cv_lib_fvalue_libfvalue_data_handle_get_data_flags" = xyes; then : 45191 ac_cv_libfvalue_dummy=yes 45192else 45193 ac_cv_libfvalue=no 45194fi 45195 45196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_data_handle_set_data_flags in -lfvalue" >&5 45197$as_echo_n "checking for libfvalue_data_handle_set_data_flags in -lfvalue... " >&6; } 45198if ${ac_cv_lib_fvalue_libfvalue_data_handle_set_data_flags+:} false; then : 45199 $as_echo_n "(cached) " >&6 45200else 45201 ac_check_lib_save_LIBS=$LIBS 45202LIBS="-lfvalue $LIBS" 45203cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45204/* end confdefs.h. */ 45205 45206/* Override any GCC internal prototype to avoid an error. 45207 Use char because int might match the return type of a GCC 45208 builtin and then its argument prototype would still apply. */ 45209#ifdef __cplusplus 45210extern "C" 45211#endif 45212char libfvalue_data_handle_set_data_flags (); 45213int 45214main () 45215{ 45216return libfvalue_data_handle_set_data_flags (); 45217 ; 45218 return 0; 45219} 45220_ACEOF 45221if ac_fn_c_try_link "$LINENO"; then : 45222 ac_cv_lib_fvalue_libfvalue_data_handle_set_data_flags=yes 45223else 45224 ac_cv_lib_fvalue_libfvalue_data_handle_set_data_flags=no 45225fi 45226rm -f core conftest.err conftest.$ac_objext \ 45227 conftest$ac_exeext conftest.$ac_ext 45228LIBS=$ac_check_lib_save_LIBS 45229fi 45230{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_data_handle_set_data_flags" >&5 45231$as_echo "$ac_cv_lib_fvalue_libfvalue_data_handle_set_data_flags" >&6; } 45232if test "x$ac_cv_lib_fvalue_libfvalue_data_handle_set_data_flags" = xyes; then : 45233 ac_cv_libfvalue_dummy=yes 45234else 45235 ac_cv_libfvalue=no 45236fi 45237 45238 45239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_data_handle_get_number_of_value_entries in -lfvalue" >&5 45240$as_echo_n "checking for libfvalue_data_handle_get_number_of_value_entries in -lfvalue... " >&6; } 45241if ${ac_cv_lib_fvalue_libfvalue_data_handle_get_number_of_value_entries+:} false; then : 45242 $as_echo_n "(cached) " >&6 45243else 45244 ac_check_lib_save_LIBS=$LIBS 45245LIBS="-lfvalue $LIBS" 45246cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45247/* end confdefs.h. */ 45248 45249/* Override any GCC internal prototype to avoid an error. 45250 Use char because int might match the return type of a GCC 45251 builtin and then its argument prototype would still apply. */ 45252#ifdef __cplusplus 45253extern "C" 45254#endif 45255char libfvalue_data_handle_get_number_of_value_entries (); 45256int 45257main () 45258{ 45259return libfvalue_data_handle_get_number_of_value_entries (); 45260 ; 45261 return 0; 45262} 45263_ACEOF 45264if ac_fn_c_try_link "$LINENO"; then : 45265 ac_cv_lib_fvalue_libfvalue_data_handle_get_number_of_value_entries=yes 45266else 45267 ac_cv_lib_fvalue_libfvalue_data_handle_get_number_of_value_entries=no 45268fi 45269rm -f core conftest.err conftest.$ac_objext \ 45270 conftest$ac_exeext conftest.$ac_ext 45271LIBS=$ac_check_lib_save_LIBS 45272fi 45273{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_data_handle_get_number_of_value_entries" >&5 45274$as_echo "$ac_cv_lib_fvalue_libfvalue_data_handle_get_number_of_value_entries" >&6; } 45275if test "x$ac_cv_lib_fvalue_libfvalue_data_handle_get_number_of_value_entries" = xyes; then : 45276 ac_cv_libfvalue_dummy=yes 45277else 45278 ac_cv_libfvalue=no 45279fi 45280 45281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_data_handle_get_value_entry in -lfvalue" >&5 45282$as_echo_n "checking for libfvalue_data_handle_get_value_entry in -lfvalue... " >&6; } 45283if ${ac_cv_lib_fvalue_libfvalue_data_handle_get_value_entry+:} false; then : 45284 $as_echo_n "(cached) " >&6 45285else 45286 ac_check_lib_save_LIBS=$LIBS 45287LIBS="-lfvalue $LIBS" 45288cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45289/* end confdefs.h. */ 45290 45291/* Override any GCC internal prototype to avoid an error. 45292 Use char because int might match the return type of a GCC 45293 builtin and then its argument prototype would still apply. */ 45294#ifdef __cplusplus 45295extern "C" 45296#endif 45297char libfvalue_data_handle_get_value_entry (); 45298int 45299main () 45300{ 45301return libfvalue_data_handle_get_value_entry (); 45302 ; 45303 return 0; 45304} 45305_ACEOF 45306if ac_fn_c_try_link "$LINENO"; then : 45307 ac_cv_lib_fvalue_libfvalue_data_handle_get_value_entry=yes 45308else 45309 ac_cv_lib_fvalue_libfvalue_data_handle_get_value_entry=no 45310fi 45311rm -f core conftest.err conftest.$ac_objext \ 45312 conftest$ac_exeext conftest.$ac_ext 45313LIBS=$ac_check_lib_save_LIBS 45314fi 45315{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_data_handle_get_value_entry" >&5 45316$as_echo "$ac_cv_lib_fvalue_libfvalue_data_handle_get_value_entry" >&6; } 45317if test "x$ac_cv_lib_fvalue_libfvalue_data_handle_get_value_entry" = xyes; then : 45318 ac_cv_libfvalue_dummy=yes 45319else 45320 ac_cv_libfvalue=no 45321fi 45322 45323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_data_handle_set_value_entry in -lfvalue" >&5 45324$as_echo_n "checking for libfvalue_data_handle_set_value_entry in -lfvalue... " >&6; } 45325if ${ac_cv_lib_fvalue_libfvalue_data_handle_set_value_entry+:} false; then : 45326 $as_echo_n "(cached) " >&6 45327else 45328 ac_check_lib_save_LIBS=$LIBS 45329LIBS="-lfvalue $LIBS" 45330cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45331/* end confdefs.h. */ 45332 45333/* Override any GCC internal prototype to avoid an error. 45334 Use char because int might match the return type of a GCC 45335 builtin and then its argument prototype would still apply. */ 45336#ifdef __cplusplus 45337extern "C" 45338#endif 45339char libfvalue_data_handle_set_value_entry (); 45340int 45341main () 45342{ 45343return libfvalue_data_handle_set_value_entry (); 45344 ; 45345 return 0; 45346} 45347_ACEOF 45348if ac_fn_c_try_link "$LINENO"; then : 45349 ac_cv_lib_fvalue_libfvalue_data_handle_set_value_entry=yes 45350else 45351 ac_cv_lib_fvalue_libfvalue_data_handle_set_value_entry=no 45352fi 45353rm -f core conftest.err conftest.$ac_objext \ 45354 conftest$ac_exeext conftest.$ac_ext 45355LIBS=$ac_check_lib_save_LIBS 45356fi 45357{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_data_handle_set_value_entry" >&5 45358$as_echo "$ac_cv_lib_fvalue_libfvalue_data_handle_set_value_entry" >&6; } 45359if test "x$ac_cv_lib_fvalue_libfvalue_data_handle_set_value_entry" = xyes; then : 45360 ac_cv_libfvalue_dummy=yes 45361else 45362 ac_cv_libfvalue=no 45363fi 45364 45365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_data_handle_append_value_entry in -lfvalue" >&5 45366$as_echo_n "checking for libfvalue_data_handle_append_value_entry in -lfvalue... " >&6; } 45367if ${ac_cv_lib_fvalue_libfvalue_data_handle_append_value_entry+:} false; then : 45368 $as_echo_n "(cached) " >&6 45369else 45370 ac_check_lib_save_LIBS=$LIBS 45371LIBS="-lfvalue $LIBS" 45372cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45373/* end confdefs.h. */ 45374 45375/* Override any GCC internal prototype to avoid an error. 45376 Use char because int might match the return type of a GCC 45377 builtin and then its argument prototype would still apply. */ 45378#ifdef __cplusplus 45379extern "C" 45380#endif 45381char libfvalue_data_handle_append_value_entry (); 45382int 45383main () 45384{ 45385return libfvalue_data_handle_append_value_entry (); 45386 ; 45387 return 0; 45388} 45389_ACEOF 45390if ac_fn_c_try_link "$LINENO"; then : 45391 ac_cv_lib_fvalue_libfvalue_data_handle_append_value_entry=yes 45392else 45393 ac_cv_lib_fvalue_libfvalue_data_handle_append_value_entry=no 45394fi 45395rm -f core conftest.err conftest.$ac_objext \ 45396 conftest$ac_exeext conftest.$ac_ext 45397LIBS=$ac_check_lib_save_LIBS 45398fi 45399{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_data_handle_append_value_entry" >&5 45400$as_echo "$ac_cv_lib_fvalue_libfvalue_data_handle_append_value_entry" >&6; } 45401if test "x$ac_cv_lib_fvalue_libfvalue_data_handle_append_value_entry" = xyes; then : 45402 ac_cv_libfvalue_dummy=yes 45403else 45404 ac_cv_libfvalue=no 45405fi 45406 45407 45408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_string_size_from_integer in -lfvalue" >&5 45409$as_echo_n "checking for libfvalue_string_size_from_integer in -lfvalue... " >&6; } 45410if ${ac_cv_lib_fvalue_libfvalue_string_size_from_integer+:} false; then : 45411 $as_echo_n "(cached) " >&6 45412else 45413 ac_check_lib_save_LIBS=$LIBS 45414LIBS="-lfvalue $LIBS" 45415cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45416/* end confdefs.h. */ 45417 45418/* Override any GCC internal prototype to avoid an error. 45419 Use char because int might match the return type of a GCC 45420 builtin and then its argument prototype would still apply. */ 45421#ifdef __cplusplus 45422extern "C" 45423#endif 45424char libfvalue_string_size_from_integer (); 45425int 45426main () 45427{ 45428return libfvalue_string_size_from_integer (); 45429 ; 45430 return 0; 45431} 45432_ACEOF 45433if ac_fn_c_try_link "$LINENO"; then : 45434 ac_cv_lib_fvalue_libfvalue_string_size_from_integer=yes 45435else 45436 ac_cv_lib_fvalue_libfvalue_string_size_from_integer=no 45437fi 45438rm -f core conftest.err conftest.$ac_objext \ 45439 conftest$ac_exeext conftest.$ac_ext 45440LIBS=$ac_check_lib_save_LIBS 45441fi 45442{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_string_size_from_integer" >&5 45443$as_echo "$ac_cv_lib_fvalue_libfvalue_string_size_from_integer" >&6; } 45444if test "x$ac_cv_lib_fvalue_libfvalue_string_size_from_integer" = xyes; then : 45445 ac_cv_libfvalue_dummy=yes 45446else 45447 ac_cv_libfvalue=no 45448fi 45449 45450 45451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_utf8_string_copy_from_integer in -lfvalue" >&5 45452$as_echo_n "checking for libfvalue_utf8_string_copy_from_integer in -lfvalue... " >&6; } 45453if ${ac_cv_lib_fvalue_libfvalue_utf8_string_copy_from_integer+:} false; then : 45454 $as_echo_n "(cached) " >&6 45455else 45456 ac_check_lib_save_LIBS=$LIBS 45457LIBS="-lfvalue $LIBS" 45458cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45459/* end confdefs.h. */ 45460 45461/* Override any GCC internal prototype to avoid an error. 45462 Use char because int might match the return type of a GCC 45463 builtin and then its argument prototype would still apply. */ 45464#ifdef __cplusplus 45465extern "C" 45466#endif 45467char libfvalue_utf8_string_copy_from_integer (); 45468int 45469main () 45470{ 45471return libfvalue_utf8_string_copy_from_integer (); 45472 ; 45473 return 0; 45474} 45475_ACEOF 45476if ac_fn_c_try_link "$LINENO"; then : 45477 ac_cv_lib_fvalue_libfvalue_utf8_string_copy_from_integer=yes 45478else 45479 ac_cv_lib_fvalue_libfvalue_utf8_string_copy_from_integer=no 45480fi 45481rm -f core conftest.err conftest.$ac_objext \ 45482 conftest$ac_exeext conftest.$ac_ext 45483LIBS=$ac_check_lib_save_LIBS 45484fi 45485{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_utf8_string_copy_from_integer" >&5 45486$as_echo "$ac_cv_lib_fvalue_libfvalue_utf8_string_copy_from_integer" >&6; } 45487if test "x$ac_cv_lib_fvalue_libfvalue_utf8_string_copy_from_integer" = xyes; then : 45488 ac_cv_libfvalue_dummy=yes 45489else 45490 ac_cv_libfvalue=no 45491fi 45492 45493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_utf8_string_with_index_copy_from_integer in -lfvalue" >&5 45494$as_echo_n "checking for libfvalue_utf8_string_with_index_copy_from_integer in -lfvalue... " >&6; } 45495if ${ac_cv_lib_fvalue_libfvalue_utf8_string_with_index_copy_from_integer+:} false; then : 45496 $as_echo_n "(cached) " >&6 45497else 45498 ac_check_lib_save_LIBS=$LIBS 45499LIBS="-lfvalue $LIBS" 45500cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45501/* end confdefs.h. */ 45502 45503/* Override any GCC internal prototype to avoid an error. 45504 Use char because int might match the return type of a GCC 45505 builtin and then its argument prototype would still apply. */ 45506#ifdef __cplusplus 45507extern "C" 45508#endif 45509char libfvalue_utf8_string_with_index_copy_from_integer (); 45510int 45511main () 45512{ 45513return libfvalue_utf8_string_with_index_copy_from_integer (); 45514 ; 45515 return 0; 45516} 45517_ACEOF 45518if ac_fn_c_try_link "$LINENO"; then : 45519 ac_cv_lib_fvalue_libfvalue_utf8_string_with_index_copy_from_integer=yes 45520else 45521 ac_cv_lib_fvalue_libfvalue_utf8_string_with_index_copy_from_integer=no 45522fi 45523rm -f core conftest.err conftest.$ac_objext \ 45524 conftest$ac_exeext conftest.$ac_ext 45525LIBS=$ac_check_lib_save_LIBS 45526fi 45527{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_utf8_string_with_index_copy_from_integer" >&5 45528$as_echo "$ac_cv_lib_fvalue_libfvalue_utf8_string_with_index_copy_from_integer" >&6; } 45529if test "x$ac_cv_lib_fvalue_libfvalue_utf8_string_with_index_copy_from_integer" = xyes; then : 45530 ac_cv_libfvalue_dummy=yes 45531else 45532 ac_cv_libfvalue=no 45533fi 45534 45535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_utf8_string_copy_to_integer in -lfvalue" >&5 45536$as_echo_n "checking for libfvalue_utf8_string_copy_to_integer in -lfvalue... " >&6; } 45537if ${ac_cv_lib_fvalue_libfvalue_utf8_string_copy_to_integer+:} false; then : 45538 $as_echo_n "(cached) " >&6 45539else 45540 ac_check_lib_save_LIBS=$LIBS 45541LIBS="-lfvalue $LIBS" 45542cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45543/* end confdefs.h. */ 45544 45545/* Override any GCC internal prototype to avoid an error. 45546 Use char because int might match the return type of a GCC 45547 builtin and then its argument prototype would still apply. */ 45548#ifdef __cplusplus 45549extern "C" 45550#endif 45551char libfvalue_utf8_string_copy_to_integer (); 45552int 45553main () 45554{ 45555return libfvalue_utf8_string_copy_to_integer (); 45556 ; 45557 return 0; 45558} 45559_ACEOF 45560if ac_fn_c_try_link "$LINENO"; then : 45561 ac_cv_lib_fvalue_libfvalue_utf8_string_copy_to_integer=yes 45562else 45563 ac_cv_lib_fvalue_libfvalue_utf8_string_copy_to_integer=no 45564fi 45565rm -f core conftest.err conftest.$ac_objext \ 45566 conftest$ac_exeext conftest.$ac_ext 45567LIBS=$ac_check_lib_save_LIBS 45568fi 45569{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_utf8_string_copy_to_integer" >&5 45570$as_echo "$ac_cv_lib_fvalue_libfvalue_utf8_string_copy_to_integer" >&6; } 45571if test "x$ac_cv_lib_fvalue_libfvalue_utf8_string_copy_to_integer" = xyes; then : 45572 ac_cv_libfvalue_dummy=yes 45573else 45574 ac_cv_libfvalue=no 45575fi 45576 45577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_utf8_string_with_index_copy_to_integer in -lfvalue" >&5 45578$as_echo_n "checking for libfvalue_utf8_string_with_index_copy_to_integer in -lfvalue... " >&6; } 45579if ${ac_cv_lib_fvalue_libfvalue_utf8_string_with_index_copy_to_integer+:} false; then : 45580 $as_echo_n "(cached) " >&6 45581else 45582 ac_check_lib_save_LIBS=$LIBS 45583LIBS="-lfvalue $LIBS" 45584cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45585/* end confdefs.h. */ 45586 45587/* Override any GCC internal prototype to avoid an error. 45588 Use char because int might match the return type of a GCC 45589 builtin and then its argument prototype would still apply. */ 45590#ifdef __cplusplus 45591extern "C" 45592#endif 45593char libfvalue_utf8_string_with_index_copy_to_integer (); 45594int 45595main () 45596{ 45597return libfvalue_utf8_string_with_index_copy_to_integer (); 45598 ; 45599 return 0; 45600} 45601_ACEOF 45602if ac_fn_c_try_link "$LINENO"; then : 45603 ac_cv_lib_fvalue_libfvalue_utf8_string_with_index_copy_to_integer=yes 45604else 45605 ac_cv_lib_fvalue_libfvalue_utf8_string_with_index_copy_to_integer=no 45606fi 45607rm -f core conftest.err conftest.$ac_objext \ 45608 conftest$ac_exeext conftest.$ac_ext 45609LIBS=$ac_check_lib_save_LIBS 45610fi 45611{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_utf8_string_with_index_copy_to_integer" >&5 45612$as_echo "$ac_cv_lib_fvalue_libfvalue_utf8_string_with_index_copy_to_integer" >&6; } 45613if test "x$ac_cv_lib_fvalue_libfvalue_utf8_string_with_index_copy_to_integer" = xyes; then : 45614 ac_cv_libfvalue_dummy=yes 45615else 45616 ac_cv_libfvalue=no 45617fi 45618 45619 45620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_utf16_string_copy_from_integer in -lfvalue" >&5 45621$as_echo_n "checking for libfvalue_utf16_string_copy_from_integer in -lfvalue... " >&6; } 45622if ${ac_cv_lib_fvalue_libfvalue_utf16_string_copy_from_integer+:} false; then : 45623 $as_echo_n "(cached) " >&6 45624else 45625 ac_check_lib_save_LIBS=$LIBS 45626LIBS="-lfvalue $LIBS" 45627cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45628/* end confdefs.h. */ 45629 45630/* Override any GCC internal prototype to avoid an error. 45631 Use char because int might match the return type of a GCC 45632 builtin and then its argument prototype would still apply. */ 45633#ifdef __cplusplus 45634extern "C" 45635#endif 45636char libfvalue_utf16_string_copy_from_integer (); 45637int 45638main () 45639{ 45640return libfvalue_utf16_string_copy_from_integer (); 45641 ; 45642 return 0; 45643} 45644_ACEOF 45645if ac_fn_c_try_link "$LINENO"; then : 45646 ac_cv_lib_fvalue_libfvalue_utf16_string_copy_from_integer=yes 45647else 45648 ac_cv_lib_fvalue_libfvalue_utf16_string_copy_from_integer=no 45649fi 45650rm -f core conftest.err conftest.$ac_objext \ 45651 conftest$ac_exeext conftest.$ac_ext 45652LIBS=$ac_check_lib_save_LIBS 45653fi 45654{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_utf16_string_copy_from_integer" >&5 45655$as_echo "$ac_cv_lib_fvalue_libfvalue_utf16_string_copy_from_integer" >&6; } 45656if test "x$ac_cv_lib_fvalue_libfvalue_utf16_string_copy_from_integer" = xyes; then : 45657 ac_cv_libfvalue_dummy=yes 45658else 45659 ac_cv_libfvalue=no 45660fi 45661 45662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_utf16_string_with_index_copy_from_integer in -lfvalue" >&5 45663$as_echo_n "checking for libfvalue_utf16_string_with_index_copy_from_integer in -lfvalue... " >&6; } 45664if ${ac_cv_lib_fvalue_libfvalue_utf16_string_with_index_copy_from_integer+:} false; then : 45665 $as_echo_n "(cached) " >&6 45666else 45667 ac_check_lib_save_LIBS=$LIBS 45668LIBS="-lfvalue $LIBS" 45669cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45670/* end confdefs.h. */ 45671 45672/* Override any GCC internal prototype to avoid an error. 45673 Use char because int might match the return type of a GCC 45674 builtin and then its argument prototype would still apply. */ 45675#ifdef __cplusplus 45676extern "C" 45677#endif 45678char libfvalue_utf16_string_with_index_copy_from_integer (); 45679int 45680main () 45681{ 45682return libfvalue_utf16_string_with_index_copy_from_integer (); 45683 ; 45684 return 0; 45685} 45686_ACEOF 45687if ac_fn_c_try_link "$LINENO"; then : 45688 ac_cv_lib_fvalue_libfvalue_utf16_string_with_index_copy_from_integer=yes 45689else 45690 ac_cv_lib_fvalue_libfvalue_utf16_string_with_index_copy_from_integer=no 45691fi 45692rm -f core conftest.err conftest.$ac_objext \ 45693 conftest$ac_exeext conftest.$ac_ext 45694LIBS=$ac_check_lib_save_LIBS 45695fi 45696{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_utf16_string_with_index_copy_from_integer" >&5 45697$as_echo "$ac_cv_lib_fvalue_libfvalue_utf16_string_with_index_copy_from_integer" >&6; } 45698if test "x$ac_cv_lib_fvalue_libfvalue_utf16_string_with_index_copy_from_integer" = xyes; then : 45699 ac_cv_libfvalue_dummy=yes 45700else 45701 ac_cv_libfvalue=no 45702fi 45703 45704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_utf16_string_copy_to_integer in -lfvalue" >&5 45705$as_echo_n "checking for libfvalue_utf16_string_copy_to_integer in -lfvalue... " >&6; } 45706if ${ac_cv_lib_fvalue_libfvalue_utf16_string_copy_to_integer+:} false; then : 45707 $as_echo_n "(cached) " >&6 45708else 45709 ac_check_lib_save_LIBS=$LIBS 45710LIBS="-lfvalue $LIBS" 45711cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45712/* end confdefs.h. */ 45713 45714/* Override any GCC internal prototype to avoid an error. 45715 Use char because int might match the return type of a GCC 45716 builtin and then its argument prototype would still apply. */ 45717#ifdef __cplusplus 45718extern "C" 45719#endif 45720char libfvalue_utf16_string_copy_to_integer (); 45721int 45722main () 45723{ 45724return libfvalue_utf16_string_copy_to_integer (); 45725 ; 45726 return 0; 45727} 45728_ACEOF 45729if ac_fn_c_try_link "$LINENO"; then : 45730 ac_cv_lib_fvalue_libfvalue_utf16_string_copy_to_integer=yes 45731else 45732 ac_cv_lib_fvalue_libfvalue_utf16_string_copy_to_integer=no 45733fi 45734rm -f core conftest.err conftest.$ac_objext \ 45735 conftest$ac_exeext conftest.$ac_ext 45736LIBS=$ac_check_lib_save_LIBS 45737fi 45738{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_utf16_string_copy_to_integer" >&5 45739$as_echo "$ac_cv_lib_fvalue_libfvalue_utf16_string_copy_to_integer" >&6; } 45740if test "x$ac_cv_lib_fvalue_libfvalue_utf16_string_copy_to_integer" = xyes; then : 45741 ac_cv_libfvalue_dummy=yes 45742else 45743 ac_cv_libfvalue=no 45744fi 45745 45746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_utf16_string_with_index_copy_to_integer in -lfvalue" >&5 45747$as_echo_n "checking for libfvalue_utf16_string_with_index_copy_to_integer in -lfvalue... " >&6; } 45748if ${ac_cv_lib_fvalue_libfvalue_utf16_string_with_index_copy_to_integer+:} false; then : 45749 $as_echo_n "(cached) " >&6 45750else 45751 ac_check_lib_save_LIBS=$LIBS 45752LIBS="-lfvalue $LIBS" 45753cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45754/* end confdefs.h. */ 45755 45756/* Override any GCC internal prototype to avoid an error. 45757 Use char because int might match the return type of a GCC 45758 builtin and then its argument prototype would still apply. */ 45759#ifdef __cplusplus 45760extern "C" 45761#endif 45762char libfvalue_utf16_string_with_index_copy_to_integer (); 45763int 45764main () 45765{ 45766return libfvalue_utf16_string_with_index_copy_to_integer (); 45767 ; 45768 return 0; 45769} 45770_ACEOF 45771if ac_fn_c_try_link "$LINENO"; then : 45772 ac_cv_lib_fvalue_libfvalue_utf16_string_with_index_copy_to_integer=yes 45773else 45774 ac_cv_lib_fvalue_libfvalue_utf16_string_with_index_copy_to_integer=no 45775fi 45776rm -f core conftest.err conftest.$ac_objext \ 45777 conftest$ac_exeext conftest.$ac_ext 45778LIBS=$ac_check_lib_save_LIBS 45779fi 45780{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_utf16_string_with_index_copy_to_integer" >&5 45781$as_echo "$ac_cv_lib_fvalue_libfvalue_utf16_string_with_index_copy_to_integer" >&6; } 45782if test "x$ac_cv_lib_fvalue_libfvalue_utf16_string_with_index_copy_to_integer" = xyes; then : 45783 ac_cv_libfvalue_dummy=yes 45784else 45785 ac_cv_libfvalue=no 45786fi 45787 45788 45789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_utf32_string_copy_from_integer in -lfvalue" >&5 45790$as_echo_n "checking for libfvalue_utf32_string_copy_from_integer in -lfvalue... " >&6; } 45791if ${ac_cv_lib_fvalue_libfvalue_utf32_string_copy_from_integer+:} false; then : 45792 $as_echo_n "(cached) " >&6 45793else 45794 ac_check_lib_save_LIBS=$LIBS 45795LIBS="-lfvalue $LIBS" 45796cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45797/* end confdefs.h. */ 45798 45799/* Override any GCC internal prototype to avoid an error. 45800 Use char because int might match the return type of a GCC 45801 builtin and then its argument prototype would still apply. */ 45802#ifdef __cplusplus 45803extern "C" 45804#endif 45805char libfvalue_utf32_string_copy_from_integer (); 45806int 45807main () 45808{ 45809return libfvalue_utf32_string_copy_from_integer (); 45810 ; 45811 return 0; 45812} 45813_ACEOF 45814if ac_fn_c_try_link "$LINENO"; then : 45815 ac_cv_lib_fvalue_libfvalue_utf32_string_copy_from_integer=yes 45816else 45817 ac_cv_lib_fvalue_libfvalue_utf32_string_copy_from_integer=no 45818fi 45819rm -f core conftest.err conftest.$ac_objext \ 45820 conftest$ac_exeext conftest.$ac_ext 45821LIBS=$ac_check_lib_save_LIBS 45822fi 45823{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_utf32_string_copy_from_integer" >&5 45824$as_echo "$ac_cv_lib_fvalue_libfvalue_utf32_string_copy_from_integer" >&6; } 45825if test "x$ac_cv_lib_fvalue_libfvalue_utf32_string_copy_from_integer" = xyes; then : 45826 ac_cv_libfvalue_dummy=yes 45827else 45828 ac_cv_libfvalue=no 45829fi 45830 45831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_utf32_string_with_index_copy_from_integer in -lfvalue" >&5 45832$as_echo_n "checking for libfvalue_utf32_string_with_index_copy_from_integer in -lfvalue... " >&6; } 45833if ${ac_cv_lib_fvalue_libfvalue_utf32_string_with_index_copy_from_integer+:} false; then : 45834 $as_echo_n "(cached) " >&6 45835else 45836 ac_check_lib_save_LIBS=$LIBS 45837LIBS="-lfvalue $LIBS" 45838cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45839/* end confdefs.h. */ 45840 45841/* Override any GCC internal prototype to avoid an error. 45842 Use char because int might match the return type of a GCC 45843 builtin and then its argument prototype would still apply. */ 45844#ifdef __cplusplus 45845extern "C" 45846#endif 45847char libfvalue_utf32_string_with_index_copy_from_integer (); 45848int 45849main () 45850{ 45851return libfvalue_utf32_string_with_index_copy_from_integer (); 45852 ; 45853 return 0; 45854} 45855_ACEOF 45856if ac_fn_c_try_link "$LINENO"; then : 45857 ac_cv_lib_fvalue_libfvalue_utf32_string_with_index_copy_from_integer=yes 45858else 45859 ac_cv_lib_fvalue_libfvalue_utf32_string_with_index_copy_from_integer=no 45860fi 45861rm -f core conftest.err conftest.$ac_objext \ 45862 conftest$ac_exeext conftest.$ac_ext 45863LIBS=$ac_check_lib_save_LIBS 45864fi 45865{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_utf32_string_with_index_copy_from_integer" >&5 45866$as_echo "$ac_cv_lib_fvalue_libfvalue_utf32_string_with_index_copy_from_integer" >&6; } 45867if test "x$ac_cv_lib_fvalue_libfvalue_utf32_string_with_index_copy_from_integer" = xyes; then : 45868 ac_cv_libfvalue_dummy=yes 45869else 45870 ac_cv_libfvalue=no 45871fi 45872 45873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_utf32_string_copy_to_integer in -lfvalue" >&5 45874$as_echo_n "checking for libfvalue_utf32_string_copy_to_integer in -lfvalue... " >&6; } 45875if ${ac_cv_lib_fvalue_libfvalue_utf32_string_copy_to_integer+:} false; then : 45876 $as_echo_n "(cached) " >&6 45877else 45878 ac_check_lib_save_LIBS=$LIBS 45879LIBS="-lfvalue $LIBS" 45880cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45881/* end confdefs.h. */ 45882 45883/* Override any GCC internal prototype to avoid an error. 45884 Use char because int might match the return type of a GCC 45885 builtin and then its argument prototype would still apply. */ 45886#ifdef __cplusplus 45887extern "C" 45888#endif 45889char libfvalue_utf32_string_copy_to_integer (); 45890int 45891main () 45892{ 45893return libfvalue_utf32_string_copy_to_integer (); 45894 ; 45895 return 0; 45896} 45897_ACEOF 45898if ac_fn_c_try_link "$LINENO"; then : 45899 ac_cv_lib_fvalue_libfvalue_utf32_string_copy_to_integer=yes 45900else 45901 ac_cv_lib_fvalue_libfvalue_utf32_string_copy_to_integer=no 45902fi 45903rm -f core conftest.err conftest.$ac_objext \ 45904 conftest$ac_exeext conftest.$ac_ext 45905LIBS=$ac_check_lib_save_LIBS 45906fi 45907{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_utf32_string_copy_to_integer" >&5 45908$as_echo "$ac_cv_lib_fvalue_libfvalue_utf32_string_copy_to_integer" >&6; } 45909if test "x$ac_cv_lib_fvalue_libfvalue_utf32_string_copy_to_integer" = xyes; then : 45910 ac_cv_libfvalue_dummy=yes 45911else 45912 ac_cv_libfvalue=no 45913fi 45914 45915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_utf32_string_with_index_copy_to_integer in -lfvalue" >&5 45916$as_echo_n "checking for libfvalue_utf32_string_with_index_copy_to_integer in -lfvalue... " >&6; } 45917if ${ac_cv_lib_fvalue_libfvalue_utf32_string_with_index_copy_to_integer+:} false; then : 45918 $as_echo_n "(cached) " >&6 45919else 45920 ac_check_lib_save_LIBS=$LIBS 45921LIBS="-lfvalue $LIBS" 45922cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45923/* end confdefs.h. */ 45924 45925/* Override any GCC internal prototype to avoid an error. 45926 Use char because int might match the return type of a GCC 45927 builtin and then its argument prototype would still apply. */ 45928#ifdef __cplusplus 45929extern "C" 45930#endif 45931char libfvalue_utf32_string_with_index_copy_to_integer (); 45932int 45933main () 45934{ 45935return libfvalue_utf32_string_with_index_copy_to_integer (); 45936 ; 45937 return 0; 45938} 45939_ACEOF 45940if ac_fn_c_try_link "$LINENO"; then : 45941 ac_cv_lib_fvalue_libfvalue_utf32_string_with_index_copy_to_integer=yes 45942else 45943 ac_cv_lib_fvalue_libfvalue_utf32_string_with_index_copy_to_integer=no 45944fi 45945rm -f core conftest.err conftest.$ac_objext \ 45946 conftest$ac_exeext conftest.$ac_ext 45947LIBS=$ac_check_lib_save_LIBS 45948fi 45949{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_utf32_string_with_index_copy_to_integer" >&5 45950$as_echo "$ac_cv_lib_fvalue_libfvalue_utf32_string_with_index_copy_to_integer" >&6; } 45951if test "x$ac_cv_lib_fvalue_libfvalue_utf32_string_with_index_copy_to_integer" = xyes; then : 45952 ac_cv_libfvalue_dummy=yes 45953else 45954 ac_cv_libfvalue=no 45955fi 45956 45957 45958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_utf8_string_split in -lfvalue" >&5 45959$as_echo_n "checking for libfvalue_utf8_string_split in -lfvalue... " >&6; } 45960if ${ac_cv_lib_fvalue_libfvalue_utf8_string_split+:} false; then : 45961 $as_echo_n "(cached) " >&6 45962else 45963 ac_check_lib_save_LIBS=$LIBS 45964LIBS="-lfvalue $LIBS" 45965cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45966/* end confdefs.h. */ 45967 45968/* Override any GCC internal prototype to avoid an error. 45969 Use char because int might match the return type of a GCC 45970 builtin and then its argument prototype would still apply. */ 45971#ifdef __cplusplus 45972extern "C" 45973#endif 45974char libfvalue_utf8_string_split (); 45975int 45976main () 45977{ 45978return libfvalue_utf8_string_split (); 45979 ; 45980 return 0; 45981} 45982_ACEOF 45983if ac_fn_c_try_link "$LINENO"; then : 45984 ac_cv_lib_fvalue_libfvalue_utf8_string_split=yes 45985else 45986 ac_cv_lib_fvalue_libfvalue_utf8_string_split=no 45987fi 45988rm -f core conftest.err conftest.$ac_objext \ 45989 conftest$ac_exeext conftest.$ac_ext 45990LIBS=$ac_check_lib_save_LIBS 45991fi 45992{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_utf8_string_split" >&5 45993$as_echo "$ac_cv_lib_fvalue_libfvalue_utf8_string_split" >&6; } 45994if test "x$ac_cv_lib_fvalue_libfvalue_utf8_string_split" = xyes; then : 45995 ac_cv_libfvalue_dummy=yes 45996else 45997 ac_cv_libfvalue=no 45998fi 45999 46000 46001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_utf16_string_split in -lfvalue" >&5 46002$as_echo_n "checking for libfvalue_utf16_string_split in -lfvalue... " >&6; } 46003if ${ac_cv_lib_fvalue_libfvalue_utf16_string_split+:} false; then : 46004 $as_echo_n "(cached) " >&6 46005else 46006 ac_check_lib_save_LIBS=$LIBS 46007LIBS="-lfvalue $LIBS" 46008cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46009/* end confdefs.h. */ 46010 46011/* Override any GCC internal prototype to avoid an error. 46012 Use char because int might match the return type of a GCC 46013 builtin and then its argument prototype would still apply. */ 46014#ifdef __cplusplus 46015extern "C" 46016#endif 46017char libfvalue_utf16_string_split (); 46018int 46019main () 46020{ 46021return libfvalue_utf16_string_split (); 46022 ; 46023 return 0; 46024} 46025_ACEOF 46026if ac_fn_c_try_link "$LINENO"; then : 46027 ac_cv_lib_fvalue_libfvalue_utf16_string_split=yes 46028else 46029 ac_cv_lib_fvalue_libfvalue_utf16_string_split=no 46030fi 46031rm -f core conftest.err conftest.$ac_objext \ 46032 conftest$ac_exeext conftest.$ac_ext 46033LIBS=$ac_check_lib_save_LIBS 46034fi 46035{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_utf16_string_split" >&5 46036$as_echo "$ac_cv_lib_fvalue_libfvalue_utf16_string_split" >&6; } 46037if test "x$ac_cv_lib_fvalue_libfvalue_utf16_string_split" = xyes; then : 46038 ac_cv_libfvalue_dummy=yes 46039else 46040 ac_cv_libfvalue=no 46041fi 46042 46043 46044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_split_utf8_string_free in -lfvalue" >&5 46045$as_echo_n "checking for libfvalue_split_utf8_string_free in -lfvalue... " >&6; } 46046if ${ac_cv_lib_fvalue_libfvalue_split_utf8_string_free+:} false; then : 46047 $as_echo_n "(cached) " >&6 46048else 46049 ac_check_lib_save_LIBS=$LIBS 46050LIBS="-lfvalue $LIBS" 46051cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46052/* end confdefs.h. */ 46053 46054/* Override any GCC internal prototype to avoid an error. 46055 Use char because int might match the return type of a GCC 46056 builtin and then its argument prototype would still apply. */ 46057#ifdef __cplusplus 46058extern "C" 46059#endif 46060char libfvalue_split_utf8_string_free (); 46061int 46062main () 46063{ 46064return libfvalue_split_utf8_string_free (); 46065 ; 46066 return 0; 46067} 46068_ACEOF 46069if ac_fn_c_try_link "$LINENO"; then : 46070 ac_cv_lib_fvalue_libfvalue_split_utf8_string_free=yes 46071else 46072 ac_cv_lib_fvalue_libfvalue_split_utf8_string_free=no 46073fi 46074rm -f core conftest.err conftest.$ac_objext \ 46075 conftest$ac_exeext conftest.$ac_ext 46076LIBS=$ac_check_lib_save_LIBS 46077fi 46078{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_split_utf8_string_free" >&5 46079$as_echo "$ac_cv_lib_fvalue_libfvalue_split_utf8_string_free" >&6; } 46080if test "x$ac_cv_lib_fvalue_libfvalue_split_utf8_string_free" = xyes; then : 46081 ac_cv_libfvalue_dummy=yes 46082else 46083 ac_cv_libfvalue=no 46084fi 46085 46086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_split_utf8_string_get_string in -lfvalue" >&5 46087$as_echo_n "checking for libfvalue_split_utf8_string_get_string in -lfvalue... " >&6; } 46088if ${ac_cv_lib_fvalue_libfvalue_split_utf8_string_get_string+:} false; then : 46089 $as_echo_n "(cached) " >&6 46090else 46091 ac_check_lib_save_LIBS=$LIBS 46092LIBS="-lfvalue $LIBS" 46093cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46094/* end confdefs.h. */ 46095 46096/* Override any GCC internal prototype to avoid an error. 46097 Use char because int might match the return type of a GCC 46098 builtin and then its argument prototype would still apply. */ 46099#ifdef __cplusplus 46100extern "C" 46101#endif 46102char libfvalue_split_utf8_string_get_string (); 46103int 46104main () 46105{ 46106return libfvalue_split_utf8_string_get_string (); 46107 ; 46108 return 0; 46109} 46110_ACEOF 46111if ac_fn_c_try_link "$LINENO"; then : 46112 ac_cv_lib_fvalue_libfvalue_split_utf8_string_get_string=yes 46113else 46114 ac_cv_lib_fvalue_libfvalue_split_utf8_string_get_string=no 46115fi 46116rm -f core conftest.err conftest.$ac_objext \ 46117 conftest$ac_exeext conftest.$ac_ext 46118LIBS=$ac_check_lib_save_LIBS 46119fi 46120{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_split_utf8_string_get_string" >&5 46121$as_echo "$ac_cv_lib_fvalue_libfvalue_split_utf8_string_get_string" >&6; } 46122if test "x$ac_cv_lib_fvalue_libfvalue_split_utf8_string_get_string" = xyes; then : 46123 ac_cv_libfvalue_dummy=yes 46124else 46125 ac_cv_libfvalue=no 46126fi 46127 46128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_split_utf8_string_get_number_of_segments in -lfvalue" >&5 46129$as_echo_n "checking for libfvalue_split_utf8_string_get_number_of_segments in -lfvalue... " >&6; } 46130if ${ac_cv_lib_fvalue_libfvalue_split_utf8_string_get_number_of_segments+:} false; then : 46131 $as_echo_n "(cached) " >&6 46132else 46133 ac_check_lib_save_LIBS=$LIBS 46134LIBS="-lfvalue $LIBS" 46135cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46136/* end confdefs.h. */ 46137 46138/* Override any GCC internal prototype to avoid an error. 46139 Use char because int might match the return type of a GCC 46140 builtin and then its argument prototype would still apply. */ 46141#ifdef __cplusplus 46142extern "C" 46143#endif 46144char libfvalue_split_utf8_string_get_number_of_segments (); 46145int 46146main () 46147{ 46148return libfvalue_split_utf8_string_get_number_of_segments (); 46149 ; 46150 return 0; 46151} 46152_ACEOF 46153if ac_fn_c_try_link "$LINENO"; then : 46154 ac_cv_lib_fvalue_libfvalue_split_utf8_string_get_number_of_segments=yes 46155else 46156 ac_cv_lib_fvalue_libfvalue_split_utf8_string_get_number_of_segments=no 46157fi 46158rm -f core conftest.err conftest.$ac_objext \ 46159 conftest$ac_exeext conftest.$ac_ext 46160LIBS=$ac_check_lib_save_LIBS 46161fi 46162{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_split_utf8_string_get_number_of_segments" >&5 46163$as_echo "$ac_cv_lib_fvalue_libfvalue_split_utf8_string_get_number_of_segments" >&6; } 46164if test "x$ac_cv_lib_fvalue_libfvalue_split_utf8_string_get_number_of_segments" = xyes; then : 46165 ac_cv_libfvalue_dummy=yes 46166else 46167 ac_cv_libfvalue=no 46168fi 46169 46170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_split_utf8_string_get_segment_by_index in -lfvalue" >&5 46171$as_echo_n "checking for libfvalue_split_utf8_string_get_segment_by_index in -lfvalue... " >&6; } 46172if ${ac_cv_lib_fvalue_libfvalue_split_utf8_string_get_segment_by_index+:} false; then : 46173 $as_echo_n "(cached) " >&6 46174else 46175 ac_check_lib_save_LIBS=$LIBS 46176LIBS="-lfvalue $LIBS" 46177cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46178/* end confdefs.h. */ 46179 46180/* Override any GCC internal prototype to avoid an error. 46181 Use char because int might match the return type of a GCC 46182 builtin and then its argument prototype would still apply. */ 46183#ifdef __cplusplus 46184extern "C" 46185#endif 46186char libfvalue_split_utf8_string_get_segment_by_index (); 46187int 46188main () 46189{ 46190return libfvalue_split_utf8_string_get_segment_by_index (); 46191 ; 46192 return 0; 46193} 46194_ACEOF 46195if ac_fn_c_try_link "$LINENO"; then : 46196 ac_cv_lib_fvalue_libfvalue_split_utf8_string_get_segment_by_index=yes 46197else 46198 ac_cv_lib_fvalue_libfvalue_split_utf8_string_get_segment_by_index=no 46199fi 46200rm -f core conftest.err conftest.$ac_objext \ 46201 conftest$ac_exeext conftest.$ac_ext 46202LIBS=$ac_check_lib_save_LIBS 46203fi 46204{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_split_utf8_string_get_segment_by_index" >&5 46205$as_echo "$ac_cv_lib_fvalue_libfvalue_split_utf8_string_get_segment_by_index" >&6; } 46206if test "x$ac_cv_lib_fvalue_libfvalue_split_utf8_string_get_segment_by_index" = xyes; then : 46207 ac_cv_libfvalue_dummy=yes 46208else 46209 ac_cv_libfvalue=no 46210fi 46211 46212 46213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_split_utf16_string_free in -lfvalue" >&5 46214$as_echo_n "checking for libfvalue_split_utf16_string_free in -lfvalue... " >&6; } 46215if ${ac_cv_lib_fvalue_libfvalue_split_utf16_string_free+:} false; then : 46216 $as_echo_n "(cached) " >&6 46217else 46218 ac_check_lib_save_LIBS=$LIBS 46219LIBS="-lfvalue $LIBS" 46220cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46221/* end confdefs.h. */ 46222 46223/* Override any GCC internal prototype to avoid an error. 46224 Use char because int might match the return type of a GCC 46225 builtin and then its argument prototype would still apply. */ 46226#ifdef __cplusplus 46227extern "C" 46228#endif 46229char libfvalue_split_utf16_string_free (); 46230int 46231main () 46232{ 46233return libfvalue_split_utf16_string_free (); 46234 ; 46235 return 0; 46236} 46237_ACEOF 46238if ac_fn_c_try_link "$LINENO"; then : 46239 ac_cv_lib_fvalue_libfvalue_split_utf16_string_free=yes 46240else 46241 ac_cv_lib_fvalue_libfvalue_split_utf16_string_free=no 46242fi 46243rm -f core conftest.err conftest.$ac_objext \ 46244 conftest$ac_exeext conftest.$ac_ext 46245LIBS=$ac_check_lib_save_LIBS 46246fi 46247{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_split_utf16_string_free" >&5 46248$as_echo "$ac_cv_lib_fvalue_libfvalue_split_utf16_string_free" >&6; } 46249if test "x$ac_cv_lib_fvalue_libfvalue_split_utf16_string_free" = xyes; then : 46250 ac_cv_libfvalue_dummy=yes 46251else 46252 ac_cv_libfvalue=no 46253fi 46254 46255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_split_utf16_string_get_string in -lfvalue" >&5 46256$as_echo_n "checking for libfvalue_split_utf16_string_get_string in -lfvalue... " >&6; } 46257if ${ac_cv_lib_fvalue_libfvalue_split_utf16_string_get_string+:} false; then : 46258 $as_echo_n "(cached) " >&6 46259else 46260 ac_check_lib_save_LIBS=$LIBS 46261LIBS="-lfvalue $LIBS" 46262cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46263/* end confdefs.h. */ 46264 46265/* Override any GCC internal prototype to avoid an error. 46266 Use char because int might match the return type of a GCC 46267 builtin and then its argument prototype would still apply. */ 46268#ifdef __cplusplus 46269extern "C" 46270#endif 46271char libfvalue_split_utf16_string_get_string (); 46272int 46273main () 46274{ 46275return libfvalue_split_utf16_string_get_string (); 46276 ; 46277 return 0; 46278} 46279_ACEOF 46280if ac_fn_c_try_link "$LINENO"; then : 46281 ac_cv_lib_fvalue_libfvalue_split_utf16_string_get_string=yes 46282else 46283 ac_cv_lib_fvalue_libfvalue_split_utf16_string_get_string=no 46284fi 46285rm -f core conftest.err conftest.$ac_objext \ 46286 conftest$ac_exeext conftest.$ac_ext 46287LIBS=$ac_check_lib_save_LIBS 46288fi 46289{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_split_utf16_string_get_string" >&5 46290$as_echo "$ac_cv_lib_fvalue_libfvalue_split_utf16_string_get_string" >&6; } 46291if test "x$ac_cv_lib_fvalue_libfvalue_split_utf16_string_get_string" = xyes; then : 46292 ac_cv_libfvalue_dummy=yes 46293else 46294 ac_cv_libfvalue=no 46295fi 46296 46297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_split_utf16_string_get_number_of_segments in -lfvalue" >&5 46298$as_echo_n "checking for libfvalue_split_utf16_string_get_number_of_segments in -lfvalue... " >&6; } 46299if ${ac_cv_lib_fvalue_libfvalue_split_utf16_string_get_number_of_segments+:} false; then : 46300 $as_echo_n "(cached) " >&6 46301else 46302 ac_check_lib_save_LIBS=$LIBS 46303LIBS="-lfvalue $LIBS" 46304cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46305/* end confdefs.h. */ 46306 46307/* Override any GCC internal prototype to avoid an error. 46308 Use char because int might match the return type of a GCC 46309 builtin and then its argument prototype would still apply. */ 46310#ifdef __cplusplus 46311extern "C" 46312#endif 46313char libfvalue_split_utf16_string_get_number_of_segments (); 46314int 46315main () 46316{ 46317return libfvalue_split_utf16_string_get_number_of_segments (); 46318 ; 46319 return 0; 46320} 46321_ACEOF 46322if ac_fn_c_try_link "$LINENO"; then : 46323 ac_cv_lib_fvalue_libfvalue_split_utf16_string_get_number_of_segments=yes 46324else 46325 ac_cv_lib_fvalue_libfvalue_split_utf16_string_get_number_of_segments=no 46326fi 46327rm -f core conftest.err conftest.$ac_objext \ 46328 conftest$ac_exeext conftest.$ac_ext 46329LIBS=$ac_check_lib_save_LIBS 46330fi 46331{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_split_utf16_string_get_number_of_segments" >&5 46332$as_echo "$ac_cv_lib_fvalue_libfvalue_split_utf16_string_get_number_of_segments" >&6; } 46333if test "x$ac_cv_lib_fvalue_libfvalue_split_utf16_string_get_number_of_segments" = xyes; then : 46334 ac_cv_libfvalue_dummy=yes 46335else 46336 ac_cv_libfvalue=no 46337fi 46338 46339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_split_utf16_string_get_segment_by_index in -lfvalue" >&5 46340$as_echo_n "checking for libfvalue_split_utf16_string_get_segment_by_index in -lfvalue... " >&6; } 46341if ${ac_cv_lib_fvalue_libfvalue_split_utf16_string_get_segment_by_index+:} false; then : 46342 $as_echo_n "(cached) " >&6 46343else 46344 ac_check_lib_save_LIBS=$LIBS 46345LIBS="-lfvalue $LIBS" 46346cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46347/* end confdefs.h. */ 46348 46349/* Override any GCC internal prototype to avoid an error. 46350 Use char because int might match the return type of a GCC 46351 builtin and then its argument prototype would still apply. */ 46352#ifdef __cplusplus 46353extern "C" 46354#endif 46355char libfvalue_split_utf16_string_get_segment_by_index (); 46356int 46357main () 46358{ 46359return libfvalue_split_utf16_string_get_segment_by_index (); 46360 ; 46361 return 0; 46362} 46363_ACEOF 46364if ac_fn_c_try_link "$LINENO"; then : 46365 ac_cv_lib_fvalue_libfvalue_split_utf16_string_get_segment_by_index=yes 46366else 46367 ac_cv_lib_fvalue_libfvalue_split_utf16_string_get_segment_by_index=no 46368fi 46369rm -f core conftest.err conftest.$ac_objext \ 46370 conftest$ac_exeext conftest.$ac_ext 46371LIBS=$ac_check_lib_save_LIBS 46372fi 46373{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_split_utf16_string_get_segment_by_index" >&5 46374$as_echo "$ac_cv_lib_fvalue_libfvalue_split_utf16_string_get_segment_by_index" >&6; } 46375if test "x$ac_cv_lib_fvalue_libfvalue_split_utf16_string_get_segment_by_index" = xyes; then : 46376 ac_cv_libfvalue_dummy=yes 46377else 46378 ac_cv_libfvalue=no 46379fi 46380 46381 46382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_table_initialize in -lfvalue" >&5 46383$as_echo_n "checking for libfvalue_table_initialize in -lfvalue... " >&6; } 46384if ${ac_cv_lib_fvalue_libfvalue_table_initialize+:} false; then : 46385 $as_echo_n "(cached) " >&6 46386else 46387 ac_check_lib_save_LIBS=$LIBS 46388LIBS="-lfvalue $LIBS" 46389cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46390/* end confdefs.h. */ 46391 46392/* Override any GCC internal prototype to avoid an error. 46393 Use char because int might match the return type of a GCC 46394 builtin and then its argument prototype would still apply. */ 46395#ifdef __cplusplus 46396extern "C" 46397#endif 46398char libfvalue_table_initialize (); 46399int 46400main () 46401{ 46402return libfvalue_table_initialize (); 46403 ; 46404 return 0; 46405} 46406_ACEOF 46407if ac_fn_c_try_link "$LINENO"; then : 46408 ac_cv_lib_fvalue_libfvalue_table_initialize=yes 46409else 46410 ac_cv_lib_fvalue_libfvalue_table_initialize=no 46411fi 46412rm -f core conftest.err conftest.$ac_objext \ 46413 conftest$ac_exeext conftest.$ac_ext 46414LIBS=$ac_check_lib_save_LIBS 46415fi 46416{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_table_initialize" >&5 46417$as_echo "$ac_cv_lib_fvalue_libfvalue_table_initialize" >&6; } 46418if test "x$ac_cv_lib_fvalue_libfvalue_table_initialize" = xyes; then : 46419 ac_cv_libfvalue_dummy=yes 46420else 46421 ac_cv_libfvalue=no 46422fi 46423 46424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_table_free in -lfvalue" >&5 46425$as_echo_n "checking for libfvalue_table_free in -lfvalue... " >&6; } 46426if ${ac_cv_lib_fvalue_libfvalue_table_free+:} false; then : 46427 $as_echo_n "(cached) " >&6 46428else 46429 ac_check_lib_save_LIBS=$LIBS 46430LIBS="-lfvalue $LIBS" 46431cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46432/* end confdefs.h. */ 46433 46434/* Override any GCC internal prototype to avoid an error. 46435 Use char because int might match the return type of a GCC 46436 builtin and then its argument prototype would still apply. */ 46437#ifdef __cplusplus 46438extern "C" 46439#endif 46440char libfvalue_table_free (); 46441int 46442main () 46443{ 46444return libfvalue_table_free (); 46445 ; 46446 return 0; 46447} 46448_ACEOF 46449if ac_fn_c_try_link "$LINENO"; then : 46450 ac_cv_lib_fvalue_libfvalue_table_free=yes 46451else 46452 ac_cv_lib_fvalue_libfvalue_table_free=no 46453fi 46454rm -f core conftest.err conftest.$ac_objext \ 46455 conftest$ac_exeext conftest.$ac_ext 46456LIBS=$ac_check_lib_save_LIBS 46457fi 46458{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_table_free" >&5 46459$as_echo "$ac_cv_lib_fvalue_libfvalue_table_free" >&6; } 46460if test "x$ac_cv_lib_fvalue_libfvalue_table_free" = xyes; then : 46461 ac_cv_libfvalue_dummy=yes 46462else 46463 ac_cv_libfvalue=no 46464fi 46465 46466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_table_resize in -lfvalue" >&5 46467$as_echo_n "checking for libfvalue_table_resize in -lfvalue... " >&6; } 46468if ${ac_cv_lib_fvalue_libfvalue_table_resize+:} false; then : 46469 $as_echo_n "(cached) " >&6 46470else 46471 ac_check_lib_save_LIBS=$LIBS 46472LIBS="-lfvalue $LIBS" 46473cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46474/* end confdefs.h. */ 46475 46476/* Override any GCC internal prototype to avoid an error. 46477 Use char because int might match the return type of a GCC 46478 builtin and then its argument prototype would still apply. */ 46479#ifdef __cplusplus 46480extern "C" 46481#endif 46482char libfvalue_table_resize (); 46483int 46484main () 46485{ 46486return libfvalue_table_resize (); 46487 ; 46488 return 0; 46489} 46490_ACEOF 46491if ac_fn_c_try_link "$LINENO"; then : 46492 ac_cv_lib_fvalue_libfvalue_table_resize=yes 46493else 46494 ac_cv_lib_fvalue_libfvalue_table_resize=no 46495fi 46496rm -f core conftest.err conftest.$ac_objext \ 46497 conftest$ac_exeext conftest.$ac_ext 46498LIBS=$ac_check_lib_save_LIBS 46499fi 46500{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_table_resize" >&5 46501$as_echo "$ac_cv_lib_fvalue_libfvalue_table_resize" >&6; } 46502if test "x$ac_cv_lib_fvalue_libfvalue_table_resize" = xyes; then : 46503 ac_cv_libfvalue_dummy=yes 46504else 46505 ac_cv_libfvalue=no 46506fi 46507 46508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_table_clone in -lfvalue" >&5 46509$as_echo_n "checking for libfvalue_table_clone in -lfvalue... " >&6; } 46510if ${ac_cv_lib_fvalue_libfvalue_table_clone+:} false; then : 46511 $as_echo_n "(cached) " >&6 46512else 46513 ac_check_lib_save_LIBS=$LIBS 46514LIBS="-lfvalue $LIBS" 46515cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46516/* end confdefs.h. */ 46517 46518/* Override any GCC internal prototype to avoid an error. 46519 Use char because int might match the return type of a GCC 46520 builtin and then its argument prototype would still apply. */ 46521#ifdef __cplusplus 46522extern "C" 46523#endif 46524char libfvalue_table_clone (); 46525int 46526main () 46527{ 46528return libfvalue_table_clone (); 46529 ; 46530 return 0; 46531} 46532_ACEOF 46533if ac_fn_c_try_link "$LINENO"; then : 46534 ac_cv_lib_fvalue_libfvalue_table_clone=yes 46535else 46536 ac_cv_lib_fvalue_libfvalue_table_clone=no 46537fi 46538rm -f core conftest.err conftest.$ac_objext \ 46539 conftest$ac_exeext conftest.$ac_ext 46540LIBS=$ac_check_lib_save_LIBS 46541fi 46542{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_table_clone" >&5 46543$as_echo "$ac_cv_lib_fvalue_libfvalue_table_clone" >&6; } 46544if test "x$ac_cv_lib_fvalue_libfvalue_table_clone" = xyes; then : 46545 ac_cv_libfvalue_dummy=yes 46546else 46547 ac_cv_libfvalue=no 46548fi 46549 46550 46551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_table_get_number_of_values in -lfvalue" >&5 46552$as_echo_n "checking for libfvalue_table_get_number_of_values in -lfvalue... " >&6; } 46553if ${ac_cv_lib_fvalue_libfvalue_table_get_number_of_values+:} false; then : 46554 $as_echo_n "(cached) " >&6 46555else 46556 ac_check_lib_save_LIBS=$LIBS 46557LIBS="-lfvalue $LIBS" 46558cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46559/* end confdefs.h. */ 46560 46561/* Override any GCC internal prototype to avoid an error. 46562 Use char because int might match the return type of a GCC 46563 builtin and then its argument prototype would still apply. */ 46564#ifdef __cplusplus 46565extern "C" 46566#endif 46567char libfvalue_table_get_number_of_values (); 46568int 46569main () 46570{ 46571return libfvalue_table_get_number_of_values (); 46572 ; 46573 return 0; 46574} 46575_ACEOF 46576if ac_fn_c_try_link "$LINENO"; then : 46577 ac_cv_lib_fvalue_libfvalue_table_get_number_of_values=yes 46578else 46579 ac_cv_lib_fvalue_libfvalue_table_get_number_of_values=no 46580fi 46581rm -f core conftest.err conftest.$ac_objext \ 46582 conftest$ac_exeext conftest.$ac_ext 46583LIBS=$ac_check_lib_save_LIBS 46584fi 46585{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_table_get_number_of_values" >&5 46586$as_echo "$ac_cv_lib_fvalue_libfvalue_table_get_number_of_values" >&6; } 46587if test "x$ac_cv_lib_fvalue_libfvalue_table_get_number_of_values" = xyes; then : 46588 ac_cv_libfvalue_dummy=yes 46589else 46590 ac_cv_libfvalue=no 46591fi 46592 46593 46594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_table_get_index_by_identifier in -lfvalue" >&5 46595$as_echo_n "checking for libfvalue_table_get_index_by_identifier in -lfvalue... " >&6; } 46596if ${ac_cv_lib_fvalue_libfvalue_table_get_index_by_identifier+:} false; then : 46597 $as_echo_n "(cached) " >&6 46598else 46599 ac_check_lib_save_LIBS=$LIBS 46600LIBS="-lfvalue $LIBS" 46601cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46602/* end confdefs.h. */ 46603 46604/* Override any GCC internal prototype to avoid an error. 46605 Use char because int might match the return type of a GCC 46606 builtin and then its argument prototype would still apply. */ 46607#ifdef __cplusplus 46608extern "C" 46609#endif 46610char libfvalue_table_get_index_by_identifier (); 46611int 46612main () 46613{ 46614return libfvalue_table_get_index_by_identifier (); 46615 ; 46616 return 0; 46617} 46618_ACEOF 46619if ac_fn_c_try_link "$LINENO"; then : 46620 ac_cv_lib_fvalue_libfvalue_table_get_index_by_identifier=yes 46621else 46622 ac_cv_lib_fvalue_libfvalue_table_get_index_by_identifier=no 46623fi 46624rm -f core conftest.err conftest.$ac_objext \ 46625 conftest$ac_exeext conftest.$ac_ext 46626LIBS=$ac_check_lib_save_LIBS 46627fi 46628{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_table_get_index_by_identifier" >&5 46629$as_echo "$ac_cv_lib_fvalue_libfvalue_table_get_index_by_identifier" >&6; } 46630if test "x$ac_cv_lib_fvalue_libfvalue_table_get_index_by_identifier" = xyes; then : 46631 ac_cv_libfvalue_dummy=yes 46632else 46633 ac_cv_libfvalue=no 46634fi 46635 46636 46637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_table_get_value_by_index in -lfvalue" >&5 46638$as_echo_n "checking for libfvalue_table_get_value_by_index in -lfvalue... " >&6; } 46639if ${ac_cv_lib_fvalue_libfvalue_table_get_value_by_index+:} false; then : 46640 $as_echo_n "(cached) " >&6 46641else 46642 ac_check_lib_save_LIBS=$LIBS 46643LIBS="-lfvalue $LIBS" 46644cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46645/* end confdefs.h. */ 46646 46647/* Override any GCC internal prototype to avoid an error. 46648 Use char because int might match the return type of a GCC 46649 builtin and then its argument prototype would still apply. */ 46650#ifdef __cplusplus 46651extern "C" 46652#endif 46653char libfvalue_table_get_value_by_index (); 46654int 46655main () 46656{ 46657return libfvalue_table_get_value_by_index (); 46658 ; 46659 return 0; 46660} 46661_ACEOF 46662if ac_fn_c_try_link "$LINENO"; then : 46663 ac_cv_lib_fvalue_libfvalue_table_get_value_by_index=yes 46664else 46665 ac_cv_lib_fvalue_libfvalue_table_get_value_by_index=no 46666fi 46667rm -f core conftest.err conftest.$ac_objext \ 46668 conftest$ac_exeext conftest.$ac_ext 46669LIBS=$ac_check_lib_save_LIBS 46670fi 46671{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_table_get_value_by_index" >&5 46672$as_echo "$ac_cv_lib_fvalue_libfvalue_table_get_value_by_index" >&6; } 46673if test "x$ac_cv_lib_fvalue_libfvalue_table_get_value_by_index" = xyes; then : 46674 ac_cv_libfvalue_dummy=yes 46675else 46676 ac_cv_libfvalue=no 46677fi 46678 46679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_table_get_value_by_identifier in -lfvalue" >&5 46680$as_echo_n "checking for libfvalue_table_get_value_by_identifier in -lfvalue... " >&6; } 46681if ${ac_cv_lib_fvalue_libfvalue_table_get_value_by_identifier+:} false; then : 46682 $as_echo_n "(cached) " >&6 46683else 46684 ac_check_lib_save_LIBS=$LIBS 46685LIBS="-lfvalue $LIBS" 46686cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46687/* end confdefs.h. */ 46688 46689/* Override any GCC internal prototype to avoid an error. 46690 Use char because int might match the return type of a GCC 46691 builtin and then its argument prototype would still apply. */ 46692#ifdef __cplusplus 46693extern "C" 46694#endif 46695char libfvalue_table_get_value_by_identifier (); 46696int 46697main () 46698{ 46699return libfvalue_table_get_value_by_identifier (); 46700 ; 46701 return 0; 46702} 46703_ACEOF 46704if ac_fn_c_try_link "$LINENO"; then : 46705 ac_cv_lib_fvalue_libfvalue_table_get_value_by_identifier=yes 46706else 46707 ac_cv_lib_fvalue_libfvalue_table_get_value_by_identifier=no 46708fi 46709rm -f core conftest.err conftest.$ac_objext \ 46710 conftest$ac_exeext conftest.$ac_ext 46711LIBS=$ac_check_lib_save_LIBS 46712fi 46713{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_table_get_value_by_identifier" >&5 46714$as_echo "$ac_cv_lib_fvalue_libfvalue_table_get_value_by_identifier" >&6; } 46715if test "x$ac_cv_lib_fvalue_libfvalue_table_get_value_by_identifier" = xyes; then : 46716 ac_cv_libfvalue_dummy=yes 46717else 46718 ac_cv_libfvalue=no 46719fi 46720 46721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_table_set_value_by_index in -lfvalue" >&5 46722$as_echo_n "checking for libfvalue_table_set_value_by_index in -lfvalue... " >&6; } 46723if ${ac_cv_lib_fvalue_libfvalue_table_set_value_by_index+:} false; then : 46724 $as_echo_n "(cached) " >&6 46725else 46726 ac_check_lib_save_LIBS=$LIBS 46727LIBS="-lfvalue $LIBS" 46728cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46729/* end confdefs.h. */ 46730 46731/* Override any GCC internal prototype to avoid an error. 46732 Use char because int might match the return type of a GCC 46733 builtin and then its argument prototype would still apply. */ 46734#ifdef __cplusplus 46735extern "C" 46736#endif 46737char libfvalue_table_set_value_by_index (); 46738int 46739main () 46740{ 46741return libfvalue_table_set_value_by_index (); 46742 ; 46743 return 0; 46744} 46745_ACEOF 46746if ac_fn_c_try_link "$LINENO"; then : 46747 ac_cv_lib_fvalue_libfvalue_table_set_value_by_index=yes 46748else 46749 ac_cv_lib_fvalue_libfvalue_table_set_value_by_index=no 46750fi 46751rm -f core conftest.err conftest.$ac_objext \ 46752 conftest$ac_exeext conftest.$ac_ext 46753LIBS=$ac_check_lib_save_LIBS 46754fi 46755{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_table_set_value_by_index" >&5 46756$as_echo "$ac_cv_lib_fvalue_libfvalue_table_set_value_by_index" >&6; } 46757if test "x$ac_cv_lib_fvalue_libfvalue_table_set_value_by_index" = xyes; then : 46758 ac_cv_libfvalue_dummy=yes 46759else 46760 ac_cv_libfvalue=no 46761fi 46762 46763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_table_set_value in -lfvalue" >&5 46764$as_echo_n "checking for libfvalue_table_set_value in -lfvalue... " >&6; } 46765if ${ac_cv_lib_fvalue_libfvalue_table_set_value+:} false; then : 46766 $as_echo_n "(cached) " >&6 46767else 46768 ac_check_lib_save_LIBS=$LIBS 46769LIBS="-lfvalue $LIBS" 46770cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46771/* end confdefs.h. */ 46772 46773/* Override any GCC internal prototype to avoid an error. 46774 Use char because int might match the return type of a GCC 46775 builtin and then its argument prototype would still apply. */ 46776#ifdef __cplusplus 46777extern "C" 46778#endif 46779char libfvalue_table_set_value (); 46780int 46781main () 46782{ 46783return libfvalue_table_set_value (); 46784 ; 46785 return 0; 46786} 46787_ACEOF 46788if ac_fn_c_try_link "$LINENO"; then : 46789 ac_cv_lib_fvalue_libfvalue_table_set_value=yes 46790else 46791 ac_cv_lib_fvalue_libfvalue_table_set_value=no 46792fi 46793rm -f core conftest.err conftest.$ac_objext \ 46794 conftest$ac_exeext conftest.$ac_ext 46795LIBS=$ac_check_lib_save_LIBS 46796fi 46797{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_table_set_value" >&5 46798$as_echo "$ac_cv_lib_fvalue_libfvalue_table_set_value" >&6; } 46799if test "x$ac_cv_lib_fvalue_libfvalue_table_set_value" = xyes; then : 46800 ac_cv_libfvalue_dummy=yes 46801else 46802 ac_cv_libfvalue=no 46803fi 46804 46805 46806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_table_copy_from_utf8_xml_string in -lfvalue" >&5 46807$as_echo_n "checking for libfvalue_table_copy_from_utf8_xml_string in -lfvalue... " >&6; } 46808if ${ac_cv_lib_fvalue_libfvalue_table_copy_from_utf8_xml_string+:} false; then : 46809 $as_echo_n "(cached) " >&6 46810else 46811 ac_check_lib_save_LIBS=$LIBS 46812LIBS="-lfvalue $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 libfvalue_table_copy_from_utf8_xml_string (); 46823int 46824main () 46825{ 46826return libfvalue_table_copy_from_utf8_xml_string (); 46827 ; 46828 return 0; 46829} 46830_ACEOF 46831if ac_fn_c_try_link "$LINENO"; then : 46832 ac_cv_lib_fvalue_libfvalue_table_copy_from_utf8_xml_string=yes 46833else 46834 ac_cv_lib_fvalue_libfvalue_table_copy_from_utf8_xml_string=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_fvalue_libfvalue_table_copy_from_utf8_xml_string" >&5 46841$as_echo "$ac_cv_lib_fvalue_libfvalue_table_copy_from_utf8_xml_string" >&6; } 46842if test "x$ac_cv_lib_fvalue_libfvalue_table_copy_from_utf8_xml_string" = xyes; then : 46843 ac_cv_libfvalue_dummy=yes 46844else 46845 ac_cv_libfvalue=no 46846fi 46847 46848 46849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_initialize in -lfvalue" >&5 46850$as_echo_n "checking for libfvalue_value_initialize in -lfvalue... " >&6; } 46851if ${ac_cv_lib_fvalue_libfvalue_value_initialize+:} false; then : 46852 $as_echo_n "(cached) " >&6 46853else 46854 ac_check_lib_save_LIBS=$LIBS 46855LIBS="-lfvalue $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 libfvalue_value_initialize (); 46866int 46867main () 46868{ 46869return libfvalue_value_initialize (); 46870 ; 46871 return 0; 46872} 46873_ACEOF 46874if ac_fn_c_try_link "$LINENO"; then : 46875 ac_cv_lib_fvalue_libfvalue_value_initialize=yes 46876else 46877 ac_cv_lib_fvalue_libfvalue_value_initialize=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_fvalue_libfvalue_value_initialize" >&5 46884$as_echo "$ac_cv_lib_fvalue_libfvalue_value_initialize" >&6; } 46885if test "x$ac_cv_lib_fvalue_libfvalue_value_initialize" = xyes; then : 46886 ac_cv_libfvalue_dummy=yes 46887else 46888 ac_cv_libfvalue=no 46889fi 46890 46891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_free in -lfvalue" >&5 46892$as_echo_n "checking for libfvalue_value_free in -lfvalue... " >&6; } 46893if ${ac_cv_lib_fvalue_libfvalue_value_free+:} false; then : 46894 $as_echo_n "(cached) " >&6 46895else 46896 ac_check_lib_save_LIBS=$LIBS 46897LIBS="-lfvalue $LIBS" 46898cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46899/* end confdefs.h. */ 46900 46901/* Override any GCC internal prototype to avoid an error. 46902 Use char because int might match the return type of a GCC 46903 builtin and then its argument prototype would still apply. */ 46904#ifdef __cplusplus 46905extern "C" 46906#endif 46907char libfvalue_value_free (); 46908int 46909main () 46910{ 46911return libfvalue_value_free (); 46912 ; 46913 return 0; 46914} 46915_ACEOF 46916if ac_fn_c_try_link "$LINENO"; then : 46917 ac_cv_lib_fvalue_libfvalue_value_free=yes 46918else 46919 ac_cv_lib_fvalue_libfvalue_value_free=no 46920fi 46921rm -f core conftest.err conftest.$ac_objext \ 46922 conftest$ac_exeext conftest.$ac_ext 46923LIBS=$ac_check_lib_save_LIBS 46924fi 46925{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_free" >&5 46926$as_echo "$ac_cv_lib_fvalue_libfvalue_value_free" >&6; } 46927if test "x$ac_cv_lib_fvalue_libfvalue_value_free" = xyes; then : 46928 ac_cv_libfvalue_dummy=yes 46929else 46930 ac_cv_libfvalue=no 46931fi 46932 46933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_clone in -lfvalue" >&5 46934$as_echo_n "checking for libfvalue_value_clone in -lfvalue... " >&6; } 46935if ${ac_cv_lib_fvalue_libfvalue_value_clone+:} false; then : 46936 $as_echo_n "(cached) " >&6 46937else 46938 ac_check_lib_save_LIBS=$LIBS 46939LIBS="-lfvalue $LIBS" 46940cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46941/* end confdefs.h. */ 46942 46943/* Override any GCC internal prototype to avoid an error. 46944 Use char because int might match the return type of a GCC 46945 builtin and then its argument prototype would still apply. */ 46946#ifdef __cplusplus 46947extern "C" 46948#endif 46949char libfvalue_value_clone (); 46950int 46951main () 46952{ 46953return libfvalue_value_clone (); 46954 ; 46955 return 0; 46956} 46957_ACEOF 46958if ac_fn_c_try_link "$LINENO"; then : 46959 ac_cv_lib_fvalue_libfvalue_value_clone=yes 46960else 46961 ac_cv_lib_fvalue_libfvalue_value_clone=no 46962fi 46963rm -f core conftest.err conftest.$ac_objext \ 46964 conftest$ac_exeext conftest.$ac_ext 46965LIBS=$ac_check_lib_save_LIBS 46966fi 46967{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_clone" >&5 46968$as_echo "$ac_cv_lib_fvalue_libfvalue_value_clone" >&6; } 46969if test "x$ac_cv_lib_fvalue_libfvalue_value_clone" = xyes; then : 46970 ac_cv_libfvalue_dummy=yes 46971else 46972 ac_cv_libfvalue=no 46973fi 46974 46975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_clear in -lfvalue" >&5 46976$as_echo_n "checking for libfvalue_value_clear in -lfvalue... " >&6; } 46977if ${ac_cv_lib_fvalue_libfvalue_value_clear+:} false; then : 46978 $as_echo_n "(cached) " >&6 46979else 46980 ac_check_lib_save_LIBS=$LIBS 46981LIBS="-lfvalue $LIBS" 46982cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46983/* end confdefs.h. */ 46984 46985/* Override any GCC internal prototype to avoid an error. 46986 Use char because int might match the return type of a GCC 46987 builtin and then its argument prototype would still apply. */ 46988#ifdef __cplusplus 46989extern "C" 46990#endif 46991char libfvalue_value_clear (); 46992int 46993main () 46994{ 46995return libfvalue_value_clear (); 46996 ; 46997 return 0; 46998} 46999_ACEOF 47000if ac_fn_c_try_link "$LINENO"; then : 47001 ac_cv_lib_fvalue_libfvalue_value_clear=yes 47002else 47003 ac_cv_lib_fvalue_libfvalue_value_clear=no 47004fi 47005rm -f core conftest.err conftest.$ac_objext \ 47006 conftest$ac_exeext conftest.$ac_ext 47007LIBS=$ac_check_lib_save_LIBS 47008fi 47009{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_clear" >&5 47010$as_echo "$ac_cv_lib_fvalue_libfvalue_value_clear" >&6; } 47011if test "x$ac_cv_lib_fvalue_libfvalue_value_clear" = xyes; then : 47012 ac_cv_libfvalue_dummy=yes 47013else 47014 ac_cv_libfvalue=no 47015fi 47016 47017 47018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_get_type in -lfvalue" >&5 47019$as_echo_n "checking for libfvalue_value_get_type in -lfvalue... " >&6; } 47020if ${ac_cv_lib_fvalue_libfvalue_value_get_type+:} false; then : 47021 $as_echo_n "(cached) " >&6 47022else 47023 ac_check_lib_save_LIBS=$LIBS 47024LIBS="-lfvalue $LIBS" 47025cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47026/* end confdefs.h. */ 47027 47028/* Override any GCC internal prototype to avoid an error. 47029 Use char because int might match the return type of a GCC 47030 builtin and then its argument prototype would still apply. */ 47031#ifdef __cplusplus 47032extern "C" 47033#endif 47034char libfvalue_value_get_type (); 47035int 47036main () 47037{ 47038return libfvalue_value_get_type (); 47039 ; 47040 return 0; 47041} 47042_ACEOF 47043if ac_fn_c_try_link "$LINENO"; then : 47044 ac_cv_lib_fvalue_libfvalue_value_get_type=yes 47045else 47046 ac_cv_lib_fvalue_libfvalue_value_get_type=no 47047fi 47048rm -f core conftest.err conftest.$ac_objext \ 47049 conftest$ac_exeext conftest.$ac_ext 47050LIBS=$ac_check_lib_save_LIBS 47051fi 47052{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_get_type" >&5 47053$as_echo "$ac_cv_lib_fvalue_libfvalue_value_get_type" >&6; } 47054if test "x$ac_cv_lib_fvalue_libfvalue_value_get_type" = xyes; then : 47055 ac_cv_libfvalue_dummy=yes 47056else 47057 ac_cv_libfvalue=no 47058fi 47059 47060 47061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_get_identifier in -lfvalue" >&5 47062$as_echo_n "checking for libfvalue_value_get_identifier in -lfvalue... " >&6; } 47063if ${ac_cv_lib_fvalue_libfvalue_value_get_identifier+:} false; then : 47064 $as_echo_n "(cached) " >&6 47065else 47066 ac_check_lib_save_LIBS=$LIBS 47067LIBS="-lfvalue $LIBS" 47068cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47069/* end confdefs.h. */ 47070 47071/* Override any GCC internal prototype to avoid an error. 47072 Use char because int might match the return type of a GCC 47073 builtin and then its argument prototype would still apply. */ 47074#ifdef __cplusplus 47075extern "C" 47076#endif 47077char libfvalue_value_get_identifier (); 47078int 47079main () 47080{ 47081return libfvalue_value_get_identifier (); 47082 ; 47083 return 0; 47084} 47085_ACEOF 47086if ac_fn_c_try_link "$LINENO"; then : 47087 ac_cv_lib_fvalue_libfvalue_value_get_identifier=yes 47088else 47089 ac_cv_lib_fvalue_libfvalue_value_get_identifier=no 47090fi 47091rm -f core conftest.err conftest.$ac_objext \ 47092 conftest$ac_exeext conftest.$ac_ext 47093LIBS=$ac_check_lib_save_LIBS 47094fi 47095{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_get_identifier" >&5 47096$as_echo "$ac_cv_lib_fvalue_libfvalue_value_get_identifier" >&6; } 47097if test "x$ac_cv_lib_fvalue_libfvalue_value_get_identifier" = xyes; then : 47098 ac_cv_libfvalue_dummy=yes 47099else 47100 ac_cv_libfvalue=no 47101fi 47102 47103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_set_identifier in -lfvalue" >&5 47104$as_echo_n "checking for libfvalue_value_set_identifier in -lfvalue... " >&6; } 47105if ${ac_cv_lib_fvalue_libfvalue_value_set_identifier+:} false; then : 47106 $as_echo_n "(cached) " >&6 47107else 47108 ac_check_lib_save_LIBS=$LIBS 47109LIBS="-lfvalue $LIBS" 47110cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47111/* end confdefs.h. */ 47112 47113/* Override any GCC internal prototype to avoid an error. 47114 Use char because int might match the return type of a GCC 47115 builtin and then its argument prototype would still apply. */ 47116#ifdef __cplusplus 47117extern "C" 47118#endif 47119char libfvalue_value_set_identifier (); 47120int 47121main () 47122{ 47123return libfvalue_value_set_identifier (); 47124 ; 47125 return 0; 47126} 47127_ACEOF 47128if ac_fn_c_try_link "$LINENO"; then : 47129 ac_cv_lib_fvalue_libfvalue_value_set_identifier=yes 47130else 47131 ac_cv_lib_fvalue_libfvalue_value_set_identifier=no 47132fi 47133rm -f core conftest.err conftest.$ac_objext \ 47134 conftest$ac_exeext conftest.$ac_ext 47135LIBS=$ac_check_lib_save_LIBS 47136fi 47137{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_set_identifier" >&5 47138$as_echo "$ac_cv_lib_fvalue_libfvalue_value_set_identifier" >&6; } 47139if test "x$ac_cv_lib_fvalue_libfvalue_value_set_identifier" = xyes; then : 47140 ac_cv_libfvalue_dummy=yes 47141else 47142 ac_cv_libfvalue=no 47143fi 47144 47145 47146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_get_data_handle in -lfvalue" >&5 47147$as_echo_n "checking for libfvalue_value_get_data_handle in -lfvalue... " >&6; } 47148if ${ac_cv_lib_fvalue_libfvalue_value_get_data_handle+:} false; then : 47149 $as_echo_n "(cached) " >&6 47150else 47151 ac_check_lib_save_LIBS=$LIBS 47152LIBS="-lfvalue $LIBS" 47153cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47154/* end confdefs.h. */ 47155 47156/* Override any GCC internal prototype to avoid an error. 47157 Use char because int might match the return type of a GCC 47158 builtin and then its argument prototype would still apply. */ 47159#ifdef __cplusplus 47160extern "C" 47161#endif 47162char libfvalue_value_get_data_handle (); 47163int 47164main () 47165{ 47166return libfvalue_value_get_data_handle (); 47167 ; 47168 return 0; 47169} 47170_ACEOF 47171if ac_fn_c_try_link "$LINENO"; then : 47172 ac_cv_lib_fvalue_libfvalue_value_get_data_handle=yes 47173else 47174 ac_cv_lib_fvalue_libfvalue_value_get_data_handle=no 47175fi 47176rm -f core conftest.err conftest.$ac_objext \ 47177 conftest$ac_exeext conftest.$ac_ext 47178LIBS=$ac_check_lib_save_LIBS 47179fi 47180{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_get_data_handle" >&5 47181$as_echo "$ac_cv_lib_fvalue_libfvalue_value_get_data_handle" >&6; } 47182if test "x$ac_cv_lib_fvalue_libfvalue_value_get_data_handle" = xyes; then : 47183 ac_cv_libfvalue_dummy=yes 47184else 47185 ac_cv_libfvalue=no 47186fi 47187 47188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_has_data in -lfvalue" >&5 47189$as_echo_n "checking for libfvalue_value_has_data in -lfvalue... " >&6; } 47190if ${ac_cv_lib_fvalue_libfvalue_value_has_data+:} false; then : 47191 $as_echo_n "(cached) " >&6 47192else 47193 ac_check_lib_save_LIBS=$LIBS 47194LIBS="-lfvalue $LIBS" 47195cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47196/* end confdefs.h. */ 47197 47198/* Override any GCC internal prototype to avoid an error. 47199 Use char because int might match the return type of a GCC 47200 builtin and then its argument prototype would still apply. */ 47201#ifdef __cplusplus 47202extern "C" 47203#endif 47204char libfvalue_value_has_data (); 47205int 47206main () 47207{ 47208return libfvalue_value_has_data (); 47209 ; 47210 return 0; 47211} 47212_ACEOF 47213if ac_fn_c_try_link "$LINENO"; then : 47214 ac_cv_lib_fvalue_libfvalue_value_has_data=yes 47215else 47216 ac_cv_lib_fvalue_libfvalue_value_has_data=no 47217fi 47218rm -f core conftest.err conftest.$ac_objext \ 47219 conftest$ac_exeext conftest.$ac_ext 47220LIBS=$ac_check_lib_save_LIBS 47221fi 47222{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_has_data" >&5 47223$as_echo "$ac_cv_lib_fvalue_libfvalue_value_has_data" >&6; } 47224if test "x$ac_cv_lib_fvalue_libfvalue_value_has_data" = xyes; then : 47225 ac_cv_libfvalue_dummy=yes 47226else 47227 ac_cv_libfvalue=no 47228fi 47229 47230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_get_data_size in -lfvalue" >&5 47231$as_echo_n "checking for libfvalue_value_get_data_size in -lfvalue... " >&6; } 47232if ${ac_cv_lib_fvalue_libfvalue_value_get_data_size+:} false; then : 47233 $as_echo_n "(cached) " >&6 47234else 47235 ac_check_lib_save_LIBS=$LIBS 47236LIBS="-lfvalue $LIBS" 47237cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47238/* end confdefs.h. */ 47239 47240/* Override any GCC internal prototype to avoid an error. 47241 Use char because int might match the return type of a GCC 47242 builtin and then its argument prototype would still apply. */ 47243#ifdef __cplusplus 47244extern "C" 47245#endif 47246char libfvalue_value_get_data_size (); 47247int 47248main () 47249{ 47250return libfvalue_value_get_data_size (); 47251 ; 47252 return 0; 47253} 47254_ACEOF 47255if ac_fn_c_try_link "$LINENO"; then : 47256 ac_cv_lib_fvalue_libfvalue_value_get_data_size=yes 47257else 47258 ac_cv_lib_fvalue_libfvalue_value_get_data_size=no 47259fi 47260rm -f core conftest.err conftest.$ac_objext \ 47261 conftest$ac_exeext conftest.$ac_ext 47262LIBS=$ac_check_lib_save_LIBS 47263fi 47264{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_get_data_size" >&5 47265$as_echo "$ac_cv_lib_fvalue_libfvalue_value_get_data_size" >&6; } 47266if test "x$ac_cv_lib_fvalue_libfvalue_value_get_data_size" = xyes; then : 47267 ac_cv_libfvalue_dummy=yes 47268else 47269 ac_cv_libfvalue=no 47270fi 47271 47272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_get_data in -lfvalue" >&5 47273$as_echo_n "checking for libfvalue_value_get_data in -lfvalue... " >&6; } 47274if ${ac_cv_lib_fvalue_libfvalue_value_get_data+:} false; then : 47275 $as_echo_n "(cached) " >&6 47276else 47277 ac_check_lib_save_LIBS=$LIBS 47278LIBS="-lfvalue $LIBS" 47279cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47280/* end confdefs.h. */ 47281 47282/* Override any GCC internal prototype to avoid an error. 47283 Use char because int might match the return type of a GCC 47284 builtin and then its argument prototype would still apply. */ 47285#ifdef __cplusplus 47286extern "C" 47287#endif 47288char libfvalue_value_get_data (); 47289int 47290main () 47291{ 47292return libfvalue_value_get_data (); 47293 ; 47294 return 0; 47295} 47296_ACEOF 47297if ac_fn_c_try_link "$LINENO"; then : 47298 ac_cv_lib_fvalue_libfvalue_value_get_data=yes 47299else 47300 ac_cv_lib_fvalue_libfvalue_value_get_data=no 47301fi 47302rm -f core conftest.err conftest.$ac_objext \ 47303 conftest$ac_exeext conftest.$ac_ext 47304LIBS=$ac_check_lib_save_LIBS 47305fi 47306{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_get_data" >&5 47307$as_echo "$ac_cv_lib_fvalue_libfvalue_value_get_data" >&6; } 47308if test "x$ac_cv_lib_fvalue_libfvalue_value_get_data" = xyes; then : 47309 ac_cv_libfvalue_dummy=yes 47310else 47311 ac_cv_libfvalue=no 47312fi 47313 47314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_set_data in -lfvalue" >&5 47315$as_echo_n "checking for libfvalue_value_set_data in -lfvalue... " >&6; } 47316if ${ac_cv_lib_fvalue_libfvalue_value_set_data+:} false; then : 47317 $as_echo_n "(cached) " >&6 47318else 47319 ac_check_lib_save_LIBS=$LIBS 47320LIBS="-lfvalue $LIBS" 47321cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47322/* end confdefs.h. */ 47323 47324/* Override any GCC internal prototype to avoid an error. 47325 Use char because int might match the return type of a GCC 47326 builtin and then its argument prototype would still apply. */ 47327#ifdef __cplusplus 47328extern "C" 47329#endif 47330char libfvalue_value_set_data (); 47331int 47332main () 47333{ 47334return libfvalue_value_set_data (); 47335 ; 47336 return 0; 47337} 47338_ACEOF 47339if ac_fn_c_try_link "$LINENO"; then : 47340 ac_cv_lib_fvalue_libfvalue_value_set_data=yes 47341else 47342 ac_cv_lib_fvalue_libfvalue_value_set_data=no 47343fi 47344rm -f core conftest.err conftest.$ac_objext \ 47345 conftest$ac_exeext conftest.$ac_ext 47346LIBS=$ac_check_lib_save_LIBS 47347fi 47348{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_set_data" >&5 47349$as_echo "$ac_cv_lib_fvalue_libfvalue_value_set_data" >&6; } 47350if test "x$ac_cv_lib_fvalue_libfvalue_value_set_data" = xyes; then : 47351 ac_cv_libfvalue_dummy=yes 47352else 47353 ac_cv_libfvalue=no 47354fi 47355 47356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_data in -lfvalue" >&5 47357$as_echo_n "checking for libfvalue_value_copy_data in -lfvalue... " >&6; } 47358if ${ac_cv_lib_fvalue_libfvalue_value_copy_data+:} false; then : 47359 $as_echo_n "(cached) " >&6 47360else 47361 ac_check_lib_save_LIBS=$LIBS 47362LIBS="-lfvalue $LIBS" 47363cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47364/* end confdefs.h. */ 47365 47366/* Override any GCC internal prototype to avoid an error. 47367 Use char because int might match the return type of a GCC 47368 builtin and then its argument prototype would still apply. */ 47369#ifdef __cplusplus 47370extern "C" 47371#endif 47372char libfvalue_value_copy_data (); 47373int 47374main () 47375{ 47376return libfvalue_value_copy_data (); 47377 ; 47378 return 0; 47379} 47380_ACEOF 47381if ac_fn_c_try_link "$LINENO"; then : 47382 ac_cv_lib_fvalue_libfvalue_value_copy_data=yes 47383else 47384 ac_cv_lib_fvalue_libfvalue_value_copy_data=no 47385fi 47386rm -f core conftest.err conftest.$ac_objext \ 47387 conftest$ac_exeext conftest.$ac_ext 47388LIBS=$ac_check_lib_save_LIBS 47389fi 47390{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_data" >&5 47391$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_data" >&6; } 47392if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_data" = xyes; then : 47393 ac_cv_libfvalue_dummy=yes 47394else 47395 ac_cv_libfvalue=no 47396fi 47397 47398 47399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_get_format_flags in -lfvalue" >&5 47400$as_echo_n "checking for libfvalue_value_get_format_flags in -lfvalue... " >&6; } 47401if ${ac_cv_lib_fvalue_libfvalue_value_get_format_flags+:} false; then : 47402 $as_echo_n "(cached) " >&6 47403else 47404 ac_check_lib_save_LIBS=$LIBS 47405LIBS="-lfvalue $LIBS" 47406cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47407/* end confdefs.h. */ 47408 47409/* Override any GCC internal prototype to avoid an error. 47410 Use char because int might match the return type of a GCC 47411 builtin and then its argument prototype would still apply. */ 47412#ifdef __cplusplus 47413extern "C" 47414#endif 47415char libfvalue_value_get_format_flags (); 47416int 47417main () 47418{ 47419return libfvalue_value_get_format_flags (); 47420 ; 47421 return 0; 47422} 47423_ACEOF 47424if ac_fn_c_try_link "$LINENO"; then : 47425 ac_cv_lib_fvalue_libfvalue_value_get_format_flags=yes 47426else 47427 ac_cv_lib_fvalue_libfvalue_value_get_format_flags=no 47428fi 47429rm -f core conftest.err conftest.$ac_objext \ 47430 conftest$ac_exeext conftest.$ac_ext 47431LIBS=$ac_check_lib_save_LIBS 47432fi 47433{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_get_format_flags" >&5 47434$as_echo "$ac_cv_lib_fvalue_libfvalue_value_get_format_flags" >&6; } 47435if test "x$ac_cv_lib_fvalue_libfvalue_value_get_format_flags" = xyes; then : 47436 ac_cv_libfvalue_dummy=yes 47437else 47438 ac_cv_libfvalue=no 47439fi 47440 47441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_set_format_flags in -lfvalue" >&5 47442$as_echo_n "checking for libfvalue_value_set_format_flags in -lfvalue... " >&6; } 47443if ${ac_cv_lib_fvalue_libfvalue_value_set_format_flags+:} false; then : 47444 $as_echo_n "(cached) " >&6 47445else 47446 ac_check_lib_save_LIBS=$LIBS 47447LIBS="-lfvalue $LIBS" 47448cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47449/* end confdefs.h. */ 47450 47451/* Override any GCC internal prototype to avoid an error. 47452 Use char because int might match the return type of a GCC 47453 builtin and then its argument prototype would still apply. */ 47454#ifdef __cplusplus 47455extern "C" 47456#endif 47457char libfvalue_value_set_format_flags (); 47458int 47459main () 47460{ 47461return libfvalue_value_set_format_flags (); 47462 ; 47463 return 0; 47464} 47465_ACEOF 47466if ac_fn_c_try_link "$LINENO"; then : 47467 ac_cv_lib_fvalue_libfvalue_value_set_format_flags=yes 47468else 47469 ac_cv_lib_fvalue_libfvalue_value_set_format_flags=no 47470fi 47471rm -f core conftest.err conftest.$ac_objext \ 47472 conftest$ac_exeext conftest.$ac_ext 47473LIBS=$ac_check_lib_save_LIBS 47474fi 47475{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_set_format_flags" >&5 47476$as_echo "$ac_cv_lib_fvalue_libfvalue_value_set_format_flags" >&6; } 47477if test "x$ac_cv_lib_fvalue_libfvalue_value_set_format_flags" = xyes; then : 47478 ac_cv_libfvalue_dummy=yes 47479else 47480 ac_cv_libfvalue=no 47481fi 47482 47483 47484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_get_number_of_value_entries in -lfvalue" >&5 47485$as_echo_n "checking for libfvalue_value_get_number_of_value_entries in -lfvalue... " >&6; } 47486if ${ac_cv_lib_fvalue_libfvalue_value_get_number_of_value_entries+:} false; then : 47487 $as_echo_n "(cached) " >&6 47488else 47489 ac_check_lib_save_LIBS=$LIBS 47490LIBS="-lfvalue $LIBS" 47491cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47492/* end confdefs.h. */ 47493 47494/* Override any GCC internal prototype to avoid an error. 47495 Use char because int might match the return type of a GCC 47496 builtin and then its argument prototype would still apply. */ 47497#ifdef __cplusplus 47498extern "C" 47499#endif 47500char libfvalue_value_get_number_of_value_entries (); 47501int 47502main () 47503{ 47504return libfvalue_value_get_number_of_value_entries (); 47505 ; 47506 return 0; 47507} 47508_ACEOF 47509if ac_fn_c_try_link "$LINENO"; then : 47510 ac_cv_lib_fvalue_libfvalue_value_get_number_of_value_entries=yes 47511else 47512 ac_cv_lib_fvalue_libfvalue_value_get_number_of_value_entries=no 47513fi 47514rm -f core conftest.err conftest.$ac_objext \ 47515 conftest$ac_exeext conftest.$ac_ext 47516LIBS=$ac_check_lib_save_LIBS 47517fi 47518{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_get_number_of_value_entries" >&5 47519$as_echo "$ac_cv_lib_fvalue_libfvalue_value_get_number_of_value_entries" >&6; } 47520if test "x$ac_cv_lib_fvalue_libfvalue_value_get_number_of_value_entries" = xyes; then : 47521 ac_cv_libfvalue_dummy=yes 47522else 47523 ac_cv_libfvalue=no 47524fi 47525 47526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_get_value_entry in -lfvalue" >&5 47527$as_echo_n "checking for libfvalue_value_get_value_entry in -lfvalue... " >&6; } 47528if ${ac_cv_lib_fvalue_libfvalue_value_get_value_entry+:} false; then : 47529 $as_echo_n "(cached) " >&6 47530else 47531 ac_check_lib_save_LIBS=$LIBS 47532LIBS="-lfvalue $LIBS" 47533cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47534/* end confdefs.h. */ 47535 47536/* Override any GCC internal prototype to avoid an error. 47537 Use char because int might match the return type of a GCC 47538 builtin and then its argument prototype would still apply. */ 47539#ifdef __cplusplus 47540extern "C" 47541#endif 47542char libfvalue_value_get_value_entry (); 47543int 47544main () 47545{ 47546return libfvalue_value_get_value_entry (); 47547 ; 47548 return 0; 47549} 47550_ACEOF 47551if ac_fn_c_try_link "$LINENO"; then : 47552 ac_cv_lib_fvalue_libfvalue_value_get_value_entry=yes 47553else 47554 ac_cv_lib_fvalue_libfvalue_value_get_value_entry=no 47555fi 47556rm -f core conftest.err conftest.$ac_objext \ 47557 conftest$ac_exeext conftest.$ac_ext 47558LIBS=$ac_check_lib_save_LIBS 47559fi 47560{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_get_value_entry" >&5 47561$as_echo "$ac_cv_lib_fvalue_libfvalue_value_get_value_entry" >&6; } 47562if test "x$ac_cv_lib_fvalue_libfvalue_value_get_value_entry" = xyes; then : 47563 ac_cv_libfvalue_dummy=yes 47564else 47565 ac_cv_libfvalue=no 47566fi 47567 47568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_set_value_entry in -lfvalue" >&5 47569$as_echo_n "checking for libfvalue_value_set_value_entry in -lfvalue... " >&6; } 47570if ${ac_cv_lib_fvalue_libfvalue_value_set_value_entry+:} false; then : 47571 $as_echo_n "(cached) " >&6 47572else 47573 ac_check_lib_save_LIBS=$LIBS 47574LIBS="-lfvalue $LIBS" 47575cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47576/* end confdefs.h. */ 47577 47578/* Override any GCC internal prototype to avoid an error. 47579 Use char because int might match the return type of a GCC 47580 builtin and then its argument prototype would still apply. */ 47581#ifdef __cplusplus 47582extern "C" 47583#endif 47584char libfvalue_value_set_value_entry (); 47585int 47586main () 47587{ 47588return libfvalue_value_set_value_entry (); 47589 ; 47590 return 0; 47591} 47592_ACEOF 47593if ac_fn_c_try_link "$LINENO"; then : 47594 ac_cv_lib_fvalue_libfvalue_value_set_value_entry=yes 47595else 47596 ac_cv_lib_fvalue_libfvalue_value_set_value_entry=no 47597fi 47598rm -f core conftest.err conftest.$ac_objext \ 47599 conftest$ac_exeext conftest.$ac_ext 47600LIBS=$ac_check_lib_save_LIBS 47601fi 47602{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_set_value_entry" >&5 47603$as_echo "$ac_cv_lib_fvalue_libfvalue_value_set_value_entry" >&6; } 47604if test "x$ac_cv_lib_fvalue_libfvalue_value_set_value_entry" = xyes; then : 47605 ac_cv_libfvalue_dummy=yes 47606else 47607 ac_cv_libfvalue=no 47608fi 47609 47610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_append_value_entry in -lfvalue" >&5 47611$as_echo_n "checking for libfvalue_value_append_value_entry in -lfvalue... " >&6; } 47612if ${ac_cv_lib_fvalue_libfvalue_value_append_value_entry+:} false; then : 47613 $as_echo_n "(cached) " >&6 47614else 47615 ac_check_lib_save_LIBS=$LIBS 47616LIBS="-lfvalue $LIBS" 47617cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47618/* end confdefs.h. */ 47619 47620/* Override any GCC internal prototype to avoid an error. 47621 Use char because int might match the return type of a GCC 47622 builtin and then its argument prototype would still apply. */ 47623#ifdef __cplusplus 47624extern "C" 47625#endif 47626char libfvalue_value_append_value_entry (); 47627int 47628main () 47629{ 47630return libfvalue_value_append_value_entry (); 47631 ; 47632 return 0; 47633} 47634_ACEOF 47635if ac_fn_c_try_link "$LINENO"; then : 47636 ac_cv_lib_fvalue_libfvalue_value_append_value_entry=yes 47637else 47638 ac_cv_lib_fvalue_libfvalue_value_append_value_entry=no 47639fi 47640rm -f core conftest.err conftest.$ac_objext \ 47641 conftest$ac_exeext conftest.$ac_ext 47642LIBS=$ac_check_lib_save_LIBS 47643fi 47644{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_append_value_entry" >&5 47645$as_echo "$ac_cv_lib_fvalue_libfvalue_value_append_value_entry" >&6; } 47646if test "x$ac_cv_lib_fvalue_libfvalue_value_append_value_entry" = xyes; then : 47647 ac_cv_libfvalue_dummy=yes 47648else 47649 ac_cv_libfvalue=no 47650fi 47651 47652 47653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_from_boolean in -lfvalue" >&5 47654$as_echo_n "checking for libfvalue_value_copy_from_boolean in -lfvalue... " >&6; } 47655if ${ac_cv_lib_fvalue_libfvalue_value_copy_from_boolean+:} false; then : 47656 $as_echo_n "(cached) " >&6 47657else 47658 ac_check_lib_save_LIBS=$LIBS 47659LIBS="-lfvalue $LIBS" 47660cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47661/* end confdefs.h. */ 47662 47663/* Override any GCC internal prototype to avoid an error. 47664 Use char because int might match the return type of a GCC 47665 builtin and then its argument prototype would still apply. */ 47666#ifdef __cplusplus 47667extern "C" 47668#endif 47669char libfvalue_value_copy_from_boolean (); 47670int 47671main () 47672{ 47673return libfvalue_value_copy_from_boolean (); 47674 ; 47675 return 0; 47676} 47677_ACEOF 47678if ac_fn_c_try_link "$LINENO"; then : 47679 ac_cv_lib_fvalue_libfvalue_value_copy_from_boolean=yes 47680else 47681 ac_cv_lib_fvalue_libfvalue_value_copy_from_boolean=no 47682fi 47683rm -f core conftest.err conftest.$ac_objext \ 47684 conftest$ac_exeext conftest.$ac_ext 47685LIBS=$ac_check_lib_save_LIBS 47686fi 47687{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_from_boolean" >&5 47688$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_from_boolean" >&6; } 47689if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_from_boolean" = xyes; then : 47690 ac_cv_libfvalue_dummy=yes 47691else 47692 ac_cv_libfvalue=no 47693fi 47694 47695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_to_boolean in -lfvalue" >&5 47696$as_echo_n "checking for libfvalue_value_copy_to_boolean in -lfvalue... " >&6; } 47697if ${ac_cv_lib_fvalue_libfvalue_value_copy_to_boolean+:} false; then : 47698 $as_echo_n "(cached) " >&6 47699else 47700 ac_check_lib_save_LIBS=$LIBS 47701LIBS="-lfvalue $LIBS" 47702cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47703/* end confdefs.h. */ 47704 47705/* Override any GCC internal prototype to avoid an error. 47706 Use char because int might match the return type of a GCC 47707 builtin and then its argument prototype would still apply. */ 47708#ifdef __cplusplus 47709extern "C" 47710#endif 47711char libfvalue_value_copy_to_boolean (); 47712int 47713main () 47714{ 47715return libfvalue_value_copy_to_boolean (); 47716 ; 47717 return 0; 47718} 47719_ACEOF 47720if ac_fn_c_try_link "$LINENO"; then : 47721 ac_cv_lib_fvalue_libfvalue_value_copy_to_boolean=yes 47722else 47723 ac_cv_lib_fvalue_libfvalue_value_copy_to_boolean=no 47724fi 47725rm -f core conftest.err conftest.$ac_objext \ 47726 conftest$ac_exeext conftest.$ac_ext 47727LIBS=$ac_check_lib_save_LIBS 47728fi 47729{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_to_boolean" >&5 47730$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_to_boolean" >&6; } 47731if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_to_boolean" = xyes; then : 47732 ac_cv_libfvalue_dummy=yes 47733else 47734 ac_cv_libfvalue=no 47735fi 47736 47737 47738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_from_8bit in -lfvalue" >&5 47739$as_echo_n "checking for libfvalue_value_copy_from_8bit in -lfvalue... " >&6; } 47740if ${ac_cv_lib_fvalue_libfvalue_value_copy_from_8bit+:} false; then : 47741 $as_echo_n "(cached) " >&6 47742else 47743 ac_check_lib_save_LIBS=$LIBS 47744LIBS="-lfvalue $LIBS" 47745cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47746/* end confdefs.h. */ 47747 47748/* Override any GCC internal prototype to avoid an error. 47749 Use char because int might match the return type of a GCC 47750 builtin and then its argument prototype would still apply. */ 47751#ifdef __cplusplus 47752extern "C" 47753#endif 47754char libfvalue_value_copy_from_8bit (); 47755int 47756main () 47757{ 47758return libfvalue_value_copy_from_8bit (); 47759 ; 47760 return 0; 47761} 47762_ACEOF 47763if ac_fn_c_try_link "$LINENO"; then : 47764 ac_cv_lib_fvalue_libfvalue_value_copy_from_8bit=yes 47765else 47766 ac_cv_lib_fvalue_libfvalue_value_copy_from_8bit=no 47767fi 47768rm -f core conftest.err conftest.$ac_objext \ 47769 conftest$ac_exeext conftest.$ac_ext 47770LIBS=$ac_check_lib_save_LIBS 47771fi 47772{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_from_8bit" >&5 47773$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_from_8bit" >&6; } 47774if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_from_8bit" = xyes; then : 47775 ac_cv_libfvalue_dummy=yes 47776else 47777 ac_cv_libfvalue=no 47778fi 47779 47780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_to_8bit in -lfvalue" >&5 47781$as_echo_n "checking for libfvalue_value_copy_to_8bit in -lfvalue... " >&6; } 47782if ${ac_cv_lib_fvalue_libfvalue_value_copy_to_8bit+:} false; then : 47783 $as_echo_n "(cached) " >&6 47784else 47785 ac_check_lib_save_LIBS=$LIBS 47786LIBS="-lfvalue $LIBS" 47787cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47788/* end confdefs.h. */ 47789 47790/* Override any GCC internal prototype to avoid an error. 47791 Use char because int might match the return type of a GCC 47792 builtin and then its argument prototype would still apply. */ 47793#ifdef __cplusplus 47794extern "C" 47795#endif 47796char libfvalue_value_copy_to_8bit (); 47797int 47798main () 47799{ 47800return libfvalue_value_copy_to_8bit (); 47801 ; 47802 return 0; 47803} 47804_ACEOF 47805if ac_fn_c_try_link "$LINENO"; then : 47806 ac_cv_lib_fvalue_libfvalue_value_copy_to_8bit=yes 47807else 47808 ac_cv_lib_fvalue_libfvalue_value_copy_to_8bit=no 47809fi 47810rm -f core conftest.err conftest.$ac_objext \ 47811 conftest$ac_exeext conftest.$ac_ext 47812LIBS=$ac_check_lib_save_LIBS 47813fi 47814{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_to_8bit" >&5 47815$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_to_8bit" >&6; } 47816if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_to_8bit" = xyes; then : 47817 ac_cv_libfvalue_dummy=yes 47818else 47819 ac_cv_libfvalue=no 47820fi 47821 47822 47823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_from_16bit in -lfvalue" >&5 47824$as_echo_n "checking for libfvalue_value_copy_from_16bit in -lfvalue... " >&6; } 47825if ${ac_cv_lib_fvalue_libfvalue_value_copy_from_16bit+:} false; then : 47826 $as_echo_n "(cached) " >&6 47827else 47828 ac_check_lib_save_LIBS=$LIBS 47829LIBS="-lfvalue $LIBS" 47830cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47831/* end confdefs.h. */ 47832 47833/* Override any GCC internal prototype to avoid an error. 47834 Use char because int might match the return type of a GCC 47835 builtin and then its argument prototype would still apply. */ 47836#ifdef __cplusplus 47837extern "C" 47838#endif 47839char libfvalue_value_copy_from_16bit (); 47840int 47841main () 47842{ 47843return libfvalue_value_copy_from_16bit (); 47844 ; 47845 return 0; 47846} 47847_ACEOF 47848if ac_fn_c_try_link "$LINENO"; then : 47849 ac_cv_lib_fvalue_libfvalue_value_copy_from_16bit=yes 47850else 47851 ac_cv_lib_fvalue_libfvalue_value_copy_from_16bit=no 47852fi 47853rm -f core conftest.err conftest.$ac_objext \ 47854 conftest$ac_exeext conftest.$ac_ext 47855LIBS=$ac_check_lib_save_LIBS 47856fi 47857{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_from_16bit" >&5 47858$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_from_16bit" >&6; } 47859if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_from_16bit" = xyes; then : 47860 ac_cv_libfvalue_dummy=yes 47861else 47862 ac_cv_libfvalue=no 47863fi 47864 47865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_to_16bit in -lfvalue" >&5 47866$as_echo_n "checking for libfvalue_value_copy_to_16bit in -lfvalue... " >&6; } 47867if ${ac_cv_lib_fvalue_libfvalue_value_copy_to_16bit+:} false; then : 47868 $as_echo_n "(cached) " >&6 47869else 47870 ac_check_lib_save_LIBS=$LIBS 47871LIBS="-lfvalue $LIBS" 47872cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47873/* end confdefs.h. */ 47874 47875/* Override any GCC internal prototype to avoid an error. 47876 Use char because int might match the return type of a GCC 47877 builtin and then its argument prototype would still apply. */ 47878#ifdef __cplusplus 47879extern "C" 47880#endif 47881char libfvalue_value_copy_to_16bit (); 47882int 47883main () 47884{ 47885return libfvalue_value_copy_to_16bit (); 47886 ; 47887 return 0; 47888} 47889_ACEOF 47890if ac_fn_c_try_link "$LINENO"; then : 47891 ac_cv_lib_fvalue_libfvalue_value_copy_to_16bit=yes 47892else 47893 ac_cv_lib_fvalue_libfvalue_value_copy_to_16bit=no 47894fi 47895rm -f core conftest.err conftest.$ac_objext \ 47896 conftest$ac_exeext conftest.$ac_ext 47897LIBS=$ac_check_lib_save_LIBS 47898fi 47899{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_to_16bit" >&5 47900$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_to_16bit" >&6; } 47901if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_to_16bit" = xyes; then : 47902 ac_cv_libfvalue_dummy=yes 47903else 47904 ac_cv_libfvalue=no 47905fi 47906 47907 47908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_from_32bit in -lfvalue" >&5 47909$as_echo_n "checking for libfvalue_value_copy_from_32bit in -lfvalue... " >&6; } 47910if ${ac_cv_lib_fvalue_libfvalue_value_copy_from_32bit+:} false; then : 47911 $as_echo_n "(cached) " >&6 47912else 47913 ac_check_lib_save_LIBS=$LIBS 47914LIBS="-lfvalue $LIBS" 47915cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47916/* end confdefs.h. */ 47917 47918/* Override any GCC internal prototype to avoid an error. 47919 Use char because int might match the return type of a GCC 47920 builtin and then its argument prototype would still apply. */ 47921#ifdef __cplusplus 47922extern "C" 47923#endif 47924char libfvalue_value_copy_from_32bit (); 47925int 47926main () 47927{ 47928return libfvalue_value_copy_from_32bit (); 47929 ; 47930 return 0; 47931} 47932_ACEOF 47933if ac_fn_c_try_link "$LINENO"; then : 47934 ac_cv_lib_fvalue_libfvalue_value_copy_from_32bit=yes 47935else 47936 ac_cv_lib_fvalue_libfvalue_value_copy_from_32bit=no 47937fi 47938rm -f core conftest.err conftest.$ac_objext \ 47939 conftest$ac_exeext conftest.$ac_ext 47940LIBS=$ac_check_lib_save_LIBS 47941fi 47942{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_from_32bit" >&5 47943$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_from_32bit" >&6; } 47944if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_from_32bit" = xyes; then : 47945 ac_cv_libfvalue_dummy=yes 47946else 47947 ac_cv_libfvalue=no 47948fi 47949 47950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_to_32bit in -lfvalue" >&5 47951$as_echo_n "checking for libfvalue_value_copy_to_32bit in -lfvalue... " >&6; } 47952if ${ac_cv_lib_fvalue_libfvalue_value_copy_to_32bit+:} false; then : 47953 $as_echo_n "(cached) " >&6 47954else 47955 ac_check_lib_save_LIBS=$LIBS 47956LIBS="-lfvalue $LIBS" 47957cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47958/* end confdefs.h. */ 47959 47960/* Override any GCC internal prototype to avoid an error. 47961 Use char because int might match the return type of a GCC 47962 builtin and then its argument prototype would still apply. */ 47963#ifdef __cplusplus 47964extern "C" 47965#endif 47966char libfvalue_value_copy_to_32bit (); 47967int 47968main () 47969{ 47970return libfvalue_value_copy_to_32bit (); 47971 ; 47972 return 0; 47973} 47974_ACEOF 47975if ac_fn_c_try_link "$LINENO"; then : 47976 ac_cv_lib_fvalue_libfvalue_value_copy_to_32bit=yes 47977else 47978 ac_cv_lib_fvalue_libfvalue_value_copy_to_32bit=no 47979fi 47980rm -f core conftest.err conftest.$ac_objext \ 47981 conftest$ac_exeext conftest.$ac_ext 47982LIBS=$ac_check_lib_save_LIBS 47983fi 47984{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_to_32bit" >&5 47985$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_to_32bit" >&6; } 47986if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_to_32bit" = xyes; then : 47987 ac_cv_libfvalue_dummy=yes 47988else 47989 ac_cv_libfvalue=no 47990fi 47991 47992 47993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_from_64bit in -lfvalue" >&5 47994$as_echo_n "checking for libfvalue_value_copy_from_64bit in -lfvalue... " >&6; } 47995if ${ac_cv_lib_fvalue_libfvalue_value_copy_from_64bit+:} false; then : 47996 $as_echo_n "(cached) " >&6 47997else 47998 ac_check_lib_save_LIBS=$LIBS 47999LIBS="-lfvalue $LIBS" 48000cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48001/* end confdefs.h. */ 48002 48003/* Override any GCC internal prototype to avoid an error. 48004 Use char because int might match the return type of a GCC 48005 builtin and then its argument prototype would still apply. */ 48006#ifdef __cplusplus 48007extern "C" 48008#endif 48009char libfvalue_value_copy_from_64bit (); 48010int 48011main () 48012{ 48013return libfvalue_value_copy_from_64bit (); 48014 ; 48015 return 0; 48016} 48017_ACEOF 48018if ac_fn_c_try_link "$LINENO"; then : 48019 ac_cv_lib_fvalue_libfvalue_value_copy_from_64bit=yes 48020else 48021 ac_cv_lib_fvalue_libfvalue_value_copy_from_64bit=no 48022fi 48023rm -f core conftest.err conftest.$ac_objext \ 48024 conftest$ac_exeext conftest.$ac_ext 48025LIBS=$ac_check_lib_save_LIBS 48026fi 48027{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_from_64bit" >&5 48028$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_from_64bit" >&6; } 48029if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_from_64bit" = xyes; then : 48030 ac_cv_libfvalue_dummy=yes 48031else 48032 ac_cv_libfvalue=no 48033fi 48034 48035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_to_64bit in -lfvalue" >&5 48036$as_echo_n "checking for libfvalue_value_copy_to_64bit in -lfvalue... " >&6; } 48037if ${ac_cv_lib_fvalue_libfvalue_value_copy_to_64bit+:} false; then : 48038 $as_echo_n "(cached) " >&6 48039else 48040 ac_check_lib_save_LIBS=$LIBS 48041LIBS="-lfvalue $LIBS" 48042cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48043/* end confdefs.h. */ 48044 48045/* Override any GCC internal prototype to avoid an error. 48046 Use char because int might match the return type of a GCC 48047 builtin and then its argument prototype would still apply. */ 48048#ifdef __cplusplus 48049extern "C" 48050#endif 48051char libfvalue_value_copy_to_64bit (); 48052int 48053main () 48054{ 48055return libfvalue_value_copy_to_64bit (); 48056 ; 48057 return 0; 48058} 48059_ACEOF 48060if ac_fn_c_try_link "$LINENO"; then : 48061 ac_cv_lib_fvalue_libfvalue_value_copy_to_64bit=yes 48062else 48063 ac_cv_lib_fvalue_libfvalue_value_copy_to_64bit=no 48064fi 48065rm -f core conftest.err conftest.$ac_objext \ 48066 conftest$ac_exeext conftest.$ac_ext 48067LIBS=$ac_check_lib_save_LIBS 48068fi 48069{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_to_64bit" >&5 48070$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_to_64bit" >&6; } 48071if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_to_64bit" = xyes; then : 48072 ac_cv_libfvalue_dummy=yes 48073else 48074 ac_cv_libfvalue=no 48075fi 48076 48077 48078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_from_float in -lfvalue" >&5 48079$as_echo_n "checking for libfvalue_value_copy_from_float in -lfvalue... " >&6; } 48080if ${ac_cv_lib_fvalue_libfvalue_value_copy_from_float+:} false; then : 48081 $as_echo_n "(cached) " >&6 48082else 48083 ac_check_lib_save_LIBS=$LIBS 48084LIBS="-lfvalue $LIBS" 48085cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48086/* end confdefs.h. */ 48087 48088/* Override any GCC internal prototype to avoid an error. 48089 Use char because int might match the return type of a GCC 48090 builtin and then its argument prototype would still apply. */ 48091#ifdef __cplusplus 48092extern "C" 48093#endif 48094char libfvalue_value_copy_from_float (); 48095int 48096main () 48097{ 48098return libfvalue_value_copy_from_float (); 48099 ; 48100 return 0; 48101} 48102_ACEOF 48103if ac_fn_c_try_link "$LINENO"; then : 48104 ac_cv_lib_fvalue_libfvalue_value_copy_from_float=yes 48105else 48106 ac_cv_lib_fvalue_libfvalue_value_copy_from_float=no 48107fi 48108rm -f core conftest.err conftest.$ac_objext \ 48109 conftest$ac_exeext conftest.$ac_ext 48110LIBS=$ac_check_lib_save_LIBS 48111fi 48112{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_from_float" >&5 48113$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_from_float" >&6; } 48114if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_from_float" = xyes; then : 48115 ac_cv_libfvalue_dummy=yes 48116else 48117 ac_cv_libfvalue=no 48118fi 48119 48120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_to_float in -lfvalue" >&5 48121$as_echo_n "checking for libfvalue_value_copy_to_float in -lfvalue... " >&6; } 48122if ${ac_cv_lib_fvalue_libfvalue_value_copy_to_float+:} false; then : 48123 $as_echo_n "(cached) " >&6 48124else 48125 ac_check_lib_save_LIBS=$LIBS 48126LIBS="-lfvalue $LIBS" 48127cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48128/* end confdefs.h. */ 48129 48130/* Override any GCC internal prototype to avoid an error. 48131 Use char because int might match the return type of a GCC 48132 builtin and then its argument prototype would still apply. */ 48133#ifdef __cplusplus 48134extern "C" 48135#endif 48136char libfvalue_value_copy_to_float (); 48137int 48138main () 48139{ 48140return libfvalue_value_copy_to_float (); 48141 ; 48142 return 0; 48143} 48144_ACEOF 48145if ac_fn_c_try_link "$LINENO"; then : 48146 ac_cv_lib_fvalue_libfvalue_value_copy_to_float=yes 48147else 48148 ac_cv_lib_fvalue_libfvalue_value_copy_to_float=no 48149fi 48150rm -f core conftest.err conftest.$ac_objext \ 48151 conftest$ac_exeext conftest.$ac_ext 48152LIBS=$ac_check_lib_save_LIBS 48153fi 48154{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_to_float" >&5 48155$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_to_float" >&6; } 48156if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_to_float" = xyes; then : 48157 ac_cv_libfvalue_dummy=yes 48158else 48159 ac_cv_libfvalue=no 48160fi 48161 48162 48163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_from_double in -lfvalue" >&5 48164$as_echo_n "checking for libfvalue_value_copy_from_double in -lfvalue... " >&6; } 48165if ${ac_cv_lib_fvalue_libfvalue_value_copy_from_double+:} false; then : 48166 $as_echo_n "(cached) " >&6 48167else 48168 ac_check_lib_save_LIBS=$LIBS 48169LIBS="-lfvalue $LIBS" 48170cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48171/* end confdefs.h. */ 48172 48173/* Override any GCC internal prototype to avoid an error. 48174 Use char because int might match the return type of a GCC 48175 builtin and then its argument prototype would still apply. */ 48176#ifdef __cplusplus 48177extern "C" 48178#endif 48179char libfvalue_value_copy_from_double (); 48180int 48181main () 48182{ 48183return libfvalue_value_copy_from_double (); 48184 ; 48185 return 0; 48186} 48187_ACEOF 48188if ac_fn_c_try_link "$LINENO"; then : 48189 ac_cv_lib_fvalue_libfvalue_value_copy_from_double=yes 48190else 48191 ac_cv_lib_fvalue_libfvalue_value_copy_from_double=no 48192fi 48193rm -f core conftest.err conftest.$ac_objext \ 48194 conftest$ac_exeext conftest.$ac_ext 48195LIBS=$ac_check_lib_save_LIBS 48196fi 48197{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_from_double" >&5 48198$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_from_double" >&6; } 48199if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_from_double" = xyes; then : 48200 ac_cv_libfvalue_dummy=yes 48201else 48202 ac_cv_libfvalue=no 48203fi 48204 48205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_to_double in -lfvalue" >&5 48206$as_echo_n "checking for libfvalue_value_copy_to_double in -lfvalue... " >&6; } 48207if ${ac_cv_lib_fvalue_libfvalue_value_copy_to_double+:} false; then : 48208 $as_echo_n "(cached) " >&6 48209else 48210 ac_check_lib_save_LIBS=$LIBS 48211LIBS="-lfvalue $LIBS" 48212cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48213/* end confdefs.h. */ 48214 48215/* Override any GCC internal prototype to avoid an error. 48216 Use char because int might match the return type of a GCC 48217 builtin and then its argument prototype would still apply. */ 48218#ifdef __cplusplus 48219extern "C" 48220#endif 48221char libfvalue_value_copy_to_double (); 48222int 48223main () 48224{ 48225return libfvalue_value_copy_to_double (); 48226 ; 48227 return 0; 48228} 48229_ACEOF 48230if ac_fn_c_try_link "$LINENO"; then : 48231 ac_cv_lib_fvalue_libfvalue_value_copy_to_double=yes 48232else 48233 ac_cv_lib_fvalue_libfvalue_value_copy_to_double=no 48234fi 48235rm -f core conftest.err conftest.$ac_objext \ 48236 conftest$ac_exeext conftest.$ac_ext 48237LIBS=$ac_check_lib_save_LIBS 48238fi 48239{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_to_double" >&5 48240$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_to_double" >&6; } 48241if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_to_double" = xyes; then : 48242 ac_cv_libfvalue_dummy=yes 48243else 48244 ac_cv_libfvalue=no 48245fi 48246 48247 48248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_from_utf8_string in -lfvalue" >&5 48249$as_echo_n "checking for libfvalue_value_copy_from_utf8_string in -lfvalue... " >&6; } 48250if ${ac_cv_lib_fvalue_libfvalue_value_copy_from_utf8_string+:} false; then : 48251 $as_echo_n "(cached) " >&6 48252else 48253 ac_check_lib_save_LIBS=$LIBS 48254LIBS="-lfvalue $LIBS" 48255cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48256/* end confdefs.h. */ 48257 48258/* Override any GCC internal prototype to avoid an error. 48259 Use char because int might match the return type of a GCC 48260 builtin and then its argument prototype would still apply. */ 48261#ifdef __cplusplus 48262extern "C" 48263#endif 48264char libfvalue_value_copy_from_utf8_string (); 48265int 48266main () 48267{ 48268return libfvalue_value_copy_from_utf8_string (); 48269 ; 48270 return 0; 48271} 48272_ACEOF 48273if ac_fn_c_try_link "$LINENO"; then : 48274 ac_cv_lib_fvalue_libfvalue_value_copy_from_utf8_string=yes 48275else 48276 ac_cv_lib_fvalue_libfvalue_value_copy_from_utf8_string=no 48277fi 48278rm -f core conftest.err conftest.$ac_objext \ 48279 conftest$ac_exeext conftest.$ac_ext 48280LIBS=$ac_check_lib_save_LIBS 48281fi 48282{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_from_utf8_string" >&5 48283$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_from_utf8_string" >&6; } 48284if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_from_utf8_string" = xyes; then : 48285 ac_cv_libfvalue_dummy=yes 48286else 48287 ac_cv_libfvalue=no 48288fi 48289 48290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_get_utf8_string_size in -lfvalue" >&5 48291$as_echo_n "checking for libfvalue_value_get_utf8_string_size in -lfvalue... " >&6; } 48292if ${ac_cv_lib_fvalue_libfvalue_value_get_utf8_string_size+:} false; then : 48293 $as_echo_n "(cached) " >&6 48294else 48295 ac_check_lib_save_LIBS=$LIBS 48296LIBS="-lfvalue $LIBS" 48297cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48298/* end confdefs.h. */ 48299 48300/* Override any GCC internal prototype to avoid an error. 48301 Use char because int might match the return type of a GCC 48302 builtin and then its argument prototype would still apply. */ 48303#ifdef __cplusplus 48304extern "C" 48305#endif 48306char libfvalue_value_get_utf8_string_size (); 48307int 48308main () 48309{ 48310return libfvalue_value_get_utf8_string_size (); 48311 ; 48312 return 0; 48313} 48314_ACEOF 48315if ac_fn_c_try_link "$LINENO"; then : 48316 ac_cv_lib_fvalue_libfvalue_value_get_utf8_string_size=yes 48317else 48318 ac_cv_lib_fvalue_libfvalue_value_get_utf8_string_size=no 48319fi 48320rm -f core conftest.err conftest.$ac_objext \ 48321 conftest$ac_exeext conftest.$ac_ext 48322LIBS=$ac_check_lib_save_LIBS 48323fi 48324{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_get_utf8_string_size" >&5 48325$as_echo "$ac_cv_lib_fvalue_libfvalue_value_get_utf8_string_size" >&6; } 48326if test "x$ac_cv_lib_fvalue_libfvalue_value_get_utf8_string_size" = xyes; then : 48327 ac_cv_libfvalue_dummy=yes 48328else 48329 ac_cv_libfvalue=no 48330fi 48331 48332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_to_utf8_string in -lfvalue" >&5 48333$as_echo_n "checking for libfvalue_value_copy_to_utf8_string in -lfvalue... " >&6; } 48334if ${ac_cv_lib_fvalue_libfvalue_value_copy_to_utf8_string+:} false; then : 48335 $as_echo_n "(cached) " >&6 48336else 48337 ac_check_lib_save_LIBS=$LIBS 48338LIBS="-lfvalue $LIBS" 48339cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48340/* end confdefs.h. */ 48341 48342/* Override any GCC internal prototype to avoid an error. 48343 Use char because int might match the return type of a GCC 48344 builtin and then its argument prototype would still apply. */ 48345#ifdef __cplusplus 48346extern "C" 48347#endif 48348char libfvalue_value_copy_to_utf8_string (); 48349int 48350main () 48351{ 48352return libfvalue_value_copy_to_utf8_string (); 48353 ; 48354 return 0; 48355} 48356_ACEOF 48357if ac_fn_c_try_link "$LINENO"; then : 48358 ac_cv_lib_fvalue_libfvalue_value_copy_to_utf8_string=yes 48359else 48360 ac_cv_lib_fvalue_libfvalue_value_copy_to_utf8_string=no 48361fi 48362rm -f core conftest.err conftest.$ac_objext \ 48363 conftest$ac_exeext conftest.$ac_ext 48364LIBS=$ac_check_lib_save_LIBS 48365fi 48366{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_to_utf8_string" >&5 48367$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_to_utf8_string" >&6; } 48368if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_to_utf8_string" = xyes; then : 48369 ac_cv_libfvalue_dummy=yes 48370else 48371 ac_cv_libfvalue=no 48372fi 48373 48374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_to_utf8_string_with_index in -lfvalue" >&5 48375$as_echo_n "checking for libfvalue_value_copy_to_utf8_string_with_index in -lfvalue... " >&6; } 48376if ${ac_cv_lib_fvalue_libfvalue_value_copy_to_utf8_string_with_index+:} false; then : 48377 $as_echo_n "(cached) " >&6 48378else 48379 ac_check_lib_save_LIBS=$LIBS 48380LIBS="-lfvalue $LIBS" 48381cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48382/* end confdefs.h. */ 48383 48384/* Override any GCC internal prototype to avoid an error. 48385 Use char because int might match the return type of a GCC 48386 builtin and then its argument prototype would still apply. */ 48387#ifdef __cplusplus 48388extern "C" 48389#endif 48390char libfvalue_value_copy_to_utf8_string_with_index (); 48391int 48392main () 48393{ 48394return libfvalue_value_copy_to_utf8_string_with_index (); 48395 ; 48396 return 0; 48397} 48398_ACEOF 48399if ac_fn_c_try_link "$LINENO"; then : 48400 ac_cv_lib_fvalue_libfvalue_value_copy_to_utf8_string_with_index=yes 48401else 48402 ac_cv_lib_fvalue_libfvalue_value_copy_to_utf8_string_with_index=no 48403fi 48404rm -f core conftest.err conftest.$ac_objext \ 48405 conftest$ac_exeext conftest.$ac_ext 48406LIBS=$ac_check_lib_save_LIBS 48407fi 48408{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_to_utf8_string_with_index" >&5 48409$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_to_utf8_string_with_index" >&6; } 48410if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_to_utf8_string_with_index" = xyes; then : 48411 ac_cv_libfvalue_dummy=yes 48412else 48413 ac_cv_libfvalue=no 48414fi 48415 48416 48417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_from_utf16_string in -lfvalue" >&5 48418$as_echo_n "checking for libfvalue_value_copy_from_utf16_string in -lfvalue... " >&6; } 48419if ${ac_cv_lib_fvalue_libfvalue_value_copy_from_utf16_string+:} false; then : 48420 $as_echo_n "(cached) " >&6 48421else 48422 ac_check_lib_save_LIBS=$LIBS 48423LIBS="-lfvalue $LIBS" 48424cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48425/* end confdefs.h. */ 48426 48427/* Override any GCC internal prototype to avoid an error. 48428 Use char because int might match the return type of a GCC 48429 builtin and then its argument prototype would still apply. */ 48430#ifdef __cplusplus 48431extern "C" 48432#endif 48433char libfvalue_value_copy_from_utf16_string (); 48434int 48435main () 48436{ 48437return libfvalue_value_copy_from_utf16_string (); 48438 ; 48439 return 0; 48440} 48441_ACEOF 48442if ac_fn_c_try_link "$LINENO"; then : 48443 ac_cv_lib_fvalue_libfvalue_value_copy_from_utf16_string=yes 48444else 48445 ac_cv_lib_fvalue_libfvalue_value_copy_from_utf16_string=no 48446fi 48447rm -f core conftest.err conftest.$ac_objext \ 48448 conftest$ac_exeext conftest.$ac_ext 48449LIBS=$ac_check_lib_save_LIBS 48450fi 48451{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_from_utf16_string" >&5 48452$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_from_utf16_string" >&6; } 48453if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_from_utf16_string" = xyes; then : 48454 ac_cv_libfvalue_dummy=yes 48455else 48456 ac_cv_libfvalue=no 48457fi 48458 48459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_get_utf16_string_size in -lfvalue" >&5 48460$as_echo_n "checking for libfvalue_value_get_utf16_string_size in -lfvalue... " >&6; } 48461if ${ac_cv_lib_fvalue_libfvalue_value_get_utf16_string_size+:} false; then : 48462 $as_echo_n "(cached) " >&6 48463else 48464 ac_check_lib_save_LIBS=$LIBS 48465LIBS="-lfvalue $LIBS" 48466cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48467/* end confdefs.h. */ 48468 48469/* Override any GCC internal prototype to avoid an error. 48470 Use char because int might match the return type of a GCC 48471 builtin and then its argument prototype would still apply. */ 48472#ifdef __cplusplus 48473extern "C" 48474#endif 48475char libfvalue_value_get_utf16_string_size (); 48476int 48477main () 48478{ 48479return libfvalue_value_get_utf16_string_size (); 48480 ; 48481 return 0; 48482} 48483_ACEOF 48484if ac_fn_c_try_link "$LINENO"; then : 48485 ac_cv_lib_fvalue_libfvalue_value_get_utf16_string_size=yes 48486else 48487 ac_cv_lib_fvalue_libfvalue_value_get_utf16_string_size=no 48488fi 48489rm -f core conftest.err conftest.$ac_objext \ 48490 conftest$ac_exeext conftest.$ac_ext 48491LIBS=$ac_check_lib_save_LIBS 48492fi 48493{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_get_utf16_string_size" >&5 48494$as_echo "$ac_cv_lib_fvalue_libfvalue_value_get_utf16_string_size" >&6; } 48495if test "x$ac_cv_lib_fvalue_libfvalue_value_get_utf16_string_size" = xyes; then : 48496 ac_cv_libfvalue_dummy=yes 48497else 48498 ac_cv_libfvalue=no 48499fi 48500 48501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_to_utf16_string in -lfvalue" >&5 48502$as_echo_n "checking for libfvalue_value_copy_to_utf16_string in -lfvalue... " >&6; } 48503if ${ac_cv_lib_fvalue_libfvalue_value_copy_to_utf16_string+:} false; then : 48504 $as_echo_n "(cached) " >&6 48505else 48506 ac_check_lib_save_LIBS=$LIBS 48507LIBS="-lfvalue $LIBS" 48508cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48509/* end confdefs.h. */ 48510 48511/* Override any GCC internal prototype to avoid an error. 48512 Use char because int might match the return type of a GCC 48513 builtin and then its argument prototype would still apply. */ 48514#ifdef __cplusplus 48515extern "C" 48516#endif 48517char libfvalue_value_copy_to_utf16_string (); 48518int 48519main () 48520{ 48521return libfvalue_value_copy_to_utf16_string (); 48522 ; 48523 return 0; 48524} 48525_ACEOF 48526if ac_fn_c_try_link "$LINENO"; then : 48527 ac_cv_lib_fvalue_libfvalue_value_copy_to_utf16_string=yes 48528else 48529 ac_cv_lib_fvalue_libfvalue_value_copy_to_utf16_string=no 48530fi 48531rm -f core conftest.err conftest.$ac_objext \ 48532 conftest$ac_exeext conftest.$ac_ext 48533LIBS=$ac_check_lib_save_LIBS 48534fi 48535{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_to_utf16_string" >&5 48536$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_to_utf16_string" >&6; } 48537if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_to_utf16_string" = xyes; then : 48538 ac_cv_libfvalue_dummy=yes 48539else 48540 ac_cv_libfvalue=no 48541fi 48542 48543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_to_utf16_string_with_index in -lfvalue" >&5 48544$as_echo_n "checking for libfvalue_value_copy_to_utf16_string_with_index in -lfvalue... " >&6; } 48545if ${ac_cv_lib_fvalue_libfvalue_value_copy_to_utf16_string_with_index+:} false; then : 48546 $as_echo_n "(cached) " >&6 48547else 48548 ac_check_lib_save_LIBS=$LIBS 48549LIBS="-lfvalue $LIBS" 48550cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48551/* end confdefs.h. */ 48552 48553/* Override any GCC internal prototype to avoid an error. 48554 Use char because int might match the return type of a GCC 48555 builtin and then its argument prototype would still apply. */ 48556#ifdef __cplusplus 48557extern "C" 48558#endif 48559char libfvalue_value_copy_to_utf16_string_with_index (); 48560int 48561main () 48562{ 48563return libfvalue_value_copy_to_utf16_string_with_index (); 48564 ; 48565 return 0; 48566} 48567_ACEOF 48568if ac_fn_c_try_link "$LINENO"; then : 48569 ac_cv_lib_fvalue_libfvalue_value_copy_to_utf16_string_with_index=yes 48570else 48571 ac_cv_lib_fvalue_libfvalue_value_copy_to_utf16_string_with_index=no 48572fi 48573rm -f core conftest.err conftest.$ac_objext \ 48574 conftest$ac_exeext conftest.$ac_ext 48575LIBS=$ac_check_lib_save_LIBS 48576fi 48577{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_to_utf16_string_with_index" >&5 48578$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_to_utf16_string_with_index" >&6; } 48579if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_to_utf16_string_with_index" = xyes; then : 48580 ac_cv_libfvalue_dummy=yes 48581else 48582 ac_cv_libfvalue=no 48583fi 48584 48585 48586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_from_utf32_string in -lfvalue" >&5 48587$as_echo_n "checking for libfvalue_value_copy_from_utf32_string in -lfvalue... " >&6; } 48588if ${ac_cv_lib_fvalue_libfvalue_value_copy_from_utf32_string+:} false; then : 48589 $as_echo_n "(cached) " >&6 48590else 48591 ac_check_lib_save_LIBS=$LIBS 48592LIBS="-lfvalue $LIBS" 48593cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48594/* end confdefs.h. */ 48595 48596/* Override any GCC internal prototype to avoid an error. 48597 Use char because int might match the return type of a GCC 48598 builtin and then its argument prototype would still apply. */ 48599#ifdef __cplusplus 48600extern "C" 48601#endif 48602char libfvalue_value_copy_from_utf32_string (); 48603int 48604main () 48605{ 48606return libfvalue_value_copy_from_utf32_string (); 48607 ; 48608 return 0; 48609} 48610_ACEOF 48611if ac_fn_c_try_link "$LINENO"; then : 48612 ac_cv_lib_fvalue_libfvalue_value_copy_from_utf32_string=yes 48613else 48614 ac_cv_lib_fvalue_libfvalue_value_copy_from_utf32_string=no 48615fi 48616rm -f core conftest.err conftest.$ac_objext \ 48617 conftest$ac_exeext conftest.$ac_ext 48618LIBS=$ac_check_lib_save_LIBS 48619fi 48620{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_from_utf32_string" >&5 48621$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_from_utf32_string" >&6; } 48622if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_from_utf32_string" = xyes; then : 48623 ac_cv_libfvalue_dummy=yes 48624else 48625 ac_cv_libfvalue=no 48626fi 48627 48628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_get_utf32_string_size in -lfvalue" >&5 48629$as_echo_n "checking for libfvalue_value_get_utf32_string_size in -lfvalue... " >&6; } 48630if ${ac_cv_lib_fvalue_libfvalue_value_get_utf32_string_size+:} false; then : 48631 $as_echo_n "(cached) " >&6 48632else 48633 ac_check_lib_save_LIBS=$LIBS 48634LIBS="-lfvalue $LIBS" 48635cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48636/* end confdefs.h. */ 48637 48638/* Override any GCC internal prototype to avoid an error. 48639 Use char because int might match the return type of a GCC 48640 builtin and then its argument prototype would still apply. */ 48641#ifdef __cplusplus 48642extern "C" 48643#endif 48644char libfvalue_value_get_utf32_string_size (); 48645int 48646main () 48647{ 48648return libfvalue_value_get_utf32_string_size (); 48649 ; 48650 return 0; 48651} 48652_ACEOF 48653if ac_fn_c_try_link "$LINENO"; then : 48654 ac_cv_lib_fvalue_libfvalue_value_get_utf32_string_size=yes 48655else 48656 ac_cv_lib_fvalue_libfvalue_value_get_utf32_string_size=no 48657fi 48658rm -f core conftest.err conftest.$ac_objext \ 48659 conftest$ac_exeext conftest.$ac_ext 48660LIBS=$ac_check_lib_save_LIBS 48661fi 48662{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_get_utf32_string_size" >&5 48663$as_echo "$ac_cv_lib_fvalue_libfvalue_value_get_utf32_string_size" >&6; } 48664if test "x$ac_cv_lib_fvalue_libfvalue_value_get_utf32_string_size" = xyes; then : 48665 ac_cv_libfvalue_dummy=yes 48666else 48667 ac_cv_libfvalue=no 48668fi 48669 48670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_to_utf32_string in -lfvalue" >&5 48671$as_echo_n "checking for libfvalue_value_copy_to_utf32_string in -lfvalue... " >&6; } 48672if ${ac_cv_lib_fvalue_libfvalue_value_copy_to_utf32_string+:} false; then : 48673 $as_echo_n "(cached) " >&6 48674else 48675 ac_check_lib_save_LIBS=$LIBS 48676LIBS="-lfvalue $LIBS" 48677cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48678/* end confdefs.h. */ 48679 48680/* Override any GCC internal prototype to avoid an error. 48681 Use char because int might match the return type of a GCC 48682 builtin and then its argument prototype would still apply. */ 48683#ifdef __cplusplus 48684extern "C" 48685#endif 48686char libfvalue_value_copy_to_utf32_string (); 48687int 48688main () 48689{ 48690return libfvalue_value_copy_to_utf32_string (); 48691 ; 48692 return 0; 48693} 48694_ACEOF 48695if ac_fn_c_try_link "$LINENO"; then : 48696 ac_cv_lib_fvalue_libfvalue_value_copy_to_utf32_string=yes 48697else 48698 ac_cv_lib_fvalue_libfvalue_value_copy_to_utf32_string=no 48699fi 48700rm -f core conftest.err conftest.$ac_objext \ 48701 conftest$ac_exeext conftest.$ac_ext 48702LIBS=$ac_check_lib_save_LIBS 48703fi 48704{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_to_utf32_string" >&5 48705$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_to_utf32_string" >&6; } 48706if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_to_utf32_string" = xyes; then : 48707 ac_cv_libfvalue_dummy=yes 48708else 48709 ac_cv_libfvalue=no 48710fi 48711 48712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_to_utf32_string_with_index in -lfvalue" >&5 48713$as_echo_n "checking for libfvalue_value_copy_to_utf32_string_with_index in -lfvalue... " >&6; } 48714if ${ac_cv_lib_fvalue_libfvalue_value_copy_to_utf32_string_with_index+:} false; then : 48715 $as_echo_n "(cached) " >&6 48716else 48717 ac_check_lib_save_LIBS=$LIBS 48718LIBS="-lfvalue $LIBS" 48719cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48720/* end confdefs.h. */ 48721 48722/* Override any GCC internal prototype to avoid an error. 48723 Use char because int might match the return type of a GCC 48724 builtin and then its argument prototype would still apply. */ 48725#ifdef __cplusplus 48726extern "C" 48727#endif 48728char libfvalue_value_copy_to_utf32_string_with_index (); 48729int 48730main () 48731{ 48732return libfvalue_value_copy_to_utf32_string_with_index (); 48733 ; 48734 return 0; 48735} 48736_ACEOF 48737if ac_fn_c_try_link "$LINENO"; then : 48738 ac_cv_lib_fvalue_libfvalue_value_copy_to_utf32_string_with_index=yes 48739else 48740 ac_cv_lib_fvalue_libfvalue_value_copy_to_utf32_string_with_index=no 48741fi 48742rm -f core conftest.err conftest.$ac_objext \ 48743 conftest$ac_exeext conftest.$ac_ext 48744LIBS=$ac_check_lib_save_LIBS 48745fi 48746{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_to_utf32_string_with_index" >&5 48747$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_to_utf32_string_with_index" >&6; } 48748if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_to_utf32_string_with_index" = xyes; then : 48749 ac_cv_libfvalue_dummy=yes 48750else 48751 ac_cv_libfvalue=no 48752fi 48753 48754 48755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_read_from_file_stream in -lfvalue" >&5 48756$as_echo_n "checking for libfvalue_value_read_from_file_stream in -lfvalue... " >&6; } 48757if ${ac_cv_lib_fvalue_libfvalue_value_read_from_file_stream+:} false; then : 48758 $as_echo_n "(cached) " >&6 48759else 48760 ac_check_lib_save_LIBS=$LIBS 48761LIBS="-lfvalue $LIBS" 48762cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48763/* end confdefs.h. */ 48764 48765/* Override any GCC internal prototype to avoid an error. 48766 Use char because int might match the return type of a GCC 48767 builtin and then its argument prototype would still apply. */ 48768#ifdef __cplusplus 48769extern "C" 48770#endif 48771char libfvalue_value_read_from_file_stream (); 48772int 48773main () 48774{ 48775return libfvalue_value_read_from_file_stream (); 48776 ; 48777 return 0; 48778} 48779_ACEOF 48780if ac_fn_c_try_link "$LINENO"; then : 48781 ac_cv_lib_fvalue_libfvalue_value_read_from_file_stream=yes 48782else 48783 ac_cv_lib_fvalue_libfvalue_value_read_from_file_stream=no 48784fi 48785rm -f core conftest.err conftest.$ac_objext \ 48786 conftest$ac_exeext conftest.$ac_ext 48787LIBS=$ac_check_lib_save_LIBS 48788fi 48789{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_read_from_file_stream" >&5 48790$as_echo "$ac_cv_lib_fvalue_libfvalue_value_read_from_file_stream" >&6; } 48791if test "x$ac_cv_lib_fvalue_libfvalue_value_read_from_file_stream" = xyes; then : 48792 ac_cv_libfvalue_dummy=yes 48793else 48794 ac_cv_libfvalue=no 48795fi 48796 48797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_write_to_file_stream in -lfvalue" >&5 48798$as_echo_n "checking for libfvalue_value_write_to_file_stream in -lfvalue... " >&6; } 48799if ${ac_cv_lib_fvalue_libfvalue_value_write_to_file_stream+:} false; then : 48800 $as_echo_n "(cached) " >&6 48801else 48802 ac_check_lib_save_LIBS=$LIBS 48803LIBS="-lfvalue $LIBS" 48804cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48805/* end confdefs.h. */ 48806 48807/* Override any GCC internal prototype to avoid an error. 48808 Use char because int might match the return type of a GCC 48809 builtin and then its argument prototype would still apply. */ 48810#ifdef __cplusplus 48811extern "C" 48812#endif 48813char libfvalue_value_write_to_file_stream (); 48814int 48815main () 48816{ 48817return libfvalue_value_write_to_file_stream (); 48818 ; 48819 return 0; 48820} 48821_ACEOF 48822if ac_fn_c_try_link "$LINENO"; then : 48823 ac_cv_lib_fvalue_libfvalue_value_write_to_file_stream=yes 48824else 48825 ac_cv_lib_fvalue_libfvalue_value_write_to_file_stream=no 48826fi 48827rm -f core conftest.err conftest.$ac_objext \ 48828 conftest$ac_exeext conftest.$ac_ext 48829LIBS=$ac_check_lib_save_LIBS 48830fi 48831{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_write_to_file_stream" >&5 48832$as_echo "$ac_cv_lib_fvalue_libfvalue_value_write_to_file_stream" >&6; } 48833if test "x$ac_cv_lib_fvalue_libfvalue_value_write_to_file_stream" = xyes; then : 48834 ac_cv_libfvalue_dummy=yes 48835else 48836 ac_cv_libfvalue=no 48837fi 48838 48839 48840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_type_initialize in -lfvalue" >&5 48841$as_echo_n "checking for libfvalue_value_type_initialize in -lfvalue... " >&6; } 48842if ${ac_cv_lib_fvalue_libfvalue_value_type_initialize+:} false; then : 48843 $as_echo_n "(cached) " >&6 48844else 48845 ac_check_lib_save_LIBS=$LIBS 48846LIBS="-lfvalue $LIBS" 48847cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48848/* end confdefs.h. */ 48849 48850/* Override any GCC internal prototype to avoid an error. 48851 Use char because int might match the return type of a GCC 48852 builtin and then its argument prototype would still apply. */ 48853#ifdef __cplusplus 48854extern "C" 48855#endif 48856char libfvalue_value_type_initialize (); 48857int 48858main () 48859{ 48860return libfvalue_value_type_initialize (); 48861 ; 48862 return 0; 48863} 48864_ACEOF 48865if ac_fn_c_try_link "$LINENO"; then : 48866 ac_cv_lib_fvalue_libfvalue_value_type_initialize=yes 48867else 48868 ac_cv_lib_fvalue_libfvalue_value_type_initialize=no 48869fi 48870rm -f core conftest.err conftest.$ac_objext \ 48871 conftest$ac_exeext conftest.$ac_ext 48872LIBS=$ac_check_lib_save_LIBS 48873fi 48874{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_type_initialize" >&5 48875$as_echo "$ac_cv_lib_fvalue_libfvalue_value_type_initialize" >&6; } 48876if test "x$ac_cv_lib_fvalue_libfvalue_value_type_initialize" = xyes; then : 48877 ac_cv_libfvalue_dummy=yes 48878else 48879 ac_cv_libfvalue=no 48880fi 48881 48882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_type_initialize_with_data_handle in -lfvalue" >&5 48883$as_echo_n "checking for libfvalue_value_type_initialize_with_data_handle in -lfvalue... " >&6; } 48884if ${ac_cv_lib_fvalue_libfvalue_value_type_initialize_with_data_handle+:} false; then : 48885 $as_echo_n "(cached) " >&6 48886else 48887 ac_check_lib_save_LIBS=$LIBS 48888LIBS="-lfvalue $LIBS" 48889cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48890/* end confdefs.h. */ 48891 48892/* Override any GCC internal prototype to avoid an error. 48893 Use char because int might match the return type of a GCC 48894 builtin and then its argument prototype would still apply. */ 48895#ifdef __cplusplus 48896extern "C" 48897#endif 48898char libfvalue_value_type_initialize_with_data_handle (); 48899int 48900main () 48901{ 48902return libfvalue_value_type_initialize_with_data_handle (); 48903 ; 48904 return 0; 48905} 48906_ACEOF 48907if ac_fn_c_try_link "$LINENO"; then : 48908 ac_cv_lib_fvalue_libfvalue_value_type_initialize_with_data_handle=yes 48909else 48910 ac_cv_lib_fvalue_libfvalue_value_type_initialize_with_data_handle=no 48911fi 48912rm -f core conftest.err conftest.$ac_objext \ 48913 conftest$ac_exeext conftest.$ac_ext 48914LIBS=$ac_check_lib_save_LIBS 48915fi 48916{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_type_initialize_with_data_handle" >&5 48917$as_echo "$ac_cv_lib_fvalue_libfvalue_value_type_initialize_with_data_handle" >&6; } 48918if test "x$ac_cv_lib_fvalue_libfvalue_value_type_initialize_with_data_handle" = xyes; then : 48919 ac_cv_libfvalue_dummy=yes 48920else 48921 ac_cv_libfvalue=no 48922fi 48923 48924 48925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_type_set_data_string in -lfvalue" >&5 48926$as_echo_n "checking for libfvalue_value_type_set_data_string in -lfvalue... " >&6; } 48927if ${ac_cv_lib_fvalue_libfvalue_value_type_set_data_string+:} false; then : 48928 $as_echo_n "(cached) " >&6 48929else 48930 ac_check_lib_save_LIBS=$LIBS 48931LIBS="-lfvalue $LIBS" 48932cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48933/* end confdefs.h. */ 48934 48935/* Override any GCC internal prototype to avoid an error. 48936 Use char because int might match the return type of a GCC 48937 builtin and then its argument prototype would still apply. */ 48938#ifdef __cplusplus 48939extern "C" 48940#endif 48941char libfvalue_value_type_set_data_string (); 48942int 48943main () 48944{ 48945return libfvalue_value_type_set_data_string (); 48946 ; 48947 return 0; 48948} 48949_ACEOF 48950if ac_fn_c_try_link "$LINENO"; then : 48951 ac_cv_lib_fvalue_libfvalue_value_type_set_data_string=yes 48952else 48953 ac_cv_lib_fvalue_libfvalue_value_type_set_data_string=no 48954fi 48955rm -f core conftest.err conftest.$ac_objext \ 48956 conftest$ac_exeext conftest.$ac_ext 48957LIBS=$ac_check_lib_save_LIBS 48958fi 48959{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_type_set_data_string" >&5 48960$as_echo "$ac_cv_lib_fvalue_libfvalue_value_type_set_data_string" >&6; } 48961if test "x$ac_cv_lib_fvalue_libfvalue_value_type_set_data_string" = xyes; then : 48962 ac_cv_libfvalue_dummy=yes 48963else 48964 ac_cv_libfvalue=no 48965fi 48966 48967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_type_append_data_string in -lfvalue" >&5 48968$as_echo_n "checking for libfvalue_value_type_append_data_string in -lfvalue... " >&6; } 48969if ${ac_cv_lib_fvalue_libfvalue_value_type_append_data_string+:} false; then : 48970 $as_echo_n "(cached) " >&6 48971else 48972 ac_check_lib_save_LIBS=$LIBS 48973LIBS="-lfvalue $LIBS" 48974cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48975/* end confdefs.h. */ 48976 48977/* Override any GCC internal prototype to avoid an error. 48978 Use char because int might match the return type of a GCC 48979 builtin and then its argument prototype would still apply. */ 48980#ifdef __cplusplus 48981extern "C" 48982#endif 48983char libfvalue_value_type_append_data_string (); 48984int 48985main () 48986{ 48987return libfvalue_value_type_append_data_string (); 48988 ; 48989 return 0; 48990} 48991_ACEOF 48992if ac_fn_c_try_link "$LINENO"; then : 48993 ac_cv_lib_fvalue_libfvalue_value_type_append_data_string=yes 48994else 48995 ac_cv_lib_fvalue_libfvalue_value_type_append_data_string=no 48996fi 48997rm -f core conftest.err conftest.$ac_objext \ 48998 conftest$ac_exeext conftest.$ac_ext 48999LIBS=$ac_check_lib_save_LIBS 49000fi 49001{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_type_append_data_string" >&5 49002$as_echo "$ac_cv_lib_fvalue_libfvalue_value_type_append_data_string" >&6; } 49003if test "x$ac_cv_lib_fvalue_libfvalue_value_type_append_data_string" = xyes; then : 49004 ac_cv_libfvalue_dummy=yes 49005else 49006 ac_cv_libfvalue=no 49007fi 49008 49009 49010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_type_set_data_strings_array in -lfvalue" >&5 49011$as_echo_n "checking for libfvalue_value_type_set_data_strings_array in -lfvalue... " >&6; } 49012if ${ac_cv_lib_fvalue_libfvalue_value_type_set_data_strings_array+:} false; then : 49013 $as_echo_n "(cached) " >&6 49014else 49015 ac_check_lib_save_LIBS=$LIBS 49016LIBS="-lfvalue $LIBS" 49017cat confdefs.h - <<_ACEOF >conftest.$ac_ext 49018/* end confdefs.h. */ 49019 49020/* Override any GCC internal prototype to avoid an error. 49021 Use char because int might match the return type of a GCC 49022 builtin and then its argument prototype would still apply. */ 49023#ifdef __cplusplus 49024extern "C" 49025#endif 49026char libfvalue_value_type_set_data_strings_array (); 49027int 49028main () 49029{ 49030return libfvalue_value_type_set_data_strings_array (); 49031 ; 49032 return 0; 49033} 49034_ACEOF 49035if ac_fn_c_try_link "$LINENO"; then : 49036 ac_cv_lib_fvalue_libfvalue_value_type_set_data_strings_array=yes 49037else 49038 ac_cv_lib_fvalue_libfvalue_value_type_set_data_strings_array=no 49039fi 49040rm -f core conftest.err conftest.$ac_objext \ 49041 conftest$ac_exeext conftest.$ac_ext 49042LIBS=$ac_check_lib_save_LIBS 49043fi 49044{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_type_set_data_strings_array" >&5 49045$as_echo "$ac_cv_lib_fvalue_libfvalue_value_type_set_data_strings_array" >&6; } 49046if test "x$ac_cv_lib_fvalue_libfvalue_value_type_set_data_strings_array" = xyes; then : 49047 ac_cv_libfvalue_dummy=yes 49048else 49049 ac_cv_libfvalue=no 49050fi 49051 49052 49053 ac_cv_libfvalue_LIBADD="-lfvalue" 49054fi 49055 49056fi 49057 if test "x$ac_cv_with_libfvalue" != x && test "x$ac_cv_with_libfvalue" != xauto-detect && test "x$ac_cv_libfvalue" != xyes; then : 49058 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 49059$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 49060as_fn_error 1 "unable to find supported libfvalue in directory: $ac_cv_with_libfvalue 49061See \`config.log' for more details" "$LINENO" 5; } 49062 49063fi 49064 49065fi 49066 49067 if test "x$ac_cv_libfvalue" = xyes; then : 49068 49069$as_echo "#define HAVE_LIBFVALUE 1" >>confdefs.h 49070 49071 49072fi 49073 49074 if test "x$ac_cv_libfvalue" = xyes; then : 49075 HAVE_LIBFVALUE=1 49076 49077else 49078 HAVE_LIBFVALUE=0 49079 49080 49081fi 49082 49083 49084 if test "x$ac_cv_libfvalue" != xyes; then : 49085 49086 ac_cv_libfvalue_CPPFLAGS="-I../libfvalue"; 49087 ac_cv_libfvalue_LIBADD="../libfvalue/libfvalue.la"; 49088 49089 ac_cv_libfvalue=local 49090 49091 49092 49093$as_echo "#define HAVE_LOCAL_LIBFVALUE 1" >>confdefs.h 49094 49095 HAVE_LOCAL_LIBFVALUE=1 49096 49097 49098fi 49099 49100 if test "x$ac_cv_libfvalue" = xlocal; then 49101 HAVE_LOCAL_LIBFVALUE_TRUE= 49102 HAVE_LOCAL_LIBFVALUE_FALSE='#' 49103else 49104 HAVE_LOCAL_LIBFVALUE_TRUE='#' 49105 HAVE_LOCAL_LIBFVALUE_FALSE= 49106fi 49107 49108 if test "x$ac_cv_libfvalue_CPPFLAGS" != "x"; then : 49109 LIBFVALUE_CPPFLAGS=$ac_cv_libfvalue_CPPFLAGS 49110 49111 49112fi 49113 if test "x$ac_cv_libfvalue_LIBADD" != "x"; then : 49114 LIBFVALUE_LIBADD=$ac_cv_libfvalue_LIBADD 49115 49116 49117fi 49118 49119 if test "x$ac_cv_libfvalue" = xyes; then : 49120 ax_libfvalue_pc_libs_private=-lfvalue 49121 49122 49123fi 49124 49125 if test "x$ac_cv_libfvalue" = xyes; then : 49126 ax_libfvalue_spec_requires=libfvalue 49127 49128 ax_libfvalue_spec_build_requires=libfvalue-devel 49129 49130 49131fi 49132 49133 49134 49135 49136# Check whether --with-zlib was given. 49137if test "${with_zlib+set}" = set; then : 49138 withval=$with_zlib; ac_cv_with_zlib=$withval 49139else 49140 ac_cv_with_zlib=auto-detect 49141fi 49142 49143 { $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 49144$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; } 49145if ${ac_cv_with_zlib+:} false; then : 49146 $as_echo_n "(cached) " >&6 49147else 49148 ac_cv_with_zlib=auto-detect 49149fi 49150{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_zlib" >&5 49151$as_echo "$ac_cv_with_zlib" >&6; } 49152 49153 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_zlib" = xno; then : 49154 ac_cv_zlib=no 49155else 49156 ac_cv_zlib=check 49157 if test "x$ac_cv_with_zlib" != x && test "x$ac_cv_with_zlib" != xauto-detect; then : 49158 if test -d "$ac_cv_with_zlib"; then : 49159 CFLAGS="$CFLAGS -I${ac_cv_with_zlib}/include" 49160 LDFLAGS="$LDFLAGS -L${ac_cv_with_zlib}/lib" 49161else 49162 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 49163$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 49164as_fn_error 1 "no such directory: $ac_cv_with_zlib 49165See \`config.log' for more details" "$LINENO" 5; } 49166 49167fi 49168 49169else 49170 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 49171 49172pkg_failed=no 49173{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlib" >&5 49174$as_echo_n "checking for zlib... " >&6; } 49175 49176if test -n "$zlib_CFLAGS"; then 49177 pkg_cv_zlib_CFLAGS="$zlib_CFLAGS" 49178 elif test -n "$PKG_CONFIG"; then 49179 if test -n "$PKG_CONFIG" && \ 49180 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zlib >= 1.2.5\""; } >&5 49181 ($PKG_CONFIG --exists --print-errors "zlib >= 1.2.5") 2>&5 49182 ac_status=$? 49183 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 49184 test $ac_status = 0; }; then 49185 pkg_cv_zlib_CFLAGS=`$PKG_CONFIG --cflags "zlib >= 1.2.5" 2>/dev/null` 49186 test "x$?" != "x0" && pkg_failed=yes 49187else 49188 pkg_failed=yes 49189fi 49190 else 49191 pkg_failed=untried 49192fi 49193if test -n "$zlib_LIBS"; then 49194 pkg_cv_zlib_LIBS="$zlib_LIBS" 49195 elif test -n "$PKG_CONFIG"; then 49196 if test -n "$PKG_CONFIG" && \ 49197 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"zlib >= 1.2.5\""; } >&5 49198 ($PKG_CONFIG --exists --print-errors "zlib >= 1.2.5") 2>&5 49199 ac_status=$? 49200 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 49201 test $ac_status = 0; }; then 49202 pkg_cv_zlib_LIBS=`$PKG_CONFIG --libs "zlib >= 1.2.5" 2>/dev/null` 49203 test "x$?" != "x0" && pkg_failed=yes 49204else 49205 pkg_failed=yes 49206fi 49207 else 49208 pkg_failed=untried 49209fi 49210 49211 49212 49213if test $pkg_failed = yes; then 49214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 49215$as_echo "no" >&6; } 49216 49217if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 49218 _pkg_short_errors_supported=yes 49219else 49220 _pkg_short_errors_supported=no 49221fi 49222 if test $_pkg_short_errors_supported = yes; then 49223 zlib_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "zlib >= 1.2.5" 2>&1` 49224 else 49225 zlib_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "zlib >= 1.2.5" 2>&1` 49226 fi 49227 # Put the nasty error message in config.log where it belongs 49228 echo "$zlib_PKG_ERRORS" >&5 49229 49230 ac_cv_zlib=check 49231elif test $pkg_failed = untried; then 49232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 49233$as_echo "no" >&6; } 49234 ac_cv_zlib=check 49235else 49236 zlib_CFLAGS=$pkg_cv_zlib_CFLAGS 49237 zlib_LIBS=$pkg_cv_zlib_LIBS 49238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 49239$as_echo "yes" >&6; } 49240 ac_cv_zlib=zlib 49241fi 49242 49243fi 49244 if test "x$ac_cv_zlib" = xzlib; then : 49245 ac_cv_zlib_CPPFLAGS="$pkg_cv_zlib_CFLAGS" 49246 ac_cv_zlib_LIBADD="$pkg_cv_zlib_LIBS" 49247fi 49248 49249fi 49250 49251 if test "x$ac_cv_zlib" = xcheck; then : 49252 for ac_header in zlib.h 49253do : 49254 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default" 49255if test "x$ac_cv_header_zlib_h" = xyes; then : 49256 cat >>confdefs.h <<_ACEOF 49257#define HAVE_ZLIB_H 1 49258_ACEOF 49259 49260fi 49261 49262done 49263 49264 49265 if test "x$ac_cv_header_zlib_h" = xno; then : 49266 ac_cv_zlib=no 49267else 49268 ac_cv_zlib=zlib 49269 49270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlibVersion in -lz" >&5 49271$as_echo_n "checking for zlibVersion in -lz... " >&6; } 49272if ${ac_cv_lib_z_zlibVersion+:} false; then : 49273 $as_echo_n "(cached) " >&6 49274else 49275 ac_check_lib_save_LIBS=$LIBS 49276LIBS="-lz $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 zlibVersion (); 49287int 49288main () 49289{ 49290return zlibVersion (); 49291 ; 49292 return 0; 49293} 49294_ACEOF 49295if ac_fn_c_try_link "$LINENO"; then : 49296 ac_cv_lib_z_zlibVersion=yes 49297else 49298 ac_cv_lib_z_zlibVersion=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_z_zlibVersion" >&5 49305$as_echo "$ac_cv_lib_z_zlibVersion" >&6; } 49306if test "x$ac_cv_lib_z_zlibVersion" = xyes; then : 49307 cat >>confdefs.h <<_ACEOF 49308#define HAVE_LIBZ 1 49309_ACEOF 49310 49311 LIBS="-lz $LIBS" 49312 49313else 49314 ac_cv_zlib=no 49315fi 49316 49317 49318 if test "x$ac_cv_lib_z_zlibVersion" = xno; then : 49319 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 49320$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 49321as_fn_error 1 "Missing function: zlibVersion in library: zlib. 49322See \`config.log' for more details" "$LINENO" 5; } 49323 49324fi 49325 49326 ac_cv_zlib_LIBADD="-lz"; 49327 49328fi 49329 49330fi 49331 49332fi 49333 49334 if test "x$ac_cv_zlib" = xzlib; then : 49335 49336$as_echo "#define HAVE_ZLIB 1" >>confdefs.h 49337 49338 49339fi 49340 49341 if test "x$ac_cv_zlib" != xno; then : 49342 HAVE_ZLIB=1 49343 49344else 49345 HAVE_ZLIB=0 49346 49347 49348fi 49349 49350 49351 if test "x$ac_cv_zlib_CPPFLAGS" != "x"; then : 49352 ZLIB_CPPFLAGS=$ac_cv_zlib_CPPFLAGS 49353 49354 49355fi 49356 if test "x$ac_cv_zlib_LIBADD" != "x"; then : 49357 ZLIB_LIBADD=$ac_cv_zlib_LIBADD 49358 49359 49360fi 49361 49362 if test "x$ac_cv_zlib" = xzlib; then : 49363 ax_zlib_pc_libs_private=-lz 49364 49365 49366fi 49367 49368 if test "x$ac_cv_zlib" = xzlib; then : 49369 ax_zlib_spec_requires=zlib 49370 49371 ax_zlib_spec_build_requires=zlib-devel 49372 49373 ax_zlib_static_spec_requires=zlib-static 49374 49375 ax_zlib_static_spec_build_requires=zlib-static 49376 49377 49378fi 49379 49380if test "x$ac_cv_zlib" != xzlib; then : 49381 ac_cv_uncompress=local 49382else 49383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uncompress in -lz" >&5 49384$as_echo_n "checking for uncompress in -lz... " >&6; } 49385if ${ac_cv_lib_z_uncompress+:} false; then : 49386 $as_echo_n "(cached) " >&6 49387else 49388 ac_check_lib_save_LIBS=$LIBS 49389LIBS="-lz $LIBS" 49390cat confdefs.h - <<_ACEOF >conftest.$ac_ext 49391/* end confdefs.h. */ 49392 49393/* Override any GCC internal prototype to avoid an error. 49394 Use char because int might match the return type of a GCC 49395 builtin and then its argument prototype would still apply. */ 49396#ifdef __cplusplus 49397extern "C" 49398#endif 49399char uncompress (); 49400int 49401main () 49402{ 49403return uncompress (); 49404 ; 49405 return 0; 49406} 49407_ACEOF 49408if ac_fn_c_try_link "$LINENO"; then : 49409 ac_cv_lib_z_uncompress=yes 49410else 49411 ac_cv_lib_z_uncompress=no 49412fi 49413rm -f core conftest.err conftest.$ac_objext \ 49414 conftest$ac_exeext conftest.$ac_ext 49415LIBS=$ac_check_lib_save_LIBS 49416fi 49417{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_uncompress" >&5 49418$as_echo "$ac_cv_lib_z_uncompress" >&6; } 49419if test "x$ac_cv_lib_z_uncompress" = xyes; then : 49420 ac_cv_uncompress=zlib 49421else 49422 ac_cv_uncompress=local 49423fi 49424 49425 49426 if test "x$ac_cv_uncompress" = xzlib; then : 49427 49428$as_echo "#define HAVE_ZLIB_UNCOMPRESS 1" >>confdefs.h 49429 49430 49431fi 49432 49433fi 49434 49435 49436 for ac_func in bindtextdomain 49437do : 49438 ac_fn_c_check_func "$LINENO" "bindtextdomain" "ac_cv_func_bindtextdomain" 49439if test "x$ac_cv_func_bindtextdomain" = xyes; then : 49440 cat >>confdefs.h <<_ACEOF 49441#define HAVE_BINDTEXTDOMAIN 1 49442_ACEOF 49443 49444fi 49445done 49446 49447 49448 49449 49450 49451# Check whether --with-pyprefix was given. 49452if test "${with_pyprefix+set}" = set; then : 49453 withval=$with_pyprefix; ac_cv_with_pyprefix=$withval 49454else 49455 ac_cv_with_pyprefix=no 49456fi 49457 49458 { $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 49459$as_echo_n "checking whether to use use \`python-config --prefix' to determine the prefix of pythondir instead of --prefix... " >&6; } 49460if ${ac_cv_with_pyprefix+:} false; then : 49461 $as_echo_n "(cached) " >&6 49462else 49463 ac_cv_with_pyprefix=no 49464fi 49465{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_pyprefix" >&5 49466$as_echo "$ac_cv_with_pyprefix" >&6; } 49467 49468 49469 49470 # Check whether --enable-python was given. 49471if test "${enable_python+set}" = set; then : 49472 enableval=$enable_python; ac_cv_enable_python=$enableval 49473else 49474 ac_cv_enable_python=no 49475fi 49476 49477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable build Python bindings" >&5 49478$as_echo_n "checking whether to enable build Python bindings... " >&6; } 49479if ${ac_cv_enable_python+:} false; then : 49480 $as_echo_n "(cached) " >&6 49481else 49482 ac_cv_enable_python=no 49483fi 49484{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_python" >&5 49485$as_echo "$ac_cv_enable_python" >&6; } 49486 49487 49488# Check whether --with-pythondir was given. 49489if test "${with_pythondir+set}" = set; then : 49490 withval=$with_pythondir; ac_cv_with_pythondir=$withval 49491else 49492 ac_cv_with_pythondir=no 49493fi 49494 49495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use use to specify the Python directory (pythondir)" >&5 49496$as_echo_n "checking whether to use use to specify the Python directory (pythondir)... " >&6; } 49497if ${ac_cv_with_pythondir+:} false; then : 49498 $as_echo_n "(cached) " >&6 49499else 49500 ac_cv_with_pythondir=no 49501fi 49502{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_pythondir" >&5 49503$as_echo "$ac_cv_with_pythondir" >&6; } 49504 49505 49506 # Check whether --enable-python2 was given. 49507if test "${enable_python2+set}" = set; then : 49508 enableval=$enable_python2; ac_cv_enable_python2=$enableval 49509else 49510 ac_cv_enable_python2=no 49511fi 49512 49513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable build Python 2 bindings" >&5 49514$as_echo_n "checking whether to enable build Python 2 bindings... " >&6; } 49515if ${ac_cv_enable_python2+:} false; then : 49516 $as_echo_n "(cached) " >&6 49517else 49518 ac_cv_enable_python2=no 49519fi 49520{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_python2" >&5 49521$as_echo "$ac_cv_enable_python2" >&6; } 49522 49523 49524# Check whether --with-pythondir2 was given. 49525if test "${with_pythondir2+set}" = set; then : 49526 withval=$with_pythondir2; ac_cv_with_pythondir2=$withval 49527else 49528 ac_cv_with_pythondir2=no 49529fi 49530 49531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use use to specify the Python 2 directory (pythondir2)" >&5 49532$as_echo_n "checking whether to use use to specify the Python 2 directory (pythondir2)... " >&6; } 49533if ${ac_cv_with_pythondir2+:} false; then : 49534 $as_echo_n "(cached) " >&6 49535else 49536 ac_cv_with_pythondir2=no 49537fi 49538{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_pythondir2" >&5 49539$as_echo "$ac_cv_with_pythondir2" >&6; } 49540 49541 49542 # Check whether --enable-python3 was given. 49543if test "${enable_python3+set}" = set; then : 49544 enableval=$enable_python3; ac_cv_enable_python3=$enableval 49545else 49546 ac_cv_enable_python3=no 49547fi 49548 49549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable build Python 3 bindings" >&5 49550$as_echo_n "checking whether to enable build Python 3 bindings... " >&6; } 49551if ${ac_cv_enable_python3+:} false; then : 49552 $as_echo_n "(cached) " >&6 49553else 49554 ac_cv_enable_python3=no 49555fi 49556{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_python3" >&5 49557$as_echo "$ac_cv_enable_python3" >&6; } 49558 49559 49560# Check whether --with-pythondir3 was given. 49561if test "${with_pythondir3+set}" = set; then : 49562 withval=$with_pythondir3; ac_cv_with_pythondir3=$withval 49563else 49564 ac_cv_with_pythondir3=no 49565fi 49566 49567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use use to specify the Python 3 directory (pythondir3)" >&5 49568$as_echo_n "checking whether to use use to specify the Python 3 directory (pythondir3)... " >&6; } 49569if ${ac_cv_with_pythondir3+:} false; then : 49570 $as_echo_n "(cached) " >&6 49571else 49572 ac_cv_with_pythondir3=no 49573fi 49574{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_pythondir3" >&5 49575$as_echo "$ac_cv_with_pythondir3" >&6; } 49576 49577 if test "x${ac_cv_enable_python}" != xno; then : 49578 if test "x${PYTHON_VERSION}" != x; then : 49579 ax_python_progs="python${PYTHON_VERSION}" 49580else 49581 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" 49582fi 49583 for ac_prog in $ax_python_progs 49584do 49585 # Extract the first word of "$ac_prog", so it can be a program name with args. 49586set dummy $ac_prog; ac_word=$2 49587{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 49588$as_echo_n "checking for $ac_word... " >&6; } 49589if ${ac_cv_prog_PYTHON+:} false; then : 49590 $as_echo_n "(cached) " >&6 49591else 49592 if test -n "$PYTHON"; then 49593 ac_cv_prog_PYTHON="$PYTHON" # Let the user override the test. 49594else 49595as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 49596for as_dir in $PATH 49597do 49598 IFS=$as_save_IFS 49599 test -z "$as_dir" && as_dir=. 49600 for ac_exec_ext in '' $ac_executable_extensions; do 49601 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 49602 ac_cv_prog_PYTHON="$ac_prog" 49603 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 49604 break 2 49605 fi 49606done 49607 done 49608IFS=$as_save_IFS 49609 49610fi 49611fi 49612PYTHON=$ac_cv_prog_PYTHON 49613if test -n "$PYTHON"; then 49614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5 49615$as_echo "$PYTHON" >&6; } 49616else 49617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 49618$as_echo "no" >&6; } 49619fi 49620 49621 49622 test -n "$PYTHON" && break 49623done 49624 49625 if test "x${PYTHON}" != x; then : 49626 ax_prog_python_version=`${PYTHON} -c "import sys; sys.stdout.write(sys.version[:3])" 2>/dev/null`; 49627 ax_prog_python_platform=`${PYTHON} -c "import sys; sys.stdout.write(sys.platform)" 2>/dev/null`; 49628 PYTHON_PLATFORM=$ax_prog_python_platform 49629 49630 49631else 49632 as_fn_error $? "Unable to find python" "$LINENO" 5 49633 49634fi 49635 PYTHON=$PYTHON 49636 49637 49638 if test "x${PYTHON_CONFIG}" = x && test "x${PYTHON_VERSION}" != x; then : 49639 for ac_prog in python${PYTHON_VERSION}-config 49640do 49641 # Extract the first word of "$ac_prog", so it can be a program name with args. 49642set dummy $ac_prog; ac_word=$2 49643{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 49644$as_echo_n "checking for $ac_word... " >&6; } 49645if ${ac_cv_prog_PYTHON_CONFIG+:} false; then : 49646 $as_echo_n "(cached) " >&6 49647else 49648 if test -n "$PYTHON_CONFIG"; then 49649 ac_cv_prog_PYTHON_CONFIG="$PYTHON_CONFIG" # Let the user override the test. 49650else 49651as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 49652for as_dir in $PATH 49653do 49654 IFS=$as_save_IFS 49655 test -z "$as_dir" && as_dir=. 49656 for ac_exec_ext in '' $ac_executable_extensions; do 49657 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 49658 ac_cv_prog_PYTHON_CONFIG="$ac_prog" 49659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 49660 break 2 49661 fi 49662done 49663 done 49664IFS=$as_save_IFS 49665 49666fi 49667fi 49668PYTHON_CONFIG=$ac_cv_prog_PYTHON_CONFIG 49669if test -n "$PYTHON_CONFIG"; then 49670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_CONFIG" >&5 49671$as_echo "$PYTHON_CONFIG" >&6; } 49672else 49673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 49674$as_echo "no" >&6; } 49675fi 49676 49677 49678 test -n "$PYTHON_CONFIG" && break 49679done 49680 49681 49682fi 49683 if test "x${PYTHON_CONFIG}" = x; then : 49684 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 49685do 49686 # Extract the first word of "$ac_prog", so it can be a program name with args. 49687set dummy $ac_prog; ac_word=$2 49688{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 49689$as_echo_n "checking for $ac_word... " >&6; } 49690if ${ac_cv_prog_PYTHON_CONFIG+:} false; then : 49691 $as_echo_n "(cached) " >&6 49692else 49693 if test -n "$PYTHON_CONFIG"; then 49694 ac_cv_prog_PYTHON_CONFIG="$PYTHON_CONFIG" # Let the user override the test. 49695else 49696as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 49697for as_dir in $PATH 49698do 49699 IFS=$as_save_IFS 49700 test -z "$as_dir" && as_dir=. 49701 for ac_exec_ext in '' $ac_executable_extensions; do 49702 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 49703 ac_cv_prog_PYTHON_CONFIG="$ac_prog" 49704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 49705 break 2 49706 fi 49707done 49708 done 49709IFS=$as_save_IFS 49710 49711fi 49712fi 49713PYTHON_CONFIG=$ac_cv_prog_PYTHON_CONFIG 49714if test -n "$PYTHON_CONFIG"; then 49715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_CONFIG" >&5 49716$as_echo "$PYTHON_CONFIG" >&6; } 49717else 49718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 49719$as_echo "no" >&6; } 49720fi 49721 49722 49723 test -n "$PYTHON_CONFIG" && break 49724done 49725 49726 49727fi 49728 if test "x${PYTHON_CONFIG}" = x; then : 49729 as_fn_error $? "Unable to find python-config" "$LINENO" 5 49730 49731fi 49732 PYTHON_CONFIG=$PYTHON_CONFIG 49733 49734 49735 49736 if test "x${PYTHON_CONFIG}" != x; then : 49737 PYTHON_INCLUDES=`${PYTHON_CONFIG} --includes 2>/dev/null`; 49738 49739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python includes" >&5 49740$as_echo_n "checking for Python includes... " >&6; } 49741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_INCLUDES" >&5 49742$as_echo "$PYTHON_INCLUDES" >&6; } 49743 49744 PYTHON_LDFLAGS=`${PYTHON_CONFIG} --ldflags 2>/dev/null`; 49745 49746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python libraries" >&5 49747$as_echo_n "checking for Python libraries... " >&6; } 49748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_LDFLAGS" >&5 49749$as_echo "$PYTHON_LDFLAGS" >&6; } 49750 49751 case $host_os in #( 49752 cygwin*) : 49753 PYTHON_LDFLAGS="${PYTHON_LDFLAGS} -no-undefined" ;; #( 49754 *) : 49755 ;; #( 49756 *) : 49757 ;; 49758esac 49759 49760 BACKUP_CPPFLAGS="${CPPFLAGS}" 49761 CPPFLAGS="${CPPFLAGS} ${PYTHON_INCLUDES}" 49762 49763 for ac_header in Python.h 49764do : 49765 ac_fn_c_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default" 49766if test "x$ac_cv_header_Python_h" = xyes; then : 49767 cat >>confdefs.h <<_ACEOF 49768#define HAVE_PYTHON_H 1 49769_ACEOF 49770 ac_cv_header_python_h=yes 49771else 49772 ac_cv_header_python_h=no 49773fi 49774 49775done 49776 49777 49778 CPPFLAGS="${BACKUP_CPPFLAGS}" 49779 49780fi 49781 49782 if test "x${ac_cv_header_python_h}" != xyes; then : 49783 ac_cv_enable_python=no 49784else 49785 ac_cv_enable_python=${ax_prog_python_version} 49786 PYTHON_CPPFLAGS=$PYTHON_INCLUDES 49787 49788 49789 PYTHON_LDFLAGS=$PYTHON_LDFLAGS 49790 49791 49792 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 49793 ax_python_prefix="\${prefix}" 49794else 49795 ax_python_prefix=`${PYTHON_CONFIG} --prefix 2>/dev/null` 49796fi 49797 49798 PYTHON_PREFIX=$ax_python_prefix 49799 49800 49801 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 49802 ax_python_exec_prefix="\${exec_prefix}" 49803else 49804 ax_python_exec_prefix=`${PYTHON_CONFIG} --exec-prefix 2>/dev/null` 49805fi 49806 49807 PYTHON_EXEC_PREFIX=$ax_python_exec_prefix 49808 49809 49810 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`; 49811 49812 if test "x${ac_cv_with_pythondir}" = x || test "x${ac_cv_with_pythondir}" = xno; then : 49813 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 49814 ax_python_pythondir="${ax_python_prefix}/${ax_python_pythondir_suffix}" 49815else 49816 ax_python_pythondir=`${PYTHON} -c "import sys; import distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_python_lib()) " 2>/dev/null` 49817fi 49818else 49819 ax_python_pythondir=$ac_cv_with_pythondir 49820fi 49821 49822 pythondir=$ax_python_pythondir 49823 49824 49825 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`; 49826 ax_python_library_dir=`${PYTHON} -c "import sys; import distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_python_lib(True)) " 2>/dev/null`; 49827 49828 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 49829 ax_python_pyexecdir="${ax_python_exec_prefix}/${ax_python_pyexecdir_suffix}" 49830else 49831 ax_python_pyexecdir=$ax_python_library_dir 49832fi 49833 49834 pyexecdir=$ax_python_pyexecdir 49835 49836 49837 PYTHON_LIBRARY_DIR=$ax_python_pyexecdir_suffix 49838 49839 49840 PYTHON_PACKAGE_DIR=$ax_python_library_dir 49841 49842 49843fi 49844 49845fi 49846 49847 if test "x${ac_cv_enable_python2}" != xno; then : 49848 ax_python2_progs="python2 python2.7 python2.6 python2.5" 49849 for ac_prog in $ax_python2_progs 49850do 49851 # Extract the first word of "$ac_prog", so it can be a program name with args. 49852set dummy $ac_prog; ac_word=$2 49853{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 49854$as_echo_n "checking for $ac_word... " >&6; } 49855if ${ac_cv_prog_PYTHON2+:} false; then : 49856 $as_echo_n "(cached) " >&6 49857else 49858 if test -n "$PYTHON2"; then 49859 ac_cv_prog_PYTHON2="$PYTHON2" # Let the user override the test. 49860else 49861as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 49862for as_dir in $PATH 49863do 49864 IFS=$as_save_IFS 49865 test -z "$as_dir" && as_dir=. 49866 for ac_exec_ext in '' $ac_executable_extensions; do 49867 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 49868 ac_cv_prog_PYTHON2="$ac_prog" 49869 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 49870 break 2 49871 fi 49872done 49873 done 49874IFS=$as_save_IFS 49875 49876fi 49877fi 49878PYTHON2=$ac_cv_prog_PYTHON2 49879if test -n "$PYTHON2"; then 49880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON2" >&5 49881$as_echo "$PYTHON2" >&6; } 49882else 49883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 49884$as_echo "no" >&6; } 49885fi 49886 49887 49888 test -n "$PYTHON2" && break 49889done 49890 49891 if test "x${PYTHON2}" != x; then : 49892 ax_prog_python2_version=`${PYTHON2} -c "import sys; sys.stdout.write(sys.version[:3])" 2>/dev/null`; 49893 PYTHON2_VERSION=$ax_prog_python2_version 49894 49895 49896 ax_prog_python2_platform=`${PYTHON2} -c "import sys; sys.stdout.write(sys.platform)" 2>/dev/null`; 49897 PYTHON2_PLATFORM=$ax_prog_python2_platform 49898 49899 49900else 49901 as_fn_error $? "Unable to find python2" "$LINENO" 5 49902 49903fi 49904 PYTHON2=$PYTHON2 49905 49906 49907 if test "x${PYTHON2_CONFIG}" = x; then : 49908 for ac_prog in python2-config python2.7-config python2.6-config python2.5-config 49909do 49910 # Extract the first word of "$ac_prog", so it can be a program name with args. 49911set dummy $ac_prog; ac_word=$2 49912{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 49913$as_echo_n "checking for $ac_word... " >&6; } 49914if ${ac_cv_prog_PYTHON2_CONFIG+:} false; then : 49915 $as_echo_n "(cached) " >&6 49916else 49917 if test -n "$PYTHON2_CONFIG"; then 49918 ac_cv_prog_PYTHON2_CONFIG="$PYTHON2_CONFIG" # Let the user override the test. 49919else 49920as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 49921for as_dir in $PATH 49922do 49923 IFS=$as_save_IFS 49924 test -z "$as_dir" && as_dir=. 49925 for ac_exec_ext in '' $ac_executable_extensions; do 49926 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 49927 ac_cv_prog_PYTHON2_CONFIG="$ac_prog" 49928 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 49929 break 2 49930 fi 49931done 49932 done 49933IFS=$as_save_IFS 49934 49935fi 49936fi 49937PYTHON2_CONFIG=$ac_cv_prog_PYTHON2_CONFIG 49938if test -n "$PYTHON2_CONFIG"; then 49939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON2_CONFIG" >&5 49940$as_echo "$PYTHON2_CONFIG" >&6; } 49941else 49942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 49943$as_echo "no" >&6; } 49944fi 49945 49946 49947 test -n "$PYTHON2_CONFIG" && break 49948done 49949 49950 49951fi 49952 if test "x${PYTHON2_CONFIG}" = x; then : 49953 as_fn_error $? "Unable to find python2-config" "$LINENO" 5 49954 49955fi 49956 PYTHON2_CONFIG=$PYTHON2_CONFIG 49957 49958 49959 49960 if test "x${PYTHON2_CONFIG}" != x; then : 49961 PYTHON2_INCLUDES=`${PYTHON2_CONFIG} --includes 2>/dev/null`; 49962 49963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python verison 2 includes" >&5 49964$as_echo_n "checking for Python verison 2 includes... " >&6; } 49965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON2_INCLUDES" >&5 49966$as_echo "$PYTHON2_INCLUDES" >&6; } 49967 49968 PYTHON2_LDFLAGS=`${PYTHON2_CONFIG} --ldflags 2>/dev/null`; 49969 49970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python 2 libraries" >&5 49971$as_echo_n "checking for Python 2 libraries... " >&6; } 49972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON2_LDFLAGS" >&5 49973$as_echo "$PYTHON2_LDFLAGS" >&6; } 49974 49975 case $host_os in #( 49976 cygwin*) : 49977 PYTHON2_LDFLAGS="${PYTHON2_LDFLAGS} -no-undefined" ;; #( 49978 *) : 49979 ;; #( 49980 *) : 49981 ;; 49982esac 49983 49984 BACKUP_CPPFLAGS="${CPPFLAGS}" 49985 CPPFLAGS="${CPPFLAGS} ${PYTHON2_INCLUDES}" 49986 49987 for ac_header in Python.h 49988do : 49989 ac_fn_c_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default" 49990if test "x$ac_cv_header_Python_h" = xyes; then : 49991 cat >>confdefs.h <<_ACEOF 49992#define HAVE_PYTHON_H 1 49993_ACEOF 49994 ac_cv_header_python2_h=yes 49995else 49996 ac_cv_header_python2_h=no 49997fi 49998 49999done 50000 50001 50002 CPPFLAGS="${BACKUP_CPPFLAGS}" 50003 50004fi 50005 50006 if test "x${ac_cv_header_python2_h}" != xyes; then : 50007 ac_cv_enable_python2=no 50008else 50009 ac_cv_enable_python2=$PYTHON2_VERSION 50010 PYTHON2_CPPFLAGS=$PYTHON2_INCLUDES 50011 50012 50013 PYTHON2_LDFLAGS=$PYTHON2_LDFLAGS 50014 50015 50016 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 50017 ax_python2_prefix="\${prefix}" 50018else 50019 ax_python2_prefix=`${PYTHON2_CONFIG} --prefix 2>/dev/null` 50020fi 50021 50022 PYTHON2_PREFIX=$ax_python2_prefix 50023 50024 50025 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 50026 ax_python2_exec_prefix="\${exec_prefix}" 50027else 50028 ax_python2_exec_prefix=`${PYTHON2_CONFIG} --exec-prefix 2>/dev/null` 50029fi 50030 50031 PYTHON2_EXEC_PREFIX=$ax_python2_exec_prefix 50032 50033 50034 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`; 50035 50036 if test "x${ac_cv_with_pythondir2}" = x || test "x${ac_cv_with_pythondir2}" = xno; then : 50037 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 50038 ax_python2_pythondir="${ax_python_prefix}/${ax_python2_pythondir_suffix}" 50039else 50040 ax_python2_pythondir=`${PYTHON2} -c "import sys; import distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_python_lib()) " 2>/dev/null` 50041fi 50042else 50043 ax_python2_pythondir=$ac_cv_with_pythondir2 50044fi 50045 50046 pythondir2=$ax_python2_pythondir 50047 50048 50049 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`; 50050 ax_python2_library_dir=`${PYTHON2} -c "import sys; import distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_python_lib(True)) " 2>/dev/null`; 50051 50052 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 50053 ax_python2_pyexecdir="${ax_python2_exec_prefix}/${ax_python2_pyexecdir_suffix}" 50054else 50055 ax_python2_pyexecdir=$ax_python2_library_dir 50056fi 50057 50058 pyexecdir2=$ax_python2_pyexecdir 50059 50060 50061 PYTHON2_LIBRARY_DIR=$ax_python2_pyexecdir_suffix 50062 50063 50064 PYTHON2_PACKAGE_DIR=$ax_python2_library_dir 50065 50066 50067fi 50068 50069fi 50070 50071 if test "x${ac_cv_enable_python3}" != xno; then : 50072 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" 50073 for ac_prog in $ax_python3_progs 50074do 50075 # Extract the first word of "$ac_prog", so it can be a program name with args. 50076set dummy $ac_prog; ac_word=$2 50077{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 50078$as_echo_n "checking for $ac_word... " >&6; } 50079if ${ac_cv_prog_PYTHON3+:} false; then : 50080 $as_echo_n "(cached) " >&6 50081else 50082 if test -n "$PYTHON3"; then 50083 ac_cv_prog_PYTHON3="$PYTHON3" # Let the user override the test. 50084else 50085as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 50086for as_dir in $PATH 50087do 50088 IFS=$as_save_IFS 50089 test -z "$as_dir" && as_dir=. 50090 for ac_exec_ext in '' $ac_executable_extensions; do 50091 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 50092 ac_cv_prog_PYTHON3="$ac_prog" 50093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 50094 break 2 50095 fi 50096done 50097 done 50098IFS=$as_save_IFS 50099 50100fi 50101fi 50102PYTHON3=$ac_cv_prog_PYTHON3 50103if test -n "$PYTHON3"; then 50104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON3" >&5 50105$as_echo "$PYTHON3" >&6; } 50106else 50107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 50108$as_echo "no" >&6; } 50109fi 50110 50111 50112 test -n "$PYTHON3" && break 50113done 50114 50115 if test "x${PYTHON3}" != x; then : 50116 ax_prog_python3_version=`${PYTHON3} -c "import sys; sys.stdout.write(sys.version[:3])" 2>/dev/null`; 50117 PYTHON3_VERSION=$ax_prog_python3_version 50118 50119 50120 ax_prog_python3_platform=`${PYTHON3} -c "import sys; sys.stdout.write(sys.platform)" 2>/dev/null`; 50121 PYTHON3_PLATFORM=$ax_prog_python3_platform 50122 50123 50124else 50125 as_fn_error $? "Unable to find python3" "$LINENO" 5 50126 50127fi 50128 PYTHON3=$PYTHON3 50129 50130 50131 if test "x${PYTHON3_CONFIG}" = x; then : 50132 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 50133do 50134 # Extract the first word of "$ac_prog", so it can be a program name with args. 50135set dummy $ac_prog; ac_word=$2 50136{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 50137$as_echo_n "checking for $ac_word... " >&6; } 50138if ${ac_cv_prog_PYTHON3_CONFIG+:} false; then : 50139 $as_echo_n "(cached) " >&6 50140else 50141 if test -n "$PYTHON3_CONFIG"; then 50142 ac_cv_prog_PYTHON3_CONFIG="$PYTHON3_CONFIG" # Let the user override the test. 50143else 50144as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 50145for as_dir in $PATH 50146do 50147 IFS=$as_save_IFS 50148 test -z "$as_dir" && as_dir=. 50149 for ac_exec_ext in '' $ac_executable_extensions; do 50150 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 50151 ac_cv_prog_PYTHON3_CONFIG="$ac_prog" 50152 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 50153 break 2 50154 fi 50155done 50156 done 50157IFS=$as_save_IFS 50158 50159fi 50160fi 50161PYTHON3_CONFIG=$ac_cv_prog_PYTHON3_CONFIG 50162if test -n "$PYTHON3_CONFIG"; then 50163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON3_CONFIG" >&5 50164$as_echo "$PYTHON3_CONFIG" >&6; } 50165else 50166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 50167$as_echo "no" >&6; } 50168fi 50169 50170 50171 test -n "$PYTHON3_CONFIG" && break 50172done 50173 50174 50175fi 50176 if test "x${PYTHON3_CONFIG}" = x; then : 50177 as_fn_error $? "Unable to find python3-config" "$LINENO" 5 50178 50179fi 50180 PYTHON3_CONFIG=$PYTHON3_CONFIG 50181 50182 50183 50184 if test "x${PYTHON3_CONFIG}" != x; then : 50185 PYTHON3_INCLUDES=`${PYTHON3_CONFIG} --includes 2>/dev/null`; 50186 50187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python verison 3 includes" >&5 50188$as_echo_n "checking for Python verison 3 includes... " >&6; } 50189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON3_INCLUDES" >&5 50190$as_echo "$PYTHON3_INCLUDES" >&6; } 50191 50192 PYTHON3_LDFLAGS=`${PYTHON3_CONFIG} --ldflags 2>/dev/null`; 50193 50194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python 3 libraries" >&5 50195$as_echo_n "checking for Python 3 libraries... " >&6; } 50196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON3_LDFLAGS" >&5 50197$as_echo "$PYTHON3_LDFLAGS" >&6; } 50198 50199 case $host_os in #( 50200 cygwin*) : 50201 PYTHON3_LDFLAGS="${PYTHON3_LDFLAGS} -no-undefined" ;; #( 50202 *) : 50203 ;; #( 50204 *) : 50205 ;; 50206esac 50207 50208 BACKUP_CPPFLAGS="${CPPFLAGS}" 50209 CPPFLAGS="${CPPFLAGS} ${PYTHON3_INCLUDES}" 50210 50211 for ac_header in Python.h 50212do : 50213 ac_fn_c_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default" 50214if test "x$ac_cv_header_Python_h" = xyes; then : 50215 cat >>confdefs.h <<_ACEOF 50216#define HAVE_PYTHON_H 1 50217_ACEOF 50218 ac_cv_header_python3_h=yes 50219else 50220 ac_cv_header_python3_h=no 50221fi 50222 50223done 50224 50225 50226 CPPFLAGS="${BACKUP_CPPFLAGS}" 50227 50228fi 50229 50230 if test "x${ac_cv_header_python3_h}" != xyes; then : 50231 ac_cv_enable_python3=no 50232else 50233 ac_cv_enable_python3=$PYTHON3_VERSION 50234 PYTHON3_CPPFLAGS=$PYTHON3_INCLUDES 50235 50236 50237 PYTHON3_LDFLAGS=$PYTHON3_LDFLAGS 50238 50239 50240 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 50241 ax_python3_prefix="\${prefix}" 50242else 50243 ax_python3_prefix=`${PYTHON3_CONFIG} --prefix 2>/dev/null` 50244fi 50245 50246 PYTHON3_PREFIX=$ax_python3_prefix 50247 50248 50249 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 50250 ax_python3_exec_prefix="\${exec_prefix}" 50251else 50252 ax_python3_exec_prefix=`${PYTHON3_CONFIG} --exec-prefix 2>/dev/null` 50253fi 50254 50255 PYTHON3_EXEC_PREFIX=$ax_python3_exec_prefix 50256 50257 50258 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`; 50259 50260 if test "x${ac_cv_with_pythondir3}" = x || test "x${ac_cv_with_pythondir3}" = xno; then : 50261 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 50262 ax_python3_pythondir="${ax_python_prefix}/${ax_python3_pythondir_suffix}" 50263else 50264 ax_python3_pythondir=`${PYTHON3} -c "import sys; import distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_python_lib()) " 2>/dev/null` 50265fi 50266else 50267 ax_python3_pythondir=$ac_cv_with_pythondir3 50268fi 50269 50270 pythondir3=$ax_python3_pythondir 50271 50272 50273 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`; 50274 ax_python3_library_dir=`${PYTHON3} -c "import sys; import distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_python_lib(True)) " 2>/dev/null`; 50275 50276 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 50277 ax_python3_pyexecdir="${ax_python3_exec_prefix}/${ax_python3_pyexecdir_suffix}" 50278else 50279 ax_python3_pyexecdir=$ax_python3_library_dir 50280fi 50281 50282 pyexecdir3=$ax_python3_pyexecdir 50283 50284 50285 PYTHON3_LIBRARY_DIR=$ax_python3_pyexecdir_suffix 50286 50287 50288 PYTHON3_PACKAGE_DIR=$ax_python3_library_dir 50289 50290 50291fi 50292 50293fi 50294 50295 if test "x${ac_cv_enable_python}" != xno; then 50296 HAVE_PYTHON_TRUE= 50297 HAVE_PYTHON_FALSE='#' 50298else 50299 HAVE_PYTHON_TRUE='#' 50300 HAVE_PYTHON_FALSE= 50301fi 50302 50303 50304 if test "x${ac_cv_enable_python2}" != xno; then 50305 HAVE_PYTHON2_TRUE= 50306 HAVE_PYTHON2_FALSE='#' 50307else 50308 HAVE_PYTHON2_TRUE='#' 50309 HAVE_PYTHON2_FALSE= 50310fi 50311 50312 50313 if test "x${ac_cv_enable_python3}" != xno; then 50314 HAVE_PYTHON3_TRUE= 50315 HAVE_PYTHON3_FALSE='#' 50316else 50317 HAVE_PYTHON3_TRUE='#' 50318 HAVE_PYTHON3_FALSE= 50319fi 50320 50321 50322 if test "x${ac_cv_enable_python}" != xno || test "x${ac_cv_enable_python2}" != xno || test "x${ac_cv_enable_python3}" != xno; then 50323 HAVE_PYTHON_TESTS_TRUE= 50324 HAVE_PYTHON_TESTS_FALSE='#' 50325else 50326 HAVE_PYTHON_TESTS_TRUE='#' 50327 HAVE_PYTHON_TESTS_FALSE= 50328fi 50329 50330 50331 if test "x${ac_cv_enable_python}" = xno; then : 50332 if test "x${ac_cv_enable_python2}" != xno || test "x${ac_cv_enable_python3}" != xno; then : 50333 if test "x${ac_cv_enable_python2}" != xno; then : 50334 ac_cv_enable_python=${ac_cv_enable_python2} 50335else 50336 ac_cv_enable_python="" 50337fi 50338 if test "x${ac_cv_enable_python3}" != xno; then : 50339 if test "x${ac_cv_enable_python}" != x; then : 50340 ac_cv_enable_python="${ac_cv_enable_python}, " 50341fi 50342 ac_cv_enable_python="${ac_cv_enable_python}${ac_cv_enable_python3}" 50343fi 50344 50345fi 50346 50347fi 50348 50349 50350if test "x${ac_cv_enable_python}" != xno || test "x${ac_cv_enable_python2}" != xno || test "x${ac_cv_enable_python3}" != xno; then : 50351 for ac_header in stdarg.h varargs.h 50352do : 50353 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 50354ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 50355if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 50356 cat >>confdefs.h <<_ACEOF 50357#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 50358_ACEOF 50359 50360fi 50361 50362done 50363 50364 50365 if test "x$ac_cv_header_stdarg_h" != xyes && test "x$ac_cv_header_varargs_h" != xyes; then : 50366 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 50367$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 50368as_fn_error 1 "Missing headers: stdarg.h and varargs.h 50369See \`config.log' for more details" "$LINENO" 5; } 50370 50371fi 50372 50373fi 50374 50375 50376 50377# Check whether --with-libfuse was given. 50378if test "${with_libfuse+set}" = set; then : 50379 withval=$with_libfuse; ac_cv_with_libfuse=$withval 50380else 50381 ac_cv_with_libfuse=auto-detect 50382fi 50383 50384 { $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 50385$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; } 50386if ${ac_cv_with_libfuse+:} false; then : 50387 $as_echo_n "(cached) " >&6 50388else 50389 ac_cv_with_libfuse=auto-detect 50390fi 50391{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libfuse" >&5 50392$as_echo "$ac_cv_with_libfuse" >&6; } 50393 50394 if test "x$ac_cv_with_libfuse" != x && test "x$ac_cv_with_libfuse" != xno && test "x$ac_cv_with_libfuse" != xauto-detect; then : 50395 if test -d "$ac_cv_with_libfuse"; then : 50396 CFLAGS="$CFLAGS -I${ac_cv_with_libfuse}/include" 50397 LDFLAGS="$LDFLAGS -L${ac_cv_with_libfuse}/lib" 50398else 50399 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no such directory: $ac_cv_with_libfuse" >&5 50400$as_echo "$as_me: WARNING: no such directory: $ac_cv_with_libfuse" >&2;} 50401 50402fi 50403 50404fi 50405 50406 if test "x$ac_cv_with_libfuse" = xno; then : 50407 ac_cv_libfuse=no 50408else 50409 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 50410 50411pkg_failed=no 50412{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse" >&5 50413$as_echo_n "checking for fuse... " >&6; } 50414 50415if test -n "$fuse_CFLAGS"; then 50416 pkg_cv_fuse_CFLAGS="$fuse_CFLAGS" 50417 elif test -n "$PKG_CONFIG"; then 50418 if test -n "$PKG_CONFIG" && \ 50419 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fuse >= 2.6\""; } >&5 50420 ($PKG_CONFIG --exists --print-errors "fuse >= 2.6") 2>&5 50421 ac_status=$? 50422 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 50423 test $ac_status = 0; }; then 50424 pkg_cv_fuse_CFLAGS=`$PKG_CONFIG --cflags "fuse >= 2.6" 2>/dev/null` 50425 test "x$?" != "x0" && pkg_failed=yes 50426else 50427 pkg_failed=yes 50428fi 50429 else 50430 pkg_failed=untried 50431fi 50432if test -n "$fuse_LIBS"; then 50433 pkg_cv_fuse_LIBS="$fuse_LIBS" 50434 elif test -n "$PKG_CONFIG"; then 50435 if test -n "$PKG_CONFIG" && \ 50436 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fuse >= 2.6\""; } >&5 50437 ($PKG_CONFIG --exists --print-errors "fuse >= 2.6") 2>&5 50438 ac_status=$? 50439 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 50440 test $ac_status = 0; }; then 50441 pkg_cv_fuse_LIBS=`$PKG_CONFIG --libs "fuse >= 2.6" 2>/dev/null` 50442 test "x$?" != "x0" && pkg_failed=yes 50443else 50444 pkg_failed=yes 50445fi 50446 else 50447 pkg_failed=untried 50448fi 50449 50450 50451 50452if test $pkg_failed = yes; then 50453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 50454$as_echo "no" >&6; } 50455 50456if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 50457 _pkg_short_errors_supported=yes 50458else 50459 _pkg_short_errors_supported=no 50460fi 50461 if test $_pkg_short_errors_supported = yes; then 50462 fuse_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "fuse >= 2.6" 2>&1` 50463 else 50464 fuse_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "fuse >= 2.6" 2>&1` 50465 fi 50466 # Put the nasty error message in config.log where it belongs 50467 echo "$fuse_PKG_ERRORS" >&5 50468 50469 ac_cv_libfuse=no 50470elif test $pkg_failed = untried; then 50471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 50472$as_echo "no" >&6; } 50473 ac_cv_libfuse=no 50474else 50475 fuse_CFLAGS=$pkg_cv_fuse_CFLAGS 50476 fuse_LIBS=$pkg_cv_fuse_LIBS 50477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 50478$as_echo "yes" >&6; } 50479 ac_cv_libfuse=libfuse 50480fi 50481 50482fi 50483 50484 if test "x$ac_cv_libfuse" = xlibfuse; then : 50485 ac_cv_libfuse_CPPFLAGS="$pkg_cv_fuse_CFLAGS" 50486 ac_cv_libfuse_LIBADD="$pkg_cv_fuse_LIBS" 50487else 50488 for ac_header in fuse.h 50489do : 50490 ac_fn_c_check_header_mongrel "$LINENO" "fuse.h" "ac_cv_header_fuse_h" "$ac_includes_default" 50491if test "x$ac_cv_header_fuse_h" = xyes; then : 50492 cat >>confdefs.h <<_ACEOF 50493#define HAVE_FUSE_H 1 50494_ACEOF 50495 ac_cv_header_fuse_h=yes 50496else 50497 ac_cv_header_fuse_h=no 50498fi 50499 50500done 50501 50502 50503 if test "x$ac_cv_header_fuse_h" = xno; then : 50504 { ac_cv_header_fuse_h=; unset ac_cv_header_fuse_h;} 50505 CPPFLAGS="$CPPFLAGS -D_FILE_OFFSET_BITS=64" 50506 for ac_header in fuse.h 50507do : 50508 ac_fn_c_check_header_mongrel "$LINENO" "fuse.h" "ac_cv_header_fuse_h" "$ac_includes_default" 50509if test "x$ac_cv_header_fuse_h" = xyes; then : 50510 cat >>confdefs.h <<_ACEOF 50511#define HAVE_FUSE_H 1 50512_ACEOF 50513 50514fi 50515 50516done 50517 50518 50519fi 50520 50521 if test "x$ac_cv_header_fuse_h" = xno; then : 50522 ac_cv_libfuse=no 50523else 50524 ac_cv_libfuse=libfuse 50525 50526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_daemonize in -lfuse" >&5 50527$as_echo_n "checking for fuse_daemonize in -lfuse... " >&6; } 50528if ${ac_cv_lib_fuse_fuse_daemonize+:} false; then : 50529 $as_echo_n "(cached) " >&6 50530else 50531 ac_check_lib_save_LIBS=$LIBS 50532LIBS="-lfuse $LIBS" 50533cat confdefs.h - <<_ACEOF >conftest.$ac_ext 50534/* end confdefs.h. */ 50535 50536/* Override any GCC internal prototype to avoid an error. 50537 Use char because int might match the return type of a GCC 50538 builtin and then its argument prototype would still apply. */ 50539#ifdef __cplusplus 50540extern "C" 50541#endif 50542char fuse_daemonize (); 50543int 50544main () 50545{ 50546return fuse_daemonize (); 50547 ; 50548 return 0; 50549} 50550_ACEOF 50551if ac_fn_c_try_link "$LINENO"; then : 50552 ac_cv_lib_fuse_fuse_daemonize=yes 50553else 50554 ac_cv_lib_fuse_fuse_daemonize=no 50555fi 50556rm -f core conftest.err conftest.$ac_objext \ 50557 conftest$ac_exeext conftest.$ac_ext 50558LIBS=$ac_check_lib_save_LIBS 50559fi 50560{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fuse_fuse_daemonize" >&5 50561$as_echo "$ac_cv_lib_fuse_fuse_daemonize" >&6; } 50562if test "x$ac_cv_lib_fuse_fuse_daemonize" = xyes; then : 50563 ac_cv_libfuse_dummy=yes 50564else 50565 ac_cv_libfuse=no 50566fi 50567 50568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_destroy in -lfuse" >&5 50569$as_echo_n "checking for fuse_destroy in -lfuse... " >&6; } 50570if ${ac_cv_lib_fuse_fuse_destroy+:} false; then : 50571 $as_echo_n "(cached) " >&6 50572else 50573 ac_check_lib_save_LIBS=$LIBS 50574LIBS="-lfuse $LIBS" 50575cat confdefs.h - <<_ACEOF >conftest.$ac_ext 50576/* end confdefs.h. */ 50577 50578/* Override any GCC internal prototype to avoid an error. 50579 Use char because int might match the return type of a GCC 50580 builtin and then its argument prototype would still apply. */ 50581#ifdef __cplusplus 50582extern "C" 50583#endif 50584char fuse_destroy (); 50585int 50586main () 50587{ 50588return fuse_destroy (); 50589 ; 50590 return 0; 50591} 50592_ACEOF 50593if ac_fn_c_try_link "$LINENO"; then : 50594 ac_cv_lib_fuse_fuse_destroy=yes 50595else 50596 ac_cv_lib_fuse_fuse_destroy=no 50597fi 50598rm -f core conftest.err conftest.$ac_objext \ 50599 conftest$ac_exeext conftest.$ac_ext 50600LIBS=$ac_check_lib_save_LIBS 50601fi 50602{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fuse_fuse_destroy" >&5 50603$as_echo "$ac_cv_lib_fuse_fuse_destroy" >&6; } 50604if test "x$ac_cv_lib_fuse_fuse_destroy" = xyes; then : 50605 ac_cv_libfuse_dummy=yes 50606else 50607 ac_cv_libfuse=no 50608fi 50609 50610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_mount in -lfuse" >&5 50611$as_echo_n "checking for fuse_mount in -lfuse... " >&6; } 50612if ${ac_cv_lib_fuse_fuse_mount+:} false; then : 50613 $as_echo_n "(cached) " >&6 50614else 50615 ac_check_lib_save_LIBS=$LIBS 50616LIBS="-lfuse $LIBS" 50617cat confdefs.h - <<_ACEOF >conftest.$ac_ext 50618/* end confdefs.h. */ 50619 50620/* Override any GCC internal prototype to avoid an error. 50621 Use char because int might match the return type of a GCC 50622 builtin and then its argument prototype would still apply. */ 50623#ifdef __cplusplus 50624extern "C" 50625#endif 50626char fuse_mount (); 50627int 50628main () 50629{ 50630return fuse_mount (); 50631 ; 50632 return 0; 50633} 50634_ACEOF 50635if ac_fn_c_try_link "$LINENO"; then : 50636 ac_cv_lib_fuse_fuse_mount=yes 50637else 50638 ac_cv_lib_fuse_fuse_mount=no 50639fi 50640rm -f core conftest.err conftest.$ac_objext \ 50641 conftest$ac_exeext conftest.$ac_ext 50642LIBS=$ac_check_lib_save_LIBS 50643fi 50644{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fuse_fuse_mount" >&5 50645$as_echo "$ac_cv_lib_fuse_fuse_mount" >&6; } 50646if test "x$ac_cv_lib_fuse_fuse_mount" = xyes; then : 50647 ac_cv_libfuse_dummy=yes 50648else 50649 ac_cv_libfuse=no 50650fi 50651 50652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_new in -lfuse" >&5 50653$as_echo_n "checking for fuse_new in -lfuse... " >&6; } 50654if ${ac_cv_lib_fuse_fuse_new+:} false; then : 50655 $as_echo_n "(cached) " >&6 50656else 50657 ac_check_lib_save_LIBS=$LIBS 50658LIBS="-lfuse $LIBS" 50659cat confdefs.h - <<_ACEOF >conftest.$ac_ext 50660/* end confdefs.h. */ 50661 50662/* Override any GCC internal prototype to avoid an error. 50663 Use char because int might match the return type of a GCC 50664 builtin and then its argument prototype would still apply. */ 50665#ifdef __cplusplus 50666extern "C" 50667#endif 50668char fuse_new (); 50669int 50670main () 50671{ 50672return fuse_new (); 50673 ; 50674 return 0; 50675} 50676_ACEOF 50677if ac_fn_c_try_link "$LINENO"; then : 50678 ac_cv_lib_fuse_fuse_new=yes 50679else 50680 ac_cv_lib_fuse_fuse_new=no 50681fi 50682rm -f core conftest.err conftest.$ac_objext \ 50683 conftest$ac_exeext conftest.$ac_ext 50684LIBS=$ac_check_lib_save_LIBS 50685fi 50686{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fuse_fuse_new" >&5 50687$as_echo "$ac_cv_lib_fuse_fuse_new" >&6; } 50688if test "x$ac_cv_lib_fuse_fuse_new" = xyes; then : 50689 ac_cv_libfuse_dummy=yes 50690else 50691 ac_cv_libfuse=no 50692fi 50693 50694 50695 ac_cv_libfuse_LIBADD="-lfuse"; 50696 50697fi 50698 50699fi 50700 50701 if test "x$ac_cv_with_libfuse" != xno && test "x$ac_cv_header_fuse_h" = xno; then : 50702 CPPFLAGS="$CPPFLAGS -DFUSE_USE_VERSION=26" 50703 for ac_header in osxfuse/fuse.h 50704do : 50705 ac_fn_c_check_header_mongrel "$LINENO" "osxfuse/fuse.h" "ac_cv_header_osxfuse_fuse_h" "$ac_includes_default" 50706if test "x$ac_cv_header_osxfuse_fuse_h" = xyes; then : 50707 cat >>confdefs.h <<_ACEOF 50708#define HAVE_OSXFUSE_FUSE_H 1 50709_ACEOF 50710 50711fi 50712 50713done 50714 50715 50716 if test "x$ac_cv_header_osxfuse_fuse_h" = xno; then : 50717 { ac_cv_header_osxfuse_fuse_h=; unset ac_cv_header_osxfuse_fuse_h;} 50718 CPPFLAGS="$CPPFLAGS -D_FILE_OFFSET_BITS=64" 50719 for ac_header in osxfuse/fuse.h 50720do : 50721 ac_fn_c_check_header_mongrel "$LINENO" "osxfuse/fuse.h" "ac_cv_header_osxfuse_fuse_h" "$ac_includes_default" 50722if test "x$ac_cv_header_osxfuse_fuse_h" = xyes; then : 50723 cat >>confdefs.h <<_ACEOF 50724#define HAVE_OSXFUSE_FUSE_H 1 50725_ACEOF 50726 50727fi 50728 50729done 50730 50731 50732fi 50733 50734 if test "x$ac_cv_header_osxfuse_fuse_h" = xno; then : 50735 ac_cv_libfuse=no 50736else 50737 ac_cv_libfuse=libosxfuse 50738 50739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_daemonize in -losxfuse" >&5 50740$as_echo_n "checking for fuse_daemonize in -losxfuse... " >&6; } 50741if ${ac_cv_lib_osxfuse_fuse_daemonize+:} false; then : 50742 $as_echo_n "(cached) " >&6 50743else 50744 ac_check_lib_save_LIBS=$LIBS 50745LIBS="-losxfuse $LIBS" 50746cat confdefs.h - <<_ACEOF >conftest.$ac_ext 50747/* end confdefs.h. */ 50748 50749/* Override any GCC internal prototype to avoid an error. 50750 Use char because int might match the return type of a GCC 50751 builtin and then its argument prototype would still apply. */ 50752#ifdef __cplusplus 50753extern "C" 50754#endif 50755char fuse_daemonize (); 50756int 50757main () 50758{ 50759return fuse_daemonize (); 50760 ; 50761 return 0; 50762} 50763_ACEOF 50764if ac_fn_c_try_link "$LINENO"; then : 50765 ac_cv_lib_osxfuse_fuse_daemonize=yes 50766else 50767 ac_cv_lib_osxfuse_fuse_daemonize=no 50768fi 50769rm -f core conftest.err conftest.$ac_objext \ 50770 conftest$ac_exeext conftest.$ac_ext 50771LIBS=$ac_check_lib_save_LIBS 50772fi 50773{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_osxfuse_fuse_daemonize" >&5 50774$as_echo "$ac_cv_lib_osxfuse_fuse_daemonize" >&6; } 50775if test "x$ac_cv_lib_osxfuse_fuse_daemonize" = xyes; then : 50776 ac_cv_libfuse_dummy=yes 50777else 50778 ac_cv_libfuse=no 50779fi 50780 50781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_destroy in -losxfuse" >&5 50782$as_echo_n "checking for fuse_destroy in -losxfuse... " >&6; } 50783if ${ac_cv_lib_osxfuse_fuse_destroy+:} false; then : 50784 $as_echo_n "(cached) " >&6 50785else 50786 ac_check_lib_save_LIBS=$LIBS 50787LIBS="-losxfuse $LIBS" 50788cat confdefs.h - <<_ACEOF >conftest.$ac_ext 50789/* end confdefs.h. */ 50790 50791/* Override any GCC internal prototype to avoid an error. 50792 Use char because int might match the return type of a GCC 50793 builtin and then its argument prototype would still apply. */ 50794#ifdef __cplusplus 50795extern "C" 50796#endif 50797char fuse_destroy (); 50798int 50799main () 50800{ 50801return fuse_destroy (); 50802 ; 50803 return 0; 50804} 50805_ACEOF 50806if ac_fn_c_try_link "$LINENO"; then : 50807 ac_cv_lib_osxfuse_fuse_destroy=yes 50808else 50809 ac_cv_lib_osxfuse_fuse_destroy=no 50810fi 50811rm -f core conftest.err conftest.$ac_objext \ 50812 conftest$ac_exeext conftest.$ac_ext 50813LIBS=$ac_check_lib_save_LIBS 50814fi 50815{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_osxfuse_fuse_destroy" >&5 50816$as_echo "$ac_cv_lib_osxfuse_fuse_destroy" >&6; } 50817if test "x$ac_cv_lib_osxfuse_fuse_destroy" = xyes; then : 50818 ac_cv_libfuse_dummy=yes 50819else 50820 ac_cv_libfuse=no 50821fi 50822 50823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_mount in -losxfuse" >&5 50824$as_echo_n "checking for fuse_mount in -losxfuse... " >&6; } 50825if ${ac_cv_lib_osxfuse_fuse_mount+:} false; then : 50826 $as_echo_n "(cached) " >&6 50827else 50828 ac_check_lib_save_LIBS=$LIBS 50829LIBS="-losxfuse $LIBS" 50830cat confdefs.h - <<_ACEOF >conftest.$ac_ext 50831/* end confdefs.h. */ 50832 50833/* Override any GCC internal prototype to avoid an error. 50834 Use char because int might match the return type of a GCC 50835 builtin and then its argument prototype would still apply. */ 50836#ifdef __cplusplus 50837extern "C" 50838#endif 50839char fuse_mount (); 50840int 50841main () 50842{ 50843return fuse_mount (); 50844 ; 50845 return 0; 50846} 50847_ACEOF 50848if ac_fn_c_try_link "$LINENO"; then : 50849 ac_cv_lib_osxfuse_fuse_mount=yes 50850else 50851 ac_cv_lib_osxfuse_fuse_mount=no 50852fi 50853rm -f core conftest.err conftest.$ac_objext \ 50854 conftest$ac_exeext conftest.$ac_ext 50855LIBS=$ac_check_lib_save_LIBS 50856fi 50857{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_osxfuse_fuse_mount" >&5 50858$as_echo "$ac_cv_lib_osxfuse_fuse_mount" >&6; } 50859if test "x$ac_cv_lib_osxfuse_fuse_mount" = xyes; then : 50860 ac_cv_libfuse_dummy=yes 50861else 50862 ac_cv_libfuse=no 50863fi 50864 50865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_new in -losxfuse" >&5 50866$as_echo_n "checking for fuse_new in -losxfuse... " >&6; } 50867if ${ac_cv_lib_osxfuse_fuse_new+:} false; then : 50868 $as_echo_n "(cached) " >&6 50869else 50870 ac_check_lib_save_LIBS=$LIBS 50871LIBS="-losxfuse $LIBS" 50872cat confdefs.h - <<_ACEOF >conftest.$ac_ext 50873/* end confdefs.h. */ 50874 50875/* Override any GCC internal prototype to avoid an error. 50876 Use char because int might match the return type of a GCC 50877 builtin and then its argument prototype would still apply. */ 50878#ifdef __cplusplus 50879extern "C" 50880#endif 50881char fuse_new (); 50882int 50883main () 50884{ 50885return fuse_new (); 50886 ; 50887 return 0; 50888} 50889_ACEOF 50890if ac_fn_c_try_link "$LINENO"; then : 50891 ac_cv_lib_osxfuse_fuse_new=yes 50892else 50893 ac_cv_lib_osxfuse_fuse_new=no 50894fi 50895rm -f core conftest.err conftest.$ac_objext \ 50896 conftest$ac_exeext conftest.$ac_ext 50897LIBS=$ac_check_lib_save_LIBS 50898fi 50899{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_osxfuse_fuse_new" >&5 50900$as_echo "$ac_cv_lib_osxfuse_fuse_new" >&6; } 50901if test "x$ac_cv_lib_osxfuse_fuse_new" = xyes; then : 50902 ac_cv_libfuse_dummy=yes 50903else 50904 ac_cv_libfuse=no 50905fi 50906 50907 50908 ac_cv_libfuse_LIBADD="-losxfuse"; 50909 50910fi 50911 50912fi 50913 50914fi 50915 50916 if test "x$ac_cv_libfuse" = xlibfuse; then : 50917 50918$as_echo "#define HAVE_LIBFUSE 1" >>confdefs.h 50919 50920 50921fi 50922 if test "x$ac_cv_libfuse" = xlibosxfuse; then : 50923 50924$as_echo "#define HAVE_LIBOSXFUSE 1" >>confdefs.h 50925 50926 50927fi 50928 50929 if test "x$ac_cv_libfuse" != xno; then : 50930 HAVE_LIBFUSE=1 50931 50932else 50933 HAVE_LIBFUSE=0 50934 50935 50936fi 50937 50938 50939 if test "x$ac_cv_libfuse_CPPFLAGS" != "x"; then : 50940 LIBFUSE_CPPFLAGS=$ac_cv_libfuse_CPPFLAGS 50941 50942 50943fi 50944 if test "x$ac_cv_libfuse_LIBADD" != "x"; then : 50945 LIBFUSE_LIBADD=$ac_cv_libfuse_LIBADD 50946 50947 50948fi 50949 50950 if test "x$ac_cv_libfuse" = xlibfuse; then : 50951 ax_libfuse_pc_libs_private=-lfuse 50952 50953 50954fi 50955 if test "x$ac_cv_libfuse" = xlibosxfuse; then : 50956 ax_libfuse_pc_libs_private=-losxfuse 50957 50958 50959fi 50960 50961 if test "x$ac_cv_libfuse" = xlibfuse; then : 50962 ax_libfuse_spec_requires=fuse-libs 50963 50964 ax_libfuse_spec_build_requires=fuse-devel 50965 50966 50967fi 50968 50969 50970for ac_header in signal.h sys/signal.h unistd.h 50971do : 50972 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 50973ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 50974if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 50975 cat >>confdefs.h <<_ACEOF 50976#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 50977_ACEOF 50978 50979fi 50980 50981done 50982 50983 50984 for ac_func in close getopt setvbuf 50985do : 50986 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 50987ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 50988if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 50989 cat >>confdefs.h <<_ACEOF 50990#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 50991_ACEOF 50992 50993fi 50994done 50995 50996 50997 if test "x$ac_cv_func_close" != xyes; then : 50998 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 50999$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 51000as_fn_error 1 "Missing function: close 51001See \`config.log' for more details" "$LINENO" 5; } 51002 51003fi 51004 51005 for ac_header in errno.h 51006do : 51007 ac_fn_c_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default" 51008if test "x$ac_cv_header_errno_h" = xyes; then : 51009 cat >>confdefs.h <<_ACEOF 51010#define HAVE_ERRNO_H 1 51011_ACEOF 51012 51013fi 51014 51015done 51016 51017 51018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 51019$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } 51020if ${ac_cv_header_time+:} false; then : 51021 $as_echo_n "(cached) " >&6 51022else 51023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 51024/* end confdefs.h. */ 51025#include <sys/types.h> 51026#include <sys/time.h> 51027#include <time.h> 51028 51029int 51030main () 51031{ 51032if ((struct tm *) 0) 51033return 0; 51034 ; 51035 return 0; 51036} 51037_ACEOF 51038if ac_fn_c_try_compile "$LINENO"; then : 51039 ac_cv_header_time=yes 51040else 51041 ac_cv_header_time=no 51042fi 51043rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 51044fi 51045{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5 51046$as_echo "$ac_cv_header_time" >&6; } 51047if test $ac_cv_header_time = yes; then 51048 51049$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h 51050 51051fi 51052 51053 51054 if test "x$ac_cv_enable_winapi" = xno; then : 51055 for ac_func in clock_gettime getegid geteuid time 51056do : 51057 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 51058ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 51059if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 51060 cat >>confdefs.h <<_ACEOF 51061#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 51062_ACEOF 51063 51064fi 51065done 51066 51067 51068fi 51069 51070 51071if test "x$enable_shared" = xyes && test "x$ac_cv_enable_static_executables" = xno; then : 51072 case $host in #( 51073 *cygwin* | *mingw* | *msys*) : 51074 51075$as_echo "#define HAVE_DLLMAIN 1" >>confdefs.h 51076 51077 HAVE_DLLMAIN=1 51078 51079 51080 LIBVMDK_DLL_EXPORT="-DLIBVMDK_DLL_EXPORT" 51081 51082 51083 LIBVMDK_DLL_IMPORT="-DLIBVMDK_DLL_IMPORT" 51084 51085 ;; #( 51086 *) : 51087 ;; 51088esac 51089 51090fi 51091 51092 51093for ac_header in dlfcn.h 51094do : 51095 ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default" 51096if test "x$ac_cv_header_dlfcn_h" = xyes; then : 51097 cat >>confdefs.h <<_ACEOF 51098#define HAVE_DLFCN_H 1 51099_ACEOF 51100 51101fi 51102 51103done 51104 51105 51106 for ac_func in fmemopen getopt mkstemp setenv tzset unlink 51107do : 51108 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 51109ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 51110if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 51111 cat >>confdefs.h <<_ACEOF 51112#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 51113_ACEOF 51114 51115fi 51116done 51117 51118 51119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlsym in -ldl" >&5 51120$as_echo_n "checking for dlsym in -ldl... " >&6; } 51121if ${ac_cv_lib_dl_dlsym+:} false; then : 51122 $as_echo_n "(cached) " >&6 51123else 51124 ac_check_lib_save_LIBS=$LIBS 51125LIBS="-ldl $LIBS" 51126cat confdefs.h - <<_ACEOF >conftest.$ac_ext 51127/* end confdefs.h. */ 51128 51129/* Override any GCC internal prototype to avoid an error. 51130 Use char because int might match the return type of a GCC 51131 builtin and then its argument prototype would still apply. */ 51132#ifdef __cplusplus 51133extern "C" 51134#endif 51135char dlsym (); 51136int 51137main () 51138{ 51139return dlsym (); 51140 ; 51141 return 0; 51142} 51143_ACEOF 51144if ac_fn_c_try_link "$LINENO"; then : 51145 ac_cv_lib_dl_dlsym=yes 51146else 51147 ac_cv_lib_dl_dlsym=no 51148fi 51149rm -f core conftest.err conftest.$ac_objext \ 51150 conftest$ac_exeext conftest.$ac_ext 51151LIBS=$ac_check_lib_save_LIBS 51152fi 51153{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlsym" >&5 51154$as_echo "$ac_cv_lib_dl_dlsym" >&6; } 51155if test "x$ac_cv_lib_dl_dlsym" = xyes; then : 51156 cat >>confdefs.h <<_ACEOF 51157#define HAVE_LIBDL 1 51158_ACEOF 51159 51160 LIBS="-ldl $LIBS" 51161 51162fi 51163 51164 51165 if test "x$lt_cv_prog_gnu_ld" = xyes && test "x$ac_cv_lib_dl_dlsym" = xyes; then : 51166 51167$as_echo "#define HAVE_GNU_DL_DLSYM 1" >>confdefs.h 51168 51169 51170fi 51171 51172 if test "x${LIB_FUZZING_ENGINE}" != x; then 51173 HAVE_LIB_FUZZING_ENGINE_TRUE= 51174 HAVE_LIB_FUZZING_ENGINE_FALSE='#' 51175else 51176 HAVE_LIB_FUZZING_ENGINE_TRUE='#' 51177 HAVE_LIB_FUZZING_ENGINE_FALSE= 51178fi 51179 51180 LIB_FUZZING_ENGINE="${LIB_FUZZING_ENGINE}" 51181 51182 51183 51184CFLAGS="$CFLAGS -Wall"; 51185 51186if 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_libfvalue" = xyes || test "x$ac_cv_zlib" != xno; then : 51187 libvmdk_spec_requires=Requires: 51188 51189 51190fi 51191 51192if test "x$ac_cv_libfuse" != xno; then : 51193 libvmdk_spec_tools_build_requires=BuildRequires: 51194 51195 51196fi 51197 51198DPKG_DATE=`date -R 2> /dev/null` 51199 51200 51201SPEC_DATE=`date +"%a %b %e %Y" 2> /dev/null` 51202 51203 51204ac_config_files="$ac_config_files Makefile" 51205 51206ac_config_files="$ac_config_files include/Makefile" 51207 51208ac_config_files="$ac_config_files common/Makefile" 51209 51210ac_config_files="$ac_config_files libcerror/Makefile" 51211 51212ac_config_files="$ac_config_files libcthreads/Makefile" 51213 51214ac_config_files="$ac_config_files libcdata/Makefile" 51215 51216ac_config_files="$ac_config_files libclocale/Makefile" 51217 51218ac_config_files="$ac_config_files libcnotify/Makefile" 51219 51220ac_config_files="$ac_config_files libcsplit/Makefile" 51221 51222ac_config_files="$ac_config_files libuna/Makefile" 51223 51224ac_config_files="$ac_config_files libcfile/Makefile" 51225 51226ac_config_files="$ac_config_files libcpath/Makefile" 51227 51228ac_config_files="$ac_config_files libbfio/Makefile" 51229 51230ac_config_files="$ac_config_files libfcache/Makefile" 51231 51232ac_config_files="$ac_config_files libfdata/Makefile" 51233 51234ac_config_files="$ac_config_files libfvalue/Makefile" 51235 51236ac_config_files="$ac_config_files libvmdk/Makefile" 51237 51238ac_config_files="$ac_config_files pyvmdk/Makefile" 51239 51240ac_config_files="$ac_config_files pyvmdk-python2/Makefile" 51241 51242ac_config_files="$ac_config_files pyvmdk-python3/Makefile" 51243 51244ac_config_files="$ac_config_files vmdktools/Makefile" 51245 51246ac_config_files="$ac_config_files po/Makefile.in" 51247 51248ac_config_files="$ac_config_files po/Makevars" 51249 51250ac_config_files="$ac_config_files manuals/Makefile" 51251 51252ac_config_files="$ac_config_files tests/Makefile" 51253 51254ac_config_files="$ac_config_files ossfuzz/Makefile" 51255 51256ac_config_files="$ac_config_files msvscpp/Makefile" 51257 51258ac_config_files="$ac_config_files include/libvmdk.h" 51259 51260ac_config_files="$ac_config_files include/libvmdk/definitions.h" 51261 51262ac_config_files="$ac_config_files include/libvmdk/features.h" 51263 51264ac_config_files="$ac_config_files include/libvmdk/types.h" 51265 51266ac_config_files="$ac_config_files libvmdk/libvmdk_definitions.h" 51267 51268ac_config_files="$ac_config_files common/types.h" 51269 51270ac_config_files="$ac_config_files dpkg/changelog" 51271 51272ac_config_files="$ac_config_files libvmdk/libvmdk.rc" 51273 51274ac_config_files="$ac_config_files libvmdk.pc" 51275 51276ac_config_files="$ac_config_files libvmdk.spec" 51277 51278ac_config_headers="$ac_config_headers common/config.h" 51279 51280 51281cat >confcache <<\_ACEOF 51282# This file is a shell script that caches the results of configure 51283# tests run on this system so they can be shared between configure 51284# scripts and configure runs, see configure's option --config-cache. 51285# It is not useful on other systems. If it contains results you don't 51286# want to keep, you may remove or edit it. 51287# 51288# config.status only pays attention to the cache file if you give it 51289# the --recheck option to rerun configure. 51290# 51291# `ac_cv_env_foo' variables (set or unset) will be overridden when 51292# loading this file, other *unset* `ac_cv_foo' will be assigned the 51293# following values. 51294 51295_ACEOF 51296 51297# The following way of writing the cache mishandles newlines in values, 51298# but we know of no workaround that is simple, portable, and efficient. 51299# So, we kill variables containing newlines. 51300# Ultrix sh set writes to stderr and can't be redirected directly, 51301# and sets the high bit in the cache file unless we assign to the vars. 51302( 51303 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 51304 eval ac_val=\$$ac_var 51305 case $ac_val in #( 51306 *${as_nl}*) 51307 case $ac_var in #( 51308 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 51309$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 51310 esac 51311 case $ac_var in #( 51312 _ | IFS | as_nl) ;; #( 51313 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 51314 *) { eval $ac_var=; unset $ac_var;} ;; 51315 esac ;; 51316 esac 51317 done 51318 51319 (set) 2>&1 | 51320 case $as_nl`(ac_space=' '; set) 2>&1` in #( 51321 *${as_nl}ac_space=\ *) 51322 # `set' does not quote correctly, so add quotes: double-quote 51323 # substitution turns \\\\ into \\, and sed turns \\ into \. 51324 sed -n \ 51325 "s/'/'\\\\''/g; 51326 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 51327 ;; #( 51328 *) 51329 # `set' quotes correctly as required by POSIX, so do not add quotes. 51330 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 51331 ;; 51332 esac | 51333 sort 51334) | 51335 sed ' 51336 /^ac_cv_env_/b end 51337 t clear 51338 :clear 51339 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 51340 t end 51341 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 51342 :end' >>confcache 51343if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 51344 if test -w "$cache_file"; then 51345 if test "x$cache_file" != "x/dev/null"; then 51346 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 51347$as_echo "$as_me: updating cache $cache_file" >&6;} 51348 if test ! -f "$cache_file" || test -h "$cache_file"; then 51349 cat confcache >"$cache_file" 51350 else 51351 case $cache_file in #( 51352 */* | ?:*) 51353 mv -f confcache "$cache_file"$$ && 51354 mv -f "$cache_file"$$ "$cache_file" ;; #( 51355 *) 51356 mv -f confcache "$cache_file" ;; 51357 esac 51358 fi 51359 fi 51360 else 51361 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 51362$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 51363 fi 51364fi 51365rm -f confcache 51366 51367test "x$prefix" = xNONE && prefix=$ac_default_prefix 51368# Let make expand exec_prefix. 51369test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 51370 51371DEFS=-DHAVE_CONFIG_H 51372 51373ac_libobjs= 51374ac_ltlibobjs= 51375U= 51376for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 51377 # 1. Remove the extension, and $U if already installed. 51378 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 51379 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 51380 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 51381 # will be set to the directory where LIBOBJS objects are built. 51382 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 51383 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 51384done 51385LIBOBJS=$ac_libobjs 51386 51387LTLIBOBJS=$ac_ltlibobjs 51388 51389 51390{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 51391$as_echo_n "checking that generated files are newer than configure... " >&6; } 51392 if test -n "$am_sleep_pid"; then 51393 # Hide warnings about reused PIDs. 51394 wait $am_sleep_pid 2>/dev/null 51395 fi 51396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 51397$as_echo "done" >&6; } 51398 if test -n "$EXEEXT"; then 51399 am__EXEEXT_TRUE= 51400 am__EXEEXT_FALSE='#' 51401else 51402 am__EXEEXT_TRUE='#' 51403 am__EXEEXT_FALSE= 51404fi 51405 51406if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 51407 as_fn_error $? "conditional \"AMDEP\" was never defined. 51408Usually this means the macro was only invoked conditionally." "$LINENO" 5 51409fi 51410if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 51411 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 51412Usually this means the macro was only invoked conditionally." "$LINENO" 5 51413fi 51414if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then 51415 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined. 51416Usually this means the macro was only invoked conditionally." "$LINENO" 5 51417fi 51418if test -z "${HAVE_LOCAL_LIBCERROR_TRUE}" && test -z "${HAVE_LOCAL_LIBCERROR_FALSE}"; then 51419 as_fn_error $? "conditional \"HAVE_LOCAL_LIBCERROR\" was never defined. 51420Usually this means the macro was only invoked conditionally." "$LINENO" 5 51421fi 51422if test -z "${HAVE_LOCAL_LIBCTHREADS_TRUE}" && test -z "${HAVE_LOCAL_LIBCTHREADS_FALSE}"; then 51423 as_fn_error $? "conditional \"HAVE_LOCAL_LIBCTHREADS\" was never defined. 51424Usually this means the macro was only invoked conditionally." "$LINENO" 5 51425fi 51426if test -z "${HAVE_LOCAL_LIBCDATA_TRUE}" && test -z "${HAVE_LOCAL_LIBCDATA_FALSE}"; then 51427 as_fn_error $? "conditional \"HAVE_LOCAL_LIBCDATA\" was never defined. 51428Usually this means the macro was only invoked conditionally." "$LINENO" 5 51429fi 51430if test -z "${HAVE_LOCAL_LIBCLOCALE_TRUE}" && test -z "${HAVE_LOCAL_LIBCLOCALE_FALSE}"; then 51431 as_fn_error $? "conditional \"HAVE_LOCAL_LIBCLOCALE\" was never defined. 51432Usually this means the macro was only invoked conditionally." "$LINENO" 5 51433fi 51434if test -z "${HAVE_LOCAL_LIBCNOTIFY_TRUE}" && test -z "${HAVE_LOCAL_LIBCNOTIFY_FALSE}"; then 51435 as_fn_error $? "conditional \"HAVE_LOCAL_LIBCNOTIFY\" was never defined. 51436Usually this means the macro was only invoked conditionally." "$LINENO" 5 51437fi 51438if test -z "${HAVE_LOCAL_LIBCSPLIT_TRUE}" && test -z "${HAVE_LOCAL_LIBCSPLIT_FALSE}"; then 51439 as_fn_error $? "conditional \"HAVE_LOCAL_LIBCSPLIT\" was never defined. 51440Usually this means the macro was only invoked conditionally." "$LINENO" 5 51441fi 51442if test -z "${HAVE_LOCAL_LIBUNA_TRUE}" && test -z "${HAVE_LOCAL_LIBUNA_FALSE}"; then 51443 as_fn_error $? "conditional \"HAVE_LOCAL_LIBUNA\" was never defined. 51444Usually this means the macro was only invoked conditionally." "$LINENO" 5 51445fi 51446if test -z "${HAVE_LOCAL_LIBCFILE_TRUE}" && test -z "${HAVE_LOCAL_LIBCFILE_FALSE}"; then 51447 as_fn_error $? "conditional \"HAVE_LOCAL_LIBCFILE\" was never defined. 51448Usually this means the macro was only invoked conditionally." "$LINENO" 5 51449fi 51450if test -z "${HAVE_LOCAL_LIBCPATH_TRUE}" && test -z "${HAVE_LOCAL_LIBCPATH_FALSE}"; then 51451 as_fn_error $? "conditional \"HAVE_LOCAL_LIBCPATH\" was never defined. 51452Usually this means the macro was only invoked conditionally." "$LINENO" 5 51453fi 51454if test -z "${HAVE_LOCAL_LIBBFIO_TRUE}" && test -z "${HAVE_LOCAL_LIBBFIO_FALSE}"; then 51455 as_fn_error $? "conditional \"HAVE_LOCAL_LIBBFIO\" was never defined. 51456Usually this means the macro was only invoked conditionally." "$LINENO" 5 51457fi 51458if test -z "${HAVE_LOCAL_LIBFCACHE_TRUE}" && test -z "${HAVE_LOCAL_LIBFCACHE_FALSE}"; then 51459 as_fn_error $? "conditional \"HAVE_LOCAL_LIBFCACHE\" was never defined. 51460Usually this means the macro was only invoked conditionally." "$LINENO" 5 51461fi 51462if test -z "${HAVE_LOCAL_LIBFDATA_TRUE}" && test -z "${HAVE_LOCAL_LIBFDATA_FALSE}"; then 51463 as_fn_error $? "conditional \"HAVE_LOCAL_LIBFDATA\" was never defined. 51464Usually this means the macro was only invoked conditionally." "$LINENO" 5 51465fi 51466if test -z "${HAVE_LOCAL_LIBFVALUE_TRUE}" && test -z "${HAVE_LOCAL_LIBFVALUE_FALSE}"; then 51467 as_fn_error $? "conditional \"HAVE_LOCAL_LIBFVALUE\" was never defined. 51468Usually this means the macro was only invoked conditionally." "$LINENO" 5 51469fi 51470if test -z "${HAVE_PYTHON_TRUE}" && test -z "${HAVE_PYTHON_FALSE}"; then 51471 as_fn_error $? "conditional \"HAVE_PYTHON\" was never defined. 51472Usually this means the macro was only invoked conditionally." "$LINENO" 5 51473fi 51474if test -z "${HAVE_PYTHON2_TRUE}" && test -z "${HAVE_PYTHON2_FALSE}"; then 51475 as_fn_error $? "conditional \"HAVE_PYTHON2\" was never defined. 51476Usually this means the macro was only invoked conditionally." "$LINENO" 5 51477fi 51478if test -z "${HAVE_PYTHON3_TRUE}" && test -z "${HAVE_PYTHON3_FALSE}"; then 51479 as_fn_error $? "conditional \"HAVE_PYTHON3\" was never defined. 51480Usually this means the macro was only invoked conditionally." "$LINENO" 5 51481fi 51482if test -z "${HAVE_PYTHON_TESTS_TRUE}" && test -z "${HAVE_PYTHON_TESTS_FALSE}"; then 51483 as_fn_error $? "conditional \"HAVE_PYTHON_TESTS\" was never defined. 51484Usually this means the macro was only invoked conditionally." "$LINENO" 5 51485fi 51486if test -z "${HAVE_LIB_FUZZING_ENGINE_TRUE}" && test -z "${HAVE_LIB_FUZZING_ENGINE_FALSE}"; then 51487 as_fn_error $? "conditional \"HAVE_LIB_FUZZING_ENGINE\" was never defined. 51488Usually this means the macro was only invoked conditionally." "$LINENO" 5 51489fi 51490 51491: "${CONFIG_STATUS=./config.status}" 51492ac_write_fail=0 51493ac_clean_files_save=$ac_clean_files 51494ac_clean_files="$ac_clean_files $CONFIG_STATUS" 51495{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 51496$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 51497as_write_fail=0 51498cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 51499#! $SHELL 51500# Generated by $as_me. 51501# Run this file to recreate the current configuration. 51502# Compiler output produced by configure, useful for debugging 51503# configure, is in config.log if it exists. 51504 51505debug=false 51506ac_cs_recheck=false 51507ac_cs_silent=false 51508 51509SHELL=\${CONFIG_SHELL-$SHELL} 51510export SHELL 51511_ASEOF 51512cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 51513## -------------------- ## 51514## M4sh Initialization. ## 51515## -------------------- ## 51516 51517# Be more Bourne compatible 51518DUALCASE=1; export DUALCASE # for MKS sh 51519if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 51520 emulate sh 51521 NULLCMD=: 51522 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 51523 # is contrary to our usage. Disable this feature. 51524 alias -g '${1+"$@"}'='"$@"' 51525 setopt NO_GLOB_SUBST 51526else 51527 case `(set -o) 2>/dev/null` in #( 51528 *posix*) : 51529 set -o posix ;; #( 51530 *) : 51531 ;; 51532esac 51533fi 51534 51535 51536as_nl=' 51537' 51538export as_nl 51539# Printing a long string crashes Solaris 7 /usr/bin/printf. 51540as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 51541as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 51542as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 51543# Prefer a ksh shell builtin over an external printf program on Solaris, 51544# but without wasting forks for bash or zsh. 51545if test -z "$BASH_VERSION$ZSH_VERSION" \ 51546 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 51547 as_echo='print -r --' 51548 as_echo_n='print -rn --' 51549elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 51550 as_echo='printf %s\n' 51551 as_echo_n='printf %s' 51552else 51553 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 51554 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 51555 as_echo_n='/usr/ucb/echo -n' 51556 else 51557 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 51558 as_echo_n_body='eval 51559 arg=$1; 51560 case $arg in #( 51561 *"$as_nl"*) 51562 expr "X$arg" : "X\\(.*\\)$as_nl"; 51563 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 51564 esac; 51565 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 51566 ' 51567 export as_echo_n_body 51568 as_echo_n='sh -c $as_echo_n_body as_echo' 51569 fi 51570 export as_echo_body 51571 as_echo='sh -c $as_echo_body as_echo' 51572fi 51573 51574# The user is always right. 51575if test "${PATH_SEPARATOR+set}" != set; then 51576 PATH_SEPARATOR=: 51577 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 51578 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 51579 PATH_SEPARATOR=';' 51580 } 51581fi 51582 51583 51584# IFS 51585# We need space, tab and new line, in precisely that order. Quoting is 51586# there to prevent editors from complaining about space-tab. 51587# (If _AS_PATH_WALK were called with IFS unset, it would disable word 51588# splitting by setting IFS to empty value.) 51589IFS=" "" $as_nl" 51590 51591# Find who we are. Look in the path if we contain no directory separator. 51592as_myself= 51593case $0 in #(( 51594 *[\\/]* ) as_myself=$0 ;; 51595 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 51596for as_dir in $PATH 51597do 51598 IFS=$as_save_IFS 51599 test -z "$as_dir" && as_dir=. 51600 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 51601 done 51602IFS=$as_save_IFS 51603 51604 ;; 51605esac 51606# We did not find ourselves, most probably we were run as `sh COMMAND' 51607# in which case we are not to be found in the path. 51608if test "x$as_myself" = x; then 51609 as_myself=$0 51610fi 51611if test ! -f "$as_myself"; then 51612 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 51613 exit 1 51614fi 51615 51616# Unset variables that we do not need and which cause bugs (e.g. in 51617# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 51618# suppresses any "Segmentation fault" message there. '((' could 51619# trigger a bug in pdksh 5.2.14. 51620for as_var in BASH_ENV ENV MAIL MAILPATH 51621do eval test x\${$as_var+set} = xset \ 51622 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 51623done 51624PS1='$ ' 51625PS2='> ' 51626PS4='+ ' 51627 51628# NLS nuisances. 51629LC_ALL=C 51630export LC_ALL 51631LANGUAGE=C 51632export LANGUAGE 51633 51634# CDPATH. 51635(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 51636 51637 51638# as_fn_error STATUS ERROR [LINENO LOG_FD] 51639# ---------------------------------------- 51640# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 51641# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 51642# script with STATUS, using 1 if that was 0. 51643as_fn_error () 51644{ 51645 as_status=$1; test $as_status -eq 0 && as_status=1 51646 if test "$4"; then 51647 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 51648 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 51649 fi 51650 $as_echo "$as_me: error: $2" >&2 51651 as_fn_exit $as_status 51652} # as_fn_error 51653 51654 51655# as_fn_set_status STATUS 51656# ----------------------- 51657# Set $? to STATUS, without forking. 51658as_fn_set_status () 51659{ 51660 return $1 51661} # as_fn_set_status 51662 51663# as_fn_exit STATUS 51664# ----------------- 51665# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 51666as_fn_exit () 51667{ 51668 set +e 51669 as_fn_set_status $1 51670 exit $1 51671} # as_fn_exit 51672 51673# as_fn_unset VAR 51674# --------------- 51675# Portably unset VAR. 51676as_fn_unset () 51677{ 51678 { eval $1=; unset $1;} 51679} 51680as_unset=as_fn_unset 51681# as_fn_append VAR VALUE 51682# ---------------------- 51683# Append the text in VALUE to the end of the definition contained in VAR. Take 51684# advantage of any shell optimizations that allow amortized linear growth over 51685# repeated appends, instead of the typical quadratic growth present in naive 51686# implementations. 51687if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 51688 eval 'as_fn_append () 51689 { 51690 eval $1+=\$2 51691 }' 51692else 51693 as_fn_append () 51694 { 51695 eval $1=\$$1\$2 51696 } 51697fi # as_fn_append 51698 51699# as_fn_arith ARG... 51700# ------------------ 51701# Perform arithmetic evaluation on the ARGs, and store the result in the 51702# global $as_val. Take advantage of shells that can avoid forks. The arguments 51703# must be portable across $(()) and expr. 51704if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 51705 eval 'as_fn_arith () 51706 { 51707 as_val=$(( $* )) 51708 }' 51709else 51710 as_fn_arith () 51711 { 51712 as_val=`expr "$@" || test $? -eq 1` 51713 } 51714fi # as_fn_arith 51715 51716 51717if expr a : '\(a\)' >/dev/null 2>&1 && 51718 test "X`expr 00001 : '.*\(...\)'`" = X001; then 51719 as_expr=expr 51720else 51721 as_expr=false 51722fi 51723 51724if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 51725 as_basename=basename 51726else 51727 as_basename=false 51728fi 51729 51730if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 51731 as_dirname=dirname 51732else 51733 as_dirname=false 51734fi 51735 51736as_me=`$as_basename -- "$0" || 51737$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 51738 X"$0" : 'X\(//\)$' \| \ 51739 X"$0" : 'X\(/\)' \| . 2>/dev/null || 51740$as_echo X/"$0" | 51741 sed '/^.*\/\([^/][^/]*\)\/*$/{ 51742 s//\1/ 51743 q 51744 } 51745 /^X\/\(\/\/\)$/{ 51746 s//\1/ 51747 q 51748 } 51749 /^X\/\(\/\).*/{ 51750 s//\1/ 51751 q 51752 } 51753 s/.*/./; q'` 51754 51755# Avoid depending upon Character Ranges. 51756as_cr_letters='abcdefghijklmnopqrstuvwxyz' 51757as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 51758as_cr_Letters=$as_cr_letters$as_cr_LETTERS 51759as_cr_digits='0123456789' 51760as_cr_alnum=$as_cr_Letters$as_cr_digits 51761 51762ECHO_C= ECHO_N= ECHO_T= 51763case `echo -n x` in #((((( 51764-n*) 51765 case `echo 'xy\c'` in 51766 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 51767 xy) ECHO_C='\c';; 51768 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 51769 ECHO_T=' ';; 51770 esac;; 51771*) 51772 ECHO_N='-n';; 51773esac 51774 51775rm -f conf$$ conf$$.exe conf$$.file 51776if test -d conf$$.dir; then 51777 rm -f conf$$.dir/conf$$.file 51778else 51779 rm -f conf$$.dir 51780 mkdir conf$$.dir 2>/dev/null 51781fi 51782if (echo >conf$$.file) 2>/dev/null; then 51783 if ln -s conf$$.file conf$$ 2>/dev/null; then 51784 as_ln_s='ln -s' 51785 # ... but there are two gotchas: 51786 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 51787 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 51788 # In both cases, we have to default to `cp -pR'. 51789 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 51790 as_ln_s='cp -pR' 51791 elif ln conf$$.file conf$$ 2>/dev/null; then 51792 as_ln_s=ln 51793 else 51794 as_ln_s='cp -pR' 51795 fi 51796else 51797 as_ln_s='cp -pR' 51798fi 51799rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 51800rmdir conf$$.dir 2>/dev/null 51801 51802 51803# as_fn_mkdir_p 51804# ------------- 51805# Create "$as_dir" as a directory, including parents if necessary. 51806as_fn_mkdir_p () 51807{ 51808 51809 case $as_dir in #( 51810 -*) as_dir=./$as_dir;; 51811 esac 51812 test -d "$as_dir" || eval $as_mkdir_p || { 51813 as_dirs= 51814 while :; do 51815 case $as_dir in #( 51816 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 51817 *) as_qdir=$as_dir;; 51818 esac 51819 as_dirs="'$as_qdir' $as_dirs" 51820 as_dir=`$as_dirname -- "$as_dir" || 51821$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 51822 X"$as_dir" : 'X\(//\)[^/]' \| \ 51823 X"$as_dir" : 'X\(//\)$' \| \ 51824 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 51825$as_echo X"$as_dir" | 51826 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 51827 s//\1/ 51828 q 51829 } 51830 /^X\(\/\/\)[^/].*/{ 51831 s//\1/ 51832 q 51833 } 51834 /^X\(\/\/\)$/{ 51835 s//\1/ 51836 q 51837 } 51838 /^X\(\/\).*/{ 51839 s//\1/ 51840 q 51841 } 51842 s/.*/./; q'` 51843 test -d "$as_dir" && break 51844 done 51845 test -z "$as_dirs" || eval "mkdir $as_dirs" 51846 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 51847 51848 51849} # as_fn_mkdir_p 51850if mkdir -p . 2>/dev/null; then 51851 as_mkdir_p='mkdir -p "$as_dir"' 51852else 51853 test -d ./-p && rmdir ./-p 51854 as_mkdir_p=false 51855fi 51856 51857 51858# as_fn_executable_p FILE 51859# ----------------------- 51860# Test if FILE is an executable regular file. 51861as_fn_executable_p () 51862{ 51863 test -f "$1" && test -x "$1" 51864} # as_fn_executable_p 51865as_test_x='test -x' 51866as_executable_p=as_fn_executable_p 51867 51868# Sed expression to map a string onto a valid CPP name. 51869as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 51870 51871# Sed expression to map a string onto a valid variable name. 51872as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 51873 51874 51875exec 6>&1 51876## ----------------------------------- ## 51877## Main body of $CONFIG_STATUS script. ## 51878## ----------------------------------- ## 51879_ASEOF 51880test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 51881 51882cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 51883# Save the log message, to keep $0 and so on meaningful, and to 51884# report actual input values of CONFIG_FILES etc. instead of their 51885# values after options handling. 51886ac_log=" 51887This file was extended by libvmdk $as_me 20210807, which was 51888generated by GNU Autoconf 2.69. Invocation command line was 51889 51890 CONFIG_FILES = $CONFIG_FILES 51891 CONFIG_HEADERS = $CONFIG_HEADERS 51892 CONFIG_LINKS = $CONFIG_LINKS 51893 CONFIG_COMMANDS = $CONFIG_COMMANDS 51894 $ $0 $@ 51895 51896on `(hostname || uname -n) 2>/dev/null | sed 1q` 51897" 51898 51899_ACEOF 51900 51901case $ac_config_files in *" 51902"*) set x $ac_config_files; shift; ac_config_files=$*;; 51903esac 51904 51905case $ac_config_headers in *" 51906"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 51907esac 51908 51909 51910cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 51911# Files that config.status was made for. 51912config_files="$ac_config_files" 51913config_headers="$ac_config_headers" 51914config_commands="$ac_config_commands" 51915 51916_ACEOF 51917 51918cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 51919ac_cs_usage="\ 51920\`$as_me' instantiates files and other configuration actions 51921from templates according to the current configuration. Unless the files 51922and actions are specified as TAGs, all are instantiated by default. 51923 51924Usage: $0 [OPTION]... [TAG]... 51925 51926 -h, --help print this help, then exit 51927 -V, --version print version number and configuration settings, then exit 51928 --config print configuration, then exit 51929 -q, --quiet, --silent 51930 do not print progress messages 51931 -d, --debug don't remove temporary files 51932 --recheck update $as_me by reconfiguring in the same conditions 51933 --file=FILE[:TEMPLATE] 51934 instantiate the configuration file FILE 51935 --header=FILE[:TEMPLATE] 51936 instantiate the configuration header FILE 51937 51938Configuration files: 51939$config_files 51940 51941Configuration headers: 51942$config_headers 51943 51944Configuration commands: 51945$config_commands 51946 51947Report bugs to <joachim.metz@gmail.com>." 51948 51949_ACEOF 51950cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 51951ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 51952ac_cs_version="\\ 51953libvmdk config.status 20210807 51954configured by $0, generated by GNU Autoconf 2.69, 51955 with options \\"\$ac_cs_config\\" 51956 51957Copyright (C) 2012 Free Software Foundation, Inc. 51958This config.status script is free software; the Free Software Foundation 51959gives unlimited permission to copy, distribute and modify it." 51960 51961ac_pwd='$ac_pwd' 51962srcdir='$srcdir' 51963INSTALL='$INSTALL' 51964MKDIR_P='$MKDIR_P' 51965AWK='$AWK' 51966test -n "\$AWK" || AWK=awk 51967_ACEOF 51968 51969cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 51970# The default lists apply if the user does not specify any file. 51971ac_need_defaults=: 51972while test $# != 0 51973do 51974 case $1 in 51975 --*=?*) 51976 ac_option=`expr "X$1" : 'X\([^=]*\)='` 51977 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 51978 ac_shift=: 51979 ;; 51980 --*=) 51981 ac_option=`expr "X$1" : 'X\([^=]*\)='` 51982 ac_optarg= 51983 ac_shift=: 51984 ;; 51985 *) 51986 ac_option=$1 51987 ac_optarg=$2 51988 ac_shift=shift 51989 ;; 51990 esac 51991 51992 case $ac_option in 51993 # Handling of the options. 51994 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 51995 ac_cs_recheck=: ;; 51996 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 51997 $as_echo "$ac_cs_version"; exit ;; 51998 --config | --confi | --conf | --con | --co | --c ) 51999 $as_echo "$ac_cs_config"; exit ;; 52000 --debug | --debu | --deb | --de | --d | -d ) 52001 debug=: ;; 52002 --file | --fil | --fi | --f ) 52003 $ac_shift 52004 case $ac_optarg in 52005 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 52006 '') as_fn_error $? "missing file argument" ;; 52007 esac 52008 as_fn_append CONFIG_FILES " '$ac_optarg'" 52009 ac_need_defaults=false;; 52010 --header | --heade | --head | --hea ) 52011 $ac_shift 52012 case $ac_optarg in 52013 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 52014 esac 52015 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 52016 ac_need_defaults=false;; 52017 --he | --h) 52018 # Conflict between --help and --header 52019 as_fn_error $? "ambiguous option: \`$1' 52020Try \`$0 --help' for more information.";; 52021 --help | --hel | -h ) 52022 $as_echo "$ac_cs_usage"; exit ;; 52023 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 52024 | -silent | --silent | --silen | --sile | --sil | --si | --s) 52025 ac_cs_silent=: ;; 52026 52027 # This is an error. 52028 -*) as_fn_error $? "unrecognized option: \`$1' 52029Try \`$0 --help' for more information." ;; 52030 52031 *) as_fn_append ac_config_targets " $1" 52032 ac_need_defaults=false ;; 52033 52034 esac 52035 shift 52036done 52037 52038ac_configure_extra_args= 52039 52040if $ac_cs_silent; then 52041 exec 6>/dev/null 52042 ac_configure_extra_args="$ac_configure_extra_args --silent" 52043fi 52044 52045_ACEOF 52046cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 52047if \$ac_cs_recheck; then 52048 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 52049 shift 52050 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 52051 CONFIG_SHELL='$SHELL' 52052 export CONFIG_SHELL 52053 exec "\$@" 52054fi 52055 52056_ACEOF 52057cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 52058exec 5>>config.log 52059{ 52060 echo 52061 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 52062## Running $as_me. ## 52063_ASBOX 52064 $as_echo "$ac_log" 52065} >&5 52066 52067_ACEOF 52068cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 52069# 52070# INIT-COMMANDS 52071# 52072AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}" 52073 52074 52075# The HP-UX ksh and POSIX shell print the target directory to stdout 52076# if CDPATH is set. 52077(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 52078 52079sed_quote_subst='$sed_quote_subst' 52080double_quote_subst='$double_quote_subst' 52081delay_variable_subst='$delay_variable_subst' 52082AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`' 52083DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 52084OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 52085macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 52086macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 52087enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 52088enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 52089pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 52090enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 52091shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`' 52092SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 52093ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 52094PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 52095host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 52096host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 52097host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 52098build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 52099build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 52100build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 52101SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 52102Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 52103GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 52104EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 52105FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 52106LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 52107NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 52108LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 52109max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 52110ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 52111exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 52112lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 52113lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 52114lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 52115lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 52116lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 52117reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 52118reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 52119deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 52120file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 52121file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 52122want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 52123sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 52124AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 52125AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 52126archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 52127STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 52128RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 52129old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 52130old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 52131old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 52132lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 52133CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 52134CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 52135compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 52136GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 52137lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 52138lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 52139lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' 52140lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 52141lt_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"`' 52142lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`' 52143nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 52144lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 52145lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`' 52146objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 52147MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 52148lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 52149lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 52150lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 52151lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 52152lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 52153need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 52154MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 52155DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 52156NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 52157LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 52158OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 52159OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 52160libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 52161shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 52162extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 52163archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 52164enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 52165export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 52166whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 52167compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 52168old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 52169old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 52170archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 52171archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 52172module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 52173module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 52174with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 52175allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 52176no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 52177hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 52178hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 52179hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 52180hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 52181hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 52182hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 52183hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 52184inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 52185link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 52186always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 52187export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 52188exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 52189include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 52190prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 52191postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 52192file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 52193variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 52194need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 52195need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 52196version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 52197runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 52198shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 52199shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 52200libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 52201library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 52202soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 52203install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 52204postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 52205postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 52206finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 52207finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 52208hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 52209sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 52210configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`' 52211configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`' 52212hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 52213enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 52214enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 52215enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 52216old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 52217striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 52218compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`' 52219predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`' 52220postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`' 52221predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`' 52222postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`' 52223compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`' 52224LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`' 52225reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`' 52226reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`' 52227old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' 52228compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`' 52229GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`' 52230lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`' 52231lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`' 52232lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`' 52233lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`' 52234lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`' 52235archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`' 52236enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`' 52237export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 52238whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 52239compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`' 52240old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`' 52241old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`' 52242archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' 52243archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' 52244module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`' 52245module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' 52246with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`' 52247allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' 52248no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' 52249hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 52250hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`' 52251hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`' 52252hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`' 52253hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`' 52254hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`' 52255hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`' 52256inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`' 52257link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`' 52258always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`' 52259export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`' 52260exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`' 52261include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`' 52262prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`' 52263postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`' 52264file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`' 52265hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`' 52266compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`' 52267predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`' 52268postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`' 52269predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`' 52270postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`' 52271compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`' 52272 52273LTCC='$LTCC' 52274LTCFLAGS='$LTCFLAGS' 52275compiler='$compiler_DEFAULT' 52276 52277# A function that is used when there is no print builtin or printf. 52278func_fallback_echo () 52279{ 52280 eval 'cat <<_LTECHO_EOF 52281\$1 52282_LTECHO_EOF' 52283} 52284 52285# Quote evaled strings. 52286for var in AS \ 52287DLLTOOL \ 52288OBJDUMP \ 52289SHELL \ 52290ECHO \ 52291PATH_SEPARATOR \ 52292SED \ 52293GREP \ 52294EGREP \ 52295FGREP \ 52296LD \ 52297NM \ 52298LN_S \ 52299lt_SP2NL \ 52300lt_NL2SP \ 52301reload_flag \ 52302deplibs_check_method \ 52303file_magic_cmd \ 52304file_magic_glob \ 52305want_nocaseglob \ 52306sharedlib_from_linklib_cmd \ 52307AR \ 52308AR_FLAGS \ 52309archiver_list_spec \ 52310STRIP \ 52311RANLIB \ 52312CC \ 52313CFLAGS \ 52314compiler \ 52315lt_cv_sys_global_symbol_pipe \ 52316lt_cv_sys_global_symbol_to_cdecl \ 52317lt_cv_sys_global_symbol_to_import \ 52318lt_cv_sys_global_symbol_to_c_name_address \ 52319lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 52320lt_cv_nm_interface \ 52321nm_file_list_spec \ 52322lt_cv_truncate_bin \ 52323lt_prog_compiler_no_builtin_flag \ 52324lt_prog_compiler_pic \ 52325lt_prog_compiler_wl \ 52326lt_prog_compiler_static \ 52327lt_cv_prog_compiler_c_o \ 52328need_locks \ 52329MANIFEST_TOOL \ 52330DSYMUTIL \ 52331NMEDIT \ 52332LIPO \ 52333OTOOL \ 52334OTOOL64 \ 52335shrext_cmds \ 52336export_dynamic_flag_spec \ 52337whole_archive_flag_spec \ 52338compiler_needs_object \ 52339with_gnu_ld \ 52340allow_undefined_flag \ 52341no_undefined_flag \ 52342hardcode_libdir_flag_spec \ 52343hardcode_libdir_separator \ 52344exclude_expsyms \ 52345include_expsyms \ 52346file_list_spec \ 52347variables_saved_for_relink \ 52348libname_spec \ 52349library_names_spec \ 52350soname_spec \ 52351install_override_mode \ 52352finish_eval \ 52353old_striplib \ 52354striplib \ 52355compiler_lib_search_dirs \ 52356predep_objects \ 52357postdep_objects \ 52358predeps \ 52359postdeps \ 52360compiler_lib_search_path \ 52361LD_CXX \ 52362reload_flag_CXX \ 52363compiler_CXX \ 52364lt_prog_compiler_no_builtin_flag_CXX \ 52365lt_prog_compiler_pic_CXX \ 52366lt_prog_compiler_wl_CXX \ 52367lt_prog_compiler_static_CXX \ 52368lt_cv_prog_compiler_c_o_CXX \ 52369export_dynamic_flag_spec_CXX \ 52370whole_archive_flag_spec_CXX \ 52371compiler_needs_object_CXX \ 52372with_gnu_ld_CXX \ 52373allow_undefined_flag_CXX \ 52374no_undefined_flag_CXX \ 52375hardcode_libdir_flag_spec_CXX \ 52376hardcode_libdir_separator_CXX \ 52377exclude_expsyms_CXX \ 52378include_expsyms_CXX \ 52379file_list_spec_CXX \ 52380compiler_lib_search_dirs_CXX \ 52381predep_objects_CXX \ 52382postdep_objects_CXX \ 52383predeps_CXX \ 52384postdeps_CXX \ 52385compiler_lib_search_path_CXX; do 52386 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 52387 *[\\\\\\\`\\"\\\$]*) 52388 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 52389 ;; 52390 *) 52391 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 52392 ;; 52393 esac 52394done 52395 52396# Double-quote double-evaled strings. 52397for var in reload_cmds \ 52398old_postinstall_cmds \ 52399old_postuninstall_cmds \ 52400old_archive_cmds \ 52401extract_expsyms_cmds \ 52402old_archive_from_new_cmds \ 52403old_archive_from_expsyms_cmds \ 52404archive_cmds \ 52405archive_expsym_cmds \ 52406module_cmds \ 52407module_expsym_cmds \ 52408export_symbols_cmds \ 52409prelink_cmds \ 52410postlink_cmds \ 52411postinstall_cmds \ 52412postuninstall_cmds \ 52413finish_cmds \ 52414sys_lib_search_path_spec \ 52415configure_time_dlsearch_path \ 52416configure_time_lt_sys_library_path \ 52417reload_cmds_CXX \ 52418old_archive_cmds_CXX \ 52419old_archive_from_new_cmds_CXX \ 52420old_archive_from_expsyms_cmds_CXX \ 52421archive_cmds_CXX \ 52422archive_expsym_cmds_CXX \ 52423module_cmds_CXX \ 52424module_expsym_cmds_CXX \ 52425export_symbols_cmds_CXX \ 52426prelink_cmds_CXX \ 52427postlink_cmds_CXX; do 52428 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 52429 *[\\\\\\\`\\"\\\$]*) 52430 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 52431 ;; 52432 *) 52433 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 52434 ;; 52435 esac 52436done 52437 52438ac_aux_dir='$ac_aux_dir' 52439 52440# See if we are running on zsh, and set the options that allow our 52441# commands through without removal of \ escapes INIT. 52442if test -n "\${ZSH_VERSION+set}"; then 52443 setopt NO_GLOB_SUBST 52444fi 52445 52446 52447 PACKAGE='$PACKAGE' 52448 VERSION='$VERSION' 52449 RM='$RM' 52450 ofile='$ofile' 52451 52452 52453 52454 52455 52456# Capture the value of obsolete ALL_LINGUAS because we need it to compute 52457 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it 52458 # from automake < 1.5. 52459 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"' 52460 # Capture the value of LINGUAS because we need it to compute CATALOGS. 52461 LINGUAS="${LINGUAS-%UNSET%}" 52462 52463 52464_ACEOF 52465 52466cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 52467 52468# Handling of arguments. 52469for ac_config_target in $ac_config_targets 52470do 52471 case $ac_config_target in 52472 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 52473 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 52474 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;; 52475 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 52476 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;; 52477 "common/Makefile") CONFIG_FILES="$CONFIG_FILES common/Makefile" ;; 52478 "libcerror/Makefile") CONFIG_FILES="$CONFIG_FILES libcerror/Makefile" ;; 52479 "libcthreads/Makefile") CONFIG_FILES="$CONFIG_FILES libcthreads/Makefile" ;; 52480 "libcdata/Makefile") CONFIG_FILES="$CONFIG_FILES libcdata/Makefile" ;; 52481 "libclocale/Makefile") CONFIG_FILES="$CONFIG_FILES libclocale/Makefile" ;; 52482 "libcnotify/Makefile") CONFIG_FILES="$CONFIG_FILES libcnotify/Makefile" ;; 52483 "libcsplit/Makefile") CONFIG_FILES="$CONFIG_FILES libcsplit/Makefile" ;; 52484 "libuna/Makefile") CONFIG_FILES="$CONFIG_FILES libuna/Makefile" ;; 52485 "libcfile/Makefile") CONFIG_FILES="$CONFIG_FILES libcfile/Makefile" ;; 52486 "libcpath/Makefile") CONFIG_FILES="$CONFIG_FILES libcpath/Makefile" ;; 52487 "libbfio/Makefile") CONFIG_FILES="$CONFIG_FILES libbfio/Makefile" ;; 52488 "libfcache/Makefile") CONFIG_FILES="$CONFIG_FILES libfcache/Makefile" ;; 52489 "libfdata/Makefile") CONFIG_FILES="$CONFIG_FILES libfdata/Makefile" ;; 52490 "libfvalue/Makefile") CONFIG_FILES="$CONFIG_FILES libfvalue/Makefile" ;; 52491 "libvmdk/Makefile") CONFIG_FILES="$CONFIG_FILES libvmdk/Makefile" ;; 52492 "pyvmdk/Makefile") CONFIG_FILES="$CONFIG_FILES pyvmdk/Makefile" ;; 52493 "pyvmdk-python2/Makefile") CONFIG_FILES="$CONFIG_FILES pyvmdk-python2/Makefile" ;; 52494 "pyvmdk-python3/Makefile") CONFIG_FILES="$CONFIG_FILES pyvmdk-python3/Makefile" ;; 52495 "vmdktools/Makefile") CONFIG_FILES="$CONFIG_FILES vmdktools/Makefile" ;; 52496 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; 52497 "po/Makevars") CONFIG_FILES="$CONFIG_FILES po/Makevars" ;; 52498 "manuals/Makefile") CONFIG_FILES="$CONFIG_FILES manuals/Makefile" ;; 52499 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; 52500 "ossfuzz/Makefile") CONFIG_FILES="$CONFIG_FILES ossfuzz/Makefile" ;; 52501 "msvscpp/Makefile") CONFIG_FILES="$CONFIG_FILES msvscpp/Makefile" ;; 52502 "include/libvmdk.h") CONFIG_FILES="$CONFIG_FILES include/libvmdk.h" ;; 52503 "include/libvmdk/definitions.h") CONFIG_FILES="$CONFIG_FILES include/libvmdk/definitions.h" ;; 52504 "include/libvmdk/features.h") CONFIG_FILES="$CONFIG_FILES include/libvmdk/features.h" ;; 52505 "include/libvmdk/types.h") CONFIG_FILES="$CONFIG_FILES include/libvmdk/types.h" ;; 52506 "libvmdk/libvmdk_definitions.h") CONFIG_FILES="$CONFIG_FILES libvmdk/libvmdk_definitions.h" ;; 52507 "common/types.h") CONFIG_FILES="$CONFIG_FILES common/types.h" ;; 52508 "dpkg/changelog") CONFIG_FILES="$CONFIG_FILES dpkg/changelog" ;; 52509 "libvmdk/libvmdk.rc") CONFIG_FILES="$CONFIG_FILES libvmdk/libvmdk.rc" ;; 52510 "libvmdk.pc") CONFIG_FILES="$CONFIG_FILES libvmdk.pc" ;; 52511 "libvmdk.spec") CONFIG_FILES="$CONFIG_FILES libvmdk.spec" ;; 52512 "common/config.h") CONFIG_HEADERS="$CONFIG_HEADERS common/config.h" ;; 52513 52514 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 52515 esac 52516done 52517 52518 52519# If the user did not use the arguments to specify the items to instantiate, 52520# then the envvar interface is used. Set only those that are not. 52521# We use the long form for the default assignment because of an extremely 52522# bizarre bug on SunOS 4.1.3. 52523if $ac_need_defaults; then 52524 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 52525 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 52526 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 52527fi 52528 52529# Have a temporary directory for convenience. Make it in the build tree 52530# simply because there is no reason against having it here, and in addition, 52531# creating and moving files from /tmp can sometimes cause problems. 52532# Hook for its removal unless debugging. 52533# Note that there is a small window in which the directory will not be cleaned: 52534# after its creation but before its name has been assigned to `$tmp'. 52535$debug || 52536{ 52537 tmp= ac_tmp= 52538 trap 'exit_status=$? 52539 : "${ac_tmp:=$tmp}" 52540 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 52541' 0 52542 trap 'as_fn_exit 1' 1 2 13 15 52543} 52544# Create a (secure) tmp directory for tmp files. 52545 52546{ 52547 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 52548 test -d "$tmp" 52549} || 52550{ 52551 tmp=./conf$$-$RANDOM 52552 (umask 077 && mkdir "$tmp") 52553} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 52554ac_tmp=$tmp 52555 52556# Set up the scripts for CONFIG_FILES section. 52557# No need to generate them if there are no CONFIG_FILES. 52558# This happens for instance with `./config.status config.h'. 52559if test -n "$CONFIG_FILES"; then 52560 52561 52562ac_cr=`echo X | tr X '\015'` 52563# On cygwin, bash can eat \r inside `` if the user requested igncr. 52564# But we know of no other shell where ac_cr would be empty at this 52565# point, so we can use a bashism as a fallback. 52566if test "x$ac_cr" = x; then 52567 eval ac_cr=\$\'\\r\' 52568fi 52569ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 52570if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 52571 ac_cs_awk_cr='\\r' 52572else 52573 ac_cs_awk_cr=$ac_cr 52574fi 52575 52576echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 52577_ACEOF 52578 52579 52580{ 52581 echo "cat >conf$$subs.awk <<_ACEOF" && 52582 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 52583 echo "_ACEOF" 52584} >conf$$subs.sh || 52585 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 52586ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 52587ac_delim='%!_!# ' 52588for ac_last_try in false false false false false :; do 52589 . ./conf$$subs.sh || 52590 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 52591 52592 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 52593 if test $ac_delim_n = $ac_delim_num; then 52594 break 52595 elif $ac_last_try; then 52596 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 52597 else 52598 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 52599 fi 52600done 52601rm -f conf$$subs.sh 52602 52603cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 52604cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 52605_ACEOF 52606sed -n ' 52607h 52608s/^/S["/; s/!.*/"]=/ 52609p 52610g 52611s/^[^!]*!// 52612:repl 52613t repl 52614s/'"$ac_delim"'$// 52615t delim 52616:nl 52617h 52618s/\(.\{148\}\)..*/\1/ 52619t more1 52620s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 52621p 52622n 52623b repl 52624:more1 52625s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 52626p 52627g 52628s/.\{148\}// 52629t nl 52630:delim 52631h 52632s/\(.\{148\}\)..*/\1/ 52633t more2 52634s/["\\]/\\&/g; s/^/"/; s/$/"/ 52635p 52636b 52637:more2 52638s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 52639p 52640g 52641s/.\{148\}// 52642t delim 52643' <conf$$subs.awk | sed ' 52644/^[^""]/{ 52645 N 52646 s/\n// 52647} 52648' >>$CONFIG_STATUS || ac_write_fail=1 52649rm -f conf$$subs.awk 52650cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 52651_ACAWK 52652cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 52653 for (key in S) S_is_set[key] = 1 52654 FS = "" 52655 52656} 52657{ 52658 line = $ 0 52659 nfields = split(line, field, "@") 52660 substed = 0 52661 len = length(field[1]) 52662 for (i = 2; i < nfields; i++) { 52663 key = field[i] 52664 keylen = length(key) 52665 if (S_is_set[key]) { 52666 value = S[key] 52667 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 52668 len += length(value) + length(field[++i]) 52669 substed = 1 52670 } else 52671 len += 1 + keylen 52672 } 52673 52674 print line 52675} 52676 52677_ACAWK 52678_ACEOF 52679cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 52680if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 52681 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 52682else 52683 cat 52684fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 52685 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 52686_ACEOF 52687 52688# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 52689# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 52690# trailing colons and then remove the whole line if VPATH becomes empty 52691# (actually we leave an empty line to preserve line numbers). 52692if test "x$srcdir" = x.; then 52693 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 52694h 52695s/// 52696s/^/:/ 52697s/[ ]*$/:/ 52698s/:\$(srcdir):/:/g 52699s/:\${srcdir}:/:/g 52700s/:@srcdir@:/:/g 52701s/^:*// 52702s/:*$// 52703x 52704s/\(=[ ]*\).*/\1/ 52705G 52706s/\n// 52707s/^[^=]*=[ ]*$// 52708}' 52709fi 52710 52711cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 52712fi # test -n "$CONFIG_FILES" 52713 52714# Set up the scripts for CONFIG_HEADERS section. 52715# No need to generate them if there are no CONFIG_HEADERS. 52716# This happens for instance with `./config.status Makefile'. 52717if test -n "$CONFIG_HEADERS"; then 52718cat >"$ac_tmp/defines.awk" <<\_ACAWK || 52719BEGIN { 52720_ACEOF 52721 52722# Transform confdefs.h into an awk script `defines.awk', embedded as 52723# here-document in config.status, that substitutes the proper values into 52724# config.h.in to produce config.h. 52725 52726# Create a delimiter string that does not exist in confdefs.h, to ease 52727# handling of long lines. 52728ac_delim='%!_!# ' 52729for ac_last_try in false false :; do 52730 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 52731 if test -z "$ac_tt"; then 52732 break 52733 elif $ac_last_try; then 52734 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 52735 else 52736 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 52737 fi 52738done 52739 52740# For the awk script, D is an array of macro values keyed by name, 52741# likewise P contains macro parameters if any. Preserve backslash 52742# newline sequences. 52743 52744ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 52745sed -n ' 52746s/.\{148\}/&'"$ac_delim"'/g 52747t rset 52748:rset 52749s/^[ ]*#[ ]*define[ ][ ]*/ / 52750t def 52751d 52752:def 52753s/\\$// 52754t bsnl 52755s/["\\]/\\&/g 52756s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 52757D["\1"]=" \3"/p 52758s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 52759d 52760:bsnl 52761s/["\\]/\\&/g 52762s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 52763D["\1"]=" \3\\\\\\n"\\/p 52764t cont 52765s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 52766t cont 52767d 52768:cont 52769n 52770s/.\{148\}/&'"$ac_delim"'/g 52771t clear 52772:clear 52773s/\\$// 52774t bsnlc 52775s/["\\]/\\&/g; s/^/"/; s/$/"/p 52776d 52777:bsnlc 52778s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 52779b cont 52780' <confdefs.h | sed ' 52781s/'"$ac_delim"'/"\\\ 52782"/g' >>$CONFIG_STATUS || ac_write_fail=1 52783 52784cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 52785 for (key in D) D_is_set[key] = 1 52786 FS = "" 52787} 52788/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 52789 line = \$ 0 52790 split(line, arg, " ") 52791 if (arg[1] == "#") { 52792 defundef = arg[2] 52793 mac1 = arg[3] 52794 } else { 52795 defundef = substr(arg[1], 2) 52796 mac1 = arg[2] 52797 } 52798 split(mac1, mac2, "(") #) 52799 macro = mac2[1] 52800 prefix = substr(line, 1, index(line, defundef) - 1) 52801 if (D_is_set[macro]) { 52802 # Preserve the white space surrounding the "#". 52803 print prefix "define", macro P[macro] D[macro] 52804 next 52805 } else { 52806 # Replace #undef with comments. This is necessary, for example, 52807 # in the case of _POSIX_SOURCE, which is predefined and required 52808 # on some systems where configure will not decide to define it. 52809 if (defundef == "undef") { 52810 print "/*", prefix defundef, macro, "*/" 52811 next 52812 } 52813 } 52814} 52815{ print } 52816_ACAWK 52817_ACEOF 52818cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 52819 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 52820fi # test -n "$CONFIG_HEADERS" 52821 52822 52823eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 52824shift 52825for ac_tag 52826do 52827 case $ac_tag in 52828 :[FHLC]) ac_mode=$ac_tag; continue;; 52829 esac 52830 case $ac_mode$ac_tag in 52831 :[FHL]*:*);; 52832 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 52833 :[FH]-) ac_tag=-:-;; 52834 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 52835 esac 52836 ac_save_IFS=$IFS 52837 IFS=: 52838 set x $ac_tag 52839 IFS=$ac_save_IFS 52840 shift 52841 ac_file=$1 52842 shift 52843 52844 case $ac_mode in 52845 :L) ac_source=$1;; 52846 :[FH]) 52847 ac_file_inputs= 52848 for ac_f 52849 do 52850 case $ac_f in 52851 -) ac_f="$ac_tmp/stdin";; 52852 *) # Look for the file first in the build tree, then in the source tree 52853 # (if the path is not absolute). The absolute path cannot be DOS-style, 52854 # because $ac_f cannot contain `:'. 52855 test -f "$ac_f" || 52856 case $ac_f in 52857 [\\/$]*) false;; 52858 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 52859 esac || 52860 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 52861 esac 52862 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 52863 as_fn_append ac_file_inputs " '$ac_f'" 52864 done 52865 52866 # Let's still pretend it is `configure' which instantiates (i.e., don't 52867 # use $as_me), people would be surprised to read: 52868 # /* config.h. Generated by config.status. */ 52869 configure_input='Generated from '` 52870 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 52871 `' by configure.' 52872 if test x"$ac_file" != x-; then 52873 configure_input="$ac_file. $configure_input" 52874 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 52875$as_echo "$as_me: creating $ac_file" >&6;} 52876 fi 52877 # Neutralize special characters interpreted by sed in replacement strings. 52878 case $configure_input in #( 52879 *\&* | *\|* | *\\* ) 52880 ac_sed_conf_input=`$as_echo "$configure_input" | 52881 sed 's/[\\\\&|]/\\\\&/g'`;; #( 52882 *) ac_sed_conf_input=$configure_input;; 52883 esac 52884 52885 case $ac_tag in 52886 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 52887 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 52888 esac 52889 ;; 52890 esac 52891 52892 ac_dir=`$as_dirname -- "$ac_file" || 52893$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 52894 X"$ac_file" : 'X\(//\)[^/]' \| \ 52895 X"$ac_file" : 'X\(//\)$' \| \ 52896 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 52897$as_echo X"$ac_file" | 52898 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 52899 s//\1/ 52900 q 52901 } 52902 /^X\(\/\/\)[^/].*/{ 52903 s//\1/ 52904 q 52905 } 52906 /^X\(\/\/\)$/{ 52907 s//\1/ 52908 q 52909 } 52910 /^X\(\/\).*/{ 52911 s//\1/ 52912 q 52913 } 52914 s/.*/./; q'` 52915 as_dir="$ac_dir"; as_fn_mkdir_p 52916 ac_builddir=. 52917 52918case "$ac_dir" in 52919.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 52920*) 52921 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 52922 # A ".." for each directory in $ac_dir_suffix. 52923 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 52924 case $ac_top_builddir_sub in 52925 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 52926 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 52927 esac ;; 52928esac 52929ac_abs_top_builddir=$ac_pwd 52930ac_abs_builddir=$ac_pwd$ac_dir_suffix 52931# for backward compatibility: 52932ac_top_builddir=$ac_top_build_prefix 52933 52934case $srcdir in 52935 .) # We are building in place. 52936 ac_srcdir=. 52937 ac_top_srcdir=$ac_top_builddir_sub 52938 ac_abs_top_srcdir=$ac_pwd ;; 52939 [\\/]* | ?:[\\/]* ) # Absolute name. 52940 ac_srcdir=$srcdir$ac_dir_suffix; 52941 ac_top_srcdir=$srcdir 52942 ac_abs_top_srcdir=$srcdir ;; 52943 *) # Relative name. 52944 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 52945 ac_top_srcdir=$ac_top_build_prefix$srcdir 52946 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 52947esac 52948ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 52949 52950 52951 case $ac_mode in 52952 :F) 52953 # 52954 # CONFIG_FILE 52955 # 52956 52957 case $INSTALL in 52958 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 52959 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 52960 esac 52961 ac_MKDIR_P=$MKDIR_P 52962 case $MKDIR_P in 52963 [\\/$]* | ?:[\\/]* ) ;; 52964 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 52965 esac 52966_ACEOF 52967 52968cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 52969# If the template does not know about datarootdir, expand it. 52970# FIXME: This hack should be removed a few years after 2.60. 52971ac_datarootdir_hack=; ac_datarootdir_seen= 52972ac_sed_dataroot=' 52973/datarootdir/ { 52974 p 52975 q 52976} 52977/@datadir@/p 52978/@docdir@/p 52979/@infodir@/p 52980/@localedir@/p 52981/@mandir@/p' 52982case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 52983*datarootdir*) ac_datarootdir_seen=yes;; 52984*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 52985 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 52986$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 52987_ACEOF 52988cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 52989 ac_datarootdir_hack=' 52990 s&@datadir@&$datadir&g 52991 s&@docdir@&$docdir&g 52992 s&@infodir@&$infodir&g 52993 s&@localedir@&$localedir&g 52994 s&@mandir@&$mandir&g 52995 s&\\\${datarootdir}&$datarootdir&g' ;; 52996esac 52997_ACEOF 52998 52999# Neutralize VPATH when `$srcdir' = `.'. 53000# Shell code in configure.ac might set extrasub. 53001# FIXME: do we really want to maintain this feature? 53002cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 53003ac_sed_extra="$ac_vpsub 53004$extrasub 53005_ACEOF 53006cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 53007:t 53008/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 53009s|@configure_input@|$ac_sed_conf_input|;t t 53010s&@top_builddir@&$ac_top_builddir_sub&;t t 53011s&@top_build_prefix@&$ac_top_build_prefix&;t t 53012s&@srcdir@&$ac_srcdir&;t t 53013s&@abs_srcdir@&$ac_abs_srcdir&;t t 53014s&@top_srcdir@&$ac_top_srcdir&;t t 53015s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 53016s&@builddir@&$ac_builddir&;t t 53017s&@abs_builddir@&$ac_abs_builddir&;t t 53018s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 53019s&@INSTALL@&$ac_INSTALL&;t t 53020s&@MKDIR_P@&$ac_MKDIR_P&;t t 53021$ac_datarootdir_hack 53022" 53023eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 53024 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 53025 53026test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 53027 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 53028 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 53029 "$ac_tmp/out"`; test -z "$ac_out"; } && 53030 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 53031which seems to be undefined. Please make sure it is defined" >&5 53032$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 53033which seems to be undefined. Please make sure it is defined" >&2;} 53034 53035 rm -f "$ac_tmp/stdin" 53036 case $ac_file in 53037 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 53038 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 53039 esac \ 53040 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 53041 ;; 53042 :H) 53043 # 53044 # CONFIG_HEADER 53045 # 53046 if test x"$ac_file" != x-; then 53047 { 53048 $as_echo "/* $configure_input */" \ 53049 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 53050 } >"$ac_tmp/config.h" \ 53051 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 53052 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 53053 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 53054$as_echo "$as_me: $ac_file is unchanged" >&6;} 53055 else 53056 rm -f "$ac_file" 53057 mv "$ac_tmp/config.h" "$ac_file" \ 53058 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 53059 fi 53060 else 53061 $as_echo "/* $configure_input */" \ 53062 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 53063 || as_fn_error $? "could not create -" "$LINENO" 5 53064 fi 53065# Compute "$ac_file"'s index in $config_headers. 53066_am_arg="$ac_file" 53067_am_stamp_count=1 53068for _am_header in $config_headers :; do 53069 case $_am_header in 53070 $_am_arg | $_am_arg:* ) 53071 break ;; 53072 * ) 53073 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 53074 esac 53075done 53076echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 53077$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 53078 X"$_am_arg" : 'X\(//\)[^/]' \| \ 53079 X"$_am_arg" : 'X\(//\)$' \| \ 53080 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 53081$as_echo X"$_am_arg" | 53082 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 53083 s//\1/ 53084 q 53085 } 53086 /^X\(\/\/\)[^/].*/{ 53087 s//\1/ 53088 q 53089 } 53090 /^X\(\/\/\)$/{ 53091 s//\1/ 53092 q 53093 } 53094 /^X\(\/\).*/{ 53095 s//\1/ 53096 q 53097 } 53098 s/.*/./; q'`/stamp-h$_am_stamp_count 53099 ;; 53100 53101 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 53102$as_echo "$as_me: executing $ac_file commands" >&6;} 53103 ;; 53104 esac 53105 53106 53107 case $ac_file$ac_mode in 53108 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 53109 # Older Autoconf quotes --file arguments for eval, but not when files 53110 # are listed without --file. Let's play safe and only enable the eval 53111 # if we detect the quoting. 53112 # TODO: see whether this extra hack can be removed once we start 53113 # requiring Autoconf 2.70 or later. 53114 case $CONFIG_FILES in #( 53115 *\'*) : 53116 eval set x "$CONFIG_FILES" ;; #( 53117 *) : 53118 set x $CONFIG_FILES ;; #( 53119 *) : 53120 ;; 53121esac 53122 shift 53123 # Used to flag and report bootstrapping failures. 53124 am_rc=0 53125 for am_mf 53126 do 53127 # Strip MF so we end up with the name of the file. 53128 am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'` 53129 # Check whether this is an Automake generated Makefile which includes 53130 # dependency-tracking related rules and includes. 53131 # Grep'ing the whole file directly is not great: AIX grep has a line 53132 # limit of 2048, but all sed's we know have understand at least 4000. 53133 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \ 53134 || continue 53135 am_dirpart=`$as_dirname -- "$am_mf" || 53136$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 53137 X"$am_mf" : 'X\(//\)[^/]' \| \ 53138 X"$am_mf" : 'X\(//\)$' \| \ 53139 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || 53140$as_echo X"$am_mf" | 53141 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 53142 s//\1/ 53143 q 53144 } 53145 /^X\(\/\/\)[^/].*/{ 53146 s//\1/ 53147 q 53148 } 53149 /^X\(\/\/\)$/{ 53150 s//\1/ 53151 q 53152 } 53153 /^X\(\/\).*/{ 53154 s//\1/ 53155 q 53156 } 53157 s/.*/./; q'` 53158 am_filepart=`$as_basename -- "$am_mf" || 53159$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \ 53160 X"$am_mf" : 'X\(//\)$' \| \ 53161 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || 53162$as_echo X/"$am_mf" | 53163 sed '/^.*\/\([^/][^/]*\)\/*$/{ 53164 s//\1/ 53165 q 53166 } 53167 /^X\/\(\/\/\)$/{ 53168 s//\1/ 53169 q 53170 } 53171 /^X\/\(\/\).*/{ 53172 s//\1/ 53173 q 53174 } 53175 s/.*/./; q'` 53176 { echo "$as_me:$LINENO: cd "$am_dirpart" \ 53177 && sed -e '/# am--include-marker/d' "$am_filepart" \ 53178 | $MAKE -f - am--depfiles" >&5 53179 (cd "$am_dirpart" \ 53180 && sed -e '/# am--include-marker/d' "$am_filepart" \ 53181 | $MAKE -f - am--depfiles) >&5 2>&5 53182 ac_status=$? 53183 echo "$as_me:$LINENO: \$? = $ac_status" >&5 53184 (exit $ac_status); } || am_rc=$? 53185 done 53186 if test $am_rc -ne 0; then 53187 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 53188$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 53189as_fn_error $? "Something went wrong bootstrapping makefile fragments 53190 for automatic dependency tracking. If GNU make was not used, consider 53191 re-running the configure script with MAKE=\"gmake\" (or whatever is 53192 necessary). You can also try re-running configure with the 53193 '--disable-dependency-tracking' option to at least be able to build 53194 the package (albeit without support for automatic dependency tracking). 53195See \`config.log' for more details" "$LINENO" 5; } 53196 fi 53197 { am_dirpart=; unset am_dirpart;} 53198 { am_filepart=; unset am_filepart;} 53199 { am_mf=; unset am_mf;} 53200 { am_rc=; unset am_rc;} 53201 rm -f conftest-deps.mk 53202} 53203 ;; 53204 "libtool":C) 53205 53206 # See if we are running on zsh, and set the options that allow our 53207 # commands through without removal of \ escapes. 53208 if test -n "${ZSH_VERSION+set}"; then 53209 setopt NO_GLOB_SUBST 53210 fi 53211 53212 cfgfile=${ofile}T 53213 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 53214 $RM "$cfgfile" 53215 53216 cat <<_LT_EOF >> "$cfgfile" 53217#! $SHELL 53218# Generated automatically by $as_me ($PACKAGE) $VERSION 53219# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 53220# NOTE: Changes made to this file will be lost: look at ltmain.sh. 53221 53222# Provide generalized library-building support services. 53223# Written by Gordon Matzigkeit, 1996 53224 53225# Copyright (C) 2014 Free Software Foundation, Inc. 53226# This is free software; see the source for copying conditions. There is NO 53227# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 53228 53229# GNU Libtool is free software; you can redistribute it and/or modify 53230# it under the terms of the GNU General Public License as published by 53231# the Free Software Foundation; either version 2 of of the License, or 53232# (at your option) any later version. 53233# 53234# As a special exception to the GNU General Public License, if you 53235# distribute this file as part of a program or library that is built 53236# using GNU Libtool, you may include this file under the same 53237# distribution terms that you use for the rest of that program. 53238# 53239# GNU Libtool is distributed in the hope that it will be useful, but 53240# WITHOUT ANY WARRANTY; without even the implied warranty of 53241# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 53242# GNU General Public License for more details. 53243# 53244# You should have received a copy of the GNU General Public License 53245# along with this program. If not, see <http://www.gnu.org/licenses/>. 53246 53247 53248# The names of the tagged configurations supported by this script. 53249available_tags='CXX ' 53250 53251# Configured defaults for sys_lib_dlsearch_path munging. 53252: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} 53253 53254# ### BEGIN LIBTOOL CONFIG 53255 53256# Assembler program. 53257AS=$lt_AS 53258 53259# DLL creation program. 53260DLLTOOL=$lt_DLLTOOL 53261 53262# Object dumper program. 53263OBJDUMP=$lt_OBJDUMP 53264 53265# Which release of libtool.m4 was used? 53266macro_version=$macro_version 53267macro_revision=$macro_revision 53268 53269# Whether or not to build shared libraries. 53270build_libtool_libs=$enable_shared 53271 53272# Whether or not to build static libraries. 53273build_old_libs=$enable_static 53274 53275# What type of objects to build. 53276pic_mode=$pic_mode 53277 53278# Whether or not to optimize for fast installation. 53279fast_install=$enable_fast_install 53280 53281# Shared archive member basename,for filename based shared library versioning on AIX. 53282shared_archive_member_spec=$shared_archive_member_spec 53283 53284# Shell to use when invoking shell scripts. 53285SHELL=$lt_SHELL 53286 53287# An echo program that protects backslashes. 53288ECHO=$lt_ECHO 53289 53290# The PATH separator for the build system. 53291PATH_SEPARATOR=$lt_PATH_SEPARATOR 53292 53293# The host system. 53294host_alias=$host_alias 53295host=$host 53296host_os=$host_os 53297 53298# The build system. 53299build_alias=$build_alias 53300build=$build 53301build_os=$build_os 53302 53303# A sed program that does not truncate output. 53304SED=$lt_SED 53305 53306# Sed that helps us avoid accidentally triggering echo(1) options like -n. 53307Xsed="\$SED -e 1s/^X//" 53308 53309# A grep program that handles long lines. 53310GREP=$lt_GREP 53311 53312# An ERE matcher. 53313EGREP=$lt_EGREP 53314 53315# A literal string matcher. 53316FGREP=$lt_FGREP 53317 53318# A BSD- or MS-compatible name lister. 53319NM=$lt_NM 53320 53321# Whether we need soft or hard links. 53322LN_S=$lt_LN_S 53323 53324# What is the maximum length of a command? 53325max_cmd_len=$max_cmd_len 53326 53327# Object file suffix (normally "o"). 53328objext=$ac_objext 53329 53330# Executable file suffix (normally ""). 53331exeext=$exeext 53332 53333# whether the shell understands "unset". 53334lt_unset=$lt_unset 53335 53336# turn spaces into newlines. 53337SP2NL=$lt_lt_SP2NL 53338 53339# turn newlines into spaces. 53340NL2SP=$lt_lt_NL2SP 53341 53342# convert \$build file names to \$host format. 53343to_host_file_cmd=$lt_cv_to_host_file_cmd 53344 53345# convert \$build files to toolchain format. 53346to_tool_file_cmd=$lt_cv_to_tool_file_cmd 53347 53348# Method to check whether dependent libraries are shared objects. 53349deplibs_check_method=$lt_deplibs_check_method 53350 53351# Command to use when deplibs_check_method = "file_magic". 53352file_magic_cmd=$lt_file_magic_cmd 53353 53354# How to find potential files when deplibs_check_method = "file_magic". 53355file_magic_glob=$lt_file_magic_glob 53356 53357# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 53358want_nocaseglob=$lt_want_nocaseglob 53359 53360# Command to associate shared and link libraries. 53361sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 53362 53363# The archiver. 53364AR=$lt_AR 53365 53366# Flags to create an archive. 53367AR_FLAGS=$lt_AR_FLAGS 53368 53369# How to feed a file listing to the archiver. 53370archiver_list_spec=$lt_archiver_list_spec 53371 53372# A symbol stripping program. 53373STRIP=$lt_STRIP 53374 53375# Commands used to install an old-style archive. 53376RANLIB=$lt_RANLIB 53377old_postinstall_cmds=$lt_old_postinstall_cmds 53378old_postuninstall_cmds=$lt_old_postuninstall_cmds 53379 53380# Whether to use a lock for old archive extraction. 53381lock_old_archive_extraction=$lock_old_archive_extraction 53382 53383# A C compiler. 53384LTCC=$lt_CC 53385 53386# LTCC compiler flags. 53387LTCFLAGS=$lt_CFLAGS 53388 53389# Take the output of nm and produce a listing of raw symbols and C names. 53390global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 53391 53392# Transform the output of nm in a proper C declaration. 53393global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 53394 53395# Transform the output of nm into a list of symbols to manually relocate. 53396global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import 53397 53398# Transform the output of nm in a C name address pair. 53399global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 53400 53401# Transform the output of nm in a C name address pair when lib prefix is needed. 53402global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 53403 53404# The name lister interface. 53405nm_interface=$lt_lt_cv_nm_interface 53406 53407# Specify filename containing input files for \$NM. 53408nm_file_list_spec=$lt_nm_file_list_spec 53409 53410# The root where to search for dependent libraries,and where our libraries should be installed. 53411lt_sysroot=$lt_sysroot 53412 53413# Command to truncate a binary pipe. 53414lt_truncate_bin=$lt_lt_cv_truncate_bin 53415 53416# The name of the directory that contains temporary libtool files. 53417objdir=$objdir 53418 53419# Used to examine libraries when file_magic_cmd begins with "file". 53420MAGIC_CMD=$MAGIC_CMD 53421 53422# Must we lock files when doing compilation? 53423need_locks=$lt_need_locks 53424 53425# Manifest tool. 53426MANIFEST_TOOL=$lt_MANIFEST_TOOL 53427 53428# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 53429DSYMUTIL=$lt_DSYMUTIL 53430 53431# Tool to change global to local symbols on Mac OS X. 53432NMEDIT=$lt_NMEDIT 53433 53434# Tool to manipulate fat objects and archives on Mac OS X. 53435LIPO=$lt_LIPO 53436 53437# ldd/readelf like tool for Mach-O binaries on Mac OS X. 53438OTOOL=$lt_OTOOL 53439 53440# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 53441OTOOL64=$lt_OTOOL64 53442 53443# Old archive suffix (normally "a"). 53444libext=$libext 53445 53446# Shared library suffix (normally ".so"). 53447shrext_cmds=$lt_shrext_cmds 53448 53449# The commands to extract the exported symbol list from a shared archive. 53450extract_expsyms_cmds=$lt_extract_expsyms_cmds 53451 53452# Variables whose values should be saved in libtool wrapper scripts and 53453# restored at link time. 53454variables_saved_for_relink=$lt_variables_saved_for_relink 53455 53456# Do we need the "lib" prefix for modules? 53457need_lib_prefix=$need_lib_prefix 53458 53459# Do we need a version for libraries? 53460need_version=$need_version 53461 53462# Library versioning type. 53463version_type=$version_type 53464 53465# Shared library runtime path variable. 53466runpath_var=$runpath_var 53467 53468# Shared library path variable. 53469shlibpath_var=$shlibpath_var 53470 53471# Is shlibpath searched before the hard-coded library search path? 53472shlibpath_overrides_runpath=$shlibpath_overrides_runpath 53473 53474# Format of library name prefix. 53475libname_spec=$lt_libname_spec 53476 53477# List of archive names. First name is the real one, the rest are links. 53478# The last name is the one that the linker finds with -lNAME 53479library_names_spec=$lt_library_names_spec 53480 53481# The coded name of the library, if different from the real name. 53482soname_spec=$lt_soname_spec 53483 53484# Permission mode override for installation of shared libraries. 53485install_override_mode=$lt_install_override_mode 53486 53487# Command to use after installation of a shared archive. 53488postinstall_cmds=$lt_postinstall_cmds 53489 53490# Command to use after uninstallation of a shared archive. 53491postuninstall_cmds=$lt_postuninstall_cmds 53492 53493# Commands used to finish a libtool library installation in a directory. 53494finish_cmds=$lt_finish_cmds 53495 53496# As "finish_cmds", except a single script fragment to be evaled but 53497# not shown. 53498finish_eval=$lt_finish_eval 53499 53500# Whether we should hardcode library paths into libraries. 53501hardcode_into_libs=$hardcode_into_libs 53502 53503# Compile-time system search path for libraries. 53504sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 53505 53506# Detected run-time system search path for libraries. 53507sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path 53508 53509# Explicit LT_SYS_LIBRARY_PATH set during ./configure time. 53510configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path 53511 53512# Whether dlopen is supported. 53513dlopen_support=$enable_dlopen 53514 53515# Whether dlopen of programs is supported. 53516dlopen_self=$enable_dlopen_self 53517 53518# Whether dlopen of statically linked programs is supported. 53519dlopen_self_static=$enable_dlopen_self_static 53520 53521# Commands to strip libraries. 53522old_striplib=$lt_old_striplib 53523striplib=$lt_striplib 53524 53525 53526# The linker used to build libraries. 53527LD=$lt_LD 53528 53529# How to create reloadable object files. 53530reload_flag=$lt_reload_flag 53531reload_cmds=$lt_reload_cmds 53532 53533# Commands used to build an old-style archive. 53534old_archive_cmds=$lt_old_archive_cmds 53535 53536# A language specific compiler. 53537CC=$lt_compiler 53538 53539# Is the compiler the GNU compiler? 53540with_gcc=$GCC 53541 53542# Compiler flag to turn off builtin functions. 53543no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 53544 53545# Additional compiler flags for building library objects. 53546pic_flag=$lt_lt_prog_compiler_pic 53547 53548# How to pass a linker flag through the compiler. 53549wl=$lt_lt_prog_compiler_wl 53550 53551# Compiler flag to prevent dynamic linking. 53552link_static_flag=$lt_lt_prog_compiler_static 53553 53554# Does compiler simultaneously support -c and -o options? 53555compiler_c_o=$lt_lt_cv_prog_compiler_c_o 53556 53557# Whether or not to add -lc for building shared libraries. 53558build_libtool_need_lc=$archive_cmds_need_lc 53559 53560# Whether or not to disallow shared libs when runtime libs are static. 53561allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 53562 53563# Compiler flag to allow reflexive dlopens. 53564export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 53565 53566# Compiler flag to generate shared objects directly from archives. 53567whole_archive_flag_spec=$lt_whole_archive_flag_spec 53568 53569# Whether the compiler copes with passing no objects directly. 53570compiler_needs_object=$lt_compiler_needs_object 53571 53572# Create an old-style archive from a shared archive. 53573old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 53574 53575# Create a temporary old-style archive to link instead of a shared archive. 53576old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 53577 53578# Commands used to build a shared archive. 53579archive_cmds=$lt_archive_cmds 53580archive_expsym_cmds=$lt_archive_expsym_cmds 53581 53582# Commands used to build a loadable module if different from building 53583# a shared archive. 53584module_cmds=$lt_module_cmds 53585module_expsym_cmds=$lt_module_expsym_cmds 53586 53587# Whether we are building with GNU ld or not. 53588with_gnu_ld=$lt_with_gnu_ld 53589 53590# Flag that allows shared libraries with undefined symbols to be built. 53591allow_undefined_flag=$lt_allow_undefined_flag 53592 53593# Flag that enforces no undefined symbols. 53594no_undefined_flag=$lt_no_undefined_flag 53595 53596# Flag to hardcode \$libdir into a binary during linking. 53597# This must work even if \$libdir does not exist 53598hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 53599 53600# Whether we need a single "-rpath" flag with a separated argument. 53601hardcode_libdir_separator=$lt_hardcode_libdir_separator 53602 53603# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 53604# DIR into the resulting binary. 53605hardcode_direct=$hardcode_direct 53606 53607# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 53608# DIR into the resulting binary and the resulting library dependency is 53609# "absolute",i.e impossible to change by setting \$shlibpath_var if the 53610# library is relocated. 53611hardcode_direct_absolute=$hardcode_direct_absolute 53612 53613# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 53614# into the resulting binary. 53615hardcode_minus_L=$hardcode_minus_L 53616 53617# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 53618# into the resulting binary. 53619hardcode_shlibpath_var=$hardcode_shlibpath_var 53620 53621# Set to "yes" if building a shared library automatically hardcodes DIR 53622# into the library and all subsequent libraries and executables linked 53623# against it. 53624hardcode_automatic=$hardcode_automatic 53625 53626# Set to yes if linker adds runtime paths of dependent libraries 53627# to runtime path list. 53628inherit_rpath=$inherit_rpath 53629 53630# Whether libtool must link a program against all its dependency libraries. 53631link_all_deplibs=$link_all_deplibs 53632 53633# Set to "yes" if exported symbols are required. 53634always_export_symbols=$always_export_symbols 53635 53636# The commands to list exported symbols. 53637export_symbols_cmds=$lt_export_symbols_cmds 53638 53639# Symbols that should not be listed in the preloaded symbols. 53640exclude_expsyms=$lt_exclude_expsyms 53641 53642# Symbols that must always be exported. 53643include_expsyms=$lt_include_expsyms 53644 53645# Commands necessary for linking programs (against libraries) with templates. 53646prelink_cmds=$lt_prelink_cmds 53647 53648# Commands necessary for finishing linking programs. 53649postlink_cmds=$lt_postlink_cmds 53650 53651# Specify filename containing input files. 53652file_list_spec=$lt_file_list_spec 53653 53654# How to hardcode a shared library path into an executable. 53655hardcode_action=$hardcode_action 53656 53657# The directories searched by this compiler when creating a shared library. 53658compiler_lib_search_dirs=$lt_compiler_lib_search_dirs 53659 53660# Dependencies to place before and after the objects being linked to 53661# create a shared library. 53662predep_objects=$lt_predep_objects 53663postdep_objects=$lt_postdep_objects 53664predeps=$lt_predeps 53665postdeps=$lt_postdeps 53666 53667# The library search path used internally by the compiler when linking 53668# a shared library. 53669compiler_lib_search_path=$lt_compiler_lib_search_path 53670 53671# ### END LIBTOOL CONFIG 53672 53673_LT_EOF 53674 53675 cat <<'_LT_EOF' >> "$cfgfile" 53676 53677# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE 53678 53679# func_munge_path_list VARIABLE PATH 53680# ----------------------------------- 53681# VARIABLE is name of variable containing _space_ separated list of 53682# directories to be munged by the contents of PATH, which is string 53683# having a format: 53684# "DIR[:DIR]:" 53685# string "DIR[ DIR]" will be prepended to VARIABLE 53686# ":DIR[:DIR]" 53687# string "DIR[ DIR]" will be appended to VARIABLE 53688# "DIRP[:DIRP]::[DIRA:]DIRA" 53689# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 53690# "DIRA[ DIRA]" will be appended to VARIABLE 53691# "DIR[:DIR]" 53692# VARIABLE will be replaced by "DIR[ DIR]" 53693func_munge_path_list () 53694{ 53695 case x$2 in 53696 x) 53697 ;; 53698 *:) 53699 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 53700 ;; 53701 x:*) 53702 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 53703 ;; 53704 *::*) 53705 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 53706 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 53707 ;; 53708 *) 53709 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 53710 ;; 53711 esac 53712} 53713 53714 53715# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 53716func_cc_basename () 53717{ 53718 for cc_temp in $*""; do 53719 case $cc_temp in 53720 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 53721 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 53722 \-*) ;; 53723 *) break;; 53724 esac 53725 done 53726 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 53727} 53728 53729 53730# ### END FUNCTIONS SHARED WITH CONFIGURE 53731 53732_LT_EOF 53733 53734 case $host_os in 53735 aix3*) 53736 cat <<\_LT_EOF >> "$cfgfile" 53737# AIX sometimes has problems with the GCC collect2 program. For some 53738# reason, if we set the COLLECT_NAMES environment variable, the problems 53739# vanish in a puff of smoke. 53740if test set != "${COLLECT_NAMES+set}"; then 53741 COLLECT_NAMES= 53742 export COLLECT_NAMES 53743fi 53744_LT_EOF 53745 ;; 53746 esac 53747 53748 53749ltmain=$ac_aux_dir/ltmain.sh 53750 53751 53752 # We use sed instead of cat because bash on DJGPP gets confused if 53753 # if finds mixed CR/LF and LF-only lines. Since sed operates in 53754 # text mode, it properly converts lines to CR/LF. This bash problem 53755 # is reportedly fixed, but why not run on old versions too? 53756 sed '$q' "$ltmain" >> "$cfgfile" \ 53757 || (rm -f "$cfgfile"; exit 1) 53758 53759 mv -f "$cfgfile" "$ofile" || 53760 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 53761 chmod +x "$ofile" 53762 53763 53764 cat <<_LT_EOF >> "$ofile" 53765 53766# ### BEGIN LIBTOOL TAG CONFIG: CXX 53767 53768# The linker used to build libraries. 53769LD=$lt_LD_CXX 53770 53771# How to create reloadable object files. 53772reload_flag=$lt_reload_flag_CXX 53773reload_cmds=$lt_reload_cmds_CXX 53774 53775# Commands used to build an old-style archive. 53776old_archive_cmds=$lt_old_archive_cmds_CXX 53777 53778# A language specific compiler. 53779CC=$lt_compiler_CXX 53780 53781# Is the compiler the GNU compiler? 53782with_gcc=$GCC_CXX 53783 53784# Compiler flag to turn off builtin functions. 53785no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX 53786 53787# Additional compiler flags for building library objects. 53788pic_flag=$lt_lt_prog_compiler_pic_CXX 53789 53790# How to pass a linker flag through the compiler. 53791wl=$lt_lt_prog_compiler_wl_CXX 53792 53793# Compiler flag to prevent dynamic linking. 53794link_static_flag=$lt_lt_prog_compiler_static_CXX 53795 53796# Does compiler simultaneously support -c and -o options? 53797compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX 53798 53799# Whether or not to add -lc for building shared libraries. 53800build_libtool_need_lc=$archive_cmds_need_lc_CXX 53801 53802# Whether or not to disallow shared libs when runtime libs are static. 53803allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX 53804 53805# Compiler flag to allow reflexive dlopens. 53806export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX 53807 53808# Compiler flag to generate shared objects directly from archives. 53809whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX 53810 53811# Whether the compiler copes with passing no objects directly. 53812compiler_needs_object=$lt_compiler_needs_object_CXX 53813 53814# Create an old-style archive from a shared archive. 53815old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX 53816 53817# Create a temporary old-style archive to link instead of a shared archive. 53818old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX 53819 53820# Commands used to build a shared archive. 53821archive_cmds=$lt_archive_cmds_CXX 53822archive_expsym_cmds=$lt_archive_expsym_cmds_CXX 53823 53824# Commands used to build a loadable module if different from building 53825# a shared archive. 53826module_cmds=$lt_module_cmds_CXX 53827module_expsym_cmds=$lt_module_expsym_cmds_CXX 53828 53829# Whether we are building with GNU ld or not. 53830with_gnu_ld=$lt_with_gnu_ld_CXX 53831 53832# Flag that allows shared libraries with undefined symbols to be built. 53833allow_undefined_flag=$lt_allow_undefined_flag_CXX 53834 53835# Flag that enforces no undefined symbols. 53836no_undefined_flag=$lt_no_undefined_flag_CXX 53837 53838# Flag to hardcode \$libdir into a binary during linking. 53839# This must work even if \$libdir does not exist 53840hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX 53841 53842# Whether we need a single "-rpath" flag with a separated argument. 53843hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX 53844 53845# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 53846# DIR into the resulting binary. 53847hardcode_direct=$hardcode_direct_CXX 53848 53849# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 53850# DIR into the resulting binary and the resulting library dependency is 53851# "absolute",i.e impossible to change by setting \$shlibpath_var if the 53852# library is relocated. 53853hardcode_direct_absolute=$hardcode_direct_absolute_CXX 53854 53855# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 53856# into the resulting binary. 53857hardcode_minus_L=$hardcode_minus_L_CXX 53858 53859# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 53860# into the resulting binary. 53861hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX 53862 53863# Set to "yes" if building a shared library automatically hardcodes DIR 53864# into the library and all subsequent libraries and executables linked 53865# against it. 53866hardcode_automatic=$hardcode_automatic_CXX 53867 53868# Set to yes if linker adds runtime paths of dependent libraries 53869# to runtime path list. 53870inherit_rpath=$inherit_rpath_CXX 53871 53872# Whether libtool must link a program against all its dependency libraries. 53873link_all_deplibs=$link_all_deplibs_CXX 53874 53875# Set to "yes" if exported symbols are required. 53876always_export_symbols=$always_export_symbols_CXX 53877 53878# The commands to list exported symbols. 53879export_symbols_cmds=$lt_export_symbols_cmds_CXX 53880 53881# Symbols that should not be listed in the preloaded symbols. 53882exclude_expsyms=$lt_exclude_expsyms_CXX 53883 53884# Symbols that must always be exported. 53885include_expsyms=$lt_include_expsyms_CXX 53886 53887# Commands necessary for linking programs (against libraries) with templates. 53888prelink_cmds=$lt_prelink_cmds_CXX 53889 53890# Commands necessary for finishing linking programs. 53891postlink_cmds=$lt_postlink_cmds_CXX 53892 53893# Specify filename containing input files. 53894file_list_spec=$lt_file_list_spec_CXX 53895 53896# How to hardcode a shared library path into an executable. 53897hardcode_action=$hardcode_action_CXX 53898 53899# The directories searched by this compiler when creating a shared library. 53900compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX 53901 53902# Dependencies to place before and after the objects being linked to 53903# create a shared library. 53904predep_objects=$lt_predep_objects_CXX 53905postdep_objects=$lt_postdep_objects_CXX 53906predeps=$lt_predeps_CXX 53907postdeps=$lt_postdeps_CXX 53908 53909# The library search path used internally by the compiler when linking 53910# a shared library. 53911compiler_lib_search_path=$lt_compiler_lib_search_path_CXX 53912 53913# ### END LIBTOOL TAG CONFIG: CXX 53914_LT_EOF 53915 53916 ;; 53917 "po-directories":C) 53918 for ac_file in $CONFIG_FILES; do 53919 # Support "outfile[:infile[:infile...]]" 53920 case "$ac_file" in 53921 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; 53922 esac 53923 # PO directories have a Makefile.in generated from Makefile.in.in. 53924 case "$ac_file" in */Makefile.in) 53925 # Adjust a relative srcdir. 53926 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` 53927 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`" 53928 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` 53929 # In autoconf-2.13 it is called $ac_given_srcdir. 53930 # In autoconf-2.50 it is called $srcdir. 53931 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" 53932 case "$ac_given_srcdir" in 53933 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; 53934 /*) top_srcdir="$ac_given_srcdir" ;; 53935 *) top_srcdir="$ac_dots$ac_given_srcdir" ;; 53936 esac 53937 # Treat a directory as a PO directory if and only if it has a 53938 # POTFILES.in file. This allows packages to have multiple PO 53939 # directories under different names or in different locations. 53940 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then 53941 rm -f "$ac_dir/POTFILES" 53942 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" 53943 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" 53944 POMAKEFILEDEPS="POTFILES.in" 53945 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend 53946 # on $ac_dir but don't depend on user-specified configuration 53947 # parameters. 53948 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then 53949 # The LINGUAS file contains the set of available languages. 53950 if test -n "$OBSOLETE_ALL_LINGUAS"; then 53951 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" 53952 fi 53953 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"` 53954 # Hide the ALL_LINGUAS assigment from automake < 1.5. 53955 eval 'ALL_LINGUAS''=$ALL_LINGUAS_' 53956 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" 53957 else 53958 # The set of available languages was given in configure.in. 53959 # Hide the ALL_LINGUAS assigment from automake < 1.5. 53960 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' 53961 fi 53962 # Compute POFILES 53963 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) 53964 # Compute UPDATEPOFILES 53965 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) 53966 # Compute DUMMYPOFILES 53967 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) 53968 # Compute GMOFILES 53969 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) 53970 case "$ac_given_srcdir" in 53971 .) srcdirpre= ;; 53972 *) srcdirpre='$(srcdir)/' ;; 53973 esac 53974 POFILES= 53975 UPDATEPOFILES= 53976 DUMMYPOFILES= 53977 GMOFILES= 53978 for lang in $ALL_LINGUAS; do 53979 POFILES="$POFILES $srcdirpre$lang.po" 53980 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" 53981 DUMMYPOFILES="$DUMMYPOFILES $lang.nop" 53982 GMOFILES="$GMOFILES $srcdirpre$lang.gmo" 53983 done 53984 # CATALOGS depends on both $ac_dir and the user's LINGUAS 53985 # environment variable. 53986 INST_LINGUAS= 53987 if test -n "$ALL_LINGUAS"; then 53988 for presentlang in $ALL_LINGUAS; do 53989 useit=no 53990 if test "%UNSET%" != "$LINGUAS"; then 53991 desiredlanguages="$LINGUAS" 53992 else 53993 desiredlanguages="$ALL_LINGUAS" 53994 fi 53995 for desiredlang in $desiredlanguages; do 53996 # Use the presentlang catalog if desiredlang is 53997 # a. equal to presentlang, or 53998 # b. a variant of presentlang (because in this case, 53999 # presentlang can be used as a fallback for messages 54000 # which are not translated in the desiredlang catalog). 54001 case "$desiredlang" in 54002 "$presentlang"*) useit=yes;; 54003 esac 54004 done 54005 if test $useit = yes; then 54006 INST_LINGUAS="$INST_LINGUAS $presentlang" 54007 fi 54008 done 54009 fi 54010 CATALOGS= 54011 if test -n "$INST_LINGUAS"; then 54012 for lang in $INST_LINGUAS; do 54013 CATALOGS="$CATALOGS $lang.gmo" 54014 done 54015 fi 54016 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" 54017 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" 54018 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do 54019 if test -f "$f"; then 54020 case "$f" in 54021 *.orig | *.bak | *~) ;; 54022 *) cat "$f" >> "$ac_dir/Makefile" ;; 54023 esac 54024 fi 54025 done 54026 fi 54027 ;; 54028 esac 54029 done ;; 54030 54031 esac 54032done # for ac_tag 54033 54034 54035as_fn_exit 0 54036_ACEOF 54037ac_clean_files=$ac_clean_files_save 54038 54039test $ac_write_fail = 0 || 54040 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 54041 54042 54043# configure is writing to config.log, and then calls config.status. 54044# config.status does its own redirection, appending to config.log. 54045# Unfortunately, on DOS this fails, as config.log is still kept open 54046# by configure, so config.status won't be able to write to it; its 54047# output is simply discarded. So we exec the FD to /dev/null, 54048# effectively closing config.log, so it can be properly (re)opened and 54049# appended to by config.status. When coming back to configure, we 54050# need to make the FD available again. 54051if test "$no_create" != yes; then 54052 ac_cs_success=: 54053 ac_config_status_args= 54054 test "$silent" = yes && 54055 ac_config_status_args="$ac_config_status_args --quiet" 54056 exec 5>/dev/null 54057 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 54058 exec 5>>config.log 54059 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 54060 # would make configure fail if this is the last instruction. 54061 $ac_cs_success || as_fn_exit 1 54062fi 54063if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 54064 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 54065$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 54066fi 54067 54068 54069{ $as_echo "$as_me:${as_lineno-$LINENO}: 54070Building: 54071 libcerror support: $ac_cv_libcerror 54072 libcthreads support: $ac_cv_libcthreads 54073 libcdata support: $ac_cv_libcdata 54074 libclocale support: $ac_cv_libclocale 54075 libcnotify support: $ac_cv_libcnotify 54076 libcsplit support: $ac_cv_libcsplit 54077 libuna support: $ac_cv_libuna 54078 libcfile support: $ac_cv_libcfile 54079 libcpath support: $ac_cv_libcpath 54080 libbfio support: $ac_cv_libbfio 54081 libfcache support: $ac_cv_libfcache 54082 libfdata support: $ac_cv_libfdata 54083 libfvalue support: $ac_cv_libfvalue 54084 DEFLATE compression support: $ac_cv_uncompress 54085 FUSE support: $ac_cv_libfuse 54086 54087Features: 54088 Multi-threading support: $ac_cv_libcthreads_multi_threading 54089 Wide character type support: $ac_cv_enable_wide_character_type 54090 vmdktools are build as static executables: $ac_cv_enable_static_executables 54091 Python (pyvmdk) support: $ac_cv_enable_python 54092 Verbose output: $ac_cv_enable_verbose_output 54093 Debug output: $ac_cv_enable_debug_output 54094" >&5 54095$as_echo "$as_me: 54096Building: 54097 libcerror support: $ac_cv_libcerror 54098 libcthreads support: $ac_cv_libcthreads 54099 libcdata support: $ac_cv_libcdata 54100 libclocale support: $ac_cv_libclocale 54101 libcnotify support: $ac_cv_libcnotify 54102 libcsplit support: $ac_cv_libcsplit 54103 libuna support: $ac_cv_libuna 54104 libcfile support: $ac_cv_libcfile 54105 libcpath support: $ac_cv_libcpath 54106 libbfio support: $ac_cv_libbfio 54107 libfcache support: $ac_cv_libfcache 54108 libfdata support: $ac_cv_libfdata 54109 libfvalue support: $ac_cv_libfvalue 54110 DEFLATE compression support: $ac_cv_uncompress 54111 FUSE support: $ac_cv_libfuse 54112 54113Features: 54114 Multi-threading support: $ac_cv_libcthreads_multi_threading 54115 Wide character type support: $ac_cv_enable_wide_character_type 54116 vmdktools are build as static executables: $ac_cv_enable_static_executables 54117 Python (pyvmdk) support: $ac_cv_enable_python 54118 Verbose output: $ac_cv_enable_verbose_output 54119 Debug output: $ac_cv_enable_debug_output 54120" >&6;}; 54121 54122