1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69 for libregf 20210615. 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='libregf' 592PACKAGE_TARNAME='libregf' 593PACKAGE_VERSION='20210615' 594PACKAGE_STRING='libregf 20210615' 595PACKAGE_BUGREPORT='joachim.metz@gmail.com' 596PACKAGE_URL='' 597 598ac_unique_file="include/libregf.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 642libregf_spec_tools_build_requires 643libregf_spec_requires 644LIB_FUZZING_ENGINE 645HAVE_LIB_FUZZING_ENGINE_FALSE 646HAVE_LIB_FUZZING_ENGINE_TRUE 647LIBREGF_DLL_IMPORT 648LIBREGF_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_libfwnt_spec_build_requires 702ax_libfwnt_spec_requires 703ax_libfwnt_pc_libs_private 704LIBFWNT_LIBADD 705LIBFWNT_CPPFLAGS 706HAVE_LOCAL_LIBFWNT_FALSE 707HAVE_LOCAL_LIBFWNT_TRUE 708HAVE_LOCAL_LIBFWNT 709HAVE_LIBFWNT 710libfwnt_LIBS 711libfwnt_CFLAGS 712ax_libfdatetime_spec_build_requires 713ax_libfdatetime_spec_requires 714ax_libfdatetime_pc_libs_private 715LIBFDATETIME_LIBADD 716LIBFDATETIME_CPPFLAGS 717HAVE_LOCAL_LIBFDATETIME_FALSE 718HAVE_LOCAL_LIBFDATETIME_TRUE 719HAVE_LOCAL_LIBFDATETIME 720HAVE_LIBFDATETIME 721libfdatetime_LIBS 722libfdatetime_CFLAGS 723ax_libfdata_spec_build_requires 724ax_libfdata_spec_requires 725ax_libfdata_pc_libs_private 726LIBFDATA_LIBADD 727LIBFDATA_CPPFLAGS 728HAVE_LOCAL_LIBFDATA_FALSE 729HAVE_LOCAL_LIBFDATA_TRUE 730HAVE_LOCAL_LIBFDATA 731HAVE_LIBFDATA 732libfdata_LIBS 733libfdata_CFLAGS 734ax_libfcache_spec_build_requires 735ax_libfcache_spec_requires 736ax_libfcache_pc_libs_private 737LIBFCACHE_LIBADD 738LIBFCACHE_CPPFLAGS 739HAVE_LOCAL_LIBFCACHE_FALSE 740HAVE_LOCAL_LIBFCACHE_TRUE 741HAVE_LOCAL_LIBFCACHE 742HAVE_LIBFCACHE 743libfcache_LIBS 744libfcache_CFLAGS 745ax_libbfio_spec_build_requires 746ax_libbfio_spec_requires 747ax_libbfio_pc_libs_private 748LIBBFIO_LIBADD 749LIBBFIO_CPPFLAGS 750HAVE_LOCAL_LIBBFIO_FALSE 751HAVE_LOCAL_LIBBFIO_TRUE 752HAVE_LOCAL_LIBBFIO 753HAVE_LIBBFIO 754libbfio_LIBS 755libbfio_CFLAGS 756ax_libcpath_spec_build_requires 757ax_libcpath_spec_requires 758ax_libcpath_pc_libs_private 759LIBCPATH_LIBADD 760LIBCPATH_CPPFLAGS 761HAVE_LOCAL_LIBCPATH_FALSE 762HAVE_LOCAL_LIBCPATH_TRUE 763HAVE_LOCAL_LIBCPATH 764HAVE_LIBCPATH 765libcpath_LIBS 766libcpath_CFLAGS 767ax_libcfile_spec_build_requires 768ax_libcfile_spec_requires 769ax_libcfile_pc_libs_private 770LIBCFILE_LIBADD 771LIBCFILE_CPPFLAGS 772HAVE_LOCAL_LIBCFILE_FALSE 773HAVE_LOCAL_LIBCFILE_TRUE 774HAVE_LOCAL_LIBCFILE 775HAVE_LIBCFILE 776libcfile_LIBS 777libcfile_CFLAGS 778ax_libuna_spec_build_requires 779ax_libuna_spec_requires 780ax_libuna_pc_libs_private 781LIBUNA_LIBADD 782LIBUNA_CPPFLAGS 783HAVE_LOCAL_LIBUNA_FALSE 784HAVE_LOCAL_LIBUNA_TRUE 785HAVE_LOCAL_LIBUNA 786HAVE_LIBUNA 787libuna_LIBS 788libuna_CFLAGS 789ax_libcsplit_spec_build_requires 790ax_libcsplit_spec_requires 791ax_libcsplit_pc_libs_private 792LIBCSPLIT_LIBADD 793LIBCSPLIT_CPPFLAGS 794HAVE_LOCAL_LIBCSPLIT_FALSE 795HAVE_LOCAL_LIBCSPLIT_TRUE 796HAVE_LOCAL_LIBCSPLIT 797HAVE_LIBCSPLIT 798libcsplit_LIBS 799libcsplit_CFLAGS 800ax_libcnotify_spec_build_requires 801ax_libcnotify_spec_requires 802ax_libcnotify_pc_libs_private 803LIBCNOTIFY_LIBADD 804LIBCNOTIFY_CPPFLAGS 805HAVE_LOCAL_LIBCNOTIFY_FALSE 806HAVE_LOCAL_LIBCNOTIFY_TRUE 807HAVE_LOCAL_LIBCNOTIFY 808HAVE_LIBCNOTIFY 809libcnotify_LIBS 810libcnotify_CFLAGS 811ax_libclocale_spec_build_requires 812ax_libclocale_spec_requires 813ax_libclocale_pc_libs_private 814LIBCLOCALE_LIBADD 815LIBCLOCALE_CPPFLAGS 816HAVE_LOCAL_LIBCLOCALE_FALSE 817HAVE_LOCAL_LIBCLOCALE_TRUE 818HAVE_LOCAL_LIBCLOCALE 819HAVE_LIBCLOCALE 820libclocale_LIBS 821libclocale_CFLAGS 822ax_libcdata_spec_build_requires 823ax_libcdata_spec_requires 824ax_libcdata_pc_libs_private 825LIBCDATA_LIBADD 826LIBCDATA_CPPFLAGS 827HAVE_LOCAL_LIBCDATA_FALSE 828HAVE_LOCAL_LIBCDATA_TRUE 829HAVE_LOCAL_LIBCDATA 830HAVE_LIBCDATA 831libcdata_LIBS 832libcdata_CFLAGS 833ax_libcthreads_spec_build_requires 834ax_libcthreads_spec_requires 835ax_libcthreads_pc_libs_private 836HAVE_MULTI_THREAD_SUPPORT 837LIBCTHREADS_LIBADD 838LIBCTHREADS_CPPFLAGS 839HAVE_LOCAL_LIBCTHREADS_FALSE 840HAVE_LOCAL_LIBCTHREADS_TRUE 841HAVE_LOCAL_LIBCTHREADS 842ax_pthread_pc_libs_private 843PTHREAD_LIBADD 844PTHREAD_CPPFLAGS 845HAVE_PTHREAD 846HAVE_LIBCTHREADS 847libcthreads_LIBS 848libcthreads_CFLAGS 849ax_libcerror_spec_build_requires 850ax_libcerror_spec_requires 851ax_libcerror_pc_libs_private 852LIBCERROR_LIBADD 853LIBCERROR_CPPFLAGS 854HAVE_LOCAL_LIBCERROR_FALSE 855HAVE_LOCAL_LIBCERROR_TRUE 856HAVE_LOCAL_LIBCERROR 857HAVE_LIBCERROR 858libcerror_LIBS 859libcerror_CFLAGS 860PKG_CONFIG_LIBDIR 861PKG_CONFIG_PATH 862PKG_CONFIG 863HAVE_OFF64_T 864HAVE_SSIZE64_T 865HAVE_SIZE64_T 866HAVE_SSIZE32_T 867HAVE_SIZE32_T 868HAVE_WCHAR_H 869HAVE_STDINT_H 870HAVE_INTTYPES_H 871HAVE_SYS_TYPES_H 872HAVE_WIDE_CHARACTER_TYPE 873STATIC_LDFLAGS 874POSUB 875LTLIBINTL 876LIBINTL 877INTLLIBS 878LTLIBICONV 879LIBICONV 880INTL_MACOSX_LIBS 881XGETTEXT_EXTRA_OPTIONS 882MSGMERGE 883XGETTEXT_015 884XGETTEXT 885GMSGFMT_015 886MSGFMT_015 887GMSGFMT 888MSGFMT 889GETTEXT_MACRO_VERSION 890USE_NLS 891PKGCONFIG 892LIBTOOL_DEPS 893CXXCPP 894LT_SYS_LIBRARY_PATH 895OTOOL64 896OTOOL 897LIPO 898NMEDIT 899DSYMUTIL 900MANIFEST_TOOL 901RANLIB 902ac_ct_AR 903AR 904LN_S 905NM 906ac_ct_DUMPBIN 907DUMPBIN 908LD 909FGREP 910SED 911LIBTOOL 912am__fastdepCXX_FALSE 913am__fastdepCXX_TRUE 914CXXDEPMODE 915ac_ct_CXX 916CXXFLAGS 917CXX 918EGREP 919GREP 920CPP 921am__fastdepCC_FALSE 922am__fastdepCC_TRUE 923CCDEPMODE 924am__nodep 925AMDEPBACKSLASH 926AMDEP_FALSE 927AMDEP_TRUE 928am__include 929DEPDIR 930OBJEXT 931EXEEXT 932ac_ct_CC 933CPPFLAGS 934LDFLAGS 935CFLAGS 936CC 937OBJDUMP 938DLLTOOL 939AS 940host_os 941host_vendor 942host_cpu 943host 944build_os 945build_vendor 946build_cpu 947build 948AM_BACKSLASH 949AM_DEFAULT_VERBOSITY 950AM_DEFAULT_V 951AM_V 952am__untar 953am__tar 954AMTAR 955am__leading_dot 956SET_MAKE 957AWK 958mkdir_p 959MKDIR_P 960INSTALL_STRIP_PROGRAM 961STRIP 962install_sh 963MAKEINFO 964AUTOHEADER 965AUTOMAKE 966AUTOCONF 967ACLOCAL 968VERSION 969PACKAGE 970CYGPATH_W 971am__isrc 972INSTALL_DATA 973INSTALL_SCRIPT 974INSTALL_PROGRAM 975target_alias 976host_alias 977build_alias 978LIBS 979ECHO_T 980ECHO_N 981ECHO_C 982DEFS 983mandir 984localedir 985libdir 986psdir 987pdfdir 988dvidir 989htmldir 990infodir 991docdir 992oldincludedir 993includedir 994runstatedir 995localstatedir 996sharedstatedir 997sysconfdir 998datadir 999datarootdir 1000libexecdir 1001sbindir 1002bindir 1003program_transform_name 1004prefix 1005exec_prefix 1006PACKAGE_URL 1007PACKAGE_BUGREPORT 1008PACKAGE_STRING 1009PACKAGE_VERSION 1010PACKAGE_TARNAME 1011PACKAGE_NAME 1012PATH_SEPARATOR 1013SHELL 1014am__quote' 1015ac_subst_files='' 1016ac_user_opts=' 1017enable_option_checking 1018enable_silent_rules 1019enable_dependency_tracking 1020enable_shared 1021enable_static 1022with_pic 1023enable_fast_install 1024with_aix_soname 1025with_gnu_ld 1026with_sysroot 1027enable_libtool_lock 1028enable_nls 1029enable_rpath 1030with_libiconv_prefix 1031with_libintl_prefix 1032enable_largefile 1033enable_shared_libs 1034enable_static_executables 1035enable_winapi 1036enable_wide_character_type 1037enable_verbose_output 1038enable_debug_output 1039with_libcerror 1040enable_multi_threading_support 1041with_libcthreads 1042with_pthread 1043with_libcdata 1044with_libclocale 1045with_libcnotify 1046with_libcsplit 1047with_libuna 1048with_libcfile 1049with_libcpath 1050with_libbfio 1051with_libfcache 1052with_libfdata 1053with_libfdatetime 1054with_libfwnt 1055with_pyprefix 1056enable_python 1057with_pythondir 1058enable_python2 1059with_pythondir2 1060enable_python3 1061with_pythondir3 1062with_libfuse 1063' 1064 ac_precious_vars='build_alias 1065host_alias 1066target_alias 1067CC 1068CFLAGS 1069LDFLAGS 1070LIBS 1071CPPFLAGS 1072CPP 1073CXX 1074CXXFLAGS 1075CCC 1076LT_SYS_LIBRARY_PATH 1077CXXCPP 1078PKG_CONFIG 1079PKG_CONFIG_PATH 1080PKG_CONFIG_LIBDIR 1081libcerror_CFLAGS 1082libcerror_LIBS 1083libcthreads_CFLAGS 1084libcthreads_LIBS 1085libcdata_CFLAGS 1086libcdata_LIBS 1087libclocale_CFLAGS 1088libclocale_LIBS 1089libcnotify_CFLAGS 1090libcnotify_LIBS 1091libcsplit_CFLAGS 1092libcsplit_LIBS 1093libuna_CFLAGS 1094libuna_LIBS 1095libcfile_CFLAGS 1096libcfile_LIBS 1097libcpath_CFLAGS 1098libcpath_LIBS 1099libbfio_CFLAGS 1100libbfio_LIBS 1101libfcache_CFLAGS 1102libfcache_LIBS 1103libfdata_CFLAGS 1104libfdata_LIBS 1105libfdatetime_CFLAGS 1106libfdatetime_LIBS 1107libfwnt_CFLAGS 1108libfwnt_LIBS 1109fuse_CFLAGS 1110fuse_LIBS' 1111 1112 1113# Initialize some variables set by options. 1114ac_init_help= 1115ac_init_version=false 1116ac_unrecognized_opts= 1117ac_unrecognized_sep= 1118# The variables have the same names as the options, with 1119# dashes changed to underlines. 1120cache_file=/dev/null 1121exec_prefix=NONE 1122no_create= 1123no_recursion= 1124prefix=NONE 1125program_prefix=NONE 1126program_suffix=NONE 1127program_transform_name=s,x,x, 1128silent= 1129site= 1130srcdir= 1131verbose= 1132x_includes=NONE 1133x_libraries=NONE 1134 1135# Installation directory options. 1136# These are left unexpanded so users can "make install exec_prefix=/foo" 1137# and all the variables that are supposed to be based on exec_prefix 1138# by default will actually change. 1139# Use braces instead of parens because sh, perl, etc. also accept them. 1140# (The list follows the same order as the GNU Coding Standards.) 1141bindir='${exec_prefix}/bin' 1142sbindir='${exec_prefix}/sbin' 1143libexecdir='${exec_prefix}/libexec' 1144datarootdir='${prefix}/share' 1145datadir='${datarootdir}' 1146sysconfdir='${prefix}/etc' 1147sharedstatedir='${prefix}/com' 1148localstatedir='${prefix}/var' 1149runstatedir='${localstatedir}/run' 1150includedir='${prefix}/include' 1151oldincludedir='/usr/include' 1152docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 1153infodir='${datarootdir}/info' 1154htmldir='${docdir}' 1155dvidir='${docdir}' 1156pdfdir='${docdir}' 1157psdir='${docdir}' 1158libdir='${exec_prefix}/lib' 1159localedir='${datarootdir}/locale' 1160mandir='${datarootdir}/man' 1161 1162ac_prev= 1163ac_dashdash= 1164for ac_option 1165do 1166 # If the previous option needs an argument, assign it. 1167 if test -n "$ac_prev"; then 1168 eval $ac_prev=\$ac_option 1169 ac_prev= 1170 continue 1171 fi 1172 1173 case $ac_option in 1174 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 1175 *=) ac_optarg= ;; 1176 *) ac_optarg=yes ;; 1177 esac 1178 1179 # Accept the important Cygnus configure options, so we can diagnose typos. 1180 1181 case $ac_dashdash$ac_option in 1182 --) 1183 ac_dashdash=yes ;; 1184 1185 -bindir | --bindir | --bindi | --bind | --bin | --bi) 1186 ac_prev=bindir ;; 1187 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 1188 bindir=$ac_optarg ;; 1189 1190 -build | --build | --buil | --bui | --bu) 1191 ac_prev=build_alias ;; 1192 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 1193 build_alias=$ac_optarg ;; 1194 1195 -cache-file | --cache-file | --cache-fil | --cache-fi \ 1196 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 1197 ac_prev=cache_file ;; 1198 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 1199 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 1200 cache_file=$ac_optarg ;; 1201 1202 --config-cache | -C) 1203 cache_file=config.cache ;; 1204 1205 -datadir | --datadir | --datadi | --datad) 1206 ac_prev=datadir ;; 1207 -datadir=* | --datadir=* | --datadi=* | --datad=*) 1208 datadir=$ac_optarg ;; 1209 1210 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 1211 | --dataroo | --dataro | --datar) 1212 ac_prev=datarootdir ;; 1213 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 1214 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 1215 datarootdir=$ac_optarg ;; 1216 1217 -disable-* | --disable-*) 1218 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 1219 # Reject names that are not valid shell variable names. 1220 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1221 as_fn_error $? "invalid feature name: $ac_useropt" 1222 ac_useropt_orig=$ac_useropt 1223 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1224 case $ac_user_opts in 1225 *" 1226"enable_$ac_useropt" 1227"*) ;; 1228 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 1229 ac_unrecognized_sep=', ';; 1230 esac 1231 eval enable_$ac_useropt=no ;; 1232 1233 -docdir | --docdir | --docdi | --doc | --do) 1234 ac_prev=docdir ;; 1235 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 1236 docdir=$ac_optarg ;; 1237 1238 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 1239 ac_prev=dvidir ;; 1240 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 1241 dvidir=$ac_optarg ;; 1242 1243 -enable-* | --enable-*) 1244 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 1245 # Reject names that are not valid shell variable names. 1246 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1247 as_fn_error $? "invalid feature name: $ac_useropt" 1248 ac_useropt_orig=$ac_useropt 1249 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1250 case $ac_user_opts in 1251 *" 1252"enable_$ac_useropt" 1253"*) ;; 1254 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 1255 ac_unrecognized_sep=', ';; 1256 esac 1257 eval enable_$ac_useropt=\$ac_optarg ;; 1258 1259 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 1260 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 1261 | --exec | --exe | --ex) 1262 ac_prev=exec_prefix ;; 1263 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 1264 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 1265 | --exec=* | --exe=* | --ex=*) 1266 exec_prefix=$ac_optarg ;; 1267 1268 -gas | --gas | --ga | --g) 1269 # Obsolete; use --with-gas. 1270 with_gas=yes ;; 1271 1272 -help | --help | --hel | --he | -h) 1273 ac_init_help=long ;; 1274 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 1275 ac_init_help=recursive ;; 1276 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 1277 ac_init_help=short ;; 1278 1279 -host | --host | --hos | --ho) 1280 ac_prev=host_alias ;; 1281 -host=* | --host=* | --hos=* | --ho=*) 1282 host_alias=$ac_optarg ;; 1283 1284 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1285 ac_prev=htmldir ;; 1286 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1287 | --ht=*) 1288 htmldir=$ac_optarg ;; 1289 1290 -includedir | --includedir | --includedi | --included | --include \ 1291 | --includ | --inclu | --incl | --inc) 1292 ac_prev=includedir ;; 1293 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1294 | --includ=* | --inclu=* | --incl=* | --inc=*) 1295 includedir=$ac_optarg ;; 1296 1297 -infodir | --infodir | --infodi | --infod | --info | --inf) 1298 ac_prev=infodir ;; 1299 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1300 infodir=$ac_optarg ;; 1301 1302 -libdir | --libdir | --libdi | --libd) 1303 ac_prev=libdir ;; 1304 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1305 libdir=$ac_optarg ;; 1306 1307 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1308 | --libexe | --libex | --libe) 1309 ac_prev=libexecdir ;; 1310 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1311 | --libexe=* | --libex=* | --libe=*) 1312 libexecdir=$ac_optarg ;; 1313 1314 -localedir | --localedir | --localedi | --localed | --locale) 1315 ac_prev=localedir ;; 1316 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1317 localedir=$ac_optarg ;; 1318 1319 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1320 | --localstate | --localstat | --localsta | --localst | --locals) 1321 ac_prev=localstatedir ;; 1322 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1323 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1324 localstatedir=$ac_optarg ;; 1325 1326 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1327 ac_prev=mandir ;; 1328 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1329 mandir=$ac_optarg ;; 1330 1331 -nfp | --nfp | --nf) 1332 # Obsolete; use --without-fp. 1333 with_fp=no ;; 1334 1335 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1336 | --no-cr | --no-c | -n) 1337 no_create=yes ;; 1338 1339 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1340 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1341 no_recursion=yes ;; 1342 1343 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1344 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1345 | --oldin | --oldi | --old | --ol | --o) 1346 ac_prev=oldincludedir ;; 1347 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1348 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1349 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1350 oldincludedir=$ac_optarg ;; 1351 1352 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1353 ac_prev=prefix ;; 1354 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1355 prefix=$ac_optarg ;; 1356 1357 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1358 | --program-pre | --program-pr | --program-p) 1359 ac_prev=program_prefix ;; 1360 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1361 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1362 program_prefix=$ac_optarg ;; 1363 1364 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1365 | --program-suf | --program-su | --program-s) 1366 ac_prev=program_suffix ;; 1367 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1368 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1369 program_suffix=$ac_optarg ;; 1370 1371 -program-transform-name | --program-transform-name \ 1372 | --program-transform-nam | --program-transform-na \ 1373 | --program-transform-n | --program-transform- \ 1374 | --program-transform | --program-transfor \ 1375 | --program-transfo | --program-transf \ 1376 | --program-trans | --program-tran \ 1377 | --progr-tra | --program-tr | --program-t) 1378 ac_prev=program_transform_name ;; 1379 -program-transform-name=* | --program-transform-name=* \ 1380 | --program-transform-nam=* | --program-transform-na=* \ 1381 | --program-transform-n=* | --program-transform-=* \ 1382 | --program-transform=* | --program-transfor=* \ 1383 | --program-transfo=* | --program-transf=* \ 1384 | --program-trans=* | --program-tran=* \ 1385 | --progr-tra=* | --program-tr=* | --program-t=*) 1386 program_transform_name=$ac_optarg ;; 1387 1388 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1389 ac_prev=pdfdir ;; 1390 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1391 pdfdir=$ac_optarg ;; 1392 1393 -psdir | --psdir | --psdi | --psd | --ps) 1394 ac_prev=psdir ;; 1395 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1396 psdir=$ac_optarg ;; 1397 1398 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1399 | -silent | --silent | --silen | --sile | --sil) 1400 silent=yes ;; 1401 1402 -runstatedir | --runstatedir | --runstatedi | --runstated \ 1403 | --runstate | --runstat | --runsta | --runst | --runs \ 1404 | --run | --ru | --r) 1405 ac_prev=runstatedir ;; 1406 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ 1407 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ 1408 | --run=* | --ru=* | --r=*) 1409 runstatedir=$ac_optarg ;; 1410 1411 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1412 ac_prev=sbindir ;; 1413 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1414 | --sbi=* | --sb=*) 1415 sbindir=$ac_optarg ;; 1416 1417 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1418 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1419 | --sharedst | --shareds | --shared | --share | --shar \ 1420 | --sha | --sh) 1421 ac_prev=sharedstatedir ;; 1422 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1423 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1424 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1425 | --sha=* | --sh=*) 1426 sharedstatedir=$ac_optarg ;; 1427 1428 -site | --site | --sit) 1429 ac_prev=site ;; 1430 -site=* | --site=* | --sit=*) 1431 site=$ac_optarg ;; 1432 1433 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1434 ac_prev=srcdir ;; 1435 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1436 srcdir=$ac_optarg ;; 1437 1438 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1439 | --syscon | --sysco | --sysc | --sys | --sy) 1440 ac_prev=sysconfdir ;; 1441 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1442 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1443 sysconfdir=$ac_optarg ;; 1444 1445 -target | --target | --targe | --targ | --tar | --ta | --t) 1446 ac_prev=target_alias ;; 1447 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1448 target_alias=$ac_optarg ;; 1449 1450 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1451 verbose=yes ;; 1452 1453 -version | --version | --versio | --versi | --vers | -V) 1454 ac_init_version=: ;; 1455 1456 -with-* | --with-*) 1457 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1458 # Reject names that are not valid shell variable names. 1459 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1460 as_fn_error $? "invalid package name: $ac_useropt" 1461 ac_useropt_orig=$ac_useropt 1462 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1463 case $ac_user_opts in 1464 *" 1465"with_$ac_useropt" 1466"*) ;; 1467 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1468 ac_unrecognized_sep=', ';; 1469 esac 1470 eval with_$ac_useropt=\$ac_optarg ;; 1471 1472 -without-* | --without-*) 1473 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1474 # Reject names that are not valid shell variable names. 1475 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1476 as_fn_error $? "invalid package name: $ac_useropt" 1477 ac_useropt_orig=$ac_useropt 1478 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1479 case $ac_user_opts in 1480 *" 1481"with_$ac_useropt" 1482"*) ;; 1483 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1484 ac_unrecognized_sep=', ';; 1485 esac 1486 eval with_$ac_useropt=no ;; 1487 1488 --x) 1489 # Obsolete; use --with-x. 1490 with_x=yes ;; 1491 1492 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1493 | --x-incl | --x-inc | --x-in | --x-i) 1494 ac_prev=x_includes ;; 1495 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1496 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1497 x_includes=$ac_optarg ;; 1498 1499 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1500 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1501 ac_prev=x_libraries ;; 1502 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1503 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1504 x_libraries=$ac_optarg ;; 1505 1506 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1507Try \`$0 --help' for more information" 1508 ;; 1509 1510 *=*) 1511 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1512 # Reject names that are not valid shell variable names. 1513 case $ac_envvar in #( 1514 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1515 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1516 esac 1517 eval $ac_envvar=\$ac_optarg 1518 export $ac_envvar ;; 1519 1520 *) 1521 # FIXME: should be removed in autoconf 3.0. 1522 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1523 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1524 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1525 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1526 ;; 1527 1528 esac 1529done 1530 1531if test -n "$ac_prev"; then 1532 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1533 as_fn_error $? "missing argument to $ac_option" 1534fi 1535 1536if test -n "$ac_unrecognized_opts"; then 1537 case $enable_option_checking in 1538 no) ;; 1539 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1540 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1541 esac 1542fi 1543 1544# Check all directory arguments for consistency. 1545for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1546 datadir sysconfdir sharedstatedir localstatedir includedir \ 1547 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1548 libdir localedir mandir runstatedir 1549do 1550 eval ac_val=\$$ac_var 1551 # Remove trailing slashes. 1552 case $ac_val in 1553 */ ) 1554 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1555 eval $ac_var=\$ac_val;; 1556 esac 1557 # Be sure to have absolute directory names. 1558 case $ac_val in 1559 [\\/$]* | ?:[\\/]* ) continue;; 1560 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1561 esac 1562 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1563done 1564 1565# There might be people who depend on the old broken behavior: `$host' 1566# used to hold the argument of --host etc. 1567# FIXME: To remove some day. 1568build=$build_alias 1569host=$host_alias 1570target=$target_alias 1571 1572# FIXME: To remove some day. 1573if test "x$host_alias" != x; then 1574 if test "x$build_alias" = x; then 1575 cross_compiling=maybe 1576 elif test "x$build_alias" != "x$host_alias"; then 1577 cross_compiling=yes 1578 fi 1579fi 1580 1581ac_tool_prefix= 1582test -n "$host_alias" && ac_tool_prefix=$host_alias- 1583 1584test "$silent" = yes && exec 6>/dev/null 1585 1586 1587ac_pwd=`pwd` && test -n "$ac_pwd" && 1588ac_ls_di=`ls -di .` && 1589ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1590 as_fn_error $? "working directory cannot be determined" 1591test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1592 as_fn_error $? "pwd does not report name of working directory" 1593 1594 1595# Find the source files, if location was not specified. 1596if test -z "$srcdir"; then 1597 ac_srcdir_defaulted=yes 1598 # Try the directory containing this script, then the parent directory. 1599 ac_confdir=`$as_dirname -- "$as_myself" || 1600$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1601 X"$as_myself" : 'X\(//\)[^/]' \| \ 1602 X"$as_myself" : 'X\(//\)$' \| \ 1603 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1604$as_echo X"$as_myself" | 1605 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1606 s//\1/ 1607 q 1608 } 1609 /^X\(\/\/\)[^/].*/{ 1610 s//\1/ 1611 q 1612 } 1613 /^X\(\/\/\)$/{ 1614 s//\1/ 1615 q 1616 } 1617 /^X\(\/\).*/{ 1618 s//\1/ 1619 q 1620 } 1621 s/.*/./; q'` 1622 srcdir=$ac_confdir 1623 if test ! -r "$srcdir/$ac_unique_file"; then 1624 srcdir=.. 1625 fi 1626else 1627 ac_srcdir_defaulted=no 1628fi 1629if test ! -r "$srcdir/$ac_unique_file"; then 1630 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1631 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1632fi 1633ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1634ac_abs_confdir=`( 1635 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1636 pwd)` 1637# When building in place, set srcdir=. 1638if test "$ac_abs_confdir" = "$ac_pwd"; then 1639 srcdir=. 1640fi 1641# Remove unnecessary trailing slashes from srcdir. 1642# Double slashes in file names in object file debugging info 1643# mess up M-x gdb in Emacs. 1644case $srcdir in 1645*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1646esac 1647for ac_var in $ac_precious_vars; do 1648 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1649 eval ac_env_${ac_var}_value=\$${ac_var} 1650 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1651 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1652done 1653 1654# 1655# Report the --help message. 1656# 1657if test "$ac_init_help" = "long"; then 1658 # Omit some internal or obsolete options to make the list less imposing. 1659 # This message is too long to be a string in the A/UX 3.1 sh. 1660 cat <<_ACEOF 1661\`configure' configures libregf 20210615 to adapt to many kinds of systems. 1662 1663Usage: $0 [OPTION]... [VAR=VALUE]... 1664 1665To assign environment variables (e.g., CC, CFLAGS...), specify them as 1666VAR=VALUE. See below for descriptions of some of the useful variables. 1667 1668Defaults for the options are specified in brackets. 1669 1670Configuration: 1671 -h, --help display this help and exit 1672 --help=short display options specific to this package 1673 --help=recursive display the short help of all the included packages 1674 -V, --version display version information and exit 1675 -q, --quiet, --silent do not print \`checking ...' messages 1676 --cache-file=FILE cache test results in FILE [disabled] 1677 -C, --config-cache alias for \`--cache-file=config.cache' 1678 -n, --no-create do not create output files 1679 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1680 1681Installation directories: 1682 --prefix=PREFIX install architecture-independent files in PREFIX 1683 [$ac_default_prefix] 1684 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1685 [PREFIX] 1686 1687By default, \`make install' will install all the files in 1688\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1689an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1690for instance \`--prefix=\$HOME'. 1691 1692For better control, use the options below. 1693 1694Fine tuning of the installation directories: 1695 --bindir=DIR user executables [EPREFIX/bin] 1696 --sbindir=DIR system admin executables [EPREFIX/sbin] 1697 --libexecdir=DIR program executables [EPREFIX/libexec] 1698 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1699 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1700 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1701 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] 1702 --libdir=DIR object code libraries [EPREFIX/lib] 1703 --includedir=DIR C header files [PREFIX/include] 1704 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1705 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1706 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1707 --infodir=DIR info documentation [DATAROOTDIR/info] 1708 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1709 --mandir=DIR man documentation [DATAROOTDIR/man] 1710 --docdir=DIR documentation root [DATAROOTDIR/doc/libregf] 1711 --htmldir=DIR html documentation [DOCDIR] 1712 --dvidir=DIR dvi documentation [DOCDIR] 1713 --pdfdir=DIR pdf documentation [DOCDIR] 1714 --psdir=DIR ps documentation [DOCDIR] 1715_ACEOF 1716 1717 cat <<\_ACEOF 1718 1719Program names: 1720 --program-prefix=PREFIX prepend PREFIX to installed program names 1721 --program-suffix=SUFFIX append SUFFIX to installed program names 1722 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1723 1724System types: 1725 --build=BUILD configure for building on BUILD [guessed] 1726 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1727_ACEOF 1728fi 1729 1730if test -n "$ac_init_help"; then 1731 case $ac_init_help in 1732 short | recursive ) echo "Configuration of libregf 20210615:";; 1733 esac 1734 cat <<\_ACEOF 1735 1736Optional Features: 1737 --disable-option-checking ignore unrecognized --enable/--with options 1738 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1739 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1740 --enable-silent-rules less verbose build output (undo: "make V=1") 1741 --disable-silent-rules verbose build output (undo: "make V=0") 1742 --enable-dependency-tracking 1743 do not reject slow dependency extractors 1744 --disable-dependency-tracking 1745 speeds up one-time build 1746 --enable-shared[=PKGS] build shared libraries [default=yes] 1747 --enable-static[=PKGS] build static libraries [default=yes] 1748 --enable-fast-install[=PKGS] 1749 optimize for fast installation [default=yes] 1750 --disable-libtool-lock avoid locking (might break parallel builds) 1751 --disable-nls do not use Native Language Support 1752 --disable-rpath do not hardcode runtime library paths 1753 --disable-largefile omit support for large files 1754 --disable-shared-libs disable shared library support 1755 --enable-static-executables 1756 build static executables (binaries) [default=no] 1757 --enable-winapi enable WINAPI support for cross-compilation 1758 [default=auto-detect] 1759 --enable-wide-character-type 1760 enable wide character type support [default=no] 1761 --enable-verbose-output enable verbose output [default=no] 1762 --enable-debug-output enable debug output [default=no] 1763 --enable-multi-threading-support 1764 enable multi-threading support [default=yes] 1765 --enable-python build Python bindings [default=no] 1766 --enable-python2 build Python 2 bindings [default=no] 1767 --enable-python3 build Python 3 bindings [default=no] 1768 1769Optional Packages: 1770 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1771 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1772 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use 1773 both] 1774 --with-aix-soname=aix|svr4|both 1775 shared library versioning (aka "SONAME") variant to 1776 provide on AIX, [default=aix]. 1777 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1778 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the 1779 compiler's sysroot if not specified). 1780 --with-gnu-ld assume the C compiler uses GNU ld default=no 1781 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib 1782 --without-libiconv-prefix don't search for libiconv in includedir and libdir 1783 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib 1784 --without-libintl-prefix don't search for libintl in includedir and libdir 1785 --with-libcerror[=DIR] search for libcerror in includedir and libdir or in 1786 the specified DIR, or no if to use local version 1787 [default=auto-detect] 1788 --with-libcthreads[=DIR] 1789 search for libcthreads in includedir and libdir or 1790 in the specified DIR, or no if to use local version 1791 [default=auto-detect] 1792 --with-pthread[=DIR] search for pthread in includedir and libdir or in 1793 the specified DIR, or no if not to use pthread 1794 [default=auto-detect] 1795 --with-libcdata[=DIR] search for libcdata in includedir and libdir or in 1796 the specified DIR, or no if to use local version 1797 [default=auto-detect] 1798 --with-libclocale[=DIR] search for libclocale in includedir and libdir or in 1799 the specified DIR, or no if to use local version 1800 [default=auto-detect] 1801 --with-libcnotify[=DIR] search for libcnotify in includedir and libdir or in 1802 the specified DIR, or no if to use local version 1803 [default=auto-detect] 1804 --with-libcsplit[=DIR] search for libcsplit in includedir and libdir or in 1805 the specified DIR, or no if to use local version 1806 [default=auto-detect] 1807 --with-libuna[=DIR] search for libuna in includedir and libdir or in the 1808 specified DIR, or no if to use local version 1809 [default=auto-detect] 1810 --with-libcfile[=DIR] search for libcfile in includedir and libdir or in 1811 the specified DIR, or no if to use local version 1812 [default=auto-detect] 1813 --with-libcpath[=DIR] search for libcpath in includedir and libdir or in 1814 the specified DIR, or no if to use local version 1815 [default=auto-detect] 1816 --with-libbfio[=DIR] search for libbfio in includedir and libdir or in 1817 the specified DIR, or no if to use local version 1818 [default=auto-detect] 1819 --with-libfcache[=DIR] search for libfcache in includedir and libdir or in 1820 the specified DIR, or no if to use local version 1821 [default=auto-detect] 1822 --with-libfdata[=DIR] search for libfdata in includedir and libdir or in 1823 the specified DIR, or no if to use local version 1824 [default=auto-detect] 1825 --with-libfdatetime[=DIR] 1826 search for libfdatetime in includedir and libdir or 1827 in the specified DIR, or no if to use local version 1828 [default=auto-detect] 1829 --with-libfwnt[=DIR] search for libfwnt in includedir and libdir or in 1830 the specified DIR, or no if to use local version 1831 [default=auto-detect] 1832 --with-pyprefix[=no] use `python-config --prefix' to determine the prefix 1833 of pythondir instead of --prefix [default=no] 1834 --with-pythondir[=no] use to specify the Python directory (pythondir) 1835 [default=no] 1836 --with-pythondir2[=no] use to specify the Python 2 directory (pythondir2) 1837 [default=no] 1838 --with-pythondir3[=no] use to specify the Python 3 directory (pythondir3) 1839 [default=no] 1840 --with-libfuse[=DIR] search for libfuse in includedir and libdir or in 1841 the specified DIR, or no if not to use libfuse 1842 [default=auto-detect] 1843 1844Some influential environment variables: 1845 CC C compiler command 1846 CFLAGS C compiler flags 1847 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1848 nonstandard directory <lib dir> 1849 LIBS libraries to pass to the linker, e.g. -l<library> 1850 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1851 you have headers in a nonstandard directory <include dir> 1852 CPP C preprocessor 1853 CXX C++ compiler command 1854 CXXFLAGS C++ compiler flags 1855 LT_SYS_LIBRARY_PATH 1856 User-defined run-time library search path. 1857 CXXCPP C++ preprocessor 1858 PKG_CONFIG path to pkg-config utility 1859 PKG_CONFIG_PATH 1860 directories to add to pkg-config's search path 1861 PKG_CONFIG_LIBDIR 1862 path overriding pkg-config's built-in search path 1863 libcerror_CFLAGS 1864 C compiler flags for libcerror, overriding pkg-config 1865 libcerror_LIBS 1866 linker flags for libcerror, overriding pkg-config 1867 libcthreads_CFLAGS 1868 C compiler flags for libcthreads, overriding pkg-config 1869 libcthreads_LIBS 1870 linker flags for libcthreads, overriding pkg-config 1871 libcdata_CFLAGS 1872 C compiler flags for libcdata, overriding pkg-config 1873 libcdata_LIBS 1874 linker flags for libcdata, overriding pkg-config 1875 libclocale_CFLAGS 1876 C compiler flags for libclocale, overriding pkg-config 1877 libclocale_LIBS 1878 linker flags for libclocale, overriding pkg-config 1879 libcnotify_CFLAGS 1880 C compiler flags for libcnotify, overriding pkg-config 1881 libcnotify_LIBS 1882 linker flags for libcnotify, overriding pkg-config 1883 libcsplit_CFLAGS 1884 C compiler flags for libcsplit, overriding pkg-config 1885 libcsplit_LIBS 1886 linker flags for libcsplit, overriding pkg-config 1887 libuna_CFLAGS 1888 C compiler flags for libuna, overriding pkg-config 1889 libuna_LIBS linker flags for libuna, overriding pkg-config 1890 libcfile_CFLAGS 1891 C compiler flags for libcfile, overriding pkg-config 1892 libcfile_LIBS 1893 linker flags for libcfile, overriding pkg-config 1894 libcpath_CFLAGS 1895 C compiler flags for libcpath, overriding pkg-config 1896 libcpath_LIBS 1897 linker flags for libcpath, overriding pkg-config 1898 libbfio_CFLAGS 1899 C compiler flags for libbfio, overriding pkg-config 1900 libbfio_LIBS 1901 linker flags for libbfio, overriding pkg-config 1902 libfcache_CFLAGS 1903 C compiler flags for libfcache, overriding pkg-config 1904 libfcache_LIBS 1905 linker flags for libfcache, overriding pkg-config 1906 libfdata_CFLAGS 1907 C compiler flags for libfdata, overriding pkg-config 1908 libfdata_LIBS 1909 linker flags for libfdata, overriding pkg-config 1910 libfdatetime_CFLAGS 1911 C compiler flags for libfdatetime, overriding pkg-config 1912 libfdatetime_LIBS 1913 linker flags for libfdatetime, overriding pkg-config 1914 libfwnt_CFLAGS 1915 C compiler flags for libfwnt, overriding pkg-config 1916 libfwnt_LIBS 1917 linker flags for libfwnt, overriding pkg-config 1918 fuse_CFLAGS C compiler flags for fuse, overriding pkg-config 1919 fuse_LIBS linker flags for fuse, overriding pkg-config 1920 1921Use these variables to override the choices made by `configure' or to help 1922it to find libraries and programs with nonstandard names/locations. 1923 1924Report bugs to <joachim.metz@gmail.com>. 1925_ACEOF 1926ac_status=$? 1927fi 1928 1929if test "$ac_init_help" = "recursive"; then 1930 # If there are subdirs, report their specific --help. 1931 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1932 test -d "$ac_dir" || 1933 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1934 continue 1935 ac_builddir=. 1936 1937case "$ac_dir" in 1938.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1939*) 1940 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1941 # A ".." for each directory in $ac_dir_suffix. 1942 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1943 case $ac_top_builddir_sub in 1944 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1945 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1946 esac ;; 1947esac 1948ac_abs_top_builddir=$ac_pwd 1949ac_abs_builddir=$ac_pwd$ac_dir_suffix 1950# for backward compatibility: 1951ac_top_builddir=$ac_top_build_prefix 1952 1953case $srcdir in 1954 .) # We are building in place. 1955 ac_srcdir=. 1956 ac_top_srcdir=$ac_top_builddir_sub 1957 ac_abs_top_srcdir=$ac_pwd ;; 1958 [\\/]* | ?:[\\/]* ) # Absolute name. 1959 ac_srcdir=$srcdir$ac_dir_suffix; 1960 ac_top_srcdir=$srcdir 1961 ac_abs_top_srcdir=$srcdir ;; 1962 *) # Relative name. 1963 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1964 ac_top_srcdir=$ac_top_build_prefix$srcdir 1965 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1966esac 1967ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1968 1969 cd "$ac_dir" || { ac_status=$?; continue; } 1970 # Check for guested configure. 1971 if test -f "$ac_srcdir/configure.gnu"; then 1972 echo && 1973 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1974 elif test -f "$ac_srcdir/configure"; then 1975 echo && 1976 $SHELL "$ac_srcdir/configure" --help=recursive 1977 else 1978 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1979 fi || ac_status=$? 1980 cd "$ac_pwd" || { ac_status=$?; break; } 1981 done 1982fi 1983 1984test -n "$ac_init_help" && exit $ac_status 1985if $ac_init_version; then 1986 cat <<\_ACEOF 1987libregf configure 20210615 1988generated by GNU Autoconf 2.69 1989 1990Copyright (C) 2012 Free Software Foundation, Inc. 1991This configure script is free software; the Free Software Foundation 1992gives unlimited permission to copy, distribute and modify it. 1993_ACEOF 1994 exit 1995fi 1996 1997## ------------------------ ## 1998## Autoconf initialization. ## 1999## ------------------------ ## 2000 2001# ac_fn_c_try_compile LINENO 2002# -------------------------- 2003# Try to compile conftest.$ac_ext, and return whether this succeeded. 2004ac_fn_c_try_compile () 2005{ 2006 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2007 rm -f conftest.$ac_objext 2008 if { { ac_try="$ac_compile" 2009case "(($ac_try" in 2010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2011 *) ac_try_echo=$ac_try;; 2012esac 2013eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2014$as_echo "$ac_try_echo"; } >&5 2015 (eval "$ac_compile") 2>conftest.err 2016 ac_status=$? 2017 if test -s conftest.err; then 2018 grep -v '^ *+' conftest.err >conftest.er1 2019 cat conftest.er1 >&5 2020 mv -f conftest.er1 conftest.err 2021 fi 2022 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2023 test $ac_status = 0; } && { 2024 test -z "$ac_c_werror_flag" || 2025 test ! -s conftest.err 2026 } && test -s conftest.$ac_objext; then : 2027 ac_retval=0 2028else 2029 $as_echo "$as_me: failed program was:" >&5 2030sed 's/^/| /' conftest.$ac_ext >&5 2031 2032 ac_retval=1 2033fi 2034 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2035 as_fn_set_status $ac_retval 2036 2037} # ac_fn_c_try_compile 2038 2039# ac_fn_c_try_cpp LINENO 2040# ---------------------- 2041# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 2042ac_fn_c_try_cpp () 2043{ 2044 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2045 if { { ac_try="$ac_cpp conftest.$ac_ext" 2046case "(($ac_try" in 2047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2048 *) ac_try_echo=$ac_try;; 2049esac 2050eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2051$as_echo "$ac_try_echo"; } >&5 2052 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 2053 ac_status=$? 2054 if test -s conftest.err; then 2055 grep -v '^ *+' conftest.err >conftest.er1 2056 cat conftest.er1 >&5 2057 mv -f conftest.er1 conftest.err 2058 fi 2059 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2060 test $ac_status = 0; } > conftest.i && { 2061 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 2062 test ! -s conftest.err 2063 }; then : 2064 ac_retval=0 2065else 2066 $as_echo "$as_me: failed program was:" >&5 2067sed 's/^/| /' conftest.$ac_ext >&5 2068 2069 ac_retval=1 2070fi 2071 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2072 as_fn_set_status $ac_retval 2073 2074} # ac_fn_c_try_cpp 2075 2076# ac_fn_cxx_try_compile LINENO 2077# ---------------------------- 2078# Try to compile conftest.$ac_ext, and return whether this succeeded. 2079ac_fn_cxx_try_compile () 2080{ 2081 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2082 rm -f conftest.$ac_objext 2083 if { { ac_try="$ac_compile" 2084case "(($ac_try" in 2085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2086 *) ac_try_echo=$ac_try;; 2087esac 2088eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2089$as_echo "$ac_try_echo"; } >&5 2090 (eval "$ac_compile") 2>conftest.err 2091 ac_status=$? 2092 if test -s conftest.err; then 2093 grep -v '^ *+' conftest.err >conftest.er1 2094 cat conftest.er1 >&5 2095 mv -f conftest.er1 conftest.err 2096 fi 2097 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2098 test $ac_status = 0; } && { 2099 test -z "$ac_cxx_werror_flag" || 2100 test ! -s conftest.err 2101 } && test -s conftest.$ac_objext; then : 2102 ac_retval=0 2103else 2104 $as_echo "$as_me: failed program was:" >&5 2105sed 's/^/| /' conftest.$ac_ext >&5 2106 2107 ac_retval=1 2108fi 2109 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2110 as_fn_set_status $ac_retval 2111 2112} # ac_fn_cxx_try_compile 2113 2114# ac_fn_c_try_link LINENO 2115# ----------------------- 2116# Try to link conftest.$ac_ext, and return whether this succeeded. 2117ac_fn_c_try_link () 2118{ 2119 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2120 rm -f conftest.$ac_objext conftest$ac_exeext 2121 if { { ac_try="$ac_link" 2122case "(($ac_try" in 2123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2124 *) ac_try_echo=$ac_try;; 2125esac 2126eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2127$as_echo "$ac_try_echo"; } >&5 2128 (eval "$ac_link") 2>conftest.err 2129 ac_status=$? 2130 if test -s conftest.err; then 2131 grep -v '^ *+' conftest.err >conftest.er1 2132 cat conftest.er1 >&5 2133 mv -f conftest.er1 conftest.err 2134 fi 2135 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2136 test $ac_status = 0; } && { 2137 test -z "$ac_c_werror_flag" || 2138 test ! -s conftest.err 2139 } && test -s conftest$ac_exeext && { 2140 test "$cross_compiling" = yes || 2141 test -x conftest$ac_exeext 2142 }; then : 2143 ac_retval=0 2144else 2145 $as_echo "$as_me: failed program was:" >&5 2146sed 's/^/| /' conftest.$ac_ext >&5 2147 2148 ac_retval=1 2149fi 2150 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 2151 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 2152 # interfere with the next link command; also delete a directory that is 2153 # left behind by Apple's compiler. We do this before executing the actions. 2154 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2155 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2156 as_fn_set_status $ac_retval 2157 2158} # ac_fn_c_try_link 2159 2160# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 2161# ------------------------------------------------------- 2162# Tests whether HEADER exists and can be compiled using the include files in 2163# INCLUDES, setting the cache variable VAR accordingly. 2164ac_fn_c_check_header_compile () 2165{ 2166 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2168$as_echo_n "checking for $2... " >&6; } 2169if eval \${$3+:} false; then : 2170 $as_echo_n "(cached) " >&6 2171else 2172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2173/* end confdefs.h. */ 2174$4 2175#include <$2> 2176_ACEOF 2177if ac_fn_c_try_compile "$LINENO"; then : 2178 eval "$3=yes" 2179else 2180 eval "$3=no" 2181fi 2182rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2183fi 2184eval ac_res=\$$3 2185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2186$as_echo "$ac_res" >&6; } 2187 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2188 2189} # ac_fn_c_check_header_compile 2190 2191# ac_fn_c_try_run LINENO 2192# ---------------------- 2193# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 2194# that executables *can* be run. 2195ac_fn_c_try_run () 2196{ 2197 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2198 if { { ac_try="$ac_link" 2199case "(($ac_try" in 2200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2201 *) ac_try_echo=$ac_try;; 2202esac 2203eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2204$as_echo "$ac_try_echo"; } >&5 2205 (eval "$ac_link") 2>&5 2206 ac_status=$? 2207 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2208 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 2209 { { case "(($ac_try" in 2210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2211 *) ac_try_echo=$ac_try;; 2212esac 2213eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2214$as_echo "$ac_try_echo"; } >&5 2215 (eval "$ac_try") 2>&5 2216 ac_status=$? 2217 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2218 test $ac_status = 0; }; }; then : 2219 ac_retval=0 2220else 2221 $as_echo "$as_me: program exited with status $ac_status" >&5 2222 $as_echo "$as_me: failed program was:" >&5 2223sed 's/^/| /' conftest.$ac_ext >&5 2224 2225 ac_retval=$ac_status 2226fi 2227 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2228 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2229 as_fn_set_status $ac_retval 2230 2231} # ac_fn_c_try_run 2232 2233# ac_fn_c_check_func LINENO FUNC VAR 2234# ---------------------------------- 2235# Tests whether FUNC exists, setting the cache variable VAR accordingly 2236ac_fn_c_check_func () 2237{ 2238 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2240$as_echo_n "checking for $2... " >&6; } 2241if eval \${$3+:} false; then : 2242 $as_echo_n "(cached) " >&6 2243else 2244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2245/* end confdefs.h. */ 2246/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 2247 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 2248#define $2 innocuous_$2 2249 2250/* System header to define __stub macros and hopefully few prototypes, 2251 which can conflict with char $2 (); below. 2252 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 2253 <limits.h> exists even on freestanding compilers. */ 2254 2255#ifdef __STDC__ 2256# include <limits.h> 2257#else 2258# include <assert.h> 2259#endif 2260 2261#undef $2 2262 2263/* Override any GCC internal prototype to avoid an error. 2264 Use char because int might match the return type of a GCC 2265 builtin and then its argument prototype would still apply. */ 2266#ifdef __cplusplus 2267extern "C" 2268#endif 2269char $2 (); 2270/* The GNU C library defines this for functions which it implements 2271 to always fail with ENOSYS. Some functions are actually named 2272 something starting with __ and the normal name is an alias. */ 2273#if defined __stub_$2 || defined __stub___$2 2274choke me 2275#endif 2276 2277int 2278main () 2279{ 2280return $2 (); 2281 ; 2282 return 0; 2283} 2284_ACEOF 2285if ac_fn_c_try_link "$LINENO"; then : 2286 eval "$3=yes" 2287else 2288 eval "$3=no" 2289fi 2290rm -f core conftest.err conftest.$ac_objext \ 2291 conftest$ac_exeext conftest.$ac_ext 2292fi 2293eval ac_res=\$$3 2294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2295$as_echo "$ac_res" >&6; } 2296 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2297 2298} # ac_fn_c_check_func 2299 2300# ac_fn_cxx_try_cpp LINENO 2301# ------------------------ 2302# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 2303ac_fn_cxx_try_cpp () 2304{ 2305 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2306 if { { ac_try="$ac_cpp conftest.$ac_ext" 2307case "(($ac_try" in 2308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2309 *) ac_try_echo=$ac_try;; 2310esac 2311eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2312$as_echo "$ac_try_echo"; } >&5 2313 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 2314 ac_status=$? 2315 if test -s conftest.err; then 2316 grep -v '^ *+' conftest.err >conftest.er1 2317 cat conftest.er1 >&5 2318 mv -f conftest.er1 conftest.err 2319 fi 2320 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2321 test $ac_status = 0; } > conftest.i && { 2322 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 2323 test ! -s conftest.err 2324 }; then : 2325 ac_retval=0 2326else 2327 $as_echo "$as_me: failed program was:" >&5 2328sed 's/^/| /' conftest.$ac_ext >&5 2329 2330 ac_retval=1 2331fi 2332 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2333 as_fn_set_status $ac_retval 2334 2335} # ac_fn_cxx_try_cpp 2336 2337# ac_fn_cxx_try_link LINENO 2338# ------------------------- 2339# Try to link conftest.$ac_ext, and return whether this succeeded. 2340ac_fn_cxx_try_link () 2341{ 2342 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2343 rm -f conftest.$ac_objext conftest$ac_exeext 2344 if { { ac_try="$ac_link" 2345case "(($ac_try" in 2346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2347 *) ac_try_echo=$ac_try;; 2348esac 2349eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2350$as_echo "$ac_try_echo"; } >&5 2351 (eval "$ac_link") 2>conftest.err 2352 ac_status=$? 2353 if test -s conftest.err; then 2354 grep -v '^ *+' conftest.err >conftest.er1 2355 cat conftest.er1 >&5 2356 mv -f conftest.er1 conftest.err 2357 fi 2358 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2359 test $ac_status = 0; } && { 2360 test -z "$ac_cxx_werror_flag" || 2361 test ! -s conftest.err 2362 } && test -s conftest$ac_exeext && { 2363 test "$cross_compiling" = yes || 2364 test -x conftest$ac_exeext 2365 }; then : 2366 ac_retval=0 2367else 2368 $as_echo "$as_me: failed program was:" >&5 2369sed 's/^/| /' conftest.$ac_ext >&5 2370 2371 ac_retval=1 2372fi 2373 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 2374 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 2375 # interfere with the next link command; also delete a directory that is 2376 # left behind by Apple's compiler. We do this before executing the actions. 2377 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2378 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2379 as_fn_set_status $ac_retval 2380 2381} # ac_fn_cxx_try_link 2382 2383# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 2384# ------------------------------------------------------- 2385# Tests whether HEADER exists, giving a warning if it cannot be compiled using 2386# the include files in INCLUDES and setting the cache variable VAR 2387# accordingly. 2388ac_fn_c_check_header_mongrel () 2389{ 2390 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2391 if eval \${$3+:} false; then : 2392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2393$as_echo_n "checking for $2... " >&6; } 2394if eval \${$3+:} false; then : 2395 $as_echo_n "(cached) " >&6 2396fi 2397eval ac_res=\$$3 2398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2399$as_echo "$ac_res" >&6; } 2400else 2401 # Is the header compilable? 2402{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 2403$as_echo_n "checking $2 usability... " >&6; } 2404cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2405/* end confdefs.h. */ 2406$4 2407#include <$2> 2408_ACEOF 2409if ac_fn_c_try_compile "$LINENO"; then : 2410 ac_header_compiler=yes 2411else 2412 ac_header_compiler=no 2413fi 2414rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2415{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 2416$as_echo "$ac_header_compiler" >&6; } 2417 2418# Is the header present? 2419{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 2420$as_echo_n "checking $2 presence... " >&6; } 2421cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2422/* end confdefs.h. */ 2423#include <$2> 2424_ACEOF 2425if ac_fn_c_try_cpp "$LINENO"; then : 2426 ac_header_preproc=yes 2427else 2428 ac_header_preproc=no 2429fi 2430rm -f conftest.err conftest.i conftest.$ac_ext 2431{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 2432$as_echo "$ac_header_preproc" >&6; } 2433 2434# So? What about this header? 2435case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 2436 yes:no: ) 2437 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 2438$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 2439 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2440$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2441 ;; 2442 no:yes:* ) 2443 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 2444$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 2445 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 2446$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 2447 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 2448$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 2449 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 2450$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 2451 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2452$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2453( $as_echo "## ------------------------------------- ## 2454## Report this to joachim.metz@gmail.com ## 2455## ------------------------------------- ##" 2456 ) | sed "s/^/$as_me: WARNING: /" >&2 2457 ;; 2458esac 2459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2460$as_echo_n "checking for $2... " >&6; } 2461if eval \${$3+:} false; then : 2462 $as_echo_n "(cached) " >&6 2463else 2464 eval "$3=\$ac_header_compiler" 2465fi 2466eval ac_res=\$$3 2467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2468$as_echo "$ac_res" >&6; } 2469fi 2470 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2471 2472} # ac_fn_c_check_header_mongrel 2473 2474# ac_fn_c_check_type LINENO TYPE VAR INCLUDES 2475# ------------------------------------------- 2476# Tests whether TYPE exists after having included INCLUDES, setting cache 2477# variable VAR accordingly. 2478ac_fn_c_check_type () 2479{ 2480 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2482$as_echo_n "checking for $2... " >&6; } 2483if eval \${$3+:} false; then : 2484 $as_echo_n "(cached) " >&6 2485else 2486 eval "$3=no" 2487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2488/* end confdefs.h. */ 2489$4 2490int 2491main () 2492{ 2493if (sizeof ($2)) 2494 return 0; 2495 ; 2496 return 0; 2497} 2498_ACEOF 2499if ac_fn_c_try_compile "$LINENO"; then : 2500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2501/* end confdefs.h. */ 2502$4 2503int 2504main () 2505{ 2506if (sizeof (($2))) 2507 return 0; 2508 ; 2509 return 0; 2510} 2511_ACEOF 2512if ac_fn_c_try_compile "$LINENO"; then : 2513 2514else 2515 eval "$3=yes" 2516fi 2517rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2518fi 2519rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2520fi 2521eval ac_res=\$$3 2522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2523$as_echo "$ac_res" >&6; } 2524 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2525 2526} # ac_fn_c_check_type 2527 2528# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES 2529# -------------------------------------------- 2530# Tries to find the compile-time value of EXPR in a program that includes 2531# INCLUDES, setting VAR accordingly. Returns whether the value could be 2532# computed 2533ac_fn_c_compute_int () 2534{ 2535 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2536 if test "$cross_compiling" = yes; then 2537 # Depending upon the size, compute the lo and hi bounds. 2538cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2539/* end confdefs.h. */ 2540$4 2541int 2542main () 2543{ 2544static int test_array [1 - 2 * !(($2) >= 0)]; 2545test_array [0] = 0; 2546return test_array [0]; 2547 2548 ; 2549 return 0; 2550} 2551_ACEOF 2552if ac_fn_c_try_compile "$LINENO"; then : 2553 ac_lo=0 ac_mid=0 2554 while :; do 2555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2556/* end confdefs.h. */ 2557$4 2558int 2559main () 2560{ 2561static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 2562test_array [0] = 0; 2563return test_array [0]; 2564 2565 ; 2566 return 0; 2567} 2568_ACEOF 2569if ac_fn_c_try_compile "$LINENO"; then : 2570 ac_hi=$ac_mid; break 2571else 2572 as_fn_arith $ac_mid + 1 && ac_lo=$as_val 2573 if test $ac_lo -le $ac_mid; then 2574 ac_lo= ac_hi= 2575 break 2576 fi 2577 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val 2578fi 2579rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2580 done 2581else 2582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2583/* end confdefs.h. */ 2584$4 2585int 2586main () 2587{ 2588static int test_array [1 - 2 * !(($2) < 0)]; 2589test_array [0] = 0; 2590return test_array [0]; 2591 2592 ; 2593 return 0; 2594} 2595_ACEOF 2596if ac_fn_c_try_compile "$LINENO"; then : 2597 ac_hi=-1 ac_mid=-1 2598 while :; do 2599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2600/* end confdefs.h. */ 2601$4 2602int 2603main () 2604{ 2605static int test_array [1 - 2 * !(($2) >= $ac_mid)]; 2606test_array [0] = 0; 2607return test_array [0]; 2608 2609 ; 2610 return 0; 2611} 2612_ACEOF 2613if ac_fn_c_try_compile "$LINENO"; then : 2614 ac_lo=$ac_mid; break 2615else 2616 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val 2617 if test $ac_mid -le $ac_hi; then 2618 ac_lo= ac_hi= 2619 break 2620 fi 2621 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val 2622fi 2623rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2624 done 2625else 2626 ac_lo= ac_hi= 2627fi 2628rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2629fi 2630rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2631# Binary search between lo and hi bounds. 2632while test "x$ac_lo" != "x$ac_hi"; do 2633 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val 2634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2635/* end confdefs.h. */ 2636$4 2637int 2638main () 2639{ 2640static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 2641test_array [0] = 0; 2642return test_array [0]; 2643 2644 ; 2645 return 0; 2646} 2647_ACEOF 2648if ac_fn_c_try_compile "$LINENO"; then : 2649 ac_hi=$ac_mid 2650else 2651 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val 2652fi 2653rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2654done 2655case $ac_lo in #(( 2656?*) eval "$3=\$ac_lo"; ac_retval=0 ;; 2657'') ac_retval=1 ;; 2658esac 2659 else 2660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2661/* end confdefs.h. */ 2662$4 2663static long int longval () { return $2; } 2664static unsigned long int ulongval () { return $2; } 2665#include <stdio.h> 2666#include <stdlib.h> 2667int 2668main () 2669{ 2670 2671 FILE *f = fopen ("conftest.val", "w"); 2672 if (! f) 2673 return 1; 2674 if (($2) < 0) 2675 { 2676 long int i = longval (); 2677 if (i != ($2)) 2678 return 1; 2679 fprintf (f, "%ld", i); 2680 } 2681 else 2682 { 2683 unsigned long int i = ulongval (); 2684 if (i != ($2)) 2685 return 1; 2686 fprintf (f, "%lu", i); 2687 } 2688 /* Do not output a trailing newline, as this causes \r\n confusion 2689 on some platforms. */ 2690 return ferror (f) || fclose (f) != 0; 2691 2692 ; 2693 return 0; 2694} 2695_ACEOF 2696if ac_fn_c_try_run "$LINENO"; then : 2697 echo >>conftest.val; read $3 <conftest.val; ac_retval=0 2698else 2699 ac_retval=1 2700fi 2701rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 2702 conftest.$ac_objext conftest.beam conftest.$ac_ext 2703rm -f conftest.val 2704 2705 fi 2706 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2707 as_fn_set_status $ac_retval 2708 2709} # ac_fn_c_compute_int 2710 2711# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES 2712# --------------------------------------------- 2713# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR 2714# accordingly. 2715ac_fn_c_check_decl () 2716{ 2717 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2718 as_decl_name=`echo $2|sed 's/ *(.*//'` 2719 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` 2720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 2721$as_echo_n "checking whether $as_decl_name is declared... " >&6; } 2722if eval \${$3+:} false; then : 2723 $as_echo_n "(cached) " >&6 2724else 2725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2726/* end confdefs.h. */ 2727$4 2728int 2729main () 2730{ 2731#ifndef $as_decl_name 2732#ifdef __cplusplus 2733 (void) $as_decl_use; 2734#else 2735 (void) $as_decl_name; 2736#endif 2737#endif 2738 2739 ; 2740 return 0; 2741} 2742_ACEOF 2743if ac_fn_c_try_compile "$LINENO"; then : 2744 eval "$3=yes" 2745else 2746 eval "$3=no" 2747fi 2748rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2749fi 2750eval ac_res=\$$3 2751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2752$as_echo "$ac_res" >&6; } 2753 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2754 2755} # ac_fn_c_check_decl 2756cat >config.log <<_ACEOF 2757This file contains any messages produced by compilers while 2758running configure, to aid debugging if configure makes a mistake. 2759 2760It was created by libregf $as_me 20210615, which was 2761generated by GNU Autoconf 2.69. Invocation command line was 2762 2763 $ $0 $@ 2764 2765_ACEOF 2766exec 5>>config.log 2767{ 2768cat <<_ASUNAME 2769## --------- ## 2770## Platform. ## 2771## --------- ## 2772 2773hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 2774uname -m = `(uname -m) 2>/dev/null || echo unknown` 2775uname -r = `(uname -r) 2>/dev/null || echo unknown` 2776uname -s = `(uname -s) 2>/dev/null || echo unknown` 2777uname -v = `(uname -v) 2>/dev/null || echo unknown` 2778 2779/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 2780/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 2781 2782/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 2783/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 2784/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 2785/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 2786/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 2787/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 2788/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 2789 2790_ASUNAME 2791 2792as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2793for as_dir in $PATH 2794do 2795 IFS=$as_save_IFS 2796 test -z "$as_dir" && as_dir=. 2797 $as_echo "PATH: $as_dir" 2798 done 2799IFS=$as_save_IFS 2800 2801} >&5 2802 2803cat >&5 <<_ACEOF 2804 2805 2806## ----------- ## 2807## Core tests. ## 2808## ----------- ## 2809 2810_ACEOF 2811 2812 2813# Keep a trace of the command line. 2814# Strip out --no-create and --no-recursion so they do not pile up. 2815# Strip out --silent because we don't want to record it for future runs. 2816# Also quote any args containing shell meta-characters. 2817# Make two passes to allow for proper duplicate-argument suppression. 2818ac_configure_args= 2819ac_configure_args0= 2820ac_configure_args1= 2821ac_must_keep_next=false 2822for ac_pass in 1 2 2823do 2824 for ac_arg 2825 do 2826 case $ac_arg in 2827 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2828 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2829 | -silent | --silent | --silen | --sile | --sil) 2830 continue ;; 2831 *\'*) 2832 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2833 esac 2834 case $ac_pass in 2835 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2836 2) 2837 as_fn_append ac_configure_args1 " '$ac_arg'" 2838 if test $ac_must_keep_next = true; then 2839 ac_must_keep_next=false # Got value, back to normal. 2840 else 2841 case $ac_arg in 2842 *=* | --config-cache | -C | -disable-* | --disable-* \ 2843 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2844 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2845 | -with-* | --with-* | -without-* | --without-* | --x) 2846 case "$ac_configure_args0 " in 2847 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2848 esac 2849 ;; 2850 -* ) ac_must_keep_next=true ;; 2851 esac 2852 fi 2853 as_fn_append ac_configure_args " '$ac_arg'" 2854 ;; 2855 esac 2856 done 2857done 2858{ ac_configure_args0=; unset ac_configure_args0;} 2859{ ac_configure_args1=; unset ac_configure_args1;} 2860 2861# When interrupted or exit'd, cleanup temporary files, and complete 2862# config.log. We remove comments because anyway the quotes in there 2863# would cause problems or look ugly. 2864# WARNING: Use '\'' to represent an apostrophe within the trap. 2865# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2866trap 'exit_status=$? 2867 # Save into config.log some information that might help in debugging. 2868 { 2869 echo 2870 2871 $as_echo "## ---------------- ## 2872## Cache variables. ## 2873## ---------------- ##" 2874 echo 2875 # The following way of writing the cache mishandles newlines in values, 2876( 2877 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2878 eval ac_val=\$$ac_var 2879 case $ac_val in #( 2880 *${as_nl}*) 2881 case $ac_var in #( 2882 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2883$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2884 esac 2885 case $ac_var in #( 2886 _ | IFS | as_nl) ;; #( 2887 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2888 *) { eval $ac_var=; unset $ac_var;} ;; 2889 esac ;; 2890 esac 2891 done 2892 (set) 2>&1 | 2893 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2894 *${as_nl}ac_space=\ *) 2895 sed -n \ 2896 "s/'\''/'\''\\\\'\'''\''/g; 2897 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2898 ;; #( 2899 *) 2900 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2901 ;; 2902 esac | 2903 sort 2904) 2905 echo 2906 2907 $as_echo "## ----------------- ## 2908## Output variables. ## 2909## ----------------- ##" 2910 echo 2911 for ac_var in $ac_subst_vars 2912 do 2913 eval ac_val=\$$ac_var 2914 case $ac_val in 2915 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2916 esac 2917 $as_echo "$ac_var='\''$ac_val'\''" 2918 done | sort 2919 echo 2920 2921 if test -n "$ac_subst_files"; then 2922 $as_echo "## ------------------- ## 2923## File substitutions. ## 2924## ------------------- ##" 2925 echo 2926 for ac_var in $ac_subst_files 2927 do 2928 eval ac_val=\$$ac_var 2929 case $ac_val in 2930 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2931 esac 2932 $as_echo "$ac_var='\''$ac_val'\''" 2933 done | sort 2934 echo 2935 fi 2936 2937 if test -s confdefs.h; then 2938 $as_echo "## ----------- ## 2939## confdefs.h. ## 2940## ----------- ##" 2941 echo 2942 cat confdefs.h 2943 echo 2944 fi 2945 test "$ac_signal" != 0 && 2946 $as_echo "$as_me: caught signal $ac_signal" 2947 $as_echo "$as_me: exit $exit_status" 2948 } >&5 2949 rm -f core *.core core.conftest.* && 2950 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2951 exit $exit_status 2952' 0 2953for ac_signal in 1 2 13 15; do 2954 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2955done 2956ac_signal=0 2957 2958# confdefs.h avoids OS command line length limits that DEFS can exceed. 2959rm -f -r conftest* confdefs.h 2960 2961$as_echo "/* confdefs.h */" > confdefs.h 2962 2963# Predefined preprocessor variables. 2964 2965cat >>confdefs.h <<_ACEOF 2966#define PACKAGE_NAME "$PACKAGE_NAME" 2967_ACEOF 2968 2969cat >>confdefs.h <<_ACEOF 2970#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2971_ACEOF 2972 2973cat >>confdefs.h <<_ACEOF 2974#define PACKAGE_VERSION "$PACKAGE_VERSION" 2975_ACEOF 2976 2977cat >>confdefs.h <<_ACEOF 2978#define PACKAGE_STRING "$PACKAGE_STRING" 2979_ACEOF 2980 2981cat >>confdefs.h <<_ACEOF 2982#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2983_ACEOF 2984 2985cat >>confdefs.h <<_ACEOF 2986#define PACKAGE_URL "$PACKAGE_URL" 2987_ACEOF 2988 2989 2990# Let the site file select an alternate cache file if it wants to. 2991# Prefer an explicitly selected file to automatically selected ones. 2992ac_site_file1=NONE 2993ac_site_file2=NONE 2994if test -n "$CONFIG_SITE"; then 2995 # We do not want a PATH search for config.site. 2996 case $CONFIG_SITE in #(( 2997 -*) ac_site_file1=./$CONFIG_SITE;; 2998 */*) ac_site_file1=$CONFIG_SITE;; 2999 *) ac_site_file1=./$CONFIG_SITE;; 3000 esac 3001elif test "x$prefix" != xNONE; then 3002 ac_site_file1=$prefix/share/config.site 3003 ac_site_file2=$prefix/etc/config.site 3004else 3005 ac_site_file1=$ac_default_prefix/share/config.site 3006 ac_site_file2=$ac_default_prefix/etc/config.site 3007fi 3008for ac_site_file in "$ac_site_file1" "$ac_site_file2" 3009do 3010 test "x$ac_site_file" = xNONE && continue 3011 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 3012 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 3013$as_echo "$as_me: loading site script $ac_site_file" >&6;} 3014 sed 's/^/| /' "$ac_site_file" >&5 3015 . "$ac_site_file" \ 3016 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3017$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3018as_fn_error $? "failed to load site script $ac_site_file 3019See \`config.log' for more details" "$LINENO" 5; } 3020 fi 3021done 3022 3023if test -r "$cache_file"; then 3024 # Some versions of bash will fail to source /dev/null (special files 3025 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 3026 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 3027 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 3028$as_echo "$as_me: loading cache $cache_file" >&6;} 3029 case $cache_file in 3030 [\\/]* | ?:[\\/]* ) . "$cache_file";; 3031 *) . "./$cache_file";; 3032 esac 3033 fi 3034else 3035 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 3036$as_echo "$as_me: creating cache $cache_file" >&6;} 3037 >$cache_file 3038fi 3039 3040gt_needs="$gt_needs " 3041# Check that the precious variables saved in the cache have kept the same 3042# value. 3043ac_cache_corrupted=false 3044for ac_var in $ac_precious_vars; do 3045 eval ac_old_set=\$ac_cv_env_${ac_var}_set 3046 eval ac_new_set=\$ac_env_${ac_var}_set 3047 eval ac_old_val=\$ac_cv_env_${ac_var}_value 3048 eval ac_new_val=\$ac_env_${ac_var}_value 3049 case $ac_old_set,$ac_new_set in 3050 set,) 3051 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 3052$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 3053 ac_cache_corrupted=: ;; 3054 ,set) 3055 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 3056$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 3057 ac_cache_corrupted=: ;; 3058 ,);; 3059 *) 3060 if test "x$ac_old_val" != "x$ac_new_val"; then 3061 # differences in whitespace do not lead to failure. 3062 ac_old_val_w=`echo x $ac_old_val` 3063 ac_new_val_w=`echo x $ac_new_val` 3064 if test "$ac_old_val_w" != "$ac_new_val_w"; then 3065 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 3066$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 3067 ac_cache_corrupted=: 3068 else 3069 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 3070$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 3071 eval $ac_var=\$ac_old_val 3072 fi 3073 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 3074$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 3075 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 3076$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 3077 fi;; 3078 esac 3079 # Pass precious variables to config.status. 3080 if test "$ac_new_set" = set; then 3081 case $ac_new_val in 3082 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 3083 *) ac_arg=$ac_var=$ac_new_val ;; 3084 esac 3085 case " $ac_configure_args " in 3086 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 3087 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 3088 esac 3089 fi 3090done 3091if $ac_cache_corrupted; then 3092 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3093$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3094 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 3095$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 3096 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 3097fi 3098## -------------------- ## 3099## Main body of script. ## 3100## -------------------- ## 3101 3102ac_ext=c 3103ac_cpp='$CPP $CPPFLAGS' 3104ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3105ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3106ac_compiler_gnu=$ac_cv_c_compiler_gnu 3107 3108 3109 3110 3111 3112am__api_version='1.16' 3113 3114ac_aux_dir= 3115for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 3116 if 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/install.sh"; then 3121 ac_aux_dir=$ac_dir 3122 ac_install_sh="$ac_aux_dir/install.sh -c" 3123 break 3124 elif test -f "$ac_dir/shtool"; then 3125 ac_aux_dir=$ac_dir 3126 ac_install_sh="$ac_aux_dir/shtool install -c" 3127 break 3128 fi 3129done 3130if test -z "$ac_aux_dir"; then 3131 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 3132fi 3133 3134# These three variables are undocumented and unsupported, 3135# and are intended to be withdrawn in a future Autoconf release. 3136# They can cause serious problems if a builder's source tree is in a directory 3137# whose full name contains unusual characters. 3138ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 3139ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 3140ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 3141 3142 3143# Find a good install program. We prefer a C program (faster), 3144# so one script is as good as another. But avoid the broken or 3145# incompatible versions: 3146# SysV /etc/install, /usr/sbin/install 3147# SunOS /usr/etc/install 3148# IRIX /sbin/install 3149# AIX /bin/install 3150# AmigaOS /C/install, which installs bootblocks on floppy discs 3151# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 3152# AFS /usr/afsws/bin/install, which mishandles nonexistent args 3153# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 3154# OS/2's system install, which has a completely different semantic 3155# ./install, which can be erroneously created by make from ./install.sh. 3156# Reject install programs that cannot install multiple files. 3157{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 3158$as_echo_n "checking for a BSD-compatible install... " >&6; } 3159if test -z "$INSTALL"; then 3160if ${ac_cv_path_install+:} false; then : 3161 $as_echo_n "(cached) " >&6 3162else 3163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3164for as_dir in $PATH 3165do 3166 IFS=$as_save_IFS 3167 test -z "$as_dir" && as_dir=. 3168 # Account for people who put trailing slashes in PATH elements. 3169case $as_dir/ in #(( 3170 ./ | .// | /[cC]/* | \ 3171 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 3172 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 3173 /usr/ucb/* ) ;; 3174 *) 3175 # OSF1 and SCO ODT 3.0 have their own names for install. 3176 # Don't use installbsd from OSF since it installs stuff as root 3177 # by default. 3178 for ac_prog in ginstall scoinst install; do 3179 for ac_exec_ext in '' $ac_executable_extensions; do 3180 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 3181 if test $ac_prog = install && 3182 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3183 # AIX install. It has an incompatible calling convention. 3184 : 3185 elif test $ac_prog = install && 3186 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3187 # program-specific install script used by HP pwplus--don't use. 3188 : 3189 else 3190 rm -rf conftest.one conftest.two conftest.dir 3191 echo one > conftest.one 3192 echo two > conftest.two 3193 mkdir conftest.dir 3194 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 3195 test -s conftest.one && test -s conftest.two && 3196 test -s conftest.dir/conftest.one && 3197 test -s conftest.dir/conftest.two 3198 then 3199 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 3200 break 3 3201 fi 3202 fi 3203 fi 3204 done 3205 done 3206 ;; 3207esac 3208 3209 done 3210IFS=$as_save_IFS 3211 3212rm -rf conftest.one conftest.two conftest.dir 3213 3214fi 3215 if test "${ac_cv_path_install+set}" = set; then 3216 INSTALL=$ac_cv_path_install 3217 else 3218 # As a last resort, use the slow shell script. Don't cache a 3219 # value for INSTALL within a source directory, because that will 3220 # break other packages using the cache if that directory is 3221 # removed, or if the value is a relative name. 3222 INSTALL=$ac_install_sh 3223 fi 3224fi 3225{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 3226$as_echo "$INSTALL" >&6; } 3227 3228# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 3229# It thinks the first close brace ends the variable substitution. 3230test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 3231 3232test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 3233 3234test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 3235 3236{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 3237$as_echo_n "checking whether build environment is sane... " >&6; } 3238# Reject unsafe characters in $srcdir or the absolute working directory 3239# name. Accept space and tab only in the latter. 3240am_lf=' 3241' 3242case `pwd` in 3243 *[\\\"\#\$\&\'\`$am_lf]*) 3244 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 3245esac 3246case $srcdir in 3247 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 3248 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 3249esac 3250 3251# Do 'set' in a subshell so we don't clobber the current shell's 3252# arguments. Must try -L first in case configure is actually a 3253# symlink; some systems play weird games with the mod time of symlinks 3254# (eg FreeBSD returns the mod time of the symlink's containing 3255# directory). 3256if ( 3257 am_has_slept=no 3258 for am_try in 1 2; do 3259 echo "timestamp, slept: $am_has_slept" > conftest.file 3260 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 3261 if test "$*" = "X"; then 3262 # -L didn't work. 3263 set X `ls -t "$srcdir/configure" conftest.file` 3264 fi 3265 if test "$*" != "X $srcdir/configure conftest.file" \ 3266 && test "$*" != "X conftest.file $srcdir/configure"; then 3267 3268 # If neither matched, then we have a broken ls. This can happen 3269 # if, for instance, CONFIG_SHELL is bash and it inherits a 3270 # broken ls alias from the environment. This has actually 3271 # happened. Such a system could not be considered "sane". 3272 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 3273 alias in your environment" "$LINENO" 5 3274 fi 3275 if test "$2" = conftest.file || test $am_try -eq 2; then 3276 break 3277 fi 3278 # Just in case. 3279 sleep 1 3280 am_has_slept=yes 3281 done 3282 test "$2" = conftest.file 3283 ) 3284then 3285 # Ok. 3286 : 3287else 3288 as_fn_error $? "newly created file is older than distributed files! 3289Check your system clock" "$LINENO" 5 3290fi 3291{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3292$as_echo "yes" >&6; } 3293# If we didn't sleep, we still need to ensure time stamps of config.status and 3294# generated files are strictly newer. 3295am_sleep_pid= 3296if grep 'slept: no' conftest.file >/dev/null 2>&1; then 3297 ( sleep 1 ) & 3298 am_sleep_pid=$! 3299fi 3300 3301rm -f conftest.file 3302 3303test "$program_prefix" != NONE && 3304 program_transform_name="s&^&$program_prefix&;$program_transform_name" 3305# Use a double $ so make ignores it. 3306test "$program_suffix" != NONE && 3307 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 3308# Double any \ or $. 3309# By default was `s,x,x', remove it if useless. 3310ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 3311program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 3312 3313# Expand $ac_aux_dir to an absolute path. 3314am_aux_dir=`cd "$ac_aux_dir" && pwd` 3315 3316if test x"${MISSING+set}" != xset; then 3317 case $am_aux_dir in 3318 *\ * | *\ *) 3319 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 3320 *) 3321 MISSING="\${SHELL} $am_aux_dir/missing" ;; 3322 esac 3323fi 3324# Use eval to expand $SHELL 3325if eval "$MISSING --is-lightweight"; then 3326 am_missing_run="$MISSING " 3327else 3328 am_missing_run= 3329 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 3330$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 3331fi 3332 3333if test x"${install_sh+set}" != xset; then 3334 case $am_aux_dir in 3335 *\ * | *\ *) 3336 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 3337 *) 3338 install_sh="\${SHELL} $am_aux_dir/install-sh" 3339 esac 3340fi 3341 3342# Installed binaries are usually stripped using 'strip' when the user 3343# run "make install-strip". However 'strip' might not be the right 3344# tool to use in cross-compilation environments, therefore Automake 3345# will honor the 'STRIP' environment variable to overrule this program. 3346if test "$cross_compiling" != no; then 3347 if test -n "$ac_tool_prefix"; then 3348 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 3349set dummy ${ac_tool_prefix}strip; ac_word=$2 3350{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3351$as_echo_n "checking for $ac_word... " >&6; } 3352if ${ac_cv_prog_STRIP+:} false; then : 3353 $as_echo_n "(cached) " >&6 3354else 3355 if test -n "$STRIP"; then 3356 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 3357else 3358as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3359for as_dir in $PATH 3360do 3361 IFS=$as_save_IFS 3362 test -z "$as_dir" && as_dir=. 3363 for ac_exec_ext in '' $ac_executable_extensions; do 3364 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3365 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 3366 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3367 break 2 3368 fi 3369done 3370 done 3371IFS=$as_save_IFS 3372 3373fi 3374fi 3375STRIP=$ac_cv_prog_STRIP 3376if test -n "$STRIP"; then 3377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 3378$as_echo "$STRIP" >&6; } 3379else 3380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3381$as_echo "no" >&6; } 3382fi 3383 3384 3385fi 3386if test -z "$ac_cv_prog_STRIP"; then 3387 ac_ct_STRIP=$STRIP 3388 # Extract the first word of "strip", so it can be a program name with args. 3389set dummy strip; ac_word=$2 3390{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3391$as_echo_n "checking for $ac_word... " >&6; } 3392if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 3393 $as_echo_n "(cached) " >&6 3394else 3395 if test -n "$ac_ct_STRIP"; then 3396 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 3397else 3398as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3399for as_dir in $PATH 3400do 3401 IFS=$as_save_IFS 3402 test -z "$as_dir" && as_dir=. 3403 for ac_exec_ext in '' $ac_executable_extensions; do 3404 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3405 ac_cv_prog_ac_ct_STRIP="strip" 3406 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3407 break 2 3408 fi 3409done 3410 done 3411IFS=$as_save_IFS 3412 3413fi 3414fi 3415ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 3416if test -n "$ac_ct_STRIP"; then 3417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 3418$as_echo "$ac_ct_STRIP" >&6; } 3419else 3420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3421$as_echo "no" >&6; } 3422fi 3423 3424 if test "x$ac_ct_STRIP" = x; then 3425 STRIP=":" 3426 else 3427 case $cross_compiling:$ac_tool_warned in 3428yes:) 3429{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3430$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3431ac_tool_warned=yes ;; 3432esac 3433 STRIP=$ac_ct_STRIP 3434 fi 3435else 3436 STRIP="$ac_cv_prog_STRIP" 3437fi 3438 3439fi 3440INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 3441 3442{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 3443$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 3444if test -z "$MKDIR_P"; then 3445 if ${ac_cv_path_mkdir+:} false; then : 3446 $as_echo_n "(cached) " >&6 3447else 3448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3449for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 3450do 3451 IFS=$as_save_IFS 3452 test -z "$as_dir" && as_dir=. 3453 for ac_prog in mkdir gmkdir; do 3454 for ac_exec_ext in '' $ac_executable_extensions; do 3455 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 3456 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 3457 'mkdir (GNU coreutils) '* | \ 3458 'mkdir (coreutils) '* | \ 3459 'mkdir (fileutils) '4.1*) 3460 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 3461 break 3;; 3462 esac 3463 done 3464 done 3465 done 3466IFS=$as_save_IFS 3467 3468fi 3469 3470 test -d ./--version && rmdir ./--version 3471 if test "${ac_cv_path_mkdir+set}" = set; then 3472 MKDIR_P="$ac_cv_path_mkdir -p" 3473 else 3474 # As a last resort, use the slow shell script. Don't cache a 3475 # value for MKDIR_P within a source directory, because that will 3476 # break other packages using the cache if that directory is 3477 # removed, or if the value is a relative name. 3478 MKDIR_P="$ac_install_sh -d" 3479 fi 3480fi 3481{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 3482$as_echo "$MKDIR_P" >&6; } 3483 3484for ac_prog in gawk mawk nawk awk 3485do 3486 # Extract the first word of "$ac_prog", so it can be a program name with args. 3487set dummy $ac_prog; ac_word=$2 3488{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3489$as_echo_n "checking for $ac_word... " >&6; } 3490if ${ac_cv_prog_AWK+:} false; then : 3491 $as_echo_n "(cached) " >&6 3492else 3493 if test -n "$AWK"; then 3494 ac_cv_prog_AWK="$AWK" # Let the user override the test. 3495else 3496as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3497for as_dir in $PATH 3498do 3499 IFS=$as_save_IFS 3500 test -z "$as_dir" && as_dir=. 3501 for ac_exec_ext in '' $ac_executable_extensions; do 3502 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3503 ac_cv_prog_AWK="$ac_prog" 3504 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3505 break 2 3506 fi 3507done 3508 done 3509IFS=$as_save_IFS 3510 3511fi 3512fi 3513AWK=$ac_cv_prog_AWK 3514if test -n "$AWK"; then 3515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 3516$as_echo "$AWK" >&6; } 3517else 3518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3519$as_echo "no" >&6; } 3520fi 3521 3522 3523 test -n "$AWK" && break 3524done 3525 3526{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3527$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 3528set x ${MAKE-make} 3529ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 3530if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 3531 $as_echo_n "(cached) " >&6 3532else 3533 cat >conftest.make <<\_ACEOF 3534SHELL = /bin/sh 3535all: 3536 @echo '@@@%%%=$(MAKE)=@@@%%%' 3537_ACEOF 3538# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 3539case `${MAKE-make} -f conftest.make 2>/dev/null` in 3540 *@@@%%%=?*=@@@%%%*) 3541 eval ac_cv_prog_make_${ac_make}_set=yes;; 3542 *) 3543 eval ac_cv_prog_make_${ac_make}_set=no;; 3544esac 3545rm -f conftest.make 3546fi 3547if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 3548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3549$as_echo "yes" >&6; } 3550 SET_MAKE= 3551else 3552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3553$as_echo "no" >&6; } 3554 SET_MAKE="MAKE=${MAKE-make}" 3555fi 3556 3557rm -rf .tst 2>/dev/null 3558mkdir .tst 2>/dev/null 3559if test -d .tst; then 3560 am__leading_dot=. 3561else 3562 am__leading_dot=_ 3563fi 3564rmdir .tst 2>/dev/null 3565 3566# Check whether --enable-silent-rules was given. 3567if test "${enable_silent_rules+set}" = set; then : 3568 enableval=$enable_silent_rules; 3569fi 3570 3571case $enable_silent_rules in # ((( 3572 yes) AM_DEFAULT_VERBOSITY=0;; 3573 no) AM_DEFAULT_VERBOSITY=1;; 3574 *) AM_DEFAULT_VERBOSITY=1;; 3575esac 3576am_make=${MAKE-make} 3577{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 3578$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 3579if ${am_cv_make_support_nested_variables+:} false; then : 3580 $as_echo_n "(cached) " >&6 3581else 3582 if $as_echo 'TRUE=$(BAR$(V)) 3583BAR0=false 3584BAR1=true 3585V=1 3586am__doit: 3587 @$(TRUE) 3588.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 3589 am_cv_make_support_nested_variables=yes 3590else 3591 am_cv_make_support_nested_variables=no 3592fi 3593fi 3594{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 3595$as_echo "$am_cv_make_support_nested_variables" >&6; } 3596if test $am_cv_make_support_nested_variables = yes; then 3597 AM_V='$(V)' 3598 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 3599else 3600 AM_V=$AM_DEFAULT_VERBOSITY 3601 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 3602fi 3603AM_BACKSLASH='\' 3604 3605if test "`cd $srcdir && pwd`" != "`pwd`"; then 3606 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 3607 # is not polluted with repeated "-I." 3608 am__isrc=' -I$(srcdir)' 3609 # test to see if srcdir already configured 3610 if test -f $srcdir/config.status; then 3611 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 3612 fi 3613fi 3614 3615# test whether we have cygpath 3616if test -z "$CYGPATH_W"; then 3617 if (cygpath --version) >/dev/null 2>/dev/null; then 3618 CYGPATH_W='cygpath -w' 3619 else 3620 CYGPATH_W=echo 3621 fi 3622fi 3623 3624 3625# Define the identity of the package. 3626 PACKAGE='libregf' 3627 VERSION='20210615' 3628 3629 3630cat >>confdefs.h <<_ACEOF 3631#define PACKAGE "$PACKAGE" 3632_ACEOF 3633 3634 3635cat >>confdefs.h <<_ACEOF 3636#define VERSION "$VERSION" 3637_ACEOF 3638 3639# Some tools Automake needs. 3640 3641ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 3642 3643 3644AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 3645 3646 3647AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 3648 3649 3650AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 3651 3652 3653MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 3654 3655# For better backward compatibility. To be removed once Automake 1.9.x 3656# dies out for good. For more background, see: 3657# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 3658# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 3659mkdir_p='$(MKDIR_P)' 3660 3661# We need awk for the "check" target (and possibly the TAP driver). The 3662# system "awk" is bad on some platforms. 3663# Always define AMTAR for backward compatibility. Yes, it's still used 3664# in the wild :-( We should find a proper way to deprecate it ... 3665AMTAR='$${TAR-tar}' 3666 3667 3668# We'll loop over all known methods to create a tar archive until one works. 3669_am_tools='gnutar plaintar pax cpio none' 3670 3671# The POSIX 1988 'ustar' format is defined with fixed-size fields. 3672 # There is notably a 21 bits limit for the UID and the GID. In fact, 3673 # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343 3674 # and bug#13588). 3675 am_max_uid=2097151 # 2^21 - 1 3676 am_max_gid=$am_max_uid 3677 # The $UID and $GID variables are not portable, so we need to resort 3678 # to the POSIX-mandated id(1) utility. Errors in the 'id' calls 3679 # below are definitely unexpected, so allow the users to see them 3680 # (that is, avoid stderr redirection). 3681 am_uid=`id -u || echo unknown` 3682 am_gid=`id -g || echo unknown` 3683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5 3684$as_echo_n "checking whether UID '$am_uid' is supported by ustar format... " >&6; } 3685 if test $am_uid -le $am_max_uid; then 3686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3687$as_echo "yes" >&6; } 3688 else 3689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3690$as_echo "no" >&6; } 3691 _am_tools=none 3692 fi 3693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5 3694$as_echo_n "checking whether GID '$am_gid' is supported by ustar format... " >&6; } 3695 if test $am_gid -le $am_max_gid; then 3696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3697$as_echo "yes" >&6; } 3698 else 3699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3700$as_echo "no" >&6; } 3701 _am_tools=none 3702 fi 3703 3704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5 3705$as_echo_n "checking how to create a ustar tar archive... " >&6; } 3706 3707 # Go ahead even if we have the value already cached. We do so because we 3708 # need to set the values for the 'am__tar' and 'am__untar' variables. 3709 _am_tools=${am_cv_prog_tar_ustar-$_am_tools} 3710 3711 for _am_tool in $_am_tools; do 3712 case $_am_tool in 3713 gnutar) 3714 for _am_tar in tar gnutar gtar; do 3715 { echo "$as_me:$LINENO: $_am_tar --version" >&5 3716 ($_am_tar --version) >&5 2>&5 3717 ac_status=$? 3718 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3719 (exit $ac_status); } && break 3720 done 3721 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"' 3722 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"' 3723 am__untar="$_am_tar -xf -" 3724 ;; 3725 plaintar) 3726 # Must skip GNU tar: if it does not support --format= it doesn't create 3727 # ustar tarball either. 3728 (tar --version) >/dev/null 2>&1 && continue 3729 am__tar='tar chf - "$$tardir"' 3730 am__tar_='tar chf - "$tardir"' 3731 am__untar='tar xf -' 3732 ;; 3733 pax) 3734 am__tar='pax -L -x ustar -w "$$tardir"' 3735 am__tar_='pax -L -x ustar -w "$tardir"' 3736 am__untar='pax -r' 3737 ;; 3738 cpio) 3739 am__tar='find "$$tardir" -print | cpio -o -H ustar -L' 3740 am__tar_='find "$tardir" -print | cpio -o -H ustar -L' 3741 am__untar='cpio -i -H ustar -d' 3742 ;; 3743 none) 3744 am__tar=false 3745 am__tar_=false 3746 am__untar=false 3747 ;; 3748 esac 3749 3750 # If the value was cached, stop now. We just wanted to have am__tar 3751 # and am__untar set. 3752 test -n "${am_cv_prog_tar_ustar}" && break 3753 3754 # tar/untar a dummy directory, and stop if the command works. 3755 rm -rf conftest.dir 3756 mkdir conftest.dir 3757 echo GrepMe > conftest.dir/file 3758 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5 3759 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5 3760 ac_status=$? 3761 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3762 (exit $ac_status); } 3763 rm -rf conftest.dir 3764 if test -s conftest.tar; then 3765 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5 3766 ($am__untar <conftest.tar) >&5 2>&5 3767 ac_status=$? 3768 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3769 (exit $ac_status); } 3770 { echo "$as_me:$LINENO: cat conftest.dir/file" >&5 3771 (cat conftest.dir/file) >&5 2>&5 3772 ac_status=$? 3773 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3774 (exit $ac_status); } 3775 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break 3776 fi 3777 done 3778 rm -rf conftest.dir 3779 3780 if ${am_cv_prog_tar_ustar+:} false; then : 3781 $as_echo_n "(cached) " >&6 3782else 3783 am_cv_prog_tar_ustar=$_am_tool 3784fi 3785 3786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5 3787$as_echo "$am_cv_prog_tar_ustar" >&6; } 3788 3789 3790 3791 3792 3793 3794# POSIX will say in a future version that running "rm -f" with no argument 3795# is OK; and we want to be able to make that assumption in our Makefile 3796# recipes. So use an aggressive probe to check that the usage we want is 3797# actually supported "in the wild" to an acceptable degree. 3798# See automake bug#10828. 3799# To make any issue more visible, cause the running configure to be aborted 3800# by default if the 'rm' program in use doesn't match our expectations; the 3801# user can still override this though. 3802if rm -f && rm -fr && rm -rf; then : OK; else 3803 cat >&2 <<'END' 3804Oops! 3805 3806Your 'rm' program seems unable to run without file operands specified 3807on the command line, even when the '-f' option is present. This is contrary 3808to the behaviour of most rm programs out there, and not conforming with 3809the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 3810 3811Please tell bug-automake@gnu.org about your system, including the value 3812of your $PATH and any error possibly output before this message. This 3813can help us improve future automake versions. 3814 3815END 3816 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 3817 echo 'Configuration will proceed anyway, since you have set the' >&2 3818 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 3819 echo >&2 3820 else 3821 cat >&2 <<'END' 3822Aborting the configuration process, to ensure you take notice of the issue. 3823 3824You can download and install GNU coreutils to get an 'rm' implementation 3825that behaves properly: <https://www.gnu.org/software/coreutils/>. 3826 3827If you want to complete the configuration process using your problematic 3828'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 3829to "yes", and re-run configure. 3830 3831END 3832 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 3833 fi 3834fi 3835 3836 3837 3838 3839# Make sure we can run config.sub. 3840$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 3841 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 3842 3843{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 3844$as_echo_n "checking build system type... " >&6; } 3845if ${ac_cv_build+:} false; then : 3846 $as_echo_n "(cached) " >&6 3847else 3848 ac_build_alias=$build_alias 3849test "x$ac_build_alias" = x && 3850 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 3851test "x$ac_build_alias" = x && 3852 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 3853ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 3854 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 3855 3856fi 3857{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 3858$as_echo "$ac_cv_build" >&6; } 3859case $ac_cv_build in 3860*-*-*) ;; 3861*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 3862esac 3863build=$ac_cv_build 3864ac_save_IFS=$IFS; IFS='-' 3865set x $ac_cv_build 3866shift 3867build_cpu=$1 3868build_vendor=$2 3869shift; shift 3870# Remember, the first character of IFS is used to create $*, 3871# except with old shells: 3872build_os=$* 3873IFS=$ac_save_IFS 3874case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 3875 3876 3877{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 3878$as_echo_n "checking host system type... " >&6; } 3879if ${ac_cv_host+:} false; then : 3880 $as_echo_n "(cached) " >&6 3881else 3882 if test "x$host_alias" = x; then 3883 ac_cv_host=$ac_cv_build 3884else 3885 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 3886 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 3887fi 3888 3889fi 3890{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 3891$as_echo "$ac_cv_host" >&6; } 3892case $ac_cv_host in 3893*-*-*) ;; 3894*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 3895esac 3896host=$ac_cv_host 3897ac_save_IFS=$IFS; IFS='-' 3898set x $ac_cv_host 3899shift 3900host_cpu=$1 3901host_vendor=$2 3902shift; shift 3903# Remember, the first character of IFS is used to create $*, 3904# except with old shells: 3905host_os=$* 3906IFS=$ac_save_IFS 3907case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 3908 3909 3910 3911enable_win32_dll=yes 3912 3913case $host in 3914*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*) 3915 if test -n "$ac_tool_prefix"; then 3916 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. 3917set dummy ${ac_tool_prefix}as; ac_word=$2 3918{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3919$as_echo_n "checking for $ac_word... " >&6; } 3920if ${ac_cv_prog_AS+:} false; then : 3921 $as_echo_n "(cached) " >&6 3922else 3923 if test -n "$AS"; then 3924 ac_cv_prog_AS="$AS" # Let the user override the test. 3925else 3926as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3927for as_dir in $PATH 3928do 3929 IFS=$as_save_IFS 3930 test -z "$as_dir" && as_dir=. 3931 for ac_exec_ext in '' $ac_executable_extensions; do 3932 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3933 ac_cv_prog_AS="${ac_tool_prefix}as" 3934 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3935 break 2 3936 fi 3937done 3938 done 3939IFS=$as_save_IFS 3940 3941fi 3942fi 3943AS=$ac_cv_prog_AS 3944if test -n "$AS"; then 3945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5 3946$as_echo "$AS" >&6; } 3947else 3948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3949$as_echo "no" >&6; } 3950fi 3951 3952 3953fi 3954if test -z "$ac_cv_prog_AS"; then 3955 ac_ct_AS=$AS 3956 # Extract the first word of "as", so it can be a program name with args. 3957set dummy as; ac_word=$2 3958{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3959$as_echo_n "checking for $ac_word... " >&6; } 3960if ${ac_cv_prog_ac_ct_AS+:} false; then : 3961 $as_echo_n "(cached) " >&6 3962else 3963 if test -n "$ac_ct_AS"; then 3964 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test. 3965else 3966as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3967for as_dir in $PATH 3968do 3969 IFS=$as_save_IFS 3970 test -z "$as_dir" && as_dir=. 3971 for ac_exec_ext in '' $ac_executable_extensions; do 3972 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3973 ac_cv_prog_ac_ct_AS="as" 3974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3975 break 2 3976 fi 3977done 3978 done 3979IFS=$as_save_IFS 3980 3981fi 3982fi 3983ac_ct_AS=$ac_cv_prog_ac_ct_AS 3984if test -n "$ac_ct_AS"; then 3985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5 3986$as_echo "$ac_ct_AS" >&6; } 3987else 3988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3989$as_echo "no" >&6; } 3990fi 3991 3992 if test "x$ac_ct_AS" = x; then 3993 AS="false" 3994 else 3995 case $cross_compiling:$ac_tool_warned in 3996yes:) 3997{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3998$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3999ac_tool_warned=yes ;; 4000esac 4001 AS=$ac_ct_AS 4002 fi 4003else 4004 AS="$ac_cv_prog_AS" 4005fi 4006 4007 if test -n "$ac_tool_prefix"; then 4008 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 4009set dummy ${ac_tool_prefix}dlltool; ac_word=$2 4010{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4011$as_echo_n "checking for $ac_word... " >&6; } 4012if ${ac_cv_prog_DLLTOOL+:} false; then : 4013 $as_echo_n "(cached) " >&6 4014else 4015 if test -n "$DLLTOOL"; then 4016 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 4017else 4018as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4019for as_dir in $PATH 4020do 4021 IFS=$as_save_IFS 4022 test -z "$as_dir" && as_dir=. 4023 for ac_exec_ext in '' $ac_executable_extensions; do 4024 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4025 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 4026 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4027 break 2 4028 fi 4029done 4030 done 4031IFS=$as_save_IFS 4032 4033fi 4034fi 4035DLLTOOL=$ac_cv_prog_DLLTOOL 4036if test -n "$DLLTOOL"; then 4037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 4038$as_echo "$DLLTOOL" >&6; } 4039else 4040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4041$as_echo "no" >&6; } 4042fi 4043 4044 4045fi 4046if test -z "$ac_cv_prog_DLLTOOL"; then 4047 ac_ct_DLLTOOL=$DLLTOOL 4048 # Extract the first word of "dlltool", so it can be a program name with args. 4049set dummy dlltool; ac_word=$2 4050{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4051$as_echo_n "checking for $ac_word... " >&6; } 4052if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 4053 $as_echo_n "(cached) " >&6 4054else 4055 if test -n "$ac_ct_DLLTOOL"; then 4056 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 4057else 4058as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4059for as_dir in $PATH 4060do 4061 IFS=$as_save_IFS 4062 test -z "$as_dir" && as_dir=. 4063 for ac_exec_ext in '' $ac_executable_extensions; do 4064 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4065 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 4066 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4067 break 2 4068 fi 4069done 4070 done 4071IFS=$as_save_IFS 4072 4073fi 4074fi 4075ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 4076if test -n "$ac_ct_DLLTOOL"; then 4077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 4078$as_echo "$ac_ct_DLLTOOL" >&6; } 4079else 4080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4081$as_echo "no" >&6; } 4082fi 4083 4084 if test "x$ac_ct_DLLTOOL" = x; then 4085 DLLTOOL="false" 4086 else 4087 case $cross_compiling:$ac_tool_warned in 4088yes:) 4089{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4090$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4091ac_tool_warned=yes ;; 4092esac 4093 DLLTOOL=$ac_ct_DLLTOOL 4094 fi 4095else 4096 DLLTOOL="$ac_cv_prog_DLLTOOL" 4097fi 4098 4099 if test -n "$ac_tool_prefix"; then 4100 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 4101set dummy ${ac_tool_prefix}objdump; ac_word=$2 4102{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4103$as_echo_n "checking for $ac_word... " >&6; } 4104if ${ac_cv_prog_OBJDUMP+:} false; then : 4105 $as_echo_n "(cached) " >&6 4106else 4107 if test -n "$OBJDUMP"; then 4108 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 4109else 4110as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4111for as_dir in $PATH 4112do 4113 IFS=$as_save_IFS 4114 test -z "$as_dir" && as_dir=. 4115 for ac_exec_ext in '' $ac_executable_extensions; do 4116 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4117 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 4118 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4119 break 2 4120 fi 4121done 4122 done 4123IFS=$as_save_IFS 4124 4125fi 4126fi 4127OBJDUMP=$ac_cv_prog_OBJDUMP 4128if test -n "$OBJDUMP"; then 4129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 4130$as_echo "$OBJDUMP" >&6; } 4131else 4132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4133$as_echo "no" >&6; } 4134fi 4135 4136 4137fi 4138if test -z "$ac_cv_prog_OBJDUMP"; then 4139 ac_ct_OBJDUMP=$OBJDUMP 4140 # Extract the first word of "objdump", so it can be a program name with args. 4141set dummy objdump; ac_word=$2 4142{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4143$as_echo_n "checking for $ac_word... " >&6; } 4144if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 4145 $as_echo_n "(cached) " >&6 4146else 4147 if test -n "$ac_ct_OBJDUMP"; then 4148 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 4149else 4150as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4151for as_dir in $PATH 4152do 4153 IFS=$as_save_IFS 4154 test -z "$as_dir" && as_dir=. 4155 for ac_exec_ext in '' $ac_executable_extensions; do 4156 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4157 ac_cv_prog_ac_ct_OBJDUMP="objdump" 4158 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4159 break 2 4160 fi 4161done 4162 done 4163IFS=$as_save_IFS 4164 4165fi 4166fi 4167ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 4168if test -n "$ac_ct_OBJDUMP"; then 4169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 4170$as_echo "$ac_ct_OBJDUMP" >&6; } 4171else 4172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4173$as_echo "no" >&6; } 4174fi 4175 4176 if test "x$ac_ct_OBJDUMP" = x; then 4177 OBJDUMP="false" 4178 else 4179 case $cross_compiling:$ac_tool_warned in 4180yes:) 4181{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4182$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4183ac_tool_warned=yes ;; 4184esac 4185 OBJDUMP=$ac_ct_OBJDUMP 4186 fi 4187else 4188 OBJDUMP="$ac_cv_prog_OBJDUMP" 4189fi 4190 4191 ;; 4192esac 4193 4194test -z "$AS" && AS=as 4195 4196 4197 4198 4199 4200test -z "$DLLTOOL" && DLLTOOL=dlltool 4201 4202 4203 4204 4205 4206test -z "$OBJDUMP" && OBJDUMP=objdump 4207 4208 4209 4210 4211 4212 4213 4214 4215ac_ext=c 4216ac_cpp='$CPP $CPPFLAGS' 4217ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4218ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4219ac_compiler_gnu=$ac_cv_c_compiler_gnu 4220if test -n "$ac_tool_prefix"; then 4221 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 4222set dummy ${ac_tool_prefix}gcc; ac_word=$2 4223{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4224$as_echo_n "checking for $ac_word... " >&6; } 4225if ${ac_cv_prog_CC+:} false; then : 4226 $as_echo_n "(cached) " >&6 4227else 4228 if test -n "$CC"; then 4229 ac_cv_prog_CC="$CC" # Let the user override the test. 4230else 4231as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4232for as_dir in $PATH 4233do 4234 IFS=$as_save_IFS 4235 test -z "$as_dir" && as_dir=. 4236 for ac_exec_ext in '' $ac_executable_extensions; do 4237 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4238 ac_cv_prog_CC="${ac_tool_prefix}gcc" 4239 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4240 break 2 4241 fi 4242done 4243 done 4244IFS=$as_save_IFS 4245 4246fi 4247fi 4248CC=$ac_cv_prog_CC 4249if test -n "$CC"; then 4250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4251$as_echo "$CC" >&6; } 4252else 4253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4254$as_echo "no" >&6; } 4255fi 4256 4257 4258fi 4259if test -z "$ac_cv_prog_CC"; then 4260 ac_ct_CC=$CC 4261 # Extract the first word of "gcc", so it can be a program name with args. 4262set dummy gcc; ac_word=$2 4263{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4264$as_echo_n "checking for $ac_word... " >&6; } 4265if ${ac_cv_prog_ac_ct_CC+:} false; then : 4266 $as_echo_n "(cached) " >&6 4267else 4268 if test -n "$ac_ct_CC"; then 4269 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 4270else 4271as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4272for as_dir in $PATH 4273do 4274 IFS=$as_save_IFS 4275 test -z "$as_dir" && as_dir=. 4276 for ac_exec_ext in '' $ac_executable_extensions; do 4277 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4278 ac_cv_prog_ac_ct_CC="gcc" 4279 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4280 break 2 4281 fi 4282done 4283 done 4284IFS=$as_save_IFS 4285 4286fi 4287fi 4288ac_ct_CC=$ac_cv_prog_ac_ct_CC 4289if test -n "$ac_ct_CC"; then 4290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 4291$as_echo "$ac_ct_CC" >&6; } 4292else 4293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4294$as_echo "no" >&6; } 4295fi 4296 4297 if test "x$ac_ct_CC" = x; then 4298 CC="" 4299 else 4300 case $cross_compiling:$ac_tool_warned in 4301yes:) 4302{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4303$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4304ac_tool_warned=yes ;; 4305esac 4306 CC=$ac_ct_CC 4307 fi 4308else 4309 CC="$ac_cv_prog_CC" 4310fi 4311 4312if test -z "$CC"; then 4313 if test -n "$ac_tool_prefix"; then 4314 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 4315set dummy ${ac_tool_prefix}cc; ac_word=$2 4316{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4317$as_echo_n "checking for $ac_word... " >&6; } 4318if ${ac_cv_prog_CC+:} false; then : 4319 $as_echo_n "(cached) " >&6 4320else 4321 if test -n "$CC"; then 4322 ac_cv_prog_CC="$CC" # Let the user override the test. 4323else 4324as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4325for as_dir in $PATH 4326do 4327 IFS=$as_save_IFS 4328 test -z "$as_dir" && as_dir=. 4329 for ac_exec_ext in '' $ac_executable_extensions; do 4330 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4331 ac_cv_prog_CC="${ac_tool_prefix}cc" 4332 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4333 break 2 4334 fi 4335done 4336 done 4337IFS=$as_save_IFS 4338 4339fi 4340fi 4341CC=$ac_cv_prog_CC 4342if test -n "$CC"; then 4343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4344$as_echo "$CC" >&6; } 4345else 4346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4347$as_echo "no" >&6; } 4348fi 4349 4350 4351 fi 4352fi 4353if test -z "$CC"; then 4354 # Extract the first word of "cc", so it can be a program name with args. 4355set dummy cc; ac_word=$2 4356{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4357$as_echo_n "checking for $ac_word... " >&6; } 4358if ${ac_cv_prog_CC+:} false; then : 4359 $as_echo_n "(cached) " >&6 4360else 4361 if test -n "$CC"; then 4362 ac_cv_prog_CC="$CC" # Let the user override the test. 4363else 4364 ac_prog_rejected=no 4365as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4366for as_dir in $PATH 4367do 4368 IFS=$as_save_IFS 4369 test -z "$as_dir" && as_dir=. 4370 for ac_exec_ext in '' $ac_executable_extensions; do 4371 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4372 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 4373 ac_prog_rejected=yes 4374 continue 4375 fi 4376 ac_cv_prog_CC="cc" 4377 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4378 break 2 4379 fi 4380done 4381 done 4382IFS=$as_save_IFS 4383 4384if test $ac_prog_rejected = yes; then 4385 # We found a bogon in the path, so make sure we never use it. 4386 set dummy $ac_cv_prog_CC 4387 shift 4388 if test $# != 0; then 4389 # We chose a different compiler from the bogus one. 4390 # However, it has the same basename, so the bogon will be chosen 4391 # first if we set CC to just the basename; use the full file name. 4392 shift 4393 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 4394 fi 4395fi 4396fi 4397fi 4398CC=$ac_cv_prog_CC 4399if test -n "$CC"; then 4400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4401$as_echo "$CC" >&6; } 4402else 4403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4404$as_echo "no" >&6; } 4405fi 4406 4407 4408fi 4409if test -z "$CC"; then 4410 if test -n "$ac_tool_prefix"; then 4411 for ac_prog in cl.exe 4412 do 4413 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4414set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4415{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4416$as_echo_n "checking for $ac_word... " >&6; } 4417if ${ac_cv_prog_CC+:} false; then : 4418 $as_echo_n "(cached) " >&6 4419else 4420 if test -n "$CC"; then 4421 ac_cv_prog_CC="$CC" # Let the user override the test. 4422else 4423as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4424for as_dir in $PATH 4425do 4426 IFS=$as_save_IFS 4427 test -z "$as_dir" && as_dir=. 4428 for ac_exec_ext in '' $ac_executable_extensions; do 4429 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4430 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 4431 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4432 break 2 4433 fi 4434done 4435 done 4436IFS=$as_save_IFS 4437 4438fi 4439fi 4440CC=$ac_cv_prog_CC 4441if test -n "$CC"; then 4442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4443$as_echo "$CC" >&6; } 4444else 4445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4446$as_echo "no" >&6; } 4447fi 4448 4449 4450 test -n "$CC" && break 4451 done 4452fi 4453if test -z "$CC"; then 4454 ac_ct_CC=$CC 4455 for ac_prog in cl.exe 4456do 4457 # Extract the first word of "$ac_prog", so it can be a program name with args. 4458set dummy $ac_prog; ac_word=$2 4459{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4460$as_echo_n "checking for $ac_word... " >&6; } 4461if ${ac_cv_prog_ac_ct_CC+:} false; then : 4462 $as_echo_n "(cached) " >&6 4463else 4464 if test -n "$ac_ct_CC"; then 4465 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 4466else 4467as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4468for as_dir in $PATH 4469do 4470 IFS=$as_save_IFS 4471 test -z "$as_dir" && as_dir=. 4472 for ac_exec_ext in '' $ac_executable_extensions; do 4473 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4474 ac_cv_prog_ac_ct_CC="$ac_prog" 4475 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4476 break 2 4477 fi 4478done 4479 done 4480IFS=$as_save_IFS 4481 4482fi 4483fi 4484ac_ct_CC=$ac_cv_prog_ac_ct_CC 4485if test -n "$ac_ct_CC"; then 4486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 4487$as_echo "$ac_ct_CC" >&6; } 4488else 4489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4490$as_echo "no" >&6; } 4491fi 4492 4493 4494 test -n "$ac_ct_CC" && break 4495done 4496 4497 if test "x$ac_ct_CC" = x; then 4498 CC="" 4499 else 4500 case $cross_compiling:$ac_tool_warned in 4501yes:) 4502{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4503$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4504ac_tool_warned=yes ;; 4505esac 4506 CC=$ac_ct_CC 4507 fi 4508fi 4509 4510fi 4511 4512 4513test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4514$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4515as_fn_error $? "no acceptable C compiler found in \$PATH 4516See \`config.log' for more details" "$LINENO" 5; } 4517 4518# Provide some information about the compiler. 4519$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 4520set X $ac_compile 4521ac_compiler=$2 4522for ac_option in --version -v -V -qversion; do 4523 { { ac_try="$ac_compiler $ac_option >&5" 4524case "(($ac_try" in 4525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4526 *) ac_try_echo=$ac_try;; 4527esac 4528eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4529$as_echo "$ac_try_echo"; } >&5 4530 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 4531 ac_status=$? 4532 if test -s conftest.err; then 4533 sed '10a\ 4534... rest of stderr output deleted ... 4535 10q' conftest.err >conftest.er1 4536 cat conftest.er1 >&5 4537 fi 4538 rm -f conftest.er1 conftest.err 4539 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4540 test $ac_status = 0; } 4541done 4542 4543cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4544/* end confdefs.h. */ 4545 4546int 4547main () 4548{ 4549 4550 ; 4551 return 0; 4552} 4553_ACEOF 4554ac_clean_files_save=$ac_clean_files 4555ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 4556# Try to create an executable without -o first, disregard a.out. 4557# It will help us diagnose broken compilers, and finding out an intuition 4558# of exeext. 4559{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 4560$as_echo_n "checking whether the C compiler works... " >&6; } 4561ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 4562 4563# The possible output files: 4564ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 4565 4566ac_rmfiles= 4567for ac_file in $ac_files 4568do 4569 case $ac_file in 4570 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 4571 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 4572 esac 4573done 4574rm -f $ac_rmfiles 4575 4576if { { ac_try="$ac_link_default" 4577case "(($ac_try" in 4578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4579 *) ac_try_echo=$ac_try;; 4580esac 4581eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4582$as_echo "$ac_try_echo"; } >&5 4583 (eval "$ac_link_default") 2>&5 4584 ac_status=$? 4585 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4586 test $ac_status = 0; }; then : 4587 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 4588# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 4589# in a Makefile. We should not override ac_cv_exeext if it was cached, 4590# so that the user can short-circuit this test for compilers unknown to 4591# Autoconf. 4592for ac_file in $ac_files '' 4593do 4594 test -f "$ac_file" || continue 4595 case $ac_file in 4596 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 4597 ;; 4598 [ab].out ) 4599 # We found the default executable, but exeext='' is most 4600 # certainly right. 4601 break;; 4602 *.* ) 4603 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 4604 then :; else 4605 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 4606 fi 4607 # We set ac_cv_exeext here because the later test for it is not 4608 # safe: cross compilers may not add the suffix if given an `-o' 4609 # argument, so we may need to know it at that point already. 4610 # Even if this section looks crufty: it has the advantage of 4611 # actually working. 4612 break;; 4613 * ) 4614 break;; 4615 esac 4616done 4617test "$ac_cv_exeext" = no && ac_cv_exeext= 4618 4619else 4620 ac_file='' 4621fi 4622if test -z "$ac_file"; then : 4623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4624$as_echo "no" >&6; } 4625$as_echo "$as_me: failed program was:" >&5 4626sed 's/^/| /' conftest.$ac_ext >&5 4627 4628{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4629$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4630as_fn_error 77 "C compiler cannot create executables 4631See \`config.log' for more details" "$LINENO" 5; } 4632else 4633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4634$as_echo "yes" >&6; } 4635fi 4636{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 4637$as_echo_n "checking for C compiler default output file name... " >&6; } 4638{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 4639$as_echo "$ac_file" >&6; } 4640ac_exeext=$ac_cv_exeext 4641 4642rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 4643ac_clean_files=$ac_clean_files_save 4644{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 4645$as_echo_n "checking for suffix of executables... " >&6; } 4646if { { ac_try="$ac_link" 4647case "(($ac_try" in 4648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4649 *) ac_try_echo=$ac_try;; 4650esac 4651eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4652$as_echo "$ac_try_echo"; } >&5 4653 (eval "$ac_link") 2>&5 4654 ac_status=$? 4655 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4656 test $ac_status = 0; }; then : 4657 # If both `conftest.exe' and `conftest' are `present' (well, observable) 4658# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 4659# work properly (i.e., refer to `conftest.exe'), while it won't with 4660# `rm'. 4661for ac_file in conftest.exe conftest conftest.*; do 4662 test -f "$ac_file" || continue 4663 case $ac_file in 4664 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 4665 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 4666 break;; 4667 * ) break;; 4668 esac 4669done 4670else 4671 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4672$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4673as_fn_error $? "cannot compute suffix of executables: cannot compile and link 4674See \`config.log' for more details" "$LINENO" 5; } 4675fi 4676rm -f conftest conftest$ac_cv_exeext 4677{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 4678$as_echo "$ac_cv_exeext" >&6; } 4679 4680rm -f conftest.$ac_ext 4681EXEEXT=$ac_cv_exeext 4682ac_exeext=$EXEEXT 4683cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4684/* end confdefs.h. */ 4685#include <stdio.h> 4686int 4687main () 4688{ 4689FILE *f = fopen ("conftest.out", "w"); 4690 return ferror (f) || fclose (f) != 0; 4691 4692 ; 4693 return 0; 4694} 4695_ACEOF 4696ac_clean_files="$ac_clean_files conftest.out" 4697# Check that the compiler produces executables we can run. If not, either 4698# the compiler is broken, or we cross compile. 4699{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 4700$as_echo_n "checking whether we are cross compiling... " >&6; } 4701if test "$cross_compiling" != yes; then 4702 { { ac_try="$ac_link" 4703case "(($ac_try" in 4704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4705 *) ac_try_echo=$ac_try;; 4706esac 4707eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4708$as_echo "$ac_try_echo"; } >&5 4709 (eval "$ac_link") 2>&5 4710 ac_status=$? 4711 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4712 test $ac_status = 0; } 4713 if { ac_try='./conftest$ac_cv_exeext' 4714 { { case "(($ac_try" in 4715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4716 *) ac_try_echo=$ac_try;; 4717esac 4718eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4719$as_echo "$ac_try_echo"; } >&5 4720 (eval "$ac_try") 2>&5 4721 ac_status=$? 4722 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4723 test $ac_status = 0; }; }; then 4724 cross_compiling=no 4725 else 4726 if test "$cross_compiling" = maybe; then 4727 cross_compiling=yes 4728 else 4729 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4730$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4731as_fn_error $? "cannot run C compiled programs. 4732If you meant to cross compile, use \`--host'. 4733See \`config.log' for more details" "$LINENO" 5; } 4734 fi 4735 fi 4736fi 4737{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 4738$as_echo "$cross_compiling" >&6; } 4739 4740rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 4741ac_clean_files=$ac_clean_files_save 4742{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 4743$as_echo_n "checking for suffix of object files... " >&6; } 4744if ${ac_cv_objext+:} false; then : 4745 $as_echo_n "(cached) " >&6 4746else 4747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4748/* end confdefs.h. */ 4749 4750int 4751main () 4752{ 4753 4754 ; 4755 return 0; 4756} 4757_ACEOF 4758rm -f conftest.o conftest.obj 4759if { { ac_try="$ac_compile" 4760case "(($ac_try" in 4761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4762 *) ac_try_echo=$ac_try;; 4763esac 4764eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4765$as_echo "$ac_try_echo"; } >&5 4766 (eval "$ac_compile") 2>&5 4767 ac_status=$? 4768 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4769 test $ac_status = 0; }; then : 4770 for ac_file in conftest.o conftest.obj conftest.*; do 4771 test -f "$ac_file" || continue; 4772 case $ac_file in 4773 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 4774 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 4775 break;; 4776 esac 4777done 4778else 4779 $as_echo "$as_me: failed program was:" >&5 4780sed 's/^/| /' conftest.$ac_ext >&5 4781 4782{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4783$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4784as_fn_error $? "cannot compute suffix of object files: cannot compile 4785See \`config.log' for more details" "$LINENO" 5; } 4786fi 4787rm -f conftest.$ac_cv_objext conftest.$ac_ext 4788fi 4789{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 4790$as_echo "$ac_cv_objext" >&6; } 4791OBJEXT=$ac_cv_objext 4792ac_objext=$OBJEXT 4793{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 4794$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 4795if ${ac_cv_c_compiler_gnu+:} false; then : 4796 $as_echo_n "(cached) " >&6 4797else 4798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4799/* end confdefs.h. */ 4800 4801int 4802main () 4803{ 4804#ifndef __GNUC__ 4805 choke me 4806#endif 4807 4808 ; 4809 return 0; 4810} 4811_ACEOF 4812if ac_fn_c_try_compile "$LINENO"; then : 4813 ac_compiler_gnu=yes 4814else 4815 ac_compiler_gnu=no 4816fi 4817rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4818ac_cv_c_compiler_gnu=$ac_compiler_gnu 4819 4820fi 4821{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 4822$as_echo "$ac_cv_c_compiler_gnu" >&6; } 4823if test $ac_compiler_gnu = yes; then 4824 GCC=yes 4825else 4826 GCC= 4827fi 4828ac_test_CFLAGS=${CFLAGS+set} 4829ac_save_CFLAGS=$CFLAGS 4830{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 4831$as_echo_n "checking whether $CC accepts -g... " >&6; } 4832if ${ac_cv_prog_cc_g+:} false; then : 4833 $as_echo_n "(cached) " >&6 4834else 4835 ac_save_c_werror_flag=$ac_c_werror_flag 4836 ac_c_werror_flag=yes 4837 ac_cv_prog_cc_g=no 4838 CFLAGS="-g" 4839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4840/* end confdefs.h. */ 4841 4842int 4843main () 4844{ 4845 4846 ; 4847 return 0; 4848} 4849_ACEOF 4850if ac_fn_c_try_compile "$LINENO"; then : 4851 ac_cv_prog_cc_g=yes 4852else 4853 CFLAGS="" 4854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4855/* end confdefs.h. */ 4856 4857int 4858main () 4859{ 4860 4861 ; 4862 return 0; 4863} 4864_ACEOF 4865if ac_fn_c_try_compile "$LINENO"; then : 4866 4867else 4868 ac_c_werror_flag=$ac_save_c_werror_flag 4869 CFLAGS="-g" 4870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4871/* end confdefs.h. */ 4872 4873int 4874main () 4875{ 4876 4877 ; 4878 return 0; 4879} 4880_ACEOF 4881if ac_fn_c_try_compile "$LINENO"; then : 4882 ac_cv_prog_cc_g=yes 4883fi 4884rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4885fi 4886rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4887fi 4888rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4889 ac_c_werror_flag=$ac_save_c_werror_flag 4890fi 4891{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 4892$as_echo "$ac_cv_prog_cc_g" >&6; } 4893if test "$ac_test_CFLAGS" = set; then 4894 CFLAGS=$ac_save_CFLAGS 4895elif test $ac_cv_prog_cc_g = yes; then 4896 if test "$GCC" = yes; then 4897 CFLAGS="-g -O2" 4898 else 4899 CFLAGS="-g" 4900 fi 4901else 4902 if test "$GCC" = yes; then 4903 CFLAGS="-O2" 4904 else 4905 CFLAGS= 4906 fi 4907fi 4908{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 4909$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 4910if ${ac_cv_prog_cc_c89+:} false; then : 4911 $as_echo_n "(cached) " >&6 4912else 4913 ac_cv_prog_cc_c89=no 4914ac_save_CC=$CC 4915cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4916/* end confdefs.h. */ 4917#include <stdarg.h> 4918#include <stdio.h> 4919struct stat; 4920/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 4921struct buf { int x; }; 4922FILE * (*rcsopen) (struct buf *, struct stat *, int); 4923static char *e (p, i) 4924 char **p; 4925 int i; 4926{ 4927 return p[i]; 4928} 4929static char *f (char * (*g) (char **, int), char **p, ...) 4930{ 4931 char *s; 4932 va_list v; 4933 va_start (v,p); 4934 s = g (p, va_arg (v,int)); 4935 va_end (v); 4936 return s; 4937} 4938 4939/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 4940 function prototypes and stuff, but not '\xHH' hex character constants. 4941 These don't provoke an error unfortunately, instead are silently treated 4942 as 'x'. The following induces an error, until -std is added to get 4943 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 4944 array size at least. It's necessary to write '\x00'==0 to get something 4945 that's true only with -std. */ 4946int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 4947 4948/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 4949 inside strings and character constants. */ 4950#define FOO(x) 'x' 4951int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 4952 4953int test (int i, double x); 4954struct s1 {int (*f) (int a);}; 4955struct s2 {int (*f) (double a);}; 4956int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 4957int argc; 4958char **argv; 4959int 4960main () 4961{ 4962return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 4963 ; 4964 return 0; 4965} 4966_ACEOF 4967for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 4968 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 4969do 4970 CC="$ac_save_CC $ac_arg" 4971 if ac_fn_c_try_compile "$LINENO"; then : 4972 ac_cv_prog_cc_c89=$ac_arg 4973fi 4974rm -f core conftest.err conftest.$ac_objext 4975 test "x$ac_cv_prog_cc_c89" != "xno" && break 4976done 4977rm -f conftest.$ac_ext 4978CC=$ac_save_CC 4979 4980fi 4981# AC_CACHE_VAL 4982case "x$ac_cv_prog_cc_c89" in 4983 x) 4984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4985$as_echo "none needed" >&6; } ;; 4986 xno) 4987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4988$as_echo "unsupported" >&6; } ;; 4989 *) 4990 CC="$CC $ac_cv_prog_cc_c89" 4991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 4992$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 4993esac 4994if test "x$ac_cv_prog_cc_c89" != xno; then : 4995 4996fi 4997 4998ac_ext=c 4999ac_cpp='$CPP $CPPFLAGS' 5000ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5001ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5002ac_compiler_gnu=$ac_cv_c_compiler_gnu 5003 5004ac_ext=c 5005ac_cpp='$CPP $CPPFLAGS' 5006ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5007ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5008ac_compiler_gnu=$ac_cv_c_compiler_gnu 5009{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 5010$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 5011if ${am_cv_prog_cc_c_o+:} false; then : 5012 $as_echo_n "(cached) " >&6 5013else 5014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5015/* end confdefs.h. */ 5016 5017int 5018main () 5019{ 5020 5021 ; 5022 return 0; 5023} 5024_ACEOF 5025 # Make sure it works both with $CC and with simple cc. 5026 # Following AC_PROG_CC_C_O, we do the test twice because some 5027 # compilers refuse to overwrite an existing .o file with -o, 5028 # though they will create one. 5029 am_cv_prog_cc_c_o=yes 5030 for am_i in 1 2; do 5031 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 5032 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 5033 ac_status=$? 5034 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5035 (exit $ac_status); } \ 5036 && test -f conftest2.$ac_objext; then 5037 : OK 5038 else 5039 am_cv_prog_cc_c_o=no 5040 break 5041 fi 5042 done 5043 rm -f core conftest* 5044 unset am_i 5045fi 5046{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 5047$as_echo "$am_cv_prog_cc_c_o" >&6; } 5048if test "$am_cv_prog_cc_c_o" != yes; then 5049 # Losing compiler, so override with the script. 5050 # FIXME: It is wrong to rewrite CC. 5051 # But if we don't then we get into trouble of one sort or another. 5052 # A longer-term fix would be to have automake use am__CC in this case, 5053 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 5054 CC="$am_aux_dir/compile $CC" 5055fi 5056ac_ext=c 5057ac_cpp='$CPP $CPPFLAGS' 5058ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5059ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5060ac_compiler_gnu=$ac_cv_c_compiler_gnu 5061 5062DEPDIR="${am__leading_dot}deps" 5063 5064ac_config_commands="$ac_config_commands depfiles" 5065 5066{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5 5067$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; } 5068cat > confinc.mk << 'END' 5069am__doit: 5070 @echo this is the am__doit target >confinc.out 5071.PHONY: am__doit 5072END 5073am__include="#" 5074am__quote= 5075# BSD make does it like this. 5076echo '.include "confinc.mk" # ignored' > confmf.BSD 5077# Other make implementations (GNU, Solaris 10, AIX) do it like this. 5078echo 'include confinc.mk # ignored' > confmf.GNU 5079_am_result=no 5080for s in GNU BSD; do 5081 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5 5082 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5 5083 ac_status=$? 5084 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5085 (exit $ac_status); } 5086 case $?:`cat confinc.out 2>/dev/null` in #( 5087 '0:this is the am__doit target') : 5088 case $s in #( 5089 BSD) : 5090 am__include='.include' am__quote='"' ;; #( 5091 *) : 5092 am__include='include' am__quote='' ;; 5093esac ;; #( 5094 *) : 5095 ;; 5096esac 5097 if test "$am__include" != "#"; then 5098 _am_result="yes ($s style)" 5099 break 5100 fi 5101done 5102rm -f confinc.* confmf.* 5103{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5 5104$as_echo "${_am_result}" >&6; } 5105 5106# Check whether --enable-dependency-tracking was given. 5107if test "${enable_dependency_tracking+set}" = set; then : 5108 enableval=$enable_dependency_tracking; 5109fi 5110 5111if test "x$enable_dependency_tracking" != xno; then 5112 am_depcomp="$ac_aux_dir/depcomp" 5113 AMDEPBACKSLASH='\' 5114 am__nodep='_no' 5115fi 5116 if test "x$enable_dependency_tracking" != xno; then 5117 AMDEP_TRUE= 5118 AMDEP_FALSE='#' 5119else 5120 AMDEP_TRUE='#' 5121 AMDEP_FALSE= 5122fi 5123 5124 5125 5126depcc="$CC" am_compiler_list= 5127 5128{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 5129$as_echo_n "checking dependency style of $depcc... " >&6; } 5130if ${am_cv_CC_dependencies_compiler_type+:} false; then : 5131 $as_echo_n "(cached) " >&6 5132else 5133 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 5134 # We make a subdir and do the tests there. Otherwise we can end up 5135 # making bogus files that we don't know about and never remove. For 5136 # instance it was reported that on HP-UX the gcc test will end up 5137 # making a dummy file named 'D' -- because '-MD' means "put the output 5138 # in D". 5139 rm -rf conftest.dir 5140 mkdir conftest.dir 5141 # Copy depcomp to subdir because otherwise we won't find it if we're 5142 # using a relative directory. 5143 cp "$am_depcomp" conftest.dir 5144 cd conftest.dir 5145 # We will build objects and dependencies in a subdirectory because 5146 # it helps to detect inapplicable dependency modes. For instance 5147 # both Tru64's cc and ICC support -MD to output dependencies as a 5148 # side effect of compilation, but ICC will put the dependencies in 5149 # the current directory while Tru64 will put them in the object 5150 # directory. 5151 mkdir sub 5152 5153 am_cv_CC_dependencies_compiler_type=none 5154 if test "$am_compiler_list" = ""; then 5155 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 5156 fi 5157 am__universal=false 5158 case " $depcc " in #( 5159 *\ -arch\ *\ -arch\ *) am__universal=true ;; 5160 esac 5161 5162 for depmode in $am_compiler_list; do 5163 # Setup a source with many dependencies, because some compilers 5164 # like to wrap large dependency lists on column 80 (with \), and 5165 # we should not choose a depcomp mode which is confused by this. 5166 # 5167 # We need to recreate these files for each test, as the compiler may 5168 # overwrite some of them when testing with obscure command lines. 5169 # This happens at least with the AIX C compiler. 5170 : > sub/conftest.c 5171 for i in 1 2 3 4 5 6; do 5172 echo '#include "conftst'$i'.h"' >> sub/conftest.c 5173 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 5174 # Solaris 10 /bin/sh. 5175 echo '/* dummy */' > sub/conftst$i.h 5176 done 5177 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 5178 5179 # We check with '-c' and '-o' for the sake of the "dashmstdout" 5180 # mode. It turns out that the SunPro C++ compiler does not properly 5181 # handle '-M -o', and we need to detect this. Also, some Intel 5182 # versions had trouble with output in subdirs. 5183 am__obj=sub/conftest.${OBJEXT-o} 5184 am__minus_obj="-o $am__obj" 5185 case $depmode in 5186 gcc) 5187 # This depmode causes a compiler race in universal mode. 5188 test "$am__universal" = false || continue 5189 ;; 5190 nosideeffect) 5191 # After this tag, mechanisms are not by side-effect, so they'll 5192 # only be used when explicitly requested. 5193 if test "x$enable_dependency_tracking" = xyes; then 5194 continue 5195 else 5196 break 5197 fi 5198 ;; 5199 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 5200 # This compiler won't grok '-c -o', but also, the minuso test has 5201 # not run yet. These depmodes are late enough in the game, and 5202 # so weak that their functioning should not be impacted. 5203 am__obj=conftest.${OBJEXT-o} 5204 am__minus_obj= 5205 ;; 5206 none) break ;; 5207 esac 5208 if depmode=$depmode \ 5209 source=sub/conftest.c object=$am__obj \ 5210 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 5211 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 5212 >/dev/null 2>conftest.err && 5213 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 5214 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 5215 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 5216 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 5217 # icc doesn't choke on unknown options, it will just issue warnings 5218 # or remarks (even with -Werror). So we grep stderr for any message 5219 # that says an option was ignored or not supported. 5220 # When given -MP, icc 7.0 and 7.1 complain thusly: 5221 # icc: Command line warning: ignoring option '-M'; no argument required 5222 # The diagnosis changed in icc 8.0: 5223 # icc: Command line remark: option '-MP' not supported 5224 if (grep 'ignoring option' conftest.err || 5225 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 5226 am_cv_CC_dependencies_compiler_type=$depmode 5227 break 5228 fi 5229 fi 5230 done 5231 5232 cd .. 5233 rm -rf conftest.dir 5234else 5235 am_cv_CC_dependencies_compiler_type=none 5236fi 5237 5238fi 5239{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 5240$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 5241CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 5242 5243 if 5244 test "x$enable_dependency_tracking" != xno \ 5245 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 5246 am__fastdepCC_TRUE= 5247 am__fastdepCC_FALSE='#' 5248else 5249 am__fastdepCC_TRUE='#' 5250 am__fastdepCC_FALSE= 5251fi 5252 5253 5254 5255ac_ext=c 5256ac_cpp='$CPP $CPPFLAGS' 5257ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5258ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5259ac_compiler_gnu=$ac_cv_c_compiler_gnu 5260{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 5261$as_echo_n "checking how to run the C preprocessor... " >&6; } 5262# On Suns, sometimes $CPP names a directory. 5263if test -n "$CPP" && test -d "$CPP"; then 5264 CPP= 5265fi 5266if test -z "$CPP"; then 5267 if ${ac_cv_prog_CPP+:} false; then : 5268 $as_echo_n "(cached) " >&6 5269else 5270 # Double quotes because CPP needs to be expanded 5271 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 5272 do 5273 ac_preproc_ok=false 5274for ac_c_preproc_warn_flag in '' yes 5275do 5276 # Use a header file that comes with gcc, so configuring glibc 5277 # with a fresh cross-compiler works. 5278 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 5279 # <limits.h> exists even on freestanding compilers. 5280 # On the NeXT, cc -E runs the code through the compiler's parser, 5281 # not just through cpp. "Syntax error" is here to catch this case. 5282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5283/* end confdefs.h. */ 5284#ifdef __STDC__ 5285# include <limits.h> 5286#else 5287# include <assert.h> 5288#endif 5289 Syntax error 5290_ACEOF 5291if ac_fn_c_try_cpp "$LINENO"; then : 5292 5293else 5294 # Broken: fails on valid input. 5295continue 5296fi 5297rm -f conftest.err conftest.i conftest.$ac_ext 5298 5299 # OK, works on sane cases. Now check whether nonexistent headers 5300 # can be detected and how. 5301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5302/* end confdefs.h. */ 5303#include <ac_nonexistent.h> 5304_ACEOF 5305if ac_fn_c_try_cpp "$LINENO"; then : 5306 # Broken: success on invalid input. 5307continue 5308else 5309 # Passes both tests. 5310ac_preproc_ok=: 5311break 5312fi 5313rm -f conftest.err conftest.i conftest.$ac_ext 5314 5315done 5316# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 5317rm -f conftest.i conftest.err conftest.$ac_ext 5318if $ac_preproc_ok; then : 5319 break 5320fi 5321 5322 done 5323 ac_cv_prog_CPP=$CPP 5324 5325fi 5326 CPP=$ac_cv_prog_CPP 5327else 5328 ac_cv_prog_CPP=$CPP 5329fi 5330{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 5331$as_echo "$CPP" >&6; } 5332ac_preproc_ok=false 5333for ac_c_preproc_warn_flag in '' yes 5334do 5335 # Use a header file that comes with gcc, so configuring glibc 5336 # with a fresh cross-compiler works. 5337 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 5338 # <limits.h> exists even on freestanding compilers. 5339 # On the NeXT, cc -E runs the code through the compiler's parser, 5340 # not just through cpp. "Syntax error" is here to catch this case. 5341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5342/* end confdefs.h. */ 5343#ifdef __STDC__ 5344# include <limits.h> 5345#else 5346# include <assert.h> 5347#endif 5348 Syntax error 5349_ACEOF 5350if ac_fn_c_try_cpp "$LINENO"; then : 5351 5352else 5353 # Broken: fails on valid input. 5354continue 5355fi 5356rm -f conftest.err conftest.i conftest.$ac_ext 5357 5358 # OK, works on sane cases. Now check whether nonexistent headers 5359 # can be detected and how. 5360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5361/* end confdefs.h. */ 5362#include <ac_nonexistent.h> 5363_ACEOF 5364if ac_fn_c_try_cpp "$LINENO"; then : 5365 # Broken: success on invalid input. 5366continue 5367else 5368 # Passes both tests. 5369ac_preproc_ok=: 5370break 5371fi 5372rm -f conftest.err conftest.i conftest.$ac_ext 5373 5374done 5375# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 5376rm -f conftest.i conftest.err conftest.$ac_ext 5377if $ac_preproc_ok; then : 5378 5379else 5380 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5381$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5382as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 5383See \`config.log' for more details" "$LINENO" 5; } 5384fi 5385 5386ac_ext=c 5387ac_cpp='$CPP $CPPFLAGS' 5388ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5389ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5390ac_compiler_gnu=$ac_cv_c_compiler_gnu 5391 5392 5393{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 5394$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 5395if ${ac_cv_path_GREP+:} false; then : 5396 $as_echo_n "(cached) " >&6 5397else 5398 if test -z "$GREP"; then 5399 ac_path_GREP_found=false 5400 # Loop through the user's path and test for each of PROGNAME-LIST 5401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5402for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5403do 5404 IFS=$as_save_IFS 5405 test -z "$as_dir" && as_dir=. 5406 for ac_prog in grep ggrep; do 5407 for ac_exec_ext in '' $ac_executable_extensions; do 5408 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 5409 as_fn_executable_p "$ac_path_GREP" || continue 5410# Check for GNU ac_path_GREP and select it if it is found. 5411 # Check for GNU $ac_path_GREP 5412case `"$ac_path_GREP" --version 2>&1` in 5413*GNU*) 5414 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 5415*) 5416 ac_count=0 5417 $as_echo_n 0123456789 >"conftest.in" 5418 while : 5419 do 5420 cat "conftest.in" "conftest.in" >"conftest.tmp" 5421 mv "conftest.tmp" "conftest.in" 5422 cp "conftest.in" "conftest.nl" 5423 $as_echo 'GREP' >> "conftest.nl" 5424 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 5425 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5426 as_fn_arith $ac_count + 1 && ac_count=$as_val 5427 if test $ac_count -gt ${ac_path_GREP_max-0}; then 5428 # Best one so far, save it but keep looking for a better one 5429 ac_cv_path_GREP="$ac_path_GREP" 5430 ac_path_GREP_max=$ac_count 5431 fi 5432 # 10*(2^10) chars as input seems more than enough 5433 test $ac_count -gt 10 && break 5434 done 5435 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5436esac 5437 5438 $ac_path_GREP_found && break 3 5439 done 5440 done 5441 done 5442IFS=$as_save_IFS 5443 if test -z "$ac_cv_path_GREP"; then 5444 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5445 fi 5446else 5447 ac_cv_path_GREP=$GREP 5448fi 5449 5450fi 5451{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 5452$as_echo "$ac_cv_path_GREP" >&6; } 5453 GREP="$ac_cv_path_GREP" 5454 5455 5456{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 5457$as_echo_n "checking for egrep... " >&6; } 5458if ${ac_cv_path_EGREP+:} false; then : 5459 $as_echo_n "(cached) " >&6 5460else 5461 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 5462 then ac_cv_path_EGREP="$GREP -E" 5463 else 5464 if test -z "$EGREP"; then 5465 ac_path_EGREP_found=false 5466 # Loop through the user's path and test for each of PROGNAME-LIST 5467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5468for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5469do 5470 IFS=$as_save_IFS 5471 test -z "$as_dir" && as_dir=. 5472 for ac_prog in egrep; do 5473 for ac_exec_ext in '' $ac_executable_extensions; do 5474 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 5475 as_fn_executable_p "$ac_path_EGREP" || continue 5476# Check for GNU ac_path_EGREP and select it if it is found. 5477 # Check for GNU $ac_path_EGREP 5478case `"$ac_path_EGREP" --version 2>&1` in 5479*GNU*) 5480 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 5481*) 5482 ac_count=0 5483 $as_echo_n 0123456789 >"conftest.in" 5484 while : 5485 do 5486 cat "conftest.in" "conftest.in" >"conftest.tmp" 5487 mv "conftest.tmp" "conftest.in" 5488 cp "conftest.in" "conftest.nl" 5489 $as_echo 'EGREP' >> "conftest.nl" 5490 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 5491 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5492 as_fn_arith $ac_count + 1 && ac_count=$as_val 5493 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 5494 # Best one so far, save it but keep looking for a better one 5495 ac_cv_path_EGREP="$ac_path_EGREP" 5496 ac_path_EGREP_max=$ac_count 5497 fi 5498 # 10*(2^10) chars as input seems more than enough 5499 test $ac_count -gt 10 && break 5500 done 5501 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5502esac 5503 5504 $ac_path_EGREP_found && break 3 5505 done 5506 done 5507 done 5508IFS=$as_save_IFS 5509 if test -z "$ac_cv_path_EGREP"; then 5510 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5511 fi 5512else 5513 ac_cv_path_EGREP=$EGREP 5514fi 5515 5516 fi 5517fi 5518{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 5519$as_echo "$ac_cv_path_EGREP" >&6; } 5520 EGREP="$ac_cv_path_EGREP" 5521 5522 5523if test $ac_cv_c_compiler_gnu = yes; then 5524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5 5525$as_echo_n "checking whether $CC needs -traditional... " >&6; } 5526if ${ac_cv_prog_gcc_traditional+:} false; then : 5527 $as_echo_n "(cached) " >&6 5528else 5529 ac_pattern="Autoconf.*'x'" 5530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5531/* end confdefs.h. */ 5532#include <sgtty.h> 5533Autoconf TIOCGETP 5534_ACEOF 5535if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5536 $EGREP "$ac_pattern" >/dev/null 2>&1; then : 5537 ac_cv_prog_gcc_traditional=yes 5538else 5539 ac_cv_prog_gcc_traditional=no 5540fi 5541rm -f conftest* 5542 5543 5544 if test $ac_cv_prog_gcc_traditional = no; then 5545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5546/* end confdefs.h. */ 5547#include <termio.h> 5548Autoconf TCGETA 5549_ACEOF 5550if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5551 $EGREP "$ac_pattern" >/dev/null 2>&1; then : 5552 ac_cv_prog_gcc_traditional=yes 5553fi 5554rm -f conftest* 5555 5556 fi 5557fi 5558{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5 5559$as_echo "$ac_cv_prog_gcc_traditional" >&6; } 5560 if test $ac_cv_prog_gcc_traditional = yes; then 5561 CC="$CC -traditional" 5562 fi 5563fi 5564 5565ac_ext=cpp 5566ac_cpp='$CXXCPP $CPPFLAGS' 5567ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5568ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5569ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 5570if test -z "$CXX"; then 5571 if test -n "$CCC"; then 5572 CXX=$CCC 5573 else 5574 if test -n "$ac_tool_prefix"; then 5575 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 5576 do 5577 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5578set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5579{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5580$as_echo_n "checking for $ac_word... " >&6; } 5581if ${ac_cv_prog_CXX+:} false; then : 5582 $as_echo_n "(cached) " >&6 5583else 5584 if test -n "$CXX"; then 5585 ac_cv_prog_CXX="$CXX" # Let the user override the test. 5586else 5587as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5588for as_dir in $PATH 5589do 5590 IFS=$as_save_IFS 5591 test -z "$as_dir" && as_dir=. 5592 for ac_exec_ext in '' $ac_executable_extensions; do 5593 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5594 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 5595 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5596 break 2 5597 fi 5598done 5599 done 5600IFS=$as_save_IFS 5601 5602fi 5603fi 5604CXX=$ac_cv_prog_CXX 5605if test -n "$CXX"; then 5606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 5607$as_echo "$CXX" >&6; } 5608else 5609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5610$as_echo "no" >&6; } 5611fi 5612 5613 5614 test -n "$CXX" && break 5615 done 5616fi 5617if test -z "$CXX"; then 5618 ac_ct_CXX=$CXX 5619 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 5620do 5621 # Extract the first word of "$ac_prog", so it can be a program name with args. 5622set dummy $ac_prog; ac_word=$2 5623{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5624$as_echo_n "checking for $ac_word... " >&6; } 5625if ${ac_cv_prog_ac_ct_CXX+:} false; then : 5626 $as_echo_n "(cached) " >&6 5627else 5628 if test -n "$ac_ct_CXX"; then 5629 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 5630else 5631as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5632for as_dir in $PATH 5633do 5634 IFS=$as_save_IFS 5635 test -z "$as_dir" && as_dir=. 5636 for ac_exec_ext in '' $ac_executable_extensions; do 5637 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5638 ac_cv_prog_ac_ct_CXX="$ac_prog" 5639 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5640 break 2 5641 fi 5642done 5643 done 5644IFS=$as_save_IFS 5645 5646fi 5647fi 5648ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 5649if test -n "$ac_ct_CXX"; then 5650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 5651$as_echo "$ac_ct_CXX" >&6; } 5652else 5653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5654$as_echo "no" >&6; } 5655fi 5656 5657 5658 test -n "$ac_ct_CXX" && break 5659done 5660 5661 if test "x$ac_ct_CXX" = x; then 5662 CXX="g++" 5663 else 5664 case $cross_compiling:$ac_tool_warned in 5665yes:) 5666{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5667$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5668ac_tool_warned=yes ;; 5669esac 5670 CXX=$ac_ct_CXX 5671 fi 5672fi 5673 5674 fi 5675fi 5676# Provide some information about the compiler. 5677$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 5678set X $ac_compile 5679ac_compiler=$2 5680for ac_option in --version -v -V -qversion; do 5681 { { ac_try="$ac_compiler $ac_option >&5" 5682case "(($ac_try" in 5683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5684 *) ac_try_echo=$ac_try;; 5685esac 5686eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 5687$as_echo "$ac_try_echo"; } >&5 5688 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 5689 ac_status=$? 5690 if test -s conftest.err; then 5691 sed '10a\ 5692... rest of stderr output deleted ... 5693 10q' conftest.err >conftest.er1 5694 cat conftest.er1 >&5 5695 fi 5696 rm -f conftest.er1 conftest.err 5697 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5698 test $ac_status = 0; } 5699done 5700 5701{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 5702$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 5703if ${ac_cv_cxx_compiler_gnu+:} false; then : 5704 $as_echo_n "(cached) " >&6 5705else 5706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5707/* end confdefs.h. */ 5708 5709int 5710main () 5711{ 5712#ifndef __GNUC__ 5713 choke me 5714#endif 5715 5716 ; 5717 return 0; 5718} 5719_ACEOF 5720if ac_fn_cxx_try_compile "$LINENO"; then : 5721 ac_compiler_gnu=yes 5722else 5723 ac_compiler_gnu=no 5724fi 5725rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5726ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 5727 5728fi 5729{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 5730$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 5731if test $ac_compiler_gnu = yes; then 5732 GXX=yes 5733else 5734 GXX= 5735fi 5736ac_test_CXXFLAGS=${CXXFLAGS+set} 5737ac_save_CXXFLAGS=$CXXFLAGS 5738{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 5739$as_echo_n "checking whether $CXX accepts -g... " >&6; } 5740if ${ac_cv_prog_cxx_g+:} false; then : 5741 $as_echo_n "(cached) " >&6 5742else 5743 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 5744 ac_cxx_werror_flag=yes 5745 ac_cv_prog_cxx_g=no 5746 CXXFLAGS="-g" 5747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5748/* end confdefs.h. */ 5749 5750int 5751main () 5752{ 5753 5754 ; 5755 return 0; 5756} 5757_ACEOF 5758if ac_fn_cxx_try_compile "$LINENO"; then : 5759 ac_cv_prog_cxx_g=yes 5760else 5761 CXXFLAGS="" 5762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5763/* end confdefs.h. */ 5764 5765int 5766main () 5767{ 5768 5769 ; 5770 return 0; 5771} 5772_ACEOF 5773if ac_fn_cxx_try_compile "$LINENO"; then : 5774 5775else 5776 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 5777 CXXFLAGS="-g" 5778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5779/* end confdefs.h. */ 5780 5781int 5782main () 5783{ 5784 5785 ; 5786 return 0; 5787} 5788_ACEOF 5789if ac_fn_cxx_try_compile "$LINENO"; then : 5790 ac_cv_prog_cxx_g=yes 5791fi 5792rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5793fi 5794rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5795fi 5796rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5797 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 5798fi 5799{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 5800$as_echo "$ac_cv_prog_cxx_g" >&6; } 5801if test "$ac_test_CXXFLAGS" = set; then 5802 CXXFLAGS=$ac_save_CXXFLAGS 5803elif test $ac_cv_prog_cxx_g = yes; then 5804 if test "$GXX" = yes; then 5805 CXXFLAGS="-g -O2" 5806 else 5807 CXXFLAGS="-g" 5808 fi 5809else 5810 if test "$GXX" = yes; then 5811 CXXFLAGS="-O2" 5812 else 5813 CXXFLAGS= 5814 fi 5815fi 5816ac_ext=c 5817ac_cpp='$CPP $CPPFLAGS' 5818ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5819ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5820ac_compiler_gnu=$ac_cv_c_compiler_gnu 5821 5822depcc="$CXX" am_compiler_list= 5823 5824{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 5825$as_echo_n "checking dependency style of $depcc... " >&6; } 5826if ${am_cv_CXX_dependencies_compiler_type+:} false; then : 5827 $as_echo_n "(cached) " >&6 5828else 5829 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 5830 # We make a subdir and do the tests there. Otherwise we can end up 5831 # making bogus files that we don't know about and never remove. For 5832 # instance it was reported that on HP-UX the gcc test will end up 5833 # making a dummy file named 'D' -- because '-MD' means "put the output 5834 # in D". 5835 rm -rf conftest.dir 5836 mkdir conftest.dir 5837 # Copy depcomp to subdir because otherwise we won't find it if we're 5838 # using a relative directory. 5839 cp "$am_depcomp" conftest.dir 5840 cd conftest.dir 5841 # We will build objects and dependencies in a subdirectory because 5842 # it helps to detect inapplicable dependency modes. For instance 5843 # both Tru64's cc and ICC support -MD to output dependencies as a 5844 # side effect of compilation, but ICC will put the dependencies in 5845 # the current directory while Tru64 will put them in the object 5846 # directory. 5847 mkdir sub 5848 5849 am_cv_CXX_dependencies_compiler_type=none 5850 if test "$am_compiler_list" = ""; then 5851 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 5852 fi 5853 am__universal=false 5854 case " $depcc " in #( 5855 *\ -arch\ *\ -arch\ *) am__universal=true ;; 5856 esac 5857 5858 for depmode in $am_compiler_list; do 5859 # Setup a source with many dependencies, because some compilers 5860 # like to wrap large dependency lists on column 80 (with \), and 5861 # we should not choose a depcomp mode which is confused by this. 5862 # 5863 # We need to recreate these files for each test, as the compiler may 5864 # overwrite some of them when testing with obscure command lines. 5865 # This happens at least with the AIX C compiler. 5866 : > sub/conftest.c 5867 for i in 1 2 3 4 5 6; do 5868 echo '#include "conftst'$i'.h"' >> sub/conftest.c 5869 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 5870 # Solaris 10 /bin/sh. 5871 echo '/* dummy */' > sub/conftst$i.h 5872 done 5873 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 5874 5875 # We check with '-c' and '-o' for the sake of the "dashmstdout" 5876 # mode. It turns out that the SunPro C++ compiler does not properly 5877 # handle '-M -o', and we need to detect this. Also, some Intel 5878 # versions had trouble with output in subdirs. 5879 am__obj=sub/conftest.${OBJEXT-o} 5880 am__minus_obj="-o $am__obj" 5881 case $depmode in 5882 gcc) 5883 # This depmode causes a compiler race in universal mode. 5884 test "$am__universal" = false || continue 5885 ;; 5886 nosideeffect) 5887 # After this tag, mechanisms are not by side-effect, so they'll 5888 # only be used when explicitly requested. 5889 if test "x$enable_dependency_tracking" = xyes; then 5890 continue 5891 else 5892 break 5893 fi 5894 ;; 5895 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 5896 # This compiler won't grok '-c -o', but also, the minuso test has 5897 # not run yet. These depmodes are late enough in the game, and 5898 # so weak that their functioning should not be impacted. 5899 am__obj=conftest.${OBJEXT-o} 5900 am__minus_obj= 5901 ;; 5902 none) break ;; 5903 esac 5904 if depmode=$depmode \ 5905 source=sub/conftest.c object=$am__obj \ 5906 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 5907 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 5908 >/dev/null 2>conftest.err && 5909 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 5910 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 5911 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 5912 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 5913 # icc doesn't choke on unknown options, it will just issue warnings 5914 # or remarks (even with -Werror). So we grep stderr for any message 5915 # that says an option was ignored or not supported. 5916 # When given -MP, icc 7.0 and 7.1 complain thusly: 5917 # icc: Command line warning: ignoring option '-M'; no argument required 5918 # The diagnosis changed in icc 8.0: 5919 # icc: Command line remark: option '-MP' not supported 5920 if (grep 'ignoring option' conftest.err || 5921 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 5922 am_cv_CXX_dependencies_compiler_type=$depmode 5923 break 5924 fi 5925 fi 5926 done 5927 5928 cd .. 5929 rm -rf conftest.dir 5930else 5931 am_cv_CXX_dependencies_compiler_type=none 5932fi 5933 5934fi 5935{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 5936$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } 5937CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type 5938 5939 if 5940 test "x$enable_dependency_tracking" != xno \ 5941 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then 5942 am__fastdepCXX_TRUE= 5943 am__fastdepCXX_FALSE='#' 5944else 5945 am__fastdepCXX_TRUE='#' 5946 am__fastdepCXX_FALSE= 5947fi 5948 5949 5950{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 5951$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 5952set x ${MAKE-make} 5953ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 5954if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 5955 $as_echo_n "(cached) " >&6 5956else 5957 cat >conftest.make <<\_ACEOF 5958SHELL = /bin/sh 5959all: 5960 @echo '@@@%%%=$(MAKE)=@@@%%%' 5961_ACEOF 5962# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 5963case `${MAKE-make} -f conftest.make 2>/dev/null` in 5964 *@@@%%%=?*=@@@%%%*) 5965 eval ac_cv_prog_make_${ac_make}_set=yes;; 5966 *) 5967 eval ac_cv_prog_make_${ac_make}_set=no;; 5968esac 5969rm -f conftest.make 5970fi 5971if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 5972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5973$as_echo "yes" >&6; } 5974 SET_MAKE= 5975else 5976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5977$as_echo "no" >&6; } 5978 SET_MAKE="MAKE=${MAKE-make}" 5979fi 5980 5981 5982 5983case `pwd` in 5984 *\ * | *\ *) 5985 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 5986$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 5987esac 5988 5989 5990 5991macro_version='2.4.6' 5992macro_revision='2.4.6' 5993 5994 5995 5996 5997 5998 5999 6000 6001 6002 6003 6004 6005 6006ltmain=$ac_aux_dir/ltmain.sh 6007 6008# Backslashify metacharacters that are still active within 6009# double-quoted strings. 6010sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 6011 6012# Same as above, but do not quote variable references. 6013double_quote_subst='s/\(["`\\]\)/\\\1/g' 6014 6015# Sed substitution to delay expansion of an escaped shell variable in a 6016# double_quote_subst'ed string. 6017delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 6018 6019# Sed substitution to delay expansion of an escaped single quote. 6020delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 6021 6022# Sed substitution to avoid accidental globbing in evaled expressions 6023no_glob_subst='s/\*/\\\*/g' 6024 6025ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 6026ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 6027ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 6028 6029{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 6030$as_echo_n "checking how to print strings... " >&6; } 6031# Test print first, because it will be a builtin if present. 6032if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 6033 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 6034 ECHO='print -r --' 6035elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 6036 ECHO='printf %s\n' 6037else 6038 # Use this function as a fallback that always works. 6039 func_fallback_echo () 6040 { 6041 eval 'cat <<_LTECHO_EOF 6042$1 6043_LTECHO_EOF' 6044 } 6045 ECHO='func_fallback_echo' 6046fi 6047 6048# func_echo_all arg... 6049# Invoke $ECHO with all args, space-separated. 6050func_echo_all () 6051{ 6052 $ECHO "" 6053} 6054 6055case $ECHO in 6056 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 6057$as_echo "printf" >&6; } ;; 6058 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 6059$as_echo "print -r" >&6; } ;; 6060 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 6061$as_echo "cat" >&6; } ;; 6062esac 6063 6064 6065 6066 6067 6068 6069 6070 6071 6072 6073 6074 6075 6076 6077{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 6078$as_echo_n "checking for a sed that does not truncate output... " >&6; } 6079if ${ac_cv_path_SED+:} false; then : 6080 $as_echo_n "(cached) " >&6 6081else 6082 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 6083 for ac_i in 1 2 3 4 5 6 7; do 6084 ac_script="$ac_script$as_nl$ac_script" 6085 done 6086 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 6087 { ac_script=; unset ac_script;} 6088 if test -z "$SED"; then 6089 ac_path_SED_found=false 6090 # Loop through the user's path and test for each of PROGNAME-LIST 6091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6092for as_dir in $PATH 6093do 6094 IFS=$as_save_IFS 6095 test -z "$as_dir" && as_dir=. 6096 for ac_prog in sed gsed; do 6097 for ac_exec_ext in '' $ac_executable_extensions; do 6098 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 6099 as_fn_executable_p "$ac_path_SED" || continue 6100# Check for GNU ac_path_SED and select it if it is found. 6101 # Check for GNU $ac_path_SED 6102case `"$ac_path_SED" --version 2>&1` in 6103*GNU*) 6104 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 6105*) 6106 ac_count=0 6107 $as_echo_n 0123456789 >"conftest.in" 6108 while : 6109 do 6110 cat "conftest.in" "conftest.in" >"conftest.tmp" 6111 mv "conftest.tmp" "conftest.in" 6112 cp "conftest.in" "conftest.nl" 6113 $as_echo '' >> "conftest.nl" 6114 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 6115 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 6116 as_fn_arith $ac_count + 1 && ac_count=$as_val 6117 if test $ac_count -gt ${ac_path_SED_max-0}; then 6118 # Best one so far, save it but keep looking for a better one 6119 ac_cv_path_SED="$ac_path_SED" 6120 ac_path_SED_max=$ac_count 6121 fi 6122 # 10*(2^10) chars as input seems more than enough 6123 test $ac_count -gt 10 && break 6124 done 6125 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 6126esac 6127 6128 $ac_path_SED_found && break 3 6129 done 6130 done 6131 done 6132IFS=$as_save_IFS 6133 if test -z "$ac_cv_path_SED"; then 6134 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 6135 fi 6136else 6137 ac_cv_path_SED=$SED 6138fi 6139 6140fi 6141{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 6142$as_echo "$ac_cv_path_SED" >&6; } 6143 SED="$ac_cv_path_SED" 6144 rm -f conftest.sed 6145 6146test -z "$SED" && SED=sed 6147Xsed="$SED -e 1s/^X//" 6148 6149 6150 6151 6152 6153 6154 6155 6156 6157 6158 6159{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 6160$as_echo_n "checking for fgrep... " >&6; } 6161if ${ac_cv_path_FGREP+:} false; then : 6162 $as_echo_n "(cached) " >&6 6163else 6164 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 6165 then ac_cv_path_FGREP="$GREP -F" 6166 else 6167 if test -z "$FGREP"; then 6168 ac_path_FGREP_found=false 6169 # Loop through the user's path and test for each of PROGNAME-LIST 6170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6171for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 6172do 6173 IFS=$as_save_IFS 6174 test -z "$as_dir" && as_dir=. 6175 for ac_prog in fgrep; do 6176 for ac_exec_ext in '' $ac_executable_extensions; do 6177 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 6178 as_fn_executable_p "$ac_path_FGREP" || continue 6179# Check for GNU ac_path_FGREP and select it if it is found. 6180 # Check for GNU $ac_path_FGREP 6181case `"$ac_path_FGREP" --version 2>&1` in 6182*GNU*) 6183 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 6184*) 6185 ac_count=0 6186 $as_echo_n 0123456789 >"conftest.in" 6187 while : 6188 do 6189 cat "conftest.in" "conftest.in" >"conftest.tmp" 6190 mv "conftest.tmp" "conftest.in" 6191 cp "conftest.in" "conftest.nl" 6192 $as_echo 'FGREP' >> "conftest.nl" 6193 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 6194 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 6195 as_fn_arith $ac_count + 1 && ac_count=$as_val 6196 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 6197 # Best one so far, save it but keep looking for a better one 6198 ac_cv_path_FGREP="$ac_path_FGREP" 6199 ac_path_FGREP_max=$ac_count 6200 fi 6201 # 10*(2^10) chars as input seems more than enough 6202 test $ac_count -gt 10 && break 6203 done 6204 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 6205esac 6206 6207 $ac_path_FGREP_found && break 3 6208 done 6209 done 6210 done 6211IFS=$as_save_IFS 6212 if test -z "$ac_cv_path_FGREP"; then 6213 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 6214 fi 6215else 6216 ac_cv_path_FGREP=$FGREP 6217fi 6218 6219 fi 6220fi 6221{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 6222$as_echo "$ac_cv_path_FGREP" >&6; } 6223 FGREP="$ac_cv_path_FGREP" 6224 6225 6226test -z "$GREP" && GREP=grep 6227 6228 6229 6230 6231 6232 6233 6234 6235 6236 6237 6238 6239 6240 6241 6242 6243 6244 6245 6246# Check whether --with-gnu-ld was given. 6247if test "${with_gnu_ld+set}" = set; then : 6248 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes 6249else 6250 with_gnu_ld=no 6251fi 6252 6253ac_prog=ld 6254if test yes = "$GCC"; then 6255 # Check if gcc -print-prog-name=ld gives a path. 6256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 6257$as_echo_n "checking for ld used by $CC... " >&6; } 6258 case $host in 6259 *-*-mingw*) 6260 # gcc leaves a trailing carriage return, which upsets mingw 6261 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 6262 *) 6263 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 6264 esac 6265 case $ac_prog in 6266 # Accept absolute paths. 6267 [\\/]* | ?:[\\/]*) 6268 re_direlt='/[^/][^/]*/\.\./' 6269 # Canonicalize the pathname of ld 6270 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 6271 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 6272 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 6273 done 6274 test -z "$LD" && LD=$ac_prog 6275 ;; 6276 "") 6277 # If it fails, then pretend we aren't using GCC. 6278 ac_prog=ld 6279 ;; 6280 *) 6281 # If it is relative, then search for the first ld in PATH. 6282 with_gnu_ld=unknown 6283 ;; 6284 esac 6285elif test yes = "$with_gnu_ld"; then 6286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 6287$as_echo_n "checking for GNU ld... " >&6; } 6288else 6289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 6290$as_echo_n "checking for non-GNU ld... " >&6; } 6291fi 6292if ${lt_cv_path_LD+:} false; then : 6293 $as_echo_n "(cached) " >&6 6294else 6295 if test -z "$LD"; then 6296 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 6297 for ac_dir in $PATH; do 6298 IFS=$lt_save_ifs 6299 test -z "$ac_dir" && ac_dir=. 6300 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 6301 lt_cv_path_LD=$ac_dir/$ac_prog 6302 # Check to see if the program is GNU ld. I'd rather use --version, 6303 # but apparently some variants of GNU ld only accept -v. 6304 # Break only if it was the GNU/non-GNU ld that we prefer. 6305 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 6306 *GNU* | *'with BFD'*) 6307 test no != "$with_gnu_ld" && break 6308 ;; 6309 *) 6310 test yes != "$with_gnu_ld" && break 6311 ;; 6312 esac 6313 fi 6314 done 6315 IFS=$lt_save_ifs 6316else 6317 lt_cv_path_LD=$LD # Let the user override the test with a path. 6318fi 6319fi 6320 6321LD=$lt_cv_path_LD 6322if test -n "$LD"; then 6323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 6324$as_echo "$LD" >&6; } 6325else 6326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6327$as_echo "no" >&6; } 6328fi 6329test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 6330{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 6331$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 6332if ${lt_cv_prog_gnu_ld+:} false; then : 6333 $as_echo_n "(cached) " >&6 6334else 6335 # I'd rather use --version here, but apparently some GNU lds only accept -v. 6336case `$LD -v 2>&1 </dev/null` in 6337*GNU* | *'with BFD'*) 6338 lt_cv_prog_gnu_ld=yes 6339 ;; 6340*) 6341 lt_cv_prog_gnu_ld=no 6342 ;; 6343esac 6344fi 6345{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 6346$as_echo "$lt_cv_prog_gnu_ld" >&6; } 6347with_gnu_ld=$lt_cv_prog_gnu_ld 6348 6349 6350 6351 6352 6353 6354 6355 6356 6357{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 6358$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 6359if ${lt_cv_path_NM+:} false; then : 6360 $as_echo_n "(cached) " >&6 6361else 6362 if test -n "$NM"; then 6363 # Let the user override the test. 6364 lt_cv_path_NM=$NM 6365else 6366 lt_nm_to_check=${ac_tool_prefix}nm 6367 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 6368 lt_nm_to_check="$lt_nm_to_check nm" 6369 fi 6370 for lt_tmp_nm in $lt_nm_to_check; do 6371 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 6372 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 6373 IFS=$lt_save_ifs 6374 test -z "$ac_dir" && ac_dir=. 6375 tmp_nm=$ac_dir/$lt_tmp_nm 6376 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then 6377 # Check to see if the nm accepts a BSD-compat flag. 6378 # Adding the 'sed 1q' prevents false positives on HP-UX, which says: 6379 # nm: unknown option "B" ignored 6380 # Tru64's nm complains that /dev/null is an invalid object file 6381 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty 6382 case $build_os in 6383 mingw*) lt_bad_file=conftest.nm/nofile ;; 6384 *) lt_bad_file=/dev/null ;; 6385 esac 6386 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in 6387 *$lt_bad_file* | *'Invalid file or object type'*) 6388 lt_cv_path_NM="$tmp_nm -B" 6389 break 2 6390 ;; 6391 *) 6392 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 6393 */dev/null*) 6394 lt_cv_path_NM="$tmp_nm -p" 6395 break 2 6396 ;; 6397 *) 6398 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 6399 continue # so that we can try to find one that supports BSD flags 6400 ;; 6401 esac 6402 ;; 6403 esac 6404 fi 6405 done 6406 IFS=$lt_save_ifs 6407 done 6408 : ${lt_cv_path_NM=no} 6409fi 6410fi 6411{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 6412$as_echo "$lt_cv_path_NM" >&6; } 6413if test no != "$lt_cv_path_NM"; then 6414 NM=$lt_cv_path_NM 6415else 6416 # Didn't find any BSD compatible name lister, look for dumpbin. 6417 if test -n "$DUMPBIN"; then : 6418 # Let the user override the test. 6419 else 6420 if test -n "$ac_tool_prefix"; then 6421 for ac_prog in dumpbin "link -dump" 6422 do 6423 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 6424set dummy $ac_tool_prefix$ac_prog; ac_word=$2 6425{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6426$as_echo_n "checking for $ac_word... " >&6; } 6427if ${ac_cv_prog_DUMPBIN+:} false; then : 6428 $as_echo_n "(cached) " >&6 6429else 6430 if test -n "$DUMPBIN"; then 6431 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 6432else 6433as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6434for as_dir in $PATH 6435do 6436 IFS=$as_save_IFS 6437 test -z "$as_dir" && as_dir=. 6438 for ac_exec_ext in '' $ac_executable_extensions; do 6439 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6440 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 6441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6442 break 2 6443 fi 6444done 6445 done 6446IFS=$as_save_IFS 6447 6448fi 6449fi 6450DUMPBIN=$ac_cv_prog_DUMPBIN 6451if test -n "$DUMPBIN"; then 6452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 6453$as_echo "$DUMPBIN" >&6; } 6454else 6455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6456$as_echo "no" >&6; } 6457fi 6458 6459 6460 test -n "$DUMPBIN" && break 6461 done 6462fi 6463if test -z "$DUMPBIN"; then 6464 ac_ct_DUMPBIN=$DUMPBIN 6465 for ac_prog in dumpbin "link -dump" 6466do 6467 # Extract the first word of "$ac_prog", so it can be a program name with args. 6468set dummy $ac_prog; ac_word=$2 6469{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6470$as_echo_n "checking for $ac_word... " >&6; } 6471if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 6472 $as_echo_n "(cached) " >&6 6473else 6474 if test -n "$ac_ct_DUMPBIN"; then 6475 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 6476else 6477as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6478for as_dir in $PATH 6479do 6480 IFS=$as_save_IFS 6481 test -z "$as_dir" && as_dir=. 6482 for ac_exec_ext in '' $ac_executable_extensions; do 6483 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6484 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 6485 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6486 break 2 6487 fi 6488done 6489 done 6490IFS=$as_save_IFS 6491 6492fi 6493fi 6494ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 6495if test -n "$ac_ct_DUMPBIN"; then 6496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 6497$as_echo "$ac_ct_DUMPBIN" >&6; } 6498else 6499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6500$as_echo "no" >&6; } 6501fi 6502 6503 6504 test -n "$ac_ct_DUMPBIN" && break 6505done 6506 6507 if test "x$ac_ct_DUMPBIN" = x; then 6508 DUMPBIN=":" 6509 else 6510 case $cross_compiling:$ac_tool_warned in 6511yes:) 6512{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6513$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6514ac_tool_warned=yes ;; 6515esac 6516 DUMPBIN=$ac_ct_DUMPBIN 6517 fi 6518fi 6519 6520 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in 6521 *COFF*) 6522 DUMPBIN="$DUMPBIN -symbols -headers" 6523 ;; 6524 *) 6525 DUMPBIN=: 6526 ;; 6527 esac 6528 fi 6529 6530 if test : != "$DUMPBIN"; then 6531 NM=$DUMPBIN 6532 fi 6533fi 6534test -z "$NM" && NM=nm 6535 6536 6537 6538 6539 6540 6541{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 6542$as_echo_n "checking the name lister ($NM) interface... " >&6; } 6543if ${lt_cv_nm_interface+:} false; then : 6544 $as_echo_n "(cached) " >&6 6545else 6546 lt_cv_nm_interface="BSD nm" 6547 echo "int some_variable = 0;" > conftest.$ac_ext 6548 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 6549 (eval "$ac_compile" 2>conftest.err) 6550 cat conftest.err >&5 6551 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 6552 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 6553 cat conftest.err >&5 6554 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 6555 cat conftest.out >&5 6556 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 6557 lt_cv_nm_interface="MS dumpbin" 6558 fi 6559 rm -f conftest* 6560fi 6561{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 6562$as_echo "$lt_cv_nm_interface" >&6; } 6563 6564{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 6565$as_echo_n "checking whether ln -s works... " >&6; } 6566LN_S=$as_ln_s 6567if test "$LN_S" = "ln -s"; then 6568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6569$as_echo "yes" >&6; } 6570else 6571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 6572$as_echo "no, using $LN_S" >&6; } 6573fi 6574 6575# find the maximum length of command line arguments 6576{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 6577$as_echo_n "checking the maximum length of command line arguments... " >&6; } 6578if ${lt_cv_sys_max_cmd_len+:} false; then : 6579 $as_echo_n "(cached) " >&6 6580else 6581 i=0 6582 teststring=ABCD 6583 6584 case $build_os in 6585 msdosdjgpp*) 6586 # On DJGPP, this test can blow up pretty badly due to problems in libc 6587 # (any single argument exceeding 2000 bytes causes a buffer overrun 6588 # during glob expansion). Even if it were fixed, the result of this 6589 # check would be larger than it should be. 6590 lt_cv_sys_max_cmd_len=12288; # 12K is about right 6591 ;; 6592 6593 gnu*) 6594 # Under GNU Hurd, this test is not required because there is 6595 # no limit to the length of command line arguments. 6596 # Libtool will interpret -1 as no limit whatsoever 6597 lt_cv_sys_max_cmd_len=-1; 6598 ;; 6599 6600 cygwin* | mingw* | cegcc*) 6601 # On Win9x/ME, this test blows up -- it succeeds, but takes 6602 # about 5 minutes as the teststring grows exponentially. 6603 # Worse, since 9x/ME are not pre-emptively multitasking, 6604 # you end up with a "frozen" computer, even though with patience 6605 # the test eventually succeeds (with a max line length of 256k). 6606 # Instead, let's just punt: use the minimum linelength reported by 6607 # all of the supported platforms: 8192 (on NT/2K/XP). 6608 lt_cv_sys_max_cmd_len=8192; 6609 ;; 6610 6611 mint*) 6612 # On MiNT this can take a long time and run out of memory. 6613 lt_cv_sys_max_cmd_len=8192; 6614 ;; 6615 6616 amigaos*) 6617 # On AmigaOS with pdksh, this test takes hours, literally. 6618 # So we just punt and use a minimum line length of 8192. 6619 lt_cv_sys_max_cmd_len=8192; 6620 ;; 6621 6622 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*) 6623 # This has been around since 386BSD, at least. Likely further. 6624 if test -x /sbin/sysctl; then 6625 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 6626 elif test -x /usr/sbin/sysctl; then 6627 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 6628 else 6629 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 6630 fi 6631 # And add a safety zone 6632 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 6633 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 6634 ;; 6635 6636 interix*) 6637 # We know the value 262144 and hardcode it with a safety zone (like BSD) 6638 lt_cv_sys_max_cmd_len=196608 6639 ;; 6640 6641 os2*) 6642 # The test takes a long time on OS/2. 6643 lt_cv_sys_max_cmd_len=8192 6644 ;; 6645 6646 osf*) 6647 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 6648 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 6649 # nice to cause kernel panics so lets avoid the loop below. 6650 # First set a reasonable default. 6651 lt_cv_sys_max_cmd_len=16384 6652 # 6653 if test -x /sbin/sysconfig; then 6654 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 6655 *1*) lt_cv_sys_max_cmd_len=-1 ;; 6656 esac 6657 fi 6658 ;; 6659 sco3.2v5*) 6660 lt_cv_sys_max_cmd_len=102400 6661 ;; 6662 sysv5* | sco5v6* | sysv4.2uw2*) 6663 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 6664 if test -n "$kargmax"; then 6665 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 6666 else 6667 lt_cv_sys_max_cmd_len=32768 6668 fi 6669 ;; 6670 *) 6671 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 6672 if test -n "$lt_cv_sys_max_cmd_len" && \ 6673 test undefined != "$lt_cv_sys_max_cmd_len"; then 6674 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 6675 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 6676 else 6677 # Make teststring a little bigger before we do anything with it. 6678 # a 1K string should be a reasonable start. 6679 for i in 1 2 3 4 5 6 7 8; do 6680 teststring=$teststring$teststring 6681 done 6682 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 6683 # If test is not a shell built-in, we'll probably end up computing a 6684 # maximum length that is only half of the actual maximum length, but 6685 # we can't tell. 6686 while { test X`env echo "$teststring$teststring" 2>/dev/null` \ 6687 = "X$teststring$teststring"; } >/dev/null 2>&1 && 6688 test 17 != "$i" # 1/2 MB should be enough 6689 do 6690 i=`expr $i + 1` 6691 teststring=$teststring$teststring 6692 done 6693 # Only check the string length outside the loop. 6694 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 6695 teststring= 6696 # Add a significant safety factor because C++ compilers can tack on 6697 # massive amounts of additional arguments before passing them to the 6698 # linker. It appears as though 1/2 is a usable value. 6699 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 6700 fi 6701 ;; 6702 esac 6703 6704fi 6705 6706if test -n "$lt_cv_sys_max_cmd_len"; then 6707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 6708$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 6709else 6710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 6711$as_echo "none" >&6; } 6712fi 6713max_cmd_len=$lt_cv_sys_max_cmd_len 6714 6715 6716 6717 6718 6719 6720: ${CP="cp -f"} 6721: ${MV="mv -f"} 6722: ${RM="rm -f"} 6723 6724if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 6725 lt_unset=unset 6726else 6727 lt_unset=false 6728fi 6729 6730 6731 6732 6733 6734# test EBCDIC or ASCII 6735case `echo X|tr X '\101'` in 6736 A) # ASCII based system 6737 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 6738 lt_SP2NL='tr \040 \012' 6739 lt_NL2SP='tr \015\012 \040\040' 6740 ;; 6741 *) # EBCDIC based system 6742 lt_SP2NL='tr \100 \n' 6743 lt_NL2SP='tr \r\n \100\100' 6744 ;; 6745esac 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 6756$as_echo_n "checking how to convert $build file names to $host format... " >&6; } 6757if ${lt_cv_to_host_file_cmd+:} false; then : 6758 $as_echo_n "(cached) " >&6 6759else 6760 case $host in 6761 *-*-mingw* ) 6762 case $build in 6763 *-*-mingw* ) # actually msys 6764 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 6765 ;; 6766 *-*-cygwin* ) 6767 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 6768 ;; 6769 * ) # otherwise, assume *nix 6770 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 6771 ;; 6772 esac 6773 ;; 6774 *-*-cygwin* ) 6775 case $build in 6776 *-*-mingw* ) # actually msys 6777 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 6778 ;; 6779 *-*-cygwin* ) 6780 lt_cv_to_host_file_cmd=func_convert_file_noop 6781 ;; 6782 * ) # otherwise, assume *nix 6783 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 6784 ;; 6785 esac 6786 ;; 6787 * ) # unhandled hosts (and "normal" native builds) 6788 lt_cv_to_host_file_cmd=func_convert_file_noop 6789 ;; 6790esac 6791 6792fi 6793 6794to_host_file_cmd=$lt_cv_to_host_file_cmd 6795{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 6796$as_echo "$lt_cv_to_host_file_cmd" >&6; } 6797 6798 6799 6800 6801 6802{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 6803$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 6804if ${lt_cv_to_tool_file_cmd+:} false; then : 6805 $as_echo_n "(cached) " >&6 6806else 6807 #assume ordinary cross tools, or native build. 6808lt_cv_to_tool_file_cmd=func_convert_file_noop 6809case $host in 6810 *-*-mingw* ) 6811 case $build in 6812 *-*-mingw* ) # actually msys 6813 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 6814 ;; 6815 esac 6816 ;; 6817esac 6818 6819fi 6820 6821to_tool_file_cmd=$lt_cv_to_tool_file_cmd 6822{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 6823$as_echo "$lt_cv_to_tool_file_cmd" >&6; } 6824 6825 6826 6827 6828 6829{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 6830$as_echo_n "checking for $LD option to reload object files... " >&6; } 6831if ${lt_cv_ld_reload_flag+:} false; then : 6832 $as_echo_n "(cached) " >&6 6833else 6834 lt_cv_ld_reload_flag='-r' 6835fi 6836{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 6837$as_echo "$lt_cv_ld_reload_flag" >&6; } 6838reload_flag=$lt_cv_ld_reload_flag 6839case $reload_flag in 6840"" | " "*) ;; 6841*) reload_flag=" $reload_flag" ;; 6842esac 6843reload_cmds='$LD$reload_flag -o $output$reload_objs' 6844case $host_os in 6845 cygwin* | mingw* | pw32* | cegcc*) 6846 if test yes != "$GCC"; then 6847 reload_cmds=false 6848 fi 6849 ;; 6850 darwin*) 6851 if test yes = "$GCC"; then 6852 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs' 6853 else 6854 reload_cmds='$LD$reload_flag -o $output$reload_objs' 6855 fi 6856 ;; 6857esac 6858 6859 6860 6861 6862 6863 6864 6865 6866 6867if test -n "$ac_tool_prefix"; then 6868 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 6869set dummy ${ac_tool_prefix}objdump; ac_word=$2 6870{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6871$as_echo_n "checking for $ac_word... " >&6; } 6872if ${ac_cv_prog_OBJDUMP+:} false; then : 6873 $as_echo_n "(cached) " >&6 6874else 6875 if test -n "$OBJDUMP"; then 6876 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 6877else 6878as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6879for as_dir in $PATH 6880do 6881 IFS=$as_save_IFS 6882 test -z "$as_dir" && as_dir=. 6883 for ac_exec_ext in '' $ac_executable_extensions; do 6884 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6885 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 6886 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6887 break 2 6888 fi 6889done 6890 done 6891IFS=$as_save_IFS 6892 6893fi 6894fi 6895OBJDUMP=$ac_cv_prog_OBJDUMP 6896if test -n "$OBJDUMP"; then 6897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 6898$as_echo "$OBJDUMP" >&6; } 6899else 6900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6901$as_echo "no" >&6; } 6902fi 6903 6904 6905fi 6906if test -z "$ac_cv_prog_OBJDUMP"; then 6907 ac_ct_OBJDUMP=$OBJDUMP 6908 # Extract the first word of "objdump", so it can be a program name with args. 6909set dummy objdump; ac_word=$2 6910{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6911$as_echo_n "checking for $ac_word... " >&6; } 6912if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 6913 $as_echo_n "(cached) " >&6 6914else 6915 if test -n "$ac_ct_OBJDUMP"; then 6916 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 6917else 6918as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6919for as_dir in $PATH 6920do 6921 IFS=$as_save_IFS 6922 test -z "$as_dir" && as_dir=. 6923 for ac_exec_ext in '' $ac_executable_extensions; do 6924 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6925 ac_cv_prog_ac_ct_OBJDUMP="objdump" 6926 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6927 break 2 6928 fi 6929done 6930 done 6931IFS=$as_save_IFS 6932 6933fi 6934fi 6935ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 6936if test -n "$ac_ct_OBJDUMP"; then 6937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 6938$as_echo "$ac_ct_OBJDUMP" >&6; } 6939else 6940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6941$as_echo "no" >&6; } 6942fi 6943 6944 if test "x$ac_ct_OBJDUMP" = x; then 6945 OBJDUMP="false" 6946 else 6947 case $cross_compiling:$ac_tool_warned in 6948yes:) 6949{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6950$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6951ac_tool_warned=yes ;; 6952esac 6953 OBJDUMP=$ac_ct_OBJDUMP 6954 fi 6955else 6956 OBJDUMP="$ac_cv_prog_OBJDUMP" 6957fi 6958 6959test -z "$OBJDUMP" && OBJDUMP=objdump 6960 6961 6962 6963 6964 6965 6966{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 6967$as_echo_n "checking how to recognize dependent libraries... " >&6; } 6968if ${lt_cv_deplibs_check_method+:} false; then : 6969 $as_echo_n "(cached) " >&6 6970else 6971 lt_cv_file_magic_cmd='$MAGIC_CMD' 6972lt_cv_file_magic_test_file= 6973lt_cv_deplibs_check_method='unknown' 6974# Need to set the preceding variable on all platforms that support 6975# interlibrary dependencies. 6976# 'none' -- dependencies not supported. 6977# 'unknown' -- same as none, but documents that we really don't know. 6978# 'pass_all' -- all dependencies passed with no checks. 6979# 'test_compile' -- check by making test program. 6980# 'file_magic [[regex]]' -- check by looking for files in library path 6981# that responds to the $file_magic_cmd with a given extended regex. 6982# If you have 'file' or equivalent on your system and you're not sure 6983# whether 'pass_all' will *always* work, you probably want this one. 6984 6985case $host_os in 6986aix[4-9]*) 6987 lt_cv_deplibs_check_method=pass_all 6988 ;; 6989 6990beos*) 6991 lt_cv_deplibs_check_method=pass_all 6992 ;; 6993 6994bsdi[45]*) 6995 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 6996 lt_cv_file_magic_cmd='/usr/bin/file -L' 6997 lt_cv_file_magic_test_file=/shlib/libc.so 6998 ;; 6999 7000cygwin*) 7001 # func_win32_libid is a shell function defined in ltmain.sh 7002 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 7003 lt_cv_file_magic_cmd='func_win32_libid' 7004 ;; 7005 7006mingw* | pw32*) 7007 # Base MSYS/MinGW do not provide the 'file' command needed by 7008 # func_win32_libid shell function, so use a weaker test based on 'objdump', 7009 # unless we find 'file', for example because we are cross-compiling. 7010 if ( file / ) >/dev/null 2>&1; then 7011 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 7012 lt_cv_file_magic_cmd='func_win32_libid' 7013 else 7014 # Keep this pattern in sync with the one in func_win32_libid. 7015 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 7016 lt_cv_file_magic_cmd='$OBJDUMP -f' 7017 fi 7018 ;; 7019 7020cegcc*) 7021 # use the weaker test based on 'objdump'. See mingw*. 7022 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 7023 lt_cv_file_magic_cmd='$OBJDUMP -f' 7024 ;; 7025 7026darwin* | rhapsody*) 7027 lt_cv_deplibs_check_method=pass_all 7028 ;; 7029 7030freebsd* | dragonfly*) 7031 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 7032 case $host_cpu in 7033 i*86 ) 7034 # Not sure whether the presence of OpenBSD here was a mistake. 7035 # Let's accept both of them until this is cleared up. 7036 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 7037 lt_cv_file_magic_cmd=/usr/bin/file 7038 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 7039 ;; 7040 esac 7041 else 7042 lt_cv_deplibs_check_method=pass_all 7043 fi 7044 ;; 7045 7046haiku*) 7047 lt_cv_deplibs_check_method=pass_all 7048 ;; 7049 7050hpux10.20* | hpux11*) 7051 lt_cv_file_magic_cmd=/usr/bin/file 7052 case $host_cpu in 7053 ia64*) 7054 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 7055 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 7056 ;; 7057 hppa*64*) 7058 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]' 7059 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 7060 ;; 7061 *) 7062 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 7063 lt_cv_file_magic_test_file=/usr/lib/libc.sl 7064 ;; 7065 esac 7066 ;; 7067 7068interix[3-9]*) 7069 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 7070 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 7071 ;; 7072 7073irix5* | irix6* | nonstopux*) 7074 case $LD in 7075 *-32|*"-32 ") libmagic=32-bit;; 7076 *-n32|*"-n32 ") libmagic=N32;; 7077 *-64|*"-64 ") libmagic=64-bit;; 7078 *) libmagic=never-match;; 7079 esac 7080 lt_cv_deplibs_check_method=pass_all 7081 ;; 7082 7083# This must be glibc/ELF. 7084linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 7085 lt_cv_deplibs_check_method=pass_all 7086 ;; 7087 7088netbsd*) 7089 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 7090 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 7091 else 7092 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 7093 fi 7094 ;; 7095 7096newos6*) 7097 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 7098 lt_cv_file_magic_cmd=/usr/bin/file 7099 lt_cv_file_magic_test_file=/usr/lib/libnls.so 7100 ;; 7101 7102*nto* | *qnx*) 7103 lt_cv_deplibs_check_method=pass_all 7104 ;; 7105 7106openbsd* | bitrig*) 7107 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 7108 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 7109 else 7110 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 7111 fi 7112 ;; 7113 7114osf3* | osf4* | osf5*) 7115 lt_cv_deplibs_check_method=pass_all 7116 ;; 7117 7118rdos*) 7119 lt_cv_deplibs_check_method=pass_all 7120 ;; 7121 7122solaris*) 7123 lt_cv_deplibs_check_method=pass_all 7124 ;; 7125 7126sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 7127 lt_cv_deplibs_check_method=pass_all 7128 ;; 7129 7130sysv4 | sysv4.3*) 7131 case $host_vendor in 7132 motorola) 7133 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]' 7134 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 7135 ;; 7136 ncr) 7137 lt_cv_deplibs_check_method=pass_all 7138 ;; 7139 sequent) 7140 lt_cv_file_magic_cmd='/bin/file' 7141 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 7142 ;; 7143 sni) 7144 lt_cv_file_magic_cmd='/bin/file' 7145 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 7146 lt_cv_file_magic_test_file=/lib/libc.so 7147 ;; 7148 siemens) 7149 lt_cv_deplibs_check_method=pass_all 7150 ;; 7151 pc) 7152 lt_cv_deplibs_check_method=pass_all 7153 ;; 7154 esac 7155 ;; 7156 7157tpf*) 7158 lt_cv_deplibs_check_method=pass_all 7159 ;; 7160os2*) 7161 lt_cv_deplibs_check_method=pass_all 7162 ;; 7163esac 7164 7165fi 7166{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 7167$as_echo "$lt_cv_deplibs_check_method" >&6; } 7168 7169file_magic_glob= 7170want_nocaseglob=no 7171if test "$build" = "$host"; then 7172 case $host_os in 7173 mingw* | pw32*) 7174 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then 7175 want_nocaseglob=yes 7176 else 7177 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` 7178 fi 7179 ;; 7180 esac 7181fi 7182 7183file_magic_cmd=$lt_cv_file_magic_cmd 7184deplibs_check_method=$lt_cv_deplibs_check_method 7185test -z "$deplibs_check_method" && deplibs_check_method=unknown 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196 7197 7198 7199 7200 7201 7202 7203 7204 7205 7206 7207 7208if test -n "$ac_tool_prefix"; then 7209 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 7210set dummy ${ac_tool_prefix}dlltool; ac_word=$2 7211{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7212$as_echo_n "checking for $ac_word... " >&6; } 7213if ${ac_cv_prog_DLLTOOL+:} false; then : 7214 $as_echo_n "(cached) " >&6 7215else 7216 if test -n "$DLLTOOL"; then 7217 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 7218else 7219as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7220for as_dir in $PATH 7221do 7222 IFS=$as_save_IFS 7223 test -z "$as_dir" && as_dir=. 7224 for ac_exec_ext in '' $ac_executable_extensions; do 7225 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7226 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 7227 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7228 break 2 7229 fi 7230done 7231 done 7232IFS=$as_save_IFS 7233 7234fi 7235fi 7236DLLTOOL=$ac_cv_prog_DLLTOOL 7237if test -n "$DLLTOOL"; then 7238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 7239$as_echo "$DLLTOOL" >&6; } 7240else 7241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7242$as_echo "no" >&6; } 7243fi 7244 7245 7246fi 7247if test -z "$ac_cv_prog_DLLTOOL"; then 7248 ac_ct_DLLTOOL=$DLLTOOL 7249 # Extract the first word of "dlltool", so it can be a program name with args. 7250set dummy dlltool; ac_word=$2 7251{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7252$as_echo_n "checking for $ac_word... " >&6; } 7253if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 7254 $as_echo_n "(cached) " >&6 7255else 7256 if test -n "$ac_ct_DLLTOOL"; then 7257 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 7258else 7259as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7260for as_dir in $PATH 7261do 7262 IFS=$as_save_IFS 7263 test -z "$as_dir" && as_dir=. 7264 for ac_exec_ext in '' $ac_executable_extensions; do 7265 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7266 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 7267 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7268 break 2 7269 fi 7270done 7271 done 7272IFS=$as_save_IFS 7273 7274fi 7275fi 7276ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 7277if test -n "$ac_ct_DLLTOOL"; then 7278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 7279$as_echo "$ac_ct_DLLTOOL" >&6; } 7280else 7281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7282$as_echo "no" >&6; } 7283fi 7284 7285 if test "x$ac_ct_DLLTOOL" = x; then 7286 DLLTOOL="false" 7287 else 7288 case $cross_compiling:$ac_tool_warned in 7289yes:) 7290{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7291$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7292ac_tool_warned=yes ;; 7293esac 7294 DLLTOOL=$ac_ct_DLLTOOL 7295 fi 7296else 7297 DLLTOOL="$ac_cv_prog_DLLTOOL" 7298fi 7299 7300test -z "$DLLTOOL" && DLLTOOL=dlltool 7301 7302 7303 7304 7305 7306 7307 7308{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 7309$as_echo_n "checking how to associate runtime and link libraries... " >&6; } 7310if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 7311 $as_echo_n "(cached) " >&6 7312else 7313 lt_cv_sharedlib_from_linklib_cmd='unknown' 7314 7315case $host_os in 7316cygwin* | mingw* | pw32* | cegcc*) 7317 # two different shell functions defined in ltmain.sh; 7318 # decide which one to use based on capabilities of $DLLTOOL 7319 case `$DLLTOOL --help 2>&1` in 7320 *--identify-strict*) 7321 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 7322 ;; 7323 *) 7324 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 7325 ;; 7326 esac 7327 ;; 7328*) 7329 # fallback: assume linklib IS sharedlib 7330 lt_cv_sharedlib_from_linklib_cmd=$ECHO 7331 ;; 7332esac 7333 7334fi 7335{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 7336$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 7337sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 7338test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 7339 7340 7341 7342 7343 7344 7345 7346if test -n "$ac_tool_prefix"; then 7347 for ac_prog in ar 7348 do 7349 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 7350set dummy $ac_tool_prefix$ac_prog; ac_word=$2 7351{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7352$as_echo_n "checking for $ac_word... " >&6; } 7353if ${ac_cv_prog_AR+:} false; then : 7354 $as_echo_n "(cached) " >&6 7355else 7356 if test -n "$AR"; then 7357 ac_cv_prog_AR="$AR" # Let the user override the test. 7358else 7359as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7360for as_dir in $PATH 7361do 7362 IFS=$as_save_IFS 7363 test -z "$as_dir" && as_dir=. 7364 for ac_exec_ext in '' $ac_executable_extensions; do 7365 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7366 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 7367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7368 break 2 7369 fi 7370done 7371 done 7372IFS=$as_save_IFS 7373 7374fi 7375fi 7376AR=$ac_cv_prog_AR 7377if test -n "$AR"; then 7378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 7379$as_echo "$AR" >&6; } 7380else 7381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7382$as_echo "no" >&6; } 7383fi 7384 7385 7386 test -n "$AR" && break 7387 done 7388fi 7389if test -z "$AR"; then 7390 ac_ct_AR=$AR 7391 for ac_prog in ar 7392do 7393 # Extract the first word of "$ac_prog", so it can be a program name with args. 7394set dummy $ac_prog; ac_word=$2 7395{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7396$as_echo_n "checking for $ac_word... " >&6; } 7397if ${ac_cv_prog_ac_ct_AR+:} false; then : 7398 $as_echo_n "(cached) " >&6 7399else 7400 if test -n "$ac_ct_AR"; then 7401 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 7402else 7403as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7404for as_dir in $PATH 7405do 7406 IFS=$as_save_IFS 7407 test -z "$as_dir" && as_dir=. 7408 for ac_exec_ext in '' $ac_executable_extensions; do 7409 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7410 ac_cv_prog_ac_ct_AR="$ac_prog" 7411 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7412 break 2 7413 fi 7414done 7415 done 7416IFS=$as_save_IFS 7417 7418fi 7419fi 7420ac_ct_AR=$ac_cv_prog_ac_ct_AR 7421if test -n "$ac_ct_AR"; then 7422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 7423$as_echo "$ac_ct_AR" >&6; } 7424else 7425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7426$as_echo "no" >&6; } 7427fi 7428 7429 7430 test -n "$ac_ct_AR" && break 7431done 7432 7433 if test "x$ac_ct_AR" = x; then 7434 AR="false" 7435 else 7436 case $cross_compiling:$ac_tool_warned in 7437yes:) 7438{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7439$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7440ac_tool_warned=yes ;; 7441esac 7442 AR=$ac_ct_AR 7443 fi 7444fi 7445 7446: ${AR=ar} 7447: ${AR_FLAGS=cru} 7448 7449 7450 7451 7452 7453 7454 7455 7456 7457 7458 7459{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 7460$as_echo_n "checking for archiver @FILE support... " >&6; } 7461if ${lt_cv_ar_at_file+:} false; then : 7462 $as_echo_n "(cached) " >&6 7463else 7464 lt_cv_ar_at_file=no 7465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7466/* end confdefs.h. */ 7467 7468int 7469main () 7470{ 7471 7472 ; 7473 return 0; 7474} 7475_ACEOF 7476if ac_fn_c_try_compile "$LINENO"; then : 7477 echo conftest.$ac_objext > conftest.lst 7478 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 7479 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 7480 (eval $lt_ar_try) 2>&5 7481 ac_status=$? 7482 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7483 test $ac_status = 0; } 7484 if test 0 -eq "$ac_status"; then 7485 # Ensure the archiver fails upon bogus file names. 7486 rm -f conftest.$ac_objext libconftest.a 7487 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 7488 (eval $lt_ar_try) 2>&5 7489 ac_status=$? 7490 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7491 test $ac_status = 0; } 7492 if test 0 -ne "$ac_status"; then 7493 lt_cv_ar_at_file=@ 7494 fi 7495 fi 7496 rm -f conftest.* libconftest.a 7497 7498fi 7499rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7500 7501fi 7502{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 7503$as_echo "$lt_cv_ar_at_file" >&6; } 7504 7505if test no = "$lt_cv_ar_at_file"; then 7506 archiver_list_spec= 7507else 7508 archiver_list_spec=$lt_cv_ar_at_file 7509fi 7510 7511 7512 7513 7514 7515 7516 7517if test -n "$ac_tool_prefix"; then 7518 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 7519set dummy ${ac_tool_prefix}strip; ac_word=$2 7520{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7521$as_echo_n "checking for $ac_word... " >&6; } 7522if ${ac_cv_prog_STRIP+:} false; then : 7523 $as_echo_n "(cached) " >&6 7524else 7525 if test -n "$STRIP"; then 7526 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 7527else 7528as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7529for as_dir in $PATH 7530do 7531 IFS=$as_save_IFS 7532 test -z "$as_dir" && as_dir=. 7533 for ac_exec_ext in '' $ac_executable_extensions; do 7534 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7535 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 7536 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7537 break 2 7538 fi 7539done 7540 done 7541IFS=$as_save_IFS 7542 7543fi 7544fi 7545STRIP=$ac_cv_prog_STRIP 7546if test -n "$STRIP"; then 7547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 7548$as_echo "$STRIP" >&6; } 7549else 7550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7551$as_echo "no" >&6; } 7552fi 7553 7554 7555fi 7556if test -z "$ac_cv_prog_STRIP"; then 7557 ac_ct_STRIP=$STRIP 7558 # Extract the first word of "strip", so it can be a program name with args. 7559set dummy strip; ac_word=$2 7560{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7561$as_echo_n "checking for $ac_word... " >&6; } 7562if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 7563 $as_echo_n "(cached) " >&6 7564else 7565 if test -n "$ac_ct_STRIP"; then 7566 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 7567else 7568as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7569for as_dir in $PATH 7570do 7571 IFS=$as_save_IFS 7572 test -z "$as_dir" && as_dir=. 7573 for ac_exec_ext in '' $ac_executable_extensions; do 7574 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7575 ac_cv_prog_ac_ct_STRIP="strip" 7576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7577 break 2 7578 fi 7579done 7580 done 7581IFS=$as_save_IFS 7582 7583fi 7584fi 7585ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 7586if test -n "$ac_ct_STRIP"; then 7587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 7588$as_echo "$ac_ct_STRIP" >&6; } 7589else 7590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7591$as_echo "no" >&6; } 7592fi 7593 7594 if test "x$ac_ct_STRIP" = x; then 7595 STRIP=":" 7596 else 7597 case $cross_compiling:$ac_tool_warned in 7598yes:) 7599{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7600$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7601ac_tool_warned=yes ;; 7602esac 7603 STRIP=$ac_ct_STRIP 7604 fi 7605else 7606 STRIP="$ac_cv_prog_STRIP" 7607fi 7608 7609test -z "$STRIP" && STRIP=: 7610 7611 7612 7613 7614 7615 7616if test -n "$ac_tool_prefix"; then 7617 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 7618set dummy ${ac_tool_prefix}ranlib; ac_word=$2 7619{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7620$as_echo_n "checking for $ac_word... " >&6; } 7621if ${ac_cv_prog_RANLIB+:} false; then : 7622 $as_echo_n "(cached) " >&6 7623else 7624 if test -n "$RANLIB"; then 7625 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 7626else 7627as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7628for as_dir in $PATH 7629do 7630 IFS=$as_save_IFS 7631 test -z "$as_dir" && as_dir=. 7632 for ac_exec_ext in '' $ac_executable_extensions; do 7633 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7634 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 7635 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7636 break 2 7637 fi 7638done 7639 done 7640IFS=$as_save_IFS 7641 7642fi 7643fi 7644RANLIB=$ac_cv_prog_RANLIB 7645if test -n "$RANLIB"; then 7646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 7647$as_echo "$RANLIB" >&6; } 7648else 7649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7650$as_echo "no" >&6; } 7651fi 7652 7653 7654fi 7655if test -z "$ac_cv_prog_RANLIB"; then 7656 ac_ct_RANLIB=$RANLIB 7657 # Extract the first word of "ranlib", so it can be a program name with args. 7658set dummy ranlib; ac_word=$2 7659{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7660$as_echo_n "checking for $ac_word... " >&6; } 7661if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 7662 $as_echo_n "(cached) " >&6 7663else 7664 if test -n "$ac_ct_RANLIB"; then 7665 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 7666else 7667as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7668for as_dir in $PATH 7669do 7670 IFS=$as_save_IFS 7671 test -z "$as_dir" && as_dir=. 7672 for ac_exec_ext in '' $ac_executable_extensions; do 7673 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7674 ac_cv_prog_ac_ct_RANLIB="ranlib" 7675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7676 break 2 7677 fi 7678done 7679 done 7680IFS=$as_save_IFS 7681 7682fi 7683fi 7684ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 7685if test -n "$ac_ct_RANLIB"; then 7686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 7687$as_echo "$ac_ct_RANLIB" >&6; } 7688else 7689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7690$as_echo "no" >&6; } 7691fi 7692 7693 if test "x$ac_ct_RANLIB" = x; then 7694 RANLIB=":" 7695 else 7696 case $cross_compiling:$ac_tool_warned in 7697yes:) 7698{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7699$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7700ac_tool_warned=yes ;; 7701esac 7702 RANLIB=$ac_ct_RANLIB 7703 fi 7704else 7705 RANLIB="$ac_cv_prog_RANLIB" 7706fi 7707 7708test -z "$RANLIB" && RANLIB=: 7709 7710 7711 7712 7713 7714 7715# Determine commands to create old-style static archives. 7716old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 7717old_postinstall_cmds='chmod 644 $oldlib' 7718old_postuninstall_cmds= 7719 7720if test -n "$RANLIB"; then 7721 case $host_os in 7722 bitrig* | openbsd*) 7723 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" 7724 ;; 7725 *) 7726 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" 7727 ;; 7728 esac 7729 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" 7730fi 7731 7732case $host_os in 7733 darwin*) 7734 lock_old_archive_extraction=yes ;; 7735 *) 7736 lock_old_archive_extraction=no ;; 7737esac 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 7774 7775 7776 7777# If no C compiler was specified, use CC. 7778LTCC=${LTCC-"$CC"} 7779 7780# If no C compiler flags were specified, use CFLAGS. 7781LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 7782 7783# Allow CC to be a program name with arguments. 7784compiler=$CC 7785 7786 7787# Check for command to grab the raw symbol name followed by C symbol from nm. 7788{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 7789$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 7790if ${lt_cv_sys_global_symbol_pipe+:} false; then : 7791 $as_echo_n "(cached) " >&6 7792else 7793 7794# These are sane defaults that work on at least a few old systems. 7795# [They come from Ultrix. What could be older than Ultrix?!! ;)] 7796 7797# Character class describing NM global symbol codes. 7798symcode='[BCDEGRST]' 7799 7800# Regexp to match symbols that can be accessed directly from C. 7801sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 7802 7803# Define system-specific variables. 7804case $host_os in 7805aix*) 7806 symcode='[BCDT]' 7807 ;; 7808cygwin* | mingw* | pw32* | cegcc*) 7809 symcode='[ABCDGISTW]' 7810 ;; 7811hpux*) 7812 if test ia64 = "$host_cpu"; then 7813 symcode='[ABCDEGRST]' 7814 fi 7815 ;; 7816irix* | nonstopux*) 7817 symcode='[BCDEGRST]' 7818 ;; 7819osf*) 7820 symcode='[BCDEGQRST]' 7821 ;; 7822solaris*) 7823 symcode='[BDRT]' 7824 ;; 7825sco3.2v5*) 7826 symcode='[DT]' 7827 ;; 7828sysv4.2uw2*) 7829 symcode='[DT]' 7830 ;; 7831sysv5* | sco5v6* | unixware* | OpenUNIX*) 7832 symcode='[ABDT]' 7833 ;; 7834sysv4) 7835 symcode='[DFNSTU]' 7836 ;; 7837esac 7838 7839# If we're using GNU nm, then use its standard symbol codes. 7840case `$NM -V 2>&1` in 7841*GNU* | *'with BFD'*) 7842 symcode='[ABCDGIRSTW]' ;; 7843esac 7844 7845if test "$lt_cv_nm_interface" = "MS dumpbin"; then 7846 # Gets list of data symbols to import. 7847 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'" 7848 # Adjust the below global symbol transforms to fixup imported variables. 7849 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'" 7850 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'" 7851 lt_c_name_lib_hook="\ 7852 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\ 7853 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'" 7854else 7855 # Disable hooks by default. 7856 lt_cv_sys_global_symbol_to_import= 7857 lt_cdecl_hook= 7858 lt_c_name_hook= 7859 lt_c_name_lib_hook= 7860fi 7861 7862# Transform an extracted symbol line into a proper C declaration. 7863# Some systems (esp. on ia64) link data and code symbols differently, 7864# so use this general approach. 7865lt_cv_sys_global_symbol_to_cdecl="sed -n"\ 7866$lt_cdecl_hook\ 7867" -e 's/^T .* \(.*\)$/extern int \1();/p'"\ 7868" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" 7869 7870# Transform an extracted symbol line into symbol name and symbol address 7871lt_cv_sys_global_symbol_to_c_name_address="sed -n"\ 7872$lt_c_name_hook\ 7873" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 7874" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'" 7875 7876# Transform an extracted symbol line into symbol name with lib prefix and 7877# symbol address. 7878lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\ 7879$lt_c_name_lib_hook\ 7880" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 7881" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\ 7882" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'" 7883 7884# Handle CRLF in mingw tool chain 7885opt_cr= 7886case $build_os in 7887mingw*) 7888 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 7889 ;; 7890esac 7891 7892# Try without a prefix underscore, then with it. 7893for ac_symprfx in "" "_"; do 7894 7895 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 7896 symxfrm="\\1 $ac_symprfx\\2 \\2" 7897 7898 # Write the raw and C identifiers. 7899 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 7900 # Fake it for dumpbin and say T for any non-static function, 7901 # D for any global variable and I for any imported variable. 7902 # Also find C++ and __fastcall symbols from MSVC++, 7903 # which start with @ or ?. 7904 lt_cv_sys_global_symbol_pipe="$AWK '"\ 7905" {last_section=section; section=\$ 3};"\ 7906" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ 7907" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 7908" /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\ 7909" /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\ 7910" /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\ 7911" \$ 0!~/External *\|/{next};"\ 7912" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 7913" {if(hide[section]) next};"\ 7914" {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\ 7915" {split(\$ 0,a,/\||\r/); split(a[2],s)};"\ 7916" s[1]~/^[@?]/{print f,s[1],s[1]; next};"\ 7917" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\ 7918" ' prfx=^$ac_symprfx" 7919 else 7920 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 7921 fi 7922 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 7923 7924 # Check to see that the pipe works correctly. 7925 pipe_works=no 7926 7927 rm -f conftest* 7928 cat > conftest.$ac_ext <<_LT_EOF 7929#ifdef __cplusplus 7930extern "C" { 7931#endif 7932char nm_test_var; 7933void nm_test_func(void); 7934void nm_test_func(void){} 7935#ifdef __cplusplus 7936} 7937#endif 7938int main(){nm_test_var='a';nm_test_func();return(0);} 7939_LT_EOF 7940 7941 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7942 (eval $ac_compile) 2>&5 7943 ac_status=$? 7944 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7945 test $ac_status = 0; }; then 7946 # Now try to grab the symbols. 7947 nlist=conftest.nm 7948 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 7949 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 7950 ac_status=$? 7951 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7952 test $ac_status = 0; } && test -s "$nlist"; then 7953 # Try sorting and uniquifying the output. 7954 if sort "$nlist" | uniq > "$nlist"T; then 7955 mv -f "$nlist"T "$nlist" 7956 else 7957 rm -f "$nlist"T 7958 fi 7959 7960 # Make sure that we snagged all the symbols we need. 7961 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 7962 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 7963 cat <<_LT_EOF > conftest.$ac_ext 7964/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 7965#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE 7966/* DATA imports from DLLs on WIN32 can't be const, because runtime 7967 relocations are performed -- see ld's documentation on pseudo-relocs. */ 7968# define LT_DLSYM_CONST 7969#elif defined __osf__ 7970/* This system does not cope well with relocations in const data. */ 7971# define LT_DLSYM_CONST 7972#else 7973# define LT_DLSYM_CONST const 7974#endif 7975 7976#ifdef __cplusplus 7977extern "C" { 7978#endif 7979 7980_LT_EOF 7981 # Now generate the symbol file. 7982 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 7983 7984 cat <<_LT_EOF >> conftest.$ac_ext 7985 7986/* The mapping between symbol names and symbols. */ 7987LT_DLSYM_CONST struct { 7988 const char *name; 7989 void *address; 7990} 7991lt__PROGRAM__LTX_preloaded_symbols[] = 7992{ 7993 { "@PROGRAM@", (void *) 0 }, 7994_LT_EOF 7995 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 7996 cat <<\_LT_EOF >> conftest.$ac_ext 7997 {0, (void *) 0} 7998}; 7999 8000/* This works around a problem in FreeBSD linker */ 8001#ifdef FREEBSD_WORKAROUND 8002static const void *lt_preloaded_setup() { 8003 return lt__PROGRAM__LTX_preloaded_symbols; 8004} 8005#endif 8006 8007#ifdef __cplusplus 8008} 8009#endif 8010_LT_EOF 8011 # Now try linking the two files. 8012 mv conftest.$ac_objext conftstm.$ac_objext 8013 lt_globsym_save_LIBS=$LIBS 8014 lt_globsym_save_CFLAGS=$CFLAGS 8015 LIBS=conftstm.$ac_objext 8016 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 8017 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 8018 (eval $ac_link) 2>&5 8019 ac_status=$? 8020 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8021 test $ac_status = 0; } && test -s conftest$ac_exeext; then 8022 pipe_works=yes 8023 fi 8024 LIBS=$lt_globsym_save_LIBS 8025 CFLAGS=$lt_globsym_save_CFLAGS 8026 else 8027 echo "cannot find nm_test_func in $nlist" >&5 8028 fi 8029 else 8030 echo "cannot find nm_test_var in $nlist" >&5 8031 fi 8032 else 8033 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 8034 fi 8035 else 8036 echo "$progname: failed program was:" >&5 8037 cat conftest.$ac_ext >&5 8038 fi 8039 rm -rf conftest* conftst* 8040 8041 # Do not use the global_symbol_pipe unless it works. 8042 if test yes = "$pipe_works"; then 8043 break 8044 else 8045 lt_cv_sys_global_symbol_pipe= 8046 fi 8047done 8048 8049fi 8050 8051if test -z "$lt_cv_sys_global_symbol_pipe"; then 8052 lt_cv_sys_global_symbol_to_cdecl= 8053fi 8054if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 8055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 8056$as_echo "failed" >&6; } 8057else 8058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 8059$as_echo "ok" >&6; } 8060fi 8061 8062# Response file support. 8063if test "$lt_cv_nm_interface" = "MS dumpbin"; then 8064 nm_file_list_spec='@' 8065elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then 8066 nm_file_list_spec='@' 8067fi 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 8102 8103 8104 8105{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 8106$as_echo_n "checking for sysroot... " >&6; } 8107 8108# Check whether --with-sysroot was given. 8109if test "${with_sysroot+set}" = set; then : 8110 withval=$with_sysroot; 8111else 8112 with_sysroot=no 8113fi 8114 8115 8116lt_sysroot= 8117case $with_sysroot in #( 8118 yes) 8119 if test yes = "$GCC"; then 8120 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 8121 fi 8122 ;; #( 8123 /*) 8124 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 8125 ;; #( 8126 no|'') 8127 ;; #( 8128 *) 8129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5 8130$as_echo "$with_sysroot" >&6; } 8131 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 8132 ;; 8133esac 8134 8135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 8136$as_echo "${lt_sysroot:-no}" >&6; } 8137 8138 8139 8140 8141 8142{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5 8143$as_echo_n "checking for a working dd... " >&6; } 8144if ${ac_cv_path_lt_DD+:} false; then : 8145 $as_echo_n "(cached) " >&6 8146else 8147 printf 0123456789abcdef0123456789abcdef >conftest.i 8148cat conftest.i conftest.i >conftest2.i 8149: ${lt_DD:=$DD} 8150if test -z "$lt_DD"; then 8151 ac_path_lt_DD_found=false 8152 # Loop through the user's path and test for each of PROGNAME-LIST 8153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8154for as_dir in $PATH 8155do 8156 IFS=$as_save_IFS 8157 test -z "$as_dir" && as_dir=. 8158 for ac_prog in dd; do 8159 for ac_exec_ext in '' $ac_executable_extensions; do 8160 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext" 8161 as_fn_executable_p "$ac_path_lt_DD" || continue 8162if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 8163 cmp -s conftest.i conftest.out \ 8164 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=: 8165fi 8166 $ac_path_lt_DD_found && break 3 8167 done 8168 done 8169 done 8170IFS=$as_save_IFS 8171 if test -z "$ac_cv_path_lt_DD"; then 8172 : 8173 fi 8174else 8175 ac_cv_path_lt_DD=$lt_DD 8176fi 8177 8178rm -f conftest.i conftest2.i conftest.out 8179fi 8180{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5 8181$as_echo "$ac_cv_path_lt_DD" >&6; } 8182 8183 8184{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5 8185$as_echo_n "checking how to truncate binary pipes... " >&6; } 8186if ${lt_cv_truncate_bin+:} false; then : 8187 $as_echo_n "(cached) " >&6 8188else 8189 printf 0123456789abcdef0123456789abcdef >conftest.i 8190cat conftest.i conftest.i >conftest2.i 8191lt_cv_truncate_bin= 8192if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 8193 cmp -s conftest.i conftest.out \ 8194 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1" 8195fi 8196rm -f conftest.i conftest2.i conftest.out 8197test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" 8198fi 8199{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5 8200$as_echo "$lt_cv_truncate_bin" >&6; } 8201 8202 8203 8204 8205 8206 8207 8208# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 8209func_cc_basename () 8210{ 8211 for cc_temp in $*""; do 8212 case $cc_temp in 8213 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 8214 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 8215 \-*) ;; 8216 *) break;; 8217 esac 8218 done 8219 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 8220} 8221 8222# Check whether --enable-libtool-lock was given. 8223if test "${enable_libtool_lock+set}" = set; then : 8224 enableval=$enable_libtool_lock; 8225fi 8226 8227test no = "$enable_libtool_lock" || enable_libtool_lock=yes 8228 8229# Some flags need to be propagated to the compiler or linker for good 8230# libtool support. 8231case $host in 8232ia64-*-hpux*) 8233 # Find out what ABI is being produced by ac_compile, and set mode 8234 # options accordingly. 8235 echo 'int i;' > conftest.$ac_ext 8236 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8237 (eval $ac_compile) 2>&5 8238 ac_status=$? 8239 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8240 test $ac_status = 0; }; then 8241 case `/usr/bin/file conftest.$ac_objext` in 8242 *ELF-32*) 8243 HPUX_IA64_MODE=32 8244 ;; 8245 *ELF-64*) 8246 HPUX_IA64_MODE=64 8247 ;; 8248 esac 8249 fi 8250 rm -rf conftest* 8251 ;; 8252*-*-irix6*) 8253 # Find out what ABI is being produced by ac_compile, and set linker 8254 # options accordingly. 8255 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 8256 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8257 (eval $ac_compile) 2>&5 8258 ac_status=$? 8259 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8260 test $ac_status = 0; }; then 8261 if test yes = "$lt_cv_prog_gnu_ld"; then 8262 case `/usr/bin/file conftest.$ac_objext` in 8263 *32-bit*) 8264 LD="${LD-ld} -melf32bsmip" 8265 ;; 8266 *N32*) 8267 LD="${LD-ld} -melf32bmipn32" 8268 ;; 8269 *64-bit*) 8270 LD="${LD-ld} -melf64bmip" 8271 ;; 8272 esac 8273 else 8274 case `/usr/bin/file conftest.$ac_objext` in 8275 *32-bit*) 8276 LD="${LD-ld} -32" 8277 ;; 8278 *N32*) 8279 LD="${LD-ld} -n32" 8280 ;; 8281 *64-bit*) 8282 LD="${LD-ld} -64" 8283 ;; 8284 esac 8285 fi 8286 fi 8287 rm -rf conftest* 8288 ;; 8289 8290mips64*-*linux*) 8291 # Find out what ABI is being produced by ac_compile, and set linker 8292 # options accordingly. 8293 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 8294 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8295 (eval $ac_compile) 2>&5 8296 ac_status=$? 8297 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8298 test $ac_status = 0; }; then 8299 emul=elf 8300 case `/usr/bin/file conftest.$ac_objext` in 8301 *32-bit*) 8302 emul="${emul}32" 8303 ;; 8304 *64-bit*) 8305 emul="${emul}64" 8306 ;; 8307 esac 8308 case `/usr/bin/file conftest.$ac_objext` in 8309 *MSB*) 8310 emul="${emul}btsmip" 8311 ;; 8312 *LSB*) 8313 emul="${emul}ltsmip" 8314 ;; 8315 esac 8316 case `/usr/bin/file conftest.$ac_objext` in 8317 *N32*) 8318 emul="${emul}n32" 8319 ;; 8320 esac 8321 LD="${LD-ld} -m $emul" 8322 fi 8323 rm -rf conftest* 8324 ;; 8325 8326x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ 8327s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 8328 # Find out what ABI is being produced by ac_compile, and set linker 8329 # options accordingly. Note that the listed cases only cover the 8330 # situations where additional linker options are needed (such as when 8331 # doing 32-bit compilation for a host where ld defaults to 64-bit, or 8332 # vice versa); the common cases where no linker options are needed do 8333 # not appear in the list. 8334 echo 'int i;' > conftest.$ac_ext 8335 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8336 (eval $ac_compile) 2>&5 8337 ac_status=$? 8338 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8339 test $ac_status = 0; }; then 8340 case `/usr/bin/file conftest.o` in 8341 *32-bit*) 8342 case $host in 8343 x86_64-*kfreebsd*-gnu) 8344 LD="${LD-ld} -m elf_i386_fbsd" 8345 ;; 8346 x86_64-*linux*) 8347 case `/usr/bin/file conftest.o` in 8348 *x86-64*) 8349 LD="${LD-ld} -m elf32_x86_64" 8350 ;; 8351 *) 8352 LD="${LD-ld} -m elf_i386" 8353 ;; 8354 esac 8355 ;; 8356 powerpc64le-*linux*) 8357 LD="${LD-ld} -m elf32lppclinux" 8358 ;; 8359 powerpc64-*linux*) 8360 LD="${LD-ld} -m elf32ppclinux" 8361 ;; 8362 s390x-*linux*) 8363 LD="${LD-ld} -m elf_s390" 8364 ;; 8365 sparc64-*linux*) 8366 LD="${LD-ld} -m elf32_sparc" 8367 ;; 8368 esac 8369 ;; 8370 *64-bit*) 8371 case $host in 8372 x86_64-*kfreebsd*-gnu) 8373 LD="${LD-ld} -m elf_x86_64_fbsd" 8374 ;; 8375 x86_64-*linux*) 8376 LD="${LD-ld} -m elf_x86_64" 8377 ;; 8378 powerpcle-*linux*) 8379 LD="${LD-ld} -m elf64lppc" 8380 ;; 8381 powerpc-*linux*) 8382 LD="${LD-ld} -m elf64ppc" 8383 ;; 8384 s390*-*linux*|s390*-*tpf*) 8385 LD="${LD-ld} -m elf64_s390" 8386 ;; 8387 sparc*-*linux*) 8388 LD="${LD-ld} -m elf64_sparc" 8389 ;; 8390 esac 8391 ;; 8392 esac 8393 fi 8394 rm -rf conftest* 8395 ;; 8396 8397*-*-sco3.2v5*) 8398 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 8399 SAVE_CFLAGS=$CFLAGS 8400 CFLAGS="$CFLAGS -belf" 8401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 8402$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 8403if ${lt_cv_cc_needs_belf+:} false; then : 8404 $as_echo_n "(cached) " >&6 8405else 8406 ac_ext=c 8407ac_cpp='$CPP $CPPFLAGS' 8408ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8409ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8410ac_compiler_gnu=$ac_cv_c_compiler_gnu 8411 8412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8413/* end confdefs.h. */ 8414 8415int 8416main () 8417{ 8418 8419 ; 8420 return 0; 8421} 8422_ACEOF 8423if ac_fn_c_try_link "$LINENO"; then : 8424 lt_cv_cc_needs_belf=yes 8425else 8426 lt_cv_cc_needs_belf=no 8427fi 8428rm -f core conftest.err conftest.$ac_objext \ 8429 conftest$ac_exeext conftest.$ac_ext 8430 ac_ext=c 8431ac_cpp='$CPP $CPPFLAGS' 8432ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8433ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8434ac_compiler_gnu=$ac_cv_c_compiler_gnu 8435 8436fi 8437{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 8438$as_echo "$lt_cv_cc_needs_belf" >&6; } 8439 if test yes != "$lt_cv_cc_needs_belf"; then 8440 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 8441 CFLAGS=$SAVE_CFLAGS 8442 fi 8443 ;; 8444*-*solaris*) 8445 # Find out what ABI is being produced by ac_compile, and set linker 8446 # options accordingly. 8447 echo 'int i;' > conftest.$ac_ext 8448 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8449 (eval $ac_compile) 2>&5 8450 ac_status=$? 8451 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8452 test $ac_status = 0; }; then 8453 case `/usr/bin/file conftest.o` in 8454 *64-bit*) 8455 case $lt_cv_prog_gnu_ld in 8456 yes*) 8457 case $host in 8458 i?86-*-solaris*|x86_64-*-solaris*) 8459 LD="${LD-ld} -m elf_x86_64" 8460 ;; 8461 sparc*-*-solaris*) 8462 LD="${LD-ld} -m elf64_sparc" 8463 ;; 8464 esac 8465 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. 8466 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then 8467 LD=${LD-ld}_sol2 8468 fi 8469 ;; 8470 *) 8471 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 8472 LD="${LD-ld} -64" 8473 fi 8474 ;; 8475 esac 8476 ;; 8477 esac 8478 fi 8479 rm -rf conftest* 8480 ;; 8481esac 8482 8483need_locks=$enable_libtool_lock 8484 8485if test -n "$ac_tool_prefix"; then 8486 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 8487set dummy ${ac_tool_prefix}mt; ac_word=$2 8488{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8489$as_echo_n "checking for $ac_word... " >&6; } 8490if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : 8491 $as_echo_n "(cached) " >&6 8492else 8493 if test -n "$MANIFEST_TOOL"; then 8494 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 8495else 8496as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8497for as_dir in $PATH 8498do 8499 IFS=$as_save_IFS 8500 test -z "$as_dir" && as_dir=. 8501 for ac_exec_ext in '' $ac_executable_extensions; do 8502 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8503 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 8504 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8505 break 2 8506 fi 8507done 8508 done 8509IFS=$as_save_IFS 8510 8511fi 8512fi 8513MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 8514if test -n "$MANIFEST_TOOL"; then 8515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 8516$as_echo "$MANIFEST_TOOL" >&6; } 8517else 8518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8519$as_echo "no" >&6; } 8520fi 8521 8522 8523fi 8524if test -z "$ac_cv_prog_MANIFEST_TOOL"; then 8525 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 8526 # Extract the first word of "mt", so it can be a program name with args. 8527set dummy mt; ac_word=$2 8528{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8529$as_echo_n "checking for $ac_word... " >&6; } 8530if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : 8531 $as_echo_n "(cached) " >&6 8532else 8533 if test -n "$ac_ct_MANIFEST_TOOL"; then 8534 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 8535else 8536as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8537for as_dir in $PATH 8538do 8539 IFS=$as_save_IFS 8540 test -z "$as_dir" && as_dir=. 8541 for ac_exec_ext in '' $ac_executable_extensions; do 8542 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8543 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 8544 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8545 break 2 8546 fi 8547done 8548 done 8549IFS=$as_save_IFS 8550 8551fi 8552fi 8553ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 8554if test -n "$ac_ct_MANIFEST_TOOL"; then 8555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 8556$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } 8557else 8558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8559$as_echo "no" >&6; } 8560fi 8561 8562 if test "x$ac_ct_MANIFEST_TOOL" = x; then 8563 MANIFEST_TOOL=":" 8564 else 8565 case $cross_compiling:$ac_tool_warned in 8566yes:) 8567{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8568$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8569ac_tool_warned=yes ;; 8570esac 8571 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL 8572 fi 8573else 8574 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" 8575fi 8576 8577test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 8578{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 8579$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 8580if ${lt_cv_path_mainfest_tool+:} false; then : 8581 $as_echo_n "(cached) " >&6 8582else 8583 lt_cv_path_mainfest_tool=no 8584 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 8585 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out 8586 cat conftest.err >&5 8587 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 8588 lt_cv_path_mainfest_tool=yes 8589 fi 8590 rm -f conftest* 8591fi 8592{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 8593$as_echo "$lt_cv_path_mainfest_tool" >&6; } 8594if test yes != "$lt_cv_path_mainfest_tool"; then 8595 MANIFEST_TOOL=: 8596fi 8597 8598 8599 8600 8601 8602 8603 case $host_os in 8604 rhapsody* | darwin*) 8605 if test -n "$ac_tool_prefix"; then 8606 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 8607set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 8608{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8609$as_echo_n "checking for $ac_word... " >&6; } 8610if ${ac_cv_prog_DSYMUTIL+:} false; then : 8611 $as_echo_n "(cached) " >&6 8612else 8613 if test -n "$DSYMUTIL"; then 8614 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 8615else 8616as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8617for as_dir in $PATH 8618do 8619 IFS=$as_save_IFS 8620 test -z "$as_dir" && as_dir=. 8621 for ac_exec_ext in '' $ac_executable_extensions; do 8622 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8623 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 8624 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8625 break 2 8626 fi 8627done 8628 done 8629IFS=$as_save_IFS 8630 8631fi 8632fi 8633DSYMUTIL=$ac_cv_prog_DSYMUTIL 8634if test -n "$DSYMUTIL"; then 8635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 8636$as_echo "$DSYMUTIL" >&6; } 8637else 8638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8639$as_echo "no" >&6; } 8640fi 8641 8642 8643fi 8644if test -z "$ac_cv_prog_DSYMUTIL"; then 8645 ac_ct_DSYMUTIL=$DSYMUTIL 8646 # Extract the first word of "dsymutil", so it can be a program name with args. 8647set dummy dsymutil; ac_word=$2 8648{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8649$as_echo_n "checking for $ac_word... " >&6; } 8650if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : 8651 $as_echo_n "(cached) " >&6 8652else 8653 if test -n "$ac_ct_DSYMUTIL"; then 8654 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 8655else 8656as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8657for as_dir in $PATH 8658do 8659 IFS=$as_save_IFS 8660 test -z "$as_dir" && as_dir=. 8661 for ac_exec_ext in '' $ac_executable_extensions; do 8662 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8663 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 8664 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8665 break 2 8666 fi 8667done 8668 done 8669IFS=$as_save_IFS 8670 8671fi 8672fi 8673ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 8674if test -n "$ac_ct_DSYMUTIL"; then 8675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 8676$as_echo "$ac_ct_DSYMUTIL" >&6; } 8677else 8678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8679$as_echo "no" >&6; } 8680fi 8681 8682 if test "x$ac_ct_DSYMUTIL" = x; then 8683 DSYMUTIL=":" 8684 else 8685 case $cross_compiling:$ac_tool_warned in 8686yes:) 8687{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8688$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8689ac_tool_warned=yes ;; 8690esac 8691 DSYMUTIL=$ac_ct_DSYMUTIL 8692 fi 8693else 8694 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 8695fi 8696 8697 if test -n "$ac_tool_prefix"; then 8698 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 8699set dummy ${ac_tool_prefix}nmedit; ac_word=$2 8700{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8701$as_echo_n "checking for $ac_word... " >&6; } 8702if ${ac_cv_prog_NMEDIT+:} false; then : 8703 $as_echo_n "(cached) " >&6 8704else 8705 if test -n "$NMEDIT"; then 8706 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 8707else 8708as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8709for as_dir in $PATH 8710do 8711 IFS=$as_save_IFS 8712 test -z "$as_dir" && as_dir=. 8713 for ac_exec_ext in '' $ac_executable_extensions; do 8714 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8715 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 8716 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8717 break 2 8718 fi 8719done 8720 done 8721IFS=$as_save_IFS 8722 8723fi 8724fi 8725NMEDIT=$ac_cv_prog_NMEDIT 8726if test -n "$NMEDIT"; then 8727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 8728$as_echo "$NMEDIT" >&6; } 8729else 8730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8731$as_echo "no" >&6; } 8732fi 8733 8734 8735fi 8736if test -z "$ac_cv_prog_NMEDIT"; then 8737 ac_ct_NMEDIT=$NMEDIT 8738 # Extract the first word of "nmedit", so it can be a program name with args. 8739set dummy nmedit; ac_word=$2 8740{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8741$as_echo_n "checking for $ac_word... " >&6; } 8742if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : 8743 $as_echo_n "(cached) " >&6 8744else 8745 if test -n "$ac_ct_NMEDIT"; then 8746 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 8747else 8748as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8749for as_dir in $PATH 8750do 8751 IFS=$as_save_IFS 8752 test -z "$as_dir" && as_dir=. 8753 for ac_exec_ext in '' $ac_executable_extensions; do 8754 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8755 ac_cv_prog_ac_ct_NMEDIT="nmedit" 8756 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8757 break 2 8758 fi 8759done 8760 done 8761IFS=$as_save_IFS 8762 8763fi 8764fi 8765ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 8766if test -n "$ac_ct_NMEDIT"; then 8767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 8768$as_echo "$ac_ct_NMEDIT" >&6; } 8769else 8770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8771$as_echo "no" >&6; } 8772fi 8773 8774 if test "x$ac_ct_NMEDIT" = x; then 8775 NMEDIT=":" 8776 else 8777 case $cross_compiling:$ac_tool_warned in 8778yes:) 8779{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8780$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8781ac_tool_warned=yes ;; 8782esac 8783 NMEDIT=$ac_ct_NMEDIT 8784 fi 8785else 8786 NMEDIT="$ac_cv_prog_NMEDIT" 8787fi 8788 8789 if test -n "$ac_tool_prefix"; then 8790 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 8791set dummy ${ac_tool_prefix}lipo; ac_word=$2 8792{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8793$as_echo_n "checking for $ac_word... " >&6; } 8794if ${ac_cv_prog_LIPO+:} false; then : 8795 $as_echo_n "(cached) " >&6 8796else 8797 if test -n "$LIPO"; then 8798 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 8799else 8800as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8801for as_dir in $PATH 8802do 8803 IFS=$as_save_IFS 8804 test -z "$as_dir" && as_dir=. 8805 for ac_exec_ext in '' $ac_executable_extensions; do 8806 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8807 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 8808 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8809 break 2 8810 fi 8811done 8812 done 8813IFS=$as_save_IFS 8814 8815fi 8816fi 8817LIPO=$ac_cv_prog_LIPO 8818if test -n "$LIPO"; then 8819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 8820$as_echo "$LIPO" >&6; } 8821else 8822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8823$as_echo "no" >&6; } 8824fi 8825 8826 8827fi 8828if test -z "$ac_cv_prog_LIPO"; then 8829 ac_ct_LIPO=$LIPO 8830 # Extract the first word of "lipo", so it can be a program name with args. 8831set dummy lipo; ac_word=$2 8832{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8833$as_echo_n "checking for $ac_word... " >&6; } 8834if ${ac_cv_prog_ac_ct_LIPO+:} false; then : 8835 $as_echo_n "(cached) " >&6 8836else 8837 if test -n "$ac_ct_LIPO"; then 8838 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 8839else 8840as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8841for as_dir in $PATH 8842do 8843 IFS=$as_save_IFS 8844 test -z "$as_dir" && as_dir=. 8845 for ac_exec_ext in '' $ac_executable_extensions; do 8846 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8847 ac_cv_prog_ac_ct_LIPO="lipo" 8848 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8849 break 2 8850 fi 8851done 8852 done 8853IFS=$as_save_IFS 8854 8855fi 8856fi 8857ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 8858if test -n "$ac_ct_LIPO"; then 8859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 8860$as_echo "$ac_ct_LIPO" >&6; } 8861else 8862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8863$as_echo "no" >&6; } 8864fi 8865 8866 if test "x$ac_ct_LIPO" = x; then 8867 LIPO=":" 8868 else 8869 case $cross_compiling:$ac_tool_warned in 8870yes:) 8871{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8872$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8873ac_tool_warned=yes ;; 8874esac 8875 LIPO=$ac_ct_LIPO 8876 fi 8877else 8878 LIPO="$ac_cv_prog_LIPO" 8879fi 8880 8881 if test -n "$ac_tool_prefix"; then 8882 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 8883set dummy ${ac_tool_prefix}otool; ac_word=$2 8884{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8885$as_echo_n "checking for $ac_word... " >&6; } 8886if ${ac_cv_prog_OTOOL+:} false; then : 8887 $as_echo_n "(cached) " >&6 8888else 8889 if test -n "$OTOOL"; then 8890 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 8891else 8892as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8893for as_dir in $PATH 8894do 8895 IFS=$as_save_IFS 8896 test -z "$as_dir" && as_dir=. 8897 for ac_exec_ext in '' $ac_executable_extensions; do 8898 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8899 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 8900 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8901 break 2 8902 fi 8903done 8904 done 8905IFS=$as_save_IFS 8906 8907fi 8908fi 8909OTOOL=$ac_cv_prog_OTOOL 8910if test -n "$OTOOL"; then 8911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 8912$as_echo "$OTOOL" >&6; } 8913else 8914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8915$as_echo "no" >&6; } 8916fi 8917 8918 8919fi 8920if test -z "$ac_cv_prog_OTOOL"; then 8921 ac_ct_OTOOL=$OTOOL 8922 # Extract the first word of "otool", so it can be a program name with args. 8923set dummy otool; ac_word=$2 8924{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8925$as_echo_n "checking for $ac_word... " >&6; } 8926if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : 8927 $as_echo_n "(cached) " >&6 8928else 8929 if test -n "$ac_ct_OTOOL"; then 8930 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 8931else 8932as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8933for as_dir in $PATH 8934do 8935 IFS=$as_save_IFS 8936 test -z "$as_dir" && as_dir=. 8937 for ac_exec_ext in '' $ac_executable_extensions; do 8938 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8939 ac_cv_prog_ac_ct_OTOOL="otool" 8940 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8941 break 2 8942 fi 8943done 8944 done 8945IFS=$as_save_IFS 8946 8947fi 8948fi 8949ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 8950if test -n "$ac_ct_OTOOL"; then 8951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 8952$as_echo "$ac_ct_OTOOL" >&6; } 8953else 8954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8955$as_echo "no" >&6; } 8956fi 8957 8958 if test "x$ac_ct_OTOOL" = x; then 8959 OTOOL=":" 8960 else 8961 case $cross_compiling:$ac_tool_warned in 8962yes:) 8963{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8964$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8965ac_tool_warned=yes ;; 8966esac 8967 OTOOL=$ac_ct_OTOOL 8968 fi 8969else 8970 OTOOL="$ac_cv_prog_OTOOL" 8971fi 8972 8973 if test -n "$ac_tool_prefix"; then 8974 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 8975set dummy ${ac_tool_prefix}otool64; ac_word=$2 8976{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8977$as_echo_n "checking for $ac_word... " >&6; } 8978if ${ac_cv_prog_OTOOL64+:} false; then : 8979 $as_echo_n "(cached) " >&6 8980else 8981 if test -n "$OTOOL64"; then 8982 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 8983else 8984as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8985for as_dir in $PATH 8986do 8987 IFS=$as_save_IFS 8988 test -z "$as_dir" && as_dir=. 8989 for ac_exec_ext in '' $ac_executable_extensions; do 8990 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8991 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 8992 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8993 break 2 8994 fi 8995done 8996 done 8997IFS=$as_save_IFS 8998 8999fi 9000fi 9001OTOOL64=$ac_cv_prog_OTOOL64 9002if test -n "$OTOOL64"; then 9003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 9004$as_echo "$OTOOL64" >&6; } 9005else 9006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9007$as_echo "no" >&6; } 9008fi 9009 9010 9011fi 9012if test -z "$ac_cv_prog_OTOOL64"; then 9013 ac_ct_OTOOL64=$OTOOL64 9014 # Extract the first word of "otool64", so it can be a program name with args. 9015set dummy otool64; ac_word=$2 9016{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9017$as_echo_n "checking for $ac_word... " >&6; } 9018if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : 9019 $as_echo_n "(cached) " >&6 9020else 9021 if test -n "$ac_ct_OTOOL64"; then 9022 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 9023else 9024as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9025for as_dir in $PATH 9026do 9027 IFS=$as_save_IFS 9028 test -z "$as_dir" && as_dir=. 9029 for ac_exec_ext in '' $ac_executable_extensions; do 9030 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9031 ac_cv_prog_ac_ct_OTOOL64="otool64" 9032 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9033 break 2 9034 fi 9035done 9036 done 9037IFS=$as_save_IFS 9038 9039fi 9040fi 9041ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 9042if test -n "$ac_ct_OTOOL64"; then 9043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 9044$as_echo "$ac_ct_OTOOL64" >&6; } 9045else 9046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9047$as_echo "no" >&6; } 9048fi 9049 9050 if test "x$ac_ct_OTOOL64" = x; then 9051 OTOOL64=":" 9052 else 9053 case $cross_compiling:$ac_tool_warned in 9054yes:) 9055{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 9056$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 9057ac_tool_warned=yes ;; 9058esac 9059 OTOOL64=$ac_ct_OTOOL64 9060 fi 9061else 9062 OTOOL64="$ac_cv_prog_OTOOL64" 9063fi 9064 9065 9066 9067 9068 9069 9070 9071 9072 9073 9074 9075 9076 9077 9078 9079 9080 9081 9082 9083 9084 9085 9086 9087 9088 9089 9090 9091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 9092$as_echo_n "checking for -single_module linker flag... " >&6; } 9093if ${lt_cv_apple_cc_single_mod+:} false; then : 9094 $as_echo_n "(cached) " >&6 9095else 9096 lt_cv_apple_cc_single_mod=no 9097 if test -z "$LT_MULTI_MODULE"; then 9098 # By default we will add the -single_module flag. You can override 9099 # by either setting the environment variable LT_MULTI_MODULE 9100 # non-empty at configure time, or by adding -multi_module to the 9101 # link flags. 9102 rm -rf libconftest.dylib* 9103 echo "int foo(void){return 1;}" > conftest.c 9104 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 9105-dynamiclib -Wl,-single_module conftest.c" >&5 9106 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 9107 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 9108 _lt_result=$? 9109 # If there is a non-empty error log, and "single_module" 9110 # appears in it, assume the flag caused a linker warning 9111 if test -s conftest.err && $GREP single_module conftest.err; then 9112 cat conftest.err >&5 9113 # Otherwise, if the output was created with a 0 exit code from 9114 # the compiler, it worked. 9115 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then 9116 lt_cv_apple_cc_single_mod=yes 9117 else 9118 cat conftest.err >&5 9119 fi 9120 rm -rf libconftest.dylib* 9121 rm -f conftest.* 9122 fi 9123fi 9124{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 9125$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 9126 9127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 9128$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 9129if ${lt_cv_ld_exported_symbols_list+:} false; then : 9130 $as_echo_n "(cached) " >&6 9131else 9132 lt_cv_ld_exported_symbols_list=no 9133 save_LDFLAGS=$LDFLAGS 9134 echo "_main" > conftest.sym 9135 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 9136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9137/* end confdefs.h. */ 9138 9139int 9140main () 9141{ 9142 9143 ; 9144 return 0; 9145} 9146_ACEOF 9147if ac_fn_c_try_link "$LINENO"; then : 9148 lt_cv_ld_exported_symbols_list=yes 9149else 9150 lt_cv_ld_exported_symbols_list=no 9151fi 9152rm -f core conftest.err conftest.$ac_objext \ 9153 conftest$ac_exeext conftest.$ac_ext 9154 LDFLAGS=$save_LDFLAGS 9155 9156fi 9157{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 9158$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 9159 9160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 9161$as_echo_n "checking for -force_load linker flag... " >&6; } 9162if ${lt_cv_ld_force_load+:} false; then : 9163 $as_echo_n "(cached) " >&6 9164else 9165 lt_cv_ld_force_load=no 9166 cat > conftest.c << _LT_EOF 9167int forced_loaded() { return 2;} 9168_LT_EOF 9169 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 9170 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 9171 echo "$AR cru libconftest.a conftest.o" >&5 9172 $AR cru libconftest.a conftest.o 2>&5 9173 echo "$RANLIB libconftest.a" >&5 9174 $RANLIB libconftest.a 2>&5 9175 cat > conftest.c << _LT_EOF 9176int main() { return 0;} 9177_LT_EOF 9178 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 9179 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 9180 _lt_result=$? 9181 if test -s conftest.err && $GREP force_load conftest.err; then 9182 cat conftest.err >&5 9183 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then 9184 lt_cv_ld_force_load=yes 9185 else 9186 cat conftest.err >&5 9187 fi 9188 rm -f conftest.err libconftest.a conftest conftest.c 9189 rm -rf conftest.dSYM 9190 9191fi 9192{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 9193$as_echo "$lt_cv_ld_force_load" >&6; } 9194 case $host_os in 9195 rhapsody* | darwin1.[012]) 9196 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; 9197 darwin1.*) 9198 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 9199 darwin*) # darwin 5.x on 9200 # if running on 10.5 or later, the deployment target defaults 9201 # to the OS version, if on x86, and 10.4, the deployment 9202 # target defaults to 10.4. Don't you love it? 9203 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 9204 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 9205 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 9206 10.[012][,.]*) 9207 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 9208 10.*) 9209 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 9210 esac 9211 ;; 9212 esac 9213 if test yes = "$lt_cv_apple_cc_single_mod"; then 9214 _lt_dar_single_mod='$single_module' 9215 fi 9216 if test yes = "$lt_cv_ld_exported_symbols_list"; then 9217 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym' 9218 else 9219 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib' 9220 fi 9221 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then 9222 _lt_dsymutil='~$DSYMUTIL $lib || :' 9223 else 9224 _lt_dsymutil= 9225 fi 9226 ;; 9227 esac 9228 9229# func_munge_path_list VARIABLE PATH 9230# ----------------------------------- 9231# VARIABLE is name of variable containing _space_ separated list of 9232# directories to be munged by the contents of PATH, which is string 9233# having a format: 9234# "DIR[:DIR]:" 9235# string "DIR[ DIR]" will be prepended to VARIABLE 9236# ":DIR[:DIR]" 9237# string "DIR[ DIR]" will be appended to VARIABLE 9238# "DIRP[:DIRP]::[DIRA:]DIRA" 9239# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 9240# "DIRA[ DIRA]" will be appended to VARIABLE 9241# "DIR[:DIR]" 9242# VARIABLE will be replaced by "DIR[ DIR]" 9243func_munge_path_list () 9244{ 9245 case x$2 in 9246 x) 9247 ;; 9248 *:) 9249 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 9250 ;; 9251 x:*) 9252 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 9253 ;; 9254 *::*) 9255 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 9256 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 9257 ;; 9258 *) 9259 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 9260 ;; 9261 esac 9262} 9263 9264{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 9265$as_echo_n "checking for ANSI C header files... " >&6; } 9266if ${ac_cv_header_stdc+:} false; then : 9267 $as_echo_n "(cached) " >&6 9268else 9269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9270/* end confdefs.h. */ 9271#include <stdlib.h> 9272#include <stdarg.h> 9273#include <string.h> 9274#include <float.h> 9275 9276int 9277main () 9278{ 9279 9280 ; 9281 return 0; 9282} 9283_ACEOF 9284if ac_fn_c_try_compile "$LINENO"; then : 9285 ac_cv_header_stdc=yes 9286else 9287 ac_cv_header_stdc=no 9288fi 9289rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9290 9291if test $ac_cv_header_stdc = yes; then 9292 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 9293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9294/* end confdefs.h. */ 9295#include <string.h> 9296 9297_ACEOF 9298if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 9299 $EGREP "memchr" >/dev/null 2>&1; then : 9300 9301else 9302 ac_cv_header_stdc=no 9303fi 9304rm -f conftest* 9305 9306fi 9307 9308if test $ac_cv_header_stdc = yes; then 9309 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 9310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9311/* end confdefs.h. */ 9312#include <stdlib.h> 9313 9314_ACEOF 9315if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 9316 $EGREP "free" >/dev/null 2>&1; then : 9317 9318else 9319 ac_cv_header_stdc=no 9320fi 9321rm -f conftest* 9322 9323fi 9324 9325if test $ac_cv_header_stdc = yes; then 9326 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 9327 if test "$cross_compiling" = yes; then : 9328 : 9329else 9330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9331/* end confdefs.h. */ 9332#include <ctype.h> 9333#include <stdlib.h> 9334#if ((' ' & 0x0FF) == 0x020) 9335# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 9336# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 9337#else 9338# define ISLOWER(c) \ 9339 (('a' <= (c) && (c) <= 'i') \ 9340 || ('j' <= (c) && (c) <= 'r') \ 9341 || ('s' <= (c) && (c) <= 'z')) 9342# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 9343#endif 9344 9345#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 9346int 9347main () 9348{ 9349 int i; 9350 for (i = 0; i < 256; i++) 9351 if (XOR (islower (i), ISLOWER (i)) 9352 || toupper (i) != TOUPPER (i)) 9353 return 2; 9354 return 0; 9355} 9356_ACEOF 9357if ac_fn_c_try_run "$LINENO"; then : 9358 9359else 9360 ac_cv_header_stdc=no 9361fi 9362rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 9363 conftest.$ac_objext conftest.beam conftest.$ac_ext 9364fi 9365 9366fi 9367fi 9368{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 9369$as_echo "$ac_cv_header_stdc" >&6; } 9370if test $ac_cv_header_stdc = yes; then 9371 9372$as_echo "#define STDC_HEADERS 1" >>confdefs.h 9373 9374fi 9375 9376# On IRIX 5.3, sys/types and inttypes.h are conflicting. 9377for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 9378 inttypes.h stdint.h unistd.h 9379do : 9380 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 9381ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 9382" 9383if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 9384 cat >>confdefs.h <<_ACEOF 9385#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 9386_ACEOF 9387 9388fi 9389 9390done 9391 9392 9393for ac_header in dlfcn.h 9394do : 9395 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 9396" 9397if test "x$ac_cv_header_dlfcn_h" = xyes; then : 9398 cat >>confdefs.h <<_ACEOF 9399#define HAVE_DLFCN_H 1 9400_ACEOF 9401 9402fi 9403 9404done 9405 9406 9407 9408 9409func_stripname_cnf () 9410{ 9411 case $2 in 9412 .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;; 9413 *) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;; 9414 esac 9415} # func_stripname_cnf 9416 9417 9418 9419 9420 9421# Set options 9422 9423 9424 9425 enable_dlopen=no 9426 9427 9428 9429 # Check whether --enable-shared was given. 9430if test "${enable_shared+set}" = set; then : 9431 enableval=$enable_shared; p=${PACKAGE-default} 9432 case $enableval in 9433 yes) enable_shared=yes ;; 9434 no) enable_shared=no ;; 9435 *) 9436 enable_shared=no 9437 # Look at the argument we got. We use all the common list separators. 9438 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 9439 for pkg in $enableval; do 9440 IFS=$lt_save_ifs 9441 if test "X$pkg" = "X$p"; then 9442 enable_shared=yes 9443 fi 9444 done 9445 IFS=$lt_save_ifs 9446 ;; 9447 esac 9448else 9449 enable_shared=yes 9450fi 9451 9452 9453 9454 9455 9456 9457 9458 9459 9460 # Check whether --enable-static was given. 9461if test "${enable_static+set}" = set; then : 9462 enableval=$enable_static; p=${PACKAGE-default} 9463 case $enableval in 9464 yes) enable_static=yes ;; 9465 no) enable_static=no ;; 9466 *) 9467 enable_static=no 9468 # Look at the argument we got. We use all the common list separators. 9469 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 9470 for pkg in $enableval; do 9471 IFS=$lt_save_ifs 9472 if test "X$pkg" = "X$p"; then 9473 enable_static=yes 9474 fi 9475 done 9476 IFS=$lt_save_ifs 9477 ;; 9478 esac 9479else 9480 enable_static=yes 9481fi 9482 9483 9484 9485 9486 9487 9488 9489 9490 9491 9492# Check whether --with-pic was given. 9493if test "${with_pic+set}" = set; then : 9494 withval=$with_pic; lt_p=${PACKAGE-default} 9495 case $withval in 9496 yes|no) pic_mode=$withval ;; 9497 *) 9498 pic_mode=default 9499 # Look at the argument we got. We use all the common list separators. 9500 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 9501 for lt_pkg in $withval; do 9502 IFS=$lt_save_ifs 9503 if test "X$lt_pkg" = "X$lt_p"; then 9504 pic_mode=yes 9505 fi 9506 done 9507 IFS=$lt_save_ifs 9508 ;; 9509 esac 9510else 9511 pic_mode=default 9512fi 9513 9514 9515 9516 9517 9518 9519 9520 9521 # Check whether --enable-fast-install was given. 9522if test "${enable_fast_install+set}" = set; then : 9523 enableval=$enable_fast_install; p=${PACKAGE-default} 9524 case $enableval in 9525 yes) enable_fast_install=yes ;; 9526 no) enable_fast_install=no ;; 9527 *) 9528 enable_fast_install=no 9529 # Look at the argument we got. We use all the common list separators. 9530 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 9531 for pkg in $enableval; do 9532 IFS=$lt_save_ifs 9533 if test "X$pkg" = "X$p"; then 9534 enable_fast_install=yes 9535 fi 9536 done 9537 IFS=$lt_save_ifs 9538 ;; 9539 esac 9540else 9541 enable_fast_install=yes 9542fi 9543 9544 9545 9546 9547 9548 9549 9550 9551 shared_archive_member_spec= 9552case $host,$enable_shared in 9553power*-*-aix[5-9]*,yes) 9554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5 9555$as_echo_n "checking which variant of shared library versioning to provide... " >&6; } 9556 9557# Check whether --with-aix-soname was given. 9558if test "${with_aix_soname+set}" = set; then : 9559 withval=$with_aix_soname; case $withval in 9560 aix|svr4|both) 9561 ;; 9562 *) 9563 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5 9564 ;; 9565 esac 9566 lt_cv_with_aix_soname=$with_aix_soname 9567else 9568 if ${lt_cv_with_aix_soname+:} false; then : 9569 $as_echo_n "(cached) " >&6 9570else 9571 lt_cv_with_aix_soname=aix 9572fi 9573 9574 with_aix_soname=$lt_cv_with_aix_soname 9575fi 9576 9577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5 9578$as_echo "$with_aix_soname" >&6; } 9579 if test aix != "$with_aix_soname"; then 9580 # For the AIX way of multilib, we name the shared archive member 9581 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', 9582 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File. 9583 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag, 9584 # the AIX toolchain works better with OBJECT_MODE set (default 32). 9585 if test 64 = "${OBJECT_MODE-32}"; then 9586 shared_archive_member_spec=shr_64 9587 else 9588 shared_archive_member_spec=shr 9589 fi 9590 fi 9591 ;; 9592*) 9593 with_aix_soname=aix 9594 ;; 9595esac 9596 9597 9598 9599 9600 9601 9602 9603 9604 9605 9606# This can be used to rebuild libtool when needed 9607LIBTOOL_DEPS=$ltmain 9608 9609# Always use our own libtool. 9610LIBTOOL='$(SHELL) $(top_builddir)/libtool' 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 9637 9638 9639 9640 9641test -z "$LN_S" && LN_S="ln -s" 9642 9643 9644 9645 9646 9647 9648 9649 9650 9651 9652 9653 9654 9655 9656if test -n "${ZSH_VERSION+set}"; then 9657 setopt NO_GLOB_SUBST 9658fi 9659 9660{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 9661$as_echo_n "checking for objdir... " >&6; } 9662if ${lt_cv_objdir+:} false; then : 9663 $as_echo_n "(cached) " >&6 9664else 9665 rm -f .libs 2>/dev/null 9666mkdir .libs 2>/dev/null 9667if test -d .libs; then 9668 lt_cv_objdir=.libs 9669else 9670 # MS-DOS does not allow filenames that begin with a dot. 9671 lt_cv_objdir=_libs 9672fi 9673rmdir .libs 2>/dev/null 9674fi 9675{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 9676$as_echo "$lt_cv_objdir" >&6; } 9677objdir=$lt_cv_objdir 9678 9679 9680 9681 9682 9683cat >>confdefs.h <<_ACEOF 9684#define LT_OBJDIR "$lt_cv_objdir/" 9685_ACEOF 9686 9687 9688 9689 9690case $host_os in 9691aix3*) 9692 # AIX sometimes has problems with the GCC collect2 program. For some 9693 # reason, if we set the COLLECT_NAMES environment variable, the problems 9694 # vanish in a puff of smoke. 9695 if test set != "${COLLECT_NAMES+set}"; then 9696 COLLECT_NAMES= 9697 export COLLECT_NAMES 9698 fi 9699 ;; 9700esac 9701 9702# Global variables: 9703ofile=libtool 9704can_build_shared=yes 9705 9706# All known linkers require a '.a' archive for static linking (except MSVC, 9707# which needs '.lib'). 9708libext=a 9709 9710with_gnu_ld=$lt_cv_prog_gnu_ld 9711 9712old_CC=$CC 9713old_CFLAGS=$CFLAGS 9714 9715# Set sane defaults for various variables 9716test -z "$CC" && CC=cc 9717test -z "$LTCC" && LTCC=$CC 9718test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 9719test -z "$LD" && LD=ld 9720test -z "$ac_objext" && ac_objext=o 9721 9722func_cc_basename $compiler 9723cc_basename=$func_cc_basename_result 9724 9725 9726# Only perform the check for file, if the check method requires it 9727test -z "$MAGIC_CMD" && MAGIC_CMD=file 9728case $deplibs_check_method in 9729file_magic*) 9730 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 9731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 9732$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 9733if ${lt_cv_path_MAGIC_CMD+:} false; then : 9734 $as_echo_n "(cached) " >&6 9735else 9736 case $MAGIC_CMD in 9737[\\/*] | ?:[\\/]*) 9738 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 9739 ;; 9740*) 9741 lt_save_MAGIC_CMD=$MAGIC_CMD 9742 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 9743 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 9744 for ac_dir in $ac_dummy; do 9745 IFS=$lt_save_ifs 9746 test -z "$ac_dir" && ac_dir=. 9747 if test -f "$ac_dir/${ac_tool_prefix}file"; then 9748 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file" 9749 if test -n "$file_magic_test_file"; then 9750 case $deplibs_check_method in 9751 "file_magic "*) 9752 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 9753 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 9754 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 9755 $EGREP "$file_magic_regex" > /dev/null; then 9756 : 9757 else 9758 cat <<_LT_EOF 1>&2 9759 9760*** Warning: the command libtool uses to detect shared libraries, 9761*** $file_magic_cmd, produces output that libtool cannot recognize. 9762*** The result is that libtool may fail to recognize shared libraries 9763*** as such. This will affect the creation of libtool libraries that 9764*** depend on shared libraries, but programs linked with such libtool 9765*** libraries will work regardless of this problem. Nevertheless, you 9766*** may want to report the problem to your system manager and/or to 9767*** bug-libtool@gnu.org 9768 9769_LT_EOF 9770 fi ;; 9771 esac 9772 fi 9773 break 9774 fi 9775 done 9776 IFS=$lt_save_ifs 9777 MAGIC_CMD=$lt_save_MAGIC_CMD 9778 ;; 9779esac 9780fi 9781 9782MAGIC_CMD=$lt_cv_path_MAGIC_CMD 9783if test -n "$MAGIC_CMD"; then 9784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 9785$as_echo "$MAGIC_CMD" >&6; } 9786else 9787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9788$as_echo "no" >&6; } 9789fi 9790 9791 9792 9793 9794 9795if test -z "$lt_cv_path_MAGIC_CMD"; then 9796 if test -n "$ac_tool_prefix"; then 9797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 9798$as_echo_n "checking for file... " >&6; } 9799if ${lt_cv_path_MAGIC_CMD+:} false; then : 9800 $as_echo_n "(cached) " >&6 9801else 9802 case $MAGIC_CMD in 9803[\\/*] | ?:[\\/]*) 9804 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 9805 ;; 9806*) 9807 lt_save_MAGIC_CMD=$MAGIC_CMD 9808 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 9809 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 9810 for ac_dir in $ac_dummy; do 9811 IFS=$lt_save_ifs 9812 test -z "$ac_dir" && ac_dir=. 9813 if test -f "$ac_dir/file"; then 9814 lt_cv_path_MAGIC_CMD=$ac_dir/"file" 9815 if test -n "$file_magic_test_file"; then 9816 case $deplibs_check_method in 9817 "file_magic "*) 9818 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 9819 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 9820 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 9821 $EGREP "$file_magic_regex" > /dev/null; then 9822 : 9823 else 9824 cat <<_LT_EOF 1>&2 9825 9826*** Warning: the command libtool uses to detect shared libraries, 9827*** $file_magic_cmd, produces output that libtool cannot recognize. 9828*** The result is that libtool may fail to recognize shared libraries 9829*** as such. This will affect the creation of libtool libraries that 9830*** depend on shared libraries, but programs linked with such libtool 9831*** libraries will work regardless of this problem. Nevertheless, you 9832*** may want to report the problem to your system manager and/or to 9833*** bug-libtool@gnu.org 9834 9835_LT_EOF 9836 fi ;; 9837 esac 9838 fi 9839 break 9840 fi 9841 done 9842 IFS=$lt_save_ifs 9843 MAGIC_CMD=$lt_save_MAGIC_CMD 9844 ;; 9845esac 9846fi 9847 9848MAGIC_CMD=$lt_cv_path_MAGIC_CMD 9849if test -n "$MAGIC_CMD"; then 9850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 9851$as_echo "$MAGIC_CMD" >&6; } 9852else 9853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9854$as_echo "no" >&6; } 9855fi 9856 9857 9858 else 9859 MAGIC_CMD=: 9860 fi 9861fi 9862 9863 fi 9864 ;; 9865esac 9866 9867# Use C for the default configuration in the libtool script 9868 9869lt_save_CC=$CC 9870ac_ext=c 9871ac_cpp='$CPP $CPPFLAGS' 9872ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 9873ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 9874ac_compiler_gnu=$ac_cv_c_compiler_gnu 9875 9876 9877# Source file extension for C test sources. 9878ac_ext=c 9879 9880# Object file extension for compiled C test sources. 9881objext=o 9882objext=$objext 9883 9884# Code to be used in simple compile tests 9885lt_simple_compile_test_code="int some_variable = 0;" 9886 9887# Code to be used in simple link tests 9888lt_simple_link_test_code='int main(){return(0);}' 9889 9890 9891 9892 9893 9894 9895 9896# If no C compiler was specified, use CC. 9897LTCC=${LTCC-"$CC"} 9898 9899# If no C compiler flags were specified, use CFLAGS. 9900LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 9901 9902# Allow CC to be a program name with arguments. 9903compiler=$CC 9904 9905# Save the default compiler, since it gets overwritten when the other 9906# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 9907compiler_DEFAULT=$CC 9908 9909# save warnings/boilerplate of simple test code 9910ac_outfile=conftest.$ac_objext 9911echo "$lt_simple_compile_test_code" >conftest.$ac_ext 9912eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 9913_lt_compiler_boilerplate=`cat conftest.err` 9914$RM conftest* 9915 9916ac_outfile=conftest.$ac_objext 9917echo "$lt_simple_link_test_code" >conftest.$ac_ext 9918eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 9919_lt_linker_boilerplate=`cat conftest.err` 9920$RM -r conftest* 9921 9922 9923## CAVEAT EMPTOR: 9924## There is no encapsulation within the following macros, do not change 9925## the running order or otherwise move them around unless you know exactly 9926## what you are doing... 9927if test -n "$compiler"; then 9928 9929lt_prog_compiler_no_builtin_flag= 9930 9931if test yes = "$GCC"; then 9932 case $cc_basename in 9933 nvcc*) 9934 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 9935 *) 9936 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 9937 esac 9938 9939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 9940$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 9941if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 9942 $as_echo_n "(cached) " >&6 9943else 9944 lt_cv_prog_compiler_rtti_exceptions=no 9945 ac_outfile=conftest.$ac_objext 9946 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9947 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment 9948 # Insert the option either (1) after the last *FLAGS variable, or 9949 # (2) before a word containing "conftest.", or (3) at the end. 9950 # Note that $ac_compile itself does not contain backslashes and begins 9951 # with a dollar sign (not a hyphen), so the echo should work correctly. 9952 # The option is referenced via a variable to avoid confusing sed. 9953 lt_compile=`echo "$ac_compile" | $SED \ 9954 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9955 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9956 -e 's:$: $lt_compiler_flag:'` 9957 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9958 (eval "$lt_compile" 2>conftest.err) 9959 ac_status=$? 9960 cat conftest.err >&5 9961 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9962 if (exit $ac_status) && test -s "$ac_outfile"; then 9963 # The compiler can only warn and ignore the option if not recognized 9964 # So say no if there are warnings other than the usual output. 9965 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 9966 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9967 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 9968 lt_cv_prog_compiler_rtti_exceptions=yes 9969 fi 9970 fi 9971 $RM conftest* 9972 9973fi 9974{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 9975$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 9976 9977if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then 9978 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 9979else 9980 : 9981fi 9982 9983fi 9984 9985 9986 9987 9988 9989 9990 lt_prog_compiler_wl= 9991lt_prog_compiler_pic= 9992lt_prog_compiler_static= 9993 9994 9995 if test yes = "$GCC"; then 9996 lt_prog_compiler_wl='-Wl,' 9997 lt_prog_compiler_static='-static' 9998 9999 case $host_os in 10000 aix*) 10001 # All AIX code is PIC. 10002 if test ia64 = "$host_cpu"; then 10003 # AIX 5 now supports IA64 processor 10004 lt_prog_compiler_static='-Bstatic' 10005 fi 10006 lt_prog_compiler_pic='-fPIC' 10007 ;; 10008 10009 amigaos*) 10010 case $host_cpu in 10011 powerpc) 10012 # see comment about AmigaOS4 .so support 10013 lt_prog_compiler_pic='-fPIC' 10014 ;; 10015 m68k) 10016 # FIXME: we need at least 68020 code to build shared libraries, but 10017 # adding the '-m68020' flag to GCC prevents building anything better, 10018 # like '-m68040'. 10019 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 10020 ;; 10021 esac 10022 ;; 10023 10024 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 10025 # PIC is the default for these OSes. 10026 ;; 10027 10028 mingw* | cygwin* | pw32* | os2* | cegcc*) 10029 # This hack is so that the source file can tell whether it is being 10030 # built for inclusion in a dll (and should export symbols for example). 10031 # Although the cygwin gcc ignores -fPIC, still need this for old-style 10032 # (--disable-auto-import) libraries 10033 lt_prog_compiler_pic='-DDLL_EXPORT' 10034 case $host_os in 10035 os2*) 10036 lt_prog_compiler_static='$wl-static' 10037 ;; 10038 esac 10039 ;; 10040 10041 darwin* | rhapsody*) 10042 # PIC is the default on this platform 10043 # Common symbols not allowed in MH_DYLIB files 10044 lt_prog_compiler_pic='-fno-common' 10045 ;; 10046 10047 haiku*) 10048 # PIC is the default for Haiku. 10049 # The "-static" flag exists, but is broken. 10050 lt_prog_compiler_static= 10051 ;; 10052 10053 hpux*) 10054 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 10055 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 10056 # sets the default TLS model and affects inlining. 10057 case $host_cpu in 10058 hppa*64*) 10059 # +Z the default 10060 ;; 10061 *) 10062 lt_prog_compiler_pic='-fPIC' 10063 ;; 10064 esac 10065 ;; 10066 10067 interix[3-9]*) 10068 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 10069 # Instead, we relocate shared libraries at runtime. 10070 ;; 10071 10072 msdosdjgpp*) 10073 # Just because we use GCC doesn't mean we suddenly get shared libraries 10074 # on systems that don't support them. 10075 lt_prog_compiler_can_build_shared=no 10076 enable_shared=no 10077 ;; 10078 10079 *nto* | *qnx*) 10080 # QNX uses GNU C++, but need to define -shared option too, otherwise 10081 # it will coredump. 10082 lt_prog_compiler_pic='-fPIC -shared' 10083 ;; 10084 10085 sysv4*MP*) 10086 if test -d /usr/nec; then 10087 lt_prog_compiler_pic=-Kconform_pic 10088 fi 10089 ;; 10090 10091 *) 10092 lt_prog_compiler_pic='-fPIC' 10093 ;; 10094 esac 10095 10096 case $cc_basename in 10097 nvcc*) # Cuda Compiler Driver 2.2 10098 lt_prog_compiler_wl='-Xlinker ' 10099 if test -n "$lt_prog_compiler_pic"; then 10100 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" 10101 fi 10102 ;; 10103 esac 10104 else 10105 # PORTME Check for flag to pass linker flags through the system compiler. 10106 case $host_os in 10107 aix*) 10108 lt_prog_compiler_wl='-Wl,' 10109 if test ia64 = "$host_cpu"; then 10110 # AIX 5 now supports IA64 processor 10111 lt_prog_compiler_static='-Bstatic' 10112 else 10113 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 10114 fi 10115 ;; 10116 10117 darwin* | rhapsody*) 10118 # PIC is the default on this platform 10119 # Common symbols not allowed in MH_DYLIB files 10120 lt_prog_compiler_pic='-fno-common' 10121 case $cc_basename in 10122 nagfor*) 10123 # NAG Fortran compiler 10124 lt_prog_compiler_wl='-Wl,-Wl,,' 10125 lt_prog_compiler_pic='-PIC' 10126 lt_prog_compiler_static='-Bstatic' 10127 ;; 10128 esac 10129 ;; 10130 10131 mingw* | cygwin* | pw32* | os2* | cegcc*) 10132 # This hack is so that the source file can tell whether it is being 10133 # built for inclusion in a dll (and should export symbols for example). 10134 lt_prog_compiler_pic='-DDLL_EXPORT' 10135 case $host_os in 10136 os2*) 10137 lt_prog_compiler_static='$wl-static' 10138 ;; 10139 esac 10140 ;; 10141 10142 hpux9* | hpux10* | hpux11*) 10143 lt_prog_compiler_wl='-Wl,' 10144 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 10145 # not for PA HP-UX. 10146 case $host_cpu in 10147 hppa*64*|ia64*) 10148 # +Z the default 10149 ;; 10150 *) 10151 lt_prog_compiler_pic='+Z' 10152 ;; 10153 esac 10154 # Is there a better lt_prog_compiler_static that works with the bundled CC? 10155 lt_prog_compiler_static='$wl-a ${wl}archive' 10156 ;; 10157 10158 irix5* | irix6* | nonstopux*) 10159 lt_prog_compiler_wl='-Wl,' 10160 # PIC (with -KPIC) is the default. 10161 lt_prog_compiler_static='-non_shared' 10162 ;; 10163 10164 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 10165 case $cc_basename in 10166 # old Intel for x86_64, which still supported -KPIC. 10167 ecc*) 10168 lt_prog_compiler_wl='-Wl,' 10169 lt_prog_compiler_pic='-KPIC' 10170 lt_prog_compiler_static='-static' 10171 ;; 10172 # icc used to be incompatible with GCC. 10173 # ICC 10 doesn't accept -KPIC any more. 10174 icc* | ifort*) 10175 lt_prog_compiler_wl='-Wl,' 10176 lt_prog_compiler_pic='-fPIC' 10177 lt_prog_compiler_static='-static' 10178 ;; 10179 # Lahey Fortran 8.1. 10180 lf95*) 10181 lt_prog_compiler_wl='-Wl,' 10182 lt_prog_compiler_pic='--shared' 10183 lt_prog_compiler_static='--static' 10184 ;; 10185 nagfor*) 10186 # NAG Fortran compiler 10187 lt_prog_compiler_wl='-Wl,-Wl,,' 10188 lt_prog_compiler_pic='-PIC' 10189 lt_prog_compiler_static='-Bstatic' 10190 ;; 10191 tcc*) 10192 # Fabrice Bellard et al's Tiny C Compiler 10193 lt_prog_compiler_wl='-Wl,' 10194 lt_prog_compiler_pic='-fPIC' 10195 lt_prog_compiler_static='-static' 10196 ;; 10197 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 10198 # Portland Group compilers (*not* the Pentium gcc compiler, 10199 # which looks to be a dead project) 10200 lt_prog_compiler_wl='-Wl,' 10201 lt_prog_compiler_pic='-fpic' 10202 lt_prog_compiler_static='-Bstatic' 10203 ;; 10204 ccc*) 10205 lt_prog_compiler_wl='-Wl,' 10206 # All Alpha code is PIC. 10207 lt_prog_compiler_static='-non_shared' 10208 ;; 10209 xl* | bgxl* | bgf* | mpixl*) 10210 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 10211 lt_prog_compiler_wl='-Wl,' 10212 lt_prog_compiler_pic='-qpic' 10213 lt_prog_compiler_static='-qstaticlink' 10214 ;; 10215 *) 10216 case `$CC -V 2>&1 | sed 5q` in 10217 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) 10218 # Sun Fortran 8.3 passes all unrecognized flags to the linker 10219 lt_prog_compiler_pic='-KPIC' 10220 lt_prog_compiler_static='-Bstatic' 10221 lt_prog_compiler_wl='' 10222 ;; 10223 *Sun\ F* | *Sun*Fortran*) 10224 lt_prog_compiler_pic='-KPIC' 10225 lt_prog_compiler_static='-Bstatic' 10226 lt_prog_compiler_wl='-Qoption ld ' 10227 ;; 10228 *Sun\ C*) 10229 # Sun C 5.9 10230 lt_prog_compiler_pic='-KPIC' 10231 lt_prog_compiler_static='-Bstatic' 10232 lt_prog_compiler_wl='-Wl,' 10233 ;; 10234 *Intel*\ [CF]*Compiler*) 10235 lt_prog_compiler_wl='-Wl,' 10236 lt_prog_compiler_pic='-fPIC' 10237 lt_prog_compiler_static='-static' 10238 ;; 10239 *Portland\ Group*) 10240 lt_prog_compiler_wl='-Wl,' 10241 lt_prog_compiler_pic='-fpic' 10242 lt_prog_compiler_static='-Bstatic' 10243 ;; 10244 esac 10245 ;; 10246 esac 10247 ;; 10248 10249 newsos6) 10250 lt_prog_compiler_pic='-KPIC' 10251 lt_prog_compiler_static='-Bstatic' 10252 ;; 10253 10254 *nto* | *qnx*) 10255 # QNX uses GNU C++, but need to define -shared option too, otherwise 10256 # it will coredump. 10257 lt_prog_compiler_pic='-fPIC -shared' 10258 ;; 10259 10260 osf3* | osf4* | osf5*) 10261 lt_prog_compiler_wl='-Wl,' 10262 # All OSF/1 code is PIC. 10263 lt_prog_compiler_static='-non_shared' 10264 ;; 10265 10266 rdos*) 10267 lt_prog_compiler_static='-non_shared' 10268 ;; 10269 10270 solaris*) 10271 lt_prog_compiler_pic='-KPIC' 10272 lt_prog_compiler_static='-Bstatic' 10273 case $cc_basename in 10274 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 10275 lt_prog_compiler_wl='-Qoption ld ';; 10276 *) 10277 lt_prog_compiler_wl='-Wl,';; 10278 esac 10279 ;; 10280 10281 sunos4*) 10282 lt_prog_compiler_wl='-Qoption ld ' 10283 lt_prog_compiler_pic='-PIC' 10284 lt_prog_compiler_static='-Bstatic' 10285 ;; 10286 10287 sysv4 | sysv4.2uw2* | sysv4.3*) 10288 lt_prog_compiler_wl='-Wl,' 10289 lt_prog_compiler_pic='-KPIC' 10290 lt_prog_compiler_static='-Bstatic' 10291 ;; 10292 10293 sysv4*MP*) 10294 if test -d /usr/nec; then 10295 lt_prog_compiler_pic='-Kconform_pic' 10296 lt_prog_compiler_static='-Bstatic' 10297 fi 10298 ;; 10299 10300 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 10301 lt_prog_compiler_wl='-Wl,' 10302 lt_prog_compiler_pic='-KPIC' 10303 lt_prog_compiler_static='-Bstatic' 10304 ;; 10305 10306 unicos*) 10307 lt_prog_compiler_wl='-Wl,' 10308 lt_prog_compiler_can_build_shared=no 10309 ;; 10310 10311 uts4*) 10312 lt_prog_compiler_pic='-pic' 10313 lt_prog_compiler_static='-Bstatic' 10314 ;; 10315 10316 *) 10317 lt_prog_compiler_can_build_shared=no 10318 ;; 10319 esac 10320 fi 10321 10322case $host_os in 10323 # For platforms that do not support PIC, -DPIC is meaningless: 10324 *djgpp*) 10325 lt_prog_compiler_pic= 10326 ;; 10327 *) 10328 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 10329 ;; 10330esac 10331 10332{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 10333$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 10334if ${lt_cv_prog_compiler_pic+:} false; then : 10335 $as_echo_n "(cached) " >&6 10336else 10337 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 10338fi 10339{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 10340$as_echo "$lt_cv_prog_compiler_pic" >&6; } 10341lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 10342 10343# 10344# Check to make sure the PIC flag actually works. 10345# 10346if test -n "$lt_prog_compiler_pic"; then 10347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 10348$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 10349if ${lt_cv_prog_compiler_pic_works+:} false; then : 10350 $as_echo_n "(cached) " >&6 10351else 10352 lt_cv_prog_compiler_pic_works=no 10353 ac_outfile=conftest.$ac_objext 10354 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10355 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment 10356 # Insert the option either (1) after the last *FLAGS variable, or 10357 # (2) before a word containing "conftest.", or (3) at the end. 10358 # Note that $ac_compile itself does not contain backslashes and begins 10359 # with a dollar sign (not a hyphen), so the echo should work correctly. 10360 # The option is referenced via a variable to avoid confusing sed. 10361 lt_compile=`echo "$ac_compile" | $SED \ 10362 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 10363 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 10364 -e 's:$: $lt_compiler_flag:'` 10365 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 10366 (eval "$lt_compile" 2>conftest.err) 10367 ac_status=$? 10368 cat conftest.err >&5 10369 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10370 if (exit $ac_status) && test -s "$ac_outfile"; then 10371 # The compiler can only warn and ignore the option if not recognized 10372 # So say no if there are warnings other than the usual output. 10373 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 10374 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 10375 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 10376 lt_cv_prog_compiler_pic_works=yes 10377 fi 10378 fi 10379 $RM conftest* 10380 10381fi 10382{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 10383$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 10384 10385if test yes = "$lt_cv_prog_compiler_pic_works"; then 10386 case $lt_prog_compiler_pic in 10387 "" | " "*) ;; 10388 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 10389 esac 10390else 10391 lt_prog_compiler_pic= 10392 lt_prog_compiler_can_build_shared=no 10393fi 10394 10395fi 10396 10397 10398 10399 10400 10401 10402 10403 10404 10405 10406 10407# 10408# Check to make sure the static flag actually works. 10409# 10410wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 10411{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 10412$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 10413if ${lt_cv_prog_compiler_static_works+:} false; then : 10414 $as_echo_n "(cached) " >&6 10415else 10416 lt_cv_prog_compiler_static_works=no 10417 save_LDFLAGS=$LDFLAGS 10418 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 10419 echo "$lt_simple_link_test_code" > conftest.$ac_ext 10420 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 10421 # The linker can only warn and ignore the option if not recognized 10422 # So say no if there are warnings 10423 if test -s conftest.err; then 10424 # Append any errors to the config.log. 10425 cat conftest.err 1>&5 10426 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 10427 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 10428 if diff conftest.exp conftest.er2 >/dev/null; then 10429 lt_cv_prog_compiler_static_works=yes 10430 fi 10431 else 10432 lt_cv_prog_compiler_static_works=yes 10433 fi 10434 fi 10435 $RM -r conftest* 10436 LDFLAGS=$save_LDFLAGS 10437 10438fi 10439{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 10440$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 10441 10442if test yes = "$lt_cv_prog_compiler_static_works"; then 10443 : 10444else 10445 lt_prog_compiler_static= 10446fi 10447 10448 10449 10450 10451 10452 10453 10454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 10455$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 10456if ${lt_cv_prog_compiler_c_o+:} false; then : 10457 $as_echo_n "(cached) " >&6 10458else 10459 lt_cv_prog_compiler_c_o=no 10460 $RM -r conftest 2>/dev/null 10461 mkdir conftest 10462 cd conftest 10463 mkdir out 10464 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10465 10466 lt_compiler_flag="-o out/conftest2.$ac_objext" 10467 # Insert the option either (1) after the last *FLAGS variable, or 10468 # (2) before a word containing "conftest.", or (3) at the end. 10469 # Note that $ac_compile itself does not contain backslashes and begins 10470 # with a dollar sign (not a hyphen), so the echo should work correctly. 10471 lt_compile=`echo "$ac_compile" | $SED \ 10472 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 10473 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 10474 -e 's:$: $lt_compiler_flag:'` 10475 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 10476 (eval "$lt_compile" 2>out/conftest.err) 10477 ac_status=$? 10478 cat out/conftest.err >&5 10479 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10480 if (exit $ac_status) && test -s out/conftest2.$ac_objext 10481 then 10482 # The compiler can only warn and ignore the option if not recognized 10483 # So say no if there are warnings 10484 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 10485 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 10486 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 10487 lt_cv_prog_compiler_c_o=yes 10488 fi 10489 fi 10490 chmod u+w . 2>&5 10491 $RM conftest* 10492 # SGI C++ compiler will create directory out/ii_files/ for 10493 # template instantiation 10494 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 10495 $RM out/* && rmdir out 10496 cd .. 10497 $RM -r conftest 10498 $RM conftest* 10499 10500fi 10501{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 10502$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 10503 10504 10505 10506 10507 10508 10509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 10510$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 10511if ${lt_cv_prog_compiler_c_o+:} false; then : 10512 $as_echo_n "(cached) " >&6 10513else 10514 lt_cv_prog_compiler_c_o=no 10515 $RM -r conftest 2>/dev/null 10516 mkdir conftest 10517 cd conftest 10518 mkdir out 10519 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10520 10521 lt_compiler_flag="-o out/conftest2.$ac_objext" 10522 # Insert the option either (1) after the last *FLAGS variable, or 10523 # (2) before a word containing "conftest.", or (3) at the end. 10524 # Note that $ac_compile itself does not contain backslashes and begins 10525 # with a dollar sign (not a hyphen), so the echo should work correctly. 10526 lt_compile=`echo "$ac_compile" | $SED \ 10527 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 10528 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 10529 -e 's:$: $lt_compiler_flag:'` 10530 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 10531 (eval "$lt_compile" 2>out/conftest.err) 10532 ac_status=$? 10533 cat out/conftest.err >&5 10534 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10535 if (exit $ac_status) && test -s out/conftest2.$ac_objext 10536 then 10537 # The compiler can only warn and ignore the option if not recognized 10538 # So say no if there are warnings 10539 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 10540 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 10541 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 10542 lt_cv_prog_compiler_c_o=yes 10543 fi 10544 fi 10545 chmod u+w . 2>&5 10546 $RM conftest* 10547 # SGI C++ compiler will create directory out/ii_files/ for 10548 # template instantiation 10549 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 10550 $RM out/* && rmdir out 10551 cd .. 10552 $RM -r conftest 10553 $RM conftest* 10554 10555fi 10556{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 10557$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 10558 10559 10560 10561 10562hard_links=nottested 10563if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then 10564 # do not overwrite the value of need_locks provided by the user 10565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 10566$as_echo_n "checking if we can lock with hard links... " >&6; } 10567 hard_links=yes 10568 $RM conftest* 10569 ln conftest.a conftest.b 2>/dev/null && hard_links=no 10570 touch conftest.a 10571 ln conftest.a conftest.b 2>&5 || hard_links=no 10572 ln conftest.a conftest.b 2>/dev/null && hard_links=no 10573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 10574$as_echo "$hard_links" >&6; } 10575 if test no = "$hard_links"; then 10576 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 10577$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} 10578 need_locks=warn 10579 fi 10580else 10581 need_locks=no 10582fi 10583 10584 10585 10586 10587 10588 10589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 10590$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 10591 10592 runpath_var= 10593 allow_undefined_flag= 10594 always_export_symbols=no 10595 archive_cmds= 10596 archive_expsym_cmds= 10597 compiler_needs_object=no 10598 enable_shared_with_static_runtimes=no 10599 export_dynamic_flag_spec= 10600 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 10601 hardcode_automatic=no 10602 hardcode_direct=no 10603 hardcode_direct_absolute=no 10604 hardcode_libdir_flag_spec= 10605 hardcode_libdir_separator= 10606 hardcode_minus_L=no 10607 hardcode_shlibpath_var=unsupported 10608 inherit_rpath=no 10609 link_all_deplibs=unknown 10610 module_cmds= 10611 module_expsym_cmds= 10612 old_archive_from_new_cmds= 10613 old_archive_from_expsyms_cmds= 10614 thread_safe_flag_spec= 10615 whole_archive_flag_spec= 10616 # include_expsyms should be a list of space-separated symbols to be *always* 10617 # included in the symbol list 10618 include_expsyms= 10619 # exclude_expsyms can be an extended regexp of symbols to exclude 10620 # it will be wrapped by ' (' and ')$', so one must not match beginning or 10621 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc', 10622 # as well as any symbol that contains 'd'. 10623 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 10624 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 10625 # platforms (ab)use it in PIC code, but their linkers get confused if 10626 # the symbol is explicitly referenced. Since portable code cannot 10627 # rely on this symbol name, it's probably fine to never include it in 10628 # preloaded symbol tables. 10629 # Exclude shared library initialization/finalization symbols. 10630 extract_expsyms_cmds= 10631 10632 case $host_os in 10633 cygwin* | mingw* | pw32* | cegcc*) 10634 # FIXME: the MSVC++ port hasn't been tested in a loooong time 10635 # When not using gcc, we currently assume that we are using 10636 # Microsoft Visual C++. 10637 if test yes != "$GCC"; then 10638 with_gnu_ld=no 10639 fi 10640 ;; 10641 interix*) 10642 # we just hope/assume this is gcc and not c89 (= MSVC++) 10643 with_gnu_ld=yes 10644 ;; 10645 openbsd* | bitrig*) 10646 with_gnu_ld=no 10647 ;; 10648 esac 10649 10650 ld_shlibs=yes 10651 10652 # On some targets, GNU ld is compatible enough with the native linker 10653 # that we're better off using the native interface for both. 10654 lt_use_gnu_ld_interface=no 10655 if test yes = "$with_gnu_ld"; then 10656 case $host_os in 10657 aix*) 10658 # The AIX port of GNU ld has always aspired to compatibility 10659 # with the native linker. However, as the warning in the GNU ld 10660 # block says, versions before 2.19.5* couldn't really create working 10661 # shared libraries, regardless of the interface used. 10662 case `$LD -v 2>&1` in 10663 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 10664 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 10665 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 10666 *) 10667 lt_use_gnu_ld_interface=yes 10668 ;; 10669 esac 10670 ;; 10671 *) 10672 lt_use_gnu_ld_interface=yes 10673 ;; 10674 esac 10675 fi 10676 10677 if test yes = "$lt_use_gnu_ld_interface"; then 10678 # If archive_cmds runs LD, not CC, wlarc should be empty 10679 wlarc='$wl' 10680 10681 # Set some defaults for GNU ld with shared library support. These 10682 # are reset later if shared libraries are not supported. Putting them 10683 # here allows them to be overridden if necessary. 10684 runpath_var=LD_RUN_PATH 10685 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10686 export_dynamic_flag_spec='$wl--export-dynamic' 10687 # ancient GNU ld didn't support --whole-archive et. al. 10688 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 10689 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 10690 else 10691 whole_archive_flag_spec= 10692 fi 10693 supports_anon_versioning=no 10694 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in 10695 *GNU\ gold*) supports_anon_versioning=yes ;; 10696 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 10697 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 10698 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 10699 *\ 2.11.*) ;; # other 2.11 versions 10700 *) supports_anon_versioning=yes ;; 10701 esac 10702 10703 # See if GNU ld supports shared libraries. 10704 case $host_os in 10705 aix[3-9]*) 10706 # On AIX/PPC, the GNU linker is very broken 10707 if test ia64 != "$host_cpu"; then 10708 ld_shlibs=no 10709 cat <<_LT_EOF 1>&2 10710 10711*** Warning: the GNU linker, at least up to release 2.19, is reported 10712*** to be unable to reliably create shared libraries on AIX. 10713*** Therefore, libtool is disabling shared libraries support. If you 10714*** really care for shared libraries, you may want to install binutils 10715*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 10716*** You will then need to restart the configuration process. 10717 10718_LT_EOF 10719 fi 10720 ;; 10721 10722 amigaos*) 10723 case $host_cpu in 10724 powerpc) 10725 # see comment about AmigaOS4 .so support 10726 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10727 archive_expsym_cmds='' 10728 ;; 10729 m68k) 10730 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)' 10731 hardcode_libdir_flag_spec='-L$libdir' 10732 hardcode_minus_L=yes 10733 ;; 10734 esac 10735 ;; 10736 10737 beos*) 10738 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10739 allow_undefined_flag=unsupported 10740 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 10741 # support --undefined. This deserves some investigation. FIXME 10742 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10743 else 10744 ld_shlibs=no 10745 fi 10746 ;; 10747 10748 cygwin* | mingw* | pw32* | cegcc*) 10749 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 10750 # as there is no search path for DLLs. 10751 hardcode_libdir_flag_spec='-L$libdir' 10752 export_dynamic_flag_spec='$wl--export-all-symbols' 10753 allow_undefined_flag=unsupported 10754 always_export_symbols=no 10755 enable_shared_with_static_runtimes=yes 10756 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' 10757 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 10758 10759 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 10760 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 10761 # If the export-symbols file already is a .def file, use it as 10762 # is; otherwise, prepend EXPORTS... 10763 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 10764 cp $export_symbols $output_objdir/$soname.def; 10765 else 10766 echo EXPORTS > $output_objdir/$soname.def; 10767 cat $export_symbols >> $output_objdir/$soname.def; 10768 fi~ 10769 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 10770 else 10771 ld_shlibs=no 10772 fi 10773 ;; 10774 10775 haiku*) 10776 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10777 link_all_deplibs=yes 10778 ;; 10779 10780 os2*) 10781 hardcode_libdir_flag_spec='-L$libdir' 10782 hardcode_minus_L=yes 10783 allow_undefined_flag=unsupported 10784 shrext_cmds=.dll 10785 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10786 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10787 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10788 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10789 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 10790 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10791 emximp -o $lib $output_objdir/$libname.def' 10792 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10793 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10794 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10795 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10796 prefix_cmds="$SED"~ 10797 if test EXPORTS = "`$SED 1q $export_symbols`"; then 10798 prefix_cmds="$prefix_cmds -e 1d"; 10799 fi~ 10800 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 10801 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 10802 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10803 emximp -o $lib $output_objdir/$libname.def' 10804 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 10805 enable_shared_with_static_runtimes=yes 10806 ;; 10807 10808 interix[3-9]*) 10809 hardcode_direct=no 10810 hardcode_shlibpath_var=no 10811 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 10812 export_dynamic_flag_spec='$wl-E' 10813 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 10814 # Instead, shared libraries are loaded at an image base (0x10000000 by 10815 # default) and relocated if they conflict, which is a slow very memory 10816 # consuming and fragmenting process. To avoid this, we pick a random, 10817 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 10818 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 10819 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 10820 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' 10821 ;; 10822 10823 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 10824 tmp_diet=no 10825 if test linux-dietlibc = "$host_os"; then 10826 case $cc_basename in 10827 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 10828 esac 10829 fi 10830 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 10831 && test no = "$tmp_diet" 10832 then 10833 tmp_addflag=' $pic_flag' 10834 tmp_sharedflag='-shared' 10835 case $cc_basename,$host_cpu in 10836 pgcc*) # Portland Group C compiler 10837 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' 10838 tmp_addflag=' $pic_flag' 10839 ;; 10840 pgf77* | pgf90* | pgf95* | pgfortran*) 10841 # Portland Group f77 and f90 compilers 10842 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' 10843 tmp_addflag=' $pic_flag -Mnomain' ;; 10844 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 10845 tmp_addflag=' -i_dynamic' ;; 10846 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 10847 tmp_addflag=' -i_dynamic -nofor_main' ;; 10848 ifc* | ifort*) # Intel Fortran compiler 10849 tmp_addflag=' -nofor_main' ;; 10850 lf95*) # Lahey Fortran 8.1 10851 whole_archive_flag_spec= 10852 tmp_sharedflag='--shared' ;; 10853 nagfor*) # NAGFOR 5.3 10854 tmp_sharedflag='-Wl,-shared' ;; 10855 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 10856 tmp_sharedflag='-qmkshrobj' 10857 tmp_addflag= ;; 10858 nvcc*) # Cuda Compiler Driver 2.2 10859 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' 10860 compiler_needs_object=yes 10861 ;; 10862 esac 10863 case `$CC -V 2>&1 | sed 5q` in 10864 *Sun\ C*) # Sun C 5.9 10865 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' 10866 compiler_needs_object=yes 10867 tmp_sharedflag='-G' ;; 10868 *Sun\ F*) # Sun Fortran 8.3 10869 tmp_sharedflag='-G' ;; 10870 esac 10871 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10872 10873 if test yes = "$supports_anon_versioning"; then 10874 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 10875 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 10876 echo "local: *; };" >> $output_objdir/$libname.ver~ 10877 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' 10878 fi 10879 10880 case $cc_basename in 10881 tcc*) 10882 export_dynamic_flag_spec='-rdynamic' 10883 ;; 10884 xlf* | bgf* | bgxlf* | mpixlf*) 10885 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 10886 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 10887 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10888 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 10889 if test yes = "$supports_anon_versioning"; then 10890 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 10891 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 10892 echo "local: *; };" >> $output_objdir/$libname.ver~ 10893 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 10894 fi 10895 ;; 10896 esac 10897 else 10898 ld_shlibs=no 10899 fi 10900 ;; 10901 10902 netbsd*) 10903 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10904 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 10905 wlarc= 10906 else 10907 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10908 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 10909 fi 10910 ;; 10911 10912 solaris*) 10913 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 10914 ld_shlibs=no 10915 cat <<_LT_EOF 1>&2 10916 10917*** Warning: The releases 2.8.* of the GNU linker cannot reliably 10918*** create shared libraries on Solaris systems. Therefore, libtool 10919*** is disabling shared libraries support. We urge you to upgrade GNU 10920*** binutils to release 2.9.1 or newer. Another option is to modify 10921*** your PATH or compiler configuration so that the native linker is 10922*** used, and then restart. 10923 10924_LT_EOF 10925 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10926 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10927 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 10928 else 10929 ld_shlibs=no 10930 fi 10931 ;; 10932 10933 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 10934 case `$LD -v 2>&1` in 10935 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 10936 ld_shlibs=no 10937 cat <<_LT_EOF 1>&2 10938 10939*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot 10940*** reliably create shared libraries on SCO systems. Therefore, libtool 10941*** is disabling shared libraries support. We urge you to upgrade GNU 10942*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 10943*** your PATH or compiler configuration so that the native linker is 10944*** used, and then restart. 10945 10946_LT_EOF 10947 ;; 10948 *) 10949 # For security reasons, it is highly recommended that you always 10950 # use absolute paths for naming shared libraries, and exclude the 10951 # DT_RUNPATH tag from executables and libraries. But doing so 10952 # requires that you compile everything twice, which is a pain. 10953 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10954 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10955 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10956 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 10957 else 10958 ld_shlibs=no 10959 fi 10960 ;; 10961 esac 10962 ;; 10963 10964 sunos4*) 10965 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 10966 wlarc= 10967 hardcode_direct=yes 10968 hardcode_shlibpath_var=no 10969 ;; 10970 10971 *) 10972 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10973 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10974 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 10975 else 10976 ld_shlibs=no 10977 fi 10978 ;; 10979 esac 10980 10981 if test no = "$ld_shlibs"; then 10982 runpath_var= 10983 hardcode_libdir_flag_spec= 10984 export_dynamic_flag_spec= 10985 whole_archive_flag_spec= 10986 fi 10987 else 10988 # PORTME fill in a description of your system's linker (not GNU ld) 10989 case $host_os in 10990 aix3*) 10991 allow_undefined_flag=unsupported 10992 always_export_symbols=yes 10993 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' 10994 # Note: this linker hardcodes the directories in LIBPATH if there 10995 # are no directories specified by -L. 10996 hardcode_minus_L=yes 10997 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then 10998 # Neither direct hardcoding nor static linking is supported with a 10999 # broken collect2. 11000 hardcode_direct=unsupported 11001 fi 11002 ;; 11003 11004 aix[4-9]*) 11005 if test ia64 = "$host_cpu"; then 11006 # On IA64, the linker does run time linking by default, so we don't 11007 # have to do anything special. 11008 aix_use_runtimelinking=no 11009 exp_sym_flag='-Bexport' 11010 no_entry_flag= 11011 else 11012 # If we're using GNU nm, then we don't want the "-C" option. 11013 # -C means demangle to GNU nm, but means don't demangle to AIX nm. 11014 # Without the "-l" option, or with the "-B" option, AIX nm treats 11015 # weak defined symbols like other global defined symbols, whereas 11016 # GNU nm marks them as "W". 11017 # While the 'weak' keyword is ignored in the Export File, we need 11018 # it in the Import File for the 'aix-soname' feature, so we have 11019 # to replace the "-B" option with "-P" for AIX nm. 11020 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 11021 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' 11022 else 11023 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' 11024 fi 11025 aix_use_runtimelinking=no 11026 11027 # Test if we are trying to use run time linking or normal 11028 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 11029 # have runtime linking enabled, and use it for executables. 11030 # For shared libraries, we enable/disable runtime linking 11031 # depending on the kind of the shared library created - 11032 # when "with_aix_soname,aix_use_runtimelinking" is: 11033 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables 11034 # "aix,yes" lib.so shared, rtl:yes, for executables 11035 # lib.a static archive 11036 # "both,no" lib.so.V(shr.o) shared, rtl:yes 11037 # lib.a(lib.so.V) shared, rtl:no, for executables 11038 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables 11039 # lib.a(lib.so.V) shared, rtl:no 11040 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables 11041 # lib.a static archive 11042 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 11043 for ld_flag in $LDFLAGS; do 11044 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then 11045 aix_use_runtimelinking=yes 11046 break 11047 fi 11048 done 11049 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then 11050 # With aix-soname=svr4, we create the lib.so.V shared archives only, 11051 # so we don't have lib.a shared libs to link our executables. 11052 # We have to force runtime linking in this case. 11053 aix_use_runtimelinking=yes 11054 LDFLAGS="$LDFLAGS -Wl,-brtl" 11055 fi 11056 ;; 11057 esac 11058 11059 exp_sym_flag='-bexport' 11060 no_entry_flag='-bnoentry' 11061 fi 11062 11063 # When large executables or shared objects are built, AIX ld can 11064 # have problems creating the table of contents. If linking a library 11065 # or program results in "error TOC overflow" add -mminimal-toc to 11066 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 11067 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 11068 11069 archive_cmds='' 11070 hardcode_direct=yes 11071 hardcode_direct_absolute=yes 11072 hardcode_libdir_separator=':' 11073 link_all_deplibs=yes 11074 file_list_spec='$wl-f,' 11075 case $with_aix_soname,$aix_use_runtimelinking in 11076 aix,*) ;; # traditional, no import file 11077 svr4,* | *,yes) # use import file 11078 # The Import File defines what to hardcode. 11079 hardcode_direct=no 11080 hardcode_direct_absolute=no 11081 ;; 11082 esac 11083 11084 if test yes = "$GCC"; then 11085 case $host_os in aix4.[012]|aix4.[012].*) 11086 # We only want to do this on AIX 4.2 and lower, the check 11087 # below for broken collect2 doesn't work under 4.3+ 11088 collect2name=`$CC -print-prog-name=collect2` 11089 if test -f "$collect2name" && 11090 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 11091 then 11092 # We have reworked collect2 11093 : 11094 else 11095 # We have old collect2 11096 hardcode_direct=unsupported 11097 # It fails to find uninstalled libraries when the uninstalled 11098 # path is not listed in the libpath. Setting hardcode_minus_L 11099 # to unsupported forces relinking 11100 hardcode_minus_L=yes 11101 hardcode_libdir_flag_spec='-L$libdir' 11102 hardcode_libdir_separator= 11103 fi 11104 ;; 11105 esac 11106 shared_flag='-shared' 11107 if test yes = "$aix_use_runtimelinking"; then 11108 shared_flag="$shared_flag "'$wl-G' 11109 fi 11110 # Need to ensure runtime linking is disabled for the traditional 11111 # shared library, or the linker may eventually find shared libraries 11112 # /with/ Import File - we do not want to mix them. 11113 shared_flag_aix='-shared' 11114 shared_flag_svr4='-shared $wl-G' 11115 else 11116 # not using gcc 11117 if test ia64 = "$host_cpu"; then 11118 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 11119 # chokes on -Wl,-G. The following line is correct: 11120 shared_flag='-G' 11121 else 11122 if test yes = "$aix_use_runtimelinking"; then 11123 shared_flag='$wl-G' 11124 else 11125 shared_flag='$wl-bM:SRE' 11126 fi 11127 shared_flag_aix='$wl-bM:SRE' 11128 shared_flag_svr4='$wl-G' 11129 fi 11130 fi 11131 11132 export_dynamic_flag_spec='$wl-bexpall' 11133 # It seems that -bexpall does not export symbols beginning with 11134 # underscore (_), so it is better to generate a list of symbols to export. 11135 always_export_symbols=yes 11136 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then 11137 # Warning - without using the other runtime loading flags (-brtl), 11138 # -berok will link without error, but may produce a broken library. 11139 allow_undefined_flag='-berok' 11140 # Determine the default libpath from the value encoded in an 11141 # empty executable. 11142 if test set = "${lt_cv_aix_libpath+set}"; then 11143 aix_libpath=$lt_cv_aix_libpath 11144else 11145 if ${lt_cv_aix_libpath_+:} false; then : 11146 $as_echo_n "(cached) " >&6 11147else 11148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11149/* end confdefs.h. */ 11150 11151int 11152main () 11153{ 11154 11155 ; 11156 return 0; 11157} 11158_ACEOF 11159if ac_fn_c_try_link "$LINENO"; then : 11160 11161 lt_aix_libpath_sed=' 11162 /Import File Strings/,/^$/ { 11163 /^0/ { 11164 s/^0 *\([^ ]*\) *$/\1/ 11165 p 11166 } 11167 }' 11168 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 11169 # Check for a 64-bit object if we didn't find anything. 11170 if test -z "$lt_cv_aix_libpath_"; then 11171 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 11172 fi 11173fi 11174rm -f core conftest.err conftest.$ac_objext \ 11175 conftest$ac_exeext conftest.$ac_ext 11176 if test -z "$lt_cv_aix_libpath_"; then 11177 lt_cv_aix_libpath_=/usr/lib:/lib 11178 fi 11179 11180fi 11181 11182 aix_libpath=$lt_cv_aix_libpath_ 11183fi 11184 11185 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 11186 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 11187 else 11188 if test ia64 = "$host_cpu"; then 11189 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib' 11190 allow_undefined_flag="-z nodefs" 11191 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" 11192 else 11193 # Determine the default libpath from the value encoded in an 11194 # empty executable. 11195 if test set = "${lt_cv_aix_libpath+set}"; then 11196 aix_libpath=$lt_cv_aix_libpath 11197else 11198 if ${lt_cv_aix_libpath_+:} false; then : 11199 $as_echo_n "(cached) " >&6 11200else 11201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11202/* end confdefs.h. */ 11203 11204int 11205main () 11206{ 11207 11208 ; 11209 return 0; 11210} 11211_ACEOF 11212if ac_fn_c_try_link "$LINENO"; then : 11213 11214 lt_aix_libpath_sed=' 11215 /Import File Strings/,/^$/ { 11216 /^0/ { 11217 s/^0 *\([^ ]*\) *$/\1/ 11218 p 11219 } 11220 }' 11221 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 11222 # Check for a 64-bit object if we didn't find anything. 11223 if test -z "$lt_cv_aix_libpath_"; then 11224 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 11225 fi 11226fi 11227rm -f core conftest.err conftest.$ac_objext \ 11228 conftest$ac_exeext conftest.$ac_ext 11229 if test -z "$lt_cv_aix_libpath_"; then 11230 lt_cv_aix_libpath_=/usr/lib:/lib 11231 fi 11232 11233fi 11234 11235 aix_libpath=$lt_cv_aix_libpath_ 11236fi 11237 11238 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 11239 # Warning - without using the other run time loading flags, 11240 # -berok will link without error, but may produce a broken library. 11241 no_undefined_flag=' $wl-bernotok' 11242 allow_undefined_flag=' $wl-berok' 11243 if test yes = "$with_gnu_ld"; then 11244 # We only use this code for GNU lds that support --whole-archive. 11245 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive' 11246 else 11247 # Exported symbols can be pulled into shared objects from archives 11248 whole_archive_flag_spec='$convenience' 11249 fi 11250 archive_cmds_need_lc=yes 11251 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' 11252 # -brtl affects multiple linker settings, -berok does not and is overridden later 11253 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' 11254 if test svr4 != "$with_aix_soname"; then 11255 # This is similar to how AIX traditionally builds its shared libraries. 11256 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' 11257 fi 11258 if test aix != "$with_aix_soname"; then 11259 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' 11260 else 11261 # used by -dlpreopen to get the symbols 11262 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir' 11263 fi 11264 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d' 11265 fi 11266 fi 11267 ;; 11268 11269 amigaos*) 11270 case $host_cpu in 11271 powerpc) 11272 # see comment about AmigaOS4 .so support 11273 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 11274 archive_expsym_cmds='' 11275 ;; 11276 m68k) 11277 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)' 11278 hardcode_libdir_flag_spec='-L$libdir' 11279 hardcode_minus_L=yes 11280 ;; 11281 esac 11282 ;; 11283 11284 bsdi[45]*) 11285 export_dynamic_flag_spec=-rdynamic 11286 ;; 11287 11288 cygwin* | mingw* | pw32* | cegcc*) 11289 # When not using gcc, we currently assume that we are using 11290 # Microsoft Visual C++. 11291 # hardcode_libdir_flag_spec is actually meaningless, as there is 11292 # no search path for DLLs. 11293 case $cc_basename in 11294 cl*) 11295 # Native MSVC 11296 hardcode_libdir_flag_spec=' ' 11297 allow_undefined_flag=unsupported 11298 always_export_symbols=yes 11299 file_list_spec='@' 11300 # Tell ltmain to make .lib files, not .a files. 11301 libext=lib 11302 # Tell ltmain to make .dll files, not .so files. 11303 shrext_cmds=.dll 11304 # FIXME: Setting linknames here is a bad hack. 11305 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' 11306 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 11307 cp "$export_symbols" "$output_objdir/$soname.def"; 11308 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; 11309 else 11310 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; 11311 fi~ 11312 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 11313 linknames=' 11314 # The linker will not automatically build a static lib if we build a DLL. 11315 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 11316 enable_shared_with_static_runtimes=yes 11317 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 11318 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 11319 # Don't use ranlib 11320 old_postinstall_cmds='chmod 644 $oldlib' 11321 postlink_cmds='lt_outputfile="@OUTPUT@"~ 11322 lt_tool_outputfile="@TOOL_OUTPUT@"~ 11323 case $lt_outputfile in 11324 *.exe|*.EXE) ;; 11325 *) 11326 lt_outputfile=$lt_outputfile.exe 11327 lt_tool_outputfile=$lt_tool_outputfile.exe 11328 ;; 11329 esac~ 11330 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then 11331 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 11332 $RM "$lt_outputfile.manifest"; 11333 fi' 11334 ;; 11335 *) 11336 # Assume MSVC wrapper 11337 hardcode_libdir_flag_spec=' ' 11338 allow_undefined_flag=unsupported 11339 # Tell ltmain to make .lib files, not .a files. 11340 libext=lib 11341 # Tell ltmain to make .dll files, not .so files. 11342 shrext_cmds=.dll 11343 # FIXME: Setting linknames here is a bad hack. 11344 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 11345 # The linker will automatically build a .lib file if we build a DLL. 11346 old_archive_from_new_cmds='true' 11347 # FIXME: Should let the user specify the lib program. 11348 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 11349 enable_shared_with_static_runtimes=yes 11350 ;; 11351 esac 11352 ;; 11353 11354 darwin* | rhapsody*) 11355 11356 11357 archive_cmds_need_lc=no 11358 hardcode_direct=no 11359 hardcode_automatic=yes 11360 hardcode_shlibpath_var=unsupported 11361 if test yes = "$lt_cv_ld_force_load"; then 11362 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\"`' 11363 11364 else 11365 whole_archive_flag_spec='' 11366 fi 11367 link_all_deplibs=yes 11368 allow_undefined_flag=$_lt_dar_allow_undefined 11369 case $cc_basename in 11370 ifort*|nagfor*) _lt_dar_can_shared=yes ;; 11371 *) _lt_dar_can_shared=$GCC ;; 11372 esac 11373 if test yes = "$_lt_dar_can_shared"; then 11374 output_verbose_link_cmd=func_echo_all 11375 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" 11376 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" 11377 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" 11378 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" 11379 11380 else 11381 ld_shlibs=no 11382 fi 11383 11384 ;; 11385 11386 dgux*) 11387 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11388 hardcode_libdir_flag_spec='-L$libdir' 11389 hardcode_shlibpath_var=no 11390 ;; 11391 11392 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 11393 # support. Future versions do this automatically, but an explicit c++rt0.o 11394 # does not break anything, and helps significantly (at the cost of a little 11395 # extra space). 11396 freebsd2.2*) 11397 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 11398 hardcode_libdir_flag_spec='-R$libdir' 11399 hardcode_direct=yes 11400 hardcode_shlibpath_var=no 11401 ;; 11402 11403 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 11404 freebsd2.*) 11405 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 11406 hardcode_direct=yes 11407 hardcode_minus_L=yes 11408 hardcode_shlibpath_var=no 11409 ;; 11410 11411 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 11412 freebsd* | dragonfly*) 11413 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 11414 hardcode_libdir_flag_spec='-R$libdir' 11415 hardcode_direct=yes 11416 hardcode_shlibpath_var=no 11417 ;; 11418 11419 hpux9*) 11420 if test yes = "$GCC"; then 11421 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' 11422 else 11423 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' 11424 fi 11425 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 11426 hardcode_libdir_separator=: 11427 hardcode_direct=yes 11428 11429 # hardcode_minus_L: Not really in the search PATH, 11430 # but as the default location of the library. 11431 hardcode_minus_L=yes 11432 export_dynamic_flag_spec='$wl-E' 11433 ;; 11434 11435 hpux10*) 11436 if test yes,no = "$GCC,$with_gnu_ld"; then 11437 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 11438 else 11439 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 11440 fi 11441 if test no = "$with_gnu_ld"; then 11442 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 11443 hardcode_libdir_separator=: 11444 hardcode_direct=yes 11445 hardcode_direct_absolute=yes 11446 export_dynamic_flag_spec='$wl-E' 11447 # hardcode_minus_L: Not really in the search PATH, 11448 # but as the default location of the library. 11449 hardcode_minus_L=yes 11450 fi 11451 ;; 11452 11453 hpux11*) 11454 if test yes,no = "$GCC,$with_gnu_ld"; then 11455 case $host_cpu in 11456 hppa*64*) 11457 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 11458 ;; 11459 ia64*) 11460 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 11461 ;; 11462 *) 11463 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 11464 ;; 11465 esac 11466 else 11467 case $host_cpu in 11468 hppa*64*) 11469 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 11470 ;; 11471 ia64*) 11472 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 11473 ;; 11474 *) 11475 11476 # Older versions of the 11.00 compiler do not understand -b yet 11477 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 11478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 11479$as_echo_n "checking if $CC understands -b... " >&6; } 11480if ${lt_cv_prog_compiler__b+:} false; then : 11481 $as_echo_n "(cached) " >&6 11482else 11483 lt_cv_prog_compiler__b=no 11484 save_LDFLAGS=$LDFLAGS 11485 LDFLAGS="$LDFLAGS -b" 11486 echo "$lt_simple_link_test_code" > conftest.$ac_ext 11487 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 11488 # The linker can only warn and ignore the option if not recognized 11489 # So say no if there are warnings 11490 if test -s conftest.err; then 11491 # Append any errors to the config.log. 11492 cat conftest.err 1>&5 11493 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 11494 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 11495 if diff conftest.exp conftest.er2 >/dev/null; then 11496 lt_cv_prog_compiler__b=yes 11497 fi 11498 else 11499 lt_cv_prog_compiler__b=yes 11500 fi 11501 fi 11502 $RM -r conftest* 11503 LDFLAGS=$save_LDFLAGS 11504 11505fi 11506{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 11507$as_echo "$lt_cv_prog_compiler__b" >&6; } 11508 11509if test yes = "$lt_cv_prog_compiler__b"; then 11510 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 11511else 11512 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 11513fi 11514 11515 ;; 11516 esac 11517 fi 11518 if test no = "$with_gnu_ld"; then 11519 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 11520 hardcode_libdir_separator=: 11521 11522 case $host_cpu in 11523 hppa*64*|ia64*) 11524 hardcode_direct=no 11525 hardcode_shlibpath_var=no 11526 ;; 11527 *) 11528 hardcode_direct=yes 11529 hardcode_direct_absolute=yes 11530 export_dynamic_flag_spec='$wl-E' 11531 11532 # hardcode_minus_L: Not really in the search PATH, 11533 # but as the default location of the library. 11534 hardcode_minus_L=yes 11535 ;; 11536 esac 11537 fi 11538 ;; 11539 11540 irix5* | irix6* | nonstopux*) 11541 if test yes = "$GCC"; then 11542 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' 11543 # Try to use the -exported_symbol ld option, if it does not 11544 # work, assume that -exports_file does not work either and 11545 # implicitly export all symbols. 11546 # This should be the same for all languages, so no per-tag cache variable. 11547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 11548$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 11549if ${lt_cv_irix_exported_symbol+:} false; then : 11550 $as_echo_n "(cached) " >&6 11551else 11552 save_LDFLAGS=$LDFLAGS 11553 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null" 11554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11555/* end confdefs.h. */ 11556int foo (void) { return 0; } 11557_ACEOF 11558if ac_fn_c_try_link "$LINENO"; then : 11559 lt_cv_irix_exported_symbol=yes 11560else 11561 lt_cv_irix_exported_symbol=no 11562fi 11563rm -f core conftest.err conftest.$ac_objext \ 11564 conftest$ac_exeext conftest.$ac_ext 11565 LDFLAGS=$save_LDFLAGS 11566fi 11567{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 11568$as_echo "$lt_cv_irix_exported_symbol" >&6; } 11569 if test yes = "$lt_cv_irix_exported_symbol"; then 11570 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' 11571 fi 11572 else 11573 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' 11574 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' 11575 fi 11576 archive_cmds_need_lc='no' 11577 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 11578 hardcode_libdir_separator=: 11579 inherit_rpath=yes 11580 link_all_deplibs=yes 11581 ;; 11582 11583 linux*) 11584 case $cc_basename in 11585 tcc*) 11586 # Fabrice Bellard et al's Tiny C Compiler 11587 ld_shlibs=yes 11588 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 11589 ;; 11590 esac 11591 ;; 11592 11593 netbsd*) 11594 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 11595 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 11596 else 11597 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 11598 fi 11599 hardcode_libdir_flag_spec='-R$libdir' 11600 hardcode_direct=yes 11601 hardcode_shlibpath_var=no 11602 ;; 11603 11604 newsos6) 11605 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11606 hardcode_direct=yes 11607 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 11608 hardcode_libdir_separator=: 11609 hardcode_shlibpath_var=no 11610 ;; 11611 11612 *nto* | *qnx*) 11613 ;; 11614 11615 openbsd* | bitrig*) 11616 if test -f /usr/libexec/ld.so; then 11617 hardcode_direct=yes 11618 hardcode_shlibpath_var=no 11619 hardcode_direct_absolute=yes 11620 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 11621 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 11622 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols' 11623 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 11624 export_dynamic_flag_spec='$wl-E' 11625 else 11626 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 11627 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 11628 fi 11629 else 11630 ld_shlibs=no 11631 fi 11632 ;; 11633 11634 os2*) 11635 hardcode_libdir_flag_spec='-L$libdir' 11636 hardcode_minus_L=yes 11637 allow_undefined_flag=unsupported 11638 shrext_cmds=.dll 11639 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 11640 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 11641 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 11642 $ECHO EXPORTS >> $output_objdir/$libname.def~ 11643 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 11644 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 11645 emximp -o $lib $output_objdir/$libname.def' 11646 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 11647 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 11648 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 11649 $ECHO EXPORTS >> $output_objdir/$libname.def~ 11650 prefix_cmds="$SED"~ 11651 if test EXPORTS = "`$SED 1q $export_symbols`"; then 11652 prefix_cmds="$prefix_cmds -e 1d"; 11653 fi~ 11654 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 11655 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 11656 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 11657 emximp -o $lib $output_objdir/$libname.def' 11658 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 11659 enable_shared_with_static_runtimes=yes 11660 ;; 11661 11662 osf3*) 11663 if test yes = "$GCC"; then 11664 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 11665 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' 11666 else 11667 allow_undefined_flag=' -expect_unresolved \*' 11668 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' 11669 fi 11670 archive_cmds_need_lc='no' 11671 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 11672 hardcode_libdir_separator=: 11673 ;; 11674 11675 osf4* | osf5*) # as osf3* with the addition of -msym flag 11676 if test yes = "$GCC"; then 11677 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 11678 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' 11679 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 11680 else 11681 allow_undefined_flag=' -expect_unresolved \*' 11682 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' 11683 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~ 11684 $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' 11685 11686 # Both c and cxx compiler support -rpath directly 11687 hardcode_libdir_flag_spec='-rpath $libdir' 11688 fi 11689 archive_cmds_need_lc='no' 11690 hardcode_libdir_separator=: 11691 ;; 11692 11693 solaris*) 11694 no_undefined_flag=' -z defs' 11695 if test yes = "$GCC"; then 11696 wlarc='$wl' 11697 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 11698 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 11699 $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' 11700 else 11701 case `$CC -V 2>&1` in 11702 *"Compilers 5.0"*) 11703 wlarc='' 11704 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags' 11705 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 11706 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 11707 ;; 11708 *) 11709 wlarc='$wl' 11710 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags' 11711 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 11712 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 11713 ;; 11714 esac 11715 fi 11716 hardcode_libdir_flag_spec='-R$libdir' 11717 hardcode_shlibpath_var=no 11718 case $host_os in 11719 solaris2.[0-5] | solaris2.[0-5].*) ;; 11720 *) 11721 # The compiler driver will combine and reorder linker options, 11722 # but understands '-z linker_flag'. GCC discards it without '$wl', 11723 # but is careful enough not to reorder. 11724 # Supported since Solaris 2.6 (maybe 2.5.1?) 11725 if test yes = "$GCC"; then 11726 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' 11727 else 11728 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 11729 fi 11730 ;; 11731 esac 11732 link_all_deplibs=yes 11733 ;; 11734 11735 sunos4*) 11736 if test sequent = "$host_vendor"; then 11737 # Use $CC to link under sequent, because it throws in some extra .o 11738 # files that make .init and .fini sections work. 11739 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags' 11740 else 11741 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 11742 fi 11743 hardcode_libdir_flag_spec='-L$libdir' 11744 hardcode_direct=yes 11745 hardcode_minus_L=yes 11746 hardcode_shlibpath_var=no 11747 ;; 11748 11749 sysv4) 11750 case $host_vendor in 11751 sni) 11752 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11753 hardcode_direct=yes # is this really true??? 11754 ;; 11755 siemens) 11756 ## LD is ld it makes a PLAMLIB 11757 ## CC just makes a GrossModule. 11758 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 11759 reload_cmds='$CC -r -o $output$reload_objs' 11760 hardcode_direct=no 11761 ;; 11762 motorola) 11763 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11764 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 11765 ;; 11766 esac 11767 runpath_var='LD_RUN_PATH' 11768 hardcode_shlibpath_var=no 11769 ;; 11770 11771 sysv4.3*) 11772 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11773 hardcode_shlibpath_var=no 11774 export_dynamic_flag_spec='-Bexport' 11775 ;; 11776 11777 sysv4*MP*) 11778 if test -d /usr/nec; then 11779 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11780 hardcode_shlibpath_var=no 11781 runpath_var=LD_RUN_PATH 11782 hardcode_runpath_var=yes 11783 ld_shlibs=yes 11784 fi 11785 ;; 11786 11787 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 11788 no_undefined_flag='$wl-z,text' 11789 archive_cmds_need_lc=no 11790 hardcode_shlibpath_var=no 11791 runpath_var='LD_RUN_PATH' 11792 11793 if test yes = "$GCC"; then 11794 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11795 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11796 else 11797 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11798 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11799 fi 11800 ;; 11801 11802 sysv5* | sco3.2v5* | sco5v6*) 11803 # Note: We CANNOT use -z defs as we might desire, because we do not 11804 # link with -lc, and that would cause any symbols used from libc to 11805 # always be unresolved, which means just about no library would 11806 # ever link correctly. If we're not using GNU ld we use -z text 11807 # though, which does catch some bad symbols but isn't as heavy-handed 11808 # as -z defs. 11809 no_undefined_flag='$wl-z,text' 11810 allow_undefined_flag='$wl-z,nodefs' 11811 archive_cmds_need_lc=no 11812 hardcode_shlibpath_var=no 11813 hardcode_libdir_flag_spec='$wl-R,$libdir' 11814 hardcode_libdir_separator=':' 11815 link_all_deplibs=yes 11816 export_dynamic_flag_spec='$wl-Bexport' 11817 runpath_var='LD_RUN_PATH' 11818 11819 if test yes = "$GCC"; then 11820 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11821 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11822 else 11823 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11824 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11825 fi 11826 ;; 11827 11828 uts4*) 11829 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11830 hardcode_libdir_flag_spec='-L$libdir' 11831 hardcode_shlibpath_var=no 11832 ;; 11833 11834 *) 11835 ld_shlibs=no 11836 ;; 11837 esac 11838 11839 if test sni = "$host_vendor"; then 11840 case $host in 11841 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 11842 export_dynamic_flag_spec='$wl-Blargedynsym' 11843 ;; 11844 esac 11845 fi 11846 fi 11847 11848{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 11849$as_echo "$ld_shlibs" >&6; } 11850test no = "$ld_shlibs" && can_build_shared=no 11851 11852with_gnu_ld=$with_gnu_ld 11853 11854 11855 11856 11857 11858 11859 11860 11861 11862 11863 11864 11865 11866 11867 11868# 11869# Do we need to explicitly link libc? 11870# 11871case "x$archive_cmds_need_lc" in 11872x|xyes) 11873 # Assume -lc should be added 11874 archive_cmds_need_lc=yes 11875 11876 if test yes,yes = "$GCC,$enable_shared"; then 11877 case $archive_cmds in 11878 *'~'*) 11879 # FIXME: we may have to deal with multi-command sequences. 11880 ;; 11881 '$CC '*) 11882 # Test whether the compiler implicitly links with -lc since on some 11883 # systems, -lgcc has to come before -lc. If gcc already passes -lc 11884 # to ld, don't add -lc before -lgcc. 11885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 11886$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 11887if ${lt_cv_archive_cmds_need_lc+:} false; then : 11888 $as_echo_n "(cached) " >&6 11889else 11890 $RM conftest* 11891 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 11892 11893 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 11894 (eval $ac_compile) 2>&5 11895 ac_status=$? 11896 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11897 test $ac_status = 0; } 2>conftest.err; then 11898 soname=conftest 11899 lib=conftest 11900 libobjs=conftest.$ac_objext 11901 deplibs= 11902 wl=$lt_prog_compiler_wl 11903 pic_flag=$lt_prog_compiler_pic 11904 compiler_flags=-v 11905 linker_flags=-v 11906 verstring= 11907 output_objdir=. 11908 libname=conftest 11909 lt_save_allow_undefined_flag=$allow_undefined_flag 11910 allow_undefined_flag= 11911 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 11912 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 11913 ac_status=$? 11914 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11915 test $ac_status = 0; } 11916 then 11917 lt_cv_archive_cmds_need_lc=no 11918 else 11919 lt_cv_archive_cmds_need_lc=yes 11920 fi 11921 allow_undefined_flag=$lt_save_allow_undefined_flag 11922 else 11923 cat conftest.err 1>&5 11924 fi 11925 $RM conftest* 11926 11927fi 11928{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 11929$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 11930 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 11931 ;; 11932 esac 11933 fi 11934 ;; 11935esac 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 12085 12086 12087 12088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 12089$as_echo_n "checking dynamic linker characteristics... " >&6; } 12090 12091if test yes = "$GCC"; then 12092 case $host_os in 12093 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;; 12094 *) lt_awk_arg='/^libraries:/' ;; 12095 esac 12096 case $host_os in 12097 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;; 12098 *) lt_sed_strip_eq='s|=/|/|g' ;; 12099 esac 12100 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 12101 case $lt_search_path_spec in 12102 *\;*) 12103 # if the path contains ";" then we assume it to be the separator 12104 # otherwise default to the standard path separator (i.e. ":") - it is 12105 # assumed that no part of a normal pathname contains ";" but that should 12106 # okay in the real world where ";" in dirpaths is itself problematic. 12107 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 12108 ;; 12109 *) 12110 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 12111 ;; 12112 esac 12113 # Ok, now we have the path, separated by spaces, we can step through it 12114 # and add multilib dir if necessary... 12115 lt_tmp_lt_search_path_spec= 12116 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 12117 # ...but if some path component already ends with the multilib dir we assume 12118 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer). 12119 case "$lt_multi_os_dir; $lt_search_path_spec " in 12120 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*) 12121 lt_multi_os_dir= 12122 ;; 12123 esac 12124 for lt_sys_path in $lt_search_path_spec; do 12125 if test -d "$lt_sys_path$lt_multi_os_dir"; then 12126 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir" 12127 elif test -n "$lt_multi_os_dir"; then 12128 test -d "$lt_sys_path" && \ 12129 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 12130 fi 12131 done 12132 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 12133BEGIN {RS = " "; FS = "/|\n";} { 12134 lt_foo = ""; 12135 lt_count = 0; 12136 for (lt_i = NF; lt_i > 0; lt_i--) { 12137 if ($lt_i != "" && $lt_i != ".") { 12138 if ($lt_i == "..") { 12139 lt_count++; 12140 } else { 12141 if (lt_count == 0) { 12142 lt_foo = "/" $lt_i lt_foo; 12143 } else { 12144 lt_count--; 12145 } 12146 } 12147 } 12148 } 12149 if (lt_foo != "") { lt_freq[lt_foo]++; } 12150 if (lt_freq[lt_foo] == 1) { print lt_foo; } 12151}'` 12152 # AWK program above erroneously prepends '/' to C:/dos/paths 12153 # for these hosts. 12154 case $host_os in 12155 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 12156 $SED 's|/\([A-Za-z]:\)|\1|g'` ;; 12157 esac 12158 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 12159else 12160 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 12161fi 12162library_names_spec= 12163libname_spec='lib$name' 12164soname_spec= 12165shrext_cmds=.so 12166postinstall_cmds= 12167postuninstall_cmds= 12168finish_cmds= 12169finish_eval= 12170shlibpath_var= 12171shlibpath_overrides_runpath=unknown 12172version_type=none 12173dynamic_linker="$host_os ld.so" 12174sys_lib_dlsearch_path_spec="/lib /usr/lib" 12175need_lib_prefix=unknown 12176hardcode_into_libs=no 12177 12178# when you set need_version to no, make sure it does not cause -set_version 12179# flags to be left without arguments 12180need_version=unknown 12181 12182 12183 12184case $host_os in 12185aix3*) 12186 version_type=linux # correct to gnu/linux during the next big refactor 12187 library_names_spec='$libname$release$shared_ext$versuffix $libname.a' 12188 shlibpath_var=LIBPATH 12189 12190 # AIX 3 has no versioning support, so we append a major version to the name. 12191 soname_spec='$libname$release$shared_ext$major' 12192 ;; 12193 12194aix[4-9]*) 12195 version_type=linux # correct to gnu/linux during the next big refactor 12196 need_lib_prefix=no 12197 need_version=no 12198 hardcode_into_libs=yes 12199 if test ia64 = "$host_cpu"; then 12200 # AIX 5 supports IA64 12201 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' 12202 shlibpath_var=LD_LIBRARY_PATH 12203 else 12204 # With GCC up to 2.95.x, collect2 would create an import file 12205 # for dependence libraries. The import file would start with 12206 # the line '#! .'. This would cause the generated library to 12207 # depend on '.', always an invalid library. This was fixed in 12208 # development snapshots of GCC prior to 3.0. 12209 case $host_os in 12210 aix4 | aix4.[01] | aix4.[01].*) 12211 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 12212 echo ' yes ' 12213 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then 12214 : 12215 else 12216 can_build_shared=no 12217 fi 12218 ;; 12219 esac 12220 # Using Import Files as archive members, it is possible to support 12221 # filename-based versioning of shared library archives on AIX. While 12222 # this would work for both with and without runtime linking, it will 12223 # prevent static linking of such archives. So we do filename-based 12224 # shared library versioning with .so extension only, which is used 12225 # when both runtime linking and shared linking is enabled. 12226 # Unfortunately, runtime linking may impact performance, so we do 12227 # not want this to be the default eventually. Also, we use the 12228 # versioned .so libs for executables only if there is the -brtl 12229 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. 12230 # To allow for filename-based versioning support, we need to create 12231 # libNAME.so.V as an archive file, containing: 12232 # *) an Import File, referring to the versioned filename of the 12233 # archive as well as the shared archive member, telling the 12234 # bitwidth (32 or 64) of that shared object, and providing the 12235 # list of exported symbols of that shared object, eventually 12236 # decorated with the 'weak' keyword 12237 # *) the shared object with the F_LOADONLY flag set, to really avoid 12238 # it being seen by the linker. 12239 # At run time we better use the real file rather than another symlink, 12240 # but for link time we create the symlink libNAME.so -> libNAME.so.V 12241 12242 case $with_aix_soname,$aix_use_runtimelinking in 12243 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct 12244 # soname into executable. Probably we can add versioning support to 12245 # collect2, so additional links can be useful in future. 12246 aix,yes) # traditional libtool 12247 dynamic_linker='AIX unversionable lib.so' 12248 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 12249 # instead of lib<name>.a to let people know that these are not 12250 # typical AIX shared libraries. 12251 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12252 ;; 12253 aix,no) # traditional AIX only 12254 dynamic_linker='AIX lib.a(lib.so.V)' 12255 # We preserve .a as extension for shared libraries through AIX4.2 12256 # and later when we are not doing run time linking. 12257 library_names_spec='$libname$release.a $libname.a' 12258 soname_spec='$libname$release$shared_ext$major' 12259 ;; 12260 svr4,*) # full svr4 only 12261 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" 12262 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 12263 # We do not specify a path in Import Files, so LIBPATH fires. 12264 shlibpath_overrides_runpath=yes 12265 ;; 12266 *,yes) # both, prefer svr4 12267 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" 12268 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 12269 # unpreferred sharedlib libNAME.a needs extra handling 12270 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"' 12271 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"' 12272 # We do not specify a path in Import Files, so LIBPATH fires. 12273 shlibpath_overrides_runpath=yes 12274 ;; 12275 *,no) # both, prefer aix 12276 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" 12277 library_names_spec='$libname$release.a $libname.a' 12278 soname_spec='$libname$release$shared_ext$major' 12279 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling 12280 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)' 12281 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"' 12282 ;; 12283 esac 12284 shlibpath_var=LIBPATH 12285 fi 12286 ;; 12287 12288amigaos*) 12289 case $host_cpu in 12290 powerpc) 12291 # Since July 2007 AmigaOS4 officially supports .so libraries. 12292 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 12293 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12294 ;; 12295 m68k) 12296 library_names_spec='$libname.ixlibrary $libname.a' 12297 # Create ${libname}_ixlibrary.a entries in /sys/libs. 12298 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' 12299 ;; 12300 esac 12301 ;; 12302 12303beos*) 12304 library_names_spec='$libname$shared_ext' 12305 dynamic_linker="$host_os ld.so" 12306 shlibpath_var=LIBRARY_PATH 12307 ;; 12308 12309bsdi[45]*) 12310 version_type=linux # correct to gnu/linux during the next big refactor 12311 need_version=no 12312 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12313 soname_spec='$libname$release$shared_ext$major' 12314 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 12315 shlibpath_var=LD_LIBRARY_PATH 12316 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 12317 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 12318 # the default ld.so.conf also contains /usr/contrib/lib and 12319 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 12320 # libtool to hard-code these into programs 12321 ;; 12322 12323cygwin* | mingw* | pw32* | cegcc*) 12324 version_type=windows 12325 shrext_cmds=.dll 12326 need_version=no 12327 need_lib_prefix=no 12328 12329 case $GCC,$cc_basename in 12330 yes,*) 12331 # gcc 12332 library_names_spec='$libname.dll.a' 12333 # DLL is installed to $(libdir)/../bin by postinstall_cmds 12334 postinstall_cmds='base_file=`basename \$file`~ 12335 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 12336 dldir=$destdir/`dirname \$dlpath`~ 12337 test -d \$dldir || mkdir -p \$dldir~ 12338 $install_prog $dir/$dlname \$dldir/$dlname~ 12339 chmod a+x \$dldir/$dlname~ 12340 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 12341 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 12342 fi' 12343 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 12344 dlpath=$dir/\$dldll~ 12345 $RM \$dlpath' 12346 shlibpath_overrides_runpath=yes 12347 12348 case $host_os in 12349 cygwin*) 12350 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 12351 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 12352 12353 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 12354 ;; 12355 mingw* | cegcc*) 12356 # MinGW DLLs use traditional 'lib' prefix 12357 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 12358 ;; 12359 pw32*) 12360 # pw32 DLLs use 'pw' prefix rather than 'lib' 12361 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 12362 ;; 12363 esac 12364 dynamic_linker='Win32 ld.exe' 12365 ;; 12366 12367 *,cl*) 12368 # Native MSVC 12369 libname_spec='$name' 12370 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 12371 library_names_spec='$libname.dll.lib' 12372 12373 case $build_os in 12374 mingw*) 12375 sys_lib_search_path_spec= 12376 lt_save_ifs=$IFS 12377 IFS=';' 12378 for lt_path in $LIB 12379 do 12380 IFS=$lt_save_ifs 12381 # Let DOS variable expansion print the short 8.3 style file name. 12382 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 12383 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 12384 done 12385 IFS=$lt_save_ifs 12386 # Convert to MSYS style. 12387 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 12388 ;; 12389 cygwin*) 12390 # Convert to unix form, then to dos form, then back to unix form 12391 # but this time dos style (no spaces!) so that the unix form looks 12392 # like /cygdrive/c/PROGRA~1:/cygdr... 12393 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 12394 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 12395 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 12396 ;; 12397 *) 12398 sys_lib_search_path_spec=$LIB 12399 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 12400 # It is most probably a Windows format PATH. 12401 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 12402 else 12403 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 12404 fi 12405 # FIXME: find the short name or the path components, as spaces are 12406 # common. (e.g. "Program Files" -> "PROGRA~1") 12407 ;; 12408 esac 12409 12410 # DLL is installed to $(libdir)/../bin by postinstall_cmds 12411 postinstall_cmds='base_file=`basename \$file`~ 12412 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 12413 dldir=$destdir/`dirname \$dlpath`~ 12414 test -d \$dldir || mkdir -p \$dldir~ 12415 $install_prog $dir/$dlname \$dldir/$dlname' 12416 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 12417 dlpath=$dir/\$dldll~ 12418 $RM \$dlpath' 12419 shlibpath_overrides_runpath=yes 12420 dynamic_linker='Win32 link.exe' 12421 ;; 12422 12423 *) 12424 # Assume MSVC wrapper 12425 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' 12426 dynamic_linker='Win32 ld.exe' 12427 ;; 12428 esac 12429 # FIXME: first we should search . and the directory the executable is in 12430 shlibpath_var=PATH 12431 ;; 12432 12433darwin* | rhapsody*) 12434 dynamic_linker="$host_os dyld" 12435 version_type=darwin 12436 need_lib_prefix=no 12437 need_version=no 12438 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' 12439 soname_spec='$libname$release$major$shared_ext' 12440 shlibpath_overrides_runpath=yes 12441 shlibpath_var=DYLD_LIBRARY_PATH 12442 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 12443 12444 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 12445 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 12446 ;; 12447 12448dgux*) 12449 version_type=linux # correct to gnu/linux during the next big refactor 12450 need_lib_prefix=no 12451 need_version=no 12452 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12453 soname_spec='$libname$release$shared_ext$major' 12454 shlibpath_var=LD_LIBRARY_PATH 12455 ;; 12456 12457freebsd* | dragonfly*) 12458 # DragonFly does not have aout. When/if they implement a new 12459 # versioning mechanism, adjust this. 12460 if test -x /usr/bin/objformat; then 12461 objformat=`/usr/bin/objformat` 12462 else 12463 case $host_os in 12464 freebsd[23].*) objformat=aout ;; 12465 *) objformat=elf ;; 12466 esac 12467 fi 12468 version_type=freebsd-$objformat 12469 case $version_type in 12470 freebsd-elf*) 12471 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12472 soname_spec='$libname$release$shared_ext$major' 12473 need_version=no 12474 need_lib_prefix=no 12475 ;; 12476 freebsd-*) 12477 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 12478 need_version=yes 12479 ;; 12480 esac 12481 shlibpath_var=LD_LIBRARY_PATH 12482 case $host_os in 12483 freebsd2.*) 12484 shlibpath_overrides_runpath=yes 12485 ;; 12486 freebsd3.[01]* | freebsdelf3.[01]*) 12487 shlibpath_overrides_runpath=yes 12488 hardcode_into_libs=yes 12489 ;; 12490 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 12491 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 12492 shlibpath_overrides_runpath=no 12493 hardcode_into_libs=yes 12494 ;; 12495 *) # from 4.6 on, and DragonFly 12496 shlibpath_overrides_runpath=yes 12497 hardcode_into_libs=yes 12498 ;; 12499 esac 12500 ;; 12501 12502haiku*) 12503 version_type=linux # correct to gnu/linux during the next big refactor 12504 need_lib_prefix=no 12505 need_version=no 12506 dynamic_linker="$host_os runtime_loader" 12507 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12508 soname_spec='$libname$release$shared_ext$major' 12509 shlibpath_var=LIBRARY_PATH 12510 shlibpath_overrides_runpath=no 12511 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 12512 hardcode_into_libs=yes 12513 ;; 12514 12515hpux9* | hpux10* | hpux11*) 12516 # Give a soname corresponding to the major version so that dld.sl refuses to 12517 # link against other versions. 12518 version_type=sunos 12519 need_lib_prefix=no 12520 need_version=no 12521 case $host_cpu in 12522 ia64*) 12523 shrext_cmds='.so' 12524 hardcode_into_libs=yes 12525 dynamic_linker="$host_os dld.so" 12526 shlibpath_var=LD_LIBRARY_PATH 12527 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 12528 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12529 soname_spec='$libname$release$shared_ext$major' 12530 if test 32 = "$HPUX_IA64_MODE"; then 12531 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 12532 sys_lib_dlsearch_path_spec=/usr/lib/hpux32 12533 else 12534 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 12535 sys_lib_dlsearch_path_spec=/usr/lib/hpux64 12536 fi 12537 ;; 12538 hppa*64*) 12539 shrext_cmds='.sl' 12540 hardcode_into_libs=yes 12541 dynamic_linker="$host_os dld.sl" 12542 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 12543 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 12544 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12545 soname_spec='$libname$release$shared_ext$major' 12546 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 12547 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 12548 ;; 12549 *) 12550 shrext_cmds='.sl' 12551 dynamic_linker="$host_os dld.sl" 12552 shlibpath_var=SHLIB_PATH 12553 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 12554 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12555 soname_spec='$libname$release$shared_ext$major' 12556 ;; 12557 esac 12558 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 12559 postinstall_cmds='chmod 555 $lib' 12560 # or fails outright, so override atomically: 12561 install_override_mode=555 12562 ;; 12563 12564interix[3-9]*) 12565 version_type=linux # correct to gnu/linux during the next big refactor 12566 need_lib_prefix=no 12567 need_version=no 12568 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12569 soname_spec='$libname$release$shared_ext$major' 12570 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 12571 shlibpath_var=LD_LIBRARY_PATH 12572 shlibpath_overrides_runpath=no 12573 hardcode_into_libs=yes 12574 ;; 12575 12576irix5* | irix6* | nonstopux*) 12577 case $host_os in 12578 nonstopux*) version_type=nonstopux ;; 12579 *) 12580 if test yes = "$lt_cv_prog_gnu_ld"; then 12581 version_type=linux # correct to gnu/linux during the next big refactor 12582 else 12583 version_type=irix 12584 fi ;; 12585 esac 12586 need_lib_prefix=no 12587 need_version=no 12588 soname_spec='$libname$release$shared_ext$major' 12589 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' 12590 case $host_os in 12591 irix5* | nonstopux*) 12592 libsuff= shlibsuff= 12593 ;; 12594 *) 12595 case $LD in # libtool.m4 will add one of these switches to LD 12596 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 12597 libsuff= shlibsuff= libmagic=32-bit;; 12598 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 12599 libsuff=32 shlibsuff=N32 libmagic=N32;; 12600 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 12601 libsuff=64 shlibsuff=64 libmagic=64-bit;; 12602 *) libsuff= shlibsuff= libmagic=never-match;; 12603 esac 12604 ;; 12605 esac 12606 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 12607 shlibpath_overrides_runpath=no 12608 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" 12609 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" 12610 hardcode_into_libs=yes 12611 ;; 12612 12613# No shared lib support for Linux oldld, aout, or coff. 12614linux*oldld* | linux*aout* | linux*coff*) 12615 dynamic_linker=no 12616 ;; 12617 12618linux*android*) 12619 version_type=none # Android doesn't support versioned libraries. 12620 need_lib_prefix=no 12621 need_version=no 12622 library_names_spec='$libname$release$shared_ext' 12623 soname_spec='$libname$release$shared_ext' 12624 finish_cmds= 12625 shlibpath_var=LD_LIBRARY_PATH 12626 shlibpath_overrides_runpath=yes 12627 12628 # This implies no fast_install, which is unacceptable. 12629 # Some rework will be needed to allow for fast_install 12630 # before this can be enabled. 12631 hardcode_into_libs=yes 12632 12633 dynamic_linker='Android linker' 12634 # Don't embed -rpath directories since the linker doesn't support them. 12635 hardcode_libdir_flag_spec='-L$libdir' 12636 ;; 12637 12638# This must be glibc/ELF. 12639linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 12640 version_type=linux # correct to gnu/linux during the next big refactor 12641 need_lib_prefix=no 12642 need_version=no 12643 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12644 soname_spec='$libname$release$shared_ext$major' 12645 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 12646 shlibpath_var=LD_LIBRARY_PATH 12647 shlibpath_overrides_runpath=no 12648 12649 # Some binutils ld are patched to set DT_RUNPATH 12650 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 12651 $as_echo_n "(cached) " >&6 12652else 12653 lt_cv_shlibpath_overrides_runpath=no 12654 save_LDFLAGS=$LDFLAGS 12655 save_libdir=$libdir 12656 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 12657 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 12658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12659/* end confdefs.h. */ 12660 12661int 12662main () 12663{ 12664 12665 ; 12666 return 0; 12667} 12668_ACEOF 12669if ac_fn_c_try_link "$LINENO"; then : 12670 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 12671 lt_cv_shlibpath_overrides_runpath=yes 12672fi 12673fi 12674rm -f core conftest.err conftest.$ac_objext \ 12675 conftest$ac_exeext conftest.$ac_ext 12676 LDFLAGS=$save_LDFLAGS 12677 libdir=$save_libdir 12678 12679fi 12680 12681 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 12682 12683 # This implies no fast_install, which is unacceptable. 12684 # Some rework will be needed to allow for fast_install 12685 # before this can be enabled. 12686 hardcode_into_libs=yes 12687 12688 # Add ABI-specific directories to the system library path. 12689 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" 12690 12691 # Ideally, we could use ldconfig to report *all* directores which are 12692 # searched for libraries, however this is still not possible. Aside from not 12693 # being certain /sbin/ldconfig is available, command 12694 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, 12695 # even though it is searched at run-time. Try to do the best guess by 12696 # appending ld.so.conf contents (and includes) to the search path. 12697 if test -f /etc/ld.so.conf; then 12698 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' ' '` 12699 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" 12700 fi 12701 12702 # We used to test for /lib/ld.so.1 and disable shared libraries on 12703 # powerpc, because MkLinux only supported shared libraries with the 12704 # GNU dynamic linker. Since this was broken with cross compilers, 12705 # most powerpc-linux boxes support dynamic linking these days and 12706 # people can always --disable-shared, the test was removed, and we 12707 # assume the GNU/Linux dynamic linker is in use. 12708 dynamic_linker='GNU/Linux ld.so' 12709 ;; 12710 12711netbsd*) 12712 version_type=sunos 12713 need_lib_prefix=no 12714 need_version=no 12715 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 12716 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 12717 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 12718 dynamic_linker='NetBSD (a.out) ld.so' 12719 else 12720 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12721 soname_spec='$libname$release$shared_ext$major' 12722 dynamic_linker='NetBSD ld.elf_so' 12723 fi 12724 shlibpath_var=LD_LIBRARY_PATH 12725 shlibpath_overrides_runpath=yes 12726 hardcode_into_libs=yes 12727 ;; 12728 12729newsos6) 12730 version_type=linux # correct to gnu/linux during the next big refactor 12731 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12732 shlibpath_var=LD_LIBRARY_PATH 12733 shlibpath_overrides_runpath=yes 12734 ;; 12735 12736*nto* | *qnx*) 12737 version_type=qnx 12738 need_lib_prefix=no 12739 need_version=no 12740 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12741 soname_spec='$libname$release$shared_ext$major' 12742 shlibpath_var=LD_LIBRARY_PATH 12743 shlibpath_overrides_runpath=no 12744 hardcode_into_libs=yes 12745 dynamic_linker='ldqnx.so' 12746 ;; 12747 12748openbsd* | bitrig*) 12749 version_type=sunos 12750 sys_lib_dlsearch_path_spec=/usr/lib 12751 need_lib_prefix=no 12752 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 12753 need_version=no 12754 else 12755 need_version=yes 12756 fi 12757 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 12758 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 12759 shlibpath_var=LD_LIBRARY_PATH 12760 shlibpath_overrides_runpath=yes 12761 ;; 12762 12763os2*) 12764 libname_spec='$name' 12765 version_type=windows 12766 shrext_cmds=.dll 12767 need_version=no 12768 need_lib_prefix=no 12769 # OS/2 can only load a DLL with a base name of 8 characters or less. 12770 soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; 12771 v=$($ECHO $release$versuffix | tr -d .-); 12772 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); 12773 $ECHO $n$v`$shared_ext' 12774 library_names_spec='${libname}_dll.$libext' 12775 dynamic_linker='OS/2 ld.exe' 12776 shlibpath_var=BEGINLIBPATH 12777 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 12778 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 12779 postinstall_cmds='base_file=`basename \$file`~ 12780 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ 12781 dldir=$destdir/`dirname \$dlpath`~ 12782 test -d \$dldir || mkdir -p \$dldir~ 12783 $install_prog $dir/$dlname \$dldir/$dlname~ 12784 chmod a+x \$dldir/$dlname~ 12785 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 12786 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 12787 fi' 12788 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ 12789 dlpath=$dir/\$dldll~ 12790 $RM \$dlpath' 12791 ;; 12792 12793osf3* | osf4* | osf5*) 12794 version_type=osf 12795 need_lib_prefix=no 12796 need_version=no 12797 soname_spec='$libname$release$shared_ext$major' 12798 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12799 shlibpath_var=LD_LIBRARY_PATH 12800 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 12801 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 12802 ;; 12803 12804rdos*) 12805 dynamic_linker=no 12806 ;; 12807 12808solaris*) 12809 version_type=linux # correct to gnu/linux during the next big refactor 12810 need_lib_prefix=no 12811 need_version=no 12812 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12813 soname_spec='$libname$release$shared_ext$major' 12814 shlibpath_var=LD_LIBRARY_PATH 12815 shlibpath_overrides_runpath=yes 12816 hardcode_into_libs=yes 12817 # ldd complains unless libraries are executable 12818 postinstall_cmds='chmod +x $lib' 12819 ;; 12820 12821sunos4*) 12822 version_type=sunos 12823 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 12824 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 12825 shlibpath_var=LD_LIBRARY_PATH 12826 shlibpath_overrides_runpath=yes 12827 if test yes = "$with_gnu_ld"; then 12828 need_lib_prefix=no 12829 fi 12830 need_version=yes 12831 ;; 12832 12833sysv4 | sysv4.3*) 12834 version_type=linux # correct to gnu/linux during the next big refactor 12835 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12836 soname_spec='$libname$release$shared_ext$major' 12837 shlibpath_var=LD_LIBRARY_PATH 12838 case $host_vendor in 12839 sni) 12840 shlibpath_overrides_runpath=no 12841 need_lib_prefix=no 12842 runpath_var=LD_RUN_PATH 12843 ;; 12844 siemens) 12845 need_lib_prefix=no 12846 ;; 12847 motorola) 12848 need_lib_prefix=no 12849 need_version=no 12850 shlibpath_overrides_runpath=no 12851 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 12852 ;; 12853 esac 12854 ;; 12855 12856sysv4*MP*) 12857 if test -d /usr/nec; then 12858 version_type=linux # correct to gnu/linux during the next big refactor 12859 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' 12860 soname_spec='$libname$shared_ext.$major' 12861 shlibpath_var=LD_LIBRARY_PATH 12862 fi 12863 ;; 12864 12865sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 12866 version_type=sco 12867 need_lib_prefix=no 12868 need_version=no 12869 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' 12870 soname_spec='$libname$release$shared_ext$major' 12871 shlibpath_var=LD_LIBRARY_PATH 12872 shlibpath_overrides_runpath=yes 12873 hardcode_into_libs=yes 12874 if test yes = "$with_gnu_ld"; then 12875 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 12876 else 12877 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 12878 case $host_os in 12879 sco3.2v5*) 12880 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 12881 ;; 12882 esac 12883 fi 12884 sys_lib_dlsearch_path_spec='/usr/lib' 12885 ;; 12886 12887tpf*) 12888 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 12889 version_type=linux # correct to gnu/linux during the next big refactor 12890 need_lib_prefix=no 12891 need_version=no 12892 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12893 shlibpath_var=LD_LIBRARY_PATH 12894 shlibpath_overrides_runpath=no 12895 hardcode_into_libs=yes 12896 ;; 12897 12898uts4*) 12899 version_type=linux # correct to gnu/linux during the next big refactor 12900 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12901 soname_spec='$libname$release$shared_ext$major' 12902 shlibpath_var=LD_LIBRARY_PATH 12903 ;; 12904 12905*) 12906 dynamic_linker=no 12907 ;; 12908esac 12909{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 12910$as_echo "$dynamic_linker" >&6; } 12911test no = "$dynamic_linker" && can_build_shared=no 12912 12913variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 12914if test yes = "$GCC"; then 12915 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 12916fi 12917 12918if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then 12919 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec 12920fi 12921 12922if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then 12923 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec 12924fi 12925 12926# remember unaugmented sys_lib_dlsearch_path content for libtool script decls... 12927configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec 12928 12929# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code 12930func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" 12931 12932# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool 12933configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH 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 13028 13029 13030 13031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 13032$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 13033hardcode_action= 13034if test -n "$hardcode_libdir_flag_spec" || 13035 test -n "$runpath_var" || 13036 test yes = "$hardcode_automatic"; then 13037 13038 # We can hardcode non-existent directories. 13039 if test no != "$hardcode_direct" && 13040 # If the only mechanism to avoid hardcoding is shlibpath_var, we 13041 # have to relink, otherwise we might link with an installed library 13042 # when we should be linking with a yet-to-be-installed one 13043 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" && 13044 test no != "$hardcode_minus_L"; then 13045 # Linking always hardcodes the temporary library directory. 13046 hardcode_action=relink 13047 else 13048 # We can link without hardcoding, and we can hardcode nonexisting dirs. 13049 hardcode_action=immediate 13050 fi 13051else 13052 # We cannot hardcode anything, or else we can only hardcode existing 13053 # directories. 13054 hardcode_action=unsupported 13055fi 13056{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 13057$as_echo "$hardcode_action" >&6; } 13058 13059if test relink = "$hardcode_action" || 13060 test yes = "$inherit_rpath"; then 13061 # Fast installation is not supported 13062 enable_fast_install=no 13063elif test yes = "$shlibpath_overrides_runpath" || 13064 test no = "$enable_shared"; then 13065 # Fast installation is not necessary 13066 enable_fast_install=needless 13067fi 13068 13069 13070 13071 13072 13073 13074 if test yes != "$enable_dlopen"; then 13075 enable_dlopen=unknown 13076 enable_dlopen_self=unknown 13077 enable_dlopen_self_static=unknown 13078else 13079 lt_cv_dlopen=no 13080 lt_cv_dlopen_libs= 13081 13082 case $host_os in 13083 beos*) 13084 lt_cv_dlopen=load_add_on 13085 lt_cv_dlopen_libs= 13086 lt_cv_dlopen_self=yes 13087 ;; 13088 13089 mingw* | pw32* | cegcc*) 13090 lt_cv_dlopen=LoadLibrary 13091 lt_cv_dlopen_libs= 13092 ;; 13093 13094 cygwin*) 13095 lt_cv_dlopen=dlopen 13096 lt_cv_dlopen_libs= 13097 ;; 13098 13099 darwin*) 13100 # if libdl is installed we need to link against it 13101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 13102$as_echo_n "checking for dlopen in -ldl... " >&6; } 13103if ${ac_cv_lib_dl_dlopen+:} false; then : 13104 $as_echo_n "(cached) " >&6 13105else 13106 ac_check_lib_save_LIBS=$LIBS 13107LIBS="-ldl $LIBS" 13108cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13109/* end confdefs.h. */ 13110 13111/* Override any GCC internal prototype to avoid an error. 13112 Use char because int might match the return type of a GCC 13113 builtin and then its argument prototype would still apply. */ 13114#ifdef __cplusplus 13115extern "C" 13116#endif 13117char dlopen (); 13118int 13119main () 13120{ 13121return dlopen (); 13122 ; 13123 return 0; 13124} 13125_ACEOF 13126if ac_fn_c_try_link "$LINENO"; then : 13127 ac_cv_lib_dl_dlopen=yes 13128else 13129 ac_cv_lib_dl_dlopen=no 13130fi 13131rm -f core conftest.err conftest.$ac_objext \ 13132 conftest$ac_exeext conftest.$ac_ext 13133LIBS=$ac_check_lib_save_LIBS 13134fi 13135{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 13136$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 13137if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 13138 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 13139else 13140 13141 lt_cv_dlopen=dyld 13142 lt_cv_dlopen_libs= 13143 lt_cv_dlopen_self=yes 13144 13145fi 13146 13147 ;; 13148 13149 tpf*) 13150 # Don't try to run any link tests for TPF. We know it's impossible 13151 # because TPF is a cross-compiler, and we know how we open DSOs. 13152 lt_cv_dlopen=dlopen 13153 lt_cv_dlopen_libs= 13154 lt_cv_dlopen_self=no 13155 ;; 13156 13157 *) 13158 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 13159if test "x$ac_cv_func_shl_load" = xyes; then : 13160 lt_cv_dlopen=shl_load 13161else 13162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 13163$as_echo_n "checking for shl_load in -ldld... " >&6; } 13164if ${ac_cv_lib_dld_shl_load+:} false; then : 13165 $as_echo_n "(cached) " >&6 13166else 13167 ac_check_lib_save_LIBS=$LIBS 13168LIBS="-ldld $LIBS" 13169cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13170/* end confdefs.h. */ 13171 13172/* Override any GCC internal prototype to avoid an error. 13173 Use char because int might match the return type of a GCC 13174 builtin and then its argument prototype would still apply. */ 13175#ifdef __cplusplus 13176extern "C" 13177#endif 13178char shl_load (); 13179int 13180main () 13181{ 13182return shl_load (); 13183 ; 13184 return 0; 13185} 13186_ACEOF 13187if ac_fn_c_try_link "$LINENO"; then : 13188 ac_cv_lib_dld_shl_load=yes 13189else 13190 ac_cv_lib_dld_shl_load=no 13191fi 13192rm -f core conftest.err conftest.$ac_objext \ 13193 conftest$ac_exeext conftest.$ac_ext 13194LIBS=$ac_check_lib_save_LIBS 13195fi 13196{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 13197$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 13198if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 13199 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld 13200else 13201 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 13202if test "x$ac_cv_func_dlopen" = xyes; then : 13203 lt_cv_dlopen=dlopen 13204else 13205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 13206$as_echo_n "checking for dlopen in -ldl... " >&6; } 13207if ${ac_cv_lib_dl_dlopen+:} false; then : 13208 $as_echo_n "(cached) " >&6 13209else 13210 ac_check_lib_save_LIBS=$LIBS 13211LIBS="-ldl $LIBS" 13212cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13213/* end confdefs.h. */ 13214 13215/* Override any GCC internal prototype to avoid an error. 13216 Use char because int might match the return type of a GCC 13217 builtin and then its argument prototype would still apply. */ 13218#ifdef __cplusplus 13219extern "C" 13220#endif 13221char dlopen (); 13222int 13223main () 13224{ 13225return dlopen (); 13226 ; 13227 return 0; 13228} 13229_ACEOF 13230if ac_fn_c_try_link "$LINENO"; then : 13231 ac_cv_lib_dl_dlopen=yes 13232else 13233 ac_cv_lib_dl_dlopen=no 13234fi 13235rm -f core conftest.err conftest.$ac_objext \ 13236 conftest$ac_exeext conftest.$ac_ext 13237LIBS=$ac_check_lib_save_LIBS 13238fi 13239{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 13240$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 13241if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 13242 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 13243else 13244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 13245$as_echo_n "checking for dlopen in -lsvld... " >&6; } 13246if ${ac_cv_lib_svld_dlopen+:} false; then : 13247 $as_echo_n "(cached) " >&6 13248else 13249 ac_check_lib_save_LIBS=$LIBS 13250LIBS="-lsvld $LIBS" 13251cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13252/* end confdefs.h. */ 13253 13254/* Override any GCC internal prototype to avoid an error. 13255 Use char because int might match the return type of a GCC 13256 builtin and then its argument prototype would still apply. */ 13257#ifdef __cplusplus 13258extern "C" 13259#endif 13260char dlopen (); 13261int 13262main () 13263{ 13264return dlopen (); 13265 ; 13266 return 0; 13267} 13268_ACEOF 13269if ac_fn_c_try_link "$LINENO"; then : 13270 ac_cv_lib_svld_dlopen=yes 13271else 13272 ac_cv_lib_svld_dlopen=no 13273fi 13274rm -f core conftest.err conftest.$ac_objext \ 13275 conftest$ac_exeext conftest.$ac_ext 13276LIBS=$ac_check_lib_save_LIBS 13277fi 13278{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 13279$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 13280if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 13281 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld 13282else 13283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 13284$as_echo_n "checking for dld_link in -ldld... " >&6; } 13285if ${ac_cv_lib_dld_dld_link+:} false; then : 13286 $as_echo_n "(cached) " >&6 13287else 13288 ac_check_lib_save_LIBS=$LIBS 13289LIBS="-ldld $LIBS" 13290cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13291/* end confdefs.h. */ 13292 13293/* Override any GCC internal prototype to avoid an error. 13294 Use char because int might match the return type of a GCC 13295 builtin and then its argument prototype would still apply. */ 13296#ifdef __cplusplus 13297extern "C" 13298#endif 13299char dld_link (); 13300int 13301main () 13302{ 13303return dld_link (); 13304 ; 13305 return 0; 13306} 13307_ACEOF 13308if ac_fn_c_try_link "$LINENO"; then : 13309 ac_cv_lib_dld_dld_link=yes 13310else 13311 ac_cv_lib_dld_dld_link=no 13312fi 13313rm -f core conftest.err conftest.$ac_objext \ 13314 conftest$ac_exeext conftest.$ac_ext 13315LIBS=$ac_check_lib_save_LIBS 13316fi 13317{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 13318$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 13319if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 13320 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld 13321fi 13322 13323 13324fi 13325 13326 13327fi 13328 13329 13330fi 13331 13332 13333fi 13334 13335 13336fi 13337 13338 ;; 13339 esac 13340 13341 if test no = "$lt_cv_dlopen"; then 13342 enable_dlopen=no 13343 else 13344 enable_dlopen=yes 13345 fi 13346 13347 case $lt_cv_dlopen in 13348 dlopen) 13349 save_CPPFLAGS=$CPPFLAGS 13350 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 13351 13352 save_LDFLAGS=$LDFLAGS 13353 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 13354 13355 save_LIBS=$LIBS 13356 LIBS="$lt_cv_dlopen_libs $LIBS" 13357 13358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 13359$as_echo_n "checking whether a program can dlopen itself... " >&6; } 13360if ${lt_cv_dlopen_self+:} false; then : 13361 $as_echo_n "(cached) " >&6 13362else 13363 if test yes = "$cross_compiling"; then : 13364 lt_cv_dlopen_self=cross 13365else 13366 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 13367 lt_status=$lt_dlunknown 13368 cat > conftest.$ac_ext <<_LT_EOF 13369#line $LINENO "configure" 13370#include "confdefs.h" 13371 13372#if HAVE_DLFCN_H 13373#include <dlfcn.h> 13374#endif 13375 13376#include <stdio.h> 13377 13378#ifdef RTLD_GLOBAL 13379# define LT_DLGLOBAL RTLD_GLOBAL 13380#else 13381# ifdef DL_GLOBAL 13382# define LT_DLGLOBAL DL_GLOBAL 13383# else 13384# define LT_DLGLOBAL 0 13385# endif 13386#endif 13387 13388/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 13389 find out it does not work in some platform. */ 13390#ifndef LT_DLLAZY_OR_NOW 13391# ifdef RTLD_LAZY 13392# define LT_DLLAZY_OR_NOW RTLD_LAZY 13393# else 13394# ifdef DL_LAZY 13395# define LT_DLLAZY_OR_NOW DL_LAZY 13396# else 13397# ifdef RTLD_NOW 13398# define LT_DLLAZY_OR_NOW RTLD_NOW 13399# else 13400# ifdef DL_NOW 13401# define LT_DLLAZY_OR_NOW DL_NOW 13402# else 13403# define LT_DLLAZY_OR_NOW 0 13404# endif 13405# endif 13406# endif 13407# endif 13408#endif 13409 13410/* When -fvisibility=hidden is used, assume the code has been annotated 13411 correspondingly for the symbols needed. */ 13412#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 13413int fnord () __attribute__((visibility("default"))); 13414#endif 13415 13416int fnord () { return 42; } 13417int main () 13418{ 13419 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 13420 int status = $lt_dlunknown; 13421 13422 if (self) 13423 { 13424 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 13425 else 13426 { 13427 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 13428 else puts (dlerror ()); 13429 } 13430 /* dlclose (self); */ 13431 } 13432 else 13433 puts (dlerror ()); 13434 13435 return status; 13436} 13437_LT_EOF 13438 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 13439 (eval $ac_link) 2>&5 13440 ac_status=$? 13441 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13442 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 13443 (./conftest; exit; ) >&5 2>/dev/null 13444 lt_status=$? 13445 case x$lt_status in 13446 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 13447 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 13448 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 13449 esac 13450 else : 13451 # compilation failed 13452 lt_cv_dlopen_self=no 13453 fi 13454fi 13455rm -fr conftest* 13456 13457 13458fi 13459{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 13460$as_echo "$lt_cv_dlopen_self" >&6; } 13461 13462 if test yes = "$lt_cv_dlopen_self"; then 13463 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 13464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 13465$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 13466if ${lt_cv_dlopen_self_static+:} false; then : 13467 $as_echo_n "(cached) " >&6 13468else 13469 if test yes = "$cross_compiling"; then : 13470 lt_cv_dlopen_self_static=cross 13471else 13472 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 13473 lt_status=$lt_dlunknown 13474 cat > conftest.$ac_ext <<_LT_EOF 13475#line $LINENO "configure" 13476#include "confdefs.h" 13477 13478#if HAVE_DLFCN_H 13479#include <dlfcn.h> 13480#endif 13481 13482#include <stdio.h> 13483 13484#ifdef RTLD_GLOBAL 13485# define LT_DLGLOBAL RTLD_GLOBAL 13486#else 13487# ifdef DL_GLOBAL 13488# define LT_DLGLOBAL DL_GLOBAL 13489# else 13490# define LT_DLGLOBAL 0 13491# endif 13492#endif 13493 13494/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 13495 find out it does not work in some platform. */ 13496#ifndef LT_DLLAZY_OR_NOW 13497# ifdef RTLD_LAZY 13498# define LT_DLLAZY_OR_NOW RTLD_LAZY 13499# else 13500# ifdef DL_LAZY 13501# define LT_DLLAZY_OR_NOW DL_LAZY 13502# else 13503# ifdef RTLD_NOW 13504# define LT_DLLAZY_OR_NOW RTLD_NOW 13505# else 13506# ifdef DL_NOW 13507# define LT_DLLAZY_OR_NOW DL_NOW 13508# else 13509# define LT_DLLAZY_OR_NOW 0 13510# endif 13511# endif 13512# endif 13513# endif 13514#endif 13515 13516/* When -fvisibility=hidden is used, assume the code has been annotated 13517 correspondingly for the symbols needed. */ 13518#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 13519int fnord () __attribute__((visibility("default"))); 13520#endif 13521 13522int fnord () { return 42; } 13523int main () 13524{ 13525 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 13526 int status = $lt_dlunknown; 13527 13528 if (self) 13529 { 13530 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 13531 else 13532 { 13533 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 13534 else puts (dlerror ()); 13535 } 13536 /* dlclose (self); */ 13537 } 13538 else 13539 puts (dlerror ()); 13540 13541 return status; 13542} 13543_LT_EOF 13544 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 13545 (eval $ac_link) 2>&5 13546 ac_status=$? 13547 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13548 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 13549 (./conftest; exit; ) >&5 2>/dev/null 13550 lt_status=$? 13551 case x$lt_status in 13552 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 13553 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 13554 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 13555 esac 13556 else : 13557 # compilation failed 13558 lt_cv_dlopen_self_static=no 13559 fi 13560fi 13561rm -fr conftest* 13562 13563 13564fi 13565{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 13566$as_echo "$lt_cv_dlopen_self_static" >&6; } 13567 fi 13568 13569 CPPFLAGS=$save_CPPFLAGS 13570 LDFLAGS=$save_LDFLAGS 13571 LIBS=$save_LIBS 13572 ;; 13573 esac 13574 13575 case $lt_cv_dlopen_self in 13576 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 13577 *) enable_dlopen_self=unknown ;; 13578 esac 13579 13580 case $lt_cv_dlopen_self_static in 13581 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 13582 *) enable_dlopen_self_static=unknown ;; 13583 esac 13584fi 13585 13586 13587 13588 13589 13590 13591 13592 13593 13594 13595 13596 13597 13598 13599 13600 13601 13602striplib= 13603old_striplib= 13604{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 13605$as_echo_n "checking whether stripping libraries is possible... " >&6; } 13606if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 13607 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 13608 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 13609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13610$as_echo "yes" >&6; } 13611else 13612# FIXME - insert some real tests, host_os isn't really good enough 13613 case $host_os in 13614 darwin*) 13615 if test -n "$STRIP"; then 13616 striplib="$STRIP -x" 13617 old_striplib="$STRIP -S" 13618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13619$as_echo "yes" >&6; } 13620 else 13621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13622$as_echo "no" >&6; } 13623 fi 13624 ;; 13625 *) 13626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13627$as_echo "no" >&6; } 13628 ;; 13629 esac 13630fi 13631 13632 13633 13634 13635 13636 13637 13638 13639 13640 13641 13642 13643 # Report what library types will actually be built 13644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 13645$as_echo_n "checking if libtool supports shared libraries... " >&6; } 13646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 13647$as_echo "$can_build_shared" >&6; } 13648 13649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 13650$as_echo_n "checking whether to build shared libraries... " >&6; } 13651 test no = "$can_build_shared" && enable_shared=no 13652 13653 # On AIX, shared libraries and static libraries use the same namespace, and 13654 # are all built from PIC. 13655 case $host_os in 13656 aix3*) 13657 test yes = "$enable_shared" && enable_static=no 13658 if test -n "$RANLIB"; then 13659 archive_cmds="$archive_cmds~\$RANLIB \$lib" 13660 postinstall_cmds='$RANLIB $lib' 13661 fi 13662 ;; 13663 13664 aix[4-9]*) 13665 if test ia64 != "$host_cpu"; then 13666 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in 13667 yes,aix,yes) ;; # shared object as lib.so file only 13668 yes,svr4,*) ;; # shared object as lib.so archive member only 13669 yes,*) enable_static=no ;; # shared object in lib.a archive as well 13670 esac 13671 fi 13672 ;; 13673 esac 13674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 13675$as_echo "$enable_shared" >&6; } 13676 13677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 13678$as_echo_n "checking whether to build static libraries... " >&6; } 13679 # Make sure either enable_shared or enable_static is yes. 13680 test yes = "$enable_shared" || enable_static=yes 13681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 13682$as_echo "$enable_static" >&6; } 13683 13684 13685 13686 13687fi 13688ac_ext=c 13689ac_cpp='$CPP $CPPFLAGS' 13690ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13691ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13692ac_compiler_gnu=$ac_cv_c_compiler_gnu 13693 13694CC=$lt_save_CC 13695 13696 if test -n "$CXX" && ( test no != "$CXX" && 13697 ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) || 13698 (test g++ != "$CXX"))); then 13699 ac_ext=cpp 13700ac_cpp='$CXXCPP $CPPFLAGS' 13701ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13702ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13703ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 13704{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 13705$as_echo_n "checking how to run the C++ preprocessor... " >&6; } 13706if test -z "$CXXCPP"; then 13707 if ${ac_cv_prog_CXXCPP+:} false; then : 13708 $as_echo_n "(cached) " >&6 13709else 13710 # Double quotes because CXXCPP needs to be expanded 13711 for CXXCPP in "$CXX -E" "/lib/cpp" 13712 do 13713 ac_preproc_ok=false 13714for ac_cxx_preproc_warn_flag in '' yes 13715do 13716 # Use a header file that comes with gcc, so configuring glibc 13717 # with a fresh cross-compiler works. 13718 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 13719 # <limits.h> exists even on freestanding compilers. 13720 # On the NeXT, cc -E runs the code through the compiler's parser, 13721 # not just through cpp. "Syntax error" is here to catch this case. 13722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13723/* end confdefs.h. */ 13724#ifdef __STDC__ 13725# include <limits.h> 13726#else 13727# include <assert.h> 13728#endif 13729 Syntax error 13730_ACEOF 13731if ac_fn_cxx_try_cpp "$LINENO"; then : 13732 13733else 13734 # Broken: fails on valid input. 13735continue 13736fi 13737rm -f conftest.err conftest.i conftest.$ac_ext 13738 13739 # OK, works on sane cases. Now check whether nonexistent headers 13740 # can be detected and how. 13741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13742/* end confdefs.h. */ 13743#include <ac_nonexistent.h> 13744_ACEOF 13745if ac_fn_cxx_try_cpp "$LINENO"; then : 13746 # Broken: success on invalid input. 13747continue 13748else 13749 # Passes both tests. 13750ac_preproc_ok=: 13751break 13752fi 13753rm -f conftest.err conftest.i conftest.$ac_ext 13754 13755done 13756# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 13757rm -f conftest.i conftest.err conftest.$ac_ext 13758if $ac_preproc_ok; then : 13759 break 13760fi 13761 13762 done 13763 ac_cv_prog_CXXCPP=$CXXCPP 13764 13765fi 13766 CXXCPP=$ac_cv_prog_CXXCPP 13767else 13768 ac_cv_prog_CXXCPP=$CXXCPP 13769fi 13770{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 13771$as_echo "$CXXCPP" >&6; } 13772ac_preproc_ok=false 13773for ac_cxx_preproc_warn_flag in '' yes 13774do 13775 # Use a header file that comes with gcc, so configuring glibc 13776 # with a fresh cross-compiler works. 13777 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 13778 # <limits.h> exists even on freestanding compilers. 13779 # On the NeXT, cc -E runs the code through the compiler's parser, 13780 # not just through cpp. "Syntax error" is here to catch this case. 13781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13782/* end confdefs.h. */ 13783#ifdef __STDC__ 13784# include <limits.h> 13785#else 13786# include <assert.h> 13787#endif 13788 Syntax error 13789_ACEOF 13790if ac_fn_cxx_try_cpp "$LINENO"; then : 13791 13792else 13793 # Broken: fails on valid input. 13794continue 13795fi 13796rm -f conftest.err conftest.i conftest.$ac_ext 13797 13798 # OK, works on sane cases. Now check whether nonexistent headers 13799 # can be detected and how. 13800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13801/* end confdefs.h. */ 13802#include <ac_nonexistent.h> 13803_ACEOF 13804if ac_fn_cxx_try_cpp "$LINENO"; then : 13805 # Broken: success on invalid input. 13806continue 13807else 13808 # Passes both tests. 13809ac_preproc_ok=: 13810break 13811fi 13812rm -f conftest.err conftest.i conftest.$ac_ext 13813 13814done 13815# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 13816rm -f conftest.i conftest.err conftest.$ac_ext 13817if $ac_preproc_ok; then : 13818 13819else 13820 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 13821$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 13822as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check 13823See \`config.log' for more details" "$LINENO" 5; } 13824fi 13825 13826ac_ext=c 13827ac_cpp='$CPP $CPPFLAGS' 13828ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13829ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13830ac_compiler_gnu=$ac_cv_c_compiler_gnu 13831 13832else 13833 _lt_caught_CXX_error=yes 13834fi 13835 13836ac_ext=cpp 13837ac_cpp='$CXXCPP $CPPFLAGS' 13838ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13839ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13840ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 13841 13842archive_cmds_need_lc_CXX=no 13843allow_undefined_flag_CXX= 13844always_export_symbols_CXX=no 13845archive_expsym_cmds_CXX= 13846compiler_needs_object_CXX=no 13847export_dynamic_flag_spec_CXX= 13848hardcode_direct_CXX=no 13849hardcode_direct_absolute_CXX=no 13850hardcode_libdir_flag_spec_CXX= 13851hardcode_libdir_separator_CXX= 13852hardcode_minus_L_CXX=no 13853hardcode_shlibpath_var_CXX=unsupported 13854hardcode_automatic_CXX=no 13855inherit_rpath_CXX=no 13856module_cmds_CXX= 13857module_expsym_cmds_CXX= 13858link_all_deplibs_CXX=unknown 13859old_archive_cmds_CXX=$old_archive_cmds 13860reload_flag_CXX=$reload_flag 13861reload_cmds_CXX=$reload_cmds 13862no_undefined_flag_CXX= 13863whole_archive_flag_spec_CXX= 13864enable_shared_with_static_runtimes_CXX=no 13865 13866# Source file extension for C++ test sources. 13867ac_ext=cpp 13868 13869# Object file extension for compiled C++ test sources. 13870objext=o 13871objext_CXX=$objext 13872 13873# No sense in running all these tests if we already determined that 13874# the CXX compiler isn't working. Some variables (like enable_shared) 13875# are currently assumed to apply to all compilers on this platform, 13876# and will be corrupted by setting them based on a non-working compiler. 13877if test yes != "$_lt_caught_CXX_error"; then 13878 # Code to be used in simple compile tests 13879 lt_simple_compile_test_code="int some_variable = 0;" 13880 13881 # Code to be used in simple link tests 13882 lt_simple_link_test_code='int main(int, char *[]) { return(0); }' 13883 13884 # ltmain only uses $CC for tagged configurations so make sure $CC is set. 13885 13886 13887 13888 13889 13890 13891# If no C compiler was specified, use CC. 13892LTCC=${LTCC-"$CC"} 13893 13894# If no C compiler flags were specified, use CFLAGS. 13895LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 13896 13897# Allow CC to be a program name with arguments. 13898compiler=$CC 13899 13900 13901 # save warnings/boilerplate of simple test code 13902 ac_outfile=conftest.$ac_objext 13903echo "$lt_simple_compile_test_code" >conftest.$ac_ext 13904eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 13905_lt_compiler_boilerplate=`cat conftest.err` 13906$RM conftest* 13907 13908 ac_outfile=conftest.$ac_objext 13909echo "$lt_simple_link_test_code" >conftest.$ac_ext 13910eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 13911_lt_linker_boilerplate=`cat conftest.err` 13912$RM -r conftest* 13913 13914 13915 # Allow CC to be a program name with arguments. 13916 lt_save_CC=$CC 13917 lt_save_CFLAGS=$CFLAGS 13918 lt_save_LD=$LD 13919 lt_save_GCC=$GCC 13920 GCC=$GXX 13921 lt_save_with_gnu_ld=$with_gnu_ld 13922 lt_save_path_LD=$lt_cv_path_LD 13923 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then 13924 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx 13925 else 13926 $as_unset lt_cv_prog_gnu_ld 13927 fi 13928 if test -n "${lt_cv_path_LDCXX+set}"; then 13929 lt_cv_path_LD=$lt_cv_path_LDCXX 13930 else 13931 $as_unset lt_cv_path_LD 13932 fi 13933 test -z "${LDCXX+set}" || LD=$LDCXX 13934 CC=${CXX-"c++"} 13935 CFLAGS=$CXXFLAGS 13936 compiler=$CC 13937 compiler_CXX=$CC 13938 func_cc_basename $compiler 13939cc_basename=$func_cc_basename_result 13940 13941 13942 if test -n "$compiler"; then 13943 # We don't want -fno-exception when compiling C++ code, so set the 13944 # no_builtin_flag separately 13945 if test yes = "$GXX"; then 13946 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin' 13947 else 13948 lt_prog_compiler_no_builtin_flag_CXX= 13949 fi 13950 13951 if test yes = "$GXX"; then 13952 # Set up default GNU C++ configuration 13953 13954 13955 13956# Check whether --with-gnu-ld was given. 13957if test "${with_gnu_ld+set}" = set; then : 13958 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes 13959else 13960 with_gnu_ld=no 13961fi 13962 13963ac_prog=ld 13964if test yes = "$GCC"; then 13965 # Check if gcc -print-prog-name=ld gives a path. 13966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 13967$as_echo_n "checking for ld used by $CC... " >&6; } 13968 case $host in 13969 *-*-mingw*) 13970 # gcc leaves a trailing carriage return, which upsets mingw 13971 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 13972 *) 13973 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 13974 esac 13975 case $ac_prog in 13976 # Accept absolute paths. 13977 [\\/]* | ?:[\\/]*) 13978 re_direlt='/[^/][^/]*/\.\./' 13979 # Canonicalize the pathname of ld 13980 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 13981 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 13982 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 13983 done 13984 test -z "$LD" && LD=$ac_prog 13985 ;; 13986 "") 13987 # If it fails, then pretend we aren't using GCC. 13988 ac_prog=ld 13989 ;; 13990 *) 13991 # If it is relative, then search for the first ld in PATH. 13992 with_gnu_ld=unknown 13993 ;; 13994 esac 13995elif test yes = "$with_gnu_ld"; then 13996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 13997$as_echo_n "checking for GNU ld... " >&6; } 13998else 13999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 14000$as_echo_n "checking for non-GNU ld... " >&6; } 14001fi 14002if ${lt_cv_path_LD+:} false; then : 14003 $as_echo_n "(cached) " >&6 14004else 14005 if test -z "$LD"; then 14006 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 14007 for ac_dir in $PATH; do 14008 IFS=$lt_save_ifs 14009 test -z "$ac_dir" && ac_dir=. 14010 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 14011 lt_cv_path_LD=$ac_dir/$ac_prog 14012 # Check to see if the program is GNU ld. I'd rather use --version, 14013 # but apparently some variants of GNU ld only accept -v. 14014 # Break only if it was the GNU/non-GNU ld that we prefer. 14015 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 14016 *GNU* | *'with BFD'*) 14017 test no != "$with_gnu_ld" && break 14018 ;; 14019 *) 14020 test yes != "$with_gnu_ld" && break 14021 ;; 14022 esac 14023 fi 14024 done 14025 IFS=$lt_save_ifs 14026else 14027 lt_cv_path_LD=$LD # Let the user override the test with a path. 14028fi 14029fi 14030 14031LD=$lt_cv_path_LD 14032if test -n "$LD"; then 14033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 14034$as_echo "$LD" >&6; } 14035else 14036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14037$as_echo "no" >&6; } 14038fi 14039test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 14040{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 14041$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 14042if ${lt_cv_prog_gnu_ld+:} false; then : 14043 $as_echo_n "(cached) " >&6 14044else 14045 # I'd rather use --version here, but apparently some GNU lds only accept -v. 14046case `$LD -v 2>&1 </dev/null` in 14047*GNU* | *'with BFD'*) 14048 lt_cv_prog_gnu_ld=yes 14049 ;; 14050*) 14051 lt_cv_prog_gnu_ld=no 14052 ;; 14053esac 14054fi 14055{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 14056$as_echo "$lt_cv_prog_gnu_ld" >&6; } 14057with_gnu_ld=$lt_cv_prog_gnu_ld 14058 14059 14060 14061 14062 14063 14064 14065 # Check if GNU C++ uses GNU ld as the underlying linker, since the 14066 # archiving commands below assume that GNU ld is being used. 14067 if test yes = "$with_gnu_ld"; then 14068 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 14069 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' 14070 14071 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 14072 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 14073 14074 # If archive_cmds runs LD, not CC, wlarc should be empty 14075 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to 14076 # investigate it a little bit more. (MM) 14077 wlarc='$wl' 14078 14079 # ancient GNU ld didn't support --whole-archive et. al. 14080 if eval "`$CC -print-prog-name=ld` --help 2>&1" | 14081 $GREP 'no-whole-archive' > /dev/null; then 14082 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 14083 else 14084 whole_archive_flag_spec_CXX= 14085 fi 14086 else 14087 with_gnu_ld=no 14088 wlarc= 14089 14090 # A generic and very simple default shared library creation 14091 # command for GNU C++ for the case where it uses the native 14092 # linker, instead of GNU ld. If possible, this setting should 14093 # overridden to take advantage of the native linker features on 14094 # the platform it is being used on. 14095 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 14096 fi 14097 14098 # Commands to make compiler produce verbose output that lists 14099 # what "hidden" libraries, object files and flags are used when 14100 # linking a shared library. 14101 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 14102 14103 else 14104 GXX=no 14105 with_gnu_ld=no 14106 wlarc= 14107 fi 14108 14109 # PORTME: fill in a description of your system's C++ link characteristics 14110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 14111$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 14112 ld_shlibs_CXX=yes 14113 case $host_os in 14114 aix3*) 14115 # FIXME: insert proper C++ library support 14116 ld_shlibs_CXX=no 14117 ;; 14118 aix[4-9]*) 14119 if test ia64 = "$host_cpu"; then 14120 # On IA64, the linker does run time linking by default, so we don't 14121 # have to do anything special. 14122 aix_use_runtimelinking=no 14123 exp_sym_flag='-Bexport' 14124 no_entry_flag= 14125 else 14126 aix_use_runtimelinking=no 14127 14128 # Test if we are trying to use run time linking or normal 14129 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 14130 # have runtime linking enabled, and use it for executables. 14131 # For shared libraries, we enable/disable runtime linking 14132 # depending on the kind of the shared library created - 14133 # when "with_aix_soname,aix_use_runtimelinking" is: 14134 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables 14135 # "aix,yes" lib.so shared, rtl:yes, for executables 14136 # lib.a static archive 14137 # "both,no" lib.so.V(shr.o) shared, rtl:yes 14138 # lib.a(lib.so.V) shared, rtl:no, for executables 14139 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables 14140 # lib.a(lib.so.V) shared, rtl:no 14141 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables 14142 # lib.a static archive 14143 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 14144 for ld_flag in $LDFLAGS; do 14145 case $ld_flag in 14146 *-brtl*) 14147 aix_use_runtimelinking=yes 14148 break 14149 ;; 14150 esac 14151 done 14152 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then 14153 # With aix-soname=svr4, we create the lib.so.V shared archives only, 14154 # so we don't have lib.a shared libs to link our executables. 14155 # We have to force runtime linking in this case. 14156 aix_use_runtimelinking=yes 14157 LDFLAGS="$LDFLAGS -Wl,-brtl" 14158 fi 14159 ;; 14160 esac 14161 14162 exp_sym_flag='-bexport' 14163 no_entry_flag='-bnoentry' 14164 fi 14165 14166 # When large executables or shared objects are built, AIX ld can 14167 # have problems creating the table of contents. If linking a library 14168 # or program results in "error TOC overflow" add -mminimal-toc to 14169 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 14170 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 14171 14172 archive_cmds_CXX='' 14173 hardcode_direct_CXX=yes 14174 hardcode_direct_absolute_CXX=yes 14175 hardcode_libdir_separator_CXX=':' 14176 link_all_deplibs_CXX=yes 14177 file_list_spec_CXX='$wl-f,' 14178 case $with_aix_soname,$aix_use_runtimelinking in 14179 aix,*) ;; # no import file 14180 svr4,* | *,yes) # use import file 14181 # The Import File defines what to hardcode. 14182 hardcode_direct_CXX=no 14183 hardcode_direct_absolute_CXX=no 14184 ;; 14185 esac 14186 14187 if test yes = "$GXX"; then 14188 case $host_os in aix4.[012]|aix4.[012].*) 14189 # We only want to do this on AIX 4.2 and lower, the check 14190 # below for broken collect2 doesn't work under 4.3+ 14191 collect2name=`$CC -print-prog-name=collect2` 14192 if test -f "$collect2name" && 14193 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 14194 then 14195 # We have reworked collect2 14196 : 14197 else 14198 # We have old collect2 14199 hardcode_direct_CXX=unsupported 14200 # It fails to find uninstalled libraries when the uninstalled 14201 # path is not listed in the libpath. Setting hardcode_minus_L 14202 # to unsupported forces relinking 14203 hardcode_minus_L_CXX=yes 14204 hardcode_libdir_flag_spec_CXX='-L$libdir' 14205 hardcode_libdir_separator_CXX= 14206 fi 14207 esac 14208 shared_flag='-shared' 14209 if test yes = "$aix_use_runtimelinking"; then 14210 shared_flag=$shared_flag' $wl-G' 14211 fi 14212 # Need to ensure runtime linking is disabled for the traditional 14213 # shared library, or the linker may eventually find shared libraries 14214 # /with/ Import File - we do not want to mix them. 14215 shared_flag_aix='-shared' 14216 shared_flag_svr4='-shared $wl-G' 14217 else 14218 # not using gcc 14219 if test ia64 = "$host_cpu"; then 14220 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 14221 # chokes on -Wl,-G. The following line is correct: 14222 shared_flag='-G' 14223 else 14224 if test yes = "$aix_use_runtimelinking"; then 14225 shared_flag='$wl-G' 14226 else 14227 shared_flag='$wl-bM:SRE' 14228 fi 14229 shared_flag_aix='$wl-bM:SRE' 14230 shared_flag_svr4='$wl-G' 14231 fi 14232 fi 14233 14234 export_dynamic_flag_spec_CXX='$wl-bexpall' 14235 # It seems that -bexpall does not export symbols beginning with 14236 # underscore (_), so it is better to generate a list of symbols to 14237 # export. 14238 always_export_symbols_CXX=yes 14239 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then 14240 # Warning - without using the other runtime loading flags (-brtl), 14241 # -berok will link without error, but may produce a broken library. 14242 # The "-G" linker flag allows undefined symbols. 14243 no_undefined_flag_CXX='-bernotok' 14244 # Determine the default libpath from the value encoded in an empty 14245 # executable. 14246 if test set = "${lt_cv_aix_libpath+set}"; then 14247 aix_libpath=$lt_cv_aix_libpath 14248else 14249 if ${lt_cv_aix_libpath__CXX+:} false; then : 14250 $as_echo_n "(cached) " >&6 14251else 14252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14253/* end confdefs.h. */ 14254 14255int 14256main () 14257{ 14258 14259 ; 14260 return 0; 14261} 14262_ACEOF 14263if ac_fn_cxx_try_link "$LINENO"; then : 14264 14265 lt_aix_libpath_sed=' 14266 /Import File Strings/,/^$/ { 14267 /^0/ { 14268 s/^0 *\([^ ]*\) *$/\1/ 14269 p 14270 } 14271 }' 14272 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 14273 # Check for a 64-bit object if we didn't find anything. 14274 if test -z "$lt_cv_aix_libpath__CXX"; then 14275 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 14276 fi 14277fi 14278rm -f core conftest.err conftest.$ac_objext \ 14279 conftest$ac_exeext conftest.$ac_ext 14280 if test -z "$lt_cv_aix_libpath__CXX"; then 14281 lt_cv_aix_libpath__CXX=/usr/lib:/lib 14282 fi 14283 14284fi 14285 14286 aix_libpath=$lt_cv_aix_libpath__CXX 14287fi 14288 14289 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath" 14290 14291 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 14292 else 14293 if test ia64 = "$host_cpu"; then 14294 hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib' 14295 allow_undefined_flag_CXX="-z nodefs" 14296 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" 14297 else 14298 # Determine the default libpath from the value encoded in an 14299 # empty executable. 14300 if test set = "${lt_cv_aix_libpath+set}"; then 14301 aix_libpath=$lt_cv_aix_libpath 14302else 14303 if ${lt_cv_aix_libpath__CXX+:} false; then : 14304 $as_echo_n "(cached) " >&6 14305else 14306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14307/* end confdefs.h. */ 14308 14309int 14310main () 14311{ 14312 14313 ; 14314 return 0; 14315} 14316_ACEOF 14317if ac_fn_cxx_try_link "$LINENO"; then : 14318 14319 lt_aix_libpath_sed=' 14320 /Import File Strings/,/^$/ { 14321 /^0/ { 14322 s/^0 *\([^ ]*\) *$/\1/ 14323 p 14324 } 14325 }' 14326 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 14327 # Check for a 64-bit object if we didn't find anything. 14328 if test -z "$lt_cv_aix_libpath__CXX"; then 14329 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 14330 fi 14331fi 14332rm -f core conftest.err conftest.$ac_objext \ 14333 conftest$ac_exeext conftest.$ac_ext 14334 if test -z "$lt_cv_aix_libpath__CXX"; then 14335 lt_cv_aix_libpath__CXX=/usr/lib:/lib 14336 fi 14337 14338fi 14339 14340 aix_libpath=$lt_cv_aix_libpath__CXX 14341fi 14342 14343 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath" 14344 # Warning - without using the other run time loading flags, 14345 # -berok will link without error, but may produce a broken library. 14346 no_undefined_flag_CXX=' $wl-bernotok' 14347 allow_undefined_flag_CXX=' $wl-berok' 14348 if test yes = "$with_gnu_ld"; then 14349 # We only use this code for GNU lds that support --whole-archive. 14350 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive' 14351 else 14352 # Exported symbols can be pulled into shared objects from archives 14353 whole_archive_flag_spec_CXX='$convenience' 14354 fi 14355 archive_cmds_need_lc_CXX=yes 14356 archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' 14357 # -brtl affects multiple linker settings, -berok does not and is overridden later 14358 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' 14359 if test svr4 != "$with_aix_soname"; then 14360 # This is similar to how AIX traditionally builds its shared 14361 # libraries. Need -bnortl late, we may have -brtl in LDFLAGS. 14362 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' 14363 fi 14364 if test aix != "$with_aix_soname"; then 14365 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' 14366 else 14367 # used by -dlpreopen to get the symbols 14368 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV $output_objdir/$realname.d/$soname $output_objdir' 14369 fi 14370 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d' 14371 fi 14372 fi 14373 ;; 14374 14375 beos*) 14376 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 14377 allow_undefined_flag_CXX=unsupported 14378 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 14379 # support --undefined. This deserves some investigation. FIXME 14380 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 14381 else 14382 ld_shlibs_CXX=no 14383 fi 14384 ;; 14385 14386 chorus*) 14387 case $cc_basename in 14388 *) 14389 # FIXME: insert proper C++ library support 14390 ld_shlibs_CXX=no 14391 ;; 14392 esac 14393 ;; 14394 14395 cygwin* | mingw* | pw32* | cegcc*) 14396 case $GXX,$cc_basename in 14397 ,cl* | no,cl*) 14398 # Native MSVC 14399 # hardcode_libdir_flag_spec is actually meaningless, as there is 14400 # no search path for DLLs. 14401 hardcode_libdir_flag_spec_CXX=' ' 14402 allow_undefined_flag_CXX=unsupported 14403 always_export_symbols_CXX=yes 14404 file_list_spec_CXX='@' 14405 # Tell ltmain to make .lib files, not .a files. 14406 libext=lib 14407 # Tell ltmain to make .dll files, not .so files. 14408 shrext_cmds=.dll 14409 # FIXME: Setting linknames here is a bad hack. 14410 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' 14411 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 14412 cp "$export_symbols" "$output_objdir/$soname.def"; 14413 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; 14414 else 14415 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; 14416 fi~ 14417 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 14418 linknames=' 14419 # The linker will not automatically build a static lib if we build a DLL. 14420 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true' 14421 enable_shared_with_static_runtimes_CXX=yes 14422 # Don't use ranlib 14423 old_postinstall_cmds_CXX='chmod 644 $oldlib' 14424 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~ 14425 lt_tool_outputfile="@TOOL_OUTPUT@"~ 14426 case $lt_outputfile in 14427 *.exe|*.EXE) ;; 14428 *) 14429 lt_outputfile=$lt_outputfile.exe 14430 lt_tool_outputfile=$lt_tool_outputfile.exe 14431 ;; 14432 esac~ 14433 func_to_tool_file "$lt_outputfile"~ 14434 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then 14435 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 14436 $RM "$lt_outputfile.manifest"; 14437 fi' 14438 ;; 14439 *) 14440 # g++ 14441 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, 14442 # as there is no search path for DLLs. 14443 hardcode_libdir_flag_spec_CXX='-L$libdir' 14444 export_dynamic_flag_spec_CXX='$wl--export-all-symbols' 14445 allow_undefined_flag_CXX=unsupported 14446 always_export_symbols_CXX=no 14447 enable_shared_with_static_runtimes_CXX=yes 14448 14449 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 14450 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' 14451 # If the export-symbols file already is a .def file, use it as 14452 # is; otherwise, prepend EXPORTS... 14453 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 14454 cp $export_symbols $output_objdir/$soname.def; 14455 else 14456 echo EXPORTS > $output_objdir/$soname.def; 14457 cat $export_symbols >> $output_objdir/$soname.def; 14458 fi~ 14459 $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' 14460 else 14461 ld_shlibs_CXX=no 14462 fi 14463 ;; 14464 esac 14465 ;; 14466 darwin* | rhapsody*) 14467 14468 14469 archive_cmds_need_lc_CXX=no 14470 hardcode_direct_CXX=no 14471 hardcode_automatic_CXX=yes 14472 hardcode_shlibpath_var_CXX=unsupported 14473 if test yes = "$lt_cv_ld_force_load"; then 14474 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\"`' 14475 14476 else 14477 whole_archive_flag_spec_CXX='' 14478 fi 14479 link_all_deplibs_CXX=yes 14480 allow_undefined_flag_CXX=$_lt_dar_allow_undefined 14481 case $cc_basename in 14482 ifort*|nagfor*) _lt_dar_can_shared=yes ;; 14483 *) _lt_dar_can_shared=$GCC ;; 14484 esac 14485 if test yes = "$_lt_dar_can_shared"; then 14486 output_verbose_link_cmd=func_echo_all 14487 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" 14488 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" 14489 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" 14490 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" 14491 if test yes != "$lt_cv_apple_cc_single_mod"; then 14492 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" 14493 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" 14494 fi 14495 14496 else 14497 ld_shlibs_CXX=no 14498 fi 14499 14500 ;; 14501 14502 os2*) 14503 hardcode_libdir_flag_spec_CXX='-L$libdir' 14504 hardcode_minus_L_CXX=yes 14505 allow_undefined_flag_CXX=unsupported 14506 shrext_cmds=.dll 14507 archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 14508 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 14509 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 14510 $ECHO EXPORTS >> $output_objdir/$libname.def~ 14511 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 14512 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 14513 emximp -o $lib $output_objdir/$libname.def' 14514 archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 14515 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 14516 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 14517 $ECHO EXPORTS >> $output_objdir/$libname.def~ 14518 prefix_cmds="$SED"~ 14519 if test EXPORTS = "`$SED 1q $export_symbols`"; then 14520 prefix_cmds="$prefix_cmds -e 1d"; 14521 fi~ 14522 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 14523 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 14524 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 14525 emximp -o $lib $output_objdir/$libname.def' 14526 old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 14527 enable_shared_with_static_runtimes_CXX=yes 14528 ;; 14529 14530 dgux*) 14531 case $cc_basename in 14532 ec++*) 14533 # FIXME: insert proper C++ library support 14534 ld_shlibs_CXX=no 14535 ;; 14536 ghcx*) 14537 # Green Hills C++ Compiler 14538 # FIXME: insert proper C++ library support 14539 ld_shlibs_CXX=no 14540 ;; 14541 *) 14542 # FIXME: insert proper C++ library support 14543 ld_shlibs_CXX=no 14544 ;; 14545 esac 14546 ;; 14547 14548 freebsd2.*) 14549 # C++ shared libraries reported to be fairly broken before 14550 # switch to ELF 14551 ld_shlibs_CXX=no 14552 ;; 14553 14554 freebsd-elf*) 14555 archive_cmds_need_lc_CXX=no 14556 ;; 14557 14558 freebsd* | dragonfly*) 14559 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF 14560 # conventions 14561 ld_shlibs_CXX=yes 14562 ;; 14563 14564 haiku*) 14565 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 14566 link_all_deplibs_CXX=yes 14567 ;; 14568 14569 hpux9*) 14570 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir' 14571 hardcode_libdir_separator_CXX=: 14572 export_dynamic_flag_spec_CXX='$wl-E' 14573 hardcode_direct_CXX=yes 14574 hardcode_minus_L_CXX=yes # Not in the search PATH, 14575 # but as the default 14576 # location of the library. 14577 14578 case $cc_basename in 14579 CC*) 14580 # FIXME: insert proper C++ library support 14581 ld_shlibs_CXX=no 14582 ;; 14583 aCC*) 14584 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' 14585 # Commands to make compiler produce verbose output that lists 14586 # what "hidden" libraries, object files and flags are used when 14587 # linking a shared library. 14588 # 14589 # There doesn't appear to be a way to prevent this compiler from 14590 # explicitly linking system object files so we need to strip them 14591 # from the output so that they don't get included in the library 14592 # dependencies. 14593 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"' 14594 ;; 14595 *) 14596 if test yes = "$GXX"; then 14597 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' 14598 else 14599 # FIXME: insert proper C++ library support 14600 ld_shlibs_CXX=no 14601 fi 14602 ;; 14603 esac 14604 ;; 14605 14606 hpux10*|hpux11*) 14607 if test no = "$with_gnu_ld"; then 14608 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir' 14609 hardcode_libdir_separator_CXX=: 14610 14611 case $host_cpu in 14612 hppa*64*|ia64*) 14613 ;; 14614 *) 14615 export_dynamic_flag_spec_CXX='$wl-E' 14616 ;; 14617 esac 14618 fi 14619 case $host_cpu in 14620 hppa*64*|ia64*) 14621 hardcode_direct_CXX=no 14622 hardcode_shlibpath_var_CXX=no 14623 ;; 14624 *) 14625 hardcode_direct_CXX=yes 14626 hardcode_direct_absolute_CXX=yes 14627 hardcode_minus_L_CXX=yes # Not in the search PATH, 14628 # but as the default 14629 # location of the library. 14630 ;; 14631 esac 14632 14633 case $cc_basename in 14634 CC*) 14635 # FIXME: insert proper C++ library support 14636 ld_shlibs_CXX=no 14637 ;; 14638 aCC*) 14639 case $host_cpu in 14640 hppa*64*) 14641 archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14642 ;; 14643 ia64*) 14644 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14645 ;; 14646 *) 14647 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14648 ;; 14649 esac 14650 # Commands to make compiler produce verbose output that lists 14651 # what "hidden" libraries, object files and flags are used when 14652 # linking a shared library. 14653 # 14654 # There doesn't appear to be a way to prevent this compiler from 14655 # explicitly linking system object files so we need to strip them 14656 # from the output so that they don't get included in the library 14657 # dependencies. 14658 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"' 14659 ;; 14660 *) 14661 if test yes = "$GXX"; then 14662 if test no = "$with_gnu_ld"; then 14663 case $host_cpu in 14664 hppa*64*) 14665 archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14666 ;; 14667 ia64*) 14668 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14669 ;; 14670 *) 14671 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' 14672 ;; 14673 esac 14674 fi 14675 else 14676 # FIXME: insert proper C++ library support 14677 ld_shlibs_CXX=no 14678 fi 14679 ;; 14680 esac 14681 ;; 14682 14683 interix[3-9]*) 14684 hardcode_direct_CXX=no 14685 hardcode_shlibpath_var_CXX=no 14686 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 14687 export_dynamic_flag_spec_CXX='$wl-E' 14688 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 14689 # Instead, shared libraries are loaded at an image base (0x10000000 by 14690 # default) and relocated if they conflict, which is a slow very memory 14691 # consuming and fragmenting process. To avoid this, we pick a random, 14692 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 14693 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 14694 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' 14695 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' 14696 ;; 14697 irix5* | irix6*) 14698 case $cc_basename in 14699 CC*) 14700 # SGI C++ 14701 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' 14702 14703 # Archives containing C++ object files must be created using 14704 # "CC -ar", where "CC" is the IRIX C++ compiler. This is 14705 # necessary to make sure instantiated templates are included 14706 # in the archive. 14707 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs' 14708 ;; 14709 *) 14710 if test yes = "$GXX"; then 14711 if test no = "$with_gnu_ld"; then 14712 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' 14713 else 14714 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' 14715 fi 14716 fi 14717 link_all_deplibs_CXX=yes 14718 ;; 14719 esac 14720 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 14721 hardcode_libdir_separator_CXX=: 14722 inherit_rpath_CXX=yes 14723 ;; 14724 14725 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 14726 case $cc_basename in 14727 KCC*) 14728 # Kuck and Associates, Inc. (KAI) C++ Compiler 14729 14730 # KCC will only create a shared library if the output file 14731 # ends with ".so" (or ".sl" for HP-UX), so rename the library 14732 # to its proper name (with version) after linking. 14733 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' 14734 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' 14735 # Commands to make compiler produce verbose output that lists 14736 # what "hidden" libraries, object files and flags are used when 14737 # linking a shared library. 14738 # 14739 # There doesn't appear to be a way to prevent this compiler from 14740 # explicitly linking system object files so we need to strip them 14741 # from the output so that they don't get included in the library 14742 # dependencies. 14743 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"' 14744 14745 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 14746 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 14747 14748 # Archives containing C++ object files must be created using 14749 # "CC -Bstatic", where "CC" is the KAI C++ compiler. 14750 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' 14751 ;; 14752 icpc* | ecpc* ) 14753 # Intel C++ 14754 with_gnu_ld=yes 14755 # version 8.0 and above of icpc choke on multiply defined symbols 14756 # if we add $predep_objects and $postdep_objects, however 7.1 and 14757 # earlier do not add the objects themselves. 14758 case `$CC -V 2>&1` in 14759 *"Version 7."*) 14760 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 14761 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' 14762 ;; 14763 *) # Version 8.0 or newer 14764 tmp_idyn= 14765 case $host_cpu in 14766 ia64*) tmp_idyn=' -i_dynamic';; 14767 esac 14768 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 14769 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' 14770 ;; 14771 esac 14772 archive_cmds_need_lc_CXX=no 14773 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 14774 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 14775 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive' 14776 ;; 14777 pgCC* | pgcpp*) 14778 # Portland Group C++ compiler 14779 case `$CC -V` in 14780 *pgCC\ [1-5].* | *pgcpp\ [1-5].*) 14781 prelink_cmds_CXX='tpldir=Template.dir~ 14782 rm -rf $tpldir~ 14783 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~ 14784 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"' 14785 old_archive_cmds_CXX='tpldir=Template.dir~ 14786 rm -rf $tpldir~ 14787 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~ 14788 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~ 14789 $RANLIB $oldlib' 14790 archive_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 -o $lib' 14794 archive_expsym_cmds_CXX='tpldir=Template.dir~ 14795 rm -rf $tpldir~ 14796 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ 14797 $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' 14798 ;; 14799 *) # Version 6 and above use weak symbols 14800 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 14801 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' 14802 ;; 14803 esac 14804 14805 hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir' 14806 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 14807 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' 14808 ;; 14809 cxx*) 14810 # Compaq C++ 14811 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 14812 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' 14813 14814 runpath_var=LD_RUN_PATH 14815 hardcode_libdir_flag_spec_CXX='-rpath $libdir' 14816 hardcode_libdir_separator_CXX=: 14817 14818 # Commands to make compiler produce verbose output that lists 14819 # what "hidden" libraries, object files and flags are used when 14820 # linking a shared library. 14821 # 14822 # There doesn't appear to be a way to prevent this compiler from 14823 # explicitly linking system object files so we need to strip them 14824 # from the output so that they don't get included in the library 14825 # dependencies. 14826 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' 14827 ;; 14828 xl* | mpixl* | bgxl*) 14829 # IBM XL 8.0 on PPC, with GNU ld 14830 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 14831 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 14832 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 14833 if test yes = "$supports_anon_versioning"; then 14834 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~ 14835 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 14836 echo "local: *; };" >> $output_objdir/$libname.ver~ 14837 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' 14838 fi 14839 ;; 14840 *) 14841 case `$CC -V 2>&1 | sed 5q` in 14842 *Sun\ C*) 14843 # Sun C++ 5.9 14844 no_undefined_flag_CXX=' -zdefs' 14845 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14846 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' 14847 hardcode_libdir_flag_spec_CXX='-R$libdir' 14848 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' 14849 compiler_needs_object_CXX=yes 14850 14851 # Not sure whether something based on 14852 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 14853 # would be better. 14854 output_verbose_link_cmd='func_echo_all' 14855 14856 # Archives containing C++ object files must be created using 14857 # "CC -xar", where "CC" is the Sun C++ compiler. This is 14858 # necessary to make sure instantiated templates are included 14859 # in the archive. 14860 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' 14861 ;; 14862 esac 14863 ;; 14864 esac 14865 ;; 14866 14867 lynxos*) 14868 # FIXME: insert proper C++ library support 14869 ld_shlibs_CXX=no 14870 ;; 14871 14872 m88k*) 14873 # FIXME: insert proper C++ library support 14874 ld_shlibs_CXX=no 14875 ;; 14876 14877 mvs*) 14878 case $cc_basename in 14879 cxx*) 14880 # FIXME: insert proper C++ library support 14881 ld_shlibs_CXX=no 14882 ;; 14883 *) 14884 # FIXME: insert proper C++ library support 14885 ld_shlibs_CXX=no 14886 ;; 14887 esac 14888 ;; 14889 14890 netbsd*) 14891 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 14892 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' 14893 wlarc= 14894 hardcode_libdir_flag_spec_CXX='-R$libdir' 14895 hardcode_direct_CXX=yes 14896 hardcode_shlibpath_var_CXX=no 14897 fi 14898 # Workaround some broken pre-1.5 toolchains 14899 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' 14900 ;; 14901 14902 *nto* | *qnx*) 14903 ld_shlibs_CXX=yes 14904 ;; 14905 14906 openbsd* | bitrig*) 14907 if test -f /usr/libexec/ld.so; then 14908 hardcode_direct_CXX=yes 14909 hardcode_shlibpath_var_CXX=no 14910 hardcode_direct_absolute_CXX=yes 14911 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 14912 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 14913 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then 14914 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib' 14915 export_dynamic_flag_spec_CXX='$wl-E' 14916 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 14917 fi 14918 output_verbose_link_cmd=func_echo_all 14919 else 14920 ld_shlibs_CXX=no 14921 fi 14922 ;; 14923 14924 osf3* | osf4* | osf5*) 14925 case $cc_basename in 14926 KCC*) 14927 # Kuck and Associates, Inc. (KAI) C++ Compiler 14928 14929 # KCC will only create a shared library if the output file 14930 # ends with ".so" (or ".sl" for HP-UX), so rename the library 14931 # to its proper name (with version) after linking. 14932 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' 14933 14934 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 14935 hardcode_libdir_separator_CXX=: 14936 14937 # Archives containing C++ object files must be created using 14938 # the KAI C++ compiler. 14939 case $host in 14940 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;; 14941 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;; 14942 esac 14943 ;; 14944 RCC*) 14945 # Rational C++ 2.4.1 14946 # FIXME: insert proper C++ library support 14947 ld_shlibs_CXX=no 14948 ;; 14949 cxx*) 14950 case $host in 14951 osf3*) 14952 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*' 14953 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' 14954 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 14955 ;; 14956 *) 14957 allow_undefined_flag_CXX=' -expect_unresolved \*' 14958 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' 14959 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ 14960 echo "-hidden">> $lib.exp~ 14961 $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~ 14962 $RM $lib.exp' 14963 hardcode_libdir_flag_spec_CXX='-rpath $libdir' 14964 ;; 14965 esac 14966 14967 hardcode_libdir_separator_CXX=: 14968 14969 # Commands to make compiler produce verbose output that lists 14970 # what "hidden" libraries, object files and flags are used when 14971 # linking a shared library. 14972 # 14973 # There doesn't appear to be a way to prevent this compiler from 14974 # explicitly linking system object files so we need to strip them 14975 # from the output so that they don't get included in the library 14976 # dependencies. 14977 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"' 14978 ;; 14979 *) 14980 if test yes,no = "$GXX,$with_gnu_ld"; then 14981 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*' 14982 case $host in 14983 osf3*) 14984 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' 14985 ;; 14986 *) 14987 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' 14988 ;; 14989 esac 14990 14991 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 14992 hardcode_libdir_separator_CXX=: 14993 14994 # Commands to make compiler produce verbose output that lists 14995 # what "hidden" libraries, object files and flags are used when 14996 # linking a shared library. 14997 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 14998 14999 else 15000 # FIXME: insert proper C++ library support 15001 ld_shlibs_CXX=no 15002 fi 15003 ;; 15004 esac 15005 ;; 15006 15007 psos*) 15008 # FIXME: insert proper C++ library support 15009 ld_shlibs_CXX=no 15010 ;; 15011 15012 sunos4*) 15013 case $cc_basename in 15014 CC*) 15015 # Sun C++ 4.x 15016 # FIXME: insert proper C++ library support 15017 ld_shlibs_CXX=no 15018 ;; 15019 lcc*) 15020 # Lucid 15021 # FIXME: insert proper C++ library support 15022 ld_shlibs_CXX=no 15023 ;; 15024 *) 15025 # FIXME: insert proper C++ library support 15026 ld_shlibs_CXX=no 15027 ;; 15028 esac 15029 ;; 15030 15031 solaris*) 15032 case $cc_basename in 15033 CC* | sunCC*) 15034 # Sun C++ 4.2, 5.x and Centerline C++ 15035 archive_cmds_need_lc_CXX=yes 15036 no_undefined_flag_CXX=' -zdefs' 15037 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 15038 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 15039 $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' 15040 15041 hardcode_libdir_flag_spec_CXX='-R$libdir' 15042 hardcode_shlibpath_var_CXX=no 15043 case $host_os in 15044 solaris2.[0-5] | solaris2.[0-5].*) ;; 15045 *) 15046 # The compiler driver will combine and reorder linker options, 15047 # but understands '-z linker_flag'. 15048 # Supported since Solaris 2.6 (maybe 2.5.1?) 15049 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract' 15050 ;; 15051 esac 15052 link_all_deplibs_CXX=yes 15053 15054 output_verbose_link_cmd='func_echo_all' 15055 15056 # Archives containing C++ object files must be created using 15057 # "CC -xar", where "CC" is the Sun C++ compiler. This is 15058 # necessary to make sure instantiated templates are included 15059 # in the archive. 15060 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' 15061 ;; 15062 gcx*) 15063 # Green Hills C++ Compiler 15064 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' 15065 15066 # The C++ compiler must be used to create the archive. 15067 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs' 15068 ;; 15069 *) 15070 # GNU C++ compiler with Solaris linker 15071 if test yes,no = "$GXX,$with_gnu_ld"; then 15072 no_undefined_flag_CXX=' $wl-z ${wl}defs' 15073 if $CC --version | $GREP -v '^2\.7' > /dev/null; then 15074 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' 15075 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 15076 $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' 15077 15078 # Commands to make compiler produce verbose output that lists 15079 # what "hidden" libraries, object files and flags are used when 15080 # linking a shared library. 15081 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 15082 else 15083 # g++ 2.7 appears to require '-G' NOT '-shared' on this 15084 # platform. 15085 archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' 15086 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 15087 $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' 15088 15089 # Commands to make compiler produce verbose output that lists 15090 # what "hidden" libraries, object files and flags are used when 15091 # linking a shared library. 15092 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 15093 fi 15094 15095 hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir' 15096 case $host_os in 15097 solaris2.[0-5] | solaris2.[0-5].*) ;; 15098 *) 15099 whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' 15100 ;; 15101 esac 15102 fi 15103 ;; 15104 esac 15105 ;; 15106 15107 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 15108 no_undefined_flag_CXX='$wl-z,text' 15109 archive_cmds_need_lc_CXX=no 15110 hardcode_shlibpath_var_CXX=no 15111 runpath_var='LD_RUN_PATH' 15112 15113 case $cc_basename in 15114 CC*) 15115 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15116 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15117 ;; 15118 *) 15119 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15120 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15121 ;; 15122 esac 15123 ;; 15124 15125 sysv5* | sco3.2v5* | sco5v6*) 15126 # Note: We CANNOT use -z defs as we might desire, because we do not 15127 # link with -lc, and that would cause any symbols used from libc to 15128 # always be unresolved, which means just about no library would 15129 # ever link correctly. If we're not using GNU ld we use -z text 15130 # though, which does catch some bad symbols but isn't as heavy-handed 15131 # as -z defs. 15132 no_undefined_flag_CXX='$wl-z,text' 15133 allow_undefined_flag_CXX='$wl-z,nodefs' 15134 archive_cmds_need_lc_CXX=no 15135 hardcode_shlibpath_var_CXX=no 15136 hardcode_libdir_flag_spec_CXX='$wl-R,$libdir' 15137 hardcode_libdir_separator_CXX=':' 15138 link_all_deplibs_CXX=yes 15139 export_dynamic_flag_spec_CXX='$wl-Bexport' 15140 runpath_var='LD_RUN_PATH' 15141 15142 case $cc_basename in 15143 CC*) 15144 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15145 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15146 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~ 15147 '"$old_archive_cmds_CXX" 15148 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~ 15149 '"$reload_cmds_CXX" 15150 ;; 15151 *) 15152 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15153 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15154 ;; 15155 esac 15156 ;; 15157 15158 tandem*) 15159 case $cc_basename in 15160 NCC*) 15161 # NonStop-UX NCC 3.20 15162 # FIXME: insert proper C++ library support 15163 ld_shlibs_CXX=no 15164 ;; 15165 *) 15166 # FIXME: insert proper C++ library support 15167 ld_shlibs_CXX=no 15168 ;; 15169 esac 15170 ;; 15171 15172 vxworks*) 15173 # FIXME: insert proper C++ library support 15174 ld_shlibs_CXX=no 15175 ;; 15176 15177 *) 15178 # FIXME: insert proper C++ library support 15179 ld_shlibs_CXX=no 15180 ;; 15181 esac 15182 15183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 15184$as_echo "$ld_shlibs_CXX" >&6; } 15185 test no = "$ld_shlibs_CXX" && can_build_shared=no 15186 15187 GCC_CXX=$GXX 15188 LD_CXX=$LD 15189 15190 ## CAVEAT EMPTOR: 15191 ## There is no encapsulation within the following macros, do not change 15192 ## the running order or otherwise move them around unless you know exactly 15193 ## what you are doing... 15194 # Dependencies to place before and after the object being linked: 15195predep_objects_CXX= 15196postdep_objects_CXX= 15197predeps_CXX= 15198postdeps_CXX= 15199compiler_lib_search_path_CXX= 15200 15201cat > conftest.$ac_ext <<_LT_EOF 15202class Foo 15203{ 15204public: 15205 Foo (void) { a = 0; } 15206private: 15207 int a; 15208}; 15209_LT_EOF 15210 15211 15212_lt_libdeps_save_CFLAGS=$CFLAGS 15213case "$CC $CFLAGS " in #( 15214*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;; 15215*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;; 15216*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;; 15217esac 15218 15219if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 15220 (eval $ac_compile) 2>&5 15221 ac_status=$? 15222 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15223 test $ac_status = 0; }; then 15224 # Parse the compiler output and extract the necessary 15225 # objects, libraries and library flags. 15226 15227 # Sentinel used to keep track of whether or not we are before 15228 # the conftest object file. 15229 pre_test_object_deps_done=no 15230 15231 for p in `eval "$output_verbose_link_cmd"`; do 15232 case $prev$p in 15233 15234 -L* | -R* | -l*) 15235 # Some compilers place space between "-{L,R}" and the path. 15236 # Remove the space. 15237 if test x-L = "$p" || 15238 test x-R = "$p"; then 15239 prev=$p 15240 continue 15241 fi 15242 15243 # Expand the sysroot to ease extracting the directories later. 15244 if test -z "$prev"; then 15245 case $p in 15246 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;; 15247 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;; 15248 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;; 15249 esac 15250 fi 15251 case $p in 15252 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;; 15253 esac 15254 if test no = "$pre_test_object_deps_done"; then 15255 case $prev in 15256 -L | -R) 15257 # Internal compiler library paths should come after those 15258 # provided the user. The postdeps already come after the 15259 # user supplied libs so there is no need to process them. 15260 if test -z "$compiler_lib_search_path_CXX"; then 15261 compiler_lib_search_path_CXX=$prev$p 15262 else 15263 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p" 15264 fi 15265 ;; 15266 # The "-l" case would never come before the object being 15267 # linked, so don't bother handling this case. 15268 esac 15269 else 15270 if test -z "$postdeps_CXX"; then 15271 postdeps_CXX=$prev$p 15272 else 15273 postdeps_CXX="${postdeps_CXX} $prev$p" 15274 fi 15275 fi 15276 prev= 15277 ;; 15278 15279 *.lto.$objext) ;; # Ignore GCC LTO objects 15280 *.$objext) 15281 # This assumes that the test object file only shows up 15282 # once in the compiler output. 15283 if test "$p" = "conftest.$objext"; then 15284 pre_test_object_deps_done=yes 15285 continue 15286 fi 15287 15288 if test no = "$pre_test_object_deps_done"; then 15289 if test -z "$predep_objects_CXX"; then 15290 predep_objects_CXX=$p 15291 else 15292 predep_objects_CXX="$predep_objects_CXX $p" 15293 fi 15294 else 15295 if test -z "$postdep_objects_CXX"; then 15296 postdep_objects_CXX=$p 15297 else 15298 postdep_objects_CXX="$postdep_objects_CXX $p" 15299 fi 15300 fi 15301 ;; 15302 15303 *) ;; # Ignore the rest. 15304 15305 esac 15306 done 15307 15308 # Clean up. 15309 rm -f a.out a.exe 15310else 15311 echo "libtool.m4: error: problem compiling CXX test program" 15312fi 15313 15314$RM -f confest.$objext 15315CFLAGS=$_lt_libdeps_save_CFLAGS 15316 15317# PORTME: override above test on systems where it is broken 15318case $host_os in 15319interix[3-9]*) 15320 # Interix 3.5 installs completely hosed .la files for C++, so rather than 15321 # hack all around it, let's just trust "g++" to DTRT. 15322 predep_objects_CXX= 15323 postdep_objects_CXX= 15324 postdeps_CXX= 15325 ;; 15326esac 15327 15328 15329case " $postdeps_CXX " in 15330*" -lc "*) archive_cmds_need_lc_CXX=no ;; 15331esac 15332 compiler_lib_search_dirs_CXX= 15333if test -n "${compiler_lib_search_path_CXX}"; then 15334 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'` 15335fi 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 15364 15365 15366 15367 lt_prog_compiler_wl_CXX= 15368lt_prog_compiler_pic_CXX= 15369lt_prog_compiler_static_CXX= 15370 15371 15372 # C++ specific cases for pic, static, wl, etc. 15373 if test yes = "$GXX"; then 15374 lt_prog_compiler_wl_CXX='-Wl,' 15375 lt_prog_compiler_static_CXX='-static' 15376 15377 case $host_os in 15378 aix*) 15379 # All AIX code is PIC. 15380 if test ia64 = "$host_cpu"; then 15381 # AIX 5 now supports IA64 processor 15382 lt_prog_compiler_static_CXX='-Bstatic' 15383 fi 15384 lt_prog_compiler_pic_CXX='-fPIC' 15385 ;; 15386 15387 amigaos*) 15388 case $host_cpu in 15389 powerpc) 15390 # see comment about AmigaOS4 .so support 15391 lt_prog_compiler_pic_CXX='-fPIC' 15392 ;; 15393 m68k) 15394 # FIXME: we need at least 68020 code to build shared libraries, but 15395 # adding the '-m68020' flag to GCC prevents building anything better, 15396 # like '-m68040'. 15397 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4' 15398 ;; 15399 esac 15400 ;; 15401 15402 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 15403 # PIC is the default for these OSes. 15404 ;; 15405 mingw* | cygwin* | os2* | pw32* | cegcc*) 15406 # This hack is so that the source file can tell whether it is being 15407 # built for inclusion in a dll (and should export symbols for example). 15408 # Although the cygwin gcc ignores -fPIC, still need this for old-style 15409 # (--disable-auto-import) libraries 15410 lt_prog_compiler_pic_CXX='-DDLL_EXPORT' 15411 case $host_os in 15412 os2*) 15413 lt_prog_compiler_static_CXX='$wl-static' 15414 ;; 15415 esac 15416 ;; 15417 darwin* | rhapsody*) 15418 # PIC is the default on this platform 15419 # Common symbols not allowed in MH_DYLIB files 15420 lt_prog_compiler_pic_CXX='-fno-common' 15421 ;; 15422 *djgpp*) 15423 # DJGPP does not support shared libraries at all 15424 lt_prog_compiler_pic_CXX= 15425 ;; 15426 haiku*) 15427 # PIC is the default for Haiku. 15428 # The "-static" flag exists, but is broken. 15429 lt_prog_compiler_static_CXX= 15430 ;; 15431 interix[3-9]*) 15432 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 15433 # Instead, we relocate shared libraries at runtime. 15434 ;; 15435 sysv4*MP*) 15436 if test -d /usr/nec; then 15437 lt_prog_compiler_pic_CXX=-Kconform_pic 15438 fi 15439 ;; 15440 hpux*) 15441 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 15442 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 15443 # sets the default TLS model and affects inlining. 15444 case $host_cpu in 15445 hppa*64*) 15446 ;; 15447 *) 15448 lt_prog_compiler_pic_CXX='-fPIC' 15449 ;; 15450 esac 15451 ;; 15452 *qnx* | *nto*) 15453 # QNX uses GNU C++, but need to define -shared option too, otherwise 15454 # it will coredump. 15455 lt_prog_compiler_pic_CXX='-fPIC -shared' 15456 ;; 15457 *) 15458 lt_prog_compiler_pic_CXX='-fPIC' 15459 ;; 15460 esac 15461 else 15462 case $host_os in 15463 aix[4-9]*) 15464 # All AIX code is PIC. 15465 if test ia64 = "$host_cpu"; then 15466 # AIX 5 now supports IA64 processor 15467 lt_prog_compiler_static_CXX='-Bstatic' 15468 else 15469 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp' 15470 fi 15471 ;; 15472 chorus*) 15473 case $cc_basename in 15474 cxch68*) 15475 # Green Hills C++ Compiler 15476 # _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" 15477 ;; 15478 esac 15479 ;; 15480 mingw* | cygwin* | os2* | pw32* | cegcc*) 15481 # This hack is so that the source file can tell whether it is being 15482 # built for inclusion in a dll (and should export symbols for example). 15483 lt_prog_compiler_pic_CXX='-DDLL_EXPORT' 15484 ;; 15485 dgux*) 15486 case $cc_basename in 15487 ec++*) 15488 lt_prog_compiler_pic_CXX='-KPIC' 15489 ;; 15490 ghcx*) 15491 # Green Hills C++ Compiler 15492 lt_prog_compiler_pic_CXX='-pic' 15493 ;; 15494 *) 15495 ;; 15496 esac 15497 ;; 15498 freebsd* | dragonfly*) 15499 # FreeBSD uses GNU C++ 15500 ;; 15501 hpux9* | hpux10* | hpux11*) 15502 case $cc_basename in 15503 CC*) 15504 lt_prog_compiler_wl_CXX='-Wl,' 15505 lt_prog_compiler_static_CXX='$wl-a ${wl}archive' 15506 if test ia64 != "$host_cpu"; then 15507 lt_prog_compiler_pic_CXX='+Z' 15508 fi 15509 ;; 15510 aCC*) 15511 lt_prog_compiler_wl_CXX='-Wl,' 15512 lt_prog_compiler_static_CXX='$wl-a ${wl}archive' 15513 case $host_cpu in 15514 hppa*64*|ia64*) 15515 # +Z the default 15516 ;; 15517 *) 15518 lt_prog_compiler_pic_CXX='+Z' 15519 ;; 15520 esac 15521 ;; 15522 *) 15523 ;; 15524 esac 15525 ;; 15526 interix*) 15527 # This is c89, which is MS Visual C++ (no shared libs) 15528 # Anyone wants to do a port? 15529 ;; 15530 irix5* | irix6* | nonstopux*) 15531 case $cc_basename in 15532 CC*) 15533 lt_prog_compiler_wl_CXX='-Wl,' 15534 lt_prog_compiler_static_CXX='-non_shared' 15535 # CC pic flag -KPIC is the default. 15536 ;; 15537 *) 15538 ;; 15539 esac 15540 ;; 15541 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 15542 case $cc_basename in 15543 KCC*) 15544 # KAI C++ Compiler 15545 lt_prog_compiler_wl_CXX='--backend -Wl,' 15546 lt_prog_compiler_pic_CXX='-fPIC' 15547 ;; 15548 ecpc* ) 15549 # old Intel C++ for x86_64, which still supported -KPIC. 15550 lt_prog_compiler_wl_CXX='-Wl,' 15551 lt_prog_compiler_pic_CXX='-KPIC' 15552 lt_prog_compiler_static_CXX='-static' 15553 ;; 15554 icpc* ) 15555 # Intel C++, used to be incompatible with GCC. 15556 # ICC 10 doesn't accept -KPIC any more. 15557 lt_prog_compiler_wl_CXX='-Wl,' 15558 lt_prog_compiler_pic_CXX='-fPIC' 15559 lt_prog_compiler_static_CXX='-static' 15560 ;; 15561 pgCC* | pgcpp*) 15562 # Portland Group C++ compiler 15563 lt_prog_compiler_wl_CXX='-Wl,' 15564 lt_prog_compiler_pic_CXX='-fpic' 15565 lt_prog_compiler_static_CXX='-Bstatic' 15566 ;; 15567 cxx*) 15568 # Compaq C++ 15569 # Make sure the PIC flag is empty. It appears that all Alpha 15570 # Linux and Compaq Tru64 Unix objects are PIC. 15571 lt_prog_compiler_pic_CXX= 15572 lt_prog_compiler_static_CXX='-non_shared' 15573 ;; 15574 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*) 15575 # IBM XL 8.0, 9.0 on PPC and BlueGene 15576 lt_prog_compiler_wl_CXX='-Wl,' 15577 lt_prog_compiler_pic_CXX='-qpic' 15578 lt_prog_compiler_static_CXX='-qstaticlink' 15579 ;; 15580 *) 15581 case `$CC -V 2>&1 | sed 5q` in 15582 *Sun\ C*) 15583 # Sun C++ 5.9 15584 lt_prog_compiler_pic_CXX='-KPIC' 15585 lt_prog_compiler_static_CXX='-Bstatic' 15586 lt_prog_compiler_wl_CXX='-Qoption ld ' 15587 ;; 15588 esac 15589 ;; 15590 esac 15591 ;; 15592 lynxos*) 15593 ;; 15594 m88k*) 15595 ;; 15596 mvs*) 15597 case $cc_basename in 15598 cxx*) 15599 lt_prog_compiler_pic_CXX='-W c,exportall' 15600 ;; 15601 *) 15602 ;; 15603 esac 15604 ;; 15605 netbsd*) 15606 ;; 15607 *qnx* | *nto*) 15608 # QNX uses GNU C++, but need to define -shared option too, otherwise 15609 # it will coredump. 15610 lt_prog_compiler_pic_CXX='-fPIC -shared' 15611 ;; 15612 osf3* | osf4* | osf5*) 15613 case $cc_basename in 15614 KCC*) 15615 lt_prog_compiler_wl_CXX='--backend -Wl,' 15616 ;; 15617 RCC*) 15618 # Rational C++ 2.4.1 15619 lt_prog_compiler_pic_CXX='-pic' 15620 ;; 15621 cxx*) 15622 # Digital/Compaq C++ 15623 lt_prog_compiler_wl_CXX='-Wl,' 15624 # Make sure the PIC flag is empty. It appears that all Alpha 15625 # Linux and Compaq Tru64 Unix objects are PIC. 15626 lt_prog_compiler_pic_CXX= 15627 lt_prog_compiler_static_CXX='-non_shared' 15628 ;; 15629 *) 15630 ;; 15631 esac 15632 ;; 15633 psos*) 15634 ;; 15635 solaris*) 15636 case $cc_basename in 15637 CC* | sunCC*) 15638 # Sun C++ 4.2, 5.x and Centerline C++ 15639 lt_prog_compiler_pic_CXX='-KPIC' 15640 lt_prog_compiler_static_CXX='-Bstatic' 15641 lt_prog_compiler_wl_CXX='-Qoption ld ' 15642 ;; 15643 gcx*) 15644 # Green Hills C++ Compiler 15645 lt_prog_compiler_pic_CXX='-PIC' 15646 ;; 15647 *) 15648 ;; 15649 esac 15650 ;; 15651 sunos4*) 15652 case $cc_basename in 15653 CC*) 15654 # Sun C++ 4.x 15655 lt_prog_compiler_pic_CXX='-pic' 15656 lt_prog_compiler_static_CXX='-Bstatic' 15657 ;; 15658 lcc*) 15659 # Lucid 15660 lt_prog_compiler_pic_CXX='-pic' 15661 ;; 15662 *) 15663 ;; 15664 esac 15665 ;; 15666 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 15667 case $cc_basename in 15668 CC*) 15669 lt_prog_compiler_wl_CXX='-Wl,' 15670 lt_prog_compiler_pic_CXX='-KPIC' 15671 lt_prog_compiler_static_CXX='-Bstatic' 15672 ;; 15673 esac 15674 ;; 15675 tandem*) 15676 case $cc_basename in 15677 NCC*) 15678 # NonStop-UX NCC 3.20 15679 lt_prog_compiler_pic_CXX='-KPIC' 15680 ;; 15681 *) 15682 ;; 15683 esac 15684 ;; 15685 vxworks*) 15686 ;; 15687 *) 15688 lt_prog_compiler_can_build_shared_CXX=no 15689 ;; 15690 esac 15691 fi 15692 15693case $host_os in 15694 # For platforms that do not support PIC, -DPIC is meaningless: 15695 *djgpp*) 15696 lt_prog_compiler_pic_CXX= 15697 ;; 15698 *) 15699 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" 15700 ;; 15701esac 15702 15703{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 15704$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 15705if ${lt_cv_prog_compiler_pic_CXX+:} false; then : 15706 $as_echo_n "(cached) " >&6 15707else 15708 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX 15709fi 15710{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5 15711$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; } 15712lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX 15713 15714# 15715# Check to make sure the PIC flag actually works. 15716# 15717if test -n "$lt_prog_compiler_pic_CXX"; then 15718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 15719$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; } 15720if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then : 15721 $as_echo_n "(cached) " >&6 15722else 15723 lt_cv_prog_compiler_pic_works_CXX=no 15724 ac_outfile=conftest.$ac_objext 15725 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 15726 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" ## exclude from sc_useless_quotes_in_assignment 15727 # Insert the option either (1) after the last *FLAGS variable, or 15728 # (2) before a word containing "conftest.", or (3) at the end. 15729 # Note that $ac_compile itself does not contain backslashes and begins 15730 # with a dollar sign (not a hyphen), so the echo should work correctly. 15731 # The option is referenced via a variable to avoid confusing sed. 15732 lt_compile=`echo "$ac_compile" | $SED \ 15733 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 15734 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 15735 -e 's:$: $lt_compiler_flag:'` 15736 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 15737 (eval "$lt_compile" 2>conftest.err) 15738 ac_status=$? 15739 cat conftest.err >&5 15740 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15741 if (exit $ac_status) && test -s "$ac_outfile"; then 15742 # The compiler can only warn and ignore the option if not recognized 15743 # So say no if there are warnings other than the usual output. 15744 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 15745 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 15746 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 15747 lt_cv_prog_compiler_pic_works_CXX=yes 15748 fi 15749 fi 15750 $RM conftest* 15751 15752fi 15753{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5 15754$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; } 15755 15756if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then 15757 case $lt_prog_compiler_pic_CXX in 15758 "" | " "*) ;; 15759 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;; 15760 esac 15761else 15762 lt_prog_compiler_pic_CXX= 15763 lt_prog_compiler_can_build_shared_CXX=no 15764fi 15765 15766fi 15767 15768 15769 15770 15771 15772# 15773# Check to make sure the static flag actually works. 15774# 15775wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\" 15776{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 15777$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 15778if ${lt_cv_prog_compiler_static_works_CXX+:} false; then : 15779 $as_echo_n "(cached) " >&6 15780else 15781 lt_cv_prog_compiler_static_works_CXX=no 15782 save_LDFLAGS=$LDFLAGS 15783 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 15784 echo "$lt_simple_link_test_code" > conftest.$ac_ext 15785 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 15786 # The linker can only warn and ignore the option if not recognized 15787 # So say no if there are warnings 15788 if test -s conftest.err; then 15789 # Append any errors to the config.log. 15790 cat conftest.err 1>&5 15791 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 15792 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 15793 if diff conftest.exp conftest.er2 >/dev/null; then 15794 lt_cv_prog_compiler_static_works_CXX=yes 15795 fi 15796 else 15797 lt_cv_prog_compiler_static_works_CXX=yes 15798 fi 15799 fi 15800 $RM -r conftest* 15801 LDFLAGS=$save_LDFLAGS 15802 15803fi 15804{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5 15805$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; } 15806 15807if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then 15808 : 15809else 15810 lt_prog_compiler_static_CXX= 15811fi 15812 15813 15814 15815 15816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 15817$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 15818if ${lt_cv_prog_compiler_c_o_CXX+:} false; then : 15819 $as_echo_n "(cached) " >&6 15820else 15821 lt_cv_prog_compiler_c_o_CXX=no 15822 $RM -r conftest 2>/dev/null 15823 mkdir conftest 15824 cd conftest 15825 mkdir out 15826 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 15827 15828 lt_compiler_flag="-o out/conftest2.$ac_objext" 15829 # Insert the option either (1) after the last *FLAGS variable, or 15830 # (2) before a word containing "conftest.", or (3) at the end. 15831 # Note that $ac_compile itself does not contain backslashes and begins 15832 # with a dollar sign (not a hyphen), so the echo should work correctly. 15833 lt_compile=`echo "$ac_compile" | $SED \ 15834 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 15835 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 15836 -e 's:$: $lt_compiler_flag:'` 15837 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 15838 (eval "$lt_compile" 2>out/conftest.err) 15839 ac_status=$? 15840 cat out/conftest.err >&5 15841 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15842 if (exit $ac_status) && test -s out/conftest2.$ac_objext 15843 then 15844 # The compiler can only warn and ignore the option if not recognized 15845 # So say no if there are warnings 15846 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 15847 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 15848 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 15849 lt_cv_prog_compiler_c_o_CXX=yes 15850 fi 15851 fi 15852 chmod u+w . 2>&5 15853 $RM conftest* 15854 # SGI C++ compiler will create directory out/ii_files/ for 15855 # template instantiation 15856 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 15857 $RM out/* && rmdir out 15858 cd .. 15859 $RM -r conftest 15860 $RM conftest* 15861 15862fi 15863{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 15864$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } 15865 15866 15867 15868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 15869$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 15870if ${lt_cv_prog_compiler_c_o_CXX+:} false; then : 15871 $as_echo_n "(cached) " >&6 15872else 15873 lt_cv_prog_compiler_c_o_CXX=no 15874 $RM -r conftest 2>/dev/null 15875 mkdir conftest 15876 cd conftest 15877 mkdir out 15878 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 15879 15880 lt_compiler_flag="-o out/conftest2.$ac_objext" 15881 # Insert the option either (1) after the last *FLAGS variable, or 15882 # (2) before a word containing "conftest.", or (3) at the end. 15883 # Note that $ac_compile itself does not contain backslashes and begins 15884 # with a dollar sign (not a hyphen), so the echo should work correctly. 15885 lt_compile=`echo "$ac_compile" | $SED \ 15886 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 15887 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 15888 -e 's:$: $lt_compiler_flag:'` 15889 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 15890 (eval "$lt_compile" 2>out/conftest.err) 15891 ac_status=$? 15892 cat out/conftest.err >&5 15893 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15894 if (exit $ac_status) && test -s out/conftest2.$ac_objext 15895 then 15896 # The compiler can only warn and ignore the option if not recognized 15897 # So say no if there are warnings 15898 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 15899 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 15900 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 15901 lt_cv_prog_compiler_c_o_CXX=yes 15902 fi 15903 fi 15904 chmod u+w . 2>&5 15905 $RM conftest* 15906 # SGI C++ compiler will create directory out/ii_files/ for 15907 # template instantiation 15908 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 15909 $RM out/* && rmdir out 15910 cd .. 15911 $RM -r conftest 15912 $RM conftest* 15913 15914fi 15915{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 15916$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } 15917 15918 15919 15920 15921hard_links=nottested 15922if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then 15923 # do not overwrite the value of need_locks provided by the user 15924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 15925$as_echo_n "checking if we can lock with hard links... " >&6; } 15926 hard_links=yes 15927 $RM conftest* 15928 ln conftest.a conftest.b 2>/dev/null && hard_links=no 15929 touch conftest.a 15930 ln conftest.a conftest.b 2>&5 || hard_links=no 15931 ln conftest.a conftest.b 2>/dev/null && hard_links=no 15932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 15933$as_echo "$hard_links" >&6; } 15934 if test no = "$hard_links"; then 15935 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 15936$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} 15937 need_locks=warn 15938 fi 15939else 15940 need_locks=no 15941fi 15942 15943 15944 15945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 15946$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 15947 15948 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 15949 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 15950 case $host_os in 15951 aix[4-9]*) 15952 # If we're using GNU nm, then we don't want the "-C" option. 15953 # -C means demangle to GNU nm, but means don't demangle to AIX nm. 15954 # Without the "-l" option, or with the "-B" option, AIX nm treats 15955 # weak defined symbols like other global defined symbols, whereas 15956 # GNU nm marks them as "W". 15957 # While the 'weak' keyword is ignored in the Export File, we need 15958 # it in the Import File for the 'aix-soname' feature, so we have 15959 # to replace the "-B" option with "-P" for AIX nm. 15960 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 15961 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' 15962 else 15963 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' 15964 fi 15965 ;; 15966 pw32*) 15967 export_symbols_cmds_CXX=$ltdll_cmds 15968 ;; 15969 cygwin* | mingw* | cegcc*) 15970 case $cc_basename in 15971 cl*) 15972 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 15973 ;; 15974 *) 15975 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' 15976 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 15977 ;; 15978 esac 15979 ;; 15980 *) 15981 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 15982 ;; 15983 esac 15984 15985{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 15986$as_echo "$ld_shlibs_CXX" >&6; } 15987test no = "$ld_shlibs_CXX" && can_build_shared=no 15988 15989with_gnu_ld_CXX=$with_gnu_ld 15990 15991 15992 15993 15994 15995 15996# 15997# Do we need to explicitly link libc? 15998# 15999case "x$archive_cmds_need_lc_CXX" in 16000x|xyes) 16001 # Assume -lc should be added 16002 archive_cmds_need_lc_CXX=yes 16003 16004 if test yes,yes = "$GCC,$enable_shared"; then 16005 case $archive_cmds_CXX in 16006 *'~'*) 16007 # FIXME: we may have to deal with multi-command sequences. 16008 ;; 16009 '$CC '*) 16010 # Test whether the compiler implicitly links with -lc since on some 16011 # systems, -lgcc has to come before -lc. If gcc already passes -lc 16012 # to ld, don't add -lc before -lgcc. 16013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 16014$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 16015if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then : 16016 $as_echo_n "(cached) " >&6 16017else 16018 $RM conftest* 16019 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 16020 16021 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 16022 (eval $ac_compile) 2>&5 16023 ac_status=$? 16024 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16025 test $ac_status = 0; } 2>conftest.err; then 16026 soname=conftest 16027 lib=conftest 16028 libobjs=conftest.$ac_objext 16029 deplibs= 16030 wl=$lt_prog_compiler_wl_CXX 16031 pic_flag=$lt_prog_compiler_pic_CXX 16032 compiler_flags=-v 16033 linker_flags=-v 16034 verstring= 16035 output_objdir=. 16036 libname=conftest 16037 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX 16038 allow_undefined_flag_CXX= 16039 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 16040 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 16041 ac_status=$? 16042 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16043 test $ac_status = 0; } 16044 then 16045 lt_cv_archive_cmds_need_lc_CXX=no 16046 else 16047 lt_cv_archive_cmds_need_lc_CXX=yes 16048 fi 16049 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag 16050 else 16051 cat conftest.err 1>&5 16052 fi 16053 $RM conftest* 16054 16055fi 16056{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5 16057$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; } 16058 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX 16059 ;; 16060 esac 16061 fi 16062 ;; 16063esac 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 16123 16124 16125 16126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 16127$as_echo_n "checking dynamic linker characteristics... " >&6; } 16128 16129library_names_spec= 16130libname_spec='lib$name' 16131soname_spec= 16132shrext_cmds=.so 16133postinstall_cmds= 16134postuninstall_cmds= 16135finish_cmds= 16136finish_eval= 16137shlibpath_var= 16138shlibpath_overrides_runpath=unknown 16139version_type=none 16140dynamic_linker="$host_os ld.so" 16141sys_lib_dlsearch_path_spec="/lib /usr/lib" 16142need_lib_prefix=unknown 16143hardcode_into_libs=no 16144 16145# when you set need_version to no, make sure it does not cause -set_version 16146# flags to be left without arguments 16147need_version=unknown 16148 16149 16150 16151case $host_os in 16152aix3*) 16153 version_type=linux # correct to gnu/linux during the next big refactor 16154 library_names_spec='$libname$release$shared_ext$versuffix $libname.a' 16155 shlibpath_var=LIBPATH 16156 16157 # AIX 3 has no versioning support, so we append a major version to the name. 16158 soname_spec='$libname$release$shared_ext$major' 16159 ;; 16160 16161aix[4-9]*) 16162 version_type=linux # correct to gnu/linux during the next big refactor 16163 need_lib_prefix=no 16164 need_version=no 16165 hardcode_into_libs=yes 16166 if test ia64 = "$host_cpu"; then 16167 # AIX 5 supports IA64 16168 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' 16169 shlibpath_var=LD_LIBRARY_PATH 16170 else 16171 # With GCC up to 2.95.x, collect2 would create an import file 16172 # for dependence libraries. The import file would start with 16173 # the line '#! .'. This would cause the generated library to 16174 # depend on '.', always an invalid library. This was fixed in 16175 # development snapshots of GCC prior to 3.0. 16176 case $host_os in 16177 aix4 | aix4.[01] | aix4.[01].*) 16178 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 16179 echo ' yes ' 16180 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then 16181 : 16182 else 16183 can_build_shared=no 16184 fi 16185 ;; 16186 esac 16187 # Using Import Files as archive members, it is possible to support 16188 # filename-based versioning of shared library archives on AIX. While 16189 # this would work for both with and without runtime linking, it will 16190 # prevent static linking of such archives. So we do filename-based 16191 # shared library versioning with .so extension only, which is used 16192 # when both runtime linking and shared linking is enabled. 16193 # Unfortunately, runtime linking may impact performance, so we do 16194 # not want this to be the default eventually. Also, we use the 16195 # versioned .so libs for executables only if there is the -brtl 16196 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. 16197 # To allow for filename-based versioning support, we need to create 16198 # libNAME.so.V as an archive file, containing: 16199 # *) an Import File, referring to the versioned filename of the 16200 # archive as well as the shared archive member, telling the 16201 # bitwidth (32 or 64) of that shared object, and providing the 16202 # list of exported symbols of that shared object, eventually 16203 # decorated with the 'weak' keyword 16204 # *) the shared object with the F_LOADONLY flag set, to really avoid 16205 # it being seen by the linker. 16206 # At run time we better use the real file rather than another symlink, 16207 # but for link time we create the symlink libNAME.so -> libNAME.so.V 16208 16209 case $with_aix_soname,$aix_use_runtimelinking in 16210 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct 16211 # soname into executable. Probably we can add versioning support to 16212 # collect2, so additional links can be useful in future. 16213 aix,yes) # traditional libtool 16214 dynamic_linker='AIX unversionable lib.so' 16215 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 16216 # instead of lib<name>.a to let people know that these are not 16217 # typical AIX shared libraries. 16218 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16219 ;; 16220 aix,no) # traditional AIX only 16221 dynamic_linker='AIX lib.a(lib.so.V)' 16222 # We preserve .a as extension for shared libraries through AIX4.2 16223 # and later when we are not doing run time linking. 16224 library_names_spec='$libname$release.a $libname.a' 16225 soname_spec='$libname$release$shared_ext$major' 16226 ;; 16227 svr4,*) # full svr4 only 16228 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" 16229 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 16230 # We do not specify a path in Import Files, so LIBPATH fires. 16231 shlibpath_overrides_runpath=yes 16232 ;; 16233 *,yes) # both, prefer svr4 16234 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" 16235 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 16236 # unpreferred sharedlib libNAME.a needs extra handling 16237 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"' 16238 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"' 16239 # We do not specify a path in Import Files, so LIBPATH fires. 16240 shlibpath_overrides_runpath=yes 16241 ;; 16242 *,no) # both, prefer aix 16243 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" 16244 library_names_spec='$libname$release.a $libname.a' 16245 soname_spec='$libname$release$shared_ext$major' 16246 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling 16247 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)' 16248 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"' 16249 ;; 16250 esac 16251 shlibpath_var=LIBPATH 16252 fi 16253 ;; 16254 16255amigaos*) 16256 case $host_cpu in 16257 powerpc) 16258 # Since July 2007 AmigaOS4 officially supports .so libraries. 16259 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 16260 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16261 ;; 16262 m68k) 16263 library_names_spec='$libname.ixlibrary $libname.a' 16264 # Create ${libname}_ixlibrary.a entries in /sys/libs. 16265 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' 16266 ;; 16267 esac 16268 ;; 16269 16270beos*) 16271 library_names_spec='$libname$shared_ext' 16272 dynamic_linker="$host_os ld.so" 16273 shlibpath_var=LIBRARY_PATH 16274 ;; 16275 16276bsdi[45]*) 16277 version_type=linux # correct to gnu/linux during the next big refactor 16278 need_version=no 16279 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16280 soname_spec='$libname$release$shared_ext$major' 16281 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 16282 shlibpath_var=LD_LIBRARY_PATH 16283 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 16284 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 16285 # the default ld.so.conf also contains /usr/contrib/lib and 16286 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 16287 # libtool to hard-code these into programs 16288 ;; 16289 16290cygwin* | mingw* | pw32* | cegcc*) 16291 version_type=windows 16292 shrext_cmds=.dll 16293 need_version=no 16294 need_lib_prefix=no 16295 16296 case $GCC,$cc_basename in 16297 yes,*) 16298 # gcc 16299 library_names_spec='$libname.dll.a' 16300 # DLL is installed to $(libdir)/../bin by postinstall_cmds 16301 postinstall_cmds='base_file=`basename \$file`~ 16302 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 16303 dldir=$destdir/`dirname \$dlpath`~ 16304 test -d \$dldir || mkdir -p \$dldir~ 16305 $install_prog $dir/$dlname \$dldir/$dlname~ 16306 chmod a+x \$dldir/$dlname~ 16307 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 16308 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 16309 fi' 16310 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 16311 dlpath=$dir/\$dldll~ 16312 $RM \$dlpath' 16313 shlibpath_overrides_runpath=yes 16314 16315 case $host_os in 16316 cygwin*) 16317 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 16318 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 16319 16320 ;; 16321 mingw* | cegcc*) 16322 # MinGW DLLs use traditional 'lib' prefix 16323 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 16324 ;; 16325 pw32*) 16326 # pw32 DLLs use 'pw' prefix rather than 'lib' 16327 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 16328 ;; 16329 esac 16330 dynamic_linker='Win32 ld.exe' 16331 ;; 16332 16333 *,cl*) 16334 # Native MSVC 16335 libname_spec='$name' 16336 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 16337 library_names_spec='$libname.dll.lib' 16338 16339 case $build_os in 16340 mingw*) 16341 sys_lib_search_path_spec= 16342 lt_save_ifs=$IFS 16343 IFS=';' 16344 for lt_path in $LIB 16345 do 16346 IFS=$lt_save_ifs 16347 # Let DOS variable expansion print the short 8.3 style file name. 16348 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 16349 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 16350 done 16351 IFS=$lt_save_ifs 16352 # Convert to MSYS style. 16353 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 16354 ;; 16355 cygwin*) 16356 # Convert to unix form, then to dos form, then back to unix form 16357 # but this time dos style (no spaces!) so that the unix form looks 16358 # like /cygdrive/c/PROGRA~1:/cygdr... 16359 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 16360 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 16361 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 16362 ;; 16363 *) 16364 sys_lib_search_path_spec=$LIB 16365 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 16366 # It is most probably a Windows format PATH. 16367 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 16368 else 16369 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 16370 fi 16371 # FIXME: find the short name or the path components, as spaces are 16372 # common. (e.g. "Program Files" -> "PROGRA~1") 16373 ;; 16374 esac 16375 16376 # DLL is installed to $(libdir)/../bin by postinstall_cmds 16377 postinstall_cmds='base_file=`basename \$file`~ 16378 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 16379 dldir=$destdir/`dirname \$dlpath`~ 16380 test -d \$dldir || mkdir -p \$dldir~ 16381 $install_prog $dir/$dlname \$dldir/$dlname' 16382 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 16383 dlpath=$dir/\$dldll~ 16384 $RM \$dlpath' 16385 shlibpath_overrides_runpath=yes 16386 dynamic_linker='Win32 link.exe' 16387 ;; 16388 16389 *) 16390 # Assume MSVC wrapper 16391 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' 16392 dynamic_linker='Win32 ld.exe' 16393 ;; 16394 esac 16395 # FIXME: first we should search . and the directory the executable is in 16396 shlibpath_var=PATH 16397 ;; 16398 16399darwin* | rhapsody*) 16400 dynamic_linker="$host_os dyld" 16401 version_type=darwin 16402 need_lib_prefix=no 16403 need_version=no 16404 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' 16405 soname_spec='$libname$release$major$shared_ext' 16406 shlibpath_overrides_runpath=yes 16407 shlibpath_var=DYLD_LIBRARY_PATH 16408 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 16409 16410 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 16411 ;; 16412 16413dgux*) 16414 version_type=linux # correct to gnu/linux during the next big refactor 16415 need_lib_prefix=no 16416 need_version=no 16417 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16418 soname_spec='$libname$release$shared_ext$major' 16419 shlibpath_var=LD_LIBRARY_PATH 16420 ;; 16421 16422freebsd* | dragonfly*) 16423 # DragonFly does not have aout. When/if they implement a new 16424 # versioning mechanism, adjust this. 16425 if test -x /usr/bin/objformat; then 16426 objformat=`/usr/bin/objformat` 16427 else 16428 case $host_os in 16429 freebsd[23].*) objformat=aout ;; 16430 *) objformat=elf ;; 16431 esac 16432 fi 16433 version_type=freebsd-$objformat 16434 case $version_type in 16435 freebsd-elf*) 16436 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16437 soname_spec='$libname$release$shared_ext$major' 16438 need_version=no 16439 need_lib_prefix=no 16440 ;; 16441 freebsd-*) 16442 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 16443 need_version=yes 16444 ;; 16445 esac 16446 shlibpath_var=LD_LIBRARY_PATH 16447 case $host_os in 16448 freebsd2.*) 16449 shlibpath_overrides_runpath=yes 16450 ;; 16451 freebsd3.[01]* | freebsdelf3.[01]*) 16452 shlibpath_overrides_runpath=yes 16453 hardcode_into_libs=yes 16454 ;; 16455 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 16456 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 16457 shlibpath_overrides_runpath=no 16458 hardcode_into_libs=yes 16459 ;; 16460 *) # from 4.6 on, and DragonFly 16461 shlibpath_overrides_runpath=yes 16462 hardcode_into_libs=yes 16463 ;; 16464 esac 16465 ;; 16466 16467haiku*) 16468 version_type=linux # correct to gnu/linux during the next big refactor 16469 need_lib_prefix=no 16470 need_version=no 16471 dynamic_linker="$host_os runtime_loader" 16472 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16473 soname_spec='$libname$release$shared_ext$major' 16474 shlibpath_var=LIBRARY_PATH 16475 shlibpath_overrides_runpath=no 16476 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 16477 hardcode_into_libs=yes 16478 ;; 16479 16480hpux9* | hpux10* | hpux11*) 16481 # Give a soname corresponding to the major version so that dld.sl refuses to 16482 # link against other versions. 16483 version_type=sunos 16484 need_lib_prefix=no 16485 need_version=no 16486 case $host_cpu in 16487 ia64*) 16488 shrext_cmds='.so' 16489 hardcode_into_libs=yes 16490 dynamic_linker="$host_os dld.so" 16491 shlibpath_var=LD_LIBRARY_PATH 16492 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 16493 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16494 soname_spec='$libname$release$shared_ext$major' 16495 if test 32 = "$HPUX_IA64_MODE"; then 16496 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 16497 sys_lib_dlsearch_path_spec=/usr/lib/hpux32 16498 else 16499 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 16500 sys_lib_dlsearch_path_spec=/usr/lib/hpux64 16501 fi 16502 ;; 16503 hppa*64*) 16504 shrext_cmds='.sl' 16505 hardcode_into_libs=yes 16506 dynamic_linker="$host_os dld.sl" 16507 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 16508 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 16509 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16510 soname_spec='$libname$release$shared_ext$major' 16511 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 16512 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 16513 ;; 16514 *) 16515 shrext_cmds='.sl' 16516 dynamic_linker="$host_os dld.sl" 16517 shlibpath_var=SHLIB_PATH 16518 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 16519 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16520 soname_spec='$libname$release$shared_ext$major' 16521 ;; 16522 esac 16523 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 16524 postinstall_cmds='chmod 555 $lib' 16525 # or fails outright, so override atomically: 16526 install_override_mode=555 16527 ;; 16528 16529interix[3-9]*) 16530 version_type=linux # correct to gnu/linux during the next big refactor 16531 need_lib_prefix=no 16532 need_version=no 16533 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16534 soname_spec='$libname$release$shared_ext$major' 16535 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 16536 shlibpath_var=LD_LIBRARY_PATH 16537 shlibpath_overrides_runpath=no 16538 hardcode_into_libs=yes 16539 ;; 16540 16541irix5* | irix6* | nonstopux*) 16542 case $host_os in 16543 nonstopux*) version_type=nonstopux ;; 16544 *) 16545 if test yes = "$lt_cv_prog_gnu_ld"; then 16546 version_type=linux # correct to gnu/linux during the next big refactor 16547 else 16548 version_type=irix 16549 fi ;; 16550 esac 16551 need_lib_prefix=no 16552 need_version=no 16553 soname_spec='$libname$release$shared_ext$major' 16554 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' 16555 case $host_os in 16556 irix5* | nonstopux*) 16557 libsuff= shlibsuff= 16558 ;; 16559 *) 16560 case $LD in # libtool.m4 will add one of these switches to LD 16561 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 16562 libsuff= shlibsuff= libmagic=32-bit;; 16563 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 16564 libsuff=32 shlibsuff=N32 libmagic=N32;; 16565 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 16566 libsuff=64 shlibsuff=64 libmagic=64-bit;; 16567 *) libsuff= shlibsuff= libmagic=never-match;; 16568 esac 16569 ;; 16570 esac 16571 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 16572 shlibpath_overrides_runpath=no 16573 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" 16574 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" 16575 hardcode_into_libs=yes 16576 ;; 16577 16578# No shared lib support for Linux oldld, aout, or coff. 16579linux*oldld* | linux*aout* | linux*coff*) 16580 dynamic_linker=no 16581 ;; 16582 16583linux*android*) 16584 version_type=none # Android doesn't support versioned libraries. 16585 need_lib_prefix=no 16586 need_version=no 16587 library_names_spec='$libname$release$shared_ext' 16588 soname_spec='$libname$release$shared_ext' 16589 finish_cmds= 16590 shlibpath_var=LD_LIBRARY_PATH 16591 shlibpath_overrides_runpath=yes 16592 16593 # This implies no fast_install, which is unacceptable. 16594 # Some rework will be needed to allow for fast_install 16595 # before this can be enabled. 16596 hardcode_into_libs=yes 16597 16598 dynamic_linker='Android linker' 16599 # Don't embed -rpath directories since the linker doesn't support them. 16600 hardcode_libdir_flag_spec_CXX='-L$libdir' 16601 ;; 16602 16603# This must be glibc/ELF. 16604linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 16605 version_type=linux # correct to gnu/linux during the next big refactor 16606 need_lib_prefix=no 16607 need_version=no 16608 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16609 soname_spec='$libname$release$shared_ext$major' 16610 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 16611 shlibpath_var=LD_LIBRARY_PATH 16612 shlibpath_overrides_runpath=no 16613 16614 # Some binutils ld are patched to set DT_RUNPATH 16615 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 16616 $as_echo_n "(cached) " >&6 16617else 16618 lt_cv_shlibpath_overrides_runpath=no 16619 save_LDFLAGS=$LDFLAGS 16620 save_libdir=$libdir 16621 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \ 16622 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\"" 16623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16624/* end confdefs.h. */ 16625 16626int 16627main () 16628{ 16629 16630 ; 16631 return 0; 16632} 16633_ACEOF 16634if ac_fn_cxx_try_link "$LINENO"; then : 16635 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 16636 lt_cv_shlibpath_overrides_runpath=yes 16637fi 16638fi 16639rm -f core conftest.err conftest.$ac_objext \ 16640 conftest$ac_exeext conftest.$ac_ext 16641 LDFLAGS=$save_LDFLAGS 16642 libdir=$save_libdir 16643 16644fi 16645 16646 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 16647 16648 # This implies no fast_install, which is unacceptable. 16649 # Some rework will be needed to allow for fast_install 16650 # before this can be enabled. 16651 hardcode_into_libs=yes 16652 16653 # Add ABI-specific directories to the system library path. 16654 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" 16655 16656 # Ideally, we could use ldconfig to report *all* directores which are 16657 # searched for libraries, however this is still not possible. Aside from not 16658 # being certain /sbin/ldconfig is available, command 16659 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, 16660 # even though it is searched at run-time. Try to do the best guess by 16661 # appending ld.so.conf contents (and includes) to the search path. 16662 if test -f /etc/ld.so.conf; then 16663 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' ' '` 16664 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" 16665 fi 16666 16667 # We used to test for /lib/ld.so.1 and disable shared libraries on 16668 # powerpc, because MkLinux only supported shared libraries with the 16669 # GNU dynamic linker. Since this was broken with cross compilers, 16670 # most powerpc-linux boxes support dynamic linking these days and 16671 # people can always --disable-shared, the test was removed, and we 16672 # assume the GNU/Linux dynamic linker is in use. 16673 dynamic_linker='GNU/Linux ld.so' 16674 ;; 16675 16676netbsd*) 16677 version_type=sunos 16678 need_lib_prefix=no 16679 need_version=no 16680 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 16681 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 16682 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 16683 dynamic_linker='NetBSD (a.out) ld.so' 16684 else 16685 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16686 soname_spec='$libname$release$shared_ext$major' 16687 dynamic_linker='NetBSD ld.elf_so' 16688 fi 16689 shlibpath_var=LD_LIBRARY_PATH 16690 shlibpath_overrides_runpath=yes 16691 hardcode_into_libs=yes 16692 ;; 16693 16694newsos6) 16695 version_type=linux # correct to gnu/linux during the next big refactor 16696 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16697 shlibpath_var=LD_LIBRARY_PATH 16698 shlibpath_overrides_runpath=yes 16699 ;; 16700 16701*nto* | *qnx*) 16702 version_type=qnx 16703 need_lib_prefix=no 16704 need_version=no 16705 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16706 soname_spec='$libname$release$shared_ext$major' 16707 shlibpath_var=LD_LIBRARY_PATH 16708 shlibpath_overrides_runpath=no 16709 hardcode_into_libs=yes 16710 dynamic_linker='ldqnx.so' 16711 ;; 16712 16713openbsd* | bitrig*) 16714 version_type=sunos 16715 sys_lib_dlsearch_path_spec=/usr/lib 16716 need_lib_prefix=no 16717 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 16718 need_version=no 16719 else 16720 need_version=yes 16721 fi 16722 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 16723 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 16724 shlibpath_var=LD_LIBRARY_PATH 16725 shlibpath_overrides_runpath=yes 16726 ;; 16727 16728os2*) 16729 libname_spec='$name' 16730 version_type=windows 16731 shrext_cmds=.dll 16732 need_version=no 16733 need_lib_prefix=no 16734 # OS/2 can only load a DLL with a base name of 8 characters or less. 16735 soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; 16736 v=$($ECHO $release$versuffix | tr -d .-); 16737 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); 16738 $ECHO $n$v`$shared_ext' 16739 library_names_spec='${libname}_dll.$libext' 16740 dynamic_linker='OS/2 ld.exe' 16741 shlibpath_var=BEGINLIBPATH 16742 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 16743 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 16744 postinstall_cmds='base_file=`basename \$file`~ 16745 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ 16746 dldir=$destdir/`dirname \$dlpath`~ 16747 test -d \$dldir || mkdir -p \$dldir~ 16748 $install_prog $dir/$dlname \$dldir/$dlname~ 16749 chmod a+x \$dldir/$dlname~ 16750 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 16751 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 16752 fi' 16753 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ 16754 dlpath=$dir/\$dldll~ 16755 $RM \$dlpath' 16756 ;; 16757 16758osf3* | osf4* | osf5*) 16759 version_type=osf 16760 need_lib_prefix=no 16761 need_version=no 16762 soname_spec='$libname$release$shared_ext$major' 16763 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16764 shlibpath_var=LD_LIBRARY_PATH 16765 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 16766 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 16767 ;; 16768 16769rdos*) 16770 dynamic_linker=no 16771 ;; 16772 16773solaris*) 16774 version_type=linux # correct to gnu/linux during the next big refactor 16775 need_lib_prefix=no 16776 need_version=no 16777 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16778 soname_spec='$libname$release$shared_ext$major' 16779 shlibpath_var=LD_LIBRARY_PATH 16780 shlibpath_overrides_runpath=yes 16781 hardcode_into_libs=yes 16782 # ldd complains unless libraries are executable 16783 postinstall_cmds='chmod +x $lib' 16784 ;; 16785 16786sunos4*) 16787 version_type=sunos 16788 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 16789 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 16790 shlibpath_var=LD_LIBRARY_PATH 16791 shlibpath_overrides_runpath=yes 16792 if test yes = "$with_gnu_ld"; then 16793 need_lib_prefix=no 16794 fi 16795 need_version=yes 16796 ;; 16797 16798sysv4 | sysv4.3*) 16799 version_type=linux # correct to gnu/linux during the next big refactor 16800 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16801 soname_spec='$libname$release$shared_ext$major' 16802 shlibpath_var=LD_LIBRARY_PATH 16803 case $host_vendor in 16804 sni) 16805 shlibpath_overrides_runpath=no 16806 need_lib_prefix=no 16807 runpath_var=LD_RUN_PATH 16808 ;; 16809 siemens) 16810 need_lib_prefix=no 16811 ;; 16812 motorola) 16813 need_lib_prefix=no 16814 need_version=no 16815 shlibpath_overrides_runpath=no 16816 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 16817 ;; 16818 esac 16819 ;; 16820 16821sysv4*MP*) 16822 if test -d /usr/nec; then 16823 version_type=linux # correct to gnu/linux during the next big refactor 16824 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' 16825 soname_spec='$libname$shared_ext.$major' 16826 shlibpath_var=LD_LIBRARY_PATH 16827 fi 16828 ;; 16829 16830sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 16831 version_type=sco 16832 need_lib_prefix=no 16833 need_version=no 16834 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' 16835 soname_spec='$libname$release$shared_ext$major' 16836 shlibpath_var=LD_LIBRARY_PATH 16837 shlibpath_overrides_runpath=yes 16838 hardcode_into_libs=yes 16839 if test yes = "$with_gnu_ld"; then 16840 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 16841 else 16842 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 16843 case $host_os in 16844 sco3.2v5*) 16845 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 16846 ;; 16847 esac 16848 fi 16849 sys_lib_dlsearch_path_spec='/usr/lib' 16850 ;; 16851 16852tpf*) 16853 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 16854 version_type=linux # correct to gnu/linux during the next big refactor 16855 need_lib_prefix=no 16856 need_version=no 16857 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16858 shlibpath_var=LD_LIBRARY_PATH 16859 shlibpath_overrides_runpath=no 16860 hardcode_into_libs=yes 16861 ;; 16862 16863uts4*) 16864 version_type=linux # correct to gnu/linux during the next big refactor 16865 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16866 soname_spec='$libname$release$shared_ext$major' 16867 shlibpath_var=LD_LIBRARY_PATH 16868 ;; 16869 16870*) 16871 dynamic_linker=no 16872 ;; 16873esac 16874{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 16875$as_echo "$dynamic_linker" >&6; } 16876test no = "$dynamic_linker" && can_build_shared=no 16877 16878variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 16879if test yes = "$GCC"; then 16880 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 16881fi 16882 16883if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then 16884 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec 16885fi 16886 16887if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then 16888 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec 16889fi 16890 16891# remember unaugmented sys_lib_dlsearch_path content for libtool script decls... 16892configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec 16893 16894# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code 16895func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" 16896 16897# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool 16898configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH 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 16936 16937 16938 16939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 16940$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 16941hardcode_action_CXX= 16942if test -n "$hardcode_libdir_flag_spec_CXX" || 16943 test -n "$runpath_var_CXX" || 16944 test yes = "$hardcode_automatic_CXX"; then 16945 16946 # We can hardcode non-existent directories. 16947 if test no != "$hardcode_direct_CXX" && 16948 # If the only mechanism to avoid hardcoding is shlibpath_var, we 16949 # have to relink, otherwise we might link with an installed library 16950 # when we should be linking with a yet-to-be-installed one 16951 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" && 16952 test no != "$hardcode_minus_L_CXX"; then 16953 # Linking always hardcodes the temporary library directory. 16954 hardcode_action_CXX=relink 16955 else 16956 # We can link without hardcoding, and we can hardcode nonexisting dirs. 16957 hardcode_action_CXX=immediate 16958 fi 16959else 16960 # We cannot hardcode anything, or else we can only hardcode existing 16961 # directories. 16962 hardcode_action_CXX=unsupported 16963fi 16964{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5 16965$as_echo "$hardcode_action_CXX" >&6; } 16966 16967if test relink = "$hardcode_action_CXX" || 16968 test yes = "$inherit_rpath_CXX"; then 16969 # Fast installation is not supported 16970 enable_fast_install=no 16971elif test yes = "$shlibpath_overrides_runpath" || 16972 test no = "$enable_shared"; then 16973 # Fast installation is not necessary 16974 enable_fast_install=needless 16975fi 16976 16977 16978 16979 16980 16981 16982 16983 fi # test -n "$compiler" 16984 16985 CC=$lt_save_CC 16986 CFLAGS=$lt_save_CFLAGS 16987 LDCXX=$LD 16988 LD=$lt_save_LD 16989 GCC=$lt_save_GCC 16990 with_gnu_ld=$lt_save_with_gnu_ld 16991 lt_cv_path_LDCXX=$lt_cv_path_LD 16992 lt_cv_path_LD=$lt_save_path_LD 16993 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld 16994 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld 16995fi # test yes != "$_lt_caught_CXX_error" 16996 16997ac_ext=c 16998ac_cpp='$CPP $CPPFLAGS' 16999ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 17000ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 17001ac_compiler_gnu=$ac_cv_c_compiler_gnu 17002 17003 17004 17005 17006 17007 17008 17009 17010 17011 17012 17013 17014 17015 17016 17017 ac_config_commands="$ac_config_commands libtool" 17018 17019 17020 17021 17022# Only expand once: 17023 17024 17025 17026 17027# Extract the first word of "pkg-config", so it can be a program name with args. 17028set dummy pkg-config; ac_word=$2 17029{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 17030$as_echo_n "checking for $ac_word... " >&6; } 17031if ${ac_cv_path_PKGCONFIG+:} false; then : 17032 $as_echo_n "(cached) " >&6 17033else 17034 case $PKGCONFIG in 17035 [\\/]* | ?:[\\/]*) 17036 ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path. 17037 ;; 17038 *) 17039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 17040for as_dir in $PATH 17041do 17042 IFS=$as_save_IFS 17043 test -z "$as_dir" && as_dir=. 17044 for ac_exec_ext in '' $ac_executable_extensions; do 17045 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 17046 ac_cv_path_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext" 17047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 17048 break 2 17049 fi 17050done 17051 done 17052IFS=$as_save_IFS 17053 17054 ;; 17055esac 17056fi 17057PKGCONFIG=$ac_cv_path_PKGCONFIG 17058if test -n "$PKGCONFIG"; then 17059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5 17060$as_echo "$PKGCONFIG" >&6; } 17061else 17062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17063$as_echo "no" >&6; } 17064fi 17065 17066 17067 17068 17069mkdir_p="$MKDIR_P" 17070case $mkdir_p in 17071 [\\/$]* | ?:[\\/]*) ;; 17072 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 17073esac 17074 17075 17076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 17077$as_echo_n "checking whether NLS is requested... " >&6; } 17078 # Check whether --enable-nls was given. 17079if test "${enable_nls+set}" = set; then : 17080 enableval=$enable_nls; USE_NLS=$enableval 17081else 17082 USE_NLS=yes 17083fi 17084 17085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 17086$as_echo "$USE_NLS" >&6; } 17087 17088 17089 17090 17091 GETTEXT_MACRO_VERSION=0.18 17092 17093 17094 17095 17096# Prepare PATH_SEPARATOR. 17097# The user is always right. 17098if test "${PATH_SEPARATOR+set}" != set; then 17099 echo "#! /bin/sh" >conf$$.sh 17100 echo "exit 0" >>conf$$.sh 17101 chmod +x conf$$.sh 17102 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 17103 PATH_SEPARATOR=';' 17104 else 17105 PATH_SEPARATOR=: 17106 fi 17107 rm -f conf$$.sh 17108fi 17109 17110# Find out how to test for executable files. Don't use a zero-byte file, 17111# as systems may use methods other than mode bits to determine executability. 17112cat >conf$$.file <<_ASEOF 17113#! /bin/sh 17114exit 0 17115_ASEOF 17116chmod +x conf$$.file 17117if test -x conf$$.file >/dev/null 2>&1; then 17118 ac_executable_p="test -x" 17119else 17120 ac_executable_p="test -f" 17121fi 17122rm -f conf$$.file 17123 17124# Extract the first word of "msgfmt", so it can be a program name with args. 17125set dummy msgfmt; ac_word=$2 17126{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 17127$as_echo_n "checking for $ac_word... " >&6; } 17128if ${ac_cv_path_MSGFMT+:} false; then : 17129 $as_echo_n "(cached) " >&6 17130else 17131 case "$MSGFMT" in 17132 [\\/]* | ?:[\\/]*) 17133 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 17134 ;; 17135 *) 17136 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 17137 for ac_dir in $PATH; do 17138 IFS="$ac_save_IFS" 17139 test -z "$ac_dir" && ac_dir=. 17140 for ac_exec_ext in '' $ac_executable_extensions; do 17141 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 17142 echo "$as_me: trying $ac_dir/$ac_word..." >&5 17143 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 && 17144 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then 17145 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext" 17146 break 2 17147 fi 17148 fi 17149 done 17150 done 17151 IFS="$ac_save_IFS" 17152 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":" 17153 ;; 17154esac 17155fi 17156MSGFMT="$ac_cv_path_MSGFMT" 17157if test "$MSGFMT" != ":"; then 17158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 17159$as_echo "$MSGFMT" >&6; } 17160else 17161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17162$as_echo "no" >&6; } 17163fi 17164 17165 # Extract the first word of "gmsgfmt", so it can be a program name with args. 17166set dummy gmsgfmt; ac_word=$2 17167{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 17168$as_echo_n "checking for $ac_word... " >&6; } 17169if ${ac_cv_path_GMSGFMT+:} false; then : 17170 $as_echo_n "(cached) " >&6 17171else 17172 case $GMSGFMT in 17173 [\\/]* | ?:[\\/]*) 17174 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 17175 ;; 17176 *) 17177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 17178for as_dir in $PATH 17179do 17180 IFS=$as_save_IFS 17181 test -z "$as_dir" && as_dir=. 17182 for ac_exec_ext in '' $ac_executable_extensions; do 17183 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 17184 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" 17185 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 17186 break 2 17187 fi 17188done 17189 done 17190IFS=$as_save_IFS 17191 17192 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" 17193 ;; 17194esac 17195fi 17196GMSGFMT=$ac_cv_path_GMSGFMT 17197if test -n "$GMSGFMT"; then 17198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 17199$as_echo "$GMSGFMT" >&6; } 17200else 17201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17202$as_echo "no" >&6; } 17203fi 17204 17205 17206 17207 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in 17208 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;; 17209 *) MSGFMT_015=$MSGFMT ;; 17210 esac 17211 17212 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in 17213 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;; 17214 *) GMSGFMT_015=$GMSGFMT ;; 17215 esac 17216 17217 17218 17219# Prepare PATH_SEPARATOR. 17220# The user is always right. 17221if test "${PATH_SEPARATOR+set}" != set; then 17222 echo "#! /bin/sh" >conf$$.sh 17223 echo "exit 0" >>conf$$.sh 17224 chmod +x conf$$.sh 17225 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 17226 PATH_SEPARATOR=';' 17227 else 17228 PATH_SEPARATOR=: 17229 fi 17230 rm -f conf$$.sh 17231fi 17232 17233# Find out how to test for executable files. Don't use a zero-byte file, 17234# as systems may use methods other than mode bits to determine executability. 17235cat >conf$$.file <<_ASEOF 17236#! /bin/sh 17237exit 0 17238_ASEOF 17239chmod +x conf$$.file 17240if test -x conf$$.file >/dev/null 2>&1; then 17241 ac_executable_p="test -x" 17242else 17243 ac_executable_p="test -f" 17244fi 17245rm -f conf$$.file 17246 17247# Extract the first word of "xgettext", so it can be a program name with args. 17248set dummy xgettext; ac_word=$2 17249{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 17250$as_echo_n "checking for $ac_word... " >&6; } 17251if ${ac_cv_path_XGETTEXT+:} false; then : 17252 $as_echo_n "(cached) " >&6 17253else 17254 case "$XGETTEXT" in 17255 [\\/]* | ?:[\\/]*) 17256 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 17257 ;; 17258 *) 17259 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 17260 for ac_dir in $PATH; do 17261 IFS="$ac_save_IFS" 17262 test -z "$ac_dir" && ac_dir=. 17263 for ac_exec_ext in '' $ac_executable_extensions; do 17264 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 17265 echo "$as_me: trying $ac_dir/$ac_word..." >&5 17266 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 && 17267 (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 17268 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext" 17269 break 2 17270 fi 17271 fi 17272 done 17273 done 17274 IFS="$ac_save_IFS" 17275 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" 17276 ;; 17277esac 17278fi 17279XGETTEXT="$ac_cv_path_XGETTEXT" 17280if test "$XGETTEXT" != ":"; then 17281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 17282$as_echo "$XGETTEXT" >&6; } 17283else 17284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17285$as_echo "no" >&6; } 17286fi 17287 17288 rm -f messages.po 17289 17290 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in 17291 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;; 17292 *) XGETTEXT_015=$XGETTEXT ;; 17293 esac 17294 17295 17296 17297# Prepare PATH_SEPARATOR. 17298# The user is always right. 17299if test "${PATH_SEPARATOR+set}" != set; then 17300 echo "#! /bin/sh" >conf$$.sh 17301 echo "exit 0" >>conf$$.sh 17302 chmod +x conf$$.sh 17303 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 17304 PATH_SEPARATOR=';' 17305 else 17306 PATH_SEPARATOR=: 17307 fi 17308 rm -f conf$$.sh 17309fi 17310 17311# Find out how to test for executable files. Don't use a zero-byte file, 17312# as systems may use methods other than mode bits to determine executability. 17313cat >conf$$.file <<_ASEOF 17314#! /bin/sh 17315exit 0 17316_ASEOF 17317chmod +x conf$$.file 17318if test -x conf$$.file >/dev/null 2>&1; then 17319 ac_executable_p="test -x" 17320else 17321 ac_executable_p="test -f" 17322fi 17323rm -f conf$$.file 17324 17325# Extract the first word of "msgmerge", so it can be a program name with args. 17326set dummy msgmerge; ac_word=$2 17327{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 17328$as_echo_n "checking for $ac_word... " >&6; } 17329if ${ac_cv_path_MSGMERGE+:} false; then : 17330 $as_echo_n "(cached) " >&6 17331else 17332 case "$MSGMERGE" in 17333 [\\/]* | ?:[\\/]*) 17334 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. 17335 ;; 17336 *) 17337 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 17338 for ac_dir in $PATH; do 17339 IFS="$ac_save_IFS" 17340 test -z "$ac_dir" && ac_dir=. 17341 for ac_exec_ext in '' $ac_executable_extensions; do 17342 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 17343 echo "$as_me: trying $ac_dir/$ac_word..." >&5 17344 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then 17345 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext" 17346 break 2 17347 fi 17348 fi 17349 done 17350 done 17351 IFS="$ac_save_IFS" 17352 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":" 17353 ;; 17354esac 17355fi 17356MSGMERGE="$ac_cv_path_MSGMERGE" 17357if test "$MSGMERGE" != ":"; then 17358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 17359$as_echo "$MSGMERGE" >&6; } 17360else 17361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17362$as_echo "no" >&6; } 17363fi 17364 17365 17366 test -n "$localedir" || localedir='${datadir}/locale' 17367 17368 17369 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS= 17370 17371 17372 ac_config_commands="$ac_config_commands po-directories" 17373 17374 17375 17376 if test "X$prefix" = "XNONE"; then 17377 acl_final_prefix="$ac_default_prefix" 17378 else 17379 acl_final_prefix="$prefix" 17380 fi 17381 if test "X$exec_prefix" = "XNONE"; then 17382 acl_final_exec_prefix='${prefix}' 17383 else 17384 acl_final_exec_prefix="$exec_prefix" 17385 fi 17386 acl_save_prefix="$prefix" 17387 prefix="$acl_final_prefix" 17388 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" 17389 prefix="$acl_save_prefix" 17390 17391 17392# Check whether --with-gnu-ld was given. 17393if test "${with_gnu_ld+set}" = set; then : 17394 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 17395else 17396 with_gnu_ld=no 17397fi 17398 17399# Prepare PATH_SEPARATOR. 17400# The user is always right. 17401if test "${PATH_SEPARATOR+set}" != set; then 17402 echo "#! /bin/sh" >conf$$.sh 17403 echo "exit 0" >>conf$$.sh 17404 chmod +x conf$$.sh 17405 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 17406 PATH_SEPARATOR=';' 17407 else 17408 PATH_SEPARATOR=: 17409 fi 17410 rm -f conf$$.sh 17411fi 17412ac_prog=ld 17413if test "$GCC" = yes; then 17414 # Check if gcc -print-prog-name=ld gives a path. 17415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5 17416$as_echo_n "checking for ld used by GCC... " >&6; } 17417 case $host in 17418 *-*-mingw*) 17419 # gcc leaves a trailing carriage return which upsets mingw 17420 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 17421 *) 17422 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 17423 esac 17424 case $ac_prog in 17425 # Accept absolute paths. 17426 [\\/]* | [A-Za-z]:[\\/]*) 17427 re_direlt='/[^/][^/]*/\.\./' 17428 # Canonicalize the path of ld 17429 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` 17430 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do 17431 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` 17432 done 17433 test -z "$LD" && LD="$ac_prog" 17434 ;; 17435 "") 17436 # If it fails, then pretend we aren't using GCC. 17437 ac_prog=ld 17438 ;; 17439 *) 17440 # If it is relative, then search for the first ld in PATH. 17441 with_gnu_ld=unknown 17442 ;; 17443 esac 17444elif test "$with_gnu_ld" = yes; then 17445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 17446$as_echo_n "checking for GNU ld... " >&6; } 17447else 17448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 17449$as_echo_n "checking for non-GNU ld... " >&6; } 17450fi 17451if ${acl_cv_path_LD+:} false; then : 17452 $as_echo_n "(cached) " >&6 17453else 17454 if test -z "$LD"; then 17455 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" 17456 for ac_dir in $PATH; do 17457 test -z "$ac_dir" && ac_dir=. 17458 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 17459 acl_cv_path_LD="$ac_dir/$ac_prog" 17460 # Check to see if the program is GNU ld. I'd rather use --version, 17461 # but apparently some GNU ld's only accept -v. 17462 # Break only if it was the GNU/non-GNU ld that we prefer. 17463 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in 17464 *GNU* | *'with BFD'*) 17465 test "$with_gnu_ld" != no && break ;; 17466 *) 17467 test "$with_gnu_ld" != yes && break ;; 17468 esac 17469 fi 17470 done 17471 IFS="$ac_save_ifs" 17472else 17473 acl_cv_path_LD="$LD" # Let the user override the test with a path. 17474fi 17475fi 17476 17477LD="$acl_cv_path_LD" 17478if test -n "$LD"; then 17479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 17480$as_echo "$LD" >&6; } 17481else 17482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17483$as_echo "no" >&6; } 17484fi 17485test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 17486{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 17487$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 17488if ${acl_cv_prog_gnu_ld+:} false; then : 17489 $as_echo_n "(cached) " >&6 17490else 17491 # I'd rather use --version here, but apparently some GNU ld's only accept -v. 17492case `$LD -v 2>&1 </dev/null` in 17493*GNU* | *'with BFD'*) 17494 acl_cv_prog_gnu_ld=yes ;; 17495*) 17496 acl_cv_prog_gnu_ld=no ;; 17497esac 17498fi 17499{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5 17500$as_echo "$acl_cv_prog_gnu_ld" >&6; } 17501with_gnu_ld=$acl_cv_prog_gnu_ld 17502 17503 17504 17505 17506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5 17507$as_echo_n "checking for shared library run path origin... " >&6; } 17508if ${acl_cv_rpath+:} false; then : 17509 $as_echo_n "(cached) " >&6 17510else 17511 17512 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ 17513 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh 17514 . ./conftest.sh 17515 rm -f ./conftest.sh 17516 acl_cv_rpath=done 17517 17518fi 17519{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5 17520$as_echo "$acl_cv_rpath" >&6; } 17521 wl="$acl_cv_wl" 17522 acl_libext="$acl_cv_libext" 17523 acl_shlibext="$acl_cv_shlibext" 17524 acl_libname_spec="$acl_cv_libname_spec" 17525 acl_library_names_spec="$acl_cv_library_names_spec" 17526 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" 17527 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" 17528 acl_hardcode_direct="$acl_cv_hardcode_direct" 17529 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L" 17530 # Check whether --enable-rpath was given. 17531if test "${enable_rpath+set}" = set; then : 17532 enableval=$enable_rpath; : 17533else 17534 enable_rpath=yes 17535fi 17536 17537 17538 17539 17540 acl_libdirstem=lib 17541 acl_libdirstem2= 17542 case "$host_os" in 17543 solaris*) 17544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5 17545$as_echo_n "checking for 64-bit host... " >&6; } 17546if ${gl_cv_solaris_64bit+:} false; then : 17547 $as_echo_n "(cached) " >&6 17548else 17549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17550/* end confdefs.h. */ 17551 17552#ifdef _LP64 17553sixtyfour bits 17554#endif 17555 17556_ACEOF 17557if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 17558 $EGREP "sixtyfour bits" >/dev/null 2>&1; then : 17559 gl_cv_solaris_64bit=yes 17560else 17561 gl_cv_solaris_64bit=no 17562fi 17563rm -f conftest* 17564 17565 17566fi 17567{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5 17568$as_echo "$gl_cv_solaris_64bit" >&6; } 17569 if test $gl_cv_solaris_64bit = yes; then 17570 acl_libdirstem=lib/64 17571 case "$host_cpu" in 17572 sparc*) acl_libdirstem2=lib/sparcv9 ;; 17573 i*86 | x86_64) acl_libdirstem2=lib/amd64 ;; 17574 esac 17575 fi 17576 ;; 17577 *) 17578 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'` 17579 if test -n "$searchpath"; then 17580 acl_save_IFS="${IFS= }"; IFS=":" 17581 for searchdir in $searchpath; do 17582 if test -d "$searchdir"; then 17583 case "$searchdir" in 17584 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;; 17585 */../ | */.. ) 17586 # Better ignore directories of this form. They are misleading. 17587 ;; 17588 *) searchdir=`cd "$searchdir" && pwd` 17589 case "$searchdir" in 17590 */lib64 ) acl_libdirstem=lib64 ;; 17591 esac ;; 17592 esac 17593 fi 17594 done 17595 IFS="$acl_save_IFS" 17596 fi 17597 ;; 17598 esac 17599 test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem" 17600 17601 17602 17603 17604 17605 17606 17607 17608 17609 17610 17611 17612 use_additional=yes 17613 17614 acl_save_prefix="$prefix" 17615 prefix="$acl_final_prefix" 17616 acl_save_exec_prefix="$exec_prefix" 17617 exec_prefix="$acl_final_exec_prefix" 17618 17619 eval additional_includedir=\"$includedir\" 17620 eval additional_libdir=\"$libdir\" 17621 17622 exec_prefix="$acl_save_exec_prefix" 17623 prefix="$acl_save_prefix" 17624 17625 17626# Check whether --with-libiconv-prefix was given. 17627if test "${with_libiconv_prefix+set}" = set; then : 17628 withval=$with_libiconv_prefix; 17629 if test "X$withval" = "Xno"; then 17630 use_additional=no 17631 else 17632 if test "X$withval" = "X"; then 17633 17634 acl_save_prefix="$prefix" 17635 prefix="$acl_final_prefix" 17636 acl_save_exec_prefix="$exec_prefix" 17637 exec_prefix="$acl_final_exec_prefix" 17638 17639 eval additional_includedir=\"$includedir\" 17640 eval additional_libdir=\"$libdir\" 17641 17642 exec_prefix="$acl_save_exec_prefix" 17643 prefix="$acl_save_prefix" 17644 17645 else 17646 additional_includedir="$withval/include" 17647 additional_libdir="$withval/$acl_libdirstem" 17648 if test "$acl_libdirstem2" != "$acl_libdirstem" \ 17649 && ! test -d "$withval/$acl_libdirstem"; then 17650 additional_libdir="$withval/$acl_libdirstem2" 17651 fi 17652 fi 17653 fi 17654 17655fi 17656 17657 LIBICONV= 17658 LTLIBICONV= 17659 INCICONV= 17660 LIBICONV_PREFIX= 17661 HAVE_LIBICONV= 17662 rpathdirs= 17663 ltrpathdirs= 17664 names_already_handled= 17665 names_next_round='iconv ' 17666 while test -n "$names_next_round"; do 17667 names_this_round="$names_next_round" 17668 names_next_round= 17669 for name in $names_this_round; do 17670 already_handled= 17671 for n in $names_already_handled; do 17672 if test "$n" = "$name"; then 17673 already_handled=yes 17674 break 17675 fi 17676 done 17677 if test -z "$already_handled"; then 17678 names_already_handled="$names_already_handled $name" 17679 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` 17680 eval value=\"\$HAVE_LIB$uppername\" 17681 if test -n "$value"; then 17682 if test "$value" = yes; then 17683 eval value=\"\$LIB$uppername\" 17684 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value" 17685 eval value=\"\$LTLIB$uppername\" 17686 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value" 17687 else 17688 : 17689 fi 17690 else 17691 found_dir= 17692 found_la= 17693 found_so= 17694 found_a= 17695 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name 17696 if test -n "$acl_shlibext"; then 17697 shrext=".$acl_shlibext" # typically: shrext=.so 17698 else 17699 shrext= 17700 fi 17701 if test $use_additional = yes; then 17702 dir="$additional_libdir" 17703 if test -n "$acl_shlibext"; then 17704 if test -f "$dir/$libname$shrext"; then 17705 found_dir="$dir" 17706 found_so="$dir/$libname$shrext" 17707 else 17708 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 17709 ver=`(cd "$dir" && \ 17710 for f in "$libname$shrext".*; do echo "$f"; done \ 17711 | sed -e "s,^$libname$shrext\\\\.,," \ 17712 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 17713 | sed 1q ) 2>/dev/null` 17714 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then 17715 found_dir="$dir" 17716 found_so="$dir/$libname$shrext.$ver" 17717 fi 17718 else 17719 eval library_names=\"$acl_library_names_spec\" 17720 for f in $library_names; do 17721 if test -f "$dir/$f"; then 17722 found_dir="$dir" 17723 found_so="$dir/$f" 17724 break 17725 fi 17726 done 17727 fi 17728 fi 17729 fi 17730 if test "X$found_dir" = "X"; then 17731 if test -f "$dir/$libname.$acl_libext"; then 17732 found_dir="$dir" 17733 found_a="$dir/$libname.$acl_libext" 17734 fi 17735 fi 17736 if test "X$found_dir" != "X"; then 17737 if test -f "$dir/$libname.la"; then 17738 found_la="$dir/$libname.la" 17739 fi 17740 fi 17741 fi 17742 if test "X$found_dir" = "X"; then 17743 for x in $LDFLAGS $LTLIBICONV; do 17744 17745 acl_save_prefix="$prefix" 17746 prefix="$acl_final_prefix" 17747 acl_save_exec_prefix="$exec_prefix" 17748 exec_prefix="$acl_final_exec_prefix" 17749 eval x=\"$x\" 17750 exec_prefix="$acl_save_exec_prefix" 17751 prefix="$acl_save_prefix" 17752 17753 case "$x" in 17754 -L*) 17755 dir=`echo "X$x" | sed -e 's/^X-L//'` 17756 if test -n "$acl_shlibext"; then 17757 if test -f "$dir/$libname$shrext"; then 17758 found_dir="$dir" 17759 found_so="$dir/$libname$shrext" 17760 else 17761 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 17762 ver=`(cd "$dir" && \ 17763 for f in "$libname$shrext".*; do echo "$f"; done \ 17764 | sed -e "s,^$libname$shrext\\\\.,," \ 17765 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 17766 | sed 1q ) 2>/dev/null` 17767 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then 17768 found_dir="$dir" 17769 found_so="$dir/$libname$shrext.$ver" 17770 fi 17771 else 17772 eval library_names=\"$acl_library_names_spec\" 17773 for f in $library_names; do 17774 if test -f "$dir/$f"; then 17775 found_dir="$dir" 17776 found_so="$dir/$f" 17777 break 17778 fi 17779 done 17780 fi 17781 fi 17782 fi 17783 if test "X$found_dir" = "X"; then 17784 if test -f "$dir/$libname.$acl_libext"; then 17785 found_dir="$dir" 17786 found_a="$dir/$libname.$acl_libext" 17787 fi 17788 fi 17789 if test "X$found_dir" != "X"; then 17790 if test -f "$dir/$libname.la"; then 17791 found_la="$dir/$libname.la" 17792 fi 17793 fi 17794 ;; 17795 esac 17796 if test "X$found_dir" != "X"; then 17797 break 17798 fi 17799 done 17800 fi 17801 if test "X$found_dir" != "X"; then 17802 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name" 17803 if test "X$found_so" != "X"; then 17804 if test "$enable_rpath" = no \ 17805 || test "X$found_dir" = "X/usr/$acl_libdirstem" \ 17806 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then 17807 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 17808 else 17809 haveit= 17810 for x in $ltrpathdirs; do 17811 if test "X$x" = "X$found_dir"; then 17812 haveit=yes 17813 break 17814 fi 17815 done 17816 if test -z "$haveit"; then 17817 ltrpathdirs="$ltrpathdirs $found_dir" 17818 fi 17819 if test "$acl_hardcode_direct" = yes; then 17820 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 17821 else 17822 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then 17823 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 17824 haveit= 17825 for x in $rpathdirs; do 17826 if test "X$x" = "X$found_dir"; then 17827 haveit=yes 17828 break 17829 fi 17830 done 17831 if test -z "$haveit"; then 17832 rpathdirs="$rpathdirs $found_dir" 17833 fi 17834 else 17835 haveit= 17836 for x in $LDFLAGS $LIBICONV; do 17837 17838 acl_save_prefix="$prefix" 17839 prefix="$acl_final_prefix" 17840 acl_save_exec_prefix="$exec_prefix" 17841 exec_prefix="$acl_final_exec_prefix" 17842 eval x=\"$x\" 17843 exec_prefix="$acl_save_exec_prefix" 17844 prefix="$acl_save_prefix" 17845 17846 if test "X$x" = "X-L$found_dir"; then 17847 haveit=yes 17848 break 17849 fi 17850 done 17851 if test -z "$haveit"; then 17852 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir" 17853 fi 17854 if test "$acl_hardcode_minus_L" != no; then 17855 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 17856 else 17857 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" 17858 fi 17859 fi 17860 fi 17861 fi 17862 else 17863 if test "X$found_a" != "X"; then 17864 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a" 17865 else 17866 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name" 17867 fi 17868 fi 17869 additional_includedir= 17870 case "$found_dir" in 17871 */$acl_libdirstem | */$acl_libdirstem/) 17872 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` 17873 if test "$name" = 'iconv'; then 17874 LIBICONV_PREFIX="$basedir" 17875 fi 17876 additional_includedir="$basedir/include" 17877 ;; 17878 */$acl_libdirstem2 | */$acl_libdirstem2/) 17879 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` 17880 if test "$name" = 'iconv'; then 17881 LIBICONV_PREFIX="$basedir" 17882 fi 17883 additional_includedir="$basedir/include" 17884 ;; 17885 esac 17886 if test "X$additional_includedir" != "X"; then 17887 if test "X$additional_includedir" != "X/usr/include"; then 17888 haveit= 17889 if test "X$additional_includedir" = "X/usr/local/include"; then 17890 if test -n "$GCC"; then 17891 case $host_os in 17892 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 17893 esac 17894 fi 17895 fi 17896 if test -z "$haveit"; then 17897 for x in $CPPFLAGS $INCICONV; do 17898 17899 acl_save_prefix="$prefix" 17900 prefix="$acl_final_prefix" 17901 acl_save_exec_prefix="$exec_prefix" 17902 exec_prefix="$acl_final_exec_prefix" 17903 eval x=\"$x\" 17904 exec_prefix="$acl_save_exec_prefix" 17905 prefix="$acl_save_prefix" 17906 17907 if test "X$x" = "X-I$additional_includedir"; then 17908 haveit=yes 17909 break 17910 fi 17911 done 17912 if test -z "$haveit"; then 17913 if test -d "$additional_includedir"; then 17914 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir" 17915 fi 17916 fi 17917 fi 17918 fi 17919 fi 17920 if test -n "$found_la"; then 17921 save_libdir="$libdir" 17922 case "$found_la" in 17923 */* | *\\*) . "$found_la" ;; 17924 *) . "./$found_la" ;; 17925 esac 17926 libdir="$save_libdir" 17927 for dep in $dependency_libs; do 17928 case "$dep" in 17929 -L*) 17930 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` 17931 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ 17932 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then 17933 haveit= 17934 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ 17935 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then 17936 if test -n "$GCC"; then 17937 case $host_os in 17938 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 17939 esac 17940 fi 17941 fi 17942 if test -z "$haveit"; then 17943 haveit= 17944 for x in $LDFLAGS $LIBICONV; do 17945 17946 acl_save_prefix="$prefix" 17947 prefix="$acl_final_prefix" 17948 acl_save_exec_prefix="$exec_prefix" 17949 exec_prefix="$acl_final_exec_prefix" 17950 eval x=\"$x\" 17951 exec_prefix="$acl_save_exec_prefix" 17952 prefix="$acl_save_prefix" 17953 17954 if test "X$x" = "X-L$additional_libdir"; then 17955 haveit=yes 17956 break 17957 fi 17958 done 17959 if test -z "$haveit"; then 17960 if test -d "$additional_libdir"; then 17961 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir" 17962 fi 17963 fi 17964 haveit= 17965 for x in $LDFLAGS $LTLIBICONV; do 17966 17967 acl_save_prefix="$prefix" 17968 prefix="$acl_final_prefix" 17969 acl_save_exec_prefix="$exec_prefix" 17970 exec_prefix="$acl_final_exec_prefix" 17971 eval x=\"$x\" 17972 exec_prefix="$acl_save_exec_prefix" 17973 prefix="$acl_save_prefix" 17974 17975 if test "X$x" = "X-L$additional_libdir"; then 17976 haveit=yes 17977 break 17978 fi 17979 done 17980 if test -z "$haveit"; then 17981 if test -d "$additional_libdir"; then 17982 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir" 17983 fi 17984 fi 17985 fi 17986 fi 17987 ;; 17988 -R*) 17989 dir=`echo "X$dep" | sed -e 's/^X-R//'` 17990 if test "$enable_rpath" != no; then 17991 haveit= 17992 for x in $rpathdirs; do 17993 if test "X$x" = "X$dir"; then 17994 haveit=yes 17995 break 17996 fi 17997 done 17998 if test -z "$haveit"; then 17999 rpathdirs="$rpathdirs $dir" 18000 fi 18001 haveit= 18002 for x in $ltrpathdirs; do 18003 if test "X$x" = "X$dir"; then 18004 haveit=yes 18005 break 18006 fi 18007 done 18008 if test -z "$haveit"; then 18009 ltrpathdirs="$ltrpathdirs $dir" 18010 fi 18011 fi 18012 ;; 18013 -l*) 18014 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` 18015 ;; 18016 *.la) 18017 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` 18018 ;; 18019 *) 18020 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep" 18021 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep" 18022 ;; 18023 esac 18024 done 18025 fi 18026 else 18027 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" 18028 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name" 18029 fi 18030 fi 18031 fi 18032 done 18033 done 18034 if test "X$rpathdirs" != "X"; then 18035 if test -n "$acl_hardcode_libdir_separator"; then 18036 alldirs= 18037 for found_dir in $rpathdirs; do 18038 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" 18039 done 18040 acl_save_libdir="$libdir" 18041 libdir="$alldirs" 18042 eval flag=\"$acl_hardcode_libdir_flag_spec\" 18043 libdir="$acl_save_libdir" 18044 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" 18045 else 18046 for found_dir in $rpathdirs; do 18047 acl_save_libdir="$libdir" 18048 libdir="$found_dir" 18049 eval flag=\"$acl_hardcode_libdir_flag_spec\" 18050 libdir="$acl_save_libdir" 18051 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" 18052 done 18053 fi 18054 fi 18055 if test "X$ltrpathdirs" != "X"; then 18056 for found_dir in $ltrpathdirs; do 18057 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir" 18058 done 18059 fi 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 18088 18089 18090 18091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5 18092$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; } 18093if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then : 18094 $as_echo_n "(cached) " >&6 18095else 18096 gt_save_LIBS="$LIBS" 18097 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" 18098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18099/* end confdefs.h. */ 18100#include <CoreFoundation/CFPreferences.h> 18101int 18102main () 18103{ 18104CFPreferencesCopyAppValue(NULL, NULL) 18105 ; 18106 return 0; 18107} 18108_ACEOF 18109if ac_fn_c_try_link "$LINENO"; then : 18110 gt_cv_func_CFPreferencesCopyAppValue=yes 18111else 18112 gt_cv_func_CFPreferencesCopyAppValue=no 18113fi 18114rm -f core conftest.err conftest.$ac_objext \ 18115 conftest$ac_exeext conftest.$ac_ext 18116 LIBS="$gt_save_LIBS" 18117fi 18118{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5 18119$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; } 18120 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then 18121 18122$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h 18123 18124 fi 18125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5 18126$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; } 18127if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then : 18128 $as_echo_n "(cached) " >&6 18129else 18130 gt_save_LIBS="$LIBS" 18131 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" 18132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18133/* end confdefs.h. */ 18134#include <CoreFoundation/CFLocale.h> 18135int 18136main () 18137{ 18138CFLocaleCopyCurrent(); 18139 ; 18140 return 0; 18141} 18142_ACEOF 18143if ac_fn_c_try_link "$LINENO"; then : 18144 gt_cv_func_CFLocaleCopyCurrent=yes 18145else 18146 gt_cv_func_CFLocaleCopyCurrent=no 18147fi 18148rm -f core conftest.err conftest.$ac_objext \ 18149 conftest$ac_exeext conftest.$ac_ext 18150 LIBS="$gt_save_LIBS" 18151fi 18152{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5 18153$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; } 18154 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then 18155 18156$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h 18157 18158 fi 18159 INTL_MACOSX_LIBS= 18160 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then 18161 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation" 18162 fi 18163 18164 18165 18166 18167 18168 18169 LIBINTL= 18170 LTLIBINTL= 18171 POSUB= 18172 18173 case " $gt_needs " in 18174 *" need-formatstring-macros "*) gt_api_version=3 ;; 18175 *" need-ngettext "*) gt_api_version=2 ;; 18176 *) gt_api_version=1 ;; 18177 esac 18178 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc" 18179 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl" 18180 18181 if test "$USE_NLS" = "yes"; then 18182 gt_use_preinstalled_gnugettext=no 18183 18184 18185 if test $gt_api_version -ge 3; then 18186 gt_revision_test_code=' 18187#ifndef __GNU_GETTEXT_SUPPORTED_REVISION 18188#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1) 18189#endif 18190typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; 18191' 18192 else 18193 gt_revision_test_code= 18194 fi 18195 if test $gt_api_version -ge 2; then 18196 gt_expression_test_code=' + * ngettext ("", "", 0)' 18197 else 18198 gt_expression_test_code= 18199 fi 18200 18201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5 18202$as_echo_n "checking for GNU gettext in libc... " >&6; } 18203if eval \${$gt_func_gnugettext_libc+:} false; then : 18204 $as_echo_n "(cached) " >&6 18205else 18206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18207/* end confdefs.h. */ 18208#include <libintl.h> 18209$gt_revision_test_code 18210extern int _nl_msg_cat_cntr; 18211extern int *_nl_domain_bindings; 18212int 18213main () 18214{ 18215bindtextdomain ("", ""); 18216return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings 18217 ; 18218 return 0; 18219} 18220_ACEOF 18221if ac_fn_c_try_link "$LINENO"; then : 18222 eval "$gt_func_gnugettext_libc=yes" 18223else 18224 eval "$gt_func_gnugettext_libc=no" 18225fi 18226rm -f core conftest.err conftest.$ac_objext \ 18227 conftest$ac_exeext conftest.$ac_ext 18228fi 18229eval ac_res=\$$gt_func_gnugettext_libc 18230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 18231$as_echo "$ac_res" >&6; } 18232 18233 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then 18234 18235 18236 18237 18238 18239 am_save_CPPFLAGS="$CPPFLAGS" 18240 18241 for element in $INCICONV; do 18242 haveit= 18243 for x in $CPPFLAGS; do 18244 18245 acl_save_prefix="$prefix" 18246 prefix="$acl_final_prefix" 18247 acl_save_exec_prefix="$exec_prefix" 18248 exec_prefix="$acl_final_exec_prefix" 18249 eval x=\"$x\" 18250 exec_prefix="$acl_save_exec_prefix" 18251 prefix="$acl_save_prefix" 18252 18253 if test "X$x" = "X$element"; then 18254 haveit=yes 18255 break 18256 fi 18257 done 18258 if test -z "$haveit"; then 18259 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" 18260 fi 18261 done 18262 18263 18264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 18265$as_echo_n "checking for iconv... " >&6; } 18266if ${am_cv_func_iconv+:} false; then : 18267 $as_echo_n "(cached) " >&6 18268else 18269 18270 am_cv_func_iconv="no, consider installing GNU libiconv" 18271 am_cv_lib_iconv=no 18272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18273/* end confdefs.h. */ 18274#include <stdlib.h> 18275#include <iconv.h> 18276int 18277main () 18278{ 18279iconv_t cd = iconv_open("",""); 18280 iconv(cd,NULL,NULL,NULL,NULL); 18281 iconv_close(cd); 18282 ; 18283 return 0; 18284} 18285_ACEOF 18286if ac_fn_c_try_link "$LINENO"; then : 18287 am_cv_func_iconv=yes 18288fi 18289rm -f core conftest.err conftest.$ac_objext \ 18290 conftest$ac_exeext conftest.$ac_ext 18291 if test "$am_cv_func_iconv" != yes; then 18292 am_save_LIBS="$LIBS" 18293 LIBS="$LIBS $LIBICONV" 18294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18295/* end confdefs.h. */ 18296#include <stdlib.h> 18297#include <iconv.h> 18298int 18299main () 18300{ 18301iconv_t cd = iconv_open("",""); 18302 iconv(cd,NULL,NULL,NULL,NULL); 18303 iconv_close(cd); 18304 ; 18305 return 0; 18306} 18307_ACEOF 18308if ac_fn_c_try_link "$LINENO"; then : 18309 am_cv_lib_iconv=yes 18310 am_cv_func_iconv=yes 18311fi 18312rm -f core conftest.err conftest.$ac_objext \ 18313 conftest$ac_exeext conftest.$ac_ext 18314 LIBS="$am_save_LIBS" 18315 fi 18316 18317fi 18318{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 18319$as_echo "$am_cv_func_iconv" >&6; } 18320 if test "$am_cv_func_iconv" = yes; then 18321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5 18322$as_echo_n "checking for working iconv... " >&6; } 18323if ${am_cv_func_iconv_works+:} false; then : 18324 $as_echo_n "(cached) " >&6 18325else 18326 18327 am_save_LIBS="$LIBS" 18328 if test $am_cv_lib_iconv = yes; then 18329 LIBS="$LIBS $LIBICONV" 18330 fi 18331 if test "$cross_compiling" = yes; then : 18332 case "$host_os" in 18333 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; 18334 *) am_cv_func_iconv_works="guessing yes" ;; 18335 esac 18336else 18337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18338/* end confdefs.h. */ 18339 18340#include <iconv.h> 18341#include <string.h> 18342int main () 18343{ 18344 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful 18345 returns. */ 18346 { 18347 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8"); 18348 if (cd_utf8_to_88591 != (iconv_t)(-1)) 18349 { 18350 static const char input[] = "\342\202\254"; /* EURO SIGN */ 18351 char buf[10]; 18352 const char *inptr = input; 18353 size_t inbytesleft = strlen (input); 18354 char *outptr = buf; 18355 size_t outbytesleft = sizeof (buf); 18356 size_t res = iconv (cd_utf8_to_88591, 18357 (char **) &inptr, &inbytesleft, 18358 &outptr, &outbytesleft); 18359 if (res == 0) 18360 return 1; 18361 } 18362 } 18363 /* Test against Solaris 10 bug: Failures are not distinguishable from 18364 successful returns. */ 18365 { 18366 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646"); 18367 if (cd_ascii_to_88591 != (iconv_t)(-1)) 18368 { 18369 static const char input[] = "\263"; 18370 char buf[10]; 18371 const char *inptr = input; 18372 size_t inbytesleft = strlen (input); 18373 char *outptr = buf; 18374 size_t outbytesleft = sizeof (buf); 18375 size_t res = iconv (cd_ascii_to_88591, 18376 (char **) &inptr, &inbytesleft, 18377 &outptr, &outbytesleft); 18378 if (res == 0) 18379 return 1; 18380 } 18381 } 18382#if 0 /* This bug could be worked around by the caller. */ 18383 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */ 18384 { 18385 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591"); 18386 if (cd_88591_to_utf8 != (iconv_t)(-1)) 18387 { 18388 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; 18389 char buf[50]; 18390 const char *inptr = input; 18391 size_t inbytesleft = strlen (input); 18392 char *outptr = buf; 18393 size_t outbytesleft = sizeof (buf); 18394 size_t res = iconv (cd_88591_to_utf8, 18395 (char **) &inptr, &inbytesleft, 18396 &outptr, &outbytesleft); 18397 if ((int)res > 0) 18398 return 1; 18399 } 18400 } 18401#endif 18402 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is 18403 provided. */ 18404 if (/* Try standardized names. */ 18405 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1) 18406 /* Try IRIX, OSF/1 names. */ 18407 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1) 18408 /* Try AIX names. */ 18409 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1) 18410 /* Try HP-UX names. */ 18411 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1)) 18412 return 1; 18413 return 0; 18414} 18415_ACEOF 18416if ac_fn_c_try_run "$LINENO"; then : 18417 am_cv_func_iconv_works=yes 18418else 18419 am_cv_func_iconv_works=no 18420fi 18421rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 18422 conftest.$ac_objext conftest.beam conftest.$ac_ext 18423fi 18424 18425 LIBS="$am_save_LIBS" 18426 18427fi 18428{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5 18429$as_echo "$am_cv_func_iconv_works" >&6; } 18430 case "$am_cv_func_iconv_works" in 18431 *no) am_func_iconv=no am_cv_lib_iconv=no ;; 18432 *) am_func_iconv=yes ;; 18433 esac 18434 else 18435 am_func_iconv=no am_cv_lib_iconv=no 18436 fi 18437 if test "$am_func_iconv" = yes; then 18438 18439$as_echo "#define HAVE_ICONV 1" >>confdefs.h 18440 18441 fi 18442 if test "$am_cv_lib_iconv" = yes; then 18443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5 18444$as_echo_n "checking how to link with libiconv... " >&6; } 18445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5 18446$as_echo "$LIBICONV" >&6; } 18447 else 18448 CPPFLAGS="$am_save_CPPFLAGS" 18449 LIBICONV= 18450 LTLIBICONV= 18451 fi 18452 18453 18454 18455 18456 18457 18458 18459 18460 18461 18462 18463 use_additional=yes 18464 18465 acl_save_prefix="$prefix" 18466 prefix="$acl_final_prefix" 18467 acl_save_exec_prefix="$exec_prefix" 18468 exec_prefix="$acl_final_exec_prefix" 18469 18470 eval additional_includedir=\"$includedir\" 18471 eval additional_libdir=\"$libdir\" 18472 18473 exec_prefix="$acl_save_exec_prefix" 18474 prefix="$acl_save_prefix" 18475 18476 18477# Check whether --with-libintl-prefix was given. 18478if test "${with_libintl_prefix+set}" = set; then : 18479 withval=$with_libintl_prefix; 18480 if test "X$withval" = "Xno"; then 18481 use_additional=no 18482 else 18483 if test "X$withval" = "X"; then 18484 18485 acl_save_prefix="$prefix" 18486 prefix="$acl_final_prefix" 18487 acl_save_exec_prefix="$exec_prefix" 18488 exec_prefix="$acl_final_exec_prefix" 18489 18490 eval additional_includedir=\"$includedir\" 18491 eval additional_libdir=\"$libdir\" 18492 18493 exec_prefix="$acl_save_exec_prefix" 18494 prefix="$acl_save_prefix" 18495 18496 else 18497 additional_includedir="$withval/include" 18498 additional_libdir="$withval/$acl_libdirstem" 18499 if test "$acl_libdirstem2" != "$acl_libdirstem" \ 18500 && ! test -d "$withval/$acl_libdirstem"; then 18501 additional_libdir="$withval/$acl_libdirstem2" 18502 fi 18503 fi 18504 fi 18505 18506fi 18507 18508 LIBINTL= 18509 LTLIBINTL= 18510 INCINTL= 18511 LIBINTL_PREFIX= 18512 HAVE_LIBINTL= 18513 rpathdirs= 18514 ltrpathdirs= 18515 names_already_handled= 18516 names_next_round='intl ' 18517 while test -n "$names_next_round"; do 18518 names_this_round="$names_next_round" 18519 names_next_round= 18520 for name in $names_this_round; do 18521 already_handled= 18522 for n in $names_already_handled; do 18523 if test "$n" = "$name"; then 18524 already_handled=yes 18525 break 18526 fi 18527 done 18528 if test -z "$already_handled"; then 18529 names_already_handled="$names_already_handled $name" 18530 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` 18531 eval value=\"\$HAVE_LIB$uppername\" 18532 if test -n "$value"; then 18533 if test "$value" = yes; then 18534 eval value=\"\$LIB$uppername\" 18535 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value" 18536 eval value=\"\$LTLIB$uppername\" 18537 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value" 18538 else 18539 : 18540 fi 18541 else 18542 found_dir= 18543 found_la= 18544 found_so= 18545 found_a= 18546 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name 18547 if test -n "$acl_shlibext"; then 18548 shrext=".$acl_shlibext" # typically: shrext=.so 18549 else 18550 shrext= 18551 fi 18552 if test $use_additional = yes; then 18553 dir="$additional_libdir" 18554 if test -n "$acl_shlibext"; then 18555 if test -f "$dir/$libname$shrext"; then 18556 found_dir="$dir" 18557 found_so="$dir/$libname$shrext" 18558 else 18559 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 18560 ver=`(cd "$dir" && \ 18561 for f in "$libname$shrext".*; do echo "$f"; done \ 18562 | sed -e "s,^$libname$shrext\\\\.,," \ 18563 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 18564 | sed 1q ) 2>/dev/null` 18565 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then 18566 found_dir="$dir" 18567 found_so="$dir/$libname$shrext.$ver" 18568 fi 18569 else 18570 eval library_names=\"$acl_library_names_spec\" 18571 for f in $library_names; do 18572 if test -f "$dir/$f"; then 18573 found_dir="$dir" 18574 found_so="$dir/$f" 18575 break 18576 fi 18577 done 18578 fi 18579 fi 18580 fi 18581 if test "X$found_dir" = "X"; then 18582 if test -f "$dir/$libname.$acl_libext"; then 18583 found_dir="$dir" 18584 found_a="$dir/$libname.$acl_libext" 18585 fi 18586 fi 18587 if test "X$found_dir" != "X"; then 18588 if test -f "$dir/$libname.la"; then 18589 found_la="$dir/$libname.la" 18590 fi 18591 fi 18592 fi 18593 if test "X$found_dir" = "X"; then 18594 for x in $LDFLAGS $LTLIBINTL; do 18595 18596 acl_save_prefix="$prefix" 18597 prefix="$acl_final_prefix" 18598 acl_save_exec_prefix="$exec_prefix" 18599 exec_prefix="$acl_final_exec_prefix" 18600 eval x=\"$x\" 18601 exec_prefix="$acl_save_exec_prefix" 18602 prefix="$acl_save_prefix" 18603 18604 case "$x" in 18605 -L*) 18606 dir=`echo "X$x" | sed -e 's/^X-L//'` 18607 if test -n "$acl_shlibext"; then 18608 if test -f "$dir/$libname$shrext"; then 18609 found_dir="$dir" 18610 found_so="$dir/$libname$shrext" 18611 else 18612 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 18613 ver=`(cd "$dir" && \ 18614 for f in "$libname$shrext".*; do echo "$f"; done \ 18615 | sed -e "s,^$libname$shrext\\\\.,," \ 18616 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 18617 | sed 1q ) 2>/dev/null` 18618 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then 18619 found_dir="$dir" 18620 found_so="$dir/$libname$shrext.$ver" 18621 fi 18622 else 18623 eval library_names=\"$acl_library_names_spec\" 18624 for f in $library_names; do 18625 if test -f "$dir/$f"; then 18626 found_dir="$dir" 18627 found_so="$dir/$f" 18628 break 18629 fi 18630 done 18631 fi 18632 fi 18633 fi 18634 if test "X$found_dir" = "X"; then 18635 if test -f "$dir/$libname.$acl_libext"; then 18636 found_dir="$dir" 18637 found_a="$dir/$libname.$acl_libext" 18638 fi 18639 fi 18640 if test "X$found_dir" != "X"; then 18641 if test -f "$dir/$libname.la"; then 18642 found_la="$dir/$libname.la" 18643 fi 18644 fi 18645 ;; 18646 esac 18647 if test "X$found_dir" != "X"; then 18648 break 18649 fi 18650 done 18651 fi 18652 if test "X$found_dir" != "X"; then 18653 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name" 18654 if test "X$found_so" != "X"; then 18655 if test "$enable_rpath" = no \ 18656 || test "X$found_dir" = "X/usr/$acl_libdirstem" \ 18657 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then 18658 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 18659 else 18660 haveit= 18661 for x in $ltrpathdirs; do 18662 if test "X$x" = "X$found_dir"; then 18663 haveit=yes 18664 break 18665 fi 18666 done 18667 if test -z "$haveit"; then 18668 ltrpathdirs="$ltrpathdirs $found_dir" 18669 fi 18670 if test "$acl_hardcode_direct" = yes; then 18671 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 18672 else 18673 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then 18674 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 18675 haveit= 18676 for x in $rpathdirs; do 18677 if test "X$x" = "X$found_dir"; then 18678 haveit=yes 18679 break 18680 fi 18681 done 18682 if test -z "$haveit"; then 18683 rpathdirs="$rpathdirs $found_dir" 18684 fi 18685 else 18686 haveit= 18687 for x in $LDFLAGS $LIBINTL; do 18688 18689 acl_save_prefix="$prefix" 18690 prefix="$acl_final_prefix" 18691 acl_save_exec_prefix="$exec_prefix" 18692 exec_prefix="$acl_final_exec_prefix" 18693 eval x=\"$x\" 18694 exec_prefix="$acl_save_exec_prefix" 18695 prefix="$acl_save_prefix" 18696 18697 if test "X$x" = "X-L$found_dir"; then 18698 haveit=yes 18699 break 18700 fi 18701 done 18702 if test -z "$haveit"; then 18703 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir" 18704 fi 18705 if test "$acl_hardcode_minus_L" != no; then 18706 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 18707 else 18708 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" 18709 fi 18710 fi 18711 fi 18712 fi 18713 else 18714 if test "X$found_a" != "X"; then 18715 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a" 18716 else 18717 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name" 18718 fi 18719 fi 18720 additional_includedir= 18721 case "$found_dir" in 18722 */$acl_libdirstem | */$acl_libdirstem/) 18723 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` 18724 if test "$name" = 'intl'; then 18725 LIBINTL_PREFIX="$basedir" 18726 fi 18727 additional_includedir="$basedir/include" 18728 ;; 18729 */$acl_libdirstem2 | */$acl_libdirstem2/) 18730 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` 18731 if test "$name" = 'intl'; then 18732 LIBINTL_PREFIX="$basedir" 18733 fi 18734 additional_includedir="$basedir/include" 18735 ;; 18736 esac 18737 if test "X$additional_includedir" != "X"; then 18738 if test "X$additional_includedir" != "X/usr/include"; then 18739 haveit= 18740 if test "X$additional_includedir" = "X/usr/local/include"; then 18741 if test -n "$GCC"; then 18742 case $host_os in 18743 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 18744 esac 18745 fi 18746 fi 18747 if test -z "$haveit"; then 18748 for x in $CPPFLAGS $INCINTL; do 18749 18750 acl_save_prefix="$prefix" 18751 prefix="$acl_final_prefix" 18752 acl_save_exec_prefix="$exec_prefix" 18753 exec_prefix="$acl_final_exec_prefix" 18754 eval x=\"$x\" 18755 exec_prefix="$acl_save_exec_prefix" 18756 prefix="$acl_save_prefix" 18757 18758 if test "X$x" = "X-I$additional_includedir"; then 18759 haveit=yes 18760 break 18761 fi 18762 done 18763 if test -z "$haveit"; then 18764 if test -d "$additional_includedir"; then 18765 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir" 18766 fi 18767 fi 18768 fi 18769 fi 18770 fi 18771 if test -n "$found_la"; then 18772 save_libdir="$libdir" 18773 case "$found_la" in 18774 */* | *\\*) . "$found_la" ;; 18775 *) . "./$found_la" ;; 18776 esac 18777 libdir="$save_libdir" 18778 for dep in $dependency_libs; do 18779 case "$dep" in 18780 -L*) 18781 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` 18782 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ 18783 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then 18784 haveit= 18785 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ 18786 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then 18787 if test -n "$GCC"; then 18788 case $host_os in 18789 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 18790 esac 18791 fi 18792 fi 18793 if test -z "$haveit"; then 18794 haveit= 18795 for x in $LDFLAGS $LIBINTL; do 18796 18797 acl_save_prefix="$prefix" 18798 prefix="$acl_final_prefix" 18799 acl_save_exec_prefix="$exec_prefix" 18800 exec_prefix="$acl_final_exec_prefix" 18801 eval x=\"$x\" 18802 exec_prefix="$acl_save_exec_prefix" 18803 prefix="$acl_save_prefix" 18804 18805 if test "X$x" = "X-L$additional_libdir"; then 18806 haveit=yes 18807 break 18808 fi 18809 done 18810 if test -z "$haveit"; then 18811 if test -d "$additional_libdir"; then 18812 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir" 18813 fi 18814 fi 18815 haveit= 18816 for x in $LDFLAGS $LTLIBINTL; do 18817 18818 acl_save_prefix="$prefix" 18819 prefix="$acl_final_prefix" 18820 acl_save_exec_prefix="$exec_prefix" 18821 exec_prefix="$acl_final_exec_prefix" 18822 eval x=\"$x\" 18823 exec_prefix="$acl_save_exec_prefix" 18824 prefix="$acl_save_prefix" 18825 18826 if test "X$x" = "X-L$additional_libdir"; then 18827 haveit=yes 18828 break 18829 fi 18830 done 18831 if test -z "$haveit"; then 18832 if test -d "$additional_libdir"; then 18833 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir" 18834 fi 18835 fi 18836 fi 18837 fi 18838 ;; 18839 -R*) 18840 dir=`echo "X$dep" | sed -e 's/^X-R//'` 18841 if test "$enable_rpath" != no; then 18842 haveit= 18843 for x in $rpathdirs; do 18844 if test "X$x" = "X$dir"; then 18845 haveit=yes 18846 break 18847 fi 18848 done 18849 if test -z "$haveit"; then 18850 rpathdirs="$rpathdirs $dir" 18851 fi 18852 haveit= 18853 for x in $ltrpathdirs; do 18854 if test "X$x" = "X$dir"; then 18855 haveit=yes 18856 break 18857 fi 18858 done 18859 if test -z "$haveit"; then 18860 ltrpathdirs="$ltrpathdirs $dir" 18861 fi 18862 fi 18863 ;; 18864 -l*) 18865 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` 18866 ;; 18867 *.la) 18868 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` 18869 ;; 18870 *) 18871 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep" 18872 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep" 18873 ;; 18874 esac 18875 done 18876 fi 18877 else 18878 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" 18879 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name" 18880 fi 18881 fi 18882 fi 18883 done 18884 done 18885 if test "X$rpathdirs" != "X"; then 18886 if test -n "$acl_hardcode_libdir_separator"; then 18887 alldirs= 18888 for found_dir in $rpathdirs; do 18889 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" 18890 done 18891 acl_save_libdir="$libdir" 18892 libdir="$alldirs" 18893 eval flag=\"$acl_hardcode_libdir_flag_spec\" 18894 libdir="$acl_save_libdir" 18895 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" 18896 else 18897 for found_dir in $rpathdirs; do 18898 acl_save_libdir="$libdir" 18899 libdir="$found_dir" 18900 eval flag=\"$acl_hardcode_libdir_flag_spec\" 18901 libdir="$acl_save_libdir" 18902 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" 18903 done 18904 fi 18905 fi 18906 if test "X$ltrpathdirs" != "X"; then 18907 for found_dir in $ltrpathdirs; do 18908 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir" 18909 done 18910 fi 18911 18912 18913 18914 18915 18916 18917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5 18918$as_echo_n "checking for GNU gettext in libintl... " >&6; } 18919if eval \${$gt_func_gnugettext_libintl+:} false; then : 18920 $as_echo_n "(cached) " >&6 18921else 18922 gt_save_CPPFLAGS="$CPPFLAGS" 18923 CPPFLAGS="$CPPFLAGS $INCINTL" 18924 gt_save_LIBS="$LIBS" 18925 LIBS="$LIBS $LIBINTL" 18926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18927/* end confdefs.h. */ 18928#include <libintl.h> 18929$gt_revision_test_code 18930extern int _nl_msg_cat_cntr; 18931extern 18932#ifdef __cplusplus 18933"C" 18934#endif 18935const char *_nl_expand_alias (const char *); 18936int 18937main () 18938{ 18939bindtextdomain ("", ""); 18940return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") 18941 ; 18942 return 0; 18943} 18944_ACEOF 18945if ac_fn_c_try_link "$LINENO"; then : 18946 eval "$gt_func_gnugettext_libintl=yes" 18947else 18948 eval "$gt_func_gnugettext_libintl=no" 18949fi 18950rm -f core conftest.err conftest.$ac_objext \ 18951 conftest$ac_exeext conftest.$ac_ext 18952 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then 18953 LIBS="$LIBS $LIBICONV" 18954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18955/* end confdefs.h. */ 18956#include <libintl.h> 18957$gt_revision_test_code 18958extern int _nl_msg_cat_cntr; 18959extern 18960#ifdef __cplusplus 18961"C" 18962#endif 18963const char *_nl_expand_alias (const char *); 18964int 18965main () 18966{ 18967bindtextdomain ("", ""); 18968return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") 18969 ; 18970 return 0; 18971} 18972_ACEOF 18973if ac_fn_c_try_link "$LINENO"; then : 18974 LIBINTL="$LIBINTL $LIBICONV" 18975 LTLIBINTL="$LTLIBINTL $LTLIBICONV" 18976 eval "$gt_func_gnugettext_libintl=yes" 18977 18978fi 18979rm -f core conftest.err conftest.$ac_objext \ 18980 conftest$ac_exeext conftest.$ac_ext 18981 fi 18982 CPPFLAGS="$gt_save_CPPFLAGS" 18983 LIBS="$gt_save_LIBS" 18984fi 18985eval ac_res=\$$gt_func_gnugettext_libintl 18986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 18987$as_echo "$ac_res" >&6; } 18988 fi 18989 18990 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \ 18991 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \ 18992 && test "$PACKAGE" != gettext-runtime \ 18993 && test "$PACKAGE" != gettext-tools; }; then 18994 gt_use_preinstalled_gnugettext=yes 18995 else 18996 LIBINTL= 18997 LTLIBINTL= 18998 INCINTL= 18999 fi 19000 19001 19002 19003 if test -n "$INTL_MACOSX_LIBS"; then 19004 if test "$gt_use_preinstalled_gnugettext" = "yes" \ 19005 || test "$nls_cv_use_gnu_gettext" = "yes"; then 19006 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS" 19007 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS" 19008 fi 19009 fi 19010 19011 if test "$gt_use_preinstalled_gnugettext" = "yes" \ 19012 || test "$nls_cv_use_gnu_gettext" = "yes"; then 19013 19014$as_echo "#define ENABLE_NLS 1" >>confdefs.h 19015 19016 else 19017 USE_NLS=no 19018 fi 19019 fi 19020 19021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5 19022$as_echo_n "checking whether to use NLS... " >&6; } 19023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 19024$as_echo "$USE_NLS" >&6; } 19025 if test "$USE_NLS" = "yes"; then 19026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5 19027$as_echo_n "checking where the gettext function comes from... " >&6; } 19028 if test "$gt_use_preinstalled_gnugettext" = "yes"; then 19029 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then 19030 gt_source="external libintl" 19031 else 19032 gt_source="libc" 19033 fi 19034 else 19035 gt_source="included intl directory" 19036 fi 19037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5 19038$as_echo "$gt_source" >&6; } 19039 fi 19040 19041 if test "$USE_NLS" = "yes"; then 19042 19043 if test "$gt_use_preinstalled_gnugettext" = "yes"; then 19044 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then 19045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5 19046$as_echo_n "checking how to link with libintl... " >&6; } 19047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5 19048$as_echo "$LIBINTL" >&6; } 19049 19050 for element in $INCINTL; do 19051 haveit= 19052 for x in $CPPFLAGS; do 19053 19054 acl_save_prefix="$prefix" 19055 prefix="$acl_final_prefix" 19056 acl_save_exec_prefix="$exec_prefix" 19057 exec_prefix="$acl_final_exec_prefix" 19058 eval x=\"$x\" 19059 exec_prefix="$acl_save_exec_prefix" 19060 prefix="$acl_save_prefix" 19061 19062 if test "X$x" = "X$element"; then 19063 haveit=yes 19064 break 19065 fi 19066 done 19067 if test -z "$haveit"; then 19068 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" 19069 fi 19070 done 19071 19072 fi 19073 19074 19075$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h 19076 19077 19078$as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h 19079 19080 fi 19081 19082 POSUB=po 19083 fi 19084 19085 19086 19087 INTLLIBS="$LIBINTL" 19088 19089 19090 19091 19092 19093 19094 19095 19096{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 19097$as_echo_n "checking for an ANSI C-conforming const... " >&6; } 19098if ${ac_cv_c_const+:} false; then : 19099 $as_echo_n "(cached) " >&6 19100else 19101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19102/* end confdefs.h. */ 19103 19104int 19105main () 19106{ 19107 19108#ifndef __cplusplus 19109 /* Ultrix mips cc rejects this sort of thing. */ 19110 typedef int charset[2]; 19111 const charset cs = { 0, 0 }; 19112 /* SunOS 4.1.1 cc rejects this. */ 19113 char const *const *pcpcc; 19114 char **ppc; 19115 /* NEC SVR4.0.2 mips cc rejects this. */ 19116 struct point {int x, y;}; 19117 static struct point const zero = {0,0}; 19118 /* AIX XL C 1.02.0.0 rejects this. 19119 It does not let you subtract one const X* pointer from another in 19120 an arm of an if-expression whose if-part is not a constant 19121 expression */ 19122 const char *g = "string"; 19123 pcpcc = &g + (g ? g-g : 0); 19124 /* HPUX 7.0 cc rejects these. */ 19125 ++pcpcc; 19126 ppc = (char**) pcpcc; 19127 pcpcc = (char const *const *) ppc; 19128 { /* SCO 3.2v4 cc rejects this sort of thing. */ 19129 char tx; 19130 char *t = &tx; 19131 char const *s = 0 ? (char *) 0 : (char const *) 0; 19132 19133 *t++ = 0; 19134 if (s) return 0; 19135 } 19136 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ 19137 int x[] = {25, 17}; 19138 const int *foo = &x[0]; 19139 ++foo; 19140 } 19141 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 19142 typedef const int *iptr; 19143 iptr p = 0; 19144 ++p; 19145 } 19146 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying 19147 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 19148 struct s { int j; const int *ap[3]; } bx; 19149 struct s *b = &bx; b->j = 5; 19150 } 19151 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 19152 const int foo = 10; 19153 if (!foo) return 0; 19154 } 19155 return !cs[0] && !zero.x; 19156#endif 19157 19158 ; 19159 return 0; 19160} 19161_ACEOF 19162if ac_fn_c_try_compile "$LINENO"; then : 19163 ac_cv_c_const=yes 19164else 19165 ac_cv_c_const=no 19166fi 19167rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19168fi 19169{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 19170$as_echo "$ac_cv_c_const" >&6; } 19171if test $ac_cv_c_const = no; then 19172 19173$as_echo "#define const /**/" >>confdefs.h 19174 19175fi 19176 19177{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5 19178$as_echo_n "checking for working volatile... " >&6; } 19179if ${ac_cv_c_volatile+:} false; then : 19180 $as_echo_n "(cached) " >&6 19181else 19182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19183/* end confdefs.h. */ 19184 19185int 19186main () 19187{ 19188 19189volatile int x; 19190int * volatile y = (int *) 0; 19191return !x && !y; 19192 ; 19193 return 0; 19194} 19195_ACEOF 19196if ac_fn_c_try_compile "$LINENO"; then : 19197 ac_cv_c_volatile=yes 19198else 19199 ac_cv_c_volatile=no 19200fi 19201rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19202fi 19203{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_volatile" >&5 19204$as_echo "$ac_cv_c_volatile" >&6; } 19205if test $ac_cv_c_volatile = no; then 19206 19207$as_echo "#define volatile /**/" >>confdefs.h 19208 19209fi 19210 19211 19212# Check whether --enable-largefile was given. 19213if test "${enable_largefile+set}" = set; then : 19214 enableval=$enable_largefile; 19215fi 19216 19217if test "$enable_largefile" != no; then 19218 19219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 19220$as_echo_n "checking for special C compiler options needed for large files... " >&6; } 19221if ${ac_cv_sys_largefile_CC+:} false; then : 19222 $as_echo_n "(cached) " >&6 19223else 19224 ac_cv_sys_largefile_CC=no 19225 if test "$GCC" != yes; then 19226 ac_save_CC=$CC 19227 while :; do 19228 # IRIX 6.2 and later do not support large files by default, 19229 # so use the C compiler's -n32 option if that helps. 19230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19231/* end confdefs.h. */ 19232#include <sys/types.h> 19233 /* Check that off_t can represent 2**63 - 1 correctly. 19234 We can't simply define LARGE_OFF_T to be 9223372036854775807, 19235 since some C++ compilers masquerading as C compilers 19236 incorrectly reject 9223372036854775807. */ 19237#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 19238 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 19239 && LARGE_OFF_T % 2147483647 == 1) 19240 ? 1 : -1]; 19241int 19242main () 19243{ 19244 19245 ; 19246 return 0; 19247} 19248_ACEOF 19249 if ac_fn_c_try_compile "$LINENO"; then : 19250 break 19251fi 19252rm -f core conftest.err conftest.$ac_objext 19253 CC="$CC -n32" 19254 if ac_fn_c_try_compile "$LINENO"; then : 19255 ac_cv_sys_largefile_CC=' -n32'; break 19256fi 19257rm -f core conftest.err conftest.$ac_objext 19258 break 19259 done 19260 CC=$ac_save_CC 19261 rm -f conftest.$ac_ext 19262 fi 19263fi 19264{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5 19265$as_echo "$ac_cv_sys_largefile_CC" >&6; } 19266 if test "$ac_cv_sys_largefile_CC" != no; then 19267 CC=$CC$ac_cv_sys_largefile_CC 19268 fi 19269 19270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 19271$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } 19272if ${ac_cv_sys_file_offset_bits+:} false; then : 19273 $as_echo_n "(cached) " >&6 19274else 19275 while :; do 19276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19277/* end confdefs.h. */ 19278#include <sys/types.h> 19279 /* Check that off_t can represent 2**63 - 1 correctly. 19280 We can't simply define LARGE_OFF_T to be 9223372036854775807, 19281 since some C++ compilers masquerading as C compilers 19282 incorrectly reject 9223372036854775807. */ 19283#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 19284 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 19285 && LARGE_OFF_T % 2147483647 == 1) 19286 ? 1 : -1]; 19287int 19288main () 19289{ 19290 19291 ; 19292 return 0; 19293} 19294_ACEOF 19295if ac_fn_c_try_compile "$LINENO"; then : 19296 ac_cv_sys_file_offset_bits=no; break 19297fi 19298rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19300/* end confdefs.h. */ 19301#define _FILE_OFFSET_BITS 64 19302#include <sys/types.h> 19303 /* Check that off_t can represent 2**63 - 1 correctly. 19304 We can't simply define LARGE_OFF_T to be 9223372036854775807, 19305 since some C++ compilers masquerading as C compilers 19306 incorrectly reject 9223372036854775807. */ 19307#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 19308 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 19309 && LARGE_OFF_T % 2147483647 == 1) 19310 ? 1 : -1]; 19311int 19312main () 19313{ 19314 19315 ; 19316 return 0; 19317} 19318_ACEOF 19319if ac_fn_c_try_compile "$LINENO"; then : 19320 ac_cv_sys_file_offset_bits=64; break 19321fi 19322rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19323 ac_cv_sys_file_offset_bits=unknown 19324 break 19325done 19326fi 19327{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5 19328$as_echo "$ac_cv_sys_file_offset_bits" >&6; } 19329case $ac_cv_sys_file_offset_bits in #( 19330 no | unknown) ;; 19331 *) 19332cat >>confdefs.h <<_ACEOF 19333#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits 19334_ACEOF 19335;; 19336esac 19337rm -rf conftest* 19338 if test $ac_cv_sys_file_offset_bits = unknown; then 19339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 19340$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } 19341if ${ac_cv_sys_large_files+:} false; then : 19342 $as_echo_n "(cached) " >&6 19343else 19344 while :; do 19345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19346/* end confdefs.h. */ 19347#include <sys/types.h> 19348 /* Check that off_t can represent 2**63 - 1 correctly. 19349 We can't simply define LARGE_OFF_T to be 9223372036854775807, 19350 since some C++ compilers masquerading as C compilers 19351 incorrectly reject 9223372036854775807. */ 19352#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 19353 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 19354 && LARGE_OFF_T % 2147483647 == 1) 19355 ? 1 : -1]; 19356int 19357main () 19358{ 19359 19360 ; 19361 return 0; 19362} 19363_ACEOF 19364if ac_fn_c_try_compile "$LINENO"; then : 19365 ac_cv_sys_large_files=no; break 19366fi 19367rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19369/* end confdefs.h. */ 19370#define _LARGE_FILES 1 19371#include <sys/types.h> 19372 /* Check that off_t can represent 2**63 - 1 correctly. 19373 We can't simply define LARGE_OFF_T to be 9223372036854775807, 19374 since some C++ compilers masquerading as C compilers 19375 incorrectly reject 9223372036854775807. */ 19376#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 19377 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 19378 && LARGE_OFF_T % 2147483647 == 1) 19379 ? 1 : -1]; 19380int 19381main () 19382{ 19383 19384 ; 19385 return 0; 19386} 19387_ACEOF 19388if ac_fn_c_try_compile "$LINENO"; then : 19389 ac_cv_sys_large_files=1; break 19390fi 19391rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19392 ac_cv_sys_large_files=unknown 19393 break 19394done 19395fi 19396{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5 19397$as_echo "$ac_cv_sys_large_files" >&6; } 19398case $ac_cv_sys_large_files in #( 19399 no | unknown) ;; 19400 *) 19401cat >>confdefs.h <<_ACEOF 19402#define _LARGE_FILES $ac_cv_sys_large_files 19403_ACEOF 19404;; 19405esac 19406rm -rf conftest* 19407 fi 19408 19409 19410fi 19411 19412 19413 19414 19415 # Check whether --enable-shared-libs was given. 19416if test "${enable_shared_libs+set}" = set; then : 19417 enableval=$enable_shared_libs; ac_cv_enable_shared_libs=$enableval 19418else 19419 ac_cv_enable_shared_libs="yes" 19420fi 19421 19422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to disable disable shared library support" >&5 19423$as_echo_n "checking whether to disable disable shared library support... " >&6; } 19424if ${ac_cv_enable_shared_libs+:} false; then : 19425 $as_echo_n "(cached) " >&6 19426else 19427 ac_cv_enable_shared_libs="yes" 19428fi 19429{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_shared_libs" >&5 19430$as_echo "$ac_cv_enable_shared_libs" >&6; } 19431 19432 19433 19434 19435 # Check whether --enable-static-executables was given. 19436if test "${enable_static_executables+set}" = set; then : 19437 enableval=$enable_static_executables; ac_cv_enable_static_executables=$enableval 19438else 19439 ac_cv_enable_static_executables=no 19440fi 19441 19442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable build static executables (binaries)" >&5 19443$as_echo_n "checking whether to enable build static executables (binaries)... " >&6; } 19444if ${ac_cv_enable_static_executables+:} false; then : 19445 $as_echo_n "(cached) " >&6 19446else 19447 ac_cv_enable_static_executables=no 19448fi 19449{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_static_executables" >&5 19450$as_echo "$ac_cv_enable_static_executables" >&6; } 19451 19452 if test "x$ac_cv_enable_static_executables" != xno; then : 19453 STATIC_LDFLAGS="-all-static"; 19454 19455 19456 19457 ac_cv_enable_static_executables=yes 19458 enable_shared=no 19459fi 19460 19461 19462 19463 19464 # Check whether --enable-winapi was given. 19465if test "${enable_winapi+set}" = set; then : 19466 enableval=$enable_winapi; ac_cv_enable_winapi=$enableval 19467else 19468 ac_cv_enable_winapi=auto-detect 19469fi 19470 19471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable enable WINAPI support for cross-compilation" >&5 19472$as_echo_n "checking whether to enable enable WINAPI support for cross-compilation... " >&6; } 19473if ${ac_cv_enable_winapi+:} false; then : 19474 $as_echo_n "(cached) " >&6 19475else 19476 ac_cv_enable_winapi=auto-detect 19477fi 19478{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_winapi" >&5 19479$as_echo "$ac_cv_enable_winapi" >&6; } 19480 19481 if test "x$ac_cv_enable_winapi" = xauto-detect; then : 19482 ac_common_check_winapi_target_string="$target" 19483 19484 if test "x$ac_common_check_winapi_target_string" = x; then : 19485 ac_common_check_winapi_target_string="$host" 19486fi 19487 19488 case $ac_common_check_winapi_target_string in #( 19489 *mingw*) : 19490 { $as_echo "$as_me:${as_lineno-$LINENO}: detected MinGW enabling WINAPI support for cross-compilation" >&5 19491$as_echo "$as_me: detected MinGW enabling WINAPI support for cross-compilation" >&6;} 19492 ac_cv_enable_winapi=yes ;; #( 19493 *msys*) : 19494 { $as_echo "$as_me:${as_lineno-$LINENO}: detected MSYS enabling WINAPI support for cross-compilation" >&5 19495$as_echo "$as_me: detected MSYS enabling WINAPI support for cross-compilation" >&6;} 19496 ac_cv_enable_winapi=yes ;; #( 19497 *) : 19498 ac_cv_enable_winapi=no ;; #( 19499 *) : 19500 ;; 19501esac 19502 19503fi 19504 19505 19506 19507 19508 # Check whether --enable-wide-character-type was given. 19509if test "${enable_wide_character_type+set}" = set; then : 19510 enableval=$enable_wide_character_type; ac_cv_enable_wide_character_type=$enableval 19511else 19512 ac_cv_enable_wide_character_type=no 19513fi 19514 19515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable enable wide character type support" >&5 19516$as_echo_n "checking whether to enable enable wide character type support... " >&6; } 19517if ${ac_cv_enable_wide_character_type+:} false; then : 19518 $as_echo_n "(cached) " >&6 19519else 19520 ac_cv_enable_wide_character_type=no 19521fi 19522{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_wide_character_type" >&5 19523$as_echo "$ac_cv_enable_wide_character_type" >&6; } 19524 19525 19526 19527 19528 # Check whether --enable-verbose-output was given. 19529if test "${enable_verbose_output+set}" = set; then : 19530 enableval=$enable_verbose_output; ac_cv_enable_verbose_output=$enableval 19531else 19532 ac_cv_enable_verbose_output=no 19533fi 19534 19535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable enable verbose output" >&5 19536$as_echo_n "checking whether to enable enable verbose output... " >&6; } 19537if ${ac_cv_enable_verbose_output+:} false; then : 19538 $as_echo_n "(cached) " >&6 19539else 19540 ac_cv_enable_verbose_output=no 19541fi 19542{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_verbose_output" >&5 19543$as_echo "$ac_cv_enable_verbose_output" >&6; } 19544 19545 if test "x$ac_cv_enable_verbose_output" != xno ; then : 19546 19547$as_echo "#define HAVE_VERBOSE_OUTPUT 1" >>confdefs.h 19548 19549 19550 ac_cv_enable_verbose_output=yes 19551fi 19552 19553 19554 19555 19556 # Check whether --enable-debug-output was given. 19557if test "${enable_debug_output+set}" = set; then : 19558 enableval=$enable_debug_output; ac_cv_enable_debug_output=$enableval 19559else 19560 ac_cv_enable_debug_output=no 19561fi 19562 19563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable enable debug output" >&5 19564$as_echo_n "checking whether to enable enable debug output... " >&6; } 19565if ${ac_cv_enable_debug_output+:} false; then : 19566 $as_echo_n "(cached) " >&6 19567else 19568 ac_cv_enable_debug_output=no 19569fi 19570{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_debug_output" >&5 19571$as_echo "$ac_cv_enable_debug_output" >&6; } 19572 19573 if test "x$ac_cv_enable_debug_output" != xno ; then : 19574 19575$as_echo "#define HAVE_DEBUG_OUTPUT 1" >>confdefs.h 19576 19577 19578 ac_cv_enable_debug_output=yes 19579fi 19580 19581 19582if test "x$ac_cv_enable_winapi" = xyes; then : 19583 ac_cv_enable_wide_character_type=yes 19584fi 19585 19586 if test "x$ac_cv_enable_wide_character_type" = xyes; then : 19587 19588$as_echo "#define HAVE_WIDE_CHARACTER_TYPE 1" >>confdefs.h 19589 19590 HAVE_WIDE_CHARACTER_TYPE=1 19591 19592else 19593 HAVE_WIDE_CHARACTER_TYPE=0 19594 19595 19596fi 19597 19598 for ac_header in sys/types.h inttypes.h stdint.h wchar.h 19599do : 19600 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 19601ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 19602if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 19603 cat >>confdefs.h <<_ACEOF 19604#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 19605_ACEOF 19606 19607fi 19608 19609done 19610 19611 19612 if test "x$ac_cv_header_sys_types_h" = xyes; then : 19613 HAVE_SYS_TYPES_H=1 19614 19615else 19616 HAVE_SYS_TYPES_H=0 19617 19618 19619fi 19620 19621 if test "x$ac_cv_header_inttypes_h" = xyes; then : 19622 HAVE_INTTYPES_H=1 19623 19624else 19625 HAVE_INTTYPES_H=0 19626 19627 19628fi 19629 19630 if test "x$ac_cv_header_stdint_h" = xyes; then : 19631 HAVE_STDINT_H=1 19632 19633else 19634 HAVE_STDINT_H=0 19635 19636 19637fi 19638 19639 if test "x$ac_cv_header_wchar_h" = xyes; then : 19640 HAVE_WCHAR_H=1 19641 19642else 19643 HAVE_WCHAR_H=0 19644 19645 19646fi 19647 19648 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default" 19649if test "x$ac_cv_type_mode_t" = xyes; then : 19650 19651else 19652 19653cat >>confdefs.h <<_ACEOF 19654#define mode_t int 19655_ACEOF 19656 19657fi 19658 19659 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default" 19660if test "x$ac_cv_type_off_t" = xyes; then : 19661 19662else 19663 19664cat >>confdefs.h <<_ACEOF 19665#define off_t long int 19666_ACEOF 19667 19668fi 19669 19670 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" 19671if test "x$ac_cv_type_size_t" = xyes; then : 19672 19673else 19674 19675cat >>confdefs.h <<_ACEOF 19676#define size_t unsigned int 19677_ACEOF 19678 19679fi 19680 19681 19682 ac_fn_c_check_type "$LINENO" "size32_t" "ac_cv_type_size32_t" "$ac_includes_default" 19683if test "x$ac_cv_type_size32_t" = xyes; then : 19684 HAVE_SIZE32_T=1 19685 19686else 19687 HAVE_SIZE32_T=0 19688 19689 19690fi 19691 19692 19693 ac_fn_c_check_type "$LINENO" "ssize32_t" "ac_cv_type_ssize32_t" "$ac_includes_default" 19694if test "x$ac_cv_type_ssize32_t" = xyes; then : 19695 HAVE_SSIZE32_T=1 19696 19697else 19698 HAVE_SSIZE32_T=0 19699 19700 19701fi 19702 19703 19704 ac_fn_c_check_type "$LINENO" "size64_t" "ac_cv_type_size64_t" "$ac_includes_default" 19705if test "x$ac_cv_type_size64_t" = xyes; then : 19706 HAVE_SIZE64_T=1 19707 19708else 19709 HAVE_SIZE64_T=0 19710 19711 19712fi 19713 19714 19715 ac_fn_c_check_type "$LINENO" "ssize64_t" "ac_cv_type_ssize64_t" "$ac_includes_default" 19716if test "x$ac_cv_type_ssize64_t" = xyes; then : 19717 HAVE_SSIZE64_T=1 19718 19719else 19720 HAVE_SSIZE64_T=0 19721 19722 19723fi 19724 19725 19726 ac_fn_c_check_type "$LINENO" "off64_t" "ac_cv_type_off64_t" "$ac_includes_default" 19727if test "x$ac_cv_type_off64_t" = xyes; then : 19728 HAVE_OFF64_T=1 19729 19730else 19731 HAVE_OFF64_T=0 19732 19733 19734fi 19735 19736 19737 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default" 19738if test "x$ac_cv_type_ssize_t" = xyes; then : 19739 19740fi 19741 19742 ac_fn_c_check_type "$LINENO" "u64" "ac_cv_type_u64" "$ac_includes_default" 19743if test "x$ac_cv_type_u64" = xyes; then : 19744 19745fi 19746 19747 19748 # The cast to long int works around a bug in the HP C Compiler 19749# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 19750# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 19751# This bug is HP SR number 8606223364. 19752{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5 19753$as_echo_n "checking size of int... " >&6; } 19754if ${ac_cv_sizeof_int+:} false; then : 19755 $as_echo_n "(cached) " >&6 19756else 19757 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then : 19758 19759else 19760 if test "$ac_cv_type_int" = yes; then 19761 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 19762$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 19763as_fn_error 77 "cannot compute sizeof (int) 19764See \`config.log' for more details" "$LINENO" 5; } 19765 else 19766 ac_cv_sizeof_int=0 19767 fi 19768fi 19769 19770fi 19771{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5 19772$as_echo "$ac_cv_sizeof_int" >&6; } 19773 19774 19775 19776cat >>confdefs.h <<_ACEOF 19777#define SIZEOF_INT $ac_cv_sizeof_int 19778_ACEOF 19779 19780 19781 # The cast to long int works around a bug in the HP C Compiler 19782# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 19783# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 19784# This bug is HP SR number 8606223364. 19785{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 19786$as_echo_n "checking size of long... " >&6; } 19787if ${ac_cv_sizeof_long+:} false; then : 19788 $as_echo_n "(cached) " >&6 19789else 19790 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then : 19791 19792else 19793 if test "$ac_cv_type_long" = yes; then 19794 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 19795$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 19796as_fn_error 77 "cannot compute sizeof (long) 19797See \`config.log' for more details" "$LINENO" 5; } 19798 else 19799 ac_cv_sizeof_long=0 19800 fi 19801fi 19802 19803fi 19804{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 19805$as_echo "$ac_cv_sizeof_long" >&6; } 19806 19807 19808 19809cat >>confdefs.h <<_ACEOF 19810#define SIZEOF_LONG $ac_cv_sizeof_long 19811_ACEOF 19812 19813 19814 # The cast to long int works around a bug in the HP C Compiler 19815# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 19816# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 19817# This bug is HP SR number 8606223364. 19818{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5 19819$as_echo_n "checking size of off_t... " >&6; } 19820if ${ac_cv_sizeof_off_t+:} false; then : 19821 $as_echo_n "(cached) " >&6 19822else 19823 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (off_t))" "ac_cv_sizeof_off_t" "$ac_includes_default"; then : 19824 19825else 19826 if test "$ac_cv_type_off_t" = yes; then 19827 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 19828$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 19829as_fn_error 77 "cannot compute sizeof (off_t) 19830See \`config.log' for more details" "$LINENO" 5; } 19831 else 19832 ac_cv_sizeof_off_t=0 19833 fi 19834fi 19835 19836fi 19837{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5 19838$as_echo "$ac_cv_sizeof_off_t" >&6; } 19839 19840 19841 19842cat >>confdefs.h <<_ACEOF 19843#define SIZEOF_OFF_T $ac_cv_sizeof_off_t 19844_ACEOF 19845 19846 19847 # The cast to long int works around a bug in the HP C Compiler 19848# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 19849# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 19850# This bug is HP SR number 8606223364. 19851{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5 19852$as_echo_n "checking size of size_t... " >&6; } 19853if ${ac_cv_sizeof_size_t+:} false; then : 19854 $as_echo_n "(cached) " >&6 19855else 19856 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t" "$ac_includes_default"; then : 19857 19858else 19859 if test "$ac_cv_type_size_t" = yes; then 19860 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 19861$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 19862as_fn_error 77 "cannot compute sizeof (size_t) 19863See \`config.log' for more details" "$LINENO" 5; } 19864 else 19865 ac_cv_sizeof_size_t=0 19866 fi 19867fi 19868 19869fi 19870{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5 19871$as_echo "$ac_cv_sizeof_size_t" >&6; } 19872 19873 19874 19875cat >>confdefs.h <<_ACEOF 19876#define SIZEOF_SIZE_T $ac_cv_sizeof_size_t 19877_ACEOF 19878 19879 19880 19881 if test "x$ac_cv_header_wchar_h" = xyes; then : 19882 # The cast to long int works around a bug in the HP C Compiler 19883# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 19884# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 19885# This bug is HP SR number 8606223364. 19886{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of wchar_t" >&5 19887$as_echo_n "checking size of wchar_t... " >&6; } 19888if ${ac_cv_sizeof_wchar_t+:} false; then : 19889 $as_echo_n "(cached) " >&6 19890else 19891 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (wchar_t))" "ac_cv_sizeof_wchar_t" "$ac_includes_default"; then : 19892 19893else 19894 if test "$ac_cv_type_wchar_t" = yes; then 19895 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 19896$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 19897as_fn_error 77 "cannot compute sizeof (wchar_t) 19898See \`config.log' for more details" "$LINENO" 5; } 19899 else 19900 ac_cv_sizeof_wchar_t=0 19901 fi 19902fi 19903 19904fi 19905{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_wchar_t" >&5 19906$as_echo "$ac_cv_sizeof_wchar_t" >&6; } 19907 19908 19909 19910cat >>confdefs.h <<_ACEOF 19911#define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t 19912_ACEOF 19913 19914 19915fi 19916 19917 19918 19919 if test "x$ac_cv_enable_winapi" = xyes; then : 19920 for ac_header in windows.h 19921do : 19922 ac_fn_c_check_header_mongrel "$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default" 19923if test "x$ac_cv_header_windows_h" = xyes; then : 19924 cat >>confdefs.h <<_ACEOF 19925#define HAVE_WINDOWS_H 1 19926_ACEOF 19927 19928fi 19929 19930done 19931 19932 19933 if test "x$ac_cv_header_windows_h" = xno; then : 19934 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 19935$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 19936as_fn_error 1 "Missing header: windows.h header is required to compile with winapi support 19937See \`config.log' for more details" "$LINENO" 5; } 19938 19939fi 19940 19941fi 19942 19943 if test "x$ac_cv_enable_winapi" = xno; then : 19944 for ac_header in libintl.h 19945do : 19946 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default" 19947if test "x$ac_cv_header_libintl_h" = xyes; then : 19948 cat >>confdefs.h <<_ACEOF 19949#define HAVE_LIBINTL_H 1 19950_ACEOF 19951 19952fi 19953 19954done 19955 19956 19957fi 19958 19959 for ac_header in limits.h 19960do : 19961 ac_fn_c_check_header_mongrel "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default" 19962if test "x$ac_cv_header_limits_h" = xyes; then : 19963 cat >>confdefs.h <<_ACEOF 19964#define HAVE_LIMITS_H 1 19965_ACEOF 19966 19967fi 19968 19969done 19970 19971 19972 for ac_header in stdlib.h string.h 19973do : 19974 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 19975ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 19976if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 19977 cat >>confdefs.h <<_ACEOF 19978#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 19979_ACEOF 19980 19981fi 19982 19983done 19984 19985 19986 for ac_header in wchar.h wctype.h 19987do : 19988 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 19989ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 19990if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 19991 cat >>confdefs.h <<_ACEOF 19992#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 19993_ACEOF 19994 19995fi 19996 19997done 19998 19999 20000 for ac_func in fclose feof fgets fopen fread fseeko fseeko64 fwrite vfprintf 20001do : 20002 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 20003ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 20004if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 20005 cat >>confdefs.h <<_ACEOF 20006#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 20007_ACEOF 20008 20009fi 20010done 20011 20012 20013 if test "x$ac_cv_func_fclose" != xyes; then : 20014 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20015$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20016as_fn_error 1 "Missing function: fclose 20017See \`config.log' for more details" "$LINENO" 5; } 20018 20019fi 20020 20021 if test "x$ac_cv_func_feof" != xyes; then : 20022 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20023$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20024as_fn_error 1 "Missing function: feof 20025See \`config.log' for more details" "$LINENO" 5; } 20026 20027fi 20028 20029 if test "x$ac_cv_func_fgets" != xyes; then : 20030 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20031$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20032as_fn_error 1 "Missing function: fgets 20033See \`config.log' for more details" "$LINENO" 5; } 20034 20035fi 20036 20037 if test "x$ac_cv_func_fopen" != xyes; then : 20038 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20039$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20040as_fn_error 1 "Missing function: fopen 20041See \`config.log' for more details" "$LINENO" 5; } 20042 20043fi 20044 20045 if test "x$ac_cv_func_fread" != xyes; then : 20046 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20047$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20048as_fn_error 1 "Missing function: fread 20049See \`config.log' for more details" "$LINENO" 5; } 20050 20051fi 20052 20053 if test "x$ac_cv_func_fseeko" != xyes && test "x$ac_cv_func_fseeko64" != xyes; then : 20054 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20055$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20056as_fn_error 1 "Missing function: fseeko and fseeko64 20057See \`config.log' for more details" "$LINENO" 5; } 20058 20059fi 20060 20061 if test "x$ac_cv_func_fwrite" != xyes; then : 20062 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20063$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20064as_fn_error 1 "Missing function: fwrite 20065See \`config.log' for more details" "$LINENO" 5; } 20066 20067fi 20068 20069 if test "x$ac_cv_func_vfprintf" != xyes; then : 20070 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20071$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20072as_fn_error 1 "Missing function: vfprintf 20073See \`config.log' for more details" "$LINENO" 5; } 20074 20075fi 20076 20077 if test "x$ac_cv_enable_wide_character_type" != xno; then : 20078 for ac_func in fgetws 20079do : 20080 ac_fn_c_check_func "$LINENO" "fgetws" "ac_cv_func_fgetws" 20081if test "x$ac_cv_func_fgetws" = xyes; then : 20082 cat >>confdefs.h <<_ACEOF 20083#define HAVE_FGETWS 1 20084_ACEOF 20085 20086fi 20087done 20088 20089 20090 if test "x$ac_cv_func_fgetws" != xyes; then : 20091 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20092$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20093as_fn_error 1 "Missing function: fgetws 20094See \`config.log' for more details" "$LINENO" 5; } 20095 20096fi 20097 20098fi 20099 20100 for ac_func in free malloc memcmp memcpy memset realloc 20101do : 20102 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 20103ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 20104if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 20105 cat >>confdefs.h <<_ACEOF 20106#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 20107_ACEOF 20108 20109fi 20110done 20111 20112 20113 if test "x$ac_cv_func_free" != xyes; then : 20114 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20115$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20116as_fn_error 1 "Missing function: free 20117See \`config.log' for more details" "$LINENO" 5; } 20118 20119fi 20120 20121 if test "x$ac_cv_func_malloc" != xyes; then : 20122 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20123$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20124as_fn_error 1 "Missing function: malloc 20125See \`config.log' for more details" "$LINENO" 5; } 20126 20127fi 20128 20129 if test "x$ac_cv_func_memcmp" != xyes; then : 20130 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20131$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20132as_fn_error 1 "Missing function: memcmp 20133See \`config.log' for more details" "$LINENO" 5; } 20134 20135fi 20136 20137 if test "x$ac_cv_func_memcpy" != xyes; then : 20138 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20139$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20140as_fn_error 1 "Missing function: memcpy 20141See \`config.log' for more details" "$LINENO" 5; } 20142 20143fi 20144 20145 if test "x$ac_cv_func_memset" != xyes; then : 20146 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20147$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20148as_fn_error 1 "Missing function: memset 20149See \`config.log' for more details" "$LINENO" 5; } 20150 20151fi 20152 20153 if test "x$ac_cv_func_realloc" != xyes; then : 20154 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20155$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20156as_fn_error 1 "Missing function: realloc 20157See \`config.log' for more details" "$LINENO" 5; } 20158 20159fi 20160 20161 for ac_func in memchr memrchr snprintf sscanf strcasecmp strchr strlen strncasecmp strncmp strncpy strnicmp strrchr strstr vsnprintf 20162do : 20163 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 20164ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 20165if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 20166 cat >>confdefs.h <<_ACEOF 20167#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 20168_ACEOF 20169 20170fi 20171done 20172 20173 20174 if test "x$ac_cv_func_memchr" != xyes && test "x$ac_cv_func_strchr" != xyes; then : 20175 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20176$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20177as_fn_error 1 "Missing functions: memchr and strchr 20178See \`config.log' for more details" "$LINENO" 5; } 20179 20180fi 20181 20182 if test "x$ac_cv_func_memcmp" != xyes && test "x$ac_cv_func_strncmp" != xyes; then : 20183 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20184$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20185as_fn_error 1 "Missing functions: memcmp and strncmp 20186See \`config.log' for more details" "$LINENO" 5; } 20187 20188fi 20189 20190 if test "x$ac_cv_func_memcpy" != xyes && test "x$ac_cv_func_strncpy" != xyes; then : 20191 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20192$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20193as_fn_error 1 "Missing functions: memcpy and strncpy 20194See \`config.log' for more details" "$LINENO" 5; } 20195 20196fi 20197 20198 if test "x$ac_cv_func_memrchr" = xyes; then : 20199 ac_fn_c_check_decl "$LINENO" "memrchr" "ac_cv_have_decl_memrchr" "$ac_includes_default" 20200if test "x$ac_cv_have_decl_memrchr" = xyes; then : 20201 ac_have_decl=1 20202else 20203 ac_have_decl=0 20204fi 20205 20206cat >>confdefs.h <<_ACEOF 20207#define HAVE_DECL_MEMRCHR $ac_have_decl 20208_ACEOF 20209 20210 20211 if test "x$ac_cv_decl_memrchr" != xyes; then : 20212 ac_cv_func_memrchr=no 20213fi 20214 20215fi 20216 20217 if test "x$ac_cv_func_memrchr" != xyes && test "x$ac_cv_func_strrchr" != xyes; then : 20218 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20219$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20220as_fn_error 1 "Missing functions: strrchr and memrchr 20221See \`config.log' for more details" "$LINENO" 5; } 20222 20223fi 20224 20225 if test "x$ac_cv_func_snprintf" != xyes; then : 20226 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20227$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20228as_fn_error 1 "Missing function: snprintf 20229See \`config.log' for more details" "$LINENO" 5; } 20230 20231fi 20232 20233 if test "x$ac_cv_func_sscanf" != xyes; then : 20234 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20235$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20236as_fn_error 1 "Missing function: sscanf 20237See \`config.log' for more details" "$LINENO" 5; } 20238 20239fi 20240 20241 if test "x$ac_cv_func_strlen" != xyes; then : 20242 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20243$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20244as_fn_error 1 "Missing function: strlen 20245See \`config.log' for more details" "$LINENO" 5; } 20246 20247fi 20248 20249 if test "x$ac_cv_func_strcasecmp" != xyes && test "x$ac_cv_func_strncasecmp" != xyes && test "x$ac_cv_func_strnicmp" != xyes; then : 20250 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20251$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20252as_fn_error 1 "Missing functions: strncasecmp, strcasecmp and strnicmp 20253See \`config.log' for more details" "$LINENO" 5; } 20254 20255fi 20256 20257 if test "x$ac_cv_func_strstr" != xyes; then : 20258 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20259$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20260as_fn_error 1 "Missing function: strstr 20261See \`config.log' for more details" "$LINENO" 5; } 20262 20263fi 20264 20265 if test "x$ac_cv_func_vsnprintf" != xyes; then : 20266 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20267$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20268as_fn_error 1 "Missing function: vsnprintf 20269See \`config.log' for more details" "$LINENO" 5; } 20270 20271fi 20272 20273 if test "x$ac_cv_enable_wide_character_type" != xno; then : 20274 for ac_func in swprintf towlower wcscasecmp wcschr wcslen wcsncasecmp wcsncmp wcsncpy wcsnicmp wcsrchr wcsstr wmemchr wmemcmp wmemcpy wmemrchr 20275do : 20276 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 20277ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 20278if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 20279 cat >>confdefs.h <<_ACEOF 20280#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 20281_ACEOF 20282 20283fi 20284done 20285 20286 20287 if test "x$ac_cv_func_swprintf" != xyes; then : 20288 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20289$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20290as_fn_error 1 "Missing function: swprintf 20291See \`config.log' for more details" "$LINENO" 5; } 20292 20293fi 20294 20295 if test "x$ac_cv_func_wmemchr" != xyes && test "x$ac_cv_func_wcschr" != xyes; then : 20296 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20297$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20298as_fn_error 1 "Missing functions: wmemchr and wcschr 20299See \`config.log' for more details" "$LINENO" 5; } 20300 20301fi 20302 20303 if test "x$ac_cv_func_wmemcmp" != xyes && test "x$ac_cv_func_wcsncmp" != xyes; then : 20304 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20305$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20306as_fn_error 1 "Missing functions: wmemcmp and wcsncmp 20307See \`config.log' for more details" "$LINENO" 5; } 20308 20309fi 20310 20311 if test "x$ac_cv_func_wmemcpy" != xyes && test "x$ac_cv_func_wcsncpy" != xyes; then : 20312 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20313$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20314as_fn_error 1 "Missing functions: wmemcpy and wcsncpy 20315See \`config.log' for more details" "$LINENO" 5; } 20316 20317fi 20318 20319 if test "x$ac_cv_func_wmemrchr" != xyes && test "x$ac_cv_func_wcsrchr" != xyes; then : 20320 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20321$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20322as_fn_error 1 "Missing functions: wmemrchr and wcsrchr 20323See \`config.log' for more details" "$LINENO" 5; } 20324 20325fi 20326 20327 if test "x$ac_cv_func_wcslen" != xyes; then : 20328 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20329$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20330as_fn_error 1 "Missing function: wcslen 20331See \`config.log' for more details" "$LINENO" 5; } 20332 20333fi 20334 20335 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 : 20336 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20337$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20338as_fn_error 1 "Missing functions: wcsncasecmp, wcscasecmp, wcsnicmp and towlower 20339See \`config.log' for more details" "$LINENO" 5; } 20340 20341fi 20342 20343 if test "x$ac_cv_func_wcsstr" != xyes; then : 20344 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20345$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20346as_fn_error 1 "Missing function: wcsstr 20347See \`config.log' for more details" "$LINENO" 5; } 20348 20349fi 20350 20351fi 20352 20353 20354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports the conversion specifier \"%jd\"" >&5 20355$as_echo_n "checking whether printf supports the conversion specifier \"%jd\"... " >&6; } 20356 20357 SAVE_CFLAGS="$CFLAGS" 20358 CFLAGS="$CFLAGS -Wall -Werror" 20359 ac_ext=c 20360ac_cpp='$CPP $CPPFLAGS' 20361ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 20362ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 20363ac_compiler_gnu=$ac_cv_c_compiler_gnu 20364 20365 20366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20367/* end confdefs.h. */ 20368#include <stdio.h> 20369int 20370main () 20371{ 20372printf( "%jd" ); 20373 ; 20374 return 0; 20375} 20376_ACEOF 20377if ac_fn_c_try_link "$LINENO"; then : 20378 ac_cv_cv_have_printf_jd=no 20379else 20380 ac_cv_cv_have_printf_jd=yes 20381fi 20382rm -f core conftest.err conftest.$ac_objext \ 20383 conftest$ac_exeext conftest.$ac_ext 20384 20385 if test "x$ac_cv_cv_have_printf_jd" = xyes; then : 20386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20387/* end confdefs.h. */ 20388#include <sys/types.h> 20389#include <stdio.h> 20390int 20391main () 20392{ 20393printf( "%jd", (off_t) 10 ); 20394 ; 20395 return 0; 20396} 20397_ACEOF 20398if ac_fn_c_try_link "$LINENO"; then : 20399 ac_cv_cv_have_printf_jd=yes 20400else 20401 ac_cv_cv_have_printf_jd=no 20402fi 20403rm -f core conftest.err conftest.$ac_objext \ 20404 conftest$ac_exeext conftest.$ac_ext 20405 20406fi 20407 20408 if test "x$ac_cv_cv_have_printf_jd" = xyes; then : 20409 if test "$cross_compiling" = yes; then : 20410 ac_cv_cv_have_printf_jd=undetermined 20411else 20412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20413/* end confdefs.h. */ 20414#include <sys/types.h> 20415#include <stdio.h> 20416int 20417main () 20418{ 20419char string[ 3 ]; 20420if( snprintf( string, 3, "%jd", (off_t) 10 ) < 0 ) return( 1 ); 20421if( ( string[ 0 ] != '1' ) || ( string[ 1 ] != '0' ) ) return( 1 ); 20422 ; 20423 return 0; 20424} 20425_ACEOF 20426if ac_fn_c_try_run "$LINENO"; then : 20427 ac_cv_cv_have_printf_jd=yes 20428else 20429 ac_cv_cv_have_printf_jd=no 20430fi 20431rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 20432 conftest.$ac_objext conftest.beam conftest.$ac_ext 20433fi 20434 20435 20436fi 20437 20438 ac_ext=c 20439ac_cpp='$CPP $CPPFLAGS' 20440ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 20441ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 20442ac_compiler_gnu=$ac_cv_c_compiler_gnu 20443 20444 CFLAGS="$SAVE_CFLAGS" 20445 20446 if test "x$ac_cv_cv_have_printf_jd" = xyes; then : 20447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 20448$as_echo "yes" >&6; } 20449 20450$as_echo "#define HAVE_PRINTF_JD 1" >>confdefs.h 20451 20452else 20453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cv_have_printf_jd" >&5 20454$as_echo "$ac_cv_cv_have_printf_jd" >&6; } 20455 20456fi 20457 20458 20459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports the conversion specifier \"%zd\"" >&5 20460$as_echo_n "checking whether printf supports the conversion specifier \"%zd\"... " >&6; } 20461 20462 SAVE_CFLAGS="$CFLAGS" 20463 CFLAGS="$CFLAGS -Wall -Werror" 20464 ac_ext=c 20465ac_cpp='$CPP $CPPFLAGS' 20466ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 20467ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 20468ac_compiler_gnu=$ac_cv_c_compiler_gnu 20469 20470 20471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20472/* end confdefs.h. */ 20473#include <stdio.h> 20474int 20475main () 20476{ 20477printf( "%zd" ); 20478 ; 20479 return 0; 20480} 20481_ACEOF 20482if ac_fn_c_try_link "$LINENO"; then : 20483 ac_cv_cv_have_printf_zd=no 20484else 20485 ac_cv_cv_have_printf_zd=yes 20486fi 20487rm -f core conftest.err conftest.$ac_objext \ 20488 conftest$ac_exeext conftest.$ac_ext 20489 20490 if test "x$ac_cv_cv_have_printf_zd" = xyes; then : 20491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20492/* end confdefs.h. */ 20493#include <sys/types.h> 20494#include <stdio.h> 20495int 20496main () 20497{ 20498printf( "%zd", (size_t) 10 ); 20499 ; 20500 return 0; 20501} 20502_ACEOF 20503if ac_fn_c_try_link "$LINENO"; then : 20504 ac_cv_cv_have_printf_zd=yes 20505else 20506 ac_cv_cv_have_printf_zd=no 20507fi 20508rm -f core conftest.err conftest.$ac_objext \ 20509 conftest$ac_exeext conftest.$ac_ext 20510 20511fi 20512 20513 if test "x$ac_cv_cv_have_printf_zd" = xyes; then : 20514 if test "$cross_compiling" = yes; then : 20515 ac_cv_cv_have_printf_zd=undetermined 20516else 20517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20518/* end confdefs.h. */ 20519#include <sys/types.h> 20520#include <stdio.h> 20521int 20522main () 20523{ 20524char string[ 3 ]; 20525if( snprintf( string, 3, "%zd", (size_t) 10 ) < 0 ) return( 1 ); 20526if( ( string[ 0 ] != '1' ) || ( string[ 1 ] != '0' ) ) return( 1 ); 20527 ; 20528 return 0; 20529} 20530_ACEOF 20531if ac_fn_c_try_run "$LINENO"; then : 20532 ac_cv_cv_have_printf_zd=yes 20533else 20534 ac_cv_cv_have_printf_zd=no 20535fi 20536rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 20537 conftest.$ac_objext conftest.beam conftest.$ac_ext 20538fi 20539 20540 20541fi 20542 20543 ac_ext=c 20544ac_cpp='$CPP $CPPFLAGS' 20545ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 20546ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 20547ac_compiler_gnu=$ac_cv_c_compiler_gnu 20548 20549 CFLAGS="$SAVE_CFLAGS" 20550 20551 if test "x$ac_cv_cv_have_printf_zd" = xyes; then : 20552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 20553$as_echo "yes" >&6; } 20554 20555$as_echo "#define HAVE_PRINTF_ZD 1" >>confdefs.h 20556 20557else 20558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cv_have_printf_zd" >&5 20559$as_echo "$ac_cv_cv_have_printf_zd" >&6; } 20560 20561fi 20562 20563 20564 20565 20566 20567 20568 20569 20570 20571 20572if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 20573 if test -n "$ac_tool_prefix"; then 20574 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 20575set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 20576{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 20577$as_echo_n "checking for $ac_word... " >&6; } 20578if ${ac_cv_path_PKG_CONFIG+:} false; then : 20579 $as_echo_n "(cached) " >&6 20580else 20581 case $PKG_CONFIG in 20582 [\\/]* | ?:[\\/]*) 20583 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 20584 ;; 20585 *) 20586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 20587for as_dir in $PATH 20588do 20589 IFS=$as_save_IFS 20590 test -z "$as_dir" && as_dir=. 20591 for ac_exec_ext in '' $ac_executable_extensions; do 20592 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 20593 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 20594 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 20595 break 2 20596 fi 20597done 20598 done 20599IFS=$as_save_IFS 20600 20601 ;; 20602esac 20603fi 20604PKG_CONFIG=$ac_cv_path_PKG_CONFIG 20605if test -n "$PKG_CONFIG"; then 20606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 20607$as_echo "$PKG_CONFIG" >&6; } 20608else 20609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 20610$as_echo "no" >&6; } 20611fi 20612 20613 20614fi 20615if test -z "$ac_cv_path_PKG_CONFIG"; then 20616 ac_pt_PKG_CONFIG=$PKG_CONFIG 20617 # Extract the first word of "pkg-config", so it can be a program name with args. 20618set dummy pkg-config; ac_word=$2 20619{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 20620$as_echo_n "checking for $ac_word... " >&6; } 20621if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 20622 $as_echo_n "(cached) " >&6 20623else 20624 case $ac_pt_PKG_CONFIG in 20625 [\\/]* | ?:[\\/]*) 20626 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 20627 ;; 20628 *) 20629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 20630for as_dir in $PATH 20631do 20632 IFS=$as_save_IFS 20633 test -z "$as_dir" && as_dir=. 20634 for ac_exec_ext in '' $ac_executable_extensions; do 20635 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 20636 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 20637 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 20638 break 2 20639 fi 20640done 20641 done 20642IFS=$as_save_IFS 20643 20644 ;; 20645esac 20646fi 20647ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 20648if test -n "$ac_pt_PKG_CONFIG"; then 20649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 20650$as_echo "$ac_pt_PKG_CONFIG" >&6; } 20651else 20652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 20653$as_echo "no" >&6; } 20654fi 20655 20656 if test "x$ac_pt_PKG_CONFIG" = x; then 20657 PKG_CONFIG="" 20658 else 20659 case $cross_compiling:$ac_tool_warned in 20660yes:) 20661{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 20662$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 20663ac_tool_warned=yes ;; 20664esac 20665 PKG_CONFIG=$ac_pt_PKG_CONFIG 20666 fi 20667else 20668 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 20669fi 20670 20671fi 20672if test -n "$PKG_CONFIG"; then 20673 _pkg_min_version=0.9.0 20674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 20675$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 20676 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 20677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 20678$as_echo "yes" >&6; } 20679 else 20680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 20681$as_echo "no" >&6; } 20682 PKG_CONFIG="" 20683 fi 20684fi 20685 20686 20687# Check whether --with-libcerror was given. 20688if test "${with_libcerror+set}" = set; then : 20689 withval=$with_libcerror; ac_cv_with_libcerror=$withval 20690else 20691 ac_cv_with_libcerror=auto-detect 20692fi 20693 20694 { $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 20695$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; } 20696if ${ac_cv_with_libcerror+:} false; then : 20697 $as_echo_n "(cached) " >&6 20698else 20699 ac_cv_with_libcerror=auto-detect 20700fi 20701{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libcerror" >&5 20702$as_echo "$ac_cv_with_libcerror" >&6; } 20703 20704 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libcerror" = xno; then : 20705 ac_cv_libcerror=no 20706else 20707 ac_cv_libcerror=check 20708 if test "x$ac_cv_with_libcerror" != x && test "x$ac_cv_with_libcerror" != xauto-detect; then : 20709 if test -d "$ac_cv_with_libcerror"; then : 20710 CFLAGS="$CFLAGS -I${ac_cv_with_libcerror}/include" 20711 LDFLAGS="$LDFLAGS -L${ac_cv_with_libcerror}/lib" 20712else 20713 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20714$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20715as_fn_error 1 "no such directory: $ac_cv_with_libcerror 20716See \`config.log' for more details" "$LINENO" 5; } 20717 20718fi 20719 20720else 20721 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 20722 20723pkg_failed=no 20724{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror" >&5 20725$as_echo_n "checking for libcerror... " >&6; } 20726 20727if test -n "$libcerror_CFLAGS"; then 20728 pkg_cv_libcerror_CFLAGS="$libcerror_CFLAGS" 20729 elif test -n "$PKG_CONFIG"; then 20730 if test -n "$PKG_CONFIG" && \ 20731 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcerror >= 20120425\""; } >&5 20732 ($PKG_CONFIG --exists --print-errors "libcerror >= 20120425") 2>&5 20733 ac_status=$? 20734 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 20735 test $ac_status = 0; }; then 20736 pkg_cv_libcerror_CFLAGS=`$PKG_CONFIG --cflags "libcerror >= 20120425" 2>/dev/null` 20737 test "x$?" != "x0" && pkg_failed=yes 20738else 20739 pkg_failed=yes 20740fi 20741 else 20742 pkg_failed=untried 20743fi 20744if test -n "$libcerror_LIBS"; then 20745 pkg_cv_libcerror_LIBS="$libcerror_LIBS" 20746 elif test -n "$PKG_CONFIG"; then 20747 if test -n "$PKG_CONFIG" && \ 20748 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcerror >= 20120425\""; } >&5 20749 ($PKG_CONFIG --exists --print-errors "libcerror >= 20120425") 2>&5 20750 ac_status=$? 20751 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 20752 test $ac_status = 0; }; then 20753 pkg_cv_libcerror_LIBS=`$PKG_CONFIG --libs "libcerror >= 20120425" 2>/dev/null` 20754 test "x$?" != "x0" && pkg_failed=yes 20755else 20756 pkg_failed=yes 20757fi 20758 else 20759 pkg_failed=untried 20760fi 20761 20762 20763 20764if test $pkg_failed = yes; then 20765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 20766$as_echo "no" >&6; } 20767 20768if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 20769 _pkg_short_errors_supported=yes 20770else 20771 _pkg_short_errors_supported=no 20772fi 20773 if test $_pkg_short_errors_supported = yes; then 20774 libcerror_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcerror >= 20120425" 2>&1` 20775 else 20776 libcerror_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcerror >= 20120425" 2>&1` 20777 fi 20778 # Put the nasty error message in config.log where it belongs 20779 echo "$libcerror_PKG_ERRORS" >&5 20780 20781 ac_cv_libcerror=check 20782elif test $pkg_failed = untried; then 20783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 20784$as_echo "no" >&6; } 20785 ac_cv_libcerror=check 20786else 20787 libcerror_CFLAGS=$pkg_cv_libcerror_CFLAGS 20788 libcerror_LIBS=$pkg_cv_libcerror_LIBS 20789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 20790$as_echo "yes" >&6; } 20791 ac_cv_libcerror=yes 20792fi 20793 20794fi 20795 if test "x$ac_cv_libcerror" = xyes; then : 20796 ac_cv_libcerror_CPPFLAGS="$pkg_cv_libcerror_CFLAGS" 20797 ac_cv_libcerror_LIBADD="$pkg_cv_libcerror_LIBS" 20798fi 20799 20800fi 20801 20802 if test "x$ac_cv_libcerror" = xcheck; then : 20803 for ac_header in libcerror.h 20804do : 20805 ac_fn_c_check_header_mongrel "$LINENO" "libcerror.h" "ac_cv_header_libcerror_h" "$ac_includes_default" 20806if test "x$ac_cv_header_libcerror_h" = xyes; then : 20807 cat >>confdefs.h <<_ACEOF 20808#define HAVE_LIBCERROR_H 1 20809_ACEOF 20810 20811fi 20812 20813done 20814 20815 20816 if test "x$ac_cv_header_libcerror_h" = xno; then : 20817 ac_cv_libcerror=no 20818else 20819 ac_cv_libcerror=yes 20820 20821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_get_version in -lcerror" >&5 20822$as_echo_n "checking for libcerror_get_version in -lcerror... " >&6; } 20823if ${ac_cv_lib_cerror_libcerror_get_version+:} false; then : 20824 $as_echo_n "(cached) " >&6 20825else 20826 ac_check_lib_save_LIBS=$LIBS 20827LIBS="-lcerror $LIBS" 20828cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20829/* end confdefs.h. */ 20830 20831/* Override any GCC internal prototype to avoid an error. 20832 Use char because int might match the return type of a GCC 20833 builtin and then its argument prototype would still apply. */ 20834#ifdef __cplusplus 20835extern "C" 20836#endif 20837char libcerror_get_version (); 20838int 20839main () 20840{ 20841return libcerror_get_version (); 20842 ; 20843 return 0; 20844} 20845_ACEOF 20846if ac_fn_c_try_link "$LINENO"; then : 20847 ac_cv_lib_cerror_libcerror_get_version=yes 20848else 20849 ac_cv_lib_cerror_libcerror_get_version=no 20850fi 20851rm -f core conftest.err conftest.$ac_objext \ 20852 conftest$ac_exeext conftest.$ac_ext 20853LIBS=$ac_check_lib_save_LIBS 20854fi 20855{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_get_version" >&5 20856$as_echo "$ac_cv_lib_cerror_libcerror_get_version" >&6; } 20857if test "x$ac_cv_lib_cerror_libcerror_get_version" = xyes; then : 20858 ac_cv_libcerror_dummy=yes 20859else 20860 ac_cv_libcerror=no 20861fi 20862 20863 20864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_error_free in -lcerror" >&5 20865$as_echo_n "checking for libcerror_error_free in -lcerror... " >&6; } 20866if ${ac_cv_lib_cerror_libcerror_error_free+:} false; then : 20867 $as_echo_n "(cached) " >&6 20868else 20869 ac_check_lib_save_LIBS=$LIBS 20870LIBS="-lcerror $LIBS" 20871cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20872/* end confdefs.h. */ 20873 20874/* Override any GCC internal prototype to avoid an error. 20875 Use char because int might match the return type of a GCC 20876 builtin and then its argument prototype would still apply. */ 20877#ifdef __cplusplus 20878extern "C" 20879#endif 20880char libcerror_error_free (); 20881int 20882main () 20883{ 20884return libcerror_error_free (); 20885 ; 20886 return 0; 20887} 20888_ACEOF 20889if ac_fn_c_try_link "$LINENO"; then : 20890 ac_cv_lib_cerror_libcerror_error_free=yes 20891else 20892 ac_cv_lib_cerror_libcerror_error_free=no 20893fi 20894rm -f core conftest.err conftest.$ac_objext \ 20895 conftest$ac_exeext conftest.$ac_ext 20896LIBS=$ac_check_lib_save_LIBS 20897fi 20898{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_error_free" >&5 20899$as_echo "$ac_cv_lib_cerror_libcerror_error_free" >&6; } 20900if test "x$ac_cv_lib_cerror_libcerror_error_free" = xyes; then : 20901 ac_cv_libcerror_dummy=yes 20902else 20903 ac_cv_libcerror=no 20904fi 20905 20906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_error_set in -lcerror" >&5 20907$as_echo_n "checking for libcerror_error_set in -lcerror... " >&6; } 20908if ${ac_cv_lib_cerror_libcerror_error_set+:} false; then : 20909 $as_echo_n "(cached) " >&6 20910else 20911 ac_check_lib_save_LIBS=$LIBS 20912LIBS="-lcerror $LIBS" 20913cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20914/* end confdefs.h. */ 20915 20916/* Override any GCC internal prototype to avoid an error. 20917 Use char because int might match the return type of a GCC 20918 builtin and then its argument prototype would still apply. */ 20919#ifdef __cplusplus 20920extern "C" 20921#endif 20922char libcerror_error_set (); 20923int 20924main () 20925{ 20926return libcerror_error_set (); 20927 ; 20928 return 0; 20929} 20930_ACEOF 20931if ac_fn_c_try_link "$LINENO"; then : 20932 ac_cv_lib_cerror_libcerror_error_set=yes 20933else 20934 ac_cv_lib_cerror_libcerror_error_set=no 20935fi 20936rm -f core conftest.err conftest.$ac_objext \ 20937 conftest$ac_exeext conftest.$ac_ext 20938LIBS=$ac_check_lib_save_LIBS 20939fi 20940{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_error_set" >&5 20941$as_echo "$ac_cv_lib_cerror_libcerror_error_set" >&6; } 20942if test "x$ac_cv_lib_cerror_libcerror_error_set" = xyes; then : 20943 ac_cv_libcerror_dummy=yes 20944else 20945 ac_cv_libcerror=no 20946fi 20947 20948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_error_matches in -lcerror" >&5 20949$as_echo_n "checking for libcerror_error_matches in -lcerror... " >&6; } 20950if ${ac_cv_lib_cerror_libcerror_error_matches+:} false; then : 20951 $as_echo_n "(cached) " >&6 20952else 20953 ac_check_lib_save_LIBS=$LIBS 20954LIBS="-lcerror $LIBS" 20955cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20956/* end confdefs.h. */ 20957 20958/* Override any GCC internal prototype to avoid an error. 20959 Use char because int might match the return type of a GCC 20960 builtin and then its argument prototype would still apply. */ 20961#ifdef __cplusplus 20962extern "C" 20963#endif 20964char libcerror_error_matches (); 20965int 20966main () 20967{ 20968return libcerror_error_matches (); 20969 ; 20970 return 0; 20971} 20972_ACEOF 20973if ac_fn_c_try_link "$LINENO"; then : 20974 ac_cv_lib_cerror_libcerror_error_matches=yes 20975else 20976 ac_cv_lib_cerror_libcerror_error_matches=no 20977fi 20978rm -f core conftest.err conftest.$ac_objext \ 20979 conftest$ac_exeext conftest.$ac_ext 20980LIBS=$ac_check_lib_save_LIBS 20981fi 20982{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_error_matches" >&5 20983$as_echo "$ac_cv_lib_cerror_libcerror_error_matches" >&6; } 20984if test "x$ac_cv_lib_cerror_libcerror_error_matches" = xyes; then : 20985 ac_cv_libcerror_dummy=yes 20986else 20987 ac_cv_libcerror=no 20988fi 20989 20990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_error_fprint in -lcerror" >&5 20991$as_echo_n "checking for libcerror_error_fprint in -lcerror... " >&6; } 20992if ${ac_cv_lib_cerror_libcerror_error_fprint+:} false; then : 20993 $as_echo_n "(cached) " >&6 20994else 20995 ac_check_lib_save_LIBS=$LIBS 20996LIBS="-lcerror $LIBS" 20997cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20998/* end confdefs.h. */ 20999 21000/* Override any GCC internal prototype to avoid an error. 21001 Use char because int might match the return type of a GCC 21002 builtin and then its argument prototype would still apply. */ 21003#ifdef __cplusplus 21004extern "C" 21005#endif 21006char libcerror_error_fprint (); 21007int 21008main () 21009{ 21010return libcerror_error_fprint (); 21011 ; 21012 return 0; 21013} 21014_ACEOF 21015if ac_fn_c_try_link "$LINENO"; then : 21016 ac_cv_lib_cerror_libcerror_error_fprint=yes 21017else 21018 ac_cv_lib_cerror_libcerror_error_fprint=no 21019fi 21020rm -f core conftest.err conftest.$ac_objext \ 21021 conftest$ac_exeext conftest.$ac_ext 21022LIBS=$ac_check_lib_save_LIBS 21023fi 21024{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_error_fprint" >&5 21025$as_echo "$ac_cv_lib_cerror_libcerror_error_fprint" >&6; } 21026if test "x$ac_cv_lib_cerror_libcerror_error_fprint" = xyes; then : 21027 ac_cv_libcerror_dummy=yes 21028else 21029 ac_cv_libcerror=no 21030fi 21031 21032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_error_sprint in -lcerror" >&5 21033$as_echo_n "checking for libcerror_error_sprint in -lcerror... " >&6; } 21034if ${ac_cv_lib_cerror_libcerror_error_sprint+:} false; then : 21035 $as_echo_n "(cached) " >&6 21036else 21037 ac_check_lib_save_LIBS=$LIBS 21038LIBS="-lcerror $LIBS" 21039cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21040/* end confdefs.h. */ 21041 21042/* Override any GCC internal prototype to avoid an error. 21043 Use char because int might match the return type of a GCC 21044 builtin and then its argument prototype would still apply. */ 21045#ifdef __cplusplus 21046extern "C" 21047#endif 21048char libcerror_error_sprint (); 21049int 21050main () 21051{ 21052return libcerror_error_sprint (); 21053 ; 21054 return 0; 21055} 21056_ACEOF 21057if ac_fn_c_try_link "$LINENO"; then : 21058 ac_cv_lib_cerror_libcerror_error_sprint=yes 21059else 21060 ac_cv_lib_cerror_libcerror_error_sprint=no 21061fi 21062rm -f core conftest.err conftest.$ac_objext \ 21063 conftest$ac_exeext conftest.$ac_ext 21064LIBS=$ac_check_lib_save_LIBS 21065fi 21066{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_error_sprint" >&5 21067$as_echo "$ac_cv_lib_cerror_libcerror_error_sprint" >&6; } 21068if test "x$ac_cv_lib_cerror_libcerror_error_sprint" = xyes; then : 21069 ac_cv_libcerror_dummy=yes 21070else 21071 ac_cv_libcerror=no 21072fi 21073 21074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_error_backtrace_fprint in -lcerror" >&5 21075$as_echo_n "checking for libcerror_error_backtrace_fprint in -lcerror... " >&6; } 21076if ${ac_cv_lib_cerror_libcerror_error_backtrace_fprint+:} false; then : 21077 $as_echo_n "(cached) " >&6 21078else 21079 ac_check_lib_save_LIBS=$LIBS 21080LIBS="-lcerror $LIBS" 21081cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21082/* end confdefs.h. */ 21083 21084/* Override any GCC internal prototype to avoid an error. 21085 Use char because int might match the return type of a GCC 21086 builtin and then its argument prototype would still apply. */ 21087#ifdef __cplusplus 21088extern "C" 21089#endif 21090char libcerror_error_backtrace_fprint (); 21091int 21092main () 21093{ 21094return libcerror_error_backtrace_fprint (); 21095 ; 21096 return 0; 21097} 21098_ACEOF 21099if ac_fn_c_try_link "$LINENO"; then : 21100 ac_cv_lib_cerror_libcerror_error_backtrace_fprint=yes 21101else 21102 ac_cv_lib_cerror_libcerror_error_backtrace_fprint=no 21103fi 21104rm -f core conftest.err conftest.$ac_objext \ 21105 conftest$ac_exeext conftest.$ac_ext 21106LIBS=$ac_check_lib_save_LIBS 21107fi 21108{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_error_backtrace_fprint" >&5 21109$as_echo "$ac_cv_lib_cerror_libcerror_error_backtrace_fprint" >&6; } 21110if test "x$ac_cv_lib_cerror_libcerror_error_backtrace_fprint" = xyes; then : 21111 ac_cv_libcerror_dummy=yes 21112else 21113 ac_cv_libcerror=no 21114fi 21115 21116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_error_backtrace_sprint in -lcerror" >&5 21117$as_echo_n "checking for libcerror_error_backtrace_sprint in -lcerror... " >&6; } 21118if ${ac_cv_lib_cerror_libcerror_error_backtrace_sprint+:} false; then : 21119 $as_echo_n "(cached) " >&6 21120else 21121 ac_check_lib_save_LIBS=$LIBS 21122LIBS="-lcerror $LIBS" 21123cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21124/* end confdefs.h. */ 21125 21126/* Override any GCC internal prototype to avoid an error. 21127 Use char because int might match the return type of a GCC 21128 builtin and then its argument prototype would still apply. */ 21129#ifdef __cplusplus 21130extern "C" 21131#endif 21132char libcerror_error_backtrace_sprint (); 21133int 21134main () 21135{ 21136return libcerror_error_backtrace_sprint (); 21137 ; 21138 return 0; 21139} 21140_ACEOF 21141if ac_fn_c_try_link "$LINENO"; then : 21142 ac_cv_lib_cerror_libcerror_error_backtrace_sprint=yes 21143else 21144 ac_cv_lib_cerror_libcerror_error_backtrace_sprint=no 21145fi 21146rm -f core conftest.err conftest.$ac_objext \ 21147 conftest$ac_exeext conftest.$ac_ext 21148LIBS=$ac_check_lib_save_LIBS 21149fi 21150{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_error_backtrace_sprint" >&5 21151$as_echo "$ac_cv_lib_cerror_libcerror_error_backtrace_sprint" >&6; } 21152if test "x$ac_cv_lib_cerror_libcerror_error_backtrace_sprint" = xyes; then : 21153 ac_cv_libcerror_dummy=yes 21154else 21155 ac_cv_libcerror=no 21156fi 21157 21158 21159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_system_set_error in -lcerror" >&5 21160$as_echo_n "checking for libcerror_system_set_error in -lcerror... " >&6; } 21161if ${ac_cv_lib_cerror_libcerror_system_set_error+:} false; then : 21162 $as_echo_n "(cached) " >&6 21163else 21164 ac_check_lib_save_LIBS=$LIBS 21165LIBS="-lcerror $LIBS" 21166cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21167/* end confdefs.h. */ 21168 21169/* Override any GCC internal prototype to avoid an error. 21170 Use char because int might match the return type of a GCC 21171 builtin and then its argument prototype would still apply. */ 21172#ifdef __cplusplus 21173extern "C" 21174#endif 21175char libcerror_system_set_error (); 21176int 21177main () 21178{ 21179return libcerror_system_set_error (); 21180 ; 21181 return 0; 21182} 21183_ACEOF 21184if ac_fn_c_try_link "$LINENO"; then : 21185 ac_cv_lib_cerror_libcerror_system_set_error=yes 21186else 21187 ac_cv_lib_cerror_libcerror_system_set_error=no 21188fi 21189rm -f core conftest.err conftest.$ac_objext \ 21190 conftest$ac_exeext conftest.$ac_ext 21191LIBS=$ac_check_lib_save_LIBS 21192fi 21193{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_system_set_error" >&5 21194$as_echo "$ac_cv_lib_cerror_libcerror_system_set_error" >&6; } 21195if test "x$ac_cv_lib_cerror_libcerror_system_set_error" = xyes; then : 21196 ac_cv_libcerror_dummy=yes 21197else 21198 ac_cv_libcerror=no 21199fi 21200 21201 21202 ac_cv_libcerror_LIBADD="-lcerror" 21203fi 21204 21205fi 21206 if test "x$ac_cv_with_libcerror" != x && test "x$ac_cv_with_libcerror" != xauto-detect && test "x$ac_cv_libcerror" != xyes; then : 21207 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 21208$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 21209as_fn_error 1 "unable to find supported libcerror in directory: $ac_cv_with_libcerror 21210See \`config.log' for more details" "$LINENO" 5; } 21211 21212fi 21213 21214fi 21215 21216 if test "x$ac_cv_libcerror" = xyes; then : 21217 21218$as_echo "#define HAVE_LIBCERROR 1" >>confdefs.h 21219 21220 21221fi 21222 21223 if test "x$ac_cv_libcerror" = xyes; then : 21224 HAVE_LIBCERROR=1 21225 21226else 21227 HAVE_LIBCERROR=0 21228 21229 21230fi 21231 21232 21233 if test "x$ac_cv_libcerror" != xyes; then : 21234 for ac_header in stdarg.h varargs.h 21235do : 21236 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 21237ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 21238if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 21239 cat >>confdefs.h <<_ACEOF 21240#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 21241_ACEOF 21242 21243fi 21244 21245done 21246 21247 21248 if test "x$ac_cv_header_stdarg_h" != xyes && test "x$ac_cv_header_varargs_h" != xyes; then : 21249 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 21250$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 21251as_fn_error 1 "Missing headers: stdarg.h and varargs.h 21252See \`config.log' for more details" "$LINENO" 5; } 21253 21254fi 21255 21256 if test "x$ac_cv_enable_wide_character_type" != xno; then : 21257 for ac_func in wcstombs 21258do : 21259 ac_fn_c_check_func "$LINENO" "wcstombs" "ac_cv_func_wcstombs" 21260if test "x$ac_cv_func_wcstombs" = xyes; then : 21261 cat >>confdefs.h <<_ACEOF 21262#define HAVE_WCSTOMBS 1 21263_ACEOF 21264 21265fi 21266done 21267 21268 21269 if test "x$ac_cv_func_wcstombs" != xyes; then : 21270 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 21271$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 21272as_fn_error 1 "Missing function: wcstombs 21273See \`config.log' for more details" "$LINENO" 5; } 21274 21275fi 21276 21277fi 21278 21279 ac_fn_c_check_decl "$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac_includes_default" 21280if test "x$ac_cv_have_decl_strerror_r" = xyes; then : 21281 ac_have_decl=1 21282else 21283 ac_have_decl=0 21284fi 21285 21286cat >>confdefs.h <<_ACEOF 21287#define HAVE_DECL_STRERROR_R $ac_have_decl 21288_ACEOF 21289 21290for ac_func in strerror_r 21291do : 21292 ac_fn_c_check_func "$LINENO" "strerror_r" "ac_cv_func_strerror_r" 21293if test "x$ac_cv_func_strerror_r" = xyes; then : 21294 cat >>confdefs.h <<_ACEOF 21295#define HAVE_STRERROR_R 1 21296_ACEOF 21297 21298fi 21299done 21300 21301{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char *" >&5 21302$as_echo_n "checking whether strerror_r returns char *... " >&6; } 21303if ${ac_cv_func_strerror_r_char_p+:} false; then : 21304 $as_echo_n "(cached) " >&6 21305else 21306 21307 ac_cv_func_strerror_r_char_p=no 21308 if test $ac_cv_have_decl_strerror_r = yes; then 21309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21310/* end confdefs.h. */ 21311$ac_includes_default 21312int 21313main () 21314{ 21315 21316 char buf[100]; 21317 char x = *strerror_r (0, buf, sizeof buf); 21318 char *p = strerror_r (0, buf, sizeof buf); 21319 return !p || x; 21320 21321 ; 21322 return 0; 21323} 21324_ACEOF 21325if ac_fn_c_try_compile "$LINENO"; then : 21326 ac_cv_func_strerror_r_char_p=yes 21327fi 21328rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 21329 else 21330 # strerror_r is not declared. Choose between 21331 # systems that have relatively inaccessible declarations for the 21332 # function. BeOS and DEC UNIX 4.0 fall in this category, but the 21333 # former has a strerror_r that returns char*, while the latter 21334 # has a strerror_r that returns `int'. 21335 # This test should segfault on the DEC system. 21336 if test "$cross_compiling" = yes; then : 21337 : 21338else 21339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21340/* end confdefs.h. */ 21341$ac_includes_default 21342 extern char *strerror_r (); 21343int 21344main () 21345{ 21346char buf[100]; 21347 char x = *strerror_r (0, buf, sizeof buf); 21348 return ! isalpha (x); 21349 ; 21350 return 0; 21351} 21352_ACEOF 21353if ac_fn_c_try_run "$LINENO"; then : 21354 ac_cv_func_strerror_r_char_p=yes 21355fi 21356rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 21357 conftest.$ac_objext conftest.beam conftest.$ac_ext 21358fi 21359 21360 fi 21361 21362fi 21363{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strerror_r_char_p" >&5 21364$as_echo "$ac_cv_func_strerror_r_char_p" >&6; } 21365if test $ac_cv_func_strerror_r_char_p = yes; then 21366 21367$as_echo "#define STRERROR_R_CHAR_P 1" >>confdefs.h 21368 21369fi 21370 21371 21372 if test "x$ac_cv_have_decl_strerror_r" != xyes; then : 21373 for ac_func in strerror 21374do : 21375 ac_fn_c_check_func "$LINENO" "strerror" "ac_cv_func_strerror" 21376if test "x$ac_cv_func_strerror" = xyes; then : 21377 cat >>confdefs.h <<_ACEOF 21378#define HAVE_STRERROR 1 21379_ACEOF 21380 21381fi 21382done 21383 21384 21385 if test "x$ac_cv_func_strerror" != xyes; then : 21386 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 21387$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 21388as_fn_error 1 "Missing functions: strerror_r and strerror 21389See \`config.log' for more details" "$LINENO" 5; } 21390 21391fi 21392 21393fi 21394 21395 ac_cv_libcerror_CPPFLAGS="-I../libcerror"; 21396 ac_cv_libcerror_LIBADD="../libcerror/libcerror.la"; 21397 21398 ac_cv_libcerror=local 21399 21400 21401 21402$as_echo "#define HAVE_LOCAL_LIBCERROR 1" >>confdefs.h 21403 21404 HAVE_LOCAL_LIBCERROR=1 21405 21406 21407fi 21408 21409 if test "x$ac_cv_libcerror" = xlocal; then 21410 HAVE_LOCAL_LIBCERROR_TRUE= 21411 HAVE_LOCAL_LIBCERROR_FALSE='#' 21412else 21413 HAVE_LOCAL_LIBCERROR_TRUE='#' 21414 HAVE_LOCAL_LIBCERROR_FALSE= 21415fi 21416 21417 if test "x$ac_cv_libcerror_CPPFLAGS" != "x"; then : 21418 LIBCERROR_CPPFLAGS=$ac_cv_libcerror_CPPFLAGS 21419 21420 21421fi 21422 if test "x$ac_cv_libcerror_LIBADD" != "x"; then : 21423 LIBCERROR_LIBADD=$ac_cv_libcerror_LIBADD 21424 21425 21426fi 21427 21428 if test "x$ac_cv_libcerror" = xyes; then : 21429 ax_libcerror_pc_libs_private=-lcerror 21430 21431 21432fi 21433 21434 if test "x$ac_cv_libcerror" = xyes; then : 21435 ax_libcerror_spec_requires=libcerror 21436 21437 ax_libcerror_spec_build_requires=libcerror-devel 21438 21439 21440fi 21441 21442 21443 21444 # Check whether --enable-multi-threading-support was given. 21445if test "${enable_multi_threading_support+set}" = set; then : 21446 enableval=$enable_multi_threading_support; ac_cv_enable_multi_threading_support=$enableval 21447else 21448 ac_cv_enable_multi_threading_support=yes 21449fi 21450 21451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable enable multi-threading support" >&5 21452$as_echo_n "checking whether to enable enable multi-threading support... " >&6; } 21453if ${ac_cv_enable_multi_threading_support+:} false; then : 21454 $as_echo_n "(cached) " >&6 21455else 21456 ac_cv_enable_multi_threading_support=yes 21457fi 21458{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_multi_threading_support" >&5 21459$as_echo "$ac_cv_enable_multi_threading_support" >&6; } 21460 21461 21462# Check whether --with-libcthreads was given. 21463if test "${with_libcthreads+set}" = set; then : 21464 withval=$with_libcthreads; ac_cv_with_libcthreads=$withval 21465else 21466 ac_cv_with_libcthreads=auto-detect 21467fi 21468 21469 { $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 21470$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; } 21471if ${ac_cv_with_libcthreads+:} false; then : 21472 $as_echo_n "(cached) " >&6 21473else 21474 ac_cv_with_libcthreads=auto-detect 21475fi 21476{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libcthreads" >&5 21477$as_echo "$ac_cv_with_libcthreads" >&6; } 21478 21479 if test "x$ac_cv_enable_multi_threading_support" = xno; then : 21480 ac_cv_libcthreads="no" 21481 ac_cv_libcthreads_multi_threading="no" 21482else 21483 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libcthreads" = xno; then : 21484 ac_cv_libcthreads=no 21485else 21486 ac_cv_libcthreads=check 21487 if test "x$ac_cv_with_libcthreads" != x && test "x$ac_cv_with_libcthreads" != xauto-detect; then : 21488 if test -d "$ac_cv_with_libcthreads"; then : 21489 CFLAGS="$CFLAGS -I${ac_cv_with_libcthreads}/include" 21490 LDFLAGS="$LDFLAGS -L${ac_cv_with_libcthreads}/lib" 21491else 21492 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 21493$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 21494as_fn_error 1 "no such directory: $ac_cv_with_libcthreads 21495See \`config.log' for more details" "$LINENO" 5; } 21496 21497fi 21498 21499else 21500 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 21501 21502pkg_failed=no 21503{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads" >&5 21504$as_echo_n "checking for libcthreads... " >&6; } 21505 21506if test -n "$libcthreads_CFLAGS"; then 21507 pkg_cv_libcthreads_CFLAGS="$libcthreads_CFLAGS" 21508 elif test -n "$PKG_CONFIG"; then 21509 if test -n "$PKG_CONFIG" && \ 21510 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcthreads >= 20160404\""; } >&5 21511 ($PKG_CONFIG --exists --print-errors "libcthreads >= 20160404") 2>&5 21512 ac_status=$? 21513 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 21514 test $ac_status = 0; }; then 21515 pkg_cv_libcthreads_CFLAGS=`$PKG_CONFIG --cflags "libcthreads >= 20160404" 2>/dev/null` 21516 test "x$?" != "x0" && pkg_failed=yes 21517else 21518 pkg_failed=yes 21519fi 21520 else 21521 pkg_failed=untried 21522fi 21523if test -n "$libcthreads_LIBS"; then 21524 pkg_cv_libcthreads_LIBS="$libcthreads_LIBS" 21525 elif test -n "$PKG_CONFIG"; then 21526 if test -n "$PKG_CONFIG" && \ 21527 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcthreads >= 20160404\""; } >&5 21528 ($PKG_CONFIG --exists --print-errors "libcthreads >= 20160404") 2>&5 21529 ac_status=$? 21530 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 21531 test $ac_status = 0; }; then 21532 pkg_cv_libcthreads_LIBS=`$PKG_CONFIG --libs "libcthreads >= 20160404" 2>/dev/null` 21533 test "x$?" != "x0" && pkg_failed=yes 21534else 21535 pkg_failed=yes 21536fi 21537 else 21538 pkg_failed=untried 21539fi 21540 21541 21542 21543if test $pkg_failed = yes; then 21544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 21545$as_echo "no" >&6; } 21546 21547if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 21548 _pkg_short_errors_supported=yes 21549else 21550 _pkg_short_errors_supported=no 21551fi 21552 if test $_pkg_short_errors_supported = yes; then 21553 libcthreads_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcthreads >= 20160404" 2>&1` 21554 else 21555 libcthreads_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcthreads >= 20160404" 2>&1` 21556 fi 21557 # Put the nasty error message in config.log where it belongs 21558 echo "$libcthreads_PKG_ERRORS" >&5 21559 21560 ac_cv_libcthreads=check 21561elif test $pkg_failed = untried; then 21562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 21563$as_echo "no" >&6; } 21564 ac_cv_libcthreads=check 21565else 21566 libcthreads_CFLAGS=$pkg_cv_libcthreads_CFLAGS 21567 libcthreads_LIBS=$pkg_cv_libcthreads_LIBS 21568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 21569$as_echo "yes" >&6; } 21570 ac_cv_libcthreads=yes 21571fi 21572 21573fi 21574 if test "x$ac_cv_libcthreads" = xyes; then : 21575 ac_cv_libcthreads_CPPFLAGS="$pkg_cv_libcthreads_CFLAGS" 21576 ac_cv_libcthreads_LIBADD="$pkg_cv_libcthreads_LIBS" 21577fi 21578 21579fi 21580 21581 if test "x$ac_cv_libcthreads" = xcheck; then : 21582 for ac_header in libcthreads.h 21583do : 21584 ac_fn_c_check_header_mongrel "$LINENO" "libcthreads.h" "ac_cv_header_libcthreads_h" "$ac_includes_default" 21585if test "x$ac_cv_header_libcthreads_h" = xyes; then : 21586 cat >>confdefs.h <<_ACEOF 21587#define HAVE_LIBCTHREADS_H 1 21588_ACEOF 21589 21590fi 21591 21592done 21593 21594 21595 if test "x$ac_cv_header_libcthreads_h" = xno; then : 21596 ac_cv_libcthreads=no 21597else 21598 ac_cv_libcthreads=yes 21599 21600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_get_version in -lcthreads" >&5 21601$as_echo_n "checking for libcthreads_get_version in -lcthreads... " >&6; } 21602if ${ac_cv_lib_cthreads_libcthreads_get_version+:} false; then : 21603 $as_echo_n "(cached) " >&6 21604else 21605 ac_check_lib_save_LIBS=$LIBS 21606LIBS="-lcthreads $LIBS" 21607cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21608/* end confdefs.h. */ 21609 21610/* Override any GCC internal prototype to avoid an error. 21611 Use char because int might match the return type of a GCC 21612 builtin and then its argument prototype would still apply. */ 21613#ifdef __cplusplus 21614extern "C" 21615#endif 21616char libcthreads_get_version (); 21617int 21618main () 21619{ 21620return libcthreads_get_version (); 21621 ; 21622 return 0; 21623} 21624_ACEOF 21625if ac_fn_c_try_link "$LINENO"; then : 21626 ac_cv_lib_cthreads_libcthreads_get_version=yes 21627else 21628 ac_cv_lib_cthreads_libcthreads_get_version=no 21629fi 21630rm -f core conftest.err conftest.$ac_objext \ 21631 conftest$ac_exeext conftest.$ac_ext 21632LIBS=$ac_check_lib_save_LIBS 21633fi 21634{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_get_version" >&5 21635$as_echo "$ac_cv_lib_cthreads_libcthreads_get_version" >&6; } 21636if test "x$ac_cv_lib_cthreads_libcthreads_get_version" = xyes; then : 21637 ac_cv_libcthreads_dummy=yes 21638else 21639 ac_cv_libcthreads=no 21640fi 21641 21642 21643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_create in -lcthreads" >&5 21644$as_echo_n "checking for libcthreads_thread_create in -lcthreads... " >&6; } 21645if ${ac_cv_lib_cthreads_libcthreads_thread_create+:} false; then : 21646 $as_echo_n "(cached) " >&6 21647else 21648 ac_check_lib_save_LIBS=$LIBS 21649LIBS="-lcthreads $LIBS" 21650cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21651/* end confdefs.h. */ 21652 21653/* Override any GCC internal prototype to avoid an error. 21654 Use char because int might match the return type of a GCC 21655 builtin and then its argument prototype would still apply. */ 21656#ifdef __cplusplus 21657extern "C" 21658#endif 21659char libcthreads_thread_create (); 21660int 21661main () 21662{ 21663return libcthreads_thread_create (); 21664 ; 21665 return 0; 21666} 21667_ACEOF 21668if ac_fn_c_try_link "$LINENO"; then : 21669 ac_cv_lib_cthreads_libcthreads_thread_create=yes 21670else 21671 ac_cv_lib_cthreads_libcthreads_thread_create=no 21672fi 21673rm -f core conftest.err conftest.$ac_objext \ 21674 conftest$ac_exeext conftest.$ac_ext 21675LIBS=$ac_check_lib_save_LIBS 21676fi 21677{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_create" >&5 21678$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_create" >&6; } 21679if test "x$ac_cv_lib_cthreads_libcthreads_thread_create" = xyes; then : 21680 ac_cv_libcthreads_dummy=yes 21681else 21682 ac_cv_libcthreads=no 21683fi 21684 21685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_join in -lcthreads" >&5 21686$as_echo_n "checking for libcthreads_thread_join in -lcthreads... " >&6; } 21687if ${ac_cv_lib_cthreads_libcthreads_thread_join+:} false; then : 21688 $as_echo_n "(cached) " >&6 21689else 21690 ac_check_lib_save_LIBS=$LIBS 21691LIBS="-lcthreads $LIBS" 21692cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21693/* end confdefs.h. */ 21694 21695/* Override any GCC internal prototype to avoid an error. 21696 Use char because int might match the return type of a GCC 21697 builtin and then its argument prototype would still apply. */ 21698#ifdef __cplusplus 21699extern "C" 21700#endif 21701char libcthreads_thread_join (); 21702int 21703main () 21704{ 21705return libcthreads_thread_join (); 21706 ; 21707 return 0; 21708} 21709_ACEOF 21710if ac_fn_c_try_link "$LINENO"; then : 21711 ac_cv_lib_cthreads_libcthreads_thread_join=yes 21712else 21713 ac_cv_lib_cthreads_libcthreads_thread_join=no 21714fi 21715rm -f core conftest.err conftest.$ac_objext \ 21716 conftest$ac_exeext conftest.$ac_ext 21717LIBS=$ac_check_lib_save_LIBS 21718fi 21719{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_join" >&5 21720$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_join" >&6; } 21721if test "x$ac_cv_lib_cthreads_libcthreads_thread_join" = xyes; then : 21722 ac_cv_libcthreads_dummy=yes 21723else 21724 ac_cv_libcthreads=no 21725fi 21726 21727 21728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_attributes_initialize in -lcthreads" >&5 21729$as_echo_n "checking for libcthreads_thread_attributes_initialize in -lcthreads... " >&6; } 21730if ${ac_cv_lib_cthreads_libcthreads_thread_attributes_initialize+:} false; then : 21731 $as_echo_n "(cached) " >&6 21732else 21733 ac_check_lib_save_LIBS=$LIBS 21734LIBS="-lcthreads $LIBS" 21735cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21736/* end confdefs.h. */ 21737 21738/* Override any GCC internal prototype to avoid an error. 21739 Use char because int might match the return type of a GCC 21740 builtin and then its argument prototype would still apply. */ 21741#ifdef __cplusplus 21742extern "C" 21743#endif 21744char libcthreads_thread_attributes_initialize (); 21745int 21746main () 21747{ 21748return libcthreads_thread_attributes_initialize (); 21749 ; 21750 return 0; 21751} 21752_ACEOF 21753if ac_fn_c_try_link "$LINENO"; then : 21754 ac_cv_lib_cthreads_libcthreads_thread_attributes_initialize=yes 21755else 21756 ac_cv_lib_cthreads_libcthreads_thread_attributes_initialize=no 21757fi 21758rm -f core conftest.err conftest.$ac_objext \ 21759 conftest$ac_exeext conftest.$ac_ext 21760LIBS=$ac_check_lib_save_LIBS 21761fi 21762{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_attributes_initialize" >&5 21763$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_attributes_initialize" >&6; } 21764if test "x$ac_cv_lib_cthreads_libcthreads_thread_attributes_initialize" = xyes; then : 21765 ac_cv_libcthreads_dummy=yes 21766else 21767 ac_cv_libcthreads=no 21768fi 21769 21770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_attributes_free in -lcthreads" >&5 21771$as_echo_n "checking for libcthreads_thread_attributes_free in -lcthreads... " >&6; } 21772if ${ac_cv_lib_cthreads_libcthreads_thread_attributes_free+:} false; then : 21773 $as_echo_n "(cached) " >&6 21774else 21775 ac_check_lib_save_LIBS=$LIBS 21776LIBS="-lcthreads $LIBS" 21777cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21778/* end confdefs.h. */ 21779 21780/* Override any GCC internal prototype to avoid an error. 21781 Use char because int might match the return type of a GCC 21782 builtin and then its argument prototype would still apply. */ 21783#ifdef __cplusplus 21784extern "C" 21785#endif 21786char libcthreads_thread_attributes_free (); 21787int 21788main () 21789{ 21790return libcthreads_thread_attributes_free (); 21791 ; 21792 return 0; 21793} 21794_ACEOF 21795if ac_fn_c_try_link "$LINENO"; then : 21796 ac_cv_lib_cthreads_libcthreads_thread_attributes_free=yes 21797else 21798 ac_cv_lib_cthreads_libcthreads_thread_attributes_free=no 21799fi 21800rm -f core conftest.err conftest.$ac_objext \ 21801 conftest$ac_exeext conftest.$ac_ext 21802LIBS=$ac_check_lib_save_LIBS 21803fi 21804{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_attributes_free" >&5 21805$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_attributes_free" >&6; } 21806if test "x$ac_cv_lib_cthreads_libcthreads_thread_attributes_free" = xyes; then : 21807 ac_cv_libcthreads_dummy=yes 21808else 21809 ac_cv_libcthreads=no 21810fi 21811 21812 21813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_condition_initialize in -lcthreads" >&5 21814$as_echo_n "checking for libcthreads_condition_initialize in -lcthreads... " >&6; } 21815if ${ac_cv_lib_cthreads_libcthreads_condition_initialize+:} false; then : 21816 $as_echo_n "(cached) " >&6 21817else 21818 ac_check_lib_save_LIBS=$LIBS 21819LIBS="-lcthreads $LIBS" 21820cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21821/* end confdefs.h. */ 21822 21823/* Override any GCC internal prototype to avoid an error. 21824 Use char because int might match the return type of a GCC 21825 builtin and then its argument prototype would still apply. */ 21826#ifdef __cplusplus 21827extern "C" 21828#endif 21829char libcthreads_condition_initialize (); 21830int 21831main () 21832{ 21833return libcthreads_condition_initialize (); 21834 ; 21835 return 0; 21836} 21837_ACEOF 21838if ac_fn_c_try_link "$LINENO"; then : 21839 ac_cv_lib_cthreads_libcthreads_condition_initialize=yes 21840else 21841 ac_cv_lib_cthreads_libcthreads_condition_initialize=no 21842fi 21843rm -f core conftest.err conftest.$ac_objext \ 21844 conftest$ac_exeext conftest.$ac_ext 21845LIBS=$ac_check_lib_save_LIBS 21846fi 21847{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_condition_initialize" >&5 21848$as_echo "$ac_cv_lib_cthreads_libcthreads_condition_initialize" >&6; } 21849if test "x$ac_cv_lib_cthreads_libcthreads_condition_initialize" = xyes; then : 21850 ac_cv_libcthreads_dummy=yes 21851else 21852 ac_cv_libcthreads=no 21853fi 21854 21855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_condition_free in -lcthreads" >&5 21856$as_echo_n "checking for libcthreads_condition_free in -lcthreads... " >&6; } 21857if ${ac_cv_lib_cthreads_libcthreads_condition_free+:} false; then : 21858 $as_echo_n "(cached) " >&6 21859else 21860 ac_check_lib_save_LIBS=$LIBS 21861LIBS="-lcthreads $LIBS" 21862cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21863/* end confdefs.h. */ 21864 21865/* Override any GCC internal prototype to avoid an error. 21866 Use char because int might match the return type of a GCC 21867 builtin and then its argument prototype would still apply. */ 21868#ifdef __cplusplus 21869extern "C" 21870#endif 21871char libcthreads_condition_free (); 21872int 21873main () 21874{ 21875return libcthreads_condition_free (); 21876 ; 21877 return 0; 21878} 21879_ACEOF 21880if ac_fn_c_try_link "$LINENO"; then : 21881 ac_cv_lib_cthreads_libcthreads_condition_free=yes 21882else 21883 ac_cv_lib_cthreads_libcthreads_condition_free=no 21884fi 21885rm -f core conftest.err conftest.$ac_objext \ 21886 conftest$ac_exeext conftest.$ac_ext 21887LIBS=$ac_check_lib_save_LIBS 21888fi 21889{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_condition_free" >&5 21890$as_echo "$ac_cv_lib_cthreads_libcthreads_condition_free" >&6; } 21891if test "x$ac_cv_lib_cthreads_libcthreads_condition_free" = xyes; then : 21892 ac_cv_libcthreads_dummy=yes 21893else 21894 ac_cv_libcthreads=no 21895fi 21896 21897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_condition_broadcast in -lcthreads" >&5 21898$as_echo_n "checking for libcthreads_condition_broadcast in -lcthreads... " >&6; } 21899if ${ac_cv_lib_cthreads_libcthreads_condition_broadcast+:} false; then : 21900 $as_echo_n "(cached) " >&6 21901else 21902 ac_check_lib_save_LIBS=$LIBS 21903LIBS="-lcthreads $LIBS" 21904cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21905/* end confdefs.h. */ 21906 21907/* Override any GCC internal prototype to avoid an error. 21908 Use char because int might match the return type of a GCC 21909 builtin and then its argument prototype would still apply. */ 21910#ifdef __cplusplus 21911extern "C" 21912#endif 21913char libcthreads_condition_broadcast (); 21914int 21915main () 21916{ 21917return libcthreads_condition_broadcast (); 21918 ; 21919 return 0; 21920} 21921_ACEOF 21922if ac_fn_c_try_link "$LINENO"; then : 21923 ac_cv_lib_cthreads_libcthreads_condition_broadcast=yes 21924else 21925 ac_cv_lib_cthreads_libcthreads_condition_broadcast=no 21926fi 21927rm -f core conftest.err conftest.$ac_objext \ 21928 conftest$ac_exeext conftest.$ac_ext 21929LIBS=$ac_check_lib_save_LIBS 21930fi 21931{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_condition_broadcast" >&5 21932$as_echo "$ac_cv_lib_cthreads_libcthreads_condition_broadcast" >&6; } 21933if test "x$ac_cv_lib_cthreads_libcthreads_condition_broadcast" = xyes; then : 21934 ac_cv_libcthreads_dummy=yes 21935else 21936 ac_cv_libcthreads=no 21937fi 21938 21939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_condition_signal in -lcthreads" >&5 21940$as_echo_n "checking for libcthreads_condition_signal in -lcthreads... " >&6; } 21941if ${ac_cv_lib_cthreads_libcthreads_condition_signal+:} false; then : 21942 $as_echo_n "(cached) " >&6 21943else 21944 ac_check_lib_save_LIBS=$LIBS 21945LIBS="-lcthreads $LIBS" 21946cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21947/* end confdefs.h. */ 21948 21949/* Override any GCC internal prototype to avoid an error. 21950 Use char because int might match the return type of a GCC 21951 builtin and then its argument prototype would still apply. */ 21952#ifdef __cplusplus 21953extern "C" 21954#endif 21955char libcthreads_condition_signal (); 21956int 21957main () 21958{ 21959return libcthreads_condition_signal (); 21960 ; 21961 return 0; 21962} 21963_ACEOF 21964if ac_fn_c_try_link "$LINENO"; then : 21965 ac_cv_lib_cthreads_libcthreads_condition_signal=yes 21966else 21967 ac_cv_lib_cthreads_libcthreads_condition_signal=no 21968fi 21969rm -f core conftest.err conftest.$ac_objext \ 21970 conftest$ac_exeext conftest.$ac_ext 21971LIBS=$ac_check_lib_save_LIBS 21972fi 21973{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_condition_signal" >&5 21974$as_echo "$ac_cv_lib_cthreads_libcthreads_condition_signal" >&6; } 21975if test "x$ac_cv_lib_cthreads_libcthreads_condition_signal" = xyes; then : 21976 ac_cv_libcthreads_dummy=yes 21977else 21978 ac_cv_libcthreads=no 21979fi 21980 21981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_condition_wait in -lcthreads" >&5 21982$as_echo_n "checking for libcthreads_condition_wait in -lcthreads... " >&6; } 21983if ${ac_cv_lib_cthreads_libcthreads_condition_wait+:} false; then : 21984 $as_echo_n "(cached) " >&6 21985else 21986 ac_check_lib_save_LIBS=$LIBS 21987LIBS="-lcthreads $LIBS" 21988cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21989/* end confdefs.h. */ 21990 21991/* Override any GCC internal prototype to avoid an error. 21992 Use char because int might match the return type of a GCC 21993 builtin and then its argument prototype would still apply. */ 21994#ifdef __cplusplus 21995extern "C" 21996#endif 21997char libcthreads_condition_wait (); 21998int 21999main () 22000{ 22001return libcthreads_condition_wait (); 22002 ; 22003 return 0; 22004} 22005_ACEOF 22006if ac_fn_c_try_link "$LINENO"; then : 22007 ac_cv_lib_cthreads_libcthreads_condition_wait=yes 22008else 22009 ac_cv_lib_cthreads_libcthreads_condition_wait=no 22010fi 22011rm -f core conftest.err conftest.$ac_objext \ 22012 conftest$ac_exeext conftest.$ac_ext 22013LIBS=$ac_check_lib_save_LIBS 22014fi 22015{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_condition_wait" >&5 22016$as_echo "$ac_cv_lib_cthreads_libcthreads_condition_wait" >&6; } 22017if test "x$ac_cv_lib_cthreads_libcthreads_condition_wait" = xyes; then : 22018 ac_cv_libcthreads_dummy=yes 22019else 22020 ac_cv_libcthreads=no 22021fi 22022 22023 22024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_lock_initialize in -lcthreads" >&5 22025$as_echo_n "checking for libcthreads_lock_initialize in -lcthreads... " >&6; } 22026if ${ac_cv_lib_cthreads_libcthreads_lock_initialize+:} false; then : 22027 $as_echo_n "(cached) " >&6 22028else 22029 ac_check_lib_save_LIBS=$LIBS 22030LIBS="-lcthreads $LIBS" 22031cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22032/* end confdefs.h. */ 22033 22034/* Override any GCC internal prototype to avoid an error. 22035 Use char because int might match the return type of a GCC 22036 builtin and then its argument prototype would still apply. */ 22037#ifdef __cplusplus 22038extern "C" 22039#endif 22040char libcthreads_lock_initialize (); 22041int 22042main () 22043{ 22044return libcthreads_lock_initialize (); 22045 ; 22046 return 0; 22047} 22048_ACEOF 22049if ac_fn_c_try_link "$LINENO"; then : 22050 ac_cv_lib_cthreads_libcthreads_lock_initialize=yes 22051else 22052 ac_cv_lib_cthreads_libcthreads_lock_initialize=no 22053fi 22054rm -f core conftest.err conftest.$ac_objext \ 22055 conftest$ac_exeext conftest.$ac_ext 22056LIBS=$ac_check_lib_save_LIBS 22057fi 22058{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_lock_initialize" >&5 22059$as_echo "$ac_cv_lib_cthreads_libcthreads_lock_initialize" >&6; } 22060if test "x$ac_cv_lib_cthreads_libcthreads_lock_initialize" = xyes; then : 22061 ac_cv_libcthreads_dummy=yes 22062else 22063 ac_cv_libcthreads=no 22064fi 22065 22066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_lock_free in -lcthreads" >&5 22067$as_echo_n "checking for libcthreads_lock_free in -lcthreads... " >&6; } 22068if ${ac_cv_lib_cthreads_libcthreads_lock_free+:} false; then : 22069 $as_echo_n "(cached) " >&6 22070else 22071 ac_check_lib_save_LIBS=$LIBS 22072LIBS="-lcthreads $LIBS" 22073cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22074/* end confdefs.h. */ 22075 22076/* Override any GCC internal prototype to avoid an error. 22077 Use char because int might match the return type of a GCC 22078 builtin and then its argument prototype would still apply. */ 22079#ifdef __cplusplus 22080extern "C" 22081#endif 22082char libcthreads_lock_free (); 22083int 22084main () 22085{ 22086return libcthreads_lock_free (); 22087 ; 22088 return 0; 22089} 22090_ACEOF 22091if ac_fn_c_try_link "$LINENO"; then : 22092 ac_cv_lib_cthreads_libcthreads_lock_free=yes 22093else 22094 ac_cv_lib_cthreads_libcthreads_lock_free=no 22095fi 22096rm -f core conftest.err conftest.$ac_objext \ 22097 conftest$ac_exeext conftest.$ac_ext 22098LIBS=$ac_check_lib_save_LIBS 22099fi 22100{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_lock_free" >&5 22101$as_echo "$ac_cv_lib_cthreads_libcthreads_lock_free" >&6; } 22102if test "x$ac_cv_lib_cthreads_libcthreads_lock_free" = xyes; then : 22103 ac_cv_libcthreads_dummy=yes 22104else 22105 ac_cv_libcthreads=no 22106fi 22107 22108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_lock_grab in -lcthreads" >&5 22109$as_echo_n "checking for libcthreads_lock_grab in -lcthreads... " >&6; } 22110if ${ac_cv_lib_cthreads_libcthreads_lock_grab+:} false; then : 22111 $as_echo_n "(cached) " >&6 22112else 22113 ac_check_lib_save_LIBS=$LIBS 22114LIBS="-lcthreads $LIBS" 22115cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22116/* end confdefs.h. */ 22117 22118/* Override any GCC internal prototype to avoid an error. 22119 Use char because int might match the return type of a GCC 22120 builtin and then its argument prototype would still apply. */ 22121#ifdef __cplusplus 22122extern "C" 22123#endif 22124char libcthreads_lock_grab (); 22125int 22126main () 22127{ 22128return libcthreads_lock_grab (); 22129 ; 22130 return 0; 22131} 22132_ACEOF 22133if ac_fn_c_try_link "$LINENO"; then : 22134 ac_cv_lib_cthreads_libcthreads_lock_grab=yes 22135else 22136 ac_cv_lib_cthreads_libcthreads_lock_grab=no 22137fi 22138rm -f core conftest.err conftest.$ac_objext \ 22139 conftest$ac_exeext conftest.$ac_ext 22140LIBS=$ac_check_lib_save_LIBS 22141fi 22142{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_lock_grab" >&5 22143$as_echo "$ac_cv_lib_cthreads_libcthreads_lock_grab" >&6; } 22144if test "x$ac_cv_lib_cthreads_libcthreads_lock_grab" = xyes; then : 22145 ac_cv_libcthreads_dummy=yes 22146else 22147 ac_cv_libcthreads=no 22148fi 22149 22150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_lock_release in -lcthreads" >&5 22151$as_echo_n "checking for libcthreads_lock_release in -lcthreads... " >&6; } 22152if ${ac_cv_lib_cthreads_libcthreads_lock_release+:} false; then : 22153 $as_echo_n "(cached) " >&6 22154else 22155 ac_check_lib_save_LIBS=$LIBS 22156LIBS="-lcthreads $LIBS" 22157cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22158/* end confdefs.h. */ 22159 22160/* Override any GCC internal prototype to avoid an error. 22161 Use char because int might match the return type of a GCC 22162 builtin and then its argument prototype would still apply. */ 22163#ifdef __cplusplus 22164extern "C" 22165#endif 22166char libcthreads_lock_release (); 22167int 22168main () 22169{ 22170return libcthreads_lock_release (); 22171 ; 22172 return 0; 22173} 22174_ACEOF 22175if ac_fn_c_try_link "$LINENO"; then : 22176 ac_cv_lib_cthreads_libcthreads_lock_release=yes 22177else 22178 ac_cv_lib_cthreads_libcthreads_lock_release=no 22179fi 22180rm -f core conftest.err conftest.$ac_objext \ 22181 conftest$ac_exeext conftest.$ac_ext 22182LIBS=$ac_check_lib_save_LIBS 22183fi 22184{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_lock_release" >&5 22185$as_echo "$ac_cv_lib_cthreads_libcthreads_lock_release" >&6; } 22186if test "x$ac_cv_lib_cthreads_libcthreads_lock_release" = xyes; then : 22187 ac_cv_libcthreads_dummy=yes 22188else 22189 ac_cv_libcthreads=no 22190fi 22191 22192 22193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_mutex_initialize in -lcthreads" >&5 22194$as_echo_n "checking for libcthreads_mutex_initialize in -lcthreads... " >&6; } 22195if ${ac_cv_lib_cthreads_libcthreads_mutex_initialize+:} false; then : 22196 $as_echo_n "(cached) " >&6 22197else 22198 ac_check_lib_save_LIBS=$LIBS 22199LIBS="-lcthreads $LIBS" 22200cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22201/* end confdefs.h. */ 22202 22203/* Override any GCC internal prototype to avoid an error. 22204 Use char because int might match the return type of a GCC 22205 builtin and then its argument prototype would still apply. */ 22206#ifdef __cplusplus 22207extern "C" 22208#endif 22209char libcthreads_mutex_initialize (); 22210int 22211main () 22212{ 22213return libcthreads_mutex_initialize (); 22214 ; 22215 return 0; 22216} 22217_ACEOF 22218if ac_fn_c_try_link "$LINENO"; then : 22219 ac_cv_lib_cthreads_libcthreads_mutex_initialize=yes 22220else 22221 ac_cv_lib_cthreads_libcthreads_mutex_initialize=no 22222fi 22223rm -f core conftest.err conftest.$ac_objext \ 22224 conftest$ac_exeext conftest.$ac_ext 22225LIBS=$ac_check_lib_save_LIBS 22226fi 22227{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_mutex_initialize" >&5 22228$as_echo "$ac_cv_lib_cthreads_libcthreads_mutex_initialize" >&6; } 22229if test "x$ac_cv_lib_cthreads_libcthreads_mutex_initialize" = xyes; then : 22230 ac_cv_libcthreads_dummy=yes 22231else 22232 ac_cv_libcthreads=no 22233fi 22234 22235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_mutex_free in -lcthreads" >&5 22236$as_echo_n "checking for libcthreads_mutex_free in -lcthreads... " >&6; } 22237if ${ac_cv_lib_cthreads_libcthreads_mutex_free+:} false; then : 22238 $as_echo_n "(cached) " >&6 22239else 22240 ac_check_lib_save_LIBS=$LIBS 22241LIBS="-lcthreads $LIBS" 22242cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22243/* end confdefs.h. */ 22244 22245/* Override any GCC internal prototype to avoid an error. 22246 Use char because int might match the return type of a GCC 22247 builtin and then its argument prototype would still apply. */ 22248#ifdef __cplusplus 22249extern "C" 22250#endif 22251char libcthreads_mutex_free (); 22252int 22253main () 22254{ 22255return libcthreads_mutex_free (); 22256 ; 22257 return 0; 22258} 22259_ACEOF 22260if ac_fn_c_try_link "$LINENO"; then : 22261 ac_cv_lib_cthreads_libcthreads_mutex_free=yes 22262else 22263 ac_cv_lib_cthreads_libcthreads_mutex_free=no 22264fi 22265rm -f core conftest.err conftest.$ac_objext \ 22266 conftest$ac_exeext conftest.$ac_ext 22267LIBS=$ac_check_lib_save_LIBS 22268fi 22269{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_mutex_free" >&5 22270$as_echo "$ac_cv_lib_cthreads_libcthreads_mutex_free" >&6; } 22271if test "x$ac_cv_lib_cthreads_libcthreads_mutex_free" = xyes; then : 22272 ac_cv_libcthreads_dummy=yes 22273else 22274 ac_cv_libcthreads=no 22275fi 22276 22277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_mutex_grab in -lcthreads" >&5 22278$as_echo_n "checking for libcthreads_mutex_grab in -lcthreads... " >&6; } 22279if ${ac_cv_lib_cthreads_libcthreads_mutex_grab+:} false; then : 22280 $as_echo_n "(cached) " >&6 22281else 22282 ac_check_lib_save_LIBS=$LIBS 22283LIBS="-lcthreads $LIBS" 22284cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22285/* end confdefs.h. */ 22286 22287/* Override any GCC internal prototype to avoid an error. 22288 Use char because int might match the return type of a GCC 22289 builtin and then its argument prototype would still apply. */ 22290#ifdef __cplusplus 22291extern "C" 22292#endif 22293char libcthreads_mutex_grab (); 22294int 22295main () 22296{ 22297return libcthreads_mutex_grab (); 22298 ; 22299 return 0; 22300} 22301_ACEOF 22302if ac_fn_c_try_link "$LINENO"; then : 22303 ac_cv_lib_cthreads_libcthreads_mutex_grab=yes 22304else 22305 ac_cv_lib_cthreads_libcthreads_mutex_grab=no 22306fi 22307rm -f core conftest.err conftest.$ac_objext \ 22308 conftest$ac_exeext conftest.$ac_ext 22309LIBS=$ac_check_lib_save_LIBS 22310fi 22311{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_mutex_grab" >&5 22312$as_echo "$ac_cv_lib_cthreads_libcthreads_mutex_grab" >&6; } 22313if test "x$ac_cv_lib_cthreads_libcthreads_mutex_grab" = xyes; then : 22314 ac_cv_libcthreads_dummy=yes 22315else 22316 ac_cv_libcthreads=no 22317fi 22318 22319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_mutex_try_grab in -lcthreads" >&5 22320$as_echo_n "checking for libcthreads_mutex_try_grab in -lcthreads... " >&6; } 22321if ${ac_cv_lib_cthreads_libcthreads_mutex_try_grab+:} false; then : 22322 $as_echo_n "(cached) " >&6 22323else 22324 ac_check_lib_save_LIBS=$LIBS 22325LIBS="-lcthreads $LIBS" 22326cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22327/* end confdefs.h. */ 22328 22329/* Override any GCC internal prototype to avoid an error. 22330 Use char because int might match the return type of a GCC 22331 builtin and then its argument prototype would still apply. */ 22332#ifdef __cplusplus 22333extern "C" 22334#endif 22335char libcthreads_mutex_try_grab (); 22336int 22337main () 22338{ 22339return libcthreads_mutex_try_grab (); 22340 ; 22341 return 0; 22342} 22343_ACEOF 22344if ac_fn_c_try_link "$LINENO"; then : 22345 ac_cv_lib_cthreads_libcthreads_mutex_try_grab=yes 22346else 22347 ac_cv_lib_cthreads_libcthreads_mutex_try_grab=no 22348fi 22349rm -f core conftest.err conftest.$ac_objext \ 22350 conftest$ac_exeext conftest.$ac_ext 22351LIBS=$ac_check_lib_save_LIBS 22352fi 22353{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_mutex_try_grab" >&5 22354$as_echo "$ac_cv_lib_cthreads_libcthreads_mutex_try_grab" >&6; } 22355if test "x$ac_cv_lib_cthreads_libcthreads_mutex_try_grab" = xyes; then : 22356 ac_cv_libcthreads_dummy=yes 22357else 22358 ac_cv_libcthreads=no 22359fi 22360 22361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_mutex_release in -lcthreads" >&5 22362$as_echo_n "checking for libcthreads_mutex_release in -lcthreads... " >&6; } 22363if ${ac_cv_lib_cthreads_libcthreads_mutex_release+:} false; then : 22364 $as_echo_n "(cached) " >&6 22365else 22366 ac_check_lib_save_LIBS=$LIBS 22367LIBS="-lcthreads $LIBS" 22368cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22369/* end confdefs.h. */ 22370 22371/* Override any GCC internal prototype to avoid an error. 22372 Use char because int might match the return type of a GCC 22373 builtin and then its argument prototype would still apply. */ 22374#ifdef __cplusplus 22375extern "C" 22376#endif 22377char libcthreads_mutex_release (); 22378int 22379main () 22380{ 22381return libcthreads_mutex_release (); 22382 ; 22383 return 0; 22384} 22385_ACEOF 22386if ac_fn_c_try_link "$LINENO"; then : 22387 ac_cv_lib_cthreads_libcthreads_mutex_release=yes 22388else 22389 ac_cv_lib_cthreads_libcthreads_mutex_release=no 22390fi 22391rm -f core conftest.err conftest.$ac_objext \ 22392 conftest$ac_exeext conftest.$ac_ext 22393LIBS=$ac_check_lib_save_LIBS 22394fi 22395{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_mutex_release" >&5 22396$as_echo "$ac_cv_lib_cthreads_libcthreads_mutex_release" >&6; } 22397if test "x$ac_cv_lib_cthreads_libcthreads_mutex_release" = xyes; then : 22398 ac_cv_libcthreads_dummy=yes 22399else 22400 ac_cv_libcthreads=no 22401fi 22402 22403 22404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_read_write_lock_initialize in -lcthreads" >&5 22405$as_echo_n "checking for libcthreads_read_write_lock_initialize in -lcthreads... " >&6; } 22406if ${ac_cv_lib_cthreads_libcthreads_read_write_lock_initialize+:} false; then : 22407 $as_echo_n "(cached) " >&6 22408else 22409 ac_check_lib_save_LIBS=$LIBS 22410LIBS="-lcthreads $LIBS" 22411cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22412/* end confdefs.h. */ 22413 22414/* Override any GCC internal prototype to avoid an error. 22415 Use char because int might match the return type of a GCC 22416 builtin and then its argument prototype would still apply. */ 22417#ifdef __cplusplus 22418extern "C" 22419#endif 22420char libcthreads_read_write_lock_initialize (); 22421int 22422main () 22423{ 22424return libcthreads_read_write_lock_initialize (); 22425 ; 22426 return 0; 22427} 22428_ACEOF 22429if ac_fn_c_try_link "$LINENO"; then : 22430 ac_cv_lib_cthreads_libcthreads_read_write_lock_initialize=yes 22431else 22432 ac_cv_lib_cthreads_libcthreads_read_write_lock_initialize=no 22433fi 22434rm -f core conftest.err conftest.$ac_objext \ 22435 conftest$ac_exeext conftest.$ac_ext 22436LIBS=$ac_check_lib_save_LIBS 22437fi 22438{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_read_write_lock_initialize" >&5 22439$as_echo "$ac_cv_lib_cthreads_libcthreads_read_write_lock_initialize" >&6; } 22440if test "x$ac_cv_lib_cthreads_libcthreads_read_write_lock_initialize" = xyes; then : 22441 ac_cv_libcthreads_dummy=yes 22442else 22443 ac_cv_libcthreads=no 22444fi 22445 22446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_read_write_lock_free in -lcthreads" >&5 22447$as_echo_n "checking for libcthreads_read_write_lock_free in -lcthreads... " >&6; } 22448if ${ac_cv_lib_cthreads_libcthreads_read_write_lock_free+:} false; then : 22449 $as_echo_n "(cached) " >&6 22450else 22451 ac_check_lib_save_LIBS=$LIBS 22452LIBS="-lcthreads $LIBS" 22453cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22454/* end confdefs.h. */ 22455 22456/* Override any GCC internal prototype to avoid an error. 22457 Use char because int might match the return type of a GCC 22458 builtin and then its argument prototype would still apply. */ 22459#ifdef __cplusplus 22460extern "C" 22461#endif 22462char libcthreads_read_write_lock_free (); 22463int 22464main () 22465{ 22466return libcthreads_read_write_lock_free (); 22467 ; 22468 return 0; 22469} 22470_ACEOF 22471if ac_fn_c_try_link "$LINENO"; then : 22472 ac_cv_lib_cthreads_libcthreads_read_write_lock_free=yes 22473else 22474 ac_cv_lib_cthreads_libcthreads_read_write_lock_free=no 22475fi 22476rm -f core conftest.err conftest.$ac_objext \ 22477 conftest$ac_exeext conftest.$ac_ext 22478LIBS=$ac_check_lib_save_LIBS 22479fi 22480{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_read_write_lock_free" >&5 22481$as_echo "$ac_cv_lib_cthreads_libcthreads_read_write_lock_free" >&6; } 22482if test "x$ac_cv_lib_cthreads_libcthreads_read_write_lock_free" = xyes; then : 22483 ac_cv_libcthreads_dummy=yes 22484else 22485 ac_cv_libcthreads=no 22486fi 22487 22488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_read_write_lock_grab_for_read in -lcthreads" >&5 22489$as_echo_n "checking for libcthreads_read_write_lock_grab_for_read in -lcthreads... " >&6; } 22490if ${ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_read+:} false; then : 22491 $as_echo_n "(cached) " >&6 22492else 22493 ac_check_lib_save_LIBS=$LIBS 22494LIBS="-lcthreads $LIBS" 22495cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22496/* end confdefs.h. */ 22497 22498/* Override any GCC internal prototype to avoid an error. 22499 Use char because int might match the return type of a GCC 22500 builtin and then its argument prototype would still apply. */ 22501#ifdef __cplusplus 22502extern "C" 22503#endif 22504char libcthreads_read_write_lock_grab_for_read (); 22505int 22506main () 22507{ 22508return libcthreads_read_write_lock_grab_for_read (); 22509 ; 22510 return 0; 22511} 22512_ACEOF 22513if ac_fn_c_try_link "$LINENO"; then : 22514 ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_read=yes 22515else 22516 ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_read=no 22517fi 22518rm -f core conftest.err conftest.$ac_objext \ 22519 conftest$ac_exeext conftest.$ac_ext 22520LIBS=$ac_check_lib_save_LIBS 22521fi 22522{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_read" >&5 22523$as_echo "$ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_read" >&6; } 22524if test "x$ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_read" = xyes; then : 22525 ac_cv_libcthreads_dummy=yes 22526else 22527 ac_cv_libcthreads=no 22528fi 22529 22530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_read_write_lock_grab_for_write in -lcthreads" >&5 22531$as_echo_n "checking for libcthreads_read_write_lock_grab_for_write in -lcthreads... " >&6; } 22532if ${ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_write+:} false; then : 22533 $as_echo_n "(cached) " >&6 22534else 22535 ac_check_lib_save_LIBS=$LIBS 22536LIBS="-lcthreads $LIBS" 22537cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22538/* end confdefs.h. */ 22539 22540/* Override any GCC internal prototype to avoid an error. 22541 Use char because int might match the return type of a GCC 22542 builtin and then its argument prototype would still apply. */ 22543#ifdef __cplusplus 22544extern "C" 22545#endif 22546char libcthreads_read_write_lock_grab_for_write (); 22547int 22548main () 22549{ 22550return libcthreads_read_write_lock_grab_for_write (); 22551 ; 22552 return 0; 22553} 22554_ACEOF 22555if ac_fn_c_try_link "$LINENO"; then : 22556 ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_write=yes 22557else 22558 ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_write=no 22559fi 22560rm -f core conftest.err conftest.$ac_objext \ 22561 conftest$ac_exeext conftest.$ac_ext 22562LIBS=$ac_check_lib_save_LIBS 22563fi 22564{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_write" >&5 22565$as_echo "$ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_write" >&6; } 22566if test "x$ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_write" = xyes; then : 22567 ac_cv_libcthreads_dummy=yes 22568else 22569 ac_cv_libcthreads=no 22570fi 22571 22572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_read_write_lock_release_for_read in -lcthreads" >&5 22573$as_echo_n "checking for libcthreads_read_write_lock_release_for_read in -lcthreads... " >&6; } 22574if ${ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_read+:} false; then : 22575 $as_echo_n "(cached) " >&6 22576else 22577 ac_check_lib_save_LIBS=$LIBS 22578LIBS="-lcthreads $LIBS" 22579cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22580/* end confdefs.h. */ 22581 22582/* Override any GCC internal prototype to avoid an error. 22583 Use char because int might match the return type of a GCC 22584 builtin and then its argument prototype would still apply. */ 22585#ifdef __cplusplus 22586extern "C" 22587#endif 22588char libcthreads_read_write_lock_release_for_read (); 22589int 22590main () 22591{ 22592return libcthreads_read_write_lock_release_for_read (); 22593 ; 22594 return 0; 22595} 22596_ACEOF 22597if ac_fn_c_try_link "$LINENO"; then : 22598 ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_read=yes 22599else 22600 ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_read=no 22601fi 22602rm -f core conftest.err conftest.$ac_objext \ 22603 conftest$ac_exeext conftest.$ac_ext 22604LIBS=$ac_check_lib_save_LIBS 22605fi 22606{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_read" >&5 22607$as_echo "$ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_read" >&6; } 22608if test "x$ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_read" = xyes; then : 22609 ac_cv_libcthreads_dummy=yes 22610else 22611 ac_cv_libcthreads=no 22612fi 22613 22614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_read_write_lock_release_for_write in -lcthreads" >&5 22615$as_echo_n "checking for libcthreads_read_write_lock_release_for_write in -lcthreads... " >&6; } 22616if ${ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_write+:} false; then : 22617 $as_echo_n "(cached) " >&6 22618else 22619 ac_check_lib_save_LIBS=$LIBS 22620LIBS="-lcthreads $LIBS" 22621cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22622/* end confdefs.h. */ 22623 22624/* Override any GCC internal prototype to avoid an error. 22625 Use char because int might match the return type of a GCC 22626 builtin and then its argument prototype would still apply. */ 22627#ifdef __cplusplus 22628extern "C" 22629#endif 22630char libcthreads_read_write_lock_release_for_write (); 22631int 22632main () 22633{ 22634return libcthreads_read_write_lock_release_for_write (); 22635 ; 22636 return 0; 22637} 22638_ACEOF 22639if ac_fn_c_try_link "$LINENO"; then : 22640 ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_write=yes 22641else 22642 ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_write=no 22643fi 22644rm -f core conftest.err conftest.$ac_objext \ 22645 conftest$ac_exeext conftest.$ac_ext 22646LIBS=$ac_check_lib_save_LIBS 22647fi 22648{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_write" >&5 22649$as_echo "$ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_write" >&6; } 22650if test "x$ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_write" = xyes; then : 22651 ac_cv_libcthreads_dummy=yes 22652else 22653 ac_cv_libcthreads=no 22654fi 22655 22656 22657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_queue_initialize in -lcthreads" >&5 22658$as_echo_n "checking for libcthreads_queue_initialize in -lcthreads... " >&6; } 22659if ${ac_cv_lib_cthreads_libcthreads_queue_initialize+:} false; then : 22660 $as_echo_n "(cached) " >&6 22661else 22662 ac_check_lib_save_LIBS=$LIBS 22663LIBS="-lcthreads $LIBS" 22664cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22665/* end confdefs.h. */ 22666 22667/* Override any GCC internal prototype to avoid an error. 22668 Use char because int might match the return type of a GCC 22669 builtin and then its argument prototype would still apply. */ 22670#ifdef __cplusplus 22671extern "C" 22672#endif 22673char libcthreads_queue_initialize (); 22674int 22675main () 22676{ 22677return libcthreads_queue_initialize (); 22678 ; 22679 return 0; 22680} 22681_ACEOF 22682if ac_fn_c_try_link "$LINENO"; then : 22683 ac_cv_lib_cthreads_libcthreads_queue_initialize=yes 22684else 22685 ac_cv_lib_cthreads_libcthreads_queue_initialize=no 22686fi 22687rm -f core conftest.err conftest.$ac_objext \ 22688 conftest$ac_exeext conftest.$ac_ext 22689LIBS=$ac_check_lib_save_LIBS 22690fi 22691{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_queue_initialize" >&5 22692$as_echo "$ac_cv_lib_cthreads_libcthreads_queue_initialize" >&6; } 22693if test "x$ac_cv_lib_cthreads_libcthreads_queue_initialize" = xyes; then : 22694 ac_cv_libcthreads_dummy=yes 22695else 22696 ac_cv_libcthreads=no 22697fi 22698 22699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_queue_free in -lcthreads" >&5 22700$as_echo_n "checking for libcthreads_queue_free in -lcthreads... " >&6; } 22701if ${ac_cv_lib_cthreads_libcthreads_queue_free+:} false; then : 22702 $as_echo_n "(cached) " >&6 22703else 22704 ac_check_lib_save_LIBS=$LIBS 22705LIBS="-lcthreads $LIBS" 22706cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22707/* end confdefs.h. */ 22708 22709/* Override any GCC internal prototype to avoid an error. 22710 Use char because int might match the return type of a GCC 22711 builtin and then its argument prototype would still apply. */ 22712#ifdef __cplusplus 22713extern "C" 22714#endif 22715char libcthreads_queue_free (); 22716int 22717main () 22718{ 22719return libcthreads_queue_free (); 22720 ; 22721 return 0; 22722} 22723_ACEOF 22724if ac_fn_c_try_link "$LINENO"; then : 22725 ac_cv_lib_cthreads_libcthreads_queue_free=yes 22726else 22727 ac_cv_lib_cthreads_libcthreads_queue_free=no 22728fi 22729rm -f core conftest.err conftest.$ac_objext \ 22730 conftest$ac_exeext conftest.$ac_ext 22731LIBS=$ac_check_lib_save_LIBS 22732fi 22733{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_queue_free" >&5 22734$as_echo "$ac_cv_lib_cthreads_libcthreads_queue_free" >&6; } 22735if test "x$ac_cv_lib_cthreads_libcthreads_queue_free" = xyes; then : 22736 ac_cv_libcthreads_dummy=yes 22737else 22738 ac_cv_libcthreads=no 22739fi 22740 22741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_queue_type_pop in -lcthreads" >&5 22742$as_echo_n "checking for libcthreads_queue_type_pop in -lcthreads... " >&6; } 22743if ${ac_cv_lib_cthreads_libcthreads_queue_type_pop+:} false; then : 22744 $as_echo_n "(cached) " >&6 22745else 22746 ac_check_lib_save_LIBS=$LIBS 22747LIBS="-lcthreads $LIBS" 22748cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22749/* end confdefs.h. */ 22750 22751/* Override any GCC internal prototype to avoid an error. 22752 Use char because int might match the return type of a GCC 22753 builtin and then its argument prototype would still apply. */ 22754#ifdef __cplusplus 22755extern "C" 22756#endif 22757char libcthreads_queue_type_pop (); 22758int 22759main () 22760{ 22761return libcthreads_queue_type_pop (); 22762 ; 22763 return 0; 22764} 22765_ACEOF 22766if ac_fn_c_try_link "$LINENO"; then : 22767 ac_cv_lib_cthreads_libcthreads_queue_type_pop=yes 22768else 22769 ac_cv_lib_cthreads_libcthreads_queue_type_pop=no 22770fi 22771rm -f core conftest.err conftest.$ac_objext \ 22772 conftest$ac_exeext conftest.$ac_ext 22773LIBS=$ac_check_lib_save_LIBS 22774fi 22775{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_queue_type_pop" >&5 22776$as_echo "$ac_cv_lib_cthreads_libcthreads_queue_type_pop" >&6; } 22777if test "x$ac_cv_lib_cthreads_libcthreads_queue_type_pop" = xyes; then : 22778 ac_cv_libcthreads_dummy=yes 22779else 22780 ac_cv_libcthreads=no 22781fi 22782 22783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_queue_pop in -lcthreads" >&5 22784$as_echo_n "checking for libcthreads_queue_pop in -lcthreads... " >&6; } 22785if ${ac_cv_lib_cthreads_libcthreads_queue_pop+:} false; then : 22786 $as_echo_n "(cached) " >&6 22787else 22788 ac_check_lib_save_LIBS=$LIBS 22789LIBS="-lcthreads $LIBS" 22790cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22791/* end confdefs.h. */ 22792 22793/* Override any GCC internal prototype to avoid an error. 22794 Use char because int might match the return type of a GCC 22795 builtin and then its argument prototype would still apply. */ 22796#ifdef __cplusplus 22797extern "C" 22798#endif 22799char libcthreads_queue_pop (); 22800int 22801main () 22802{ 22803return libcthreads_queue_pop (); 22804 ; 22805 return 0; 22806} 22807_ACEOF 22808if ac_fn_c_try_link "$LINENO"; then : 22809 ac_cv_lib_cthreads_libcthreads_queue_pop=yes 22810else 22811 ac_cv_lib_cthreads_libcthreads_queue_pop=no 22812fi 22813rm -f core conftest.err conftest.$ac_objext \ 22814 conftest$ac_exeext conftest.$ac_ext 22815LIBS=$ac_check_lib_save_LIBS 22816fi 22817{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_queue_pop" >&5 22818$as_echo "$ac_cv_lib_cthreads_libcthreads_queue_pop" >&6; } 22819if test "x$ac_cv_lib_cthreads_libcthreads_queue_pop" = xyes; then : 22820 ac_cv_libcthreads_dummy=yes 22821else 22822 ac_cv_libcthreads=no 22823fi 22824 22825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_queue_try_push in -lcthreads" >&5 22826$as_echo_n "checking for libcthreads_queue_try_push in -lcthreads... " >&6; } 22827if ${ac_cv_lib_cthreads_libcthreads_queue_try_push+:} false; then : 22828 $as_echo_n "(cached) " >&6 22829else 22830 ac_check_lib_save_LIBS=$LIBS 22831LIBS="-lcthreads $LIBS" 22832cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22833/* end confdefs.h. */ 22834 22835/* Override any GCC internal prototype to avoid an error. 22836 Use char because int might match the return type of a GCC 22837 builtin and then its argument prototype would still apply. */ 22838#ifdef __cplusplus 22839extern "C" 22840#endif 22841char libcthreads_queue_try_push (); 22842int 22843main () 22844{ 22845return libcthreads_queue_try_push (); 22846 ; 22847 return 0; 22848} 22849_ACEOF 22850if ac_fn_c_try_link "$LINENO"; then : 22851 ac_cv_lib_cthreads_libcthreads_queue_try_push=yes 22852else 22853 ac_cv_lib_cthreads_libcthreads_queue_try_push=no 22854fi 22855rm -f core conftest.err conftest.$ac_objext \ 22856 conftest$ac_exeext conftest.$ac_ext 22857LIBS=$ac_check_lib_save_LIBS 22858fi 22859{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_queue_try_push" >&5 22860$as_echo "$ac_cv_lib_cthreads_libcthreads_queue_try_push" >&6; } 22861if test "x$ac_cv_lib_cthreads_libcthreads_queue_try_push" = xyes; then : 22862 ac_cv_libcthreads_dummy=yes 22863else 22864 ac_cv_libcthreads=no 22865fi 22866 22867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_queue_push in -lcthreads" >&5 22868$as_echo_n "checking for libcthreads_queue_push in -lcthreads... " >&6; } 22869if ${ac_cv_lib_cthreads_libcthreads_queue_push+:} false; then : 22870 $as_echo_n "(cached) " >&6 22871else 22872 ac_check_lib_save_LIBS=$LIBS 22873LIBS="-lcthreads $LIBS" 22874cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22875/* end confdefs.h. */ 22876 22877/* Override any GCC internal prototype to avoid an error. 22878 Use char because int might match the return type of a GCC 22879 builtin and then its argument prototype would still apply. */ 22880#ifdef __cplusplus 22881extern "C" 22882#endif 22883char libcthreads_queue_push (); 22884int 22885main () 22886{ 22887return libcthreads_queue_push (); 22888 ; 22889 return 0; 22890} 22891_ACEOF 22892if ac_fn_c_try_link "$LINENO"; then : 22893 ac_cv_lib_cthreads_libcthreads_queue_push=yes 22894else 22895 ac_cv_lib_cthreads_libcthreads_queue_push=no 22896fi 22897rm -f core conftest.err conftest.$ac_objext \ 22898 conftest$ac_exeext conftest.$ac_ext 22899LIBS=$ac_check_lib_save_LIBS 22900fi 22901{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_queue_push" >&5 22902$as_echo "$ac_cv_lib_cthreads_libcthreads_queue_push" >&6; } 22903if test "x$ac_cv_lib_cthreads_libcthreads_queue_push" = xyes; then : 22904 ac_cv_libcthreads_dummy=yes 22905else 22906 ac_cv_libcthreads=no 22907fi 22908 22909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_queue_push_sorted in -lcthreads" >&5 22910$as_echo_n "checking for libcthreads_queue_push_sorted in -lcthreads... " >&6; } 22911if ${ac_cv_lib_cthreads_libcthreads_queue_push_sorted+:} false; then : 22912 $as_echo_n "(cached) " >&6 22913else 22914 ac_check_lib_save_LIBS=$LIBS 22915LIBS="-lcthreads $LIBS" 22916cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22917/* end confdefs.h. */ 22918 22919/* Override any GCC internal prototype to avoid an error. 22920 Use char because int might match the return type of a GCC 22921 builtin and then its argument prototype would still apply. */ 22922#ifdef __cplusplus 22923extern "C" 22924#endif 22925char libcthreads_queue_push_sorted (); 22926int 22927main () 22928{ 22929return libcthreads_queue_push_sorted (); 22930 ; 22931 return 0; 22932} 22933_ACEOF 22934if ac_fn_c_try_link "$LINENO"; then : 22935 ac_cv_lib_cthreads_libcthreads_queue_push_sorted=yes 22936else 22937 ac_cv_lib_cthreads_libcthreads_queue_push_sorted=no 22938fi 22939rm -f core conftest.err conftest.$ac_objext \ 22940 conftest$ac_exeext conftest.$ac_ext 22941LIBS=$ac_check_lib_save_LIBS 22942fi 22943{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_queue_push_sorted" >&5 22944$as_echo "$ac_cv_lib_cthreads_libcthreads_queue_push_sorted" >&6; } 22945if test "x$ac_cv_lib_cthreads_libcthreads_queue_push_sorted" = xyes; then : 22946 ac_cv_libcthreads_dummy=yes 22947else 22948 ac_cv_libcthreads=no 22949fi 22950 22951 22952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_pool_create in -lcthreads" >&5 22953$as_echo_n "checking for libcthreads_thread_pool_create in -lcthreads... " >&6; } 22954if ${ac_cv_lib_cthreads_libcthreads_thread_pool_create+:} false; then : 22955 $as_echo_n "(cached) " >&6 22956else 22957 ac_check_lib_save_LIBS=$LIBS 22958LIBS="-lcthreads $LIBS" 22959cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22960/* end confdefs.h. */ 22961 22962/* Override any GCC internal prototype to avoid an error. 22963 Use char because int might match the return type of a GCC 22964 builtin and then its argument prototype would still apply. */ 22965#ifdef __cplusplus 22966extern "C" 22967#endif 22968char libcthreads_thread_pool_create (); 22969int 22970main () 22971{ 22972return libcthreads_thread_pool_create (); 22973 ; 22974 return 0; 22975} 22976_ACEOF 22977if ac_fn_c_try_link "$LINENO"; then : 22978 ac_cv_lib_cthreads_libcthreads_thread_pool_create=yes 22979else 22980 ac_cv_lib_cthreads_libcthreads_thread_pool_create=no 22981fi 22982rm -f core conftest.err conftest.$ac_objext \ 22983 conftest$ac_exeext conftest.$ac_ext 22984LIBS=$ac_check_lib_save_LIBS 22985fi 22986{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_pool_create" >&5 22987$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_pool_create" >&6; } 22988if test "x$ac_cv_lib_cthreads_libcthreads_thread_pool_create" = xyes; then : 22989 ac_cv_libcthreads_dummy=yes 22990else 22991 ac_cv_libcthreads=no 22992fi 22993 22994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_pool_push in -lcthreads" >&5 22995$as_echo_n "checking for libcthreads_thread_pool_push in -lcthreads... " >&6; } 22996if ${ac_cv_lib_cthreads_libcthreads_thread_pool_push+:} false; then : 22997 $as_echo_n "(cached) " >&6 22998else 22999 ac_check_lib_save_LIBS=$LIBS 23000LIBS="-lcthreads $LIBS" 23001cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23002/* end confdefs.h. */ 23003 23004/* Override any GCC internal prototype to avoid an error. 23005 Use char because int might match the return type of a GCC 23006 builtin and then its argument prototype would still apply. */ 23007#ifdef __cplusplus 23008extern "C" 23009#endif 23010char libcthreads_thread_pool_push (); 23011int 23012main () 23013{ 23014return libcthreads_thread_pool_push (); 23015 ; 23016 return 0; 23017} 23018_ACEOF 23019if ac_fn_c_try_link "$LINENO"; then : 23020 ac_cv_lib_cthreads_libcthreads_thread_pool_push=yes 23021else 23022 ac_cv_lib_cthreads_libcthreads_thread_pool_push=no 23023fi 23024rm -f core conftest.err conftest.$ac_objext \ 23025 conftest$ac_exeext conftest.$ac_ext 23026LIBS=$ac_check_lib_save_LIBS 23027fi 23028{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_pool_push" >&5 23029$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_pool_push" >&6; } 23030if test "x$ac_cv_lib_cthreads_libcthreads_thread_pool_push" = xyes; then : 23031 ac_cv_libcthreads_dummy=yes 23032else 23033 ac_cv_libcthreads=no 23034fi 23035 23036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_pool_push_sorted in -lcthreads" >&5 23037$as_echo_n "checking for libcthreads_thread_pool_push_sorted in -lcthreads... " >&6; } 23038if ${ac_cv_lib_cthreads_libcthreads_thread_pool_push_sorted+:} false; then : 23039 $as_echo_n "(cached) " >&6 23040else 23041 ac_check_lib_save_LIBS=$LIBS 23042LIBS="-lcthreads $LIBS" 23043cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23044/* end confdefs.h. */ 23045 23046/* Override any GCC internal prototype to avoid an error. 23047 Use char because int might match the return type of a GCC 23048 builtin and then its argument prototype would still apply. */ 23049#ifdef __cplusplus 23050extern "C" 23051#endif 23052char libcthreads_thread_pool_push_sorted (); 23053int 23054main () 23055{ 23056return libcthreads_thread_pool_push_sorted (); 23057 ; 23058 return 0; 23059} 23060_ACEOF 23061if ac_fn_c_try_link "$LINENO"; then : 23062 ac_cv_lib_cthreads_libcthreads_thread_pool_push_sorted=yes 23063else 23064 ac_cv_lib_cthreads_libcthreads_thread_pool_push_sorted=no 23065fi 23066rm -f core conftest.err conftest.$ac_objext \ 23067 conftest$ac_exeext conftest.$ac_ext 23068LIBS=$ac_check_lib_save_LIBS 23069fi 23070{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_pool_push_sorted" >&5 23071$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_pool_push_sorted" >&6; } 23072if test "x$ac_cv_lib_cthreads_libcthreads_thread_pool_push_sorted" = xyes; then : 23073 ac_cv_libcthreads_dummy=yes 23074else 23075 ac_cv_libcthreads=no 23076fi 23077 23078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_pool_join in -lcthreads" >&5 23079$as_echo_n "checking for libcthreads_thread_pool_join in -lcthreads... " >&6; } 23080if ${ac_cv_lib_cthreads_libcthreads_thread_pool_join+:} false; then : 23081 $as_echo_n "(cached) " >&6 23082else 23083 ac_check_lib_save_LIBS=$LIBS 23084LIBS="-lcthreads $LIBS" 23085cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23086/* end confdefs.h. */ 23087 23088/* Override any GCC internal prototype to avoid an error. 23089 Use char because int might match the return type of a GCC 23090 builtin and then its argument prototype would still apply. */ 23091#ifdef __cplusplus 23092extern "C" 23093#endif 23094char libcthreads_thread_pool_join (); 23095int 23096main () 23097{ 23098return libcthreads_thread_pool_join (); 23099 ; 23100 return 0; 23101} 23102_ACEOF 23103if ac_fn_c_try_link "$LINENO"; then : 23104 ac_cv_lib_cthreads_libcthreads_thread_pool_join=yes 23105else 23106 ac_cv_lib_cthreads_libcthreads_thread_pool_join=no 23107fi 23108rm -f core conftest.err conftest.$ac_objext \ 23109 conftest$ac_exeext conftest.$ac_ext 23110LIBS=$ac_check_lib_save_LIBS 23111fi 23112{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_pool_join" >&5 23113$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_pool_join" >&6; } 23114if test "x$ac_cv_lib_cthreads_libcthreads_thread_pool_join" = xyes; then : 23115 ac_cv_libcthreads_dummy=yes 23116else 23117 ac_cv_libcthreads=no 23118fi 23119 23120 23121 ac_cv_libcthreads_LIBADD="-lcthreads" 23122fi 23123 23124fi 23125 23126 if test "x$ac_cv_with_libcthreads" != x && test "x$ac_cv_with_libcthreads" != xauto-detect && test "x$ac_cv_libcthreads" != xyes; then : 23127 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 23128$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 23129as_fn_error 1 "unable to find supported libcthreads in directory: $ac_cv_with_libcthreads 23130See \`config.log' for more details" "$LINENO" 5; } 23131 23132fi 23133 23134fi 23135 23136 if test "x$ac_cv_libcthreads" = xyes; then : 23137 23138$as_echo "#define HAVE_LIBCTHREADS 1" >>confdefs.h 23139 23140 23141fi 23142 23143 if test "x$ac_cv_libcthreads" = xyes; then : 23144 ac_cv_libcthreads_multi_threading=libcthreads 23145else 23146 ac_cv_libcthreads_multi_threading=no 23147fi 23148 23149 if test "x$ac_cv_libcthreads" = xyes; then : 23150 HAVE_LIBCTHREADS=1 23151 23152else 23153 HAVE_LIBCTHREADS=0 23154 23155 23156fi 23157 23158 23159 if test "x$ac_cv_libcthreads" != xyes; then : 23160 if test "x$ac_cv_enable_winapi" = xno; then : 23161 23162 23163# Check whether --with-pthread was given. 23164if test "${with_pthread+set}" = set; then : 23165 withval=$with_pthread; ac_cv_with_pthread=$withval 23166else 23167 ac_cv_with_pthread=auto-detect 23168fi 23169 23170 { $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 23171$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; } 23172if ${ac_cv_with_pthread+:} false; then : 23173 $as_echo_n "(cached) " >&6 23174else 23175 ac_cv_with_pthread=auto-detect 23176fi 23177{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_pthread" >&5 23178$as_echo "$ac_cv_with_pthread" >&6; } 23179 23180 if test "x$ac_cv_with_pthread" != x && test "x$ac_cv_with_pthread" != xno && test "x$ac_cv_with_pthread" != xauto-detect; then : 23181 if test -d "$ac_cv_with_pthread"; then : 23182 CFLAGS="$CFLAGS -I${ac_cv_with_pthread}/include" 23183 LDFLAGS="$LDFLAGS -L${ac_cv_with_pthread}/lib" 23184else 23185 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no such directory: $ac_cv_with_pthread" >&5 23186$as_echo "$as_me: WARNING: no such directory: $ac_cv_with_pthread" >&2;} 23187 23188fi 23189 23190fi 23191 23192 if test "x$ac_cv_with_pthread" = xno; then : 23193 ac_cv_pthread=no 23194else 23195 for ac_header in pthread.h 23196do : 23197 ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" 23198if test "x$ac_cv_header_pthread_h" = xyes; then : 23199 cat >>confdefs.h <<_ACEOF 23200#define HAVE_PTHREAD_H 1 23201_ACEOF 23202 23203fi 23204 23205done 23206 23207 23208 if test "x$ac_cv_header_pthread_h" = xno; then : 23209 ac_cv_pthread=no 23210else 23211 ac_cv_pthread=pthread 23212 23213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5 23214$as_echo_n "checking for pthread_create in -lpthread... " >&6; } 23215if ${ac_cv_lib_pthread_pthread_create+:} false; then : 23216 $as_echo_n "(cached) " >&6 23217else 23218 ac_check_lib_save_LIBS=$LIBS 23219LIBS="-lpthread $LIBS" 23220cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23221/* end confdefs.h. */ 23222 23223/* Override any GCC internal prototype to avoid an error. 23224 Use char because int might match the return type of a GCC 23225 builtin and then its argument prototype would still apply. */ 23226#ifdef __cplusplus 23227extern "C" 23228#endif 23229char pthread_create (); 23230int 23231main () 23232{ 23233return pthread_create (); 23234 ; 23235 return 0; 23236} 23237_ACEOF 23238if ac_fn_c_try_link "$LINENO"; then : 23239 ac_cv_lib_pthread_pthread_create=yes 23240else 23241 ac_cv_lib_pthread_pthread_create=no 23242fi 23243rm -f core conftest.err conftest.$ac_objext \ 23244 conftest$ac_exeext conftest.$ac_ext 23245LIBS=$ac_check_lib_save_LIBS 23246fi 23247{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5 23248$as_echo "$ac_cv_lib_pthread_pthread_create" >&6; } 23249if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then : 23250 ac_pthread_dummy=yes 23251else 23252 ac_cv_pthread=no 23253fi 23254 23255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_exit in -lpthread" >&5 23256$as_echo_n "checking for pthread_exit in -lpthread... " >&6; } 23257if ${ac_cv_lib_pthread_pthread_exit+:} false; then : 23258 $as_echo_n "(cached) " >&6 23259else 23260 ac_check_lib_save_LIBS=$LIBS 23261LIBS="-lpthread $LIBS" 23262cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23263/* end confdefs.h. */ 23264 23265/* Override any GCC internal prototype to avoid an error. 23266 Use char because int might match the return type of a GCC 23267 builtin and then its argument prototype would still apply. */ 23268#ifdef __cplusplus 23269extern "C" 23270#endif 23271char pthread_exit (); 23272int 23273main () 23274{ 23275return pthread_exit (); 23276 ; 23277 return 0; 23278} 23279_ACEOF 23280if ac_fn_c_try_link "$LINENO"; then : 23281 ac_cv_lib_pthread_pthread_exit=yes 23282else 23283 ac_cv_lib_pthread_pthread_exit=no 23284fi 23285rm -f core conftest.err conftest.$ac_objext \ 23286 conftest$ac_exeext conftest.$ac_ext 23287LIBS=$ac_check_lib_save_LIBS 23288fi 23289{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_exit" >&5 23290$as_echo "$ac_cv_lib_pthread_pthread_exit" >&6; } 23291if test "x$ac_cv_lib_pthread_pthread_exit" = xyes; then : 23292 ac_pthread_dummy=yes 23293else 23294 ac_cv_pthread=no 23295fi 23296 23297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in -lpthread" >&5 23298$as_echo_n "checking for pthread_join in -lpthread... " >&6; } 23299if ${ac_cv_lib_pthread_pthread_join+:} false; then : 23300 $as_echo_n "(cached) " >&6 23301else 23302 ac_check_lib_save_LIBS=$LIBS 23303LIBS="-lpthread $LIBS" 23304cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23305/* end confdefs.h. */ 23306 23307/* Override any GCC internal prototype to avoid an error. 23308 Use char because int might match the return type of a GCC 23309 builtin and then its argument prototype would still apply. */ 23310#ifdef __cplusplus 23311extern "C" 23312#endif 23313char pthread_join (); 23314int 23315main () 23316{ 23317return pthread_join (); 23318 ; 23319 return 0; 23320} 23321_ACEOF 23322if ac_fn_c_try_link "$LINENO"; then : 23323 ac_cv_lib_pthread_pthread_join=yes 23324else 23325 ac_cv_lib_pthread_pthread_join=no 23326fi 23327rm -f core conftest.err conftest.$ac_objext \ 23328 conftest$ac_exeext conftest.$ac_ext 23329LIBS=$ac_check_lib_save_LIBS 23330fi 23331{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_join" >&5 23332$as_echo "$ac_cv_lib_pthread_pthread_join" >&6; } 23333if test "x$ac_cv_lib_pthread_pthread_join" = xyes; then : 23334 ac_pthread_dummy=yes 23335else 23336 ac_cv_pthread=no 23337fi 23338 23339 23340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_init in -lpthread" >&5 23341$as_echo_n "checking for pthread_cond_init in -lpthread... " >&6; } 23342if ${ac_cv_lib_pthread_pthread_cond_init+:} false; then : 23343 $as_echo_n "(cached) " >&6 23344else 23345 ac_check_lib_save_LIBS=$LIBS 23346LIBS="-lpthread $LIBS" 23347cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23348/* end confdefs.h. */ 23349 23350/* Override any GCC internal prototype to avoid an error. 23351 Use char because int might match the return type of a GCC 23352 builtin and then its argument prototype would still apply. */ 23353#ifdef __cplusplus 23354extern "C" 23355#endif 23356char pthread_cond_init (); 23357int 23358main () 23359{ 23360return pthread_cond_init (); 23361 ; 23362 return 0; 23363} 23364_ACEOF 23365if ac_fn_c_try_link "$LINENO"; then : 23366 ac_cv_lib_pthread_pthread_cond_init=yes 23367else 23368 ac_cv_lib_pthread_pthread_cond_init=no 23369fi 23370rm -f core conftest.err conftest.$ac_objext \ 23371 conftest$ac_exeext conftest.$ac_ext 23372LIBS=$ac_check_lib_save_LIBS 23373fi 23374{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_cond_init" >&5 23375$as_echo "$ac_cv_lib_pthread_pthread_cond_init" >&6; } 23376if test "x$ac_cv_lib_pthread_pthread_cond_init" = xyes; then : 23377 ac_pthread_dummy=yes 23378else 23379 ac_cv_pthread=no 23380fi 23381 23382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_destroy in -lpthread" >&5 23383$as_echo_n "checking for pthread_cond_destroy in -lpthread... " >&6; } 23384if ${ac_cv_lib_pthread_pthread_cond_destroy+:} false; then : 23385 $as_echo_n "(cached) " >&6 23386else 23387 ac_check_lib_save_LIBS=$LIBS 23388LIBS="-lpthread $LIBS" 23389cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23390/* end confdefs.h. */ 23391 23392/* Override any GCC internal prototype to avoid an error. 23393 Use char because int might match the return type of a GCC 23394 builtin and then its argument prototype would still apply. */ 23395#ifdef __cplusplus 23396extern "C" 23397#endif 23398char pthread_cond_destroy (); 23399int 23400main () 23401{ 23402return pthread_cond_destroy (); 23403 ; 23404 return 0; 23405} 23406_ACEOF 23407if ac_fn_c_try_link "$LINENO"; then : 23408 ac_cv_lib_pthread_pthread_cond_destroy=yes 23409else 23410 ac_cv_lib_pthread_pthread_cond_destroy=no 23411fi 23412rm -f core conftest.err conftest.$ac_objext \ 23413 conftest$ac_exeext conftest.$ac_ext 23414LIBS=$ac_check_lib_save_LIBS 23415fi 23416{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_cond_destroy" >&5 23417$as_echo "$ac_cv_lib_pthread_pthread_cond_destroy" >&6; } 23418if test "x$ac_cv_lib_pthread_pthread_cond_destroy" = xyes; then : 23419 ac_pthread_dummy=yes 23420else 23421 ac_cv_pthread=no 23422fi 23423 23424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_broadcast in -lpthread" >&5 23425$as_echo_n "checking for pthread_cond_broadcast in -lpthread... " >&6; } 23426if ${ac_cv_lib_pthread_pthread_cond_broadcast+:} false; then : 23427 $as_echo_n "(cached) " >&6 23428else 23429 ac_check_lib_save_LIBS=$LIBS 23430LIBS="-lpthread $LIBS" 23431cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23432/* end confdefs.h. */ 23433 23434/* Override any GCC internal prototype to avoid an error. 23435 Use char because int might match the return type of a GCC 23436 builtin and then its argument prototype would still apply. */ 23437#ifdef __cplusplus 23438extern "C" 23439#endif 23440char pthread_cond_broadcast (); 23441int 23442main () 23443{ 23444return pthread_cond_broadcast (); 23445 ; 23446 return 0; 23447} 23448_ACEOF 23449if ac_fn_c_try_link "$LINENO"; then : 23450 ac_cv_lib_pthread_pthread_cond_broadcast=yes 23451else 23452 ac_cv_lib_pthread_pthread_cond_broadcast=no 23453fi 23454rm -f core conftest.err conftest.$ac_objext \ 23455 conftest$ac_exeext conftest.$ac_ext 23456LIBS=$ac_check_lib_save_LIBS 23457fi 23458{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_cond_broadcast" >&5 23459$as_echo "$ac_cv_lib_pthread_pthread_cond_broadcast" >&6; } 23460if test "x$ac_cv_lib_pthread_pthread_cond_broadcast" = xyes; then : 23461 ac_pthread_dummy=yes 23462else 23463 ac_cv_pthread=no 23464fi 23465 23466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_signal in -lpthread" >&5 23467$as_echo_n "checking for pthread_cond_signal in -lpthread... " >&6; } 23468if ${ac_cv_lib_pthread_pthread_cond_signal+:} false; then : 23469 $as_echo_n "(cached) " >&6 23470else 23471 ac_check_lib_save_LIBS=$LIBS 23472LIBS="-lpthread $LIBS" 23473cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23474/* end confdefs.h. */ 23475 23476/* Override any GCC internal prototype to avoid an error. 23477 Use char because int might match the return type of a GCC 23478 builtin and then its argument prototype would still apply. */ 23479#ifdef __cplusplus 23480extern "C" 23481#endif 23482char pthread_cond_signal (); 23483int 23484main () 23485{ 23486return pthread_cond_signal (); 23487 ; 23488 return 0; 23489} 23490_ACEOF 23491if ac_fn_c_try_link "$LINENO"; then : 23492 ac_cv_lib_pthread_pthread_cond_signal=yes 23493else 23494 ac_cv_lib_pthread_pthread_cond_signal=no 23495fi 23496rm -f core conftest.err conftest.$ac_objext \ 23497 conftest$ac_exeext conftest.$ac_ext 23498LIBS=$ac_check_lib_save_LIBS 23499fi 23500{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_cond_signal" >&5 23501$as_echo "$ac_cv_lib_pthread_pthread_cond_signal" >&6; } 23502if test "x$ac_cv_lib_pthread_pthread_cond_signal" = xyes; then : 23503 ac_pthread_dummy=yes 23504else 23505 ac_cv_pthread=no 23506fi 23507 23508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_wait in -lpthread" >&5 23509$as_echo_n "checking for pthread_cond_wait in -lpthread... " >&6; } 23510if ${ac_cv_lib_pthread_pthread_cond_wait+:} false; then : 23511 $as_echo_n "(cached) " >&6 23512else 23513 ac_check_lib_save_LIBS=$LIBS 23514LIBS="-lpthread $LIBS" 23515cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23516/* end confdefs.h. */ 23517 23518/* Override any GCC internal prototype to avoid an error. 23519 Use char because int might match the return type of a GCC 23520 builtin and then its argument prototype would still apply. */ 23521#ifdef __cplusplus 23522extern "C" 23523#endif 23524char pthread_cond_wait (); 23525int 23526main () 23527{ 23528return pthread_cond_wait (); 23529 ; 23530 return 0; 23531} 23532_ACEOF 23533if ac_fn_c_try_link "$LINENO"; then : 23534 ac_cv_lib_pthread_pthread_cond_wait=yes 23535else 23536 ac_cv_lib_pthread_pthread_cond_wait=no 23537fi 23538rm -f core conftest.err conftest.$ac_objext \ 23539 conftest$ac_exeext conftest.$ac_ext 23540LIBS=$ac_check_lib_save_LIBS 23541fi 23542{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_cond_wait" >&5 23543$as_echo "$ac_cv_lib_pthread_pthread_cond_wait" >&6; } 23544if test "x$ac_cv_lib_pthread_pthread_cond_wait" = xyes; then : 23545 ac_pthread_dummy=yes 23546else 23547 ac_cv_pthread=no 23548fi 23549 23550 23551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_init in -lpthread" >&5 23552$as_echo_n "checking for pthread_mutex_init in -lpthread... " >&6; } 23553if ${ac_cv_lib_pthread_pthread_mutex_init+:} false; then : 23554 $as_echo_n "(cached) " >&6 23555else 23556 ac_check_lib_save_LIBS=$LIBS 23557LIBS="-lpthread $LIBS" 23558cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23559/* end confdefs.h. */ 23560 23561/* Override any GCC internal prototype to avoid an error. 23562 Use char because int might match the return type of a GCC 23563 builtin and then its argument prototype would still apply. */ 23564#ifdef __cplusplus 23565extern "C" 23566#endif 23567char pthread_mutex_init (); 23568int 23569main () 23570{ 23571return pthread_mutex_init (); 23572 ; 23573 return 0; 23574} 23575_ACEOF 23576if ac_fn_c_try_link "$LINENO"; then : 23577 ac_cv_lib_pthread_pthread_mutex_init=yes 23578else 23579 ac_cv_lib_pthread_pthread_mutex_init=no 23580fi 23581rm -f core conftest.err conftest.$ac_objext \ 23582 conftest$ac_exeext conftest.$ac_ext 23583LIBS=$ac_check_lib_save_LIBS 23584fi 23585{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_mutex_init" >&5 23586$as_echo "$ac_cv_lib_pthread_pthread_mutex_init" >&6; } 23587if test "x$ac_cv_lib_pthread_pthread_mutex_init" = xyes; then : 23588 ac_pthread_dummy=yes 23589else 23590 ac_cv_pthread=no 23591fi 23592 23593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_destroy in -lpthread" >&5 23594$as_echo_n "checking for pthread_mutex_destroy in -lpthread... " >&6; } 23595if ${ac_cv_lib_pthread_pthread_mutex_destroy+:} false; then : 23596 $as_echo_n "(cached) " >&6 23597else 23598 ac_check_lib_save_LIBS=$LIBS 23599LIBS="-lpthread $LIBS" 23600cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23601/* end confdefs.h. */ 23602 23603/* Override any GCC internal prototype to avoid an error. 23604 Use char because int might match the return type of a GCC 23605 builtin and then its argument prototype would still apply. */ 23606#ifdef __cplusplus 23607extern "C" 23608#endif 23609char pthread_mutex_destroy (); 23610int 23611main () 23612{ 23613return pthread_mutex_destroy (); 23614 ; 23615 return 0; 23616} 23617_ACEOF 23618if ac_fn_c_try_link "$LINENO"; then : 23619 ac_cv_lib_pthread_pthread_mutex_destroy=yes 23620else 23621 ac_cv_lib_pthread_pthread_mutex_destroy=no 23622fi 23623rm -f core conftest.err conftest.$ac_objext \ 23624 conftest$ac_exeext conftest.$ac_ext 23625LIBS=$ac_check_lib_save_LIBS 23626fi 23627{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_mutex_destroy" >&5 23628$as_echo "$ac_cv_lib_pthread_pthread_mutex_destroy" >&6; } 23629if test "x$ac_cv_lib_pthread_pthread_mutex_destroy" = xyes; then : 23630 ac_pthread_dummy=yes 23631else 23632 ac_cv_pthread=no 23633fi 23634 23635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_lock in -lpthread" >&5 23636$as_echo_n "checking for pthread_mutex_lock in -lpthread... " >&6; } 23637if ${ac_cv_lib_pthread_pthread_mutex_lock+:} false; then : 23638 $as_echo_n "(cached) " >&6 23639else 23640 ac_check_lib_save_LIBS=$LIBS 23641LIBS="-lpthread $LIBS" 23642cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23643/* end confdefs.h. */ 23644 23645/* Override any GCC internal prototype to avoid an error. 23646 Use char because int might match the return type of a GCC 23647 builtin and then its argument prototype would still apply. */ 23648#ifdef __cplusplus 23649extern "C" 23650#endif 23651char pthread_mutex_lock (); 23652int 23653main () 23654{ 23655return pthread_mutex_lock (); 23656 ; 23657 return 0; 23658} 23659_ACEOF 23660if ac_fn_c_try_link "$LINENO"; then : 23661 ac_cv_lib_pthread_pthread_mutex_lock=yes 23662else 23663 ac_cv_lib_pthread_pthread_mutex_lock=no 23664fi 23665rm -f core conftest.err conftest.$ac_objext \ 23666 conftest$ac_exeext conftest.$ac_ext 23667LIBS=$ac_check_lib_save_LIBS 23668fi 23669{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_mutex_lock" >&5 23670$as_echo "$ac_cv_lib_pthread_pthread_mutex_lock" >&6; } 23671if test "x$ac_cv_lib_pthread_pthread_mutex_lock" = xyes; then : 23672 ac_pthread_dummy=yes 23673else 23674 ac_cv_pthread=no 23675fi 23676 23677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_trylock in -lpthread" >&5 23678$as_echo_n "checking for pthread_mutex_trylock in -lpthread... " >&6; } 23679if ${ac_cv_lib_pthread_pthread_mutex_trylock+:} false; then : 23680 $as_echo_n "(cached) " >&6 23681else 23682 ac_check_lib_save_LIBS=$LIBS 23683LIBS="-lpthread $LIBS" 23684cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23685/* end confdefs.h. */ 23686 23687/* Override any GCC internal prototype to avoid an error. 23688 Use char because int might match the return type of a GCC 23689 builtin and then its argument prototype would still apply. */ 23690#ifdef __cplusplus 23691extern "C" 23692#endif 23693char pthread_mutex_trylock (); 23694int 23695main () 23696{ 23697return pthread_mutex_trylock (); 23698 ; 23699 return 0; 23700} 23701_ACEOF 23702if ac_fn_c_try_link "$LINENO"; then : 23703 ac_cv_lib_pthread_pthread_mutex_trylock=yes 23704else 23705 ac_cv_lib_pthread_pthread_mutex_trylock=no 23706fi 23707rm -f core conftest.err conftest.$ac_objext \ 23708 conftest$ac_exeext conftest.$ac_ext 23709LIBS=$ac_check_lib_save_LIBS 23710fi 23711{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_mutex_trylock" >&5 23712$as_echo "$ac_cv_lib_pthread_pthread_mutex_trylock" >&6; } 23713if test "x$ac_cv_lib_pthread_pthread_mutex_trylock" = xyes; then : 23714 ac_pthread_dummy=yes 23715else 23716 ac_cv_pthread=no 23717fi 23718 23719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_unlock in -lpthread" >&5 23720$as_echo_n "checking for pthread_mutex_unlock in -lpthread... " >&6; } 23721if ${ac_cv_lib_pthread_pthread_mutex_unlock+:} false; then : 23722 $as_echo_n "(cached) " >&6 23723else 23724 ac_check_lib_save_LIBS=$LIBS 23725LIBS="-lpthread $LIBS" 23726cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23727/* end confdefs.h. */ 23728 23729/* Override any GCC internal prototype to avoid an error. 23730 Use char because int might match the return type of a GCC 23731 builtin and then its argument prototype would still apply. */ 23732#ifdef __cplusplus 23733extern "C" 23734#endif 23735char pthread_mutex_unlock (); 23736int 23737main () 23738{ 23739return pthread_mutex_unlock (); 23740 ; 23741 return 0; 23742} 23743_ACEOF 23744if ac_fn_c_try_link "$LINENO"; then : 23745 ac_cv_lib_pthread_pthread_mutex_unlock=yes 23746else 23747 ac_cv_lib_pthread_pthread_mutex_unlock=no 23748fi 23749rm -f core conftest.err conftest.$ac_objext \ 23750 conftest$ac_exeext conftest.$ac_ext 23751LIBS=$ac_check_lib_save_LIBS 23752fi 23753{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_mutex_unlock" >&5 23754$as_echo "$ac_cv_lib_pthread_pthread_mutex_unlock" >&6; } 23755if test "x$ac_cv_lib_pthread_pthread_mutex_unlock" = xyes; then : 23756 ac_pthread_dummy=yes 23757else 23758 ac_cv_pthread=no 23759fi 23760 23761 23762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_init in -lpthread" >&5 23763$as_echo_n "checking for pthread_rwlock_init in -lpthread... " >&6; } 23764if ${ac_cv_lib_pthread_pthread_rwlock_init+:} false; then : 23765 $as_echo_n "(cached) " >&6 23766else 23767 ac_check_lib_save_LIBS=$LIBS 23768LIBS="-lpthread $LIBS" 23769cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23770/* end confdefs.h. */ 23771 23772/* Override any GCC internal prototype to avoid an error. 23773 Use char because int might match the return type of a GCC 23774 builtin and then its argument prototype would still apply. */ 23775#ifdef __cplusplus 23776extern "C" 23777#endif 23778char pthread_rwlock_init (); 23779int 23780main () 23781{ 23782return pthread_rwlock_init (); 23783 ; 23784 return 0; 23785} 23786_ACEOF 23787if ac_fn_c_try_link "$LINENO"; then : 23788 ac_cv_lib_pthread_pthread_rwlock_init=yes 23789else 23790 ac_cv_lib_pthread_pthread_rwlock_init=no 23791fi 23792rm -f core conftest.err conftest.$ac_objext \ 23793 conftest$ac_exeext conftest.$ac_ext 23794LIBS=$ac_check_lib_save_LIBS 23795fi 23796{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_rwlock_init" >&5 23797$as_echo "$ac_cv_lib_pthread_pthread_rwlock_init" >&6; } 23798if test "x$ac_cv_lib_pthread_pthread_rwlock_init" = xyes; then : 23799 ac_pthread_dummy=yes 23800else 23801 ac_cv_pthread=no 23802fi 23803 23804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_destroy in -lpthread" >&5 23805$as_echo_n "checking for pthread_rwlock_destroy in -lpthread... " >&6; } 23806if ${ac_cv_lib_pthread_pthread_rwlock_destroy+:} false; then : 23807 $as_echo_n "(cached) " >&6 23808else 23809 ac_check_lib_save_LIBS=$LIBS 23810LIBS="-lpthread $LIBS" 23811cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23812/* end confdefs.h. */ 23813 23814/* Override any GCC internal prototype to avoid an error. 23815 Use char because int might match the return type of a GCC 23816 builtin and then its argument prototype would still apply. */ 23817#ifdef __cplusplus 23818extern "C" 23819#endif 23820char pthread_rwlock_destroy (); 23821int 23822main () 23823{ 23824return pthread_rwlock_destroy (); 23825 ; 23826 return 0; 23827} 23828_ACEOF 23829if ac_fn_c_try_link "$LINENO"; then : 23830 ac_cv_lib_pthread_pthread_rwlock_destroy=yes 23831else 23832 ac_cv_lib_pthread_pthread_rwlock_destroy=no 23833fi 23834rm -f core conftest.err conftest.$ac_objext \ 23835 conftest$ac_exeext conftest.$ac_ext 23836LIBS=$ac_check_lib_save_LIBS 23837fi 23838{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_rwlock_destroy" >&5 23839$as_echo "$ac_cv_lib_pthread_pthread_rwlock_destroy" >&6; } 23840if test "x$ac_cv_lib_pthread_pthread_rwlock_destroy" = xyes; then : 23841 ac_pthread_dummy=yes 23842else 23843 ac_cv_pthread=no 23844fi 23845 23846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_rdlock in -lpthread" >&5 23847$as_echo_n "checking for pthread_rwlock_rdlock in -lpthread... " >&6; } 23848if ${ac_cv_lib_pthread_pthread_rwlock_rdlock+:} false; then : 23849 $as_echo_n "(cached) " >&6 23850else 23851 ac_check_lib_save_LIBS=$LIBS 23852LIBS="-lpthread $LIBS" 23853cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23854/* end confdefs.h. */ 23855 23856/* Override any GCC internal prototype to avoid an error. 23857 Use char because int might match the return type of a GCC 23858 builtin and then its argument prototype would still apply. */ 23859#ifdef __cplusplus 23860extern "C" 23861#endif 23862char pthread_rwlock_rdlock (); 23863int 23864main () 23865{ 23866return pthread_rwlock_rdlock (); 23867 ; 23868 return 0; 23869} 23870_ACEOF 23871if ac_fn_c_try_link "$LINENO"; then : 23872 ac_cv_lib_pthread_pthread_rwlock_rdlock=yes 23873else 23874 ac_cv_lib_pthread_pthread_rwlock_rdlock=no 23875fi 23876rm -f core conftest.err conftest.$ac_objext \ 23877 conftest$ac_exeext conftest.$ac_ext 23878LIBS=$ac_check_lib_save_LIBS 23879fi 23880{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_rwlock_rdlock" >&5 23881$as_echo "$ac_cv_lib_pthread_pthread_rwlock_rdlock" >&6; } 23882if test "x$ac_cv_lib_pthread_pthread_rwlock_rdlock" = xyes; then : 23883 ac_pthread_dummy=yes 23884else 23885 ac_cv_pthread=no 23886fi 23887 23888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_wrlock in -lpthread" >&5 23889$as_echo_n "checking for pthread_rwlock_wrlock in -lpthread... " >&6; } 23890if ${ac_cv_lib_pthread_pthread_rwlock_wrlock+:} false; then : 23891 $as_echo_n "(cached) " >&6 23892else 23893 ac_check_lib_save_LIBS=$LIBS 23894LIBS="-lpthread $LIBS" 23895cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23896/* end confdefs.h. */ 23897 23898/* Override any GCC internal prototype to avoid an error. 23899 Use char because int might match the return type of a GCC 23900 builtin and then its argument prototype would still apply. */ 23901#ifdef __cplusplus 23902extern "C" 23903#endif 23904char pthread_rwlock_wrlock (); 23905int 23906main () 23907{ 23908return pthread_rwlock_wrlock (); 23909 ; 23910 return 0; 23911} 23912_ACEOF 23913if ac_fn_c_try_link "$LINENO"; then : 23914 ac_cv_lib_pthread_pthread_rwlock_wrlock=yes 23915else 23916 ac_cv_lib_pthread_pthread_rwlock_wrlock=no 23917fi 23918rm -f core conftest.err conftest.$ac_objext \ 23919 conftest$ac_exeext conftest.$ac_ext 23920LIBS=$ac_check_lib_save_LIBS 23921fi 23922{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_rwlock_wrlock" >&5 23923$as_echo "$ac_cv_lib_pthread_pthread_rwlock_wrlock" >&6; } 23924if test "x$ac_cv_lib_pthread_pthread_rwlock_wrlock" = xyes; then : 23925 ac_pthread_dummy=yes 23926else 23927 ac_cv_pthread=no 23928fi 23929 23930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_unlock in -lpthread" >&5 23931$as_echo_n "checking for pthread_rwlock_unlock in -lpthread... " >&6; } 23932if ${ac_cv_lib_pthread_pthread_rwlock_unlock+:} false; then : 23933 $as_echo_n "(cached) " >&6 23934else 23935 ac_check_lib_save_LIBS=$LIBS 23936LIBS="-lpthread $LIBS" 23937cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23938/* end confdefs.h. */ 23939 23940/* Override any GCC internal prototype to avoid an error. 23941 Use char because int might match the return type of a GCC 23942 builtin and then its argument prototype would still apply. */ 23943#ifdef __cplusplus 23944extern "C" 23945#endif 23946char pthread_rwlock_unlock (); 23947int 23948main () 23949{ 23950return pthread_rwlock_unlock (); 23951 ; 23952 return 0; 23953} 23954_ACEOF 23955if ac_fn_c_try_link "$LINENO"; then : 23956 ac_cv_lib_pthread_pthread_rwlock_unlock=yes 23957else 23958 ac_cv_lib_pthread_pthread_rwlock_unlock=no 23959fi 23960rm -f core conftest.err conftest.$ac_objext \ 23961 conftest$ac_exeext conftest.$ac_ext 23962LIBS=$ac_check_lib_save_LIBS 23963fi 23964{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_rwlock_unlock" >&5 23965$as_echo "$ac_cv_lib_pthread_pthread_rwlock_unlock" >&6; } 23966if test "x$ac_cv_lib_pthread_pthread_rwlock_unlock" = xyes; then : 23967 ac_pthread_dummy=yes 23968else 23969 ac_cv_pthread=no 23970fi 23971 23972 23973 ac_cv_pthread_LIBADD="-lpthread"; 23974 23975fi 23976 23977fi 23978 23979 if test "x$ac_cv_pthread" = xpthread; then : 23980 23981$as_echo "#define HAVE_PTHREAD 1" >>confdefs.h 23982 23983 23984fi 23985 23986 if test "x$ac_cv_pthread" != xno; then : 23987 HAVE_PTHREAD=1 23988 23989else 23990 HAVE_PTHREAD=0 23991 23992 23993fi 23994 23995 23996 if test "x$ac_cv_pthread_CPPFLAGS" != "x"; then : 23997 PTHREAD_CPPFLAGS=$ac_cv_pthread_CPPFLAGS 23998 23999 24000fi 24001 if test "x$ac_cv_pthread_LIBADD" != "x"; then : 24002 PTHREAD_LIBADD=$ac_cv_pthread_LIBADD 24003 24004 24005fi 24006 24007 if test "x$ac_cv_pthread" = xpthread; then : 24008 ax_pthread_pc_libs_private=-lpthread 24009 24010 24011fi 24012 24013 ac_cv_libcthreads_multi_threading=$ac_cv_pthread 24014else 24015 ac_cv_libcthreads_multi_threading="winapi" 24016fi 24017 24018 if test "x$ac_cv_libcthreads_multi_threading" != xno; then : 24019 ac_cv_libcthreads_CPPFLAGS="-I../libcthreads"; 24020 ac_cv_libcthreads_LIBADD="../libcthreads/libcthreads.la"; 24021 24022 ac_cv_libcthreads=local 24023else 24024 ac_cv_libcthreads=no 24025fi 24026 24027 24028 24029$as_echo "#define HAVE_LOCAL_LIBCTHREADS 1" >>confdefs.h 24030 24031 HAVE_LOCAL_LIBCTHREADS=1 24032 24033 24034fi 24035 24036fi 24037 24038 if test "x$ac_cv_libcthreads" = xlocal; then 24039 HAVE_LOCAL_LIBCTHREADS_TRUE= 24040 HAVE_LOCAL_LIBCTHREADS_FALSE='#' 24041else 24042 HAVE_LOCAL_LIBCTHREADS_TRUE='#' 24043 HAVE_LOCAL_LIBCTHREADS_FALSE= 24044fi 24045 24046 if test "x$ac_cv_libcthreads_CPPFLAGS" != "x"; then : 24047 LIBCTHREADS_CPPFLAGS=$ac_cv_libcthreads_CPPFLAGS 24048 24049 24050fi 24051 if test "x$ac_cv_libcthreads_LIBADD" != "x"; then : 24052 LIBCTHREADS_LIBADD=$ac_cv_libcthreads_LIBADD 24053 24054 24055fi 24056 24057 if test "x$ac_cv_libcthreads" != xno; then : 24058 24059$as_echo "#define HAVE_MULTI_THREAD_SUPPORT 1" >>confdefs.h 24060 24061 HAVE_MULTI_THREAD_SUPPORT=1 24062 24063else 24064 HAVE_MULTI_THREAD_SUPPORT=0 24065 24066 24067fi 24068 24069 if test "x$ac_cv_libcthreads" = xyes; then : 24070 ax_libcthreads_pc_libs_private=-lcthreads 24071 24072 24073fi 24074 24075 if test "x$ac_cv_libcthreads" = xyes; then : 24076 ax_libcthreads_spec_requires=libcthreads 24077 24078 ax_libcthreads_spec_build_requires=libcthreads-devel 24079 24080 24081fi 24082 24083 24084 24085 24086# Check whether --with-libcdata was given. 24087if test "${with_libcdata+set}" = set; then : 24088 withval=$with_libcdata; ac_cv_with_libcdata=$withval 24089else 24090 ac_cv_with_libcdata=auto-detect 24091fi 24092 24093 { $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 24094$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; } 24095if ${ac_cv_with_libcdata+:} false; then : 24096 $as_echo_n "(cached) " >&6 24097else 24098 ac_cv_with_libcdata=auto-detect 24099fi 24100{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libcdata" >&5 24101$as_echo "$ac_cv_with_libcdata" >&6; } 24102 24103 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libcdata" = xno; then : 24104 ac_cv_libcdata=no 24105else 24106 ac_cv_libcdata=check 24107 if test "x$ac_cv_with_libcdata" != x && test "x$ac_cv_with_libcdata" != xauto-detect; then : 24108 if test -d "$ac_cv_with_libcdata"; then : 24109 CFLAGS="$CFLAGS -I${ac_cv_with_libcdata}/include" 24110 LDFLAGS="$LDFLAGS -L${ac_cv_with_libcdata}/lib" 24111else 24112 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 24113$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 24114as_fn_error 1 "no such directory: $ac_cv_with_libcdata 24115See \`config.log' for more details" "$LINENO" 5; } 24116 24117fi 24118 24119else 24120 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 24121 24122pkg_failed=no 24123{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata" >&5 24124$as_echo_n "checking for libcdata... " >&6; } 24125 24126if test -n "$libcdata_CFLAGS"; then 24127 pkg_cv_libcdata_CFLAGS="$libcdata_CFLAGS" 24128 elif test -n "$PKG_CONFIG"; then 24129 if test -n "$PKG_CONFIG" && \ 24130 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcdata >= 20190112\""; } >&5 24131 ($PKG_CONFIG --exists --print-errors "libcdata >= 20190112") 2>&5 24132 ac_status=$? 24133 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 24134 test $ac_status = 0; }; then 24135 pkg_cv_libcdata_CFLAGS=`$PKG_CONFIG --cflags "libcdata >= 20190112" 2>/dev/null` 24136 test "x$?" != "x0" && pkg_failed=yes 24137else 24138 pkg_failed=yes 24139fi 24140 else 24141 pkg_failed=untried 24142fi 24143if test -n "$libcdata_LIBS"; then 24144 pkg_cv_libcdata_LIBS="$libcdata_LIBS" 24145 elif test -n "$PKG_CONFIG"; then 24146 if test -n "$PKG_CONFIG" && \ 24147 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcdata >= 20190112\""; } >&5 24148 ($PKG_CONFIG --exists --print-errors "libcdata >= 20190112") 2>&5 24149 ac_status=$? 24150 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 24151 test $ac_status = 0; }; then 24152 pkg_cv_libcdata_LIBS=`$PKG_CONFIG --libs "libcdata >= 20190112" 2>/dev/null` 24153 test "x$?" != "x0" && pkg_failed=yes 24154else 24155 pkg_failed=yes 24156fi 24157 else 24158 pkg_failed=untried 24159fi 24160 24161 24162 24163if test $pkg_failed = yes; then 24164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24165$as_echo "no" >&6; } 24166 24167if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 24168 _pkg_short_errors_supported=yes 24169else 24170 _pkg_short_errors_supported=no 24171fi 24172 if test $_pkg_short_errors_supported = yes; then 24173 libcdata_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcdata >= 20190112" 2>&1` 24174 else 24175 libcdata_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcdata >= 20190112" 2>&1` 24176 fi 24177 # Put the nasty error message in config.log where it belongs 24178 echo "$libcdata_PKG_ERRORS" >&5 24179 24180 ac_cv_libcdata=check 24181elif test $pkg_failed = untried; then 24182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24183$as_echo "no" >&6; } 24184 ac_cv_libcdata=check 24185else 24186 libcdata_CFLAGS=$pkg_cv_libcdata_CFLAGS 24187 libcdata_LIBS=$pkg_cv_libcdata_LIBS 24188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 24189$as_echo "yes" >&6; } 24190 ac_cv_libcdata=yes 24191fi 24192 24193fi 24194 if test "x$ac_cv_libcdata" = xyes; then : 24195 ac_cv_libcdata_CPPFLAGS="$pkg_cv_libcdata_CFLAGS" 24196 ac_cv_libcdata_LIBADD="$pkg_cv_libcdata_LIBS" 24197fi 24198 24199fi 24200 24201 if test "x$ac_cv_libcdata" = xcheck; then : 24202 for ac_header in libcdata.h 24203do : 24204 ac_fn_c_check_header_mongrel "$LINENO" "libcdata.h" "ac_cv_header_libcdata_h" "$ac_includes_default" 24205if test "x$ac_cv_header_libcdata_h" = xyes; then : 24206 cat >>confdefs.h <<_ACEOF 24207#define HAVE_LIBCDATA_H 1 24208_ACEOF 24209 24210fi 24211 24212done 24213 24214 24215 if test "x$ac_cv_header_libcdata_h" = xno; then : 24216 ac_cv_libcdata=no 24217else 24218 ac_cv_libcdata=yes 24219 24220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_get_version in -lcdata" >&5 24221$as_echo_n "checking for libcdata_get_version in -lcdata... " >&6; } 24222if ${ac_cv_lib_cdata_libcdata_get_version+:} false; then : 24223 $as_echo_n "(cached) " >&6 24224else 24225 ac_check_lib_save_LIBS=$LIBS 24226LIBS="-lcdata $LIBS" 24227cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24228/* end confdefs.h. */ 24229 24230/* Override any GCC internal prototype to avoid an error. 24231 Use char because int might match the return type of a GCC 24232 builtin and then its argument prototype would still apply. */ 24233#ifdef __cplusplus 24234extern "C" 24235#endif 24236char libcdata_get_version (); 24237int 24238main () 24239{ 24240return libcdata_get_version (); 24241 ; 24242 return 0; 24243} 24244_ACEOF 24245if ac_fn_c_try_link "$LINENO"; then : 24246 ac_cv_lib_cdata_libcdata_get_version=yes 24247else 24248 ac_cv_lib_cdata_libcdata_get_version=no 24249fi 24250rm -f core conftest.err conftest.$ac_objext \ 24251 conftest$ac_exeext conftest.$ac_ext 24252LIBS=$ac_check_lib_save_LIBS 24253fi 24254{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_get_version" >&5 24255$as_echo "$ac_cv_lib_cdata_libcdata_get_version" >&6; } 24256if test "x$ac_cv_lib_cdata_libcdata_get_version" = xyes; then : 24257 ac_cv_libcdata_dummy=yes 24258else 24259 ac_cv_libcdata=no 24260fi 24261 24262 24263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_initialize in -lcdata" >&5 24264$as_echo_n "checking for libcdata_array_initialize in -lcdata... " >&6; } 24265if ${ac_cv_lib_cdata_libcdata_array_initialize+:} false; then : 24266 $as_echo_n "(cached) " >&6 24267else 24268 ac_check_lib_save_LIBS=$LIBS 24269LIBS="-lcdata $LIBS" 24270cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24271/* end confdefs.h. */ 24272 24273/* Override any GCC internal prototype to avoid an error. 24274 Use char because int might match the return type of a GCC 24275 builtin and then its argument prototype would still apply. */ 24276#ifdef __cplusplus 24277extern "C" 24278#endif 24279char libcdata_array_initialize (); 24280int 24281main () 24282{ 24283return libcdata_array_initialize (); 24284 ; 24285 return 0; 24286} 24287_ACEOF 24288if ac_fn_c_try_link "$LINENO"; then : 24289 ac_cv_lib_cdata_libcdata_array_initialize=yes 24290else 24291 ac_cv_lib_cdata_libcdata_array_initialize=no 24292fi 24293rm -f core conftest.err conftest.$ac_objext \ 24294 conftest$ac_exeext conftest.$ac_ext 24295LIBS=$ac_check_lib_save_LIBS 24296fi 24297{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_initialize" >&5 24298$as_echo "$ac_cv_lib_cdata_libcdata_array_initialize" >&6; } 24299if test "x$ac_cv_lib_cdata_libcdata_array_initialize" = xyes; then : 24300 ac_cv_libcdata_dummy=yes 24301else 24302 ac_cv_libcdata=no 24303fi 24304 24305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_free in -lcdata" >&5 24306$as_echo_n "checking for libcdata_array_free in -lcdata... " >&6; } 24307if ${ac_cv_lib_cdata_libcdata_array_free+:} false; then : 24308 $as_echo_n "(cached) " >&6 24309else 24310 ac_check_lib_save_LIBS=$LIBS 24311LIBS="-lcdata $LIBS" 24312cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24313/* end confdefs.h. */ 24314 24315/* Override any GCC internal prototype to avoid an error. 24316 Use char because int might match the return type of a GCC 24317 builtin and then its argument prototype would still apply. */ 24318#ifdef __cplusplus 24319extern "C" 24320#endif 24321char libcdata_array_free (); 24322int 24323main () 24324{ 24325return libcdata_array_free (); 24326 ; 24327 return 0; 24328} 24329_ACEOF 24330if ac_fn_c_try_link "$LINENO"; then : 24331 ac_cv_lib_cdata_libcdata_array_free=yes 24332else 24333 ac_cv_lib_cdata_libcdata_array_free=no 24334fi 24335rm -f core conftest.err conftest.$ac_objext \ 24336 conftest$ac_exeext conftest.$ac_ext 24337LIBS=$ac_check_lib_save_LIBS 24338fi 24339{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_free" >&5 24340$as_echo "$ac_cv_lib_cdata_libcdata_array_free" >&6; } 24341if test "x$ac_cv_lib_cdata_libcdata_array_free" = xyes; then : 24342 ac_cv_libcdata_dummy=yes 24343else 24344 ac_cv_libcdata=no 24345fi 24346 24347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_empty in -lcdata" >&5 24348$as_echo_n "checking for libcdata_array_empty in -lcdata... " >&6; } 24349if ${ac_cv_lib_cdata_libcdata_array_empty+:} false; then : 24350 $as_echo_n "(cached) " >&6 24351else 24352 ac_check_lib_save_LIBS=$LIBS 24353LIBS="-lcdata $LIBS" 24354cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24355/* end confdefs.h. */ 24356 24357/* Override any GCC internal prototype to avoid an error. 24358 Use char because int might match the return type of a GCC 24359 builtin and then its argument prototype would still apply. */ 24360#ifdef __cplusplus 24361extern "C" 24362#endif 24363char libcdata_array_empty (); 24364int 24365main () 24366{ 24367return libcdata_array_empty (); 24368 ; 24369 return 0; 24370} 24371_ACEOF 24372if ac_fn_c_try_link "$LINENO"; then : 24373 ac_cv_lib_cdata_libcdata_array_empty=yes 24374else 24375 ac_cv_lib_cdata_libcdata_array_empty=no 24376fi 24377rm -f core conftest.err conftest.$ac_objext \ 24378 conftest$ac_exeext conftest.$ac_ext 24379LIBS=$ac_check_lib_save_LIBS 24380fi 24381{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_empty" >&5 24382$as_echo "$ac_cv_lib_cdata_libcdata_array_empty" >&6; } 24383if test "x$ac_cv_lib_cdata_libcdata_array_empty" = xyes; then : 24384 ac_cv_libcdata_dummy=yes 24385else 24386 ac_cv_libcdata=no 24387fi 24388 24389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_clone in -lcdata" >&5 24390$as_echo_n "checking for libcdata_array_clone in -lcdata... " >&6; } 24391if ${ac_cv_lib_cdata_libcdata_array_clone+:} false; then : 24392 $as_echo_n "(cached) " >&6 24393else 24394 ac_check_lib_save_LIBS=$LIBS 24395LIBS="-lcdata $LIBS" 24396cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24397/* end confdefs.h. */ 24398 24399/* Override any GCC internal prototype to avoid an error. 24400 Use char because int might match the return type of a GCC 24401 builtin and then its argument prototype would still apply. */ 24402#ifdef __cplusplus 24403extern "C" 24404#endif 24405char libcdata_array_clone (); 24406int 24407main () 24408{ 24409return libcdata_array_clone (); 24410 ; 24411 return 0; 24412} 24413_ACEOF 24414if ac_fn_c_try_link "$LINENO"; then : 24415 ac_cv_lib_cdata_libcdata_array_clone=yes 24416else 24417 ac_cv_lib_cdata_libcdata_array_clone=no 24418fi 24419rm -f core conftest.err conftest.$ac_objext \ 24420 conftest$ac_exeext conftest.$ac_ext 24421LIBS=$ac_check_lib_save_LIBS 24422fi 24423{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_clone" >&5 24424$as_echo "$ac_cv_lib_cdata_libcdata_array_clone" >&6; } 24425if test "x$ac_cv_lib_cdata_libcdata_array_clone" = xyes; then : 24426 ac_cv_libcdata_dummy=yes 24427else 24428 ac_cv_libcdata=no 24429fi 24430 24431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_resize in -lcdata" >&5 24432$as_echo_n "checking for libcdata_array_resize in -lcdata... " >&6; } 24433if ${ac_cv_lib_cdata_libcdata_array_resize+:} false; then : 24434 $as_echo_n "(cached) " >&6 24435else 24436 ac_check_lib_save_LIBS=$LIBS 24437LIBS="-lcdata $LIBS" 24438cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24439/* end confdefs.h. */ 24440 24441/* Override any GCC internal prototype to avoid an error. 24442 Use char because int might match the return type of a GCC 24443 builtin and then its argument prototype would still apply. */ 24444#ifdef __cplusplus 24445extern "C" 24446#endif 24447char libcdata_array_resize (); 24448int 24449main () 24450{ 24451return libcdata_array_resize (); 24452 ; 24453 return 0; 24454} 24455_ACEOF 24456if ac_fn_c_try_link "$LINENO"; then : 24457 ac_cv_lib_cdata_libcdata_array_resize=yes 24458else 24459 ac_cv_lib_cdata_libcdata_array_resize=no 24460fi 24461rm -f core conftest.err conftest.$ac_objext \ 24462 conftest$ac_exeext conftest.$ac_ext 24463LIBS=$ac_check_lib_save_LIBS 24464fi 24465{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_resize" >&5 24466$as_echo "$ac_cv_lib_cdata_libcdata_array_resize" >&6; } 24467if test "x$ac_cv_lib_cdata_libcdata_array_resize" = xyes; then : 24468 ac_cv_libcdata_dummy=yes 24469else 24470 ac_cv_libcdata=no 24471fi 24472 24473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_reverse in -lcdata" >&5 24474$as_echo_n "checking for libcdata_array_reverse in -lcdata... " >&6; } 24475if ${ac_cv_lib_cdata_libcdata_array_reverse+:} false; then : 24476 $as_echo_n "(cached) " >&6 24477else 24478 ac_check_lib_save_LIBS=$LIBS 24479LIBS="-lcdata $LIBS" 24480cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24481/* end confdefs.h. */ 24482 24483/* Override any GCC internal prototype to avoid an error. 24484 Use char because int might match the return type of a GCC 24485 builtin and then its argument prototype would still apply. */ 24486#ifdef __cplusplus 24487extern "C" 24488#endif 24489char libcdata_array_reverse (); 24490int 24491main () 24492{ 24493return libcdata_array_reverse (); 24494 ; 24495 return 0; 24496} 24497_ACEOF 24498if ac_fn_c_try_link "$LINENO"; then : 24499 ac_cv_lib_cdata_libcdata_array_reverse=yes 24500else 24501 ac_cv_lib_cdata_libcdata_array_reverse=no 24502fi 24503rm -f core conftest.err conftest.$ac_objext \ 24504 conftest$ac_exeext conftest.$ac_ext 24505LIBS=$ac_check_lib_save_LIBS 24506fi 24507{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_reverse" >&5 24508$as_echo "$ac_cv_lib_cdata_libcdata_array_reverse" >&6; } 24509if test "x$ac_cv_lib_cdata_libcdata_array_reverse" = xyes; then : 24510 ac_cv_libcdata_dummy=yes 24511else 24512 ac_cv_libcdata=no 24513fi 24514 24515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_get_number_of_entries in -lcdata" >&5 24516$as_echo_n "checking for libcdata_array_get_number_of_entries in -lcdata... " >&6; } 24517if ${ac_cv_lib_cdata_libcdata_array_get_number_of_entries+:} false; then : 24518 $as_echo_n "(cached) " >&6 24519else 24520 ac_check_lib_save_LIBS=$LIBS 24521LIBS="-lcdata $LIBS" 24522cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24523/* end confdefs.h. */ 24524 24525/* Override any GCC internal prototype to avoid an error. 24526 Use char because int might match the return type of a GCC 24527 builtin and then its argument prototype would still apply. */ 24528#ifdef __cplusplus 24529extern "C" 24530#endif 24531char libcdata_array_get_number_of_entries (); 24532int 24533main () 24534{ 24535return libcdata_array_get_number_of_entries (); 24536 ; 24537 return 0; 24538} 24539_ACEOF 24540if ac_fn_c_try_link "$LINENO"; then : 24541 ac_cv_lib_cdata_libcdata_array_get_number_of_entries=yes 24542else 24543 ac_cv_lib_cdata_libcdata_array_get_number_of_entries=no 24544fi 24545rm -f core conftest.err conftest.$ac_objext \ 24546 conftest$ac_exeext conftest.$ac_ext 24547LIBS=$ac_check_lib_save_LIBS 24548fi 24549{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_get_number_of_entries" >&5 24550$as_echo "$ac_cv_lib_cdata_libcdata_array_get_number_of_entries" >&6; } 24551if test "x$ac_cv_lib_cdata_libcdata_array_get_number_of_entries" = xyes; then : 24552 ac_cv_libcdata_dummy=yes 24553else 24554 ac_cv_libcdata=no 24555fi 24556 24557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_get_entry_by_index in -lcdata" >&5 24558$as_echo_n "checking for libcdata_array_get_entry_by_index in -lcdata... " >&6; } 24559if ${ac_cv_lib_cdata_libcdata_array_get_entry_by_index+:} false; then : 24560 $as_echo_n "(cached) " >&6 24561else 24562 ac_check_lib_save_LIBS=$LIBS 24563LIBS="-lcdata $LIBS" 24564cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24565/* end confdefs.h. */ 24566 24567/* Override any GCC internal prototype to avoid an error. 24568 Use char because int might match the return type of a GCC 24569 builtin and then its argument prototype would still apply. */ 24570#ifdef __cplusplus 24571extern "C" 24572#endif 24573char libcdata_array_get_entry_by_index (); 24574int 24575main () 24576{ 24577return libcdata_array_get_entry_by_index (); 24578 ; 24579 return 0; 24580} 24581_ACEOF 24582if ac_fn_c_try_link "$LINENO"; then : 24583 ac_cv_lib_cdata_libcdata_array_get_entry_by_index=yes 24584else 24585 ac_cv_lib_cdata_libcdata_array_get_entry_by_index=no 24586fi 24587rm -f core conftest.err conftest.$ac_objext \ 24588 conftest$ac_exeext conftest.$ac_ext 24589LIBS=$ac_check_lib_save_LIBS 24590fi 24591{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_get_entry_by_index" >&5 24592$as_echo "$ac_cv_lib_cdata_libcdata_array_get_entry_by_index" >&6; } 24593if test "x$ac_cv_lib_cdata_libcdata_array_get_entry_by_index" = xyes; then : 24594 ac_cv_libcdata_dummy=yes 24595else 24596 ac_cv_libcdata=no 24597fi 24598 24599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_get_entry_by_value in -lcdata" >&5 24600$as_echo_n "checking for libcdata_array_get_entry_by_value in -lcdata... " >&6; } 24601if ${ac_cv_lib_cdata_libcdata_array_get_entry_by_value+:} false; then : 24602 $as_echo_n "(cached) " >&6 24603else 24604 ac_check_lib_save_LIBS=$LIBS 24605LIBS="-lcdata $LIBS" 24606cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24607/* end confdefs.h. */ 24608 24609/* Override any GCC internal prototype to avoid an error. 24610 Use char because int might match the return type of a GCC 24611 builtin and then its argument prototype would still apply. */ 24612#ifdef __cplusplus 24613extern "C" 24614#endif 24615char libcdata_array_get_entry_by_value (); 24616int 24617main () 24618{ 24619return libcdata_array_get_entry_by_value (); 24620 ; 24621 return 0; 24622} 24623_ACEOF 24624if ac_fn_c_try_link "$LINENO"; then : 24625 ac_cv_lib_cdata_libcdata_array_get_entry_by_value=yes 24626else 24627 ac_cv_lib_cdata_libcdata_array_get_entry_by_value=no 24628fi 24629rm -f core conftest.err conftest.$ac_objext \ 24630 conftest$ac_exeext conftest.$ac_ext 24631LIBS=$ac_check_lib_save_LIBS 24632fi 24633{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_get_entry_by_value" >&5 24634$as_echo "$ac_cv_lib_cdata_libcdata_array_get_entry_by_value" >&6; } 24635if test "x$ac_cv_lib_cdata_libcdata_array_get_entry_by_value" = xyes; then : 24636 ac_cv_libcdata_dummy=yes 24637else 24638 ac_cv_libcdata=no 24639fi 24640 24641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_set_entry_by_index in -lcdata" >&5 24642$as_echo_n "checking for libcdata_array_set_entry_by_index in -lcdata... " >&6; } 24643if ${ac_cv_lib_cdata_libcdata_array_set_entry_by_index+:} false; then : 24644 $as_echo_n "(cached) " >&6 24645else 24646 ac_check_lib_save_LIBS=$LIBS 24647LIBS="-lcdata $LIBS" 24648cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24649/* end confdefs.h. */ 24650 24651/* Override any GCC internal prototype to avoid an error. 24652 Use char because int might match the return type of a GCC 24653 builtin and then its argument prototype would still apply. */ 24654#ifdef __cplusplus 24655extern "C" 24656#endif 24657char libcdata_array_set_entry_by_index (); 24658int 24659main () 24660{ 24661return libcdata_array_set_entry_by_index (); 24662 ; 24663 return 0; 24664} 24665_ACEOF 24666if ac_fn_c_try_link "$LINENO"; then : 24667 ac_cv_lib_cdata_libcdata_array_set_entry_by_index=yes 24668else 24669 ac_cv_lib_cdata_libcdata_array_set_entry_by_index=no 24670fi 24671rm -f core conftest.err conftest.$ac_objext \ 24672 conftest$ac_exeext conftest.$ac_ext 24673LIBS=$ac_check_lib_save_LIBS 24674fi 24675{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_set_entry_by_index" >&5 24676$as_echo "$ac_cv_lib_cdata_libcdata_array_set_entry_by_index" >&6; } 24677if test "x$ac_cv_lib_cdata_libcdata_array_set_entry_by_index" = xyes; then : 24678 ac_cv_libcdata_dummy=yes 24679else 24680 ac_cv_libcdata=no 24681fi 24682 24683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_prepend_entry in -lcdata" >&5 24684$as_echo_n "checking for libcdata_array_prepend_entry in -lcdata... " >&6; } 24685if ${ac_cv_lib_cdata_libcdata_array_prepend_entry+:} false; then : 24686 $as_echo_n "(cached) " >&6 24687else 24688 ac_check_lib_save_LIBS=$LIBS 24689LIBS="-lcdata $LIBS" 24690cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24691/* end confdefs.h. */ 24692 24693/* Override any GCC internal prototype to avoid an error. 24694 Use char because int might match the return type of a GCC 24695 builtin and then its argument prototype would still apply. */ 24696#ifdef __cplusplus 24697extern "C" 24698#endif 24699char libcdata_array_prepend_entry (); 24700int 24701main () 24702{ 24703return libcdata_array_prepend_entry (); 24704 ; 24705 return 0; 24706} 24707_ACEOF 24708if ac_fn_c_try_link "$LINENO"; then : 24709 ac_cv_lib_cdata_libcdata_array_prepend_entry=yes 24710else 24711 ac_cv_lib_cdata_libcdata_array_prepend_entry=no 24712fi 24713rm -f core conftest.err conftest.$ac_objext \ 24714 conftest$ac_exeext conftest.$ac_ext 24715LIBS=$ac_check_lib_save_LIBS 24716fi 24717{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_prepend_entry" >&5 24718$as_echo "$ac_cv_lib_cdata_libcdata_array_prepend_entry" >&6; } 24719if test "x$ac_cv_lib_cdata_libcdata_array_prepend_entry" = xyes; then : 24720 ac_cv_libcdata_dummy=yes 24721else 24722 ac_cv_libcdata=no 24723fi 24724 24725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_append_entry in -lcdata" >&5 24726$as_echo_n "checking for libcdata_array_append_entry in -lcdata... " >&6; } 24727if ${ac_cv_lib_cdata_libcdata_array_append_entry+:} false; then : 24728 $as_echo_n "(cached) " >&6 24729else 24730 ac_check_lib_save_LIBS=$LIBS 24731LIBS="-lcdata $LIBS" 24732cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24733/* end confdefs.h. */ 24734 24735/* Override any GCC internal prototype to avoid an error. 24736 Use char because int might match the return type of a GCC 24737 builtin and then its argument prototype would still apply. */ 24738#ifdef __cplusplus 24739extern "C" 24740#endif 24741char libcdata_array_append_entry (); 24742int 24743main () 24744{ 24745return libcdata_array_append_entry (); 24746 ; 24747 return 0; 24748} 24749_ACEOF 24750if ac_fn_c_try_link "$LINENO"; then : 24751 ac_cv_lib_cdata_libcdata_array_append_entry=yes 24752else 24753 ac_cv_lib_cdata_libcdata_array_append_entry=no 24754fi 24755rm -f core conftest.err conftest.$ac_objext \ 24756 conftest$ac_exeext conftest.$ac_ext 24757LIBS=$ac_check_lib_save_LIBS 24758fi 24759{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_append_entry" >&5 24760$as_echo "$ac_cv_lib_cdata_libcdata_array_append_entry" >&6; } 24761if test "x$ac_cv_lib_cdata_libcdata_array_append_entry" = xyes; then : 24762 ac_cv_libcdata_dummy=yes 24763else 24764 ac_cv_libcdata=no 24765fi 24766 24767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_insert_entry in -lcdata" >&5 24768$as_echo_n "checking for libcdata_array_insert_entry in -lcdata... " >&6; } 24769if ${ac_cv_lib_cdata_libcdata_array_insert_entry+:} false; then : 24770 $as_echo_n "(cached) " >&6 24771else 24772 ac_check_lib_save_LIBS=$LIBS 24773LIBS="-lcdata $LIBS" 24774cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24775/* end confdefs.h. */ 24776 24777/* Override any GCC internal prototype to avoid an error. 24778 Use char because int might match the return type of a GCC 24779 builtin and then its argument prototype would still apply. */ 24780#ifdef __cplusplus 24781extern "C" 24782#endif 24783char libcdata_array_insert_entry (); 24784int 24785main () 24786{ 24787return libcdata_array_insert_entry (); 24788 ; 24789 return 0; 24790} 24791_ACEOF 24792if ac_fn_c_try_link "$LINENO"; then : 24793 ac_cv_lib_cdata_libcdata_array_insert_entry=yes 24794else 24795 ac_cv_lib_cdata_libcdata_array_insert_entry=no 24796fi 24797rm -f core conftest.err conftest.$ac_objext \ 24798 conftest$ac_exeext conftest.$ac_ext 24799LIBS=$ac_check_lib_save_LIBS 24800fi 24801{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_insert_entry" >&5 24802$as_echo "$ac_cv_lib_cdata_libcdata_array_insert_entry" >&6; } 24803if test "x$ac_cv_lib_cdata_libcdata_array_insert_entry" = xyes; then : 24804 ac_cv_libcdata_dummy=yes 24805else 24806 ac_cv_libcdata=no 24807fi 24808 24809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_remove_entry in -lcdata" >&5 24810$as_echo_n "checking for libcdata_array_remove_entry in -lcdata... " >&6; } 24811if ${ac_cv_lib_cdata_libcdata_array_remove_entry+:} false; then : 24812 $as_echo_n "(cached) " >&6 24813else 24814 ac_check_lib_save_LIBS=$LIBS 24815LIBS="-lcdata $LIBS" 24816cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24817/* end confdefs.h. */ 24818 24819/* Override any GCC internal prototype to avoid an error. 24820 Use char because int might match the return type of a GCC 24821 builtin and then its argument prototype would still apply. */ 24822#ifdef __cplusplus 24823extern "C" 24824#endif 24825char libcdata_array_remove_entry (); 24826int 24827main () 24828{ 24829return libcdata_array_remove_entry (); 24830 ; 24831 return 0; 24832} 24833_ACEOF 24834if ac_fn_c_try_link "$LINENO"; then : 24835 ac_cv_lib_cdata_libcdata_array_remove_entry=yes 24836else 24837 ac_cv_lib_cdata_libcdata_array_remove_entry=no 24838fi 24839rm -f core conftest.err conftest.$ac_objext \ 24840 conftest$ac_exeext conftest.$ac_ext 24841LIBS=$ac_check_lib_save_LIBS 24842fi 24843{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_remove_entry" >&5 24844$as_echo "$ac_cv_lib_cdata_libcdata_array_remove_entry" >&6; } 24845if test "x$ac_cv_lib_cdata_libcdata_array_remove_entry" = xyes; then : 24846 ac_cv_libcdata_dummy=yes 24847else 24848 ac_cv_libcdata=no 24849fi 24850 24851 24852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_btree_initialize in -lcdata" >&5 24853$as_echo_n "checking for libfdata_btree_initialize in -lcdata... " >&6; } 24854if ${ac_cv_lib_cdata_libfdata_btree_initialize+:} false; then : 24855 $as_echo_n "(cached) " >&6 24856else 24857 ac_check_lib_save_LIBS=$LIBS 24858LIBS="-lcdata $LIBS" 24859cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24860/* end confdefs.h. */ 24861 24862/* Override any GCC internal prototype to avoid an error. 24863 Use char because int might match the return type of a GCC 24864 builtin and then its argument prototype would still apply. */ 24865#ifdef __cplusplus 24866extern "C" 24867#endif 24868char libfdata_btree_initialize (); 24869int 24870main () 24871{ 24872return libfdata_btree_initialize (); 24873 ; 24874 return 0; 24875} 24876_ACEOF 24877if ac_fn_c_try_link "$LINENO"; then : 24878 ac_cv_lib_cdata_libfdata_btree_initialize=yes 24879else 24880 ac_cv_lib_cdata_libfdata_btree_initialize=no 24881fi 24882rm -f core conftest.err conftest.$ac_objext \ 24883 conftest$ac_exeext conftest.$ac_ext 24884LIBS=$ac_check_lib_save_LIBS 24885fi 24886{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libfdata_btree_initialize" >&5 24887$as_echo "$ac_cv_lib_cdata_libfdata_btree_initialize" >&6; } 24888if test "x$ac_cv_lib_cdata_libfdata_btree_initialize" = xyes; then : 24889 ac_cv_libcdata_dummy=yes 24890else 24891 ac_cv_libcdata=no 24892fi 24893 24894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_btree_free in -lcdata" >&5 24895$as_echo_n "checking for libcdata_btree_free in -lcdata... " >&6; } 24896if ${ac_cv_lib_cdata_libcdata_btree_free+:} false; then : 24897 $as_echo_n "(cached) " >&6 24898else 24899 ac_check_lib_save_LIBS=$LIBS 24900LIBS="-lcdata $LIBS" 24901cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24902/* end confdefs.h. */ 24903 24904/* Override any GCC internal prototype to avoid an error. 24905 Use char because int might match the return type of a GCC 24906 builtin and then its argument prototype would still apply. */ 24907#ifdef __cplusplus 24908extern "C" 24909#endif 24910char libcdata_btree_free (); 24911int 24912main () 24913{ 24914return libcdata_btree_free (); 24915 ; 24916 return 0; 24917} 24918_ACEOF 24919if ac_fn_c_try_link "$LINENO"; then : 24920 ac_cv_lib_cdata_libcdata_btree_free=yes 24921else 24922 ac_cv_lib_cdata_libcdata_btree_free=no 24923fi 24924rm -f core conftest.err conftest.$ac_objext \ 24925 conftest$ac_exeext conftest.$ac_ext 24926LIBS=$ac_check_lib_save_LIBS 24927fi 24928{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_btree_free" >&5 24929$as_echo "$ac_cv_lib_cdata_libcdata_btree_free" >&6; } 24930if test "x$ac_cv_lib_cdata_libcdata_btree_free" = xyes; then : 24931 ac_cv_libcdata_dummy=yes 24932else 24933 ac_cv_libcdata=no 24934fi 24935 24936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_btree_get_number_of_values in -lcdata" >&5 24937$as_echo_n "checking for libcdata_btree_get_number_of_values in -lcdata... " >&6; } 24938if ${ac_cv_lib_cdata_libcdata_btree_get_number_of_values+:} false; then : 24939 $as_echo_n "(cached) " >&6 24940else 24941 ac_check_lib_save_LIBS=$LIBS 24942LIBS="-lcdata $LIBS" 24943cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24944/* end confdefs.h. */ 24945 24946/* Override any GCC internal prototype to avoid an error. 24947 Use char because int might match the return type of a GCC 24948 builtin and then its argument prototype would still apply. */ 24949#ifdef __cplusplus 24950extern "C" 24951#endif 24952char libcdata_btree_get_number_of_values (); 24953int 24954main () 24955{ 24956return libcdata_btree_get_number_of_values (); 24957 ; 24958 return 0; 24959} 24960_ACEOF 24961if ac_fn_c_try_link "$LINENO"; then : 24962 ac_cv_lib_cdata_libcdata_btree_get_number_of_values=yes 24963else 24964 ac_cv_lib_cdata_libcdata_btree_get_number_of_values=no 24965fi 24966rm -f core conftest.err conftest.$ac_objext \ 24967 conftest$ac_exeext conftest.$ac_ext 24968LIBS=$ac_check_lib_save_LIBS 24969fi 24970{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_btree_get_number_of_values" >&5 24971$as_echo "$ac_cv_lib_cdata_libcdata_btree_get_number_of_values" >&6; } 24972if test "x$ac_cv_lib_cdata_libcdata_btree_get_number_of_values" = xyes; then : 24973 ac_cv_libcdata_dummy=yes 24974else 24975 ac_cv_libcdata=no 24976fi 24977 24978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_btree_get_value_by_index in -lcdata" >&5 24979$as_echo_n "checking for libcdata_btree_get_value_by_index in -lcdata... " >&6; } 24980if ${ac_cv_lib_cdata_libcdata_btree_get_value_by_index+:} false; then : 24981 $as_echo_n "(cached) " >&6 24982else 24983 ac_check_lib_save_LIBS=$LIBS 24984LIBS="-lcdata $LIBS" 24985cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24986/* end confdefs.h. */ 24987 24988/* Override any GCC internal prototype to avoid an error. 24989 Use char because int might match the return type of a GCC 24990 builtin and then its argument prototype would still apply. */ 24991#ifdef __cplusplus 24992extern "C" 24993#endif 24994char libcdata_btree_get_value_by_index (); 24995int 24996main () 24997{ 24998return libcdata_btree_get_value_by_index (); 24999 ; 25000 return 0; 25001} 25002_ACEOF 25003if ac_fn_c_try_link "$LINENO"; then : 25004 ac_cv_lib_cdata_libcdata_btree_get_value_by_index=yes 25005else 25006 ac_cv_lib_cdata_libcdata_btree_get_value_by_index=no 25007fi 25008rm -f core conftest.err conftest.$ac_objext \ 25009 conftest$ac_exeext conftest.$ac_ext 25010LIBS=$ac_check_lib_save_LIBS 25011fi 25012{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_btree_get_value_by_index" >&5 25013$as_echo "$ac_cv_lib_cdata_libcdata_btree_get_value_by_index" >&6; } 25014if test "x$ac_cv_lib_cdata_libcdata_btree_get_value_by_index" = xyes; then : 25015 ac_cv_libcdata_dummy=yes 25016else 25017 ac_cv_libcdata=no 25018fi 25019 25020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_btree_get_value_by_value in -lcdata" >&5 25021$as_echo_n "checking for libcdata_btree_get_value_by_value in -lcdata... " >&6; } 25022if ${ac_cv_lib_cdata_libcdata_btree_get_value_by_value+:} false; then : 25023 $as_echo_n "(cached) " >&6 25024else 25025 ac_check_lib_save_LIBS=$LIBS 25026LIBS="-lcdata $LIBS" 25027cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25028/* end confdefs.h. */ 25029 25030/* Override any GCC internal prototype to avoid an error. 25031 Use char because int might match the return type of a GCC 25032 builtin and then its argument prototype would still apply. */ 25033#ifdef __cplusplus 25034extern "C" 25035#endif 25036char libcdata_btree_get_value_by_value (); 25037int 25038main () 25039{ 25040return libcdata_btree_get_value_by_value (); 25041 ; 25042 return 0; 25043} 25044_ACEOF 25045if ac_fn_c_try_link "$LINENO"; then : 25046 ac_cv_lib_cdata_libcdata_btree_get_value_by_value=yes 25047else 25048 ac_cv_lib_cdata_libcdata_btree_get_value_by_value=no 25049fi 25050rm -f core conftest.err conftest.$ac_objext \ 25051 conftest$ac_exeext conftest.$ac_ext 25052LIBS=$ac_check_lib_save_LIBS 25053fi 25054{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_btree_get_value_by_value" >&5 25055$as_echo "$ac_cv_lib_cdata_libcdata_btree_get_value_by_value" >&6; } 25056if test "x$ac_cv_lib_cdata_libcdata_btree_get_value_by_value" = xyes; then : 25057 ac_cv_libcdata_dummy=yes 25058else 25059 ac_cv_libcdata=no 25060fi 25061 25062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_btree_insert_value in -lcdata" >&5 25063$as_echo_n "checking for libcdata_btree_insert_value in -lcdata... " >&6; } 25064if ${ac_cv_lib_cdata_libcdata_btree_insert_value+:} false; then : 25065 $as_echo_n "(cached) " >&6 25066else 25067 ac_check_lib_save_LIBS=$LIBS 25068LIBS="-lcdata $LIBS" 25069cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25070/* end confdefs.h. */ 25071 25072/* Override any GCC internal prototype to avoid an error. 25073 Use char because int might match the return type of a GCC 25074 builtin and then its argument prototype would still apply. */ 25075#ifdef __cplusplus 25076extern "C" 25077#endif 25078char libcdata_btree_insert_value (); 25079int 25080main () 25081{ 25082return libcdata_btree_insert_value (); 25083 ; 25084 return 0; 25085} 25086_ACEOF 25087if ac_fn_c_try_link "$LINENO"; then : 25088 ac_cv_lib_cdata_libcdata_btree_insert_value=yes 25089else 25090 ac_cv_lib_cdata_libcdata_btree_insert_value=no 25091fi 25092rm -f core conftest.err conftest.$ac_objext \ 25093 conftest$ac_exeext conftest.$ac_ext 25094LIBS=$ac_check_lib_save_LIBS 25095fi 25096{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_btree_insert_value" >&5 25097$as_echo "$ac_cv_lib_cdata_libcdata_btree_insert_value" >&6; } 25098if test "x$ac_cv_lib_cdata_libcdata_btree_insert_value" = xyes; then : 25099 ac_cv_libcdata_dummy=yes 25100else 25101 ac_cv_libcdata=no 25102fi 25103 25104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_btree_replace_value in -lcdata" >&5 25105$as_echo_n "checking for libcdata_btree_replace_value in -lcdata... " >&6; } 25106if ${ac_cv_lib_cdata_libcdata_btree_replace_value+:} false; then : 25107 $as_echo_n "(cached) " >&6 25108else 25109 ac_check_lib_save_LIBS=$LIBS 25110LIBS="-lcdata $LIBS" 25111cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25112/* end confdefs.h. */ 25113 25114/* Override any GCC internal prototype to avoid an error. 25115 Use char because int might match the return type of a GCC 25116 builtin and then its argument prototype would still apply. */ 25117#ifdef __cplusplus 25118extern "C" 25119#endif 25120char libcdata_btree_replace_value (); 25121int 25122main () 25123{ 25124return libcdata_btree_replace_value (); 25125 ; 25126 return 0; 25127} 25128_ACEOF 25129if ac_fn_c_try_link "$LINENO"; then : 25130 ac_cv_lib_cdata_libcdata_btree_replace_value=yes 25131else 25132 ac_cv_lib_cdata_libcdata_btree_replace_value=no 25133fi 25134rm -f core conftest.err conftest.$ac_objext \ 25135 conftest$ac_exeext conftest.$ac_ext 25136LIBS=$ac_check_lib_save_LIBS 25137fi 25138{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_btree_replace_value" >&5 25139$as_echo "$ac_cv_lib_cdata_libcdata_btree_replace_value" >&6; } 25140if test "x$ac_cv_lib_cdata_libcdata_btree_replace_value" = xyes; then : 25141 ac_cv_libcdata_dummy=yes 25142else 25143 ac_cv_libcdata=no 25144fi 25145 25146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_btree_remove_value in -lcdata" >&5 25147$as_echo_n "checking for libcdata_btree_remove_value in -lcdata... " >&6; } 25148if ${ac_cv_lib_cdata_libcdata_btree_remove_value+:} false; then : 25149 $as_echo_n "(cached) " >&6 25150else 25151 ac_check_lib_save_LIBS=$LIBS 25152LIBS="-lcdata $LIBS" 25153cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25154/* end confdefs.h. */ 25155 25156/* Override any GCC internal prototype to avoid an error. 25157 Use char because int might match the return type of a GCC 25158 builtin and then its argument prototype would still apply. */ 25159#ifdef __cplusplus 25160extern "C" 25161#endif 25162char libcdata_btree_remove_value (); 25163int 25164main () 25165{ 25166return libcdata_btree_remove_value (); 25167 ; 25168 return 0; 25169} 25170_ACEOF 25171if ac_fn_c_try_link "$LINENO"; then : 25172 ac_cv_lib_cdata_libcdata_btree_remove_value=yes 25173else 25174 ac_cv_lib_cdata_libcdata_btree_remove_value=no 25175fi 25176rm -f core conftest.err conftest.$ac_objext \ 25177 conftest$ac_exeext conftest.$ac_ext 25178LIBS=$ac_check_lib_save_LIBS 25179fi 25180{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_btree_remove_value" >&5 25181$as_echo "$ac_cv_lib_cdata_libcdata_btree_remove_value" >&6; } 25182if test "x$ac_cv_lib_cdata_libcdata_btree_remove_value" = xyes; then : 25183 ac_cv_libcdata_dummy=yes 25184else 25185 ac_cv_libcdata=no 25186fi 25187 25188 25189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_initialize in -lcdata" >&5 25190$as_echo_n "checking for libcdata_list_initialize in -lcdata... " >&6; } 25191if ${ac_cv_lib_cdata_libcdata_list_initialize+:} false; then : 25192 $as_echo_n "(cached) " >&6 25193else 25194 ac_check_lib_save_LIBS=$LIBS 25195LIBS="-lcdata $LIBS" 25196cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25197/* end confdefs.h. */ 25198 25199/* Override any GCC internal prototype to avoid an error. 25200 Use char because int might match the return type of a GCC 25201 builtin and then its argument prototype would still apply. */ 25202#ifdef __cplusplus 25203extern "C" 25204#endif 25205char libcdata_list_initialize (); 25206int 25207main () 25208{ 25209return libcdata_list_initialize (); 25210 ; 25211 return 0; 25212} 25213_ACEOF 25214if ac_fn_c_try_link "$LINENO"; then : 25215 ac_cv_lib_cdata_libcdata_list_initialize=yes 25216else 25217 ac_cv_lib_cdata_libcdata_list_initialize=no 25218fi 25219rm -f core conftest.err conftest.$ac_objext \ 25220 conftest$ac_exeext conftest.$ac_ext 25221LIBS=$ac_check_lib_save_LIBS 25222fi 25223{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_initialize" >&5 25224$as_echo "$ac_cv_lib_cdata_libcdata_list_initialize" >&6; } 25225if test "x$ac_cv_lib_cdata_libcdata_list_initialize" = xyes; then : 25226 ac_cv_libcdata_dummy=yes 25227else 25228 ac_cv_libcdata=no 25229fi 25230 25231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_free in -lcdata" >&5 25232$as_echo_n "checking for libcdata_list_free in -lcdata... " >&6; } 25233if ${ac_cv_lib_cdata_libcdata_list_free+:} false; then : 25234 $as_echo_n "(cached) " >&6 25235else 25236 ac_check_lib_save_LIBS=$LIBS 25237LIBS="-lcdata $LIBS" 25238cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25239/* end confdefs.h. */ 25240 25241/* Override any GCC internal prototype to avoid an error. 25242 Use char because int might match the return type of a GCC 25243 builtin and then its argument prototype would still apply. */ 25244#ifdef __cplusplus 25245extern "C" 25246#endif 25247char libcdata_list_free (); 25248int 25249main () 25250{ 25251return libcdata_list_free (); 25252 ; 25253 return 0; 25254} 25255_ACEOF 25256if ac_fn_c_try_link "$LINENO"; then : 25257 ac_cv_lib_cdata_libcdata_list_free=yes 25258else 25259 ac_cv_lib_cdata_libcdata_list_free=no 25260fi 25261rm -f core conftest.err conftest.$ac_objext \ 25262 conftest$ac_exeext conftest.$ac_ext 25263LIBS=$ac_check_lib_save_LIBS 25264fi 25265{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_free" >&5 25266$as_echo "$ac_cv_lib_cdata_libcdata_list_free" >&6; } 25267if test "x$ac_cv_lib_cdata_libcdata_list_free" = xyes; then : 25268 ac_cv_libcdata_dummy=yes 25269else 25270 ac_cv_libcdata=no 25271fi 25272 25273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_empty in -lcdata" >&5 25274$as_echo_n "checking for libcdata_list_empty in -lcdata... " >&6; } 25275if ${ac_cv_lib_cdata_libcdata_list_empty+:} false; then : 25276 $as_echo_n "(cached) " >&6 25277else 25278 ac_check_lib_save_LIBS=$LIBS 25279LIBS="-lcdata $LIBS" 25280cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25281/* end confdefs.h. */ 25282 25283/* Override any GCC internal prototype to avoid an error. 25284 Use char because int might match the return type of a GCC 25285 builtin and then its argument prototype would still apply. */ 25286#ifdef __cplusplus 25287extern "C" 25288#endif 25289char libcdata_list_empty (); 25290int 25291main () 25292{ 25293return libcdata_list_empty (); 25294 ; 25295 return 0; 25296} 25297_ACEOF 25298if ac_fn_c_try_link "$LINENO"; then : 25299 ac_cv_lib_cdata_libcdata_list_empty=yes 25300else 25301 ac_cv_lib_cdata_libcdata_list_empty=no 25302fi 25303rm -f core conftest.err conftest.$ac_objext \ 25304 conftest$ac_exeext conftest.$ac_ext 25305LIBS=$ac_check_lib_save_LIBS 25306fi 25307{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_empty" >&5 25308$as_echo "$ac_cv_lib_cdata_libcdata_list_empty" >&6; } 25309if test "x$ac_cv_lib_cdata_libcdata_list_empty" = xyes; then : 25310 ac_cv_libcdata_dummy=yes 25311else 25312 ac_cv_libcdata=no 25313fi 25314 25315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_clone in -lcdata" >&5 25316$as_echo_n "checking for libcdata_list_clone in -lcdata... " >&6; } 25317if ${ac_cv_lib_cdata_libcdata_list_clone+:} false; then : 25318 $as_echo_n "(cached) " >&6 25319else 25320 ac_check_lib_save_LIBS=$LIBS 25321LIBS="-lcdata $LIBS" 25322cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25323/* end confdefs.h. */ 25324 25325/* Override any GCC internal prototype to avoid an error. 25326 Use char because int might match the return type of a GCC 25327 builtin and then its argument prototype would still apply. */ 25328#ifdef __cplusplus 25329extern "C" 25330#endif 25331char libcdata_list_clone (); 25332int 25333main () 25334{ 25335return libcdata_list_clone (); 25336 ; 25337 return 0; 25338} 25339_ACEOF 25340if ac_fn_c_try_link "$LINENO"; then : 25341 ac_cv_lib_cdata_libcdata_list_clone=yes 25342else 25343 ac_cv_lib_cdata_libcdata_list_clone=no 25344fi 25345rm -f core conftest.err conftest.$ac_objext \ 25346 conftest$ac_exeext conftest.$ac_ext 25347LIBS=$ac_check_lib_save_LIBS 25348fi 25349{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_clone" >&5 25350$as_echo "$ac_cv_lib_cdata_libcdata_list_clone" >&6; } 25351if test "x$ac_cv_lib_cdata_libcdata_list_clone" = xyes; then : 25352 ac_cv_libcdata_dummy=yes 25353else 25354 ac_cv_libcdata=no 25355fi 25356 25357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_get_number_of_elements in -lcdata" >&5 25358$as_echo_n "checking for libcdata_list_get_number_of_elements in -lcdata... " >&6; } 25359if ${ac_cv_lib_cdata_libcdata_list_get_number_of_elements+:} false; then : 25360 $as_echo_n "(cached) " >&6 25361else 25362 ac_check_lib_save_LIBS=$LIBS 25363LIBS="-lcdata $LIBS" 25364cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25365/* end confdefs.h. */ 25366 25367/* Override any GCC internal prototype to avoid an error. 25368 Use char because int might match the return type of a GCC 25369 builtin and then its argument prototype would still apply. */ 25370#ifdef __cplusplus 25371extern "C" 25372#endif 25373char libcdata_list_get_number_of_elements (); 25374int 25375main () 25376{ 25377return libcdata_list_get_number_of_elements (); 25378 ; 25379 return 0; 25380} 25381_ACEOF 25382if ac_fn_c_try_link "$LINENO"; then : 25383 ac_cv_lib_cdata_libcdata_list_get_number_of_elements=yes 25384else 25385 ac_cv_lib_cdata_libcdata_list_get_number_of_elements=no 25386fi 25387rm -f core conftest.err conftest.$ac_objext \ 25388 conftest$ac_exeext conftest.$ac_ext 25389LIBS=$ac_check_lib_save_LIBS 25390fi 25391{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_get_number_of_elements" >&5 25392$as_echo "$ac_cv_lib_cdata_libcdata_list_get_number_of_elements" >&6; } 25393if test "x$ac_cv_lib_cdata_libcdata_list_get_number_of_elements" = xyes; then : 25394 ac_cv_libcdata_dummy=yes 25395else 25396 ac_cv_libcdata=no 25397fi 25398 25399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_get_first_element in -lcdata" >&5 25400$as_echo_n "checking for libcdata_list_get_first_element in -lcdata... " >&6; } 25401if ${ac_cv_lib_cdata_libcdata_list_get_first_element+:} false; then : 25402 $as_echo_n "(cached) " >&6 25403else 25404 ac_check_lib_save_LIBS=$LIBS 25405LIBS="-lcdata $LIBS" 25406cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25407/* end confdefs.h. */ 25408 25409/* Override any GCC internal prototype to avoid an error. 25410 Use char because int might match the return type of a GCC 25411 builtin and then its argument prototype would still apply. */ 25412#ifdef __cplusplus 25413extern "C" 25414#endif 25415char libcdata_list_get_first_element (); 25416int 25417main () 25418{ 25419return libcdata_list_get_first_element (); 25420 ; 25421 return 0; 25422} 25423_ACEOF 25424if ac_fn_c_try_link "$LINENO"; then : 25425 ac_cv_lib_cdata_libcdata_list_get_first_element=yes 25426else 25427 ac_cv_lib_cdata_libcdata_list_get_first_element=no 25428fi 25429rm -f core conftest.err conftest.$ac_objext \ 25430 conftest$ac_exeext conftest.$ac_ext 25431LIBS=$ac_check_lib_save_LIBS 25432fi 25433{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_get_first_element" >&5 25434$as_echo "$ac_cv_lib_cdata_libcdata_list_get_first_element" >&6; } 25435if test "x$ac_cv_lib_cdata_libcdata_list_get_first_element" = xyes; then : 25436 ac_cv_libcdata_dummy=yes 25437else 25438 ac_cv_libcdata=no 25439fi 25440 25441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_get_last_element in -lcdata" >&5 25442$as_echo_n "checking for libcdata_list_get_last_element in -lcdata... " >&6; } 25443if ${ac_cv_lib_cdata_libcdata_list_get_last_element+:} false; then : 25444 $as_echo_n "(cached) " >&6 25445else 25446 ac_check_lib_save_LIBS=$LIBS 25447LIBS="-lcdata $LIBS" 25448cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25449/* end confdefs.h. */ 25450 25451/* Override any GCC internal prototype to avoid an error. 25452 Use char because int might match the return type of a GCC 25453 builtin and then its argument prototype would still apply. */ 25454#ifdef __cplusplus 25455extern "C" 25456#endif 25457char libcdata_list_get_last_element (); 25458int 25459main () 25460{ 25461return libcdata_list_get_last_element (); 25462 ; 25463 return 0; 25464} 25465_ACEOF 25466if ac_fn_c_try_link "$LINENO"; then : 25467 ac_cv_lib_cdata_libcdata_list_get_last_element=yes 25468else 25469 ac_cv_lib_cdata_libcdata_list_get_last_element=no 25470fi 25471rm -f core conftest.err conftest.$ac_objext \ 25472 conftest$ac_exeext conftest.$ac_ext 25473LIBS=$ac_check_lib_save_LIBS 25474fi 25475{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_get_last_element" >&5 25476$as_echo "$ac_cv_lib_cdata_libcdata_list_get_last_element" >&6; } 25477if test "x$ac_cv_lib_cdata_libcdata_list_get_last_element" = xyes; then : 25478 ac_cv_libcdata_dummy=yes 25479else 25480 ac_cv_libcdata=no 25481fi 25482 25483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_get_element_by_index in -lcdata" >&5 25484$as_echo_n "checking for libcdata_list_get_element_by_index in -lcdata... " >&6; } 25485if ${ac_cv_lib_cdata_libcdata_list_get_element_by_index+:} false; then : 25486 $as_echo_n "(cached) " >&6 25487else 25488 ac_check_lib_save_LIBS=$LIBS 25489LIBS="-lcdata $LIBS" 25490cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25491/* end confdefs.h. */ 25492 25493/* Override any GCC internal prototype to avoid an error. 25494 Use char because int might match the return type of a GCC 25495 builtin and then its argument prototype would still apply. */ 25496#ifdef __cplusplus 25497extern "C" 25498#endif 25499char libcdata_list_get_element_by_index (); 25500int 25501main () 25502{ 25503return libcdata_list_get_element_by_index (); 25504 ; 25505 return 0; 25506} 25507_ACEOF 25508if ac_fn_c_try_link "$LINENO"; then : 25509 ac_cv_lib_cdata_libcdata_list_get_element_by_index=yes 25510else 25511 ac_cv_lib_cdata_libcdata_list_get_element_by_index=no 25512fi 25513rm -f core conftest.err conftest.$ac_objext \ 25514 conftest$ac_exeext conftest.$ac_ext 25515LIBS=$ac_check_lib_save_LIBS 25516fi 25517{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_get_element_by_index" >&5 25518$as_echo "$ac_cv_lib_cdata_libcdata_list_get_element_by_index" >&6; } 25519if test "x$ac_cv_lib_cdata_libcdata_list_get_element_by_index" = xyes; then : 25520 ac_cv_libcdata_dummy=yes 25521else 25522 ac_cv_libcdata=no 25523fi 25524 25525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_get_value_by_index in -lcdata" >&5 25526$as_echo_n "checking for libcdata_list_get_value_by_index in -lcdata... " >&6; } 25527if ${ac_cv_lib_cdata_libcdata_list_get_value_by_index+:} false; then : 25528 $as_echo_n "(cached) " >&6 25529else 25530 ac_check_lib_save_LIBS=$LIBS 25531LIBS="-lcdata $LIBS" 25532cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25533/* end confdefs.h. */ 25534 25535/* Override any GCC internal prototype to avoid an error. 25536 Use char because int might match the return type of a GCC 25537 builtin and then its argument prototype would still apply. */ 25538#ifdef __cplusplus 25539extern "C" 25540#endif 25541char libcdata_list_get_value_by_index (); 25542int 25543main () 25544{ 25545return libcdata_list_get_value_by_index (); 25546 ; 25547 return 0; 25548} 25549_ACEOF 25550if ac_fn_c_try_link "$LINENO"; then : 25551 ac_cv_lib_cdata_libcdata_list_get_value_by_index=yes 25552else 25553 ac_cv_lib_cdata_libcdata_list_get_value_by_index=no 25554fi 25555rm -f core conftest.err conftest.$ac_objext \ 25556 conftest$ac_exeext conftest.$ac_ext 25557LIBS=$ac_check_lib_save_LIBS 25558fi 25559{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_get_value_by_index" >&5 25560$as_echo "$ac_cv_lib_cdata_libcdata_list_get_value_by_index" >&6; } 25561if test "x$ac_cv_lib_cdata_libcdata_list_get_value_by_index" = xyes; then : 25562 ac_cv_libcdata_dummy=yes 25563else 25564 ac_cv_libcdata=no 25565fi 25566 25567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_prepend_element in -lcdata" >&5 25568$as_echo_n "checking for libcdata_list_prepend_element in -lcdata... " >&6; } 25569if ${ac_cv_lib_cdata_libcdata_list_prepend_element+:} false; then : 25570 $as_echo_n "(cached) " >&6 25571else 25572 ac_check_lib_save_LIBS=$LIBS 25573LIBS="-lcdata $LIBS" 25574cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25575/* end confdefs.h. */ 25576 25577/* Override any GCC internal prototype to avoid an error. 25578 Use char because int might match the return type of a GCC 25579 builtin and then its argument prototype would still apply. */ 25580#ifdef __cplusplus 25581extern "C" 25582#endif 25583char libcdata_list_prepend_element (); 25584int 25585main () 25586{ 25587return libcdata_list_prepend_element (); 25588 ; 25589 return 0; 25590} 25591_ACEOF 25592if ac_fn_c_try_link "$LINENO"; then : 25593 ac_cv_lib_cdata_libcdata_list_prepend_element=yes 25594else 25595 ac_cv_lib_cdata_libcdata_list_prepend_element=no 25596fi 25597rm -f core conftest.err conftest.$ac_objext \ 25598 conftest$ac_exeext conftest.$ac_ext 25599LIBS=$ac_check_lib_save_LIBS 25600fi 25601{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_prepend_element" >&5 25602$as_echo "$ac_cv_lib_cdata_libcdata_list_prepend_element" >&6; } 25603if test "x$ac_cv_lib_cdata_libcdata_list_prepend_element" = xyes; then : 25604 ac_cv_libcdata_dummy=yes 25605else 25606 ac_cv_libcdata=no 25607fi 25608 25609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_prepend_value in -lcdata" >&5 25610$as_echo_n "checking for libcdata_list_prepend_value in -lcdata... " >&6; } 25611if ${ac_cv_lib_cdata_libcdata_list_prepend_value+:} false; then : 25612 $as_echo_n "(cached) " >&6 25613else 25614 ac_check_lib_save_LIBS=$LIBS 25615LIBS="-lcdata $LIBS" 25616cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25617/* end confdefs.h. */ 25618 25619/* Override any GCC internal prototype to avoid an error. 25620 Use char because int might match the return type of a GCC 25621 builtin and then its argument prototype would still apply. */ 25622#ifdef __cplusplus 25623extern "C" 25624#endif 25625char libcdata_list_prepend_value (); 25626int 25627main () 25628{ 25629return libcdata_list_prepend_value (); 25630 ; 25631 return 0; 25632} 25633_ACEOF 25634if ac_fn_c_try_link "$LINENO"; then : 25635 ac_cv_lib_cdata_libcdata_list_prepend_value=yes 25636else 25637 ac_cv_lib_cdata_libcdata_list_prepend_value=no 25638fi 25639rm -f core conftest.err conftest.$ac_objext \ 25640 conftest$ac_exeext conftest.$ac_ext 25641LIBS=$ac_check_lib_save_LIBS 25642fi 25643{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_prepend_value" >&5 25644$as_echo "$ac_cv_lib_cdata_libcdata_list_prepend_value" >&6; } 25645if test "x$ac_cv_lib_cdata_libcdata_list_prepend_value" = xyes; then : 25646 ac_cv_libcdata_dummy=yes 25647else 25648 ac_cv_libcdata=no 25649fi 25650 25651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_append_element in -lcdata" >&5 25652$as_echo_n "checking for libcdata_list_append_element in -lcdata... " >&6; } 25653if ${ac_cv_lib_cdata_libcdata_list_append_element+:} false; then : 25654 $as_echo_n "(cached) " >&6 25655else 25656 ac_check_lib_save_LIBS=$LIBS 25657LIBS="-lcdata $LIBS" 25658cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25659/* end confdefs.h. */ 25660 25661/* Override any GCC internal prototype to avoid an error. 25662 Use char because int might match the return type of a GCC 25663 builtin and then its argument prototype would still apply. */ 25664#ifdef __cplusplus 25665extern "C" 25666#endif 25667char libcdata_list_append_element (); 25668int 25669main () 25670{ 25671return libcdata_list_append_element (); 25672 ; 25673 return 0; 25674} 25675_ACEOF 25676if ac_fn_c_try_link "$LINENO"; then : 25677 ac_cv_lib_cdata_libcdata_list_append_element=yes 25678else 25679 ac_cv_lib_cdata_libcdata_list_append_element=no 25680fi 25681rm -f core conftest.err conftest.$ac_objext \ 25682 conftest$ac_exeext conftest.$ac_ext 25683LIBS=$ac_check_lib_save_LIBS 25684fi 25685{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_append_element" >&5 25686$as_echo "$ac_cv_lib_cdata_libcdata_list_append_element" >&6; } 25687if test "x$ac_cv_lib_cdata_libcdata_list_append_element" = xyes; then : 25688 ac_cv_libcdata_dummy=yes 25689else 25690 ac_cv_libcdata=no 25691fi 25692 25693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_append_value in -lcdata" >&5 25694$as_echo_n "checking for libcdata_list_append_value in -lcdata... " >&6; } 25695if ${ac_cv_lib_cdata_libcdata_list_append_value+:} false; then : 25696 $as_echo_n "(cached) " >&6 25697else 25698 ac_check_lib_save_LIBS=$LIBS 25699LIBS="-lcdata $LIBS" 25700cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25701/* end confdefs.h. */ 25702 25703/* Override any GCC internal prototype to avoid an error. 25704 Use char because int might match the return type of a GCC 25705 builtin and then its argument prototype would still apply. */ 25706#ifdef __cplusplus 25707extern "C" 25708#endif 25709char libcdata_list_append_value (); 25710int 25711main () 25712{ 25713return libcdata_list_append_value (); 25714 ; 25715 return 0; 25716} 25717_ACEOF 25718if ac_fn_c_try_link "$LINENO"; then : 25719 ac_cv_lib_cdata_libcdata_list_append_value=yes 25720else 25721 ac_cv_lib_cdata_libcdata_list_append_value=no 25722fi 25723rm -f core conftest.err conftest.$ac_objext \ 25724 conftest$ac_exeext conftest.$ac_ext 25725LIBS=$ac_check_lib_save_LIBS 25726fi 25727{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_append_value" >&5 25728$as_echo "$ac_cv_lib_cdata_libcdata_list_append_value" >&6; } 25729if test "x$ac_cv_lib_cdata_libcdata_list_append_value" = xyes; then : 25730 ac_cv_libcdata_dummy=yes 25731else 25732 ac_cv_libcdata=no 25733fi 25734 25735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_insert_element in -lcdata" >&5 25736$as_echo_n "checking for libcdata_list_insert_element in -lcdata... " >&6; } 25737if ${ac_cv_lib_cdata_libcdata_list_insert_element+:} false; then : 25738 $as_echo_n "(cached) " >&6 25739else 25740 ac_check_lib_save_LIBS=$LIBS 25741LIBS="-lcdata $LIBS" 25742cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25743/* end confdefs.h. */ 25744 25745/* Override any GCC internal prototype to avoid an error. 25746 Use char because int might match the return type of a GCC 25747 builtin and then its argument prototype would still apply. */ 25748#ifdef __cplusplus 25749extern "C" 25750#endif 25751char libcdata_list_insert_element (); 25752int 25753main () 25754{ 25755return libcdata_list_insert_element (); 25756 ; 25757 return 0; 25758} 25759_ACEOF 25760if ac_fn_c_try_link "$LINENO"; then : 25761 ac_cv_lib_cdata_libcdata_list_insert_element=yes 25762else 25763 ac_cv_lib_cdata_libcdata_list_insert_element=no 25764fi 25765rm -f core conftest.err conftest.$ac_objext \ 25766 conftest$ac_exeext conftest.$ac_ext 25767LIBS=$ac_check_lib_save_LIBS 25768fi 25769{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_insert_element" >&5 25770$as_echo "$ac_cv_lib_cdata_libcdata_list_insert_element" >&6; } 25771if test "x$ac_cv_lib_cdata_libcdata_list_insert_element" = xyes; then : 25772 ac_cv_libcdata_dummy=yes 25773else 25774 ac_cv_libcdata=no 25775fi 25776 25777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_insert_value in -lcdata" >&5 25778$as_echo_n "checking for libcdata_list_insert_value in -lcdata... " >&6; } 25779if ${ac_cv_lib_cdata_libcdata_list_insert_value+:} false; then : 25780 $as_echo_n "(cached) " >&6 25781else 25782 ac_check_lib_save_LIBS=$LIBS 25783LIBS="-lcdata $LIBS" 25784cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25785/* end confdefs.h. */ 25786 25787/* Override any GCC internal prototype to avoid an error. 25788 Use char because int might match the return type of a GCC 25789 builtin and then its argument prototype would still apply. */ 25790#ifdef __cplusplus 25791extern "C" 25792#endif 25793char libcdata_list_insert_value (); 25794int 25795main () 25796{ 25797return libcdata_list_insert_value (); 25798 ; 25799 return 0; 25800} 25801_ACEOF 25802if ac_fn_c_try_link "$LINENO"; then : 25803 ac_cv_lib_cdata_libcdata_list_insert_value=yes 25804else 25805 ac_cv_lib_cdata_libcdata_list_insert_value=no 25806fi 25807rm -f core conftest.err conftest.$ac_objext \ 25808 conftest$ac_exeext conftest.$ac_ext 25809LIBS=$ac_check_lib_save_LIBS 25810fi 25811{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_insert_value" >&5 25812$as_echo "$ac_cv_lib_cdata_libcdata_list_insert_value" >&6; } 25813if test "x$ac_cv_lib_cdata_libcdata_list_insert_value" = xyes; then : 25814 ac_cv_libcdata_dummy=yes 25815else 25816 ac_cv_libcdata=no 25817fi 25818 25819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_remove_element in -lcdata" >&5 25820$as_echo_n "checking for libcdata_list_remove_element in -lcdata... " >&6; } 25821if ${ac_cv_lib_cdata_libcdata_list_remove_element+:} false; then : 25822 $as_echo_n "(cached) " >&6 25823else 25824 ac_check_lib_save_LIBS=$LIBS 25825LIBS="-lcdata $LIBS" 25826cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25827/* end confdefs.h. */ 25828 25829/* Override any GCC internal prototype to avoid an error. 25830 Use char because int might match the return type of a GCC 25831 builtin and then its argument prototype would still apply. */ 25832#ifdef __cplusplus 25833extern "C" 25834#endif 25835char libcdata_list_remove_element (); 25836int 25837main () 25838{ 25839return libcdata_list_remove_element (); 25840 ; 25841 return 0; 25842} 25843_ACEOF 25844if ac_fn_c_try_link "$LINENO"; then : 25845 ac_cv_lib_cdata_libcdata_list_remove_element=yes 25846else 25847 ac_cv_lib_cdata_libcdata_list_remove_element=no 25848fi 25849rm -f core conftest.err conftest.$ac_objext \ 25850 conftest$ac_exeext conftest.$ac_ext 25851LIBS=$ac_check_lib_save_LIBS 25852fi 25853{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_remove_element" >&5 25854$as_echo "$ac_cv_lib_cdata_libcdata_list_remove_element" >&6; } 25855if test "x$ac_cv_lib_cdata_libcdata_list_remove_element" = xyes; then : 25856 ac_cv_libcdata_dummy=yes 25857else 25858 ac_cv_libcdata=no 25859fi 25860 25861 25862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_initialize in -lcdata" >&5 25863$as_echo_n "checking for libcdata_list_element_initialize in -lcdata... " >&6; } 25864if ${ac_cv_lib_cdata_libcdata_list_element_initialize+:} false; then : 25865 $as_echo_n "(cached) " >&6 25866else 25867 ac_check_lib_save_LIBS=$LIBS 25868LIBS="-lcdata $LIBS" 25869cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25870/* end confdefs.h. */ 25871 25872/* Override any GCC internal prototype to avoid an error. 25873 Use char because int might match the return type of a GCC 25874 builtin and then its argument prototype would still apply. */ 25875#ifdef __cplusplus 25876extern "C" 25877#endif 25878char libcdata_list_element_initialize (); 25879int 25880main () 25881{ 25882return libcdata_list_element_initialize (); 25883 ; 25884 return 0; 25885} 25886_ACEOF 25887if ac_fn_c_try_link "$LINENO"; then : 25888 ac_cv_lib_cdata_libcdata_list_element_initialize=yes 25889else 25890 ac_cv_lib_cdata_libcdata_list_element_initialize=no 25891fi 25892rm -f core conftest.err conftest.$ac_objext \ 25893 conftest$ac_exeext conftest.$ac_ext 25894LIBS=$ac_check_lib_save_LIBS 25895fi 25896{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_initialize" >&5 25897$as_echo "$ac_cv_lib_cdata_libcdata_list_element_initialize" >&6; } 25898if test "x$ac_cv_lib_cdata_libcdata_list_element_initialize" = xyes; then : 25899 ac_cv_libcdata_dummy=yes 25900else 25901 ac_cv_libcdata=no 25902fi 25903 25904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_free in -lcdata" >&5 25905$as_echo_n "checking for libcdata_list_element_free in -lcdata... " >&6; } 25906if ${ac_cv_lib_cdata_libcdata_list_element_free+:} false; then : 25907 $as_echo_n "(cached) " >&6 25908else 25909 ac_check_lib_save_LIBS=$LIBS 25910LIBS="-lcdata $LIBS" 25911cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25912/* end confdefs.h. */ 25913 25914/* Override any GCC internal prototype to avoid an error. 25915 Use char because int might match the return type of a GCC 25916 builtin and then its argument prototype would still apply. */ 25917#ifdef __cplusplus 25918extern "C" 25919#endif 25920char libcdata_list_element_free (); 25921int 25922main () 25923{ 25924return libcdata_list_element_free (); 25925 ; 25926 return 0; 25927} 25928_ACEOF 25929if ac_fn_c_try_link "$LINENO"; then : 25930 ac_cv_lib_cdata_libcdata_list_element_free=yes 25931else 25932 ac_cv_lib_cdata_libcdata_list_element_free=no 25933fi 25934rm -f core conftest.err conftest.$ac_objext \ 25935 conftest$ac_exeext conftest.$ac_ext 25936LIBS=$ac_check_lib_save_LIBS 25937fi 25938{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_free" >&5 25939$as_echo "$ac_cv_lib_cdata_libcdata_list_element_free" >&6; } 25940if test "x$ac_cv_lib_cdata_libcdata_list_element_free" = xyes; then : 25941 ac_cv_libcdata_dummy=yes 25942else 25943 ac_cv_libcdata=no 25944fi 25945 25946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_get_value in -lcdata" >&5 25947$as_echo_n "checking for libcdata_list_element_get_value in -lcdata... " >&6; } 25948if ${ac_cv_lib_cdata_libcdata_list_element_get_value+:} false; then : 25949 $as_echo_n "(cached) " >&6 25950else 25951 ac_check_lib_save_LIBS=$LIBS 25952LIBS="-lcdata $LIBS" 25953cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25954/* end confdefs.h. */ 25955 25956/* Override any GCC internal prototype to avoid an error. 25957 Use char because int might match the return type of a GCC 25958 builtin and then its argument prototype would still apply. */ 25959#ifdef __cplusplus 25960extern "C" 25961#endif 25962char libcdata_list_element_get_value (); 25963int 25964main () 25965{ 25966return libcdata_list_element_get_value (); 25967 ; 25968 return 0; 25969} 25970_ACEOF 25971if ac_fn_c_try_link "$LINENO"; then : 25972 ac_cv_lib_cdata_libcdata_list_element_get_value=yes 25973else 25974 ac_cv_lib_cdata_libcdata_list_element_get_value=no 25975fi 25976rm -f core conftest.err conftest.$ac_objext \ 25977 conftest$ac_exeext conftest.$ac_ext 25978LIBS=$ac_check_lib_save_LIBS 25979fi 25980{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_get_value" >&5 25981$as_echo "$ac_cv_lib_cdata_libcdata_list_element_get_value" >&6; } 25982if test "x$ac_cv_lib_cdata_libcdata_list_element_get_value" = xyes; then : 25983 ac_cv_libcdata_dummy=yes 25984else 25985 ac_cv_libcdata=no 25986fi 25987 25988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_set_value in -lcdata" >&5 25989$as_echo_n "checking for libcdata_list_element_set_value in -lcdata... " >&6; } 25990if ${ac_cv_lib_cdata_libcdata_list_element_set_value+:} false; then : 25991 $as_echo_n "(cached) " >&6 25992else 25993 ac_check_lib_save_LIBS=$LIBS 25994LIBS="-lcdata $LIBS" 25995cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25996/* end confdefs.h. */ 25997 25998/* Override any GCC internal prototype to avoid an error. 25999 Use char because int might match the return type of a GCC 26000 builtin and then its argument prototype would still apply. */ 26001#ifdef __cplusplus 26002extern "C" 26003#endif 26004char libcdata_list_element_set_value (); 26005int 26006main () 26007{ 26008return libcdata_list_element_set_value (); 26009 ; 26010 return 0; 26011} 26012_ACEOF 26013if ac_fn_c_try_link "$LINENO"; then : 26014 ac_cv_lib_cdata_libcdata_list_element_set_value=yes 26015else 26016 ac_cv_lib_cdata_libcdata_list_element_set_value=no 26017fi 26018rm -f core conftest.err conftest.$ac_objext \ 26019 conftest$ac_exeext conftest.$ac_ext 26020LIBS=$ac_check_lib_save_LIBS 26021fi 26022{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_set_value" >&5 26023$as_echo "$ac_cv_lib_cdata_libcdata_list_element_set_value" >&6; } 26024if test "x$ac_cv_lib_cdata_libcdata_list_element_set_value" = xyes; then : 26025 ac_cv_libcdata_dummy=yes 26026else 26027 ac_cv_libcdata=no 26028fi 26029 26030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_get_previous_element in -lcdata" >&5 26031$as_echo_n "checking for libcdata_list_element_get_previous_element in -lcdata... " >&6; } 26032if ${ac_cv_lib_cdata_libcdata_list_element_get_previous_element+:} false; then : 26033 $as_echo_n "(cached) " >&6 26034else 26035 ac_check_lib_save_LIBS=$LIBS 26036LIBS="-lcdata $LIBS" 26037cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26038/* end confdefs.h. */ 26039 26040/* Override any GCC internal prototype to avoid an error. 26041 Use char because int might match the return type of a GCC 26042 builtin and then its argument prototype would still apply. */ 26043#ifdef __cplusplus 26044extern "C" 26045#endif 26046char libcdata_list_element_get_previous_element (); 26047int 26048main () 26049{ 26050return libcdata_list_element_get_previous_element (); 26051 ; 26052 return 0; 26053} 26054_ACEOF 26055if ac_fn_c_try_link "$LINENO"; then : 26056 ac_cv_lib_cdata_libcdata_list_element_get_previous_element=yes 26057else 26058 ac_cv_lib_cdata_libcdata_list_element_get_previous_element=no 26059fi 26060rm -f core conftest.err conftest.$ac_objext \ 26061 conftest$ac_exeext conftest.$ac_ext 26062LIBS=$ac_check_lib_save_LIBS 26063fi 26064{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_get_previous_element" >&5 26065$as_echo "$ac_cv_lib_cdata_libcdata_list_element_get_previous_element" >&6; } 26066if test "x$ac_cv_lib_cdata_libcdata_list_element_get_previous_element" = xyes; then : 26067 ac_cv_libcdata_dummy=yes 26068else 26069 ac_cv_libcdata=no 26070fi 26071 26072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_set_previous_element in -lcdata" >&5 26073$as_echo_n "checking for libcdata_list_element_set_previous_element in -lcdata... " >&6; } 26074if ${ac_cv_lib_cdata_libcdata_list_element_set_previous_element+:} false; then : 26075 $as_echo_n "(cached) " >&6 26076else 26077 ac_check_lib_save_LIBS=$LIBS 26078LIBS="-lcdata $LIBS" 26079cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26080/* end confdefs.h. */ 26081 26082/* Override any GCC internal prototype to avoid an error. 26083 Use char because int might match the return type of a GCC 26084 builtin and then its argument prototype would still apply. */ 26085#ifdef __cplusplus 26086extern "C" 26087#endif 26088char libcdata_list_element_set_previous_element (); 26089int 26090main () 26091{ 26092return libcdata_list_element_set_previous_element (); 26093 ; 26094 return 0; 26095} 26096_ACEOF 26097if ac_fn_c_try_link "$LINENO"; then : 26098 ac_cv_lib_cdata_libcdata_list_element_set_previous_element=yes 26099else 26100 ac_cv_lib_cdata_libcdata_list_element_set_previous_element=no 26101fi 26102rm -f core conftest.err conftest.$ac_objext \ 26103 conftest$ac_exeext conftest.$ac_ext 26104LIBS=$ac_check_lib_save_LIBS 26105fi 26106{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_set_previous_element" >&5 26107$as_echo "$ac_cv_lib_cdata_libcdata_list_element_set_previous_element" >&6; } 26108if test "x$ac_cv_lib_cdata_libcdata_list_element_set_previous_element" = xyes; then : 26109 ac_cv_libcdata_dummy=yes 26110else 26111 ac_cv_libcdata=no 26112fi 26113 26114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_get_next_element in -lcdata" >&5 26115$as_echo_n "checking for libcdata_list_element_get_next_element in -lcdata... " >&6; } 26116if ${ac_cv_lib_cdata_libcdata_list_element_get_next_element+:} false; then : 26117 $as_echo_n "(cached) " >&6 26118else 26119 ac_check_lib_save_LIBS=$LIBS 26120LIBS="-lcdata $LIBS" 26121cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26122/* end confdefs.h. */ 26123 26124/* Override any GCC internal prototype to avoid an error. 26125 Use char because int might match the return type of a GCC 26126 builtin and then its argument prototype would still apply. */ 26127#ifdef __cplusplus 26128extern "C" 26129#endif 26130char libcdata_list_element_get_next_element (); 26131int 26132main () 26133{ 26134return libcdata_list_element_get_next_element (); 26135 ; 26136 return 0; 26137} 26138_ACEOF 26139if ac_fn_c_try_link "$LINENO"; then : 26140 ac_cv_lib_cdata_libcdata_list_element_get_next_element=yes 26141else 26142 ac_cv_lib_cdata_libcdata_list_element_get_next_element=no 26143fi 26144rm -f core conftest.err conftest.$ac_objext \ 26145 conftest$ac_exeext conftest.$ac_ext 26146LIBS=$ac_check_lib_save_LIBS 26147fi 26148{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_get_next_element" >&5 26149$as_echo "$ac_cv_lib_cdata_libcdata_list_element_get_next_element" >&6; } 26150if test "x$ac_cv_lib_cdata_libcdata_list_element_get_next_element" = xyes; then : 26151 ac_cv_libcdata_dummy=yes 26152else 26153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_set_next_element in -lcdata" >&5 26154$as_echo_n "checking for libcdata_list_element_set_next_element in -lcdata... " >&6; } 26155if ${ac_cv_lib_cdata_libcdata_list_element_set_next_element+:} false; then : 26156 $as_echo_n "(cached) " >&6 26157else 26158 ac_check_lib_save_LIBS=$LIBS 26159LIBS="-lcdata $LIBS" 26160cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26161/* end confdefs.h. */ 26162 26163/* Override any GCC internal prototype to avoid an error. 26164 Use char because int might match the return type of a GCC 26165 builtin and then its argument prototype would still apply. */ 26166#ifdef __cplusplus 26167extern "C" 26168#endif 26169char libcdata_list_element_set_next_element (); 26170int 26171main () 26172{ 26173return libcdata_list_element_set_next_element (); 26174 ; 26175 return 0; 26176} 26177_ACEOF 26178if ac_fn_c_try_link "$LINENO"; then : 26179 ac_cv_lib_cdata_libcdata_list_element_set_next_element=yes 26180else 26181 ac_cv_lib_cdata_libcdata_list_element_set_next_element=no 26182fi 26183rm -f core conftest.err conftest.$ac_objext \ 26184 conftest$ac_exeext conftest.$ac_ext 26185LIBS=$ac_check_lib_save_LIBS 26186fi 26187{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_set_next_element" >&5 26188$as_echo "$ac_cv_lib_cdata_libcdata_list_element_set_next_element" >&6; } 26189if test "x$ac_cv_lib_cdata_libcdata_list_element_set_next_element" = xyes; then : 26190 ac_cv_libcdata_dummy=yes 26191else 26192 ac_cv_libcdata=no 26193fi 26194 26195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_get_elements in -lcdata" >&5 26196$as_echo_n "checking for libcdata_list_element_get_elements in -lcdata... " >&6; } 26197if ${ac_cv_lib_cdata_libcdata_list_element_get_elements+:} false; then : 26198 $as_echo_n "(cached) " >&6 26199else 26200 ac_check_lib_save_LIBS=$LIBS 26201LIBS="-lcdata $LIBS" 26202cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26203/* end confdefs.h. */ 26204 26205/* Override any GCC internal prototype to avoid an error. 26206 Use char because int might match the return type of a GCC 26207 builtin and then its argument prototype would still apply. */ 26208#ifdef __cplusplus 26209extern "C" 26210#endif 26211char libcdata_list_element_get_elements (); 26212int 26213main () 26214{ 26215return libcdata_list_element_get_elements (); 26216 ; 26217 return 0; 26218} 26219_ACEOF 26220if ac_fn_c_try_link "$LINENO"; then : 26221 ac_cv_lib_cdata_libcdata_list_element_get_elements=yes 26222else 26223 ac_cv_lib_cdata_libcdata_list_element_get_elements=no 26224fi 26225rm -f core conftest.err conftest.$ac_objext \ 26226 conftest$ac_exeext conftest.$ac_ext 26227LIBS=$ac_check_lib_save_LIBS 26228fi 26229{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_get_elements" >&5 26230$as_echo "$ac_cv_lib_cdata_libcdata_list_element_get_elements" >&6; } 26231if test "x$ac_cv_lib_cdata_libcdata_list_element_get_elements" = xyes; then : 26232 ac_cv_libcdata_dummy=yes 26233else 26234 ac_cv_libcdata=no 26235fi 26236 26237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_set_elements in -lcdata" >&5 26238$as_echo_n "checking for libcdata_list_element_set_elements in -lcdata... " >&6; } 26239if ${ac_cv_lib_cdata_libcdata_list_element_set_elements+:} false; then : 26240 $as_echo_n "(cached) " >&6 26241else 26242 ac_check_lib_save_LIBS=$LIBS 26243LIBS="-lcdata $LIBS" 26244cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26245/* end confdefs.h. */ 26246 26247/* Override any GCC internal prototype to avoid an error. 26248 Use char because int might match the return type of a GCC 26249 builtin and then its argument prototype would still apply. */ 26250#ifdef __cplusplus 26251extern "C" 26252#endif 26253char libcdata_list_element_set_elements (); 26254int 26255main () 26256{ 26257return libcdata_list_element_set_elements (); 26258 ; 26259 return 0; 26260} 26261_ACEOF 26262if ac_fn_c_try_link "$LINENO"; then : 26263 ac_cv_lib_cdata_libcdata_list_element_set_elements=yes 26264else 26265 ac_cv_lib_cdata_libcdata_list_element_set_elements=no 26266fi 26267rm -f core conftest.err conftest.$ac_objext \ 26268 conftest$ac_exeext conftest.$ac_ext 26269LIBS=$ac_check_lib_save_LIBS 26270fi 26271{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_set_elements" >&5 26272$as_echo "$ac_cv_lib_cdata_libcdata_list_element_set_elements" >&6; } 26273if test "x$ac_cv_lib_cdata_libcdata_list_element_set_elements" = xyes; then : 26274 ac_cv_libcdata_dummy=yes 26275else 26276 ac_cv_libcdata=no 26277fi 26278 26279 ac_cv_libcdata=no 26280fi 26281 26282 26283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_initialize in -lcdata" >&5 26284$as_echo_n "checking for libcdata_range_list_initialize in -lcdata... " >&6; } 26285if ${ac_cv_lib_cdata_libcdata_range_list_initialize+:} false; then : 26286 $as_echo_n "(cached) " >&6 26287else 26288 ac_check_lib_save_LIBS=$LIBS 26289LIBS="-lcdata $LIBS" 26290cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26291/* end confdefs.h. */ 26292 26293/* Override any GCC internal prototype to avoid an error. 26294 Use char because int might match the return type of a GCC 26295 builtin and then its argument prototype would still apply. */ 26296#ifdef __cplusplus 26297extern "C" 26298#endif 26299char libcdata_range_list_initialize (); 26300int 26301main () 26302{ 26303return libcdata_range_list_initialize (); 26304 ; 26305 return 0; 26306} 26307_ACEOF 26308if ac_fn_c_try_link "$LINENO"; then : 26309 ac_cv_lib_cdata_libcdata_range_list_initialize=yes 26310else 26311 ac_cv_lib_cdata_libcdata_range_list_initialize=no 26312fi 26313rm -f core conftest.err conftest.$ac_objext \ 26314 conftest$ac_exeext conftest.$ac_ext 26315LIBS=$ac_check_lib_save_LIBS 26316fi 26317{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_initialize" >&5 26318$as_echo "$ac_cv_lib_cdata_libcdata_range_list_initialize" >&6; } 26319if test "x$ac_cv_lib_cdata_libcdata_range_list_initialize" = xyes; then : 26320 ac_cv_libcdata_dummy=yes 26321else 26322 ac_cv_libcdata=no 26323fi 26324 26325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_free in -lcdata" >&5 26326$as_echo_n "checking for libcdata_range_list_free in -lcdata... " >&6; } 26327if ${ac_cv_lib_cdata_libcdata_range_list_free+:} false; then : 26328 $as_echo_n "(cached) " >&6 26329else 26330 ac_check_lib_save_LIBS=$LIBS 26331LIBS="-lcdata $LIBS" 26332cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26333/* end confdefs.h. */ 26334 26335/* Override any GCC internal prototype to avoid an error. 26336 Use char because int might match the return type of a GCC 26337 builtin and then its argument prototype would still apply. */ 26338#ifdef __cplusplus 26339extern "C" 26340#endif 26341char libcdata_range_list_free (); 26342int 26343main () 26344{ 26345return libcdata_range_list_free (); 26346 ; 26347 return 0; 26348} 26349_ACEOF 26350if ac_fn_c_try_link "$LINENO"; then : 26351 ac_cv_lib_cdata_libcdata_range_list_free=yes 26352else 26353 ac_cv_lib_cdata_libcdata_range_list_free=no 26354fi 26355rm -f core conftest.err conftest.$ac_objext \ 26356 conftest$ac_exeext conftest.$ac_ext 26357LIBS=$ac_check_lib_save_LIBS 26358fi 26359{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_free" >&5 26360$as_echo "$ac_cv_lib_cdata_libcdata_range_list_free" >&6; } 26361if test "x$ac_cv_lib_cdata_libcdata_range_list_free" = xyes; then : 26362 ac_cv_libcdata_dummy=yes 26363else 26364 ac_cv_libcdata=no 26365fi 26366 26367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_empty in -lcdata" >&5 26368$as_echo_n "checking for libcdata_range_list_empty in -lcdata... " >&6; } 26369if ${ac_cv_lib_cdata_libcdata_range_list_empty+:} false; then : 26370 $as_echo_n "(cached) " >&6 26371else 26372 ac_check_lib_save_LIBS=$LIBS 26373LIBS="-lcdata $LIBS" 26374cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26375/* end confdefs.h. */ 26376 26377/* Override any GCC internal prototype to avoid an error. 26378 Use char because int might match the return type of a GCC 26379 builtin and then its argument prototype would still apply. */ 26380#ifdef __cplusplus 26381extern "C" 26382#endif 26383char libcdata_range_list_empty (); 26384int 26385main () 26386{ 26387return libcdata_range_list_empty (); 26388 ; 26389 return 0; 26390} 26391_ACEOF 26392if ac_fn_c_try_link "$LINENO"; then : 26393 ac_cv_lib_cdata_libcdata_range_list_empty=yes 26394else 26395 ac_cv_lib_cdata_libcdata_range_list_empty=no 26396fi 26397rm -f core conftest.err conftest.$ac_objext \ 26398 conftest$ac_exeext conftest.$ac_ext 26399LIBS=$ac_check_lib_save_LIBS 26400fi 26401{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_empty" >&5 26402$as_echo "$ac_cv_lib_cdata_libcdata_range_list_empty" >&6; } 26403if test "x$ac_cv_lib_cdata_libcdata_range_list_empty" = xyes; then : 26404 ac_cv_libcdata_dummy=yes 26405else 26406 ac_cv_libcdata=no 26407fi 26408 26409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_clone in -lcdata" >&5 26410$as_echo_n "checking for libcdata_range_list_clone in -lcdata... " >&6; } 26411if ${ac_cv_lib_cdata_libcdata_range_list_clone+:} false; then : 26412 $as_echo_n "(cached) " >&6 26413else 26414 ac_check_lib_save_LIBS=$LIBS 26415LIBS="-lcdata $LIBS" 26416cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26417/* end confdefs.h. */ 26418 26419/* Override any GCC internal prototype to avoid an error. 26420 Use char because int might match the return type of a GCC 26421 builtin and then its argument prototype would still apply. */ 26422#ifdef __cplusplus 26423extern "C" 26424#endif 26425char libcdata_range_list_clone (); 26426int 26427main () 26428{ 26429return libcdata_range_list_clone (); 26430 ; 26431 return 0; 26432} 26433_ACEOF 26434if ac_fn_c_try_link "$LINENO"; then : 26435 ac_cv_lib_cdata_libcdata_range_list_clone=yes 26436else 26437 ac_cv_lib_cdata_libcdata_range_list_clone=no 26438fi 26439rm -f core conftest.err conftest.$ac_objext \ 26440 conftest$ac_exeext conftest.$ac_ext 26441LIBS=$ac_check_lib_save_LIBS 26442fi 26443{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_clone" >&5 26444$as_echo "$ac_cv_lib_cdata_libcdata_range_list_clone" >&6; } 26445if test "x$ac_cv_lib_cdata_libcdata_range_list_clone" = xyes; then : 26446 ac_cv_libcdata_dummy=yes 26447else 26448 ac_cv_libcdata=no 26449fi 26450 26451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_get_number_of_elements in -lcdata" >&5 26452$as_echo_n "checking for libcdata_range_list_get_number_of_elements in -lcdata... " >&6; } 26453if ${ac_cv_lib_cdata_libcdata_range_list_get_number_of_elements+:} false; then : 26454 $as_echo_n "(cached) " >&6 26455else 26456 ac_check_lib_save_LIBS=$LIBS 26457LIBS="-lcdata $LIBS" 26458cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26459/* end confdefs.h. */ 26460 26461/* Override any GCC internal prototype to avoid an error. 26462 Use char because int might match the return type of a GCC 26463 builtin and then its argument prototype would still apply. */ 26464#ifdef __cplusplus 26465extern "C" 26466#endif 26467char libcdata_range_list_get_number_of_elements (); 26468int 26469main () 26470{ 26471return libcdata_range_list_get_number_of_elements (); 26472 ; 26473 return 0; 26474} 26475_ACEOF 26476if ac_fn_c_try_link "$LINENO"; then : 26477 ac_cv_lib_cdata_libcdata_range_list_get_number_of_elements=yes 26478else 26479 ac_cv_lib_cdata_libcdata_range_list_get_number_of_elements=no 26480fi 26481rm -f core conftest.err conftest.$ac_objext \ 26482 conftest$ac_exeext conftest.$ac_ext 26483LIBS=$ac_check_lib_save_LIBS 26484fi 26485{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_get_number_of_elements" >&5 26486$as_echo "$ac_cv_lib_cdata_libcdata_range_list_get_number_of_elements" >&6; } 26487if test "x$ac_cv_lib_cdata_libcdata_range_list_get_number_of_elements" = xyes; then : 26488 ac_cv_libcdata_dummy=yes 26489else 26490 ac_cv_libcdata=no 26491fi 26492 26493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_insert_range in -lcdata" >&5 26494$as_echo_n "checking for libcdata_range_list_insert_range in -lcdata... " >&6; } 26495if ${ac_cv_lib_cdata_libcdata_range_list_insert_range+:} false; then : 26496 $as_echo_n "(cached) " >&6 26497else 26498 ac_check_lib_save_LIBS=$LIBS 26499LIBS="-lcdata $LIBS" 26500cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26501/* end confdefs.h. */ 26502 26503/* Override any GCC internal prototype to avoid an error. 26504 Use char because int might match the return type of a GCC 26505 builtin and then its argument prototype would still apply. */ 26506#ifdef __cplusplus 26507extern "C" 26508#endif 26509char libcdata_range_list_insert_range (); 26510int 26511main () 26512{ 26513return libcdata_range_list_insert_range (); 26514 ; 26515 return 0; 26516} 26517_ACEOF 26518if ac_fn_c_try_link "$LINENO"; then : 26519 ac_cv_lib_cdata_libcdata_range_list_insert_range=yes 26520else 26521 ac_cv_lib_cdata_libcdata_range_list_insert_range=no 26522fi 26523rm -f core conftest.err conftest.$ac_objext \ 26524 conftest$ac_exeext conftest.$ac_ext 26525LIBS=$ac_check_lib_save_LIBS 26526fi 26527{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_insert_range" >&5 26528$as_echo "$ac_cv_lib_cdata_libcdata_range_list_insert_range" >&6; } 26529if test "x$ac_cv_lib_cdata_libcdata_range_list_insert_range" = xyes; then : 26530 ac_cv_libcdata_dummy=yes 26531else 26532 ac_cv_libcdata=no 26533fi 26534 26535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_insert_range_list in -lcdata" >&5 26536$as_echo_n "checking for libcdata_range_list_insert_range_list in -lcdata... " >&6; } 26537if ${ac_cv_lib_cdata_libcdata_range_list_insert_range_list+:} false; then : 26538 $as_echo_n "(cached) " >&6 26539else 26540 ac_check_lib_save_LIBS=$LIBS 26541LIBS="-lcdata $LIBS" 26542cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26543/* end confdefs.h. */ 26544 26545/* Override any GCC internal prototype to avoid an error. 26546 Use char because int might match the return type of a GCC 26547 builtin and then its argument prototype would still apply. */ 26548#ifdef __cplusplus 26549extern "C" 26550#endif 26551char libcdata_range_list_insert_range_list (); 26552int 26553main () 26554{ 26555return libcdata_range_list_insert_range_list (); 26556 ; 26557 return 0; 26558} 26559_ACEOF 26560if ac_fn_c_try_link "$LINENO"; then : 26561 ac_cv_lib_cdata_libcdata_range_list_insert_range_list=yes 26562else 26563 ac_cv_lib_cdata_libcdata_range_list_insert_range_list=no 26564fi 26565rm -f core conftest.err conftest.$ac_objext \ 26566 conftest$ac_exeext conftest.$ac_ext 26567LIBS=$ac_check_lib_save_LIBS 26568fi 26569{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_insert_range_list" >&5 26570$as_echo "$ac_cv_lib_cdata_libcdata_range_list_insert_range_list" >&6; } 26571if test "x$ac_cv_lib_cdata_libcdata_range_list_insert_range_list" = xyes; then : 26572 ac_cv_libcdata_dummy=yes 26573else 26574 ac_cv_libcdata=no 26575fi 26576 26577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_remove_range in -lcdata" >&5 26578$as_echo_n "checking for libcdata_range_list_remove_range in -lcdata... " >&6; } 26579if ${ac_cv_lib_cdata_libcdata_range_list_remove_range+:} false; then : 26580 $as_echo_n "(cached) " >&6 26581else 26582 ac_check_lib_save_LIBS=$LIBS 26583LIBS="-lcdata $LIBS" 26584cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26585/* end confdefs.h. */ 26586 26587/* Override any GCC internal prototype to avoid an error. 26588 Use char because int might match the return type of a GCC 26589 builtin and then its argument prototype would still apply. */ 26590#ifdef __cplusplus 26591extern "C" 26592#endif 26593char libcdata_range_list_remove_range (); 26594int 26595main () 26596{ 26597return libcdata_range_list_remove_range (); 26598 ; 26599 return 0; 26600} 26601_ACEOF 26602if ac_fn_c_try_link "$LINENO"; then : 26603 ac_cv_lib_cdata_libcdata_range_list_remove_range=yes 26604else 26605 ac_cv_lib_cdata_libcdata_range_list_remove_range=no 26606fi 26607rm -f core conftest.err conftest.$ac_objext \ 26608 conftest$ac_exeext conftest.$ac_ext 26609LIBS=$ac_check_lib_save_LIBS 26610fi 26611{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_remove_range" >&5 26612$as_echo "$ac_cv_lib_cdata_libcdata_range_list_remove_range" >&6; } 26613if test "x$ac_cv_lib_cdata_libcdata_range_list_remove_range" = xyes; then : 26614 ac_cv_libcdata_dummy=yes 26615else 26616 ac_cv_libcdata=no 26617fi 26618 26619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_get_range_by_index in -lcdata" >&5 26620$as_echo_n "checking for libcdata_range_list_get_range_by_index in -lcdata... " >&6; } 26621if ${ac_cv_lib_cdata_libcdata_range_list_get_range_by_index+:} false; then : 26622 $as_echo_n "(cached) " >&6 26623else 26624 ac_check_lib_save_LIBS=$LIBS 26625LIBS="-lcdata $LIBS" 26626cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26627/* end confdefs.h. */ 26628 26629/* Override any GCC internal prototype to avoid an error. 26630 Use char because int might match the return type of a GCC 26631 builtin and then its argument prototype would still apply. */ 26632#ifdef __cplusplus 26633extern "C" 26634#endif 26635char libcdata_range_list_get_range_by_index (); 26636int 26637main () 26638{ 26639return libcdata_range_list_get_range_by_index (); 26640 ; 26641 return 0; 26642} 26643_ACEOF 26644if ac_fn_c_try_link "$LINENO"; then : 26645 ac_cv_lib_cdata_libcdata_range_list_get_range_by_index=yes 26646else 26647 ac_cv_lib_cdata_libcdata_range_list_get_range_by_index=no 26648fi 26649rm -f core conftest.err conftest.$ac_objext \ 26650 conftest$ac_exeext conftest.$ac_ext 26651LIBS=$ac_check_lib_save_LIBS 26652fi 26653{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_get_range_by_index" >&5 26654$as_echo "$ac_cv_lib_cdata_libcdata_range_list_get_range_by_index" >&6; } 26655if test "x$ac_cv_lib_cdata_libcdata_range_list_get_range_by_index" = xyes; then : 26656 ac_cv_libcdata_dummy=yes 26657else 26658 ac_cv_libcdata=no 26659fi 26660 26661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_get_range_at_offset in -lcdata" >&5 26662$as_echo_n "checking for libcdata_range_list_get_range_at_offset in -lcdata... " >&6; } 26663if ${ac_cv_lib_cdata_libcdata_range_list_get_range_at_offset+:} false; then : 26664 $as_echo_n "(cached) " >&6 26665else 26666 ac_check_lib_save_LIBS=$LIBS 26667LIBS="-lcdata $LIBS" 26668cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26669/* end confdefs.h. */ 26670 26671/* Override any GCC internal prototype to avoid an error. 26672 Use char because int might match the return type of a GCC 26673 builtin and then its argument prototype would still apply. */ 26674#ifdef __cplusplus 26675extern "C" 26676#endif 26677char libcdata_range_list_get_range_at_offset (); 26678int 26679main () 26680{ 26681return libcdata_range_list_get_range_at_offset (); 26682 ; 26683 return 0; 26684} 26685_ACEOF 26686if ac_fn_c_try_link "$LINENO"; then : 26687 ac_cv_lib_cdata_libcdata_range_list_get_range_at_offset=yes 26688else 26689 ac_cv_lib_cdata_libcdata_range_list_get_range_at_offset=no 26690fi 26691rm -f core conftest.err conftest.$ac_objext \ 26692 conftest$ac_exeext conftest.$ac_ext 26693LIBS=$ac_check_lib_save_LIBS 26694fi 26695{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_get_range_at_offset" >&5 26696$as_echo "$ac_cv_lib_cdata_libcdata_range_list_get_range_at_offset" >&6; } 26697if test "x$ac_cv_lib_cdata_libcdata_range_list_get_range_at_offset" = xyes; then : 26698 ac_cv_libcdata_dummy=yes 26699else 26700 ac_cv_libcdata=no 26701fi 26702 26703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_range_is_present in -lcdata" >&5 26704$as_echo_n "checking for libcdata_range_list_range_is_present in -lcdata... " >&6; } 26705if ${ac_cv_lib_cdata_libcdata_range_list_range_is_present+:} false; then : 26706 $as_echo_n "(cached) " >&6 26707else 26708 ac_check_lib_save_LIBS=$LIBS 26709LIBS="-lcdata $LIBS" 26710cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26711/* end confdefs.h. */ 26712 26713/* Override any GCC internal prototype to avoid an error. 26714 Use char because int might match the return type of a GCC 26715 builtin and then its argument prototype would still apply. */ 26716#ifdef __cplusplus 26717extern "C" 26718#endif 26719char libcdata_range_list_range_is_present (); 26720int 26721main () 26722{ 26723return libcdata_range_list_range_is_present (); 26724 ; 26725 return 0; 26726} 26727_ACEOF 26728if ac_fn_c_try_link "$LINENO"; then : 26729 ac_cv_lib_cdata_libcdata_range_list_range_is_present=yes 26730else 26731 ac_cv_lib_cdata_libcdata_range_list_range_is_present=no 26732fi 26733rm -f core conftest.err conftest.$ac_objext \ 26734 conftest$ac_exeext conftest.$ac_ext 26735LIBS=$ac_check_lib_save_LIBS 26736fi 26737{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_range_is_present" >&5 26738$as_echo "$ac_cv_lib_cdata_libcdata_range_list_range_is_present" >&6; } 26739if test "x$ac_cv_lib_cdata_libcdata_range_list_range_is_present" = xyes; then : 26740 ac_cv_libcdata_dummy=yes 26741else 26742 ac_cv_libcdata=no 26743fi 26744 26745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_get_spanning_range in -lcdata" >&5 26746$as_echo_n "checking for libcdata_range_list_get_spanning_range in -lcdata... " >&6; } 26747if ${ac_cv_lib_cdata_libcdata_range_list_get_spanning_range+:} false; then : 26748 $as_echo_n "(cached) " >&6 26749else 26750 ac_check_lib_save_LIBS=$LIBS 26751LIBS="-lcdata $LIBS" 26752cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26753/* end confdefs.h. */ 26754 26755/* Override any GCC internal prototype to avoid an error. 26756 Use char because int might match the return type of a GCC 26757 builtin and then its argument prototype would still apply. */ 26758#ifdef __cplusplus 26759extern "C" 26760#endif 26761char libcdata_range_list_get_spanning_range (); 26762int 26763main () 26764{ 26765return libcdata_range_list_get_spanning_range (); 26766 ; 26767 return 0; 26768} 26769_ACEOF 26770if ac_fn_c_try_link "$LINENO"; then : 26771 ac_cv_lib_cdata_libcdata_range_list_get_spanning_range=yes 26772else 26773 ac_cv_lib_cdata_libcdata_range_list_get_spanning_range=no 26774fi 26775rm -f core conftest.err conftest.$ac_objext \ 26776 conftest$ac_exeext conftest.$ac_ext 26777LIBS=$ac_check_lib_save_LIBS 26778fi 26779{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_get_spanning_range" >&5 26780$as_echo "$ac_cv_lib_cdata_libcdata_range_list_get_spanning_range" >&6; } 26781if test "x$ac_cv_lib_cdata_libcdata_range_list_get_spanning_range" = xyes; then : 26782 ac_cv_libcdata_dummy=yes 26783else 26784 ac_cv_libcdata=no 26785fi 26786 26787 26788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_initialize in -lcdata" >&5 26789$as_echo_n "checking for libcdata_tree_node_initialize in -lcdata... " >&6; } 26790if ${ac_cv_lib_cdata_libcdata_tree_node_initialize+:} false; then : 26791 $as_echo_n "(cached) " >&6 26792else 26793 ac_check_lib_save_LIBS=$LIBS 26794LIBS="-lcdata $LIBS" 26795cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26796/* end confdefs.h. */ 26797 26798/* Override any GCC internal prototype to avoid an error. 26799 Use char because int might match the return type of a GCC 26800 builtin and then its argument prototype would still apply. */ 26801#ifdef __cplusplus 26802extern "C" 26803#endif 26804char libcdata_tree_node_initialize (); 26805int 26806main () 26807{ 26808return libcdata_tree_node_initialize (); 26809 ; 26810 return 0; 26811} 26812_ACEOF 26813if ac_fn_c_try_link "$LINENO"; then : 26814 ac_cv_lib_cdata_libcdata_tree_node_initialize=yes 26815else 26816 ac_cv_lib_cdata_libcdata_tree_node_initialize=no 26817fi 26818rm -f core conftest.err conftest.$ac_objext \ 26819 conftest$ac_exeext conftest.$ac_ext 26820LIBS=$ac_check_lib_save_LIBS 26821fi 26822{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_initialize" >&5 26823$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_initialize" >&6; } 26824if test "x$ac_cv_lib_cdata_libcdata_tree_node_initialize" = xyes; then : 26825 ac_cv_libcdata_dummy=yes 26826else 26827 ac_cv_libcdata=no 26828fi 26829 26830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_free in -lcdata" >&5 26831$as_echo_n "checking for libcdata_tree_node_free in -lcdata... " >&6; } 26832if ${ac_cv_lib_cdata_libcdata_tree_node_free+:} false; then : 26833 $as_echo_n "(cached) " >&6 26834else 26835 ac_check_lib_save_LIBS=$LIBS 26836LIBS="-lcdata $LIBS" 26837cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26838/* end confdefs.h. */ 26839 26840/* Override any GCC internal prototype to avoid an error. 26841 Use char because int might match the return type of a GCC 26842 builtin and then its argument prototype would still apply. */ 26843#ifdef __cplusplus 26844extern "C" 26845#endif 26846char libcdata_tree_node_free (); 26847int 26848main () 26849{ 26850return libcdata_tree_node_free (); 26851 ; 26852 return 0; 26853} 26854_ACEOF 26855if ac_fn_c_try_link "$LINENO"; then : 26856 ac_cv_lib_cdata_libcdata_tree_node_free=yes 26857else 26858 ac_cv_lib_cdata_libcdata_tree_node_free=no 26859fi 26860rm -f core conftest.err conftest.$ac_objext \ 26861 conftest$ac_exeext conftest.$ac_ext 26862LIBS=$ac_check_lib_save_LIBS 26863fi 26864{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_free" >&5 26865$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_free" >&6; } 26866if test "x$ac_cv_lib_cdata_libcdata_tree_node_free" = xyes; then : 26867 ac_cv_libcdata_dummy=yes 26868else 26869 ac_cv_libcdata=no 26870fi 26871 26872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_empty in -lcdata" >&5 26873$as_echo_n "checking for libcdata_tree_node_empty in -lcdata... " >&6; } 26874if ${ac_cv_lib_cdata_libcdata_tree_node_empty+:} false; then : 26875 $as_echo_n "(cached) " >&6 26876else 26877 ac_check_lib_save_LIBS=$LIBS 26878LIBS="-lcdata $LIBS" 26879cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26880/* end confdefs.h. */ 26881 26882/* Override any GCC internal prototype to avoid an error. 26883 Use char because int might match the return type of a GCC 26884 builtin and then its argument prototype would still apply. */ 26885#ifdef __cplusplus 26886extern "C" 26887#endif 26888char libcdata_tree_node_empty (); 26889int 26890main () 26891{ 26892return libcdata_tree_node_empty (); 26893 ; 26894 return 0; 26895} 26896_ACEOF 26897if ac_fn_c_try_link "$LINENO"; then : 26898 ac_cv_lib_cdata_libcdata_tree_node_empty=yes 26899else 26900 ac_cv_lib_cdata_libcdata_tree_node_empty=no 26901fi 26902rm -f core conftest.err conftest.$ac_objext \ 26903 conftest$ac_exeext conftest.$ac_ext 26904LIBS=$ac_check_lib_save_LIBS 26905fi 26906{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_empty" >&5 26907$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_empty" >&6; } 26908if test "x$ac_cv_lib_cdata_libcdata_tree_node_empty" = xyes; then : 26909 ac_cv_libcdata_dummy=yes 26910else 26911 ac_cv_libcdata=no 26912fi 26913 26914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_clone in -lcdata" >&5 26915$as_echo_n "checking for libcdata_tree_node_clone in -lcdata... " >&6; } 26916if ${ac_cv_lib_cdata_libcdata_tree_node_clone+:} false; then : 26917 $as_echo_n "(cached) " >&6 26918else 26919 ac_check_lib_save_LIBS=$LIBS 26920LIBS="-lcdata $LIBS" 26921cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26922/* end confdefs.h. */ 26923 26924/* Override any GCC internal prototype to avoid an error. 26925 Use char because int might match the return type of a GCC 26926 builtin and then its argument prototype would still apply. */ 26927#ifdef __cplusplus 26928extern "C" 26929#endif 26930char libcdata_tree_node_clone (); 26931int 26932main () 26933{ 26934return libcdata_tree_node_clone (); 26935 ; 26936 return 0; 26937} 26938_ACEOF 26939if ac_fn_c_try_link "$LINENO"; then : 26940 ac_cv_lib_cdata_libcdata_tree_node_clone=yes 26941else 26942 ac_cv_lib_cdata_libcdata_tree_node_clone=no 26943fi 26944rm -f core conftest.err conftest.$ac_objext \ 26945 conftest$ac_exeext conftest.$ac_ext 26946LIBS=$ac_check_lib_save_LIBS 26947fi 26948{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_clone" >&5 26949$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_clone" >&6; } 26950if test "x$ac_cv_lib_cdata_libcdata_tree_node_clone" = xyes; then : 26951 ac_cv_libcdata_dummy=yes 26952else 26953 ac_cv_libcdata=no 26954fi 26955 26956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_value in -lcdata" >&5 26957$as_echo_n "checking for libcdata_tree_node_get_value in -lcdata... " >&6; } 26958if ${ac_cv_lib_cdata_libcdata_tree_node_get_value+:} false; then : 26959 $as_echo_n "(cached) " >&6 26960else 26961 ac_check_lib_save_LIBS=$LIBS 26962LIBS="-lcdata $LIBS" 26963cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26964/* end confdefs.h. */ 26965 26966/* Override any GCC internal prototype to avoid an error. 26967 Use char because int might match the return type of a GCC 26968 builtin and then its argument prototype would still apply. */ 26969#ifdef __cplusplus 26970extern "C" 26971#endif 26972char libcdata_tree_node_get_value (); 26973int 26974main () 26975{ 26976return libcdata_tree_node_get_value (); 26977 ; 26978 return 0; 26979} 26980_ACEOF 26981if ac_fn_c_try_link "$LINENO"; then : 26982 ac_cv_lib_cdata_libcdata_tree_node_get_value=yes 26983else 26984 ac_cv_lib_cdata_libcdata_tree_node_get_value=no 26985fi 26986rm -f core conftest.err conftest.$ac_objext \ 26987 conftest$ac_exeext conftest.$ac_ext 26988LIBS=$ac_check_lib_save_LIBS 26989fi 26990{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_value" >&5 26991$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_value" >&6; } 26992if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_value" = xyes; then : 26993 ac_cv_libcdata_dummy=yes 26994else 26995 ac_cv_libcdata=no 26996fi 26997 26998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_set_value in -lcdata" >&5 26999$as_echo_n "checking for libcdata_tree_node_set_value in -lcdata... " >&6; } 27000if ${ac_cv_lib_cdata_libcdata_tree_node_set_value+:} false; then : 27001 $as_echo_n "(cached) " >&6 27002else 27003 ac_check_lib_save_LIBS=$LIBS 27004LIBS="-lcdata $LIBS" 27005cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27006/* end confdefs.h. */ 27007 27008/* Override any GCC internal prototype to avoid an error. 27009 Use char because int might match the return type of a GCC 27010 builtin and then its argument prototype would still apply. */ 27011#ifdef __cplusplus 27012extern "C" 27013#endif 27014char libcdata_tree_node_set_value (); 27015int 27016main () 27017{ 27018return libcdata_tree_node_set_value (); 27019 ; 27020 return 0; 27021} 27022_ACEOF 27023if ac_fn_c_try_link "$LINENO"; then : 27024 ac_cv_lib_cdata_libcdata_tree_node_set_value=yes 27025else 27026 ac_cv_lib_cdata_libcdata_tree_node_set_value=no 27027fi 27028rm -f core conftest.err conftest.$ac_objext \ 27029 conftest$ac_exeext conftest.$ac_ext 27030LIBS=$ac_check_lib_save_LIBS 27031fi 27032{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_set_value" >&5 27033$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_set_value" >&6; } 27034if test "x$ac_cv_lib_cdata_libcdata_tree_node_set_value" = xyes; then : 27035 ac_cv_libcdata_dummy=yes 27036else 27037 ac_cv_libcdata=no 27038fi 27039 27040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_parent_node in -lcdata" >&5 27041$as_echo_n "checking for libcdata_tree_node_get_parent_node in -lcdata... " >&6; } 27042if ${ac_cv_lib_cdata_libcdata_tree_node_get_parent_node+:} false; then : 27043 $as_echo_n "(cached) " >&6 27044else 27045 ac_check_lib_save_LIBS=$LIBS 27046LIBS="-lcdata $LIBS" 27047cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27048/* end confdefs.h. */ 27049 27050/* Override any GCC internal prototype to avoid an error. 27051 Use char because int might match the return type of a GCC 27052 builtin and then its argument prototype would still apply. */ 27053#ifdef __cplusplus 27054extern "C" 27055#endif 27056char libcdata_tree_node_get_parent_node (); 27057int 27058main () 27059{ 27060return libcdata_tree_node_get_parent_node (); 27061 ; 27062 return 0; 27063} 27064_ACEOF 27065if ac_fn_c_try_link "$LINENO"; then : 27066 ac_cv_lib_cdata_libcdata_tree_node_get_parent_node=yes 27067else 27068 ac_cv_lib_cdata_libcdata_tree_node_get_parent_node=no 27069fi 27070rm -f core conftest.err conftest.$ac_objext \ 27071 conftest$ac_exeext conftest.$ac_ext 27072LIBS=$ac_check_lib_save_LIBS 27073fi 27074{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_parent_node" >&5 27075$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_parent_node" >&6; } 27076if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_parent_node" = xyes; then : 27077 ac_cv_libcdata_dummy=yes 27078else 27079 ac_cv_libcdata=no 27080fi 27081 27082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_set_parent_node in -lcdata" >&5 27083$as_echo_n "checking for libcdata_tree_node_set_parent_node in -lcdata... " >&6; } 27084if ${ac_cv_lib_cdata_libcdata_tree_node_set_parent_node+:} false; then : 27085 $as_echo_n "(cached) " >&6 27086else 27087 ac_check_lib_save_LIBS=$LIBS 27088LIBS="-lcdata $LIBS" 27089cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27090/* end confdefs.h. */ 27091 27092/* Override any GCC internal prototype to avoid an error. 27093 Use char because int might match the return type of a GCC 27094 builtin and then its argument prototype would still apply. */ 27095#ifdef __cplusplus 27096extern "C" 27097#endif 27098char libcdata_tree_node_set_parent_node (); 27099int 27100main () 27101{ 27102return libcdata_tree_node_set_parent_node (); 27103 ; 27104 return 0; 27105} 27106_ACEOF 27107if ac_fn_c_try_link "$LINENO"; then : 27108 ac_cv_lib_cdata_libcdata_tree_node_set_parent_node=yes 27109else 27110 ac_cv_lib_cdata_libcdata_tree_node_set_parent_node=no 27111fi 27112rm -f core conftest.err conftest.$ac_objext \ 27113 conftest$ac_exeext conftest.$ac_ext 27114LIBS=$ac_check_lib_save_LIBS 27115fi 27116{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_set_parent_node" >&5 27117$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_set_parent_node" >&6; } 27118if test "x$ac_cv_lib_cdata_libcdata_tree_node_set_parent_node" = xyes; then : 27119 ac_cv_libcdata_dummy=yes 27120else 27121 ac_cv_libcdata=no 27122fi 27123 27124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_previous_node in -lcdata" >&5 27125$as_echo_n "checking for libcdata_tree_node_get_previous_node in -lcdata... " >&6; } 27126if ${ac_cv_lib_cdata_libcdata_tree_node_get_previous_node+:} false; then : 27127 $as_echo_n "(cached) " >&6 27128else 27129 ac_check_lib_save_LIBS=$LIBS 27130LIBS="-lcdata $LIBS" 27131cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27132/* end confdefs.h. */ 27133 27134/* Override any GCC internal prototype to avoid an error. 27135 Use char because int might match the return type of a GCC 27136 builtin and then its argument prototype would still apply. */ 27137#ifdef __cplusplus 27138extern "C" 27139#endif 27140char libcdata_tree_node_get_previous_node (); 27141int 27142main () 27143{ 27144return libcdata_tree_node_get_previous_node (); 27145 ; 27146 return 0; 27147} 27148_ACEOF 27149if ac_fn_c_try_link "$LINENO"; then : 27150 ac_cv_lib_cdata_libcdata_tree_node_get_previous_node=yes 27151else 27152 ac_cv_lib_cdata_libcdata_tree_node_get_previous_node=no 27153fi 27154rm -f core conftest.err conftest.$ac_objext \ 27155 conftest$ac_exeext conftest.$ac_ext 27156LIBS=$ac_check_lib_save_LIBS 27157fi 27158{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_previous_node" >&5 27159$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_previous_node" >&6; } 27160if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_previous_node" = xyes; then : 27161 ac_cv_libcdata_dummy=yes 27162else 27163 ac_cv_libcdata=no 27164fi 27165 27166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_set_previous_node in -lcdata" >&5 27167$as_echo_n "checking for libcdata_tree_node_set_previous_node in -lcdata... " >&6; } 27168if ${ac_cv_lib_cdata_libcdata_tree_node_set_previous_node+:} false; then : 27169 $as_echo_n "(cached) " >&6 27170else 27171 ac_check_lib_save_LIBS=$LIBS 27172LIBS="-lcdata $LIBS" 27173cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27174/* end confdefs.h. */ 27175 27176/* Override any GCC internal prototype to avoid an error. 27177 Use char because int might match the return type of a GCC 27178 builtin and then its argument prototype would still apply. */ 27179#ifdef __cplusplus 27180extern "C" 27181#endif 27182char libcdata_tree_node_set_previous_node (); 27183int 27184main () 27185{ 27186return libcdata_tree_node_set_previous_node (); 27187 ; 27188 return 0; 27189} 27190_ACEOF 27191if ac_fn_c_try_link "$LINENO"; then : 27192 ac_cv_lib_cdata_libcdata_tree_node_set_previous_node=yes 27193else 27194 ac_cv_lib_cdata_libcdata_tree_node_set_previous_node=no 27195fi 27196rm -f core conftest.err conftest.$ac_objext \ 27197 conftest$ac_exeext conftest.$ac_ext 27198LIBS=$ac_check_lib_save_LIBS 27199fi 27200{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_set_previous_node" >&5 27201$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_set_previous_node" >&6; } 27202if test "x$ac_cv_lib_cdata_libcdata_tree_node_set_previous_node" = xyes; then : 27203 ac_cv_libcdata_dummy=yes 27204else 27205 ac_cv_libcdata=no 27206fi 27207 27208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_next_node in -lcdata" >&5 27209$as_echo_n "checking for libcdata_tree_node_get_next_node in -lcdata... " >&6; } 27210if ${ac_cv_lib_cdata_libcdata_tree_node_get_next_node+:} false; then : 27211 $as_echo_n "(cached) " >&6 27212else 27213 ac_check_lib_save_LIBS=$LIBS 27214LIBS="-lcdata $LIBS" 27215cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27216/* end confdefs.h. */ 27217 27218/* Override any GCC internal prototype to avoid an error. 27219 Use char because int might match the return type of a GCC 27220 builtin and then its argument prototype would still apply. */ 27221#ifdef __cplusplus 27222extern "C" 27223#endif 27224char libcdata_tree_node_get_next_node (); 27225int 27226main () 27227{ 27228return libcdata_tree_node_get_next_node (); 27229 ; 27230 return 0; 27231} 27232_ACEOF 27233if ac_fn_c_try_link "$LINENO"; then : 27234 ac_cv_lib_cdata_libcdata_tree_node_get_next_node=yes 27235else 27236 ac_cv_lib_cdata_libcdata_tree_node_get_next_node=no 27237fi 27238rm -f core conftest.err conftest.$ac_objext \ 27239 conftest$ac_exeext conftest.$ac_ext 27240LIBS=$ac_check_lib_save_LIBS 27241fi 27242{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_next_node" >&5 27243$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_next_node" >&6; } 27244if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_next_node" = xyes; then : 27245 ac_cv_libcdata_dummy=yes 27246else 27247 ac_cv_libcdata=no 27248fi 27249 27250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_set_next_node in -lcdata" >&5 27251$as_echo_n "checking for libcdata_tree_node_set_next_node in -lcdata... " >&6; } 27252if ${ac_cv_lib_cdata_libcdata_tree_node_set_next_node+:} false; then : 27253 $as_echo_n "(cached) " >&6 27254else 27255 ac_check_lib_save_LIBS=$LIBS 27256LIBS="-lcdata $LIBS" 27257cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27258/* end confdefs.h. */ 27259 27260/* Override any GCC internal prototype to avoid an error. 27261 Use char because int might match the return type of a GCC 27262 builtin and then its argument prototype would still apply. */ 27263#ifdef __cplusplus 27264extern "C" 27265#endif 27266char libcdata_tree_node_set_next_node (); 27267int 27268main () 27269{ 27270return libcdata_tree_node_set_next_node (); 27271 ; 27272 return 0; 27273} 27274_ACEOF 27275if ac_fn_c_try_link "$LINENO"; then : 27276 ac_cv_lib_cdata_libcdata_tree_node_set_next_node=yes 27277else 27278 ac_cv_lib_cdata_libcdata_tree_node_set_next_node=no 27279fi 27280rm -f core conftest.err conftest.$ac_objext \ 27281 conftest$ac_exeext conftest.$ac_ext 27282LIBS=$ac_check_lib_save_LIBS 27283fi 27284{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_set_next_node" >&5 27285$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_set_next_node" >&6; } 27286if test "x$ac_cv_lib_cdata_libcdata_tree_node_set_next_node" = xyes; then : 27287 ac_cv_libcdata_dummy=yes 27288else 27289 ac_cv_libcdata=no 27290fi 27291 27292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_nodes in -lcdata" >&5 27293$as_echo_n "checking for libcdata_tree_node_get_nodes in -lcdata... " >&6; } 27294if ${ac_cv_lib_cdata_libcdata_tree_node_get_nodes+:} false; then : 27295 $as_echo_n "(cached) " >&6 27296else 27297 ac_check_lib_save_LIBS=$LIBS 27298LIBS="-lcdata $LIBS" 27299cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27300/* end confdefs.h. */ 27301 27302/* Override any GCC internal prototype to avoid an error. 27303 Use char because int might match the return type of a GCC 27304 builtin and then its argument prototype would still apply. */ 27305#ifdef __cplusplus 27306extern "C" 27307#endif 27308char libcdata_tree_node_get_nodes (); 27309int 27310main () 27311{ 27312return libcdata_tree_node_get_nodes (); 27313 ; 27314 return 0; 27315} 27316_ACEOF 27317if ac_fn_c_try_link "$LINENO"; then : 27318 ac_cv_lib_cdata_libcdata_tree_node_get_nodes=yes 27319else 27320 ac_cv_lib_cdata_libcdata_tree_node_get_nodes=no 27321fi 27322rm -f core conftest.err conftest.$ac_objext \ 27323 conftest$ac_exeext conftest.$ac_ext 27324LIBS=$ac_check_lib_save_LIBS 27325fi 27326{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_nodes" >&5 27327$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_nodes" >&6; } 27328if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_nodes" = xyes; then : 27329 ac_cv_libcdata_dummy=yes 27330else 27331 ac_cv_libcdata=no 27332fi 27333 27334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_set_nodes in -lcdata" >&5 27335$as_echo_n "checking for libcdata_tree_node_set_nodes in -lcdata... " >&6; } 27336if ${ac_cv_lib_cdata_libcdata_tree_node_set_nodes+:} false; then : 27337 $as_echo_n "(cached) " >&6 27338else 27339 ac_check_lib_save_LIBS=$LIBS 27340LIBS="-lcdata $LIBS" 27341cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27342/* end confdefs.h. */ 27343 27344/* Override any GCC internal prototype to avoid an error. 27345 Use char because int might match the return type of a GCC 27346 builtin and then its argument prototype would still apply. */ 27347#ifdef __cplusplus 27348extern "C" 27349#endif 27350char libcdata_tree_node_set_nodes (); 27351int 27352main () 27353{ 27354return libcdata_tree_node_set_nodes (); 27355 ; 27356 return 0; 27357} 27358_ACEOF 27359if ac_fn_c_try_link "$LINENO"; then : 27360 ac_cv_lib_cdata_libcdata_tree_node_set_nodes=yes 27361else 27362 ac_cv_lib_cdata_libcdata_tree_node_set_nodes=no 27363fi 27364rm -f core conftest.err conftest.$ac_objext \ 27365 conftest$ac_exeext conftest.$ac_ext 27366LIBS=$ac_check_lib_save_LIBS 27367fi 27368{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_set_nodes" >&5 27369$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_set_nodes" >&6; } 27370if test "x$ac_cv_lib_cdata_libcdata_tree_node_set_nodes" = xyes; then : 27371 ac_cv_libcdata_dummy=yes 27372else 27373 ac_cv_libcdata=no 27374fi 27375 27376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_append_node in -lcdata" >&5 27377$as_echo_n "checking for libcdata_tree_node_append_node in -lcdata... " >&6; } 27378if ${ac_cv_lib_cdata_libcdata_tree_node_append_node+:} false; then : 27379 $as_echo_n "(cached) " >&6 27380else 27381 ac_check_lib_save_LIBS=$LIBS 27382LIBS="-lcdata $LIBS" 27383cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27384/* end confdefs.h. */ 27385 27386/* Override any GCC internal prototype to avoid an error. 27387 Use char because int might match the return type of a GCC 27388 builtin and then its argument prototype would still apply. */ 27389#ifdef __cplusplus 27390extern "C" 27391#endif 27392char libcdata_tree_node_append_node (); 27393int 27394main () 27395{ 27396return libcdata_tree_node_append_node (); 27397 ; 27398 return 0; 27399} 27400_ACEOF 27401if ac_fn_c_try_link "$LINENO"; then : 27402 ac_cv_lib_cdata_libcdata_tree_node_append_node=yes 27403else 27404 ac_cv_lib_cdata_libcdata_tree_node_append_node=no 27405fi 27406rm -f core conftest.err conftest.$ac_objext \ 27407 conftest$ac_exeext conftest.$ac_ext 27408LIBS=$ac_check_lib_save_LIBS 27409fi 27410{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_append_node" >&5 27411$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_append_node" >&6; } 27412if test "x$ac_cv_lib_cdata_libcdata_tree_node_append_node" = xyes; then : 27413 ac_cv_libcdata_dummy=yes 27414else 27415 ac_cv_libcdata=no 27416fi 27417 27418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_append_value in -lcdata" >&5 27419$as_echo_n "checking for libcdata_tree_node_append_value in -lcdata... " >&6; } 27420if ${ac_cv_lib_cdata_libcdata_tree_node_append_value+:} false; then : 27421 $as_echo_n "(cached) " >&6 27422else 27423 ac_check_lib_save_LIBS=$LIBS 27424LIBS="-lcdata $LIBS" 27425cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27426/* end confdefs.h. */ 27427 27428/* Override any GCC internal prototype to avoid an error. 27429 Use char because int might match the return type of a GCC 27430 builtin and then its argument prototype would still apply. */ 27431#ifdef __cplusplus 27432extern "C" 27433#endif 27434char libcdata_tree_node_append_value (); 27435int 27436main () 27437{ 27438return libcdata_tree_node_append_value (); 27439 ; 27440 return 0; 27441} 27442_ACEOF 27443if ac_fn_c_try_link "$LINENO"; then : 27444 ac_cv_lib_cdata_libcdata_tree_node_append_value=yes 27445else 27446 ac_cv_lib_cdata_libcdata_tree_node_append_value=no 27447fi 27448rm -f core conftest.err conftest.$ac_objext \ 27449 conftest$ac_exeext conftest.$ac_ext 27450LIBS=$ac_check_lib_save_LIBS 27451fi 27452{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_append_value" >&5 27453$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_append_value" >&6; } 27454if test "x$ac_cv_lib_cdata_libcdata_tree_node_append_value" = xyes; then : 27455 ac_cv_libcdata_dummy=yes 27456else 27457 ac_cv_libcdata=no 27458fi 27459 27460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_insert_node in -lcdata" >&5 27461$as_echo_n "checking for libcdata_tree_node_insert_node in -lcdata... " >&6; } 27462if ${ac_cv_lib_cdata_libcdata_tree_node_insert_node+:} false; then : 27463 $as_echo_n "(cached) " >&6 27464else 27465 ac_check_lib_save_LIBS=$LIBS 27466LIBS="-lcdata $LIBS" 27467cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27468/* end confdefs.h. */ 27469 27470/* Override any GCC internal prototype to avoid an error. 27471 Use char because int might match the return type of a GCC 27472 builtin and then its argument prototype would still apply. */ 27473#ifdef __cplusplus 27474extern "C" 27475#endif 27476char libcdata_tree_node_insert_node (); 27477int 27478main () 27479{ 27480return libcdata_tree_node_insert_node (); 27481 ; 27482 return 0; 27483} 27484_ACEOF 27485if ac_fn_c_try_link "$LINENO"; then : 27486 ac_cv_lib_cdata_libcdata_tree_node_insert_node=yes 27487else 27488 ac_cv_lib_cdata_libcdata_tree_node_insert_node=no 27489fi 27490rm -f core conftest.err conftest.$ac_objext \ 27491 conftest$ac_exeext conftest.$ac_ext 27492LIBS=$ac_check_lib_save_LIBS 27493fi 27494{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_insert_node" >&5 27495$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_insert_node" >&6; } 27496if test "x$ac_cv_lib_cdata_libcdata_tree_node_insert_node" = xyes; then : 27497 ac_cv_libcdata_dummy=yes 27498else 27499 ac_cv_libcdata=no 27500fi 27501 27502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_insert_value in -lcdata" >&5 27503$as_echo_n "checking for libcdata_tree_node_insert_value in -lcdata... " >&6; } 27504if ${ac_cv_lib_cdata_libcdata_tree_node_insert_value+:} false; then : 27505 $as_echo_n "(cached) " >&6 27506else 27507 ac_check_lib_save_LIBS=$LIBS 27508LIBS="-lcdata $LIBS" 27509cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27510/* end confdefs.h. */ 27511 27512/* Override any GCC internal prototype to avoid an error. 27513 Use char because int might match the return type of a GCC 27514 builtin and then its argument prototype would still apply. */ 27515#ifdef __cplusplus 27516extern "C" 27517#endif 27518char libcdata_tree_node_insert_value (); 27519int 27520main () 27521{ 27522return libcdata_tree_node_insert_value (); 27523 ; 27524 return 0; 27525} 27526_ACEOF 27527if ac_fn_c_try_link "$LINENO"; then : 27528 ac_cv_lib_cdata_libcdata_tree_node_insert_value=yes 27529else 27530 ac_cv_lib_cdata_libcdata_tree_node_insert_value=no 27531fi 27532rm -f core conftest.err conftest.$ac_objext \ 27533 conftest$ac_exeext conftest.$ac_ext 27534LIBS=$ac_check_lib_save_LIBS 27535fi 27536{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_insert_value" >&5 27537$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_insert_value" >&6; } 27538if test "x$ac_cv_lib_cdata_libcdata_tree_node_insert_value" = xyes; then : 27539 ac_cv_libcdata_dummy=yes 27540else 27541 ac_cv_libcdata=no 27542fi 27543 27544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_replace_node in -lcdata" >&5 27545$as_echo_n "checking for libcdata_tree_node_replace_node in -lcdata... " >&6; } 27546if ${ac_cv_lib_cdata_libcdata_tree_node_replace_node+:} false; then : 27547 $as_echo_n "(cached) " >&6 27548else 27549 ac_check_lib_save_LIBS=$LIBS 27550LIBS="-lcdata $LIBS" 27551cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27552/* end confdefs.h. */ 27553 27554/* Override any GCC internal prototype to avoid an error. 27555 Use char because int might match the return type of a GCC 27556 builtin and then its argument prototype would still apply. */ 27557#ifdef __cplusplus 27558extern "C" 27559#endif 27560char libcdata_tree_node_replace_node (); 27561int 27562main () 27563{ 27564return libcdata_tree_node_replace_node (); 27565 ; 27566 return 0; 27567} 27568_ACEOF 27569if ac_fn_c_try_link "$LINENO"; then : 27570 ac_cv_lib_cdata_libcdata_tree_node_replace_node=yes 27571else 27572 ac_cv_lib_cdata_libcdata_tree_node_replace_node=no 27573fi 27574rm -f core conftest.err conftest.$ac_objext \ 27575 conftest$ac_exeext conftest.$ac_ext 27576LIBS=$ac_check_lib_save_LIBS 27577fi 27578{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_replace_node" >&5 27579$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_replace_node" >&6; } 27580if test "x$ac_cv_lib_cdata_libcdata_tree_node_replace_node" = xyes; then : 27581 ac_cv_libcdata_dummy=yes 27582else 27583 ac_cv_libcdata=no 27584fi 27585 27586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_remove_node in -lcdata" >&5 27587$as_echo_n "checking for libcdata_tree_node_remove_node in -lcdata... " >&6; } 27588if ${ac_cv_lib_cdata_libcdata_tree_node_remove_node+:} false; then : 27589 $as_echo_n "(cached) " >&6 27590else 27591 ac_check_lib_save_LIBS=$LIBS 27592LIBS="-lcdata $LIBS" 27593cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27594/* end confdefs.h. */ 27595 27596/* Override any GCC internal prototype to avoid an error. 27597 Use char because int might match the return type of a GCC 27598 builtin and then its argument prototype would still apply. */ 27599#ifdef __cplusplus 27600extern "C" 27601#endif 27602char libcdata_tree_node_remove_node (); 27603int 27604main () 27605{ 27606return libcdata_tree_node_remove_node (); 27607 ; 27608 return 0; 27609} 27610_ACEOF 27611if ac_fn_c_try_link "$LINENO"; then : 27612 ac_cv_lib_cdata_libcdata_tree_node_remove_node=yes 27613else 27614 ac_cv_lib_cdata_libcdata_tree_node_remove_node=no 27615fi 27616rm -f core conftest.err conftest.$ac_objext \ 27617 conftest$ac_exeext conftest.$ac_ext 27618LIBS=$ac_check_lib_save_LIBS 27619fi 27620{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_remove_node" >&5 27621$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_remove_node" >&6; } 27622if test "x$ac_cv_lib_cdata_libcdata_tree_node_remove_node" = xyes; then : 27623 ac_cv_libcdata_dummy=yes 27624else 27625 ac_cv_libcdata=no 27626fi 27627 27628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_number_of_sub_nodes in -lcdata" >&5 27629$as_echo_n "checking for libcdata_tree_node_get_number_of_sub_nodes in -lcdata... " >&6; } 27630if ${ac_cv_lib_cdata_libcdata_tree_node_get_number_of_sub_nodes+:} false; then : 27631 $as_echo_n "(cached) " >&6 27632else 27633 ac_check_lib_save_LIBS=$LIBS 27634LIBS="-lcdata $LIBS" 27635cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27636/* end confdefs.h. */ 27637 27638/* Override any GCC internal prototype to avoid an error. 27639 Use char because int might match the return type of a GCC 27640 builtin and then its argument prototype would still apply. */ 27641#ifdef __cplusplus 27642extern "C" 27643#endif 27644char libcdata_tree_node_get_number_of_sub_nodes (); 27645int 27646main () 27647{ 27648return libcdata_tree_node_get_number_of_sub_nodes (); 27649 ; 27650 return 0; 27651} 27652_ACEOF 27653if ac_fn_c_try_link "$LINENO"; then : 27654 ac_cv_lib_cdata_libcdata_tree_node_get_number_of_sub_nodes=yes 27655else 27656 ac_cv_lib_cdata_libcdata_tree_node_get_number_of_sub_nodes=no 27657fi 27658rm -f core conftest.err conftest.$ac_objext \ 27659 conftest$ac_exeext conftest.$ac_ext 27660LIBS=$ac_check_lib_save_LIBS 27661fi 27662{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_number_of_sub_nodes" >&5 27663$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_number_of_sub_nodes" >&6; } 27664if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_number_of_sub_nodes" = xyes; then : 27665 ac_cv_libcdata_dummy=yes 27666else 27667 ac_cv_libcdata=no 27668fi 27669 27670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_sub_node_by_index in -lcdata" >&5 27671$as_echo_n "checking for libcdata_tree_node_get_sub_node_by_index in -lcdata... " >&6; } 27672if ${ac_cv_lib_cdata_libcdata_tree_node_get_sub_node_by_index+:} false; then : 27673 $as_echo_n "(cached) " >&6 27674else 27675 ac_check_lib_save_LIBS=$LIBS 27676LIBS="-lcdata $LIBS" 27677cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27678/* end confdefs.h. */ 27679 27680/* Override any GCC internal prototype to avoid an error. 27681 Use char because int might match the return type of a GCC 27682 builtin and then its argument prototype would still apply. */ 27683#ifdef __cplusplus 27684extern "C" 27685#endif 27686char libcdata_tree_node_get_sub_node_by_index (); 27687int 27688main () 27689{ 27690return libcdata_tree_node_get_sub_node_by_index (); 27691 ; 27692 return 0; 27693} 27694_ACEOF 27695if ac_fn_c_try_link "$LINENO"; then : 27696 ac_cv_lib_cdata_libcdata_tree_node_get_sub_node_by_index=yes 27697else 27698 ac_cv_lib_cdata_libcdata_tree_node_get_sub_node_by_index=no 27699fi 27700rm -f core conftest.err conftest.$ac_objext \ 27701 conftest$ac_exeext conftest.$ac_ext 27702LIBS=$ac_check_lib_save_LIBS 27703fi 27704{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_sub_node_by_index" >&5 27705$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_sub_node_by_index" >&6; } 27706if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_sub_node_by_index" = xyes; then : 27707 ac_cv_libcdata_dummy=yes 27708else 27709 ac_cv_libcdata=no 27710fi 27711 27712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_leaf_node_list in -lcdata" >&5 27713$as_echo_n "checking for libcdata_tree_node_get_leaf_node_list in -lcdata... " >&6; } 27714if ${ac_cv_lib_cdata_libcdata_tree_node_get_leaf_node_list+:} false; then : 27715 $as_echo_n "(cached) " >&6 27716else 27717 ac_check_lib_save_LIBS=$LIBS 27718LIBS="-lcdata $LIBS" 27719cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27720/* end confdefs.h. */ 27721 27722/* Override any GCC internal prototype to avoid an error. 27723 Use char because int might match the return type of a GCC 27724 builtin and then its argument prototype would still apply. */ 27725#ifdef __cplusplus 27726extern "C" 27727#endif 27728char libcdata_tree_node_get_leaf_node_list (); 27729int 27730main () 27731{ 27732return libcdata_tree_node_get_leaf_node_list (); 27733 ; 27734 return 0; 27735} 27736_ACEOF 27737if ac_fn_c_try_link "$LINENO"; then : 27738 ac_cv_lib_cdata_libcdata_tree_node_get_leaf_node_list=yes 27739else 27740 ac_cv_lib_cdata_libcdata_tree_node_get_leaf_node_list=no 27741fi 27742rm -f core conftest.err conftest.$ac_objext \ 27743 conftest$ac_exeext conftest.$ac_ext 27744LIBS=$ac_check_lib_save_LIBS 27745fi 27746{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_leaf_node_list" >&5 27747$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_leaf_node_list" >&6; } 27748if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_leaf_node_list" = xyes; then : 27749 ac_cv_libcdata_dummy=yes 27750else 27751 ac_cv_libcdata=no 27752fi 27753 27754 27755 ac_cv_libcdata_LIBADD="-lcdata" 27756fi 27757 27758fi 27759 if test "x$ac_cv_with_libcdata" != x && test "x$ac_cv_with_libcdata" != xauto-detect && test "x$ac_cv_libcdata" != xyes; then : 27760 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 27761$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 27762as_fn_error 1 "unable to find supported libcdata in directory: $ac_cv_with_libcdata 27763See \`config.log' for more details" "$LINENO" 5; } 27764 27765fi 27766 27767fi 27768 27769 if test "x$ac_cv_libcdata" = xyes; then : 27770 27771$as_echo "#define HAVE_LIBCDATA 1" >>confdefs.h 27772 27773 27774fi 27775 27776 if test "x$ac_cv_libcdata" = xyes; then : 27777 HAVE_LIBCDATA=1 27778 27779else 27780 HAVE_LIBCDATA=0 27781 27782 27783fi 27784 27785 27786 if test "x$ac_cv_libcdata" != xyes; then : 27787 27788 ac_cv_libcdata_CPPFLAGS="-I../libcdata"; 27789 ac_cv_libcdata_LIBADD="../libcdata/libcdata.la"; 27790 27791 ac_cv_libcdata=local 27792 27793 27794 27795$as_echo "#define HAVE_LOCAL_LIBCDATA 1" >>confdefs.h 27796 27797 HAVE_LOCAL_LIBCDATA=1 27798 27799 27800fi 27801 27802 if test "x$ac_cv_libcdata" = xlocal; then 27803 HAVE_LOCAL_LIBCDATA_TRUE= 27804 HAVE_LOCAL_LIBCDATA_FALSE='#' 27805else 27806 HAVE_LOCAL_LIBCDATA_TRUE='#' 27807 HAVE_LOCAL_LIBCDATA_FALSE= 27808fi 27809 27810 if test "x$ac_cv_libcdata_CPPFLAGS" != "x"; then : 27811 LIBCDATA_CPPFLAGS=$ac_cv_libcdata_CPPFLAGS 27812 27813 27814fi 27815 if test "x$ac_cv_libcdata_LIBADD" != "x"; then : 27816 LIBCDATA_LIBADD=$ac_cv_libcdata_LIBADD 27817 27818 27819fi 27820 27821 if test "x$ac_cv_libcdata" = xyes; then : 27822 ax_libcdata_pc_libs_private=-lcdata 27823 27824 27825fi 27826 27827 if test "x$ac_cv_libcdata" = xyes; then : 27828 ax_libcdata_spec_requires=libcdata 27829 27830 ax_libcdata_spec_build_requires=libcdata-devel 27831 27832 27833fi 27834 27835 27836 27837 27838# Check whether --with-libclocale was given. 27839if test "${with_libclocale+set}" = set; then : 27840 withval=$with_libclocale; ac_cv_with_libclocale=$withval 27841else 27842 ac_cv_with_libclocale=auto-detect 27843fi 27844 27845 { $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 27846$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; } 27847if ${ac_cv_with_libclocale+:} false; then : 27848 $as_echo_n "(cached) " >&6 27849else 27850 ac_cv_with_libclocale=auto-detect 27851fi 27852{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libclocale" >&5 27853$as_echo "$ac_cv_with_libclocale" >&6; } 27854 27855 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libclocale" = xno; then : 27856 ac_cv_libclocale=no 27857else 27858 ac_cv_libclocale=check 27859 if test "x$ac_cv_with_libclocale" != x && test "x$ac_cv_with_libclocale" != xauto-detect; then : 27860 if test -d "$ac_cv_with_libclocale"; then : 27861 CFLAGS="$CFLAGS -I${ac_cv_with_libclocale}/include" 27862 LDFLAGS="$LDFLAGS -L${ac_cv_with_libclocale}/lib" 27863else 27864 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 27865$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 27866as_fn_error 1 "no such directory: $ac_cv_with_libclocale 27867See \`config.log' for more details" "$LINENO" 5; } 27868 27869fi 27870 27871else 27872 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 27873 27874pkg_failed=no 27875{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale" >&5 27876$as_echo_n "checking for libclocale... " >&6; } 27877 27878if test -n "$libclocale_CFLAGS"; then 27879 pkg_cv_libclocale_CFLAGS="$libclocale_CFLAGS" 27880 elif test -n "$PKG_CONFIG"; then 27881 if test -n "$PKG_CONFIG" && \ 27882 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libclocale >= 20120425\""; } >&5 27883 ($PKG_CONFIG --exists --print-errors "libclocale >= 20120425") 2>&5 27884 ac_status=$? 27885 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 27886 test $ac_status = 0; }; then 27887 pkg_cv_libclocale_CFLAGS=`$PKG_CONFIG --cflags "libclocale >= 20120425" 2>/dev/null` 27888 test "x$?" != "x0" && pkg_failed=yes 27889else 27890 pkg_failed=yes 27891fi 27892 else 27893 pkg_failed=untried 27894fi 27895if test -n "$libclocale_LIBS"; then 27896 pkg_cv_libclocale_LIBS="$libclocale_LIBS" 27897 elif test -n "$PKG_CONFIG"; then 27898 if test -n "$PKG_CONFIG" && \ 27899 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libclocale >= 20120425\""; } >&5 27900 ($PKG_CONFIG --exists --print-errors "libclocale >= 20120425") 2>&5 27901 ac_status=$? 27902 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 27903 test $ac_status = 0; }; then 27904 pkg_cv_libclocale_LIBS=`$PKG_CONFIG --libs "libclocale >= 20120425" 2>/dev/null` 27905 test "x$?" != "x0" && pkg_failed=yes 27906else 27907 pkg_failed=yes 27908fi 27909 else 27910 pkg_failed=untried 27911fi 27912 27913 27914 27915if test $pkg_failed = yes; then 27916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27917$as_echo "no" >&6; } 27918 27919if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 27920 _pkg_short_errors_supported=yes 27921else 27922 _pkg_short_errors_supported=no 27923fi 27924 if test $_pkg_short_errors_supported = yes; then 27925 libclocale_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libclocale >= 20120425" 2>&1` 27926 else 27927 libclocale_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libclocale >= 20120425" 2>&1` 27928 fi 27929 # Put the nasty error message in config.log where it belongs 27930 echo "$libclocale_PKG_ERRORS" >&5 27931 27932 ac_cv_libclocale=check 27933elif test $pkg_failed = untried; then 27934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27935$as_echo "no" >&6; } 27936 ac_cv_libclocale=check 27937else 27938 libclocale_CFLAGS=$pkg_cv_libclocale_CFLAGS 27939 libclocale_LIBS=$pkg_cv_libclocale_LIBS 27940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 27941$as_echo "yes" >&6; } 27942 ac_cv_libclocale=yes 27943fi 27944 27945fi 27946 if test "x$ac_cv_libclocale" = xyes && test "x$ac_cv_enable_wide_character_type" != xno; then : 27947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libclocale/features.h defines LIBCLOCALE_HAVE_WIDE_CHARACTER_TYPE as 1" >&5 27948$as_echo_n "checking whether libclocale/features.h defines LIBCLOCALE_HAVE_WIDE_CHARACTER_TYPE as 1... " >&6; } 27949if ${ac_cv_header_libclocale_features_h_have_wide_character_type+:} false; then : 27950 $as_echo_n "(cached) " >&6 27951else 27952 ac_ext=c 27953ac_cpp='$CPP $CPPFLAGS' 27954ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 27955ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 27956ac_compiler_gnu=$ac_cv_c_compiler_gnu 27957 27958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27959/* end confdefs.h. */ 27960#include <libclocale/features.h> 27961int 27962main () 27963{ 27964#if !defined( LIBCLOCALE_HAVE_WIDE_CHARACTER_TYPE ) || ( LIBCLOCALE_HAVE_WIDE_CHARACTER_TYPE != 1 ) 27965#error LIBCLOCALE_HAVE_WIDE_CHARACTER_TYPE not defined 27966#endif 27967 ; 27968 return 0; 27969} 27970_ACEOF 27971if ac_fn_c_try_compile "$LINENO"; then : 27972 ac_cv_header_libclocale_features_h_have_wide_character_type=yes 27973else 27974 ac_cv_header_libclocale_features_h_have_wide_character_type=no 27975fi 27976rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 27977 ac_ext=c 27978ac_cpp='$CPP $CPPFLAGS' 27979ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 27980ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 27981ac_compiler_gnu=$ac_cv_c_compiler_gnu 27982 27983fi 27984{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_libclocale_features_h_have_wide_character_type" >&5 27985$as_echo "$ac_cv_header_libclocale_features_h_have_wide_character_type" >&6; } 27986 27987 if test "x$ac_cv_header_libclocale_features_h_have_wide_character_type" = xno; then : 27988 ac_cv_libclocale=no 27989fi 27990 27991fi 27992 if test "x$ac_cv_libclocale" = xyes; then : 27993 ac_cv_libclocale_CPPFLAGS="$pkg_cv_libclocale_CFLAGS" 27994 ac_cv_libclocale_LIBADD="$pkg_cv_libclocale_LIBS" 27995fi 27996 27997fi 27998 27999 if test "x$ac_cv_libclocale" = xcheck; then : 28000 for ac_header in libclocale.h 28001do : 28002 ac_fn_c_check_header_mongrel "$LINENO" "libclocale.h" "ac_cv_header_libclocale_h" "$ac_includes_default" 28003if test "x$ac_cv_header_libclocale_h" = xyes; then : 28004 cat >>confdefs.h <<_ACEOF 28005#define HAVE_LIBCLOCALE_H 1 28006_ACEOF 28007 28008fi 28009 28010done 28011 28012 28013 if test "x$ac_cv_header_libclocale_h" = xno; then : 28014 ac_cv_libclocale=no 28015else 28016 ac_cv_libclocale=yes 28017 28018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_get_version in -lclocale" >&5 28019$as_echo_n "checking for libclocale_get_version in -lclocale... " >&6; } 28020if ${ac_cv_lib_clocale_libclocale_get_version+:} false; then : 28021 $as_echo_n "(cached) " >&6 28022else 28023 ac_check_lib_save_LIBS=$LIBS 28024LIBS="-lclocale $LIBS" 28025cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28026/* end confdefs.h. */ 28027 28028/* Override any GCC internal prototype to avoid an error. 28029 Use char because int might match the return type of a GCC 28030 builtin and then its argument prototype would still apply. */ 28031#ifdef __cplusplus 28032extern "C" 28033#endif 28034char libclocale_get_version (); 28035int 28036main () 28037{ 28038return libclocale_get_version (); 28039 ; 28040 return 0; 28041} 28042_ACEOF 28043if ac_fn_c_try_link "$LINENO"; then : 28044 ac_cv_lib_clocale_libclocale_get_version=yes 28045else 28046 ac_cv_lib_clocale_libclocale_get_version=no 28047fi 28048rm -f core conftest.err conftest.$ac_objext \ 28049 conftest$ac_exeext conftest.$ac_ext 28050LIBS=$ac_check_lib_save_LIBS 28051fi 28052{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_get_version" >&5 28053$as_echo "$ac_cv_lib_clocale_libclocale_get_version" >&6; } 28054if test "x$ac_cv_lib_clocale_libclocale_get_version" = xyes; then : 28055 ac_cv_libclocale_dummy=yes 28056else 28057 ac_cv_libclocale=no 28058fi 28059 28060 28061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_codepage in -lclocale" >&5 28062$as_echo_n "checking for libclocale_codepage in -lclocale... " >&6; } 28063if ${ac_cv_lib_clocale_libclocale_codepage+:} false; then : 28064 $as_echo_n "(cached) " >&6 28065else 28066 ac_check_lib_save_LIBS=$LIBS 28067LIBS="-lclocale $LIBS" 28068cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28069/* end confdefs.h. */ 28070 28071/* Override any GCC internal prototype to avoid an error. 28072 Use char because int might match the return type of a GCC 28073 builtin and then its argument prototype would still apply. */ 28074#ifdef __cplusplus 28075extern "C" 28076#endif 28077char libclocale_codepage (); 28078int 28079main () 28080{ 28081return libclocale_codepage (); 28082 ; 28083 return 0; 28084} 28085_ACEOF 28086if ac_fn_c_try_link "$LINENO"; then : 28087 ac_cv_lib_clocale_libclocale_codepage=yes 28088else 28089 ac_cv_lib_clocale_libclocale_codepage=no 28090fi 28091rm -f core conftest.err conftest.$ac_objext \ 28092 conftest$ac_exeext conftest.$ac_ext 28093LIBS=$ac_check_lib_save_LIBS 28094fi 28095{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_codepage" >&5 28096$as_echo "$ac_cv_lib_clocale_libclocale_codepage" >&6; } 28097if test "x$ac_cv_lib_clocale_libclocale_codepage" = xyes; then : 28098 ac_cv_libclocale_dummy=yes 28099else 28100 ac_cv_libclocale=no 28101fi 28102 28103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_codepage_get in -lclocale" >&5 28104$as_echo_n "checking for libclocale_codepage_get in -lclocale... " >&6; } 28105if ${ac_cv_lib_clocale_libclocale_codepage_get+:} false; then : 28106 $as_echo_n "(cached) " >&6 28107else 28108 ac_check_lib_save_LIBS=$LIBS 28109LIBS="-lclocale $LIBS" 28110cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28111/* end confdefs.h. */ 28112 28113/* Override any GCC internal prototype to avoid an error. 28114 Use char because int might match the return type of a GCC 28115 builtin and then its argument prototype would still apply. */ 28116#ifdef __cplusplus 28117extern "C" 28118#endif 28119char libclocale_codepage_get (); 28120int 28121main () 28122{ 28123return libclocale_codepage_get (); 28124 ; 28125 return 0; 28126} 28127_ACEOF 28128if ac_fn_c_try_link "$LINENO"; then : 28129 ac_cv_lib_clocale_libclocale_codepage_get=yes 28130else 28131 ac_cv_lib_clocale_libclocale_codepage_get=no 28132fi 28133rm -f core conftest.err conftest.$ac_objext \ 28134 conftest$ac_exeext conftest.$ac_ext 28135LIBS=$ac_check_lib_save_LIBS 28136fi 28137{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_codepage_get" >&5 28138$as_echo "$ac_cv_lib_clocale_libclocale_codepage_get" >&6; } 28139if test "x$ac_cv_lib_clocale_libclocale_codepage_get" = xyes; then : 28140 ac_cv_libclocale_dummy=yes 28141else 28142 ac_cv_libclocale=no 28143fi 28144 28145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_codepage_set in -lclocale" >&5 28146$as_echo_n "checking for libclocale_codepage_set in -lclocale... " >&6; } 28147if ${ac_cv_lib_clocale_libclocale_codepage_set+:} false; then : 28148 $as_echo_n "(cached) " >&6 28149else 28150 ac_check_lib_save_LIBS=$LIBS 28151LIBS="-lclocale $LIBS" 28152cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28153/* end confdefs.h. */ 28154 28155/* Override any GCC internal prototype to avoid an error. 28156 Use char because int might match the return type of a GCC 28157 builtin and then its argument prototype would still apply. */ 28158#ifdef __cplusplus 28159extern "C" 28160#endif 28161char libclocale_codepage_set (); 28162int 28163main () 28164{ 28165return libclocale_codepage_set (); 28166 ; 28167 return 0; 28168} 28169_ACEOF 28170if ac_fn_c_try_link "$LINENO"; then : 28171 ac_cv_lib_clocale_libclocale_codepage_set=yes 28172else 28173 ac_cv_lib_clocale_libclocale_codepage_set=no 28174fi 28175rm -f core conftest.err conftest.$ac_objext \ 28176 conftest$ac_exeext conftest.$ac_ext 28177LIBS=$ac_check_lib_save_LIBS 28178fi 28179{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_codepage_set" >&5 28180$as_echo "$ac_cv_lib_clocale_libclocale_codepage_set" >&6; } 28181if test "x$ac_cv_lib_clocale_libclocale_codepage_set" = xyes; then : 28182 ac_cv_libclocale_dummy=yes 28183else 28184 ac_cv_libclocale=no 28185fi 28186 28187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_codepage_copy_from_string in -lclocale" >&5 28188$as_echo_n "checking for libclocale_codepage_copy_from_string in -lclocale... " >&6; } 28189if ${ac_cv_lib_clocale_libclocale_codepage_copy_from_string+:} false; then : 28190 $as_echo_n "(cached) " >&6 28191else 28192 ac_check_lib_save_LIBS=$LIBS 28193LIBS="-lclocale $LIBS" 28194cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28195/* end confdefs.h. */ 28196 28197/* Override any GCC internal prototype to avoid an error. 28198 Use char because int might match the return type of a GCC 28199 builtin and then its argument prototype would still apply. */ 28200#ifdef __cplusplus 28201extern "C" 28202#endif 28203char libclocale_codepage_copy_from_string (); 28204int 28205main () 28206{ 28207return libclocale_codepage_copy_from_string (); 28208 ; 28209 return 0; 28210} 28211_ACEOF 28212if ac_fn_c_try_link "$LINENO"; then : 28213 ac_cv_lib_clocale_libclocale_codepage_copy_from_string=yes 28214else 28215 ac_cv_lib_clocale_libclocale_codepage_copy_from_string=no 28216fi 28217rm -f core conftest.err conftest.$ac_objext \ 28218 conftest$ac_exeext conftest.$ac_ext 28219LIBS=$ac_check_lib_save_LIBS 28220fi 28221{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_codepage_copy_from_string" >&5 28222$as_echo "$ac_cv_lib_clocale_libclocale_codepage_copy_from_string" >&6; } 28223if test "x$ac_cv_lib_clocale_libclocale_codepage_copy_from_string" = xyes; then : 28224 ac_cv_libclocale_dummy=yes 28225else 28226 ac_cv_libclocale=no 28227fi 28228 28229 28230 if test "x$ac_cv_enable_wide_character_type" != xno; then : 28231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_codepage_copy_from_string_wide in -lclocale" >&5 28232$as_echo_n "checking for libclocale_codepage_copy_from_string_wide in -lclocale... " >&6; } 28233if ${ac_cv_lib_clocale_libclocale_codepage_copy_from_string_wide+:} false; then : 28234 $as_echo_n "(cached) " >&6 28235else 28236 ac_check_lib_save_LIBS=$LIBS 28237LIBS="-lclocale $LIBS" 28238cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28239/* end confdefs.h. */ 28240 28241/* Override any GCC internal prototype to avoid an error. 28242 Use char because int might match the return type of a GCC 28243 builtin and then its argument prototype would still apply. */ 28244#ifdef __cplusplus 28245extern "C" 28246#endif 28247char libclocale_codepage_copy_from_string_wide (); 28248int 28249main () 28250{ 28251return libclocale_codepage_copy_from_string_wide (); 28252 ; 28253 return 0; 28254} 28255_ACEOF 28256if ac_fn_c_try_link "$LINENO"; then : 28257 ac_cv_lib_clocale_libclocale_codepage_copy_from_string_wide=yes 28258else 28259 ac_cv_lib_clocale_libclocale_codepage_copy_from_string_wide=no 28260fi 28261rm -f core conftest.err conftest.$ac_objext \ 28262 conftest$ac_exeext conftest.$ac_ext 28263LIBS=$ac_check_lib_save_LIBS 28264fi 28265{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_codepage_copy_from_string_wide" >&5 28266$as_echo "$ac_cv_lib_clocale_libclocale_codepage_copy_from_string_wide" >&6; } 28267if test "x$ac_cv_lib_clocale_libclocale_codepage_copy_from_string_wide" = xyes; then : 28268 ac_cv_libclocale_dummy=yes 28269else 28270 ac_cv_libclocale=no 28271fi 28272 28273 28274fi 28275 28276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_locale_get_codepage in -lclocale" >&5 28277$as_echo_n "checking for libclocale_locale_get_codepage in -lclocale... " >&6; } 28278if ${ac_cv_lib_clocale_libclocale_locale_get_codepage+:} false; then : 28279 $as_echo_n "(cached) " >&6 28280else 28281 ac_check_lib_save_LIBS=$LIBS 28282LIBS="-lclocale $LIBS" 28283cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28284/* end confdefs.h. */ 28285 28286/* Override any GCC internal prototype to avoid an error. 28287 Use char because int might match the return type of a GCC 28288 builtin and then its argument prototype would still apply. */ 28289#ifdef __cplusplus 28290extern "C" 28291#endif 28292char libclocale_locale_get_codepage (); 28293int 28294main () 28295{ 28296return libclocale_locale_get_codepage (); 28297 ; 28298 return 0; 28299} 28300_ACEOF 28301if ac_fn_c_try_link "$LINENO"; then : 28302 ac_cv_lib_clocale_libclocale_locale_get_codepage=yes 28303else 28304 ac_cv_lib_clocale_libclocale_locale_get_codepage=no 28305fi 28306rm -f core conftest.err conftest.$ac_objext \ 28307 conftest$ac_exeext conftest.$ac_ext 28308LIBS=$ac_check_lib_save_LIBS 28309fi 28310{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_locale_get_codepage" >&5 28311$as_echo "$ac_cv_lib_clocale_libclocale_locale_get_codepage" >&6; } 28312if test "x$ac_cv_lib_clocale_libclocale_locale_get_codepage" = xyes; then : 28313 ac_cv_libclocale_dummy=yes 28314else 28315 ac_cv_libclocale=no 28316fi 28317 28318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_locale_get_decimal_point in -lclocale" >&5 28319$as_echo_n "checking for libclocale_locale_get_decimal_point in -lclocale... " >&6; } 28320if ${ac_cv_lib_clocale_libclocale_locale_get_decimal_point+:} false; then : 28321 $as_echo_n "(cached) " >&6 28322else 28323 ac_check_lib_save_LIBS=$LIBS 28324LIBS="-lclocale $LIBS" 28325cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28326/* end confdefs.h. */ 28327 28328/* Override any GCC internal prototype to avoid an error. 28329 Use char because int might match the return type of a GCC 28330 builtin and then its argument prototype would still apply. */ 28331#ifdef __cplusplus 28332extern "C" 28333#endif 28334char libclocale_locale_get_decimal_point (); 28335int 28336main () 28337{ 28338return libclocale_locale_get_decimal_point (); 28339 ; 28340 return 0; 28341} 28342_ACEOF 28343if ac_fn_c_try_link "$LINENO"; then : 28344 ac_cv_lib_clocale_libclocale_locale_get_decimal_point=yes 28345else 28346 ac_cv_lib_clocale_libclocale_locale_get_decimal_point=no 28347fi 28348rm -f core conftest.err conftest.$ac_objext \ 28349 conftest$ac_exeext conftest.$ac_ext 28350LIBS=$ac_check_lib_save_LIBS 28351fi 28352{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_locale_get_decimal_point" >&5 28353$as_echo "$ac_cv_lib_clocale_libclocale_locale_get_decimal_point" >&6; } 28354if test "x$ac_cv_lib_clocale_libclocale_locale_get_decimal_point" = xyes; then : 28355 ac_cv_libclocale_dummy=yes 28356else 28357 ac_cv_libclocale=no 28358fi 28359 28360 28361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_initialize in -lclocale" >&5 28362$as_echo_n "checking for libclocale_initialize in -lclocale... " >&6; } 28363if ${ac_cv_lib_clocale_libclocale_initialize+:} false; then : 28364 $as_echo_n "(cached) " >&6 28365else 28366 ac_check_lib_save_LIBS=$LIBS 28367LIBS="-lclocale $LIBS" 28368cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28369/* end confdefs.h. */ 28370 28371/* Override any GCC internal prototype to avoid an error. 28372 Use char because int might match the return type of a GCC 28373 builtin and then its argument prototype would still apply. */ 28374#ifdef __cplusplus 28375extern "C" 28376#endif 28377char libclocale_initialize (); 28378int 28379main () 28380{ 28381return libclocale_initialize (); 28382 ; 28383 return 0; 28384} 28385_ACEOF 28386if ac_fn_c_try_link "$LINENO"; then : 28387 ac_cv_lib_clocale_libclocale_initialize=yes 28388else 28389 ac_cv_lib_clocale_libclocale_initialize=no 28390fi 28391rm -f core conftest.err conftest.$ac_objext \ 28392 conftest$ac_exeext conftest.$ac_ext 28393LIBS=$ac_check_lib_save_LIBS 28394fi 28395{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_initialize" >&5 28396$as_echo "$ac_cv_lib_clocale_libclocale_initialize" >&6; } 28397if test "x$ac_cv_lib_clocale_libclocale_initialize" = xyes; then : 28398 ac_cv_libclocale_dummy=yes 28399else 28400 ac_cv_libclocale=no 28401fi 28402 28403 28404 ac_cv_libclocale_LIBADD="-lclocale" 28405fi 28406 28407fi 28408 if test "x$ac_cv_with_libclocale" != x && test "x$ac_cv_with_libclocale" != xauto-detect && test "x$ac_cv_libclocale" != xyes; then : 28409 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 28410$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 28411as_fn_error 1 "unable to find supported libclocale in directory: $ac_cv_with_libclocale 28412See \`config.log' for more details" "$LINENO" 5; } 28413 28414fi 28415 28416fi 28417 28418 if test "x$ac_cv_libclocale" = xyes; then : 28419 28420$as_echo "#define HAVE_LIBCLOCALE 1" >>confdefs.h 28421 28422 28423fi 28424 28425 if test "x$ac_cv_libclocale" = xyes; then : 28426 HAVE_LIBCLOCALE=1 28427 28428else 28429 HAVE_LIBCLOCALE=0 28430 28431 28432fi 28433 28434 28435 if test "x$ac_cv_libclocale" != xyes; then : 28436 for ac_header in langinfo.h locale.h 28437do : 28438 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 28439ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 28440if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 28441 cat >>confdefs.h <<_ACEOF 28442#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 28443_ACEOF 28444 28445fi 28446 28447done 28448 28449 28450 for ac_func in getenv 28451do : 28452 ac_fn_c_check_func "$LINENO" "getenv" "ac_cv_func_getenv" 28453if test "x$ac_cv_func_getenv" = xyes; then : 28454 cat >>confdefs.h <<_ACEOF 28455#define HAVE_GETENV 1 28456_ACEOF 28457 28458fi 28459done 28460 28461 28462 if test "x$ac_cv_func_getenv" != xyes; then : 28463 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 28464$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 28465as_fn_error 1 "Missing function: getenv 28466See \`config.log' for more details" "$LINENO" 5; } 28467 28468fi 28469 28470 if test "x$ac_cv_enable_winapi" = xno; then : 28471 for ac_func in localeconv 28472do : 28473 ac_fn_c_check_func "$LINENO" "localeconv" "ac_cv_func_localeconv" 28474if test "x$ac_cv_func_localeconv" = xyes; then : 28475 cat >>confdefs.h <<_ACEOF 28476#define HAVE_LOCALECONV 1 28477_ACEOF 28478 28479fi 28480done 28481 28482 28483 if test "x$ac_cv_func_localeconv" != xyes; then : 28484 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 28485$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 28486as_fn_error 1 "Missing function: localeconv 28487See \`config.log' for more details" "$LINENO" 5; } 28488 28489fi 28490 28491fi 28492 28493 for ac_func in setlocale 28494do : 28495 ac_fn_c_check_func "$LINENO" "setlocale" "ac_cv_func_setlocale" 28496if test "x$ac_cv_func_setlocale" = xyes; then : 28497 cat >>confdefs.h <<_ACEOF 28498#define HAVE_SETLOCALE 1 28499_ACEOF 28500 28501fi 28502done 28503 28504 28505 if test "x$ac_cv_func_setlocale" != xyes; then : 28506 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 28507$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 28508as_fn_error 1 "Missing function: setlocale 28509See \`config.log' for more details" "$LINENO" 5; } 28510 28511fi 28512 28513 for ac_func in nl_langinfo 28514do : 28515 ac_fn_c_check_func "$LINENO" "nl_langinfo" "ac_cv_func_nl_langinfo" 28516if test "x$ac_cv_func_nl_langinfo" = xyes; then : 28517 cat >>confdefs.h <<_ACEOF 28518#define HAVE_NL_LANGINFO 1 28519_ACEOF 28520 28521fi 28522done 28523 28524 28525 if test "x$ac_cv_func_nl_langinfo" = xyes; then : 28526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo CODESET support" >&5 28527$as_echo_n "checking for nl_langinfo CODESET support... " >&6; } 28528if ${ac_cv_cv_langinfo_codeset+:} false; then : 28529 $as_echo_n "(cached) " >&6 28530else 28531 ac_ext=c 28532ac_cpp='$CPP $CPPFLAGS' 28533ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 28534ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 28535ac_compiler_gnu=$ac_cv_c_compiler_gnu 28536 28537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28538/* end confdefs.h. */ 28539#include <langinfo.h> 28540int 28541main () 28542{ 28543char* charset = nl_langinfo( CODESET ); 28544 ; 28545 return 0; 28546} 28547_ACEOF 28548if ac_fn_c_try_link "$LINENO"; then : 28549 ac_cv_cv_langinfo_codeset=yes 28550else 28551 ac_cv_cv_langinfo_codeset=no 28552fi 28553rm -f core conftest.err conftest.$ac_objext \ 28554 conftest$ac_exeext conftest.$ac_ext 28555 ac_ext=c 28556ac_cpp='$CPP $CPPFLAGS' 28557ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 28558ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 28559ac_compiler_gnu=$ac_cv_c_compiler_gnu 28560 28561fi 28562{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cv_langinfo_codeset" >&5 28563$as_echo "$ac_cv_cv_langinfo_codeset" >&6; } 28564else 28565 ac_cv_cv_langinfo_codeset=no 28566fi 28567 28568 if test "x$ac_cv_cv_langinfo_codeset" = xyes; then : 28569 28570$as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h 28571 28572 28573fi 28574 28575 28576 ac_cv_libclocale_CPPFLAGS="-I../libclocale"; 28577 ac_cv_libclocale_LIBADD="../libclocale/libclocale.la"; 28578 28579 ac_cv_libclocale=local 28580 28581 28582 28583$as_echo "#define HAVE_LOCAL_LIBCLOCALE 1" >>confdefs.h 28584 28585 HAVE_LOCAL_LIBCLOCALE=1 28586 28587 28588fi 28589 28590 if test "x$ac_cv_libclocale" = xlocal; then 28591 HAVE_LOCAL_LIBCLOCALE_TRUE= 28592 HAVE_LOCAL_LIBCLOCALE_FALSE='#' 28593else 28594 HAVE_LOCAL_LIBCLOCALE_TRUE='#' 28595 HAVE_LOCAL_LIBCLOCALE_FALSE= 28596fi 28597 28598 if test "x$ac_cv_libclocale_CPPFLAGS" != "x"; then : 28599 LIBCLOCALE_CPPFLAGS=$ac_cv_libclocale_CPPFLAGS 28600 28601 28602fi 28603 if test "x$ac_cv_libclocale_LIBADD" != "x"; then : 28604 LIBCLOCALE_LIBADD=$ac_cv_libclocale_LIBADD 28605 28606 28607fi 28608 28609 if test "x$ac_cv_libclocale" = xyes; then : 28610 ax_libclocale_pc_libs_private=-lclocale 28611 28612 28613fi 28614 28615 if test "x$ac_cv_libclocale" = xyes; then : 28616 ax_libclocale_spec_requires=libclocale 28617 28618 ax_libclocale_spec_build_requires=libclocale-devel 28619 28620 28621fi 28622 28623 28624 28625 28626# Check whether --with-libcnotify was given. 28627if test "${with_libcnotify+set}" = set; then : 28628 withval=$with_libcnotify; ac_cv_with_libcnotify=$withval 28629else 28630 ac_cv_with_libcnotify=auto-detect 28631fi 28632 28633 { $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 28634$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; } 28635if ${ac_cv_with_libcnotify+:} false; then : 28636 $as_echo_n "(cached) " >&6 28637else 28638 ac_cv_with_libcnotify=auto-detect 28639fi 28640{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libcnotify" >&5 28641$as_echo "$ac_cv_with_libcnotify" >&6; } 28642 28643 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libcnotify" = xno; then : 28644 ac_cv_libcnotify=no 28645else 28646 ac_cv_libcnotify=check 28647 if test "x$ac_cv_with_libcnotify" != x && test "x$ac_cv_with_libcnotify" != xauto-detect; then : 28648 if test -d "$ac_cv_with_libcnotify"; then : 28649 CFLAGS="$CFLAGS -I${ac_cv_with_libcnotify}/include" 28650 LDFLAGS="$LDFLAGS -L${ac_cv_with_libcnotify}/lib" 28651else 28652 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 28653$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 28654as_fn_error 1 "no such directory: $ac_cv_with_libcnotify 28655See \`config.log' for more details" "$LINENO" 5; } 28656 28657fi 28658 28659else 28660 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 28661 28662pkg_failed=no 28663{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify" >&5 28664$as_echo_n "checking for libcnotify... " >&6; } 28665 28666if test -n "$libcnotify_CFLAGS"; then 28667 pkg_cv_libcnotify_CFLAGS="$libcnotify_CFLAGS" 28668 elif test -n "$PKG_CONFIG"; then 28669 if test -n "$PKG_CONFIG" && \ 28670 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcnotify >= 20120425\""; } >&5 28671 ($PKG_CONFIG --exists --print-errors "libcnotify >= 20120425") 2>&5 28672 ac_status=$? 28673 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 28674 test $ac_status = 0; }; then 28675 pkg_cv_libcnotify_CFLAGS=`$PKG_CONFIG --cflags "libcnotify >= 20120425" 2>/dev/null` 28676 test "x$?" != "x0" && pkg_failed=yes 28677else 28678 pkg_failed=yes 28679fi 28680 else 28681 pkg_failed=untried 28682fi 28683if test -n "$libcnotify_LIBS"; then 28684 pkg_cv_libcnotify_LIBS="$libcnotify_LIBS" 28685 elif test -n "$PKG_CONFIG"; then 28686 if test -n "$PKG_CONFIG" && \ 28687 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcnotify >= 20120425\""; } >&5 28688 ($PKG_CONFIG --exists --print-errors "libcnotify >= 20120425") 2>&5 28689 ac_status=$? 28690 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 28691 test $ac_status = 0; }; then 28692 pkg_cv_libcnotify_LIBS=`$PKG_CONFIG --libs "libcnotify >= 20120425" 2>/dev/null` 28693 test "x$?" != "x0" && pkg_failed=yes 28694else 28695 pkg_failed=yes 28696fi 28697 else 28698 pkg_failed=untried 28699fi 28700 28701 28702 28703if test $pkg_failed = yes; then 28704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 28705$as_echo "no" >&6; } 28706 28707if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 28708 _pkg_short_errors_supported=yes 28709else 28710 _pkg_short_errors_supported=no 28711fi 28712 if test $_pkg_short_errors_supported = yes; then 28713 libcnotify_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcnotify >= 20120425" 2>&1` 28714 else 28715 libcnotify_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcnotify >= 20120425" 2>&1` 28716 fi 28717 # Put the nasty error message in config.log where it belongs 28718 echo "$libcnotify_PKG_ERRORS" >&5 28719 28720 ac_cv_libcnotify=check 28721elif test $pkg_failed = untried; then 28722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 28723$as_echo "no" >&6; } 28724 ac_cv_libcnotify=check 28725else 28726 libcnotify_CFLAGS=$pkg_cv_libcnotify_CFLAGS 28727 libcnotify_LIBS=$pkg_cv_libcnotify_LIBS 28728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 28729$as_echo "yes" >&6; } 28730 ac_cv_libcnotify=yes 28731fi 28732 28733fi 28734 if test "x$ac_cv_libcnotify" = xyes; then : 28735 ac_cv_libcnotify_CPPFLAGS="$pkg_cv_libcnotify_CFLAGS" 28736 ac_cv_libcnotify_LIBADD="$pkg_cv_libcnotify_LIBS" 28737fi 28738 28739fi 28740 28741 if test "x$ac_cv_libcnotify" = xcheck; then : 28742 for ac_header in libcnotify.h 28743do : 28744 ac_fn_c_check_header_mongrel "$LINENO" "libcnotify.h" "ac_cv_header_libcnotify_h" "$ac_includes_default" 28745if test "x$ac_cv_header_libcnotify_h" = xyes; then : 28746 cat >>confdefs.h <<_ACEOF 28747#define HAVE_LIBCNOTIFY_H 1 28748_ACEOF 28749 28750fi 28751 28752done 28753 28754 28755 if test "x$ac_cv_header_libcnotify_h" = xno; then : 28756 ac_cv_libcnotify=no 28757else 28758 ac_cv_libcnotify=yes 28759 28760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_get_version in -lcnotify" >&5 28761$as_echo_n "checking for libcnotify_get_version in -lcnotify... " >&6; } 28762if ${ac_cv_lib_cnotify_libcnotify_get_version+:} false; then : 28763 $as_echo_n "(cached) " >&6 28764else 28765 ac_check_lib_save_LIBS=$LIBS 28766LIBS="-lcnotify $LIBS" 28767cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28768/* end confdefs.h. */ 28769 28770/* Override any GCC internal prototype to avoid an error. 28771 Use char because int might match the return type of a GCC 28772 builtin and then its argument prototype would still apply. */ 28773#ifdef __cplusplus 28774extern "C" 28775#endif 28776char libcnotify_get_version (); 28777int 28778main () 28779{ 28780return libcnotify_get_version (); 28781 ; 28782 return 0; 28783} 28784_ACEOF 28785if ac_fn_c_try_link "$LINENO"; then : 28786 ac_cv_lib_cnotify_libcnotify_get_version=yes 28787else 28788 ac_cv_lib_cnotify_libcnotify_get_version=no 28789fi 28790rm -f core conftest.err conftest.$ac_objext \ 28791 conftest$ac_exeext conftest.$ac_ext 28792LIBS=$ac_check_lib_save_LIBS 28793fi 28794{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_get_version" >&5 28795$as_echo "$ac_cv_lib_cnotify_libcnotify_get_version" >&6; } 28796if test "x$ac_cv_lib_cnotify_libcnotify_get_version" = xyes; then : 28797 ac_cv_libcnotify_dummy=yes 28798else 28799 ac_cv_libcnotify=no 28800fi 28801 28802 28803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_printf in -lcnotify" >&5 28804$as_echo_n "checking for libcnotify_printf in -lcnotify... " >&6; } 28805if ${ac_cv_lib_cnotify_libcnotify_printf+:} false; then : 28806 $as_echo_n "(cached) " >&6 28807else 28808 ac_check_lib_save_LIBS=$LIBS 28809LIBS="-lcnotify $LIBS" 28810cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28811/* end confdefs.h. */ 28812 28813/* Override any GCC internal prototype to avoid an error. 28814 Use char because int might match the return type of a GCC 28815 builtin and then its argument prototype would still apply. */ 28816#ifdef __cplusplus 28817extern "C" 28818#endif 28819char libcnotify_printf (); 28820int 28821main () 28822{ 28823return libcnotify_printf (); 28824 ; 28825 return 0; 28826} 28827_ACEOF 28828if ac_fn_c_try_link "$LINENO"; then : 28829 ac_cv_lib_cnotify_libcnotify_printf=yes 28830else 28831 ac_cv_lib_cnotify_libcnotify_printf=no 28832fi 28833rm -f core conftest.err conftest.$ac_objext \ 28834 conftest$ac_exeext conftest.$ac_ext 28835LIBS=$ac_check_lib_save_LIBS 28836fi 28837{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_printf" >&5 28838$as_echo "$ac_cv_lib_cnotify_libcnotify_printf" >&6; } 28839if test "x$ac_cv_lib_cnotify_libcnotify_printf" = xyes; then : 28840 ac_cv_libcnotify_dummy=yes 28841else 28842 ac_cv_libcnotify=no 28843fi 28844 28845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_print_data in -lcnotify" >&5 28846$as_echo_n "checking for libcnotify_print_data in -lcnotify... " >&6; } 28847if ${ac_cv_lib_cnotify_libcnotify_print_data+:} false; then : 28848 $as_echo_n "(cached) " >&6 28849else 28850 ac_check_lib_save_LIBS=$LIBS 28851LIBS="-lcnotify $LIBS" 28852cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28853/* end confdefs.h. */ 28854 28855/* Override any GCC internal prototype to avoid an error. 28856 Use char because int might match the return type of a GCC 28857 builtin and then its argument prototype would still apply. */ 28858#ifdef __cplusplus 28859extern "C" 28860#endif 28861char libcnotify_print_data (); 28862int 28863main () 28864{ 28865return libcnotify_print_data (); 28866 ; 28867 return 0; 28868} 28869_ACEOF 28870if ac_fn_c_try_link "$LINENO"; then : 28871 ac_cv_lib_cnotify_libcnotify_print_data=yes 28872else 28873 ac_cv_lib_cnotify_libcnotify_print_data=no 28874fi 28875rm -f core conftest.err conftest.$ac_objext \ 28876 conftest$ac_exeext conftest.$ac_ext 28877LIBS=$ac_check_lib_save_LIBS 28878fi 28879{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_print_data" >&5 28880$as_echo "$ac_cv_lib_cnotify_libcnotify_print_data" >&6; } 28881if test "x$ac_cv_lib_cnotify_libcnotify_print_data" = xyes; then : 28882 ac_cv_libcnotify_dummy=yes 28883else 28884 ac_cv_libcnotify=no 28885fi 28886 28887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_print_error_backtrace in -lcnotify" >&5 28888$as_echo_n "checking for libcnotify_print_error_backtrace in -lcnotify... " >&6; } 28889if ${ac_cv_lib_cnotify_libcnotify_print_error_backtrace+:} false; then : 28890 $as_echo_n "(cached) " >&6 28891else 28892 ac_check_lib_save_LIBS=$LIBS 28893LIBS="-lcnotify $LIBS" 28894cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28895/* end confdefs.h. */ 28896 28897/* Override any GCC internal prototype to avoid an error. 28898 Use char because int might match the return type of a GCC 28899 builtin and then its argument prototype would still apply. */ 28900#ifdef __cplusplus 28901extern "C" 28902#endif 28903char libcnotify_print_error_backtrace (); 28904int 28905main () 28906{ 28907return libcnotify_print_error_backtrace (); 28908 ; 28909 return 0; 28910} 28911_ACEOF 28912if ac_fn_c_try_link "$LINENO"; then : 28913 ac_cv_lib_cnotify_libcnotify_print_error_backtrace=yes 28914else 28915 ac_cv_lib_cnotify_libcnotify_print_error_backtrace=no 28916fi 28917rm -f core conftest.err conftest.$ac_objext \ 28918 conftest$ac_exeext conftest.$ac_ext 28919LIBS=$ac_check_lib_save_LIBS 28920fi 28921{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_print_error_backtrace" >&5 28922$as_echo "$ac_cv_lib_cnotify_libcnotify_print_error_backtrace" >&6; } 28923if test "x$ac_cv_lib_cnotify_libcnotify_print_error_backtrace" = xyes; then : 28924 ac_cv_libcnotify_dummy=yes 28925else 28926 ac_cv_libcnotify=no 28927fi 28928 28929 28930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_stream_set in -lcnotify" >&5 28931$as_echo_n "checking for libcnotify_stream_set in -lcnotify... " >&6; } 28932if ${ac_cv_lib_cnotify_libcnotify_stream_set+:} false; then : 28933 $as_echo_n "(cached) " >&6 28934else 28935 ac_check_lib_save_LIBS=$LIBS 28936LIBS="-lcnotify $LIBS" 28937cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28938/* end confdefs.h. */ 28939 28940/* Override any GCC internal prototype to avoid an error. 28941 Use char because int might match the return type of a GCC 28942 builtin and then its argument prototype would still apply. */ 28943#ifdef __cplusplus 28944extern "C" 28945#endif 28946char libcnotify_stream_set (); 28947int 28948main () 28949{ 28950return libcnotify_stream_set (); 28951 ; 28952 return 0; 28953} 28954_ACEOF 28955if ac_fn_c_try_link "$LINENO"; then : 28956 ac_cv_lib_cnotify_libcnotify_stream_set=yes 28957else 28958 ac_cv_lib_cnotify_libcnotify_stream_set=no 28959fi 28960rm -f core conftest.err conftest.$ac_objext \ 28961 conftest$ac_exeext conftest.$ac_ext 28962LIBS=$ac_check_lib_save_LIBS 28963fi 28964{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_stream_set" >&5 28965$as_echo "$ac_cv_lib_cnotify_libcnotify_stream_set" >&6; } 28966if test "x$ac_cv_lib_cnotify_libcnotify_stream_set" = xyes; then : 28967 ac_cv_libcnotify_dummy=yes 28968else 28969 ac_cv_libcnotify=no 28970fi 28971 28972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_stream_open in -lcnotify" >&5 28973$as_echo_n "checking for libcnotify_stream_open in -lcnotify... " >&6; } 28974if ${ac_cv_lib_cnotify_libcnotify_stream_open+:} false; then : 28975 $as_echo_n "(cached) " >&6 28976else 28977 ac_check_lib_save_LIBS=$LIBS 28978LIBS="-lcnotify $LIBS" 28979cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28980/* end confdefs.h. */ 28981 28982/* Override any GCC internal prototype to avoid an error. 28983 Use char because int might match the return type of a GCC 28984 builtin and then its argument prototype would still apply. */ 28985#ifdef __cplusplus 28986extern "C" 28987#endif 28988char libcnotify_stream_open (); 28989int 28990main () 28991{ 28992return libcnotify_stream_open (); 28993 ; 28994 return 0; 28995} 28996_ACEOF 28997if ac_fn_c_try_link "$LINENO"; then : 28998 ac_cv_lib_cnotify_libcnotify_stream_open=yes 28999else 29000 ac_cv_lib_cnotify_libcnotify_stream_open=no 29001fi 29002rm -f core conftest.err conftest.$ac_objext \ 29003 conftest$ac_exeext conftest.$ac_ext 29004LIBS=$ac_check_lib_save_LIBS 29005fi 29006{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_stream_open" >&5 29007$as_echo "$ac_cv_lib_cnotify_libcnotify_stream_open" >&6; } 29008if test "x$ac_cv_lib_cnotify_libcnotify_stream_open" = xyes; then : 29009 ac_cv_libcnotify_dummy=yes 29010else 29011 ac_cv_libcnotify=no 29012fi 29013 29014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_stream_close in -lcnotify" >&5 29015$as_echo_n "checking for libcnotify_stream_close in -lcnotify... " >&6; } 29016if ${ac_cv_lib_cnotify_libcnotify_stream_close+:} false; then : 29017 $as_echo_n "(cached) " >&6 29018else 29019 ac_check_lib_save_LIBS=$LIBS 29020LIBS="-lcnotify $LIBS" 29021cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29022/* end confdefs.h. */ 29023 29024/* Override any GCC internal prototype to avoid an error. 29025 Use char because int might match the return type of a GCC 29026 builtin and then its argument prototype would still apply. */ 29027#ifdef __cplusplus 29028extern "C" 29029#endif 29030char libcnotify_stream_close (); 29031int 29032main () 29033{ 29034return libcnotify_stream_close (); 29035 ; 29036 return 0; 29037} 29038_ACEOF 29039if ac_fn_c_try_link "$LINENO"; then : 29040 ac_cv_lib_cnotify_libcnotify_stream_close=yes 29041else 29042 ac_cv_lib_cnotify_libcnotify_stream_close=no 29043fi 29044rm -f core conftest.err conftest.$ac_objext \ 29045 conftest$ac_exeext conftest.$ac_ext 29046LIBS=$ac_check_lib_save_LIBS 29047fi 29048{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_stream_close" >&5 29049$as_echo "$ac_cv_lib_cnotify_libcnotify_stream_close" >&6; } 29050if test "x$ac_cv_lib_cnotify_libcnotify_stream_close" = xyes; then : 29051 ac_cv_libcnotify_dummy=yes 29052else 29053 ac_cv_libcnotify=no 29054fi 29055 29056 29057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_verbose_set in -lcnotify" >&5 29058$as_echo_n "checking for libcnotify_verbose_set in -lcnotify... " >&6; } 29059if ${ac_cv_lib_cnotify_libcnotify_verbose_set+:} false; then : 29060 $as_echo_n "(cached) " >&6 29061else 29062 ac_check_lib_save_LIBS=$LIBS 29063LIBS="-lcnotify $LIBS" 29064cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29065/* end confdefs.h. */ 29066 29067/* Override any GCC internal prototype to avoid an error. 29068 Use char because int might match the return type of a GCC 29069 builtin and then its argument prototype would still apply. */ 29070#ifdef __cplusplus 29071extern "C" 29072#endif 29073char libcnotify_verbose_set (); 29074int 29075main () 29076{ 29077return libcnotify_verbose_set (); 29078 ; 29079 return 0; 29080} 29081_ACEOF 29082if ac_fn_c_try_link "$LINENO"; then : 29083 ac_cv_lib_cnotify_libcnotify_verbose_set=yes 29084else 29085 ac_cv_lib_cnotify_libcnotify_verbose_set=no 29086fi 29087rm -f core conftest.err conftest.$ac_objext \ 29088 conftest$ac_exeext conftest.$ac_ext 29089LIBS=$ac_check_lib_save_LIBS 29090fi 29091{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_verbose_set" >&5 29092$as_echo "$ac_cv_lib_cnotify_libcnotify_verbose_set" >&6; } 29093if test "x$ac_cv_lib_cnotify_libcnotify_verbose_set" = xyes; then : 29094 ac_cv_libcnotify_dummy=yes 29095else 29096 ac_cv_libcnotify=no 29097fi 29098 29099 29100 ac_cv_libcnotify_LIBADD="-lcnotify" 29101fi 29102 29103fi 29104 if test "x$ac_cv_with_libcnotify" != x && test "x$ac_cv_with_libcnotify" != xauto-detect && test "x$ac_cv_libcnotify" != xyes; then : 29105 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 29106$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 29107as_fn_error 1 "unable to find supported libcnotify in directory: $ac_cv_with_libcnotify 29108See \`config.log' for more details" "$LINENO" 5; } 29109 29110fi 29111 29112fi 29113 29114 if test "x$ac_cv_libcnotify" = xyes; then : 29115 29116$as_echo "#define HAVE_LIBCNOTIFY 1" >>confdefs.h 29117 29118 29119fi 29120 29121 if test "x$ac_cv_libcnotify" = xyes; then : 29122 HAVE_LIBCNOTIFY=1 29123 29124else 29125 HAVE_LIBCNOTIFY=0 29126 29127 29128fi 29129 29130 29131 if test "x$ac_cv_libcnotify" != xyes; then : 29132 for ac_header in stdarg.h varargs.h 29133do : 29134 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 29135ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 29136if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 29137 cat >>confdefs.h <<_ACEOF 29138#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 29139_ACEOF 29140 29141fi 29142 29143done 29144 29145 29146 if test "x$ac_cv_header_stdarg_h" != xyes && test "x$ac_cv_header_varargs_h" != xyes; then : 29147 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 29148$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 29149as_fn_error 1 "Missing headers: stdarg.h and varargs.h 29150See \`config.log' for more details" "$LINENO" 5; } 29151 29152fi 29153 29154 for ac_header in errno.h 29155do : 29156 ac_fn_c_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default" 29157if test "x$ac_cv_header_errno_h" = xyes; then : 29158 cat >>confdefs.h <<_ACEOF 29159#define HAVE_ERRNO_H 1 29160_ACEOF 29161 29162fi 29163 29164done 29165 29166 29167 ac_cv_libcnotify_CPPFLAGS="-I../libcnotify"; 29168 ac_cv_libcnotify_LIBADD="../libcnotify/libcnotify.la"; 29169 29170 ac_cv_libcnotify=local 29171 29172 29173 29174$as_echo "#define HAVE_LOCAL_LIBCNOTIFY 1" >>confdefs.h 29175 29176 HAVE_LOCAL_LIBCNOTIFY=1 29177 29178 29179fi 29180 29181 if test "x$ac_cv_libcnotify" = xlocal; then 29182 HAVE_LOCAL_LIBCNOTIFY_TRUE= 29183 HAVE_LOCAL_LIBCNOTIFY_FALSE='#' 29184else 29185 HAVE_LOCAL_LIBCNOTIFY_TRUE='#' 29186 HAVE_LOCAL_LIBCNOTIFY_FALSE= 29187fi 29188 29189 if test "x$ac_cv_libcnotify_CPPFLAGS" != "x"; then : 29190 LIBCNOTIFY_CPPFLAGS=$ac_cv_libcnotify_CPPFLAGS 29191 29192 29193fi 29194 if test "x$ac_cv_libcnotify_LIBADD" != "x"; then : 29195 LIBCNOTIFY_LIBADD=$ac_cv_libcnotify_LIBADD 29196 29197 29198fi 29199 29200 if test "x$ac_cv_libcnotify" = xyes; then : 29201 ax_libcnotify_pc_libs_private=-lcnotify 29202 29203 29204fi 29205 29206 if test "x$ac_cv_libcnotify" = xyes; then : 29207 ax_libcnotify_spec_requires=libcnotify 29208 29209 ax_libcnotify_spec_build_requires=libcnotify-devel 29210 29211 29212fi 29213 29214 29215 29216 29217# Check whether --with-libcsplit was given. 29218if test "${with_libcsplit+set}" = set; then : 29219 withval=$with_libcsplit; ac_cv_with_libcsplit=$withval 29220else 29221 ac_cv_with_libcsplit=auto-detect 29222fi 29223 29224 { $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 29225$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; } 29226if ${ac_cv_with_libcsplit+:} false; then : 29227 $as_echo_n "(cached) " >&6 29228else 29229 ac_cv_with_libcsplit=auto-detect 29230fi 29231{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libcsplit" >&5 29232$as_echo "$ac_cv_with_libcsplit" >&6; } 29233 29234 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libcsplit" = xno; then : 29235 ac_cv_libcsplit=no 29236else 29237 ac_cv_libcsplit=check 29238 if test "x$ac_cv_with_libcsplit" != x && test "x$ac_cv_with_libcsplit" != xauto-detect; then : 29239 if test -d "$ac_cv_with_libcsplit"; then : 29240 CFLAGS="$CFLAGS -I${ac_cv_with_libcsplit}/include" 29241 LDFLAGS="$LDFLAGS -L${ac_cv_with_libcsplit}/lib" 29242else 29243 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 29244$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 29245as_fn_error 1 "no such directory: $ac_cv_with_libcsplit 29246See \`config.log' for more details" "$LINENO" 5; } 29247 29248fi 29249 29250else 29251 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 29252 29253pkg_failed=no 29254{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit" >&5 29255$as_echo_n "checking for libcsplit... " >&6; } 29256 29257if test -n "$libcsplit_CFLAGS"; then 29258 pkg_cv_libcsplit_CFLAGS="$libcsplit_CFLAGS" 29259 elif test -n "$PKG_CONFIG"; then 29260 if test -n "$PKG_CONFIG" && \ 29261 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcsplit >= 20120701\""; } >&5 29262 ($PKG_CONFIG --exists --print-errors "libcsplit >= 20120701") 2>&5 29263 ac_status=$? 29264 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 29265 test $ac_status = 0; }; then 29266 pkg_cv_libcsplit_CFLAGS=`$PKG_CONFIG --cflags "libcsplit >= 20120701" 2>/dev/null` 29267 test "x$?" != "x0" && pkg_failed=yes 29268else 29269 pkg_failed=yes 29270fi 29271 else 29272 pkg_failed=untried 29273fi 29274if test -n "$libcsplit_LIBS"; then 29275 pkg_cv_libcsplit_LIBS="$libcsplit_LIBS" 29276 elif test -n "$PKG_CONFIG"; then 29277 if test -n "$PKG_CONFIG" && \ 29278 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcsplit >= 20120701\""; } >&5 29279 ($PKG_CONFIG --exists --print-errors "libcsplit >= 20120701") 2>&5 29280 ac_status=$? 29281 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 29282 test $ac_status = 0; }; then 29283 pkg_cv_libcsplit_LIBS=`$PKG_CONFIG --libs "libcsplit >= 20120701" 2>/dev/null` 29284 test "x$?" != "x0" && pkg_failed=yes 29285else 29286 pkg_failed=yes 29287fi 29288 else 29289 pkg_failed=untried 29290fi 29291 29292 29293 29294if test $pkg_failed = yes; then 29295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 29296$as_echo "no" >&6; } 29297 29298if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 29299 _pkg_short_errors_supported=yes 29300else 29301 _pkg_short_errors_supported=no 29302fi 29303 if test $_pkg_short_errors_supported = yes; then 29304 libcsplit_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcsplit >= 20120701" 2>&1` 29305 else 29306 libcsplit_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcsplit >= 20120701" 2>&1` 29307 fi 29308 # Put the nasty error message in config.log where it belongs 29309 echo "$libcsplit_PKG_ERRORS" >&5 29310 29311 ac_cv_libcsplit=check 29312elif test $pkg_failed = untried; then 29313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 29314$as_echo "no" >&6; } 29315 ac_cv_libcsplit=check 29316else 29317 libcsplit_CFLAGS=$pkg_cv_libcsplit_CFLAGS 29318 libcsplit_LIBS=$pkg_cv_libcsplit_LIBS 29319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 29320$as_echo "yes" >&6; } 29321 ac_cv_libcsplit=yes 29322fi 29323 29324fi 29325 if test "x$ac_cv_libcsplit" = xyes && test "x$ac_cv_enable_wide_character_type" != xno; then : 29326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libcsplit/features.h defines LIBCSPLIT_HAVE_WIDE_CHARACTER_TYPE as 1" >&5 29327$as_echo_n "checking whether libcsplit/features.h defines LIBCSPLIT_HAVE_WIDE_CHARACTER_TYPE as 1... " >&6; } 29328if ${ac_cv_header_libcsplit_features_h_have_wide_character_type+:} false; then : 29329 $as_echo_n "(cached) " >&6 29330else 29331 ac_ext=c 29332ac_cpp='$CPP $CPPFLAGS' 29333ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 29334ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 29335ac_compiler_gnu=$ac_cv_c_compiler_gnu 29336 29337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29338/* end confdefs.h. */ 29339#include <libcsplit/features.h> 29340int 29341main () 29342{ 29343#if !defined( LIBCSPLIT_HAVE_WIDE_CHARACTER_TYPE ) || ( LIBCSPLIT_HAVE_WIDE_CHARACTER_TYPE != 1 ) 29344#error LIBCSPLIT_HAVE_WIDE_CHARACTER_TYPE not defined 29345#endif 29346 ; 29347 return 0; 29348} 29349_ACEOF 29350if ac_fn_c_try_compile "$LINENO"; then : 29351 ac_cv_header_libcsplit_features_h_have_wide_character_type=yes 29352else 29353 ac_cv_header_libcsplit_features_h_have_wide_character_type=no 29354fi 29355rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 29356 ac_ext=c 29357ac_cpp='$CPP $CPPFLAGS' 29358ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 29359ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 29360ac_compiler_gnu=$ac_cv_c_compiler_gnu 29361 29362fi 29363{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_libcsplit_features_h_have_wide_character_type" >&5 29364$as_echo "$ac_cv_header_libcsplit_features_h_have_wide_character_type" >&6; } 29365 29366 if test "x$ac_cv_header_libcsplit_features_h_have_wide_character_type" = xno; then : 29367 ac_cv_libcsplit=no 29368fi 29369 29370fi 29371 if test "x$ac_cv_libcsplit" = xyes; then : 29372 ac_cv_libcsplit_CPPFLAGS="$pkg_cv_libcsplit_CFLAGS" 29373 ac_cv_libcsplit_LIBADD="$pkg_cv_libcsplit_LIBS" 29374fi 29375 29376fi 29377 29378 if test "x$ac_cv_libcsplit" = xcheck; then : 29379 for ac_header in libcsplit.h 29380do : 29381 ac_fn_c_check_header_mongrel "$LINENO" "libcsplit.h" "ac_cv_header_libcsplit_h" "$ac_includes_default" 29382if test "x$ac_cv_header_libcsplit_h" = xyes; then : 29383 cat >>confdefs.h <<_ACEOF 29384#define HAVE_LIBCSPLIT_H 1 29385_ACEOF 29386 29387fi 29388 29389done 29390 29391 29392 if test "x$ac_cv_header_libcsplit_h" = xno; then : 29393 ac_cv_libcsplit=no 29394else 29395 ac_cv_libcsplit=yes 29396 29397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_get_version in -lcsplit" >&5 29398$as_echo_n "checking for libcsplit_get_version in -lcsplit... " >&6; } 29399if ${ac_cv_lib_csplit_libcsplit_get_version+:} false; then : 29400 $as_echo_n "(cached) " >&6 29401else 29402 ac_check_lib_save_LIBS=$LIBS 29403LIBS="-lcsplit $LIBS" 29404cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29405/* end confdefs.h. */ 29406 29407/* Override any GCC internal prototype to avoid an error. 29408 Use char because int might match the return type of a GCC 29409 builtin and then its argument prototype would still apply. */ 29410#ifdef __cplusplus 29411extern "C" 29412#endif 29413char libcsplit_get_version (); 29414int 29415main () 29416{ 29417return libcsplit_get_version (); 29418 ; 29419 return 0; 29420} 29421_ACEOF 29422if ac_fn_c_try_link "$LINENO"; then : 29423 ac_cv_lib_csplit_libcsplit_get_version=yes 29424else 29425 ac_cv_lib_csplit_libcsplit_get_version=no 29426fi 29427rm -f core conftest.err conftest.$ac_objext \ 29428 conftest$ac_exeext conftest.$ac_ext 29429LIBS=$ac_check_lib_save_LIBS 29430fi 29431{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_get_version" >&5 29432$as_echo "$ac_cv_lib_csplit_libcsplit_get_version" >&6; } 29433if test "x$ac_cv_lib_csplit_libcsplit_get_version" = xyes; then : 29434 ac_cv_libcsplit_dummy=yes 29435else 29436 ac_cv_libcsplit=no 29437fi 29438 29439 29440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_narrow_string_split in -lcsplit" >&5 29441$as_echo_n "checking for libcsplit_narrow_string_split in -lcsplit... " >&6; } 29442if ${ac_cv_lib_csplit_libcsplit_narrow_string_split+:} false; then : 29443 $as_echo_n "(cached) " >&6 29444else 29445 ac_check_lib_save_LIBS=$LIBS 29446LIBS="-lcsplit $LIBS" 29447cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29448/* end confdefs.h. */ 29449 29450/* Override any GCC internal prototype to avoid an error. 29451 Use char because int might match the return type of a GCC 29452 builtin and then its argument prototype would still apply. */ 29453#ifdef __cplusplus 29454extern "C" 29455#endif 29456char libcsplit_narrow_string_split (); 29457int 29458main () 29459{ 29460return libcsplit_narrow_string_split (); 29461 ; 29462 return 0; 29463} 29464_ACEOF 29465if ac_fn_c_try_link "$LINENO"; then : 29466 ac_cv_lib_csplit_libcsplit_narrow_string_split=yes 29467else 29468 ac_cv_lib_csplit_libcsplit_narrow_string_split=no 29469fi 29470rm -f core conftest.err conftest.$ac_objext \ 29471 conftest$ac_exeext conftest.$ac_ext 29472LIBS=$ac_check_lib_save_LIBS 29473fi 29474{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_narrow_string_split" >&5 29475$as_echo "$ac_cv_lib_csplit_libcsplit_narrow_string_split" >&6; } 29476if test "x$ac_cv_lib_csplit_libcsplit_narrow_string_split" = xyes; then : 29477 ac_cv_libcsplit_dummy=yes 29478else 29479 ac_cv_libcsplit=no 29480fi 29481 29482 29483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_narrow_split_string_free in -lcsplit" >&5 29484$as_echo_n "checking for libcsplit_narrow_split_string_free in -lcsplit... " >&6; } 29485if ${ac_cv_lib_csplit_libcsplit_narrow_split_string_free+:} false; then : 29486 $as_echo_n "(cached) " >&6 29487else 29488 ac_check_lib_save_LIBS=$LIBS 29489LIBS="-lcsplit $LIBS" 29490cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29491/* end confdefs.h. */ 29492 29493/* Override any GCC internal prototype to avoid an error. 29494 Use char because int might match the return type of a GCC 29495 builtin and then its argument prototype would still apply. */ 29496#ifdef __cplusplus 29497extern "C" 29498#endif 29499char libcsplit_narrow_split_string_free (); 29500int 29501main () 29502{ 29503return libcsplit_narrow_split_string_free (); 29504 ; 29505 return 0; 29506} 29507_ACEOF 29508if ac_fn_c_try_link "$LINENO"; then : 29509 ac_cv_lib_csplit_libcsplit_narrow_split_string_free=yes 29510else 29511 ac_cv_lib_csplit_libcsplit_narrow_split_string_free=no 29512fi 29513rm -f core conftest.err conftest.$ac_objext \ 29514 conftest$ac_exeext conftest.$ac_ext 29515LIBS=$ac_check_lib_save_LIBS 29516fi 29517{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_narrow_split_string_free" >&5 29518$as_echo "$ac_cv_lib_csplit_libcsplit_narrow_split_string_free" >&6; } 29519if test "x$ac_cv_lib_csplit_libcsplit_narrow_split_string_free" = xyes; then : 29520 ac_cv_libcsplit_dummy=yes 29521else 29522 ac_cv_libcsplit=no 29523fi 29524 29525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_narrow_split_string_get_string in -lcsplit" >&5 29526$as_echo_n "checking for libcsplit_narrow_split_string_get_string in -lcsplit... " >&6; } 29527if ${ac_cv_lib_csplit_libcsplit_narrow_split_string_get_string+:} false; then : 29528 $as_echo_n "(cached) " >&6 29529else 29530 ac_check_lib_save_LIBS=$LIBS 29531LIBS="-lcsplit $LIBS" 29532cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29533/* end confdefs.h. */ 29534 29535/* Override any GCC internal prototype to avoid an error. 29536 Use char because int might match the return type of a GCC 29537 builtin and then its argument prototype would still apply. */ 29538#ifdef __cplusplus 29539extern "C" 29540#endif 29541char libcsplit_narrow_split_string_get_string (); 29542int 29543main () 29544{ 29545return libcsplit_narrow_split_string_get_string (); 29546 ; 29547 return 0; 29548} 29549_ACEOF 29550if ac_fn_c_try_link "$LINENO"; then : 29551 ac_cv_lib_csplit_libcsplit_narrow_split_string_get_string=yes 29552else 29553 ac_cv_lib_csplit_libcsplit_narrow_split_string_get_string=no 29554fi 29555rm -f core conftest.err conftest.$ac_objext \ 29556 conftest$ac_exeext conftest.$ac_ext 29557LIBS=$ac_check_lib_save_LIBS 29558fi 29559{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_narrow_split_string_get_string" >&5 29560$as_echo "$ac_cv_lib_csplit_libcsplit_narrow_split_string_get_string" >&6; } 29561if test "x$ac_cv_lib_csplit_libcsplit_narrow_split_string_get_string" = xyes; then : 29562 ac_cv_libcsplit_dummy=yes 29563else 29564 ac_cv_libcsplit=no 29565fi 29566 29567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_narrow_split_string_get_number_of_segments in -lcsplit" >&5 29568$as_echo_n "checking for libcsplit_narrow_split_string_get_number_of_segments in -lcsplit... " >&6; } 29569if ${ac_cv_lib_csplit_libcsplit_narrow_split_string_get_number_of_segments+:} false; then : 29570 $as_echo_n "(cached) " >&6 29571else 29572 ac_check_lib_save_LIBS=$LIBS 29573LIBS="-lcsplit $LIBS" 29574cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29575/* end confdefs.h. */ 29576 29577/* Override any GCC internal prototype to avoid an error. 29578 Use char because int might match the return type of a GCC 29579 builtin and then its argument prototype would still apply. */ 29580#ifdef __cplusplus 29581extern "C" 29582#endif 29583char libcsplit_narrow_split_string_get_number_of_segments (); 29584int 29585main () 29586{ 29587return libcsplit_narrow_split_string_get_number_of_segments (); 29588 ; 29589 return 0; 29590} 29591_ACEOF 29592if ac_fn_c_try_link "$LINENO"; then : 29593 ac_cv_lib_csplit_libcsplit_narrow_split_string_get_number_of_segments=yes 29594else 29595 ac_cv_lib_csplit_libcsplit_narrow_split_string_get_number_of_segments=no 29596fi 29597rm -f core conftest.err conftest.$ac_objext \ 29598 conftest$ac_exeext conftest.$ac_ext 29599LIBS=$ac_check_lib_save_LIBS 29600fi 29601{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_narrow_split_string_get_number_of_segments" >&5 29602$as_echo "$ac_cv_lib_csplit_libcsplit_narrow_split_string_get_number_of_segments" >&6; } 29603if test "x$ac_cv_lib_csplit_libcsplit_narrow_split_string_get_number_of_segments" = xyes; then : 29604 ac_cv_libcsplit_dummy=yes 29605else 29606 ac_cv_libcsplit=no 29607fi 29608 29609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_narrow_split_string_get_segment_by_index in -lcsplit" >&5 29610$as_echo_n "checking for libcsplit_narrow_split_string_get_segment_by_index in -lcsplit... " >&6; } 29611if ${ac_cv_lib_csplit_libcsplit_narrow_split_string_get_segment_by_index+:} false; then : 29612 $as_echo_n "(cached) " >&6 29613else 29614 ac_check_lib_save_LIBS=$LIBS 29615LIBS="-lcsplit $LIBS" 29616cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29617/* end confdefs.h. */ 29618 29619/* Override any GCC internal prototype to avoid an error. 29620 Use char because int might match the return type of a GCC 29621 builtin and then its argument prototype would still apply. */ 29622#ifdef __cplusplus 29623extern "C" 29624#endif 29625char libcsplit_narrow_split_string_get_segment_by_index (); 29626int 29627main () 29628{ 29629return libcsplit_narrow_split_string_get_segment_by_index (); 29630 ; 29631 return 0; 29632} 29633_ACEOF 29634if ac_fn_c_try_link "$LINENO"; then : 29635 ac_cv_lib_csplit_libcsplit_narrow_split_string_get_segment_by_index=yes 29636else 29637 ac_cv_lib_csplit_libcsplit_narrow_split_string_get_segment_by_index=no 29638fi 29639rm -f core conftest.err conftest.$ac_objext \ 29640 conftest$ac_exeext conftest.$ac_ext 29641LIBS=$ac_check_lib_save_LIBS 29642fi 29643{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_narrow_split_string_get_segment_by_index" >&5 29644$as_echo "$ac_cv_lib_csplit_libcsplit_narrow_split_string_get_segment_by_index" >&6; } 29645if test "x$ac_cv_lib_csplit_libcsplit_narrow_split_string_get_segment_by_index" = xyes; then : 29646 ac_cv_libcsplit_dummy=yes 29647else 29648 ac_cv_libcsplit=no 29649fi 29650 29651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_narrow_split_string_set_segment_by_index in -lcsplit" >&5 29652$as_echo_n "checking for libcsplit_narrow_split_string_set_segment_by_index in -lcsplit... " >&6; } 29653if ${ac_cv_lib_csplit_libcsplit_narrow_split_string_set_segment_by_index+:} false; then : 29654 $as_echo_n "(cached) " >&6 29655else 29656 ac_check_lib_save_LIBS=$LIBS 29657LIBS="-lcsplit $LIBS" 29658cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29659/* end confdefs.h. */ 29660 29661/* Override any GCC internal prototype to avoid an error. 29662 Use char because int might match the return type of a GCC 29663 builtin and then its argument prototype would still apply. */ 29664#ifdef __cplusplus 29665extern "C" 29666#endif 29667char libcsplit_narrow_split_string_set_segment_by_index (); 29668int 29669main () 29670{ 29671return libcsplit_narrow_split_string_set_segment_by_index (); 29672 ; 29673 return 0; 29674} 29675_ACEOF 29676if ac_fn_c_try_link "$LINENO"; then : 29677 ac_cv_lib_csplit_libcsplit_narrow_split_string_set_segment_by_index=yes 29678else 29679 ac_cv_lib_csplit_libcsplit_narrow_split_string_set_segment_by_index=no 29680fi 29681rm -f core conftest.err conftest.$ac_objext \ 29682 conftest$ac_exeext conftest.$ac_ext 29683LIBS=$ac_check_lib_save_LIBS 29684fi 29685{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_narrow_split_string_set_segment_by_index" >&5 29686$as_echo "$ac_cv_lib_csplit_libcsplit_narrow_split_string_set_segment_by_index" >&6; } 29687if test "x$ac_cv_lib_csplit_libcsplit_narrow_split_string_set_segment_by_index" = xyes; then : 29688 ac_cv_libcsplit_dummy=yes 29689else 29690 ac_cv_libcsplit=no 29691fi 29692 29693 29694 if test "x$ac_cv_enable_wide_character_type" != xno; then : 29695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_wide_string_split in -lcsplit" >&5 29696$as_echo_n "checking for libcsplit_wide_string_split in -lcsplit... " >&6; } 29697if ${ac_cv_lib_csplit_libcsplit_wide_string_split+:} false; then : 29698 $as_echo_n "(cached) " >&6 29699else 29700 ac_check_lib_save_LIBS=$LIBS 29701LIBS="-lcsplit $LIBS" 29702cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29703/* end confdefs.h. */ 29704 29705/* Override any GCC internal prototype to avoid an error. 29706 Use char because int might match the return type of a GCC 29707 builtin and then its argument prototype would still apply. */ 29708#ifdef __cplusplus 29709extern "C" 29710#endif 29711char libcsplit_wide_string_split (); 29712int 29713main () 29714{ 29715return libcsplit_wide_string_split (); 29716 ; 29717 return 0; 29718} 29719_ACEOF 29720if ac_fn_c_try_link "$LINENO"; then : 29721 ac_cv_lib_csplit_libcsplit_wide_string_split=yes 29722else 29723 ac_cv_lib_csplit_libcsplit_wide_string_split=no 29724fi 29725rm -f core conftest.err conftest.$ac_objext \ 29726 conftest$ac_exeext conftest.$ac_ext 29727LIBS=$ac_check_lib_save_LIBS 29728fi 29729{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_wide_string_split" >&5 29730$as_echo "$ac_cv_lib_csplit_libcsplit_wide_string_split" >&6; } 29731if test "x$ac_cv_lib_csplit_libcsplit_wide_string_split" = xyes; then : 29732 ac_cv_libcsplit_dummy=yes 29733else 29734 ac_cv_libcsplit=no 29735fi 29736 29737 29738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_wide_split_string_free in -lcsplit" >&5 29739$as_echo_n "checking for libcsplit_wide_split_string_free in -lcsplit... " >&6; } 29740if ${ac_cv_lib_csplit_libcsplit_wide_split_string_free+:} false; then : 29741 $as_echo_n "(cached) " >&6 29742else 29743 ac_check_lib_save_LIBS=$LIBS 29744LIBS="-lcsplit $LIBS" 29745cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29746/* end confdefs.h. */ 29747 29748/* Override any GCC internal prototype to avoid an error. 29749 Use char because int might match the return type of a GCC 29750 builtin and then its argument prototype would still apply. */ 29751#ifdef __cplusplus 29752extern "C" 29753#endif 29754char libcsplit_wide_split_string_free (); 29755int 29756main () 29757{ 29758return libcsplit_wide_split_string_free (); 29759 ; 29760 return 0; 29761} 29762_ACEOF 29763if ac_fn_c_try_link "$LINENO"; then : 29764 ac_cv_lib_csplit_libcsplit_wide_split_string_free=yes 29765else 29766 ac_cv_lib_csplit_libcsplit_wide_split_string_free=no 29767fi 29768rm -f core conftest.err conftest.$ac_objext \ 29769 conftest$ac_exeext conftest.$ac_ext 29770LIBS=$ac_check_lib_save_LIBS 29771fi 29772{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_wide_split_string_free" >&5 29773$as_echo "$ac_cv_lib_csplit_libcsplit_wide_split_string_free" >&6; } 29774if test "x$ac_cv_lib_csplit_libcsplit_wide_split_string_free" = xyes; then : 29775 ac_cv_libcsplit_dummy=yes 29776else 29777 ac_cv_libcsplit=no 29778fi 29779 29780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_wide_split_string_get_string in -lcsplit" >&5 29781$as_echo_n "checking for libcsplit_wide_split_string_get_string in -lcsplit... " >&6; } 29782if ${ac_cv_lib_csplit_libcsplit_wide_split_string_get_string+:} false; then : 29783 $as_echo_n "(cached) " >&6 29784else 29785 ac_check_lib_save_LIBS=$LIBS 29786LIBS="-lcsplit $LIBS" 29787cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29788/* end confdefs.h. */ 29789 29790/* Override any GCC internal prototype to avoid an error. 29791 Use char because int might match the return type of a GCC 29792 builtin and then its argument prototype would still apply. */ 29793#ifdef __cplusplus 29794extern "C" 29795#endif 29796char libcsplit_wide_split_string_get_string (); 29797int 29798main () 29799{ 29800return libcsplit_wide_split_string_get_string (); 29801 ; 29802 return 0; 29803} 29804_ACEOF 29805if ac_fn_c_try_link "$LINENO"; then : 29806 ac_cv_lib_csplit_libcsplit_wide_split_string_get_string=yes 29807else 29808 ac_cv_lib_csplit_libcsplit_wide_split_string_get_string=no 29809fi 29810rm -f core conftest.err conftest.$ac_objext \ 29811 conftest$ac_exeext conftest.$ac_ext 29812LIBS=$ac_check_lib_save_LIBS 29813fi 29814{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_wide_split_string_get_string" >&5 29815$as_echo "$ac_cv_lib_csplit_libcsplit_wide_split_string_get_string" >&6; } 29816if test "x$ac_cv_lib_csplit_libcsplit_wide_split_string_get_string" = xyes; then : 29817 ac_cv_libcsplit_dummy=yes 29818else 29819 ac_cv_libcsplit=no 29820fi 29821 29822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_wide_split_string_get_number_of_segments in -lcsplit" >&5 29823$as_echo_n "checking for libcsplit_wide_split_string_get_number_of_segments in -lcsplit... " >&6; } 29824if ${ac_cv_lib_csplit_libcsplit_wide_split_string_get_number_of_segments+:} false; then : 29825 $as_echo_n "(cached) " >&6 29826else 29827 ac_check_lib_save_LIBS=$LIBS 29828LIBS="-lcsplit $LIBS" 29829cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29830/* end confdefs.h. */ 29831 29832/* Override any GCC internal prototype to avoid an error. 29833 Use char because int might match the return type of a GCC 29834 builtin and then its argument prototype would still apply. */ 29835#ifdef __cplusplus 29836extern "C" 29837#endif 29838char libcsplit_wide_split_string_get_number_of_segments (); 29839int 29840main () 29841{ 29842return libcsplit_wide_split_string_get_number_of_segments (); 29843 ; 29844 return 0; 29845} 29846_ACEOF 29847if ac_fn_c_try_link "$LINENO"; then : 29848 ac_cv_lib_csplit_libcsplit_wide_split_string_get_number_of_segments=yes 29849else 29850 ac_cv_lib_csplit_libcsplit_wide_split_string_get_number_of_segments=no 29851fi 29852rm -f core conftest.err conftest.$ac_objext \ 29853 conftest$ac_exeext conftest.$ac_ext 29854LIBS=$ac_check_lib_save_LIBS 29855fi 29856{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_wide_split_string_get_number_of_segments" >&5 29857$as_echo "$ac_cv_lib_csplit_libcsplit_wide_split_string_get_number_of_segments" >&6; } 29858if test "x$ac_cv_lib_csplit_libcsplit_wide_split_string_get_number_of_segments" = xyes; then : 29859 ac_cv_libcsplit_dummy=yes 29860else 29861 ac_cv_libcsplit=no 29862fi 29863 29864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_wide_split_string_get_segment_by_index in -lcsplit" >&5 29865$as_echo_n "checking for libcsplit_wide_split_string_get_segment_by_index in -lcsplit... " >&6; } 29866if ${ac_cv_lib_csplit_libcsplit_wide_split_string_get_segment_by_index+:} false; then : 29867 $as_echo_n "(cached) " >&6 29868else 29869 ac_check_lib_save_LIBS=$LIBS 29870LIBS="-lcsplit $LIBS" 29871cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29872/* end confdefs.h. */ 29873 29874/* Override any GCC internal prototype to avoid an error. 29875 Use char because int might match the return type of a GCC 29876 builtin and then its argument prototype would still apply. */ 29877#ifdef __cplusplus 29878extern "C" 29879#endif 29880char libcsplit_wide_split_string_get_segment_by_index (); 29881int 29882main () 29883{ 29884return libcsplit_wide_split_string_get_segment_by_index (); 29885 ; 29886 return 0; 29887} 29888_ACEOF 29889if ac_fn_c_try_link "$LINENO"; then : 29890 ac_cv_lib_csplit_libcsplit_wide_split_string_get_segment_by_index=yes 29891else 29892 ac_cv_lib_csplit_libcsplit_wide_split_string_get_segment_by_index=no 29893fi 29894rm -f core conftest.err conftest.$ac_objext \ 29895 conftest$ac_exeext conftest.$ac_ext 29896LIBS=$ac_check_lib_save_LIBS 29897fi 29898{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_wide_split_string_get_segment_by_index" >&5 29899$as_echo "$ac_cv_lib_csplit_libcsplit_wide_split_string_get_segment_by_index" >&6; } 29900if test "x$ac_cv_lib_csplit_libcsplit_wide_split_string_get_segment_by_index" = xyes; then : 29901 ac_cv_libcsplit_dummy=yes 29902else 29903 ac_cv_libcsplit=no 29904fi 29905 29906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_wide_split_string_set_segment_by_index in -lcsplit" >&5 29907$as_echo_n "checking for libcsplit_wide_split_string_set_segment_by_index in -lcsplit... " >&6; } 29908if ${ac_cv_lib_csplit_libcsplit_wide_split_string_set_segment_by_index+:} false; then : 29909 $as_echo_n "(cached) " >&6 29910else 29911 ac_check_lib_save_LIBS=$LIBS 29912LIBS="-lcsplit $LIBS" 29913cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29914/* end confdefs.h. */ 29915 29916/* Override any GCC internal prototype to avoid an error. 29917 Use char because int might match the return type of a GCC 29918 builtin and then its argument prototype would still apply. */ 29919#ifdef __cplusplus 29920extern "C" 29921#endif 29922char libcsplit_wide_split_string_set_segment_by_index (); 29923int 29924main () 29925{ 29926return libcsplit_wide_split_string_set_segment_by_index (); 29927 ; 29928 return 0; 29929} 29930_ACEOF 29931if ac_fn_c_try_link "$LINENO"; then : 29932 ac_cv_lib_csplit_libcsplit_wide_split_string_set_segment_by_index=yes 29933else 29934 ac_cv_lib_csplit_libcsplit_wide_split_string_set_segment_by_index=no 29935fi 29936rm -f core conftest.err conftest.$ac_objext \ 29937 conftest$ac_exeext conftest.$ac_ext 29938LIBS=$ac_check_lib_save_LIBS 29939fi 29940{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_wide_split_string_set_segment_by_index" >&5 29941$as_echo "$ac_cv_lib_csplit_libcsplit_wide_split_string_set_segment_by_index" >&6; } 29942if test "x$ac_cv_lib_csplit_libcsplit_wide_split_string_set_segment_by_index" = xyes; then : 29943 ac_cv_libcsplit_dummy=yes 29944else 29945 ac_cv_libcsplit=no 29946fi 29947 29948 29949fi 29950 29951 ac_cv_libcsplit_LIBADD="-lcsplit" 29952fi 29953 29954fi 29955 if test "x$ac_cv_with_libcsplit" != x && test "x$ac_cv_with_libcsplit" != xauto-detect && test "x$ac_cv_libcsplit" != xyes; then : 29956 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 29957$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 29958as_fn_error 1 "unable to find supported libcsplit in directory: $ac_cv_with_libcsplit 29959See \`config.log' for more details" "$LINENO" 5; } 29960 29961fi 29962 29963fi 29964 29965 if test "x$ac_cv_libcsplit" = xyes; then : 29966 29967$as_echo "#define HAVE_LIBCSPLIT 1" >>confdefs.h 29968 29969 29970fi 29971 29972 if test "x$ac_cv_libcsplit" = xyes; then : 29973 HAVE_LIBCSPLIT=1 29974 29975else 29976 HAVE_LIBCSPLIT=0 29977 29978 29979fi 29980 29981 29982 if test "x$ac_cv_libcsplit" != xyes; then : 29983 29984 ac_cv_libcsplit_CPPFLAGS="-I../libcsplit"; 29985 ac_cv_libcsplit_LIBADD="../libcsplit/libcsplit.la"; 29986 29987 ac_cv_libcsplit=local 29988 29989 29990 29991$as_echo "#define HAVE_LOCAL_LIBCSPLIT 1" >>confdefs.h 29992 29993 HAVE_LOCAL_LIBCSPLIT=1 29994 29995 29996fi 29997 29998 if test "x$ac_cv_libcsplit" = xlocal; then 29999 HAVE_LOCAL_LIBCSPLIT_TRUE= 30000 HAVE_LOCAL_LIBCSPLIT_FALSE='#' 30001else 30002 HAVE_LOCAL_LIBCSPLIT_TRUE='#' 30003 HAVE_LOCAL_LIBCSPLIT_FALSE= 30004fi 30005 30006 if test "x$ac_cv_libcsplit_CPPFLAGS" != "x"; then : 30007 LIBCSPLIT_CPPFLAGS=$ac_cv_libcsplit_CPPFLAGS 30008 30009 30010fi 30011 if test "x$ac_cv_libcsplit_LIBADD" != "x"; then : 30012 LIBCSPLIT_LIBADD=$ac_cv_libcsplit_LIBADD 30013 30014 30015fi 30016 30017 if test "x$ac_cv_libcsplit" = xyes; then : 30018 ax_libcsplit_pc_libs_private=-lcsplit 30019 30020 30021fi 30022 30023 if test "x$ac_cv_libcsplit" = xyes; then : 30024 ax_libcsplit_spec_requires=libcsplit 30025 30026 ax_libcsplit_spec_build_requires=libcsplit-devel 30027 30028 30029fi 30030 30031 30032 30033 30034# Check whether --with-libuna was given. 30035if test "${with_libuna+set}" = set; then : 30036 withval=$with_libuna; ac_cv_with_libuna=$withval 30037else 30038 ac_cv_with_libuna=auto-detect 30039fi 30040 30041 { $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 30042$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; } 30043if ${ac_cv_with_libuna+:} false; then : 30044 $as_echo_n "(cached) " >&6 30045else 30046 ac_cv_with_libuna=auto-detect 30047fi 30048{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libuna" >&5 30049$as_echo "$ac_cv_with_libuna" >&6; } 30050 30051 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libuna" = xno; then : 30052 ac_cv_libuna=no 30053else 30054 ac_cv_libuna=check 30055 if test "x$ac_cv_with_libuna" != x && test "x$ac_cv_with_libuna" != xauto-detect; then : 30056 if test -d "$ac_cv_with_libuna"; then : 30057 CFLAGS="$CFLAGS -I${ac_cv_with_libuna}/include" 30058 LDFLAGS="$LDFLAGS -L${ac_cv_with_libuna}/lib" 30059else 30060 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 30061$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 30062as_fn_error 1 "no such directory: $ac_cv_with_libuna 30063See \`config.log' for more details" "$LINENO" 5; } 30064 30065fi 30066 30067else 30068 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 30069 30070pkg_failed=no 30071{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna" >&5 30072$as_echo_n "checking for libuna... " >&6; } 30073 30074if test -n "$libuna_CFLAGS"; then 30075 pkg_cv_libuna_CFLAGS="$libuna_CFLAGS" 30076 elif test -n "$PKG_CONFIG"; then 30077 if test -n "$PKG_CONFIG" && \ 30078 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libuna >= 20200711\""; } >&5 30079 ($PKG_CONFIG --exists --print-errors "libuna >= 20200711") 2>&5 30080 ac_status=$? 30081 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 30082 test $ac_status = 0; }; then 30083 pkg_cv_libuna_CFLAGS=`$PKG_CONFIG --cflags "libuna >= 20200711" 2>/dev/null` 30084 test "x$?" != "x0" && pkg_failed=yes 30085else 30086 pkg_failed=yes 30087fi 30088 else 30089 pkg_failed=untried 30090fi 30091if test -n "$libuna_LIBS"; then 30092 pkg_cv_libuna_LIBS="$libuna_LIBS" 30093 elif test -n "$PKG_CONFIG"; then 30094 if test -n "$PKG_CONFIG" && \ 30095 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libuna >= 20200711\""; } >&5 30096 ($PKG_CONFIG --exists --print-errors "libuna >= 20200711") 2>&5 30097 ac_status=$? 30098 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 30099 test $ac_status = 0; }; then 30100 pkg_cv_libuna_LIBS=`$PKG_CONFIG --libs "libuna >= 20200711" 2>/dev/null` 30101 test "x$?" != "x0" && pkg_failed=yes 30102else 30103 pkg_failed=yes 30104fi 30105 else 30106 pkg_failed=untried 30107fi 30108 30109 30110 30111if test $pkg_failed = yes; then 30112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 30113$as_echo "no" >&6; } 30114 30115if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 30116 _pkg_short_errors_supported=yes 30117else 30118 _pkg_short_errors_supported=no 30119fi 30120 if test $_pkg_short_errors_supported = yes; then 30121 libuna_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libuna >= 20200711" 2>&1` 30122 else 30123 libuna_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libuna >= 20200711" 2>&1` 30124 fi 30125 # Put the nasty error message in config.log where it belongs 30126 echo "$libuna_PKG_ERRORS" >&5 30127 30128 ac_cv_libuna=check 30129elif test $pkg_failed = untried; then 30130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 30131$as_echo "no" >&6; } 30132 ac_cv_libuna=check 30133else 30134 libuna_CFLAGS=$pkg_cv_libuna_CFLAGS 30135 libuna_LIBS=$pkg_cv_libuna_LIBS 30136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 30137$as_echo "yes" >&6; } 30138 ac_cv_libuna=yes 30139fi 30140 30141fi 30142 if test "x$ac_cv_libuna" = xyes; then : 30143 ac_cv_libuna_CPPFLAGS="$pkg_cv_libuna_CFLAGS" 30144 ac_cv_libuna_LIBADD="$pkg_cv_libuna_LIBS" 30145fi 30146 30147fi 30148 30149 if test "x$ac_cv_libuna" = xcheck; then : 30150 for ac_header in libuna.h 30151do : 30152 ac_fn_c_check_header_mongrel "$LINENO" "libuna.h" "ac_cv_header_libuna_h" "$ac_includes_default" 30153if test "x$ac_cv_header_libuna_h" = xyes; then : 30154 cat >>confdefs.h <<_ACEOF 30155#define HAVE_LIBUNA_H 1 30156_ACEOF 30157 30158fi 30159 30160done 30161 30162 30163 if test "x$ac_cv_header_libuna_h" = xno; then : 30164 ac_cv_libuna=no 30165else 30166 ac_cv_libuna=yes 30167 30168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_get_version in -luna" >&5 30169$as_echo_n "checking for libuna_get_version in -luna... " >&6; } 30170if ${ac_cv_lib_una_libuna_get_version+:} false; then : 30171 $as_echo_n "(cached) " >&6 30172else 30173 ac_check_lib_save_LIBS=$LIBS 30174LIBS="-luna $LIBS" 30175cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30176/* end confdefs.h. */ 30177 30178/* Override any GCC internal prototype to avoid an error. 30179 Use char because int might match the return type of a GCC 30180 builtin and then its argument prototype would still apply. */ 30181#ifdef __cplusplus 30182extern "C" 30183#endif 30184char libuna_get_version (); 30185int 30186main () 30187{ 30188return libuna_get_version (); 30189 ; 30190 return 0; 30191} 30192_ACEOF 30193if ac_fn_c_try_link "$LINENO"; then : 30194 ac_cv_lib_una_libuna_get_version=yes 30195else 30196 ac_cv_lib_una_libuna_get_version=no 30197fi 30198rm -f core conftest.err conftest.$ac_objext \ 30199 conftest$ac_exeext conftest.$ac_ext 30200LIBS=$ac_check_lib_save_LIBS 30201fi 30202{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_get_version" >&5 30203$as_echo "$ac_cv_lib_una_libuna_get_version" >&6; } 30204if test "x$ac_cv_lib_una_libuna_get_version" = xyes; then : 30205 ac_cv_libuna_dummy=yes 30206else 30207 ac_cv_libuna=no 30208fi 30209 30210 30211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base16_stream_size_to_byte_stream in -luna" >&5 30212$as_echo_n "checking for libuna_base16_stream_size_to_byte_stream in -luna... " >&6; } 30213if ${ac_cv_lib_una_libuna_base16_stream_size_to_byte_stream+:} false; then : 30214 $as_echo_n "(cached) " >&6 30215else 30216 ac_check_lib_save_LIBS=$LIBS 30217LIBS="-luna $LIBS" 30218cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30219/* end confdefs.h. */ 30220 30221/* Override any GCC internal prototype to avoid an error. 30222 Use char because int might match the return type of a GCC 30223 builtin and then its argument prototype would still apply. */ 30224#ifdef __cplusplus 30225extern "C" 30226#endif 30227char libuna_base16_stream_size_to_byte_stream (); 30228int 30229main () 30230{ 30231return libuna_base16_stream_size_to_byte_stream (); 30232 ; 30233 return 0; 30234} 30235_ACEOF 30236if ac_fn_c_try_link "$LINENO"; then : 30237 ac_cv_lib_una_libuna_base16_stream_size_to_byte_stream=yes 30238else 30239 ac_cv_lib_una_libuna_base16_stream_size_to_byte_stream=no 30240fi 30241rm -f core conftest.err conftest.$ac_objext \ 30242 conftest$ac_exeext conftest.$ac_ext 30243LIBS=$ac_check_lib_save_LIBS 30244fi 30245{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base16_stream_size_to_byte_stream" >&5 30246$as_echo "$ac_cv_lib_una_libuna_base16_stream_size_to_byte_stream" >&6; } 30247if test "x$ac_cv_lib_una_libuna_base16_stream_size_to_byte_stream" = xyes; then : 30248 ac_cv_libuna_dummy=yes 30249else 30250 ac_cv_libuna=no 30251fi 30252 30253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base16_stream_copy_to_byte_stream in -luna" >&5 30254$as_echo_n "checking for libuna_base16_stream_copy_to_byte_stream in -luna... " >&6; } 30255if ${ac_cv_lib_una_libuna_base16_stream_copy_to_byte_stream+:} false; then : 30256 $as_echo_n "(cached) " >&6 30257else 30258 ac_check_lib_save_LIBS=$LIBS 30259LIBS="-luna $LIBS" 30260cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30261/* end confdefs.h. */ 30262 30263/* Override any GCC internal prototype to avoid an error. 30264 Use char because int might match the return type of a GCC 30265 builtin and then its argument prototype would still apply. */ 30266#ifdef __cplusplus 30267extern "C" 30268#endif 30269char libuna_base16_stream_copy_to_byte_stream (); 30270int 30271main () 30272{ 30273return libuna_base16_stream_copy_to_byte_stream (); 30274 ; 30275 return 0; 30276} 30277_ACEOF 30278if ac_fn_c_try_link "$LINENO"; then : 30279 ac_cv_lib_una_libuna_base16_stream_copy_to_byte_stream=yes 30280else 30281 ac_cv_lib_una_libuna_base16_stream_copy_to_byte_stream=no 30282fi 30283rm -f core conftest.err conftest.$ac_objext \ 30284 conftest$ac_exeext conftest.$ac_ext 30285LIBS=$ac_check_lib_save_LIBS 30286fi 30287{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base16_stream_copy_to_byte_stream" >&5 30288$as_echo "$ac_cv_lib_una_libuna_base16_stream_copy_to_byte_stream" >&6; } 30289if test "x$ac_cv_lib_una_libuna_base16_stream_copy_to_byte_stream" = xyes; then : 30290 ac_cv_libuna_dummy=yes 30291else 30292 ac_cv_libuna=no 30293fi 30294 30295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base16_stream_size_from_byte_stream in -luna" >&5 30296$as_echo_n "checking for libuna_base16_stream_size_from_byte_stream in -luna... " >&6; } 30297if ${ac_cv_lib_una_libuna_base16_stream_size_from_byte_stream+:} false; then : 30298 $as_echo_n "(cached) " >&6 30299else 30300 ac_check_lib_save_LIBS=$LIBS 30301LIBS="-luna $LIBS" 30302cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30303/* end confdefs.h. */ 30304 30305/* Override any GCC internal prototype to avoid an error. 30306 Use char because int might match the return type of a GCC 30307 builtin and then its argument prototype would still apply. */ 30308#ifdef __cplusplus 30309extern "C" 30310#endif 30311char libuna_base16_stream_size_from_byte_stream (); 30312int 30313main () 30314{ 30315return libuna_base16_stream_size_from_byte_stream (); 30316 ; 30317 return 0; 30318} 30319_ACEOF 30320if ac_fn_c_try_link "$LINENO"; then : 30321 ac_cv_lib_una_libuna_base16_stream_size_from_byte_stream=yes 30322else 30323 ac_cv_lib_una_libuna_base16_stream_size_from_byte_stream=no 30324fi 30325rm -f core conftest.err conftest.$ac_objext \ 30326 conftest$ac_exeext conftest.$ac_ext 30327LIBS=$ac_check_lib_save_LIBS 30328fi 30329{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base16_stream_size_from_byte_stream" >&5 30330$as_echo "$ac_cv_lib_una_libuna_base16_stream_size_from_byte_stream" >&6; } 30331if test "x$ac_cv_lib_una_libuna_base16_stream_size_from_byte_stream" = xyes; then : 30332 ac_cv_libuna_dummy=yes 30333else 30334 ac_cv_libuna=no 30335fi 30336 30337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base16_stream_copy_from_byte_stream in -luna" >&5 30338$as_echo_n "checking for libuna_base16_stream_copy_from_byte_stream in -luna... " >&6; } 30339if ${ac_cv_lib_una_libuna_base16_stream_copy_from_byte_stream+:} false; then : 30340 $as_echo_n "(cached) " >&6 30341else 30342 ac_check_lib_save_LIBS=$LIBS 30343LIBS="-luna $LIBS" 30344cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30345/* end confdefs.h. */ 30346 30347/* Override any GCC internal prototype to avoid an error. 30348 Use char because int might match the return type of a GCC 30349 builtin and then its argument prototype would still apply. */ 30350#ifdef __cplusplus 30351extern "C" 30352#endif 30353char libuna_base16_stream_copy_from_byte_stream (); 30354int 30355main () 30356{ 30357return libuna_base16_stream_copy_from_byte_stream (); 30358 ; 30359 return 0; 30360} 30361_ACEOF 30362if ac_fn_c_try_link "$LINENO"; then : 30363 ac_cv_lib_una_libuna_base16_stream_copy_from_byte_stream=yes 30364else 30365 ac_cv_lib_una_libuna_base16_stream_copy_from_byte_stream=no 30366fi 30367rm -f core conftest.err conftest.$ac_objext \ 30368 conftest$ac_exeext conftest.$ac_ext 30369LIBS=$ac_check_lib_save_LIBS 30370fi 30371{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base16_stream_copy_from_byte_stream" >&5 30372$as_echo "$ac_cv_lib_una_libuna_base16_stream_copy_from_byte_stream" >&6; } 30373if test "x$ac_cv_lib_una_libuna_base16_stream_copy_from_byte_stream" = xyes; then : 30374 ac_cv_libuna_dummy=yes 30375else 30376 ac_cv_libuna=no 30377fi 30378 30379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base16_stream_with_index_copy_from_byte_stream in -luna" >&5 30380$as_echo_n "checking for libuna_base16_stream_with_index_copy_from_byte_stream in -luna... " >&6; } 30381if ${ac_cv_lib_una_libuna_base16_stream_with_index_copy_from_byte_stream+:} false; then : 30382 $as_echo_n "(cached) " >&6 30383else 30384 ac_check_lib_save_LIBS=$LIBS 30385LIBS="-luna $LIBS" 30386cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30387/* end confdefs.h. */ 30388 30389/* Override any GCC internal prototype to avoid an error. 30390 Use char because int might match the return type of a GCC 30391 builtin and then its argument prototype would still apply. */ 30392#ifdef __cplusplus 30393extern "C" 30394#endif 30395char libuna_base16_stream_with_index_copy_from_byte_stream (); 30396int 30397main () 30398{ 30399return libuna_base16_stream_with_index_copy_from_byte_stream (); 30400 ; 30401 return 0; 30402} 30403_ACEOF 30404if ac_fn_c_try_link "$LINENO"; then : 30405 ac_cv_lib_una_libuna_base16_stream_with_index_copy_from_byte_stream=yes 30406else 30407 ac_cv_lib_una_libuna_base16_stream_with_index_copy_from_byte_stream=no 30408fi 30409rm -f core conftest.err conftest.$ac_objext \ 30410 conftest$ac_exeext conftest.$ac_ext 30411LIBS=$ac_check_lib_save_LIBS 30412fi 30413{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base16_stream_with_index_copy_from_byte_stream" >&5 30414$as_echo "$ac_cv_lib_una_libuna_base16_stream_with_index_copy_from_byte_stream" >&6; } 30415if test "x$ac_cv_lib_una_libuna_base16_stream_with_index_copy_from_byte_stream" = xyes; then : 30416 ac_cv_libuna_dummy=yes 30417else 30418 ac_cv_libuna=no 30419fi 30420 30421 30422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_quintuplet_copy_from_base32_stream in -luna" >&5 30423$as_echo_n "checking for libuna_base32_quintuplet_copy_from_base32_stream in -luna... " >&6; } 30424if ${ac_cv_lib_una_libuna_base32_quintuplet_copy_from_base32_stream+:} false; then : 30425 $as_echo_n "(cached) " >&6 30426else 30427 ac_check_lib_save_LIBS=$LIBS 30428LIBS="-luna $LIBS" 30429cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30430/* end confdefs.h. */ 30431 30432/* Override any GCC internal prototype to avoid an error. 30433 Use char because int might match the return type of a GCC 30434 builtin and then its argument prototype would still apply. */ 30435#ifdef __cplusplus 30436extern "C" 30437#endif 30438char libuna_base32_quintuplet_copy_from_base32_stream (); 30439int 30440main () 30441{ 30442return libuna_base32_quintuplet_copy_from_base32_stream (); 30443 ; 30444 return 0; 30445} 30446_ACEOF 30447if ac_fn_c_try_link "$LINENO"; then : 30448 ac_cv_lib_una_libuna_base32_quintuplet_copy_from_base32_stream=yes 30449else 30450 ac_cv_lib_una_libuna_base32_quintuplet_copy_from_base32_stream=no 30451fi 30452rm -f core conftest.err conftest.$ac_objext \ 30453 conftest$ac_exeext conftest.$ac_ext 30454LIBS=$ac_check_lib_save_LIBS 30455fi 30456{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_quintuplet_copy_from_base32_stream" >&5 30457$as_echo "$ac_cv_lib_una_libuna_base32_quintuplet_copy_from_base32_stream" >&6; } 30458if test "x$ac_cv_lib_una_libuna_base32_quintuplet_copy_from_base32_stream" = xyes; then : 30459 ac_cv_libuna_dummy=yes 30460else 30461 ac_cv_libuna=no 30462fi 30463 30464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_quintuplet_copy_to_base32_stream in -luna" >&5 30465$as_echo_n "checking for libuna_base32_quintuplet_copy_to_base32_stream in -luna... " >&6; } 30466if ${ac_cv_lib_una_libuna_base32_quintuplet_copy_to_base32_stream+:} false; then : 30467 $as_echo_n "(cached) " >&6 30468else 30469 ac_check_lib_save_LIBS=$LIBS 30470LIBS="-luna $LIBS" 30471cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30472/* end confdefs.h. */ 30473 30474/* Override any GCC internal prototype to avoid an error. 30475 Use char because int might match the return type of a GCC 30476 builtin and then its argument prototype would still apply. */ 30477#ifdef __cplusplus 30478extern "C" 30479#endif 30480char libuna_base32_quintuplet_copy_to_base32_stream (); 30481int 30482main () 30483{ 30484return libuna_base32_quintuplet_copy_to_base32_stream (); 30485 ; 30486 return 0; 30487} 30488_ACEOF 30489if ac_fn_c_try_link "$LINENO"; then : 30490 ac_cv_lib_una_libuna_base32_quintuplet_copy_to_base32_stream=yes 30491else 30492 ac_cv_lib_una_libuna_base32_quintuplet_copy_to_base32_stream=no 30493fi 30494rm -f core conftest.err conftest.$ac_objext \ 30495 conftest$ac_exeext conftest.$ac_ext 30496LIBS=$ac_check_lib_save_LIBS 30497fi 30498{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_quintuplet_copy_to_base32_stream" >&5 30499$as_echo "$ac_cv_lib_una_libuna_base32_quintuplet_copy_to_base32_stream" >&6; } 30500if test "x$ac_cv_lib_una_libuna_base32_quintuplet_copy_to_base32_stream" = xyes; then : 30501 ac_cv_libuna_dummy=yes 30502else 30503 ac_cv_libuna=no 30504fi 30505 30506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_quintuplet_copy_from_byte_stream in -luna" >&5 30507$as_echo_n "checking for libuna_base32_quintuplet_copy_from_byte_stream in -luna... " >&6; } 30508if ${ac_cv_lib_una_libuna_base32_quintuplet_copy_from_byte_stream+:} false; then : 30509 $as_echo_n "(cached) " >&6 30510else 30511 ac_check_lib_save_LIBS=$LIBS 30512LIBS="-luna $LIBS" 30513cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30514/* end confdefs.h. */ 30515 30516/* Override any GCC internal prototype to avoid an error. 30517 Use char because int might match the return type of a GCC 30518 builtin and then its argument prototype would still apply. */ 30519#ifdef __cplusplus 30520extern "C" 30521#endif 30522char libuna_base32_quintuplet_copy_from_byte_stream (); 30523int 30524main () 30525{ 30526return libuna_base32_quintuplet_copy_from_byte_stream (); 30527 ; 30528 return 0; 30529} 30530_ACEOF 30531if ac_fn_c_try_link "$LINENO"; then : 30532 ac_cv_lib_una_libuna_base32_quintuplet_copy_from_byte_stream=yes 30533else 30534 ac_cv_lib_una_libuna_base32_quintuplet_copy_from_byte_stream=no 30535fi 30536rm -f core conftest.err conftest.$ac_objext \ 30537 conftest$ac_exeext conftest.$ac_ext 30538LIBS=$ac_check_lib_save_LIBS 30539fi 30540{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_quintuplet_copy_from_byte_stream" >&5 30541$as_echo "$ac_cv_lib_una_libuna_base32_quintuplet_copy_from_byte_stream" >&6; } 30542if test "x$ac_cv_lib_una_libuna_base32_quintuplet_copy_from_byte_stream" = xyes; then : 30543 ac_cv_libuna_dummy=yes 30544else 30545 ac_cv_libuna=no 30546fi 30547 30548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_quintuplet_copy_to_byte_stream in -luna" >&5 30549$as_echo_n "checking for libuna_base32_quintuplet_copy_to_byte_stream in -luna... " >&6; } 30550if ${ac_cv_lib_una_libuna_base32_quintuplet_copy_to_byte_stream+:} false; then : 30551 $as_echo_n "(cached) " >&6 30552else 30553 ac_check_lib_save_LIBS=$LIBS 30554LIBS="-luna $LIBS" 30555cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30556/* end confdefs.h. */ 30557 30558/* Override any GCC internal prototype to avoid an error. 30559 Use char because int might match the return type of a GCC 30560 builtin and then its argument prototype would still apply. */ 30561#ifdef __cplusplus 30562extern "C" 30563#endif 30564char libuna_base32_quintuplet_copy_to_byte_stream (); 30565int 30566main () 30567{ 30568return libuna_base32_quintuplet_copy_to_byte_stream (); 30569 ; 30570 return 0; 30571} 30572_ACEOF 30573if ac_fn_c_try_link "$LINENO"; then : 30574 ac_cv_lib_una_libuna_base32_quintuplet_copy_to_byte_stream=yes 30575else 30576 ac_cv_lib_una_libuna_base32_quintuplet_copy_to_byte_stream=no 30577fi 30578rm -f core conftest.err conftest.$ac_objext \ 30579 conftest$ac_exeext conftest.$ac_ext 30580LIBS=$ac_check_lib_save_LIBS 30581fi 30582{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_quintuplet_copy_to_byte_stream" >&5 30583$as_echo "$ac_cv_lib_una_libuna_base32_quintuplet_copy_to_byte_stream" >&6; } 30584if test "x$ac_cv_lib_una_libuna_base32_quintuplet_copy_to_byte_stream" = xyes; then : 30585 ac_cv_libuna_dummy=yes 30586else 30587 ac_cv_libuna=no 30588fi 30589 30590 30591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_stream_size_to_byte_stream in -luna" >&5 30592$as_echo_n "checking for libuna_base32_stream_size_to_byte_stream in -luna... " >&6; } 30593if ${ac_cv_lib_una_libuna_base32_stream_size_to_byte_stream+:} false; then : 30594 $as_echo_n "(cached) " >&6 30595else 30596 ac_check_lib_save_LIBS=$LIBS 30597LIBS="-luna $LIBS" 30598cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30599/* end confdefs.h. */ 30600 30601/* Override any GCC internal prototype to avoid an error. 30602 Use char because int might match the return type of a GCC 30603 builtin and then its argument prototype would still apply. */ 30604#ifdef __cplusplus 30605extern "C" 30606#endif 30607char libuna_base32_stream_size_to_byte_stream (); 30608int 30609main () 30610{ 30611return libuna_base32_stream_size_to_byte_stream (); 30612 ; 30613 return 0; 30614} 30615_ACEOF 30616if ac_fn_c_try_link "$LINENO"; then : 30617 ac_cv_lib_una_libuna_base32_stream_size_to_byte_stream=yes 30618else 30619 ac_cv_lib_una_libuna_base32_stream_size_to_byte_stream=no 30620fi 30621rm -f core conftest.err conftest.$ac_objext \ 30622 conftest$ac_exeext conftest.$ac_ext 30623LIBS=$ac_check_lib_save_LIBS 30624fi 30625{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_stream_size_to_byte_stream" >&5 30626$as_echo "$ac_cv_lib_una_libuna_base32_stream_size_to_byte_stream" >&6; } 30627if test "x$ac_cv_lib_una_libuna_base32_stream_size_to_byte_stream" = xyes; then : 30628 ac_cv_libuna_dummy=yes 30629else 30630 ac_cv_libuna=no 30631fi 30632 30633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_stream_copy_to_byte_stream in -luna" >&5 30634$as_echo_n "checking for libuna_base32_stream_copy_to_byte_stream in -luna... " >&6; } 30635if ${ac_cv_lib_una_libuna_base32_stream_copy_to_byte_stream+:} false; then : 30636 $as_echo_n "(cached) " >&6 30637else 30638 ac_check_lib_save_LIBS=$LIBS 30639LIBS="-luna $LIBS" 30640cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30641/* end confdefs.h. */ 30642 30643/* Override any GCC internal prototype to avoid an error. 30644 Use char because int might match the return type of a GCC 30645 builtin and then its argument prototype would still apply. */ 30646#ifdef __cplusplus 30647extern "C" 30648#endif 30649char libuna_base32_stream_copy_to_byte_stream (); 30650int 30651main () 30652{ 30653return libuna_base32_stream_copy_to_byte_stream (); 30654 ; 30655 return 0; 30656} 30657_ACEOF 30658if ac_fn_c_try_link "$LINENO"; then : 30659 ac_cv_lib_una_libuna_base32_stream_copy_to_byte_stream=yes 30660else 30661 ac_cv_lib_una_libuna_base32_stream_copy_to_byte_stream=no 30662fi 30663rm -f core conftest.err conftest.$ac_objext \ 30664 conftest$ac_exeext conftest.$ac_ext 30665LIBS=$ac_check_lib_save_LIBS 30666fi 30667{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_stream_copy_to_byte_stream" >&5 30668$as_echo "$ac_cv_lib_una_libuna_base32_stream_copy_to_byte_stream" >&6; } 30669if test "x$ac_cv_lib_una_libuna_base32_stream_copy_to_byte_stream" = xyes; then : 30670 ac_cv_libuna_dummy=yes 30671else 30672 ac_cv_libuna=no 30673fi 30674 30675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_stream_size_from_byte_stream in -luna" >&5 30676$as_echo_n "checking for libuna_base32_stream_size_from_byte_stream in -luna... " >&6; } 30677if ${ac_cv_lib_una_libuna_base32_stream_size_from_byte_stream+:} false; then : 30678 $as_echo_n "(cached) " >&6 30679else 30680 ac_check_lib_save_LIBS=$LIBS 30681LIBS="-luna $LIBS" 30682cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30683/* end confdefs.h. */ 30684 30685/* Override any GCC internal prototype to avoid an error. 30686 Use char because int might match the return type of a GCC 30687 builtin and then its argument prototype would still apply. */ 30688#ifdef __cplusplus 30689extern "C" 30690#endif 30691char libuna_base32_stream_size_from_byte_stream (); 30692int 30693main () 30694{ 30695return libuna_base32_stream_size_from_byte_stream (); 30696 ; 30697 return 0; 30698} 30699_ACEOF 30700if ac_fn_c_try_link "$LINENO"; then : 30701 ac_cv_lib_una_libuna_base32_stream_size_from_byte_stream=yes 30702else 30703 ac_cv_lib_una_libuna_base32_stream_size_from_byte_stream=no 30704fi 30705rm -f core conftest.err conftest.$ac_objext \ 30706 conftest$ac_exeext conftest.$ac_ext 30707LIBS=$ac_check_lib_save_LIBS 30708fi 30709{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_stream_size_from_byte_stream" >&5 30710$as_echo "$ac_cv_lib_una_libuna_base32_stream_size_from_byte_stream" >&6; } 30711if test "x$ac_cv_lib_una_libuna_base32_stream_size_from_byte_stream" = xyes; then : 30712 ac_cv_libuna_dummy=yes 30713else 30714 ac_cv_libuna=no 30715fi 30716 30717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_stream_copy_from_byte_stream in -luna" >&5 30718$as_echo_n "checking for libuna_base32_stream_copy_from_byte_stream in -luna... " >&6; } 30719if ${ac_cv_lib_una_libuna_base32_stream_copy_from_byte_stream+:} false; then : 30720 $as_echo_n "(cached) " >&6 30721else 30722 ac_check_lib_save_LIBS=$LIBS 30723LIBS="-luna $LIBS" 30724cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30725/* end confdefs.h. */ 30726 30727/* Override any GCC internal prototype to avoid an error. 30728 Use char because int might match the return type of a GCC 30729 builtin and then its argument prototype would still apply. */ 30730#ifdef __cplusplus 30731extern "C" 30732#endif 30733char libuna_base32_stream_copy_from_byte_stream (); 30734int 30735main () 30736{ 30737return libuna_base32_stream_copy_from_byte_stream (); 30738 ; 30739 return 0; 30740} 30741_ACEOF 30742if ac_fn_c_try_link "$LINENO"; then : 30743 ac_cv_lib_una_libuna_base32_stream_copy_from_byte_stream=yes 30744else 30745 ac_cv_lib_una_libuna_base32_stream_copy_from_byte_stream=no 30746fi 30747rm -f core conftest.err conftest.$ac_objext \ 30748 conftest$ac_exeext conftest.$ac_ext 30749LIBS=$ac_check_lib_save_LIBS 30750fi 30751{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_stream_copy_from_byte_stream" >&5 30752$as_echo "$ac_cv_lib_una_libuna_base32_stream_copy_from_byte_stream" >&6; } 30753if test "x$ac_cv_lib_una_libuna_base32_stream_copy_from_byte_stream" = xyes; then : 30754 ac_cv_libuna_dummy=yes 30755else 30756 ac_cv_libuna=no 30757fi 30758 30759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_stream_with_index_copy_from_byte_stream in -luna" >&5 30760$as_echo_n "checking for libuna_base32_stream_with_index_copy_from_byte_stream in -luna... " >&6; } 30761if ${ac_cv_lib_una_libuna_base32_stream_with_index_copy_from_byte_stream+:} false; then : 30762 $as_echo_n "(cached) " >&6 30763else 30764 ac_check_lib_save_LIBS=$LIBS 30765LIBS="-luna $LIBS" 30766cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30767/* end confdefs.h. */ 30768 30769/* Override any GCC internal prototype to avoid an error. 30770 Use char because int might match the return type of a GCC 30771 builtin and then its argument prototype would still apply. */ 30772#ifdef __cplusplus 30773extern "C" 30774#endif 30775char libuna_base32_stream_with_index_copy_from_byte_stream (); 30776int 30777main () 30778{ 30779return libuna_base32_stream_with_index_copy_from_byte_stream (); 30780 ; 30781 return 0; 30782} 30783_ACEOF 30784if ac_fn_c_try_link "$LINENO"; then : 30785 ac_cv_lib_una_libuna_base32_stream_with_index_copy_from_byte_stream=yes 30786else 30787 ac_cv_lib_una_libuna_base32_stream_with_index_copy_from_byte_stream=no 30788fi 30789rm -f core conftest.err conftest.$ac_objext \ 30790 conftest$ac_exeext conftest.$ac_ext 30791LIBS=$ac_check_lib_save_LIBS 30792fi 30793{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_stream_with_index_copy_from_byte_stream" >&5 30794$as_echo "$ac_cv_lib_una_libuna_base32_stream_with_index_copy_from_byte_stream" >&6; } 30795if test "x$ac_cv_lib_una_libuna_base32_stream_with_index_copy_from_byte_stream" = xyes; then : 30796 ac_cv_libuna_dummy=yes 30797else 30798 ac_cv_libuna=no 30799fi 30800 30801 30802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_triplet_copy_from_base64_stream in -luna" >&5 30803$as_echo_n "checking for libuna_base64_triplet_copy_from_base64_stream in -luna... " >&6; } 30804if ${ac_cv_lib_una_libuna_base64_triplet_copy_from_base64_stream+:} false; then : 30805 $as_echo_n "(cached) " >&6 30806else 30807 ac_check_lib_save_LIBS=$LIBS 30808LIBS="-luna $LIBS" 30809cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30810/* end confdefs.h. */ 30811 30812/* Override any GCC internal prototype to avoid an error. 30813 Use char because int might match the return type of a GCC 30814 builtin and then its argument prototype would still apply. */ 30815#ifdef __cplusplus 30816extern "C" 30817#endif 30818char libuna_base64_triplet_copy_from_base64_stream (); 30819int 30820main () 30821{ 30822return libuna_base64_triplet_copy_from_base64_stream (); 30823 ; 30824 return 0; 30825} 30826_ACEOF 30827if ac_fn_c_try_link "$LINENO"; then : 30828 ac_cv_lib_una_libuna_base64_triplet_copy_from_base64_stream=yes 30829else 30830 ac_cv_lib_una_libuna_base64_triplet_copy_from_base64_stream=no 30831fi 30832rm -f core conftest.err conftest.$ac_objext \ 30833 conftest$ac_exeext conftest.$ac_ext 30834LIBS=$ac_check_lib_save_LIBS 30835fi 30836{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_triplet_copy_from_base64_stream" >&5 30837$as_echo "$ac_cv_lib_una_libuna_base64_triplet_copy_from_base64_stream" >&6; } 30838if test "x$ac_cv_lib_una_libuna_base64_triplet_copy_from_base64_stream" = xyes; then : 30839 ac_cv_libuna_dummy=yes 30840else 30841 ac_cv_libuna=no 30842fi 30843 30844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_triplet_copy_to_base64_stream in -luna" >&5 30845$as_echo_n "checking for libuna_base64_triplet_copy_to_base64_stream in -luna... " >&6; } 30846if ${ac_cv_lib_una_libuna_base64_triplet_copy_to_base64_stream+:} false; then : 30847 $as_echo_n "(cached) " >&6 30848else 30849 ac_check_lib_save_LIBS=$LIBS 30850LIBS="-luna $LIBS" 30851cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30852/* end confdefs.h. */ 30853 30854/* Override any GCC internal prototype to avoid an error. 30855 Use char because int might match the return type of a GCC 30856 builtin and then its argument prototype would still apply. */ 30857#ifdef __cplusplus 30858extern "C" 30859#endif 30860char libuna_base64_triplet_copy_to_base64_stream (); 30861int 30862main () 30863{ 30864return libuna_base64_triplet_copy_to_base64_stream (); 30865 ; 30866 return 0; 30867} 30868_ACEOF 30869if ac_fn_c_try_link "$LINENO"; then : 30870 ac_cv_lib_una_libuna_base64_triplet_copy_to_base64_stream=yes 30871else 30872 ac_cv_lib_una_libuna_base64_triplet_copy_to_base64_stream=no 30873fi 30874rm -f core conftest.err conftest.$ac_objext \ 30875 conftest$ac_exeext conftest.$ac_ext 30876LIBS=$ac_check_lib_save_LIBS 30877fi 30878{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_triplet_copy_to_base64_stream" >&5 30879$as_echo "$ac_cv_lib_una_libuna_base64_triplet_copy_to_base64_stream" >&6; } 30880if test "x$ac_cv_lib_una_libuna_base64_triplet_copy_to_base64_stream" = xyes; then : 30881 ac_cv_libuna_dummy=yes 30882else 30883 ac_cv_libuna=no 30884fi 30885 30886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_triplet_copy_from_byte_stream in -luna" >&5 30887$as_echo_n "checking for libuna_base64_triplet_copy_from_byte_stream in -luna... " >&6; } 30888if ${ac_cv_lib_una_libuna_base64_triplet_copy_from_byte_stream+:} false; then : 30889 $as_echo_n "(cached) " >&6 30890else 30891 ac_check_lib_save_LIBS=$LIBS 30892LIBS="-luna $LIBS" 30893cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30894/* end confdefs.h. */ 30895 30896/* Override any GCC internal prototype to avoid an error. 30897 Use char because int might match the return type of a GCC 30898 builtin and then its argument prototype would still apply. */ 30899#ifdef __cplusplus 30900extern "C" 30901#endif 30902char libuna_base64_triplet_copy_from_byte_stream (); 30903int 30904main () 30905{ 30906return libuna_base64_triplet_copy_from_byte_stream (); 30907 ; 30908 return 0; 30909} 30910_ACEOF 30911if ac_fn_c_try_link "$LINENO"; then : 30912 ac_cv_lib_una_libuna_base64_triplet_copy_from_byte_stream=yes 30913else 30914 ac_cv_lib_una_libuna_base64_triplet_copy_from_byte_stream=no 30915fi 30916rm -f core conftest.err conftest.$ac_objext \ 30917 conftest$ac_exeext conftest.$ac_ext 30918LIBS=$ac_check_lib_save_LIBS 30919fi 30920{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_triplet_copy_from_byte_stream" >&5 30921$as_echo "$ac_cv_lib_una_libuna_base64_triplet_copy_from_byte_stream" >&6; } 30922if test "x$ac_cv_lib_una_libuna_base64_triplet_copy_from_byte_stream" = xyes; then : 30923 ac_cv_libuna_dummy=yes 30924else 30925 ac_cv_libuna=no 30926fi 30927 30928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_triplet_copy_to_byte_stream in -luna" >&5 30929$as_echo_n "checking for libuna_base64_triplet_copy_to_byte_stream in -luna... " >&6; } 30930if ${ac_cv_lib_una_libuna_base64_triplet_copy_to_byte_stream+:} false; then : 30931 $as_echo_n "(cached) " >&6 30932else 30933 ac_check_lib_save_LIBS=$LIBS 30934LIBS="-luna $LIBS" 30935cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30936/* end confdefs.h. */ 30937 30938/* Override any GCC internal prototype to avoid an error. 30939 Use char because int might match the return type of a GCC 30940 builtin and then its argument prototype would still apply. */ 30941#ifdef __cplusplus 30942extern "C" 30943#endif 30944char libuna_base64_triplet_copy_to_byte_stream (); 30945int 30946main () 30947{ 30948return libuna_base64_triplet_copy_to_byte_stream (); 30949 ; 30950 return 0; 30951} 30952_ACEOF 30953if ac_fn_c_try_link "$LINENO"; then : 30954 ac_cv_lib_una_libuna_base64_triplet_copy_to_byte_stream=yes 30955else 30956 ac_cv_lib_una_libuna_base64_triplet_copy_to_byte_stream=no 30957fi 30958rm -f core conftest.err conftest.$ac_objext \ 30959 conftest$ac_exeext conftest.$ac_ext 30960LIBS=$ac_check_lib_save_LIBS 30961fi 30962{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_triplet_copy_to_byte_stream" >&5 30963$as_echo "$ac_cv_lib_una_libuna_base64_triplet_copy_to_byte_stream" >&6; } 30964if test "x$ac_cv_lib_una_libuna_base64_triplet_copy_to_byte_stream" = xyes; then : 30965 ac_cv_libuna_dummy=yes 30966else 30967 ac_cv_libuna=no 30968fi 30969 30970 30971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_stream_size_to_byte_stream in -luna" >&5 30972$as_echo_n "checking for libuna_base64_stream_size_to_byte_stream in -luna... " >&6; } 30973if ${ac_cv_lib_una_libuna_base64_stream_size_to_byte_stream+:} false; then : 30974 $as_echo_n "(cached) " >&6 30975else 30976 ac_check_lib_save_LIBS=$LIBS 30977LIBS="-luna $LIBS" 30978cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30979/* end confdefs.h. */ 30980 30981/* Override any GCC internal prototype to avoid an error. 30982 Use char because int might match the return type of a GCC 30983 builtin and then its argument prototype would still apply. */ 30984#ifdef __cplusplus 30985extern "C" 30986#endif 30987char libuna_base64_stream_size_to_byte_stream (); 30988int 30989main () 30990{ 30991return libuna_base64_stream_size_to_byte_stream (); 30992 ; 30993 return 0; 30994} 30995_ACEOF 30996if ac_fn_c_try_link "$LINENO"; then : 30997 ac_cv_lib_una_libuna_base64_stream_size_to_byte_stream=yes 30998else 30999 ac_cv_lib_una_libuna_base64_stream_size_to_byte_stream=no 31000fi 31001rm -f core conftest.err conftest.$ac_objext \ 31002 conftest$ac_exeext conftest.$ac_ext 31003LIBS=$ac_check_lib_save_LIBS 31004fi 31005{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_stream_size_to_byte_stream" >&5 31006$as_echo "$ac_cv_lib_una_libuna_base64_stream_size_to_byte_stream" >&6; } 31007if test "x$ac_cv_lib_una_libuna_base64_stream_size_to_byte_stream" = xyes; then : 31008 ac_cv_libuna_dummy=yes 31009else 31010 ac_cv_libuna=no 31011fi 31012 31013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_stream_copy_to_byte_stream in -luna" >&5 31014$as_echo_n "checking for libuna_base64_stream_copy_to_byte_stream in -luna... " >&6; } 31015if ${ac_cv_lib_una_libuna_base64_stream_copy_to_byte_stream+:} false; then : 31016 $as_echo_n "(cached) " >&6 31017else 31018 ac_check_lib_save_LIBS=$LIBS 31019LIBS="-luna $LIBS" 31020cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31021/* end confdefs.h. */ 31022 31023/* Override any GCC internal prototype to avoid an error. 31024 Use char because int might match the return type of a GCC 31025 builtin and then its argument prototype would still apply. */ 31026#ifdef __cplusplus 31027extern "C" 31028#endif 31029char libuna_base64_stream_copy_to_byte_stream (); 31030int 31031main () 31032{ 31033return libuna_base64_stream_copy_to_byte_stream (); 31034 ; 31035 return 0; 31036} 31037_ACEOF 31038if ac_fn_c_try_link "$LINENO"; then : 31039 ac_cv_lib_una_libuna_base64_stream_copy_to_byte_stream=yes 31040else 31041 ac_cv_lib_una_libuna_base64_stream_copy_to_byte_stream=no 31042fi 31043rm -f core conftest.err conftest.$ac_objext \ 31044 conftest$ac_exeext conftest.$ac_ext 31045LIBS=$ac_check_lib_save_LIBS 31046fi 31047{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_stream_copy_to_byte_stream" >&5 31048$as_echo "$ac_cv_lib_una_libuna_base64_stream_copy_to_byte_stream" >&6; } 31049if test "x$ac_cv_lib_una_libuna_base64_stream_copy_to_byte_stream" = xyes; then : 31050 ac_cv_libuna_dummy=yes 31051else 31052 ac_cv_libuna=no 31053fi 31054 31055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_stream_size_from_byte_stream in -luna" >&5 31056$as_echo_n "checking for libuna_base64_stream_size_from_byte_stream in -luna... " >&6; } 31057if ${ac_cv_lib_una_libuna_base64_stream_size_from_byte_stream+:} false; then : 31058 $as_echo_n "(cached) " >&6 31059else 31060 ac_check_lib_save_LIBS=$LIBS 31061LIBS="-luna $LIBS" 31062cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31063/* end confdefs.h. */ 31064 31065/* Override any GCC internal prototype to avoid an error. 31066 Use char because int might match the return type of a GCC 31067 builtin and then its argument prototype would still apply. */ 31068#ifdef __cplusplus 31069extern "C" 31070#endif 31071char libuna_base64_stream_size_from_byte_stream (); 31072int 31073main () 31074{ 31075return libuna_base64_stream_size_from_byte_stream (); 31076 ; 31077 return 0; 31078} 31079_ACEOF 31080if ac_fn_c_try_link "$LINENO"; then : 31081 ac_cv_lib_una_libuna_base64_stream_size_from_byte_stream=yes 31082else 31083 ac_cv_lib_una_libuna_base64_stream_size_from_byte_stream=no 31084fi 31085rm -f core conftest.err conftest.$ac_objext \ 31086 conftest$ac_exeext conftest.$ac_ext 31087LIBS=$ac_check_lib_save_LIBS 31088fi 31089{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_stream_size_from_byte_stream" >&5 31090$as_echo "$ac_cv_lib_una_libuna_base64_stream_size_from_byte_stream" >&6; } 31091if test "x$ac_cv_lib_una_libuna_base64_stream_size_from_byte_stream" = xyes; then : 31092 ac_cv_libuna_dummy=yes 31093else 31094 ac_cv_libuna=no 31095fi 31096 31097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_stream_copy_from_byte_stream in -luna" >&5 31098$as_echo_n "checking for libuna_base64_stream_copy_from_byte_stream in -luna... " >&6; } 31099if ${ac_cv_lib_una_libuna_base64_stream_copy_from_byte_stream+:} false; then : 31100 $as_echo_n "(cached) " >&6 31101else 31102 ac_check_lib_save_LIBS=$LIBS 31103LIBS="-luna $LIBS" 31104cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31105/* end confdefs.h. */ 31106 31107/* Override any GCC internal prototype to avoid an error. 31108 Use char because int might match the return type of a GCC 31109 builtin and then its argument prototype would still apply. */ 31110#ifdef __cplusplus 31111extern "C" 31112#endif 31113char libuna_base64_stream_copy_from_byte_stream (); 31114int 31115main () 31116{ 31117return libuna_base64_stream_copy_from_byte_stream (); 31118 ; 31119 return 0; 31120} 31121_ACEOF 31122if ac_fn_c_try_link "$LINENO"; then : 31123 ac_cv_lib_una_libuna_base64_stream_copy_from_byte_stream=yes 31124else 31125 ac_cv_lib_una_libuna_base64_stream_copy_from_byte_stream=no 31126fi 31127rm -f core conftest.err conftest.$ac_objext \ 31128 conftest$ac_exeext conftest.$ac_ext 31129LIBS=$ac_check_lib_save_LIBS 31130fi 31131{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_stream_copy_from_byte_stream" >&5 31132$as_echo "$ac_cv_lib_una_libuna_base64_stream_copy_from_byte_stream" >&6; } 31133if test "x$ac_cv_lib_una_libuna_base64_stream_copy_from_byte_stream" = xyes; then : 31134 ac_cv_libuna_dummy=yes 31135else 31136 ac_cv_libuna=no 31137fi 31138 31139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_stream_with_index_copy_from_byte_stream in -luna" >&5 31140$as_echo_n "checking for libuna_base64_stream_with_index_copy_from_byte_stream in -luna... " >&6; } 31141if ${ac_cv_lib_una_libuna_base64_stream_with_index_copy_from_byte_stream+:} false; then : 31142 $as_echo_n "(cached) " >&6 31143else 31144 ac_check_lib_save_LIBS=$LIBS 31145LIBS="-luna $LIBS" 31146cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31147/* end confdefs.h. */ 31148 31149/* Override any GCC internal prototype to avoid an error. 31150 Use char because int might match the return type of a GCC 31151 builtin and then its argument prototype would still apply. */ 31152#ifdef __cplusplus 31153extern "C" 31154#endif 31155char libuna_base64_stream_with_index_copy_from_byte_stream (); 31156int 31157main () 31158{ 31159return libuna_base64_stream_with_index_copy_from_byte_stream (); 31160 ; 31161 return 0; 31162} 31163_ACEOF 31164if ac_fn_c_try_link "$LINENO"; then : 31165 ac_cv_lib_una_libuna_base64_stream_with_index_copy_from_byte_stream=yes 31166else 31167 ac_cv_lib_una_libuna_base64_stream_with_index_copy_from_byte_stream=no 31168fi 31169rm -f core conftest.err conftest.$ac_objext \ 31170 conftest$ac_exeext conftest.$ac_ext 31171LIBS=$ac_check_lib_save_LIBS 31172fi 31173{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_stream_with_index_copy_from_byte_stream" >&5 31174$as_echo "$ac_cv_lib_una_libuna_base64_stream_with_index_copy_from_byte_stream" >&6; } 31175if test "x$ac_cv_lib_una_libuna_base64_stream_with_index_copy_from_byte_stream" = xyes; then : 31176 ac_cv_libuna_dummy=yes 31177else 31178 ac_cv_libuna=no 31179fi 31180 31181 31182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_byte_stream_size_from_utf8 in -luna" >&5 31183$as_echo_n "checking for libuna_byte_stream_size_from_utf8 in -luna... " >&6; } 31184if ${ac_cv_lib_una_libuna_byte_stream_size_from_utf8+:} false; then : 31185 $as_echo_n "(cached) " >&6 31186else 31187 ac_check_lib_save_LIBS=$LIBS 31188LIBS="-luna $LIBS" 31189cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31190/* end confdefs.h. */ 31191 31192/* Override any GCC internal prototype to avoid an error. 31193 Use char because int might match the return type of a GCC 31194 builtin and then its argument prototype would still apply. */ 31195#ifdef __cplusplus 31196extern "C" 31197#endif 31198char libuna_byte_stream_size_from_utf8 (); 31199int 31200main () 31201{ 31202return libuna_byte_stream_size_from_utf8 (); 31203 ; 31204 return 0; 31205} 31206_ACEOF 31207if ac_fn_c_try_link "$LINENO"; then : 31208 ac_cv_lib_una_libuna_byte_stream_size_from_utf8=yes 31209else 31210 ac_cv_lib_una_libuna_byte_stream_size_from_utf8=no 31211fi 31212rm -f core conftest.err conftest.$ac_objext \ 31213 conftest$ac_exeext conftest.$ac_ext 31214LIBS=$ac_check_lib_save_LIBS 31215fi 31216{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_byte_stream_size_from_utf8" >&5 31217$as_echo "$ac_cv_lib_una_libuna_byte_stream_size_from_utf8" >&6; } 31218if test "x$ac_cv_lib_una_libuna_byte_stream_size_from_utf8" = xyes; then : 31219 ac_cv_libuna_dummy=yes 31220else 31221 ac_cv_libuna=no 31222fi 31223 31224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_byte_stream_copy_from_utf8 in -luna" >&5 31225$as_echo_n "checking for libuna_byte_stream_copy_from_utf8 in -luna... " >&6; } 31226if ${ac_cv_lib_una_libuna_byte_stream_copy_from_utf8+:} false; then : 31227 $as_echo_n "(cached) " >&6 31228else 31229 ac_check_lib_save_LIBS=$LIBS 31230LIBS="-luna $LIBS" 31231cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31232/* end confdefs.h. */ 31233 31234/* Override any GCC internal prototype to avoid an error. 31235 Use char because int might match the return type of a GCC 31236 builtin and then its argument prototype would still apply. */ 31237#ifdef __cplusplus 31238extern "C" 31239#endif 31240char libuna_byte_stream_copy_from_utf8 (); 31241int 31242main () 31243{ 31244return libuna_byte_stream_copy_from_utf8 (); 31245 ; 31246 return 0; 31247} 31248_ACEOF 31249if ac_fn_c_try_link "$LINENO"; then : 31250 ac_cv_lib_una_libuna_byte_stream_copy_from_utf8=yes 31251else 31252 ac_cv_lib_una_libuna_byte_stream_copy_from_utf8=no 31253fi 31254rm -f core conftest.err conftest.$ac_objext \ 31255 conftest$ac_exeext conftest.$ac_ext 31256LIBS=$ac_check_lib_save_LIBS 31257fi 31258{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_byte_stream_copy_from_utf8" >&5 31259$as_echo "$ac_cv_lib_una_libuna_byte_stream_copy_from_utf8" >&6; } 31260if test "x$ac_cv_lib_una_libuna_byte_stream_copy_from_utf8" = xyes; then : 31261 ac_cv_libuna_dummy=yes 31262else 31263 ac_cv_libuna=no 31264fi 31265 31266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_byte_stream_size_from_utf16 in -luna" >&5 31267$as_echo_n "checking for libuna_byte_stream_size_from_utf16 in -luna... " >&6; } 31268if ${ac_cv_lib_una_libuna_byte_stream_size_from_utf16+:} false; then : 31269 $as_echo_n "(cached) " >&6 31270else 31271 ac_check_lib_save_LIBS=$LIBS 31272LIBS="-luna $LIBS" 31273cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31274/* end confdefs.h. */ 31275 31276/* Override any GCC internal prototype to avoid an error. 31277 Use char because int might match the return type of a GCC 31278 builtin and then its argument prototype would still apply. */ 31279#ifdef __cplusplus 31280extern "C" 31281#endif 31282char libuna_byte_stream_size_from_utf16 (); 31283int 31284main () 31285{ 31286return libuna_byte_stream_size_from_utf16 (); 31287 ; 31288 return 0; 31289} 31290_ACEOF 31291if ac_fn_c_try_link "$LINENO"; then : 31292 ac_cv_lib_una_libuna_byte_stream_size_from_utf16=yes 31293else 31294 ac_cv_lib_una_libuna_byte_stream_size_from_utf16=no 31295fi 31296rm -f core conftest.err conftest.$ac_objext \ 31297 conftest$ac_exeext conftest.$ac_ext 31298LIBS=$ac_check_lib_save_LIBS 31299fi 31300{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_byte_stream_size_from_utf16" >&5 31301$as_echo "$ac_cv_lib_una_libuna_byte_stream_size_from_utf16" >&6; } 31302if test "x$ac_cv_lib_una_libuna_byte_stream_size_from_utf16" = xyes; then : 31303 ac_cv_libuna_dummy=yes 31304else 31305 ac_cv_libuna=no 31306fi 31307 31308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_byte_stream_copy_from_utf16 in -luna" >&5 31309$as_echo_n "checking for libuna_byte_stream_copy_from_utf16 in -luna... " >&6; } 31310if ${ac_cv_lib_una_libuna_byte_stream_copy_from_utf16+:} false; then : 31311 $as_echo_n "(cached) " >&6 31312else 31313 ac_check_lib_save_LIBS=$LIBS 31314LIBS="-luna $LIBS" 31315cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31316/* end confdefs.h. */ 31317 31318/* Override any GCC internal prototype to avoid an error. 31319 Use char because int might match the return type of a GCC 31320 builtin and then its argument prototype would still apply. */ 31321#ifdef __cplusplus 31322extern "C" 31323#endif 31324char libuna_byte_stream_copy_from_utf16 (); 31325int 31326main () 31327{ 31328return libuna_byte_stream_copy_from_utf16 (); 31329 ; 31330 return 0; 31331} 31332_ACEOF 31333if ac_fn_c_try_link "$LINENO"; then : 31334 ac_cv_lib_una_libuna_byte_stream_copy_from_utf16=yes 31335else 31336 ac_cv_lib_una_libuna_byte_stream_copy_from_utf16=no 31337fi 31338rm -f core conftest.err conftest.$ac_objext \ 31339 conftest$ac_exeext conftest.$ac_ext 31340LIBS=$ac_check_lib_save_LIBS 31341fi 31342{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_byte_stream_copy_from_utf16" >&5 31343$as_echo "$ac_cv_lib_una_libuna_byte_stream_copy_from_utf16" >&6; } 31344if test "x$ac_cv_lib_una_libuna_byte_stream_copy_from_utf16" = xyes; then : 31345 ac_cv_libuna_dummy=yes 31346else 31347 ac_cv_libuna=no 31348fi 31349 31350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_byte_stream_size_from_utf32 in -luna" >&5 31351$as_echo_n "checking for libuna_byte_stream_size_from_utf32 in -luna... " >&6; } 31352if ${ac_cv_lib_una_libuna_byte_stream_size_from_utf32+:} false; then : 31353 $as_echo_n "(cached) " >&6 31354else 31355 ac_check_lib_save_LIBS=$LIBS 31356LIBS="-luna $LIBS" 31357cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31358/* end confdefs.h. */ 31359 31360/* Override any GCC internal prototype to avoid an error. 31361 Use char because int might match the return type of a GCC 31362 builtin and then its argument prototype would still apply. */ 31363#ifdef __cplusplus 31364extern "C" 31365#endif 31366char libuna_byte_stream_size_from_utf32 (); 31367int 31368main () 31369{ 31370return libuna_byte_stream_size_from_utf32 (); 31371 ; 31372 return 0; 31373} 31374_ACEOF 31375if ac_fn_c_try_link "$LINENO"; then : 31376 ac_cv_lib_una_libuna_byte_stream_size_from_utf32=yes 31377else 31378 ac_cv_lib_una_libuna_byte_stream_size_from_utf32=no 31379fi 31380rm -f core conftest.err conftest.$ac_objext \ 31381 conftest$ac_exeext conftest.$ac_ext 31382LIBS=$ac_check_lib_save_LIBS 31383fi 31384{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_byte_stream_size_from_utf32" >&5 31385$as_echo "$ac_cv_lib_una_libuna_byte_stream_size_from_utf32" >&6; } 31386if test "x$ac_cv_lib_una_libuna_byte_stream_size_from_utf32" = xyes; then : 31387 ac_cv_libuna_dummy=yes 31388else 31389 ac_cv_libuna=no 31390fi 31391 31392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_byte_stream_copy_from_utf32 in -luna" >&5 31393$as_echo_n "checking for libuna_byte_stream_copy_from_utf32 in -luna... " >&6; } 31394if ${ac_cv_lib_una_libuna_byte_stream_copy_from_utf32+:} false; then : 31395 $as_echo_n "(cached) " >&6 31396else 31397 ac_check_lib_save_LIBS=$LIBS 31398LIBS="-luna $LIBS" 31399cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31400/* end confdefs.h. */ 31401 31402/* Override any GCC internal prototype to avoid an error. 31403 Use char because int might match the return type of a GCC 31404 builtin and then its argument prototype would still apply. */ 31405#ifdef __cplusplus 31406extern "C" 31407#endif 31408char libuna_byte_stream_copy_from_utf32 (); 31409int 31410main () 31411{ 31412return libuna_byte_stream_copy_from_utf32 (); 31413 ; 31414 return 0; 31415} 31416_ACEOF 31417if ac_fn_c_try_link "$LINENO"; then : 31418 ac_cv_lib_una_libuna_byte_stream_copy_from_utf32=yes 31419else 31420 ac_cv_lib_una_libuna_byte_stream_copy_from_utf32=no 31421fi 31422rm -f core conftest.err conftest.$ac_objext \ 31423 conftest$ac_exeext conftest.$ac_ext 31424LIBS=$ac_check_lib_save_LIBS 31425fi 31426{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_byte_stream_copy_from_utf32" >&5 31427$as_echo "$ac_cv_lib_una_libuna_byte_stream_copy_from_utf32" >&6; } 31428if test "x$ac_cv_lib_una_libuna_byte_stream_copy_from_utf32" = xyes; then : 31429 ac_cv_libuna_dummy=yes 31430else 31431 ac_cv_libuna=no 31432fi 31433 31434 31435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_stream_size_from_utf8 in -luna" >&5 31436$as_echo_n "checking for libuna_utf8_stream_size_from_utf8 in -luna... " >&6; } 31437if ${ac_cv_lib_una_libuna_utf8_stream_size_from_utf8+:} false; then : 31438 $as_echo_n "(cached) " >&6 31439else 31440 ac_check_lib_save_LIBS=$LIBS 31441LIBS="-luna $LIBS" 31442cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31443/* end confdefs.h. */ 31444 31445/* Override any GCC internal prototype to avoid an error. 31446 Use char because int might match the return type of a GCC 31447 builtin and then its argument prototype would still apply. */ 31448#ifdef __cplusplus 31449extern "C" 31450#endif 31451char libuna_utf8_stream_size_from_utf8 (); 31452int 31453main () 31454{ 31455return libuna_utf8_stream_size_from_utf8 (); 31456 ; 31457 return 0; 31458} 31459_ACEOF 31460if ac_fn_c_try_link "$LINENO"; then : 31461 ac_cv_lib_una_libuna_utf8_stream_size_from_utf8=yes 31462else 31463 ac_cv_lib_una_libuna_utf8_stream_size_from_utf8=no 31464fi 31465rm -f core conftest.err conftest.$ac_objext \ 31466 conftest$ac_exeext conftest.$ac_ext 31467LIBS=$ac_check_lib_save_LIBS 31468fi 31469{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_stream_size_from_utf8" >&5 31470$as_echo "$ac_cv_lib_una_libuna_utf8_stream_size_from_utf8" >&6; } 31471if test "x$ac_cv_lib_una_libuna_utf8_stream_size_from_utf8" = xyes; then : 31472 ac_cv_libuna_dummy=yes 31473else 31474 ac_cv_libuna=no 31475fi 31476 31477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_stream_copy_from_utf8 in -luna" >&5 31478$as_echo_n "checking for libuna_utf8_stream_copy_from_utf8 in -luna... " >&6; } 31479if ${ac_cv_lib_una_libuna_utf8_stream_copy_from_utf8+:} false; then : 31480 $as_echo_n "(cached) " >&6 31481else 31482 ac_check_lib_save_LIBS=$LIBS 31483LIBS="-luna $LIBS" 31484cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31485/* end confdefs.h. */ 31486 31487/* Override any GCC internal prototype to avoid an error. 31488 Use char because int might match the return type of a GCC 31489 builtin and then its argument prototype would still apply. */ 31490#ifdef __cplusplus 31491extern "C" 31492#endif 31493char libuna_utf8_stream_copy_from_utf8 (); 31494int 31495main () 31496{ 31497return libuna_utf8_stream_copy_from_utf8 (); 31498 ; 31499 return 0; 31500} 31501_ACEOF 31502if ac_fn_c_try_link "$LINENO"; then : 31503 ac_cv_lib_una_libuna_utf8_stream_copy_from_utf8=yes 31504else 31505 ac_cv_lib_una_libuna_utf8_stream_copy_from_utf8=no 31506fi 31507rm -f core conftest.err conftest.$ac_objext \ 31508 conftest$ac_exeext conftest.$ac_ext 31509LIBS=$ac_check_lib_save_LIBS 31510fi 31511{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_stream_copy_from_utf8" >&5 31512$as_echo "$ac_cv_lib_una_libuna_utf8_stream_copy_from_utf8" >&6; } 31513if test "x$ac_cv_lib_una_libuna_utf8_stream_copy_from_utf8" = xyes; then : 31514 ac_cv_libuna_dummy=yes 31515else 31516 ac_cv_libuna=no 31517fi 31518 31519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_stream_size_from_utf16 in -luna" >&5 31520$as_echo_n "checking for libuna_utf8_stream_size_from_utf16 in -luna... " >&6; } 31521if ${ac_cv_lib_una_libuna_utf8_stream_size_from_utf16+:} false; then : 31522 $as_echo_n "(cached) " >&6 31523else 31524 ac_check_lib_save_LIBS=$LIBS 31525LIBS="-luna $LIBS" 31526cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31527/* end confdefs.h. */ 31528 31529/* Override any GCC internal prototype to avoid an error. 31530 Use char because int might match the return type of a GCC 31531 builtin and then its argument prototype would still apply. */ 31532#ifdef __cplusplus 31533extern "C" 31534#endif 31535char libuna_utf8_stream_size_from_utf16 (); 31536int 31537main () 31538{ 31539return libuna_utf8_stream_size_from_utf16 (); 31540 ; 31541 return 0; 31542} 31543_ACEOF 31544if ac_fn_c_try_link "$LINENO"; then : 31545 ac_cv_lib_una_libuna_utf8_stream_size_from_utf16=yes 31546else 31547 ac_cv_lib_una_libuna_utf8_stream_size_from_utf16=no 31548fi 31549rm -f core conftest.err conftest.$ac_objext \ 31550 conftest$ac_exeext conftest.$ac_ext 31551LIBS=$ac_check_lib_save_LIBS 31552fi 31553{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_stream_size_from_utf16" >&5 31554$as_echo "$ac_cv_lib_una_libuna_utf8_stream_size_from_utf16" >&6; } 31555if test "x$ac_cv_lib_una_libuna_utf8_stream_size_from_utf16" = xyes; then : 31556 ac_cv_libuna_dummy=yes 31557else 31558 ac_cv_libuna=no 31559fi 31560 31561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_stream_copy_from_utf16 in -luna" >&5 31562$as_echo_n "checking for libuna_utf8_stream_copy_from_utf16 in -luna... " >&6; } 31563if ${ac_cv_lib_una_libuna_utf8_stream_copy_from_utf16+:} false; then : 31564 $as_echo_n "(cached) " >&6 31565else 31566 ac_check_lib_save_LIBS=$LIBS 31567LIBS="-luna $LIBS" 31568cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31569/* end confdefs.h. */ 31570 31571/* Override any GCC internal prototype to avoid an error. 31572 Use char because int might match the return type of a GCC 31573 builtin and then its argument prototype would still apply. */ 31574#ifdef __cplusplus 31575extern "C" 31576#endif 31577char libuna_utf8_stream_copy_from_utf16 (); 31578int 31579main () 31580{ 31581return libuna_utf8_stream_copy_from_utf16 (); 31582 ; 31583 return 0; 31584} 31585_ACEOF 31586if ac_fn_c_try_link "$LINENO"; then : 31587 ac_cv_lib_una_libuna_utf8_stream_copy_from_utf16=yes 31588else 31589 ac_cv_lib_una_libuna_utf8_stream_copy_from_utf16=no 31590fi 31591rm -f core conftest.err conftest.$ac_objext \ 31592 conftest$ac_exeext conftest.$ac_ext 31593LIBS=$ac_check_lib_save_LIBS 31594fi 31595{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_stream_copy_from_utf16" >&5 31596$as_echo "$ac_cv_lib_una_libuna_utf8_stream_copy_from_utf16" >&6; } 31597if test "x$ac_cv_lib_una_libuna_utf8_stream_copy_from_utf16" = xyes; then : 31598 ac_cv_libuna_dummy=yes 31599else 31600 ac_cv_libuna=no 31601fi 31602 31603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_stream_size_from_utf32 in -luna" >&5 31604$as_echo_n "checking for libuna_utf8_stream_size_from_utf32 in -luna... " >&6; } 31605if ${ac_cv_lib_una_libuna_utf8_stream_size_from_utf32+:} false; then : 31606 $as_echo_n "(cached) " >&6 31607else 31608 ac_check_lib_save_LIBS=$LIBS 31609LIBS="-luna $LIBS" 31610cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31611/* end confdefs.h. */ 31612 31613/* Override any GCC internal prototype to avoid an error. 31614 Use char because int might match the return type of a GCC 31615 builtin and then its argument prototype would still apply. */ 31616#ifdef __cplusplus 31617extern "C" 31618#endif 31619char libuna_utf8_stream_size_from_utf32 (); 31620int 31621main () 31622{ 31623return libuna_utf8_stream_size_from_utf32 (); 31624 ; 31625 return 0; 31626} 31627_ACEOF 31628if ac_fn_c_try_link "$LINENO"; then : 31629 ac_cv_lib_una_libuna_utf8_stream_size_from_utf32=yes 31630else 31631 ac_cv_lib_una_libuna_utf8_stream_size_from_utf32=no 31632fi 31633rm -f core conftest.err conftest.$ac_objext \ 31634 conftest$ac_exeext conftest.$ac_ext 31635LIBS=$ac_check_lib_save_LIBS 31636fi 31637{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_stream_size_from_utf32" >&5 31638$as_echo "$ac_cv_lib_una_libuna_utf8_stream_size_from_utf32" >&6; } 31639if test "x$ac_cv_lib_una_libuna_utf8_stream_size_from_utf32" = xyes; then : 31640 ac_cv_libuna_dummy=yes 31641else 31642 ac_cv_libuna=no 31643fi 31644 31645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_stream_copy_from_utf32 in -luna" >&5 31646$as_echo_n "checking for libuna_utf8_stream_copy_from_utf32 in -luna... " >&6; } 31647if ${ac_cv_lib_una_libuna_utf8_stream_copy_from_utf32+:} false; then : 31648 $as_echo_n "(cached) " >&6 31649else 31650 ac_check_lib_save_LIBS=$LIBS 31651LIBS="-luna $LIBS" 31652cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31653/* end confdefs.h. */ 31654 31655/* Override any GCC internal prototype to avoid an error. 31656 Use char because int might match the return type of a GCC 31657 builtin and then its argument prototype would still apply. */ 31658#ifdef __cplusplus 31659extern "C" 31660#endif 31661char libuna_utf8_stream_copy_from_utf32 (); 31662int 31663main () 31664{ 31665return libuna_utf8_stream_copy_from_utf32 (); 31666 ; 31667 return 0; 31668} 31669_ACEOF 31670if ac_fn_c_try_link "$LINENO"; then : 31671 ac_cv_lib_una_libuna_utf8_stream_copy_from_utf32=yes 31672else 31673 ac_cv_lib_una_libuna_utf8_stream_copy_from_utf32=no 31674fi 31675rm -f core conftest.err conftest.$ac_objext \ 31676 conftest$ac_exeext conftest.$ac_ext 31677LIBS=$ac_check_lib_save_LIBS 31678fi 31679{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_stream_copy_from_utf32" >&5 31680$as_echo "$ac_cv_lib_una_libuna_utf8_stream_copy_from_utf32" >&6; } 31681if test "x$ac_cv_lib_una_libuna_utf8_stream_copy_from_utf32" = xyes; then : 31682 ac_cv_libuna_dummy=yes 31683else 31684 ac_cv_libuna=no 31685fi 31686 31687 31688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_stream_size_from_utf8 in -luna" >&5 31689$as_echo_n "checking for libuna_utf16_stream_size_from_utf8 in -luna... " >&6; } 31690if ${ac_cv_lib_una_libuna_utf16_stream_size_from_utf8+:} false; then : 31691 $as_echo_n "(cached) " >&6 31692else 31693 ac_check_lib_save_LIBS=$LIBS 31694LIBS="-luna $LIBS" 31695cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31696/* end confdefs.h. */ 31697 31698/* Override any GCC internal prototype to avoid an error. 31699 Use char because int might match the return type of a GCC 31700 builtin and then its argument prototype would still apply. */ 31701#ifdef __cplusplus 31702extern "C" 31703#endif 31704char libuna_utf16_stream_size_from_utf8 (); 31705int 31706main () 31707{ 31708return libuna_utf16_stream_size_from_utf8 (); 31709 ; 31710 return 0; 31711} 31712_ACEOF 31713if ac_fn_c_try_link "$LINENO"; then : 31714 ac_cv_lib_una_libuna_utf16_stream_size_from_utf8=yes 31715else 31716 ac_cv_lib_una_libuna_utf16_stream_size_from_utf8=no 31717fi 31718rm -f core conftest.err conftest.$ac_objext \ 31719 conftest$ac_exeext conftest.$ac_ext 31720LIBS=$ac_check_lib_save_LIBS 31721fi 31722{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_stream_size_from_utf8" >&5 31723$as_echo "$ac_cv_lib_una_libuna_utf16_stream_size_from_utf8" >&6; } 31724if test "x$ac_cv_lib_una_libuna_utf16_stream_size_from_utf8" = xyes; then : 31725 ac_cv_libuna_dummy=yes 31726else 31727 ac_cv_libuna=no 31728fi 31729 31730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_stream_copy_from_utf8 in -luna" >&5 31731$as_echo_n "checking for libuna_utf16_stream_copy_from_utf8 in -luna... " >&6; } 31732if ${ac_cv_lib_una_libuna_utf16_stream_copy_from_utf8+:} false; then : 31733 $as_echo_n "(cached) " >&6 31734else 31735 ac_check_lib_save_LIBS=$LIBS 31736LIBS="-luna $LIBS" 31737cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31738/* end confdefs.h. */ 31739 31740/* Override any GCC internal prototype to avoid an error. 31741 Use char because int might match the return type of a GCC 31742 builtin and then its argument prototype would still apply. */ 31743#ifdef __cplusplus 31744extern "C" 31745#endif 31746char libuna_utf16_stream_copy_from_utf8 (); 31747int 31748main () 31749{ 31750return libuna_utf16_stream_copy_from_utf8 (); 31751 ; 31752 return 0; 31753} 31754_ACEOF 31755if ac_fn_c_try_link "$LINENO"; then : 31756 ac_cv_lib_una_libuna_utf16_stream_copy_from_utf8=yes 31757else 31758 ac_cv_lib_una_libuna_utf16_stream_copy_from_utf8=no 31759fi 31760rm -f core conftest.err conftest.$ac_objext \ 31761 conftest$ac_exeext conftest.$ac_ext 31762LIBS=$ac_check_lib_save_LIBS 31763fi 31764{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_stream_copy_from_utf8" >&5 31765$as_echo "$ac_cv_lib_una_libuna_utf16_stream_copy_from_utf8" >&6; } 31766if test "x$ac_cv_lib_una_libuna_utf16_stream_copy_from_utf8" = xyes; then : 31767 ac_cv_libuna_dummy=yes 31768else 31769 ac_cv_libuna=no 31770fi 31771 31772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_stream_size_from_utf16 in -luna" >&5 31773$as_echo_n "checking for libuna_utf16_stream_size_from_utf16 in -luna... " >&6; } 31774if ${ac_cv_lib_una_libuna_utf16_stream_size_from_utf16+:} false; then : 31775 $as_echo_n "(cached) " >&6 31776else 31777 ac_check_lib_save_LIBS=$LIBS 31778LIBS="-luna $LIBS" 31779cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31780/* end confdefs.h. */ 31781 31782/* Override any GCC internal prototype to avoid an error. 31783 Use char because int might match the return type of a GCC 31784 builtin and then its argument prototype would still apply. */ 31785#ifdef __cplusplus 31786extern "C" 31787#endif 31788char libuna_utf16_stream_size_from_utf16 (); 31789int 31790main () 31791{ 31792return libuna_utf16_stream_size_from_utf16 (); 31793 ; 31794 return 0; 31795} 31796_ACEOF 31797if ac_fn_c_try_link "$LINENO"; then : 31798 ac_cv_lib_una_libuna_utf16_stream_size_from_utf16=yes 31799else 31800 ac_cv_lib_una_libuna_utf16_stream_size_from_utf16=no 31801fi 31802rm -f core conftest.err conftest.$ac_objext \ 31803 conftest$ac_exeext conftest.$ac_ext 31804LIBS=$ac_check_lib_save_LIBS 31805fi 31806{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_stream_size_from_utf16" >&5 31807$as_echo "$ac_cv_lib_una_libuna_utf16_stream_size_from_utf16" >&6; } 31808if test "x$ac_cv_lib_una_libuna_utf16_stream_size_from_utf16" = xyes; then : 31809 ac_cv_libuna_dummy=yes 31810else 31811 ac_cv_libuna=no 31812fi 31813 31814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_stream_copy_from_utf16 in -luna" >&5 31815$as_echo_n "checking for libuna_utf16_stream_copy_from_utf16 in -luna... " >&6; } 31816if ${ac_cv_lib_una_libuna_utf16_stream_copy_from_utf16+:} false; then : 31817 $as_echo_n "(cached) " >&6 31818else 31819 ac_check_lib_save_LIBS=$LIBS 31820LIBS="-luna $LIBS" 31821cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31822/* end confdefs.h. */ 31823 31824/* Override any GCC internal prototype to avoid an error. 31825 Use char because int might match the return type of a GCC 31826 builtin and then its argument prototype would still apply. */ 31827#ifdef __cplusplus 31828extern "C" 31829#endif 31830char libuna_utf16_stream_copy_from_utf16 (); 31831int 31832main () 31833{ 31834return libuna_utf16_stream_copy_from_utf16 (); 31835 ; 31836 return 0; 31837} 31838_ACEOF 31839if ac_fn_c_try_link "$LINENO"; then : 31840 ac_cv_lib_una_libuna_utf16_stream_copy_from_utf16=yes 31841else 31842 ac_cv_lib_una_libuna_utf16_stream_copy_from_utf16=no 31843fi 31844rm -f core conftest.err conftest.$ac_objext \ 31845 conftest$ac_exeext conftest.$ac_ext 31846LIBS=$ac_check_lib_save_LIBS 31847fi 31848{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_stream_copy_from_utf16" >&5 31849$as_echo "$ac_cv_lib_una_libuna_utf16_stream_copy_from_utf16" >&6; } 31850if test "x$ac_cv_lib_una_libuna_utf16_stream_copy_from_utf16" = xyes; then : 31851 ac_cv_libuna_dummy=yes 31852else 31853 ac_cv_libuna=no 31854fi 31855 31856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_stream_size_from_utf32 in -luna" >&5 31857$as_echo_n "checking for libuna_utf16_stream_size_from_utf32 in -luna... " >&6; } 31858if ${ac_cv_lib_una_libuna_utf16_stream_size_from_utf32+:} false; then : 31859 $as_echo_n "(cached) " >&6 31860else 31861 ac_check_lib_save_LIBS=$LIBS 31862LIBS="-luna $LIBS" 31863cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31864/* end confdefs.h. */ 31865 31866/* Override any GCC internal prototype to avoid an error. 31867 Use char because int might match the return type of a GCC 31868 builtin and then its argument prototype would still apply. */ 31869#ifdef __cplusplus 31870extern "C" 31871#endif 31872char libuna_utf16_stream_size_from_utf32 (); 31873int 31874main () 31875{ 31876return libuna_utf16_stream_size_from_utf32 (); 31877 ; 31878 return 0; 31879} 31880_ACEOF 31881if ac_fn_c_try_link "$LINENO"; then : 31882 ac_cv_lib_una_libuna_utf16_stream_size_from_utf32=yes 31883else 31884 ac_cv_lib_una_libuna_utf16_stream_size_from_utf32=no 31885fi 31886rm -f core conftest.err conftest.$ac_objext \ 31887 conftest$ac_exeext conftest.$ac_ext 31888LIBS=$ac_check_lib_save_LIBS 31889fi 31890{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_stream_size_from_utf32" >&5 31891$as_echo "$ac_cv_lib_una_libuna_utf16_stream_size_from_utf32" >&6; } 31892if test "x$ac_cv_lib_una_libuna_utf16_stream_size_from_utf32" = xyes; then : 31893 ac_cv_libuna_dummy=yes 31894else 31895 ac_cv_libuna=no 31896fi 31897 31898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_stream_copy_from_utf32 in -luna" >&5 31899$as_echo_n "checking for libuna_utf16_stream_copy_from_utf32 in -luna... " >&6; } 31900if ${ac_cv_lib_una_libuna_utf16_stream_copy_from_utf32+:} false; then : 31901 $as_echo_n "(cached) " >&6 31902else 31903 ac_check_lib_save_LIBS=$LIBS 31904LIBS="-luna $LIBS" 31905cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31906/* end confdefs.h. */ 31907 31908/* Override any GCC internal prototype to avoid an error. 31909 Use char because int might match the return type of a GCC 31910 builtin and then its argument prototype would still apply. */ 31911#ifdef __cplusplus 31912extern "C" 31913#endif 31914char libuna_utf16_stream_copy_from_utf32 (); 31915int 31916main () 31917{ 31918return libuna_utf16_stream_copy_from_utf32 (); 31919 ; 31920 return 0; 31921} 31922_ACEOF 31923if ac_fn_c_try_link "$LINENO"; then : 31924 ac_cv_lib_una_libuna_utf16_stream_copy_from_utf32=yes 31925else 31926 ac_cv_lib_una_libuna_utf16_stream_copy_from_utf32=no 31927fi 31928rm -f core conftest.err conftest.$ac_objext \ 31929 conftest$ac_exeext conftest.$ac_ext 31930LIBS=$ac_check_lib_save_LIBS 31931fi 31932{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_stream_copy_from_utf32" >&5 31933$as_echo "$ac_cv_lib_una_libuna_utf16_stream_copy_from_utf32" >&6; } 31934if test "x$ac_cv_lib_una_libuna_utf16_stream_copy_from_utf32" = xyes; then : 31935 ac_cv_libuna_dummy=yes 31936else 31937 ac_cv_libuna=no 31938fi 31939 31940 31941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_stream_size_from_utf8 in -luna" >&5 31942$as_echo_n "checking for libuna_utf32_stream_size_from_utf8 in -luna... " >&6; } 31943if ${ac_cv_lib_una_libuna_utf32_stream_size_from_utf8+:} false; then : 31944 $as_echo_n "(cached) " >&6 31945else 31946 ac_check_lib_save_LIBS=$LIBS 31947LIBS="-luna $LIBS" 31948cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31949/* end confdefs.h. */ 31950 31951/* Override any GCC internal prototype to avoid an error. 31952 Use char because int might match the return type of a GCC 31953 builtin and then its argument prototype would still apply. */ 31954#ifdef __cplusplus 31955extern "C" 31956#endif 31957char libuna_utf32_stream_size_from_utf8 (); 31958int 31959main () 31960{ 31961return libuna_utf32_stream_size_from_utf8 (); 31962 ; 31963 return 0; 31964} 31965_ACEOF 31966if ac_fn_c_try_link "$LINENO"; then : 31967 ac_cv_lib_una_libuna_utf32_stream_size_from_utf8=yes 31968else 31969 ac_cv_lib_una_libuna_utf32_stream_size_from_utf8=no 31970fi 31971rm -f core conftest.err conftest.$ac_objext \ 31972 conftest$ac_exeext conftest.$ac_ext 31973LIBS=$ac_check_lib_save_LIBS 31974fi 31975{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_stream_size_from_utf8" >&5 31976$as_echo "$ac_cv_lib_una_libuna_utf32_stream_size_from_utf8" >&6; } 31977if test "x$ac_cv_lib_una_libuna_utf32_stream_size_from_utf8" = xyes; then : 31978 ac_cv_libuna_dummy=yes 31979else 31980 ac_cv_libuna=no 31981fi 31982 31983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_stream_copy_from_utf8 in -luna" >&5 31984$as_echo_n "checking for libuna_utf32_stream_copy_from_utf8 in -luna... " >&6; } 31985if ${ac_cv_lib_una_libuna_utf32_stream_copy_from_utf8+:} false; then : 31986 $as_echo_n "(cached) " >&6 31987else 31988 ac_check_lib_save_LIBS=$LIBS 31989LIBS="-luna $LIBS" 31990cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31991/* end confdefs.h. */ 31992 31993/* Override any GCC internal prototype to avoid an error. 31994 Use char because int might match the return type of a GCC 31995 builtin and then its argument prototype would still apply. */ 31996#ifdef __cplusplus 31997extern "C" 31998#endif 31999char libuna_utf32_stream_copy_from_utf8 (); 32000int 32001main () 32002{ 32003return libuna_utf32_stream_copy_from_utf8 (); 32004 ; 32005 return 0; 32006} 32007_ACEOF 32008if ac_fn_c_try_link "$LINENO"; then : 32009 ac_cv_lib_una_libuna_utf32_stream_copy_from_utf8=yes 32010else 32011 ac_cv_lib_una_libuna_utf32_stream_copy_from_utf8=no 32012fi 32013rm -f core conftest.err conftest.$ac_objext \ 32014 conftest$ac_exeext conftest.$ac_ext 32015LIBS=$ac_check_lib_save_LIBS 32016fi 32017{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_stream_copy_from_utf8" >&5 32018$as_echo "$ac_cv_lib_una_libuna_utf32_stream_copy_from_utf8" >&6; } 32019if test "x$ac_cv_lib_una_libuna_utf32_stream_copy_from_utf8" = xyes; then : 32020 ac_cv_libuna_dummy=yes 32021else 32022 ac_cv_libuna=no 32023fi 32024 32025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_stream_size_from_utf16 in -luna" >&5 32026$as_echo_n "checking for libuna_utf32_stream_size_from_utf16 in -luna... " >&6; } 32027if ${ac_cv_lib_una_libuna_utf32_stream_size_from_utf16+:} false; then : 32028 $as_echo_n "(cached) " >&6 32029else 32030 ac_check_lib_save_LIBS=$LIBS 32031LIBS="-luna $LIBS" 32032cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32033/* end confdefs.h. */ 32034 32035/* Override any GCC internal prototype to avoid an error. 32036 Use char because int might match the return type of a GCC 32037 builtin and then its argument prototype would still apply. */ 32038#ifdef __cplusplus 32039extern "C" 32040#endif 32041char libuna_utf32_stream_size_from_utf16 (); 32042int 32043main () 32044{ 32045return libuna_utf32_stream_size_from_utf16 (); 32046 ; 32047 return 0; 32048} 32049_ACEOF 32050if ac_fn_c_try_link "$LINENO"; then : 32051 ac_cv_lib_una_libuna_utf32_stream_size_from_utf16=yes 32052else 32053 ac_cv_lib_una_libuna_utf32_stream_size_from_utf16=no 32054fi 32055rm -f core conftest.err conftest.$ac_objext \ 32056 conftest$ac_exeext conftest.$ac_ext 32057LIBS=$ac_check_lib_save_LIBS 32058fi 32059{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_stream_size_from_utf16" >&5 32060$as_echo "$ac_cv_lib_una_libuna_utf32_stream_size_from_utf16" >&6; } 32061if test "x$ac_cv_lib_una_libuna_utf32_stream_size_from_utf16" = xyes; then : 32062 ac_cv_libuna_dummy=yes 32063else 32064 ac_cv_libuna=no 32065fi 32066 32067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_stream_copy_from_utf16 in -luna" >&5 32068$as_echo_n "checking for libuna_utf32_stream_copy_from_utf16 in -luna... " >&6; } 32069if ${ac_cv_lib_una_libuna_utf32_stream_copy_from_utf16+:} false; then : 32070 $as_echo_n "(cached) " >&6 32071else 32072 ac_check_lib_save_LIBS=$LIBS 32073LIBS="-luna $LIBS" 32074cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32075/* end confdefs.h. */ 32076 32077/* Override any GCC internal prototype to avoid an error. 32078 Use char because int might match the return type of a GCC 32079 builtin and then its argument prototype would still apply. */ 32080#ifdef __cplusplus 32081extern "C" 32082#endif 32083char libuna_utf32_stream_copy_from_utf16 (); 32084int 32085main () 32086{ 32087return libuna_utf32_stream_copy_from_utf16 (); 32088 ; 32089 return 0; 32090} 32091_ACEOF 32092if ac_fn_c_try_link "$LINENO"; then : 32093 ac_cv_lib_una_libuna_utf32_stream_copy_from_utf16=yes 32094else 32095 ac_cv_lib_una_libuna_utf32_stream_copy_from_utf16=no 32096fi 32097rm -f core conftest.err conftest.$ac_objext \ 32098 conftest$ac_exeext conftest.$ac_ext 32099LIBS=$ac_check_lib_save_LIBS 32100fi 32101{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_stream_copy_from_utf16" >&5 32102$as_echo "$ac_cv_lib_una_libuna_utf32_stream_copy_from_utf16" >&6; } 32103if test "x$ac_cv_lib_una_libuna_utf32_stream_copy_from_utf16" = xyes; then : 32104 ac_cv_libuna_dummy=yes 32105else 32106 ac_cv_libuna=no 32107fi 32108 32109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_stream_size_from_utf32 in -luna" >&5 32110$as_echo_n "checking for libuna_utf32_stream_size_from_utf32 in -luna... " >&6; } 32111if ${ac_cv_lib_una_libuna_utf32_stream_size_from_utf32+:} false; then : 32112 $as_echo_n "(cached) " >&6 32113else 32114 ac_check_lib_save_LIBS=$LIBS 32115LIBS="-luna $LIBS" 32116cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32117/* end confdefs.h. */ 32118 32119/* Override any GCC internal prototype to avoid an error. 32120 Use char because int might match the return type of a GCC 32121 builtin and then its argument prototype would still apply. */ 32122#ifdef __cplusplus 32123extern "C" 32124#endif 32125char libuna_utf32_stream_size_from_utf32 (); 32126int 32127main () 32128{ 32129return libuna_utf32_stream_size_from_utf32 (); 32130 ; 32131 return 0; 32132} 32133_ACEOF 32134if ac_fn_c_try_link "$LINENO"; then : 32135 ac_cv_lib_una_libuna_utf32_stream_size_from_utf32=yes 32136else 32137 ac_cv_lib_una_libuna_utf32_stream_size_from_utf32=no 32138fi 32139rm -f core conftest.err conftest.$ac_objext \ 32140 conftest$ac_exeext conftest.$ac_ext 32141LIBS=$ac_check_lib_save_LIBS 32142fi 32143{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_stream_size_from_utf32" >&5 32144$as_echo "$ac_cv_lib_una_libuna_utf32_stream_size_from_utf32" >&6; } 32145if test "x$ac_cv_lib_una_libuna_utf32_stream_size_from_utf32" = xyes; then : 32146 ac_cv_libuna_dummy=yes 32147else 32148 ac_cv_libuna=no 32149fi 32150 32151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_stream_copy_from_utf32 in -luna" >&5 32152$as_echo_n "checking for libuna_utf32_stream_copy_from_utf32 in -luna... " >&6; } 32153if ${ac_cv_lib_una_libuna_utf32_stream_copy_from_utf32+:} false; then : 32154 $as_echo_n "(cached) " >&6 32155else 32156 ac_check_lib_save_LIBS=$LIBS 32157LIBS="-luna $LIBS" 32158cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32159/* end confdefs.h. */ 32160 32161/* Override any GCC internal prototype to avoid an error. 32162 Use char because int might match the return type of a GCC 32163 builtin and then its argument prototype would still apply. */ 32164#ifdef __cplusplus 32165extern "C" 32166#endif 32167char libuna_utf32_stream_copy_from_utf32 (); 32168int 32169main () 32170{ 32171return libuna_utf32_stream_copy_from_utf32 (); 32172 ; 32173 return 0; 32174} 32175_ACEOF 32176if ac_fn_c_try_link "$LINENO"; then : 32177 ac_cv_lib_una_libuna_utf32_stream_copy_from_utf32=yes 32178else 32179 ac_cv_lib_una_libuna_utf32_stream_copy_from_utf32=no 32180fi 32181rm -f core conftest.err conftest.$ac_objext \ 32182 conftest$ac_exeext conftest.$ac_ext 32183LIBS=$ac_check_lib_save_LIBS 32184fi 32185{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_stream_copy_from_utf32" >&5 32186$as_echo "$ac_cv_lib_una_libuna_utf32_stream_copy_from_utf32" >&6; } 32187if test "x$ac_cv_lib_una_libuna_utf32_stream_copy_from_utf32" = xyes; then : 32188 ac_cv_libuna_dummy=yes 32189else 32190 ac_cv_libuna=no 32191fi 32192 32193 32194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_byte_stream in -luna" >&5 32195$as_echo_n "checking for libuna_utf8_string_size_from_byte_stream in -luna... " >&6; } 32196if ${ac_cv_lib_una_libuna_utf8_string_size_from_byte_stream+:} false; then : 32197 $as_echo_n "(cached) " >&6 32198else 32199 ac_check_lib_save_LIBS=$LIBS 32200LIBS="-luna $LIBS" 32201cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32202/* end confdefs.h. */ 32203 32204/* Override any GCC internal prototype to avoid an error. 32205 Use char because int might match the return type of a GCC 32206 builtin and then its argument prototype would still apply. */ 32207#ifdef __cplusplus 32208extern "C" 32209#endif 32210char libuna_utf8_string_size_from_byte_stream (); 32211int 32212main () 32213{ 32214return libuna_utf8_string_size_from_byte_stream (); 32215 ; 32216 return 0; 32217} 32218_ACEOF 32219if ac_fn_c_try_link "$LINENO"; then : 32220 ac_cv_lib_una_libuna_utf8_string_size_from_byte_stream=yes 32221else 32222 ac_cv_lib_una_libuna_utf8_string_size_from_byte_stream=no 32223fi 32224rm -f core conftest.err conftest.$ac_objext \ 32225 conftest$ac_exeext conftest.$ac_ext 32226LIBS=$ac_check_lib_save_LIBS 32227fi 32228{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_byte_stream" >&5 32229$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_byte_stream" >&6; } 32230if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_byte_stream" = xyes; then : 32231 ac_cv_libuna_dummy=yes 32232else 32233 ac_cv_libuna=no 32234fi 32235 32236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_byte_stream in -luna" >&5 32237$as_echo_n "checking for libuna_utf8_string_copy_from_byte_stream in -luna... " >&6; } 32238if ${ac_cv_lib_una_libuna_utf8_string_copy_from_byte_stream+:} false; then : 32239 $as_echo_n "(cached) " >&6 32240else 32241 ac_check_lib_save_LIBS=$LIBS 32242LIBS="-luna $LIBS" 32243cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32244/* end confdefs.h. */ 32245 32246/* Override any GCC internal prototype to avoid an error. 32247 Use char because int might match the return type of a GCC 32248 builtin and then its argument prototype would still apply. */ 32249#ifdef __cplusplus 32250extern "C" 32251#endif 32252char libuna_utf8_string_copy_from_byte_stream (); 32253int 32254main () 32255{ 32256return libuna_utf8_string_copy_from_byte_stream (); 32257 ; 32258 return 0; 32259} 32260_ACEOF 32261if ac_fn_c_try_link "$LINENO"; then : 32262 ac_cv_lib_una_libuna_utf8_string_copy_from_byte_stream=yes 32263else 32264 ac_cv_lib_una_libuna_utf8_string_copy_from_byte_stream=no 32265fi 32266rm -f core conftest.err conftest.$ac_objext \ 32267 conftest$ac_exeext conftest.$ac_ext 32268LIBS=$ac_check_lib_save_LIBS 32269fi 32270{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_byte_stream" >&5 32271$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_byte_stream" >&6; } 32272if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_byte_stream" = xyes; then : 32273 ac_cv_libuna_dummy=yes 32274else 32275 ac_cv_libuna=no 32276fi 32277 32278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_byte_stream in -luna" >&5 32279$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_byte_stream in -luna... " >&6; } 32280if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_byte_stream+:} false; then : 32281 $as_echo_n "(cached) " >&6 32282else 32283 ac_check_lib_save_LIBS=$LIBS 32284LIBS="-luna $LIBS" 32285cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32286/* end confdefs.h. */ 32287 32288/* Override any GCC internal prototype to avoid an error. 32289 Use char because int might match the return type of a GCC 32290 builtin and then its argument prototype would still apply. */ 32291#ifdef __cplusplus 32292extern "C" 32293#endif 32294char libuna_utf8_string_with_index_copy_from_byte_stream (); 32295int 32296main () 32297{ 32298return libuna_utf8_string_with_index_copy_from_byte_stream (); 32299 ; 32300 return 0; 32301} 32302_ACEOF 32303if ac_fn_c_try_link "$LINENO"; then : 32304 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_byte_stream=yes 32305else 32306 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_byte_stream=no 32307fi 32308rm -f core conftest.err conftest.$ac_objext \ 32309 conftest$ac_exeext conftest.$ac_ext 32310LIBS=$ac_check_lib_save_LIBS 32311fi 32312{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_byte_stream" >&5 32313$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_byte_stream" >&6; } 32314if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_byte_stream" = xyes; then : 32315 ac_cv_libuna_dummy=yes 32316else 32317 ac_cv_libuna=no 32318fi 32319 32320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_utf7_stream in -luna" >&5 32321$as_echo_n "checking for libuna_utf8_string_size_from_utf7_stream in -luna... " >&6; } 32322if ${ac_cv_lib_una_libuna_utf8_string_size_from_utf7_stream+:} false; then : 32323 $as_echo_n "(cached) " >&6 32324else 32325 ac_check_lib_save_LIBS=$LIBS 32326LIBS="-luna $LIBS" 32327cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32328/* end confdefs.h. */ 32329 32330/* Override any GCC internal prototype to avoid an error. 32331 Use char because int might match the return type of a GCC 32332 builtin and then its argument prototype would still apply. */ 32333#ifdef __cplusplus 32334extern "C" 32335#endif 32336char libuna_utf8_string_size_from_utf7_stream (); 32337int 32338main () 32339{ 32340return libuna_utf8_string_size_from_utf7_stream (); 32341 ; 32342 return 0; 32343} 32344_ACEOF 32345if ac_fn_c_try_link "$LINENO"; then : 32346 ac_cv_lib_una_libuna_utf8_string_size_from_utf7_stream=yes 32347else 32348 ac_cv_lib_una_libuna_utf8_string_size_from_utf7_stream=no 32349fi 32350rm -f core conftest.err conftest.$ac_objext \ 32351 conftest$ac_exeext conftest.$ac_ext 32352LIBS=$ac_check_lib_save_LIBS 32353fi 32354{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_utf7_stream" >&5 32355$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_utf7_stream" >&6; } 32356if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_utf7_stream" = xyes; then : 32357 ac_cv_libuna_dummy=yes 32358else 32359 ac_cv_libuna=no 32360fi 32361 32362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_utf7_stream in -luna" >&5 32363$as_echo_n "checking for libuna_utf8_string_copy_from_utf7_stream in -luna... " >&6; } 32364if ${ac_cv_lib_una_libuna_utf8_string_copy_from_utf7_stream+:} false; then : 32365 $as_echo_n "(cached) " >&6 32366else 32367 ac_check_lib_save_LIBS=$LIBS 32368LIBS="-luna $LIBS" 32369cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32370/* end confdefs.h. */ 32371 32372/* Override any GCC internal prototype to avoid an error. 32373 Use char because int might match the return type of a GCC 32374 builtin and then its argument prototype would still apply. */ 32375#ifdef __cplusplus 32376extern "C" 32377#endif 32378char libuna_utf8_string_copy_from_utf7_stream (); 32379int 32380main () 32381{ 32382return libuna_utf8_string_copy_from_utf7_stream (); 32383 ; 32384 return 0; 32385} 32386_ACEOF 32387if ac_fn_c_try_link "$LINENO"; then : 32388 ac_cv_lib_una_libuna_utf8_string_copy_from_utf7_stream=yes 32389else 32390 ac_cv_lib_una_libuna_utf8_string_copy_from_utf7_stream=no 32391fi 32392rm -f core conftest.err conftest.$ac_objext \ 32393 conftest$ac_exeext conftest.$ac_ext 32394LIBS=$ac_check_lib_save_LIBS 32395fi 32396{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_utf7_stream" >&5 32397$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_utf7_stream" >&6; } 32398if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_utf7_stream" = xyes; then : 32399 ac_cv_libuna_dummy=yes 32400else 32401 ac_cv_libuna=no 32402fi 32403 32404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_utf7_stream in -luna" >&5 32405$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_utf7_stream in -luna... " >&6; } 32406if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf7_stream+:} false; then : 32407 $as_echo_n "(cached) " >&6 32408else 32409 ac_check_lib_save_LIBS=$LIBS 32410LIBS="-luna $LIBS" 32411cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32412/* end confdefs.h. */ 32413 32414/* Override any GCC internal prototype to avoid an error. 32415 Use char because int might match the return type of a GCC 32416 builtin and then its argument prototype would still apply. */ 32417#ifdef __cplusplus 32418extern "C" 32419#endif 32420char libuna_utf8_string_with_index_copy_from_utf7_stream (); 32421int 32422main () 32423{ 32424return libuna_utf8_string_with_index_copy_from_utf7_stream (); 32425 ; 32426 return 0; 32427} 32428_ACEOF 32429if ac_fn_c_try_link "$LINENO"; then : 32430 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf7_stream=yes 32431else 32432 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf7_stream=no 32433fi 32434rm -f core conftest.err conftest.$ac_objext \ 32435 conftest$ac_exeext conftest.$ac_ext 32436LIBS=$ac_check_lib_save_LIBS 32437fi 32438{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf7_stream" >&5 32439$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf7_stream" >&6; } 32440if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf7_stream" = xyes; then : 32441 ac_cv_libuna_dummy=yes 32442else 32443 ac_cv_libuna=no 32444fi 32445 32446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_utf8_stream in -luna" >&5 32447$as_echo_n "checking for libuna_utf8_string_size_from_utf8_stream in -luna... " >&6; } 32448if ${ac_cv_lib_una_libuna_utf8_string_size_from_utf8_stream+:} false; then : 32449 $as_echo_n "(cached) " >&6 32450else 32451 ac_check_lib_save_LIBS=$LIBS 32452LIBS="-luna $LIBS" 32453cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32454/* end confdefs.h. */ 32455 32456/* Override any GCC internal prototype to avoid an error. 32457 Use char because int might match the return type of a GCC 32458 builtin and then its argument prototype would still apply. */ 32459#ifdef __cplusplus 32460extern "C" 32461#endif 32462char libuna_utf8_string_size_from_utf8_stream (); 32463int 32464main () 32465{ 32466return libuna_utf8_string_size_from_utf8_stream (); 32467 ; 32468 return 0; 32469} 32470_ACEOF 32471if ac_fn_c_try_link "$LINENO"; then : 32472 ac_cv_lib_una_libuna_utf8_string_size_from_utf8_stream=yes 32473else 32474 ac_cv_lib_una_libuna_utf8_string_size_from_utf8_stream=no 32475fi 32476rm -f core conftest.err conftest.$ac_objext \ 32477 conftest$ac_exeext conftest.$ac_ext 32478LIBS=$ac_check_lib_save_LIBS 32479fi 32480{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_utf8_stream" >&5 32481$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_utf8_stream" >&6; } 32482if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_utf8_stream" = xyes; then : 32483 ac_cv_libuna_dummy=yes 32484else 32485 ac_cv_libuna=no 32486fi 32487 32488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_utf8_stream in -luna" >&5 32489$as_echo_n "checking for libuna_utf8_string_copy_from_utf8_stream in -luna... " >&6; } 32490if ${ac_cv_lib_una_libuna_utf8_string_copy_from_utf8_stream+:} false; then : 32491 $as_echo_n "(cached) " >&6 32492else 32493 ac_check_lib_save_LIBS=$LIBS 32494LIBS="-luna $LIBS" 32495cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32496/* end confdefs.h. */ 32497 32498/* Override any GCC internal prototype to avoid an error. 32499 Use char because int might match the return type of a GCC 32500 builtin and then its argument prototype would still apply. */ 32501#ifdef __cplusplus 32502extern "C" 32503#endif 32504char libuna_utf8_string_copy_from_utf8_stream (); 32505int 32506main () 32507{ 32508return libuna_utf8_string_copy_from_utf8_stream (); 32509 ; 32510 return 0; 32511} 32512_ACEOF 32513if ac_fn_c_try_link "$LINENO"; then : 32514 ac_cv_lib_una_libuna_utf8_string_copy_from_utf8_stream=yes 32515else 32516 ac_cv_lib_una_libuna_utf8_string_copy_from_utf8_stream=no 32517fi 32518rm -f core conftest.err conftest.$ac_objext \ 32519 conftest$ac_exeext conftest.$ac_ext 32520LIBS=$ac_check_lib_save_LIBS 32521fi 32522{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_utf8_stream" >&5 32523$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_utf8_stream" >&6; } 32524if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_utf8_stream" = xyes; then : 32525 ac_cv_libuna_dummy=yes 32526else 32527 ac_cv_libuna=no 32528fi 32529 32530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_utf8_stream in -luna" >&5 32531$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_utf8_stream in -luna... " >&6; } 32532if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf8_stream+:} false; then : 32533 $as_echo_n "(cached) " >&6 32534else 32535 ac_check_lib_save_LIBS=$LIBS 32536LIBS="-luna $LIBS" 32537cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32538/* end confdefs.h. */ 32539 32540/* Override any GCC internal prototype to avoid an error. 32541 Use char because int might match the return type of a GCC 32542 builtin and then its argument prototype would still apply. */ 32543#ifdef __cplusplus 32544extern "C" 32545#endif 32546char libuna_utf8_string_with_index_copy_from_utf8_stream (); 32547int 32548main () 32549{ 32550return libuna_utf8_string_with_index_copy_from_utf8_stream (); 32551 ; 32552 return 0; 32553} 32554_ACEOF 32555if ac_fn_c_try_link "$LINENO"; then : 32556 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf8_stream=yes 32557else 32558 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf8_stream=no 32559fi 32560rm -f core conftest.err conftest.$ac_objext \ 32561 conftest$ac_exeext conftest.$ac_ext 32562LIBS=$ac_check_lib_save_LIBS 32563fi 32564{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf8_stream" >&5 32565$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf8_stream" >&6; } 32566if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf8_stream" = xyes; then : 32567 ac_cv_libuna_dummy=yes 32568else 32569 ac_cv_libuna=no 32570fi 32571 32572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_utf16_stream in -luna" >&5 32573$as_echo_n "checking for libuna_utf8_string_size_from_utf16_stream in -luna... " >&6; } 32574if ${ac_cv_lib_una_libuna_utf8_string_size_from_utf16_stream+:} false; then : 32575 $as_echo_n "(cached) " >&6 32576else 32577 ac_check_lib_save_LIBS=$LIBS 32578LIBS="-luna $LIBS" 32579cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32580/* end confdefs.h. */ 32581 32582/* Override any GCC internal prototype to avoid an error. 32583 Use char because int might match the return type of a GCC 32584 builtin and then its argument prototype would still apply. */ 32585#ifdef __cplusplus 32586extern "C" 32587#endif 32588char libuna_utf8_string_size_from_utf16_stream (); 32589int 32590main () 32591{ 32592return libuna_utf8_string_size_from_utf16_stream (); 32593 ; 32594 return 0; 32595} 32596_ACEOF 32597if ac_fn_c_try_link "$LINENO"; then : 32598 ac_cv_lib_una_libuna_utf8_string_size_from_utf16_stream=yes 32599else 32600 ac_cv_lib_una_libuna_utf8_string_size_from_utf16_stream=no 32601fi 32602rm -f core conftest.err conftest.$ac_objext \ 32603 conftest$ac_exeext conftest.$ac_ext 32604LIBS=$ac_check_lib_save_LIBS 32605fi 32606{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_utf16_stream" >&5 32607$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_utf16_stream" >&6; } 32608if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_utf16_stream" = xyes; then : 32609 ac_cv_libuna_dummy=yes 32610else 32611 ac_cv_libuna=no 32612fi 32613 32614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_utf16_stream in -luna" >&5 32615$as_echo_n "checking for libuna_utf8_string_copy_from_utf16_stream in -luna... " >&6; } 32616if ${ac_cv_lib_una_libuna_utf8_string_copy_from_utf16_stream+:} false; then : 32617 $as_echo_n "(cached) " >&6 32618else 32619 ac_check_lib_save_LIBS=$LIBS 32620LIBS="-luna $LIBS" 32621cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32622/* end confdefs.h. */ 32623 32624/* Override any GCC internal prototype to avoid an error. 32625 Use char because int might match the return type of a GCC 32626 builtin and then its argument prototype would still apply. */ 32627#ifdef __cplusplus 32628extern "C" 32629#endif 32630char libuna_utf8_string_copy_from_utf16_stream (); 32631int 32632main () 32633{ 32634return libuna_utf8_string_copy_from_utf16_stream (); 32635 ; 32636 return 0; 32637} 32638_ACEOF 32639if ac_fn_c_try_link "$LINENO"; then : 32640 ac_cv_lib_una_libuna_utf8_string_copy_from_utf16_stream=yes 32641else 32642 ac_cv_lib_una_libuna_utf8_string_copy_from_utf16_stream=no 32643fi 32644rm -f core conftest.err conftest.$ac_objext \ 32645 conftest$ac_exeext conftest.$ac_ext 32646LIBS=$ac_check_lib_save_LIBS 32647fi 32648{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_utf16_stream" >&5 32649$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_utf16_stream" >&6; } 32650if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_utf16_stream" = xyes; then : 32651 ac_cv_libuna_dummy=yes 32652else 32653 ac_cv_libuna=no 32654fi 32655 32656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_utf16_stream in -luna" >&5 32657$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_utf16_stream in -luna... " >&6; } 32658if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16_stream+:} false; then : 32659 $as_echo_n "(cached) " >&6 32660else 32661 ac_check_lib_save_LIBS=$LIBS 32662LIBS="-luna $LIBS" 32663cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32664/* end confdefs.h. */ 32665 32666/* Override any GCC internal prototype to avoid an error. 32667 Use char because int might match the return type of a GCC 32668 builtin and then its argument prototype would still apply. */ 32669#ifdef __cplusplus 32670extern "C" 32671#endif 32672char libuna_utf8_string_with_index_copy_from_utf16_stream (); 32673int 32674main () 32675{ 32676return libuna_utf8_string_with_index_copy_from_utf16_stream (); 32677 ; 32678 return 0; 32679} 32680_ACEOF 32681if ac_fn_c_try_link "$LINENO"; then : 32682 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16_stream=yes 32683else 32684 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16_stream=no 32685fi 32686rm -f core conftest.err conftest.$ac_objext \ 32687 conftest$ac_exeext conftest.$ac_ext 32688LIBS=$ac_check_lib_save_LIBS 32689fi 32690{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16_stream" >&5 32691$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16_stream" >&6; } 32692if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16_stream" = xyes; then : 32693 ac_cv_libuna_dummy=yes 32694else 32695 ac_cv_libuna=no 32696fi 32697 32698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_utf32_stream in -luna" >&5 32699$as_echo_n "checking for libuna_utf8_string_size_from_utf32_stream in -luna... " >&6; } 32700if ${ac_cv_lib_una_libuna_utf8_string_size_from_utf32_stream+:} false; then : 32701 $as_echo_n "(cached) " >&6 32702else 32703 ac_check_lib_save_LIBS=$LIBS 32704LIBS="-luna $LIBS" 32705cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32706/* end confdefs.h. */ 32707 32708/* Override any GCC internal prototype to avoid an error. 32709 Use char because int might match the return type of a GCC 32710 builtin and then its argument prototype would still apply. */ 32711#ifdef __cplusplus 32712extern "C" 32713#endif 32714char libuna_utf8_string_size_from_utf32_stream (); 32715int 32716main () 32717{ 32718return libuna_utf8_string_size_from_utf32_stream (); 32719 ; 32720 return 0; 32721} 32722_ACEOF 32723if ac_fn_c_try_link "$LINENO"; then : 32724 ac_cv_lib_una_libuna_utf8_string_size_from_utf32_stream=yes 32725else 32726 ac_cv_lib_una_libuna_utf8_string_size_from_utf32_stream=no 32727fi 32728rm -f core conftest.err conftest.$ac_objext \ 32729 conftest$ac_exeext conftest.$ac_ext 32730LIBS=$ac_check_lib_save_LIBS 32731fi 32732{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_utf32_stream" >&5 32733$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_utf32_stream" >&6; } 32734if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_utf32_stream" = xyes; then : 32735 ac_cv_libuna_dummy=yes 32736else 32737 ac_cv_libuna=no 32738fi 32739 32740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_utf32_stream in -luna" >&5 32741$as_echo_n "checking for libuna_utf8_string_copy_from_utf32_stream in -luna... " >&6; } 32742if ${ac_cv_lib_una_libuna_utf8_string_copy_from_utf32_stream+:} false; then : 32743 $as_echo_n "(cached) " >&6 32744else 32745 ac_check_lib_save_LIBS=$LIBS 32746LIBS="-luna $LIBS" 32747cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32748/* end confdefs.h. */ 32749 32750/* Override any GCC internal prototype to avoid an error. 32751 Use char because int might match the return type of a GCC 32752 builtin and then its argument prototype would still apply. */ 32753#ifdef __cplusplus 32754extern "C" 32755#endif 32756char libuna_utf8_string_copy_from_utf32_stream (); 32757int 32758main () 32759{ 32760return libuna_utf8_string_copy_from_utf32_stream (); 32761 ; 32762 return 0; 32763} 32764_ACEOF 32765if ac_fn_c_try_link "$LINENO"; then : 32766 ac_cv_lib_una_libuna_utf8_string_copy_from_utf32_stream=yes 32767else 32768 ac_cv_lib_una_libuna_utf8_string_copy_from_utf32_stream=no 32769fi 32770rm -f core conftest.err conftest.$ac_objext \ 32771 conftest$ac_exeext conftest.$ac_ext 32772LIBS=$ac_check_lib_save_LIBS 32773fi 32774{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_utf32_stream" >&5 32775$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_utf32_stream" >&6; } 32776if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_utf32_stream" = xyes; then : 32777 ac_cv_libuna_dummy=yes 32778else 32779 ac_cv_libuna=no 32780fi 32781 32782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_utf32_stream in -luna" >&5 32783$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_utf32_stream in -luna... " >&6; } 32784if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32_stream+:} false; then : 32785 $as_echo_n "(cached) " >&6 32786else 32787 ac_check_lib_save_LIBS=$LIBS 32788LIBS="-luna $LIBS" 32789cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32790/* end confdefs.h. */ 32791 32792/* Override any GCC internal prototype to avoid an error. 32793 Use char because int might match the return type of a GCC 32794 builtin and then its argument prototype would still apply. */ 32795#ifdef __cplusplus 32796extern "C" 32797#endif 32798char libuna_utf8_string_with_index_copy_from_utf32_stream (); 32799int 32800main () 32801{ 32802return libuna_utf8_string_with_index_copy_from_utf32_stream (); 32803 ; 32804 return 0; 32805} 32806_ACEOF 32807if ac_fn_c_try_link "$LINENO"; then : 32808 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32_stream=yes 32809else 32810 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32_stream=no 32811fi 32812rm -f core conftest.err conftest.$ac_objext \ 32813 conftest$ac_exeext conftest.$ac_ext 32814LIBS=$ac_check_lib_save_LIBS 32815fi 32816{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32_stream" >&5 32817$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32_stream" >&6; } 32818if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32_stream" = xyes; then : 32819 ac_cv_libuna_dummy=yes 32820else 32821 ac_cv_libuna=no 32822fi 32823 32824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_utf16 in -luna" >&5 32825$as_echo_n "checking for libuna_utf8_string_size_from_utf16 in -luna... " >&6; } 32826if ${ac_cv_lib_una_libuna_utf8_string_size_from_utf16+:} false; then : 32827 $as_echo_n "(cached) " >&6 32828else 32829 ac_check_lib_save_LIBS=$LIBS 32830LIBS="-luna $LIBS" 32831cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32832/* end confdefs.h. */ 32833 32834/* Override any GCC internal prototype to avoid an error. 32835 Use char because int might match the return type of a GCC 32836 builtin and then its argument prototype would still apply. */ 32837#ifdef __cplusplus 32838extern "C" 32839#endif 32840char libuna_utf8_string_size_from_utf16 (); 32841int 32842main () 32843{ 32844return libuna_utf8_string_size_from_utf16 (); 32845 ; 32846 return 0; 32847} 32848_ACEOF 32849if ac_fn_c_try_link "$LINENO"; then : 32850 ac_cv_lib_una_libuna_utf8_string_size_from_utf16=yes 32851else 32852 ac_cv_lib_una_libuna_utf8_string_size_from_utf16=no 32853fi 32854rm -f core conftest.err conftest.$ac_objext \ 32855 conftest$ac_exeext conftest.$ac_ext 32856LIBS=$ac_check_lib_save_LIBS 32857fi 32858{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_utf16" >&5 32859$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_utf16" >&6; } 32860if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_utf16" = xyes; then : 32861 ac_cv_libuna_dummy=yes 32862else 32863 ac_cv_libuna=no 32864fi 32865 32866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_utf16 in -luna" >&5 32867$as_echo_n "checking for libuna_utf8_string_copy_from_utf16 in -luna... " >&6; } 32868if ${ac_cv_lib_una_libuna_utf8_string_copy_from_utf16+:} false; then : 32869 $as_echo_n "(cached) " >&6 32870else 32871 ac_check_lib_save_LIBS=$LIBS 32872LIBS="-luna $LIBS" 32873cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32874/* end confdefs.h. */ 32875 32876/* Override any GCC internal prototype to avoid an error. 32877 Use char because int might match the return type of a GCC 32878 builtin and then its argument prototype would still apply. */ 32879#ifdef __cplusplus 32880extern "C" 32881#endif 32882char libuna_utf8_string_copy_from_utf16 (); 32883int 32884main () 32885{ 32886return libuna_utf8_string_copy_from_utf16 (); 32887 ; 32888 return 0; 32889} 32890_ACEOF 32891if ac_fn_c_try_link "$LINENO"; then : 32892 ac_cv_lib_una_libuna_utf8_string_copy_from_utf16=yes 32893else 32894 ac_cv_lib_una_libuna_utf8_string_copy_from_utf16=no 32895fi 32896rm -f core conftest.err conftest.$ac_objext \ 32897 conftest$ac_exeext conftest.$ac_ext 32898LIBS=$ac_check_lib_save_LIBS 32899fi 32900{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_utf16" >&5 32901$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_utf16" >&6; } 32902if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_utf16" = xyes; then : 32903 ac_cv_libuna_dummy=yes 32904else 32905 ac_cv_libuna=no 32906fi 32907 32908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_utf16 in -luna" >&5 32909$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_utf16 in -luna... " >&6; } 32910if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16+:} false; then : 32911 $as_echo_n "(cached) " >&6 32912else 32913 ac_check_lib_save_LIBS=$LIBS 32914LIBS="-luna $LIBS" 32915cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32916/* end confdefs.h. */ 32917 32918/* Override any GCC internal prototype to avoid an error. 32919 Use char because int might match the return type of a GCC 32920 builtin and then its argument prototype would still apply. */ 32921#ifdef __cplusplus 32922extern "C" 32923#endif 32924char libuna_utf8_string_with_index_copy_from_utf16 (); 32925int 32926main () 32927{ 32928return libuna_utf8_string_with_index_copy_from_utf16 (); 32929 ; 32930 return 0; 32931} 32932_ACEOF 32933if ac_fn_c_try_link "$LINENO"; then : 32934 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16=yes 32935else 32936 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16=no 32937fi 32938rm -f core conftest.err conftest.$ac_objext \ 32939 conftest$ac_exeext conftest.$ac_ext 32940LIBS=$ac_check_lib_save_LIBS 32941fi 32942{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16" >&5 32943$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16" >&6; } 32944if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16" = xyes; then : 32945 ac_cv_libuna_dummy=yes 32946else 32947 ac_cv_libuna=no 32948fi 32949 32950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_utf32 in -luna" >&5 32951$as_echo_n "checking for libuna_utf8_string_size_from_utf32 in -luna... " >&6; } 32952if ${ac_cv_lib_una_libuna_utf8_string_size_from_utf32+:} false; then : 32953 $as_echo_n "(cached) " >&6 32954else 32955 ac_check_lib_save_LIBS=$LIBS 32956LIBS="-luna $LIBS" 32957cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32958/* end confdefs.h. */ 32959 32960/* Override any GCC internal prototype to avoid an error. 32961 Use char because int might match the return type of a GCC 32962 builtin and then its argument prototype would still apply. */ 32963#ifdef __cplusplus 32964extern "C" 32965#endif 32966char libuna_utf8_string_size_from_utf32 (); 32967int 32968main () 32969{ 32970return libuna_utf8_string_size_from_utf32 (); 32971 ; 32972 return 0; 32973} 32974_ACEOF 32975if ac_fn_c_try_link "$LINENO"; then : 32976 ac_cv_lib_una_libuna_utf8_string_size_from_utf32=yes 32977else 32978 ac_cv_lib_una_libuna_utf8_string_size_from_utf32=no 32979fi 32980rm -f core conftest.err conftest.$ac_objext \ 32981 conftest$ac_exeext conftest.$ac_ext 32982LIBS=$ac_check_lib_save_LIBS 32983fi 32984{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_utf32" >&5 32985$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_utf32" >&6; } 32986if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_utf32" = xyes; then : 32987 ac_cv_libuna_dummy=yes 32988else 32989 ac_cv_libuna=no 32990fi 32991 32992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_utf32 in -luna" >&5 32993$as_echo_n "checking for libuna_utf8_string_copy_from_utf32 in -luna... " >&6; } 32994if ${ac_cv_lib_una_libuna_utf8_string_copy_from_utf32+:} false; then : 32995 $as_echo_n "(cached) " >&6 32996else 32997 ac_check_lib_save_LIBS=$LIBS 32998LIBS="-luna $LIBS" 32999cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33000/* end confdefs.h. */ 33001 33002/* Override any GCC internal prototype to avoid an error. 33003 Use char because int might match the return type of a GCC 33004 builtin and then its argument prototype would still apply. */ 33005#ifdef __cplusplus 33006extern "C" 33007#endif 33008char libuna_utf8_string_copy_from_utf32 (); 33009int 33010main () 33011{ 33012return libuna_utf8_string_copy_from_utf32 (); 33013 ; 33014 return 0; 33015} 33016_ACEOF 33017if ac_fn_c_try_link "$LINENO"; then : 33018 ac_cv_lib_una_libuna_utf8_string_copy_from_utf32=yes 33019else 33020 ac_cv_lib_una_libuna_utf8_string_copy_from_utf32=no 33021fi 33022rm -f core conftest.err conftest.$ac_objext \ 33023 conftest$ac_exeext conftest.$ac_ext 33024LIBS=$ac_check_lib_save_LIBS 33025fi 33026{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_utf32" >&5 33027$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_utf32" >&6; } 33028if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_utf32" = xyes; then : 33029 ac_cv_libuna_dummy=yes 33030else 33031 ac_cv_libuna=no 33032fi 33033 33034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_utf32 in -luna" >&5 33035$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_utf32 in -luna... " >&6; } 33036if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32+:} false; then : 33037 $as_echo_n "(cached) " >&6 33038else 33039 ac_check_lib_save_LIBS=$LIBS 33040LIBS="-luna $LIBS" 33041cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33042/* end confdefs.h. */ 33043 33044/* Override any GCC internal prototype to avoid an error. 33045 Use char because int might match the return type of a GCC 33046 builtin and then its argument prototype would still apply. */ 33047#ifdef __cplusplus 33048extern "C" 33049#endif 33050char libuna_utf8_string_with_index_copy_from_utf32 (); 33051int 33052main () 33053{ 33054return libuna_utf8_string_with_index_copy_from_utf32 (); 33055 ; 33056 return 0; 33057} 33058_ACEOF 33059if ac_fn_c_try_link "$LINENO"; then : 33060 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32=yes 33061else 33062 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32=no 33063fi 33064rm -f core conftest.err conftest.$ac_objext \ 33065 conftest$ac_exeext conftest.$ac_ext 33066LIBS=$ac_check_lib_save_LIBS 33067fi 33068{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32" >&5 33069$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32" >&6; } 33070if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32" = xyes; then : 33071 ac_cv_libuna_dummy=yes 33072else 33073 ac_cv_libuna=no 33074fi 33075 33076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_scsu_stream in -luna" >&5 33077$as_echo_n "checking for libuna_utf8_string_size_from_scsu_stream in -luna... " >&6; } 33078if ${ac_cv_lib_una_libuna_utf8_string_size_from_scsu_stream+:} false; then : 33079 $as_echo_n "(cached) " >&6 33080else 33081 ac_check_lib_save_LIBS=$LIBS 33082LIBS="-luna $LIBS" 33083cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33084/* end confdefs.h. */ 33085 33086/* Override any GCC internal prototype to avoid an error. 33087 Use char because int might match the return type of a GCC 33088 builtin and then its argument prototype would still apply. */ 33089#ifdef __cplusplus 33090extern "C" 33091#endif 33092char libuna_utf8_string_size_from_scsu_stream (); 33093int 33094main () 33095{ 33096return libuna_utf8_string_size_from_scsu_stream (); 33097 ; 33098 return 0; 33099} 33100_ACEOF 33101if ac_fn_c_try_link "$LINENO"; then : 33102 ac_cv_lib_una_libuna_utf8_string_size_from_scsu_stream=yes 33103else 33104 ac_cv_lib_una_libuna_utf8_string_size_from_scsu_stream=no 33105fi 33106rm -f core conftest.err conftest.$ac_objext \ 33107 conftest$ac_exeext conftest.$ac_ext 33108LIBS=$ac_check_lib_save_LIBS 33109fi 33110{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_scsu_stream" >&5 33111$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_scsu_stream" >&6; } 33112if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_scsu_stream" = xyes; then : 33113 ac_cv_libuna_dummy=yes 33114else 33115 ac_cv_libuna=no 33116fi 33117 33118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_scsu_stream in -luna" >&5 33119$as_echo_n "checking for libuna_utf8_string_copy_from_scsu_stream in -luna... " >&6; } 33120if ${ac_cv_lib_una_libuna_utf8_string_copy_from_scsu_stream+:} false; then : 33121 $as_echo_n "(cached) " >&6 33122else 33123 ac_check_lib_save_LIBS=$LIBS 33124LIBS="-luna $LIBS" 33125cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33126/* end confdefs.h. */ 33127 33128/* Override any GCC internal prototype to avoid an error. 33129 Use char because int might match the return type of a GCC 33130 builtin and then its argument prototype would still apply. */ 33131#ifdef __cplusplus 33132extern "C" 33133#endif 33134char libuna_utf8_string_copy_from_scsu_stream (); 33135int 33136main () 33137{ 33138return libuna_utf8_string_copy_from_scsu_stream (); 33139 ; 33140 return 0; 33141} 33142_ACEOF 33143if ac_fn_c_try_link "$LINENO"; then : 33144 ac_cv_lib_una_libuna_utf8_string_copy_from_scsu_stream=yes 33145else 33146 ac_cv_lib_una_libuna_utf8_string_copy_from_scsu_stream=no 33147fi 33148rm -f core conftest.err conftest.$ac_objext \ 33149 conftest$ac_exeext conftest.$ac_ext 33150LIBS=$ac_check_lib_save_LIBS 33151fi 33152{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_scsu_stream" >&5 33153$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_scsu_stream" >&6; } 33154if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_scsu_stream" = xyes; then : 33155 ac_cv_libuna_dummy=yes 33156else 33157 ac_cv_libuna=no 33158fi 33159 33160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_scsu_stream in -luna" >&5 33161$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_scsu_stream in -luna... " >&6; } 33162if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_scsu_stream+:} false; then : 33163 $as_echo_n "(cached) " >&6 33164else 33165 ac_check_lib_save_LIBS=$LIBS 33166LIBS="-luna $LIBS" 33167cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33168/* end confdefs.h. */ 33169 33170/* Override any GCC internal prototype to avoid an error. 33171 Use char because int might match the return type of a GCC 33172 builtin and then its argument prototype would still apply. */ 33173#ifdef __cplusplus 33174extern "C" 33175#endif 33176char libuna_utf8_string_with_index_copy_from_scsu_stream (); 33177int 33178main () 33179{ 33180return libuna_utf8_string_with_index_copy_from_scsu_stream (); 33181 ; 33182 return 0; 33183} 33184_ACEOF 33185if ac_fn_c_try_link "$LINENO"; then : 33186 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_scsu_stream=yes 33187else 33188 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_scsu_stream=no 33189fi 33190rm -f core conftest.err conftest.$ac_objext \ 33191 conftest$ac_exeext conftest.$ac_ext 33192LIBS=$ac_check_lib_save_LIBS 33193fi 33194{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_scsu_stream" >&5 33195$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_scsu_stream" >&6; } 33196if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_scsu_stream" = xyes; then : 33197 ac_cv_libuna_dummy=yes 33198else 33199 ac_cv_libuna=no 33200fi 33201 33202 33203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_byte_stream in -luna" >&5 33204$as_echo_n "checking for libuna_utf16_string_size_from_byte_stream in -luna... " >&6; } 33205if ${ac_cv_lib_una_libuna_utf16_string_size_from_byte_stream+:} false; then : 33206 $as_echo_n "(cached) " >&6 33207else 33208 ac_check_lib_save_LIBS=$LIBS 33209LIBS="-luna $LIBS" 33210cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33211/* end confdefs.h. */ 33212 33213/* Override any GCC internal prototype to avoid an error. 33214 Use char because int might match the return type of a GCC 33215 builtin and then its argument prototype would still apply. */ 33216#ifdef __cplusplus 33217extern "C" 33218#endif 33219char libuna_utf16_string_size_from_byte_stream (); 33220int 33221main () 33222{ 33223return libuna_utf16_string_size_from_byte_stream (); 33224 ; 33225 return 0; 33226} 33227_ACEOF 33228if ac_fn_c_try_link "$LINENO"; then : 33229 ac_cv_lib_una_libuna_utf16_string_size_from_byte_stream=yes 33230else 33231 ac_cv_lib_una_libuna_utf16_string_size_from_byte_stream=no 33232fi 33233rm -f core conftest.err conftest.$ac_objext \ 33234 conftest$ac_exeext conftest.$ac_ext 33235LIBS=$ac_check_lib_save_LIBS 33236fi 33237{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_byte_stream" >&5 33238$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_byte_stream" >&6; } 33239if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_byte_stream" = xyes; then : 33240 ac_cv_libuna_dummy=yes 33241else 33242 ac_cv_libuna=no 33243fi 33244 33245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_byte_stream in -luna" >&5 33246$as_echo_n "checking for libuna_utf16_string_copy_from_byte_stream in -luna... " >&6; } 33247if ${ac_cv_lib_una_libuna_utf16_string_copy_from_byte_stream+:} false; then : 33248 $as_echo_n "(cached) " >&6 33249else 33250 ac_check_lib_save_LIBS=$LIBS 33251LIBS="-luna $LIBS" 33252cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33253/* end confdefs.h. */ 33254 33255/* Override any GCC internal prototype to avoid an error. 33256 Use char because int might match the return type of a GCC 33257 builtin and then its argument prototype would still apply. */ 33258#ifdef __cplusplus 33259extern "C" 33260#endif 33261char libuna_utf16_string_copy_from_byte_stream (); 33262int 33263main () 33264{ 33265return libuna_utf16_string_copy_from_byte_stream (); 33266 ; 33267 return 0; 33268} 33269_ACEOF 33270if ac_fn_c_try_link "$LINENO"; then : 33271 ac_cv_lib_una_libuna_utf16_string_copy_from_byte_stream=yes 33272else 33273 ac_cv_lib_una_libuna_utf16_string_copy_from_byte_stream=no 33274fi 33275rm -f core conftest.err conftest.$ac_objext \ 33276 conftest$ac_exeext conftest.$ac_ext 33277LIBS=$ac_check_lib_save_LIBS 33278fi 33279{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_byte_stream" >&5 33280$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_byte_stream" >&6; } 33281if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_byte_stream" = xyes; then : 33282 ac_cv_libuna_dummy=yes 33283else 33284 ac_cv_libuna=no 33285fi 33286 33287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_byte_stream in -luna" >&5 33288$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_byte_stream in -luna... " >&6; } 33289if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_byte_stream+:} false; then : 33290 $as_echo_n "(cached) " >&6 33291else 33292 ac_check_lib_save_LIBS=$LIBS 33293LIBS="-luna $LIBS" 33294cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33295/* end confdefs.h. */ 33296 33297/* Override any GCC internal prototype to avoid an error. 33298 Use char because int might match the return type of a GCC 33299 builtin and then its argument prototype would still apply. */ 33300#ifdef __cplusplus 33301extern "C" 33302#endif 33303char libuna_utf16_string_with_index_copy_from_byte_stream (); 33304int 33305main () 33306{ 33307return libuna_utf16_string_with_index_copy_from_byte_stream (); 33308 ; 33309 return 0; 33310} 33311_ACEOF 33312if ac_fn_c_try_link "$LINENO"; then : 33313 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_byte_stream=yes 33314else 33315 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_byte_stream=no 33316fi 33317rm -f core conftest.err conftest.$ac_objext \ 33318 conftest$ac_exeext conftest.$ac_ext 33319LIBS=$ac_check_lib_save_LIBS 33320fi 33321{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_byte_stream" >&5 33322$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_byte_stream" >&6; } 33323if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_byte_stream" = xyes; then : 33324 ac_cv_libuna_dummy=yes 33325else 33326 ac_cv_libuna=no 33327fi 33328 33329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_utf7_stream in -luna" >&5 33330$as_echo_n "checking for libuna_utf16_string_size_from_utf7_stream in -luna... " >&6; } 33331if ${ac_cv_lib_una_libuna_utf16_string_size_from_utf7_stream+:} false; then : 33332 $as_echo_n "(cached) " >&6 33333else 33334 ac_check_lib_save_LIBS=$LIBS 33335LIBS="-luna $LIBS" 33336cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33337/* end confdefs.h. */ 33338 33339/* Override any GCC internal prototype to avoid an error. 33340 Use char because int might match the return type of a GCC 33341 builtin and then its argument prototype would still apply. */ 33342#ifdef __cplusplus 33343extern "C" 33344#endif 33345char libuna_utf16_string_size_from_utf7_stream (); 33346int 33347main () 33348{ 33349return libuna_utf16_string_size_from_utf7_stream (); 33350 ; 33351 return 0; 33352} 33353_ACEOF 33354if ac_fn_c_try_link "$LINENO"; then : 33355 ac_cv_lib_una_libuna_utf16_string_size_from_utf7_stream=yes 33356else 33357 ac_cv_lib_una_libuna_utf16_string_size_from_utf7_stream=no 33358fi 33359rm -f core conftest.err conftest.$ac_objext \ 33360 conftest$ac_exeext conftest.$ac_ext 33361LIBS=$ac_check_lib_save_LIBS 33362fi 33363{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_utf7_stream" >&5 33364$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_utf7_stream" >&6; } 33365if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_utf7_stream" = xyes; then : 33366 ac_cv_libuna_dummy=yes 33367else 33368 ac_cv_libuna=no 33369fi 33370 33371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_utf7_stream in -luna" >&5 33372$as_echo_n "checking for libuna_utf16_string_copy_from_utf7_stream in -luna... " >&6; } 33373if ${ac_cv_lib_una_libuna_utf16_string_copy_from_utf7_stream+:} false; then : 33374 $as_echo_n "(cached) " >&6 33375else 33376 ac_check_lib_save_LIBS=$LIBS 33377LIBS="-luna $LIBS" 33378cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33379/* end confdefs.h. */ 33380 33381/* Override any GCC internal prototype to avoid an error. 33382 Use char because int might match the return type of a GCC 33383 builtin and then its argument prototype would still apply. */ 33384#ifdef __cplusplus 33385extern "C" 33386#endif 33387char libuna_utf16_string_copy_from_utf7_stream (); 33388int 33389main () 33390{ 33391return libuna_utf16_string_copy_from_utf7_stream (); 33392 ; 33393 return 0; 33394} 33395_ACEOF 33396if ac_fn_c_try_link "$LINENO"; then : 33397 ac_cv_lib_una_libuna_utf16_string_copy_from_utf7_stream=yes 33398else 33399 ac_cv_lib_una_libuna_utf16_string_copy_from_utf7_stream=no 33400fi 33401rm -f core conftest.err conftest.$ac_objext \ 33402 conftest$ac_exeext conftest.$ac_ext 33403LIBS=$ac_check_lib_save_LIBS 33404fi 33405{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_utf7_stream" >&5 33406$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_utf7_stream" >&6; } 33407if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_utf7_stream" = xyes; then : 33408 ac_cv_libuna_dummy=yes 33409else 33410 ac_cv_libuna=no 33411fi 33412 33413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_utf7_stream in -luna" >&5 33414$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_utf7_stream in -luna... " >&6; } 33415if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf7_stream+:} false; then : 33416 $as_echo_n "(cached) " >&6 33417else 33418 ac_check_lib_save_LIBS=$LIBS 33419LIBS="-luna $LIBS" 33420cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33421/* end confdefs.h. */ 33422 33423/* Override any GCC internal prototype to avoid an error. 33424 Use char because int might match the return type of a GCC 33425 builtin and then its argument prototype would still apply. */ 33426#ifdef __cplusplus 33427extern "C" 33428#endif 33429char libuna_utf16_string_with_index_copy_from_utf7_stream (); 33430int 33431main () 33432{ 33433return libuna_utf16_string_with_index_copy_from_utf7_stream (); 33434 ; 33435 return 0; 33436} 33437_ACEOF 33438if ac_fn_c_try_link "$LINENO"; then : 33439 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf7_stream=yes 33440else 33441 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf7_stream=no 33442fi 33443rm -f core conftest.err conftest.$ac_objext \ 33444 conftest$ac_exeext conftest.$ac_ext 33445LIBS=$ac_check_lib_save_LIBS 33446fi 33447{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf7_stream" >&5 33448$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf7_stream" >&6; } 33449if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf7_stream" = xyes; then : 33450 ac_cv_libuna_dummy=yes 33451else 33452 ac_cv_libuna=no 33453fi 33454 33455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_utf8_stream in -luna" >&5 33456$as_echo_n "checking for libuna_utf16_string_size_from_utf8_stream in -luna... " >&6; } 33457if ${ac_cv_lib_una_libuna_utf16_string_size_from_utf8_stream+:} false; then : 33458 $as_echo_n "(cached) " >&6 33459else 33460 ac_check_lib_save_LIBS=$LIBS 33461LIBS="-luna $LIBS" 33462cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33463/* end confdefs.h. */ 33464 33465/* Override any GCC internal prototype to avoid an error. 33466 Use char because int might match the return type of a GCC 33467 builtin and then its argument prototype would still apply. */ 33468#ifdef __cplusplus 33469extern "C" 33470#endif 33471char libuna_utf16_string_size_from_utf8_stream (); 33472int 33473main () 33474{ 33475return libuna_utf16_string_size_from_utf8_stream (); 33476 ; 33477 return 0; 33478} 33479_ACEOF 33480if ac_fn_c_try_link "$LINENO"; then : 33481 ac_cv_lib_una_libuna_utf16_string_size_from_utf8_stream=yes 33482else 33483 ac_cv_lib_una_libuna_utf16_string_size_from_utf8_stream=no 33484fi 33485rm -f core conftest.err conftest.$ac_objext \ 33486 conftest$ac_exeext conftest.$ac_ext 33487LIBS=$ac_check_lib_save_LIBS 33488fi 33489{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_utf8_stream" >&5 33490$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_utf8_stream" >&6; } 33491if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_utf8_stream" = xyes; then : 33492 ac_cv_libuna_dummy=yes 33493else 33494 ac_cv_libuna=no 33495fi 33496 33497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_utf8_stream in -luna" >&5 33498$as_echo_n "checking for libuna_utf16_string_copy_from_utf8_stream in -luna... " >&6; } 33499if ${ac_cv_lib_una_libuna_utf16_string_copy_from_utf8_stream+:} false; then : 33500 $as_echo_n "(cached) " >&6 33501else 33502 ac_check_lib_save_LIBS=$LIBS 33503LIBS="-luna $LIBS" 33504cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33505/* end confdefs.h. */ 33506 33507/* Override any GCC internal prototype to avoid an error. 33508 Use char because int might match the return type of a GCC 33509 builtin and then its argument prototype would still apply. */ 33510#ifdef __cplusplus 33511extern "C" 33512#endif 33513char libuna_utf16_string_copy_from_utf8_stream (); 33514int 33515main () 33516{ 33517return libuna_utf16_string_copy_from_utf8_stream (); 33518 ; 33519 return 0; 33520} 33521_ACEOF 33522if ac_fn_c_try_link "$LINENO"; then : 33523 ac_cv_lib_una_libuna_utf16_string_copy_from_utf8_stream=yes 33524else 33525 ac_cv_lib_una_libuna_utf16_string_copy_from_utf8_stream=no 33526fi 33527rm -f core conftest.err conftest.$ac_objext \ 33528 conftest$ac_exeext conftest.$ac_ext 33529LIBS=$ac_check_lib_save_LIBS 33530fi 33531{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_utf8_stream" >&5 33532$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_utf8_stream" >&6; } 33533if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_utf8_stream" = xyes; then : 33534 ac_cv_libuna_dummy=yes 33535else 33536 ac_cv_libuna=no 33537fi 33538 33539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_utf8_stream in -luna" >&5 33540$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_utf8_stream in -luna... " >&6; } 33541if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8_stream+:} false; then : 33542 $as_echo_n "(cached) " >&6 33543else 33544 ac_check_lib_save_LIBS=$LIBS 33545LIBS="-luna $LIBS" 33546cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33547/* end confdefs.h. */ 33548 33549/* Override any GCC internal prototype to avoid an error. 33550 Use char because int might match the return type of a GCC 33551 builtin and then its argument prototype would still apply. */ 33552#ifdef __cplusplus 33553extern "C" 33554#endif 33555char libuna_utf16_string_with_index_copy_from_utf8_stream (); 33556int 33557main () 33558{ 33559return libuna_utf16_string_with_index_copy_from_utf8_stream (); 33560 ; 33561 return 0; 33562} 33563_ACEOF 33564if ac_fn_c_try_link "$LINENO"; then : 33565 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8_stream=yes 33566else 33567 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8_stream=no 33568fi 33569rm -f core conftest.err conftest.$ac_objext \ 33570 conftest$ac_exeext conftest.$ac_ext 33571LIBS=$ac_check_lib_save_LIBS 33572fi 33573{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8_stream" >&5 33574$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8_stream" >&6; } 33575if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8_stream" = xyes; then : 33576 ac_cv_libuna_dummy=yes 33577else 33578 ac_cv_libuna=no 33579fi 33580 33581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_utf16_stream in -luna" >&5 33582$as_echo_n "checking for libuna_utf16_string_size_from_utf16_stream in -luna... " >&6; } 33583if ${ac_cv_lib_una_libuna_utf16_string_size_from_utf16_stream+:} false; then : 33584 $as_echo_n "(cached) " >&6 33585else 33586 ac_check_lib_save_LIBS=$LIBS 33587LIBS="-luna $LIBS" 33588cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33589/* end confdefs.h. */ 33590 33591/* Override any GCC internal prototype to avoid an error. 33592 Use char because int might match the return type of a GCC 33593 builtin and then its argument prototype would still apply. */ 33594#ifdef __cplusplus 33595extern "C" 33596#endif 33597char libuna_utf16_string_size_from_utf16_stream (); 33598int 33599main () 33600{ 33601return libuna_utf16_string_size_from_utf16_stream (); 33602 ; 33603 return 0; 33604} 33605_ACEOF 33606if ac_fn_c_try_link "$LINENO"; then : 33607 ac_cv_lib_una_libuna_utf16_string_size_from_utf16_stream=yes 33608else 33609 ac_cv_lib_una_libuna_utf16_string_size_from_utf16_stream=no 33610fi 33611rm -f core conftest.err conftest.$ac_objext \ 33612 conftest$ac_exeext conftest.$ac_ext 33613LIBS=$ac_check_lib_save_LIBS 33614fi 33615{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_utf16_stream" >&5 33616$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_utf16_stream" >&6; } 33617if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_utf16_stream" = xyes; then : 33618 ac_cv_libuna_dummy=yes 33619else 33620 ac_cv_libuna=no 33621fi 33622 33623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_utf16_stream in -luna" >&5 33624$as_echo_n "checking for libuna_utf16_string_copy_from_utf16_stream in -luna... " >&6; } 33625if ${ac_cv_lib_una_libuna_utf16_string_copy_from_utf16_stream+:} false; then : 33626 $as_echo_n "(cached) " >&6 33627else 33628 ac_check_lib_save_LIBS=$LIBS 33629LIBS="-luna $LIBS" 33630cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33631/* end confdefs.h. */ 33632 33633/* Override any GCC internal prototype to avoid an error. 33634 Use char because int might match the return type of a GCC 33635 builtin and then its argument prototype would still apply. */ 33636#ifdef __cplusplus 33637extern "C" 33638#endif 33639char libuna_utf16_string_copy_from_utf16_stream (); 33640int 33641main () 33642{ 33643return libuna_utf16_string_copy_from_utf16_stream (); 33644 ; 33645 return 0; 33646} 33647_ACEOF 33648if ac_fn_c_try_link "$LINENO"; then : 33649 ac_cv_lib_una_libuna_utf16_string_copy_from_utf16_stream=yes 33650else 33651 ac_cv_lib_una_libuna_utf16_string_copy_from_utf16_stream=no 33652fi 33653rm -f core conftest.err conftest.$ac_objext \ 33654 conftest$ac_exeext conftest.$ac_ext 33655LIBS=$ac_check_lib_save_LIBS 33656fi 33657{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_utf16_stream" >&5 33658$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_utf16_stream" >&6; } 33659if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_utf16_stream" = xyes; then : 33660 ac_cv_libuna_dummy=yes 33661else 33662 ac_cv_libuna=no 33663fi 33664 33665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_utf16_stream in -luna" >&5 33666$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_utf16_stream in -luna... " >&6; } 33667if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf16_stream+:} false; then : 33668 $as_echo_n "(cached) " >&6 33669else 33670 ac_check_lib_save_LIBS=$LIBS 33671LIBS="-luna $LIBS" 33672cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33673/* end confdefs.h. */ 33674 33675/* Override any GCC internal prototype to avoid an error. 33676 Use char because int might match the return type of a GCC 33677 builtin and then its argument prototype would still apply. */ 33678#ifdef __cplusplus 33679extern "C" 33680#endif 33681char libuna_utf16_string_with_index_copy_from_utf16_stream (); 33682int 33683main () 33684{ 33685return libuna_utf16_string_with_index_copy_from_utf16_stream (); 33686 ; 33687 return 0; 33688} 33689_ACEOF 33690if ac_fn_c_try_link "$LINENO"; then : 33691 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf16_stream=yes 33692else 33693 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf16_stream=no 33694fi 33695rm -f core conftest.err conftest.$ac_objext \ 33696 conftest$ac_exeext conftest.$ac_ext 33697LIBS=$ac_check_lib_save_LIBS 33698fi 33699{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf16_stream" >&5 33700$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf16_stream" >&6; } 33701if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf16_stream" = xyes; then : 33702 ac_cv_libuna_dummy=yes 33703else 33704 ac_cv_libuna=no 33705fi 33706 33707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_utf32_stream in -luna" >&5 33708$as_echo_n "checking for libuna_utf16_string_size_from_utf32_stream in -luna... " >&6; } 33709if ${ac_cv_lib_una_libuna_utf16_string_size_from_utf32_stream+:} false; then : 33710 $as_echo_n "(cached) " >&6 33711else 33712 ac_check_lib_save_LIBS=$LIBS 33713LIBS="-luna $LIBS" 33714cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33715/* end confdefs.h. */ 33716 33717/* Override any GCC internal prototype to avoid an error. 33718 Use char because int might match the return type of a GCC 33719 builtin and then its argument prototype would still apply. */ 33720#ifdef __cplusplus 33721extern "C" 33722#endif 33723char libuna_utf16_string_size_from_utf32_stream (); 33724int 33725main () 33726{ 33727return libuna_utf16_string_size_from_utf32_stream (); 33728 ; 33729 return 0; 33730} 33731_ACEOF 33732if ac_fn_c_try_link "$LINENO"; then : 33733 ac_cv_lib_una_libuna_utf16_string_size_from_utf32_stream=yes 33734else 33735 ac_cv_lib_una_libuna_utf16_string_size_from_utf32_stream=no 33736fi 33737rm -f core conftest.err conftest.$ac_objext \ 33738 conftest$ac_exeext conftest.$ac_ext 33739LIBS=$ac_check_lib_save_LIBS 33740fi 33741{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_utf32_stream" >&5 33742$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_utf32_stream" >&6; } 33743if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_utf32_stream" = xyes; then : 33744 ac_cv_libuna_dummy=yes 33745else 33746 ac_cv_libuna=no 33747fi 33748 33749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_utf32_stream in -luna" >&5 33750$as_echo_n "checking for libuna_utf16_string_copy_from_utf32_stream in -luna... " >&6; } 33751if ${ac_cv_lib_una_libuna_utf16_string_copy_from_utf32_stream+:} false; then : 33752 $as_echo_n "(cached) " >&6 33753else 33754 ac_check_lib_save_LIBS=$LIBS 33755LIBS="-luna $LIBS" 33756cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33757/* end confdefs.h. */ 33758 33759/* Override any GCC internal prototype to avoid an error. 33760 Use char because int might match the return type of a GCC 33761 builtin and then its argument prototype would still apply. */ 33762#ifdef __cplusplus 33763extern "C" 33764#endif 33765char libuna_utf16_string_copy_from_utf32_stream (); 33766int 33767main () 33768{ 33769return libuna_utf16_string_copy_from_utf32_stream (); 33770 ; 33771 return 0; 33772} 33773_ACEOF 33774if ac_fn_c_try_link "$LINENO"; then : 33775 ac_cv_lib_una_libuna_utf16_string_copy_from_utf32_stream=yes 33776else 33777 ac_cv_lib_una_libuna_utf16_string_copy_from_utf32_stream=no 33778fi 33779rm -f core conftest.err conftest.$ac_objext \ 33780 conftest$ac_exeext conftest.$ac_ext 33781LIBS=$ac_check_lib_save_LIBS 33782fi 33783{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_utf32_stream" >&5 33784$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_utf32_stream" >&6; } 33785if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_utf32_stream" = xyes; then : 33786 ac_cv_libuna_dummy=yes 33787else 33788 ac_cv_libuna=no 33789fi 33790 33791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_utf32_stream in -luna" >&5 33792$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_utf32_stream in -luna... " >&6; } 33793if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32_stream+:} false; then : 33794 $as_echo_n "(cached) " >&6 33795else 33796 ac_check_lib_save_LIBS=$LIBS 33797LIBS="-luna $LIBS" 33798cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33799/* end confdefs.h. */ 33800 33801/* Override any GCC internal prototype to avoid an error. 33802 Use char because int might match the return type of a GCC 33803 builtin and then its argument prototype would still apply. */ 33804#ifdef __cplusplus 33805extern "C" 33806#endif 33807char libuna_utf16_string_with_index_copy_from_utf32_stream (); 33808int 33809main () 33810{ 33811return libuna_utf16_string_with_index_copy_from_utf32_stream (); 33812 ; 33813 return 0; 33814} 33815_ACEOF 33816if ac_fn_c_try_link "$LINENO"; then : 33817 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32_stream=yes 33818else 33819 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32_stream=no 33820fi 33821rm -f core conftest.err conftest.$ac_objext \ 33822 conftest$ac_exeext conftest.$ac_ext 33823LIBS=$ac_check_lib_save_LIBS 33824fi 33825{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32_stream" >&5 33826$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32_stream" >&6; } 33827if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32_stream" = xyes; then : 33828 ac_cv_libuna_dummy=yes 33829else 33830 ac_cv_libuna=no 33831fi 33832 33833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_utf8 in -luna" >&5 33834$as_echo_n "checking for libuna_utf16_string_size_from_utf8 in -luna... " >&6; } 33835if ${ac_cv_lib_una_libuna_utf16_string_size_from_utf8+:} false; then : 33836 $as_echo_n "(cached) " >&6 33837else 33838 ac_check_lib_save_LIBS=$LIBS 33839LIBS="-luna $LIBS" 33840cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33841/* end confdefs.h. */ 33842 33843/* Override any GCC internal prototype to avoid an error. 33844 Use char because int might match the return type of a GCC 33845 builtin and then its argument prototype would still apply. */ 33846#ifdef __cplusplus 33847extern "C" 33848#endif 33849char libuna_utf16_string_size_from_utf8 (); 33850int 33851main () 33852{ 33853return libuna_utf16_string_size_from_utf8 (); 33854 ; 33855 return 0; 33856} 33857_ACEOF 33858if ac_fn_c_try_link "$LINENO"; then : 33859 ac_cv_lib_una_libuna_utf16_string_size_from_utf8=yes 33860else 33861 ac_cv_lib_una_libuna_utf16_string_size_from_utf8=no 33862fi 33863rm -f core conftest.err conftest.$ac_objext \ 33864 conftest$ac_exeext conftest.$ac_ext 33865LIBS=$ac_check_lib_save_LIBS 33866fi 33867{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_utf8" >&5 33868$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_utf8" >&6; } 33869if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_utf8" = xyes; then : 33870 ac_cv_libuna_dummy=yes 33871else 33872 ac_cv_libuna=no 33873fi 33874 33875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_utf8 in -luna" >&5 33876$as_echo_n "checking for libuna_utf16_string_copy_from_utf8 in -luna... " >&6; } 33877if ${ac_cv_lib_una_libuna_utf16_string_copy_from_utf8+:} false; then : 33878 $as_echo_n "(cached) " >&6 33879else 33880 ac_check_lib_save_LIBS=$LIBS 33881LIBS="-luna $LIBS" 33882cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33883/* end confdefs.h. */ 33884 33885/* Override any GCC internal prototype to avoid an error. 33886 Use char because int might match the return type of a GCC 33887 builtin and then its argument prototype would still apply. */ 33888#ifdef __cplusplus 33889extern "C" 33890#endif 33891char libuna_utf16_string_copy_from_utf8 (); 33892int 33893main () 33894{ 33895return libuna_utf16_string_copy_from_utf8 (); 33896 ; 33897 return 0; 33898} 33899_ACEOF 33900if ac_fn_c_try_link "$LINENO"; then : 33901 ac_cv_lib_una_libuna_utf16_string_copy_from_utf8=yes 33902else 33903 ac_cv_lib_una_libuna_utf16_string_copy_from_utf8=no 33904fi 33905rm -f core conftest.err conftest.$ac_objext \ 33906 conftest$ac_exeext conftest.$ac_ext 33907LIBS=$ac_check_lib_save_LIBS 33908fi 33909{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_utf8" >&5 33910$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_utf8" >&6; } 33911if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_utf8" = xyes; then : 33912 ac_cv_libuna_dummy=yes 33913else 33914 ac_cv_libuna=no 33915fi 33916 33917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_utf8 in -luna" >&5 33918$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_utf8 in -luna... " >&6; } 33919if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8+:} false; then : 33920 $as_echo_n "(cached) " >&6 33921else 33922 ac_check_lib_save_LIBS=$LIBS 33923LIBS="-luna $LIBS" 33924cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33925/* end confdefs.h. */ 33926 33927/* Override any GCC internal prototype to avoid an error. 33928 Use char because int might match the return type of a GCC 33929 builtin and then its argument prototype would still apply. */ 33930#ifdef __cplusplus 33931extern "C" 33932#endif 33933char libuna_utf16_string_with_index_copy_from_utf8 (); 33934int 33935main () 33936{ 33937return libuna_utf16_string_with_index_copy_from_utf8 (); 33938 ; 33939 return 0; 33940} 33941_ACEOF 33942if ac_fn_c_try_link "$LINENO"; then : 33943 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8=yes 33944else 33945 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8=no 33946fi 33947rm -f core conftest.err conftest.$ac_objext \ 33948 conftest$ac_exeext conftest.$ac_ext 33949LIBS=$ac_check_lib_save_LIBS 33950fi 33951{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8" >&5 33952$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8" >&6; } 33953if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8" = xyes; then : 33954 ac_cv_libuna_dummy=yes 33955else 33956 ac_cv_libuna=no 33957fi 33958 33959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_utf32 in -luna" >&5 33960$as_echo_n "checking for libuna_utf16_string_size_from_utf32 in -luna... " >&6; } 33961if ${ac_cv_lib_una_libuna_utf16_string_size_from_utf32+:} false; then : 33962 $as_echo_n "(cached) " >&6 33963else 33964 ac_check_lib_save_LIBS=$LIBS 33965LIBS="-luna $LIBS" 33966cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33967/* end confdefs.h. */ 33968 33969/* Override any GCC internal prototype to avoid an error. 33970 Use char because int might match the return type of a GCC 33971 builtin and then its argument prototype would still apply. */ 33972#ifdef __cplusplus 33973extern "C" 33974#endif 33975char libuna_utf16_string_size_from_utf32 (); 33976int 33977main () 33978{ 33979return libuna_utf16_string_size_from_utf32 (); 33980 ; 33981 return 0; 33982} 33983_ACEOF 33984if ac_fn_c_try_link "$LINENO"; then : 33985 ac_cv_lib_una_libuna_utf16_string_size_from_utf32=yes 33986else 33987 ac_cv_lib_una_libuna_utf16_string_size_from_utf32=no 33988fi 33989rm -f core conftest.err conftest.$ac_objext \ 33990 conftest$ac_exeext conftest.$ac_ext 33991LIBS=$ac_check_lib_save_LIBS 33992fi 33993{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_utf32" >&5 33994$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_utf32" >&6; } 33995if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_utf32" = xyes; then : 33996 ac_cv_libuna_dummy=yes 33997else 33998 ac_cv_libuna=no 33999fi 34000 34001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_utf32 in -luna" >&5 34002$as_echo_n "checking for libuna_utf16_string_copy_from_utf32 in -luna... " >&6; } 34003if ${ac_cv_lib_una_libuna_utf16_string_copy_from_utf32+:} false; then : 34004 $as_echo_n "(cached) " >&6 34005else 34006 ac_check_lib_save_LIBS=$LIBS 34007LIBS="-luna $LIBS" 34008cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34009/* end confdefs.h. */ 34010 34011/* Override any GCC internal prototype to avoid an error. 34012 Use char because int might match the return type of a GCC 34013 builtin and then its argument prototype would still apply. */ 34014#ifdef __cplusplus 34015extern "C" 34016#endif 34017char libuna_utf16_string_copy_from_utf32 (); 34018int 34019main () 34020{ 34021return libuna_utf16_string_copy_from_utf32 (); 34022 ; 34023 return 0; 34024} 34025_ACEOF 34026if ac_fn_c_try_link "$LINENO"; then : 34027 ac_cv_lib_una_libuna_utf16_string_copy_from_utf32=yes 34028else 34029 ac_cv_lib_una_libuna_utf16_string_copy_from_utf32=no 34030fi 34031rm -f core conftest.err conftest.$ac_objext \ 34032 conftest$ac_exeext conftest.$ac_ext 34033LIBS=$ac_check_lib_save_LIBS 34034fi 34035{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_utf32" >&5 34036$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_utf32" >&6; } 34037if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_utf32" = xyes; then : 34038 ac_cv_libuna_dummy=yes 34039else 34040 ac_cv_libuna=no 34041fi 34042 34043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_utf32 in -luna" >&5 34044$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_utf32 in -luna... " >&6; } 34045if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32+:} false; then : 34046 $as_echo_n "(cached) " >&6 34047else 34048 ac_check_lib_save_LIBS=$LIBS 34049LIBS="-luna $LIBS" 34050cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34051/* end confdefs.h. */ 34052 34053/* Override any GCC internal prototype to avoid an error. 34054 Use char because int might match the return type of a GCC 34055 builtin and then its argument prototype would still apply. */ 34056#ifdef __cplusplus 34057extern "C" 34058#endif 34059char libuna_utf16_string_with_index_copy_from_utf32 (); 34060int 34061main () 34062{ 34063return libuna_utf16_string_with_index_copy_from_utf32 (); 34064 ; 34065 return 0; 34066} 34067_ACEOF 34068if ac_fn_c_try_link "$LINENO"; then : 34069 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32=yes 34070else 34071 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32=no 34072fi 34073rm -f core conftest.err conftest.$ac_objext \ 34074 conftest$ac_exeext conftest.$ac_ext 34075LIBS=$ac_check_lib_save_LIBS 34076fi 34077{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32" >&5 34078$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32" >&6; } 34079if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32" = xyes; then : 34080 ac_cv_libuna_dummy=yes 34081else 34082 ac_cv_libuna=no 34083fi 34084 34085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_scsu_stream in -luna" >&5 34086$as_echo_n "checking for libuna_utf16_string_size_from_scsu_stream in -luna... " >&6; } 34087if ${ac_cv_lib_una_libuna_utf16_string_size_from_scsu_stream+:} false; then : 34088 $as_echo_n "(cached) " >&6 34089else 34090 ac_check_lib_save_LIBS=$LIBS 34091LIBS="-luna $LIBS" 34092cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34093/* end confdefs.h. */ 34094 34095/* Override any GCC internal prototype to avoid an error. 34096 Use char because int might match the return type of a GCC 34097 builtin and then its argument prototype would still apply. */ 34098#ifdef __cplusplus 34099extern "C" 34100#endif 34101char libuna_utf16_string_size_from_scsu_stream (); 34102int 34103main () 34104{ 34105return libuna_utf16_string_size_from_scsu_stream (); 34106 ; 34107 return 0; 34108} 34109_ACEOF 34110if ac_fn_c_try_link "$LINENO"; then : 34111 ac_cv_lib_una_libuna_utf16_string_size_from_scsu_stream=yes 34112else 34113 ac_cv_lib_una_libuna_utf16_string_size_from_scsu_stream=no 34114fi 34115rm -f core conftest.err conftest.$ac_objext \ 34116 conftest$ac_exeext conftest.$ac_ext 34117LIBS=$ac_check_lib_save_LIBS 34118fi 34119{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_scsu_stream" >&5 34120$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_scsu_stream" >&6; } 34121if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_scsu_stream" = xyes; then : 34122 ac_cv_libuna_dummy=yes 34123else 34124 ac_cv_libuna=no 34125fi 34126 34127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_scsu_stream in -luna" >&5 34128$as_echo_n "checking for libuna_utf16_string_copy_from_scsu_stream in -luna... " >&6; } 34129if ${ac_cv_lib_una_libuna_utf16_string_copy_from_scsu_stream+:} false; then : 34130 $as_echo_n "(cached) " >&6 34131else 34132 ac_check_lib_save_LIBS=$LIBS 34133LIBS="-luna $LIBS" 34134cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34135/* end confdefs.h. */ 34136 34137/* Override any GCC internal prototype to avoid an error. 34138 Use char because int might match the return type of a GCC 34139 builtin and then its argument prototype would still apply. */ 34140#ifdef __cplusplus 34141extern "C" 34142#endif 34143char libuna_utf16_string_copy_from_scsu_stream (); 34144int 34145main () 34146{ 34147return libuna_utf16_string_copy_from_scsu_stream (); 34148 ; 34149 return 0; 34150} 34151_ACEOF 34152if ac_fn_c_try_link "$LINENO"; then : 34153 ac_cv_lib_una_libuna_utf16_string_copy_from_scsu_stream=yes 34154else 34155 ac_cv_lib_una_libuna_utf16_string_copy_from_scsu_stream=no 34156fi 34157rm -f core conftest.err conftest.$ac_objext \ 34158 conftest$ac_exeext conftest.$ac_ext 34159LIBS=$ac_check_lib_save_LIBS 34160fi 34161{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_scsu_stream" >&5 34162$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_scsu_stream" >&6; } 34163if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_scsu_stream" = xyes; then : 34164 ac_cv_libuna_dummy=yes 34165else 34166 ac_cv_libuna=no 34167fi 34168 34169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_scsu_stream in -luna" >&5 34170$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_scsu_stream in -luna... " >&6; } 34171if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_scsu_stream+:} false; then : 34172 $as_echo_n "(cached) " >&6 34173else 34174 ac_check_lib_save_LIBS=$LIBS 34175LIBS="-luna $LIBS" 34176cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34177/* end confdefs.h. */ 34178 34179/* Override any GCC internal prototype to avoid an error. 34180 Use char because int might match the return type of a GCC 34181 builtin and then its argument prototype would still apply. */ 34182#ifdef __cplusplus 34183extern "C" 34184#endif 34185char libuna_utf16_string_with_index_copy_from_scsu_stream (); 34186int 34187main () 34188{ 34189return libuna_utf16_string_with_index_copy_from_scsu_stream (); 34190 ; 34191 return 0; 34192} 34193_ACEOF 34194if ac_fn_c_try_link "$LINENO"; then : 34195 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_scsu_stream=yes 34196else 34197 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_scsu_stream=no 34198fi 34199rm -f core conftest.err conftest.$ac_objext \ 34200 conftest$ac_exeext conftest.$ac_ext 34201LIBS=$ac_check_lib_save_LIBS 34202fi 34203{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_scsu_stream" >&5 34204$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_scsu_stream" >&6; } 34205if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_scsu_stream" = xyes; then : 34206 ac_cv_libuna_dummy=yes 34207else 34208 ac_cv_libuna=no 34209fi 34210 34211 34212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_byte_stream in -luna" >&5 34213$as_echo_n "checking for libuna_utf32_string_size_from_byte_stream in -luna... " >&6; } 34214if ${ac_cv_lib_una_libuna_utf32_string_size_from_byte_stream+:} false; then : 34215 $as_echo_n "(cached) " >&6 34216else 34217 ac_check_lib_save_LIBS=$LIBS 34218LIBS="-luna $LIBS" 34219cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34220/* end confdefs.h. */ 34221 34222/* Override any GCC internal prototype to avoid an error. 34223 Use char because int might match the return type of a GCC 34224 builtin and then its argument prototype would still apply. */ 34225#ifdef __cplusplus 34226extern "C" 34227#endif 34228char libuna_utf32_string_size_from_byte_stream (); 34229int 34230main () 34231{ 34232return libuna_utf32_string_size_from_byte_stream (); 34233 ; 34234 return 0; 34235} 34236_ACEOF 34237if ac_fn_c_try_link "$LINENO"; then : 34238 ac_cv_lib_una_libuna_utf32_string_size_from_byte_stream=yes 34239else 34240 ac_cv_lib_una_libuna_utf32_string_size_from_byte_stream=no 34241fi 34242rm -f core conftest.err conftest.$ac_objext \ 34243 conftest$ac_exeext conftest.$ac_ext 34244LIBS=$ac_check_lib_save_LIBS 34245fi 34246{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_byte_stream" >&5 34247$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_byte_stream" >&6; } 34248if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_byte_stream" = xyes; then : 34249 ac_cv_libuna_dummy=yes 34250else 34251 ac_cv_libuna=no 34252fi 34253 34254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_byte_stream in -luna" >&5 34255$as_echo_n "checking for libuna_utf32_string_copy_from_byte_stream in -luna... " >&6; } 34256if ${ac_cv_lib_una_libuna_utf32_string_copy_from_byte_stream+:} false; then : 34257 $as_echo_n "(cached) " >&6 34258else 34259 ac_check_lib_save_LIBS=$LIBS 34260LIBS="-luna $LIBS" 34261cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34262/* end confdefs.h. */ 34263 34264/* Override any GCC internal prototype to avoid an error. 34265 Use char because int might match the return type of a GCC 34266 builtin and then its argument prototype would still apply. */ 34267#ifdef __cplusplus 34268extern "C" 34269#endif 34270char libuna_utf32_string_copy_from_byte_stream (); 34271int 34272main () 34273{ 34274return libuna_utf32_string_copy_from_byte_stream (); 34275 ; 34276 return 0; 34277} 34278_ACEOF 34279if ac_fn_c_try_link "$LINENO"; then : 34280 ac_cv_lib_una_libuna_utf32_string_copy_from_byte_stream=yes 34281else 34282 ac_cv_lib_una_libuna_utf32_string_copy_from_byte_stream=no 34283fi 34284rm -f core conftest.err conftest.$ac_objext \ 34285 conftest$ac_exeext conftest.$ac_ext 34286LIBS=$ac_check_lib_save_LIBS 34287fi 34288{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_byte_stream" >&5 34289$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_byte_stream" >&6; } 34290if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_byte_stream" = xyes; then : 34291 ac_cv_libuna_dummy=yes 34292else 34293 ac_cv_libuna=no 34294fi 34295 34296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_with_index_copy_from_byte_stream in -luna" >&5 34297$as_echo_n "checking for libuna_utf32_string_with_index_copy_from_byte_stream in -luna... " >&6; } 34298if ${ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_byte_stream+:} false; then : 34299 $as_echo_n "(cached) " >&6 34300else 34301 ac_check_lib_save_LIBS=$LIBS 34302LIBS="-luna $LIBS" 34303cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34304/* end confdefs.h. */ 34305 34306/* Override any GCC internal prototype to avoid an error. 34307 Use char because int might match the return type of a GCC 34308 builtin and then its argument prototype would still apply. */ 34309#ifdef __cplusplus 34310extern "C" 34311#endif 34312char libuna_utf32_string_with_index_copy_from_byte_stream (); 34313int 34314main () 34315{ 34316return libuna_utf32_string_with_index_copy_from_byte_stream (); 34317 ; 34318 return 0; 34319} 34320_ACEOF 34321if ac_fn_c_try_link "$LINENO"; then : 34322 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_byte_stream=yes 34323else 34324 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_byte_stream=no 34325fi 34326rm -f core conftest.err conftest.$ac_objext \ 34327 conftest$ac_exeext conftest.$ac_ext 34328LIBS=$ac_check_lib_save_LIBS 34329fi 34330{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_byte_stream" >&5 34331$as_echo "$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_byte_stream" >&6; } 34332if test "x$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_byte_stream" = xyes; then : 34333 ac_cv_libuna_dummy=yes 34334else 34335 ac_cv_libuna=no 34336fi 34337 34338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_utf7_stream in -luna" >&5 34339$as_echo_n "checking for libuna_utf32_string_size_from_utf7_stream in -luna... " >&6; } 34340if ${ac_cv_lib_una_libuna_utf32_string_size_from_utf7_stream+:} false; then : 34341 $as_echo_n "(cached) " >&6 34342else 34343 ac_check_lib_save_LIBS=$LIBS 34344LIBS="-luna $LIBS" 34345cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34346/* end confdefs.h. */ 34347 34348/* Override any GCC internal prototype to avoid an error. 34349 Use char because int might match the return type of a GCC 34350 builtin and then its argument prototype would still apply. */ 34351#ifdef __cplusplus 34352extern "C" 34353#endif 34354char libuna_utf32_string_size_from_utf7_stream (); 34355int 34356main () 34357{ 34358return libuna_utf32_string_size_from_utf7_stream (); 34359 ; 34360 return 0; 34361} 34362_ACEOF 34363if ac_fn_c_try_link "$LINENO"; then : 34364 ac_cv_lib_una_libuna_utf32_string_size_from_utf7_stream=yes 34365else 34366 ac_cv_lib_una_libuna_utf32_string_size_from_utf7_stream=no 34367fi 34368rm -f core conftest.err conftest.$ac_objext \ 34369 conftest$ac_exeext conftest.$ac_ext 34370LIBS=$ac_check_lib_save_LIBS 34371fi 34372{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_utf7_stream" >&5 34373$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_utf7_stream" >&6; } 34374if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_utf7_stream" = xyes; then : 34375 ac_cv_libuna_dummy=yes 34376else 34377 ac_cv_libuna=no 34378fi 34379 34380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_utf7_stream in -luna" >&5 34381$as_echo_n "checking for libuna_utf32_string_copy_from_utf7_stream in -luna... " >&6; } 34382if ${ac_cv_lib_una_libuna_utf32_string_copy_from_utf7_stream+:} false; then : 34383 $as_echo_n "(cached) " >&6 34384else 34385 ac_check_lib_save_LIBS=$LIBS 34386LIBS="-luna $LIBS" 34387cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34388/* end confdefs.h. */ 34389 34390/* Override any GCC internal prototype to avoid an error. 34391 Use char because int might match the return type of a GCC 34392 builtin and then its argument prototype would still apply. */ 34393#ifdef __cplusplus 34394extern "C" 34395#endif 34396char libuna_utf32_string_copy_from_utf7_stream (); 34397int 34398main () 34399{ 34400return libuna_utf32_string_copy_from_utf7_stream (); 34401 ; 34402 return 0; 34403} 34404_ACEOF 34405if ac_fn_c_try_link "$LINENO"; then : 34406 ac_cv_lib_una_libuna_utf32_string_copy_from_utf7_stream=yes 34407else 34408 ac_cv_lib_una_libuna_utf32_string_copy_from_utf7_stream=no 34409fi 34410rm -f core conftest.err conftest.$ac_objext \ 34411 conftest$ac_exeext conftest.$ac_ext 34412LIBS=$ac_check_lib_save_LIBS 34413fi 34414{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_utf7_stream" >&5 34415$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_utf7_stream" >&6; } 34416if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_utf7_stream" = xyes; then : 34417 ac_cv_libuna_dummy=yes 34418else 34419 ac_cv_libuna=no 34420fi 34421 34422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_with_index_copy_from_utf7_stream in -luna" >&5 34423$as_echo_n "checking for libuna_utf32_string_with_index_copy_from_utf7_stream in -luna... " >&6; } 34424if ${ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf7_stream+:} false; then : 34425 $as_echo_n "(cached) " >&6 34426else 34427 ac_check_lib_save_LIBS=$LIBS 34428LIBS="-luna $LIBS" 34429cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34430/* end confdefs.h. */ 34431 34432/* Override any GCC internal prototype to avoid an error. 34433 Use char because int might match the return type of a GCC 34434 builtin and then its argument prototype would still apply. */ 34435#ifdef __cplusplus 34436extern "C" 34437#endif 34438char libuna_utf32_string_with_index_copy_from_utf7_stream (); 34439int 34440main () 34441{ 34442return libuna_utf32_string_with_index_copy_from_utf7_stream (); 34443 ; 34444 return 0; 34445} 34446_ACEOF 34447if ac_fn_c_try_link "$LINENO"; then : 34448 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf7_stream=yes 34449else 34450 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf7_stream=no 34451fi 34452rm -f core conftest.err conftest.$ac_objext \ 34453 conftest$ac_exeext conftest.$ac_ext 34454LIBS=$ac_check_lib_save_LIBS 34455fi 34456{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf7_stream" >&5 34457$as_echo "$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf7_stream" >&6; } 34458if test "x$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf7_stream" = xyes; then : 34459 ac_cv_libuna_dummy=yes 34460else 34461 ac_cv_libuna=no 34462fi 34463 34464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_utf8_stream in -luna" >&5 34465$as_echo_n "checking for libuna_utf32_string_size_from_utf8_stream in -luna... " >&6; } 34466if ${ac_cv_lib_una_libuna_utf32_string_size_from_utf8_stream+:} false; then : 34467 $as_echo_n "(cached) " >&6 34468else 34469 ac_check_lib_save_LIBS=$LIBS 34470LIBS="-luna $LIBS" 34471cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34472/* end confdefs.h. */ 34473 34474/* Override any GCC internal prototype to avoid an error. 34475 Use char because int might match the return type of a GCC 34476 builtin and then its argument prototype would still apply. */ 34477#ifdef __cplusplus 34478extern "C" 34479#endif 34480char libuna_utf32_string_size_from_utf8_stream (); 34481int 34482main () 34483{ 34484return libuna_utf32_string_size_from_utf8_stream (); 34485 ; 34486 return 0; 34487} 34488_ACEOF 34489if ac_fn_c_try_link "$LINENO"; then : 34490 ac_cv_lib_una_libuna_utf32_string_size_from_utf8_stream=yes 34491else 34492 ac_cv_lib_una_libuna_utf32_string_size_from_utf8_stream=no 34493fi 34494rm -f core conftest.err conftest.$ac_objext \ 34495 conftest$ac_exeext conftest.$ac_ext 34496LIBS=$ac_check_lib_save_LIBS 34497fi 34498{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_utf8_stream" >&5 34499$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_utf8_stream" >&6; } 34500if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_utf8_stream" = xyes; then : 34501 ac_cv_libuna_dummy=yes 34502else 34503 ac_cv_libuna=no 34504fi 34505 34506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_utf8_stream in -luna" >&5 34507$as_echo_n "checking for libuna_utf32_string_copy_from_utf8_stream in -luna... " >&6; } 34508if ${ac_cv_lib_una_libuna_utf32_string_copy_from_utf8_stream+:} false; then : 34509 $as_echo_n "(cached) " >&6 34510else 34511 ac_check_lib_save_LIBS=$LIBS 34512LIBS="-luna $LIBS" 34513cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34514/* end confdefs.h. */ 34515 34516/* Override any GCC internal prototype to avoid an error. 34517 Use char because int might match the return type of a GCC 34518 builtin and then its argument prototype would still apply. */ 34519#ifdef __cplusplus 34520extern "C" 34521#endif 34522char libuna_utf32_string_copy_from_utf8_stream (); 34523int 34524main () 34525{ 34526return libuna_utf32_string_copy_from_utf8_stream (); 34527 ; 34528 return 0; 34529} 34530_ACEOF 34531if ac_fn_c_try_link "$LINENO"; then : 34532 ac_cv_lib_una_libuna_utf32_string_copy_from_utf8_stream=yes 34533else 34534 ac_cv_lib_una_libuna_utf32_string_copy_from_utf8_stream=no 34535fi 34536rm -f core conftest.err conftest.$ac_objext \ 34537 conftest$ac_exeext conftest.$ac_ext 34538LIBS=$ac_check_lib_save_LIBS 34539fi 34540{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_utf8_stream" >&5 34541$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_utf8_stream" >&6; } 34542if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_utf8_stream" = xyes; then : 34543 ac_cv_libuna_dummy=yes 34544else 34545 ac_cv_libuna=no 34546fi 34547 34548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_with_index_copy_from_utf8_stream in -luna" >&5 34549$as_echo_n "checking for libuna_utf32_string_with_index_copy_from_utf8_stream in -luna... " >&6; } 34550if ${ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf8_stream+:} false; then : 34551 $as_echo_n "(cached) " >&6 34552else 34553 ac_check_lib_save_LIBS=$LIBS 34554LIBS="-luna $LIBS" 34555cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34556/* end confdefs.h. */ 34557 34558/* Override any GCC internal prototype to avoid an error. 34559 Use char because int might match the return type of a GCC 34560 builtin and then its argument prototype would still apply. */ 34561#ifdef __cplusplus 34562extern "C" 34563#endif 34564char libuna_utf32_string_with_index_copy_from_utf8_stream (); 34565int 34566main () 34567{ 34568return libuna_utf32_string_with_index_copy_from_utf8_stream (); 34569 ; 34570 return 0; 34571} 34572_ACEOF 34573if ac_fn_c_try_link "$LINENO"; then : 34574 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf8_stream=yes 34575else 34576 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf8_stream=no 34577fi 34578rm -f core conftest.err conftest.$ac_objext \ 34579 conftest$ac_exeext conftest.$ac_ext 34580LIBS=$ac_check_lib_save_LIBS 34581fi 34582{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf8_stream" >&5 34583$as_echo "$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf8_stream" >&6; } 34584if test "x$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf8_stream" = xyes; then : 34585 ac_cv_libuna_dummy=yes 34586else 34587 ac_cv_libuna=no 34588fi 34589 34590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_utf16_stream in -luna" >&5 34591$as_echo_n "checking for libuna_utf32_string_size_from_utf16_stream in -luna... " >&6; } 34592if ${ac_cv_lib_una_libuna_utf32_string_size_from_utf16_stream+:} false; then : 34593 $as_echo_n "(cached) " >&6 34594else 34595 ac_check_lib_save_LIBS=$LIBS 34596LIBS="-luna $LIBS" 34597cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34598/* end confdefs.h. */ 34599 34600/* Override any GCC internal prototype to avoid an error. 34601 Use char because int might match the return type of a GCC 34602 builtin and then its argument prototype would still apply. */ 34603#ifdef __cplusplus 34604extern "C" 34605#endif 34606char libuna_utf32_string_size_from_utf16_stream (); 34607int 34608main () 34609{ 34610return libuna_utf32_string_size_from_utf16_stream (); 34611 ; 34612 return 0; 34613} 34614_ACEOF 34615if ac_fn_c_try_link "$LINENO"; then : 34616 ac_cv_lib_una_libuna_utf32_string_size_from_utf16_stream=yes 34617else 34618 ac_cv_lib_una_libuna_utf32_string_size_from_utf16_stream=no 34619fi 34620rm -f core conftest.err conftest.$ac_objext \ 34621 conftest$ac_exeext conftest.$ac_ext 34622LIBS=$ac_check_lib_save_LIBS 34623fi 34624{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_utf16_stream" >&5 34625$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_utf16_stream" >&6; } 34626if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_utf16_stream" = xyes; then : 34627 ac_cv_libuna_dummy=yes 34628else 34629 ac_cv_libuna=no 34630fi 34631 34632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_utf16_stream in -luna" >&5 34633$as_echo_n "checking for libuna_utf32_string_copy_from_utf16_stream in -luna... " >&6; } 34634if ${ac_cv_lib_una_libuna_utf32_string_copy_from_utf16_stream+:} false; then : 34635 $as_echo_n "(cached) " >&6 34636else 34637 ac_check_lib_save_LIBS=$LIBS 34638LIBS="-luna $LIBS" 34639cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34640/* end confdefs.h. */ 34641 34642/* Override any GCC internal prototype to avoid an error. 34643 Use char because int might match the return type of a GCC 34644 builtin and then its argument prototype would still apply. */ 34645#ifdef __cplusplus 34646extern "C" 34647#endif 34648char libuna_utf32_string_copy_from_utf16_stream (); 34649int 34650main () 34651{ 34652return libuna_utf32_string_copy_from_utf16_stream (); 34653 ; 34654 return 0; 34655} 34656_ACEOF 34657if ac_fn_c_try_link "$LINENO"; then : 34658 ac_cv_lib_una_libuna_utf32_string_copy_from_utf16_stream=yes 34659else 34660 ac_cv_lib_una_libuna_utf32_string_copy_from_utf16_stream=no 34661fi 34662rm -f core conftest.err conftest.$ac_objext \ 34663 conftest$ac_exeext conftest.$ac_ext 34664LIBS=$ac_check_lib_save_LIBS 34665fi 34666{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_utf16_stream" >&5 34667$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_utf16_stream" >&6; } 34668if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_utf16_stream" = xyes; then : 34669 ac_cv_libuna_dummy=yes 34670else 34671 ac_cv_libuna=no 34672fi 34673 34674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_with_index_copy_from_utf16_stream in -luna" >&5 34675$as_echo_n "checking for libuna_utf32_string_with_index_copy_from_utf16_stream in -luna... " >&6; } 34676if ${ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16_stream+:} false; then : 34677 $as_echo_n "(cached) " >&6 34678else 34679 ac_check_lib_save_LIBS=$LIBS 34680LIBS="-luna $LIBS" 34681cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34682/* end confdefs.h. */ 34683 34684/* Override any GCC internal prototype to avoid an error. 34685 Use char because int might match the return type of a GCC 34686 builtin and then its argument prototype would still apply. */ 34687#ifdef __cplusplus 34688extern "C" 34689#endif 34690char libuna_utf32_string_with_index_copy_from_utf16_stream (); 34691int 34692main () 34693{ 34694return libuna_utf32_string_with_index_copy_from_utf16_stream (); 34695 ; 34696 return 0; 34697} 34698_ACEOF 34699if ac_fn_c_try_link "$LINENO"; then : 34700 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16_stream=yes 34701else 34702 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16_stream=no 34703fi 34704rm -f core conftest.err conftest.$ac_objext \ 34705 conftest$ac_exeext conftest.$ac_ext 34706LIBS=$ac_check_lib_save_LIBS 34707fi 34708{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16_stream" >&5 34709$as_echo "$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16_stream" >&6; } 34710if test "x$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16_stream" = xyes; then : 34711 ac_cv_libuna_dummy=yes 34712else 34713 ac_cv_libuna=no 34714fi 34715 34716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_utf32_stream in -luna" >&5 34717$as_echo_n "checking for libuna_utf32_string_size_from_utf32_stream in -luna... " >&6; } 34718if ${ac_cv_lib_una_libuna_utf32_string_size_from_utf32_stream+:} false; then : 34719 $as_echo_n "(cached) " >&6 34720else 34721 ac_check_lib_save_LIBS=$LIBS 34722LIBS="-luna $LIBS" 34723cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34724/* end confdefs.h. */ 34725 34726/* Override any GCC internal prototype to avoid an error. 34727 Use char because int might match the return type of a GCC 34728 builtin and then its argument prototype would still apply. */ 34729#ifdef __cplusplus 34730extern "C" 34731#endif 34732char libuna_utf32_string_size_from_utf32_stream (); 34733int 34734main () 34735{ 34736return libuna_utf32_string_size_from_utf32_stream (); 34737 ; 34738 return 0; 34739} 34740_ACEOF 34741if ac_fn_c_try_link "$LINENO"; then : 34742 ac_cv_lib_una_libuna_utf32_string_size_from_utf32_stream=yes 34743else 34744 ac_cv_lib_una_libuna_utf32_string_size_from_utf32_stream=no 34745fi 34746rm -f core conftest.err conftest.$ac_objext \ 34747 conftest$ac_exeext conftest.$ac_ext 34748LIBS=$ac_check_lib_save_LIBS 34749fi 34750{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_utf32_stream" >&5 34751$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_utf32_stream" >&6; } 34752if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_utf32_stream" = xyes; then : 34753 ac_cv_libuna_dummy=yes 34754else 34755 ac_cv_libuna=no 34756fi 34757 34758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_utf32_stream in -luna" >&5 34759$as_echo_n "checking for libuna_utf32_string_copy_from_utf32_stream in -luna... " >&6; } 34760if ${ac_cv_lib_una_libuna_utf32_string_copy_from_utf32_stream+:} false; then : 34761 $as_echo_n "(cached) " >&6 34762else 34763 ac_check_lib_save_LIBS=$LIBS 34764LIBS="-luna $LIBS" 34765cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34766/* end confdefs.h. */ 34767 34768/* Override any GCC internal prototype to avoid an error. 34769 Use char because int might match the return type of a GCC 34770 builtin and then its argument prototype would still apply. */ 34771#ifdef __cplusplus 34772extern "C" 34773#endif 34774char libuna_utf32_string_copy_from_utf32_stream (); 34775int 34776main () 34777{ 34778return libuna_utf32_string_copy_from_utf32_stream (); 34779 ; 34780 return 0; 34781} 34782_ACEOF 34783if ac_fn_c_try_link "$LINENO"; then : 34784 ac_cv_lib_una_libuna_utf32_string_copy_from_utf32_stream=yes 34785else 34786 ac_cv_lib_una_libuna_utf32_string_copy_from_utf32_stream=no 34787fi 34788rm -f core conftest.err conftest.$ac_objext \ 34789 conftest$ac_exeext conftest.$ac_ext 34790LIBS=$ac_check_lib_save_LIBS 34791fi 34792{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_utf32_stream" >&5 34793$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_utf32_stream" >&6; } 34794if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_utf32_stream" = xyes; then : 34795 ac_cv_libuna_dummy=yes 34796else 34797 ac_cv_libuna=no 34798fi 34799 34800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_with_index_copy_from_utf32_stream in -luna" >&5 34801$as_echo_n "checking for libuna_utf32_string_with_index_copy_from_utf32_stream in -luna... " >&6; } 34802if ${ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf32_stream+:} false; then : 34803 $as_echo_n "(cached) " >&6 34804else 34805 ac_check_lib_save_LIBS=$LIBS 34806LIBS="-luna $LIBS" 34807cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34808/* end confdefs.h. */ 34809 34810/* Override any GCC internal prototype to avoid an error. 34811 Use char because int might match the return type of a GCC 34812 builtin and then its argument prototype would still apply. */ 34813#ifdef __cplusplus 34814extern "C" 34815#endif 34816char libuna_utf32_string_with_index_copy_from_utf32_stream (); 34817int 34818main () 34819{ 34820return libuna_utf32_string_with_index_copy_from_utf32_stream (); 34821 ; 34822 return 0; 34823} 34824_ACEOF 34825if ac_fn_c_try_link "$LINENO"; then : 34826 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf32_stream=yes 34827else 34828 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf32_stream=no 34829fi 34830rm -f core conftest.err conftest.$ac_objext \ 34831 conftest$ac_exeext conftest.$ac_ext 34832LIBS=$ac_check_lib_save_LIBS 34833fi 34834{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf32_stream" >&5 34835$as_echo "$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf32_stream" >&6; } 34836if test "x$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf32_stream" = xyes; then : 34837 ac_cv_libuna_dummy=yes 34838else 34839 ac_cv_libuna=no 34840fi 34841 34842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_utf8 in -luna" >&5 34843$as_echo_n "checking for libuna_utf32_string_size_from_utf8 in -luna... " >&6; } 34844if ${ac_cv_lib_una_libuna_utf32_string_size_from_utf8+:} false; then : 34845 $as_echo_n "(cached) " >&6 34846else 34847 ac_check_lib_save_LIBS=$LIBS 34848LIBS="-luna $LIBS" 34849cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34850/* end confdefs.h. */ 34851 34852/* Override any GCC internal prototype to avoid an error. 34853 Use char because int might match the return type of a GCC 34854 builtin and then its argument prototype would still apply. */ 34855#ifdef __cplusplus 34856extern "C" 34857#endif 34858char libuna_utf32_string_size_from_utf8 (); 34859int 34860main () 34861{ 34862return libuna_utf32_string_size_from_utf8 (); 34863 ; 34864 return 0; 34865} 34866_ACEOF 34867if ac_fn_c_try_link "$LINENO"; then : 34868 ac_cv_lib_una_libuna_utf32_string_size_from_utf8=yes 34869else 34870 ac_cv_lib_una_libuna_utf32_string_size_from_utf8=no 34871fi 34872rm -f core conftest.err conftest.$ac_objext \ 34873 conftest$ac_exeext conftest.$ac_ext 34874LIBS=$ac_check_lib_save_LIBS 34875fi 34876{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_utf8" >&5 34877$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_utf8" >&6; } 34878if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_utf8" = xyes; then : 34879 ac_cv_libuna_dummy=yes 34880else 34881 ac_cv_libuna=no 34882fi 34883 34884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_utf8 in -luna" >&5 34885$as_echo_n "checking for libuna_utf32_string_copy_from_utf8 in -luna... " >&6; } 34886if ${ac_cv_lib_una_libuna_utf32_string_copy_from_utf8+:} false; then : 34887 $as_echo_n "(cached) " >&6 34888else 34889 ac_check_lib_save_LIBS=$LIBS 34890LIBS="-luna $LIBS" 34891cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34892/* end confdefs.h. */ 34893 34894/* Override any GCC internal prototype to avoid an error. 34895 Use char because int might match the return type of a GCC 34896 builtin and then its argument prototype would still apply. */ 34897#ifdef __cplusplus 34898extern "C" 34899#endif 34900char libuna_utf32_string_copy_from_utf8 (); 34901int 34902main () 34903{ 34904return libuna_utf32_string_copy_from_utf8 (); 34905 ; 34906 return 0; 34907} 34908_ACEOF 34909if ac_fn_c_try_link "$LINENO"; then : 34910 ac_cv_lib_una_libuna_utf32_string_copy_from_utf8=yes 34911else 34912 ac_cv_lib_una_libuna_utf32_string_copy_from_utf8=no 34913fi 34914rm -f core conftest.err conftest.$ac_objext \ 34915 conftest$ac_exeext conftest.$ac_ext 34916LIBS=$ac_check_lib_save_LIBS 34917fi 34918{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_utf8" >&5 34919$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_utf8" >&6; } 34920if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_utf8" = xyes; then : 34921 ac_cv_libuna_dummy=yes 34922else 34923 ac_cv_libuna=no 34924fi 34925 34926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ac_cv_libuna_dummy=yes in -llibuna_utf32_string_with_index_copy_from_utf8" >&5 34927$as_echo_n "checking for ac_cv_libuna_dummy=yes in -llibuna_utf32_string_with_index_copy_from_utf8... " >&6; } 34928if ${ac_cv_lib_libuna_utf32_string_with_index_copy_from_utf8_ac_cv_libuna_dummy_yes+:} false; then : 34929 $as_echo_n "(cached) " >&6 34930else 34931 ac_check_lib_save_LIBS=$LIBS 34932LIBS="-llibuna_utf32_string_with_index_copy_from_utf8 $LIBS" 34933cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34934/* end confdefs.h. */ 34935 34936/* Override any GCC internal prototype to avoid an error. 34937 Use char because int might match the return type of a GCC 34938 builtin and then its argument prototype would still apply. */ 34939#ifdef __cplusplus 34940extern "C" 34941#endif 34942char ac_cv_libuna_dummy=yes (); 34943int 34944main () 34945{ 34946return ac_cv_libuna_dummy=yes (); 34947 ; 34948 return 0; 34949} 34950_ACEOF 34951if ac_fn_c_try_link "$LINENO"; then : 34952 ac_cv_lib_libuna_utf32_string_with_index_copy_from_utf8_ac_cv_libuna_dummy_yes=yes 34953else 34954 ac_cv_lib_libuna_utf32_string_with_index_copy_from_utf8_ac_cv_libuna_dummy_yes=no 34955fi 34956rm -f core conftest.err conftest.$ac_objext \ 34957 conftest$ac_exeext conftest.$ac_ext 34958LIBS=$ac_check_lib_save_LIBS 34959fi 34960{ $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 34961$as_echo "$ac_cv_lib_libuna_utf32_string_with_index_copy_from_utf8_ac_cv_libuna_dummy_yes" >&6; } 34962if test "x$ac_cv_lib_libuna_utf32_string_with_index_copy_from_utf8_ac_cv_libuna_dummy_yes" = xyes; then : 34963 ac_cv_libuna=no 34964fi 34965 34966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_utf16 in -luna" >&5 34967$as_echo_n "checking for libuna_utf32_string_size_from_utf16 in -luna... " >&6; } 34968if ${ac_cv_lib_una_libuna_utf32_string_size_from_utf16+:} false; then : 34969 $as_echo_n "(cached) " >&6 34970else 34971 ac_check_lib_save_LIBS=$LIBS 34972LIBS="-luna $LIBS" 34973cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34974/* end confdefs.h. */ 34975 34976/* Override any GCC internal prototype to avoid an error. 34977 Use char because int might match the return type of a GCC 34978 builtin and then its argument prototype would still apply. */ 34979#ifdef __cplusplus 34980extern "C" 34981#endif 34982char libuna_utf32_string_size_from_utf16 (); 34983int 34984main () 34985{ 34986return libuna_utf32_string_size_from_utf16 (); 34987 ; 34988 return 0; 34989} 34990_ACEOF 34991if ac_fn_c_try_link "$LINENO"; then : 34992 ac_cv_lib_una_libuna_utf32_string_size_from_utf16=yes 34993else 34994 ac_cv_lib_una_libuna_utf32_string_size_from_utf16=no 34995fi 34996rm -f core conftest.err conftest.$ac_objext \ 34997 conftest$ac_exeext conftest.$ac_ext 34998LIBS=$ac_check_lib_save_LIBS 34999fi 35000{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_utf16" >&5 35001$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_utf16" >&6; } 35002if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_utf16" = xyes; then : 35003 ac_cv_libuna_dummy=yes 35004else 35005 ac_cv_libuna=no 35006fi 35007 35008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_utf16 in -luna" >&5 35009$as_echo_n "checking for libuna_utf32_string_copy_from_utf16 in -luna... " >&6; } 35010if ${ac_cv_lib_una_libuna_utf32_string_copy_from_utf16+:} false; then : 35011 $as_echo_n "(cached) " >&6 35012else 35013 ac_check_lib_save_LIBS=$LIBS 35014LIBS="-luna $LIBS" 35015cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35016/* end confdefs.h. */ 35017 35018/* Override any GCC internal prototype to avoid an error. 35019 Use char because int might match the return type of a GCC 35020 builtin and then its argument prototype would still apply. */ 35021#ifdef __cplusplus 35022extern "C" 35023#endif 35024char libuna_utf32_string_copy_from_utf16 (); 35025int 35026main () 35027{ 35028return libuna_utf32_string_copy_from_utf16 (); 35029 ; 35030 return 0; 35031} 35032_ACEOF 35033if ac_fn_c_try_link "$LINENO"; then : 35034 ac_cv_lib_una_libuna_utf32_string_copy_from_utf16=yes 35035else 35036 ac_cv_lib_una_libuna_utf32_string_copy_from_utf16=no 35037fi 35038rm -f core conftest.err conftest.$ac_objext \ 35039 conftest$ac_exeext conftest.$ac_ext 35040LIBS=$ac_check_lib_save_LIBS 35041fi 35042{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_utf16" >&5 35043$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_utf16" >&6; } 35044if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_utf16" = xyes; then : 35045 ac_cv_libuna_dummy=yes 35046else 35047 ac_cv_libuna=no 35048fi 35049 35050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_with_index_copy_from_utf16 in -luna" >&5 35051$as_echo_n "checking for libuna_utf32_string_with_index_copy_from_utf16 in -luna... " >&6; } 35052if ${ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16+:} false; then : 35053 $as_echo_n "(cached) " >&6 35054else 35055 ac_check_lib_save_LIBS=$LIBS 35056LIBS="-luna $LIBS" 35057cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35058/* end confdefs.h. */ 35059 35060/* Override any GCC internal prototype to avoid an error. 35061 Use char because int might match the return type of a GCC 35062 builtin and then its argument prototype would still apply. */ 35063#ifdef __cplusplus 35064extern "C" 35065#endif 35066char libuna_utf32_string_with_index_copy_from_utf16 (); 35067int 35068main () 35069{ 35070return libuna_utf32_string_with_index_copy_from_utf16 (); 35071 ; 35072 return 0; 35073} 35074_ACEOF 35075if ac_fn_c_try_link "$LINENO"; then : 35076 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16=yes 35077else 35078 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16=no 35079fi 35080rm -f core conftest.err conftest.$ac_objext \ 35081 conftest$ac_exeext conftest.$ac_ext 35082LIBS=$ac_check_lib_save_LIBS 35083fi 35084{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16" >&5 35085$as_echo "$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16" >&6; } 35086if test "x$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16" = xyes; then : 35087 ac_cv_libuna_dummy=yes 35088else 35089 ac_cv_libuna=no 35090fi 35091 35092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_scsu_stream in -luna" >&5 35093$as_echo_n "checking for libuna_utf32_string_size_from_scsu_stream in -luna... " >&6; } 35094if ${ac_cv_lib_una_libuna_utf32_string_size_from_scsu_stream+:} false; then : 35095 $as_echo_n "(cached) " >&6 35096else 35097 ac_check_lib_save_LIBS=$LIBS 35098LIBS="-luna $LIBS" 35099cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35100/* end confdefs.h. */ 35101 35102/* Override any GCC internal prototype to avoid an error. 35103 Use char because int might match the return type of a GCC 35104 builtin and then its argument prototype would still apply. */ 35105#ifdef __cplusplus 35106extern "C" 35107#endif 35108char libuna_utf32_string_size_from_scsu_stream (); 35109int 35110main () 35111{ 35112return libuna_utf32_string_size_from_scsu_stream (); 35113 ; 35114 return 0; 35115} 35116_ACEOF 35117if ac_fn_c_try_link "$LINENO"; then : 35118 ac_cv_lib_una_libuna_utf32_string_size_from_scsu_stream=yes 35119else 35120 ac_cv_lib_una_libuna_utf32_string_size_from_scsu_stream=no 35121fi 35122rm -f core conftest.err conftest.$ac_objext \ 35123 conftest$ac_exeext conftest.$ac_ext 35124LIBS=$ac_check_lib_save_LIBS 35125fi 35126{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_scsu_stream" >&5 35127$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_scsu_stream" >&6; } 35128if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_scsu_stream" = xyes; then : 35129 ac_cv_libuna_dummy=yes 35130else 35131 ac_cv_libuna=no 35132fi 35133 35134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_scsu_stream in -luna" >&5 35135$as_echo_n "checking for libuna_utf32_string_copy_from_scsu_stream in -luna... " >&6; } 35136if ${ac_cv_lib_una_libuna_utf32_string_copy_from_scsu_stream+:} false; then : 35137 $as_echo_n "(cached) " >&6 35138else 35139 ac_check_lib_save_LIBS=$LIBS 35140LIBS="-luna $LIBS" 35141cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35142/* end confdefs.h. */ 35143 35144/* Override any GCC internal prototype to avoid an error. 35145 Use char because int might match the return type of a GCC 35146 builtin and then its argument prototype would still apply. */ 35147#ifdef __cplusplus 35148extern "C" 35149#endif 35150char libuna_utf32_string_copy_from_scsu_stream (); 35151int 35152main () 35153{ 35154return libuna_utf32_string_copy_from_scsu_stream (); 35155 ; 35156 return 0; 35157} 35158_ACEOF 35159if ac_fn_c_try_link "$LINENO"; then : 35160 ac_cv_lib_una_libuna_utf32_string_copy_from_scsu_stream=yes 35161else 35162 ac_cv_lib_una_libuna_utf32_string_copy_from_scsu_stream=no 35163fi 35164rm -f core conftest.err conftest.$ac_objext \ 35165 conftest$ac_exeext conftest.$ac_ext 35166LIBS=$ac_check_lib_save_LIBS 35167fi 35168{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_scsu_stream" >&5 35169$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_scsu_stream" >&6; } 35170if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_scsu_stream" = xyes; then : 35171 ac_cv_libuna_dummy=yes 35172else 35173 ac_cv_libuna=no 35174fi 35175 35176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_with_index_copy_from_scsu_stream in -luna" >&5 35177$as_echo_n "checking for libuna_utf32_string_with_index_copy_from_scsu_stream in -luna... " >&6; } 35178if ${ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_scsu_stream+:} false; then : 35179 $as_echo_n "(cached) " >&6 35180else 35181 ac_check_lib_save_LIBS=$LIBS 35182LIBS="-luna $LIBS" 35183cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35184/* end confdefs.h. */ 35185 35186/* Override any GCC internal prototype to avoid an error. 35187 Use char because int might match the return type of a GCC 35188 builtin and then its argument prototype would still apply. */ 35189#ifdef __cplusplus 35190extern "C" 35191#endif 35192char libuna_utf32_string_with_index_copy_from_scsu_stream (); 35193int 35194main () 35195{ 35196return libuna_utf32_string_with_index_copy_from_scsu_stream (); 35197 ; 35198 return 0; 35199} 35200_ACEOF 35201if ac_fn_c_try_link "$LINENO"; then : 35202 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_scsu_stream=yes 35203else 35204 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_scsu_stream=no 35205fi 35206rm -f core conftest.err conftest.$ac_objext \ 35207 conftest$ac_exeext conftest.$ac_ext 35208LIBS=$ac_check_lib_save_LIBS 35209fi 35210{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_scsu_stream" >&5 35211$as_echo "$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_scsu_stream" >&6; } 35212if test "x$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_scsu_stream" = xyes; then : 35213 ac_cv_libuna_dummy=yes 35214else 35215 ac_cv_libuna=no 35216fi 35217 35218 35219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if \`LIBUNA_COMPARE_LESS' is defined" >&5 35220$as_echo_n "checking if \`LIBUNA_COMPARE_LESS' is defined... " >&6; } 35221if ${ac_cv_libuna_defines_compare_less+:} false; then : 35222 $as_echo_n "(cached) " >&6 35223else 35224 ac_ext=c 35225ac_cpp='$CPP $CPPFLAGS' 35226ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 35227ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 35228ac_compiler_gnu=$ac_cv_c_compiler_gnu 35229 35230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35231/* end confdefs.h. */ 35232#include <libuna.h> 35233int 35234main () 35235{ 35236int test = LIBUNA_COMPARE_LESS; 35237 35238return( 0 ); 35239 ; 35240 return 0; 35241} 35242_ACEOF 35243if ac_fn_c_try_link "$LINENO"; then : 35244 ac_cv_libuna_defines_compare_less=yes 35245else 35246 ac_cv_libuna_defines_compare_less=no 35247fi 35248rm -f core conftest.err conftest.$ac_objext \ 35249 conftest$ac_exeext conftest.$ac_ext 35250 ac_ext=c 35251ac_cpp='$CPP $CPPFLAGS' 35252ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 35253ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 35254ac_compiler_gnu=$ac_cv_c_compiler_gnu 35255 35256fi 35257{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libuna_defines_compare_less" >&5 35258$as_echo "$ac_cv_libuna_defines_compare_less" >&6; } 35259 35260 if test "x$ac_cv_libuna_defines_compare_less" != xyes; then : 35261 ac_cv_libuna=no 35262fi 35263 35264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if \`LIBUNA_COMPARE_EQUAL' is defined" >&5 35265$as_echo_n "checking if \`LIBUNA_COMPARE_EQUAL' is defined... " >&6; } 35266if ${ac_cv_libuna_defines_compare_equal+:} false; then : 35267 $as_echo_n "(cached) " >&6 35268else 35269 ac_ext=c 35270ac_cpp='$CPP $CPPFLAGS' 35271ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 35272ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 35273ac_compiler_gnu=$ac_cv_c_compiler_gnu 35274 35275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35276/* end confdefs.h. */ 35277#include <libuna.h> 35278int 35279main () 35280{ 35281int test = LIBUNA_COMPARE_EQUAL; 35282 35283return( 0 ); 35284 ; 35285 return 0; 35286} 35287_ACEOF 35288if ac_fn_c_try_link "$LINENO"; then : 35289 ac_cv_libuna_defines_compare_equal=yes 35290else 35291 ac_cv_libuna_defines_compare_equal=no 35292fi 35293rm -f core conftest.err conftest.$ac_objext \ 35294 conftest$ac_exeext conftest.$ac_ext 35295 ac_ext=c 35296ac_cpp='$CPP $CPPFLAGS' 35297ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 35298ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 35299ac_compiler_gnu=$ac_cv_c_compiler_gnu 35300 35301fi 35302{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libuna_defines_compare_equal" >&5 35303$as_echo "$ac_cv_libuna_defines_compare_equal" >&6; } 35304 35305 if test "x$ac_cv_libuna_defines_compare_less" != xyes; then : 35306 ac_cv_libuna=no 35307fi 35308 35309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if \`LIBUNA_COMPARE_GREATER' is defined" >&5 35310$as_echo_n "checking if \`LIBUNA_COMPARE_GREATER' is defined... " >&6; } 35311if ${ac_cv_libuna_defines_compare_greater+:} false; then : 35312 $as_echo_n "(cached) " >&6 35313else 35314 ac_ext=c 35315ac_cpp='$CPP $CPPFLAGS' 35316ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 35317ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 35318ac_compiler_gnu=$ac_cv_c_compiler_gnu 35319 35320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35321/* end confdefs.h. */ 35322#include <libuna.h> 35323int 35324main () 35325{ 35326int test = LIBUNA_COMPARE_GREATER; 35327 35328return( 0 ); 35329 ; 35330 return 0; 35331} 35332_ACEOF 35333if ac_fn_c_try_link "$LINENO"; then : 35334 ac_cv_libuna_defines_compare_greater=yes 35335else 35336 ac_cv_libuna_defines_compare_greater=no 35337fi 35338rm -f core conftest.err conftest.$ac_objext \ 35339 conftest$ac_exeext conftest.$ac_ext 35340 ac_ext=c 35341ac_cpp='$CPP $CPPFLAGS' 35342ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 35343ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 35344ac_compiler_gnu=$ac_cv_c_compiler_gnu 35345 35346fi 35347{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libuna_defines_compare_greater" >&5 35348$as_echo "$ac_cv_libuna_defines_compare_greater" >&6; } 35349 35350 if test "x$ac_cv_libuna_defines_compare_less" != xyes; then : 35351 ac_cv_libuna=no 35352fi 35353 35354 ac_cv_libuna_LIBADD="-luna" 35355fi 35356 35357fi 35358 if test "x$ac_cv_with_libuna" != x && test "x$ac_cv_with_libuna" != xauto-detect && test "x$ac_cv_libuna" != xyes; then : 35359 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 35360$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 35361as_fn_error 1 "unable to find supported libuna in directory: $ac_cv_with_libuna 35362See \`config.log' for more details" "$LINENO" 5; } 35363 35364fi 35365 35366fi 35367 35368 if test "x$ac_cv_libuna" = xyes; then : 35369 35370$as_echo "#define HAVE_LIBUNA 1" >>confdefs.h 35371 35372 35373fi 35374 35375 if test "x$ac_cv_libuna" = xyes; then : 35376 HAVE_LIBUNA=1 35377 35378else 35379 HAVE_LIBUNA=0 35380 35381 35382fi 35383 35384 35385 if test "x$ac_cv_libuna" != xyes; then : 35386 35387 ac_cv_libuna_CPPFLAGS="-I../libuna"; 35388 ac_cv_libuna_LIBADD="../libuna/libuna.la"; 35389 35390 ac_cv_libuna=local 35391 35392 35393 35394$as_echo "#define HAVE_LOCAL_LIBUNA 1" >>confdefs.h 35395 35396 HAVE_LOCAL_LIBUNA=1 35397 35398 35399fi 35400 35401 if test "x$ac_cv_libuna" = xlocal; then 35402 HAVE_LOCAL_LIBUNA_TRUE= 35403 HAVE_LOCAL_LIBUNA_FALSE='#' 35404else 35405 HAVE_LOCAL_LIBUNA_TRUE='#' 35406 HAVE_LOCAL_LIBUNA_FALSE= 35407fi 35408 35409 if test "x$ac_cv_libuna_CPPFLAGS" != "x"; then : 35410 LIBUNA_CPPFLAGS=$ac_cv_libuna_CPPFLAGS 35411 35412 35413fi 35414 if test "x$ac_cv_libuna_LIBADD" != "x"; then : 35415 LIBUNA_LIBADD=$ac_cv_libuna_LIBADD 35416 35417 35418fi 35419 35420 if test "x$ac_cv_libuna" = xyes; then : 35421 ax_libuna_pc_libs_private=-luna 35422 35423 35424fi 35425 35426 if test "x$ac_cv_libuna" = xyes; then : 35427 ax_libuna_spec_requires=libuna 35428 35429 ax_libuna_spec_build_requires=libuna-devel 35430 35431 35432fi 35433 35434 35435 35436 35437# Check whether --with-libcfile was given. 35438if test "${with_libcfile+set}" = set; then : 35439 withval=$with_libcfile; ac_cv_with_libcfile=$withval 35440else 35441 ac_cv_with_libcfile=auto-detect 35442fi 35443 35444 { $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 35445$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; } 35446if ${ac_cv_with_libcfile+:} false; then : 35447 $as_echo_n "(cached) " >&6 35448else 35449 ac_cv_with_libcfile=auto-detect 35450fi 35451{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libcfile" >&5 35452$as_echo "$ac_cv_with_libcfile" >&6; } 35453 35454 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libcfile" = xno; then : 35455 ac_cv_libcfile=no 35456else 35457 ac_cv_libcfile=check 35458 if test "x$ac_cv_with_libcfile" != x && test "x$ac_cv_with_libcfile" != xauto-detect; then : 35459 if test -d "$ac_cv_with_libcfile"; then : 35460 CFLAGS="$CFLAGS -I${ac_cv_with_libcfile}/include" 35461 LDFLAGS="$LDFLAGS -L${ac_cv_with_libcfile}/lib" 35462else 35463 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 35464$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 35465as_fn_error 1 "no such directory: $ac_cv_with_libcfile 35466See \`config.log' for more details" "$LINENO" 5; } 35467 35468fi 35469 35470else 35471 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 35472 35473pkg_failed=no 35474{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile" >&5 35475$as_echo_n "checking for libcfile... " >&6; } 35476 35477if test -n "$libcfile_CFLAGS"; then 35478 pkg_cv_libcfile_CFLAGS="$libcfile_CFLAGS" 35479 elif test -n "$PKG_CONFIG"; then 35480 if test -n "$PKG_CONFIG" && \ 35481 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcfile >= 20160409\""; } >&5 35482 ($PKG_CONFIG --exists --print-errors "libcfile >= 20160409") 2>&5 35483 ac_status=$? 35484 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 35485 test $ac_status = 0; }; then 35486 pkg_cv_libcfile_CFLAGS=`$PKG_CONFIG --cflags "libcfile >= 20160409" 2>/dev/null` 35487 test "x$?" != "x0" && pkg_failed=yes 35488else 35489 pkg_failed=yes 35490fi 35491 else 35492 pkg_failed=untried 35493fi 35494if test -n "$libcfile_LIBS"; then 35495 pkg_cv_libcfile_LIBS="$libcfile_LIBS" 35496 elif test -n "$PKG_CONFIG"; then 35497 if test -n "$PKG_CONFIG" && \ 35498 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcfile >= 20160409\""; } >&5 35499 ($PKG_CONFIG --exists --print-errors "libcfile >= 20160409") 2>&5 35500 ac_status=$? 35501 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 35502 test $ac_status = 0; }; then 35503 pkg_cv_libcfile_LIBS=`$PKG_CONFIG --libs "libcfile >= 20160409" 2>/dev/null` 35504 test "x$?" != "x0" && pkg_failed=yes 35505else 35506 pkg_failed=yes 35507fi 35508 else 35509 pkg_failed=untried 35510fi 35511 35512 35513 35514if test $pkg_failed = yes; then 35515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 35516$as_echo "no" >&6; } 35517 35518if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 35519 _pkg_short_errors_supported=yes 35520else 35521 _pkg_short_errors_supported=no 35522fi 35523 if test $_pkg_short_errors_supported = yes; then 35524 libcfile_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcfile >= 20160409" 2>&1` 35525 else 35526 libcfile_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcfile >= 20160409" 2>&1` 35527 fi 35528 # Put the nasty error message in config.log where it belongs 35529 echo "$libcfile_PKG_ERRORS" >&5 35530 35531 ac_cv_libcfile=check 35532elif test $pkg_failed = untried; then 35533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 35534$as_echo "no" >&6; } 35535 ac_cv_libcfile=check 35536else 35537 libcfile_CFLAGS=$pkg_cv_libcfile_CFLAGS 35538 libcfile_LIBS=$pkg_cv_libcfile_LIBS 35539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 35540$as_echo "yes" >&6; } 35541 ac_cv_libcfile=yes 35542fi 35543 35544fi 35545 if test "x$ac_cv_libcfile" = xyes && test "x$ac_cv_enable_wide_character_type" != xno; then : 35546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libcfile/features.h defines LIBCFILE_HAVE_WIDE_CHARACTER_TYPE as 1" >&5 35547$as_echo_n "checking whether libcfile/features.h defines LIBCFILE_HAVE_WIDE_CHARACTER_TYPE as 1... " >&6; } 35548if ${ac_cv_header_libcfile_features_h_have_wide_character_type+:} false; then : 35549 $as_echo_n "(cached) " >&6 35550else 35551 ac_ext=c 35552ac_cpp='$CPP $CPPFLAGS' 35553ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 35554ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 35555ac_compiler_gnu=$ac_cv_c_compiler_gnu 35556 35557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35558/* end confdefs.h. */ 35559#include <libcfile/features.h> 35560int 35561main () 35562{ 35563#if !defined( LIBCFILE_HAVE_WIDE_CHARACTER_TYPE ) || ( LIBCFILE_HAVE_WIDE_CHARACTER_TYPE != 1 ) 35564#error LIBCFILE_HAVE_WIDE_CHARACTER_TYPE not defined 35565#endif 35566 ; 35567 return 0; 35568} 35569_ACEOF 35570if ac_fn_c_try_compile "$LINENO"; then : 35571 ac_cv_header_libcfile_features_h_have_wide_character_type=yes 35572else 35573 ac_cv_header_libcfile_features_h_have_wide_character_type=no 35574fi 35575rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 35576 ac_ext=c 35577ac_cpp='$CPP $CPPFLAGS' 35578ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 35579ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 35580ac_compiler_gnu=$ac_cv_c_compiler_gnu 35581 35582fi 35583{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_libcfile_features_h_have_wide_character_type" >&5 35584$as_echo "$ac_cv_header_libcfile_features_h_have_wide_character_type" >&6; } 35585 35586 if test "x$ac_cv_header_libcfile_features_h_have_wide_character_type" = xno; then : 35587 ac_cv_libcfile=no 35588fi 35589 35590fi 35591 if test "x$ac_cv_libcfile" = xyes; then : 35592 ac_cv_libcfile_CPPFLAGS="$pkg_cv_libcfile_CFLAGS" 35593 ac_cv_libcfile_LIBADD="$pkg_cv_libcfile_LIBS" 35594fi 35595 35596fi 35597 35598 if test "x$ac_cv_libcfile" = xcheck; then : 35599 for ac_header in libcfile.h 35600do : 35601 ac_fn_c_check_header_mongrel "$LINENO" "libcfile.h" "ac_cv_header_libcfile_h" "$ac_includes_default" 35602if test "x$ac_cv_header_libcfile_h" = xyes; then : 35603 cat >>confdefs.h <<_ACEOF 35604#define HAVE_LIBCFILE_H 1 35605_ACEOF 35606 35607fi 35608 35609done 35610 35611 35612 if test "x$ac_cv_header_libcfile_h" = xno; then : 35613 ac_cv_libcfile=no 35614else 35615 ac_cv_libcfile=yes 35616 35617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_get_version in -lcfile" >&5 35618$as_echo_n "checking for libcfile_get_version in -lcfile... " >&6; } 35619if ${ac_cv_lib_cfile_libcfile_get_version+:} false; then : 35620 $as_echo_n "(cached) " >&6 35621else 35622 ac_check_lib_save_LIBS=$LIBS 35623LIBS="-lcfile $LIBS" 35624cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35625/* end confdefs.h. */ 35626 35627/* Override any GCC internal prototype to avoid an error. 35628 Use char because int might match the return type of a GCC 35629 builtin and then its argument prototype would still apply. */ 35630#ifdef __cplusplus 35631extern "C" 35632#endif 35633char libcfile_get_version (); 35634int 35635main () 35636{ 35637return libcfile_get_version (); 35638 ; 35639 return 0; 35640} 35641_ACEOF 35642if ac_fn_c_try_link "$LINENO"; then : 35643 ac_cv_lib_cfile_libcfile_get_version=yes 35644else 35645 ac_cv_lib_cfile_libcfile_get_version=no 35646fi 35647rm -f core conftest.err conftest.$ac_objext \ 35648 conftest$ac_exeext conftest.$ac_ext 35649LIBS=$ac_check_lib_save_LIBS 35650fi 35651{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_get_version" >&5 35652$as_echo "$ac_cv_lib_cfile_libcfile_get_version" >&6; } 35653if test "x$ac_cv_lib_cfile_libcfile_get_version" = xyes; then : 35654 ac_cv_libcfile_dummy=yes 35655else 35656 ac_cv_libcfile=no 35657fi 35658 35659 35660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_initialize in -lcfile" >&5 35661$as_echo_n "checking for libcfile_file_initialize in -lcfile... " >&6; } 35662if ${ac_cv_lib_cfile_libcfile_file_initialize+:} false; then : 35663 $as_echo_n "(cached) " >&6 35664else 35665 ac_check_lib_save_LIBS=$LIBS 35666LIBS="-lcfile $LIBS" 35667cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35668/* end confdefs.h. */ 35669 35670/* Override any GCC internal prototype to avoid an error. 35671 Use char because int might match the return type of a GCC 35672 builtin and then its argument prototype would still apply. */ 35673#ifdef __cplusplus 35674extern "C" 35675#endif 35676char libcfile_file_initialize (); 35677int 35678main () 35679{ 35680return libcfile_file_initialize (); 35681 ; 35682 return 0; 35683} 35684_ACEOF 35685if ac_fn_c_try_link "$LINENO"; then : 35686 ac_cv_lib_cfile_libcfile_file_initialize=yes 35687else 35688 ac_cv_lib_cfile_libcfile_file_initialize=no 35689fi 35690rm -f core conftest.err conftest.$ac_objext \ 35691 conftest$ac_exeext conftest.$ac_ext 35692LIBS=$ac_check_lib_save_LIBS 35693fi 35694{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_initialize" >&5 35695$as_echo "$ac_cv_lib_cfile_libcfile_file_initialize" >&6; } 35696if test "x$ac_cv_lib_cfile_libcfile_file_initialize" = xyes; then : 35697 ac_cv_libcfile_dummy=yes 35698else 35699 ac_cv_libcfile=no 35700fi 35701 35702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_free in -lcfile" >&5 35703$as_echo_n "checking for libcfile_file_free in -lcfile... " >&6; } 35704if ${ac_cv_lib_cfile_libcfile_file_free+:} false; then : 35705 $as_echo_n "(cached) " >&6 35706else 35707 ac_check_lib_save_LIBS=$LIBS 35708LIBS="-lcfile $LIBS" 35709cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35710/* end confdefs.h. */ 35711 35712/* Override any GCC internal prototype to avoid an error. 35713 Use char because int might match the return type of a GCC 35714 builtin and then its argument prototype would still apply. */ 35715#ifdef __cplusplus 35716extern "C" 35717#endif 35718char libcfile_file_free (); 35719int 35720main () 35721{ 35722return libcfile_file_free (); 35723 ; 35724 return 0; 35725} 35726_ACEOF 35727if ac_fn_c_try_link "$LINENO"; then : 35728 ac_cv_lib_cfile_libcfile_file_free=yes 35729else 35730 ac_cv_lib_cfile_libcfile_file_free=no 35731fi 35732rm -f core conftest.err conftest.$ac_objext \ 35733 conftest$ac_exeext conftest.$ac_ext 35734LIBS=$ac_check_lib_save_LIBS 35735fi 35736{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_free" >&5 35737$as_echo "$ac_cv_lib_cfile_libcfile_file_free" >&6; } 35738if test "x$ac_cv_lib_cfile_libcfile_file_free" = xyes; then : 35739 ac_cv_libcfile_dummy=yes 35740else 35741 ac_cv_libcfile=no 35742fi 35743 35744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_open in -lcfile" >&5 35745$as_echo_n "checking for libcfile_file_open in -lcfile... " >&6; } 35746if ${ac_cv_lib_cfile_libcfile_file_open+:} false; then : 35747 $as_echo_n "(cached) " >&6 35748else 35749 ac_check_lib_save_LIBS=$LIBS 35750LIBS="-lcfile $LIBS" 35751cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35752/* end confdefs.h. */ 35753 35754/* Override any GCC internal prototype to avoid an error. 35755 Use char because int might match the return type of a GCC 35756 builtin and then its argument prototype would still apply. */ 35757#ifdef __cplusplus 35758extern "C" 35759#endif 35760char libcfile_file_open (); 35761int 35762main () 35763{ 35764return libcfile_file_open (); 35765 ; 35766 return 0; 35767} 35768_ACEOF 35769if ac_fn_c_try_link "$LINENO"; then : 35770 ac_cv_lib_cfile_libcfile_file_open=yes 35771else 35772 ac_cv_lib_cfile_libcfile_file_open=no 35773fi 35774rm -f core conftest.err conftest.$ac_objext \ 35775 conftest$ac_exeext conftest.$ac_ext 35776LIBS=$ac_check_lib_save_LIBS 35777fi 35778{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_open" >&5 35779$as_echo "$ac_cv_lib_cfile_libcfile_file_open" >&6; } 35780if test "x$ac_cv_lib_cfile_libcfile_file_open" = xyes; then : 35781 ac_cv_libcfile_dummy=yes 35782else 35783 ac_cv_libcfile=no 35784fi 35785 35786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_open_with_error_code in -lcfile" >&5 35787$as_echo_n "checking for libcfile_file_open_with_error_code in -lcfile... " >&6; } 35788if ${ac_cv_lib_cfile_libcfile_file_open_with_error_code+:} false; then : 35789 $as_echo_n "(cached) " >&6 35790else 35791 ac_check_lib_save_LIBS=$LIBS 35792LIBS="-lcfile $LIBS" 35793cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35794/* end confdefs.h. */ 35795 35796/* Override any GCC internal prototype to avoid an error. 35797 Use char because int might match the return type of a GCC 35798 builtin and then its argument prototype would still apply. */ 35799#ifdef __cplusplus 35800extern "C" 35801#endif 35802char libcfile_file_open_with_error_code (); 35803int 35804main () 35805{ 35806return libcfile_file_open_with_error_code (); 35807 ; 35808 return 0; 35809} 35810_ACEOF 35811if ac_fn_c_try_link "$LINENO"; then : 35812 ac_cv_lib_cfile_libcfile_file_open_with_error_code=yes 35813else 35814 ac_cv_lib_cfile_libcfile_file_open_with_error_code=no 35815fi 35816rm -f core conftest.err conftest.$ac_objext \ 35817 conftest$ac_exeext conftest.$ac_ext 35818LIBS=$ac_check_lib_save_LIBS 35819fi 35820{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_open_with_error_code" >&5 35821$as_echo "$ac_cv_lib_cfile_libcfile_file_open_with_error_code" >&6; } 35822if test "x$ac_cv_lib_cfile_libcfile_file_open_with_error_code" = xyes; then : 35823 ac_cv_libcfile_dummy=yes 35824else 35825 ac_cv_libcfile=no 35826fi 35827 35828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_close in -lcfile" >&5 35829$as_echo_n "checking for libcfile_file_close in -lcfile... " >&6; } 35830if ${ac_cv_lib_cfile_libcfile_file_close+:} false; then : 35831 $as_echo_n "(cached) " >&6 35832else 35833 ac_check_lib_save_LIBS=$LIBS 35834LIBS="-lcfile $LIBS" 35835cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35836/* end confdefs.h. */ 35837 35838/* Override any GCC internal prototype to avoid an error. 35839 Use char because int might match the return type of a GCC 35840 builtin and then its argument prototype would still apply. */ 35841#ifdef __cplusplus 35842extern "C" 35843#endif 35844char libcfile_file_close (); 35845int 35846main () 35847{ 35848return libcfile_file_close (); 35849 ; 35850 return 0; 35851} 35852_ACEOF 35853if ac_fn_c_try_link "$LINENO"; then : 35854 ac_cv_lib_cfile_libcfile_file_close=yes 35855else 35856 ac_cv_lib_cfile_libcfile_file_close=no 35857fi 35858rm -f core conftest.err conftest.$ac_objext \ 35859 conftest$ac_exeext conftest.$ac_ext 35860LIBS=$ac_check_lib_save_LIBS 35861fi 35862{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_close" >&5 35863$as_echo "$ac_cv_lib_cfile_libcfile_file_close" >&6; } 35864if test "x$ac_cv_lib_cfile_libcfile_file_close" = xyes; then : 35865 ac_cv_libcfile_dummy=yes 35866else 35867 ac_cv_libcfile=no 35868fi 35869 35870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_read_buffer in -lcfile" >&5 35871$as_echo_n "checking for libcfile_file_read_buffer in -lcfile... " >&6; } 35872if ${ac_cv_lib_cfile_libcfile_file_read_buffer+:} false; then : 35873 $as_echo_n "(cached) " >&6 35874else 35875 ac_check_lib_save_LIBS=$LIBS 35876LIBS="-lcfile $LIBS" 35877cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35878/* end confdefs.h. */ 35879 35880/* Override any GCC internal prototype to avoid an error. 35881 Use char because int might match the return type of a GCC 35882 builtin and then its argument prototype would still apply. */ 35883#ifdef __cplusplus 35884extern "C" 35885#endif 35886char libcfile_file_read_buffer (); 35887int 35888main () 35889{ 35890return libcfile_file_read_buffer (); 35891 ; 35892 return 0; 35893} 35894_ACEOF 35895if ac_fn_c_try_link "$LINENO"; then : 35896 ac_cv_lib_cfile_libcfile_file_read_buffer=yes 35897else 35898 ac_cv_lib_cfile_libcfile_file_read_buffer=no 35899fi 35900rm -f core conftest.err conftest.$ac_objext \ 35901 conftest$ac_exeext conftest.$ac_ext 35902LIBS=$ac_check_lib_save_LIBS 35903fi 35904{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_read_buffer" >&5 35905$as_echo "$ac_cv_lib_cfile_libcfile_file_read_buffer" >&6; } 35906if test "x$ac_cv_lib_cfile_libcfile_file_read_buffer" = xyes; then : 35907 ac_cv_libcfile_dummy=yes 35908else 35909 ac_cv_libcfile=no 35910fi 35911 35912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_read_buffer_with_error_code in -lcfile" >&5 35913$as_echo_n "checking for libcfile_file_read_buffer_with_error_code in -lcfile... " >&6; } 35914if ${ac_cv_lib_cfile_libcfile_file_read_buffer_with_error_code+:} false; then : 35915 $as_echo_n "(cached) " >&6 35916else 35917 ac_check_lib_save_LIBS=$LIBS 35918LIBS="-lcfile $LIBS" 35919cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35920/* end confdefs.h. */ 35921 35922/* Override any GCC internal prototype to avoid an error. 35923 Use char because int might match the return type of a GCC 35924 builtin and then its argument prototype would still apply. */ 35925#ifdef __cplusplus 35926extern "C" 35927#endif 35928char libcfile_file_read_buffer_with_error_code (); 35929int 35930main () 35931{ 35932return libcfile_file_read_buffer_with_error_code (); 35933 ; 35934 return 0; 35935} 35936_ACEOF 35937if ac_fn_c_try_link "$LINENO"; then : 35938 ac_cv_lib_cfile_libcfile_file_read_buffer_with_error_code=yes 35939else 35940 ac_cv_lib_cfile_libcfile_file_read_buffer_with_error_code=no 35941fi 35942rm -f core conftest.err conftest.$ac_objext \ 35943 conftest$ac_exeext conftest.$ac_ext 35944LIBS=$ac_check_lib_save_LIBS 35945fi 35946{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_read_buffer_with_error_code" >&5 35947$as_echo "$ac_cv_lib_cfile_libcfile_file_read_buffer_with_error_code" >&6; } 35948if test "x$ac_cv_lib_cfile_libcfile_file_read_buffer_with_error_code" = xyes; then : 35949 ac_cv_libcfile_dummy=yes 35950else 35951 ac_cv_libcfile=no 35952fi 35953 35954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_write_buffer in -lcfile" >&5 35955$as_echo_n "checking for libcfile_file_write_buffer in -lcfile... " >&6; } 35956if ${ac_cv_lib_cfile_libcfile_file_write_buffer+:} false; then : 35957 $as_echo_n "(cached) " >&6 35958else 35959 ac_check_lib_save_LIBS=$LIBS 35960LIBS="-lcfile $LIBS" 35961cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35962/* end confdefs.h. */ 35963 35964/* Override any GCC internal prototype to avoid an error. 35965 Use char because int might match the return type of a GCC 35966 builtin and then its argument prototype would still apply. */ 35967#ifdef __cplusplus 35968extern "C" 35969#endif 35970char libcfile_file_write_buffer (); 35971int 35972main () 35973{ 35974return libcfile_file_write_buffer (); 35975 ; 35976 return 0; 35977} 35978_ACEOF 35979if ac_fn_c_try_link "$LINENO"; then : 35980 ac_cv_lib_cfile_libcfile_file_write_buffer=yes 35981else 35982 ac_cv_lib_cfile_libcfile_file_write_buffer=no 35983fi 35984rm -f core conftest.err conftest.$ac_objext \ 35985 conftest$ac_exeext conftest.$ac_ext 35986LIBS=$ac_check_lib_save_LIBS 35987fi 35988{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_write_buffer" >&5 35989$as_echo "$ac_cv_lib_cfile_libcfile_file_write_buffer" >&6; } 35990if test "x$ac_cv_lib_cfile_libcfile_file_write_buffer" = xyes; then : 35991 ac_cv_libcfile_dummy=yes 35992else 35993 ac_cv_libcfile=no 35994fi 35995 35996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_write_buffer_with_error_code in -lcfile" >&5 35997$as_echo_n "checking for libcfile_file_write_buffer_with_error_code in -lcfile... " >&6; } 35998if ${ac_cv_lib_cfile_libcfile_file_write_buffer_with_error_code+:} false; then : 35999 $as_echo_n "(cached) " >&6 36000else 36001 ac_check_lib_save_LIBS=$LIBS 36002LIBS="-lcfile $LIBS" 36003cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36004/* end confdefs.h. */ 36005 36006/* Override any GCC internal prototype to avoid an error. 36007 Use char because int might match the return type of a GCC 36008 builtin and then its argument prototype would still apply. */ 36009#ifdef __cplusplus 36010extern "C" 36011#endif 36012char libcfile_file_write_buffer_with_error_code (); 36013int 36014main () 36015{ 36016return libcfile_file_write_buffer_with_error_code (); 36017 ; 36018 return 0; 36019} 36020_ACEOF 36021if ac_fn_c_try_link "$LINENO"; then : 36022 ac_cv_lib_cfile_libcfile_file_write_buffer_with_error_code=yes 36023else 36024 ac_cv_lib_cfile_libcfile_file_write_buffer_with_error_code=no 36025fi 36026rm -f core conftest.err conftest.$ac_objext \ 36027 conftest$ac_exeext conftest.$ac_ext 36028LIBS=$ac_check_lib_save_LIBS 36029fi 36030{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_write_buffer_with_error_code" >&5 36031$as_echo "$ac_cv_lib_cfile_libcfile_file_write_buffer_with_error_code" >&6; } 36032if test "x$ac_cv_lib_cfile_libcfile_file_write_buffer_with_error_code" = xyes; then : 36033 ac_cv_libcfile_dummy=yes 36034else 36035 ac_cv_libcfile=no 36036fi 36037 36038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_seek_offset in -lcfile" >&5 36039$as_echo_n "checking for libcfile_file_seek_offset in -lcfile... " >&6; } 36040if ${ac_cv_lib_cfile_libcfile_file_seek_offset+:} false; then : 36041 $as_echo_n "(cached) " >&6 36042else 36043 ac_check_lib_save_LIBS=$LIBS 36044LIBS="-lcfile $LIBS" 36045cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36046/* end confdefs.h. */ 36047 36048/* Override any GCC internal prototype to avoid an error. 36049 Use char because int might match the return type of a GCC 36050 builtin and then its argument prototype would still apply. */ 36051#ifdef __cplusplus 36052extern "C" 36053#endif 36054char libcfile_file_seek_offset (); 36055int 36056main () 36057{ 36058return libcfile_file_seek_offset (); 36059 ; 36060 return 0; 36061} 36062_ACEOF 36063if ac_fn_c_try_link "$LINENO"; then : 36064 ac_cv_lib_cfile_libcfile_file_seek_offset=yes 36065else 36066 ac_cv_lib_cfile_libcfile_file_seek_offset=no 36067fi 36068rm -f core conftest.err conftest.$ac_objext \ 36069 conftest$ac_exeext conftest.$ac_ext 36070LIBS=$ac_check_lib_save_LIBS 36071fi 36072{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_seek_offset" >&5 36073$as_echo "$ac_cv_lib_cfile_libcfile_file_seek_offset" >&6; } 36074if test "x$ac_cv_lib_cfile_libcfile_file_seek_offset" = xyes; then : 36075 ac_cv_libcfile_dummy=yes 36076else 36077 ac_cv_libcfile=no 36078fi 36079 36080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_resize in -lcfile" >&5 36081$as_echo_n "checking for libcfile_file_resize in -lcfile... " >&6; } 36082if ${ac_cv_lib_cfile_libcfile_file_resize+:} false; then : 36083 $as_echo_n "(cached) " >&6 36084else 36085 ac_check_lib_save_LIBS=$LIBS 36086LIBS="-lcfile $LIBS" 36087cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36088/* end confdefs.h. */ 36089 36090/* Override any GCC internal prototype to avoid an error. 36091 Use char because int might match the return type of a GCC 36092 builtin and then its argument prototype would still apply. */ 36093#ifdef __cplusplus 36094extern "C" 36095#endif 36096char libcfile_file_resize (); 36097int 36098main () 36099{ 36100return libcfile_file_resize (); 36101 ; 36102 return 0; 36103} 36104_ACEOF 36105if ac_fn_c_try_link "$LINENO"; then : 36106 ac_cv_lib_cfile_libcfile_file_resize=yes 36107else 36108 ac_cv_lib_cfile_libcfile_file_resize=no 36109fi 36110rm -f core conftest.err conftest.$ac_objext \ 36111 conftest$ac_exeext conftest.$ac_ext 36112LIBS=$ac_check_lib_save_LIBS 36113fi 36114{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_resize" >&5 36115$as_echo "$ac_cv_lib_cfile_libcfile_file_resize" >&6; } 36116if test "x$ac_cv_lib_cfile_libcfile_file_resize" = xyes; then : 36117 ac_cv_libcfile_dummy=yes 36118else 36119 ac_cv_libcfile=no 36120fi 36121 36122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_is_open in -lcfile" >&5 36123$as_echo_n "checking for libcfile_file_is_open in -lcfile... " >&6; } 36124if ${ac_cv_lib_cfile_libcfile_file_is_open+:} false; then : 36125 $as_echo_n "(cached) " >&6 36126else 36127 ac_check_lib_save_LIBS=$LIBS 36128LIBS="-lcfile $LIBS" 36129cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36130/* end confdefs.h. */ 36131 36132/* Override any GCC internal prototype to avoid an error. 36133 Use char because int might match the return type of a GCC 36134 builtin and then its argument prototype would still apply. */ 36135#ifdef __cplusplus 36136extern "C" 36137#endif 36138char libcfile_file_is_open (); 36139int 36140main () 36141{ 36142return libcfile_file_is_open (); 36143 ; 36144 return 0; 36145} 36146_ACEOF 36147if ac_fn_c_try_link "$LINENO"; then : 36148 ac_cv_lib_cfile_libcfile_file_is_open=yes 36149else 36150 ac_cv_lib_cfile_libcfile_file_is_open=no 36151fi 36152rm -f core conftest.err conftest.$ac_objext \ 36153 conftest$ac_exeext conftest.$ac_ext 36154LIBS=$ac_check_lib_save_LIBS 36155fi 36156{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_is_open" >&5 36157$as_echo "$ac_cv_lib_cfile_libcfile_file_is_open" >&6; } 36158if test "x$ac_cv_lib_cfile_libcfile_file_is_open" = xyes; then : 36159 ac_cv_libcfile_dummy=yes 36160else 36161 ac_cv_libcfile=no 36162fi 36163 36164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_get_offset in -lcfile" >&5 36165$as_echo_n "checking for libcfile_file_get_offset in -lcfile... " >&6; } 36166if ${ac_cv_lib_cfile_libcfile_file_get_offset+:} false; then : 36167 $as_echo_n "(cached) " >&6 36168else 36169 ac_check_lib_save_LIBS=$LIBS 36170LIBS="-lcfile $LIBS" 36171cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36172/* end confdefs.h. */ 36173 36174/* Override any GCC internal prototype to avoid an error. 36175 Use char because int might match the return type of a GCC 36176 builtin and then its argument prototype would still apply. */ 36177#ifdef __cplusplus 36178extern "C" 36179#endif 36180char libcfile_file_get_offset (); 36181int 36182main () 36183{ 36184return libcfile_file_get_offset (); 36185 ; 36186 return 0; 36187} 36188_ACEOF 36189if ac_fn_c_try_link "$LINENO"; then : 36190 ac_cv_lib_cfile_libcfile_file_get_offset=yes 36191else 36192 ac_cv_lib_cfile_libcfile_file_get_offset=no 36193fi 36194rm -f core conftest.err conftest.$ac_objext \ 36195 conftest$ac_exeext conftest.$ac_ext 36196LIBS=$ac_check_lib_save_LIBS 36197fi 36198{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_get_offset" >&5 36199$as_echo "$ac_cv_lib_cfile_libcfile_file_get_offset" >&6; } 36200if test "x$ac_cv_lib_cfile_libcfile_file_get_offset" = xyes; then : 36201 ac_cv_libcfile_dummy=yes 36202else 36203 ac_cv_libcfile=no 36204fi 36205 36206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_get_size in -lcfile" >&5 36207$as_echo_n "checking for libcfile_file_get_size in -lcfile... " >&6; } 36208if ${ac_cv_lib_cfile_libcfile_file_get_size+:} false; then : 36209 $as_echo_n "(cached) " >&6 36210else 36211 ac_check_lib_save_LIBS=$LIBS 36212LIBS="-lcfile $LIBS" 36213cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36214/* end confdefs.h. */ 36215 36216/* Override any GCC internal prototype to avoid an error. 36217 Use char because int might match the return type of a GCC 36218 builtin and then its argument prototype would still apply. */ 36219#ifdef __cplusplus 36220extern "C" 36221#endif 36222char libcfile_file_get_size (); 36223int 36224main () 36225{ 36226return libcfile_file_get_size (); 36227 ; 36228 return 0; 36229} 36230_ACEOF 36231if ac_fn_c_try_link "$LINENO"; then : 36232 ac_cv_lib_cfile_libcfile_file_get_size=yes 36233else 36234 ac_cv_lib_cfile_libcfile_file_get_size=no 36235fi 36236rm -f core conftest.err conftest.$ac_objext \ 36237 conftest$ac_exeext conftest.$ac_ext 36238LIBS=$ac_check_lib_save_LIBS 36239fi 36240{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_get_size" >&5 36241$as_echo "$ac_cv_lib_cfile_libcfile_file_get_size" >&6; } 36242if test "x$ac_cv_lib_cfile_libcfile_file_get_size" = xyes; then : 36243 ac_cv_libcfile_dummy=yes 36244else 36245 ac_cv_libcfile=no 36246fi 36247 36248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_is_device in -lcfile" >&5 36249$as_echo_n "checking for libcfile_file_is_device in -lcfile... " >&6; } 36250if ${ac_cv_lib_cfile_libcfile_file_is_device+:} false; then : 36251 $as_echo_n "(cached) " >&6 36252else 36253 ac_check_lib_save_LIBS=$LIBS 36254LIBS="-lcfile $LIBS" 36255cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36256/* end confdefs.h. */ 36257 36258/* Override any GCC internal prototype to avoid an error. 36259 Use char because int might match the return type of a GCC 36260 builtin and then its argument prototype would still apply. */ 36261#ifdef __cplusplus 36262extern "C" 36263#endif 36264char libcfile_file_is_device (); 36265int 36266main () 36267{ 36268return libcfile_file_is_device (); 36269 ; 36270 return 0; 36271} 36272_ACEOF 36273if ac_fn_c_try_link "$LINENO"; then : 36274 ac_cv_lib_cfile_libcfile_file_is_device=yes 36275else 36276 ac_cv_lib_cfile_libcfile_file_is_device=no 36277fi 36278rm -f core conftest.err conftest.$ac_objext \ 36279 conftest$ac_exeext conftest.$ac_ext 36280LIBS=$ac_check_lib_save_LIBS 36281fi 36282{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_is_device" >&5 36283$as_echo "$ac_cv_lib_cfile_libcfile_file_is_device" >&6; } 36284if test "x$ac_cv_lib_cfile_libcfile_file_is_device" = xyes; then : 36285 ac_cv_libcfile_dummy=yes 36286else 36287 ac_cv_libcfile=no 36288fi 36289 36290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_io_control_read in -lcfile" >&5 36291$as_echo_n "checking for libcfile_file_io_control_read in -lcfile... " >&6; } 36292if ${ac_cv_lib_cfile_libcfile_file_io_control_read+:} false; then : 36293 $as_echo_n "(cached) " >&6 36294else 36295 ac_check_lib_save_LIBS=$LIBS 36296LIBS="-lcfile $LIBS" 36297cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36298/* end confdefs.h. */ 36299 36300/* Override any GCC internal prototype to avoid an error. 36301 Use char because int might match the return type of a GCC 36302 builtin and then its argument prototype would still apply. */ 36303#ifdef __cplusplus 36304extern "C" 36305#endif 36306char libcfile_file_io_control_read (); 36307int 36308main () 36309{ 36310return libcfile_file_io_control_read (); 36311 ; 36312 return 0; 36313} 36314_ACEOF 36315if ac_fn_c_try_link "$LINENO"; then : 36316 ac_cv_lib_cfile_libcfile_file_io_control_read=yes 36317else 36318 ac_cv_lib_cfile_libcfile_file_io_control_read=no 36319fi 36320rm -f core conftest.err conftest.$ac_objext \ 36321 conftest$ac_exeext conftest.$ac_ext 36322LIBS=$ac_check_lib_save_LIBS 36323fi 36324{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_io_control_read" >&5 36325$as_echo "$ac_cv_lib_cfile_libcfile_file_io_control_read" >&6; } 36326if test "x$ac_cv_lib_cfile_libcfile_file_io_control_read" = xyes; then : 36327 ac_cv_libcfile_dummy=yes 36328else 36329 ac_cv_libcfile=no 36330fi 36331 36332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_io_control_read_with_error_code in -lcfile" >&5 36333$as_echo_n "checking for libcfile_file_io_control_read_with_error_code in -lcfile... " >&6; } 36334if ${ac_cv_lib_cfile_libcfile_file_io_control_read_with_error_code+:} false; then : 36335 $as_echo_n "(cached) " >&6 36336else 36337 ac_check_lib_save_LIBS=$LIBS 36338LIBS="-lcfile $LIBS" 36339cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36340/* end confdefs.h. */ 36341 36342/* Override any GCC internal prototype to avoid an error. 36343 Use char because int might match the return type of a GCC 36344 builtin and then its argument prototype would still apply. */ 36345#ifdef __cplusplus 36346extern "C" 36347#endif 36348char libcfile_file_io_control_read_with_error_code (); 36349int 36350main () 36351{ 36352return libcfile_file_io_control_read_with_error_code (); 36353 ; 36354 return 0; 36355} 36356_ACEOF 36357if ac_fn_c_try_link "$LINENO"; then : 36358 ac_cv_lib_cfile_libcfile_file_io_control_read_with_error_code=yes 36359else 36360 ac_cv_lib_cfile_libcfile_file_io_control_read_with_error_code=no 36361fi 36362rm -f core conftest.err conftest.$ac_objext \ 36363 conftest$ac_exeext conftest.$ac_ext 36364LIBS=$ac_check_lib_save_LIBS 36365fi 36366{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_io_control_read_with_error_code" >&5 36367$as_echo "$ac_cv_lib_cfile_libcfile_file_io_control_read_with_error_code" >&6; } 36368if test "x$ac_cv_lib_cfile_libcfile_file_io_control_read_with_error_code" = xyes; then : 36369 ac_cv_libcfile_dummy=yes 36370else 36371 ac_cv_libcfile=no 36372fi 36373 36374 36375 if test "x$ac_cv_enable_wide_character_type" != xno; then : 36376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_open_wide in -lcfile" >&5 36377$as_echo_n "checking for libcfile_file_open_wide in -lcfile... " >&6; } 36378if ${ac_cv_lib_cfile_libcfile_file_open_wide+:} false; then : 36379 $as_echo_n "(cached) " >&6 36380else 36381 ac_check_lib_save_LIBS=$LIBS 36382LIBS="-lcfile $LIBS" 36383cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36384/* end confdefs.h. */ 36385 36386/* Override any GCC internal prototype to avoid an error. 36387 Use char because int might match the return type of a GCC 36388 builtin and then its argument prototype would still apply. */ 36389#ifdef __cplusplus 36390extern "C" 36391#endif 36392char libcfile_file_open_wide (); 36393int 36394main () 36395{ 36396return libcfile_file_open_wide (); 36397 ; 36398 return 0; 36399} 36400_ACEOF 36401if ac_fn_c_try_link "$LINENO"; then : 36402 ac_cv_lib_cfile_libcfile_file_open_wide=yes 36403else 36404 ac_cv_lib_cfile_libcfile_file_open_wide=no 36405fi 36406rm -f core conftest.err conftest.$ac_objext \ 36407 conftest$ac_exeext conftest.$ac_ext 36408LIBS=$ac_check_lib_save_LIBS 36409fi 36410{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_open_wide" >&5 36411$as_echo "$ac_cv_lib_cfile_libcfile_file_open_wide" >&6; } 36412if test "x$ac_cv_lib_cfile_libcfile_file_open_wide" = xyes; then : 36413 ac_cv_libcfile_dummy=yes 36414else 36415 ac_cv_libcfile=no 36416fi 36417 36418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_open_wide_with_error_code in -lcfile" >&5 36419$as_echo_n "checking for libcfile_file_open_wide_with_error_code in -lcfile... " >&6; } 36420if ${ac_cv_lib_cfile_libcfile_file_open_wide_with_error_code+:} false; then : 36421 $as_echo_n "(cached) " >&6 36422else 36423 ac_check_lib_save_LIBS=$LIBS 36424LIBS="-lcfile $LIBS" 36425cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36426/* end confdefs.h. */ 36427 36428/* Override any GCC internal prototype to avoid an error. 36429 Use char because int might match the return type of a GCC 36430 builtin and then its argument prototype would still apply. */ 36431#ifdef __cplusplus 36432extern "C" 36433#endif 36434char libcfile_file_open_wide_with_error_code (); 36435int 36436main () 36437{ 36438return libcfile_file_open_wide_with_error_code (); 36439 ; 36440 return 0; 36441} 36442_ACEOF 36443if ac_fn_c_try_link "$LINENO"; then : 36444 ac_cv_lib_cfile_libcfile_file_open_wide_with_error_code=yes 36445else 36446 ac_cv_lib_cfile_libcfile_file_open_wide_with_error_code=no 36447fi 36448rm -f core conftest.err conftest.$ac_objext \ 36449 conftest$ac_exeext conftest.$ac_ext 36450LIBS=$ac_check_lib_save_LIBS 36451fi 36452{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_open_wide_with_error_code" >&5 36453$as_echo "$ac_cv_lib_cfile_libcfile_file_open_wide_with_error_code" >&6; } 36454if test "x$ac_cv_lib_cfile_libcfile_file_open_wide_with_error_code" = xyes; then : 36455 ac_cv_libcfile_dummy=yes 36456else 36457 ac_cv_libcfile=no 36458fi 36459 36460 36461fi 36462 36463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_exists in -lcfile" >&5 36464$as_echo_n "checking for libcfile_file_exists in -lcfile... " >&6; } 36465if ${ac_cv_lib_cfile_libcfile_file_exists+:} false; then : 36466 $as_echo_n "(cached) " >&6 36467else 36468 ac_check_lib_save_LIBS=$LIBS 36469LIBS="-lcfile $LIBS" 36470cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36471/* end confdefs.h. */ 36472 36473/* Override any GCC internal prototype to avoid an error. 36474 Use char because int might match the return type of a GCC 36475 builtin and then its argument prototype would still apply. */ 36476#ifdef __cplusplus 36477extern "C" 36478#endif 36479char libcfile_file_exists (); 36480int 36481main () 36482{ 36483return libcfile_file_exists (); 36484 ; 36485 return 0; 36486} 36487_ACEOF 36488if ac_fn_c_try_link "$LINENO"; then : 36489 ac_cv_lib_cfile_libcfile_file_exists=yes 36490else 36491 ac_cv_lib_cfile_libcfile_file_exists=no 36492fi 36493rm -f core conftest.err conftest.$ac_objext \ 36494 conftest$ac_exeext conftest.$ac_ext 36495LIBS=$ac_check_lib_save_LIBS 36496fi 36497{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_exists" >&5 36498$as_echo "$ac_cv_lib_cfile_libcfile_file_exists" >&6; } 36499if test "x$ac_cv_lib_cfile_libcfile_file_exists" = xyes; then : 36500 ac_cv_libcfile_dummy=yes 36501else 36502 ac_cv_libcfile=no 36503fi 36504 36505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_remove in -lcfile" >&5 36506$as_echo_n "checking for libcfile_file_remove in -lcfile... " >&6; } 36507if ${ac_cv_lib_cfile_libcfile_file_remove+:} false; then : 36508 $as_echo_n "(cached) " >&6 36509else 36510 ac_check_lib_save_LIBS=$LIBS 36511LIBS="-lcfile $LIBS" 36512cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36513/* end confdefs.h. */ 36514 36515/* Override any GCC internal prototype to avoid an error. 36516 Use char because int might match the return type of a GCC 36517 builtin and then its argument prototype would still apply. */ 36518#ifdef __cplusplus 36519extern "C" 36520#endif 36521char libcfile_file_remove (); 36522int 36523main () 36524{ 36525return libcfile_file_remove (); 36526 ; 36527 return 0; 36528} 36529_ACEOF 36530if ac_fn_c_try_link "$LINENO"; then : 36531 ac_cv_lib_cfile_libcfile_file_remove=yes 36532else 36533 ac_cv_lib_cfile_libcfile_file_remove=no 36534fi 36535rm -f core conftest.err conftest.$ac_objext \ 36536 conftest$ac_exeext conftest.$ac_ext 36537LIBS=$ac_check_lib_save_LIBS 36538fi 36539{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_remove" >&5 36540$as_echo "$ac_cv_lib_cfile_libcfile_file_remove" >&6; } 36541if test "x$ac_cv_lib_cfile_libcfile_file_remove" = xyes; then : 36542 ac_cv_libcfile_dummy=yes 36543else 36544 ac_cv_libcfile=no 36545fi 36546 36547 36548 if test "x$ac_cv_enable_wide_character_type" != xno; then : 36549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_exists_wide in -lcfile" >&5 36550$as_echo_n "checking for libcfile_file_exists_wide in -lcfile... " >&6; } 36551if ${ac_cv_lib_cfile_libcfile_file_exists_wide+:} false; then : 36552 $as_echo_n "(cached) " >&6 36553else 36554 ac_check_lib_save_LIBS=$LIBS 36555LIBS="-lcfile $LIBS" 36556cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36557/* end confdefs.h. */ 36558 36559/* Override any GCC internal prototype to avoid an error. 36560 Use char because int might match the return type of a GCC 36561 builtin and then its argument prototype would still apply. */ 36562#ifdef __cplusplus 36563extern "C" 36564#endif 36565char libcfile_file_exists_wide (); 36566int 36567main () 36568{ 36569return libcfile_file_exists_wide (); 36570 ; 36571 return 0; 36572} 36573_ACEOF 36574if ac_fn_c_try_link "$LINENO"; then : 36575 ac_cv_lib_cfile_libcfile_file_exists_wide=yes 36576else 36577 ac_cv_lib_cfile_libcfile_file_exists_wide=no 36578fi 36579rm -f core conftest.err conftest.$ac_objext \ 36580 conftest$ac_exeext conftest.$ac_ext 36581LIBS=$ac_check_lib_save_LIBS 36582fi 36583{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_exists_wide" >&5 36584$as_echo "$ac_cv_lib_cfile_libcfile_file_exists_wide" >&6; } 36585if test "x$ac_cv_lib_cfile_libcfile_file_exists_wide" = xyes; then : 36586 ac_cv_libcfile_dummy=yes 36587else 36588 ac_cv_libcfile=no 36589fi 36590 36591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_remove_wide in -lcfile" >&5 36592$as_echo_n "checking for libcfile_file_remove_wide in -lcfile... " >&6; } 36593if ${ac_cv_lib_cfile_libcfile_file_remove_wide+:} false; then : 36594 $as_echo_n "(cached) " >&6 36595else 36596 ac_check_lib_save_LIBS=$LIBS 36597LIBS="-lcfile $LIBS" 36598cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36599/* end confdefs.h. */ 36600 36601/* Override any GCC internal prototype to avoid an error. 36602 Use char because int might match the return type of a GCC 36603 builtin and then its argument prototype would still apply. */ 36604#ifdef __cplusplus 36605extern "C" 36606#endif 36607char libcfile_file_remove_wide (); 36608int 36609main () 36610{ 36611return libcfile_file_remove_wide (); 36612 ; 36613 return 0; 36614} 36615_ACEOF 36616if ac_fn_c_try_link "$LINENO"; then : 36617 ac_cv_lib_cfile_libcfile_file_remove_wide=yes 36618else 36619 ac_cv_lib_cfile_libcfile_file_remove_wide=no 36620fi 36621rm -f core conftest.err conftest.$ac_objext \ 36622 conftest$ac_exeext conftest.$ac_ext 36623LIBS=$ac_check_lib_save_LIBS 36624fi 36625{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_remove_wide" >&5 36626$as_echo "$ac_cv_lib_cfile_libcfile_file_remove_wide" >&6; } 36627if test "x$ac_cv_lib_cfile_libcfile_file_remove_wide" = xyes; then : 36628 ac_cv_libcfile_dummy=yes 36629else 36630 ac_cv_libcfile=no 36631fi 36632 36633 36634fi 36635 36636 ac_cv_libcfile_LIBADD="-lcfile" 36637fi 36638 36639fi 36640 if test "x$ac_cv_with_libcfile" != x && test "x$ac_cv_with_libcfile" != xauto-detect && test "x$ac_cv_libcfile" != xyes; then : 36641 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36642$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36643as_fn_error 1 "unable to find supported libcfile in directory: $ac_cv_with_libcfile 36644See \`config.log' for more details" "$LINENO" 5; } 36645 36646fi 36647 36648fi 36649 36650 if test "x$ac_cv_libcfile" = xyes; then : 36651 36652$as_echo "#define HAVE_LIBCFILE 1" >>confdefs.h 36653 36654 36655fi 36656 36657 if test "x$ac_cv_libcfile" = xyes; then : 36658 HAVE_LIBCFILE=1 36659 36660else 36661 HAVE_LIBCFILE=0 36662 36663 36664fi 36665 36666 36667 if test "x$ac_cv_libcfile" != xyes; then : 36668 for ac_header in errno.h stdio.h sys/stat.h 36669do : 36670 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 36671ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 36672if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 36673 cat >>confdefs.h <<_ACEOF 36674#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 36675_ACEOF 36676 36677fi 36678 36679done 36680 36681 36682 for ac_header in cygwin/fs.h fcntl.h linux/fs.h sys/disk.h sys/disklabel.h sys/ioctl.h unistd.h 36683do : 36684 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 36685ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 36686if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 36687 cat >>confdefs.h <<_ACEOF 36688#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 36689_ACEOF 36690 36691fi 36692 36693done 36694 36695 36696 for ac_func in close fstat ftruncate ioctl lseek open read write 36697do : 36698 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 36699ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 36700if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 36701 cat >>confdefs.h <<_ACEOF 36702#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 36703_ACEOF 36704 36705fi 36706done 36707 36708 36709 if test "x$ac_cv_func_close" != xyes; then : 36710 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36711$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36712as_fn_error 1 "Missing function: close 36713See \`config.log' for more details" "$LINENO" 5; } 36714 36715fi 36716 36717 for ac_func in posix_fadvise 36718do : 36719 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise" 36720if test "x$ac_cv_func_posix_fadvise" = xyes; then : 36721 cat >>confdefs.h <<_ACEOF 36722#define HAVE_POSIX_FADVISE 1 36723_ACEOF 36724 36725fi 36726done 36727 36728 36729 if test "x$ac_cv_func_posix_fadvise" = xyes; then : 36730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether posix_fadvise can be linked" >&5 36731$as_echo_n "checking whether posix_fadvise can be linked... " >&6; } 36732 36733 SAVE_CFLAGS="$CFLAGS" 36734 CFLAGS="$CFLAGS -Wall -Werror" 36735 ac_ext=c 36736ac_cpp='$CPP $CPPFLAGS' 36737ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 36738ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 36739ac_compiler_gnu=$ac_cv_c_compiler_gnu 36740 36741 36742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36743/* end confdefs.h. */ 36744#include <fcntl.h> 36745int 36746main () 36747{ 36748#if !defined( POSIX_FADV_SEQUENTIAL ) 36749#define POSIX_FADV_SEQUENTIAL 2 36750#endif 36751posix_fadvise( 0, 0, 0, POSIX_FADV_SEQUENTIAL ) 36752 ; 36753 return 0; 36754} 36755_ACEOF 36756if ac_fn_c_try_link "$LINENO"; then : 36757 ac_cv_func_posix_fadvise=yes 36758else 36759 ac_cv_func_posix_fadvise=no 36760fi 36761rm -f core conftest.err conftest.$ac_objext \ 36762 conftest$ac_exeext conftest.$ac_ext 36763 36764 ac_ext=c 36765ac_cpp='$CPP $CPPFLAGS' 36766ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 36767ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 36768ac_compiler_gnu=$ac_cv_c_compiler_gnu 36769 36770 CFLAGS="$SAVE_CFLAGS" 36771 36772 if test "x$ac_cv_func_posix_fadvise" = xyes; then : 36773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 36774$as_echo "yes" >&6; } 36775 36776$as_echo "#define HAVE_POSIX_FADVISE 1" >>confdefs.h 36777 36778else 36779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 36780$as_echo "no" >&6; } 36781fi 36782 36783fi 36784 36785 36786 if test "x$ac_cv_func_fstat" != xyes; then : 36787 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36788$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36789as_fn_error 1 "Missing function: fstat 36790See \`config.log' for more details" "$LINENO" 5; } 36791 36792fi 36793 36794 if test "x$ac_cv_func_ftruncate" != xyes; then : 36795 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36796$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36797as_fn_error 1 "Missing function: ftruncate 36798See \`config.log' for more details" "$LINENO" 5; } 36799 36800fi 36801 36802 if test x"$ac_cv_enable_winapi" = xno; then : 36803 if test "x$ac_cv_func_ioctl" != xyes; then : 36804 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36805$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36806as_fn_error 1 "Missing function: ioctl 36807See \`config.log' for more details" "$LINENO" 5; } 36808 36809fi 36810 36811fi 36812 36813 if test "x$ac_cv_func_lseek" != xyes; then : 36814 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36815$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36816as_fn_error 1 "Missing function: lseek 36817See \`config.log' for more details" "$LINENO" 5; } 36818 36819fi 36820 36821 if test "x$ac_cv_func_open" != xyes; then : 36822 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36823$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36824as_fn_error 1 "Missing function: open 36825See \`config.log' for more details" "$LINENO" 5; } 36826 36827fi 36828 36829 if test "x$ac_cv_func_read" != xyes; then : 36830 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36831$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36832as_fn_error 1 "Missing function: read 36833See \`config.log' for more details" "$LINENO" 5; } 36834 36835fi 36836 36837 if test "x$ac_cv_func_write" != xyes; then : 36838 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36839$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36840as_fn_error 1 "Missing function: write 36841See \`config.log' for more details" "$LINENO" 5; } 36842 36843fi 36844 36845 for ac_func in stat unlink 36846do : 36847 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 36848ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 36849if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 36850 cat >>confdefs.h <<_ACEOF 36851#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 36852_ACEOF 36853 36854fi 36855done 36856 36857 36858 if test "x$ac_cv_func_stat" != xyes; then : 36859 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36860$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36861as_fn_error 1 "Missing function: stat 36862See \`config.log' for more details" "$LINENO" 5; } 36863 36864fi 36865 36866 if test "x$ac_cv_func_unlink" != xyes; then : 36867 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36868$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36869as_fn_error 1 "Missing function: unlink 36870See \`config.log' for more details" "$LINENO" 5; } 36871 36872fi 36873 36874 ac_cv_libcfile_CPPFLAGS="-I../libcfile"; 36875 ac_cv_libcfile_LIBADD="../libcfile/libcfile.la"; 36876 36877 ac_cv_libcfile=local 36878 36879 36880 36881$as_echo "#define HAVE_LOCAL_LIBCFILE 1" >>confdefs.h 36882 36883 HAVE_LOCAL_LIBCFILE=1 36884 36885 36886fi 36887 36888 if test "x$ac_cv_libcfile" = xlocal; then 36889 HAVE_LOCAL_LIBCFILE_TRUE= 36890 HAVE_LOCAL_LIBCFILE_FALSE='#' 36891else 36892 HAVE_LOCAL_LIBCFILE_TRUE='#' 36893 HAVE_LOCAL_LIBCFILE_FALSE= 36894fi 36895 36896 if test "x$ac_cv_libcfile_CPPFLAGS" != "x"; then : 36897 LIBCFILE_CPPFLAGS=$ac_cv_libcfile_CPPFLAGS 36898 36899 36900fi 36901 if test "x$ac_cv_libcfile_LIBADD" != "x"; then : 36902 LIBCFILE_LIBADD=$ac_cv_libcfile_LIBADD 36903 36904 36905fi 36906 36907 if test "x$ac_cv_libcfile" = xyes; then : 36908 ax_libcfile_pc_libs_private=-lcfile 36909 36910 36911fi 36912 36913 if test "x$ac_cv_libcfile" = xyes; then : 36914 ax_libcfile_spec_requires=libcfile 36915 36916 ax_libcfile_spec_build_requires=libcfile-devel 36917 36918 36919fi 36920 36921 36922 36923 36924# Check whether --with-libcpath was given. 36925if test "${with_libcpath+set}" = set; then : 36926 withval=$with_libcpath; ac_cv_with_libcpath=$withval 36927else 36928 ac_cv_with_libcpath=auto-detect 36929fi 36930 36931 { $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 36932$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; } 36933if ${ac_cv_with_libcpath+:} false; then : 36934 $as_echo_n "(cached) " >&6 36935else 36936 ac_cv_with_libcpath=auto-detect 36937fi 36938{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libcpath" >&5 36939$as_echo "$ac_cv_with_libcpath" >&6; } 36940 36941 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libcpath" = xno; then : 36942 ac_cv_libcpath=no 36943else 36944 ac_cv_libcpath=check 36945 if test "x$ac_cv_with_libcpath" != x && test "x$ac_cv_with_libcpath" != xauto-detect; then : 36946 if test -d "$ac_cv_with_libcpath"; then : 36947 CFLAGS="$CFLAGS -I${ac_cv_with_libcpath}/include" 36948 LDFLAGS="$LDFLAGS -L${ac_cv_with_libcpath}/lib" 36949else 36950 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36951$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36952as_fn_error 1 "no such directory: $ac_cv_with_libcpath 36953See \`config.log' for more details" "$LINENO" 5; } 36954 36955fi 36956 36957else 36958 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 36959 36960pkg_failed=no 36961{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath" >&5 36962$as_echo_n "checking for libcpath... " >&6; } 36963 36964if test -n "$libcpath_CFLAGS"; then 36965 pkg_cv_libcpath_CFLAGS="$libcpath_CFLAGS" 36966 elif test -n "$PKG_CONFIG"; then 36967 if test -n "$PKG_CONFIG" && \ 36968 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcpath >= 20180716\""; } >&5 36969 ($PKG_CONFIG --exists --print-errors "libcpath >= 20180716") 2>&5 36970 ac_status=$? 36971 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 36972 test $ac_status = 0; }; then 36973 pkg_cv_libcpath_CFLAGS=`$PKG_CONFIG --cflags "libcpath >= 20180716" 2>/dev/null` 36974 test "x$?" != "x0" && pkg_failed=yes 36975else 36976 pkg_failed=yes 36977fi 36978 else 36979 pkg_failed=untried 36980fi 36981if test -n "$libcpath_LIBS"; then 36982 pkg_cv_libcpath_LIBS="$libcpath_LIBS" 36983 elif test -n "$PKG_CONFIG"; then 36984 if test -n "$PKG_CONFIG" && \ 36985 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcpath >= 20180716\""; } >&5 36986 ($PKG_CONFIG --exists --print-errors "libcpath >= 20180716") 2>&5 36987 ac_status=$? 36988 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 36989 test $ac_status = 0; }; then 36990 pkg_cv_libcpath_LIBS=`$PKG_CONFIG --libs "libcpath >= 20180716" 2>/dev/null` 36991 test "x$?" != "x0" && pkg_failed=yes 36992else 36993 pkg_failed=yes 36994fi 36995 else 36996 pkg_failed=untried 36997fi 36998 36999 37000 37001if test $pkg_failed = yes; then 37002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 37003$as_echo "no" >&6; } 37004 37005if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 37006 _pkg_short_errors_supported=yes 37007else 37008 _pkg_short_errors_supported=no 37009fi 37010 if test $_pkg_short_errors_supported = yes; then 37011 libcpath_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcpath >= 20180716" 2>&1` 37012 else 37013 libcpath_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcpath >= 20180716" 2>&1` 37014 fi 37015 # Put the nasty error message in config.log where it belongs 37016 echo "$libcpath_PKG_ERRORS" >&5 37017 37018 ac_cv_libcpath=check 37019elif test $pkg_failed = untried; then 37020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 37021$as_echo "no" >&6; } 37022 ac_cv_libcpath=check 37023else 37024 libcpath_CFLAGS=$pkg_cv_libcpath_CFLAGS 37025 libcpath_LIBS=$pkg_cv_libcpath_LIBS 37026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 37027$as_echo "yes" >&6; } 37028 ac_cv_libcpath=yes 37029fi 37030 37031fi 37032 if test "x$ac_cv_libcpath" = xyes && test "x$ac_cv_enable_wide_character_type" != xno; then : 37033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libcpath/features.h defines LIBCPATH_HAVE_WIDE_CHARACTER_TYPE as 1" >&5 37034$as_echo_n "checking whether libcpath/features.h defines LIBCPATH_HAVE_WIDE_CHARACTER_TYPE as 1... " >&6; } 37035if ${ac_cv_header_libcpath_features_h_have_wide_character_type+:} false; then : 37036 $as_echo_n "(cached) " >&6 37037else 37038 ac_ext=c 37039ac_cpp='$CPP $CPPFLAGS' 37040ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 37041ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 37042ac_compiler_gnu=$ac_cv_c_compiler_gnu 37043 37044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37045/* end confdefs.h. */ 37046#include <libcpath/features.h> 37047int 37048main () 37049{ 37050#if !defined( LIBCPATH_HAVE_WIDE_CHARACTER_TYPE ) || ( LIBCPATH_HAVE_WIDE_CHARACTER_TYPE != 1 ) 37051#error LIBCPATH_HAVE_WIDE_CHARACTER_TYPE not defined 37052#endif 37053 ; 37054 return 0; 37055} 37056_ACEOF 37057if ac_fn_c_try_compile "$LINENO"; then : 37058 ac_cv_header_libcpath_features_h_have_wide_character_type=yes 37059else 37060 ac_cv_header_libcpath_features_h_have_wide_character_type=no 37061fi 37062rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 37063 ac_ext=c 37064ac_cpp='$CPP $CPPFLAGS' 37065ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 37066ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 37067ac_compiler_gnu=$ac_cv_c_compiler_gnu 37068 37069fi 37070{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_libcpath_features_h_have_wide_character_type" >&5 37071$as_echo "$ac_cv_header_libcpath_features_h_have_wide_character_type" >&6; } 37072 37073 if test "x$ac_cv_header_libcpath_features_h_have_wide_character_type" = xno; then : 37074 ac_cv_libcpath=no 37075fi 37076 37077fi 37078 if test "x$ac_cv_libcpath" = xyes; then : 37079 ac_cv_libcpath_CPPFLAGS="$pkg_cv_libcpath_CFLAGS" 37080 ac_cv_libcpath_LIBADD="$pkg_cv_libcpath_LIBS" 37081fi 37082 37083fi 37084 37085 if test "x$ac_cv_libcpath" = xcheck; then : 37086 for ac_header in libcpath.h 37087do : 37088 ac_fn_c_check_header_mongrel "$LINENO" "libcpath.h" "ac_cv_header_libcpath_h" "$ac_includes_default" 37089if test "x$ac_cv_header_libcpath_h" = xyes; then : 37090 cat >>confdefs.h <<_ACEOF 37091#define HAVE_LIBCPATH_H 1 37092_ACEOF 37093 37094fi 37095 37096done 37097 37098 37099 if test "x$ac_cv_header_libcpath_h" = xno; then : 37100 ac_cv_libcpath=no 37101else 37102 ac_cv_libcpath=yes 37103 37104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_get_version in -lcpath" >&5 37105$as_echo_n "checking for libcpath_get_version in -lcpath... " >&6; } 37106if ${ac_cv_lib_cpath_libcpath_get_version+:} false; then : 37107 $as_echo_n "(cached) " >&6 37108else 37109 ac_check_lib_save_LIBS=$LIBS 37110LIBS="-lcpath $LIBS" 37111cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37112/* end confdefs.h. */ 37113 37114/* Override any GCC internal prototype to avoid an error. 37115 Use char because int might match the return type of a GCC 37116 builtin and then its argument prototype would still apply. */ 37117#ifdef __cplusplus 37118extern "C" 37119#endif 37120char libcpath_get_version (); 37121int 37122main () 37123{ 37124return libcpath_get_version (); 37125 ; 37126 return 0; 37127} 37128_ACEOF 37129if ac_fn_c_try_link "$LINENO"; then : 37130 ac_cv_lib_cpath_libcpath_get_version=yes 37131else 37132 ac_cv_lib_cpath_libcpath_get_version=no 37133fi 37134rm -f core conftest.err conftest.$ac_objext \ 37135 conftest$ac_exeext conftest.$ac_ext 37136LIBS=$ac_check_lib_save_LIBS 37137fi 37138{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_get_version" >&5 37139$as_echo "$ac_cv_lib_cpath_libcpath_get_version" >&6; } 37140if test "x$ac_cv_lib_cpath_libcpath_get_version" = xyes; then : 37141 ac_cv_libcpath_dummy=yes 37142else 37143 ac_cv_libcpath=no 37144fi 37145 37146 37147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_change_directory in -lcpath" >&5 37148$as_echo_n "checking for libcpath_path_change_directory in -lcpath... " >&6; } 37149if ${ac_cv_lib_cpath_libcpath_path_change_directory+:} false; then : 37150 $as_echo_n "(cached) " >&6 37151else 37152 ac_check_lib_save_LIBS=$LIBS 37153LIBS="-lcpath $LIBS" 37154cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37155/* end confdefs.h. */ 37156 37157/* Override any GCC internal prototype to avoid an error. 37158 Use char because int might match the return type of a GCC 37159 builtin and then its argument prototype would still apply. */ 37160#ifdef __cplusplus 37161extern "C" 37162#endif 37163char libcpath_path_change_directory (); 37164int 37165main () 37166{ 37167return libcpath_path_change_directory (); 37168 ; 37169 return 0; 37170} 37171_ACEOF 37172if ac_fn_c_try_link "$LINENO"; then : 37173 ac_cv_lib_cpath_libcpath_path_change_directory=yes 37174else 37175 ac_cv_lib_cpath_libcpath_path_change_directory=no 37176fi 37177rm -f core conftest.err conftest.$ac_objext \ 37178 conftest$ac_exeext conftest.$ac_ext 37179LIBS=$ac_check_lib_save_LIBS 37180fi 37181{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_change_directory" >&5 37182$as_echo "$ac_cv_lib_cpath_libcpath_path_change_directory" >&6; } 37183if test "x$ac_cv_lib_cpath_libcpath_path_change_directory" = xyes; then : 37184 ac_cv_libcpath_dummy=yes 37185else 37186 ac_cv_libcpath=no 37187fi 37188 37189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_current_working_directory in -lcpath" >&5 37190$as_echo_n "checking for libcpath_path_get_current_working_directory in -lcpath... " >&6; } 37191if ${ac_cv_lib_cpath_libcpath_path_get_current_working_directory+:} false; then : 37192 $as_echo_n "(cached) " >&6 37193else 37194 ac_check_lib_save_LIBS=$LIBS 37195LIBS="-lcpath $LIBS" 37196cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37197/* end confdefs.h. */ 37198 37199/* Override any GCC internal prototype to avoid an error. 37200 Use char because int might match the return type of a GCC 37201 builtin and then its argument prototype would still apply. */ 37202#ifdef __cplusplus 37203extern "C" 37204#endif 37205char libcpath_path_get_current_working_directory (); 37206int 37207main () 37208{ 37209return libcpath_path_get_current_working_directory (); 37210 ; 37211 return 0; 37212} 37213_ACEOF 37214if ac_fn_c_try_link "$LINENO"; then : 37215 ac_cv_lib_cpath_libcpath_path_get_current_working_directory=yes 37216else 37217 ac_cv_lib_cpath_libcpath_path_get_current_working_directory=no 37218fi 37219rm -f core conftest.err conftest.$ac_objext \ 37220 conftest$ac_exeext conftest.$ac_ext 37221LIBS=$ac_check_lib_save_LIBS 37222fi 37223{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_current_working_directory" >&5 37224$as_echo "$ac_cv_lib_cpath_libcpath_path_get_current_working_directory" >&6; } 37225if test "x$ac_cv_lib_cpath_libcpath_path_get_current_working_directory" = xyes; then : 37226 ac_cv_libcpath_dummy=yes 37227else 37228 ac_cv_libcpath=no 37229fi 37230 37231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_full_path in -lcpath" >&5 37232$as_echo_n "checking for libcpath_path_get_full_path in -lcpath... " >&6; } 37233if ${ac_cv_lib_cpath_libcpath_path_get_full_path+:} false; then : 37234 $as_echo_n "(cached) " >&6 37235else 37236 ac_check_lib_save_LIBS=$LIBS 37237LIBS="-lcpath $LIBS" 37238cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37239/* end confdefs.h. */ 37240 37241/* Override any GCC internal prototype to avoid an error. 37242 Use char because int might match the return type of a GCC 37243 builtin and then its argument prototype would still apply. */ 37244#ifdef __cplusplus 37245extern "C" 37246#endif 37247char libcpath_path_get_full_path (); 37248int 37249main () 37250{ 37251return libcpath_path_get_full_path (); 37252 ; 37253 return 0; 37254} 37255_ACEOF 37256if ac_fn_c_try_link "$LINENO"; then : 37257 ac_cv_lib_cpath_libcpath_path_get_full_path=yes 37258else 37259 ac_cv_lib_cpath_libcpath_path_get_full_path=no 37260fi 37261rm -f core conftest.err conftest.$ac_objext \ 37262 conftest$ac_exeext conftest.$ac_ext 37263LIBS=$ac_check_lib_save_LIBS 37264fi 37265{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_full_path" >&5 37266$as_echo "$ac_cv_lib_cpath_libcpath_path_get_full_path" >&6; } 37267if test "x$ac_cv_lib_cpath_libcpath_path_get_full_path" = xyes; then : 37268 ac_cv_libcpath_dummy=yes 37269else 37270 ac_cv_libcpath=no 37271fi 37272 37273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_sanitized_filename in -lcpath" >&5 37274$as_echo_n "checking for libcpath_path_get_sanitized_filename in -lcpath... " >&6; } 37275if ${ac_cv_lib_cpath_libcpath_path_get_sanitized_filename+:} false; then : 37276 $as_echo_n "(cached) " >&6 37277else 37278 ac_check_lib_save_LIBS=$LIBS 37279LIBS="-lcpath $LIBS" 37280cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37281/* end confdefs.h. */ 37282 37283/* Override any GCC internal prototype to avoid an error. 37284 Use char because int might match the return type of a GCC 37285 builtin and then its argument prototype would still apply. */ 37286#ifdef __cplusplus 37287extern "C" 37288#endif 37289char libcpath_path_get_sanitized_filename (); 37290int 37291main () 37292{ 37293return libcpath_path_get_sanitized_filename (); 37294 ; 37295 return 0; 37296} 37297_ACEOF 37298if ac_fn_c_try_link "$LINENO"; then : 37299 ac_cv_lib_cpath_libcpath_path_get_sanitized_filename=yes 37300else 37301 ac_cv_lib_cpath_libcpath_path_get_sanitized_filename=no 37302fi 37303rm -f core conftest.err conftest.$ac_objext \ 37304 conftest$ac_exeext conftest.$ac_ext 37305LIBS=$ac_check_lib_save_LIBS 37306fi 37307{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_sanitized_filename" >&5 37308$as_echo "$ac_cv_lib_cpath_libcpath_path_get_sanitized_filename" >&6; } 37309if test "x$ac_cv_lib_cpath_libcpath_path_get_sanitized_filename" = xyes; then : 37310 ac_cv_libcpath_dummy=yes 37311else 37312 ac_cv_libcpath=no 37313fi 37314 37315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_sanitized_path in -lcpath" >&5 37316$as_echo_n "checking for libcpath_path_get_sanitized_path in -lcpath... " >&6; } 37317if ${ac_cv_lib_cpath_libcpath_path_get_sanitized_path+:} false; then : 37318 $as_echo_n "(cached) " >&6 37319else 37320 ac_check_lib_save_LIBS=$LIBS 37321LIBS="-lcpath $LIBS" 37322cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37323/* end confdefs.h. */ 37324 37325/* Override any GCC internal prototype to avoid an error. 37326 Use char because int might match the return type of a GCC 37327 builtin and then its argument prototype would still apply. */ 37328#ifdef __cplusplus 37329extern "C" 37330#endif 37331char libcpath_path_get_sanitized_path (); 37332int 37333main () 37334{ 37335return libcpath_path_get_sanitized_path (); 37336 ; 37337 return 0; 37338} 37339_ACEOF 37340if ac_fn_c_try_link "$LINENO"; then : 37341 ac_cv_lib_cpath_libcpath_path_get_sanitized_path=yes 37342else 37343 ac_cv_lib_cpath_libcpath_path_get_sanitized_path=no 37344fi 37345rm -f core conftest.err conftest.$ac_objext \ 37346 conftest$ac_exeext conftest.$ac_ext 37347LIBS=$ac_check_lib_save_LIBS 37348fi 37349{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_sanitized_path" >&5 37350$as_echo "$ac_cv_lib_cpath_libcpath_path_get_sanitized_path" >&6; } 37351if test "x$ac_cv_lib_cpath_libcpath_path_get_sanitized_path" = xyes; then : 37352 ac_cv_libcpath_dummy=yes 37353else 37354 ac_cv_libcpath=no 37355fi 37356 37357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_join in -lcpath" >&5 37358$as_echo_n "checking for libcpath_path_join in -lcpath... " >&6; } 37359if ${ac_cv_lib_cpath_libcpath_path_join+:} false; then : 37360 $as_echo_n "(cached) " >&6 37361else 37362 ac_check_lib_save_LIBS=$LIBS 37363LIBS="-lcpath $LIBS" 37364cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37365/* end confdefs.h. */ 37366 37367/* Override any GCC internal prototype to avoid an error. 37368 Use char because int might match the return type of a GCC 37369 builtin and then its argument prototype would still apply. */ 37370#ifdef __cplusplus 37371extern "C" 37372#endif 37373char libcpath_path_join (); 37374int 37375main () 37376{ 37377return libcpath_path_join (); 37378 ; 37379 return 0; 37380} 37381_ACEOF 37382if ac_fn_c_try_link "$LINENO"; then : 37383 ac_cv_lib_cpath_libcpath_path_join=yes 37384else 37385 ac_cv_lib_cpath_libcpath_path_join=no 37386fi 37387rm -f core conftest.err conftest.$ac_objext \ 37388 conftest$ac_exeext conftest.$ac_ext 37389LIBS=$ac_check_lib_save_LIBS 37390fi 37391{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_join" >&5 37392$as_echo "$ac_cv_lib_cpath_libcpath_path_join" >&6; } 37393if test "x$ac_cv_lib_cpath_libcpath_path_join" = xyes; then : 37394 ac_cv_libcpath_dummy=yes 37395else 37396 ac_cv_libcpath=no 37397fi 37398 37399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_make_directory in -lcpath" >&5 37400$as_echo_n "checking for libcpath_path_make_directory in -lcpath... " >&6; } 37401if ${ac_cv_lib_cpath_libcpath_path_make_directory+:} false; then : 37402 $as_echo_n "(cached) " >&6 37403else 37404 ac_check_lib_save_LIBS=$LIBS 37405LIBS="-lcpath $LIBS" 37406cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37407/* end confdefs.h. */ 37408 37409/* Override any GCC internal prototype to avoid an error. 37410 Use char because int might match the return type of a GCC 37411 builtin and then its argument prototype would still apply. */ 37412#ifdef __cplusplus 37413extern "C" 37414#endif 37415char libcpath_path_make_directory (); 37416int 37417main () 37418{ 37419return libcpath_path_make_directory (); 37420 ; 37421 return 0; 37422} 37423_ACEOF 37424if ac_fn_c_try_link "$LINENO"; then : 37425 ac_cv_lib_cpath_libcpath_path_make_directory=yes 37426else 37427 ac_cv_lib_cpath_libcpath_path_make_directory=no 37428fi 37429rm -f core conftest.err conftest.$ac_objext \ 37430 conftest$ac_exeext conftest.$ac_ext 37431LIBS=$ac_check_lib_save_LIBS 37432fi 37433{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_make_directory" >&5 37434$as_echo "$ac_cv_lib_cpath_libcpath_path_make_directory" >&6; } 37435if test "x$ac_cv_lib_cpath_libcpath_path_make_directory" = xyes; then : 37436 ac_cv_libcpath_dummy=yes 37437else 37438 ac_cv_libcpath=no 37439fi 37440 37441 37442 if test "x$ac_cv_enable_wide_character_type" != xno; then : 37443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_change_directory_wide in -lcpath" >&5 37444$as_echo_n "checking for libcpath_path_change_directory_wide in -lcpath... " >&6; } 37445if ${ac_cv_lib_cpath_libcpath_path_change_directory_wide+:} false; then : 37446 $as_echo_n "(cached) " >&6 37447else 37448 ac_check_lib_save_LIBS=$LIBS 37449LIBS="-lcpath $LIBS" 37450cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37451/* end confdefs.h. */ 37452 37453/* Override any GCC internal prototype to avoid an error. 37454 Use char because int might match the return type of a GCC 37455 builtin and then its argument prototype would still apply. */ 37456#ifdef __cplusplus 37457extern "C" 37458#endif 37459char libcpath_path_change_directory_wide (); 37460int 37461main () 37462{ 37463return libcpath_path_change_directory_wide (); 37464 ; 37465 return 0; 37466} 37467_ACEOF 37468if ac_fn_c_try_link "$LINENO"; then : 37469 ac_cv_lib_cpath_libcpath_path_change_directory_wide=yes 37470else 37471 ac_cv_lib_cpath_libcpath_path_change_directory_wide=no 37472fi 37473rm -f core conftest.err conftest.$ac_objext \ 37474 conftest$ac_exeext conftest.$ac_ext 37475LIBS=$ac_check_lib_save_LIBS 37476fi 37477{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_change_directory_wide" >&5 37478$as_echo "$ac_cv_lib_cpath_libcpath_path_change_directory_wide" >&6; } 37479if test "x$ac_cv_lib_cpath_libcpath_path_change_directory_wide" = xyes; then : 37480 ac_cv_libcpath_dummy=yes 37481else 37482 ac_cv_libcpath=no 37483fi 37484 37485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_current_working_directory_wide in -lcpath" >&5 37486$as_echo_n "checking for libcpath_path_get_current_working_directory_wide in -lcpath... " >&6; } 37487if ${ac_cv_lib_cpath_libcpath_path_get_current_working_directory_wide+:} false; then : 37488 $as_echo_n "(cached) " >&6 37489else 37490 ac_check_lib_save_LIBS=$LIBS 37491LIBS="-lcpath $LIBS" 37492cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37493/* end confdefs.h. */ 37494 37495/* Override any GCC internal prototype to avoid an error. 37496 Use char because int might match the return type of a GCC 37497 builtin and then its argument prototype would still apply. */ 37498#ifdef __cplusplus 37499extern "C" 37500#endif 37501char libcpath_path_get_current_working_directory_wide (); 37502int 37503main () 37504{ 37505return libcpath_path_get_current_working_directory_wide (); 37506 ; 37507 return 0; 37508} 37509_ACEOF 37510if ac_fn_c_try_link "$LINENO"; then : 37511 ac_cv_lib_cpath_libcpath_path_get_current_working_directory_wide=yes 37512else 37513 ac_cv_lib_cpath_libcpath_path_get_current_working_directory_wide=no 37514fi 37515rm -f core conftest.err conftest.$ac_objext \ 37516 conftest$ac_exeext conftest.$ac_ext 37517LIBS=$ac_check_lib_save_LIBS 37518fi 37519{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_current_working_directory_wide" >&5 37520$as_echo "$ac_cv_lib_cpath_libcpath_path_get_current_working_directory_wide" >&6; } 37521if test "x$ac_cv_lib_cpath_libcpath_path_get_current_working_directory_wide" = xyes; then : 37522 ac_cv_libcpath_dummy=yes 37523else 37524 ac_cv_libcpath=no 37525fi 37526 37527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_full_path_wide in -lcpath" >&5 37528$as_echo_n "checking for libcpath_path_get_full_path_wide in -lcpath... " >&6; } 37529if ${ac_cv_lib_cpath_libcpath_path_get_full_path_wide+:} false; then : 37530 $as_echo_n "(cached) " >&6 37531else 37532 ac_check_lib_save_LIBS=$LIBS 37533LIBS="-lcpath $LIBS" 37534cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37535/* end confdefs.h. */ 37536 37537/* Override any GCC internal prototype to avoid an error. 37538 Use char because int might match the return type of a GCC 37539 builtin and then its argument prototype would still apply. */ 37540#ifdef __cplusplus 37541extern "C" 37542#endif 37543char libcpath_path_get_full_path_wide (); 37544int 37545main () 37546{ 37547return libcpath_path_get_full_path_wide (); 37548 ; 37549 return 0; 37550} 37551_ACEOF 37552if ac_fn_c_try_link "$LINENO"; then : 37553 ac_cv_lib_cpath_libcpath_path_get_full_path_wide=yes 37554else 37555 ac_cv_lib_cpath_libcpath_path_get_full_path_wide=no 37556fi 37557rm -f core conftest.err conftest.$ac_objext \ 37558 conftest$ac_exeext conftest.$ac_ext 37559LIBS=$ac_check_lib_save_LIBS 37560fi 37561{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_full_path_wide" >&5 37562$as_echo "$ac_cv_lib_cpath_libcpath_path_get_full_path_wide" >&6; } 37563if test "x$ac_cv_lib_cpath_libcpath_path_get_full_path_wide" = xyes; then : 37564 ac_cv_libcpath_dummy=yes 37565else 37566 ac_cv_libcpath=no 37567fi 37568 37569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_sanitized_filename_wide in -lcpath" >&5 37570$as_echo_n "checking for libcpath_path_get_sanitized_filename_wide in -lcpath... " >&6; } 37571if ${ac_cv_lib_cpath_libcpath_path_get_sanitized_filename_wide+:} false; then : 37572 $as_echo_n "(cached) " >&6 37573else 37574 ac_check_lib_save_LIBS=$LIBS 37575LIBS="-lcpath $LIBS" 37576cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37577/* end confdefs.h. */ 37578 37579/* Override any GCC internal prototype to avoid an error. 37580 Use char because int might match the return type of a GCC 37581 builtin and then its argument prototype would still apply. */ 37582#ifdef __cplusplus 37583extern "C" 37584#endif 37585char libcpath_path_get_sanitized_filename_wide (); 37586int 37587main () 37588{ 37589return libcpath_path_get_sanitized_filename_wide (); 37590 ; 37591 return 0; 37592} 37593_ACEOF 37594if ac_fn_c_try_link "$LINENO"; then : 37595 ac_cv_lib_cpath_libcpath_path_get_sanitized_filename_wide=yes 37596else 37597 ac_cv_lib_cpath_libcpath_path_get_sanitized_filename_wide=no 37598fi 37599rm -f core conftest.err conftest.$ac_objext \ 37600 conftest$ac_exeext conftest.$ac_ext 37601LIBS=$ac_check_lib_save_LIBS 37602fi 37603{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_sanitized_filename_wide" >&5 37604$as_echo "$ac_cv_lib_cpath_libcpath_path_get_sanitized_filename_wide" >&6; } 37605if test "x$ac_cv_lib_cpath_libcpath_path_get_sanitized_filename_wide" = xyes; then : 37606 ac_cv_libcpath_dummy=yes 37607else 37608 ac_cv_libcpath=no 37609fi 37610 37611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_sanitized_path_wide in -lcpath" >&5 37612$as_echo_n "checking for libcpath_path_get_sanitized_path_wide in -lcpath... " >&6; } 37613if ${ac_cv_lib_cpath_libcpath_path_get_sanitized_path_wide+:} false; then : 37614 $as_echo_n "(cached) " >&6 37615else 37616 ac_check_lib_save_LIBS=$LIBS 37617LIBS="-lcpath $LIBS" 37618cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37619/* end confdefs.h. */ 37620 37621/* Override any GCC internal prototype to avoid an error. 37622 Use char because int might match the return type of a GCC 37623 builtin and then its argument prototype would still apply. */ 37624#ifdef __cplusplus 37625extern "C" 37626#endif 37627char libcpath_path_get_sanitized_path_wide (); 37628int 37629main () 37630{ 37631return libcpath_path_get_sanitized_path_wide (); 37632 ; 37633 return 0; 37634} 37635_ACEOF 37636if ac_fn_c_try_link "$LINENO"; then : 37637 ac_cv_lib_cpath_libcpath_path_get_sanitized_path_wide=yes 37638else 37639 ac_cv_lib_cpath_libcpath_path_get_sanitized_path_wide=no 37640fi 37641rm -f core conftest.err conftest.$ac_objext \ 37642 conftest$ac_exeext conftest.$ac_ext 37643LIBS=$ac_check_lib_save_LIBS 37644fi 37645{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_sanitized_path_wide" >&5 37646$as_echo "$ac_cv_lib_cpath_libcpath_path_get_sanitized_path_wide" >&6; } 37647if test "x$ac_cv_lib_cpath_libcpath_path_get_sanitized_path_wide" = xyes; then : 37648 ac_cv_libcpath_dummy=yes 37649else 37650 ac_cv_libcpath=no 37651fi 37652 37653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_join_wide in -lcpath" >&5 37654$as_echo_n "checking for libcpath_path_join_wide in -lcpath... " >&6; } 37655if ${ac_cv_lib_cpath_libcpath_path_join_wide+:} false; then : 37656 $as_echo_n "(cached) " >&6 37657else 37658 ac_check_lib_save_LIBS=$LIBS 37659LIBS="-lcpath $LIBS" 37660cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37661/* end confdefs.h. */ 37662 37663/* Override any GCC internal prototype to avoid an error. 37664 Use char because int might match the return type of a GCC 37665 builtin and then its argument prototype would still apply. */ 37666#ifdef __cplusplus 37667extern "C" 37668#endif 37669char libcpath_path_join_wide (); 37670int 37671main () 37672{ 37673return libcpath_path_join_wide (); 37674 ; 37675 return 0; 37676} 37677_ACEOF 37678if ac_fn_c_try_link "$LINENO"; then : 37679 ac_cv_lib_cpath_libcpath_path_join_wide=yes 37680else 37681 ac_cv_lib_cpath_libcpath_path_join_wide=no 37682fi 37683rm -f core conftest.err conftest.$ac_objext \ 37684 conftest$ac_exeext conftest.$ac_ext 37685LIBS=$ac_check_lib_save_LIBS 37686fi 37687{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_join_wide" >&5 37688$as_echo "$ac_cv_lib_cpath_libcpath_path_join_wide" >&6; } 37689if test "x$ac_cv_lib_cpath_libcpath_path_join_wide" = xyes; then : 37690 ac_cv_libcpath_dummy=yes 37691else 37692 ac_cv_libcpath=no 37693fi 37694 37695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_make_directory_wide in -lcpath" >&5 37696$as_echo_n "checking for libcpath_path_make_directory_wide in -lcpath... " >&6; } 37697if ${ac_cv_lib_cpath_libcpath_path_make_directory_wide+:} false; then : 37698 $as_echo_n "(cached) " >&6 37699else 37700 ac_check_lib_save_LIBS=$LIBS 37701LIBS="-lcpath $LIBS" 37702cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37703/* end confdefs.h. */ 37704 37705/* Override any GCC internal prototype to avoid an error. 37706 Use char because int might match the return type of a GCC 37707 builtin and then its argument prototype would still apply. */ 37708#ifdef __cplusplus 37709extern "C" 37710#endif 37711char libcpath_path_make_directory_wide (); 37712int 37713main () 37714{ 37715return libcpath_path_make_directory_wide (); 37716 ; 37717 return 0; 37718} 37719_ACEOF 37720if ac_fn_c_try_link "$LINENO"; then : 37721 ac_cv_lib_cpath_libcpath_path_make_directory_wide=yes 37722else 37723 ac_cv_lib_cpath_libcpath_path_make_directory_wide=no 37724fi 37725rm -f core conftest.err conftest.$ac_objext \ 37726 conftest$ac_exeext conftest.$ac_ext 37727LIBS=$ac_check_lib_save_LIBS 37728fi 37729{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_make_directory_wide" >&5 37730$as_echo "$ac_cv_lib_cpath_libcpath_path_make_directory_wide" >&6; } 37731if test "x$ac_cv_lib_cpath_libcpath_path_make_directory_wide" = xyes; then : 37732 ac_cv_libcpath_dummy=yes 37733else 37734 ac_cv_libcpath=no 37735fi 37736 37737 37738fi 37739 37740 ac_cv_libcpath_LIBADD="-lcpath" 37741fi 37742 37743fi 37744 if test "x$ac_cv_with_libcpath" != x && test "x$ac_cv_with_libcpath" != xauto-detect && test "x$ac_cv_libcpath" != xyes; then : 37745 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 37746$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 37747as_fn_error 1 "unable to find supported libcpath in directory: $ac_cv_with_libcpath 37748See \`config.log' for more details" "$LINENO" 5; } 37749 37750fi 37751 37752fi 37753 37754 if test "x$ac_cv_libcpath" = xyes; then : 37755 37756$as_echo "#define HAVE_LIBCPATH 1" >>confdefs.h 37757 37758 37759fi 37760 37761 if test "x$ac_cv_libcpath" = xyes; then : 37762 HAVE_LIBCPATH=1 37763 37764else 37765 HAVE_LIBCPATH=0 37766 37767 37768fi 37769 37770 37771 if test "x$ac_cv_libcpath" != xyes; then : 37772 for ac_header in errno.h sys/stat.h sys/syslimits.h 37773do : 37774 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 37775ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 37776if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 37777 cat >>confdefs.h <<_ACEOF 37778#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 37779_ACEOF 37780 37781fi 37782 37783done 37784 37785 37786 for ac_func in chdir getcwd 37787do : 37788 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 37789ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 37790if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 37791 cat >>confdefs.h <<_ACEOF 37792#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 37793_ACEOF 37794 37795fi 37796done 37797 37798 37799 if test "x$ac_cv_func_chdir" != xyes; then : 37800 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 37801$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 37802as_fn_error 1 "Missing functions: chdir 37803See \`config.log' for more details" "$LINENO" 5; } 37804 37805fi 37806 37807 if test "x$ac_cv_func_getcwd" != xyes; then : 37808 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 37809$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 37810as_fn_error 1 "Missing functions: getcwd 37811See \`config.log' for more details" "$LINENO" 5; } 37812 37813fi 37814 37815 for ac_func in mkdir 37816do : 37817 ac_fn_c_check_func "$LINENO" "mkdir" "ac_cv_func_mkdir" 37818if test "x$ac_cv_func_mkdir" = xyes; then : 37819 cat >>confdefs.h <<_ACEOF 37820#define HAVE_MKDIR 1 37821_ACEOF 37822 37823fi 37824done 37825 37826 37827 if test "x$ac_cv_func_mkdir" = xyes; then : 37828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to use mkdir" >&5 37829$as_echo_n "checking how to use mkdir... " >&6; } 37830 37831 SAVE_CFLAGS="$CFLAGS" 37832 CFLAGS="$CFLAGS -Wall -Werror" 37833 ac_ext=c 37834ac_cpp='$CPP $CPPFLAGS' 37835ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 37836ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 37837ac_compiler_gnu=$ac_cv_c_compiler_gnu 37838 37839 37840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37841/* end confdefs.h. */ 37842#include <sys/stat.h> 37843#include <sys/types.h> 37844int 37845main () 37846{ 37847mkdir( "", 0 ) 37848 ; 37849 return 0; 37850} 37851_ACEOF 37852if ac_fn_c_try_link "$LINENO"; then : 37853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: with additional mode argument" >&5 37854$as_echo "with additional mode argument" >&6; } 37855 ac_cv_cv_mkdir_mode=yes 37856else 37857 ac_cv_cv_mkdir_mode=no 37858fi 37859rm -f core conftest.err conftest.$ac_objext \ 37860 conftest$ac_exeext conftest.$ac_ext 37861 37862 if test "x$ac_cv_cv_mkdir_mode" = xno; then : 37863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37864/* end confdefs.h. */ 37865#include <io.h> 37866int 37867main () 37868{ 37869mkdir( "" ) 37870 ; 37871 return 0; 37872} 37873_ACEOF 37874if ac_fn_c_try_link "$LINENO"; then : 37875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: with single argument" >&5 37876$as_echo "with single argument" >&6; } 37877 ac_cv_cv_mkdir=yes 37878else 37879 ac_cv_cv_mkdir=no 37880fi 37881rm -f core conftest.err conftest.$ac_objext \ 37882 conftest$ac_exeext conftest.$ac_ext 37883 37884fi 37885 37886 ac_ext=c 37887ac_cpp='$CPP $CPPFLAGS' 37888ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 37889ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 37890ac_compiler_gnu=$ac_cv_c_compiler_gnu 37891 37892 CFLAGS="$SAVE_CFLAGS" 37893 37894 if test "x$ac_cv_cv_mkdir_mode" = xno && test "x$ac_cv_cv_mkdir" = xno; then : 37895 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unknown" >&5 37896$as_echo "$as_me: WARNING: unknown" >&2;} 37897 ac_cv_func_mkdir=no 37898fi 37899 37900 if test "x$ac_cv_func_mkdir" = xyes; then : 37901 37902$as_echo "#define HAVE_MKDIR 1" >>confdefs.h 37903 37904 37905fi 37906 37907 if test "x$ac_cv_cv_mkdir_mode" = xyes; then : 37908 37909$as_echo "#define HAVE_MKDIR_MODE 1" >>confdefs.h 37910 37911 37912fi 37913 37914fi 37915 37916 if test "x$ac_cv_func_mkdir" = xno; then : 37917 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 37918$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 37919as_fn_error 1 "Missing function: mkdir 37920See \`config.log' for more details" "$LINENO" 5; } 37921 37922fi 37923 37924 37925 ac_cv_libcpath_CPPFLAGS="-I../libcpath"; 37926 ac_cv_libcpath_LIBADD="../libcpath/libcpath.la"; 37927 37928 ac_cv_libcpath=local 37929 37930 37931 37932$as_echo "#define HAVE_LOCAL_LIBCPATH 1" >>confdefs.h 37933 37934 HAVE_LOCAL_LIBCPATH=1 37935 37936 37937fi 37938 37939 if test "x$ac_cv_libcpath" = xlocal; then 37940 HAVE_LOCAL_LIBCPATH_TRUE= 37941 HAVE_LOCAL_LIBCPATH_FALSE='#' 37942else 37943 HAVE_LOCAL_LIBCPATH_TRUE='#' 37944 HAVE_LOCAL_LIBCPATH_FALSE= 37945fi 37946 37947 if test "x$ac_cv_libcpath_CPPFLAGS" != "x"; then : 37948 LIBCPATH_CPPFLAGS=$ac_cv_libcpath_CPPFLAGS 37949 37950 37951fi 37952 if test "x$ac_cv_libcpath_LIBADD" != "x"; then : 37953 LIBCPATH_LIBADD=$ac_cv_libcpath_LIBADD 37954 37955 37956fi 37957 37958 if test "x$ac_cv_libcpath" = xyes; then : 37959 ax_libcpath_pc_libs_private=-lcpath 37960 37961 37962fi 37963 37964 if test "x$ac_cv_libcpath" = xyes; then : 37965 ax_libcpath_spec_requires=libcpath 37966 37967 ax_libcpath_spec_build_requires=libcpath-devel 37968 37969 37970fi 37971 37972 37973 37974 37975# Check whether --with-libbfio was given. 37976if test "${with_libbfio+set}" = set; then : 37977 withval=$with_libbfio; ac_cv_with_libbfio=$withval 37978else 37979 ac_cv_with_libbfio=auto-detect 37980fi 37981 37982 { $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 37983$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; } 37984if ${ac_cv_with_libbfio+:} false; then : 37985 $as_echo_n "(cached) " >&6 37986else 37987 ac_cv_with_libbfio=auto-detect 37988fi 37989{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libbfio" >&5 37990$as_echo "$ac_cv_with_libbfio" >&6; } 37991 37992 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libbfio" = xno; then : 37993 ac_cv_libbfio=no 37994else 37995 ac_cv_libbfio=check 37996 if test "x$ac_cv_with_libbfio" != x && test "x$ac_cv_with_libbfio" != xauto-detect; then : 37997 if test -d "$ac_cv_with_libbfio"; then : 37998 CFLAGS="$CFLAGS -I${ac_cv_with_libbfio}/include" 37999 LDFLAGS="$LDFLAGS -L${ac_cv_with_libbfio}/lib" 38000else 38001 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 38002$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 38003as_fn_error 1 "no such directory: $ac_cv_with_libbfio 38004See \`config.log' for more details" "$LINENO" 5; } 38005 38006fi 38007 38008else 38009 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 38010 38011pkg_failed=no 38012{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio" >&5 38013$as_echo_n "checking for libbfio... " >&6; } 38014 38015if test -n "$libbfio_CFLAGS"; then 38016 pkg_cv_libbfio_CFLAGS="$libbfio_CFLAGS" 38017 elif test -n "$PKG_CONFIG"; then 38018 if test -n "$PKG_CONFIG" && \ 38019 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libbfio >= 20201125\""; } >&5 38020 ($PKG_CONFIG --exists --print-errors "libbfio >= 20201125") 2>&5 38021 ac_status=$? 38022 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 38023 test $ac_status = 0; }; then 38024 pkg_cv_libbfio_CFLAGS=`$PKG_CONFIG --cflags "libbfio >= 20201125" 2>/dev/null` 38025 test "x$?" != "x0" && pkg_failed=yes 38026else 38027 pkg_failed=yes 38028fi 38029 else 38030 pkg_failed=untried 38031fi 38032if test -n "$libbfio_LIBS"; then 38033 pkg_cv_libbfio_LIBS="$libbfio_LIBS" 38034 elif test -n "$PKG_CONFIG"; then 38035 if test -n "$PKG_CONFIG" && \ 38036 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libbfio >= 20201125\""; } >&5 38037 ($PKG_CONFIG --exists --print-errors "libbfio >= 20201125") 2>&5 38038 ac_status=$? 38039 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 38040 test $ac_status = 0; }; then 38041 pkg_cv_libbfio_LIBS=`$PKG_CONFIG --libs "libbfio >= 20201125" 2>/dev/null` 38042 test "x$?" != "x0" && pkg_failed=yes 38043else 38044 pkg_failed=yes 38045fi 38046 else 38047 pkg_failed=untried 38048fi 38049 38050 38051 38052if test $pkg_failed = yes; then 38053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 38054$as_echo "no" >&6; } 38055 38056if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 38057 _pkg_short_errors_supported=yes 38058else 38059 _pkg_short_errors_supported=no 38060fi 38061 if test $_pkg_short_errors_supported = yes; then 38062 libbfio_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libbfio >= 20201125" 2>&1` 38063 else 38064 libbfio_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libbfio >= 20201125" 2>&1` 38065 fi 38066 # Put the nasty error message in config.log where it belongs 38067 echo "$libbfio_PKG_ERRORS" >&5 38068 38069 ac_cv_libbfio=check 38070elif test $pkg_failed = untried; then 38071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 38072$as_echo "no" >&6; } 38073 ac_cv_libbfio=check 38074else 38075 libbfio_CFLAGS=$pkg_cv_libbfio_CFLAGS 38076 libbfio_LIBS=$pkg_cv_libbfio_LIBS 38077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 38078$as_echo "yes" >&6; } 38079 ac_cv_libbfio=yes 38080fi 38081 38082fi 38083 if test "x$ac_cv_libbfio" = xyes && test "x$ac_cv_enable_wide_character_type" != xno; then : 38084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libbfio/features.h defines LIBBFIO_HAVE_WIDE_CHARACTER_TYPE as 1" >&5 38085$as_echo_n "checking whether libbfio/features.h defines LIBBFIO_HAVE_WIDE_CHARACTER_TYPE as 1... " >&6; } 38086if ${ac_cv_header_libbfio_features_h_have_wide_character_type+:} false; then : 38087 $as_echo_n "(cached) " >&6 38088else 38089 ac_ext=c 38090ac_cpp='$CPP $CPPFLAGS' 38091ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 38092ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 38093ac_compiler_gnu=$ac_cv_c_compiler_gnu 38094 38095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38096/* end confdefs.h. */ 38097#include <libbfio/features.h> 38098int 38099main () 38100{ 38101#if !defined( LIBBFIO_HAVE_WIDE_CHARACTER_TYPE ) || ( LIBBFIO_HAVE_WIDE_CHARACTER_TYPE != 1 ) 38102#error LIBBFIO_HAVE_WIDE_CHARACTER_TYPE not defined 38103#endif 38104 ; 38105 return 0; 38106} 38107_ACEOF 38108if ac_fn_c_try_compile "$LINENO"; then : 38109 ac_cv_header_libbfio_features_h_have_wide_character_type=yes 38110else 38111 ac_cv_header_libbfio_features_h_have_wide_character_type=no 38112fi 38113rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 38114 ac_ext=c 38115ac_cpp='$CPP $CPPFLAGS' 38116ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 38117ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 38118ac_compiler_gnu=$ac_cv_c_compiler_gnu 38119 38120fi 38121{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_libbfio_features_h_have_wide_character_type" >&5 38122$as_echo "$ac_cv_header_libbfio_features_h_have_wide_character_type" >&6; } 38123 38124 if test "x$ac_cv_header_libbfio_features_h_have_wide_character_type" = xno; then : 38125 ac_cv_libbfio=no 38126fi 38127 38128fi 38129 if test "x$ac_cv_libbfio" = xyes; then : 38130 ac_cv_libbfio_CPPFLAGS="$pkg_cv_libbfio_CFLAGS" 38131 ac_cv_libbfio_LIBADD="$pkg_cv_libbfio_LIBS" 38132fi 38133 38134fi 38135 38136 if test "x$ac_cv_libbfio" = xcheck; then : 38137 for ac_header in libbfio.h 38138do : 38139 ac_fn_c_check_header_mongrel "$LINENO" "libbfio.h" "ac_cv_header_libbfio_h" "$ac_includes_default" 38140if test "x$ac_cv_header_libbfio_h" = xyes; then : 38141 cat >>confdefs.h <<_ACEOF 38142#define HAVE_LIBBFIO_H 1 38143_ACEOF 38144 38145fi 38146 38147done 38148 38149 38150 if test "x$ac_cv_header_libbfio_h" = xno; then : 38151 ac_cv_libbfio=no 38152else 38153 ac_cv_libbfio=yes 38154 38155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_get_version in -lbfio" >&5 38156$as_echo_n "checking for libbfio_get_version in -lbfio... " >&6; } 38157if ${ac_cv_lib_bfio_libbfio_get_version+:} false; then : 38158 $as_echo_n "(cached) " >&6 38159else 38160 ac_check_lib_save_LIBS=$LIBS 38161LIBS="-lbfio $LIBS" 38162cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38163/* end confdefs.h. */ 38164 38165/* Override any GCC internal prototype to avoid an error. 38166 Use char because int might match the return type of a GCC 38167 builtin and then its argument prototype would still apply. */ 38168#ifdef __cplusplus 38169extern "C" 38170#endif 38171char libbfio_get_version (); 38172int 38173main () 38174{ 38175return libbfio_get_version (); 38176 ; 38177 return 0; 38178} 38179_ACEOF 38180if ac_fn_c_try_link "$LINENO"; then : 38181 ac_cv_lib_bfio_libbfio_get_version=yes 38182else 38183 ac_cv_lib_bfio_libbfio_get_version=no 38184fi 38185rm -f core conftest.err conftest.$ac_objext \ 38186 conftest$ac_exeext conftest.$ac_ext 38187LIBS=$ac_check_lib_save_LIBS 38188fi 38189{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_get_version" >&5 38190$as_echo "$ac_cv_lib_bfio_libbfio_get_version" >&6; } 38191if test "x$ac_cv_lib_bfio_libbfio_get_version" = xyes; then : 38192 ac_cv_libbfio_dummy=yes 38193else 38194 ac_cv_libbfio=no 38195fi 38196 38197 38198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_free in -lbfio" >&5 38199$as_echo_n "checking for libbfio_handle_free in -lbfio... " >&6; } 38200if ${ac_cv_lib_bfio_libbfio_handle_free+:} false; then : 38201 $as_echo_n "(cached) " >&6 38202else 38203 ac_check_lib_save_LIBS=$LIBS 38204LIBS="-lbfio $LIBS" 38205cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38206/* end confdefs.h. */ 38207 38208/* Override any GCC internal prototype to avoid an error. 38209 Use char because int might match the return type of a GCC 38210 builtin and then its argument prototype would still apply. */ 38211#ifdef __cplusplus 38212extern "C" 38213#endif 38214char libbfio_handle_free (); 38215int 38216main () 38217{ 38218return libbfio_handle_free (); 38219 ; 38220 return 0; 38221} 38222_ACEOF 38223if ac_fn_c_try_link "$LINENO"; then : 38224 ac_cv_lib_bfio_libbfio_handle_free=yes 38225else 38226 ac_cv_lib_bfio_libbfio_handle_free=no 38227fi 38228rm -f core conftest.err conftest.$ac_objext \ 38229 conftest$ac_exeext conftest.$ac_ext 38230LIBS=$ac_check_lib_save_LIBS 38231fi 38232{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_free" >&5 38233$as_echo "$ac_cv_lib_bfio_libbfio_handle_free" >&6; } 38234if test "x$ac_cv_lib_bfio_libbfio_handle_free" = xyes; then : 38235 ac_cv_libbfio_dummy=yes 38236else 38237 ac_cv_libbfio=no 38238fi 38239 38240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_open in -lbfio" >&5 38241$as_echo_n "checking for libbfio_handle_open in -lbfio... " >&6; } 38242if ${ac_cv_lib_bfio_libbfio_handle_open+:} false; then : 38243 $as_echo_n "(cached) " >&6 38244else 38245 ac_check_lib_save_LIBS=$LIBS 38246LIBS="-lbfio $LIBS" 38247cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38248/* end confdefs.h. */ 38249 38250/* Override any GCC internal prototype to avoid an error. 38251 Use char because int might match the return type of a GCC 38252 builtin and then its argument prototype would still apply. */ 38253#ifdef __cplusplus 38254extern "C" 38255#endif 38256char libbfio_handle_open (); 38257int 38258main () 38259{ 38260return libbfio_handle_open (); 38261 ; 38262 return 0; 38263} 38264_ACEOF 38265if ac_fn_c_try_link "$LINENO"; then : 38266 ac_cv_lib_bfio_libbfio_handle_open=yes 38267else 38268 ac_cv_lib_bfio_libbfio_handle_open=no 38269fi 38270rm -f core conftest.err conftest.$ac_objext \ 38271 conftest$ac_exeext conftest.$ac_ext 38272LIBS=$ac_check_lib_save_LIBS 38273fi 38274{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_open" >&5 38275$as_echo "$ac_cv_lib_bfio_libbfio_handle_open" >&6; } 38276if test "x$ac_cv_lib_bfio_libbfio_handle_open" = xyes; then : 38277 ac_cv_libbfio_dummy=yes 38278else 38279 ac_cv_libbfio=no 38280fi 38281 38282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_close in -lbfio" >&5 38283$as_echo_n "checking for libbfio_handle_close in -lbfio... " >&6; } 38284if ${ac_cv_lib_bfio_libbfio_handle_close+:} false; then : 38285 $as_echo_n "(cached) " >&6 38286else 38287 ac_check_lib_save_LIBS=$LIBS 38288LIBS="-lbfio $LIBS" 38289cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38290/* end confdefs.h. */ 38291 38292/* Override any GCC internal prototype to avoid an error. 38293 Use char because int might match the return type of a GCC 38294 builtin and then its argument prototype would still apply. */ 38295#ifdef __cplusplus 38296extern "C" 38297#endif 38298char libbfio_handle_close (); 38299int 38300main () 38301{ 38302return libbfio_handle_close (); 38303 ; 38304 return 0; 38305} 38306_ACEOF 38307if ac_fn_c_try_link "$LINENO"; then : 38308 ac_cv_lib_bfio_libbfio_handle_close=yes 38309else 38310 ac_cv_lib_bfio_libbfio_handle_close=no 38311fi 38312rm -f core conftest.err conftest.$ac_objext \ 38313 conftest$ac_exeext conftest.$ac_ext 38314LIBS=$ac_check_lib_save_LIBS 38315fi 38316{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_close" >&5 38317$as_echo "$ac_cv_lib_bfio_libbfio_handle_close" >&6; } 38318if test "x$ac_cv_lib_bfio_libbfio_handle_close" = xyes; then : 38319 ac_cv_libbfio_dummy=yes 38320else 38321 ac_cv_libbfio=no 38322fi 38323 38324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_exists in -lbfio" >&5 38325$as_echo_n "checking for libbfio_handle_exists in -lbfio... " >&6; } 38326if ${ac_cv_lib_bfio_libbfio_handle_exists+:} false; then : 38327 $as_echo_n "(cached) " >&6 38328else 38329 ac_check_lib_save_LIBS=$LIBS 38330LIBS="-lbfio $LIBS" 38331cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38332/* end confdefs.h. */ 38333 38334/* Override any GCC internal prototype to avoid an error. 38335 Use char because int might match the return type of a GCC 38336 builtin and then its argument prototype would still apply. */ 38337#ifdef __cplusplus 38338extern "C" 38339#endif 38340char libbfio_handle_exists (); 38341int 38342main () 38343{ 38344return libbfio_handle_exists (); 38345 ; 38346 return 0; 38347} 38348_ACEOF 38349if ac_fn_c_try_link "$LINENO"; then : 38350 ac_cv_lib_bfio_libbfio_handle_exists=yes 38351else 38352 ac_cv_lib_bfio_libbfio_handle_exists=no 38353fi 38354rm -f core conftest.err conftest.$ac_objext \ 38355 conftest$ac_exeext conftest.$ac_ext 38356LIBS=$ac_check_lib_save_LIBS 38357fi 38358{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_exists" >&5 38359$as_echo "$ac_cv_lib_bfio_libbfio_handle_exists" >&6; } 38360if test "x$ac_cv_lib_bfio_libbfio_handle_exists" = xyes; then : 38361 ac_cv_libbfio_dummy=yes 38362else 38363 ac_cv_libbfio=no 38364fi 38365 38366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_read_buffer in -lbfio" >&5 38367$as_echo_n "checking for libbfio_handle_read_buffer in -lbfio... " >&6; } 38368if ${ac_cv_lib_bfio_libbfio_handle_read_buffer+:} false; then : 38369 $as_echo_n "(cached) " >&6 38370else 38371 ac_check_lib_save_LIBS=$LIBS 38372LIBS="-lbfio $LIBS" 38373cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38374/* end confdefs.h. */ 38375 38376/* Override any GCC internal prototype to avoid an error. 38377 Use char because int might match the return type of a GCC 38378 builtin and then its argument prototype would still apply. */ 38379#ifdef __cplusplus 38380extern "C" 38381#endif 38382char libbfio_handle_read_buffer (); 38383int 38384main () 38385{ 38386return libbfio_handle_read_buffer (); 38387 ; 38388 return 0; 38389} 38390_ACEOF 38391if ac_fn_c_try_link "$LINENO"; then : 38392 ac_cv_lib_bfio_libbfio_handle_read_buffer=yes 38393else 38394 ac_cv_lib_bfio_libbfio_handle_read_buffer=no 38395fi 38396rm -f core conftest.err conftest.$ac_objext \ 38397 conftest$ac_exeext conftest.$ac_ext 38398LIBS=$ac_check_lib_save_LIBS 38399fi 38400{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_read_buffer" >&5 38401$as_echo "$ac_cv_lib_bfio_libbfio_handle_read_buffer" >&6; } 38402if test "x$ac_cv_lib_bfio_libbfio_handle_read_buffer" = xyes; then : 38403 ac_cv_libbfio_dummy=yes 38404else 38405 ac_cv_libbfio=no 38406fi 38407 38408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_read_buffer_at_offset in -lbfio" >&5 38409$as_echo_n "checking for libbfio_handle_read_buffer_at_offset in -lbfio... " >&6; } 38410if ${ac_cv_lib_bfio_libbfio_handle_read_buffer_at_offset+:} false; then : 38411 $as_echo_n "(cached) " >&6 38412else 38413 ac_check_lib_save_LIBS=$LIBS 38414LIBS="-lbfio $LIBS" 38415cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38416/* end confdefs.h. */ 38417 38418/* Override any GCC internal prototype to avoid an error. 38419 Use char because int might match the return type of a GCC 38420 builtin and then its argument prototype would still apply. */ 38421#ifdef __cplusplus 38422extern "C" 38423#endif 38424char libbfio_handle_read_buffer_at_offset (); 38425int 38426main () 38427{ 38428return libbfio_handle_read_buffer_at_offset (); 38429 ; 38430 return 0; 38431} 38432_ACEOF 38433if ac_fn_c_try_link "$LINENO"; then : 38434 ac_cv_lib_bfio_libbfio_handle_read_buffer_at_offset=yes 38435else 38436 ac_cv_lib_bfio_libbfio_handle_read_buffer_at_offset=no 38437fi 38438rm -f core conftest.err conftest.$ac_objext \ 38439 conftest$ac_exeext conftest.$ac_ext 38440LIBS=$ac_check_lib_save_LIBS 38441fi 38442{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_read_buffer_at_offset" >&5 38443$as_echo "$ac_cv_lib_bfio_libbfio_handle_read_buffer_at_offset" >&6; } 38444if test "x$ac_cv_lib_bfio_libbfio_handle_read_buffer_at_offset" = xyes; then : 38445 ac_cv_libbfio_dummy=yes 38446else 38447 ac_cv_libbfio=no 38448fi 38449 38450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_write_buffer in -lbfio" >&5 38451$as_echo_n "checking for libbfio_handle_write_buffer in -lbfio... " >&6; } 38452if ${ac_cv_lib_bfio_libbfio_handle_write_buffer+:} false; then : 38453 $as_echo_n "(cached) " >&6 38454else 38455 ac_check_lib_save_LIBS=$LIBS 38456LIBS="-lbfio $LIBS" 38457cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38458/* end confdefs.h. */ 38459 38460/* Override any GCC internal prototype to avoid an error. 38461 Use char because int might match the return type of a GCC 38462 builtin and then its argument prototype would still apply. */ 38463#ifdef __cplusplus 38464extern "C" 38465#endif 38466char libbfio_handle_write_buffer (); 38467int 38468main () 38469{ 38470return libbfio_handle_write_buffer (); 38471 ; 38472 return 0; 38473} 38474_ACEOF 38475if ac_fn_c_try_link "$LINENO"; then : 38476 ac_cv_lib_bfio_libbfio_handle_write_buffer=yes 38477else 38478 ac_cv_lib_bfio_libbfio_handle_write_buffer=no 38479fi 38480rm -f core conftest.err conftest.$ac_objext \ 38481 conftest$ac_exeext conftest.$ac_ext 38482LIBS=$ac_check_lib_save_LIBS 38483fi 38484{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_write_buffer" >&5 38485$as_echo "$ac_cv_lib_bfio_libbfio_handle_write_buffer" >&6; } 38486if test "x$ac_cv_lib_bfio_libbfio_handle_write_buffer" = xyes; then : 38487 ac_cv_libbfio_dummy=yes 38488else 38489 ac_cv_libbfio=no 38490fi 38491 38492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_write_buffer_at_offset in -lbfio" >&5 38493$as_echo_n "checking for libbfio_handle_write_buffer_at_offset in -lbfio... " >&6; } 38494if ${ac_cv_lib_bfio_libbfio_handle_write_buffer_at_offset+:} false; then : 38495 $as_echo_n "(cached) " >&6 38496else 38497 ac_check_lib_save_LIBS=$LIBS 38498LIBS="-lbfio $LIBS" 38499cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38500/* end confdefs.h. */ 38501 38502/* Override any GCC internal prototype to avoid an error. 38503 Use char because int might match the return type of a GCC 38504 builtin and then its argument prototype would still apply. */ 38505#ifdef __cplusplus 38506extern "C" 38507#endif 38508char libbfio_handle_write_buffer_at_offset (); 38509int 38510main () 38511{ 38512return libbfio_handle_write_buffer_at_offset (); 38513 ; 38514 return 0; 38515} 38516_ACEOF 38517if ac_fn_c_try_link "$LINENO"; then : 38518 ac_cv_lib_bfio_libbfio_handle_write_buffer_at_offset=yes 38519else 38520 ac_cv_lib_bfio_libbfio_handle_write_buffer_at_offset=no 38521fi 38522rm -f core conftest.err conftest.$ac_objext \ 38523 conftest$ac_exeext conftest.$ac_ext 38524LIBS=$ac_check_lib_save_LIBS 38525fi 38526{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_write_buffer_at_offset" >&5 38527$as_echo "$ac_cv_lib_bfio_libbfio_handle_write_buffer_at_offset" >&6; } 38528if test "x$ac_cv_lib_bfio_libbfio_handle_write_buffer_at_offset" = xyes; then : 38529 ac_cv_libbfio_dummy=yes 38530else 38531 ac_cv_libbfio=no 38532fi 38533 38534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_seek_offset in -lbfio" >&5 38535$as_echo_n "checking for libbfio_handle_seek_offset in -lbfio... " >&6; } 38536if ${ac_cv_lib_bfio_libbfio_handle_seek_offset+:} false; then : 38537 $as_echo_n "(cached) " >&6 38538else 38539 ac_check_lib_save_LIBS=$LIBS 38540LIBS="-lbfio $LIBS" 38541cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38542/* end confdefs.h. */ 38543 38544/* Override any GCC internal prototype to avoid an error. 38545 Use char because int might match the return type of a GCC 38546 builtin and then its argument prototype would still apply. */ 38547#ifdef __cplusplus 38548extern "C" 38549#endif 38550char libbfio_handle_seek_offset (); 38551int 38552main () 38553{ 38554return libbfio_handle_seek_offset (); 38555 ; 38556 return 0; 38557} 38558_ACEOF 38559if ac_fn_c_try_link "$LINENO"; then : 38560 ac_cv_lib_bfio_libbfio_handle_seek_offset=yes 38561else 38562 ac_cv_lib_bfio_libbfio_handle_seek_offset=no 38563fi 38564rm -f core conftest.err conftest.$ac_objext \ 38565 conftest$ac_exeext conftest.$ac_ext 38566LIBS=$ac_check_lib_save_LIBS 38567fi 38568{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_seek_offset" >&5 38569$as_echo "$ac_cv_lib_bfio_libbfio_handle_seek_offset" >&6; } 38570if test "x$ac_cv_lib_bfio_libbfio_handle_seek_offset" = xyes; then : 38571 ac_cv_libbfio_dummy=yes 38572else 38573 ac_cv_libbfio=no 38574fi 38575 38576 38577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_is_open in -lbfio" >&5 38578$as_echo_n "checking for libbfio_handle_is_open in -lbfio... " >&6; } 38579if ${ac_cv_lib_bfio_libbfio_handle_is_open+:} false; then : 38580 $as_echo_n "(cached) " >&6 38581else 38582 ac_check_lib_save_LIBS=$LIBS 38583LIBS="-lbfio $LIBS" 38584cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38585/* end confdefs.h. */ 38586 38587/* Override any GCC internal prototype to avoid an error. 38588 Use char because int might match the return type of a GCC 38589 builtin and then its argument prototype would still apply. */ 38590#ifdef __cplusplus 38591extern "C" 38592#endif 38593char libbfio_handle_is_open (); 38594int 38595main () 38596{ 38597return libbfio_handle_is_open (); 38598 ; 38599 return 0; 38600} 38601_ACEOF 38602if ac_fn_c_try_link "$LINENO"; then : 38603 ac_cv_lib_bfio_libbfio_handle_is_open=yes 38604else 38605 ac_cv_lib_bfio_libbfio_handle_is_open=no 38606fi 38607rm -f core conftest.err conftest.$ac_objext \ 38608 conftest$ac_exeext conftest.$ac_ext 38609LIBS=$ac_check_lib_save_LIBS 38610fi 38611{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_is_open" >&5 38612$as_echo "$ac_cv_lib_bfio_libbfio_handle_is_open" >&6; } 38613if test "x$ac_cv_lib_bfio_libbfio_handle_is_open" = xyes; then : 38614 ac_cv_libbfio_dummy=yes 38615else 38616 ac_cv_libbfio=no 38617fi 38618 38619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_get_offset in -lbfio" >&5 38620$as_echo_n "checking for libbfio_handle_get_offset in -lbfio... " >&6; } 38621if ${ac_cv_lib_bfio_libbfio_handle_get_offset+:} false; then : 38622 $as_echo_n "(cached) " >&6 38623else 38624 ac_check_lib_save_LIBS=$LIBS 38625LIBS="-lbfio $LIBS" 38626cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38627/* end confdefs.h. */ 38628 38629/* Override any GCC internal prototype to avoid an error. 38630 Use char because int might match the return type of a GCC 38631 builtin and then its argument prototype would still apply. */ 38632#ifdef __cplusplus 38633extern "C" 38634#endif 38635char libbfio_handle_get_offset (); 38636int 38637main () 38638{ 38639return libbfio_handle_get_offset (); 38640 ; 38641 return 0; 38642} 38643_ACEOF 38644if ac_fn_c_try_link "$LINENO"; then : 38645 ac_cv_lib_bfio_libbfio_handle_get_offset=yes 38646else 38647 ac_cv_lib_bfio_libbfio_handle_get_offset=no 38648fi 38649rm -f core conftest.err conftest.$ac_objext \ 38650 conftest$ac_exeext conftest.$ac_ext 38651LIBS=$ac_check_lib_save_LIBS 38652fi 38653{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_get_offset" >&5 38654$as_echo "$ac_cv_lib_bfio_libbfio_handle_get_offset" >&6; } 38655if test "x$ac_cv_lib_bfio_libbfio_handle_get_offset" = xyes; then : 38656 ac_cv_libbfio_dummy=yes 38657else 38658 ac_cv_libbfio=no 38659fi 38660 38661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_get_size in -lbfio" >&5 38662$as_echo_n "checking for libbfio_handle_get_size in -lbfio... " >&6; } 38663if ${ac_cv_lib_bfio_libbfio_handle_get_size+:} false; then : 38664 $as_echo_n "(cached) " >&6 38665else 38666 ac_check_lib_save_LIBS=$LIBS 38667LIBS="-lbfio $LIBS" 38668cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38669/* end confdefs.h. */ 38670 38671/* Override any GCC internal prototype to avoid an error. 38672 Use char because int might match the return type of a GCC 38673 builtin and then its argument prototype would still apply. */ 38674#ifdef __cplusplus 38675extern "C" 38676#endif 38677char libbfio_handle_get_size (); 38678int 38679main () 38680{ 38681return libbfio_handle_get_size (); 38682 ; 38683 return 0; 38684} 38685_ACEOF 38686if ac_fn_c_try_link "$LINENO"; then : 38687 ac_cv_lib_bfio_libbfio_handle_get_size=yes 38688else 38689 ac_cv_lib_bfio_libbfio_handle_get_size=no 38690fi 38691rm -f core conftest.err conftest.$ac_objext \ 38692 conftest$ac_exeext conftest.$ac_ext 38693LIBS=$ac_check_lib_save_LIBS 38694fi 38695{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_get_size" >&5 38696$as_echo "$ac_cv_lib_bfio_libbfio_handle_get_size" >&6; } 38697if test "x$ac_cv_lib_bfio_libbfio_handle_get_size" = xyes; then : 38698 ac_cv_libbfio_dummy=yes 38699else 38700 ac_cv_libbfio=no 38701fi 38702 38703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_set_track_offsets_read in -lbfio" >&5 38704$as_echo_n "checking for libbfio_handle_set_track_offsets_read in -lbfio... " >&6; } 38705if ${ac_cv_lib_bfio_libbfio_handle_set_track_offsets_read+:} false; then : 38706 $as_echo_n "(cached) " >&6 38707else 38708 ac_check_lib_save_LIBS=$LIBS 38709LIBS="-lbfio $LIBS" 38710cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38711/* end confdefs.h. */ 38712 38713/* Override any GCC internal prototype to avoid an error. 38714 Use char because int might match the return type of a GCC 38715 builtin and then its argument prototype would still apply. */ 38716#ifdef __cplusplus 38717extern "C" 38718#endif 38719char libbfio_handle_set_track_offsets_read (); 38720int 38721main () 38722{ 38723return libbfio_handle_set_track_offsets_read (); 38724 ; 38725 return 0; 38726} 38727_ACEOF 38728if ac_fn_c_try_link "$LINENO"; then : 38729 ac_cv_lib_bfio_libbfio_handle_set_track_offsets_read=yes 38730else 38731 ac_cv_lib_bfio_libbfio_handle_set_track_offsets_read=no 38732fi 38733rm -f core conftest.err conftest.$ac_objext \ 38734 conftest$ac_exeext conftest.$ac_ext 38735LIBS=$ac_check_lib_save_LIBS 38736fi 38737{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_set_track_offsets_read" >&5 38738$as_echo "$ac_cv_lib_bfio_libbfio_handle_set_track_offsets_read" >&6; } 38739if test "x$ac_cv_lib_bfio_libbfio_handle_set_track_offsets_read" = xyes; then : 38740 ac_cv_libbfio_dummy=yes 38741else 38742 ac_cv_libbfio=no 38743fi 38744 38745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_get_number_of_offsets_read in -lbfio" >&5 38746$as_echo_n "checking for libbfio_handle_get_number_of_offsets_read in -lbfio... " >&6; } 38747if ${ac_cv_lib_bfio_libbfio_handle_get_number_of_offsets_read+:} false; then : 38748 $as_echo_n "(cached) " >&6 38749else 38750 ac_check_lib_save_LIBS=$LIBS 38751LIBS="-lbfio $LIBS" 38752cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38753/* end confdefs.h. */ 38754 38755/* Override any GCC internal prototype to avoid an error. 38756 Use char because int might match the return type of a GCC 38757 builtin and then its argument prototype would still apply. */ 38758#ifdef __cplusplus 38759extern "C" 38760#endif 38761char libbfio_handle_get_number_of_offsets_read (); 38762int 38763main () 38764{ 38765return libbfio_handle_get_number_of_offsets_read (); 38766 ; 38767 return 0; 38768} 38769_ACEOF 38770if ac_fn_c_try_link "$LINENO"; then : 38771 ac_cv_lib_bfio_libbfio_handle_get_number_of_offsets_read=yes 38772else 38773 ac_cv_lib_bfio_libbfio_handle_get_number_of_offsets_read=no 38774fi 38775rm -f core conftest.err conftest.$ac_objext \ 38776 conftest$ac_exeext conftest.$ac_ext 38777LIBS=$ac_check_lib_save_LIBS 38778fi 38779{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_get_number_of_offsets_read" >&5 38780$as_echo "$ac_cv_lib_bfio_libbfio_handle_get_number_of_offsets_read" >&6; } 38781if test "x$ac_cv_lib_bfio_libbfio_handle_get_number_of_offsets_read" = xyes; then : 38782 ac_cv_libbfio_dummy=yes 38783else 38784 ac_cv_libbfio=no 38785fi 38786 38787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_get_offset_read in -lbfio" >&5 38788$as_echo_n "checking for libbfio_handle_get_offset_read in -lbfio... " >&6; } 38789if ${ac_cv_lib_bfio_libbfio_handle_get_offset_read+:} false; then : 38790 $as_echo_n "(cached) " >&6 38791else 38792 ac_check_lib_save_LIBS=$LIBS 38793LIBS="-lbfio $LIBS" 38794cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38795/* end confdefs.h. */ 38796 38797/* Override any GCC internal prototype to avoid an error. 38798 Use char because int might match the return type of a GCC 38799 builtin and then its argument prototype would still apply. */ 38800#ifdef __cplusplus 38801extern "C" 38802#endif 38803char libbfio_handle_get_offset_read (); 38804int 38805main () 38806{ 38807return libbfio_handle_get_offset_read (); 38808 ; 38809 return 0; 38810} 38811_ACEOF 38812if ac_fn_c_try_link "$LINENO"; then : 38813 ac_cv_lib_bfio_libbfio_handle_get_offset_read=yes 38814else 38815 ac_cv_lib_bfio_libbfio_handle_get_offset_read=no 38816fi 38817rm -f core conftest.err conftest.$ac_objext \ 38818 conftest$ac_exeext conftest.$ac_ext 38819LIBS=$ac_check_lib_save_LIBS 38820fi 38821{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_get_offset_read" >&5 38822$as_echo "$ac_cv_lib_bfio_libbfio_handle_get_offset_read" >&6; } 38823if test "x$ac_cv_lib_bfio_libbfio_handle_get_offset_read" = xyes; then : 38824 ac_cv_libbfio_dummy=yes 38825else 38826 ac_cv_libbfio=no 38827fi 38828 38829 38830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_initialize in -lbfio" >&5 38831$as_echo_n "checking for libbfio_file_initialize in -lbfio... " >&6; } 38832if ${ac_cv_lib_bfio_libbfio_file_initialize+:} false; then : 38833 $as_echo_n "(cached) " >&6 38834else 38835 ac_check_lib_save_LIBS=$LIBS 38836LIBS="-lbfio $LIBS" 38837cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38838/* end confdefs.h. */ 38839 38840/* Override any GCC internal prototype to avoid an error. 38841 Use char because int might match the return type of a GCC 38842 builtin and then its argument prototype would still apply. */ 38843#ifdef __cplusplus 38844extern "C" 38845#endif 38846char libbfio_file_initialize (); 38847int 38848main () 38849{ 38850return libbfio_file_initialize (); 38851 ; 38852 return 0; 38853} 38854_ACEOF 38855if ac_fn_c_try_link "$LINENO"; then : 38856 ac_cv_lib_bfio_libbfio_file_initialize=yes 38857else 38858 ac_cv_lib_bfio_libbfio_file_initialize=no 38859fi 38860rm -f core conftest.err conftest.$ac_objext \ 38861 conftest$ac_exeext conftest.$ac_ext 38862LIBS=$ac_check_lib_save_LIBS 38863fi 38864{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_initialize" >&5 38865$as_echo "$ac_cv_lib_bfio_libbfio_file_initialize" >&6; } 38866if test "x$ac_cv_lib_bfio_libbfio_file_initialize" = xyes; then : 38867 ac_cv_libbfio_dummy=yes 38868else 38869 ac_cv_libbfio=no 38870fi 38871 38872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_get_name_size in -lbfio" >&5 38873$as_echo_n "checking for libbfio_file_get_name_size in -lbfio... " >&6; } 38874if ${ac_cv_lib_bfio_libbfio_file_get_name_size+:} false; then : 38875 $as_echo_n "(cached) " >&6 38876else 38877 ac_check_lib_save_LIBS=$LIBS 38878LIBS="-lbfio $LIBS" 38879cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38880/* end confdefs.h. */ 38881 38882/* Override any GCC internal prototype to avoid an error. 38883 Use char because int might match the return type of a GCC 38884 builtin and then its argument prototype would still apply. */ 38885#ifdef __cplusplus 38886extern "C" 38887#endif 38888char libbfio_file_get_name_size (); 38889int 38890main () 38891{ 38892return libbfio_file_get_name_size (); 38893 ; 38894 return 0; 38895} 38896_ACEOF 38897if ac_fn_c_try_link "$LINENO"; then : 38898 ac_cv_lib_bfio_libbfio_file_get_name_size=yes 38899else 38900 ac_cv_lib_bfio_libbfio_file_get_name_size=no 38901fi 38902rm -f core conftest.err conftest.$ac_objext \ 38903 conftest$ac_exeext conftest.$ac_ext 38904LIBS=$ac_check_lib_save_LIBS 38905fi 38906{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_get_name_size" >&5 38907$as_echo "$ac_cv_lib_bfio_libbfio_file_get_name_size" >&6; } 38908if test "x$ac_cv_lib_bfio_libbfio_file_get_name_size" = xyes; then : 38909 ac_cv_libbfio_dummy=yes 38910else 38911 ac_cv_libbfio=no 38912fi 38913 38914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_get_name in -lbfio" >&5 38915$as_echo_n "checking for libbfio_file_get_name in -lbfio... " >&6; } 38916if ${ac_cv_lib_bfio_libbfio_file_get_name+:} false; then : 38917 $as_echo_n "(cached) " >&6 38918else 38919 ac_check_lib_save_LIBS=$LIBS 38920LIBS="-lbfio $LIBS" 38921cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38922/* end confdefs.h. */ 38923 38924/* Override any GCC internal prototype to avoid an error. 38925 Use char because int might match the return type of a GCC 38926 builtin and then its argument prototype would still apply. */ 38927#ifdef __cplusplus 38928extern "C" 38929#endif 38930char libbfio_file_get_name (); 38931int 38932main () 38933{ 38934return libbfio_file_get_name (); 38935 ; 38936 return 0; 38937} 38938_ACEOF 38939if ac_fn_c_try_link "$LINENO"; then : 38940 ac_cv_lib_bfio_libbfio_file_get_name=yes 38941else 38942 ac_cv_lib_bfio_libbfio_file_get_name=no 38943fi 38944rm -f core conftest.err conftest.$ac_objext \ 38945 conftest$ac_exeext conftest.$ac_ext 38946LIBS=$ac_check_lib_save_LIBS 38947fi 38948{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_get_name" >&5 38949$as_echo "$ac_cv_lib_bfio_libbfio_file_get_name" >&6; } 38950if test "x$ac_cv_lib_bfio_libbfio_file_get_name" = xyes; then : 38951 ac_cv_libbfio_dummy=yes 38952else 38953 ac_cv_libbfio=no 38954fi 38955 38956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_set_name in -lbfio" >&5 38957$as_echo_n "checking for libbfio_file_set_name in -lbfio... " >&6; } 38958if ${ac_cv_lib_bfio_libbfio_file_set_name+:} false; then : 38959 $as_echo_n "(cached) " >&6 38960else 38961 ac_check_lib_save_LIBS=$LIBS 38962LIBS="-lbfio $LIBS" 38963cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38964/* end confdefs.h. */ 38965 38966/* Override any GCC internal prototype to avoid an error. 38967 Use char because int might match the return type of a GCC 38968 builtin and then its argument prototype would still apply. */ 38969#ifdef __cplusplus 38970extern "C" 38971#endif 38972char libbfio_file_set_name (); 38973int 38974main () 38975{ 38976return libbfio_file_set_name (); 38977 ; 38978 return 0; 38979} 38980_ACEOF 38981if ac_fn_c_try_link "$LINENO"; then : 38982 ac_cv_lib_bfio_libbfio_file_set_name=yes 38983else 38984 ac_cv_lib_bfio_libbfio_file_set_name=no 38985fi 38986rm -f core conftest.err conftest.$ac_objext \ 38987 conftest$ac_exeext conftest.$ac_ext 38988LIBS=$ac_check_lib_save_LIBS 38989fi 38990{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_set_name" >&5 38991$as_echo "$ac_cv_lib_bfio_libbfio_file_set_name" >&6; } 38992if test "x$ac_cv_lib_bfio_libbfio_file_set_name" = xyes; then : 38993 ac_cv_libbfio_dummy=yes 38994else 38995 ac_cv_libbfio=no 38996fi 38997 38998 38999 if test "x$ac_cv_enable_wide_character_type" != xno; then : 39000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_get_name_size_wide in -lbfio" >&5 39001$as_echo_n "checking for libbfio_file_get_name_size_wide in -lbfio... " >&6; } 39002if ${ac_cv_lib_bfio_libbfio_file_get_name_size_wide+:} false; then : 39003 $as_echo_n "(cached) " >&6 39004else 39005 ac_check_lib_save_LIBS=$LIBS 39006LIBS="-lbfio $LIBS" 39007cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39008/* end confdefs.h. */ 39009 39010/* Override any GCC internal prototype to avoid an error. 39011 Use char because int might match the return type of a GCC 39012 builtin and then its argument prototype would still apply. */ 39013#ifdef __cplusplus 39014extern "C" 39015#endif 39016char libbfio_file_get_name_size_wide (); 39017int 39018main () 39019{ 39020return libbfio_file_get_name_size_wide (); 39021 ; 39022 return 0; 39023} 39024_ACEOF 39025if ac_fn_c_try_link "$LINENO"; then : 39026 ac_cv_lib_bfio_libbfio_file_get_name_size_wide=yes 39027else 39028 ac_cv_lib_bfio_libbfio_file_get_name_size_wide=no 39029fi 39030rm -f core conftest.err conftest.$ac_objext \ 39031 conftest$ac_exeext conftest.$ac_ext 39032LIBS=$ac_check_lib_save_LIBS 39033fi 39034{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_get_name_size_wide" >&5 39035$as_echo "$ac_cv_lib_bfio_libbfio_file_get_name_size_wide" >&6; } 39036if test "x$ac_cv_lib_bfio_libbfio_file_get_name_size_wide" = xyes; then : 39037 ac_cv_libbfio_dummy=yes 39038else 39039 ac_cv_libbfio=no 39040fi 39041 39042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_get_name_wide in -lbfio" >&5 39043$as_echo_n "checking for libbfio_file_get_name_wide in -lbfio... " >&6; } 39044if ${ac_cv_lib_bfio_libbfio_file_get_name_wide+:} false; then : 39045 $as_echo_n "(cached) " >&6 39046else 39047 ac_check_lib_save_LIBS=$LIBS 39048LIBS="-lbfio $LIBS" 39049cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39050/* end confdefs.h. */ 39051 39052/* Override any GCC internal prototype to avoid an error. 39053 Use char because int might match the return type of a GCC 39054 builtin and then its argument prototype would still apply. */ 39055#ifdef __cplusplus 39056extern "C" 39057#endif 39058char libbfio_file_get_name_wide (); 39059int 39060main () 39061{ 39062return libbfio_file_get_name_wide (); 39063 ; 39064 return 0; 39065} 39066_ACEOF 39067if ac_fn_c_try_link "$LINENO"; then : 39068 ac_cv_lib_bfio_libbfio_file_get_name_wide=yes 39069else 39070 ac_cv_lib_bfio_libbfio_file_get_name_wide=no 39071fi 39072rm -f core conftest.err conftest.$ac_objext \ 39073 conftest$ac_exeext conftest.$ac_ext 39074LIBS=$ac_check_lib_save_LIBS 39075fi 39076{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_get_name_wide" >&5 39077$as_echo "$ac_cv_lib_bfio_libbfio_file_get_name_wide" >&6; } 39078if test "x$ac_cv_lib_bfio_libbfio_file_get_name_wide" = xyes; then : 39079 ac_cv_libbfio_dummy=yes 39080else 39081 ac_cv_libbfio=no 39082fi 39083 39084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_set_name_wide in -lbfio" >&5 39085$as_echo_n "checking for libbfio_file_set_name_wide in -lbfio... " >&6; } 39086if ${ac_cv_lib_bfio_libbfio_file_set_name_wide+:} false; then : 39087 $as_echo_n "(cached) " >&6 39088else 39089 ac_check_lib_save_LIBS=$LIBS 39090LIBS="-lbfio $LIBS" 39091cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39092/* end confdefs.h. */ 39093 39094/* Override any GCC internal prototype to avoid an error. 39095 Use char because int might match the return type of a GCC 39096 builtin and then its argument prototype would still apply. */ 39097#ifdef __cplusplus 39098extern "C" 39099#endif 39100char libbfio_file_set_name_wide (); 39101int 39102main () 39103{ 39104return libbfio_file_set_name_wide (); 39105 ; 39106 return 0; 39107} 39108_ACEOF 39109if ac_fn_c_try_link "$LINENO"; then : 39110 ac_cv_lib_bfio_libbfio_file_set_name_wide=yes 39111else 39112 ac_cv_lib_bfio_libbfio_file_set_name_wide=no 39113fi 39114rm -f core conftest.err conftest.$ac_objext \ 39115 conftest$ac_exeext conftest.$ac_ext 39116LIBS=$ac_check_lib_save_LIBS 39117fi 39118{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_set_name_wide" >&5 39119$as_echo "$ac_cv_lib_bfio_libbfio_file_set_name_wide" >&6; } 39120if test "x$ac_cv_lib_bfio_libbfio_file_set_name_wide" = xyes; then : 39121 ac_cv_libbfio_dummy=yes 39122else 39123 ac_cv_libbfio=no 39124fi 39125 39126 39127fi 39128 39129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_initialize in -lbfio" >&5 39130$as_echo_n "checking for libbfio_pool_initialize in -lbfio... " >&6; } 39131if ${ac_cv_lib_bfio_libbfio_pool_initialize+:} false; then : 39132 $as_echo_n "(cached) " >&6 39133else 39134 ac_check_lib_save_LIBS=$LIBS 39135LIBS="-lbfio $LIBS" 39136cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39137/* end confdefs.h. */ 39138 39139/* Override any GCC internal prototype to avoid an error. 39140 Use char because int might match the return type of a GCC 39141 builtin and then its argument prototype would still apply. */ 39142#ifdef __cplusplus 39143extern "C" 39144#endif 39145char libbfio_pool_initialize (); 39146int 39147main () 39148{ 39149return libbfio_pool_initialize (); 39150 ; 39151 return 0; 39152} 39153_ACEOF 39154if ac_fn_c_try_link "$LINENO"; then : 39155 ac_cv_lib_bfio_libbfio_pool_initialize=yes 39156else 39157 ac_cv_lib_bfio_libbfio_pool_initialize=no 39158fi 39159rm -f core conftest.err conftest.$ac_objext \ 39160 conftest$ac_exeext conftest.$ac_ext 39161LIBS=$ac_check_lib_save_LIBS 39162fi 39163{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_initialize" >&5 39164$as_echo "$ac_cv_lib_bfio_libbfio_pool_initialize" >&6; } 39165if test "x$ac_cv_lib_bfio_libbfio_pool_initialize" = xyes; then : 39166 ac_cv_libbfio_dummy=yes 39167else 39168 ac_cv_libbfio=no 39169fi 39170 39171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_free in -lbfio" >&5 39172$as_echo_n "checking for libbfio_pool_free in -lbfio... " >&6; } 39173if ${ac_cv_lib_bfio_libbfio_pool_free+:} false; then : 39174 $as_echo_n "(cached) " >&6 39175else 39176 ac_check_lib_save_LIBS=$LIBS 39177LIBS="-lbfio $LIBS" 39178cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39179/* end confdefs.h. */ 39180 39181/* Override any GCC internal prototype to avoid an error. 39182 Use char because int might match the return type of a GCC 39183 builtin and then its argument prototype would still apply. */ 39184#ifdef __cplusplus 39185extern "C" 39186#endif 39187char libbfio_pool_free (); 39188int 39189main () 39190{ 39191return libbfio_pool_free (); 39192 ; 39193 return 0; 39194} 39195_ACEOF 39196if ac_fn_c_try_link "$LINENO"; then : 39197 ac_cv_lib_bfio_libbfio_pool_free=yes 39198else 39199 ac_cv_lib_bfio_libbfio_pool_free=no 39200fi 39201rm -f core conftest.err conftest.$ac_objext \ 39202 conftest$ac_exeext conftest.$ac_ext 39203LIBS=$ac_check_lib_save_LIBS 39204fi 39205{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_free" >&5 39206$as_echo "$ac_cv_lib_bfio_libbfio_pool_free" >&6; } 39207if test "x$ac_cv_lib_bfio_libbfio_pool_free" = xyes; then : 39208 ac_cv_libbfio_dummy=yes 39209else 39210 ac_cv_libbfio=no 39211fi 39212 39213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_clone in -lbfio" >&5 39214$as_echo_n "checking for libbfio_pool_clone in -lbfio... " >&6; } 39215if ${ac_cv_lib_bfio_libbfio_pool_clone+:} false; then : 39216 $as_echo_n "(cached) " >&6 39217else 39218 ac_check_lib_save_LIBS=$LIBS 39219LIBS="-lbfio $LIBS" 39220cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39221/* end confdefs.h. */ 39222 39223/* Override any GCC internal prototype to avoid an error. 39224 Use char because int might match the return type of a GCC 39225 builtin and then its argument prototype would still apply. */ 39226#ifdef __cplusplus 39227extern "C" 39228#endif 39229char libbfio_pool_clone (); 39230int 39231main () 39232{ 39233return libbfio_pool_clone (); 39234 ; 39235 return 0; 39236} 39237_ACEOF 39238if ac_fn_c_try_link "$LINENO"; then : 39239 ac_cv_lib_bfio_libbfio_pool_clone=yes 39240else 39241 ac_cv_lib_bfio_libbfio_pool_clone=no 39242fi 39243rm -f core conftest.err conftest.$ac_objext \ 39244 conftest$ac_exeext conftest.$ac_ext 39245LIBS=$ac_check_lib_save_LIBS 39246fi 39247{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_clone" >&5 39248$as_echo "$ac_cv_lib_bfio_libbfio_pool_clone" >&6; } 39249if test "x$ac_cv_lib_bfio_libbfio_pool_clone" = xyes; then : 39250 ac_cv_libbfio_dummy=yes 39251else 39252 ac_cv_libbfio=no 39253fi 39254 39255 39256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_get_number_of_handles in -lbfio" >&5 39257$as_echo_n "checking for libbfio_pool_get_number_of_handles in -lbfio... " >&6; } 39258if ${ac_cv_lib_bfio_libbfio_pool_get_number_of_handles+:} false; then : 39259 $as_echo_n "(cached) " >&6 39260else 39261 ac_check_lib_save_LIBS=$LIBS 39262LIBS="-lbfio $LIBS" 39263cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39264/* end confdefs.h. */ 39265 39266/* Override any GCC internal prototype to avoid an error. 39267 Use char because int might match the return type of a GCC 39268 builtin and then its argument prototype would still apply. */ 39269#ifdef __cplusplus 39270extern "C" 39271#endif 39272char libbfio_pool_get_number_of_handles (); 39273int 39274main () 39275{ 39276return libbfio_pool_get_number_of_handles (); 39277 ; 39278 return 0; 39279} 39280_ACEOF 39281if ac_fn_c_try_link "$LINENO"; then : 39282 ac_cv_lib_bfio_libbfio_pool_get_number_of_handles=yes 39283else 39284 ac_cv_lib_bfio_libbfio_pool_get_number_of_handles=no 39285fi 39286rm -f core conftest.err conftest.$ac_objext \ 39287 conftest$ac_exeext conftest.$ac_ext 39288LIBS=$ac_check_lib_save_LIBS 39289fi 39290{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_get_number_of_handles" >&5 39291$as_echo "$ac_cv_lib_bfio_libbfio_pool_get_number_of_handles" >&6; } 39292if test "x$ac_cv_lib_bfio_libbfio_pool_get_number_of_handles" = xyes; then : 39293 ac_cv_libbfio_dummy=yes 39294else 39295 ac_cv_libbfio=no 39296fi 39297 39298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_get_handle in -lbfio" >&5 39299$as_echo_n "checking for libbfio_pool_get_handle in -lbfio... " >&6; } 39300if ${ac_cv_lib_bfio_libbfio_pool_get_handle+:} false; then : 39301 $as_echo_n "(cached) " >&6 39302else 39303 ac_check_lib_save_LIBS=$LIBS 39304LIBS="-lbfio $LIBS" 39305cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39306/* end confdefs.h. */ 39307 39308/* Override any GCC internal prototype to avoid an error. 39309 Use char because int might match the return type of a GCC 39310 builtin and then its argument prototype would still apply. */ 39311#ifdef __cplusplus 39312extern "C" 39313#endif 39314char libbfio_pool_get_handle (); 39315int 39316main () 39317{ 39318return libbfio_pool_get_handle (); 39319 ; 39320 return 0; 39321} 39322_ACEOF 39323if ac_fn_c_try_link "$LINENO"; then : 39324 ac_cv_lib_bfio_libbfio_pool_get_handle=yes 39325else 39326 ac_cv_lib_bfio_libbfio_pool_get_handle=no 39327fi 39328rm -f core conftest.err conftest.$ac_objext \ 39329 conftest$ac_exeext conftest.$ac_ext 39330LIBS=$ac_check_lib_save_LIBS 39331fi 39332{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_get_handle" >&5 39333$as_echo "$ac_cv_lib_bfio_libbfio_pool_get_handle" >&6; } 39334if test "x$ac_cv_lib_bfio_libbfio_pool_get_handle" = xyes; then : 39335 ac_cv_libbfio_dummy=yes 39336else 39337 ac_cv_libbfio=no 39338fi 39339 39340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_set_handle in -lbfio" >&5 39341$as_echo_n "checking for libbfio_pool_set_handle in -lbfio... " >&6; } 39342if ${ac_cv_lib_bfio_libbfio_pool_set_handle+:} false; then : 39343 $as_echo_n "(cached) " >&6 39344else 39345 ac_check_lib_save_LIBS=$LIBS 39346LIBS="-lbfio $LIBS" 39347cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39348/* end confdefs.h. */ 39349 39350/* Override any GCC internal prototype to avoid an error. 39351 Use char because int might match the return type of a GCC 39352 builtin and then its argument prototype would still apply. */ 39353#ifdef __cplusplus 39354extern "C" 39355#endif 39356char libbfio_pool_set_handle (); 39357int 39358main () 39359{ 39360return libbfio_pool_set_handle (); 39361 ; 39362 return 0; 39363} 39364_ACEOF 39365if ac_fn_c_try_link "$LINENO"; then : 39366 ac_cv_lib_bfio_libbfio_pool_set_handle=yes 39367else 39368 ac_cv_lib_bfio_libbfio_pool_set_handle=no 39369fi 39370rm -f core conftest.err conftest.$ac_objext \ 39371 conftest$ac_exeext conftest.$ac_ext 39372LIBS=$ac_check_lib_save_LIBS 39373fi 39374{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_set_handle" >&5 39375$as_echo "$ac_cv_lib_bfio_libbfio_pool_set_handle" >&6; } 39376if test "x$ac_cv_lib_bfio_libbfio_pool_set_handle" = xyes; then : 39377 ac_cv_libbfio_dummy=yes 39378else 39379 ac_cv_libbfio=no 39380fi 39381 39382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_append_handle in -lbfio" >&5 39383$as_echo_n "checking for libbfio_pool_append_handle in -lbfio... " >&6; } 39384if ${ac_cv_lib_bfio_libbfio_pool_append_handle+:} false; then : 39385 $as_echo_n "(cached) " >&6 39386else 39387 ac_check_lib_save_LIBS=$LIBS 39388LIBS="-lbfio $LIBS" 39389cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39390/* end confdefs.h. */ 39391 39392/* Override any GCC internal prototype to avoid an error. 39393 Use char because int might match the return type of a GCC 39394 builtin and then its argument prototype would still apply. */ 39395#ifdef __cplusplus 39396extern "C" 39397#endif 39398char libbfio_pool_append_handle (); 39399int 39400main () 39401{ 39402return libbfio_pool_append_handle (); 39403 ; 39404 return 0; 39405} 39406_ACEOF 39407if ac_fn_c_try_link "$LINENO"; then : 39408 ac_cv_lib_bfio_libbfio_pool_append_handle=yes 39409else 39410 ac_cv_lib_bfio_libbfio_pool_append_handle=no 39411fi 39412rm -f core conftest.err conftest.$ac_objext \ 39413 conftest$ac_exeext conftest.$ac_ext 39414LIBS=$ac_check_lib_save_LIBS 39415fi 39416{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_append_handle" >&5 39417$as_echo "$ac_cv_lib_bfio_libbfio_pool_append_handle" >&6; } 39418if test "x$ac_cv_lib_bfio_libbfio_pool_append_handle" = xyes; then : 39419 ac_cv_libbfio_dummy=yes 39420else 39421 ac_cv_libbfio=no 39422fi 39423 39424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_remove_handle in -lbfio" >&5 39425$as_echo_n "checking for libbfio_pool_remove_handle in -lbfio... " >&6; } 39426if ${ac_cv_lib_bfio_libbfio_pool_remove_handle+:} false; then : 39427 $as_echo_n "(cached) " >&6 39428else 39429 ac_check_lib_save_LIBS=$LIBS 39430LIBS="-lbfio $LIBS" 39431cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39432/* end confdefs.h. */ 39433 39434/* Override any GCC internal prototype to avoid an error. 39435 Use char because int might match the return type of a GCC 39436 builtin and then its argument prototype would still apply. */ 39437#ifdef __cplusplus 39438extern "C" 39439#endif 39440char libbfio_pool_remove_handle (); 39441int 39442main () 39443{ 39444return libbfio_pool_remove_handle (); 39445 ; 39446 return 0; 39447} 39448_ACEOF 39449if ac_fn_c_try_link "$LINENO"; then : 39450 ac_cv_lib_bfio_libbfio_pool_remove_handle=yes 39451else 39452 ac_cv_lib_bfio_libbfio_pool_remove_handle=no 39453fi 39454rm -f core conftest.err conftest.$ac_objext \ 39455 conftest$ac_exeext conftest.$ac_ext 39456LIBS=$ac_check_lib_save_LIBS 39457fi 39458{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_remove_handle" >&5 39459$as_echo "$ac_cv_lib_bfio_libbfio_pool_remove_handle" >&6; } 39460if test "x$ac_cv_lib_bfio_libbfio_pool_remove_handle" = xyes; then : 39461 ac_cv_libbfio_dummy=yes 39462else 39463 ac_cv_libbfio=no 39464fi 39465 39466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_get_maximum_number_of_open_handles in -lbfio" >&5 39467$as_echo_n "checking for libbfio_pool_get_maximum_number_of_open_handles in -lbfio... " >&6; } 39468if ${ac_cv_lib_bfio_libbfio_pool_get_maximum_number_of_open_handles+:} false; then : 39469 $as_echo_n "(cached) " >&6 39470else 39471 ac_check_lib_save_LIBS=$LIBS 39472LIBS="-lbfio $LIBS" 39473cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39474/* end confdefs.h. */ 39475 39476/* Override any GCC internal prototype to avoid an error. 39477 Use char because int might match the return type of a GCC 39478 builtin and then its argument prototype would still apply. */ 39479#ifdef __cplusplus 39480extern "C" 39481#endif 39482char libbfio_pool_get_maximum_number_of_open_handles (); 39483int 39484main () 39485{ 39486return libbfio_pool_get_maximum_number_of_open_handles (); 39487 ; 39488 return 0; 39489} 39490_ACEOF 39491if ac_fn_c_try_link "$LINENO"; then : 39492 ac_cv_lib_bfio_libbfio_pool_get_maximum_number_of_open_handles=yes 39493else 39494 ac_cv_lib_bfio_libbfio_pool_get_maximum_number_of_open_handles=no 39495fi 39496rm -f core conftest.err conftest.$ac_objext \ 39497 conftest$ac_exeext conftest.$ac_ext 39498LIBS=$ac_check_lib_save_LIBS 39499fi 39500{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_get_maximum_number_of_open_handles" >&5 39501$as_echo "$ac_cv_lib_bfio_libbfio_pool_get_maximum_number_of_open_handles" >&6; } 39502if test "x$ac_cv_lib_bfio_libbfio_pool_get_maximum_number_of_open_handles" = xyes; then : 39503 ac_cv_libbfio_dummy=yes 39504else 39505 ac_cv_libbfio=no 39506fi 39507 39508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_set_maximum_number_of_open_handles in -lbfio" >&5 39509$as_echo_n "checking for libbfio_pool_set_maximum_number_of_open_handles in -lbfio... " >&6; } 39510if ${ac_cv_lib_bfio_libbfio_pool_set_maximum_number_of_open_handles+:} false; then : 39511 $as_echo_n "(cached) " >&6 39512else 39513 ac_check_lib_save_LIBS=$LIBS 39514LIBS="-lbfio $LIBS" 39515cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39516/* end confdefs.h. */ 39517 39518/* Override any GCC internal prototype to avoid an error. 39519 Use char because int might match the return type of a GCC 39520 builtin and then its argument prototype would still apply. */ 39521#ifdef __cplusplus 39522extern "C" 39523#endif 39524char libbfio_pool_set_maximum_number_of_open_handles (); 39525int 39526main () 39527{ 39528return libbfio_pool_set_maximum_number_of_open_handles (); 39529 ; 39530 return 0; 39531} 39532_ACEOF 39533if ac_fn_c_try_link "$LINENO"; then : 39534 ac_cv_lib_bfio_libbfio_pool_set_maximum_number_of_open_handles=yes 39535else 39536 ac_cv_lib_bfio_libbfio_pool_set_maximum_number_of_open_handles=no 39537fi 39538rm -f core conftest.err conftest.$ac_objext \ 39539 conftest$ac_exeext conftest.$ac_ext 39540LIBS=$ac_check_lib_save_LIBS 39541fi 39542{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_set_maximum_number_of_open_handles" >&5 39543$as_echo "$ac_cv_lib_bfio_libbfio_pool_set_maximum_number_of_open_handles" >&6; } 39544if test "x$ac_cv_lib_bfio_libbfio_pool_set_maximum_number_of_open_handles" = xyes; then : 39545 ac_cv_libbfio_dummy=yes 39546else 39547 ac_cv_libbfio=no 39548fi 39549 39550 39551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_open in -lbfio" >&5 39552$as_echo_n "checking for libbfio_pool_open in -lbfio... " >&6; } 39553if ${ac_cv_lib_bfio_libbfio_pool_open+:} false; then : 39554 $as_echo_n "(cached) " >&6 39555else 39556 ac_check_lib_save_LIBS=$LIBS 39557LIBS="-lbfio $LIBS" 39558cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39559/* end confdefs.h. */ 39560 39561/* Override any GCC internal prototype to avoid an error. 39562 Use char because int might match the return type of a GCC 39563 builtin and then its argument prototype would still apply. */ 39564#ifdef __cplusplus 39565extern "C" 39566#endif 39567char libbfio_pool_open (); 39568int 39569main () 39570{ 39571return libbfio_pool_open (); 39572 ; 39573 return 0; 39574} 39575_ACEOF 39576if ac_fn_c_try_link "$LINENO"; then : 39577 ac_cv_lib_bfio_libbfio_pool_open=yes 39578else 39579 ac_cv_lib_bfio_libbfio_pool_open=no 39580fi 39581rm -f core conftest.err conftest.$ac_objext \ 39582 conftest$ac_exeext conftest.$ac_ext 39583LIBS=$ac_check_lib_save_LIBS 39584fi 39585{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_open" >&5 39586$as_echo "$ac_cv_lib_bfio_libbfio_pool_open" >&6; } 39587if test "x$ac_cv_lib_bfio_libbfio_pool_open" = xyes; then : 39588 ac_cv_libbfio_dummy=yes 39589else 39590 ac_cv_libbfio=no 39591fi 39592 39593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_reopen in -lbfio" >&5 39594$as_echo_n "checking for libbfio_pool_reopen in -lbfio... " >&6; } 39595if ${ac_cv_lib_bfio_libbfio_pool_reopen+:} false; then : 39596 $as_echo_n "(cached) " >&6 39597else 39598 ac_check_lib_save_LIBS=$LIBS 39599LIBS="-lbfio $LIBS" 39600cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39601/* end confdefs.h. */ 39602 39603/* Override any GCC internal prototype to avoid an error. 39604 Use char because int might match the return type of a GCC 39605 builtin and then its argument prototype would still apply. */ 39606#ifdef __cplusplus 39607extern "C" 39608#endif 39609char libbfio_pool_reopen (); 39610int 39611main () 39612{ 39613return libbfio_pool_reopen (); 39614 ; 39615 return 0; 39616} 39617_ACEOF 39618if ac_fn_c_try_link "$LINENO"; then : 39619 ac_cv_lib_bfio_libbfio_pool_reopen=yes 39620else 39621 ac_cv_lib_bfio_libbfio_pool_reopen=no 39622fi 39623rm -f core conftest.err conftest.$ac_objext \ 39624 conftest$ac_exeext conftest.$ac_ext 39625LIBS=$ac_check_lib_save_LIBS 39626fi 39627{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_reopen" >&5 39628$as_echo "$ac_cv_lib_bfio_libbfio_pool_reopen" >&6; } 39629if test "x$ac_cv_lib_bfio_libbfio_pool_reopen" = xyes; then : 39630 ac_cv_libbfio_dummy=yes 39631else 39632 ac_cv_libbfio=no 39633fi 39634 39635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_close in -lbfio" >&5 39636$as_echo_n "checking for libbfio_pool_close in -lbfio... " >&6; } 39637if ${ac_cv_lib_bfio_libbfio_pool_close+:} false; then : 39638 $as_echo_n "(cached) " >&6 39639else 39640 ac_check_lib_save_LIBS=$LIBS 39641LIBS="-lbfio $LIBS" 39642cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39643/* end confdefs.h. */ 39644 39645/* Override any GCC internal prototype to avoid an error. 39646 Use char because int might match the return type of a GCC 39647 builtin and then its argument prototype would still apply. */ 39648#ifdef __cplusplus 39649extern "C" 39650#endif 39651char libbfio_pool_close (); 39652int 39653main () 39654{ 39655return libbfio_pool_close (); 39656 ; 39657 return 0; 39658} 39659_ACEOF 39660if ac_fn_c_try_link "$LINENO"; then : 39661 ac_cv_lib_bfio_libbfio_pool_close=yes 39662else 39663 ac_cv_lib_bfio_libbfio_pool_close=no 39664fi 39665rm -f core conftest.err conftest.$ac_objext \ 39666 conftest$ac_exeext conftest.$ac_ext 39667LIBS=$ac_check_lib_save_LIBS 39668fi 39669{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_close" >&5 39670$as_echo "$ac_cv_lib_bfio_libbfio_pool_close" >&6; } 39671if test "x$ac_cv_lib_bfio_libbfio_pool_close" = xyes; then : 39672 ac_cv_libbfio_dummy=yes 39673else 39674 ac_cv_libbfio=no 39675fi 39676 39677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_close_all in -lbfio" >&5 39678$as_echo_n "checking for libbfio_pool_close_all in -lbfio... " >&6; } 39679if ${ac_cv_lib_bfio_libbfio_pool_close_all+:} false; then : 39680 $as_echo_n "(cached) " >&6 39681else 39682 ac_check_lib_save_LIBS=$LIBS 39683LIBS="-lbfio $LIBS" 39684cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39685/* end confdefs.h. */ 39686 39687/* Override any GCC internal prototype to avoid an error. 39688 Use char because int might match the return type of a GCC 39689 builtin and then its argument prototype would still apply. */ 39690#ifdef __cplusplus 39691extern "C" 39692#endif 39693char libbfio_pool_close_all (); 39694int 39695main () 39696{ 39697return libbfio_pool_close_all (); 39698 ; 39699 return 0; 39700} 39701_ACEOF 39702if ac_fn_c_try_link "$LINENO"; then : 39703 ac_cv_lib_bfio_libbfio_pool_close_all=yes 39704else 39705 ac_cv_lib_bfio_libbfio_pool_close_all=no 39706fi 39707rm -f core conftest.err conftest.$ac_objext \ 39708 conftest$ac_exeext conftest.$ac_ext 39709LIBS=$ac_check_lib_save_LIBS 39710fi 39711{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_close_all" >&5 39712$as_echo "$ac_cv_lib_bfio_libbfio_pool_close_all" >&6; } 39713if test "x$ac_cv_lib_bfio_libbfio_pool_close_all" = xyes; then : 39714 ac_cv_libbfio_dummy=yes 39715else 39716 ac_cv_libbfio=no 39717fi 39718 39719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_read_buffer in -lbfio" >&5 39720$as_echo_n "checking for libbfio_pool_read_buffer in -lbfio... " >&6; } 39721if ${ac_cv_lib_bfio_libbfio_pool_read_buffer+:} false; then : 39722 $as_echo_n "(cached) " >&6 39723else 39724 ac_check_lib_save_LIBS=$LIBS 39725LIBS="-lbfio $LIBS" 39726cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39727/* end confdefs.h. */ 39728 39729/* Override any GCC internal prototype to avoid an error. 39730 Use char because int might match the return type of a GCC 39731 builtin and then its argument prototype would still apply. */ 39732#ifdef __cplusplus 39733extern "C" 39734#endif 39735char libbfio_pool_read_buffer (); 39736int 39737main () 39738{ 39739return libbfio_pool_read_buffer (); 39740 ; 39741 return 0; 39742} 39743_ACEOF 39744if ac_fn_c_try_link "$LINENO"; then : 39745 ac_cv_lib_bfio_libbfio_pool_read_buffer=yes 39746else 39747 ac_cv_lib_bfio_libbfio_pool_read_buffer=no 39748fi 39749rm -f core conftest.err conftest.$ac_objext \ 39750 conftest$ac_exeext conftest.$ac_ext 39751LIBS=$ac_check_lib_save_LIBS 39752fi 39753{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_read_buffer" >&5 39754$as_echo "$ac_cv_lib_bfio_libbfio_pool_read_buffer" >&6; } 39755if test "x$ac_cv_lib_bfio_libbfio_pool_read_buffer" = xyes; then : 39756 ac_cv_libbfio_dummy=yes 39757else 39758 ac_cv_libbfio=no 39759fi 39760 39761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_read_buffer_at_offset in -lbfio" >&5 39762$as_echo_n "checking for libbfio_pool_read_buffer_at_offset in -lbfio... " >&6; } 39763if ${ac_cv_lib_bfio_libbfio_pool_read_buffer_at_offset+:} false; then : 39764 $as_echo_n "(cached) " >&6 39765else 39766 ac_check_lib_save_LIBS=$LIBS 39767LIBS="-lbfio $LIBS" 39768cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39769/* end confdefs.h. */ 39770 39771/* Override any GCC internal prototype to avoid an error. 39772 Use char because int might match the return type of a GCC 39773 builtin and then its argument prototype would still apply. */ 39774#ifdef __cplusplus 39775extern "C" 39776#endif 39777char libbfio_pool_read_buffer_at_offset (); 39778int 39779main () 39780{ 39781return libbfio_pool_read_buffer_at_offset (); 39782 ; 39783 return 0; 39784} 39785_ACEOF 39786if ac_fn_c_try_link "$LINENO"; then : 39787 ac_cv_lib_bfio_libbfio_pool_read_buffer_at_offset=yes 39788else 39789 ac_cv_lib_bfio_libbfio_pool_read_buffer_at_offset=no 39790fi 39791rm -f core conftest.err conftest.$ac_objext \ 39792 conftest$ac_exeext conftest.$ac_ext 39793LIBS=$ac_check_lib_save_LIBS 39794fi 39795{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_read_buffer_at_offset" >&5 39796$as_echo "$ac_cv_lib_bfio_libbfio_pool_read_buffer_at_offset" >&6; } 39797if test "x$ac_cv_lib_bfio_libbfio_pool_read_buffer_at_offset" = xyes; then : 39798 ac_cv_libbfio_dummy=yes 39799else 39800 ac_cv_libbfio=no 39801fi 39802 39803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_write_buffer in -lbfio" >&5 39804$as_echo_n "checking for libbfio_pool_write_buffer in -lbfio... " >&6; } 39805if ${ac_cv_lib_bfio_libbfio_pool_write_buffer+:} false; then : 39806 $as_echo_n "(cached) " >&6 39807else 39808 ac_check_lib_save_LIBS=$LIBS 39809LIBS="-lbfio $LIBS" 39810cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39811/* end confdefs.h. */ 39812 39813/* Override any GCC internal prototype to avoid an error. 39814 Use char because int might match the return type of a GCC 39815 builtin and then its argument prototype would still apply. */ 39816#ifdef __cplusplus 39817extern "C" 39818#endif 39819char libbfio_pool_write_buffer (); 39820int 39821main () 39822{ 39823return libbfio_pool_write_buffer (); 39824 ; 39825 return 0; 39826} 39827_ACEOF 39828if ac_fn_c_try_link "$LINENO"; then : 39829 ac_cv_lib_bfio_libbfio_pool_write_buffer=yes 39830else 39831 ac_cv_lib_bfio_libbfio_pool_write_buffer=no 39832fi 39833rm -f core conftest.err conftest.$ac_objext \ 39834 conftest$ac_exeext conftest.$ac_ext 39835LIBS=$ac_check_lib_save_LIBS 39836fi 39837{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_write_buffer" >&5 39838$as_echo "$ac_cv_lib_bfio_libbfio_pool_write_buffer" >&6; } 39839if test "x$ac_cv_lib_bfio_libbfio_pool_write_buffer" = xyes; then : 39840 ac_cv_libbfio_dummy=yes 39841else 39842 ac_cv_libbfio=no 39843fi 39844 39845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_write_buffer_at_offset in -lbfio" >&5 39846$as_echo_n "checking for libbfio_pool_write_buffer_at_offset in -lbfio... " >&6; } 39847if ${ac_cv_lib_bfio_libbfio_pool_write_buffer_at_offset+:} false; then : 39848 $as_echo_n "(cached) " >&6 39849else 39850 ac_check_lib_save_LIBS=$LIBS 39851LIBS="-lbfio $LIBS" 39852cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39853/* end confdefs.h. */ 39854 39855/* Override any GCC internal prototype to avoid an error. 39856 Use char because int might match the return type of a GCC 39857 builtin and then its argument prototype would still apply. */ 39858#ifdef __cplusplus 39859extern "C" 39860#endif 39861char libbfio_pool_write_buffer_at_offset (); 39862int 39863main () 39864{ 39865return libbfio_pool_write_buffer_at_offset (); 39866 ; 39867 return 0; 39868} 39869_ACEOF 39870if ac_fn_c_try_link "$LINENO"; then : 39871 ac_cv_lib_bfio_libbfio_pool_write_buffer_at_offset=yes 39872else 39873 ac_cv_lib_bfio_libbfio_pool_write_buffer_at_offset=no 39874fi 39875rm -f core conftest.err conftest.$ac_objext \ 39876 conftest$ac_exeext conftest.$ac_ext 39877LIBS=$ac_check_lib_save_LIBS 39878fi 39879{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_write_buffer_at_offset" >&5 39880$as_echo "$ac_cv_lib_bfio_libbfio_pool_write_buffer_at_offset" >&6; } 39881if test "x$ac_cv_lib_bfio_libbfio_pool_write_buffer_at_offset" = xyes; then : 39882 ac_cv_libbfio_dummy=yes 39883else 39884 ac_cv_libbfio=no 39885fi 39886 39887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_seek_offset in -lbfio" >&5 39888$as_echo_n "checking for libbfio_pool_seek_offset in -lbfio... " >&6; } 39889if ${ac_cv_lib_bfio_libbfio_pool_seek_offset+:} false; then : 39890 $as_echo_n "(cached) " >&6 39891else 39892 ac_check_lib_save_LIBS=$LIBS 39893LIBS="-lbfio $LIBS" 39894cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39895/* end confdefs.h. */ 39896 39897/* Override any GCC internal prototype to avoid an error. 39898 Use char because int might match the return type of a GCC 39899 builtin and then its argument prototype would still apply. */ 39900#ifdef __cplusplus 39901extern "C" 39902#endif 39903char libbfio_pool_seek_offset (); 39904int 39905main () 39906{ 39907return libbfio_pool_seek_offset (); 39908 ; 39909 return 0; 39910} 39911_ACEOF 39912if ac_fn_c_try_link "$LINENO"; then : 39913 ac_cv_lib_bfio_libbfio_pool_seek_offset=yes 39914else 39915 ac_cv_lib_bfio_libbfio_pool_seek_offset=no 39916fi 39917rm -f core conftest.err conftest.$ac_objext \ 39918 conftest$ac_exeext conftest.$ac_ext 39919LIBS=$ac_check_lib_save_LIBS 39920fi 39921{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_seek_offset" >&5 39922$as_echo "$ac_cv_lib_bfio_libbfio_pool_seek_offset" >&6; } 39923if test "x$ac_cv_lib_bfio_libbfio_pool_seek_offset" = xyes; then : 39924 ac_cv_libbfio_dummy=yes 39925else 39926 ac_cv_libbfio=no 39927fi 39928 39929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_get_offset in -lbfio" >&5 39930$as_echo_n "checking for libbfio_pool_get_offset in -lbfio... " >&6; } 39931if ${ac_cv_lib_bfio_libbfio_pool_get_offset+:} false; then : 39932 $as_echo_n "(cached) " >&6 39933else 39934 ac_check_lib_save_LIBS=$LIBS 39935LIBS="-lbfio $LIBS" 39936cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39937/* end confdefs.h. */ 39938 39939/* Override any GCC internal prototype to avoid an error. 39940 Use char because int might match the return type of a GCC 39941 builtin and then its argument prototype would still apply. */ 39942#ifdef __cplusplus 39943extern "C" 39944#endif 39945char libbfio_pool_get_offset (); 39946int 39947main () 39948{ 39949return libbfio_pool_get_offset (); 39950 ; 39951 return 0; 39952} 39953_ACEOF 39954if ac_fn_c_try_link "$LINENO"; then : 39955 ac_cv_lib_bfio_libbfio_pool_get_offset=yes 39956else 39957 ac_cv_lib_bfio_libbfio_pool_get_offset=no 39958fi 39959rm -f core conftest.err conftest.$ac_objext \ 39960 conftest$ac_exeext conftest.$ac_ext 39961LIBS=$ac_check_lib_save_LIBS 39962fi 39963{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_get_offset" >&5 39964$as_echo "$ac_cv_lib_bfio_libbfio_pool_get_offset" >&6; } 39965if test "x$ac_cv_lib_bfio_libbfio_pool_get_offset" = xyes; then : 39966 ac_cv_libbfio_dummy=yes 39967else 39968 ac_cv_libbfio=no 39969fi 39970 39971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_get_size in -lbfio" >&5 39972$as_echo_n "checking for libbfio_pool_get_size in -lbfio... " >&6; } 39973if ${ac_cv_lib_bfio_libbfio_pool_get_size+:} false; then : 39974 $as_echo_n "(cached) " >&6 39975else 39976 ac_check_lib_save_LIBS=$LIBS 39977LIBS="-lbfio $LIBS" 39978cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39979/* end confdefs.h. */ 39980 39981/* Override any GCC internal prototype to avoid an error. 39982 Use char because int might match the return type of a GCC 39983 builtin and then its argument prototype would still apply. */ 39984#ifdef __cplusplus 39985extern "C" 39986#endif 39987char libbfio_pool_get_size (); 39988int 39989main () 39990{ 39991return libbfio_pool_get_size (); 39992 ; 39993 return 0; 39994} 39995_ACEOF 39996if ac_fn_c_try_link "$LINENO"; then : 39997 ac_cv_lib_bfio_libbfio_pool_get_size=yes 39998else 39999 ac_cv_lib_bfio_libbfio_pool_get_size=no 40000fi 40001rm -f core conftest.err conftest.$ac_objext \ 40002 conftest$ac_exeext conftest.$ac_ext 40003LIBS=$ac_check_lib_save_LIBS 40004fi 40005{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_get_size" >&5 40006$as_echo "$ac_cv_lib_bfio_libbfio_pool_get_size" >&6; } 40007if test "x$ac_cv_lib_bfio_libbfio_pool_get_size" = xyes; then : 40008 ac_cv_libbfio_dummy=yes 40009else 40010 ac_cv_libbfio=no 40011fi 40012 40013 40014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_pool_open in -lbfio" >&5 40015$as_echo_n "checking for libbfio_file_pool_open in -lbfio... " >&6; } 40016if ${ac_cv_lib_bfio_libbfio_file_pool_open+:} false; then : 40017 $as_echo_n "(cached) " >&6 40018else 40019 ac_check_lib_save_LIBS=$LIBS 40020LIBS="-lbfio $LIBS" 40021cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40022/* end confdefs.h. */ 40023 40024/* Override any GCC internal prototype to avoid an error. 40025 Use char because int might match the return type of a GCC 40026 builtin and then its argument prototype would still apply. */ 40027#ifdef __cplusplus 40028extern "C" 40029#endif 40030char libbfio_file_pool_open (); 40031int 40032main () 40033{ 40034return libbfio_file_pool_open (); 40035 ; 40036 return 0; 40037} 40038_ACEOF 40039if ac_fn_c_try_link "$LINENO"; then : 40040 ac_cv_lib_bfio_libbfio_file_pool_open=yes 40041else 40042 ac_cv_lib_bfio_libbfio_file_pool_open=no 40043fi 40044rm -f core conftest.err conftest.$ac_objext \ 40045 conftest$ac_exeext conftest.$ac_ext 40046LIBS=$ac_check_lib_save_LIBS 40047fi 40048{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_pool_open" >&5 40049$as_echo "$ac_cv_lib_bfio_libbfio_file_pool_open" >&6; } 40050if test "x$ac_cv_lib_bfio_libbfio_file_pool_open" = xyes; then : 40051 ac_cv_libbfio_dummy=yes 40052else 40053 ac_cv_libbfio=no 40054fi 40055 40056 40057 if test "x$ac_cv_enable_wide_character_type" != xno; then : 40058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_pool_open_wide in -lbfio" >&5 40059$as_echo_n "checking for libbfio_file_pool_open_wide in -lbfio... " >&6; } 40060if ${ac_cv_lib_bfio_libbfio_file_pool_open_wide+:} false; then : 40061 $as_echo_n "(cached) " >&6 40062else 40063 ac_check_lib_save_LIBS=$LIBS 40064LIBS="-lbfio $LIBS" 40065cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40066/* end confdefs.h. */ 40067 40068/* Override any GCC internal prototype to avoid an error. 40069 Use char because int might match the return type of a GCC 40070 builtin and then its argument prototype would still apply. */ 40071#ifdef __cplusplus 40072extern "C" 40073#endif 40074char libbfio_file_pool_open_wide (); 40075int 40076main () 40077{ 40078return libbfio_file_pool_open_wide (); 40079 ; 40080 return 0; 40081} 40082_ACEOF 40083if ac_fn_c_try_link "$LINENO"; then : 40084 ac_cv_lib_bfio_libbfio_file_pool_open_wide=yes 40085else 40086 ac_cv_lib_bfio_libbfio_file_pool_open_wide=no 40087fi 40088rm -f core conftest.err conftest.$ac_objext \ 40089 conftest$ac_exeext conftest.$ac_ext 40090LIBS=$ac_check_lib_save_LIBS 40091fi 40092{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_pool_open_wide" >&5 40093$as_echo "$ac_cv_lib_bfio_libbfio_file_pool_open_wide" >&6; } 40094if test "x$ac_cv_lib_bfio_libbfio_file_pool_open_wide" = xyes; then : 40095 ac_cv_libbfio_dummy=yes 40096else 40097 ac_cv_libbfio=no 40098fi 40099 40100 40101fi 40102 40103 ac_cv_libbfio_LIBADD="-lbfio" 40104fi 40105 40106fi 40107 if test "x$ac_cv_with_libbfio" != x && test "x$ac_cv_with_libbfio" != xauto-detect && test "x$ac_cv_libbfio" != xyes; then : 40108 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 40109$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 40110as_fn_error 1 "unable to find supported libbfio in directory: $ac_cv_with_libbfio 40111See \`config.log' for more details" "$LINENO" 5; } 40112 40113fi 40114 40115fi 40116 40117 if test "x$ac_cv_libbfio" = xyes; then : 40118 40119$as_echo "#define HAVE_LIBBFIO 1" >>confdefs.h 40120 40121 40122fi 40123 40124 if test "x$ac_cv_libbfio" = xyes; then : 40125 HAVE_LIBBFIO=1 40126 40127else 40128 HAVE_LIBBFIO=0 40129 40130 40131fi 40132 40133 40134 if test "x$ac_cv_libbfio" != xyes; then : 40135 40136 ac_cv_libbfio_CPPFLAGS="-I../libbfio"; 40137 ac_cv_libbfio_LIBADD="../libbfio/libbfio.la"; 40138 40139 ac_cv_libbfio=local 40140 40141 40142 40143$as_echo "#define HAVE_LOCAL_LIBBFIO 1" >>confdefs.h 40144 40145 HAVE_LOCAL_LIBBFIO=1 40146 40147 40148fi 40149 40150 if test "x$ac_cv_libbfio" = xlocal; then 40151 HAVE_LOCAL_LIBBFIO_TRUE= 40152 HAVE_LOCAL_LIBBFIO_FALSE='#' 40153else 40154 HAVE_LOCAL_LIBBFIO_TRUE='#' 40155 HAVE_LOCAL_LIBBFIO_FALSE= 40156fi 40157 40158 if test "x$ac_cv_libbfio_CPPFLAGS" != "x"; then : 40159 LIBBFIO_CPPFLAGS=$ac_cv_libbfio_CPPFLAGS 40160 40161 40162fi 40163 if test "x$ac_cv_libbfio_LIBADD" != "x"; then : 40164 LIBBFIO_LIBADD=$ac_cv_libbfio_LIBADD 40165 40166 40167fi 40168 40169 if test "x$ac_cv_libbfio" = xyes; then : 40170 ax_libbfio_pc_libs_private=-lbfio 40171 40172 40173fi 40174 40175 if test "x$ac_cv_libbfio" = xyes; then : 40176 ax_libbfio_spec_requires=libbfio 40177 40178 ax_libbfio_spec_build_requires=libbfio-devel 40179 40180 40181fi 40182 40183 40184 40185 40186# Check whether --with-libfcache was given. 40187if test "${with_libfcache+set}" = set; then : 40188 withval=$with_libfcache; ac_cv_with_libfcache=$withval 40189else 40190 ac_cv_with_libfcache=auto-detect 40191fi 40192 40193 { $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 40194$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; } 40195if ${ac_cv_with_libfcache+:} false; then : 40196 $as_echo_n "(cached) " >&6 40197else 40198 ac_cv_with_libfcache=auto-detect 40199fi 40200{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libfcache" >&5 40201$as_echo "$ac_cv_with_libfcache" >&6; } 40202 40203 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libfcache" = xno; then : 40204 ac_cv_libfcache=no 40205else 40206 ac_cv_libfcache=check 40207 if test "x$ac_cv_with_libfcache" != x && test "x$ac_cv_with_libfcache" != xauto-detect; then : 40208 if test -d "$ac_cv_with_libfcache"; then : 40209 CFLAGS="$CFLAGS -I${ac_cv_with_libfcache}/include" 40210 LDFLAGS="$LDFLAGS -L${ac_cv_with_libfcache}/lib" 40211else 40212 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 40213$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 40214as_fn_error 1 "no such directory: $ac_cv_with_libfcache 40215See \`config.log' for more details" "$LINENO" 5; } 40216 40217fi 40218 40219else 40220 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 40221 40222pkg_failed=no 40223{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache" >&5 40224$as_echo_n "checking for libfcache... " >&6; } 40225 40226if test -n "$libfcache_CFLAGS"; then 40227 pkg_cv_libfcache_CFLAGS="$libfcache_CFLAGS" 40228 elif test -n "$PKG_CONFIG"; then 40229 if test -n "$PKG_CONFIG" && \ 40230 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfcache >= 20191109\""; } >&5 40231 ($PKG_CONFIG --exists --print-errors "libfcache >= 20191109") 2>&5 40232 ac_status=$? 40233 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 40234 test $ac_status = 0; }; then 40235 pkg_cv_libfcache_CFLAGS=`$PKG_CONFIG --cflags "libfcache >= 20191109" 2>/dev/null` 40236 test "x$?" != "x0" && pkg_failed=yes 40237else 40238 pkg_failed=yes 40239fi 40240 else 40241 pkg_failed=untried 40242fi 40243if test -n "$libfcache_LIBS"; then 40244 pkg_cv_libfcache_LIBS="$libfcache_LIBS" 40245 elif test -n "$PKG_CONFIG"; then 40246 if test -n "$PKG_CONFIG" && \ 40247 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfcache >= 20191109\""; } >&5 40248 ($PKG_CONFIG --exists --print-errors "libfcache >= 20191109") 2>&5 40249 ac_status=$? 40250 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 40251 test $ac_status = 0; }; then 40252 pkg_cv_libfcache_LIBS=`$PKG_CONFIG --libs "libfcache >= 20191109" 2>/dev/null` 40253 test "x$?" != "x0" && pkg_failed=yes 40254else 40255 pkg_failed=yes 40256fi 40257 else 40258 pkg_failed=untried 40259fi 40260 40261 40262 40263if test $pkg_failed = yes; then 40264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 40265$as_echo "no" >&6; } 40266 40267if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 40268 _pkg_short_errors_supported=yes 40269else 40270 _pkg_short_errors_supported=no 40271fi 40272 if test $_pkg_short_errors_supported = yes; then 40273 libfcache_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libfcache >= 20191109" 2>&1` 40274 else 40275 libfcache_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libfcache >= 20191109" 2>&1` 40276 fi 40277 # Put the nasty error message in config.log where it belongs 40278 echo "$libfcache_PKG_ERRORS" >&5 40279 40280 ac_cv_libfcache=check 40281elif test $pkg_failed = untried; then 40282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 40283$as_echo "no" >&6; } 40284 ac_cv_libfcache=check 40285else 40286 libfcache_CFLAGS=$pkg_cv_libfcache_CFLAGS 40287 libfcache_LIBS=$pkg_cv_libfcache_LIBS 40288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 40289$as_echo "yes" >&6; } 40290 ac_cv_libfcache=yes 40291fi 40292 40293fi 40294 if test "x$ac_cv_libfcache" = xyes; then : 40295 ac_cv_libfcache_CPPFLAGS="$pkg_cv_libfcache_CFLAGS" 40296 ac_cv_libfcache_LIBADD="$pkg_cv_libfcache_LIBS" 40297fi 40298 40299fi 40300 40301 if test "x$ac_cv_libfcache" = xcheck; then : 40302 for ac_header in libfcache.h 40303do : 40304 ac_fn_c_check_header_mongrel "$LINENO" "libfcache.h" "ac_cv_header_libfcache_h" "$ac_includes_default" 40305if test "x$ac_cv_header_libfcache_h" = xyes; then : 40306 cat >>confdefs.h <<_ACEOF 40307#define HAVE_LIBFCACHE_H 1 40308_ACEOF 40309 40310fi 40311 40312done 40313 40314 40315 if test "x$ac_cv_header_libfcache_h" = xno; then : 40316 ac_cv_libfcache=no 40317else 40318 ac_cv_libfcache=yes 40319 40320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_get_version in -lfcache" >&5 40321$as_echo_n "checking for libfcache_get_version in -lfcache... " >&6; } 40322if ${ac_cv_lib_fcache_libfcache_get_version+:} false; then : 40323 $as_echo_n "(cached) " >&6 40324else 40325 ac_check_lib_save_LIBS=$LIBS 40326LIBS="-lfcache $LIBS" 40327cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40328/* end confdefs.h. */ 40329 40330/* Override any GCC internal prototype to avoid an error. 40331 Use char because int might match the return type of a GCC 40332 builtin and then its argument prototype would still apply. */ 40333#ifdef __cplusplus 40334extern "C" 40335#endif 40336char libfcache_get_version (); 40337int 40338main () 40339{ 40340return libfcache_get_version (); 40341 ; 40342 return 0; 40343} 40344_ACEOF 40345if ac_fn_c_try_link "$LINENO"; then : 40346 ac_cv_lib_fcache_libfcache_get_version=yes 40347else 40348 ac_cv_lib_fcache_libfcache_get_version=no 40349fi 40350rm -f core conftest.err conftest.$ac_objext \ 40351 conftest$ac_exeext conftest.$ac_ext 40352LIBS=$ac_check_lib_save_LIBS 40353fi 40354{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_get_version" >&5 40355$as_echo "$ac_cv_lib_fcache_libfcache_get_version" >&6; } 40356if test "x$ac_cv_lib_fcache_libfcache_get_version" = xyes; then : 40357 ac_cv_libfcache_dummy=yes 40358else 40359 ac_cv_libfcache=no 40360fi 40361 40362 40363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_initialize in -lfcache" >&5 40364$as_echo_n "checking for libfcache_cache_initialize in -lfcache... " >&6; } 40365if ${ac_cv_lib_fcache_libfcache_cache_initialize+:} false; then : 40366 $as_echo_n "(cached) " >&6 40367else 40368 ac_check_lib_save_LIBS=$LIBS 40369LIBS="-lfcache $LIBS" 40370cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40371/* end confdefs.h. */ 40372 40373/* Override any GCC internal prototype to avoid an error. 40374 Use char because int might match the return type of a GCC 40375 builtin and then its argument prototype would still apply. */ 40376#ifdef __cplusplus 40377extern "C" 40378#endif 40379char libfcache_cache_initialize (); 40380int 40381main () 40382{ 40383return libfcache_cache_initialize (); 40384 ; 40385 return 0; 40386} 40387_ACEOF 40388if ac_fn_c_try_link "$LINENO"; then : 40389 ac_cv_lib_fcache_libfcache_cache_initialize=yes 40390else 40391 ac_cv_lib_fcache_libfcache_cache_initialize=no 40392fi 40393rm -f core conftest.err conftest.$ac_objext \ 40394 conftest$ac_exeext conftest.$ac_ext 40395LIBS=$ac_check_lib_save_LIBS 40396fi 40397{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_initialize" >&5 40398$as_echo "$ac_cv_lib_fcache_libfcache_cache_initialize" >&6; } 40399if test "x$ac_cv_lib_fcache_libfcache_cache_initialize" = xyes; then : 40400 ac_cv_libfcache_dummy=yes 40401else 40402 ac_cv_libfcache=no 40403fi 40404 40405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_free in -lfcache" >&5 40406$as_echo_n "checking for libfcache_cache_free in -lfcache... " >&6; } 40407if ${ac_cv_lib_fcache_libfcache_cache_free+:} false; then : 40408 $as_echo_n "(cached) " >&6 40409else 40410 ac_check_lib_save_LIBS=$LIBS 40411LIBS="-lfcache $LIBS" 40412cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40413/* end confdefs.h. */ 40414 40415/* Override any GCC internal prototype to avoid an error. 40416 Use char because int might match the return type of a GCC 40417 builtin and then its argument prototype would still apply. */ 40418#ifdef __cplusplus 40419extern "C" 40420#endif 40421char libfcache_cache_free (); 40422int 40423main () 40424{ 40425return libfcache_cache_free (); 40426 ; 40427 return 0; 40428} 40429_ACEOF 40430if ac_fn_c_try_link "$LINENO"; then : 40431 ac_cv_lib_fcache_libfcache_cache_free=yes 40432else 40433 ac_cv_lib_fcache_libfcache_cache_free=no 40434fi 40435rm -f core conftest.err conftest.$ac_objext \ 40436 conftest$ac_exeext conftest.$ac_ext 40437LIBS=$ac_check_lib_save_LIBS 40438fi 40439{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_free" >&5 40440$as_echo "$ac_cv_lib_fcache_libfcache_cache_free" >&6; } 40441if test "x$ac_cv_lib_fcache_libfcache_cache_free" = xyes; then : 40442 ac_cv_libfcache_dummy=yes 40443else 40444 ac_cv_libfcache=no 40445fi 40446 40447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_clone in -lfcache" >&5 40448$as_echo_n "checking for libfcache_cache_clone in -lfcache... " >&6; } 40449if ${ac_cv_lib_fcache_libfcache_cache_clone+:} false; then : 40450 $as_echo_n "(cached) " >&6 40451else 40452 ac_check_lib_save_LIBS=$LIBS 40453LIBS="-lfcache $LIBS" 40454cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40455/* end confdefs.h. */ 40456 40457/* Override any GCC internal prototype to avoid an error. 40458 Use char because int might match the return type of a GCC 40459 builtin and then its argument prototype would still apply. */ 40460#ifdef __cplusplus 40461extern "C" 40462#endif 40463char libfcache_cache_clone (); 40464int 40465main () 40466{ 40467return libfcache_cache_clone (); 40468 ; 40469 return 0; 40470} 40471_ACEOF 40472if ac_fn_c_try_link "$LINENO"; then : 40473 ac_cv_lib_fcache_libfcache_cache_clone=yes 40474else 40475 ac_cv_lib_fcache_libfcache_cache_clone=no 40476fi 40477rm -f core conftest.err conftest.$ac_objext \ 40478 conftest$ac_exeext conftest.$ac_ext 40479LIBS=$ac_check_lib_save_LIBS 40480fi 40481{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_clone" >&5 40482$as_echo "$ac_cv_lib_fcache_libfcache_cache_clone" >&6; } 40483if test "x$ac_cv_lib_fcache_libfcache_cache_clone" = xyes; then : 40484 ac_cv_libfcache_dummy=yes 40485else 40486 ac_cv_libfcache=no 40487fi 40488 40489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_clear in -lfcache" >&5 40490$as_echo_n "checking for libfcache_cache_clear in -lfcache... " >&6; } 40491if ${ac_cv_lib_fcache_libfcache_cache_clear+:} false; then : 40492 $as_echo_n "(cached) " >&6 40493else 40494 ac_check_lib_save_LIBS=$LIBS 40495LIBS="-lfcache $LIBS" 40496cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40497/* end confdefs.h. */ 40498 40499/* Override any GCC internal prototype to avoid an error. 40500 Use char because int might match the return type of a GCC 40501 builtin and then its argument prototype would still apply. */ 40502#ifdef __cplusplus 40503extern "C" 40504#endif 40505char libfcache_cache_clear (); 40506int 40507main () 40508{ 40509return libfcache_cache_clear (); 40510 ; 40511 return 0; 40512} 40513_ACEOF 40514if ac_fn_c_try_link "$LINENO"; then : 40515 ac_cv_lib_fcache_libfcache_cache_clear=yes 40516else 40517 ac_cv_lib_fcache_libfcache_cache_clear=no 40518fi 40519rm -f core conftest.err conftest.$ac_objext \ 40520 conftest$ac_exeext conftest.$ac_ext 40521LIBS=$ac_check_lib_save_LIBS 40522fi 40523{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_clear" >&5 40524$as_echo "$ac_cv_lib_fcache_libfcache_cache_clear" >&6; } 40525if test "x$ac_cv_lib_fcache_libfcache_cache_clear" = xyes; then : 40526 ac_cv_libfcache_dummy=yes 40527else 40528 ac_cv_libfcache=no 40529fi 40530 40531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_get_number_of_entries in -lfcache" >&5 40532$as_echo_n "checking for libfcache_cache_get_number_of_entries in -lfcache... " >&6; } 40533if ${ac_cv_lib_fcache_libfcache_cache_get_number_of_entries+:} false; then : 40534 $as_echo_n "(cached) " >&6 40535else 40536 ac_check_lib_save_LIBS=$LIBS 40537LIBS="-lfcache $LIBS" 40538cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40539/* end confdefs.h. */ 40540 40541/* Override any GCC internal prototype to avoid an error. 40542 Use char because int might match the return type of a GCC 40543 builtin and then its argument prototype would still apply. */ 40544#ifdef __cplusplus 40545extern "C" 40546#endif 40547char libfcache_cache_get_number_of_entries (); 40548int 40549main () 40550{ 40551return libfcache_cache_get_number_of_entries (); 40552 ; 40553 return 0; 40554} 40555_ACEOF 40556if ac_fn_c_try_link "$LINENO"; then : 40557 ac_cv_lib_fcache_libfcache_cache_get_number_of_entries=yes 40558else 40559 ac_cv_lib_fcache_libfcache_cache_get_number_of_entries=no 40560fi 40561rm -f core conftest.err conftest.$ac_objext \ 40562 conftest$ac_exeext conftest.$ac_ext 40563LIBS=$ac_check_lib_save_LIBS 40564fi 40565{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_get_number_of_entries" >&5 40566$as_echo "$ac_cv_lib_fcache_libfcache_cache_get_number_of_entries" >&6; } 40567if test "x$ac_cv_lib_fcache_libfcache_cache_get_number_of_entries" = xyes; then : 40568 ac_cv_libfcache_dummy=yes 40569else 40570 ac_cv_libfcache=no 40571fi 40572 40573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_get_number_of_cache_values in -lfcache" >&5 40574$as_echo_n "checking for libfcache_cache_get_number_of_cache_values in -lfcache... " >&6; } 40575if ${ac_cv_lib_fcache_libfcache_cache_get_number_of_cache_values+:} false; then : 40576 $as_echo_n "(cached) " >&6 40577else 40578 ac_check_lib_save_LIBS=$LIBS 40579LIBS="-lfcache $LIBS" 40580cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40581/* end confdefs.h. */ 40582 40583/* Override any GCC internal prototype to avoid an error. 40584 Use char because int might match the return type of a GCC 40585 builtin and then its argument prototype would still apply. */ 40586#ifdef __cplusplus 40587extern "C" 40588#endif 40589char libfcache_cache_get_number_of_cache_values (); 40590int 40591main () 40592{ 40593return libfcache_cache_get_number_of_cache_values (); 40594 ; 40595 return 0; 40596} 40597_ACEOF 40598if ac_fn_c_try_link "$LINENO"; then : 40599 ac_cv_lib_fcache_libfcache_cache_get_number_of_cache_values=yes 40600else 40601 ac_cv_lib_fcache_libfcache_cache_get_number_of_cache_values=no 40602fi 40603rm -f core conftest.err conftest.$ac_objext \ 40604 conftest$ac_exeext conftest.$ac_ext 40605LIBS=$ac_check_lib_save_LIBS 40606fi 40607{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_get_number_of_cache_values" >&5 40608$as_echo "$ac_cv_lib_fcache_libfcache_cache_get_number_of_cache_values" >&6; } 40609if test "x$ac_cv_lib_fcache_libfcache_cache_get_number_of_cache_values" = xyes; then : 40610 ac_cv_libfcache_dummy=yes 40611else 40612 ac_cv_libfcache=no 40613fi 40614 40615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_clear_value_by_index in -lfcache" >&5 40616$as_echo_n "checking for libfcache_cache_clear_value_by_index in -lfcache... " >&6; } 40617if ${ac_cv_lib_fcache_libfcache_cache_clear_value_by_index+:} false; then : 40618 $as_echo_n "(cached) " >&6 40619else 40620 ac_check_lib_save_LIBS=$LIBS 40621LIBS="-lfcache $LIBS" 40622cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40623/* end confdefs.h. */ 40624 40625/* Override any GCC internal prototype to avoid an error. 40626 Use char because int might match the return type of a GCC 40627 builtin and then its argument prototype would still apply. */ 40628#ifdef __cplusplus 40629extern "C" 40630#endif 40631char libfcache_cache_clear_value_by_index (); 40632int 40633main () 40634{ 40635return libfcache_cache_clear_value_by_index (); 40636 ; 40637 return 0; 40638} 40639_ACEOF 40640if ac_fn_c_try_link "$LINENO"; then : 40641 ac_cv_lib_fcache_libfcache_cache_clear_value_by_index=yes 40642else 40643 ac_cv_lib_fcache_libfcache_cache_clear_value_by_index=no 40644fi 40645rm -f core conftest.err conftest.$ac_objext \ 40646 conftest$ac_exeext conftest.$ac_ext 40647LIBS=$ac_check_lib_save_LIBS 40648fi 40649{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_clear_value_by_index" >&5 40650$as_echo "$ac_cv_lib_fcache_libfcache_cache_clear_value_by_index" >&6; } 40651if test "x$ac_cv_lib_fcache_libfcache_cache_clear_value_by_index" = xyes; then : 40652 ac_cv_libfcache_dummy=yes 40653else 40654 ac_cv_libfcache=no 40655fi 40656 40657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_get_value_by_identifier in -lfcache" >&5 40658$as_echo_n "checking for libfcache_cache_get_value_by_identifier in -lfcache... " >&6; } 40659if ${ac_cv_lib_fcache_libfcache_cache_get_value_by_identifier+:} false; then : 40660 $as_echo_n "(cached) " >&6 40661else 40662 ac_check_lib_save_LIBS=$LIBS 40663LIBS="-lfcache $LIBS" 40664cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40665/* end confdefs.h. */ 40666 40667/* Override any GCC internal prototype to avoid an error. 40668 Use char because int might match the return type of a GCC 40669 builtin and then its argument prototype would still apply. */ 40670#ifdef __cplusplus 40671extern "C" 40672#endif 40673char libfcache_cache_get_value_by_identifier (); 40674int 40675main () 40676{ 40677return libfcache_cache_get_value_by_identifier (); 40678 ; 40679 return 0; 40680} 40681_ACEOF 40682if ac_fn_c_try_link "$LINENO"; then : 40683 ac_cv_lib_fcache_libfcache_cache_get_value_by_identifier=yes 40684else 40685 ac_cv_lib_fcache_libfcache_cache_get_value_by_identifier=no 40686fi 40687rm -f core conftest.err conftest.$ac_objext \ 40688 conftest$ac_exeext conftest.$ac_ext 40689LIBS=$ac_check_lib_save_LIBS 40690fi 40691{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_get_value_by_identifier" >&5 40692$as_echo "$ac_cv_lib_fcache_libfcache_cache_get_value_by_identifier" >&6; } 40693if test "x$ac_cv_lib_fcache_libfcache_cache_get_value_by_identifier" = xyes; then : 40694 ac_cv_libfcache_dummy=yes 40695else 40696 ac_cv_libfcache=no 40697fi 40698 40699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_get_value_by_index in -lfcache" >&5 40700$as_echo_n "checking for libfcache_cache_get_value_by_index in -lfcache... " >&6; } 40701if ${ac_cv_lib_fcache_libfcache_cache_get_value_by_index+:} false; then : 40702 $as_echo_n "(cached) " >&6 40703else 40704 ac_check_lib_save_LIBS=$LIBS 40705LIBS="-lfcache $LIBS" 40706cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40707/* end confdefs.h. */ 40708 40709/* Override any GCC internal prototype to avoid an error. 40710 Use char because int might match the return type of a GCC 40711 builtin and then its argument prototype would still apply. */ 40712#ifdef __cplusplus 40713extern "C" 40714#endif 40715char libfcache_cache_get_value_by_index (); 40716int 40717main () 40718{ 40719return libfcache_cache_get_value_by_index (); 40720 ; 40721 return 0; 40722} 40723_ACEOF 40724if ac_fn_c_try_link "$LINENO"; then : 40725 ac_cv_lib_fcache_libfcache_cache_get_value_by_index=yes 40726else 40727 ac_cv_lib_fcache_libfcache_cache_get_value_by_index=no 40728fi 40729rm -f core conftest.err conftest.$ac_objext \ 40730 conftest$ac_exeext conftest.$ac_ext 40731LIBS=$ac_check_lib_save_LIBS 40732fi 40733{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_get_value_by_index" >&5 40734$as_echo "$ac_cv_lib_fcache_libfcache_cache_get_value_by_index" >&6; } 40735if test "x$ac_cv_lib_fcache_libfcache_cache_get_value_by_index" = xyes; then : 40736 ac_cv_libfcache_dummy=yes 40737else 40738 ac_cv_libfcache=no 40739fi 40740 40741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_set_value_by_identifier in -lfcache" >&5 40742$as_echo_n "checking for libfcache_cache_set_value_by_identifier in -lfcache... " >&6; } 40743if ${ac_cv_lib_fcache_libfcache_cache_set_value_by_identifier+:} false; then : 40744 $as_echo_n "(cached) " >&6 40745else 40746 ac_check_lib_save_LIBS=$LIBS 40747LIBS="-lfcache $LIBS" 40748cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40749/* end confdefs.h. */ 40750 40751/* Override any GCC internal prototype to avoid an error. 40752 Use char because int might match the return type of a GCC 40753 builtin and then its argument prototype would still apply. */ 40754#ifdef __cplusplus 40755extern "C" 40756#endif 40757char libfcache_cache_set_value_by_identifier (); 40758int 40759main () 40760{ 40761return libfcache_cache_set_value_by_identifier (); 40762 ; 40763 return 0; 40764} 40765_ACEOF 40766if ac_fn_c_try_link "$LINENO"; then : 40767 ac_cv_lib_fcache_libfcache_cache_set_value_by_identifier=yes 40768else 40769 ac_cv_lib_fcache_libfcache_cache_set_value_by_identifier=no 40770fi 40771rm -f core conftest.err conftest.$ac_objext \ 40772 conftest$ac_exeext conftest.$ac_ext 40773LIBS=$ac_check_lib_save_LIBS 40774fi 40775{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_set_value_by_identifier" >&5 40776$as_echo "$ac_cv_lib_fcache_libfcache_cache_set_value_by_identifier" >&6; } 40777if test "x$ac_cv_lib_fcache_libfcache_cache_set_value_by_identifier" = xyes; then : 40778 ac_cv_libfcache_dummy=yes 40779else 40780 ac_cv_libfcache=no 40781fi 40782 40783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_set_value_by_index in -lfcache" >&5 40784$as_echo_n "checking for libfcache_cache_set_value_by_index in -lfcache... " >&6; } 40785if ${ac_cv_lib_fcache_libfcache_cache_set_value_by_index+:} false; then : 40786 $as_echo_n "(cached) " >&6 40787else 40788 ac_check_lib_save_LIBS=$LIBS 40789LIBS="-lfcache $LIBS" 40790cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40791/* end confdefs.h. */ 40792 40793/* Override any GCC internal prototype to avoid an error. 40794 Use char because int might match the return type of a GCC 40795 builtin and then its argument prototype would still apply. */ 40796#ifdef __cplusplus 40797extern "C" 40798#endif 40799char libfcache_cache_set_value_by_index (); 40800int 40801main () 40802{ 40803return libfcache_cache_set_value_by_index (); 40804 ; 40805 return 0; 40806} 40807_ACEOF 40808if ac_fn_c_try_link "$LINENO"; then : 40809 ac_cv_lib_fcache_libfcache_cache_set_value_by_index=yes 40810else 40811 ac_cv_lib_fcache_libfcache_cache_set_value_by_index=no 40812fi 40813rm -f core conftest.err conftest.$ac_objext \ 40814 conftest$ac_exeext conftest.$ac_ext 40815LIBS=$ac_check_lib_save_LIBS 40816fi 40817{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_set_value_by_index" >&5 40818$as_echo "$ac_cv_lib_fcache_libfcache_cache_set_value_by_index" >&6; } 40819if test "x$ac_cv_lib_fcache_libfcache_cache_set_value_by_index" = xyes; then : 40820 ac_cv_libfcache_dummy=yes 40821else 40822 ac_cv_libfcache=no 40823fi 40824 40825 40826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_value_free in -lfcache" >&5 40827$as_echo_n "checking for libfcache_cache_value_free in -lfcache... " >&6; } 40828if ${ac_cv_lib_fcache_libfcache_cache_value_free+:} false; then : 40829 $as_echo_n "(cached) " >&6 40830else 40831 ac_check_lib_save_LIBS=$LIBS 40832LIBS="-lfcache $LIBS" 40833cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40834/* end confdefs.h. */ 40835 40836/* Override any GCC internal prototype to avoid an error. 40837 Use char because int might match the return type of a GCC 40838 builtin and then its argument prototype would still apply. */ 40839#ifdef __cplusplus 40840extern "C" 40841#endif 40842char libfcache_cache_value_free (); 40843int 40844main () 40845{ 40846return libfcache_cache_value_free (); 40847 ; 40848 return 0; 40849} 40850_ACEOF 40851if ac_fn_c_try_link "$LINENO"; then : 40852 ac_cv_lib_fcache_libfcache_cache_value_free=yes 40853else 40854 ac_cv_lib_fcache_libfcache_cache_value_free=no 40855fi 40856rm -f core conftest.err conftest.$ac_objext \ 40857 conftest$ac_exeext conftest.$ac_ext 40858LIBS=$ac_check_lib_save_LIBS 40859fi 40860{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_value_free" >&5 40861$as_echo "$ac_cv_lib_fcache_libfcache_cache_value_free" >&6; } 40862if test "x$ac_cv_lib_fcache_libfcache_cache_value_free" = xyes; then : 40863 ac_cv_libfcache_dummy=yes 40864else 40865 ac_cv_libfcache=no 40866fi 40867 40868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_value_clear in -lfcache" >&5 40869$as_echo_n "checking for libfcache_cache_value_clear in -lfcache... " >&6; } 40870if ${ac_cv_lib_fcache_libfcache_cache_value_clear+:} false; then : 40871 $as_echo_n "(cached) " >&6 40872else 40873 ac_check_lib_save_LIBS=$LIBS 40874LIBS="-lfcache $LIBS" 40875cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40876/* end confdefs.h. */ 40877 40878/* Override any GCC internal prototype to avoid an error. 40879 Use char because int might match the return type of a GCC 40880 builtin and then its argument prototype would still apply. */ 40881#ifdef __cplusplus 40882extern "C" 40883#endif 40884char libfcache_cache_value_clear (); 40885int 40886main () 40887{ 40888return libfcache_cache_value_clear (); 40889 ; 40890 return 0; 40891} 40892_ACEOF 40893if ac_fn_c_try_link "$LINENO"; then : 40894 ac_cv_lib_fcache_libfcache_cache_value_clear=yes 40895else 40896 ac_cv_lib_fcache_libfcache_cache_value_clear=no 40897fi 40898rm -f core conftest.err conftest.$ac_objext \ 40899 conftest$ac_exeext conftest.$ac_ext 40900LIBS=$ac_check_lib_save_LIBS 40901fi 40902{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_value_clear" >&5 40903$as_echo "$ac_cv_lib_fcache_libfcache_cache_value_clear" >&6; } 40904if test "x$ac_cv_lib_fcache_libfcache_cache_value_clear" = xyes; then : 40905 ac_cv_libfcache_dummy=yes 40906else 40907 ac_cv_libfcache=no 40908fi 40909 40910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_value_get_identifier in -lfcache" >&5 40911$as_echo_n "checking for libfcache_cache_value_get_identifier in -lfcache... " >&6; } 40912if ${ac_cv_lib_fcache_libfcache_cache_value_get_identifier+:} false; then : 40913 $as_echo_n "(cached) " >&6 40914else 40915 ac_check_lib_save_LIBS=$LIBS 40916LIBS="-lfcache $LIBS" 40917cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40918/* end confdefs.h. */ 40919 40920/* Override any GCC internal prototype to avoid an error. 40921 Use char because int might match the return type of a GCC 40922 builtin and then its argument prototype would still apply. */ 40923#ifdef __cplusplus 40924extern "C" 40925#endif 40926char libfcache_cache_value_get_identifier (); 40927int 40928main () 40929{ 40930return libfcache_cache_value_get_identifier (); 40931 ; 40932 return 0; 40933} 40934_ACEOF 40935if ac_fn_c_try_link "$LINENO"; then : 40936 ac_cv_lib_fcache_libfcache_cache_value_get_identifier=yes 40937else 40938 ac_cv_lib_fcache_libfcache_cache_value_get_identifier=no 40939fi 40940rm -f core conftest.err conftest.$ac_objext \ 40941 conftest$ac_exeext conftest.$ac_ext 40942LIBS=$ac_check_lib_save_LIBS 40943fi 40944{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_value_get_identifier" >&5 40945$as_echo "$ac_cv_lib_fcache_libfcache_cache_value_get_identifier" >&6; } 40946if test "x$ac_cv_lib_fcache_libfcache_cache_value_get_identifier" = xyes; then : 40947 ac_cv_libfcache_dummy=yes 40948else 40949 ac_cv_libfcache=no 40950fi 40951 40952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_value_set_identifier in -lfcache" >&5 40953$as_echo_n "checking for libfcache_cache_value_set_identifier in -lfcache... " >&6; } 40954if ${ac_cv_lib_fcache_libfcache_cache_value_set_identifier+:} false; then : 40955 $as_echo_n "(cached) " >&6 40956else 40957 ac_check_lib_save_LIBS=$LIBS 40958LIBS="-lfcache $LIBS" 40959cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40960/* end confdefs.h. */ 40961 40962/* Override any GCC internal prototype to avoid an error. 40963 Use char because int might match the return type of a GCC 40964 builtin and then its argument prototype would still apply. */ 40965#ifdef __cplusplus 40966extern "C" 40967#endif 40968char libfcache_cache_value_set_identifier (); 40969int 40970main () 40971{ 40972return libfcache_cache_value_set_identifier (); 40973 ; 40974 return 0; 40975} 40976_ACEOF 40977if ac_fn_c_try_link "$LINENO"; then : 40978 ac_cv_lib_fcache_libfcache_cache_value_set_identifier=yes 40979else 40980 ac_cv_lib_fcache_libfcache_cache_value_set_identifier=no 40981fi 40982rm -f core conftest.err conftest.$ac_objext \ 40983 conftest$ac_exeext conftest.$ac_ext 40984LIBS=$ac_check_lib_save_LIBS 40985fi 40986{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_value_set_identifier" >&5 40987$as_echo "$ac_cv_lib_fcache_libfcache_cache_value_set_identifier" >&6; } 40988if test "x$ac_cv_lib_fcache_libfcache_cache_value_set_identifier" = xyes; then : 40989 ac_cv_libfcache_dummy=yes 40990else 40991 ac_cv_libfcache=no 40992fi 40993 40994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_value_get_value in -lfcache" >&5 40995$as_echo_n "checking for libfcache_cache_value_get_value in -lfcache... " >&6; } 40996if ${ac_cv_lib_fcache_libfcache_cache_value_get_value+:} false; then : 40997 $as_echo_n "(cached) " >&6 40998else 40999 ac_check_lib_save_LIBS=$LIBS 41000LIBS="-lfcache $LIBS" 41001cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41002/* end confdefs.h. */ 41003 41004/* Override any GCC internal prototype to avoid an error. 41005 Use char because int might match the return type of a GCC 41006 builtin and then its argument prototype would still apply. */ 41007#ifdef __cplusplus 41008extern "C" 41009#endif 41010char libfcache_cache_value_get_value (); 41011int 41012main () 41013{ 41014return libfcache_cache_value_get_value (); 41015 ; 41016 return 0; 41017} 41018_ACEOF 41019if ac_fn_c_try_link "$LINENO"; then : 41020 ac_cv_lib_fcache_libfcache_cache_value_get_value=yes 41021else 41022 ac_cv_lib_fcache_libfcache_cache_value_get_value=no 41023fi 41024rm -f core conftest.err conftest.$ac_objext \ 41025 conftest$ac_exeext conftest.$ac_ext 41026LIBS=$ac_check_lib_save_LIBS 41027fi 41028{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_value_get_value" >&5 41029$as_echo "$ac_cv_lib_fcache_libfcache_cache_value_get_value" >&6; } 41030if test "x$ac_cv_lib_fcache_libfcache_cache_value_get_value" = xyes; then : 41031 ac_cv_libfcache_dummy=yes 41032else 41033 ac_cv_libfcache=no 41034fi 41035 41036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_cache_value_set_value in -lfcache" >&5 41037$as_echo_n "checking for libfcache_cache_value_set_value in -lfcache... " >&6; } 41038if ${ac_cv_lib_fcache_libfcache_cache_value_set_value+:} false; then : 41039 $as_echo_n "(cached) " >&6 41040else 41041 ac_check_lib_save_LIBS=$LIBS 41042LIBS="-lfcache $LIBS" 41043cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41044/* end confdefs.h. */ 41045 41046/* Override any GCC internal prototype to avoid an error. 41047 Use char because int might match the return type of a GCC 41048 builtin and then its argument prototype would still apply. */ 41049#ifdef __cplusplus 41050extern "C" 41051#endif 41052char libfcache_cache_value_set_value (); 41053int 41054main () 41055{ 41056return libfcache_cache_value_set_value (); 41057 ; 41058 return 0; 41059} 41060_ACEOF 41061if ac_fn_c_try_link "$LINENO"; then : 41062 ac_cv_lib_fcache_libfcache_cache_value_set_value=yes 41063else 41064 ac_cv_lib_fcache_libfcache_cache_value_set_value=no 41065fi 41066rm -f core conftest.err conftest.$ac_objext \ 41067 conftest$ac_exeext conftest.$ac_ext 41068LIBS=$ac_check_lib_save_LIBS 41069fi 41070{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_cache_value_set_value" >&5 41071$as_echo "$ac_cv_lib_fcache_libfcache_cache_value_set_value" >&6; } 41072if test "x$ac_cv_lib_fcache_libfcache_cache_value_set_value" = xyes; then : 41073 ac_cv_libfcache_dummy=yes 41074else 41075 ac_cv_libfcache=no 41076fi 41077 41078 41079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfcache_date_time_get_timestamp in -lfcache" >&5 41080$as_echo_n "checking for libfcache_date_time_get_timestamp in -lfcache... " >&6; } 41081if ${ac_cv_lib_fcache_libfcache_date_time_get_timestamp+:} false; then : 41082 $as_echo_n "(cached) " >&6 41083else 41084 ac_check_lib_save_LIBS=$LIBS 41085LIBS="-lfcache $LIBS" 41086cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41087/* end confdefs.h. */ 41088 41089/* Override any GCC internal prototype to avoid an error. 41090 Use char because int might match the return type of a GCC 41091 builtin and then its argument prototype would still apply. */ 41092#ifdef __cplusplus 41093extern "C" 41094#endif 41095char libfcache_date_time_get_timestamp (); 41096int 41097main () 41098{ 41099return libfcache_date_time_get_timestamp (); 41100 ; 41101 return 0; 41102} 41103_ACEOF 41104if ac_fn_c_try_link "$LINENO"; then : 41105 ac_cv_lib_fcache_libfcache_date_time_get_timestamp=yes 41106else 41107 ac_cv_lib_fcache_libfcache_date_time_get_timestamp=no 41108fi 41109rm -f core conftest.err conftest.$ac_objext \ 41110 conftest$ac_exeext conftest.$ac_ext 41111LIBS=$ac_check_lib_save_LIBS 41112fi 41113{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fcache_libfcache_date_time_get_timestamp" >&5 41114$as_echo "$ac_cv_lib_fcache_libfcache_date_time_get_timestamp" >&6; } 41115if test "x$ac_cv_lib_fcache_libfcache_date_time_get_timestamp" = xyes; then : 41116 ac_cv_libfcache_dummy=yes 41117else 41118 ac_cv_libfcache=no 41119fi 41120 41121 41122 ac_cv_libfcache_LIBADD="-lfcache" 41123fi 41124 41125fi 41126 if test "x$ac_cv_with_libfcache" != x && test "x$ac_cv_with_libfcache" != xauto-detect && test "x$ac_cv_libfcache" != xyes; then : 41127 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 41128$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 41129as_fn_error 1 "unable to find supported libfcache in directory: $ac_cv_with_libfcache 41130See \`config.log' for more details" "$LINENO" 5; } 41131 41132fi 41133 41134fi 41135 41136 if test "x$ac_cv_libfcache" = xyes; then : 41137 41138$as_echo "#define HAVE_LIBFCACHE 1" >>confdefs.h 41139 41140 41141fi 41142 41143 if test "x$ac_cv_libfcache" = xyes; then : 41144 HAVE_LIBFCACHE=1 41145 41146else 41147 HAVE_LIBFCACHE=0 41148 41149 41150fi 41151 41152 41153 if test "x$ac_cv_libfcache" != xyes; then : 41154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5 41155$as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; } 41156if ${ac_cv_struct_tm+:} false; then : 41157 $as_echo_n "(cached) " >&6 41158else 41159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41160/* end confdefs.h. */ 41161#include <sys/types.h> 41162#include <time.h> 41163 41164int 41165main () 41166{ 41167struct tm tm; 41168 int *p = &tm.tm_sec; 41169 return !p; 41170 ; 41171 return 0; 41172} 41173_ACEOF 41174if ac_fn_c_try_compile "$LINENO"; then : 41175 ac_cv_struct_tm=time.h 41176else 41177 ac_cv_struct_tm=sys/time.h 41178fi 41179rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 41180fi 41181{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5 41182$as_echo "$ac_cv_struct_tm" >&6; } 41183if test $ac_cv_struct_tm = sys/time.h; then 41184 41185$as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h 41186 41187fi 41188 41189 41190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 41191$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } 41192if ${ac_cv_header_time+:} false; then : 41193 $as_echo_n "(cached) " >&6 41194else 41195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41196/* end confdefs.h. */ 41197#include <sys/types.h> 41198#include <sys/time.h> 41199#include <time.h> 41200 41201int 41202main () 41203{ 41204if ((struct tm *) 0) 41205return 0; 41206 ; 41207 return 0; 41208} 41209_ACEOF 41210if ac_fn_c_try_compile "$LINENO"; then : 41211 ac_cv_header_time=yes 41212else 41213 ac_cv_header_time=no 41214fi 41215rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 41216fi 41217{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5 41218$as_echo "$ac_cv_header_time" >&6; } 41219if test $ac_cv_header_time = yes; then 41220 41221$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h 41222 41223fi 41224 41225 41226 for ac_func in clock_gettime time 41227do : 41228 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 41229ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 41230if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 41231 cat >>confdefs.h <<_ACEOF 41232#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 41233_ACEOF 41234 41235fi 41236done 41237 41238 41239 if test "x$ac_cv_func_time" != xyes; then : 41240 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 41241$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 41242as_fn_error 1 "Missing function: time 41243See \`config.log' for more details" "$LINENO" 5; } 41244 41245fi 41246 41247 ac_cv_libfcache_CPPFLAGS="-I../libfcache"; 41248 ac_cv_libfcache_LIBADD="../libfcache/libfcache.la"; 41249 41250 ac_cv_libfcache=local 41251 41252 41253 41254$as_echo "#define HAVE_LOCAL_LIBFCACHE 1" >>confdefs.h 41255 41256 HAVE_LOCAL_LIBFCACHE=1 41257 41258 41259fi 41260 41261 if test "x$ac_cv_libfcache" = xlocal; then 41262 HAVE_LOCAL_LIBFCACHE_TRUE= 41263 HAVE_LOCAL_LIBFCACHE_FALSE='#' 41264else 41265 HAVE_LOCAL_LIBFCACHE_TRUE='#' 41266 HAVE_LOCAL_LIBFCACHE_FALSE= 41267fi 41268 41269 if test "x$ac_cv_libfcache_CPPFLAGS" != "x"; then : 41270 LIBFCACHE_CPPFLAGS=$ac_cv_libfcache_CPPFLAGS 41271 41272 41273fi 41274 if test "x$ac_cv_libfcache_LIBADD" != "x"; then : 41275 LIBFCACHE_LIBADD=$ac_cv_libfcache_LIBADD 41276 41277 41278fi 41279 41280 if test "x$ac_cv_libfcache" = xyes; then : 41281 ax_libfcache_pc_libs_private=-lfcache 41282 41283 41284fi 41285 41286 if test "x$ac_cv_libfcache" = xyes; then : 41287 ax_libfcache_spec_requires=libfcache 41288 41289 ax_libfcache_spec_build_requires=libfcache-devel 41290 41291 41292fi 41293 41294 41295 41296 41297# Check whether --with-libfdata was given. 41298if test "${with_libfdata+set}" = set; then : 41299 withval=$with_libfdata; ac_cv_with_libfdata=$withval 41300else 41301 ac_cv_with_libfdata=auto-detect 41302fi 41303 41304 { $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 41305$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; } 41306if ${ac_cv_with_libfdata+:} false; then : 41307 $as_echo_n "(cached) " >&6 41308else 41309 ac_cv_with_libfdata=auto-detect 41310fi 41311{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libfdata" >&5 41312$as_echo "$ac_cv_with_libfdata" >&6; } 41313 41314 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libfdata" = xno; then : 41315 ac_cv_libfdata=no 41316else 41317 ac_cv_libfdata=check 41318 if test "x$ac_cv_with_libfdata" != x && test "x$ac_cv_with_libfdata" != xauto-detect; then : 41319 if test -d "$ac_cv_with_libfdata"; then : 41320 CFLAGS="$CFLAGS -I${ac_cv_with_libfdata}/include" 41321 LDFLAGS="$LDFLAGS -L${ac_cv_with_libfdata}/lib" 41322else 41323 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 41324$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 41325as_fn_error 1 "no such directory: $ac_cv_with_libfdata 41326See \`config.log' for more details" "$LINENO" 5; } 41327 41328fi 41329 41330else 41331 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 41332 41333pkg_failed=no 41334{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata" >&5 41335$as_echo_n "checking for libfdata... " >&6; } 41336 41337if test -n "$libfdata_CFLAGS"; then 41338 pkg_cv_libfdata_CFLAGS="$libfdata_CFLAGS" 41339 elif test -n "$PKG_CONFIG"; then 41340 if test -n "$PKG_CONFIG" && \ 41341 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfdata >= 20201129\""; } >&5 41342 ($PKG_CONFIG --exists --print-errors "libfdata >= 20201129") 2>&5 41343 ac_status=$? 41344 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 41345 test $ac_status = 0; }; then 41346 pkg_cv_libfdata_CFLAGS=`$PKG_CONFIG --cflags "libfdata >= 20201129" 2>/dev/null` 41347 test "x$?" != "x0" && pkg_failed=yes 41348else 41349 pkg_failed=yes 41350fi 41351 else 41352 pkg_failed=untried 41353fi 41354if test -n "$libfdata_LIBS"; then 41355 pkg_cv_libfdata_LIBS="$libfdata_LIBS" 41356 elif test -n "$PKG_CONFIG"; then 41357 if test -n "$PKG_CONFIG" && \ 41358 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfdata >= 20201129\""; } >&5 41359 ($PKG_CONFIG --exists --print-errors "libfdata >= 20201129") 2>&5 41360 ac_status=$? 41361 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 41362 test $ac_status = 0; }; then 41363 pkg_cv_libfdata_LIBS=`$PKG_CONFIG --libs "libfdata >= 20201129" 2>/dev/null` 41364 test "x$?" != "x0" && pkg_failed=yes 41365else 41366 pkg_failed=yes 41367fi 41368 else 41369 pkg_failed=untried 41370fi 41371 41372 41373 41374if test $pkg_failed = yes; then 41375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 41376$as_echo "no" >&6; } 41377 41378if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 41379 _pkg_short_errors_supported=yes 41380else 41381 _pkg_short_errors_supported=no 41382fi 41383 if test $_pkg_short_errors_supported = yes; then 41384 libfdata_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libfdata >= 20201129" 2>&1` 41385 else 41386 libfdata_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libfdata >= 20201129" 2>&1` 41387 fi 41388 # Put the nasty error message in config.log where it belongs 41389 echo "$libfdata_PKG_ERRORS" >&5 41390 41391 ac_cv_libfdata=check 41392elif test $pkg_failed = untried; then 41393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 41394$as_echo "no" >&6; } 41395 ac_cv_libfdata=check 41396else 41397 libfdata_CFLAGS=$pkg_cv_libfdata_CFLAGS 41398 libfdata_LIBS=$pkg_cv_libfdata_LIBS 41399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 41400$as_echo "yes" >&6; } 41401 ac_cv_libfdata=yes 41402fi 41403 41404fi 41405 if test "x$ac_cv_libfdata" = xyes; then : 41406 ac_cv_libfdata_CPPFLAGS="$pkg_cv_libfdata_CFLAGS" 41407 ac_cv_libfdata_LIBADD="$pkg_cv_libfdata_LIBS" 41408fi 41409 41410fi 41411 41412 if test "x$ac_cv_libfdata" = xcheck; then : 41413 for ac_header in libfdata.h 41414do : 41415 ac_fn_c_check_header_mongrel "$LINENO" "libfdata.h" "ac_cv_header_libfdata_h" "$ac_includes_default" 41416if test "x$ac_cv_header_libfdata_h" = xyes; then : 41417 cat >>confdefs.h <<_ACEOF 41418#define HAVE_LIBFDATA_H 1 41419_ACEOF 41420 41421fi 41422 41423done 41424 41425 41426 if test "x$ac_cv_header_libfdata_h" = xno; then : 41427 ac_cv_libfdata=no 41428else 41429 ac_cv_libfdata=yes 41430 41431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_get_version in -lfdata" >&5 41432$as_echo_n "checking for libfdata_get_version in -lfdata... " >&6; } 41433if ${ac_cv_lib_fdata_libfdata_get_version+:} false; then : 41434 $as_echo_n "(cached) " >&6 41435else 41436 ac_check_lib_save_LIBS=$LIBS 41437LIBS="-lfdata $LIBS" 41438cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41439/* end confdefs.h. */ 41440 41441/* Override any GCC internal prototype to avoid an error. 41442 Use char because int might match the return type of a GCC 41443 builtin and then its argument prototype would still apply. */ 41444#ifdef __cplusplus 41445extern "C" 41446#endif 41447char libfdata_get_version (); 41448int 41449main () 41450{ 41451return libfdata_get_version (); 41452 ; 41453 return 0; 41454} 41455_ACEOF 41456if ac_fn_c_try_link "$LINENO"; then : 41457 ac_cv_lib_fdata_libfdata_get_version=yes 41458else 41459 ac_cv_lib_fdata_libfdata_get_version=no 41460fi 41461rm -f core conftest.err conftest.$ac_objext \ 41462 conftest$ac_exeext conftest.$ac_ext 41463LIBS=$ac_check_lib_save_LIBS 41464fi 41465{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_get_version" >&5 41466$as_echo "$ac_cv_lib_fdata_libfdata_get_version" >&6; } 41467if test "x$ac_cv_lib_fdata_libfdata_get_version" = xyes; then : 41468 ac_cv_libfdata_dummy=yes 41469else 41470 ac_cv_libfdata=no 41471fi 41472 41473 41474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_initialize in -lfdata" >&5 41475$as_echo_n "checking for libfdata_area_initialize in -lfdata... " >&6; } 41476if ${ac_cv_lib_fdata_libfdata_area_initialize+:} false; then : 41477 $as_echo_n "(cached) " >&6 41478else 41479 ac_check_lib_save_LIBS=$LIBS 41480LIBS="-lfdata $LIBS" 41481cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41482/* end confdefs.h. */ 41483 41484/* Override any GCC internal prototype to avoid an error. 41485 Use char because int might match the return type of a GCC 41486 builtin and then its argument prototype would still apply. */ 41487#ifdef __cplusplus 41488extern "C" 41489#endif 41490char libfdata_area_initialize (); 41491int 41492main () 41493{ 41494return libfdata_area_initialize (); 41495 ; 41496 return 0; 41497} 41498_ACEOF 41499if ac_fn_c_try_link "$LINENO"; then : 41500 ac_cv_lib_fdata_libfdata_area_initialize=yes 41501else 41502 ac_cv_lib_fdata_libfdata_area_initialize=no 41503fi 41504rm -f core conftest.err conftest.$ac_objext \ 41505 conftest$ac_exeext conftest.$ac_ext 41506LIBS=$ac_check_lib_save_LIBS 41507fi 41508{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_initialize" >&5 41509$as_echo "$ac_cv_lib_fdata_libfdata_area_initialize" >&6; } 41510if test "x$ac_cv_lib_fdata_libfdata_area_initialize" = xyes; then : 41511 ac_cv_libfdata_dummy=yes 41512else 41513 ac_cv_libfdata=no 41514fi 41515 41516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_free in -lfdata" >&5 41517$as_echo_n "checking for libfdata_area_free in -lfdata... " >&6; } 41518if ${ac_cv_lib_fdata_libfdata_area_free+:} false; then : 41519 $as_echo_n "(cached) " >&6 41520else 41521 ac_check_lib_save_LIBS=$LIBS 41522LIBS="-lfdata $LIBS" 41523cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41524/* end confdefs.h. */ 41525 41526/* Override any GCC internal prototype to avoid an error. 41527 Use char because int might match the return type of a GCC 41528 builtin and then its argument prototype would still apply. */ 41529#ifdef __cplusplus 41530extern "C" 41531#endif 41532char libfdata_area_free (); 41533int 41534main () 41535{ 41536return libfdata_area_free (); 41537 ; 41538 return 0; 41539} 41540_ACEOF 41541if ac_fn_c_try_link "$LINENO"; then : 41542 ac_cv_lib_fdata_libfdata_area_free=yes 41543else 41544 ac_cv_lib_fdata_libfdata_area_free=no 41545fi 41546rm -f core conftest.err conftest.$ac_objext \ 41547 conftest$ac_exeext conftest.$ac_ext 41548LIBS=$ac_check_lib_save_LIBS 41549fi 41550{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_free" >&5 41551$as_echo "$ac_cv_lib_fdata_libfdata_area_free" >&6; } 41552if test "x$ac_cv_lib_fdata_libfdata_area_free" = xyes; then : 41553 ac_cv_libfdata_dummy=yes 41554else 41555 ac_cv_libfdata=no 41556fi 41557 41558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_clone in -lfdata" >&5 41559$as_echo_n "checking for libfdata_area_clone in -lfdata... " >&6; } 41560if ${ac_cv_lib_fdata_libfdata_area_clone+:} false; then : 41561 $as_echo_n "(cached) " >&6 41562else 41563 ac_check_lib_save_LIBS=$LIBS 41564LIBS="-lfdata $LIBS" 41565cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41566/* end confdefs.h. */ 41567 41568/* Override any GCC internal prototype to avoid an error. 41569 Use char because int might match the return type of a GCC 41570 builtin and then its argument prototype would still apply. */ 41571#ifdef __cplusplus 41572extern "C" 41573#endif 41574char libfdata_area_clone (); 41575int 41576main () 41577{ 41578return libfdata_area_clone (); 41579 ; 41580 return 0; 41581} 41582_ACEOF 41583if ac_fn_c_try_link "$LINENO"; then : 41584 ac_cv_lib_fdata_libfdata_area_clone=yes 41585else 41586 ac_cv_lib_fdata_libfdata_area_clone=no 41587fi 41588rm -f core conftest.err conftest.$ac_objext \ 41589 conftest$ac_exeext conftest.$ac_ext 41590LIBS=$ac_check_lib_save_LIBS 41591fi 41592{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_clone" >&5 41593$as_echo "$ac_cv_lib_fdata_libfdata_area_clone" >&6; } 41594if test "x$ac_cv_lib_fdata_libfdata_area_clone" = xyes; then : 41595 ac_cv_libfdata_dummy=yes 41596else 41597 ac_cv_libfdata=no 41598fi 41599 41600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_empty in -lfdata" >&5 41601$as_echo_n "checking for libfdata_area_empty in -lfdata... " >&6; } 41602if ${ac_cv_lib_fdata_libfdata_area_empty+:} false; then : 41603 $as_echo_n "(cached) " >&6 41604else 41605 ac_check_lib_save_LIBS=$LIBS 41606LIBS="-lfdata $LIBS" 41607cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41608/* end confdefs.h. */ 41609 41610/* Override any GCC internal prototype to avoid an error. 41611 Use char because int might match the return type of a GCC 41612 builtin and then its argument prototype would still apply. */ 41613#ifdef __cplusplus 41614extern "C" 41615#endif 41616char libfdata_area_empty (); 41617int 41618main () 41619{ 41620return libfdata_area_empty (); 41621 ; 41622 return 0; 41623} 41624_ACEOF 41625if ac_fn_c_try_link "$LINENO"; then : 41626 ac_cv_lib_fdata_libfdata_area_empty=yes 41627else 41628 ac_cv_lib_fdata_libfdata_area_empty=no 41629fi 41630rm -f core conftest.err conftest.$ac_objext \ 41631 conftest$ac_exeext conftest.$ac_ext 41632LIBS=$ac_check_lib_save_LIBS 41633fi 41634{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_empty" >&5 41635$as_echo "$ac_cv_lib_fdata_libfdata_area_empty" >&6; } 41636if test "x$ac_cv_lib_fdata_libfdata_area_empty" = xyes; then : 41637 ac_cv_libfdata_dummy=yes 41638else 41639 ac_cv_libfdata=no 41640fi 41641 41642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_resize in -lfdata" >&5 41643$as_echo_n "checking for libfdata_area_resize in -lfdata... " >&6; } 41644if ${ac_cv_lib_fdata_libfdata_area_resize+:} false; then : 41645 $as_echo_n "(cached) " >&6 41646else 41647 ac_check_lib_save_LIBS=$LIBS 41648LIBS="-lfdata $LIBS" 41649cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41650/* end confdefs.h. */ 41651 41652/* Override any GCC internal prototype to avoid an error. 41653 Use char because int might match the return type of a GCC 41654 builtin and then its argument prototype would still apply. */ 41655#ifdef __cplusplus 41656extern "C" 41657#endif 41658char libfdata_area_resize (); 41659int 41660main () 41661{ 41662return libfdata_area_resize (); 41663 ; 41664 return 0; 41665} 41666_ACEOF 41667if ac_fn_c_try_link "$LINENO"; then : 41668 ac_cv_lib_fdata_libfdata_area_resize=yes 41669else 41670 ac_cv_lib_fdata_libfdata_area_resize=no 41671fi 41672rm -f core conftest.err conftest.$ac_objext \ 41673 conftest$ac_exeext conftest.$ac_ext 41674LIBS=$ac_check_lib_save_LIBS 41675fi 41676{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_resize" >&5 41677$as_echo "$ac_cv_lib_fdata_libfdata_area_resize" >&6; } 41678if test "x$ac_cv_lib_fdata_libfdata_area_resize" = xyes; then : 41679 ac_cv_libfdata_dummy=yes 41680else 41681 ac_cv_libfdata=no 41682fi 41683 41684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_get_number_of_segments in -lfdata" >&5 41685$as_echo_n "checking for libfdata_area_get_number_of_segments in -lfdata... " >&6; } 41686if ${ac_cv_lib_fdata_libfdata_area_get_number_of_segments+:} false; then : 41687 $as_echo_n "(cached) " >&6 41688else 41689 ac_check_lib_save_LIBS=$LIBS 41690LIBS="-lfdata $LIBS" 41691cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41692/* end confdefs.h. */ 41693 41694/* Override any GCC internal prototype to avoid an error. 41695 Use char because int might match the return type of a GCC 41696 builtin and then its argument prototype would still apply. */ 41697#ifdef __cplusplus 41698extern "C" 41699#endif 41700char libfdata_area_get_number_of_segments (); 41701int 41702main () 41703{ 41704return libfdata_area_get_number_of_segments (); 41705 ; 41706 return 0; 41707} 41708_ACEOF 41709if ac_fn_c_try_link "$LINENO"; then : 41710 ac_cv_lib_fdata_libfdata_area_get_number_of_segments=yes 41711else 41712 ac_cv_lib_fdata_libfdata_area_get_number_of_segments=no 41713fi 41714rm -f core conftest.err conftest.$ac_objext \ 41715 conftest$ac_exeext conftest.$ac_ext 41716LIBS=$ac_check_lib_save_LIBS 41717fi 41718{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_get_number_of_segments" >&5 41719$as_echo "$ac_cv_lib_fdata_libfdata_area_get_number_of_segments" >&6; } 41720if test "x$ac_cv_lib_fdata_libfdata_area_get_number_of_segments" = xyes; then : 41721 ac_cv_libfdata_dummy=yes 41722else 41723 ac_cv_libfdata=no 41724fi 41725 41726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_get_segment_by_index in -lfdata" >&5 41727$as_echo_n "checking for libfdata_area_get_segment_by_index in -lfdata... " >&6; } 41728if ${ac_cv_lib_fdata_libfdata_area_get_segment_by_index+:} false; then : 41729 $as_echo_n "(cached) " >&6 41730else 41731 ac_check_lib_save_LIBS=$LIBS 41732LIBS="-lfdata $LIBS" 41733cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41734/* end confdefs.h. */ 41735 41736/* Override any GCC internal prototype to avoid an error. 41737 Use char because int might match the return type of a GCC 41738 builtin and then its argument prototype would still apply. */ 41739#ifdef __cplusplus 41740extern "C" 41741#endif 41742char libfdata_area_get_segment_by_index (); 41743int 41744main () 41745{ 41746return libfdata_area_get_segment_by_index (); 41747 ; 41748 return 0; 41749} 41750_ACEOF 41751if ac_fn_c_try_link "$LINENO"; then : 41752 ac_cv_lib_fdata_libfdata_area_get_segment_by_index=yes 41753else 41754 ac_cv_lib_fdata_libfdata_area_get_segment_by_index=no 41755fi 41756rm -f core conftest.err conftest.$ac_objext \ 41757 conftest$ac_exeext conftest.$ac_ext 41758LIBS=$ac_check_lib_save_LIBS 41759fi 41760{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_get_segment_by_index" >&5 41761$as_echo "$ac_cv_lib_fdata_libfdata_area_get_segment_by_index" >&6; } 41762if test "x$ac_cv_lib_fdata_libfdata_area_get_segment_by_index" = xyes; then : 41763 ac_cv_libfdata_dummy=yes 41764else 41765 ac_cv_libfdata=no 41766fi 41767 41768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_set_segment_by_index in -lfdata" >&5 41769$as_echo_n "checking for libfdata_area_set_segment_by_index in -lfdata... " >&6; } 41770if ${ac_cv_lib_fdata_libfdata_area_set_segment_by_index+:} false; then : 41771 $as_echo_n "(cached) " >&6 41772else 41773 ac_check_lib_save_LIBS=$LIBS 41774LIBS="-lfdata $LIBS" 41775cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41776/* end confdefs.h. */ 41777 41778/* Override any GCC internal prototype to avoid an error. 41779 Use char because int might match the return type of a GCC 41780 builtin and then its argument prototype would still apply. */ 41781#ifdef __cplusplus 41782extern "C" 41783#endif 41784char libfdata_area_set_segment_by_index (); 41785int 41786main () 41787{ 41788return libfdata_area_set_segment_by_index (); 41789 ; 41790 return 0; 41791} 41792_ACEOF 41793if ac_fn_c_try_link "$LINENO"; then : 41794 ac_cv_lib_fdata_libfdata_area_set_segment_by_index=yes 41795else 41796 ac_cv_lib_fdata_libfdata_area_set_segment_by_index=no 41797fi 41798rm -f core conftest.err conftest.$ac_objext \ 41799 conftest$ac_exeext conftest.$ac_ext 41800LIBS=$ac_check_lib_save_LIBS 41801fi 41802{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_set_segment_by_index" >&5 41803$as_echo "$ac_cv_lib_fdata_libfdata_area_set_segment_by_index" >&6; } 41804if test "x$ac_cv_lib_fdata_libfdata_area_set_segment_by_index" = xyes; then : 41805 ac_cv_libfdata_dummy=yes 41806else 41807 ac_cv_libfdata=no 41808fi 41809 41810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_prepend_segment in -lfdata" >&5 41811$as_echo_n "checking for libfdata_area_prepend_segment in -lfdata... " >&6; } 41812if ${ac_cv_lib_fdata_libfdata_area_prepend_segment+:} false; then : 41813 $as_echo_n "(cached) " >&6 41814else 41815 ac_check_lib_save_LIBS=$LIBS 41816LIBS="-lfdata $LIBS" 41817cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41818/* end confdefs.h. */ 41819 41820/* Override any GCC internal prototype to avoid an error. 41821 Use char because int might match the return type of a GCC 41822 builtin and then its argument prototype would still apply. */ 41823#ifdef __cplusplus 41824extern "C" 41825#endif 41826char libfdata_area_prepend_segment (); 41827int 41828main () 41829{ 41830return libfdata_area_prepend_segment (); 41831 ; 41832 return 0; 41833} 41834_ACEOF 41835if ac_fn_c_try_link "$LINENO"; then : 41836 ac_cv_lib_fdata_libfdata_area_prepend_segment=yes 41837else 41838 ac_cv_lib_fdata_libfdata_area_prepend_segment=no 41839fi 41840rm -f core conftest.err conftest.$ac_objext \ 41841 conftest$ac_exeext conftest.$ac_ext 41842LIBS=$ac_check_lib_save_LIBS 41843fi 41844{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_prepend_segment" >&5 41845$as_echo "$ac_cv_lib_fdata_libfdata_area_prepend_segment" >&6; } 41846if test "x$ac_cv_lib_fdata_libfdata_area_prepend_segment" = xyes; then : 41847 ac_cv_libfdata_dummy=yes 41848else 41849 ac_cv_libfdata=no 41850fi 41851 41852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_append_segment in -lfdata" >&5 41853$as_echo_n "checking for libfdata_area_append_segment in -lfdata... " >&6; } 41854if ${ac_cv_lib_fdata_libfdata_area_append_segment+:} false; then : 41855 $as_echo_n "(cached) " >&6 41856else 41857 ac_check_lib_save_LIBS=$LIBS 41858LIBS="-lfdata $LIBS" 41859cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41860/* end confdefs.h. */ 41861 41862/* Override any GCC internal prototype to avoid an error. 41863 Use char because int might match the return type of a GCC 41864 builtin and then its argument prototype would still apply. */ 41865#ifdef __cplusplus 41866extern "C" 41867#endif 41868char libfdata_area_append_segment (); 41869int 41870main () 41871{ 41872return libfdata_area_append_segment (); 41873 ; 41874 return 0; 41875} 41876_ACEOF 41877if ac_fn_c_try_link "$LINENO"; then : 41878 ac_cv_lib_fdata_libfdata_area_append_segment=yes 41879else 41880 ac_cv_lib_fdata_libfdata_area_append_segment=no 41881fi 41882rm -f core conftest.err conftest.$ac_objext \ 41883 conftest$ac_exeext conftest.$ac_ext 41884LIBS=$ac_check_lib_save_LIBS 41885fi 41886{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_append_segment" >&5 41887$as_echo "$ac_cv_lib_fdata_libfdata_area_append_segment" >&6; } 41888if test "x$ac_cv_lib_fdata_libfdata_area_append_segment" = xyes; then : 41889 ac_cv_libfdata_dummy=yes 41890else 41891 ac_cv_libfdata=no 41892fi 41893 41894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_get_element_data_size in -lfdata" >&5 41895$as_echo_n "checking for libfdata_area_get_element_data_size in -lfdata... " >&6; } 41896if ${ac_cv_lib_fdata_libfdata_area_get_element_data_size+:} false; then : 41897 $as_echo_n "(cached) " >&6 41898else 41899 ac_check_lib_save_LIBS=$LIBS 41900LIBS="-lfdata $LIBS" 41901cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41902/* end confdefs.h. */ 41903 41904/* Override any GCC internal prototype to avoid an error. 41905 Use char because int might match the return type of a GCC 41906 builtin and then its argument prototype would still apply. */ 41907#ifdef __cplusplus 41908extern "C" 41909#endif 41910char libfdata_area_get_element_data_size (); 41911int 41912main () 41913{ 41914return libfdata_area_get_element_data_size (); 41915 ; 41916 return 0; 41917} 41918_ACEOF 41919if ac_fn_c_try_link "$LINENO"; then : 41920 ac_cv_lib_fdata_libfdata_area_get_element_data_size=yes 41921else 41922 ac_cv_lib_fdata_libfdata_area_get_element_data_size=no 41923fi 41924rm -f core conftest.err conftest.$ac_objext \ 41925 conftest$ac_exeext conftest.$ac_ext 41926LIBS=$ac_check_lib_save_LIBS 41927fi 41928{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_get_element_data_size" >&5 41929$as_echo "$ac_cv_lib_fdata_libfdata_area_get_element_data_size" >&6; } 41930if test "x$ac_cv_lib_fdata_libfdata_area_get_element_data_size" = xyes; then : 41931 ac_cv_libfdata_dummy=yes 41932else 41933 ac_cv_libfdata=no 41934fi 41935 41936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_get_element_value_at_offset in -lfdata" >&5 41937$as_echo_n "checking for libfdata_area_get_element_value_at_offset in -lfdata... " >&6; } 41938if ${ac_cv_lib_fdata_libfdata_area_get_element_value_at_offset+:} false; then : 41939 $as_echo_n "(cached) " >&6 41940else 41941 ac_check_lib_save_LIBS=$LIBS 41942LIBS="-lfdata $LIBS" 41943cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41944/* end confdefs.h. */ 41945 41946/* Override any GCC internal prototype to avoid an error. 41947 Use char because int might match the return type of a GCC 41948 builtin and then its argument prototype would still apply. */ 41949#ifdef __cplusplus 41950extern "C" 41951#endif 41952char libfdata_area_get_element_value_at_offset (); 41953int 41954main () 41955{ 41956return libfdata_area_get_element_value_at_offset (); 41957 ; 41958 return 0; 41959} 41960_ACEOF 41961if ac_fn_c_try_link "$LINENO"; then : 41962 ac_cv_lib_fdata_libfdata_area_get_element_value_at_offset=yes 41963else 41964 ac_cv_lib_fdata_libfdata_area_get_element_value_at_offset=no 41965fi 41966rm -f core conftest.err conftest.$ac_objext \ 41967 conftest$ac_exeext conftest.$ac_ext 41968LIBS=$ac_check_lib_save_LIBS 41969fi 41970{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_get_element_value_at_offset" >&5 41971$as_echo "$ac_cv_lib_fdata_libfdata_area_get_element_value_at_offset" >&6; } 41972if test "x$ac_cv_lib_fdata_libfdata_area_get_element_value_at_offset" = xyes; then : 41973 ac_cv_libfdata_dummy=yes 41974else 41975 ac_cv_libfdata=no 41976fi 41977 41978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_set_element_value_at_offset in -lfdata" >&5 41979$as_echo_n "checking for libfdata_area_set_element_value_at_offset in -lfdata... " >&6; } 41980if ${ac_cv_lib_fdata_libfdata_area_set_element_value_at_offset+:} false; then : 41981 $as_echo_n "(cached) " >&6 41982else 41983 ac_check_lib_save_LIBS=$LIBS 41984LIBS="-lfdata $LIBS" 41985cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41986/* end confdefs.h. */ 41987 41988/* Override any GCC internal prototype to avoid an error. 41989 Use char because int might match the return type of a GCC 41990 builtin and then its argument prototype would still apply. */ 41991#ifdef __cplusplus 41992extern "C" 41993#endif 41994char libfdata_area_set_element_value_at_offset (); 41995int 41996main () 41997{ 41998return libfdata_area_set_element_value_at_offset (); 41999 ; 42000 return 0; 42001} 42002_ACEOF 42003if ac_fn_c_try_link "$LINENO"; then : 42004 ac_cv_lib_fdata_libfdata_area_set_element_value_at_offset=yes 42005else 42006 ac_cv_lib_fdata_libfdata_area_set_element_value_at_offset=no 42007fi 42008rm -f core conftest.err conftest.$ac_objext \ 42009 conftest$ac_exeext conftest.$ac_ext 42010LIBS=$ac_check_lib_save_LIBS 42011fi 42012{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_set_element_value_at_offset" >&5 42013$as_echo "$ac_cv_lib_fdata_libfdata_area_set_element_value_at_offset" >&6; } 42014if test "x$ac_cv_lib_fdata_libfdata_area_set_element_value_at_offset" = xyes; then : 42015 ac_cv_libfdata_dummy=yes 42016else 42017 ac_cv_libfdata=no 42018fi 42019 42020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_area_get_size in -lfdata" >&5 42021$as_echo_n "checking for libfdata_area_get_size in -lfdata... " >&6; } 42022if ${ac_cv_lib_fdata_libfdata_area_get_size+:} false; then : 42023 $as_echo_n "(cached) " >&6 42024else 42025 ac_check_lib_save_LIBS=$LIBS 42026LIBS="-lfdata $LIBS" 42027cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42028/* end confdefs.h. */ 42029 42030/* Override any GCC internal prototype to avoid an error. 42031 Use char because int might match the return type of a GCC 42032 builtin and then its argument prototype would still apply. */ 42033#ifdef __cplusplus 42034extern "C" 42035#endif 42036char libfdata_area_get_size (); 42037int 42038main () 42039{ 42040return libfdata_area_get_size (); 42041 ; 42042 return 0; 42043} 42044_ACEOF 42045if ac_fn_c_try_link "$LINENO"; then : 42046 ac_cv_lib_fdata_libfdata_area_get_size=yes 42047else 42048 ac_cv_lib_fdata_libfdata_area_get_size=no 42049fi 42050rm -f core conftest.err conftest.$ac_objext \ 42051 conftest$ac_exeext conftest.$ac_ext 42052LIBS=$ac_check_lib_save_LIBS 42053fi 42054{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_area_get_size" >&5 42055$as_echo "$ac_cv_lib_fdata_libfdata_area_get_size" >&6; } 42056if test "x$ac_cv_lib_fdata_libfdata_area_get_size" = xyes; then : 42057 ac_cv_libfdata_dummy=yes 42058else 42059 ac_cv_libfdata=no 42060fi 42061 42062 42063 42064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_initialize in -lfdata" >&5 42065$as_echo_n "checking for libfdata_list_initialize in -lfdata... " >&6; } 42066if ${ac_cv_lib_fdata_libfdata_list_initialize+:} false; then : 42067 $as_echo_n "(cached) " >&6 42068else 42069 ac_check_lib_save_LIBS=$LIBS 42070LIBS="-lfdata $LIBS" 42071cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42072/* end confdefs.h. */ 42073 42074/* Override any GCC internal prototype to avoid an error. 42075 Use char because int might match the return type of a GCC 42076 builtin and then its argument prototype would still apply. */ 42077#ifdef __cplusplus 42078extern "C" 42079#endif 42080char libfdata_list_initialize (); 42081int 42082main () 42083{ 42084return libfdata_list_initialize (); 42085 ; 42086 return 0; 42087} 42088_ACEOF 42089if ac_fn_c_try_link "$LINENO"; then : 42090 ac_cv_lib_fdata_libfdata_list_initialize=yes 42091else 42092 ac_cv_lib_fdata_libfdata_list_initialize=no 42093fi 42094rm -f core conftest.err conftest.$ac_objext \ 42095 conftest$ac_exeext conftest.$ac_ext 42096LIBS=$ac_check_lib_save_LIBS 42097fi 42098{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_initialize" >&5 42099$as_echo "$ac_cv_lib_fdata_libfdata_list_initialize" >&6; } 42100if test "x$ac_cv_lib_fdata_libfdata_list_initialize" = xyes; then : 42101 ac_cv_libfdata_dummy=yes 42102else 42103 ac_cv_libfdata=no 42104fi 42105 42106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_free in -lfdata" >&5 42107$as_echo_n "checking for libfdata_list_free in -lfdata... " >&6; } 42108if ${ac_cv_lib_fdata_libfdata_list_free+:} false; then : 42109 $as_echo_n "(cached) " >&6 42110else 42111 ac_check_lib_save_LIBS=$LIBS 42112LIBS="-lfdata $LIBS" 42113cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42114/* end confdefs.h. */ 42115 42116/* Override any GCC internal prototype to avoid an error. 42117 Use char because int might match the return type of a GCC 42118 builtin and then its argument prototype would still apply. */ 42119#ifdef __cplusplus 42120extern "C" 42121#endif 42122char libfdata_list_free (); 42123int 42124main () 42125{ 42126return libfdata_list_free (); 42127 ; 42128 return 0; 42129} 42130_ACEOF 42131if ac_fn_c_try_link "$LINENO"; then : 42132 ac_cv_lib_fdata_libfdata_list_free=yes 42133else 42134 ac_cv_lib_fdata_libfdata_list_free=no 42135fi 42136rm -f core conftest.err conftest.$ac_objext \ 42137 conftest$ac_exeext conftest.$ac_ext 42138LIBS=$ac_check_lib_save_LIBS 42139fi 42140{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_free" >&5 42141$as_echo "$ac_cv_lib_fdata_libfdata_list_free" >&6; } 42142if test "x$ac_cv_lib_fdata_libfdata_list_free" = xyes; then : 42143 ac_cv_libfdata_dummy=yes 42144else 42145 ac_cv_libfdata=no 42146fi 42147 42148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_clone in -lfdata" >&5 42149$as_echo_n "checking for libfdata_list_clone in -lfdata... " >&6; } 42150if ${ac_cv_lib_fdata_libfdata_list_clone+:} false; then : 42151 $as_echo_n "(cached) " >&6 42152else 42153 ac_check_lib_save_LIBS=$LIBS 42154LIBS="-lfdata $LIBS" 42155cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42156/* end confdefs.h. */ 42157 42158/* Override any GCC internal prototype to avoid an error. 42159 Use char because int might match the return type of a GCC 42160 builtin and then its argument prototype would still apply. */ 42161#ifdef __cplusplus 42162extern "C" 42163#endif 42164char libfdata_list_clone (); 42165int 42166main () 42167{ 42168return libfdata_list_clone (); 42169 ; 42170 return 0; 42171} 42172_ACEOF 42173if ac_fn_c_try_link "$LINENO"; then : 42174 ac_cv_lib_fdata_libfdata_list_clone=yes 42175else 42176 ac_cv_lib_fdata_libfdata_list_clone=no 42177fi 42178rm -f core conftest.err conftest.$ac_objext \ 42179 conftest$ac_exeext conftest.$ac_ext 42180LIBS=$ac_check_lib_save_LIBS 42181fi 42182{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_clone" >&5 42183$as_echo "$ac_cv_lib_fdata_libfdata_list_clone" >&6; } 42184if test "x$ac_cv_lib_fdata_libfdata_list_clone" = xyes; then : 42185 ac_cv_libfdata_dummy=yes 42186else 42187 ac_cv_libfdata=no 42188fi 42189 42190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_empty in -lfdata" >&5 42191$as_echo_n "checking for libfdata_list_empty in -lfdata... " >&6; } 42192if ${ac_cv_lib_fdata_libfdata_list_empty+:} false; then : 42193 $as_echo_n "(cached) " >&6 42194else 42195 ac_check_lib_save_LIBS=$LIBS 42196LIBS="-lfdata $LIBS" 42197cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42198/* end confdefs.h. */ 42199 42200/* Override any GCC internal prototype to avoid an error. 42201 Use char because int might match the return type of a GCC 42202 builtin and then its argument prototype would still apply. */ 42203#ifdef __cplusplus 42204extern "C" 42205#endif 42206char libfdata_list_empty (); 42207int 42208main () 42209{ 42210return libfdata_list_empty (); 42211 ; 42212 return 0; 42213} 42214_ACEOF 42215if ac_fn_c_try_link "$LINENO"; then : 42216 ac_cv_lib_fdata_libfdata_list_empty=yes 42217else 42218 ac_cv_lib_fdata_libfdata_list_empty=no 42219fi 42220rm -f core conftest.err conftest.$ac_objext \ 42221 conftest$ac_exeext conftest.$ac_ext 42222LIBS=$ac_check_lib_save_LIBS 42223fi 42224{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_empty" >&5 42225$as_echo "$ac_cv_lib_fdata_libfdata_list_empty" >&6; } 42226if test "x$ac_cv_lib_fdata_libfdata_list_empty" = xyes; then : 42227 ac_cv_libfdata_dummy=yes 42228else 42229 ac_cv_libfdata=no 42230fi 42231 42232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_resize in -lfdata" >&5 42233$as_echo_n "checking for libfdata_list_resize in -lfdata... " >&6; } 42234if ${ac_cv_lib_fdata_libfdata_list_resize+:} false; then : 42235 $as_echo_n "(cached) " >&6 42236else 42237 ac_check_lib_save_LIBS=$LIBS 42238LIBS="-lfdata $LIBS" 42239cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42240/* end confdefs.h. */ 42241 42242/* Override any GCC internal prototype to avoid an error. 42243 Use char because int might match the return type of a GCC 42244 builtin and then its argument prototype would still apply. */ 42245#ifdef __cplusplus 42246extern "C" 42247#endif 42248char libfdata_list_resize (); 42249int 42250main () 42251{ 42252return libfdata_list_resize (); 42253 ; 42254 return 0; 42255} 42256_ACEOF 42257if ac_fn_c_try_link "$LINENO"; then : 42258 ac_cv_lib_fdata_libfdata_list_resize=yes 42259else 42260 ac_cv_lib_fdata_libfdata_list_resize=no 42261fi 42262rm -f core conftest.err conftest.$ac_objext \ 42263 conftest$ac_exeext conftest.$ac_ext 42264LIBS=$ac_check_lib_save_LIBS 42265fi 42266{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_resize" >&5 42267$as_echo "$ac_cv_lib_fdata_libfdata_list_resize" >&6; } 42268if test "x$ac_cv_lib_fdata_libfdata_list_resize" = xyes; then : 42269 ac_cv_libfdata_dummy=yes 42270else 42271 ac_cv_libfdata=no 42272fi 42273 42274 42275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_reverse in -lfdata" >&5 42276$as_echo_n "checking for libfdata_list_reverse in -lfdata... " >&6; } 42277if ${ac_cv_lib_fdata_libfdata_list_reverse+:} false; then : 42278 $as_echo_n "(cached) " >&6 42279else 42280 ac_check_lib_save_LIBS=$LIBS 42281LIBS="-lfdata $LIBS" 42282cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42283/* end confdefs.h. */ 42284 42285/* Override any GCC internal prototype to avoid an error. 42286 Use char because int might match the return type of a GCC 42287 builtin and then its argument prototype would still apply. */ 42288#ifdef __cplusplus 42289extern "C" 42290#endif 42291char libfdata_list_reverse (); 42292int 42293main () 42294{ 42295return libfdata_list_reverse (); 42296 ; 42297 return 0; 42298} 42299_ACEOF 42300if ac_fn_c_try_link "$LINENO"; then : 42301 ac_cv_lib_fdata_libfdata_list_reverse=yes 42302else 42303 ac_cv_lib_fdata_libfdata_list_reverse=no 42304fi 42305rm -f core conftest.err conftest.$ac_objext \ 42306 conftest$ac_exeext conftest.$ac_ext 42307LIBS=$ac_check_lib_save_LIBS 42308fi 42309{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_reverse" >&5 42310$as_echo "$ac_cv_lib_fdata_libfdata_list_reverse" >&6; } 42311if test "x$ac_cv_lib_fdata_libfdata_list_reverse" = xyes; then : 42312 ac_cv_libfdata_dummy=yes 42313else 42314 ac_cv_libfdata=no 42315fi 42316 42317 42318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_number_of_elements in -lfdata" >&5 42319$as_echo_n "checking for libfdata_list_get_number_of_elements in -lfdata... " >&6; } 42320if ${ac_cv_lib_fdata_libfdata_list_get_number_of_elements+:} false; then : 42321 $as_echo_n "(cached) " >&6 42322else 42323 ac_check_lib_save_LIBS=$LIBS 42324LIBS="-lfdata $LIBS" 42325cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42326/* end confdefs.h. */ 42327 42328/* Override any GCC internal prototype to avoid an error. 42329 Use char because int might match the return type of a GCC 42330 builtin and then its argument prototype would still apply. */ 42331#ifdef __cplusplus 42332extern "C" 42333#endif 42334char libfdata_list_get_number_of_elements (); 42335int 42336main () 42337{ 42338return libfdata_list_get_number_of_elements (); 42339 ; 42340 return 0; 42341} 42342_ACEOF 42343if ac_fn_c_try_link "$LINENO"; then : 42344 ac_cv_lib_fdata_libfdata_list_get_number_of_elements=yes 42345else 42346 ac_cv_lib_fdata_libfdata_list_get_number_of_elements=no 42347fi 42348rm -f core conftest.err conftest.$ac_objext \ 42349 conftest$ac_exeext conftest.$ac_ext 42350LIBS=$ac_check_lib_save_LIBS 42351fi 42352{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_number_of_elements" >&5 42353$as_echo "$ac_cv_lib_fdata_libfdata_list_get_number_of_elements" >&6; } 42354if test "x$ac_cv_lib_fdata_libfdata_list_get_number_of_elements" = xyes; then : 42355 ac_cv_libfdata_dummy=yes 42356else 42357 ac_cv_libfdata=no 42358fi 42359 42360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_list_element_by_index in -lfdata" >&5 42361$as_echo_n "checking for libfdata_list_get_list_element_by_index in -lfdata... " >&6; } 42362if ${ac_cv_lib_fdata_libfdata_list_get_list_element_by_index+:} false; then : 42363 $as_echo_n "(cached) " >&6 42364else 42365 ac_check_lib_save_LIBS=$LIBS 42366LIBS="-lfdata $LIBS" 42367cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42368/* end confdefs.h. */ 42369 42370/* Override any GCC internal prototype to avoid an error. 42371 Use char because int might match the return type of a GCC 42372 builtin and then its argument prototype would still apply. */ 42373#ifdef __cplusplus 42374extern "C" 42375#endif 42376char libfdata_list_get_list_element_by_index (); 42377int 42378main () 42379{ 42380return libfdata_list_get_list_element_by_index (); 42381 ; 42382 return 0; 42383} 42384_ACEOF 42385if ac_fn_c_try_link "$LINENO"; then : 42386 ac_cv_lib_fdata_libfdata_list_get_list_element_by_index=yes 42387else 42388 ac_cv_lib_fdata_libfdata_list_get_list_element_by_index=no 42389fi 42390rm -f core conftest.err conftest.$ac_objext \ 42391 conftest$ac_exeext conftest.$ac_ext 42392LIBS=$ac_check_lib_save_LIBS 42393fi 42394{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_list_element_by_index" >&5 42395$as_echo "$ac_cv_lib_fdata_libfdata_list_get_list_element_by_index" >&6; } 42396if test "x$ac_cv_lib_fdata_libfdata_list_get_list_element_by_index" = xyes; then : 42397 ac_cv_libfdata_dummy=yes 42398else 42399 ac_cv_libfdata=no 42400fi 42401 42402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_element_by_index in -lfdata" >&5 42403$as_echo_n "checking for libfdata_list_get_element_by_index in -lfdata... " >&6; } 42404if ${ac_cv_lib_fdata_libfdata_list_get_element_by_index+:} false; then : 42405 $as_echo_n "(cached) " >&6 42406else 42407 ac_check_lib_save_LIBS=$LIBS 42408LIBS="-lfdata $LIBS" 42409cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42410/* end confdefs.h. */ 42411 42412/* Override any GCC internal prototype to avoid an error. 42413 Use char because int might match the return type of a GCC 42414 builtin and then its argument prototype would still apply. */ 42415#ifdef __cplusplus 42416extern "C" 42417#endif 42418char libfdata_list_get_element_by_index (); 42419int 42420main () 42421{ 42422return libfdata_list_get_element_by_index (); 42423 ; 42424 return 0; 42425} 42426_ACEOF 42427if ac_fn_c_try_link "$LINENO"; then : 42428 ac_cv_lib_fdata_libfdata_list_get_element_by_index=yes 42429else 42430 ac_cv_lib_fdata_libfdata_list_get_element_by_index=no 42431fi 42432rm -f core conftest.err conftest.$ac_objext \ 42433 conftest$ac_exeext conftest.$ac_ext 42434LIBS=$ac_check_lib_save_LIBS 42435fi 42436{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_element_by_index" >&5 42437$as_echo "$ac_cv_lib_fdata_libfdata_list_get_element_by_index" >&6; } 42438if test "x$ac_cv_lib_fdata_libfdata_list_get_element_by_index" = xyes; then : 42439 ac_cv_libfdata_dummy=yes 42440else 42441 ac_cv_libfdata=no 42442fi 42443 42444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_set_element_by_index in -lfdata" >&5 42445$as_echo_n "checking for libfdata_list_set_element_by_index in -lfdata... " >&6; } 42446if ${ac_cv_lib_fdata_libfdata_list_set_element_by_index+:} false; then : 42447 $as_echo_n "(cached) " >&6 42448else 42449 ac_check_lib_save_LIBS=$LIBS 42450LIBS="-lfdata $LIBS" 42451cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42452/* end confdefs.h. */ 42453 42454/* Override any GCC internal prototype to avoid an error. 42455 Use char because int might match the return type of a GCC 42456 builtin and then its argument prototype would still apply. */ 42457#ifdef __cplusplus 42458extern "C" 42459#endif 42460char libfdata_list_set_element_by_index (); 42461int 42462main () 42463{ 42464return libfdata_list_set_element_by_index (); 42465 ; 42466 return 0; 42467} 42468_ACEOF 42469if ac_fn_c_try_link "$LINENO"; then : 42470 ac_cv_lib_fdata_libfdata_list_set_element_by_index=yes 42471else 42472 ac_cv_lib_fdata_libfdata_list_set_element_by_index=no 42473fi 42474rm -f core conftest.err conftest.$ac_objext \ 42475 conftest$ac_exeext conftest.$ac_ext 42476LIBS=$ac_check_lib_save_LIBS 42477fi 42478{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_set_element_by_index" >&5 42479$as_echo "$ac_cv_lib_fdata_libfdata_list_set_element_by_index" >&6; } 42480if test "x$ac_cv_lib_fdata_libfdata_list_set_element_by_index" = xyes; then : 42481 ac_cv_libfdata_dummy=yes 42482else 42483 ac_cv_libfdata=no 42484fi 42485 42486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_prepend_element in -lfdata" >&5 42487$as_echo_n "checking for libfdata_list_prepend_element in -lfdata... " >&6; } 42488if ${ac_cv_lib_fdata_libfdata_list_prepend_element+:} false; then : 42489 $as_echo_n "(cached) " >&6 42490else 42491 ac_check_lib_save_LIBS=$LIBS 42492LIBS="-lfdata $LIBS" 42493cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42494/* end confdefs.h. */ 42495 42496/* Override any GCC internal prototype to avoid an error. 42497 Use char because int might match the return type of a GCC 42498 builtin and then its argument prototype would still apply. */ 42499#ifdef __cplusplus 42500extern "C" 42501#endif 42502char libfdata_list_prepend_element (); 42503int 42504main () 42505{ 42506return libfdata_list_prepend_element (); 42507 ; 42508 return 0; 42509} 42510_ACEOF 42511if ac_fn_c_try_link "$LINENO"; then : 42512 ac_cv_lib_fdata_libfdata_list_prepend_element=yes 42513else 42514 ac_cv_lib_fdata_libfdata_list_prepend_element=no 42515fi 42516rm -f core conftest.err conftest.$ac_objext \ 42517 conftest$ac_exeext conftest.$ac_ext 42518LIBS=$ac_check_lib_save_LIBS 42519fi 42520{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_prepend_element" >&5 42521$as_echo "$ac_cv_lib_fdata_libfdata_list_prepend_element" >&6; } 42522if test "x$ac_cv_lib_fdata_libfdata_list_prepend_element" = xyes; then : 42523 ac_cv_libfdata_dummy=yes 42524else 42525 ac_cv_libfdata=no 42526fi 42527 42528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_append_element in -lfdata" >&5 42529$as_echo_n "checking for libfdata_list_append_element in -lfdata... " >&6; } 42530if ${ac_cv_lib_fdata_libfdata_list_append_element+:} false; then : 42531 $as_echo_n "(cached) " >&6 42532else 42533 ac_check_lib_save_LIBS=$LIBS 42534LIBS="-lfdata $LIBS" 42535cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42536/* end confdefs.h. */ 42537 42538/* Override any GCC internal prototype to avoid an error. 42539 Use char because int might match the return type of a GCC 42540 builtin and then its argument prototype would still apply. */ 42541#ifdef __cplusplus 42542extern "C" 42543#endif 42544char libfdata_list_append_element (); 42545int 42546main () 42547{ 42548return libfdata_list_append_element (); 42549 ; 42550 return 0; 42551} 42552_ACEOF 42553if ac_fn_c_try_link "$LINENO"; then : 42554 ac_cv_lib_fdata_libfdata_list_append_element=yes 42555else 42556 ac_cv_lib_fdata_libfdata_list_append_element=no 42557fi 42558rm -f core conftest.err conftest.$ac_objext \ 42559 conftest$ac_exeext conftest.$ac_ext 42560LIBS=$ac_check_lib_save_LIBS 42561fi 42562{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_append_element" >&5 42563$as_echo "$ac_cv_lib_fdata_libfdata_list_append_element" >&6; } 42564if test "x$ac_cv_lib_fdata_libfdata_list_append_element" = xyes; then : 42565 ac_cv_libfdata_dummy=yes 42566else 42567 ac_cv_libfdata=no 42568fi 42569 42570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_append_list in -lfdata" >&5 42571$as_echo_n "checking for libfdata_list_append_list in -lfdata... " >&6; } 42572if ${ac_cv_lib_fdata_libfdata_list_append_list+:} false; then : 42573 $as_echo_n "(cached) " >&6 42574else 42575 ac_check_lib_save_LIBS=$LIBS 42576LIBS="-lfdata $LIBS" 42577cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42578/* end confdefs.h. */ 42579 42580/* Override any GCC internal prototype to avoid an error. 42581 Use char because int might match the return type of a GCC 42582 builtin and then its argument prototype would still apply. */ 42583#ifdef __cplusplus 42584extern "C" 42585#endif 42586char libfdata_list_append_list (); 42587int 42588main () 42589{ 42590return libfdata_list_append_list (); 42591 ; 42592 return 0; 42593} 42594_ACEOF 42595if ac_fn_c_try_link "$LINENO"; then : 42596 ac_cv_lib_fdata_libfdata_list_append_list=yes 42597else 42598 ac_cv_lib_fdata_libfdata_list_append_list=no 42599fi 42600rm -f core conftest.err conftest.$ac_objext \ 42601 conftest$ac_exeext conftest.$ac_ext 42602LIBS=$ac_check_lib_save_LIBS 42603fi 42604{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_append_list" >&5 42605$as_echo "$ac_cv_lib_fdata_libfdata_list_append_list" >&6; } 42606if test "x$ac_cv_lib_fdata_libfdata_list_append_list" = xyes; then : 42607 ac_cv_libfdata_dummy=yes 42608else 42609 ac_cv_libfdata=no 42610fi 42611 42612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_is_element_set in -lfdata" >&5 42613$as_echo_n "checking for libfdata_list_is_element_set in -lfdata... " >&6; } 42614if ${ac_cv_lib_fdata_libfdata_list_is_element_set+:} false; then : 42615 $as_echo_n "(cached) " >&6 42616else 42617 ac_check_lib_save_LIBS=$LIBS 42618LIBS="-lfdata $LIBS" 42619cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42620/* end confdefs.h. */ 42621 42622/* Override any GCC internal prototype to avoid an error. 42623 Use char because int might match the return type of a GCC 42624 builtin and then its argument prototype would still apply. */ 42625#ifdef __cplusplus 42626extern "C" 42627#endif 42628char libfdata_list_is_element_set (); 42629int 42630main () 42631{ 42632return libfdata_list_is_element_set (); 42633 ; 42634 return 0; 42635} 42636_ACEOF 42637if ac_fn_c_try_link "$LINENO"; then : 42638 ac_cv_lib_fdata_libfdata_list_is_element_set=yes 42639else 42640 ac_cv_lib_fdata_libfdata_list_is_element_set=no 42641fi 42642rm -f core conftest.err conftest.$ac_objext \ 42643 conftest$ac_exeext conftest.$ac_ext 42644LIBS=$ac_check_lib_save_LIBS 42645fi 42646{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_is_element_set" >&5 42647$as_echo "$ac_cv_lib_fdata_libfdata_list_is_element_set" >&6; } 42648if test "x$ac_cv_lib_fdata_libfdata_list_is_element_set" = xyes; then : 42649 ac_cv_libfdata_dummy=yes 42650else 42651 ac_cv_libfdata=no 42652fi 42653 42654 42655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_element_mapped_range in -lfdata" >&5 42656$as_echo_n "checking for libfdata_list_get_element_mapped_range in -lfdata... " >&6; } 42657if ${ac_cv_lib_fdata_libfdata_list_get_element_mapped_range+:} false; then : 42658 $as_echo_n "(cached) " >&6 42659else 42660 ac_check_lib_save_LIBS=$LIBS 42661LIBS="-lfdata $LIBS" 42662cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42663/* end confdefs.h. */ 42664 42665/* Override any GCC internal prototype to avoid an error. 42666 Use char because int might match the return type of a GCC 42667 builtin and then its argument prototype would still apply. */ 42668#ifdef __cplusplus 42669extern "C" 42670#endif 42671char libfdata_list_get_element_mapped_range (); 42672int 42673main () 42674{ 42675return libfdata_list_get_element_mapped_range (); 42676 ; 42677 return 0; 42678} 42679_ACEOF 42680if ac_fn_c_try_link "$LINENO"; then : 42681 ac_cv_lib_fdata_libfdata_list_get_element_mapped_range=yes 42682else 42683 ac_cv_lib_fdata_libfdata_list_get_element_mapped_range=no 42684fi 42685rm -f core conftest.err conftest.$ac_objext \ 42686 conftest$ac_exeext conftest.$ac_ext 42687LIBS=$ac_check_lib_save_LIBS 42688fi 42689{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_element_mapped_range" >&5 42690$as_echo "$ac_cv_lib_fdata_libfdata_list_get_element_mapped_range" >&6; } 42691if test "x$ac_cv_lib_fdata_libfdata_list_get_element_mapped_range" = xyes; then : 42692 ac_cv_libfdata_dummy=yes 42693else 42694 ac_cv_libfdata=no 42695fi 42696 42697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_mapped_offset in -lfdata" >&5 42698$as_echo_n "checking for libfdata_list_get_mapped_offset in -lfdata... " >&6; } 42699if ${ac_cv_lib_fdata_libfdata_list_get_mapped_offset+:} false; then : 42700 $as_echo_n "(cached) " >&6 42701else 42702 ac_check_lib_save_LIBS=$LIBS 42703LIBS="-lfdata $LIBS" 42704cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42705/* end confdefs.h. */ 42706 42707/* Override any GCC internal prototype to avoid an error. 42708 Use char because int might match the return type of a GCC 42709 builtin and then its argument prototype would still apply. */ 42710#ifdef __cplusplus 42711extern "C" 42712#endif 42713char libfdata_list_get_mapped_offset (); 42714int 42715main () 42716{ 42717return libfdata_list_get_mapped_offset (); 42718 ; 42719 return 0; 42720} 42721_ACEOF 42722if ac_fn_c_try_link "$LINENO"; then : 42723 ac_cv_lib_fdata_libfdata_list_get_mapped_offset=yes 42724else 42725 ac_cv_lib_fdata_libfdata_list_get_mapped_offset=no 42726fi 42727rm -f core conftest.err conftest.$ac_objext \ 42728 conftest$ac_exeext conftest.$ac_ext 42729LIBS=$ac_check_lib_save_LIBS 42730fi 42731{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_mapped_offset" >&5 42732$as_echo "$ac_cv_lib_fdata_libfdata_list_get_mapped_offset" >&6; } 42733if test "x$ac_cv_lib_fdata_libfdata_list_get_mapped_offset" = xyes; then : 42734 ac_cv_libfdata_dummy=yes 42735else 42736 ac_cv_libfdata=no 42737fi 42738 42739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_set_mapped_offset in -lfdata" >&5 42740$as_echo_n "checking for libfdata_list_set_mapped_offset in -lfdata... " >&6; } 42741if ${ac_cv_lib_fdata_libfdata_list_set_mapped_offset+:} false; then : 42742 $as_echo_n "(cached) " >&6 42743else 42744 ac_check_lib_save_LIBS=$LIBS 42745LIBS="-lfdata $LIBS" 42746cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42747/* end confdefs.h. */ 42748 42749/* Override any GCC internal prototype to avoid an error. 42750 Use char because int might match the return type of a GCC 42751 builtin and then its argument prototype would still apply. */ 42752#ifdef __cplusplus 42753extern "C" 42754#endif 42755char libfdata_list_set_mapped_offset (); 42756int 42757main () 42758{ 42759return libfdata_list_set_mapped_offset (); 42760 ; 42761 return 0; 42762} 42763_ACEOF 42764if ac_fn_c_try_link "$LINENO"; then : 42765 ac_cv_lib_fdata_libfdata_list_set_mapped_offset=yes 42766else 42767 ac_cv_lib_fdata_libfdata_list_set_mapped_offset=no 42768fi 42769rm -f core conftest.err conftest.$ac_objext \ 42770 conftest$ac_exeext conftest.$ac_ext 42771LIBS=$ac_check_lib_save_LIBS 42772fi 42773{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_set_mapped_offset" >&5 42774$as_echo "$ac_cv_lib_fdata_libfdata_list_set_mapped_offset" >&6; } 42775if test "x$ac_cv_lib_fdata_libfdata_list_set_mapped_offset" = xyes; then : 42776 ac_cv_libfdata_dummy=yes 42777else 42778 ac_cv_libfdata=no 42779fi 42780 42781 42782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_mapped_size_by_index in -lfdata" >&5 42783$as_echo_n "checking for libfdata_list_get_mapped_size_by_index in -lfdata... " >&6; } 42784if ${ac_cv_lib_fdata_libfdata_list_get_mapped_size_by_index+:} false; then : 42785 $as_echo_n "(cached) " >&6 42786else 42787 ac_check_lib_save_LIBS=$LIBS 42788LIBS="-lfdata $LIBS" 42789cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42790/* end confdefs.h. */ 42791 42792/* Override any GCC internal prototype to avoid an error. 42793 Use char because int might match the return type of a GCC 42794 builtin and then its argument prototype would still apply. */ 42795#ifdef __cplusplus 42796extern "C" 42797#endif 42798char libfdata_list_get_mapped_size_by_index (); 42799int 42800main () 42801{ 42802return libfdata_list_get_mapped_size_by_index (); 42803 ; 42804 return 0; 42805} 42806_ACEOF 42807if ac_fn_c_try_link "$LINENO"; then : 42808 ac_cv_lib_fdata_libfdata_list_get_mapped_size_by_index=yes 42809else 42810 ac_cv_lib_fdata_libfdata_list_get_mapped_size_by_index=no 42811fi 42812rm -f core conftest.err conftest.$ac_objext \ 42813 conftest$ac_exeext conftest.$ac_ext 42814LIBS=$ac_check_lib_save_LIBS 42815fi 42816{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_mapped_size_by_index" >&5 42817$as_echo "$ac_cv_lib_fdata_libfdata_list_get_mapped_size_by_index" >&6; } 42818if test "x$ac_cv_lib_fdata_libfdata_list_get_mapped_size_by_index" = xyes; then : 42819 ac_cv_libfdata_dummy=yes 42820else 42821 ac_cv_libfdata=no 42822fi 42823 42824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_set_mapped_size_by_index in -lfdata" >&5 42825$as_echo_n "checking for libfdata_list_set_mapped_size_by_index in -lfdata... " >&6; } 42826if ${ac_cv_lib_fdata_libfdata_list_set_mapped_size_by_index+:} false; then : 42827 $as_echo_n "(cached) " >&6 42828else 42829 ac_check_lib_save_LIBS=$LIBS 42830LIBS="-lfdata $LIBS" 42831cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42832/* end confdefs.h. */ 42833 42834/* Override any GCC internal prototype to avoid an error. 42835 Use char because int might match the return type of a GCC 42836 builtin and then its argument prototype would still apply. */ 42837#ifdef __cplusplus 42838extern "C" 42839#endif 42840char libfdata_list_set_mapped_size_by_index (); 42841int 42842main () 42843{ 42844return libfdata_list_set_mapped_size_by_index (); 42845 ; 42846 return 0; 42847} 42848_ACEOF 42849if ac_fn_c_try_link "$LINENO"; then : 42850 ac_cv_lib_fdata_libfdata_list_set_mapped_size_by_index=yes 42851else 42852 ac_cv_lib_fdata_libfdata_list_set_mapped_size_by_index=no 42853fi 42854rm -f core conftest.err conftest.$ac_objext \ 42855 conftest$ac_exeext conftest.$ac_ext 42856LIBS=$ac_check_lib_save_LIBS 42857fi 42858{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_set_mapped_size_by_index" >&5 42859$as_echo "$ac_cv_lib_fdata_libfdata_list_set_mapped_size_by_index" >&6; } 42860if test "x$ac_cv_lib_fdata_libfdata_list_set_mapped_size_by_index" = xyes; then : 42861 ac_cv_libfdata_dummy=yes 42862else 42863 ac_cv_libfdata=no 42864fi 42865 42866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_element_by_index_with_mapped_size in -lfdata" >&5 42867$as_echo_n "checking for libfdata_list_get_element_by_index_with_mapped_size in -lfdata... " >&6; } 42868if ${ac_cv_lib_fdata_libfdata_list_get_element_by_index_with_mapped_size+:} false; then : 42869 $as_echo_n "(cached) " >&6 42870else 42871 ac_check_lib_save_LIBS=$LIBS 42872LIBS="-lfdata $LIBS" 42873cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42874/* end confdefs.h. */ 42875 42876/* Override any GCC internal prototype to avoid an error. 42877 Use char because int might match the return type of a GCC 42878 builtin and then its argument prototype would still apply. */ 42879#ifdef __cplusplus 42880extern "C" 42881#endif 42882char libfdata_list_get_element_by_index_with_mapped_size (); 42883int 42884main () 42885{ 42886return libfdata_list_get_element_by_index_with_mapped_size (); 42887 ; 42888 return 0; 42889} 42890_ACEOF 42891if ac_fn_c_try_link "$LINENO"; then : 42892 ac_cv_lib_fdata_libfdata_list_get_element_by_index_with_mapped_size=yes 42893else 42894 ac_cv_lib_fdata_libfdata_list_get_element_by_index_with_mapped_size=no 42895fi 42896rm -f core conftest.err conftest.$ac_objext \ 42897 conftest$ac_exeext conftest.$ac_ext 42898LIBS=$ac_check_lib_save_LIBS 42899fi 42900{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_element_by_index_with_mapped_size" >&5 42901$as_echo "$ac_cv_lib_fdata_libfdata_list_get_element_by_index_with_mapped_size" >&6; } 42902if test "x$ac_cv_lib_fdata_libfdata_list_get_element_by_index_with_mapped_size" = xyes; then : 42903 ac_cv_libfdata_dummy=yes 42904else 42905 ac_cv_libfdata=no 42906fi 42907 42908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_set_element_by_index_with_mapped_size in -lfdata" >&5 42909$as_echo_n "checking for libfdata_list_set_element_by_index_with_mapped_size in -lfdata... " >&6; } 42910if ${ac_cv_lib_fdata_libfdata_list_set_element_by_index_with_mapped_size+:} false; then : 42911 $as_echo_n "(cached) " >&6 42912else 42913 ac_check_lib_save_LIBS=$LIBS 42914LIBS="-lfdata $LIBS" 42915cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42916/* end confdefs.h. */ 42917 42918/* Override any GCC internal prototype to avoid an error. 42919 Use char because int might match the return type of a GCC 42920 builtin and then its argument prototype would still apply. */ 42921#ifdef __cplusplus 42922extern "C" 42923#endif 42924char libfdata_list_set_element_by_index_with_mapped_size (); 42925int 42926main () 42927{ 42928return libfdata_list_set_element_by_index_with_mapped_size (); 42929 ; 42930 return 0; 42931} 42932_ACEOF 42933if ac_fn_c_try_link "$LINENO"; then : 42934 ac_cv_lib_fdata_libfdata_list_set_element_by_index_with_mapped_size=yes 42935else 42936 ac_cv_lib_fdata_libfdata_list_set_element_by_index_with_mapped_size=no 42937fi 42938rm -f core conftest.err conftest.$ac_objext \ 42939 conftest$ac_exeext conftest.$ac_ext 42940LIBS=$ac_check_lib_save_LIBS 42941fi 42942{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_set_element_by_index_with_mapped_size" >&5 42943$as_echo "$ac_cv_lib_fdata_libfdata_list_set_element_by_index_with_mapped_size" >&6; } 42944if test "x$ac_cv_lib_fdata_libfdata_list_set_element_by_index_with_mapped_size" = xyes; then : 42945 ac_cv_libfdata_dummy=yes 42946else 42947 ac_cv_libfdata=no 42948fi 42949 42950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_append_element_with_mapped_size in -lfdata" >&5 42951$as_echo_n "checking for libfdata_list_append_element_with_mapped_size in -lfdata... " >&6; } 42952if ${ac_cv_lib_fdata_libfdata_list_append_element_with_mapped_size+:} false; then : 42953 $as_echo_n "(cached) " >&6 42954else 42955 ac_check_lib_save_LIBS=$LIBS 42956LIBS="-lfdata $LIBS" 42957cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42958/* end confdefs.h. */ 42959 42960/* Override any GCC internal prototype to avoid an error. 42961 Use char because int might match the return type of a GCC 42962 builtin and then its argument prototype would still apply. */ 42963#ifdef __cplusplus 42964extern "C" 42965#endif 42966char libfdata_list_append_element_with_mapped_size (); 42967int 42968main () 42969{ 42970return libfdata_list_append_element_with_mapped_size (); 42971 ; 42972 return 0; 42973} 42974_ACEOF 42975if ac_fn_c_try_link "$LINENO"; then : 42976 ac_cv_lib_fdata_libfdata_list_append_element_with_mapped_size=yes 42977else 42978 ac_cv_lib_fdata_libfdata_list_append_element_with_mapped_size=no 42979fi 42980rm -f core conftest.err conftest.$ac_objext \ 42981 conftest$ac_exeext conftest.$ac_ext 42982LIBS=$ac_check_lib_save_LIBS 42983fi 42984{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_append_element_with_mapped_size" >&5 42985$as_echo "$ac_cv_lib_fdata_libfdata_list_append_element_with_mapped_size" >&6; } 42986if test "x$ac_cv_lib_fdata_libfdata_list_append_element_with_mapped_size" = xyes; then : 42987 ac_cv_libfdata_dummy=yes 42988else 42989 ac_cv_libfdata=no 42990fi 42991 42992 42993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_element_index_at_offset in -lfdata" >&5 42994$as_echo_n "checking for libfdata_list_get_element_index_at_offset in -lfdata... " >&6; } 42995if ${ac_cv_lib_fdata_libfdata_list_get_element_index_at_offset+:} false; then : 42996 $as_echo_n "(cached) " >&6 42997else 42998 ac_check_lib_save_LIBS=$LIBS 42999LIBS="-lfdata $LIBS" 43000cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43001/* end confdefs.h. */ 43002 43003/* Override any GCC internal prototype to avoid an error. 43004 Use char because int might match the return type of a GCC 43005 builtin and then its argument prototype would still apply. */ 43006#ifdef __cplusplus 43007extern "C" 43008#endif 43009char libfdata_list_get_element_index_at_offset (); 43010int 43011main () 43012{ 43013return libfdata_list_get_element_index_at_offset (); 43014 ; 43015 return 0; 43016} 43017_ACEOF 43018if ac_fn_c_try_link "$LINENO"; then : 43019 ac_cv_lib_fdata_libfdata_list_get_element_index_at_offset=yes 43020else 43021 ac_cv_lib_fdata_libfdata_list_get_element_index_at_offset=no 43022fi 43023rm -f core conftest.err conftest.$ac_objext \ 43024 conftest$ac_exeext conftest.$ac_ext 43025LIBS=$ac_check_lib_save_LIBS 43026fi 43027{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_element_index_at_offset" >&5 43028$as_echo "$ac_cv_lib_fdata_libfdata_list_get_element_index_at_offset" >&6; } 43029if test "x$ac_cv_lib_fdata_libfdata_list_get_element_index_at_offset" = xyes; then : 43030 ac_cv_libfdata_dummy=yes 43031else 43032 ac_cv_libfdata=no 43033fi 43034 43035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_list_element_at_offset in -lfdata" >&5 43036$as_echo_n "checking for libfdata_list_get_list_element_at_offset in -lfdata... " >&6; } 43037if ${ac_cv_lib_fdata_libfdata_list_get_list_element_at_offset+:} false; then : 43038 $as_echo_n "(cached) " >&6 43039else 43040 ac_check_lib_save_LIBS=$LIBS 43041LIBS="-lfdata $LIBS" 43042cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43043/* end confdefs.h. */ 43044 43045/* Override any GCC internal prototype to avoid an error. 43046 Use char because int might match the return type of a GCC 43047 builtin and then its argument prototype would still apply. */ 43048#ifdef __cplusplus 43049extern "C" 43050#endif 43051char libfdata_list_get_list_element_at_offset (); 43052int 43053main () 43054{ 43055return libfdata_list_get_list_element_at_offset (); 43056 ; 43057 return 0; 43058} 43059_ACEOF 43060if ac_fn_c_try_link "$LINENO"; then : 43061 ac_cv_lib_fdata_libfdata_list_get_list_element_at_offset=yes 43062else 43063 ac_cv_lib_fdata_libfdata_list_get_list_element_at_offset=no 43064fi 43065rm -f core conftest.err conftest.$ac_objext \ 43066 conftest$ac_exeext conftest.$ac_ext 43067LIBS=$ac_check_lib_save_LIBS 43068fi 43069{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_list_element_at_offset" >&5 43070$as_echo "$ac_cv_lib_fdata_libfdata_list_get_list_element_at_offset" >&6; } 43071if test "x$ac_cv_lib_fdata_libfdata_list_get_list_element_at_offset" = xyes; then : 43072 ac_cv_libfdata_dummy=yes 43073else 43074 ac_cv_libfdata=no 43075fi 43076 43077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_element_at_offset in -lfdata" >&5 43078$as_echo_n "checking for libfdata_list_get_element_at_offset in -lfdata... " >&6; } 43079if ${ac_cv_lib_fdata_libfdata_list_get_element_at_offset+:} false; then : 43080 $as_echo_n "(cached) " >&6 43081else 43082 ac_check_lib_save_LIBS=$LIBS 43083LIBS="-lfdata $LIBS" 43084cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43085/* end confdefs.h. */ 43086 43087/* Override any GCC internal prototype to avoid an error. 43088 Use char because int might match the return type of a GCC 43089 builtin and then its argument prototype would still apply. */ 43090#ifdef __cplusplus 43091extern "C" 43092#endif 43093char libfdata_list_get_element_at_offset (); 43094int 43095main () 43096{ 43097return libfdata_list_get_element_at_offset (); 43098 ; 43099 return 0; 43100} 43101_ACEOF 43102if ac_fn_c_try_link "$LINENO"; then : 43103 ac_cv_lib_fdata_libfdata_list_get_element_at_offset=yes 43104else 43105 ac_cv_lib_fdata_libfdata_list_get_element_at_offset=no 43106fi 43107rm -f core conftest.err conftest.$ac_objext \ 43108 conftest$ac_exeext conftest.$ac_ext 43109LIBS=$ac_check_lib_save_LIBS 43110fi 43111{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_element_at_offset" >&5 43112$as_echo "$ac_cv_lib_fdata_libfdata_list_get_element_at_offset" >&6; } 43113if test "x$ac_cv_lib_fdata_libfdata_list_get_element_at_offset" = xyes; then : 43114 ac_cv_libfdata_dummy=yes 43115else 43116 ac_cv_libfdata=no 43117fi 43118 43119 43120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_cache_element_value in -lfdata" >&5 43121$as_echo_n "checking for libfdata_list_cache_element_value in -lfdata... " >&6; } 43122if ${ac_cv_lib_fdata_libfdata_list_cache_element_value+:} false; then : 43123 $as_echo_n "(cached) " >&6 43124else 43125 ac_check_lib_save_LIBS=$LIBS 43126LIBS="-lfdata $LIBS" 43127cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43128/* end confdefs.h. */ 43129 43130/* Override any GCC internal prototype to avoid an error. 43131 Use char because int might match the return type of a GCC 43132 builtin and then its argument prototype would still apply. */ 43133#ifdef __cplusplus 43134extern "C" 43135#endif 43136char libfdata_list_cache_element_value (); 43137int 43138main () 43139{ 43140return libfdata_list_cache_element_value (); 43141 ; 43142 return 0; 43143} 43144_ACEOF 43145if ac_fn_c_try_link "$LINENO"; then : 43146 ac_cv_lib_fdata_libfdata_list_cache_element_value=yes 43147else 43148 ac_cv_lib_fdata_libfdata_list_cache_element_value=no 43149fi 43150rm -f core conftest.err conftest.$ac_objext \ 43151 conftest$ac_exeext conftest.$ac_ext 43152LIBS=$ac_check_lib_save_LIBS 43153fi 43154{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_cache_element_value" >&5 43155$as_echo "$ac_cv_lib_fdata_libfdata_list_cache_element_value" >&6; } 43156if test "x$ac_cv_lib_fdata_libfdata_list_cache_element_value" = xyes; then : 43157 ac_cv_libfdata_dummy=yes 43158else 43159 ac_cv_libfdata=no 43160fi 43161 43162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_element_value_by_index in -lfdata" >&5 43163$as_echo_n "checking for libfdata_list_get_element_value_by_index in -lfdata... " >&6; } 43164if ${ac_cv_lib_fdata_libfdata_list_get_element_value_by_index+:} false; then : 43165 $as_echo_n "(cached) " >&6 43166else 43167 ac_check_lib_save_LIBS=$LIBS 43168LIBS="-lfdata $LIBS" 43169cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43170/* end confdefs.h. */ 43171 43172/* Override any GCC internal prototype to avoid an error. 43173 Use char because int might match the return type of a GCC 43174 builtin and then its argument prototype would still apply. */ 43175#ifdef __cplusplus 43176extern "C" 43177#endif 43178char libfdata_list_get_element_value_by_index (); 43179int 43180main () 43181{ 43182return libfdata_list_get_element_value_by_index (); 43183 ; 43184 return 0; 43185} 43186_ACEOF 43187if ac_fn_c_try_link "$LINENO"; then : 43188 ac_cv_lib_fdata_libfdata_list_get_element_value_by_index=yes 43189else 43190 ac_cv_lib_fdata_libfdata_list_get_element_value_by_index=no 43191fi 43192rm -f core conftest.err conftest.$ac_objext \ 43193 conftest$ac_exeext conftest.$ac_ext 43194LIBS=$ac_check_lib_save_LIBS 43195fi 43196{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_element_value_by_index" >&5 43197$as_echo "$ac_cv_lib_fdata_libfdata_list_get_element_value_by_index" >&6; } 43198if test "x$ac_cv_lib_fdata_libfdata_list_get_element_value_by_index" = xyes; then : 43199 ac_cv_libfdata_dummy=yes 43200else 43201 ac_cv_libfdata=no 43202fi 43203 43204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_element_value_at_offset in -lfdata" >&5 43205$as_echo_n "checking for libfdata_list_get_element_value_at_offset in -lfdata... " >&6; } 43206if ${ac_cv_lib_fdata_libfdata_list_get_element_value_at_offset+:} false; then : 43207 $as_echo_n "(cached) " >&6 43208else 43209 ac_check_lib_save_LIBS=$LIBS 43210LIBS="-lfdata $LIBS" 43211cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43212/* end confdefs.h. */ 43213 43214/* Override any GCC internal prototype to avoid an error. 43215 Use char because int might match the return type of a GCC 43216 builtin and then its argument prototype would still apply. */ 43217#ifdef __cplusplus 43218extern "C" 43219#endif 43220char libfdata_list_get_element_value_at_offset (); 43221int 43222main () 43223{ 43224return libfdata_list_get_element_value_at_offset (); 43225 ; 43226 return 0; 43227} 43228_ACEOF 43229if ac_fn_c_try_link "$LINENO"; then : 43230 ac_cv_lib_fdata_libfdata_list_get_element_value_at_offset=yes 43231else 43232 ac_cv_lib_fdata_libfdata_list_get_element_value_at_offset=no 43233fi 43234rm -f core conftest.err conftest.$ac_objext \ 43235 conftest$ac_exeext conftest.$ac_ext 43236LIBS=$ac_check_lib_save_LIBS 43237fi 43238{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_element_value_at_offset" >&5 43239$as_echo "$ac_cv_lib_fdata_libfdata_list_get_element_value_at_offset" >&6; } 43240if test "x$ac_cv_lib_fdata_libfdata_list_get_element_value_at_offset" = xyes; then : 43241 ac_cv_libfdata_dummy=yes 43242else 43243 ac_cv_libfdata=no 43244fi 43245 43246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_set_element_value_by_index in -lfdata" >&5 43247$as_echo_n "checking for libfdata_list_set_element_value_by_index in -lfdata... " >&6; } 43248if ${ac_cv_lib_fdata_libfdata_list_set_element_value_by_index+:} false; then : 43249 $as_echo_n "(cached) " >&6 43250else 43251 ac_check_lib_save_LIBS=$LIBS 43252LIBS="-lfdata $LIBS" 43253cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43254/* end confdefs.h. */ 43255 43256/* Override any GCC internal prototype to avoid an error. 43257 Use char because int might match the return type of a GCC 43258 builtin and then its argument prototype would still apply. */ 43259#ifdef __cplusplus 43260extern "C" 43261#endif 43262char libfdata_list_set_element_value_by_index (); 43263int 43264main () 43265{ 43266return libfdata_list_set_element_value_by_index (); 43267 ; 43268 return 0; 43269} 43270_ACEOF 43271if ac_fn_c_try_link "$LINENO"; then : 43272 ac_cv_lib_fdata_libfdata_list_set_element_value_by_index=yes 43273else 43274 ac_cv_lib_fdata_libfdata_list_set_element_value_by_index=no 43275fi 43276rm -f core conftest.err conftest.$ac_objext \ 43277 conftest$ac_exeext conftest.$ac_ext 43278LIBS=$ac_check_lib_save_LIBS 43279fi 43280{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_set_element_value_by_index" >&5 43281$as_echo "$ac_cv_lib_fdata_libfdata_list_set_element_value_by_index" >&6; } 43282if test "x$ac_cv_lib_fdata_libfdata_list_set_element_value_by_index" = xyes; then : 43283 ac_cv_libfdata_dummy=yes 43284else 43285 ac_cv_libfdata=no 43286fi 43287 43288 43289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_set_element_value_at_offset in -lfdata" >&5 43290$as_echo_n "checking for libfdata_list_set_element_value_at_offset in -lfdata... " >&6; } 43291if ${ac_cv_lib_fdata_libfdata_list_set_element_value_at_offset+:} false; then : 43292 $as_echo_n "(cached) " >&6 43293else 43294 ac_check_lib_save_LIBS=$LIBS 43295LIBS="-lfdata $LIBS" 43296cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43297/* end confdefs.h. */ 43298 43299/* Override any GCC internal prototype to avoid an error. 43300 Use char because int might match the return type of a GCC 43301 builtin and then its argument prototype would still apply. */ 43302#ifdef __cplusplus 43303extern "C" 43304#endif 43305char libfdata_list_set_element_value_at_offset (); 43306int 43307main () 43308{ 43309return libfdata_list_set_element_value_at_offset (); 43310 ; 43311 return 0; 43312} 43313_ACEOF 43314if ac_fn_c_try_link "$LINENO"; then : 43315 ac_cv_lib_fdata_libfdata_list_set_element_value_at_offset=yes 43316else 43317 ac_cv_lib_fdata_libfdata_list_set_element_value_at_offset=no 43318fi 43319rm -f core conftest.err conftest.$ac_objext \ 43320 conftest$ac_exeext conftest.$ac_ext 43321LIBS=$ac_check_lib_save_LIBS 43322fi 43323{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_set_element_value_at_offset" >&5 43324$as_echo "$ac_cv_lib_fdata_libfdata_list_set_element_value_at_offset" >&6; } 43325if test "x$ac_cv_lib_fdata_libfdata_list_set_element_value_at_offset" = xyes; then : 43326 ac_cv_libfdata_dummy=yes 43327else 43328 ac_cv_libfdata=no 43329fi 43330 43331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_get_size in -lfdata" >&5 43332$as_echo_n "checking for libfdata_list_get_size in -lfdata... " >&6; } 43333if ${ac_cv_lib_fdata_libfdata_list_get_size+:} false; then : 43334 $as_echo_n "(cached) " >&6 43335else 43336 ac_check_lib_save_LIBS=$LIBS 43337LIBS="-lfdata $LIBS" 43338cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43339/* end confdefs.h. */ 43340 43341/* Override any GCC internal prototype to avoid an error. 43342 Use char because int might match the return type of a GCC 43343 builtin and then its argument prototype would still apply. */ 43344#ifdef __cplusplus 43345extern "C" 43346#endif 43347char libfdata_list_get_size (); 43348int 43349main () 43350{ 43351return libfdata_list_get_size (); 43352 ; 43353 return 0; 43354} 43355_ACEOF 43356if ac_fn_c_try_link "$LINENO"; then : 43357 ac_cv_lib_fdata_libfdata_list_get_size=yes 43358else 43359 ac_cv_lib_fdata_libfdata_list_get_size=no 43360fi 43361rm -f core conftest.err conftest.$ac_objext \ 43362 conftest$ac_exeext conftest.$ac_ext 43363LIBS=$ac_check_lib_save_LIBS 43364fi 43365{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_get_size" >&5 43366$as_echo "$ac_cv_lib_fdata_libfdata_list_get_size" >&6; } 43367if test "x$ac_cv_lib_fdata_libfdata_list_get_size" = xyes; then : 43368 ac_cv_libfdata_dummy=yes 43369else 43370 ac_cv_libfdata=no 43371fi 43372 43373 43374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_element_get_mapped_size in -lfdata" >&5 43375$as_echo_n "checking for libfdata_list_element_get_mapped_size in -lfdata... " >&6; } 43376if ${ac_cv_lib_fdata_libfdata_list_element_get_mapped_size+:} false; then : 43377 $as_echo_n "(cached) " >&6 43378else 43379 ac_check_lib_save_LIBS=$LIBS 43380LIBS="-lfdata $LIBS" 43381cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43382/* end confdefs.h. */ 43383 43384/* Override any GCC internal prototype to avoid an error. 43385 Use char because int might match the return type of a GCC 43386 builtin and then its argument prototype would still apply. */ 43387#ifdef __cplusplus 43388extern "C" 43389#endif 43390char libfdata_list_element_get_mapped_size (); 43391int 43392main () 43393{ 43394return libfdata_list_element_get_mapped_size (); 43395 ; 43396 return 0; 43397} 43398_ACEOF 43399if ac_fn_c_try_link "$LINENO"; then : 43400 ac_cv_lib_fdata_libfdata_list_element_get_mapped_size=yes 43401else 43402 ac_cv_lib_fdata_libfdata_list_element_get_mapped_size=no 43403fi 43404rm -f core conftest.err conftest.$ac_objext \ 43405 conftest$ac_exeext conftest.$ac_ext 43406LIBS=$ac_check_lib_save_LIBS 43407fi 43408{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_element_get_mapped_size" >&5 43409$as_echo "$ac_cv_lib_fdata_libfdata_list_element_get_mapped_size" >&6; } 43410if test "x$ac_cv_lib_fdata_libfdata_list_element_get_mapped_size" = xyes; then : 43411 ac_cv_libfdata_dummy=yes 43412else 43413 ac_cv_libfdata=no 43414fi 43415 43416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_element_set_mapped_size in -lfdata" >&5 43417$as_echo_n "checking for libfdata_list_element_set_mapped_size in -lfdata... " >&6; } 43418if ${ac_cv_lib_fdata_libfdata_list_element_set_mapped_size+:} false; then : 43419 $as_echo_n "(cached) " >&6 43420else 43421 ac_check_lib_save_LIBS=$LIBS 43422LIBS="-lfdata $LIBS" 43423cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43424/* end confdefs.h. */ 43425 43426/* Override any GCC internal prototype to avoid an error. 43427 Use char because int might match the return type of a GCC 43428 builtin and then its argument prototype would still apply. */ 43429#ifdef __cplusplus 43430extern "C" 43431#endif 43432char libfdata_list_element_set_mapped_size (); 43433int 43434main () 43435{ 43436return libfdata_list_element_set_mapped_size (); 43437 ; 43438 return 0; 43439} 43440_ACEOF 43441if ac_fn_c_try_link "$LINENO"; then : 43442 ac_cv_lib_fdata_libfdata_list_element_set_mapped_size=yes 43443else 43444 ac_cv_lib_fdata_libfdata_list_element_set_mapped_size=no 43445fi 43446rm -f core conftest.err conftest.$ac_objext \ 43447 conftest$ac_exeext conftest.$ac_ext 43448LIBS=$ac_check_lib_save_LIBS 43449fi 43450{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_element_set_mapped_size" >&5 43451$as_echo "$ac_cv_lib_fdata_libfdata_list_element_set_mapped_size" >&6; } 43452if test "x$ac_cv_lib_fdata_libfdata_list_element_set_mapped_size" = xyes; then : 43453 ac_cv_libfdata_dummy=yes 43454else 43455 ac_cv_libfdata=no 43456fi 43457 43458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_element_get_element_value in -lfdata" >&5 43459$as_echo_n "checking for libfdata_list_element_get_element_value in -lfdata... " >&6; } 43460if ${ac_cv_lib_fdata_libfdata_list_element_get_element_value+:} false; then : 43461 $as_echo_n "(cached) " >&6 43462else 43463 ac_check_lib_save_LIBS=$LIBS 43464LIBS="-lfdata $LIBS" 43465cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43466/* end confdefs.h. */ 43467 43468/* Override any GCC internal prototype to avoid an error. 43469 Use char because int might match the return type of a GCC 43470 builtin and then its argument prototype would still apply. */ 43471#ifdef __cplusplus 43472extern "C" 43473#endif 43474char libfdata_list_element_get_element_value (); 43475int 43476main () 43477{ 43478return libfdata_list_element_get_element_value (); 43479 ; 43480 return 0; 43481} 43482_ACEOF 43483if ac_fn_c_try_link "$LINENO"; then : 43484 ac_cv_lib_fdata_libfdata_list_element_get_element_value=yes 43485else 43486 ac_cv_lib_fdata_libfdata_list_element_get_element_value=no 43487fi 43488rm -f core conftest.err conftest.$ac_objext \ 43489 conftest$ac_exeext conftest.$ac_ext 43490LIBS=$ac_check_lib_save_LIBS 43491fi 43492{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_element_get_element_value" >&5 43493$as_echo "$ac_cv_lib_fdata_libfdata_list_element_get_element_value" >&6; } 43494if test "x$ac_cv_lib_fdata_libfdata_list_element_get_element_value" = xyes; then : 43495 ac_cv_libfdata_dummy=yes 43496else 43497 ac_cv_libfdata=no 43498fi 43499 43500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_element_set_element_value in -lfdata" >&5 43501$as_echo_n "checking for libfdata_list_element_set_element_value in -lfdata... " >&6; } 43502if ${ac_cv_lib_fdata_libfdata_list_element_set_element_value+:} false; then : 43503 $as_echo_n "(cached) " >&6 43504else 43505 ac_check_lib_save_LIBS=$LIBS 43506LIBS="-lfdata $LIBS" 43507cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43508/* end confdefs.h. */ 43509 43510/* Override any GCC internal prototype to avoid an error. 43511 Use char because int might match the return type of a GCC 43512 builtin and then its argument prototype would still apply. */ 43513#ifdef __cplusplus 43514extern "C" 43515#endif 43516char libfdata_list_element_set_element_value (); 43517int 43518main () 43519{ 43520return libfdata_list_element_set_element_value (); 43521 ; 43522 return 0; 43523} 43524_ACEOF 43525if ac_fn_c_try_link "$LINENO"; then : 43526 ac_cv_lib_fdata_libfdata_list_element_set_element_value=yes 43527else 43528 ac_cv_lib_fdata_libfdata_list_element_set_element_value=no 43529fi 43530rm -f core conftest.err conftest.$ac_objext \ 43531 conftest$ac_exeext conftest.$ac_ext 43532LIBS=$ac_check_lib_save_LIBS 43533fi 43534{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_element_set_element_value" >&5 43535$as_echo "$ac_cv_lib_fdata_libfdata_list_element_set_element_value" >&6; } 43536if test "x$ac_cv_lib_fdata_libfdata_list_element_set_element_value" = xyes; then : 43537 ac_cv_libfdata_dummy=yes 43538else 43539 ac_cv_libfdata=no 43540fi 43541 43542 43543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_element_get_mapped_size in -lfdata" >&5 43544$as_echo_n "checking for libfdata_list_element_get_mapped_size in -lfdata... " >&6; } 43545if ${ac_cv_lib_fdata_libfdata_list_element_get_mapped_size+:} false; then : 43546 $as_echo_n "(cached) " >&6 43547else 43548 ac_check_lib_save_LIBS=$LIBS 43549LIBS="-lfdata $LIBS" 43550cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43551/* end confdefs.h. */ 43552 43553/* Override any GCC internal prototype to avoid an error. 43554 Use char because int might match the return type of a GCC 43555 builtin and then its argument prototype would still apply. */ 43556#ifdef __cplusplus 43557extern "C" 43558#endif 43559char libfdata_list_element_get_mapped_size (); 43560int 43561main () 43562{ 43563return libfdata_list_element_get_mapped_size (); 43564 ; 43565 return 0; 43566} 43567_ACEOF 43568if ac_fn_c_try_link "$LINENO"; then : 43569 ac_cv_lib_fdata_libfdata_list_element_get_mapped_size=yes 43570else 43571 ac_cv_lib_fdata_libfdata_list_element_get_mapped_size=no 43572fi 43573rm -f core conftest.err conftest.$ac_objext \ 43574 conftest$ac_exeext conftest.$ac_ext 43575LIBS=$ac_check_lib_save_LIBS 43576fi 43577{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_element_get_mapped_size" >&5 43578$as_echo "$ac_cv_lib_fdata_libfdata_list_element_get_mapped_size" >&6; } 43579if test "x$ac_cv_lib_fdata_libfdata_list_element_get_mapped_size" = xyes; then : 43580 ac_cv_libfdata_dummy=yes 43581else 43582 ac_cv_libfdata=no 43583fi 43584 43585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_element_set_mapped_size in -lfdata" >&5 43586$as_echo_n "checking for libfdata_list_element_set_mapped_size in -lfdata... " >&6; } 43587if ${ac_cv_lib_fdata_libfdata_list_element_set_mapped_size+:} false; then : 43588 $as_echo_n "(cached) " >&6 43589else 43590 ac_check_lib_save_LIBS=$LIBS 43591LIBS="-lfdata $LIBS" 43592cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43593/* end confdefs.h. */ 43594 43595/* Override any GCC internal prototype to avoid an error. 43596 Use char because int might match the return type of a GCC 43597 builtin and then its argument prototype would still apply. */ 43598#ifdef __cplusplus 43599extern "C" 43600#endif 43601char libfdata_list_element_set_mapped_size (); 43602int 43603main () 43604{ 43605return libfdata_list_element_set_mapped_size (); 43606 ; 43607 return 0; 43608} 43609_ACEOF 43610if ac_fn_c_try_link "$LINENO"; then : 43611 ac_cv_lib_fdata_libfdata_list_element_set_mapped_size=yes 43612else 43613 ac_cv_lib_fdata_libfdata_list_element_set_mapped_size=no 43614fi 43615rm -f core conftest.err conftest.$ac_objext \ 43616 conftest$ac_exeext conftest.$ac_ext 43617LIBS=$ac_check_lib_save_LIBS 43618fi 43619{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_element_set_mapped_size" >&5 43620$as_echo "$ac_cv_lib_fdata_libfdata_list_element_set_mapped_size" >&6; } 43621if test "x$ac_cv_lib_fdata_libfdata_list_element_set_mapped_size" = xyes; then : 43622 ac_cv_libfdata_dummy=yes 43623else 43624 ac_cv_libfdata=no 43625fi 43626 43627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_element_get_element_value in -lfdata" >&5 43628$as_echo_n "checking for libfdata_list_element_get_element_value in -lfdata... " >&6; } 43629if ${ac_cv_lib_fdata_libfdata_list_element_get_element_value+:} false; then : 43630 $as_echo_n "(cached) " >&6 43631else 43632 ac_check_lib_save_LIBS=$LIBS 43633LIBS="-lfdata $LIBS" 43634cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43635/* end confdefs.h. */ 43636 43637/* Override any GCC internal prototype to avoid an error. 43638 Use char because int might match the return type of a GCC 43639 builtin and then its argument prototype would still apply. */ 43640#ifdef __cplusplus 43641extern "C" 43642#endif 43643char libfdata_list_element_get_element_value (); 43644int 43645main () 43646{ 43647return libfdata_list_element_get_element_value (); 43648 ; 43649 return 0; 43650} 43651_ACEOF 43652if ac_fn_c_try_link "$LINENO"; then : 43653 ac_cv_lib_fdata_libfdata_list_element_get_element_value=yes 43654else 43655 ac_cv_lib_fdata_libfdata_list_element_get_element_value=no 43656fi 43657rm -f core conftest.err conftest.$ac_objext \ 43658 conftest$ac_exeext conftest.$ac_ext 43659LIBS=$ac_check_lib_save_LIBS 43660fi 43661{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_element_get_element_value" >&5 43662$as_echo "$ac_cv_lib_fdata_libfdata_list_element_get_element_value" >&6; } 43663if test "x$ac_cv_lib_fdata_libfdata_list_element_get_element_value" = xyes; then : 43664 ac_cv_libfdata_dummy=yes 43665else 43666 ac_cv_libfdata=no 43667fi 43668 43669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_list_element_set_element_value in -lfdata" >&5 43670$as_echo_n "checking for libfdata_list_element_set_element_value in -lfdata... " >&6; } 43671if ${ac_cv_lib_fdata_libfdata_list_element_set_element_value+:} false; then : 43672 $as_echo_n "(cached) " >&6 43673else 43674 ac_check_lib_save_LIBS=$LIBS 43675LIBS="-lfdata $LIBS" 43676cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43677/* end confdefs.h. */ 43678 43679/* Override any GCC internal prototype to avoid an error. 43680 Use char because int might match the return type of a GCC 43681 builtin and then its argument prototype would still apply. */ 43682#ifdef __cplusplus 43683extern "C" 43684#endif 43685char libfdata_list_element_set_element_value (); 43686int 43687main () 43688{ 43689return libfdata_list_element_set_element_value (); 43690 ; 43691 return 0; 43692} 43693_ACEOF 43694if ac_fn_c_try_link "$LINENO"; then : 43695 ac_cv_lib_fdata_libfdata_list_element_set_element_value=yes 43696else 43697 ac_cv_lib_fdata_libfdata_list_element_set_element_value=no 43698fi 43699rm -f core conftest.err conftest.$ac_objext \ 43700 conftest$ac_exeext conftest.$ac_ext 43701LIBS=$ac_check_lib_save_LIBS 43702fi 43703{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_list_element_set_element_value" >&5 43704$as_echo "$ac_cv_lib_fdata_libfdata_list_element_set_element_value" >&6; } 43705if test "x$ac_cv_lib_fdata_libfdata_list_element_set_element_value" = xyes; then : 43706 ac_cv_libfdata_dummy=yes 43707else 43708 ac_cv_libfdata=no 43709fi 43710 43711 43712 43713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_initialize in -lfdata" >&5 43714$as_echo_n "checking for libfdata_stream_initialize in -lfdata... " >&6; } 43715if ${ac_cv_lib_fdata_libfdata_stream_initialize+:} false; then : 43716 $as_echo_n "(cached) " >&6 43717else 43718 ac_check_lib_save_LIBS=$LIBS 43719LIBS="-lfdata $LIBS" 43720cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43721/* end confdefs.h. */ 43722 43723/* Override any GCC internal prototype to avoid an error. 43724 Use char because int might match the return type of a GCC 43725 builtin and then its argument prototype would still apply. */ 43726#ifdef __cplusplus 43727extern "C" 43728#endif 43729char libfdata_stream_initialize (); 43730int 43731main () 43732{ 43733return libfdata_stream_initialize (); 43734 ; 43735 return 0; 43736} 43737_ACEOF 43738if ac_fn_c_try_link "$LINENO"; then : 43739 ac_cv_lib_fdata_libfdata_stream_initialize=yes 43740else 43741 ac_cv_lib_fdata_libfdata_stream_initialize=no 43742fi 43743rm -f core conftest.err conftest.$ac_objext \ 43744 conftest$ac_exeext conftest.$ac_ext 43745LIBS=$ac_check_lib_save_LIBS 43746fi 43747{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_initialize" >&5 43748$as_echo "$ac_cv_lib_fdata_libfdata_stream_initialize" >&6; } 43749if test "x$ac_cv_lib_fdata_libfdata_stream_initialize" = xyes; then : 43750 ac_cv_libfdata_dummy=yes 43751else 43752 ac_cv_libfdata=no 43753fi 43754 43755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_free in -lfdata" >&5 43756$as_echo_n "checking for libfdata_stream_free in -lfdata... " >&6; } 43757if ${ac_cv_lib_fdata_libfdata_stream_free+:} false; then : 43758 $as_echo_n "(cached) " >&6 43759else 43760 ac_check_lib_save_LIBS=$LIBS 43761LIBS="-lfdata $LIBS" 43762cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43763/* end confdefs.h. */ 43764 43765/* Override any GCC internal prototype to avoid an error. 43766 Use char because int might match the return type of a GCC 43767 builtin and then its argument prototype would still apply. */ 43768#ifdef __cplusplus 43769extern "C" 43770#endif 43771char libfdata_stream_free (); 43772int 43773main () 43774{ 43775return libfdata_stream_free (); 43776 ; 43777 return 0; 43778} 43779_ACEOF 43780if ac_fn_c_try_link "$LINENO"; then : 43781 ac_cv_lib_fdata_libfdata_stream_free=yes 43782else 43783 ac_cv_lib_fdata_libfdata_stream_free=no 43784fi 43785rm -f core conftest.err conftest.$ac_objext \ 43786 conftest$ac_exeext conftest.$ac_ext 43787LIBS=$ac_check_lib_save_LIBS 43788fi 43789{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_free" >&5 43790$as_echo "$ac_cv_lib_fdata_libfdata_stream_free" >&6; } 43791if test "x$ac_cv_lib_fdata_libfdata_stream_free" = xyes; then : 43792 ac_cv_libfdata_dummy=yes 43793else 43794 ac_cv_libfdata=no 43795fi 43796 43797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_clone in -lfdata" >&5 43798$as_echo_n "checking for libfdata_stream_clone in -lfdata... " >&6; } 43799if ${ac_cv_lib_fdata_libfdata_stream_clone+:} false; then : 43800 $as_echo_n "(cached) " >&6 43801else 43802 ac_check_lib_save_LIBS=$LIBS 43803LIBS="-lfdata $LIBS" 43804cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43805/* end confdefs.h. */ 43806 43807/* Override any GCC internal prototype to avoid an error. 43808 Use char because int might match the return type of a GCC 43809 builtin and then its argument prototype would still apply. */ 43810#ifdef __cplusplus 43811extern "C" 43812#endif 43813char libfdata_stream_clone (); 43814int 43815main () 43816{ 43817return libfdata_stream_clone (); 43818 ; 43819 return 0; 43820} 43821_ACEOF 43822if ac_fn_c_try_link "$LINENO"; then : 43823 ac_cv_lib_fdata_libfdata_stream_clone=yes 43824else 43825 ac_cv_lib_fdata_libfdata_stream_clone=no 43826fi 43827rm -f core conftest.err conftest.$ac_objext \ 43828 conftest$ac_exeext conftest.$ac_ext 43829LIBS=$ac_check_lib_save_LIBS 43830fi 43831{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_clone" >&5 43832$as_echo "$ac_cv_lib_fdata_libfdata_stream_clone" >&6; } 43833if test "x$ac_cv_lib_fdata_libfdata_stream_clone" = xyes; then : 43834 ac_cv_libfdata_dummy=yes 43835else 43836 ac_cv_libfdata=no 43837fi 43838 43839 43840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_empty in -lfdata" >&5 43841$as_echo_n "checking for libfdata_stream_empty in -lfdata... " >&6; } 43842if ${ac_cv_lib_fdata_libfdata_stream_empty+:} false; then : 43843 $as_echo_n "(cached) " >&6 43844else 43845 ac_check_lib_save_LIBS=$LIBS 43846LIBS="-lfdata $LIBS" 43847cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43848/* end confdefs.h. */ 43849 43850/* Override any GCC internal prototype to avoid an error. 43851 Use char because int might match the return type of a GCC 43852 builtin and then its argument prototype would still apply. */ 43853#ifdef __cplusplus 43854extern "C" 43855#endif 43856char libfdata_stream_empty (); 43857int 43858main () 43859{ 43860return libfdata_stream_empty (); 43861 ; 43862 return 0; 43863} 43864_ACEOF 43865if ac_fn_c_try_link "$LINENO"; then : 43866 ac_cv_lib_fdata_libfdata_stream_empty=yes 43867else 43868 ac_cv_lib_fdata_libfdata_stream_empty=no 43869fi 43870rm -f core conftest.err conftest.$ac_objext \ 43871 conftest$ac_exeext conftest.$ac_ext 43872LIBS=$ac_check_lib_save_LIBS 43873fi 43874{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_empty" >&5 43875$as_echo "$ac_cv_lib_fdata_libfdata_stream_empty" >&6; } 43876if test "x$ac_cv_lib_fdata_libfdata_stream_empty" = xyes; then : 43877 ac_cv_libfdata_dummy=yes 43878else 43879 ac_cv_libfdata=no 43880fi 43881 43882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_resize in -lfdata" >&5 43883$as_echo_n "checking for libfdata_stream_resize in -lfdata... " >&6; } 43884if ${ac_cv_lib_fdata_libfdata_stream_resize+:} false; then : 43885 $as_echo_n "(cached) " >&6 43886else 43887 ac_check_lib_save_LIBS=$LIBS 43888LIBS="-lfdata $LIBS" 43889cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43890/* end confdefs.h. */ 43891 43892/* Override any GCC internal prototype to avoid an error. 43893 Use char because int might match the return type of a GCC 43894 builtin and then its argument prototype would still apply. */ 43895#ifdef __cplusplus 43896extern "C" 43897#endif 43898char libfdata_stream_resize (); 43899int 43900main () 43901{ 43902return libfdata_stream_resize (); 43903 ; 43904 return 0; 43905} 43906_ACEOF 43907if ac_fn_c_try_link "$LINENO"; then : 43908 ac_cv_lib_fdata_libfdata_stream_resize=yes 43909else 43910 ac_cv_lib_fdata_libfdata_stream_resize=no 43911fi 43912rm -f core conftest.err conftest.$ac_objext \ 43913 conftest$ac_exeext conftest.$ac_ext 43914LIBS=$ac_check_lib_save_LIBS 43915fi 43916{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_resize" >&5 43917$as_echo "$ac_cv_lib_fdata_libfdata_stream_resize" >&6; } 43918if test "x$ac_cv_lib_fdata_libfdata_stream_resize" = xyes; then : 43919 ac_cv_libfdata_dummy=yes 43920else 43921 ac_cv_libfdata=no 43922fi 43923 43924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_reverse in -lfdata" >&5 43925$as_echo_n "checking for libfdata_stream_reverse in -lfdata... " >&6; } 43926if ${ac_cv_lib_fdata_libfdata_stream_reverse+:} false; then : 43927 $as_echo_n "(cached) " >&6 43928else 43929 ac_check_lib_save_LIBS=$LIBS 43930LIBS="-lfdata $LIBS" 43931cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43932/* end confdefs.h. */ 43933 43934/* Override any GCC internal prototype to avoid an error. 43935 Use char because int might match the return type of a GCC 43936 builtin and then its argument prototype would still apply. */ 43937#ifdef __cplusplus 43938extern "C" 43939#endif 43940char libfdata_stream_reverse (); 43941int 43942main () 43943{ 43944return libfdata_stream_reverse (); 43945 ; 43946 return 0; 43947} 43948_ACEOF 43949if ac_fn_c_try_link "$LINENO"; then : 43950 ac_cv_lib_fdata_libfdata_stream_reverse=yes 43951else 43952 ac_cv_lib_fdata_libfdata_stream_reverse=no 43953fi 43954rm -f core conftest.err conftest.$ac_objext \ 43955 conftest$ac_exeext conftest.$ac_ext 43956LIBS=$ac_check_lib_save_LIBS 43957fi 43958{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_reverse" >&5 43959$as_echo "$ac_cv_lib_fdata_libfdata_stream_reverse" >&6; } 43960if test "x$ac_cv_lib_fdata_libfdata_stream_reverse" = xyes; then : 43961 ac_cv_libfdata_dummy=yes 43962else 43963 ac_cv_libfdata=no 43964fi 43965 43966 43967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_get_number_of_segments in -lfdata" >&5 43968$as_echo_n "checking for libfdata_stream_get_number_of_segments in -lfdata... " >&6; } 43969if ${ac_cv_lib_fdata_libfdata_stream_get_number_of_segments+:} false; then : 43970 $as_echo_n "(cached) " >&6 43971else 43972 ac_check_lib_save_LIBS=$LIBS 43973LIBS="-lfdata $LIBS" 43974cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43975/* end confdefs.h. */ 43976 43977/* Override any GCC internal prototype to avoid an error. 43978 Use char because int might match the return type of a GCC 43979 builtin and then its argument prototype would still apply. */ 43980#ifdef __cplusplus 43981extern "C" 43982#endif 43983char libfdata_stream_get_number_of_segments (); 43984int 43985main () 43986{ 43987return libfdata_stream_get_number_of_segments (); 43988 ; 43989 return 0; 43990} 43991_ACEOF 43992if ac_fn_c_try_link "$LINENO"; then : 43993 ac_cv_lib_fdata_libfdata_stream_get_number_of_segments=yes 43994else 43995 ac_cv_lib_fdata_libfdata_stream_get_number_of_segments=no 43996fi 43997rm -f core conftest.err conftest.$ac_objext \ 43998 conftest$ac_exeext conftest.$ac_ext 43999LIBS=$ac_check_lib_save_LIBS 44000fi 44001{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_get_number_of_segments" >&5 44002$as_echo "$ac_cv_lib_fdata_libfdata_stream_get_number_of_segments" >&6; } 44003if test "x$ac_cv_lib_fdata_libfdata_stream_get_number_of_segments" = xyes; then : 44004 ac_cv_libfdata_dummy=yes 44005else 44006 ac_cv_libfdata=no 44007fi 44008 44009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_get_segment_by_index in -lfdata" >&5 44010$as_echo_n "checking for libfdata_stream_get_segment_by_index in -lfdata... " >&6; } 44011if ${ac_cv_lib_fdata_libfdata_stream_get_segment_by_index+:} false; then : 44012 $as_echo_n "(cached) " >&6 44013else 44014 ac_check_lib_save_LIBS=$LIBS 44015LIBS="-lfdata $LIBS" 44016cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44017/* end confdefs.h. */ 44018 44019/* Override any GCC internal prototype to avoid an error. 44020 Use char because int might match the return type of a GCC 44021 builtin and then its argument prototype would still apply. */ 44022#ifdef __cplusplus 44023extern "C" 44024#endif 44025char libfdata_stream_get_segment_by_index (); 44026int 44027main () 44028{ 44029return libfdata_stream_get_segment_by_index (); 44030 ; 44031 return 0; 44032} 44033_ACEOF 44034if ac_fn_c_try_link "$LINENO"; then : 44035 ac_cv_lib_fdata_libfdata_stream_get_segment_by_index=yes 44036else 44037 ac_cv_lib_fdata_libfdata_stream_get_segment_by_index=no 44038fi 44039rm -f core conftest.err conftest.$ac_objext \ 44040 conftest$ac_exeext conftest.$ac_ext 44041LIBS=$ac_check_lib_save_LIBS 44042fi 44043{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_get_segment_by_index" >&5 44044$as_echo "$ac_cv_lib_fdata_libfdata_stream_get_segment_by_index" >&6; } 44045if test "x$ac_cv_lib_fdata_libfdata_stream_get_segment_by_index" = xyes; then : 44046 ac_cv_libfdata_dummy=yes 44047else 44048 ac_cv_libfdata=no 44049fi 44050 44051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_set_segment_by_index in -lfdata" >&5 44052$as_echo_n "checking for libfdata_stream_set_segment_by_index in -lfdata... " >&6; } 44053if ${ac_cv_lib_fdata_libfdata_stream_set_segment_by_index+:} false; then : 44054 $as_echo_n "(cached) " >&6 44055else 44056 ac_check_lib_save_LIBS=$LIBS 44057LIBS="-lfdata $LIBS" 44058cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44059/* end confdefs.h. */ 44060 44061/* Override any GCC internal prototype to avoid an error. 44062 Use char because int might match the return type of a GCC 44063 builtin and then its argument prototype would still apply. */ 44064#ifdef __cplusplus 44065extern "C" 44066#endif 44067char libfdata_stream_set_segment_by_index (); 44068int 44069main () 44070{ 44071return libfdata_stream_set_segment_by_index (); 44072 ; 44073 return 0; 44074} 44075_ACEOF 44076if ac_fn_c_try_link "$LINENO"; then : 44077 ac_cv_lib_fdata_libfdata_stream_set_segment_by_index=yes 44078else 44079 ac_cv_lib_fdata_libfdata_stream_set_segment_by_index=no 44080fi 44081rm -f core conftest.err conftest.$ac_objext \ 44082 conftest$ac_exeext conftest.$ac_ext 44083LIBS=$ac_check_lib_save_LIBS 44084fi 44085{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_set_segment_by_index" >&5 44086$as_echo "$ac_cv_lib_fdata_libfdata_stream_set_segment_by_index" >&6; } 44087if test "x$ac_cv_lib_fdata_libfdata_stream_set_segment_by_index" = xyes; then : 44088 ac_cv_libfdata_dummy=yes 44089else 44090 ac_cv_libfdata=no 44091fi 44092 44093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_prepend_segment in -lfdata" >&5 44094$as_echo_n "checking for libfdata_stream_prepend_segment in -lfdata... " >&6; } 44095if ${ac_cv_lib_fdata_libfdata_stream_prepend_segment+:} false; then : 44096 $as_echo_n "(cached) " >&6 44097else 44098 ac_check_lib_save_LIBS=$LIBS 44099LIBS="-lfdata $LIBS" 44100cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44101/* end confdefs.h. */ 44102 44103/* Override any GCC internal prototype to avoid an error. 44104 Use char because int might match the return type of a GCC 44105 builtin and then its argument prototype would still apply. */ 44106#ifdef __cplusplus 44107extern "C" 44108#endif 44109char libfdata_stream_prepend_segment (); 44110int 44111main () 44112{ 44113return libfdata_stream_prepend_segment (); 44114 ; 44115 return 0; 44116} 44117_ACEOF 44118if ac_fn_c_try_link "$LINENO"; then : 44119 ac_cv_lib_fdata_libfdata_stream_prepend_segment=yes 44120else 44121 ac_cv_lib_fdata_libfdata_stream_prepend_segment=no 44122fi 44123rm -f core conftest.err conftest.$ac_objext \ 44124 conftest$ac_exeext conftest.$ac_ext 44125LIBS=$ac_check_lib_save_LIBS 44126fi 44127{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_prepend_segment" >&5 44128$as_echo "$ac_cv_lib_fdata_libfdata_stream_prepend_segment" >&6; } 44129if test "x$ac_cv_lib_fdata_libfdata_stream_prepend_segment" = xyes; then : 44130 ac_cv_libfdata_dummy=yes 44131else 44132 ac_cv_libfdata=no 44133fi 44134 44135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_append_segment in -lfdata" >&5 44136$as_echo_n "checking for libfdata_stream_append_segment in -lfdata... " >&6; } 44137if ${ac_cv_lib_fdata_libfdata_stream_append_segment+:} false; then : 44138 $as_echo_n "(cached) " >&6 44139else 44140 ac_check_lib_save_LIBS=$LIBS 44141LIBS="-lfdata $LIBS" 44142cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44143/* end confdefs.h. */ 44144 44145/* Override any GCC internal prototype to avoid an error. 44146 Use char because int might match the return type of a GCC 44147 builtin and then its argument prototype would still apply. */ 44148#ifdef __cplusplus 44149extern "C" 44150#endif 44151char libfdata_stream_append_segment (); 44152int 44153main () 44154{ 44155return libfdata_stream_append_segment (); 44156 ; 44157 return 0; 44158} 44159_ACEOF 44160if ac_fn_c_try_link "$LINENO"; then : 44161 ac_cv_lib_fdata_libfdata_stream_append_segment=yes 44162else 44163 ac_cv_lib_fdata_libfdata_stream_append_segment=no 44164fi 44165rm -f core conftest.err conftest.$ac_objext \ 44166 conftest$ac_exeext conftest.$ac_ext 44167LIBS=$ac_check_lib_save_LIBS 44168fi 44169{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_append_segment" >&5 44170$as_echo "$ac_cv_lib_fdata_libfdata_stream_append_segment" >&6; } 44171if test "x$ac_cv_lib_fdata_libfdata_stream_append_segment" = xyes; then : 44172 ac_cv_libfdata_dummy=yes 44173else 44174 ac_cv_libfdata=no 44175fi 44176 44177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_set_mapped_size in -lfdata" >&5 44178$as_echo_n "checking for libfdata_stream_set_mapped_size in -lfdata... " >&6; } 44179if ${ac_cv_lib_fdata_libfdata_stream_set_mapped_size+:} false; then : 44180 $as_echo_n "(cached) " >&6 44181else 44182 ac_check_lib_save_LIBS=$LIBS 44183LIBS="-lfdata $LIBS" 44184cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44185/* end confdefs.h. */ 44186 44187/* Override any GCC internal prototype to avoid an error. 44188 Use char because int might match the return type of a GCC 44189 builtin and then its argument prototype would still apply. */ 44190#ifdef __cplusplus 44191extern "C" 44192#endif 44193char libfdata_stream_set_mapped_size (); 44194int 44195main () 44196{ 44197return libfdata_stream_set_mapped_size (); 44198 ; 44199 return 0; 44200} 44201_ACEOF 44202if ac_fn_c_try_link "$LINENO"; then : 44203 ac_cv_lib_fdata_libfdata_stream_set_mapped_size=yes 44204else 44205 ac_cv_lib_fdata_libfdata_stream_set_mapped_size=no 44206fi 44207rm -f core conftest.err conftest.$ac_objext \ 44208 conftest$ac_exeext conftest.$ac_ext 44209LIBS=$ac_check_lib_save_LIBS 44210fi 44211{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_set_mapped_size" >&5 44212$as_echo "$ac_cv_lib_fdata_libfdata_stream_set_mapped_size" >&6; } 44213if test "x$ac_cv_lib_fdata_libfdata_stream_set_mapped_size" = xyes; then : 44214 ac_cv_libfdata_dummy=yes 44215else 44216 ac_cv_libfdata=no 44217fi 44218 44219 44220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_get_segment_mapped_range in -lfdata" >&5 44221$as_echo_n "checking for libfdata_stream_get_segment_mapped_range in -lfdata... " >&6; } 44222if ${ac_cv_lib_fdata_libfdata_stream_get_segment_mapped_range+:} false; then : 44223 $as_echo_n "(cached) " >&6 44224else 44225 ac_check_lib_save_LIBS=$LIBS 44226LIBS="-lfdata $LIBS" 44227cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44228/* end confdefs.h. */ 44229 44230/* Override any GCC internal prototype to avoid an error. 44231 Use char because int might match the return type of a GCC 44232 builtin and then its argument prototype would still apply. */ 44233#ifdef __cplusplus 44234extern "C" 44235#endif 44236char libfdata_stream_get_segment_mapped_range (); 44237int 44238main () 44239{ 44240return libfdata_stream_get_segment_mapped_range (); 44241 ; 44242 return 0; 44243} 44244_ACEOF 44245if ac_fn_c_try_link "$LINENO"; then : 44246 ac_cv_lib_fdata_libfdata_stream_get_segment_mapped_range=yes 44247else 44248 ac_cv_lib_fdata_libfdata_stream_get_segment_mapped_range=no 44249fi 44250rm -f core conftest.err conftest.$ac_objext \ 44251 conftest$ac_exeext conftest.$ac_ext 44252LIBS=$ac_check_lib_save_LIBS 44253fi 44254{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_get_segment_mapped_range" >&5 44255$as_echo "$ac_cv_lib_fdata_libfdata_stream_get_segment_mapped_range" >&6; } 44256if test "x$ac_cv_lib_fdata_libfdata_stream_get_segment_mapped_range" = xyes; then : 44257 ac_cv_libfdata_dummy=yes 44258else 44259 ac_cv_libfdata=no 44260fi 44261 44262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_get_segment_index_at_offset in -lfdata" >&5 44263$as_echo_n "checking for libfdata_stream_get_segment_index_at_offset in -lfdata... " >&6; } 44264if ${ac_cv_lib_fdata_libfdata_stream_get_segment_index_at_offset+:} false; then : 44265 $as_echo_n "(cached) " >&6 44266else 44267 ac_check_lib_save_LIBS=$LIBS 44268LIBS="-lfdata $LIBS" 44269cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44270/* end confdefs.h. */ 44271 44272/* Override any GCC internal prototype to avoid an error. 44273 Use char because int might match the return type of a GCC 44274 builtin and then its argument prototype would still apply. */ 44275#ifdef __cplusplus 44276extern "C" 44277#endif 44278char libfdata_stream_get_segment_index_at_offset (); 44279int 44280main () 44281{ 44282return libfdata_stream_get_segment_index_at_offset (); 44283 ; 44284 return 0; 44285} 44286_ACEOF 44287if ac_fn_c_try_link "$LINENO"; then : 44288 ac_cv_lib_fdata_libfdata_stream_get_segment_index_at_offset=yes 44289else 44290 ac_cv_lib_fdata_libfdata_stream_get_segment_index_at_offset=no 44291fi 44292rm -f core conftest.err conftest.$ac_objext \ 44293 conftest$ac_exeext conftest.$ac_ext 44294LIBS=$ac_check_lib_save_LIBS 44295fi 44296{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_get_segment_index_at_offset" >&5 44297$as_echo "$ac_cv_lib_fdata_libfdata_stream_get_segment_index_at_offset" >&6; } 44298if test "x$ac_cv_lib_fdata_libfdata_stream_get_segment_index_at_offset" = xyes; then : 44299 ac_cv_libfdata_dummy=yes 44300else 44301 ac_cv_libfdata=no 44302fi 44303 44304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_get_segment_at_offset in -lfdata" >&5 44305$as_echo_n "checking for libfdata_stream_get_segment_at_offset in -lfdata... " >&6; } 44306if ${ac_cv_lib_fdata_libfdata_stream_get_segment_at_offset+:} false; then : 44307 $as_echo_n "(cached) " >&6 44308else 44309 ac_check_lib_save_LIBS=$LIBS 44310LIBS="-lfdata $LIBS" 44311cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44312/* end confdefs.h. */ 44313 44314/* Override any GCC internal prototype to avoid an error. 44315 Use char because int might match the return type of a GCC 44316 builtin and then its argument prototype would still apply. */ 44317#ifdef __cplusplus 44318extern "C" 44319#endif 44320char libfdata_stream_get_segment_at_offset (); 44321int 44322main () 44323{ 44324return libfdata_stream_get_segment_at_offset (); 44325 ; 44326 return 0; 44327} 44328_ACEOF 44329if ac_fn_c_try_link "$LINENO"; then : 44330 ac_cv_lib_fdata_libfdata_stream_get_segment_at_offset=yes 44331else 44332 ac_cv_lib_fdata_libfdata_stream_get_segment_at_offset=no 44333fi 44334rm -f core conftest.err conftest.$ac_objext \ 44335 conftest$ac_exeext conftest.$ac_ext 44336LIBS=$ac_check_lib_save_LIBS 44337fi 44338{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_get_segment_at_offset" >&5 44339$as_echo "$ac_cv_lib_fdata_libfdata_stream_get_segment_at_offset" >&6; } 44340if test "x$ac_cv_lib_fdata_libfdata_stream_get_segment_at_offset" = xyes; then : 44341 ac_cv_libfdata_dummy=yes 44342else 44343 ac_cv_libfdata=no 44344fi 44345 44346 44347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_read_buffer in -lfdata" >&5 44348$as_echo_n "checking for libfdata_stream_read_buffer in -lfdata... " >&6; } 44349if ${ac_cv_lib_fdata_libfdata_stream_read_buffer+:} false; then : 44350 $as_echo_n "(cached) " >&6 44351else 44352 ac_check_lib_save_LIBS=$LIBS 44353LIBS="-lfdata $LIBS" 44354cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44355/* end confdefs.h. */ 44356 44357/* Override any GCC internal prototype to avoid an error. 44358 Use char because int might match the return type of a GCC 44359 builtin and then its argument prototype would still apply. */ 44360#ifdef __cplusplus 44361extern "C" 44362#endif 44363char libfdata_stream_read_buffer (); 44364int 44365main () 44366{ 44367return libfdata_stream_read_buffer (); 44368 ; 44369 return 0; 44370} 44371_ACEOF 44372if ac_fn_c_try_link "$LINENO"; then : 44373 ac_cv_lib_fdata_libfdata_stream_read_buffer=yes 44374else 44375 ac_cv_lib_fdata_libfdata_stream_read_buffer=no 44376fi 44377rm -f core conftest.err conftest.$ac_objext \ 44378 conftest$ac_exeext conftest.$ac_ext 44379LIBS=$ac_check_lib_save_LIBS 44380fi 44381{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_read_buffer" >&5 44382$as_echo "$ac_cv_lib_fdata_libfdata_stream_read_buffer" >&6; } 44383if test "x$ac_cv_lib_fdata_libfdata_stream_read_buffer" = xyes; then : 44384 ac_cv_libfdata_dummy=yes 44385else 44386 ac_cv_libfdata=no 44387fi 44388 44389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_read_buffer_at_offset in -lfdata" >&5 44390$as_echo_n "checking for libfdata_stream_read_buffer_at_offset in -lfdata... " >&6; } 44391if ${ac_cv_lib_fdata_libfdata_stream_read_buffer_at_offset+:} false; then : 44392 $as_echo_n "(cached) " >&6 44393else 44394 ac_check_lib_save_LIBS=$LIBS 44395LIBS="-lfdata $LIBS" 44396cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44397/* end confdefs.h. */ 44398 44399/* Override any GCC internal prototype to avoid an error. 44400 Use char because int might match the return type of a GCC 44401 builtin and then its argument prototype would still apply. */ 44402#ifdef __cplusplus 44403extern "C" 44404#endif 44405char libfdata_stream_read_buffer_at_offset (); 44406int 44407main () 44408{ 44409return libfdata_stream_read_buffer_at_offset (); 44410 ; 44411 return 0; 44412} 44413_ACEOF 44414if ac_fn_c_try_link "$LINENO"; then : 44415 ac_cv_lib_fdata_libfdata_stream_read_buffer_at_offset=yes 44416else 44417 ac_cv_lib_fdata_libfdata_stream_read_buffer_at_offset=no 44418fi 44419rm -f core conftest.err conftest.$ac_objext \ 44420 conftest$ac_exeext conftest.$ac_ext 44421LIBS=$ac_check_lib_save_LIBS 44422fi 44423{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_read_buffer_at_offset" >&5 44424$as_echo "$ac_cv_lib_fdata_libfdata_stream_read_buffer_at_offset" >&6; } 44425if test "x$ac_cv_lib_fdata_libfdata_stream_read_buffer_at_offset" = xyes; then : 44426 ac_cv_libfdata_dummy=yes 44427else 44428 ac_cv_libfdata=no 44429fi 44430 44431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_write_buffer in -lfdata" >&5 44432$as_echo_n "checking for libfdata_stream_write_buffer in -lfdata... " >&6; } 44433if ${ac_cv_lib_fdata_libfdata_stream_write_buffer+:} false; then : 44434 $as_echo_n "(cached) " >&6 44435else 44436 ac_check_lib_save_LIBS=$LIBS 44437LIBS="-lfdata $LIBS" 44438cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44439/* end confdefs.h. */ 44440 44441/* Override any GCC internal prototype to avoid an error. 44442 Use char because int might match the return type of a GCC 44443 builtin and then its argument prototype would still apply. */ 44444#ifdef __cplusplus 44445extern "C" 44446#endif 44447char libfdata_stream_write_buffer (); 44448int 44449main () 44450{ 44451return libfdata_stream_write_buffer (); 44452 ; 44453 return 0; 44454} 44455_ACEOF 44456if ac_fn_c_try_link "$LINENO"; then : 44457 ac_cv_lib_fdata_libfdata_stream_write_buffer=yes 44458else 44459 ac_cv_lib_fdata_libfdata_stream_write_buffer=no 44460fi 44461rm -f core conftest.err conftest.$ac_objext \ 44462 conftest$ac_exeext conftest.$ac_ext 44463LIBS=$ac_check_lib_save_LIBS 44464fi 44465{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_write_buffer" >&5 44466$as_echo "$ac_cv_lib_fdata_libfdata_stream_write_buffer" >&6; } 44467if test "x$ac_cv_lib_fdata_libfdata_stream_write_buffer" = xyes; then : 44468 ac_cv_libfdata_dummy=yes 44469else 44470 ac_cv_libfdata=no 44471fi 44472 44473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_seek_offset in -lfdata" >&5 44474$as_echo_n "checking for libfdata_stream_seek_offset in -lfdata... " >&6; } 44475if ${ac_cv_lib_fdata_libfdata_stream_seek_offset+:} false; then : 44476 $as_echo_n "(cached) " >&6 44477else 44478 ac_check_lib_save_LIBS=$LIBS 44479LIBS="-lfdata $LIBS" 44480cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44481/* end confdefs.h. */ 44482 44483/* Override any GCC internal prototype to avoid an error. 44484 Use char because int might match the return type of a GCC 44485 builtin and then its argument prototype would still apply. */ 44486#ifdef __cplusplus 44487extern "C" 44488#endif 44489char libfdata_stream_seek_offset (); 44490int 44491main () 44492{ 44493return libfdata_stream_seek_offset (); 44494 ; 44495 return 0; 44496} 44497_ACEOF 44498if ac_fn_c_try_link "$LINENO"; then : 44499 ac_cv_lib_fdata_libfdata_stream_seek_offset=yes 44500else 44501 ac_cv_lib_fdata_libfdata_stream_seek_offset=no 44502fi 44503rm -f core conftest.err conftest.$ac_objext \ 44504 conftest$ac_exeext conftest.$ac_ext 44505LIBS=$ac_check_lib_save_LIBS 44506fi 44507{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_seek_offset" >&5 44508$as_echo "$ac_cv_lib_fdata_libfdata_stream_seek_offset" >&6; } 44509if test "x$ac_cv_lib_fdata_libfdata_stream_seek_offset" = xyes; then : 44510 ac_cv_libfdata_dummy=yes 44511else 44512 ac_cv_libfdata=no 44513fi 44514 44515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_get_offset in -lfdata" >&5 44516$as_echo_n "checking for libfdata_stream_get_offset in -lfdata... " >&6; } 44517if ${ac_cv_lib_fdata_libfdata_stream_get_offset+:} false; then : 44518 $as_echo_n "(cached) " >&6 44519else 44520 ac_check_lib_save_LIBS=$LIBS 44521LIBS="-lfdata $LIBS" 44522cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44523/* end confdefs.h. */ 44524 44525/* Override any GCC internal prototype to avoid an error. 44526 Use char because int might match the return type of a GCC 44527 builtin and then its argument prototype would still apply. */ 44528#ifdef __cplusplus 44529extern "C" 44530#endif 44531char libfdata_stream_get_offset (); 44532int 44533main () 44534{ 44535return libfdata_stream_get_offset (); 44536 ; 44537 return 0; 44538} 44539_ACEOF 44540if ac_fn_c_try_link "$LINENO"; then : 44541 ac_cv_lib_fdata_libfdata_stream_get_offset=yes 44542else 44543 ac_cv_lib_fdata_libfdata_stream_get_offset=no 44544fi 44545rm -f core conftest.err conftest.$ac_objext \ 44546 conftest$ac_exeext conftest.$ac_ext 44547LIBS=$ac_check_lib_save_LIBS 44548fi 44549{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_get_offset" >&5 44550$as_echo "$ac_cv_lib_fdata_libfdata_stream_get_offset" >&6; } 44551if test "x$ac_cv_lib_fdata_libfdata_stream_get_offset" = xyes; then : 44552 ac_cv_libfdata_dummy=yes 44553else 44554 ac_cv_libfdata=no 44555fi 44556 44557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_stream_get_size in -lfdata" >&5 44558$as_echo_n "checking for libfdata_stream_get_size in -lfdata... " >&6; } 44559if ${ac_cv_lib_fdata_libfdata_stream_get_size+:} false; then : 44560 $as_echo_n "(cached) " >&6 44561else 44562 ac_check_lib_save_LIBS=$LIBS 44563LIBS="-lfdata $LIBS" 44564cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44565/* end confdefs.h. */ 44566 44567/* Override any GCC internal prototype to avoid an error. 44568 Use char because int might match the return type of a GCC 44569 builtin and then its argument prototype would still apply. */ 44570#ifdef __cplusplus 44571extern "C" 44572#endif 44573char libfdata_stream_get_size (); 44574int 44575main () 44576{ 44577return libfdata_stream_get_size (); 44578 ; 44579 return 0; 44580} 44581_ACEOF 44582if ac_fn_c_try_link "$LINENO"; then : 44583 ac_cv_lib_fdata_libfdata_stream_get_size=yes 44584else 44585 ac_cv_lib_fdata_libfdata_stream_get_size=no 44586fi 44587rm -f core conftest.err conftest.$ac_objext \ 44588 conftest$ac_exeext conftest.$ac_ext 44589LIBS=$ac_check_lib_save_LIBS 44590fi 44591{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdata_libfdata_stream_get_size" >&5 44592$as_echo "$ac_cv_lib_fdata_libfdata_stream_get_size" >&6; } 44593if test "x$ac_cv_lib_fdata_libfdata_stream_get_size" = xyes; then : 44594 ac_cv_libfdata_dummy=yes 44595else 44596 ac_cv_libfdata=no 44597fi 44598 44599 44600 44601 44602 ac_cv_libfdata_LIBADD="-lfdata" 44603fi 44604 44605fi 44606 if test "x$ac_cv_with_libfdata" != x && test "x$ac_cv_with_libfdata" != xauto-detect && test "x$ac_cv_libfdata" != xyes; then : 44607 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 44608$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 44609as_fn_error 1 "unable to find supported libfdata in directory: $ac_cv_with_libfdata 44610See \`config.log' for more details" "$LINENO" 5; } 44611 44612fi 44613 44614fi 44615 44616 if test "x$ac_cv_libfdata" = xyes; then : 44617 44618$as_echo "#define HAVE_LIBFDATA 1" >>confdefs.h 44619 44620 44621fi 44622 44623 if test "x$ac_cv_libfdata" = xyes; then : 44624 HAVE_LIBFDATA=1 44625 44626else 44627 HAVE_LIBFDATA=0 44628 44629 44630fi 44631 44632 44633 if test "x$ac_cv_libfdata" != xyes; then : 44634 44635 ac_cv_libfdata_CPPFLAGS="-I../libfdata"; 44636 ac_cv_libfdata_LIBADD="../libfdata/libfdata.la"; 44637 44638 ac_cv_libfdata=local 44639 44640 44641 44642$as_echo "#define HAVE_LOCAL_LIBFDATA 1" >>confdefs.h 44643 44644 HAVE_LOCAL_LIBFDATA=1 44645 44646 44647fi 44648 44649 if test "x$ac_cv_libfdata" = xlocal; then 44650 HAVE_LOCAL_LIBFDATA_TRUE= 44651 HAVE_LOCAL_LIBFDATA_FALSE='#' 44652else 44653 HAVE_LOCAL_LIBFDATA_TRUE='#' 44654 HAVE_LOCAL_LIBFDATA_FALSE= 44655fi 44656 44657 if test "x$ac_cv_libfdata_CPPFLAGS" != "x"; then : 44658 LIBFDATA_CPPFLAGS=$ac_cv_libfdata_CPPFLAGS 44659 44660 44661fi 44662 if test "x$ac_cv_libfdata_LIBADD" != "x"; then : 44663 LIBFDATA_LIBADD=$ac_cv_libfdata_LIBADD 44664 44665 44666fi 44667 44668 if test "x$ac_cv_libfdata" = xyes; then : 44669 ax_libfdata_pc_libs_private=-lfdata 44670 44671 44672fi 44673 44674 if test "x$ac_cv_libfdata" = xyes; then : 44675 ax_libfdata_spec_requires=libfdata 44676 44677 ax_libfdata_spec_build_requires=libfdata-devel 44678 44679 44680fi 44681 44682 44683 44684 44685# Check whether --with-libfdatetime was given. 44686if test "${with_libfdatetime+set}" = set; then : 44687 withval=$with_libfdatetime; ac_cv_with_libfdatetime=$withval 44688else 44689 ac_cv_with_libfdatetime=auto-detect 44690fi 44691 44692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use search for libfdatetime in includedir and libdir or in the specified DIR, or no if to use local version" >&5 44693$as_echo_n "checking whether to use search for libfdatetime in includedir and libdir or in the specified DIR, or no if to use local version... " >&6; } 44694if ${ac_cv_with_libfdatetime+:} false; then : 44695 $as_echo_n "(cached) " >&6 44696else 44697 ac_cv_with_libfdatetime=auto-detect 44698fi 44699{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libfdatetime" >&5 44700$as_echo "$ac_cv_with_libfdatetime" >&6; } 44701 44702 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libfdatetime" = xno; then : 44703 ac_cv_libfdatetime=no 44704else 44705 ac_cv_libfdatetime=check 44706 if test "x$ac_cv_with_libfdatetime" != x && test "x$ac_cv_with_libfdatetime" != xauto-detect; then : 44707 if test -d "$ac_cv_with_libfdatetime"; then : 44708 CFLAGS="$CFLAGS -I${ac_cv_with_libfdatetime}/include" 44709 LDFLAGS="$LDFLAGS -L${ac_cv_with_libfdatetime}/lib" 44710else 44711 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 44712$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 44713as_fn_error 1 "no such directory: $ac_cv_with_libfdatetime 44714See \`config.log' for more details" "$LINENO" 5; } 44715 44716fi 44717 44718else 44719 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 44720 44721pkg_failed=no 44722{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime" >&5 44723$as_echo_n "checking for libfdatetime... " >&6; } 44724 44725if test -n "$libfdatetime_CFLAGS"; then 44726 pkg_cv_libfdatetime_CFLAGS="$libfdatetime_CFLAGS" 44727 elif test -n "$PKG_CONFIG"; then 44728 if test -n "$PKG_CONFIG" && \ 44729 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfdatetime >= 20180910\""; } >&5 44730 ($PKG_CONFIG --exists --print-errors "libfdatetime >= 20180910") 2>&5 44731 ac_status=$? 44732 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 44733 test $ac_status = 0; }; then 44734 pkg_cv_libfdatetime_CFLAGS=`$PKG_CONFIG --cflags "libfdatetime >= 20180910" 2>/dev/null` 44735 test "x$?" != "x0" && pkg_failed=yes 44736else 44737 pkg_failed=yes 44738fi 44739 else 44740 pkg_failed=untried 44741fi 44742if test -n "$libfdatetime_LIBS"; then 44743 pkg_cv_libfdatetime_LIBS="$libfdatetime_LIBS" 44744 elif test -n "$PKG_CONFIG"; then 44745 if test -n "$PKG_CONFIG" && \ 44746 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfdatetime >= 20180910\""; } >&5 44747 ($PKG_CONFIG --exists --print-errors "libfdatetime >= 20180910") 2>&5 44748 ac_status=$? 44749 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 44750 test $ac_status = 0; }; then 44751 pkg_cv_libfdatetime_LIBS=`$PKG_CONFIG --libs "libfdatetime >= 20180910" 2>/dev/null` 44752 test "x$?" != "x0" && pkg_failed=yes 44753else 44754 pkg_failed=yes 44755fi 44756 else 44757 pkg_failed=untried 44758fi 44759 44760 44761 44762if test $pkg_failed = yes; then 44763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 44764$as_echo "no" >&6; } 44765 44766if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 44767 _pkg_short_errors_supported=yes 44768else 44769 _pkg_short_errors_supported=no 44770fi 44771 if test $_pkg_short_errors_supported = yes; then 44772 libfdatetime_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libfdatetime >= 20180910" 2>&1` 44773 else 44774 libfdatetime_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libfdatetime >= 20180910" 2>&1` 44775 fi 44776 # Put the nasty error message in config.log where it belongs 44777 echo "$libfdatetime_PKG_ERRORS" >&5 44778 44779 ac_cv_libfdatetime=check 44780elif test $pkg_failed = untried; then 44781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 44782$as_echo "no" >&6; } 44783 ac_cv_libfdatetime=check 44784else 44785 libfdatetime_CFLAGS=$pkg_cv_libfdatetime_CFLAGS 44786 libfdatetime_LIBS=$pkg_cv_libfdatetime_LIBS 44787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 44788$as_echo "yes" >&6; } 44789 ac_cv_libfdatetime=yes 44790fi 44791 44792fi 44793 if test "x$ac_cv_libfdatetime" = xyes; then : 44794 ac_cv_libfdatetime_CPPFLAGS="$pkg_cv_libfdatetime_CFLAGS" 44795 ac_cv_libfdatetime_LIBADD="$pkg_cv_libfdatetime_LIBS" 44796fi 44797 44798fi 44799 44800 if test "x$ac_cv_libfdatetime" = xcheck; then : 44801 for ac_header in libfdatetime.h 44802do : 44803 ac_fn_c_check_header_mongrel "$LINENO" "libfdatetime.h" "ac_cv_header_libfdatetime_h" "$ac_includes_default" 44804if test "x$ac_cv_header_libfdatetime_h" = xyes; then : 44805 cat >>confdefs.h <<_ACEOF 44806#define HAVE_LIBFDATETIME_H 1 44807_ACEOF 44808 44809fi 44810 44811done 44812 44813 44814 if test "x$ac_cv_header_libfdatetime_h" = xno; then : 44815 ac_cv_libfdatetime=no 44816else 44817 ac_cv_libfdatetime=yes 44818 44819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_get_version in -lfdatetime" >&5 44820$as_echo_n "checking for libfdatetime_get_version in -lfdatetime... " >&6; } 44821if ${ac_cv_lib_fdatetime_libfdatetime_get_version+:} false; then : 44822 $as_echo_n "(cached) " >&6 44823else 44824 ac_check_lib_save_LIBS=$LIBS 44825LIBS="-lfdatetime $LIBS" 44826cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44827/* end confdefs.h. */ 44828 44829/* Override any GCC internal prototype to avoid an error. 44830 Use char because int might match the return type of a GCC 44831 builtin and then its argument prototype would still apply. */ 44832#ifdef __cplusplus 44833extern "C" 44834#endif 44835char libfdatetime_get_version (); 44836int 44837main () 44838{ 44839return libfdatetime_get_version (); 44840 ; 44841 return 0; 44842} 44843_ACEOF 44844if ac_fn_c_try_link "$LINENO"; then : 44845 ac_cv_lib_fdatetime_libfdatetime_get_version=yes 44846else 44847 ac_cv_lib_fdatetime_libfdatetime_get_version=no 44848fi 44849rm -f core conftest.err conftest.$ac_objext \ 44850 conftest$ac_exeext conftest.$ac_ext 44851LIBS=$ac_check_lib_save_LIBS 44852fi 44853{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_get_version" >&5 44854$as_echo "$ac_cv_lib_fdatetime_libfdatetime_get_version" >&6; } 44855if test "x$ac_cv_lib_fdatetime_libfdatetime_get_version" = xyes; then : 44856 ac_cv_libfdatetime_dummy=yes 44857else 44858 ac_cv_libfdatetime=no 44859fi 44860 44861 44862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_fat_date_time_initialize in -lfdatetime" >&5 44863$as_echo_n "checking for libfdatetime_fat_date_time_initialize in -lfdatetime... " >&6; } 44864if ${ac_cv_lib_fdatetime_libfdatetime_fat_date_time_initialize+:} false; then : 44865 $as_echo_n "(cached) " >&6 44866else 44867 ac_check_lib_save_LIBS=$LIBS 44868LIBS="-lfdatetime $LIBS" 44869cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44870/* end confdefs.h. */ 44871 44872/* Override any GCC internal prototype to avoid an error. 44873 Use char because int might match the return type of a GCC 44874 builtin and then its argument prototype would still apply. */ 44875#ifdef __cplusplus 44876extern "C" 44877#endif 44878char libfdatetime_fat_date_time_initialize (); 44879int 44880main () 44881{ 44882return libfdatetime_fat_date_time_initialize (); 44883 ; 44884 return 0; 44885} 44886_ACEOF 44887if ac_fn_c_try_link "$LINENO"; then : 44888 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_initialize=yes 44889else 44890 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_initialize=no 44891fi 44892rm -f core conftest.err conftest.$ac_objext \ 44893 conftest$ac_exeext conftest.$ac_ext 44894LIBS=$ac_check_lib_save_LIBS 44895fi 44896{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_fat_date_time_initialize" >&5 44897$as_echo "$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_initialize" >&6; } 44898if test "x$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_initialize" = xyes; then : 44899 ac_cv_libfdatetime_dummy=yes 44900else 44901 ac_cv_libfdatetime=no 44902fi 44903 44904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_fat_date_time_free in -lfdatetime" >&5 44905$as_echo_n "checking for libfdatetime_fat_date_time_free in -lfdatetime... " >&6; } 44906if ${ac_cv_lib_fdatetime_libfdatetime_fat_date_time_free+:} false; then : 44907 $as_echo_n "(cached) " >&6 44908else 44909 ac_check_lib_save_LIBS=$LIBS 44910LIBS="-lfdatetime $LIBS" 44911cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44912/* end confdefs.h. */ 44913 44914/* Override any GCC internal prototype to avoid an error. 44915 Use char because int might match the return type of a GCC 44916 builtin and then its argument prototype would still apply. */ 44917#ifdef __cplusplus 44918extern "C" 44919#endif 44920char libfdatetime_fat_date_time_free (); 44921int 44922main () 44923{ 44924return libfdatetime_fat_date_time_free (); 44925 ; 44926 return 0; 44927} 44928_ACEOF 44929if ac_fn_c_try_link "$LINENO"; then : 44930 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_free=yes 44931else 44932 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_free=no 44933fi 44934rm -f core conftest.err conftest.$ac_objext \ 44935 conftest$ac_exeext conftest.$ac_ext 44936LIBS=$ac_check_lib_save_LIBS 44937fi 44938{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_fat_date_time_free" >&5 44939$as_echo "$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_free" >&6; } 44940if test "x$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_free" = xyes; then : 44941 ac_cv_libfdatetime_dummy=yes 44942else 44943 ac_cv_libfdatetime=no 44944fi 44945 44946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_fat_date_time_copy_from_byte_stream in -lfdatetime" >&5 44947$as_echo_n "checking for libfdatetime_fat_date_time_copy_from_byte_stream in -lfdatetime... " >&6; } 44948if ${ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_from_byte_stream+:} false; then : 44949 $as_echo_n "(cached) " >&6 44950else 44951 ac_check_lib_save_LIBS=$LIBS 44952LIBS="-lfdatetime $LIBS" 44953cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44954/* end confdefs.h. */ 44955 44956/* Override any GCC internal prototype to avoid an error. 44957 Use char because int might match the return type of a GCC 44958 builtin and then its argument prototype would still apply. */ 44959#ifdef __cplusplus 44960extern "C" 44961#endif 44962char libfdatetime_fat_date_time_copy_from_byte_stream (); 44963int 44964main () 44965{ 44966return libfdatetime_fat_date_time_copy_from_byte_stream (); 44967 ; 44968 return 0; 44969} 44970_ACEOF 44971if ac_fn_c_try_link "$LINENO"; then : 44972 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_from_byte_stream=yes 44973else 44974 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_from_byte_stream=no 44975fi 44976rm -f core conftest.err conftest.$ac_objext \ 44977 conftest$ac_exeext conftest.$ac_ext 44978LIBS=$ac_check_lib_save_LIBS 44979fi 44980{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_from_byte_stream" >&5 44981$as_echo "$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_from_byte_stream" >&6; } 44982if test "x$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_from_byte_stream" = xyes; then : 44983 ac_cv_libfdatetime_dummy=yes 44984else 44985 ac_cv_libfdatetime=no 44986fi 44987 44988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_fat_date_time_copy_from_32bit in -lfdatetime" >&5 44989$as_echo_n "checking for libfdatetime_fat_date_time_copy_from_32bit in -lfdatetime... " >&6; } 44990if ${ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_from_32bit+:} false; then : 44991 $as_echo_n "(cached) " >&6 44992else 44993 ac_check_lib_save_LIBS=$LIBS 44994LIBS="-lfdatetime $LIBS" 44995cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44996/* end confdefs.h. */ 44997 44998/* Override any GCC internal prototype to avoid an error. 44999 Use char because int might match the return type of a GCC 45000 builtin and then its argument prototype would still apply. */ 45001#ifdef __cplusplus 45002extern "C" 45003#endif 45004char libfdatetime_fat_date_time_copy_from_32bit (); 45005int 45006main () 45007{ 45008return libfdatetime_fat_date_time_copy_from_32bit (); 45009 ; 45010 return 0; 45011} 45012_ACEOF 45013if ac_fn_c_try_link "$LINENO"; then : 45014 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_from_32bit=yes 45015else 45016 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_from_32bit=no 45017fi 45018rm -f core conftest.err conftest.$ac_objext \ 45019 conftest$ac_exeext conftest.$ac_ext 45020LIBS=$ac_check_lib_save_LIBS 45021fi 45022{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_from_32bit" >&5 45023$as_echo "$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_from_32bit" >&6; } 45024if test "x$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_from_32bit" = xyes; then : 45025 ac_cv_libfdatetime_dummy=yes 45026else 45027 ac_cv_libfdatetime=no 45028fi 45029 45030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_fat_date_time_copy_to_32bit in -lfdatetime" >&5 45031$as_echo_n "checking for libfdatetime_fat_date_time_copy_to_32bit in -lfdatetime... " >&6; } 45032if ${ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_32bit+:} false; then : 45033 $as_echo_n "(cached) " >&6 45034else 45035 ac_check_lib_save_LIBS=$LIBS 45036LIBS="-lfdatetime $LIBS" 45037cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45038/* end confdefs.h. */ 45039 45040/* Override any GCC internal prototype to avoid an error. 45041 Use char because int might match the return type of a GCC 45042 builtin and then its argument prototype would still apply. */ 45043#ifdef __cplusplus 45044extern "C" 45045#endif 45046char libfdatetime_fat_date_time_copy_to_32bit (); 45047int 45048main () 45049{ 45050return libfdatetime_fat_date_time_copy_to_32bit (); 45051 ; 45052 return 0; 45053} 45054_ACEOF 45055if ac_fn_c_try_link "$LINENO"; then : 45056 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_32bit=yes 45057else 45058 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_32bit=no 45059fi 45060rm -f core conftest.err conftest.$ac_objext \ 45061 conftest$ac_exeext conftest.$ac_ext 45062LIBS=$ac_check_lib_save_LIBS 45063fi 45064{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_32bit" >&5 45065$as_echo "$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_32bit" >&6; } 45066if test "x$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_32bit" = xyes; then : 45067 ac_cv_libfdatetime_dummy=yes 45068else 45069 ac_cv_libfdatetime=no 45070fi 45071 45072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_fat_date_time_copy_to_utf8_string in -lfdatetime" >&5 45073$as_echo_n "checking for libfdatetime_fat_date_time_copy_to_utf8_string in -lfdatetime... " >&6; } 45074if ${ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf8_string+:} false; then : 45075 $as_echo_n "(cached) " >&6 45076else 45077 ac_check_lib_save_LIBS=$LIBS 45078LIBS="-lfdatetime $LIBS" 45079cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45080/* end confdefs.h. */ 45081 45082/* Override any GCC internal prototype to avoid an error. 45083 Use char because int might match the return type of a GCC 45084 builtin and then its argument prototype would still apply. */ 45085#ifdef __cplusplus 45086extern "C" 45087#endif 45088char libfdatetime_fat_date_time_copy_to_utf8_string (); 45089int 45090main () 45091{ 45092return libfdatetime_fat_date_time_copy_to_utf8_string (); 45093 ; 45094 return 0; 45095} 45096_ACEOF 45097if ac_fn_c_try_link "$LINENO"; then : 45098 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf8_string=yes 45099else 45100 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf8_string=no 45101fi 45102rm -f core conftest.err conftest.$ac_objext \ 45103 conftest$ac_exeext conftest.$ac_ext 45104LIBS=$ac_check_lib_save_LIBS 45105fi 45106{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf8_string" >&5 45107$as_echo "$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf8_string" >&6; } 45108if test "x$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf8_string" = xyes; then : 45109 ac_cv_libfdatetime_dummy=yes 45110else 45111 ac_cv_libfdatetime=no 45112fi 45113 45114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_fat_date_time_copy_to_utf8_string_with_index in -lfdatetime" >&5 45115$as_echo_n "checking for libfdatetime_fat_date_time_copy_to_utf8_string_with_index in -lfdatetime... " >&6; } 45116if ${ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf8_string_with_index+:} false; then : 45117 $as_echo_n "(cached) " >&6 45118else 45119 ac_check_lib_save_LIBS=$LIBS 45120LIBS="-lfdatetime $LIBS" 45121cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45122/* end confdefs.h. */ 45123 45124/* Override any GCC internal prototype to avoid an error. 45125 Use char because int might match the return type of a GCC 45126 builtin and then its argument prototype would still apply. */ 45127#ifdef __cplusplus 45128extern "C" 45129#endif 45130char libfdatetime_fat_date_time_copy_to_utf8_string_with_index (); 45131int 45132main () 45133{ 45134return libfdatetime_fat_date_time_copy_to_utf8_string_with_index (); 45135 ; 45136 return 0; 45137} 45138_ACEOF 45139if ac_fn_c_try_link "$LINENO"; then : 45140 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf8_string_with_index=yes 45141else 45142 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf8_string_with_index=no 45143fi 45144rm -f core conftest.err conftest.$ac_objext \ 45145 conftest$ac_exeext conftest.$ac_ext 45146LIBS=$ac_check_lib_save_LIBS 45147fi 45148{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf8_string_with_index" >&5 45149$as_echo "$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf8_string_with_index" >&6; } 45150if test "x$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf8_string_with_index" = xyes; then : 45151 ac_cv_libfdatetime_dummy=yes 45152else 45153 ac_cv_libfdatetime=no 45154fi 45155 45156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_fat_date_time_copy_to_utf16_string in -lfdatetime" >&5 45157$as_echo_n "checking for libfdatetime_fat_date_time_copy_to_utf16_string in -lfdatetime... " >&6; } 45158if ${ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf16_string+:} false; then : 45159 $as_echo_n "(cached) " >&6 45160else 45161 ac_check_lib_save_LIBS=$LIBS 45162LIBS="-lfdatetime $LIBS" 45163cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45164/* end confdefs.h. */ 45165 45166/* Override any GCC internal prototype to avoid an error. 45167 Use char because int might match the return type of a GCC 45168 builtin and then its argument prototype would still apply. */ 45169#ifdef __cplusplus 45170extern "C" 45171#endif 45172char libfdatetime_fat_date_time_copy_to_utf16_string (); 45173int 45174main () 45175{ 45176return libfdatetime_fat_date_time_copy_to_utf16_string (); 45177 ; 45178 return 0; 45179} 45180_ACEOF 45181if ac_fn_c_try_link "$LINENO"; then : 45182 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf16_string=yes 45183else 45184 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf16_string=no 45185fi 45186rm -f core conftest.err conftest.$ac_objext \ 45187 conftest$ac_exeext conftest.$ac_ext 45188LIBS=$ac_check_lib_save_LIBS 45189fi 45190{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf16_string" >&5 45191$as_echo "$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf16_string" >&6; } 45192if test "x$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf16_string" = xyes; then : 45193 ac_cv_libfdatetime_dummy=yes 45194else 45195 ac_cv_libfdatetime=no 45196fi 45197 45198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_fat_date_time_copy_to_utf16_string_with_index in -lfdatetime" >&5 45199$as_echo_n "checking for libfdatetime_fat_date_time_copy_to_utf16_string_with_index in -lfdatetime... " >&6; } 45200if ${ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf16_string_with_index+:} false; then : 45201 $as_echo_n "(cached) " >&6 45202else 45203 ac_check_lib_save_LIBS=$LIBS 45204LIBS="-lfdatetime $LIBS" 45205cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45206/* end confdefs.h. */ 45207 45208/* Override any GCC internal prototype to avoid an error. 45209 Use char because int might match the return type of a GCC 45210 builtin and then its argument prototype would still apply. */ 45211#ifdef __cplusplus 45212extern "C" 45213#endif 45214char libfdatetime_fat_date_time_copy_to_utf16_string_with_index (); 45215int 45216main () 45217{ 45218return libfdatetime_fat_date_time_copy_to_utf16_string_with_index (); 45219 ; 45220 return 0; 45221} 45222_ACEOF 45223if ac_fn_c_try_link "$LINENO"; then : 45224 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf16_string_with_index=yes 45225else 45226 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf16_string_with_index=no 45227fi 45228rm -f core conftest.err conftest.$ac_objext \ 45229 conftest$ac_exeext conftest.$ac_ext 45230LIBS=$ac_check_lib_save_LIBS 45231fi 45232{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf16_string_with_index" >&5 45233$as_echo "$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf16_string_with_index" >&6; } 45234if test "x$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf16_string_with_index" = xyes; then : 45235 ac_cv_libfdatetime_dummy=yes 45236else 45237 ac_cv_libfdatetime=no 45238fi 45239 45240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_fat_date_time_copy_to_utf32_string in -lfdatetime" >&5 45241$as_echo_n "checking for libfdatetime_fat_date_time_copy_to_utf32_string in -lfdatetime... " >&6; } 45242if ${ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf32_string+:} false; then : 45243 $as_echo_n "(cached) " >&6 45244else 45245 ac_check_lib_save_LIBS=$LIBS 45246LIBS="-lfdatetime $LIBS" 45247cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45248/* end confdefs.h. */ 45249 45250/* Override any GCC internal prototype to avoid an error. 45251 Use char because int might match the return type of a GCC 45252 builtin and then its argument prototype would still apply. */ 45253#ifdef __cplusplus 45254extern "C" 45255#endif 45256char libfdatetime_fat_date_time_copy_to_utf32_string (); 45257int 45258main () 45259{ 45260return libfdatetime_fat_date_time_copy_to_utf32_string (); 45261 ; 45262 return 0; 45263} 45264_ACEOF 45265if ac_fn_c_try_link "$LINENO"; then : 45266 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf32_string=yes 45267else 45268 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf32_string=no 45269fi 45270rm -f core conftest.err conftest.$ac_objext \ 45271 conftest$ac_exeext conftest.$ac_ext 45272LIBS=$ac_check_lib_save_LIBS 45273fi 45274{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf32_string" >&5 45275$as_echo "$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf32_string" >&6; } 45276if test "x$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf32_string" = xyes; then : 45277 ac_cv_libfdatetime_dummy=yes 45278else 45279 ac_cv_libfdatetime=no 45280fi 45281 45282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_fat_date_time_copy_to_utf32_string_with_index in -lfdatetime" >&5 45283$as_echo_n "checking for libfdatetime_fat_date_time_copy_to_utf32_string_with_index in -lfdatetime... " >&6; } 45284if ${ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf32_string_with_index+:} false; then : 45285 $as_echo_n "(cached) " >&6 45286else 45287 ac_check_lib_save_LIBS=$LIBS 45288LIBS="-lfdatetime $LIBS" 45289cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45290/* end confdefs.h. */ 45291 45292/* Override any GCC internal prototype to avoid an error. 45293 Use char because int might match the return type of a GCC 45294 builtin and then its argument prototype would still apply. */ 45295#ifdef __cplusplus 45296extern "C" 45297#endif 45298char libfdatetime_fat_date_time_copy_to_utf32_string_with_index (); 45299int 45300main () 45301{ 45302return libfdatetime_fat_date_time_copy_to_utf32_string_with_index (); 45303 ; 45304 return 0; 45305} 45306_ACEOF 45307if ac_fn_c_try_link "$LINENO"; then : 45308 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf32_string_with_index=yes 45309else 45310 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf32_string_with_index=no 45311fi 45312rm -f core conftest.err conftest.$ac_objext \ 45313 conftest$ac_exeext conftest.$ac_ext 45314LIBS=$ac_check_lib_save_LIBS 45315fi 45316{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf32_string_with_index" >&5 45317$as_echo "$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf32_string_with_index" >&6; } 45318if test "x$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf32_string_with_index" = xyes; then : 45319 ac_cv_libfdatetime_dummy=yes 45320else 45321 ac_cv_libfdatetime=no 45322fi 45323 45324 45325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_filetime_initialize in -lfdatetime" >&5 45326$as_echo_n "checking for libfdatetime_filetime_initialize in -lfdatetime... " >&6; } 45327if ${ac_cv_lib_fdatetime_libfdatetime_filetime_initialize+:} false; then : 45328 $as_echo_n "(cached) " >&6 45329else 45330 ac_check_lib_save_LIBS=$LIBS 45331LIBS="-lfdatetime $LIBS" 45332cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45333/* end confdefs.h. */ 45334 45335/* Override any GCC internal prototype to avoid an error. 45336 Use char because int might match the return type of a GCC 45337 builtin and then its argument prototype would still apply. */ 45338#ifdef __cplusplus 45339extern "C" 45340#endif 45341char libfdatetime_filetime_initialize (); 45342int 45343main () 45344{ 45345return libfdatetime_filetime_initialize (); 45346 ; 45347 return 0; 45348} 45349_ACEOF 45350if ac_fn_c_try_link "$LINENO"; then : 45351 ac_cv_lib_fdatetime_libfdatetime_filetime_initialize=yes 45352else 45353 ac_cv_lib_fdatetime_libfdatetime_filetime_initialize=no 45354fi 45355rm -f core conftest.err conftest.$ac_objext \ 45356 conftest$ac_exeext conftest.$ac_ext 45357LIBS=$ac_check_lib_save_LIBS 45358fi 45359{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_filetime_initialize" >&5 45360$as_echo "$ac_cv_lib_fdatetime_libfdatetime_filetime_initialize" >&6; } 45361if test "x$ac_cv_lib_fdatetime_libfdatetime_filetime_initialize" = xyes; then : 45362 ac_cv_libfdatetime_dummy=yes 45363else 45364 ac_cv_libfdatetime=no 45365fi 45366 45367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_filetime_free in -lfdatetime" >&5 45368$as_echo_n "checking for libfdatetime_filetime_free in -lfdatetime... " >&6; } 45369if ${ac_cv_lib_fdatetime_libfdatetime_filetime_free+:} false; then : 45370 $as_echo_n "(cached) " >&6 45371else 45372 ac_check_lib_save_LIBS=$LIBS 45373LIBS="-lfdatetime $LIBS" 45374cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45375/* end confdefs.h. */ 45376 45377/* Override any GCC internal prototype to avoid an error. 45378 Use char because int might match the return type of a GCC 45379 builtin and then its argument prototype would still apply. */ 45380#ifdef __cplusplus 45381extern "C" 45382#endif 45383char libfdatetime_filetime_free (); 45384int 45385main () 45386{ 45387return libfdatetime_filetime_free (); 45388 ; 45389 return 0; 45390} 45391_ACEOF 45392if ac_fn_c_try_link "$LINENO"; then : 45393 ac_cv_lib_fdatetime_libfdatetime_filetime_free=yes 45394else 45395 ac_cv_lib_fdatetime_libfdatetime_filetime_free=no 45396fi 45397rm -f core conftest.err conftest.$ac_objext \ 45398 conftest$ac_exeext conftest.$ac_ext 45399LIBS=$ac_check_lib_save_LIBS 45400fi 45401{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_filetime_free" >&5 45402$as_echo "$ac_cv_lib_fdatetime_libfdatetime_filetime_free" >&6; } 45403if test "x$ac_cv_lib_fdatetime_libfdatetime_filetime_free" = xyes; then : 45404 ac_cv_libfdatetime_dummy=yes 45405else 45406 ac_cv_libfdatetime=no 45407fi 45408 45409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_filetime_copy_from_byte_stream in -lfdatetime" >&5 45410$as_echo_n "checking for libfdatetime_filetime_copy_from_byte_stream in -lfdatetime... " >&6; } 45411if ${ac_cv_lib_fdatetime_libfdatetime_filetime_copy_from_byte_stream+:} false; then : 45412 $as_echo_n "(cached) " >&6 45413else 45414 ac_check_lib_save_LIBS=$LIBS 45415LIBS="-lfdatetime $LIBS" 45416cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45417/* end confdefs.h. */ 45418 45419/* Override any GCC internal prototype to avoid an error. 45420 Use char because int might match the return type of a GCC 45421 builtin and then its argument prototype would still apply. */ 45422#ifdef __cplusplus 45423extern "C" 45424#endif 45425char libfdatetime_filetime_copy_from_byte_stream (); 45426int 45427main () 45428{ 45429return libfdatetime_filetime_copy_from_byte_stream (); 45430 ; 45431 return 0; 45432} 45433_ACEOF 45434if ac_fn_c_try_link "$LINENO"; then : 45435 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_from_byte_stream=yes 45436else 45437 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_from_byte_stream=no 45438fi 45439rm -f core conftest.err conftest.$ac_objext \ 45440 conftest$ac_exeext conftest.$ac_ext 45441LIBS=$ac_check_lib_save_LIBS 45442fi 45443{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_filetime_copy_from_byte_stream" >&5 45444$as_echo "$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_from_byte_stream" >&6; } 45445if test "x$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_from_byte_stream" = xyes; then : 45446 ac_cv_libfdatetime_dummy=yes 45447else 45448 ac_cv_libfdatetime=no 45449fi 45450 45451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_filetime_copy_from_64bit in -lfdatetime" >&5 45452$as_echo_n "checking for libfdatetime_filetime_copy_from_64bit in -lfdatetime... " >&6; } 45453if ${ac_cv_lib_fdatetime_libfdatetime_filetime_copy_from_64bit+:} false; then : 45454 $as_echo_n "(cached) " >&6 45455else 45456 ac_check_lib_save_LIBS=$LIBS 45457LIBS="-lfdatetime $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 libfdatetime_filetime_copy_from_64bit (); 45468int 45469main () 45470{ 45471return libfdatetime_filetime_copy_from_64bit (); 45472 ; 45473 return 0; 45474} 45475_ACEOF 45476if ac_fn_c_try_link "$LINENO"; then : 45477 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_from_64bit=yes 45478else 45479 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_from_64bit=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_fdatetime_libfdatetime_filetime_copy_from_64bit" >&5 45486$as_echo "$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_from_64bit" >&6; } 45487if test "x$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_from_64bit" = xyes; then : 45488 ac_cv_libfdatetime_dummy=yes 45489else 45490 ac_cv_libfdatetime=no 45491fi 45492 45493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_filetime_copy_to_64bit in -lfdatetime" >&5 45494$as_echo_n "checking for libfdatetime_filetime_copy_to_64bit in -lfdatetime... " >&6; } 45495if ${ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_64bit+:} false; then : 45496 $as_echo_n "(cached) " >&6 45497else 45498 ac_check_lib_save_LIBS=$LIBS 45499LIBS="-lfdatetime $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 libfdatetime_filetime_copy_to_64bit (); 45510int 45511main () 45512{ 45513return libfdatetime_filetime_copy_to_64bit (); 45514 ; 45515 return 0; 45516} 45517_ACEOF 45518if ac_fn_c_try_link "$LINENO"; then : 45519 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_64bit=yes 45520else 45521 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_64bit=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_fdatetime_libfdatetime_filetime_copy_to_64bit" >&5 45528$as_echo "$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_64bit" >&6; } 45529if test "x$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_64bit" = xyes; then : 45530 ac_cv_libfdatetime_dummy=yes 45531else 45532 ac_cv_libfdatetime=no 45533fi 45534 45535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_filetime_copy_to_utf8_string in -lfdatetime" >&5 45536$as_echo_n "checking for libfdatetime_filetime_copy_to_utf8_string in -lfdatetime... " >&6; } 45537if ${ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf8_string+:} false; then : 45538 $as_echo_n "(cached) " >&6 45539else 45540 ac_check_lib_save_LIBS=$LIBS 45541LIBS="-lfdatetime $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 libfdatetime_filetime_copy_to_utf8_string (); 45552int 45553main () 45554{ 45555return libfdatetime_filetime_copy_to_utf8_string (); 45556 ; 45557 return 0; 45558} 45559_ACEOF 45560if ac_fn_c_try_link "$LINENO"; then : 45561 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf8_string=yes 45562else 45563 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf8_string=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_fdatetime_libfdatetime_filetime_copy_to_utf8_string" >&5 45570$as_echo "$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf8_string" >&6; } 45571if test "x$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf8_string" = xyes; then : 45572 ac_cv_libfdatetime_dummy=yes 45573else 45574 ac_cv_libfdatetime=no 45575fi 45576 45577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_filetime_copy_to_utf8_string_with_index in -lfdatetime" >&5 45578$as_echo_n "checking for libfdatetime_filetime_copy_to_utf8_string_with_index in -lfdatetime... " >&6; } 45579if ${ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf8_string_with_index+:} false; then : 45580 $as_echo_n "(cached) " >&6 45581else 45582 ac_check_lib_save_LIBS=$LIBS 45583LIBS="-lfdatetime $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 libfdatetime_filetime_copy_to_utf8_string_with_index (); 45594int 45595main () 45596{ 45597return libfdatetime_filetime_copy_to_utf8_string_with_index (); 45598 ; 45599 return 0; 45600} 45601_ACEOF 45602if ac_fn_c_try_link "$LINENO"; then : 45603 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf8_string_with_index=yes 45604else 45605 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf8_string_with_index=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_fdatetime_libfdatetime_filetime_copy_to_utf8_string_with_index" >&5 45612$as_echo "$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf8_string_with_index" >&6; } 45613if test "x$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf8_string_with_index" = xyes; then : 45614 ac_cv_libfdatetime_dummy=yes 45615else 45616 ac_cv_libfdatetime=no 45617fi 45618 45619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_filetime_copy_to_utf16_string in -lfdatetime" >&5 45620$as_echo_n "checking for libfdatetime_filetime_copy_to_utf16_string in -lfdatetime... " >&6; } 45621if ${ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf16_string+:} false; then : 45622 $as_echo_n "(cached) " >&6 45623else 45624 ac_check_lib_save_LIBS=$LIBS 45625LIBS="-lfdatetime $LIBS" 45626cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45627/* end confdefs.h. */ 45628 45629/* Override any GCC internal prototype to avoid an error. 45630 Use char because int might match the return type of a GCC 45631 builtin and then its argument prototype would still apply. */ 45632#ifdef __cplusplus 45633extern "C" 45634#endif 45635char libfdatetime_filetime_copy_to_utf16_string (); 45636int 45637main () 45638{ 45639return libfdatetime_filetime_copy_to_utf16_string (); 45640 ; 45641 return 0; 45642} 45643_ACEOF 45644if ac_fn_c_try_link "$LINENO"; then : 45645 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf16_string=yes 45646else 45647 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf16_string=no 45648fi 45649rm -f core conftest.err conftest.$ac_objext \ 45650 conftest$ac_exeext conftest.$ac_ext 45651LIBS=$ac_check_lib_save_LIBS 45652fi 45653{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf16_string" >&5 45654$as_echo "$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf16_string" >&6; } 45655if test "x$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf16_string" = xyes; then : 45656 ac_cv_libfdatetime_dummy=yes 45657else 45658 ac_cv_libfdatetime=no 45659fi 45660 45661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_filetime_copy_to_utf16_string_with_index in -lfdatetime" >&5 45662$as_echo_n "checking for libfdatetime_filetime_copy_to_utf16_string_with_index in -lfdatetime... " >&6; } 45663if ${ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf16_string_with_index+:} false; then : 45664 $as_echo_n "(cached) " >&6 45665else 45666 ac_check_lib_save_LIBS=$LIBS 45667LIBS="-lfdatetime $LIBS" 45668cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45669/* end confdefs.h. */ 45670 45671/* Override any GCC internal prototype to avoid an error. 45672 Use char because int might match the return type of a GCC 45673 builtin and then its argument prototype would still apply. */ 45674#ifdef __cplusplus 45675extern "C" 45676#endif 45677char libfdatetime_filetime_copy_to_utf16_string_with_index (); 45678int 45679main () 45680{ 45681return libfdatetime_filetime_copy_to_utf16_string_with_index (); 45682 ; 45683 return 0; 45684} 45685_ACEOF 45686if ac_fn_c_try_link "$LINENO"; then : 45687 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf16_string_with_index=yes 45688else 45689 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf16_string_with_index=no 45690fi 45691rm -f core conftest.err conftest.$ac_objext \ 45692 conftest$ac_exeext conftest.$ac_ext 45693LIBS=$ac_check_lib_save_LIBS 45694fi 45695{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf16_string_with_index" >&5 45696$as_echo "$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf16_string_with_index" >&6; } 45697if test "x$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf16_string_with_index" = xyes; then : 45698 ac_cv_libfdatetime_dummy=yes 45699else 45700 ac_cv_libfdatetime=no 45701fi 45702 45703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_filetime_copy_to_utf32_string in -lfdatetime" >&5 45704$as_echo_n "checking for libfdatetime_filetime_copy_to_utf32_string in -lfdatetime... " >&6; } 45705if ${ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf32_string+:} false; then : 45706 $as_echo_n "(cached) " >&6 45707else 45708 ac_check_lib_save_LIBS=$LIBS 45709LIBS="-lfdatetime $LIBS" 45710cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45711/* end confdefs.h. */ 45712 45713/* Override any GCC internal prototype to avoid an error. 45714 Use char because int might match the return type of a GCC 45715 builtin and then its argument prototype would still apply. */ 45716#ifdef __cplusplus 45717extern "C" 45718#endif 45719char libfdatetime_filetime_copy_to_utf32_string (); 45720int 45721main () 45722{ 45723return libfdatetime_filetime_copy_to_utf32_string (); 45724 ; 45725 return 0; 45726} 45727_ACEOF 45728if ac_fn_c_try_link "$LINENO"; then : 45729 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf32_string=yes 45730else 45731 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf32_string=no 45732fi 45733rm -f core conftest.err conftest.$ac_objext \ 45734 conftest$ac_exeext conftest.$ac_ext 45735LIBS=$ac_check_lib_save_LIBS 45736fi 45737{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf32_string" >&5 45738$as_echo "$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf32_string" >&6; } 45739if test "x$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf32_string" = xyes; then : 45740 ac_cv_libfdatetime_dummy=yes 45741else 45742 ac_cv_libfdatetime=no 45743fi 45744 45745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_filetime_copy_to_utf32_string_with_index in -lfdatetime" >&5 45746$as_echo_n "checking for libfdatetime_filetime_copy_to_utf32_string_with_index in -lfdatetime... " >&6; } 45747if ${ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf32_string_with_index+:} false; then : 45748 $as_echo_n "(cached) " >&6 45749else 45750 ac_check_lib_save_LIBS=$LIBS 45751LIBS="-lfdatetime $LIBS" 45752cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45753/* end confdefs.h. */ 45754 45755/* Override any GCC internal prototype to avoid an error. 45756 Use char because int might match the return type of a GCC 45757 builtin and then its argument prototype would still apply. */ 45758#ifdef __cplusplus 45759extern "C" 45760#endif 45761char libfdatetime_filetime_copy_to_utf32_string_with_index (); 45762int 45763main () 45764{ 45765return libfdatetime_filetime_copy_to_utf32_string_with_index (); 45766 ; 45767 return 0; 45768} 45769_ACEOF 45770if ac_fn_c_try_link "$LINENO"; then : 45771 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf32_string_with_index=yes 45772else 45773 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf32_string_with_index=no 45774fi 45775rm -f core conftest.err conftest.$ac_objext \ 45776 conftest$ac_exeext conftest.$ac_ext 45777LIBS=$ac_check_lib_save_LIBS 45778fi 45779{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf32_string_with_index" >&5 45780$as_echo "$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf32_string_with_index" >&6; } 45781if test "x$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf32_string_with_index" = xyes; then : 45782 ac_cv_libfdatetime_dummy=yes 45783else 45784 ac_cv_libfdatetime=no 45785fi 45786 45787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_filetime_add in -lfdatetime" >&5 45788$as_echo_n "checking for libfdatetime_filetime_add in -lfdatetime... " >&6; } 45789if ${ac_cv_lib_fdatetime_libfdatetime_filetime_add+:} false; then : 45790 $as_echo_n "(cached) " >&6 45791else 45792 ac_check_lib_save_LIBS=$LIBS 45793LIBS="-lfdatetime $LIBS" 45794cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45795/* end confdefs.h. */ 45796 45797/* Override any GCC internal prototype to avoid an error. 45798 Use char because int might match the return type of a GCC 45799 builtin and then its argument prototype would still apply. */ 45800#ifdef __cplusplus 45801extern "C" 45802#endif 45803char libfdatetime_filetime_add (); 45804int 45805main () 45806{ 45807return libfdatetime_filetime_add (); 45808 ; 45809 return 0; 45810} 45811_ACEOF 45812if ac_fn_c_try_link "$LINENO"; then : 45813 ac_cv_lib_fdatetime_libfdatetime_filetime_add=yes 45814else 45815 ac_cv_lib_fdatetime_libfdatetime_filetime_add=no 45816fi 45817rm -f core conftest.err conftest.$ac_objext \ 45818 conftest$ac_exeext conftest.$ac_ext 45819LIBS=$ac_check_lib_save_LIBS 45820fi 45821{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_filetime_add" >&5 45822$as_echo "$ac_cv_lib_fdatetime_libfdatetime_filetime_add" >&6; } 45823if test "x$ac_cv_lib_fdatetime_libfdatetime_filetime_add" = xyes; then : 45824 ac_cv_libfdatetime_dummy=yes 45825else 45826 ac_cv_libfdatetime=no 45827fi 45828 45829 45830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_floatingtime_initialize in -lfdatetime" >&5 45831$as_echo_n "checking for libfdatetime_floatingtime_initialize in -lfdatetime... " >&6; } 45832if ${ac_cv_lib_fdatetime_libfdatetime_floatingtime_initialize+:} false; then : 45833 $as_echo_n "(cached) " >&6 45834else 45835 ac_check_lib_save_LIBS=$LIBS 45836LIBS="-lfdatetime $LIBS" 45837cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45838/* end confdefs.h. */ 45839 45840/* Override any GCC internal prototype to avoid an error. 45841 Use char because int might match the return type of a GCC 45842 builtin and then its argument prototype would still apply. */ 45843#ifdef __cplusplus 45844extern "C" 45845#endif 45846char libfdatetime_floatingtime_initialize (); 45847int 45848main () 45849{ 45850return libfdatetime_floatingtime_initialize (); 45851 ; 45852 return 0; 45853} 45854_ACEOF 45855if ac_fn_c_try_link "$LINENO"; then : 45856 ac_cv_lib_fdatetime_libfdatetime_floatingtime_initialize=yes 45857else 45858 ac_cv_lib_fdatetime_libfdatetime_floatingtime_initialize=no 45859fi 45860rm -f core conftest.err conftest.$ac_objext \ 45861 conftest$ac_exeext conftest.$ac_ext 45862LIBS=$ac_check_lib_save_LIBS 45863fi 45864{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_floatingtime_initialize" >&5 45865$as_echo "$ac_cv_lib_fdatetime_libfdatetime_floatingtime_initialize" >&6; } 45866if test "x$ac_cv_lib_fdatetime_libfdatetime_floatingtime_initialize" = xyes; then : 45867 ac_cv_libfdatetime_dummy=yes 45868else 45869 ac_cv_libfdatetime=no 45870fi 45871 45872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_floatingtime_free in -lfdatetime" >&5 45873$as_echo_n "checking for libfdatetime_floatingtime_free in -lfdatetime... " >&6; } 45874if ${ac_cv_lib_fdatetime_libfdatetime_floatingtime_free+:} false; then : 45875 $as_echo_n "(cached) " >&6 45876else 45877 ac_check_lib_save_LIBS=$LIBS 45878LIBS="-lfdatetime $LIBS" 45879cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45880/* end confdefs.h. */ 45881 45882/* Override any GCC internal prototype to avoid an error. 45883 Use char because int might match the return type of a GCC 45884 builtin and then its argument prototype would still apply. */ 45885#ifdef __cplusplus 45886extern "C" 45887#endif 45888char libfdatetime_floatingtime_free (); 45889int 45890main () 45891{ 45892return libfdatetime_floatingtime_free (); 45893 ; 45894 return 0; 45895} 45896_ACEOF 45897if ac_fn_c_try_link "$LINENO"; then : 45898 ac_cv_lib_fdatetime_libfdatetime_floatingtime_free=yes 45899else 45900 ac_cv_lib_fdatetime_libfdatetime_floatingtime_free=no 45901fi 45902rm -f core conftest.err conftest.$ac_objext \ 45903 conftest$ac_exeext conftest.$ac_ext 45904LIBS=$ac_check_lib_save_LIBS 45905fi 45906{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_floatingtime_free" >&5 45907$as_echo "$ac_cv_lib_fdatetime_libfdatetime_floatingtime_free" >&6; } 45908if test "x$ac_cv_lib_fdatetime_libfdatetime_floatingtime_free" = xyes; then : 45909 ac_cv_libfdatetime_dummy=yes 45910else 45911 ac_cv_libfdatetime=no 45912fi 45913 45914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_floatingtime_copy_from_byte_stream in -lfdatetime" >&5 45915$as_echo_n "checking for libfdatetime_floatingtime_copy_from_byte_stream in -lfdatetime... " >&6; } 45916if ${ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_from_byte_stream+:} false; then : 45917 $as_echo_n "(cached) " >&6 45918else 45919 ac_check_lib_save_LIBS=$LIBS 45920LIBS="-lfdatetime $LIBS" 45921cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45922/* end confdefs.h. */ 45923 45924/* Override any GCC internal prototype to avoid an error. 45925 Use char because int might match the return type of a GCC 45926 builtin and then its argument prototype would still apply. */ 45927#ifdef __cplusplus 45928extern "C" 45929#endif 45930char libfdatetime_floatingtime_copy_from_byte_stream (); 45931int 45932main () 45933{ 45934return libfdatetime_floatingtime_copy_from_byte_stream (); 45935 ; 45936 return 0; 45937} 45938_ACEOF 45939if ac_fn_c_try_link "$LINENO"; then : 45940 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_from_byte_stream=yes 45941else 45942 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_from_byte_stream=no 45943fi 45944rm -f core conftest.err conftest.$ac_objext \ 45945 conftest$ac_exeext conftest.$ac_ext 45946LIBS=$ac_check_lib_save_LIBS 45947fi 45948{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_from_byte_stream" >&5 45949$as_echo "$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_from_byte_stream" >&6; } 45950if test "x$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_from_byte_stream" = xyes; then : 45951 ac_cv_libfdatetime_dummy=yes 45952else 45953 ac_cv_libfdatetime=no 45954fi 45955 45956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_floatingtime_copy_from_64bit in -lfdatetime" >&5 45957$as_echo_n "checking for libfdatetime_floatingtime_copy_from_64bit in -lfdatetime... " >&6; } 45958if ${ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_from_64bit+:} false; then : 45959 $as_echo_n "(cached) " >&6 45960else 45961 ac_check_lib_save_LIBS=$LIBS 45962LIBS="-lfdatetime $LIBS" 45963cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45964/* end confdefs.h. */ 45965 45966/* Override any GCC internal prototype to avoid an error. 45967 Use char because int might match the return type of a GCC 45968 builtin and then its argument prototype would still apply. */ 45969#ifdef __cplusplus 45970extern "C" 45971#endif 45972char libfdatetime_floatingtime_copy_from_64bit (); 45973int 45974main () 45975{ 45976return libfdatetime_floatingtime_copy_from_64bit (); 45977 ; 45978 return 0; 45979} 45980_ACEOF 45981if ac_fn_c_try_link "$LINENO"; then : 45982 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_from_64bit=yes 45983else 45984 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_from_64bit=no 45985fi 45986rm -f core conftest.err conftest.$ac_objext \ 45987 conftest$ac_exeext conftest.$ac_ext 45988LIBS=$ac_check_lib_save_LIBS 45989fi 45990{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_from_64bit" >&5 45991$as_echo "$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_from_64bit" >&6; } 45992if test "x$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_from_64bit" = xyes; then : 45993 ac_cv_libfdatetime_dummy=yes 45994else 45995 ac_cv_libfdatetime=no 45996fi 45997 45998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_floatingtime_copy_to_64bit in -lfdatetime" >&5 45999$as_echo_n "checking for libfdatetime_floatingtime_copy_to_64bit in -lfdatetime... " >&6; } 46000if ${ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_64bit+:} false; then : 46001 $as_echo_n "(cached) " >&6 46002else 46003 ac_check_lib_save_LIBS=$LIBS 46004LIBS="-lfdatetime $LIBS" 46005cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46006/* end confdefs.h. */ 46007 46008/* Override any GCC internal prototype to avoid an error. 46009 Use char because int might match the return type of a GCC 46010 builtin and then its argument prototype would still apply. */ 46011#ifdef __cplusplus 46012extern "C" 46013#endif 46014char libfdatetime_floatingtime_copy_to_64bit (); 46015int 46016main () 46017{ 46018return libfdatetime_floatingtime_copy_to_64bit (); 46019 ; 46020 return 0; 46021} 46022_ACEOF 46023if ac_fn_c_try_link "$LINENO"; then : 46024 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_64bit=yes 46025else 46026 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_64bit=no 46027fi 46028rm -f core conftest.err conftest.$ac_objext \ 46029 conftest$ac_exeext conftest.$ac_ext 46030LIBS=$ac_check_lib_save_LIBS 46031fi 46032{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_64bit" >&5 46033$as_echo "$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_64bit" >&6; } 46034if test "x$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_64bit" = xyes; then : 46035 ac_cv_libfdatetime_dummy=yes 46036else 46037 ac_cv_libfdatetime=no 46038fi 46039 46040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_floatingtime_copy_to_utf8_string in -lfdatetime" >&5 46041$as_echo_n "checking for libfdatetime_floatingtime_copy_to_utf8_string in -lfdatetime... " >&6; } 46042if ${ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf8_string+:} false; then : 46043 $as_echo_n "(cached) " >&6 46044else 46045 ac_check_lib_save_LIBS=$LIBS 46046LIBS="-lfdatetime $LIBS" 46047cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46048/* end confdefs.h. */ 46049 46050/* Override any GCC internal prototype to avoid an error. 46051 Use char because int might match the return type of a GCC 46052 builtin and then its argument prototype would still apply. */ 46053#ifdef __cplusplus 46054extern "C" 46055#endif 46056char libfdatetime_floatingtime_copy_to_utf8_string (); 46057int 46058main () 46059{ 46060return libfdatetime_floatingtime_copy_to_utf8_string (); 46061 ; 46062 return 0; 46063} 46064_ACEOF 46065if ac_fn_c_try_link "$LINENO"; then : 46066 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf8_string=yes 46067else 46068 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf8_string=no 46069fi 46070rm -f core conftest.err conftest.$ac_objext \ 46071 conftest$ac_exeext conftest.$ac_ext 46072LIBS=$ac_check_lib_save_LIBS 46073fi 46074{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf8_string" >&5 46075$as_echo "$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf8_string" >&6; } 46076if test "x$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf8_string" = xyes; then : 46077 ac_cv_libfdatetime_dummy=yes 46078else 46079 ac_cv_libfdatetime=no 46080fi 46081 46082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_floatingtime_copy_to_utf8_string_with_index in -lfdatetime" >&5 46083$as_echo_n "checking for libfdatetime_floatingtime_copy_to_utf8_string_with_index in -lfdatetime... " >&6; } 46084if ${ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf8_string_with_index+:} false; then : 46085 $as_echo_n "(cached) " >&6 46086else 46087 ac_check_lib_save_LIBS=$LIBS 46088LIBS="-lfdatetime $LIBS" 46089cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46090/* end confdefs.h. */ 46091 46092/* Override any GCC internal prototype to avoid an error. 46093 Use char because int might match the return type of a GCC 46094 builtin and then its argument prototype would still apply. */ 46095#ifdef __cplusplus 46096extern "C" 46097#endif 46098char libfdatetime_floatingtime_copy_to_utf8_string_with_index (); 46099int 46100main () 46101{ 46102return libfdatetime_floatingtime_copy_to_utf8_string_with_index (); 46103 ; 46104 return 0; 46105} 46106_ACEOF 46107if ac_fn_c_try_link "$LINENO"; then : 46108 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf8_string_with_index=yes 46109else 46110 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf8_string_with_index=no 46111fi 46112rm -f core conftest.err conftest.$ac_objext \ 46113 conftest$ac_exeext conftest.$ac_ext 46114LIBS=$ac_check_lib_save_LIBS 46115fi 46116{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf8_string_with_index" >&5 46117$as_echo "$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf8_string_with_index" >&6; } 46118if test "x$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf8_string_with_index" = xyes; then : 46119 ac_cv_libfdatetime_dummy=yes 46120else 46121 ac_cv_libfdatetime=no 46122fi 46123 46124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_floatingtime_copy_to_utf16_string in -lfdatetime" >&5 46125$as_echo_n "checking for libfdatetime_floatingtime_copy_to_utf16_string in -lfdatetime... " >&6; } 46126if ${ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf16_string+:} false; then : 46127 $as_echo_n "(cached) " >&6 46128else 46129 ac_check_lib_save_LIBS=$LIBS 46130LIBS="-lfdatetime $LIBS" 46131cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46132/* end confdefs.h. */ 46133 46134/* Override any GCC internal prototype to avoid an error. 46135 Use char because int might match the return type of a GCC 46136 builtin and then its argument prototype would still apply. */ 46137#ifdef __cplusplus 46138extern "C" 46139#endif 46140char libfdatetime_floatingtime_copy_to_utf16_string (); 46141int 46142main () 46143{ 46144return libfdatetime_floatingtime_copy_to_utf16_string (); 46145 ; 46146 return 0; 46147} 46148_ACEOF 46149if ac_fn_c_try_link "$LINENO"; then : 46150 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf16_string=yes 46151else 46152 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf16_string=no 46153fi 46154rm -f core conftest.err conftest.$ac_objext \ 46155 conftest$ac_exeext conftest.$ac_ext 46156LIBS=$ac_check_lib_save_LIBS 46157fi 46158{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf16_string" >&5 46159$as_echo "$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf16_string" >&6; } 46160if test "x$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf16_string" = xyes; then : 46161 ac_cv_libfdatetime_dummy=yes 46162else 46163 ac_cv_libfdatetime=no 46164fi 46165 46166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_floatingtime_copy_to_utf16_string_with_index in -lfdatetime" >&5 46167$as_echo_n "checking for libfdatetime_floatingtime_copy_to_utf16_string_with_index in -lfdatetime... " >&6; } 46168if ${ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf16_string_with_index+:} false; then : 46169 $as_echo_n "(cached) " >&6 46170else 46171 ac_check_lib_save_LIBS=$LIBS 46172LIBS="-lfdatetime $LIBS" 46173cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46174/* end confdefs.h. */ 46175 46176/* Override any GCC internal prototype to avoid an error. 46177 Use char because int might match the return type of a GCC 46178 builtin and then its argument prototype would still apply. */ 46179#ifdef __cplusplus 46180extern "C" 46181#endif 46182char libfdatetime_floatingtime_copy_to_utf16_string_with_index (); 46183int 46184main () 46185{ 46186return libfdatetime_floatingtime_copy_to_utf16_string_with_index (); 46187 ; 46188 return 0; 46189} 46190_ACEOF 46191if ac_fn_c_try_link "$LINENO"; then : 46192 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf16_string_with_index=yes 46193else 46194 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf16_string_with_index=no 46195fi 46196rm -f core conftest.err conftest.$ac_objext \ 46197 conftest$ac_exeext conftest.$ac_ext 46198LIBS=$ac_check_lib_save_LIBS 46199fi 46200{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf16_string_with_index" >&5 46201$as_echo "$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf16_string_with_index" >&6; } 46202if test "x$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf16_string_with_index" = xyes; then : 46203 ac_cv_libfdatetime_dummy=yes 46204else 46205 ac_cv_libfdatetime=no 46206fi 46207 46208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_floatingtime_copy_to_utf32_string in -lfdatetime" >&5 46209$as_echo_n "checking for libfdatetime_floatingtime_copy_to_utf32_string in -lfdatetime... " >&6; } 46210if ${ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf32_string+:} false; then : 46211 $as_echo_n "(cached) " >&6 46212else 46213 ac_check_lib_save_LIBS=$LIBS 46214LIBS="-lfdatetime $LIBS" 46215cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46216/* end confdefs.h. */ 46217 46218/* Override any GCC internal prototype to avoid an error. 46219 Use char because int might match the return type of a GCC 46220 builtin and then its argument prototype would still apply. */ 46221#ifdef __cplusplus 46222extern "C" 46223#endif 46224char libfdatetime_floatingtime_copy_to_utf32_string (); 46225int 46226main () 46227{ 46228return libfdatetime_floatingtime_copy_to_utf32_string (); 46229 ; 46230 return 0; 46231} 46232_ACEOF 46233if ac_fn_c_try_link "$LINENO"; then : 46234 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf32_string=yes 46235else 46236 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf32_string=no 46237fi 46238rm -f core conftest.err conftest.$ac_objext \ 46239 conftest$ac_exeext conftest.$ac_ext 46240LIBS=$ac_check_lib_save_LIBS 46241fi 46242{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf32_string" >&5 46243$as_echo "$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf32_string" >&6; } 46244if test "x$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf32_string" = xyes; then : 46245 ac_cv_libfdatetime_dummy=yes 46246else 46247 ac_cv_libfdatetime=no 46248fi 46249 46250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_floatingtime_copy_to_utf32_string_with_index in -lfdatetime" >&5 46251$as_echo_n "checking for libfdatetime_floatingtime_copy_to_utf32_string_with_index in -lfdatetime... " >&6; } 46252if ${ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf32_string_with_index+:} false; then : 46253 $as_echo_n "(cached) " >&6 46254else 46255 ac_check_lib_save_LIBS=$LIBS 46256LIBS="-lfdatetime $LIBS" 46257cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46258/* end confdefs.h. */ 46259 46260/* Override any GCC internal prototype to avoid an error. 46261 Use char because int might match the return type of a GCC 46262 builtin and then its argument prototype would still apply. */ 46263#ifdef __cplusplus 46264extern "C" 46265#endif 46266char libfdatetime_floatingtime_copy_to_utf32_string_with_index (); 46267int 46268main () 46269{ 46270return libfdatetime_floatingtime_copy_to_utf32_string_with_index (); 46271 ; 46272 return 0; 46273} 46274_ACEOF 46275if ac_fn_c_try_link "$LINENO"; then : 46276 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf32_string_with_index=yes 46277else 46278 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf32_string_with_index=no 46279fi 46280rm -f core conftest.err conftest.$ac_objext \ 46281 conftest$ac_exeext conftest.$ac_ext 46282LIBS=$ac_check_lib_save_LIBS 46283fi 46284{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf32_string_with_index" >&5 46285$as_echo "$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf32_string_with_index" >&6; } 46286if test "x$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf32_string_with_index" = xyes; then : 46287 ac_cv_libfdatetime_dummy=yes 46288else 46289 ac_cv_libfdatetime=no 46290fi 46291 46292 46293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_hfs_time_initialize in -lfdatetime" >&5 46294$as_echo_n "checking for libfdatetime_hfs_time_initialize in -lfdatetime... " >&6; } 46295if ${ac_cv_lib_fdatetime_libfdatetime_hfs_time_initialize+:} false; then : 46296 $as_echo_n "(cached) " >&6 46297else 46298 ac_check_lib_save_LIBS=$LIBS 46299LIBS="-lfdatetime $LIBS" 46300cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46301/* end confdefs.h. */ 46302 46303/* Override any GCC internal prototype to avoid an error. 46304 Use char because int might match the return type of a GCC 46305 builtin and then its argument prototype would still apply. */ 46306#ifdef __cplusplus 46307extern "C" 46308#endif 46309char libfdatetime_hfs_time_initialize (); 46310int 46311main () 46312{ 46313return libfdatetime_hfs_time_initialize (); 46314 ; 46315 return 0; 46316} 46317_ACEOF 46318if ac_fn_c_try_link "$LINENO"; then : 46319 ac_cv_lib_fdatetime_libfdatetime_hfs_time_initialize=yes 46320else 46321 ac_cv_lib_fdatetime_libfdatetime_hfs_time_initialize=no 46322fi 46323rm -f core conftest.err conftest.$ac_objext \ 46324 conftest$ac_exeext conftest.$ac_ext 46325LIBS=$ac_check_lib_save_LIBS 46326fi 46327{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_hfs_time_initialize" >&5 46328$as_echo "$ac_cv_lib_fdatetime_libfdatetime_hfs_time_initialize" >&6; } 46329if test "x$ac_cv_lib_fdatetime_libfdatetime_hfs_time_initialize" = xyes; then : 46330 ac_cv_libfdatetime_dummy=yes 46331else 46332 ac_cv_libfdatetime=no 46333fi 46334 46335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_hfs_time_free in -lfdatetime" >&5 46336$as_echo_n "checking for libfdatetime_hfs_time_free in -lfdatetime... " >&6; } 46337if ${ac_cv_lib_fdatetime_libfdatetime_hfs_time_free+:} false; then : 46338 $as_echo_n "(cached) " >&6 46339else 46340 ac_check_lib_save_LIBS=$LIBS 46341LIBS="-lfdatetime $LIBS" 46342cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46343/* end confdefs.h. */ 46344 46345/* Override any GCC internal prototype to avoid an error. 46346 Use char because int might match the return type of a GCC 46347 builtin and then its argument prototype would still apply. */ 46348#ifdef __cplusplus 46349extern "C" 46350#endif 46351char libfdatetime_hfs_time_free (); 46352int 46353main () 46354{ 46355return libfdatetime_hfs_time_free (); 46356 ; 46357 return 0; 46358} 46359_ACEOF 46360if ac_fn_c_try_link "$LINENO"; then : 46361 ac_cv_lib_fdatetime_libfdatetime_hfs_time_free=yes 46362else 46363 ac_cv_lib_fdatetime_libfdatetime_hfs_time_free=no 46364fi 46365rm -f core conftest.err conftest.$ac_objext \ 46366 conftest$ac_exeext conftest.$ac_ext 46367LIBS=$ac_check_lib_save_LIBS 46368fi 46369{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_hfs_time_free" >&5 46370$as_echo "$ac_cv_lib_fdatetime_libfdatetime_hfs_time_free" >&6; } 46371if test "x$ac_cv_lib_fdatetime_libfdatetime_hfs_time_free" = xyes; then : 46372 ac_cv_libfdatetime_dummy=yes 46373else 46374 ac_cv_libfdatetime=no 46375fi 46376 46377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_hfs_time_copy_from_byte_stream in -lfdatetime" >&5 46378$as_echo_n "checking for libfdatetime_hfs_time_copy_from_byte_stream in -lfdatetime... " >&6; } 46379if ${ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_from_byte_stream+:} false; then : 46380 $as_echo_n "(cached) " >&6 46381else 46382 ac_check_lib_save_LIBS=$LIBS 46383LIBS="-lfdatetime $LIBS" 46384cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46385/* end confdefs.h. */ 46386 46387/* Override any GCC internal prototype to avoid an error. 46388 Use char because int might match the return type of a GCC 46389 builtin and then its argument prototype would still apply. */ 46390#ifdef __cplusplus 46391extern "C" 46392#endif 46393char libfdatetime_hfs_time_copy_from_byte_stream (); 46394int 46395main () 46396{ 46397return libfdatetime_hfs_time_copy_from_byte_stream (); 46398 ; 46399 return 0; 46400} 46401_ACEOF 46402if ac_fn_c_try_link "$LINENO"; then : 46403 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_from_byte_stream=yes 46404else 46405 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_from_byte_stream=no 46406fi 46407rm -f core conftest.err conftest.$ac_objext \ 46408 conftest$ac_exeext conftest.$ac_ext 46409LIBS=$ac_check_lib_save_LIBS 46410fi 46411{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_from_byte_stream" >&5 46412$as_echo "$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_from_byte_stream" >&6; } 46413if test "x$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_from_byte_stream" = xyes; then : 46414 ac_cv_libfdatetime_dummy=yes 46415else 46416 ac_cv_libfdatetime=no 46417fi 46418 46419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_hfs_time_copy_from_32bit in -lfdatetime" >&5 46420$as_echo_n "checking for libfdatetime_hfs_time_copy_from_32bit in -lfdatetime... " >&6; } 46421if ${ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_from_32bit+:} false; then : 46422 $as_echo_n "(cached) " >&6 46423else 46424 ac_check_lib_save_LIBS=$LIBS 46425LIBS="-lfdatetime $LIBS" 46426cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46427/* end confdefs.h. */ 46428 46429/* Override any GCC internal prototype to avoid an error. 46430 Use char because int might match the return type of a GCC 46431 builtin and then its argument prototype would still apply. */ 46432#ifdef __cplusplus 46433extern "C" 46434#endif 46435char libfdatetime_hfs_time_copy_from_32bit (); 46436int 46437main () 46438{ 46439return libfdatetime_hfs_time_copy_from_32bit (); 46440 ; 46441 return 0; 46442} 46443_ACEOF 46444if ac_fn_c_try_link "$LINENO"; then : 46445 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_from_32bit=yes 46446else 46447 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_from_32bit=no 46448fi 46449rm -f core conftest.err conftest.$ac_objext \ 46450 conftest$ac_exeext conftest.$ac_ext 46451LIBS=$ac_check_lib_save_LIBS 46452fi 46453{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_from_32bit" >&5 46454$as_echo "$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_from_32bit" >&6; } 46455if test "x$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_from_32bit" = xyes; then : 46456 ac_cv_libfdatetime_dummy=yes 46457else 46458 ac_cv_libfdatetime=no 46459fi 46460 46461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_hfs_time_copy_to_32bit in -lfdatetime" >&5 46462$as_echo_n "checking for libfdatetime_hfs_time_copy_to_32bit in -lfdatetime... " >&6; } 46463if ${ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_32bit+:} false; then : 46464 $as_echo_n "(cached) " >&6 46465else 46466 ac_check_lib_save_LIBS=$LIBS 46467LIBS="-lfdatetime $LIBS" 46468cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46469/* end confdefs.h. */ 46470 46471/* Override any GCC internal prototype to avoid an error. 46472 Use char because int might match the return type of a GCC 46473 builtin and then its argument prototype would still apply. */ 46474#ifdef __cplusplus 46475extern "C" 46476#endif 46477char libfdatetime_hfs_time_copy_to_32bit (); 46478int 46479main () 46480{ 46481return libfdatetime_hfs_time_copy_to_32bit (); 46482 ; 46483 return 0; 46484} 46485_ACEOF 46486if ac_fn_c_try_link "$LINENO"; then : 46487 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_32bit=yes 46488else 46489 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_32bit=no 46490fi 46491rm -f core conftest.err conftest.$ac_objext \ 46492 conftest$ac_exeext conftest.$ac_ext 46493LIBS=$ac_check_lib_save_LIBS 46494fi 46495{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_32bit" >&5 46496$as_echo "$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_32bit" >&6; } 46497if test "x$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_32bit" = xyes; then : 46498 ac_cv_libfdatetime_dummy=yes 46499else 46500 ac_cv_libfdatetime=no 46501fi 46502 46503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_hfs_time_copy_to_utf8_string in -lfdatetime" >&5 46504$as_echo_n "checking for libfdatetime_hfs_time_copy_to_utf8_string in -lfdatetime... " >&6; } 46505if ${ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf8_string+:} false; then : 46506 $as_echo_n "(cached) " >&6 46507else 46508 ac_check_lib_save_LIBS=$LIBS 46509LIBS="-lfdatetime $LIBS" 46510cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46511/* end confdefs.h. */ 46512 46513/* Override any GCC internal prototype to avoid an error. 46514 Use char because int might match the return type of a GCC 46515 builtin and then its argument prototype would still apply. */ 46516#ifdef __cplusplus 46517extern "C" 46518#endif 46519char libfdatetime_hfs_time_copy_to_utf8_string (); 46520int 46521main () 46522{ 46523return libfdatetime_hfs_time_copy_to_utf8_string (); 46524 ; 46525 return 0; 46526} 46527_ACEOF 46528if ac_fn_c_try_link "$LINENO"; then : 46529 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf8_string=yes 46530else 46531 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf8_string=no 46532fi 46533rm -f core conftest.err conftest.$ac_objext \ 46534 conftest$ac_exeext conftest.$ac_ext 46535LIBS=$ac_check_lib_save_LIBS 46536fi 46537{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf8_string" >&5 46538$as_echo "$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf8_string" >&6; } 46539if test "x$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf8_string" = xyes; then : 46540 ac_cv_libfdatetime_dummy=yes 46541else 46542 ac_cv_libfdatetime=no 46543fi 46544 46545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_hfs_time_copy_to_utf8_string_with_index in -lfdatetime" >&5 46546$as_echo_n "checking for libfdatetime_hfs_time_copy_to_utf8_string_with_index in -lfdatetime... " >&6; } 46547if ${ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf8_string_with_index+:} false; then : 46548 $as_echo_n "(cached) " >&6 46549else 46550 ac_check_lib_save_LIBS=$LIBS 46551LIBS="-lfdatetime $LIBS" 46552cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46553/* end confdefs.h. */ 46554 46555/* Override any GCC internal prototype to avoid an error. 46556 Use char because int might match the return type of a GCC 46557 builtin and then its argument prototype would still apply. */ 46558#ifdef __cplusplus 46559extern "C" 46560#endif 46561char libfdatetime_hfs_time_copy_to_utf8_string_with_index (); 46562int 46563main () 46564{ 46565return libfdatetime_hfs_time_copy_to_utf8_string_with_index (); 46566 ; 46567 return 0; 46568} 46569_ACEOF 46570if ac_fn_c_try_link "$LINENO"; then : 46571 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf8_string_with_index=yes 46572else 46573 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf8_string_with_index=no 46574fi 46575rm -f core conftest.err conftest.$ac_objext \ 46576 conftest$ac_exeext conftest.$ac_ext 46577LIBS=$ac_check_lib_save_LIBS 46578fi 46579{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf8_string_with_index" >&5 46580$as_echo "$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf8_string_with_index" >&6; } 46581if test "x$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf8_string_with_index" = xyes; then : 46582 ac_cv_libfdatetime_dummy=yes 46583else 46584 ac_cv_libfdatetime=no 46585fi 46586 46587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_hfs_time_copy_to_utf16_string in -lfdatetime" >&5 46588$as_echo_n "checking for libfdatetime_hfs_time_copy_to_utf16_string in -lfdatetime... " >&6; } 46589if ${ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf16_string+:} false; then : 46590 $as_echo_n "(cached) " >&6 46591else 46592 ac_check_lib_save_LIBS=$LIBS 46593LIBS="-lfdatetime $LIBS" 46594cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46595/* end confdefs.h. */ 46596 46597/* Override any GCC internal prototype to avoid an error. 46598 Use char because int might match the return type of a GCC 46599 builtin and then its argument prototype would still apply. */ 46600#ifdef __cplusplus 46601extern "C" 46602#endif 46603char libfdatetime_hfs_time_copy_to_utf16_string (); 46604int 46605main () 46606{ 46607return libfdatetime_hfs_time_copy_to_utf16_string (); 46608 ; 46609 return 0; 46610} 46611_ACEOF 46612if ac_fn_c_try_link "$LINENO"; then : 46613 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf16_string=yes 46614else 46615 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf16_string=no 46616fi 46617rm -f core conftest.err conftest.$ac_objext \ 46618 conftest$ac_exeext conftest.$ac_ext 46619LIBS=$ac_check_lib_save_LIBS 46620fi 46621{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf16_string" >&5 46622$as_echo "$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf16_string" >&6; } 46623if test "x$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf16_string" = xyes; then : 46624 ac_cv_libfdatetime_dummy=yes 46625else 46626 ac_cv_libfdatetime=no 46627fi 46628 46629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_hfs_time_copy_to_utf16_string_with_index in -lfdatetime" >&5 46630$as_echo_n "checking for libfdatetime_hfs_time_copy_to_utf16_string_with_index in -lfdatetime... " >&6; } 46631if ${ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf16_string_with_index+:} false; then : 46632 $as_echo_n "(cached) " >&6 46633else 46634 ac_check_lib_save_LIBS=$LIBS 46635LIBS="-lfdatetime $LIBS" 46636cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46637/* end confdefs.h. */ 46638 46639/* Override any GCC internal prototype to avoid an error. 46640 Use char because int might match the return type of a GCC 46641 builtin and then its argument prototype would still apply. */ 46642#ifdef __cplusplus 46643extern "C" 46644#endif 46645char libfdatetime_hfs_time_copy_to_utf16_string_with_index (); 46646int 46647main () 46648{ 46649return libfdatetime_hfs_time_copy_to_utf16_string_with_index (); 46650 ; 46651 return 0; 46652} 46653_ACEOF 46654if ac_fn_c_try_link "$LINENO"; then : 46655 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf16_string_with_index=yes 46656else 46657 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf16_string_with_index=no 46658fi 46659rm -f core conftest.err conftest.$ac_objext \ 46660 conftest$ac_exeext conftest.$ac_ext 46661LIBS=$ac_check_lib_save_LIBS 46662fi 46663{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf16_string_with_index" >&5 46664$as_echo "$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf16_string_with_index" >&6; } 46665if test "x$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf16_string_with_index" = xyes; then : 46666 ac_cv_libfdatetime_dummy=yes 46667else 46668 ac_cv_libfdatetime=no 46669fi 46670 46671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_hfs_time_copy_to_utf32_string in -lfdatetime" >&5 46672$as_echo_n "checking for libfdatetime_hfs_time_copy_to_utf32_string in -lfdatetime... " >&6; } 46673if ${ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf32_string+:} false; then : 46674 $as_echo_n "(cached) " >&6 46675else 46676 ac_check_lib_save_LIBS=$LIBS 46677LIBS="-lfdatetime $LIBS" 46678cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46679/* end confdefs.h. */ 46680 46681/* Override any GCC internal prototype to avoid an error. 46682 Use char because int might match the return type of a GCC 46683 builtin and then its argument prototype would still apply. */ 46684#ifdef __cplusplus 46685extern "C" 46686#endif 46687char libfdatetime_hfs_time_copy_to_utf32_string (); 46688int 46689main () 46690{ 46691return libfdatetime_hfs_time_copy_to_utf32_string (); 46692 ; 46693 return 0; 46694} 46695_ACEOF 46696if ac_fn_c_try_link "$LINENO"; then : 46697 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf32_string=yes 46698else 46699 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf32_string=no 46700fi 46701rm -f core conftest.err conftest.$ac_objext \ 46702 conftest$ac_exeext conftest.$ac_ext 46703LIBS=$ac_check_lib_save_LIBS 46704fi 46705{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf32_string" >&5 46706$as_echo "$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf32_string" >&6; } 46707if test "x$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf32_string" = xyes; then : 46708 ac_cv_libfdatetime_dummy=yes 46709else 46710 ac_cv_libfdatetime=no 46711fi 46712 46713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_hfs_time_copy_to_utf32_string_with_index in -lfdatetime" >&5 46714$as_echo_n "checking for libfdatetime_hfs_time_copy_to_utf32_string_with_index in -lfdatetime... " >&6; } 46715if ${ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf32_string_with_index+:} false; then : 46716 $as_echo_n "(cached) " >&6 46717else 46718 ac_check_lib_save_LIBS=$LIBS 46719LIBS="-lfdatetime $LIBS" 46720cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46721/* end confdefs.h. */ 46722 46723/* Override any GCC internal prototype to avoid an error. 46724 Use char because int might match the return type of a GCC 46725 builtin and then its argument prototype would still apply. */ 46726#ifdef __cplusplus 46727extern "C" 46728#endif 46729char libfdatetime_hfs_time_copy_to_utf32_string_with_index (); 46730int 46731main () 46732{ 46733return libfdatetime_hfs_time_copy_to_utf32_string_with_index (); 46734 ; 46735 return 0; 46736} 46737_ACEOF 46738if ac_fn_c_try_link "$LINENO"; then : 46739 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf32_string_with_index=yes 46740else 46741 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf32_string_with_index=no 46742fi 46743rm -f core conftest.err conftest.$ac_objext \ 46744 conftest$ac_exeext conftest.$ac_ext 46745LIBS=$ac_check_lib_save_LIBS 46746fi 46747{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf32_string_with_index" >&5 46748$as_echo "$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf32_string_with_index" >&6; } 46749if test "x$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf32_string_with_index" = xyes; then : 46750 ac_cv_libfdatetime_dummy=yes 46751else 46752 ac_cv_libfdatetime=no 46753fi 46754 46755 46756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_nsf_timedate_initialize in -lfdatetime" >&5 46757$as_echo_n "checking for libfdatetime_nsf_timedate_initialize in -lfdatetime... " >&6; } 46758if ${ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_initialize+:} false; then : 46759 $as_echo_n "(cached) " >&6 46760else 46761 ac_check_lib_save_LIBS=$LIBS 46762LIBS="-lfdatetime $LIBS" 46763cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46764/* end confdefs.h. */ 46765 46766/* Override any GCC internal prototype to avoid an error. 46767 Use char because int might match the return type of a GCC 46768 builtin and then its argument prototype would still apply. */ 46769#ifdef __cplusplus 46770extern "C" 46771#endif 46772char libfdatetime_nsf_timedate_initialize (); 46773int 46774main () 46775{ 46776return libfdatetime_nsf_timedate_initialize (); 46777 ; 46778 return 0; 46779} 46780_ACEOF 46781if ac_fn_c_try_link "$LINENO"; then : 46782 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_initialize=yes 46783else 46784 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_initialize=no 46785fi 46786rm -f core conftest.err conftest.$ac_objext \ 46787 conftest$ac_exeext conftest.$ac_ext 46788LIBS=$ac_check_lib_save_LIBS 46789fi 46790{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_initialize" >&5 46791$as_echo "$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_initialize" >&6; } 46792if test "x$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_initialize" = xyes; then : 46793 ac_cv_libfdatetime_dummy=yes 46794else 46795 ac_cv_libfdatetime=no 46796fi 46797 46798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_nsf_timedate_free in -lfdatetime" >&5 46799$as_echo_n "checking for libfdatetime_nsf_timedate_free in -lfdatetime... " >&6; } 46800if ${ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_free+:} false; then : 46801 $as_echo_n "(cached) " >&6 46802else 46803 ac_check_lib_save_LIBS=$LIBS 46804LIBS="-lfdatetime $LIBS" 46805cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46806/* end confdefs.h. */ 46807 46808/* Override any GCC internal prototype to avoid an error. 46809 Use char because int might match the return type of a GCC 46810 builtin and then its argument prototype would still apply. */ 46811#ifdef __cplusplus 46812extern "C" 46813#endif 46814char libfdatetime_nsf_timedate_free (); 46815int 46816main () 46817{ 46818return libfdatetime_nsf_timedate_free (); 46819 ; 46820 return 0; 46821} 46822_ACEOF 46823if ac_fn_c_try_link "$LINENO"; then : 46824 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_free=yes 46825else 46826 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_free=no 46827fi 46828rm -f core conftest.err conftest.$ac_objext \ 46829 conftest$ac_exeext conftest.$ac_ext 46830LIBS=$ac_check_lib_save_LIBS 46831fi 46832{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_free" >&5 46833$as_echo "$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_free" >&6; } 46834if test "x$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_free" = xyes; then : 46835 ac_cv_libfdatetime_dummy=yes 46836else 46837 ac_cv_libfdatetime=no 46838fi 46839 46840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_nsf_timedate_copy_from_byte_stream in -lfdatetime" >&5 46841$as_echo_n "checking for libfdatetime_nsf_timedate_copy_from_byte_stream in -lfdatetime... " >&6; } 46842if ${ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_from_byte_stream+:} false; then : 46843 $as_echo_n "(cached) " >&6 46844else 46845 ac_check_lib_save_LIBS=$LIBS 46846LIBS="-lfdatetime $LIBS" 46847cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46848/* end confdefs.h. */ 46849 46850/* Override any GCC internal prototype to avoid an error. 46851 Use char because int might match the return type of a GCC 46852 builtin and then its argument prototype would still apply. */ 46853#ifdef __cplusplus 46854extern "C" 46855#endif 46856char libfdatetime_nsf_timedate_copy_from_byte_stream (); 46857int 46858main () 46859{ 46860return libfdatetime_nsf_timedate_copy_from_byte_stream (); 46861 ; 46862 return 0; 46863} 46864_ACEOF 46865if ac_fn_c_try_link "$LINENO"; then : 46866 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_from_byte_stream=yes 46867else 46868 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_from_byte_stream=no 46869fi 46870rm -f core conftest.err conftest.$ac_objext \ 46871 conftest$ac_exeext conftest.$ac_ext 46872LIBS=$ac_check_lib_save_LIBS 46873fi 46874{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_from_byte_stream" >&5 46875$as_echo "$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_from_byte_stream" >&6; } 46876if test "x$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_from_byte_stream" = xyes; then : 46877 ac_cv_libfdatetime_dummy=yes 46878else 46879 ac_cv_libfdatetime=no 46880fi 46881 46882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_nsf_timedate_copy_from_64bit in -lfdatetime" >&5 46883$as_echo_n "checking for libfdatetime_nsf_timedate_copy_from_64bit in -lfdatetime... " >&6; } 46884if ${ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_from_64bit+:} false; then : 46885 $as_echo_n "(cached) " >&6 46886else 46887 ac_check_lib_save_LIBS=$LIBS 46888LIBS="-lfdatetime $LIBS" 46889cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46890/* end confdefs.h. */ 46891 46892/* Override any GCC internal prototype to avoid an error. 46893 Use char because int might match the return type of a GCC 46894 builtin and then its argument prototype would still apply. */ 46895#ifdef __cplusplus 46896extern "C" 46897#endif 46898char libfdatetime_nsf_timedate_copy_from_64bit (); 46899int 46900main () 46901{ 46902return libfdatetime_nsf_timedate_copy_from_64bit (); 46903 ; 46904 return 0; 46905} 46906_ACEOF 46907if ac_fn_c_try_link "$LINENO"; then : 46908 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_from_64bit=yes 46909else 46910 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_from_64bit=no 46911fi 46912rm -f core conftest.err conftest.$ac_objext \ 46913 conftest$ac_exeext conftest.$ac_ext 46914LIBS=$ac_check_lib_save_LIBS 46915fi 46916{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_from_64bit" >&5 46917$as_echo "$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_from_64bit" >&6; } 46918if test "x$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_from_64bit" = xyes; then : 46919 ac_cv_libfdatetime_dummy=yes 46920else 46921 ac_cv_libfdatetime=no 46922fi 46923 46924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_nsf_timedate_copy_to_64bit in -lfdatetime" >&5 46925$as_echo_n "checking for libfdatetime_nsf_timedate_copy_to_64bit in -lfdatetime... " >&6; } 46926if ${ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_64bit+:} false; then : 46927 $as_echo_n "(cached) " >&6 46928else 46929 ac_check_lib_save_LIBS=$LIBS 46930LIBS="-lfdatetime $LIBS" 46931cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46932/* end confdefs.h. */ 46933 46934/* Override any GCC internal prototype to avoid an error. 46935 Use char because int might match the return type of a GCC 46936 builtin and then its argument prototype would still apply. */ 46937#ifdef __cplusplus 46938extern "C" 46939#endif 46940char libfdatetime_nsf_timedate_copy_to_64bit (); 46941int 46942main () 46943{ 46944return libfdatetime_nsf_timedate_copy_to_64bit (); 46945 ; 46946 return 0; 46947} 46948_ACEOF 46949if ac_fn_c_try_link "$LINENO"; then : 46950 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_64bit=yes 46951else 46952 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_64bit=no 46953fi 46954rm -f core conftest.err conftest.$ac_objext \ 46955 conftest$ac_exeext conftest.$ac_ext 46956LIBS=$ac_check_lib_save_LIBS 46957fi 46958{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_64bit" >&5 46959$as_echo "$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_64bit" >&6; } 46960if test "x$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_64bit" = xyes; then : 46961 ac_cv_libfdatetime_dummy=yes 46962else 46963 ac_cv_libfdatetime=no 46964fi 46965 46966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_nsf_timedate_copy_to_utf8_string in -lfdatetime" >&5 46967$as_echo_n "checking for libfdatetime_nsf_timedate_copy_to_utf8_string in -lfdatetime... " >&6; } 46968if ${ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf8_string+:} false; then : 46969 $as_echo_n "(cached) " >&6 46970else 46971 ac_check_lib_save_LIBS=$LIBS 46972LIBS="-lfdatetime $LIBS" 46973cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46974/* end confdefs.h. */ 46975 46976/* Override any GCC internal prototype to avoid an error. 46977 Use char because int might match the return type of a GCC 46978 builtin and then its argument prototype would still apply. */ 46979#ifdef __cplusplus 46980extern "C" 46981#endif 46982char libfdatetime_nsf_timedate_copy_to_utf8_string (); 46983int 46984main () 46985{ 46986return libfdatetime_nsf_timedate_copy_to_utf8_string (); 46987 ; 46988 return 0; 46989} 46990_ACEOF 46991if ac_fn_c_try_link "$LINENO"; then : 46992 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf8_string=yes 46993else 46994 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf8_string=no 46995fi 46996rm -f core conftest.err conftest.$ac_objext \ 46997 conftest$ac_exeext conftest.$ac_ext 46998LIBS=$ac_check_lib_save_LIBS 46999fi 47000{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf8_string" >&5 47001$as_echo "$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf8_string" >&6; } 47002if test "x$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf8_string" = xyes; then : 47003 ac_cv_libfdatetime_dummy=yes 47004else 47005 ac_cv_libfdatetime=no 47006fi 47007 47008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_nsf_timedate_copy_to_utf8_string_with_index in -lfdatetime" >&5 47009$as_echo_n "checking for libfdatetime_nsf_timedate_copy_to_utf8_string_with_index in -lfdatetime... " >&6; } 47010if ${ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf8_string_with_index+:} false; then : 47011 $as_echo_n "(cached) " >&6 47012else 47013 ac_check_lib_save_LIBS=$LIBS 47014LIBS="-lfdatetime $LIBS" 47015cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47016/* end confdefs.h. */ 47017 47018/* Override any GCC internal prototype to avoid an error. 47019 Use char because int might match the return type of a GCC 47020 builtin and then its argument prototype would still apply. */ 47021#ifdef __cplusplus 47022extern "C" 47023#endif 47024char libfdatetime_nsf_timedate_copy_to_utf8_string_with_index (); 47025int 47026main () 47027{ 47028return libfdatetime_nsf_timedate_copy_to_utf8_string_with_index (); 47029 ; 47030 return 0; 47031} 47032_ACEOF 47033if ac_fn_c_try_link "$LINENO"; then : 47034 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf8_string_with_index=yes 47035else 47036 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf8_string_with_index=no 47037fi 47038rm -f core conftest.err conftest.$ac_objext \ 47039 conftest$ac_exeext conftest.$ac_ext 47040LIBS=$ac_check_lib_save_LIBS 47041fi 47042{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf8_string_with_index" >&5 47043$as_echo "$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf8_string_with_index" >&6; } 47044if test "x$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf8_string_with_index" = xyes; then : 47045 ac_cv_libfdatetime_dummy=yes 47046else 47047 ac_cv_libfdatetime=no 47048fi 47049 47050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_nsf_timedate_copy_to_utf16_string in -lfdatetime" >&5 47051$as_echo_n "checking for libfdatetime_nsf_timedate_copy_to_utf16_string in -lfdatetime... " >&6; } 47052if ${ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf16_string+:} false; then : 47053 $as_echo_n "(cached) " >&6 47054else 47055 ac_check_lib_save_LIBS=$LIBS 47056LIBS="-lfdatetime $LIBS" 47057cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47058/* end confdefs.h. */ 47059 47060/* Override any GCC internal prototype to avoid an error. 47061 Use char because int might match the return type of a GCC 47062 builtin and then its argument prototype would still apply. */ 47063#ifdef __cplusplus 47064extern "C" 47065#endif 47066char libfdatetime_nsf_timedate_copy_to_utf16_string (); 47067int 47068main () 47069{ 47070return libfdatetime_nsf_timedate_copy_to_utf16_string (); 47071 ; 47072 return 0; 47073} 47074_ACEOF 47075if ac_fn_c_try_link "$LINENO"; then : 47076 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf16_string=yes 47077else 47078 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf16_string=no 47079fi 47080rm -f core conftest.err conftest.$ac_objext \ 47081 conftest$ac_exeext conftest.$ac_ext 47082LIBS=$ac_check_lib_save_LIBS 47083fi 47084{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf16_string" >&5 47085$as_echo "$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf16_string" >&6; } 47086if test "x$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf16_string" = xyes; then : 47087 ac_cv_libfdatetime_dummy=yes 47088else 47089 ac_cv_libfdatetime=no 47090fi 47091 47092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_nsf_timedate_copy_to_utf16_string_with_index in -lfdatetime" >&5 47093$as_echo_n "checking for libfdatetime_nsf_timedate_copy_to_utf16_string_with_index in -lfdatetime... " >&6; } 47094if ${ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf16_string_with_index+:} false; then : 47095 $as_echo_n "(cached) " >&6 47096else 47097 ac_check_lib_save_LIBS=$LIBS 47098LIBS="-lfdatetime $LIBS" 47099cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47100/* end confdefs.h. */ 47101 47102/* Override any GCC internal prototype to avoid an error. 47103 Use char because int might match the return type of a GCC 47104 builtin and then its argument prototype would still apply. */ 47105#ifdef __cplusplus 47106extern "C" 47107#endif 47108char libfdatetime_nsf_timedate_copy_to_utf16_string_with_index (); 47109int 47110main () 47111{ 47112return libfdatetime_nsf_timedate_copy_to_utf16_string_with_index (); 47113 ; 47114 return 0; 47115} 47116_ACEOF 47117if ac_fn_c_try_link "$LINENO"; then : 47118 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf16_string_with_index=yes 47119else 47120 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf16_string_with_index=no 47121fi 47122rm -f core conftest.err conftest.$ac_objext \ 47123 conftest$ac_exeext conftest.$ac_ext 47124LIBS=$ac_check_lib_save_LIBS 47125fi 47126{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf16_string_with_index" >&5 47127$as_echo "$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf16_string_with_index" >&6; } 47128if test "x$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf16_string_with_index" = xyes; then : 47129 ac_cv_libfdatetime_dummy=yes 47130else 47131 ac_cv_libfdatetime=no 47132fi 47133 47134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_nsf_timedate_copy_to_utf32_string in -lfdatetime" >&5 47135$as_echo_n "checking for libfdatetime_nsf_timedate_copy_to_utf32_string in -lfdatetime... " >&6; } 47136if ${ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf32_string+:} false; then : 47137 $as_echo_n "(cached) " >&6 47138else 47139 ac_check_lib_save_LIBS=$LIBS 47140LIBS="-lfdatetime $LIBS" 47141cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47142/* end confdefs.h. */ 47143 47144/* Override any GCC internal prototype to avoid an error. 47145 Use char because int might match the return type of a GCC 47146 builtin and then its argument prototype would still apply. */ 47147#ifdef __cplusplus 47148extern "C" 47149#endif 47150char libfdatetime_nsf_timedate_copy_to_utf32_string (); 47151int 47152main () 47153{ 47154return libfdatetime_nsf_timedate_copy_to_utf32_string (); 47155 ; 47156 return 0; 47157} 47158_ACEOF 47159if ac_fn_c_try_link "$LINENO"; then : 47160 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf32_string=yes 47161else 47162 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf32_string=no 47163fi 47164rm -f core conftest.err conftest.$ac_objext \ 47165 conftest$ac_exeext conftest.$ac_ext 47166LIBS=$ac_check_lib_save_LIBS 47167fi 47168{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf32_string" >&5 47169$as_echo "$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf32_string" >&6; } 47170if test "x$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf32_string" = xyes; then : 47171 ac_cv_libfdatetime_dummy=yes 47172else 47173 ac_cv_libfdatetime=no 47174fi 47175 47176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_nsf_timedate_copy_to_utf32_string_with_index in -lfdatetime" >&5 47177$as_echo_n "checking for libfdatetime_nsf_timedate_copy_to_utf32_string_with_index in -lfdatetime... " >&6; } 47178if ${ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf32_string_with_index+:} false; then : 47179 $as_echo_n "(cached) " >&6 47180else 47181 ac_check_lib_save_LIBS=$LIBS 47182LIBS="-lfdatetime $LIBS" 47183cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47184/* end confdefs.h. */ 47185 47186/* Override any GCC internal prototype to avoid an error. 47187 Use char because int might match the return type of a GCC 47188 builtin and then its argument prototype would still apply. */ 47189#ifdef __cplusplus 47190extern "C" 47191#endif 47192char libfdatetime_nsf_timedate_copy_to_utf32_string_with_index (); 47193int 47194main () 47195{ 47196return libfdatetime_nsf_timedate_copy_to_utf32_string_with_index (); 47197 ; 47198 return 0; 47199} 47200_ACEOF 47201if ac_fn_c_try_link "$LINENO"; then : 47202 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf32_string_with_index=yes 47203else 47204 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf32_string_with_index=no 47205fi 47206rm -f core conftest.err conftest.$ac_objext \ 47207 conftest$ac_exeext conftest.$ac_ext 47208LIBS=$ac_check_lib_save_LIBS 47209fi 47210{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf32_string_with_index" >&5 47211$as_echo "$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf32_string_with_index" >&6; } 47212if test "x$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf32_string_with_index" = xyes; then : 47213 ac_cv_libfdatetime_dummy=yes 47214else 47215 ac_cv_libfdatetime=no 47216fi 47217 47218 47219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_initialize in -lfdatetime" >&5 47220$as_echo_n "checking for libfdatetime_posix_time_initialize in -lfdatetime... " >&6; } 47221if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_initialize+:} false; then : 47222 $as_echo_n "(cached) " >&6 47223else 47224 ac_check_lib_save_LIBS=$LIBS 47225LIBS="-lfdatetime $LIBS" 47226cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47227/* end confdefs.h. */ 47228 47229/* Override any GCC internal prototype to avoid an error. 47230 Use char because int might match the return type of a GCC 47231 builtin and then its argument prototype would still apply. */ 47232#ifdef __cplusplus 47233extern "C" 47234#endif 47235char libfdatetime_posix_time_initialize (); 47236int 47237main () 47238{ 47239return libfdatetime_posix_time_initialize (); 47240 ; 47241 return 0; 47242} 47243_ACEOF 47244if ac_fn_c_try_link "$LINENO"; then : 47245 ac_cv_lib_fdatetime_libfdatetime_posix_time_initialize=yes 47246else 47247 ac_cv_lib_fdatetime_libfdatetime_posix_time_initialize=no 47248fi 47249rm -f core conftest.err conftest.$ac_objext \ 47250 conftest$ac_exeext conftest.$ac_ext 47251LIBS=$ac_check_lib_save_LIBS 47252fi 47253{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_posix_time_initialize" >&5 47254$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_initialize" >&6; } 47255if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_initialize" = xyes; then : 47256 ac_cv_libfdatetime_dummy=yes 47257else 47258 ac_cv_libfdatetime=no 47259fi 47260 47261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_free in -lfdatetime" >&5 47262$as_echo_n "checking for libfdatetime_posix_time_free in -lfdatetime... " >&6; } 47263if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_free+:} false; then : 47264 $as_echo_n "(cached) " >&6 47265else 47266 ac_check_lib_save_LIBS=$LIBS 47267LIBS="-lfdatetime $LIBS" 47268cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47269/* end confdefs.h. */ 47270 47271/* Override any GCC internal prototype to avoid an error. 47272 Use char because int might match the return type of a GCC 47273 builtin and then its argument prototype would still apply. */ 47274#ifdef __cplusplus 47275extern "C" 47276#endif 47277char libfdatetime_posix_time_free (); 47278int 47279main () 47280{ 47281return libfdatetime_posix_time_free (); 47282 ; 47283 return 0; 47284} 47285_ACEOF 47286if ac_fn_c_try_link "$LINENO"; then : 47287 ac_cv_lib_fdatetime_libfdatetime_posix_time_free=yes 47288else 47289 ac_cv_lib_fdatetime_libfdatetime_posix_time_free=no 47290fi 47291rm -f core conftest.err conftest.$ac_objext \ 47292 conftest$ac_exeext conftest.$ac_ext 47293LIBS=$ac_check_lib_save_LIBS 47294fi 47295{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_posix_time_free" >&5 47296$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_free" >&6; } 47297if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_free" = xyes; then : 47298 ac_cv_libfdatetime_dummy=yes 47299else 47300 ac_cv_libfdatetime=no 47301fi 47302 47303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_copy_from_byte_stream in -lfdatetime" >&5 47304$as_echo_n "checking for libfdatetime_posix_time_copy_from_byte_stream in -lfdatetime... " >&6; } 47305if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_byte_stream+:} false; then : 47306 $as_echo_n "(cached) " >&6 47307else 47308 ac_check_lib_save_LIBS=$LIBS 47309LIBS="-lfdatetime $LIBS" 47310cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47311/* end confdefs.h. */ 47312 47313/* Override any GCC internal prototype to avoid an error. 47314 Use char because int might match the return type of a GCC 47315 builtin and then its argument prototype would still apply. */ 47316#ifdef __cplusplus 47317extern "C" 47318#endif 47319char libfdatetime_posix_time_copy_from_byte_stream (); 47320int 47321main () 47322{ 47323return libfdatetime_posix_time_copy_from_byte_stream (); 47324 ; 47325 return 0; 47326} 47327_ACEOF 47328if ac_fn_c_try_link "$LINENO"; then : 47329 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_byte_stream=yes 47330else 47331 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_byte_stream=no 47332fi 47333rm -f core conftest.err conftest.$ac_objext \ 47334 conftest$ac_exeext conftest.$ac_ext 47335LIBS=$ac_check_lib_save_LIBS 47336fi 47337{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_byte_stream" >&5 47338$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_byte_stream" >&6; } 47339if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_byte_stream" = xyes; then : 47340 ac_cv_libfdatetime_dummy=yes 47341else 47342 ac_cv_libfdatetime=no 47343fi 47344 47345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_copy_from_32bit in -lfdatetime" >&5 47346$as_echo_n "checking for libfdatetime_posix_time_copy_from_32bit in -lfdatetime... " >&6; } 47347if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_32bit+:} false; then : 47348 $as_echo_n "(cached) " >&6 47349else 47350 ac_check_lib_save_LIBS=$LIBS 47351LIBS="-lfdatetime $LIBS" 47352cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47353/* end confdefs.h. */ 47354 47355/* Override any GCC internal prototype to avoid an error. 47356 Use char because int might match the return type of a GCC 47357 builtin and then its argument prototype would still apply. */ 47358#ifdef __cplusplus 47359extern "C" 47360#endif 47361char libfdatetime_posix_time_copy_from_32bit (); 47362int 47363main () 47364{ 47365return libfdatetime_posix_time_copy_from_32bit (); 47366 ; 47367 return 0; 47368} 47369_ACEOF 47370if ac_fn_c_try_link "$LINENO"; then : 47371 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_32bit=yes 47372else 47373 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_32bit=no 47374fi 47375rm -f core conftest.err conftest.$ac_objext \ 47376 conftest$ac_exeext conftest.$ac_ext 47377LIBS=$ac_check_lib_save_LIBS 47378fi 47379{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_32bit" >&5 47380$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_32bit" >&6; } 47381if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_32bit" = xyes; then : 47382 ac_cv_libfdatetime_dummy=yes 47383else 47384 ac_cv_libfdatetime=no 47385fi 47386 47387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_copy_to_32bit in -lfdatetime" >&5 47388$as_echo_n "checking for libfdatetime_posix_time_copy_to_32bit in -lfdatetime... " >&6; } 47389if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_32bit+:} false; then : 47390 $as_echo_n "(cached) " >&6 47391else 47392 ac_check_lib_save_LIBS=$LIBS 47393LIBS="-lfdatetime $LIBS" 47394cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47395/* end confdefs.h. */ 47396 47397/* Override any GCC internal prototype to avoid an error. 47398 Use char because int might match the return type of a GCC 47399 builtin and then its argument prototype would still apply. */ 47400#ifdef __cplusplus 47401extern "C" 47402#endif 47403char libfdatetime_posix_time_copy_to_32bit (); 47404int 47405main () 47406{ 47407return libfdatetime_posix_time_copy_to_32bit (); 47408 ; 47409 return 0; 47410} 47411_ACEOF 47412if ac_fn_c_try_link "$LINENO"; then : 47413 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_32bit=yes 47414else 47415 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_32bit=no 47416fi 47417rm -f core conftest.err conftest.$ac_objext \ 47418 conftest$ac_exeext conftest.$ac_ext 47419LIBS=$ac_check_lib_save_LIBS 47420fi 47421{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_32bit" >&5 47422$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_32bit" >&6; } 47423if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_32bit" = xyes; then : 47424 ac_cv_libfdatetime_dummy=yes 47425else 47426 ac_cv_libfdatetime=no 47427fi 47428 47429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_copy_from_64bit in -lfdatetime" >&5 47430$as_echo_n "checking for libfdatetime_posix_time_copy_from_64bit in -lfdatetime... " >&6; } 47431if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_64bit+:} false; then : 47432 $as_echo_n "(cached) " >&6 47433else 47434 ac_check_lib_save_LIBS=$LIBS 47435LIBS="-lfdatetime $LIBS" 47436cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47437/* end confdefs.h. */ 47438 47439/* Override any GCC internal prototype to avoid an error. 47440 Use char because int might match the return type of a GCC 47441 builtin and then its argument prototype would still apply. */ 47442#ifdef __cplusplus 47443extern "C" 47444#endif 47445char libfdatetime_posix_time_copy_from_64bit (); 47446int 47447main () 47448{ 47449return libfdatetime_posix_time_copy_from_64bit (); 47450 ; 47451 return 0; 47452} 47453_ACEOF 47454if ac_fn_c_try_link "$LINENO"; then : 47455 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_64bit=yes 47456else 47457 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_64bit=no 47458fi 47459rm -f core conftest.err conftest.$ac_objext \ 47460 conftest$ac_exeext conftest.$ac_ext 47461LIBS=$ac_check_lib_save_LIBS 47462fi 47463{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_64bit" >&5 47464$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_64bit" >&6; } 47465if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_64bit" = xyes; then : 47466 ac_cv_libfdatetime_dummy=yes 47467else 47468 ac_cv_libfdatetime=no 47469fi 47470 47471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_copy_to_64bit in -lfdatetime" >&5 47472$as_echo_n "checking for libfdatetime_posix_time_copy_to_64bit in -lfdatetime... " >&6; } 47473if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_64bit+:} false; then : 47474 $as_echo_n "(cached) " >&6 47475else 47476 ac_check_lib_save_LIBS=$LIBS 47477LIBS="-lfdatetime $LIBS" 47478cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47479/* end confdefs.h. */ 47480 47481/* Override any GCC internal prototype to avoid an error. 47482 Use char because int might match the return type of a GCC 47483 builtin and then its argument prototype would still apply. */ 47484#ifdef __cplusplus 47485extern "C" 47486#endif 47487char libfdatetime_posix_time_copy_to_64bit (); 47488int 47489main () 47490{ 47491return libfdatetime_posix_time_copy_to_64bit (); 47492 ; 47493 return 0; 47494} 47495_ACEOF 47496if ac_fn_c_try_link "$LINENO"; then : 47497 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_64bit=yes 47498else 47499 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_64bit=no 47500fi 47501rm -f core conftest.err conftest.$ac_objext \ 47502 conftest$ac_exeext conftest.$ac_ext 47503LIBS=$ac_check_lib_save_LIBS 47504fi 47505{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_64bit" >&5 47506$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_64bit" >&6; } 47507if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_64bit" = xyes; then : 47508 ac_cv_libfdatetime_dummy=yes 47509else 47510 ac_cv_libfdatetime=no 47511fi 47512 47513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_copy_to_utf8_string in -lfdatetime" >&5 47514$as_echo_n "checking for libfdatetime_posix_time_copy_to_utf8_string in -lfdatetime... " >&6; } 47515if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf8_string+:} false; then : 47516 $as_echo_n "(cached) " >&6 47517else 47518 ac_check_lib_save_LIBS=$LIBS 47519LIBS="-lfdatetime $LIBS" 47520cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47521/* end confdefs.h. */ 47522 47523/* Override any GCC internal prototype to avoid an error. 47524 Use char because int might match the return type of a GCC 47525 builtin and then its argument prototype would still apply. */ 47526#ifdef __cplusplus 47527extern "C" 47528#endif 47529char libfdatetime_posix_time_copy_to_utf8_string (); 47530int 47531main () 47532{ 47533return libfdatetime_posix_time_copy_to_utf8_string (); 47534 ; 47535 return 0; 47536} 47537_ACEOF 47538if ac_fn_c_try_link "$LINENO"; then : 47539 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf8_string=yes 47540else 47541 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf8_string=no 47542fi 47543rm -f core conftest.err conftest.$ac_objext \ 47544 conftest$ac_exeext conftest.$ac_ext 47545LIBS=$ac_check_lib_save_LIBS 47546fi 47547{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf8_string" >&5 47548$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf8_string" >&6; } 47549if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf8_string" = xyes; then : 47550 ac_cv_libfdatetime_dummy=yes 47551else 47552 ac_cv_libfdatetime=no 47553fi 47554 47555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_copy_to_utf8_string_with_index in -lfdatetime" >&5 47556$as_echo_n "checking for libfdatetime_posix_time_copy_to_utf8_string_with_index in -lfdatetime... " >&6; } 47557if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf8_string_with_index+:} false; then : 47558 $as_echo_n "(cached) " >&6 47559else 47560 ac_check_lib_save_LIBS=$LIBS 47561LIBS="-lfdatetime $LIBS" 47562cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47563/* end confdefs.h. */ 47564 47565/* Override any GCC internal prototype to avoid an error. 47566 Use char because int might match the return type of a GCC 47567 builtin and then its argument prototype would still apply. */ 47568#ifdef __cplusplus 47569extern "C" 47570#endif 47571char libfdatetime_posix_time_copy_to_utf8_string_with_index (); 47572int 47573main () 47574{ 47575return libfdatetime_posix_time_copy_to_utf8_string_with_index (); 47576 ; 47577 return 0; 47578} 47579_ACEOF 47580if ac_fn_c_try_link "$LINENO"; then : 47581 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf8_string_with_index=yes 47582else 47583 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf8_string_with_index=no 47584fi 47585rm -f core conftest.err conftest.$ac_objext \ 47586 conftest$ac_exeext conftest.$ac_ext 47587LIBS=$ac_check_lib_save_LIBS 47588fi 47589{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf8_string_with_index" >&5 47590$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf8_string_with_index" >&6; } 47591if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf8_string_with_index" = xyes; then : 47592 ac_cv_libfdatetime_dummy=yes 47593else 47594 ac_cv_libfdatetime=no 47595fi 47596 47597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_copy_to_utf16_string in -lfdatetime" >&5 47598$as_echo_n "checking for libfdatetime_posix_time_copy_to_utf16_string in -lfdatetime... " >&6; } 47599if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf16_string+:} false; then : 47600 $as_echo_n "(cached) " >&6 47601else 47602 ac_check_lib_save_LIBS=$LIBS 47603LIBS="-lfdatetime $LIBS" 47604cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47605/* end confdefs.h. */ 47606 47607/* Override any GCC internal prototype to avoid an error. 47608 Use char because int might match the return type of a GCC 47609 builtin and then its argument prototype would still apply. */ 47610#ifdef __cplusplus 47611extern "C" 47612#endif 47613char libfdatetime_posix_time_copy_to_utf16_string (); 47614int 47615main () 47616{ 47617return libfdatetime_posix_time_copy_to_utf16_string (); 47618 ; 47619 return 0; 47620} 47621_ACEOF 47622if ac_fn_c_try_link "$LINENO"; then : 47623 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf16_string=yes 47624else 47625 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf16_string=no 47626fi 47627rm -f core conftest.err conftest.$ac_objext \ 47628 conftest$ac_exeext conftest.$ac_ext 47629LIBS=$ac_check_lib_save_LIBS 47630fi 47631{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf16_string" >&5 47632$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf16_string" >&6; } 47633if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf16_string" = xyes; then : 47634 ac_cv_libfdatetime_dummy=yes 47635else 47636 ac_cv_libfdatetime=no 47637fi 47638 47639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_copy_to_utf16_string_with_index in -lfdatetime" >&5 47640$as_echo_n "checking for libfdatetime_posix_time_copy_to_utf16_string_with_index in -lfdatetime... " >&6; } 47641if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf16_string_with_index+:} false; then : 47642 $as_echo_n "(cached) " >&6 47643else 47644 ac_check_lib_save_LIBS=$LIBS 47645LIBS="-lfdatetime $LIBS" 47646cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47647/* end confdefs.h. */ 47648 47649/* Override any GCC internal prototype to avoid an error. 47650 Use char because int might match the return type of a GCC 47651 builtin and then its argument prototype would still apply. */ 47652#ifdef __cplusplus 47653extern "C" 47654#endif 47655char libfdatetime_posix_time_copy_to_utf16_string_with_index (); 47656int 47657main () 47658{ 47659return libfdatetime_posix_time_copy_to_utf16_string_with_index (); 47660 ; 47661 return 0; 47662} 47663_ACEOF 47664if ac_fn_c_try_link "$LINENO"; then : 47665 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf16_string_with_index=yes 47666else 47667 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf16_string_with_index=no 47668fi 47669rm -f core conftest.err conftest.$ac_objext \ 47670 conftest$ac_exeext conftest.$ac_ext 47671LIBS=$ac_check_lib_save_LIBS 47672fi 47673{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf16_string_with_index" >&5 47674$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf16_string_with_index" >&6; } 47675if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf16_string_with_index" = xyes; then : 47676 ac_cv_libfdatetime_dummy=yes 47677else 47678 ac_cv_libfdatetime=no 47679fi 47680 47681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_copy_to_utf32_string in -lfdatetime" >&5 47682$as_echo_n "checking for libfdatetime_posix_time_copy_to_utf32_string in -lfdatetime... " >&6; } 47683if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf32_string+:} false; then : 47684 $as_echo_n "(cached) " >&6 47685else 47686 ac_check_lib_save_LIBS=$LIBS 47687LIBS="-lfdatetime $LIBS" 47688cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47689/* end confdefs.h. */ 47690 47691/* Override any GCC internal prototype to avoid an error. 47692 Use char because int might match the return type of a GCC 47693 builtin and then its argument prototype would still apply. */ 47694#ifdef __cplusplus 47695extern "C" 47696#endif 47697char libfdatetime_posix_time_copy_to_utf32_string (); 47698int 47699main () 47700{ 47701return libfdatetime_posix_time_copy_to_utf32_string (); 47702 ; 47703 return 0; 47704} 47705_ACEOF 47706if ac_fn_c_try_link "$LINENO"; then : 47707 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf32_string=yes 47708else 47709 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf32_string=no 47710fi 47711rm -f core conftest.err conftest.$ac_objext \ 47712 conftest$ac_exeext conftest.$ac_ext 47713LIBS=$ac_check_lib_save_LIBS 47714fi 47715{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf32_string" >&5 47716$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf32_string" >&6; } 47717if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf32_string" = xyes; then : 47718 ac_cv_libfdatetime_dummy=yes 47719else 47720 ac_cv_libfdatetime=no 47721fi 47722 47723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_copy_to_utf32_string_with_index in -lfdatetime" >&5 47724$as_echo_n "checking for libfdatetime_posix_time_copy_to_utf32_string_with_index in -lfdatetime... " >&6; } 47725if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf32_string_with_index+:} false; then : 47726 $as_echo_n "(cached) " >&6 47727else 47728 ac_check_lib_save_LIBS=$LIBS 47729LIBS="-lfdatetime $LIBS" 47730cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47731/* end confdefs.h. */ 47732 47733/* Override any GCC internal prototype to avoid an error. 47734 Use char because int might match the return type of a GCC 47735 builtin and then its argument prototype would still apply. */ 47736#ifdef __cplusplus 47737extern "C" 47738#endif 47739char libfdatetime_posix_time_copy_to_utf32_string_with_index (); 47740int 47741main () 47742{ 47743return libfdatetime_posix_time_copy_to_utf32_string_with_index (); 47744 ; 47745 return 0; 47746} 47747_ACEOF 47748if ac_fn_c_try_link "$LINENO"; then : 47749 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf32_string_with_index=yes 47750else 47751 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf32_string_with_index=no 47752fi 47753rm -f core conftest.err conftest.$ac_objext \ 47754 conftest$ac_exeext conftest.$ac_ext 47755LIBS=$ac_check_lib_save_LIBS 47756fi 47757{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf32_string_with_index" >&5 47758$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf32_string_with_index" >&6; } 47759if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf32_string_with_index" = xyes; then : 47760 ac_cv_libfdatetime_dummy=yes 47761else 47762 ac_cv_libfdatetime=no 47763fi 47764 47765 47766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_systemetime_initialize in -lfdatetime" >&5 47767$as_echo_n "checking for libfdatetime_systemetime_initialize in -lfdatetime... " >&6; } 47768if ${ac_cv_lib_fdatetime_libfdatetime_systemetime_initialize+:} false; then : 47769 $as_echo_n "(cached) " >&6 47770else 47771 ac_check_lib_save_LIBS=$LIBS 47772LIBS="-lfdatetime $LIBS" 47773cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47774/* end confdefs.h. */ 47775 47776/* Override any GCC internal prototype to avoid an error. 47777 Use char because int might match the return type of a GCC 47778 builtin and then its argument prototype would still apply. */ 47779#ifdef __cplusplus 47780extern "C" 47781#endif 47782char libfdatetime_systemetime_initialize (); 47783int 47784main () 47785{ 47786return libfdatetime_systemetime_initialize (); 47787 ; 47788 return 0; 47789} 47790_ACEOF 47791if ac_fn_c_try_link "$LINENO"; then : 47792 ac_cv_lib_fdatetime_libfdatetime_systemetime_initialize=yes 47793else 47794 ac_cv_lib_fdatetime_libfdatetime_systemetime_initialize=no 47795fi 47796rm -f core conftest.err conftest.$ac_objext \ 47797 conftest$ac_exeext conftest.$ac_ext 47798LIBS=$ac_check_lib_save_LIBS 47799fi 47800{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_systemetime_initialize" >&5 47801$as_echo "$ac_cv_lib_fdatetime_libfdatetime_systemetime_initialize" >&6; } 47802if test "x$ac_cv_lib_fdatetime_libfdatetime_systemetime_initialize" = xyes; then : 47803 ac_cv_libfdatetime_dummy=yes 47804else 47805 ac_cv_libfdatetime=no 47806fi 47807 47808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_systemetime_free in -lfdatetime" >&5 47809$as_echo_n "checking for libfdatetime_systemetime_free in -lfdatetime... " >&6; } 47810if ${ac_cv_lib_fdatetime_libfdatetime_systemetime_free+:} false; then : 47811 $as_echo_n "(cached) " >&6 47812else 47813 ac_check_lib_save_LIBS=$LIBS 47814LIBS="-lfdatetime $LIBS" 47815cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47816/* end confdefs.h. */ 47817 47818/* Override any GCC internal prototype to avoid an error. 47819 Use char because int might match the return type of a GCC 47820 builtin and then its argument prototype would still apply. */ 47821#ifdef __cplusplus 47822extern "C" 47823#endif 47824char libfdatetime_systemetime_free (); 47825int 47826main () 47827{ 47828return libfdatetime_systemetime_free (); 47829 ; 47830 return 0; 47831} 47832_ACEOF 47833if ac_fn_c_try_link "$LINENO"; then : 47834 ac_cv_lib_fdatetime_libfdatetime_systemetime_free=yes 47835else 47836 ac_cv_lib_fdatetime_libfdatetime_systemetime_free=no 47837fi 47838rm -f core conftest.err conftest.$ac_objext \ 47839 conftest$ac_exeext conftest.$ac_ext 47840LIBS=$ac_check_lib_save_LIBS 47841fi 47842{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_systemetime_free" >&5 47843$as_echo "$ac_cv_lib_fdatetime_libfdatetime_systemetime_free" >&6; } 47844if test "x$ac_cv_lib_fdatetime_libfdatetime_systemetime_free" = xyes; then : 47845 ac_cv_libfdatetime_dummy=yes 47846else 47847 ac_cv_libfdatetime=no 47848fi 47849 47850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_systemetime_copy_from_byte_stream in -lfdatetime" >&5 47851$as_echo_n "checking for libfdatetime_systemetime_copy_from_byte_stream in -lfdatetime... " >&6; } 47852if ${ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_from_byte_stream+:} false; then : 47853 $as_echo_n "(cached) " >&6 47854else 47855 ac_check_lib_save_LIBS=$LIBS 47856LIBS="-lfdatetime $LIBS" 47857cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47858/* end confdefs.h. */ 47859 47860/* Override any GCC internal prototype to avoid an error. 47861 Use char because int might match the return type of a GCC 47862 builtin and then its argument prototype would still apply. */ 47863#ifdef __cplusplus 47864extern "C" 47865#endif 47866char libfdatetime_systemetime_copy_from_byte_stream (); 47867int 47868main () 47869{ 47870return libfdatetime_systemetime_copy_from_byte_stream (); 47871 ; 47872 return 0; 47873} 47874_ACEOF 47875if ac_fn_c_try_link "$LINENO"; then : 47876 ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_from_byte_stream=yes 47877else 47878 ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_from_byte_stream=no 47879fi 47880rm -f core conftest.err conftest.$ac_objext \ 47881 conftest$ac_exeext conftest.$ac_ext 47882LIBS=$ac_check_lib_save_LIBS 47883fi 47884{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_from_byte_stream" >&5 47885$as_echo "$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_from_byte_stream" >&6; } 47886if test "x$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_from_byte_stream" = xyes; then : 47887 ac_cv_libfdatetime_dummy=yes 47888else 47889 ac_cv_libfdatetime=no 47890fi 47891 47892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_systemetime_copy_to_utf8_string in -lfdatetime" >&5 47893$as_echo_n "checking for libfdatetime_systemetime_copy_to_utf8_string in -lfdatetime... " >&6; } 47894if ${ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf8_string+:} false; then : 47895 $as_echo_n "(cached) " >&6 47896else 47897 ac_check_lib_save_LIBS=$LIBS 47898LIBS="-lfdatetime $LIBS" 47899cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47900/* end confdefs.h. */ 47901 47902/* Override any GCC internal prototype to avoid an error. 47903 Use char because int might match the return type of a GCC 47904 builtin and then its argument prototype would still apply. */ 47905#ifdef __cplusplus 47906extern "C" 47907#endif 47908char libfdatetime_systemetime_copy_to_utf8_string (); 47909int 47910main () 47911{ 47912return libfdatetime_systemetime_copy_to_utf8_string (); 47913 ; 47914 return 0; 47915} 47916_ACEOF 47917if ac_fn_c_try_link "$LINENO"; then : 47918 ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf8_string=yes 47919else 47920 ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf8_string=no 47921fi 47922rm -f core conftest.err conftest.$ac_objext \ 47923 conftest$ac_exeext conftest.$ac_ext 47924LIBS=$ac_check_lib_save_LIBS 47925fi 47926{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf8_string" >&5 47927$as_echo "$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf8_string" >&6; } 47928if test "x$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf8_string" = xyes; then : 47929 ac_cv_libfdatetime_dummy=yes 47930else 47931 ac_cv_libfdatetime=no 47932fi 47933 47934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_systemetime_copy_to_utf8_string_with_index in -lfdatetime" >&5 47935$as_echo_n "checking for libfdatetime_systemetime_copy_to_utf8_string_with_index in -lfdatetime... " >&6; } 47936if ${ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf8_string_with_index+:} false; then : 47937 $as_echo_n "(cached) " >&6 47938else 47939 ac_check_lib_save_LIBS=$LIBS 47940LIBS="-lfdatetime $LIBS" 47941cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47942/* end confdefs.h. */ 47943 47944/* Override any GCC internal prototype to avoid an error. 47945 Use char because int might match the return type of a GCC 47946 builtin and then its argument prototype would still apply. */ 47947#ifdef __cplusplus 47948extern "C" 47949#endif 47950char libfdatetime_systemetime_copy_to_utf8_string_with_index (); 47951int 47952main () 47953{ 47954return libfdatetime_systemetime_copy_to_utf8_string_with_index (); 47955 ; 47956 return 0; 47957} 47958_ACEOF 47959if ac_fn_c_try_link "$LINENO"; then : 47960 ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf8_string_with_index=yes 47961else 47962 ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf8_string_with_index=no 47963fi 47964rm -f core conftest.err conftest.$ac_objext \ 47965 conftest$ac_exeext conftest.$ac_ext 47966LIBS=$ac_check_lib_save_LIBS 47967fi 47968{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf8_string_with_index" >&5 47969$as_echo "$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf8_string_with_index" >&6; } 47970if test "x$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf8_string_with_index" = xyes; then : 47971 ac_cv_libfdatetime_dummy=yes 47972else 47973 ac_cv_libfdatetime=no 47974fi 47975 47976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_systemetime_copy_to_utf16_string in -lfdatetime" >&5 47977$as_echo_n "checking for libfdatetime_systemetime_copy_to_utf16_string in -lfdatetime... " >&6; } 47978if ${ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf16_string+:} false; then : 47979 $as_echo_n "(cached) " >&6 47980else 47981 ac_check_lib_save_LIBS=$LIBS 47982LIBS="-lfdatetime $LIBS" 47983cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47984/* end confdefs.h. */ 47985 47986/* Override any GCC internal prototype to avoid an error. 47987 Use char because int might match the return type of a GCC 47988 builtin and then its argument prototype would still apply. */ 47989#ifdef __cplusplus 47990extern "C" 47991#endif 47992char libfdatetime_systemetime_copy_to_utf16_string (); 47993int 47994main () 47995{ 47996return libfdatetime_systemetime_copy_to_utf16_string (); 47997 ; 47998 return 0; 47999} 48000_ACEOF 48001if ac_fn_c_try_link "$LINENO"; then : 48002 ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf16_string=yes 48003else 48004 ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf16_string=no 48005fi 48006rm -f core conftest.err conftest.$ac_objext \ 48007 conftest$ac_exeext conftest.$ac_ext 48008LIBS=$ac_check_lib_save_LIBS 48009fi 48010{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf16_string" >&5 48011$as_echo "$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf16_string" >&6; } 48012if test "x$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf16_string" = xyes; then : 48013 ac_cv_libfdatetime_dummy=yes 48014else 48015 ac_cv_libfdatetime=no 48016fi 48017 48018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_systemetime_copy_to_utf16_string_with_index in -lfdatetime" >&5 48019$as_echo_n "checking for libfdatetime_systemetime_copy_to_utf16_string_with_index in -lfdatetime... " >&6; } 48020if ${ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf16_string_with_index+:} false; then : 48021 $as_echo_n "(cached) " >&6 48022else 48023 ac_check_lib_save_LIBS=$LIBS 48024LIBS="-lfdatetime $LIBS" 48025cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48026/* end confdefs.h. */ 48027 48028/* Override any GCC internal prototype to avoid an error. 48029 Use char because int might match the return type of a GCC 48030 builtin and then its argument prototype would still apply. */ 48031#ifdef __cplusplus 48032extern "C" 48033#endif 48034char libfdatetime_systemetime_copy_to_utf16_string_with_index (); 48035int 48036main () 48037{ 48038return libfdatetime_systemetime_copy_to_utf16_string_with_index (); 48039 ; 48040 return 0; 48041} 48042_ACEOF 48043if ac_fn_c_try_link "$LINENO"; then : 48044 ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf16_string_with_index=yes 48045else 48046 ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf16_string_with_index=no 48047fi 48048rm -f core conftest.err conftest.$ac_objext \ 48049 conftest$ac_exeext conftest.$ac_ext 48050LIBS=$ac_check_lib_save_LIBS 48051fi 48052{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf16_string_with_index" >&5 48053$as_echo "$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf16_string_with_index" >&6; } 48054if test "x$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf16_string_with_index" = xyes; then : 48055 ac_cv_libfdatetime_dummy=yes 48056else 48057 ac_cv_libfdatetime=no 48058fi 48059 48060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_systemetime_copy_to_utf32_string in -lfdatetime" >&5 48061$as_echo_n "checking for libfdatetime_systemetime_copy_to_utf32_string in -lfdatetime... " >&6; } 48062if ${ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf32_string+:} false; then : 48063 $as_echo_n "(cached) " >&6 48064else 48065 ac_check_lib_save_LIBS=$LIBS 48066LIBS="-lfdatetime $LIBS" 48067cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48068/* end confdefs.h. */ 48069 48070/* Override any GCC internal prototype to avoid an error. 48071 Use char because int might match the return type of a GCC 48072 builtin and then its argument prototype would still apply. */ 48073#ifdef __cplusplus 48074extern "C" 48075#endif 48076char libfdatetime_systemetime_copy_to_utf32_string (); 48077int 48078main () 48079{ 48080return libfdatetime_systemetime_copy_to_utf32_string (); 48081 ; 48082 return 0; 48083} 48084_ACEOF 48085if ac_fn_c_try_link "$LINENO"; then : 48086 ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf32_string=yes 48087else 48088 ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf32_string=no 48089fi 48090rm -f core conftest.err conftest.$ac_objext \ 48091 conftest$ac_exeext conftest.$ac_ext 48092LIBS=$ac_check_lib_save_LIBS 48093fi 48094{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf32_string" >&5 48095$as_echo "$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf32_string" >&6; } 48096if test "x$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf32_string" = xyes; then : 48097 ac_cv_libfdatetime_dummy=yes 48098else 48099 ac_cv_libfdatetime=no 48100fi 48101 48102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_systemetime_copy_to_utf32_string_with_index in -lfdatetime" >&5 48103$as_echo_n "checking for libfdatetime_systemetime_copy_to_utf32_string_with_index in -lfdatetime... " >&6; } 48104if ${ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf32_string_with_index+:} false; then : 48105 $as_echo_n "(cached) " >&6 48106else 48107 ac_check_lib_save_LIBS=$LIBS 48108LIBS="-lfdatetime $LIBS" 48109cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48110/* end confdefs.h. */ 48111 48112/* Override any GCC internal prototype to avoid an error. 48113 Use char because int might match the return type of a GCC 48114 builtin and then its argument prototype would still apply. */ 48115#ifdef __cplusplus 48116extern "C" 48117#endif 48118char libfdatetime_systemetime_copy_to_utf32_string_with_index (); 48119int 48120main () 48121{ 48122return libfdatetime_systemetime_copy_to_utf32_string_with_index (); 48123 ; 48124 return 0; 48125} 48126_ACEOF 48127if ac_fn_c_try_link "$LINENO"; then : 48128 ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf32_string_with_index=yes 48129else 48130 ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf32_string_with_index=no 48131fi 48132rm -f core conftest.err conftest.$ac_objext \ 48133 conftest$ac_exeext conftest.$ac_ext 48134LIBS=$ac_check_lib_save_LIBS 48135fi 48136{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf32_string_with_index" >&5 48137$as_echo "$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf32_string_with_index" >&6; } 48138if test "x$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf32_string_with_index" = xyes; then : 48139 ac_cv_libfdatetime_dummy=yes 48140else 48141 ac_cv_libfdatetime=no 48142fi 48143 48144 48145 ac_cv_libfdatetime_LIBADD="-lfdatetime" 48146fi 48147 48148fi 48149 if test "x$ac_cv_with_libfdatetime" != x && test "x$ac_cv_with_libfdatetime" != xauto-detect && test "x$ac_cv_libfdatetime" != xyes; then : 48150 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 48151$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 48152as_fn_error 1 "unable to find supported libfdatetime in directory: $ac_cv_with_libfdatetime 48153See \`config.log' for more details" "$LINENO" 5; } 48154 48155fi 48156 48157fi 48158 48159 if test "x$ac_cv_libfdatetime" = xyes; then : 48160 48161$as_echo "#define HAVE_LIBFDATETIME 1" >>confdefs.h 48162 48163 48164fi 48165 48166 if test "x$ac_cv_libfdatetime" = xyes; then : 48167 HAVE_LIBFDATETIME=1 48168 48169else 48170 HAVE_LIBFDATETIME=0 48171 48172 48173fi 48174 48175 48176 if test "x$ac_cv_libfdatetime" != xyes; then : 48177 48178 ac_cv_libfdatetime_CPPFLAGS="-I../libfdatetime"; 48179 ac_cv_libfdatetime_LIBADD="../libfdatetime/libfdatetime.la"; 48180 48181 ac_cv_libfdatetime=local 48182 48183 48184 48185$as_echo "#define HAVE_LOCAL_LIBFDATETIME 1" >>confdefs.h 48186 48187 HAVE_LOCAL_LIBFDATETIME=1 48188 48189 48190fi 48191 48192 if test "x$ac_cv_libfdatetime" = xlocal; then 48193 HAVE_LOCAL_LIBFDATETIME_TRUE= 48194 HAVE_LOCAL_LIBFDATETIME_FALSE='#' 48195else 48196 HAVE_LOCAL_LIBFDATETIME_TRUE='#' 48197 HAVE_LOCAL_LIBFDATETIME_FALSE= 48198fi 48199 48200 if test "x$ac_cv_libfdatetime_CPPFLAGS" != "x"; then : 48201 LIBFDATETIME_CPPFLAGS=$ac_cv_libfdatetime_CPPFLAGS 48202 48203 48204fi 48205 if test "x$ac_cv_libfdatetime_LIBADD" != "x"; then : 48206 LIBFDATETIME_LIBADD=$ac_cv_libfdatetime_LIBADD 48207 48208 48209fi 48210 48211 if test "x$ac_cv_libfdatetime" = xyes; then : 48212 ax_libfdatetime_pc_libs_private=-lfdatetime 48213 48214 48215fi 48216 48217 if test "x$ac_cv_libfdatetime" = xyes; then : 48218 ax_libfdatetime_spec_requires=libfdatetime 48219 48220 ax_libfdatetime_spec_build_requires=libfdatetime-devel 48221 48222 48223fi 48224 48225 48226 48227 48228# Check whether --with-libfwnt was given. 48229if test "${with_libfwnt+set}" = set; then : 48230 withval=$with_libfwnt; ac_cv_with_libfwnt=$withval 48231else 48232 ac_cv_with_libfwnt=auto-detect 48233fi 48234 48235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use search for libfwnt in includedir and libdir or in the specified DIR, or no if to use local version" >&5 48236$as_echo_n "checking whether to use search for libfwnt in includedir and libdir or in the specified DIR, or no if to use local version... " >&6; } 48237if ${ac_cv_with_libfwnt+:} false; then : 48238 $as_echo_n "(cached) " >&6 48239else 48240 ac_cv_with_libfwnt=auto-detect 48241fi 48242{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libfwnt" >&5 48243$as_echo "$ac_cv_with_libfwnt" >&6; } 48244 48245 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libfwnt" = xno; then : 48246 ac_cv_libfwnt=no 48247else 48248 ac_cv_libfwnt=check 48249 if test "x$ac_cv_with_libfwnt" != x && test "x$ac_cv_with_libfwnt" != xauto-detect; then : 48250 if test -d "$ac_cv_with_libfwnt"; then : 48251 CFLAGS="$CFLAGS -I${ac_cv_with_libfwnt}/include" 48252 LDFLAGS="$LDFLAGS -L${ac_cv_with_libfwnt}/lib" 48253else 48254 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 48255$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 48256as_fn_error 1 "no such directory: $ac_cv_with_libfwnt 48257See \`config.log' for more details" "$LINENO" 5; } 48258 48259fi 48260 48261else 48262 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 48263 48264pkg_failed=no 48265{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfwnt" >&5 48266$as_echo_n "checking for libfwnt... " >&6; } 48267 48268if test -n "$libfwnt_CFLAGS"; then 48269 pkg_cv_libfwnt_CFLAGS="$libfwnt_CFLAGS" 48270 elif test -n "$PKG_CONFIG"; then 48271 if test -n "$PKG_CONFIG" && \ 48272 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfwnt >= 20191217\""; } >&5 48273 ($PKG_CONFIG --exists --print-errors "libfwnt >= 20191217") 2>&5 48274 ac_status=$? 48275 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 48276 test $ac_status = 0; }; then 48277 pkg_cv_libfwnt_CFLAGS=`$PKG_CONFIG --cflags "libfwnt >= 20191217" 2>/dev/null` 48278 test "x$?" != "x0" && pkg_failed=yes 48279else 48280 pkg_failed=yes 48281fi 48282 else 48283 pkg_failed=untried 48284fi 48285if test -n "$libfwnt_LIBS"; then 48286 pkg_cv_libfwnt_LIBS="$libfwnt_LIBS" 48287 elif test -n "$PKG_CONFIG"; then 48288 if test -n "$PKG_CONFIG" && \ 48289 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfwnt >= 20191217\""; } >&5 48290 ($PKG_CONFIG --exists --print-errors "libfwnt >= 20191217") 2>&5 48291 ac_status=$? 48292 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 48293 test $ac_status = 0; }; then 48294 pkg_cv_libfwnt_LIBS=`$PKG_CONFIG --libs "libfwnt >= 20191217" 2>/dev/null` 48295 test "x$?" != "x0" && pkg_failed=yes 48296else 48297 pkg_failed=yes 48298fi 48299 else 48300 pkg_failed=untried 48301fi 48302 48303 48304 48305if test $pkg_failed = yes; then 48306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 48307$as_echo "no" >&6; } 48308 48309if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 48310 _pkg_short_errors_supported=yes 48311else 48312 _pkg_short_errors_supported=no 48313fi 48314 if test $_pkg_short_errors_supported = yes; then 48315 libfwnt_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libfwnt >= 20191217" 2>&1` 48316 else 48317 libfwnt_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libfwnt >= 20191217" 2>&1` 48318 fi 48319 # Put the nasty error message in config.log where it belongs 48320 echo "$libfwnt_PKG_ERRORS" >&5 48321 48322 ac_cv_libfwnt=check 48323elif test $pkg_failed = untried; then 48324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 48325$as_echo "no" >&6; } 48326 ac_cv_libfwnt=check 48327else 48328 libfwnt_CFLAGS=$pkg_cv_libfwnt_CFLAGS 48329 libfwnt_LIBS=$pkg_cv_libfwnt_LIBS 48330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 48331$as_echo "yes" >&6; } 48332 ac_cv_libfwnt=yes 48333fi 48334 48335fi 48336 if test "x$ac_cv_libfwnt" = xyes; then : 48337 ac_cv_libfwnt_CPPFLAGS="$pkg_cv_libfwnt_CFLAGS" 48338 ac_cv_libfwnt_LIBADD="$pkg_cv_libfwnt_LIBS" 48339fi 48340 48341fi 48342 48343 if test "x$ac_cv_libfwnt" = xcheck; then : 48344 for ac_header in libfwnt.h 48345do : 48346 ac_fn_c_check_header_mongrel "$LINENO" "libfwnt.h" "ac_cv_header_libfwnt_h" "$ac_includes_default" 48347if test "x$ac_cv_header_libfwnt_h" = xyes; then : 48348 cat >>confdefs.h <<_ACEOF 48349#define HAVE_LIBFWNT_H 1 48350_ACEOF 48351 48352fi 48353 48354done 48355 48356 48357 if test "x$ac_cv_header_libfwnt_h" = xno; then : 48358 ac_cv_libfwnt=no 48359else 48360 ac_cv_libfwnt=yes 48361 48362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfwnt_get_version in -lfwnt" >&5 48363$as_echo_n "checking for libfwnt_get_version in -lfwnt... " >&6; } 48364if ${ac_cv_lib_fwnt_libfwnt_get_version+:} false; then : 48365 $as_echo_n "(cached) " >&6 48366else 48367 ac_check_lib_save_LIBS=$LIBS 48368LIBS="-lfwnt $LIBS" 48369cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48370/* end confdefs.h. */ 48371 48372/* Override any GCC internal prototype to avoid an error. 48373 Use char because int might match the return type of a GCC 48374 builtin and then its argument prototype would still apply. */ 48375#ifdef __cplusplus 48376extern "C" 48377#endif 48378char libfwnt_get_version (); 48379int 48380main () 48381{ 48382return libfwnt_get_version (); 48383 ; 48384 return 0; 48385} 48386_ACEOF 48387if ac_fn_c_try_link "$LINENO"; then : 48388 ac_cv_lib_fwnt_libfwnt_get_version=yes 48389else 48390 ac_cv_lib_fwnt_libfwnt_get_version=no 48391fi 48392rm -f core conftest.err conftest.$ac_objext \ 48393 conftest$ac_exeext conftest.$ac_ext 48394LIBS=$ac_check_lib_save_LIBS 48395fi 48396{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fwnt_libfwnt_get_version" >&5 48397$as_echo "$ac_cv_lib_fwnt_libfwnt_get_version" >&6; } 48398if test "x$ac_cv_lib_fwnt_libfwnt_get_version" = xyes; then : 48399 ac_cv_libfwnt_dummy=yes 48400else 48401 ac_cv_libfwnt=no 48402fi 48403 48404 48405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfwnt_security_descriptor_initialize in -lfwnt" >&5 48406$as_echo_n "checking for libfwnt_security_descriptor_initialize in -lfwnt... " >&6; } 48407if ${ac_cv_lib_fwnt_libfwnt_security_descriptor_initialize+:} false; then : 48408 $as_echo_n "(cached) " >&6 48409else 48410 ac_check_lib_save_LIBS=$LIBS 48411LIBS="-lfwnt $LIBS" 48412cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48413/* end confdefs.h. */ 48414 48415/* Override any GCC internal prototype to avoid an error. 48416 Use char because int might match the return type of a GCC 48417 builtin and then its argument prototype would still apply. */ 48418#ifdef __cplusplus 48419extern "C" 48420#endif 48421char libfwnt_security_descriptor_initialize (); 48422int 48423main () 48424{ 48425return libfwnt_security_descriptor_initialize (); 48426 ; 48427 return 0; 48428} 48429_ACEOF 48430if ac_fn_c_try_link "$LINENO"; then : 48431 ac_cv_lib_fwnt_libfwnt_security_descriptor_initialize=yes 48432else 48433 ac_cv_lib_fwnt_libfwnt_security_descriptor_initialize=no 48434fi 48435rm -f core conftest.err conftest.$ac_objext \ 48436 conftest$ac_exeext conftest.$ac_ext 48437LIBS=$ac_check_lib_save_LIBS 48438fi 48439{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fwnt_libfwnt_security_descriptor_initialize" >&5 48440$as_echo "$ac_cv_lib_fwnt_libfwnt_security_descriptor_initialize" >&6; } 48441if test "x$ac_cv_lib_fwnt_libfwnt_security_descriptor_initialize" = xyes; then : 48442 ac_cv_libfwnt_dummy=yes 48443else 48444 ac_cv_libfwnt=no 48445fi 48446 48447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfwnt_security_descriptor_free in -lfwnt" >&5 48448$as_echo_n "checking for libfwnt_security_descriptor_free in -lfwnt... " >&6; } 48449if ${ac_cv_lib_fwnt_libfwnt_security_descriptor_free+:} false; then : 48450 $as_echo_n "(cached) " >&6 48451else 48452 ac_check_lib_save_LIBS=$LIBS 48453LIBS="-lfwnt $LIBS" 48454cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48455/* end confdefs.h. */ 48456 48457/* Override any GCC internal prototype to avoid an error. 48458 Use char because int might match the return type of a GCC 48459 builtin and then its argument prototype would still apply. */ 48460#ifdef __cplusplus 48461extern "C" 48462#endif 48463char libfwnt_security_descriptor_free (); 48464int 48465main () 48466{ 48467return libfwnt_security_descriptor_free (); 48468 ; 48469 return 0; 48470} 48471_ACEOF 48472if ac_fn_c_try_link "$LINENO"; then : 48473 ac_cv_lib_fwnt_libfwnt_security_descriptor_free=yes 48474else 48475 ac_cv_lib_fwnt_libfwnt_security_descriptor_free=no 48476fi 48477rm -f core conftest.err conftest.$ac_objext \ 48478 conftest$ac_exeext conftest.$ac_ext 48479LIBS=$ac_check_lib_save_LIBS 48480fi 48481{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fwnt_libfwnt_security_descriptor_free" >&5 48482$as_echo "$ac_cv_lib_fwnt_libfwnt_security_descriptor_free" >&6; } 48483if test "x$ac_cv_lib_fwnt_libfwnt_security_descriptor_free" = xyes; then : 48484 ac_cv_libfwnt_dummy=yes 48485else 48486 ac_cv_libfwnt=no 48487fi 48488 48489 48490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfwnt_security_descriptor_copy_from_byte_stream in -lfwnt" >&5 48491$as_echo_n "checking for libfwnt_security_descriptor_copy_from_byte_stream in -lfwnt... " >&6; } 48492if ${ac_cv_lib_fwnt_libfwnt_security_descriptor_copy_from_byte_stream+:} false; then : 48493 $as_echo_n "(cached) " >&6 48494else 48495 ac_check_lib_save_LIBS=$LIBS 48496LIBS="-lfwnt $LIBS" 48497cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48498/* end confdefs.h. */ 48499 48500/* Override any GCC internal prototype to avoid an error. 48501 Use char because int might match the return type of a GCC 48502 builtin and then its argument prototype would still apply. */ 48503#ifdef __cplusplus 48504extern "C" 48505#endif 48506char libfwnt_security_descriptor_copy_from_byte_stream (); 48507int 48508main () 48509{ 48510return libfwnt_security_descriptor_copy_from_byte_stream (); 48511 ; 48512 return 0; 48513} 48514_ACEOF 48515if ac_fn_c_try_link "$LINENO"; then : 48516 ac_cv_lib_fwnt_libfwnt_security_descriptor_copy_from_byte_stream=yes 48517else 48518 ac_cv_lib_fwnt_libfwnt_security_descriptor_copy_from_byte_stream=no 48519fi 48520rm -f core conftest.err conftest.$ac_objext \ 48521 conftest$ac_exeext conftest.$ac_ext 48522LIBS=$ac_check_lib_save_LIBS 48523fi 48524{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fwnt_libfwnt_security_descriptor_copy_from_byte_stream" >&5 48525$as_echo "$ac_cv_lib_fwnt_libfwnt_security_descriptor_copy_from_byte_stream" >&6; } 48526if test "x$ac_cv_lib_fwnt_libfwnt_security_descriptor_copy_from_byte_stream" = xyes; then : 48527 ac_cv_libfwnt_dummy=yes 48528else 48529 ac_cv_libfwnt=no 48530fi 48531 48532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfwnt_security_descriptor_get_owner in -lfwnt" >&5 48533$as_echo_n "checking for libfwnt_security_descriptor_get_owner in -lfwnt... " >&6; } 48534if ${ac_cv_lib_fwnt_libfwnt_security_descriptor_get_owner+:} false; then : 48535 $as_echo_n "(cached) " >&6 48536else 48537 ac_check_lib_save_LIBS=$LIBS 48538LIBS="-lfwnt $LIBS" 48539cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48540/* end confdefs.h. */ 48541 48542/* Override any GCC internal prototype to avoid an error. 48543 Use char because int might match the return type of a GCC 48544 builtin and then its argument prototype would still apply. */ 48545#ifdef __cplusplus 48546extern "C" 48547#endif 48548char libfwnt_security_descriptor_get_owner (); 48549int 48550main () 48551{ 48552return libfwnt_security_descriptor_get_owner (); 48553 ; 48554 return 0; 48555} 48556_ACEOF 48557if ac_fn_c_try_link "$LINENO"; then : 48558 ac_cv_lib_fwnt_libfwnt_security_descriptor_get_owner=yes 48559else 48560 ac_cv_lib_fwnt_libfwnt_security_descriptor_get_owner=no 48561fi 48562rm -f core conftest.err conftest.$ac_objext \ 48563 conftest$ac_exeext conftest.$ac_ext 48564LIBS=$ac_check_lib_save_LIBS 48565fi 48566{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fwnt_libfwnt_security_descriptor_get_owner" >&5 48567$as_echo "$ac_cv_lib_fwnt_libfwnt_security_descriptor_get_owner" >&6; } 48568if test "x$ac_cv_lib_fwnt_libfwnt_security_descriptor_get_owner" = xyes; then : 48569 ac_cv_libfwnt_dummy=yes 48570else 48571 ac_cv_libfwnt=no 48572fi 48573 48574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfwnt_security_descriptor_get_group in -lfwnt" >&5 48575$as_echo_n "checking for libfwnt_security_descriptor_get_group in -lfwnt... " >&6; } 48576if ${ac_cv_lib_fwnt_libfwnt_security_descriptor_get_group+:} false; then : 48577 $as_echo_n "(cached) " >&6 48578else 48579 ac_check_lib_save_LIBS=$LIBS 48580LIBS="-lfwnt $LIBS" 48581cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48582/* end confdefs.h. */ 48583 48584/* Override any GCC internal prototype to avoid an error. 48585 Use char because int might match the return type of a GCC 48586 builtin and then its argument prototype would still apply. */ 48587#ifdef __cplusplus 48588extern "C" 48589#endif 48590char libfwnt_security_descriptor_get_group (); 48591int 48592main () 48593{ 48594return libfwnt_security_descriptor_get_group (); 48595 ; 48596 return 0; 48597} 48598_ACEOF 48599if ac_fn_c_try_link "$LINENO"; then : 48600 ac_cv_lib_fwnt_libfwnt_security_descriptor_get_group=yes 48601else 48602 ac_cv_lib_fwnt_libfwnt_security_descriptor_get_group=no 48603fi 48604rm -f core conftest.err conftest.$ac_objext \ 48605 conftest$ac_exeext conftest.$ac_ext 48606LIBS=$ac_check_lib_save_LIBS 48607fi 48608{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fwnt_libfwnt_security_descriptor_get_group" >&5 48609$as_echo "$ac_cv_lib_fwnt_libfwnt_security_descriptor_get_group" >&6; } 48610if test "x$ac_cv_lib_fwnt_libfwnt_security_descriptor_get_group" = xyes; then : 48611 ac_cv_libfwnt_dummy=yes 48612else 48613 ac_cv_libfwnt=no 48614fi 48615 48616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfwnt_security_descriptor_get_discretionary_acl in -lfwnt" >&5 48617$as_echo_n "checking for libfwnt_security_descriptor_get_discretionary_acl in -lfwnt... " >&6; } 48618if ${ac_cv_lib_fwnt_libfwnt_security_descriptor_get_discretionary_acl+:} false; then : 48619 $as_echo_n "(cached) " >&6 48620else 48621 ac_check_lib_save_LIBS=$LIBS 48622LIBS="-lfwnt $LIBS" 48623cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48624/* end confdefs.h. */ 48625 48626/* Override any GCC internal prototype to avoid an error. 48627 Use char because int might match the return type of a GCC 48628 builtin and then its argument prototype would still apply. */ 48629#ifdef __cplusplus 48630extern "C" 48631#endif 48632char libfwnt_security_descriptor_get_discretionary_acl (); 48633int 48634main () 48635{ 48636return libfwnt_security_descriptor_get_discretionary_acl (); 48637 ; 48638 return 0; 48639} 48640_ACEOF 48641if ac_fn_c_try_link "$LINENO"; then : 48642 ac_cv_lib_fwnt_libfwnt_security_descriptor_get_discretionary_acl=yes 48643else 48644 ac_cv_lib_fwnt_libfwnt_security_descriptor_get_discretionary_acl=no 48645fi 48646rm -f core conftest.err conftest.$ac_objext \ 48647 conftest$ac_exeext conftest.$ac_ext 48648LIBS=$ac_check_lib_save_LIBS 48649fi 48650{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fwnt_libfwnt_security_descriptor_get_discretionary_acl" >&5 48651$as_echo "$ac_cv_lib_fwnt_libfwnt_security_descriptor_get_discretionary_acl" >&6; } 48652if test "x$ac_cv_lib_fwnt_libfwnt_security_descriptor_get_discretionary_acl" = xyes; then : 48653 ac_cv_libfwnt_dummy=yes 48654else 48655 ac_cv_libfwnt=no 48656fi 48657 48658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfwnt_security_descriptor_get_system_acl in -lfwnt" >&5 48659$as_echo_n "checking for libfwnt_security_descriptor_get_system_acl in -lfwnt... " >&6; } 48660if ${ac_cv_lib_fwnt_libfwnt_security_descriptor_get_system_acl+:} false; then : 48661 $as_echo_n "(cached) " >&6 48662else 48663 ac_check_lib_save_LIBS=$LIBS 48664LIBS="-lfwnt $LIBS" 48665cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48666/* end confdefs.h. */ 48667 48668/* Override any GCC internal prototype to avoid an error. 48669 Use char because int might match the return type of a GCC 48670 builtin and then its argument prototype would still apply. */ 48671#ifdef __cplusplus 48672extern "C" 48673#endif 48674char libfwnt_security_descriptor_get_system_acl (); 48675int 48676main () 48677{ 48678return libfwnt_security_descriptor_get_system_acl (); 48679 ; 48680 return 0; 48681} 48682_ACEOF 48683if ac_fn_c_try_link "$LINENO"; then : 48684 ac_cv_lib_fwnt_libfwnt_security_descriptor_get_system_acl=yes 48685else 48686 ac_cv_lib_fwnt_libfwnt_security_descriptor_get_system_acl=no 48687fi 48688rm -f core conftest.err conftest.$ac_objext \ 48689 conftest$ac_exeext conftest.$ac_ext 48690LIBS=$ac_check_lib_save_LIBS 48691fi 48692{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fwnt_libfwnt_security_descriptor_get_system_acl" >&5 48693$as_echo "$ac_cv_lib_fwnt_libfwnt_security_descriptor_get_system_acl" >&6; } 48694if test "x$ac_cv_lib_fwnt_libfwnt_security_descriptor_get_system_acl" = xyes; then : 48695 ac_cv_libfwnt_dummy=yes 48696else 48697 ac_cv_libfwnt=no 48698fi 48699 48700 48701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfwnt_security_identifier_initialize in -lfwnt" >&5 48702$as_echo_n "checking for libfwnt_security_identifier_initialize in -lfwnt... " >&6; } 48703if ${ac_cv_lib_fwnt_libfwnt_security_identifier_initialize+:} false; then : 48704 $as_echo_n "(cached) " >&6 48705else 48706 ac_check_lib_save_LIBS=$LIBS 48707LIBS="-lfwnt $LIBS" 48708cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48709/* end confdefs.h. */ 48710 48711/* Override any GCC internal prototype to avoid an error. 48712 Use char because int might match the return type of a GCC 48713 builtin and then its argument prototype would still apply. */ 48714#ifdef __cplusplus 48715extern "C" 48716#endif 48717char libfwnt_security_identifier_initialize (); 48718int 48719main () 48720{ 48721return libfwnt_security_identifier_initialize (); 48722 ; 48723 return 0; 48724} 48725_ACEOF 48726if ac_fn_c_try_link "$LINENO"; then : 48727 ac_cv_lib_fwnt_libfwnt_security_identifier_initialize=yes 48728else 48729 ac_cv_lib_fwnt_libfwnt_security_identifier_initialize=no 48730fi 48731rm -f core conftest.err conftest.$ac_objext \ 48732 conftest$ac_exeext conftest.$ac_ext 48733LIBS=$ac_check_lib_save_LIBS 48734fi 48735{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fwnt_libfwnt_security_identifier_initialize" >&5 48736$as_echo "$ac_cv_lib_fwnt_libfwnt_security_identifier_initialize" >&6; } 48737if test "x$ac_cv_lib_fwnt_libfwnt_security_identifier_initialize" = xyes; then : 48738 ac_cv_libfwnt_dummy=yes 48739else 48740 ac_cv_libfwnt=no 48741fi 48742 48743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfwnt_security_identifier_free in -lfwnt" >&5 48744$as_echo_n "checking for libfwnt_security_identifier_free in -lfwnt... " >&6; } 48745if ${ac_cv_lib_fwnt_libfwnt_security_identifier_free+:} false; then : 48746 $as_echo_n "(cached) " >&6 48747else 48748 ac_check_lib_save_LIBS=$LIBS 48749LIBS="-lfwnt $LIBS" 48750cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48751/* end confdefs.h. */ 48752 48753/* Override any GCC internal prototype to avoid an error. 48754 Use char because int might match the return type of a GCC 48755 builtin and then its argument prototype would still apply. */ 48756#ifdef __cplusplus 48757extern "C" 48758#endif 48759char libfwnt_security_identifier_free (); 48760int 48761main () 48762{ 48763return libfwnt_security_identifier_free (); 48764 ; 48765 return 0; 48766} 48767_ACEOF 48768if ac_fn_c_try_link "$LINENO"; then : 48769 ac_cv_lib_fwnt_libfwnt_security_identifier_free=yes 48770else 48771 ac_cv_lib_fwnt_libfwnt_security_identifier_free=no 48772fi 48773rm -f core conftest.err conftest.$ac_objext \ 48774 conftest$ac_exeext conftest.$ac_ext 48775LIBS=$ac_check_lib_save_LIBS 48776fi 48777{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fwnt_libfwnt_security_identifier_free" >&5 48778$as_echo "$ac_cv_lib_fwnt_libfwnt_security_identifier_free" >&6; } 48779if test "x$ac_cv_lib_fwnt_libfwnt_security_identifier_free" = xyes; then : 48780 ac_cv_libfwnt_dummy=yes 48781else 48782 ac_cv_libfwnt=no 48783fi 48784 48785 48786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfwnt_security_identifier_copy_from_byte_stream in -lfwnt" >&5 48787$as_echo_n "checking for libfwnt_security_identifier_copy_from_byte_stream in -lfwnt... " >&6; } 48788if ${ac_cv_lib_fwnt_libfwnt_security_identifier_copy_from_byte_stream+:} false; then : 48789 $as_echo_n "(cached) " >&6 48790else 48791 ac_check_lib_save_LIBS=$LIBS 48792LIBS="-lfwnt $LIBS" 48793cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48794/* end confdefs.h. */ 48795 48796/* Override any GCC internal prototype to avoid an error. 48797 Use char because int might match the return type of a GCC 48798 builtin and then its argument prototype would still apply. */ 48799#ifdef __cplusplus 48800extern "C" 48801#endif 48802char libfwnt_security_identifier_copy_from_byte_stream (); 48803int 48804main () 48805{ 48806return libfwnt_security_identifier_copy_from_byte_stream (); 48807 ; 48808 return 0; 48809} 48810_ACEOF 48811if ac_fn_c_try_link "$LINENO"; then : 48812 ac_cv_lib_fwnt_libfwnt_security_identifier_copy_from_byte_stream=yes 48813else 48814 ac_cv_lib_fwnt_libfwnt_security_identifier_copy_from_byte_stream=no 48815fi 48816rm -f core conftest.err conftest.$ac_objext \ 48817 conftest$ac_exeext conftest.$ac_ext 48818LIBS=$ac_check_lib_save_LIBS 48819fi 48820{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fwnt_libfwnt_security_identifier_copy_from_byte_stream" >&5 48821$as_echo "$ac_cv_lib_fwnt_libfwnt_security_identifier_copy_from_byte_stream" >&6; } 48822if test "x$ac_cv_lib_fwnt_libfwnt_security_identifier_copy_from_byte_stream" = xyes; then : 48823 ac_cv_libfwnt_dummy=yes 48824else 48825 ac_cv_libfwnt=no 48826fi 48827 48828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfwnt_security_identifier_get_string_size in -lfwnt" >&5 48829$as_echo_n "checking for libfwnt_security_identifier_get_string_size in -lfwnt... " >&6; } 48830if ${ac_cv_lib_fwnt_libfwnt_security_identifier_get_string_size+:} false; then : 48831 $as_echo_n "(cached) " >&6 48832else 48833 ac_check_lib_save_LIBS=$LIBS 48834LIBS="-lfwnt $LIBS" 48835cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48836/* end confdefs.h. */ 48837 48838/* Override any GCC internal prototype to avoid an error. 48839 Use char because int might match the return type of a GCC 48840 builtin and then its argument prototype would still apply. */ 48841#ifdef __cplusplus 48842extern "C" 48843#endif 48844char libfwnt_security_identifier_get_string_size (); 48845int 48846main () 48847{ 48848return libfwnt_security_identifier_get_string_size (); 48849 ; 48850 return 0; 48851} 48852_ACEOF 48853if ac_fn_c_try_link "$LINENO"; then : 48854 ac_cv_lib_fwnt_libfwnt_security_identifier_get_string_size=yes 48855else 48856 ac_cv_lib_fwnt_libfwnt_security_identifier_get_string_size=no 48857fi 48858rm -f core conftest.err conftest.$ac_objext \ 48859 conftest$ac_exeext conftest.$ac_ext 48860LIBS=$ac_check_lib_save_LIBS 48861fi 48862{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fwnt_libfwnt_security_identifier_get_string_size" >&5 48863$as_echo "$ac_cv_lib_fwnt_libfwnt_security_identifier_get_string_size" >&6; } 48864if test "x$ac_cv_lib_fwnt_libfwnt_security_identifier_get_string_size" = xyes; then : 48865 ac_cv_libfwnt_dummy=yes 48866else 48867 ac_cv_libfwnt=no 48868fi 48869 48870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfwnt_security_identifier_copy_to_utf8_string in -lfwnt" >&5 48871$as_echo_n "checking for libfwnt_security_identifier_copy_to_utf8_string in -lfwnt... " >&6; } 48872if ${ac_cv_lib_fwnt_libfwnt_security_identifier_copy_to_utf8_string+:} false; then : 48873 $as_echo_n "(cached) " >&6 48874else 48875 ac_check_lib_save_LIBS=$LIBS 48876LIBS="-lfwnt $LIBS" 48877cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48878/* end confdefs.h. */ 48879 48880/* Override any GCC internal prototype to avoid an error. 48881 Use char because int might match the return type of a GCC 48882 builtin and then its argument prototype would still apply. */ 48883#ifdef __cplusplus 48884extern "C" 48885#endif 48886char libfwnt_security_identifier_copy_to_utf8_string (); 48887int 48888main () 48889{ 48890return libfwnt_security_identifier_copy_to_utf8_string (); 48891 ; 48892 return 0; 48893} 48894_ACEOF 48895if ac_fn_c_try_link "$LINENO"; then : 48896 ac_cv_lib_fwnt_libfwnt_security_identifier_copy_to_utf8_string=yes 48897else 48898 ac_cv_lib_fwnt_libfwnt_security_identifier_copy_to_utf8_string=no 48899fi 48900rm -f core conftest.err conftest.$ac_objext \ 48901 conftest$ac_exeext conftest.$ac_ext 48902LIBS=$ac_check_lib_save_LIBS 48903fi 48904{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fwnt_libfwnt_security_identifier_copy_to_utf8_string" >&5 48905$as_echo "$ac_cv_lib_fwnt_libfwnt_security_identifier_copy_to_utf8_string" >&6; } 48906if test "x$ac_cv_lib_fwnt_libfwnt_security_identifier_copy_to_utf8_string" = xyes; then : 48907 ac_cv_libfwnt_dummy=yes 48908else 48909 ac_cv_libfwnt=no 48910fi 48911 48912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfwnt_security_identifier_copy_to_utf8_string_with_index in -lfwnt" >&5 48913$as_echo_n "checking for libfwnt_security_identifier_copy_to_utf8_string_with_index in -lfwnt... " >&6; } 48914if ${ac_cv_lib_fwnt_libfwnt_security_identifier_copy_to_utf8_string_with_index+:} false; then : 48915 $as_echo_n "(cached) " >&6 48916else 48917 ac_check_lib_save_LIBS=$LIBS 48918LIBS="-lfwnt $LIBS" 48919cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48920/* end confdefs.h. */ 48921 48922/* Override any GCC internal prototype to avoid an error. 48923 Use char because int might match the return type of a GCC 48924 builtin and then its argument prototype would still apply. */ 48925#ifdef __cplusplus 48926extern "C" 48927#endif 48928char libfwnt_security_identifier_copy_to_utf8_string_with_index (); 48929int 48930main () 48931{ 48932return libfwnt_security_identifier_copy_to_utf8_string_with_index (); 48933 ; 48934 return 0; 48935} 48936_ACEOF 48937if ac_fn_c_try_link "$LINENO"; then : 48938 ac_cv_lib_fwnt_libfwnt_security_identifier_copy_to_utf8_string_with_index=yes 48939else 48940 ac_cv_lib_fwnt_libfwnt_security_identifier_copy_to_utf8_string_with_index=no 48941fi 48942rm -f core conftest.err conftest.$ac_objext \ 48943 conftest$ac_exeext conftest.$ac_ext 48944LIBS=$ac_check_lib_save_LIBS 48945fi 48946{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fwnt_libfwnt_security_identifier_copy_to_utf8_string_with_index" >&5 48947$as_echo "$ac_cv_lib_fwnt_libfwnt_security_identifier_copy_to_utf8_string_with_index" >&6; } 48948if test "x$ac_cv_lib_fwnt_libfwnt_security_identifier_copy_to_utf8_string_with_index" = xyes; then : 48949 ac_cv_libfwnt_dummy=yes 48950else 48951 ac_cv_libfwnt=no 48952fi 48953 48954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfwnt_security_identifier_copy_to_utf16_string in -lfwnt" >&5 48955$as_echo_n "checking for libfwnt_security_identifier_copy_to_utf16_string in -lfwnt... " >&6; } 48956if ${ac_cv_lib_fwnt_libfwnt_security_identifier_copy_to_utf16_string+:} false; then : 48957 $as_echo_n "(cached) " >&6 48958else 48959 ac_check_lib_save_LIBS=$LIBS 48960LIBS="-lfwnt $LIBS" 48961cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48962/* end confdefs.h. */ 48963 48964/* Override any GCC internal prototype to avoid an error. 48965 Use char because int might match the return type of a GCC 48966 builtin and then its argument prototype would still apply. */ 48967#ifdef __cplusplus 48968extern "C" 48969#endif 48970char libfwnt_security_identifier_copy_to_utf16_string (); 48971int 48972main () 48973{ 48974return libfwnt_security_identifier_copy_to_utf16_string (); 48975 ; 48976 return 0; 48977} 48978_ACEOF 48979if ac_fn_c_try_link "$LINENO"; then : 48980 ac_cv_lib_fwnt_libfwnt_security_identifier_copy_to_utf16_string=yes 48981else 48982 ac_cv_lib_fwnt_libfwnt_security_identifier_copy_to_utf16_string=no 48983fi 48984rm -f core conftest.err conftest.$ac_objext \ 48985 conftest$ac_exeext conftest.$ac_ext 48986LIBS=$ac_check_lib_save_LIBS 48987fi 48988{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fwnt_libfwnt_security_identifier_copy_to_utf16_string" >&5 48989$as_echo "$ac_cv_lib_fwnt_libfwnt_security_identifier_copy_to_utf16_string" >&6; } 48990if test "x$ac_cv_lib_fwnt_libfwnt_security_identifier_copy_to_utf16_string" = xyes; then : 48991 ac_cv_libfwnt_dummy=yes 48992else 48993 ac_cv_libfwnt=no 48994fi 48995 48996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfwnt_security_identifier_copy_to_utf16_string_with_index in -lfwnt" >&5 48997$as_echo_n "checking for libfwnt_security_identifier_copy_to_utf16_string_with_index in -lfwnt... " >&6; } 48998if ${ac_cv_lib_fwnt_libfwnt_security_identifier_copy_to_utf16_string_with_index+:} false; then : 48999 $as_echo_n "(cached) " >&6 49000else 49001 ac_check_lib_save_LIBS=$LIBS 49002LIBS="-lfwnt $LIBS" 49003cat confdefs.h - <<_ACEOF >conftest.$ac_ext 49004/* end confdefs.h. */ 49005 49006/* Override any GCC internal prototype to avoid an error. 49007 Use char because int might match the return type of a GCC 49008 builtin and then its argument prototype would still apply. */ 49009#ifdef __cplusplus 49010extern "C" 49011#endif 49012char libfwnt_security_identifier_copy_to_utf16_string_with_index (); 49013int 49014main () 49015{ 49016return libfwnt_security_identifier_copy_to_utf16_string_with_index (); 49017 ; 49018 return 0; 49019} 49020_ACEOF 49021if ac_fn_c_try_link "$LINENO"; then : 49022 ac_cv_lib_fwnt_libfwnt_security_identifier_copy_to_utf16_string_with_index=yes 49023else 49024 ac_cv_lib_fwnt_libfwnt_security_identifier_copy_to_utf16_string_with_index=no 49025fi 49026rm -f core conftest.err conftest.$ac_objext \ 49027 conftest$ac_exeext conftest.$ac_ext 49028LIBS=$ac_check_lib_save_LIBS 49029fi 49030{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fwnt_libfwnt_security_identifier_copy_to_utf16_string_with_index" >&5 49031$as_echo "$ac_cv_lib_fwnt_libfwnt_security_identifier_copy_to_utf16_string_with_index" >&6; } 49032if test "x$ac_cv_lib_fwnt_libfwnt_security_identifier_copy_to_utf16_string_with_index" = xyes; then : 49033 ac_cv_libfwnt_dummy=yes 49034else 49035 ac_cv_libfwnt=no 49036fi 49037 49038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfwnt_security_identifier_copy_to_utf32_string in -lfwnt" >&5 49039$as_echo_n "checking for libfwnt_security_identifier_copy_to_utf32_string in -lfwnt... " >&6; } 49040if ${ac_cv_lib_fwnt_libfwnt_security_identifier_copy_to_utf32_string+:} false; then : 49041 $as_echo_n "(cached) " >&6 49042else 49043 ac_check_lib_save_LIBS=$LIBS 49044LIBS="-lfwnt $LIBS" 49045cat confdefs.h - <<_ACEOF >conftest.$ac_ext 49046/* end confdefs.h. */ 49047 49048/* Override any GCC internal prototype to avoid an error. 49049 Use char because int might match the return type of a GCC 49050 builtin and then its argument prototype would still apply. */ 49051#ifdef __cplusplus 49052extern "C" 49053#endif 49054char libfwnt_security_identifier_copy_to_utf32_string (); 49055int 49056main () 49057{ 49058return libfwnt_security_identifier_copy_to_utf32_string (); 49059 ; 49060 return 0; 49061} 49062_ACEOF 49063if ac_fn_c_try_link "$LINENO"; then : 49064 ac_cv_lib_fwnt_libfwnt_security_identifier_copy_to_utf32_string=yes 49065else 49066 ac_cv_lib_fwnt_libfwnt_security_identifier_copy_to_utf32_string=no 49067fi 49068rm -f core conftest.err conftest.$ac_objext \ 49069 conftest$ac_exeext conftest.$ac_ext 49070LIBS=$ac_check_lib_save_LIBS 49071fi 49072{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fwnt_libfwnt_security_identifier_copy_to_utf32_string" >&5 49073$as_echo "$ac_cv_lib_fwnt_libfwnt_security_identifier_copy_to_utf32_string" >&6; } 49074if test "x$ac_cv_lib_fwnt_libfwnt_security_identifier_copy_to_utf32_string" = xyes; then : 49075 ac_cv_libfwnt_dummy=yes 49076else 49077 ac_cv_libfwnt=no 49078fi 49079 49080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfwnt_security_identifier_copy_to_utf32_string_with_index in -lfwnt" >&5 49081$as_echo_n "checking for libfwnt_security_identifier_copy_to_utf32_string_with_index in -lfwnt... " >&6; } 49082if ${ac_cv_lib_fwnt_libfwnt_security_identifier_copy_to_utf32_string_with_index+:} false; then : 49083 $as_echo_n "(cached) " >&6 49084else 49085 ac_check_lib_save_LIBS=$LIBS 49086LIBS="-lfwnt $LIBS" 49087cat confdefs.h - <<_ACEOF >conftest.$ac_ext 49088/* end confdefs.h. */ 49089 49090/* Override any GCC internal prototype to avoid an error. 49091 Use char because int might match the return type of a GCC 49092 builtin and then its argument prototype would still apply. */ 49093#ifdef __cplusplus 49094extern "C" 49095#endif 49096char libfwnt_security_identifier_copy_to_utf32_string_with_index (); 49097int 49098main () 49099{ 49100return libfwnt_security_identifier_copy_to_utf32_string_with_index (); 49101 ; 49102 return 0; 49103} 49104_ACEOF 49105if ac_fn_c_try_link "$LINENO"; then : 49106 ac_cv_lib_fwnt_libfwnt_security_identifier_copy_to_utf32_string_with_index=yes 49107else 49108 ac_cv_lib_fwnt_libfwnt_security_identifier_copy_to_utf32_string_with_index=no 49109fi 49110rm -f core conftest.err conftest.$ac_objext \ 49111 conftest$ac_exeext conftest.$ac_ext 49112LIBS=$ac_check_lib_save_LIBS 49113fi 49114{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fwnt_libfwnt_security_identifier_copy_to_utf32_string_with_index" >&5 49115$as_echo "$ac_cv_lib_fwnt_libfwnt_security_identifier_copy_to_utf32_string_with_index" >&6; } 49116if test "x$ac_cv_lib_fwnt_libfwnt_security_identifier_copy_to_utf32_string_with_index" = xyes; then : 49117 ac_cv_libfwnt_dummy=yes 49118else 49119 ac_cv_libfwnt=no 49120fi 49121 49122 49123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfwnt_access_control_list_free in -lfwnt" >&5 49124$as_echo_n "checking for libfwnt_access_control_list_free in -lfwnt... " >&6; } 49125if ${ac_cv_lib_fwnt_libfwnt_access_control_list_free+:} false; then : 49126 $as_echo_n "(cached) " >&6 49127else 49128 ac_check_lib_save_LIBS=$LIBS 49129LIBS="-lfwnt $LIBS" 49130cat confdefs.h - <<_ACEOF >conftest.$ac_ext 49131/* end confdefs.h. */ 49132 49133/* Override any GCC internal prototype to avoid an error. 49134 Use char because int might match the return type of a GCC 49135 builtin and then its argument prototype would still apply. */ 49136#ifdef __cplusplus 49137extern "C" 49138#endif 49139char libfwnt_access_control_list_free (); 49140int 49141main () 49142{ 49143return libfwnt_access_control_list_free (); 49144 ; 49145 return 0; 49146} 49147_ACEOF 49148if ac_fn_c_try_link "$LINENO"; then : 49149 ac_cv_lib_fwnt_libfwnt_access_control_list_free=yes 49150else 49151 ac_cv_lib_fwnt_libfwnt_access_control_list_free=no 49152fi 49153rm -f core conftest.err conftest.$ac_objext \ 49154 conftest$ac_exeext conftest.$ac_ext 49155LIBS=$ac_check_lib_save_LIBS 49156fi 49157{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fwnt_libfwnt_access_control_list_free" >&5 49158$as_echo "$ac_cv_lib_fwnt_libfwnt_access_control_list_free" >&6; } 49159if test "x$ac_cv_lib_fwnt_libfwnt_access_control_list_free" = xyes; then : 49160 ac_cv_libfwnt_dummy=yes 49161else 49162 ac_cv_libfwnt=no 49163fi 49164 49165 49166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfwnt_access_control_list_get_number_of_entries in -lfwnt" >&5 49167$as_echo_n "checking for libfwnt_access_control_list_get_number_of_entries in -lfwnt... " >&6; } 49168if ${ac_cv_lib_fwnt_libfwnt_access_control_list_get_number_of_entries+:} false; then : 49169 $as_echo_n "(cached) " >&6 49170else 49171 ac_check_lib_save_LIBS=$LIBS 49172LIBS="-lfwnt $LIBS" 49173cat confdefs.h - <<_ACEOF >conftest.$ac_ext 49174/* end confdefs.h. */ 49175 49176/* Override any GCC internal prototype to avoid an error. 49177 Use char because int might match the return type of a GCC 49178 builtin and then its argument prototype would still apply. */ 49179#ifdef __cplusplus 49180extern "C" 49181#endif 49182char libfwnt_access_control_list_get_number_of_entries (); 49183int 49184main () 49185{ 49186return libfwnt_access_control_list_get_number_of_entries (); 49187 ; 49188 return 0; 49189} 49190_ACEOF 49191if ac_fn_c_try_link "$LINENO"; then : 49192 ac_cv_lib_fwnt_libfwnt_access_control_list_get_number_of_entries=yes 49193else 49194 ac_cv_lib_fwnt_libfwnt_access_control_list_get_number_of_entries=no 49195fi 49196rm -f core conftest.err conftest.$ac_objext \ 49197 conftest$ac_exeext conftest.$ac_ext 49198LIBS=$ac_check_lib_save_LIBS 49199fi 49200{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fwnt_libfwnt_access_control_list_get_number_of_entries" >&5 49201$as_echo "$ac_cv_lib_fwnt_libfwnt_access_control_list_get_number_of_entries" >&6; } 49202if test "x$ac_cv_lib_fwnt_libfwnt_access_control_list_get_number_of_entries" = xyes; then : 49203 ac_cv_libfwnt_dummy=yes 49204else 49205 ac_cv_libfwnt=no 49206fi 49207 49208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfwnt_access_control_list_get_entry_by_index in -lfwnt" >&5 49209$as_echo_n "checking for libfwnt_access_control_list_get_entry_by_index in -lfwnt... " >&6; } 49210if ${ac_cv_lib_fwnt_libfwnt_access_control_list_get_entry_by_index+:} false; then : 49211 $as_echo_n "(cached) " >&6 49212else 49213 ac_check_lib_save_LIBS=$LIBS 49214LIBS="-lfwnt $LIBS" 49215cat confdefs.h - <<_ACEOF >conftest.$ac_ext 49216/* end confdefs.h. */ 49217 49218/* Override any GCC internal prototype to avoid an error. 49219 Use char because int might match the return type of a GCC 49220 builtin and then its argument prototype would still apply. */ 49221#ifdef __cplusplus 49222extern "C" 49223#endif 49224char libfwnt_access_control_list_get_entry_by_index (); 49225int 49226main () 49227{ 49228return libfwnt_access_control_list_get_entry_by_index (); 49229 ; 49230 return 0; 49231} 49232_ACEOF 49233if ac_fn_c_try_link "$LINENO"; then : 49234 ac_cv_lib_fwnt_libfwnt_access_control_list_get_entry_by_index=yes 49235else 49236 ac_cv_lib_fwnt_libfwnt_access_control_list_get_entry_by_index=no 49237fi 49238rm -f core conftest.err conftest.$ac_objext \ 49239 conftest$ac_exeext conftest.$ac_ext 49240LIBS=$ac_check_lib_save_LIBS 49241fi 49242{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fwnt_libfwnt_access_control_list_get_entry_by_index" >&5 49243$as_echo "$ac_cv_lib_fwnt_libfwnt_access_control_list_get_entry_by_index" >&6; } 49244if test "x$ac_cv_lib_fwnt_libfwnt_access_control_list_get_entry_by_index" = xyes; then : 49245 ac_cv_libfwnt_dummy=yes 49246else 49247 ac_cv_libfwnt=no 49248fi 49249 49250 49251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfwnt_access_control_entry_free in -lfwnt" >&5 49252$as_echo_n "checking for libfwnt_access_control_entry_free in -lfwnt... " >&6; } 49253if ${ac_cv_lib_fwnt_libfwnt_access_control_entry_free+:} false; then : 49254 $as_echo_n "(cached) " >&6 49255else 49256 ac_check_lib_save_LIBS=$LIBS 49257LIBS="-lfwnt $LIBS" 49258cat confdefs.h - <<_ACEOF >conftest.$ac_ext 49259/* end confdefs.h. */ 49260 49261/* Override any GCC internal prototype to avoid an error. 49262 Use char because int might match the return type of a GCC 49263 builtin and then its argument prototype would still apply. */ 49264#ifdef __cplusplus 49265extern "C" 49266#endif 49267char libfwnt_access_control_entry_free (); 49268int 49269main () 49270{ 49271return libfwnt_access_control_entry_free (); 49272 ; 49273 return 0; 49274} 49275_ACEOF 49276if ac_fn_c_try_link "$LINENO"; then : 49277 ac_cv_lib_fwnt_libfwnt_access_control_entry_free=yes 49278else 49279 ac_cv_lib_fwnt_libfwnt_access_control_entry_free=no 49280fi 49281rm -f core conftest.err conftest.$ac_objext \ 49282 conftest$ac_exeext conftest.$ac_ext 49283LIBS=$ac_check_lib_save_LIBS 49284fi 49285{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fwnt_libfwnt_access_control_entry_free" >&5 49286$as_echo "$ac_cv_lib_fwnt_libfwnt_access_control_entry_free" >&6; } 49287if test "x$ac_cv_lib_fwnt_libfwnt_access_control_entry_free" = xyes; then : 49288 ac_cv_libfwnt_dummy=yes 49289else 49290 ac_cv_libfwnt=no 49291fi 49292 49293 49294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfwnt_access_control_entry_get_type in -lfwnt" >&5 49295$as_echo_n "checking for libfwnt_access_control_entry_get_type in -lfwnt... " >&6; } 49296if ${ac_cv_lib_fwnt_libfwnt_access_control_entry_get_type+:} false; then : 49297 $as_echo_n "(cached) " >&6 49298else 49299 ac_check_lib_save_LIBS=$LIBS 49300LIBS="-lfwnt $LIBS" 49301cat confdefs.h - <<_ACEOF >conftest.$ac_ext 49302/* end confdefs.h. */ 49303 49304/* Override any GCC internal prototype to avoid an error. 49305 Use char because int might match the return type of a GCC 49306 builtin and then its argument prototype would still apply. */ 49307#ifdef __cplusplus 49308extern "C" 49309#endif 49310char libfwnt_access_control_entry_get_type (); 49311int 49312main () 49313{ 49314return libfwnt_access_control_entry_get_type (); 49315 ; 49316 return 0; 49317} 49318_ACEOF 49319if ac_fn_c_try_link "$LINENO"; then : 49320 ac_cv_lib_fwnt_libfwnt_access_control_entry_get_type=yes 49321else 49322 ac_cv_lib_fwnt_libfwnt_access_control_entry_get_type=no 49323fi 49324rm -f core conftest.err conftest.$ac_objext \ 49325 conftest$ac_exeext conftest.$ac_ext 49326LIBS=$ac_check_lib_save_LIBS 49327fi 49328{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fwnt_libfwnt_access_control_entry_get_type" >&5 49329$as_echo "$ac_cv_lib_fwnt_libfwnt_access_control_entry_get_type" >&6; } 49330if test "x$ac_cv_lib_fwnt_libfwnt_access_control_entry_get_type" = xyes; then : 49331 ac_cv_libfwnt_dummy=yes 49332else 49333 ac_cv_libfwnt=no 49334fi 49335 49336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfwnt_access_control_entry_get_flags in -lfwnt" >&5 49337$as_echo_n "checking for libfwnt_access_control_entry_get_flags in -lfwnt... " >&6; } 49338if ${ac_cv_lib_fwnt_libfwnt_access_control_entry_get_flags+:} false; then : 49339 $as_echo_n "(cached) " >&6 49340else 49341 ac_check_lib_save_LIBS=$LIBS 49342LIBS="-lfwnt $LIBS" 49343cat confdefs.h - <<_ACEOF >conftest.$ac_ext 49344/* end confdefs.h. */ 49345 49346/* Override any GCC internal prototype to avoid an error. 49347 Use char because int might match the return type of a GCC 49348 builtin and then its argument prototype would still apply. */ 49349#ifdef __cplusplus 49350extern "C" 49351#endif 49352char libfwnt_access_control_entry_get_flags (); 49353int 49354main () 49355{ 49356return libfwnt_access_control_entry_get_flags (); 49357 ; 49358 return 0; 49359} 49360_ACEOF 49361if ac_fn_c_try_link "$LINENO"; then : 49362 ac_cv_lib_fwnt_libfwnt_access_control_entry_get_flags=yes 49363else 49364 ac_cv_lib_fwnt_libfwnt_access_control_entry_get_flags=no 49365fi 49366rm -f core conftest.err conftest.$ac_objext \ 49367 conftest$ac_exeext conftest.$ac_ext 49368LIBS=$ac_check_lib_save_LIBS 49369fi 49370{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fwnt_libfwnt_access_control_entry_get_flags" >&5 49371$as_echo "$ac_cv_lib_fwnt_libfwnt_access_control_entry_get_flags" >&6; } 49372if test "x$ac_cv_lib_fwnt_libfwnt_access_control_entry_get_flags" = xyes; then : 49373 ac_cv_libfwnt_dummy=yes 49374else 49375 ac_cv_libfwnt=no 49376fi 49377 49378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfwnt_access_control_entry_get_access_mask in -lfwnt" >&5 49379$as_echo_n "checking for libfwnt_access_control_entry_get_access_mask in -lfwnt... " >&6; } 49380if ${ac_cv_lib_fwnt_libfwnt_access_control_entry_get_access_mask+:} false; then : 49381 $as_echo_n "(cached) " >&6 49382else 49383 ac_check_lib_save_LIBS=$LIBS 49384LIBS="-lfwnt $LIBS" 49385cat confdefs.h - <<_ACEOF >conftest.$ac_ext 49386/* end confdefs.h. */ 49387 49388/* Override any GCC internal prototype to avoid an error. 49389 Use char because int might match the return type of a GCC 49390 builtin and then its argument prototype would still apply. */ 49391#ifdef __cplusplus 49392extern "C" 49393#endif 49394char libfwnt_access_control_entry_get_access_mask (); 49395int 49396main () 49397{ 49398return libfwnt_access_control_entry_get_access_mask (); 49399 ; 49400 return 0; 49401} 49402_ACEOF 49403if ac_fn_c_try_link "$LINENO"; then : 49404 ac_cv_lib_fwnt_libfwnt_access_control_entry_get_access_mask=yes 49405else 49406 ac_cv_lib_fwnt_libfwnt_access_control_entry_get_access_mask=no 49407fi 49408rm -f core conftest.err conftest.$ac_objext \ 49409 conftest$ac_exeext conftest.$ac_ext 49410LIBS=$ac_check_lib_save_LIBS 49411fi 49412{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fwnt_libfwnt_access_control_entry_get_access_mask" >&5 49413$as_echo "$ac_cv_lib_fwnt_libfwnt_access_control_entry_get_access_mask" >&6; } 49414if test "x$ac_cv_lib_fwnt_libfwnt_access_control_entry_get_access_mask" = xyes; then : 49415 ac_cv_libfwnt_dummy=yes 49416else 49417 ac_cv_libfwnt=no 49418fi 49419 49420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfwnt_access_control_entry_get_security_identifier in -lfwnt" >&5 49421$as_echo_n "checking for libfwnt_access_control_entry_get_security_identifier in -lfwnt... " >&6; } 49422if ${ac_cv_lib_fwnt_libfwnt_access_control_entry_get_security_identifier+:} false; then : 49423 $as_echo_n "(cached) " >&6 49424else 49425 ac_check_lib_save_LIBS=$LIBS 49426LIBS="-lfwnt $LIBS" 49427cat confdefs.h - <<_ACEOF >conftest.$ac_ext 49428/* end confdefs.h. */ 49429 49430/* Override any GCC internal prototype to avoid an error. 49431 Use char because int might match the return type of a GCC 49432 builtin and then its argument prototype would still apply. */ 49433#ifdef __cplusplus 49434extern "C" 49435#endif 49436char libfwnt_access_control_entry_get_security_identifier (); 49437int 49438main () 49439{ 49440return libfwnt_access_control_entry_get_security_identifier (); 49441 ; 49442 return 0; 49443} 49444_ACEOF 49445if ac_fn_c_try_link "$LINENO"; then : 49446 ac_cv_lib_fwnt_libfwnt_access_control_entry_get_security_identifier=yes 49447else 49448 ac_cv_lib_fwnt_libfwnt_access_control_entry_get_security_identifier=no 49449fi 49450rm -f core conftest.err conftest.$ac_objext \ 49451 conftest$ac_exeext conftest.$ac_ext 49452LIBS=$ac_check_lib_save_LIBS 49453fi 49454{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fwnt_libfwnt_access_control_entry_get_security_identifier" >&5 49455$as_echo "$ac_cv_lib_fwnt_libfwnt_access_control_entry_get_security_identifier" >&6; } 49456if test "x$ac_cv_lib_fwnt_libfwnt_access_control_entry_get_security_identifier" = xyes; then : 49457 ac_cv_libfwnt_dummy=yes 49458else 49459 ac_cv_libfwnt=no 49460fi 49461 49462 49463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfwnt_lznt1_decompress in -lfwnt" >&5 49464$as_echo_n "checking for libfwnt_lznt1_decompress in -lfwnt... " >&6; } 49465if ${ac_cv_lib_fwnt_libfwnt_lznt1_decompress+:} false; then : 49466 $as_echo_n "(cached) " >&6 49467else 49468 ac_check_lib_save_LIBS=$LIBS 49469LIBS="-lfwnt $LIBS" 49470cat confdefs.h - <<_ACEOF >conftest.$ac_ext 49471/* end confdefs.h. */ 49472 49473/* Override any GCC internal prototype to avoid an error. 49474 Use char because int might match the return type of a GCC 49475 builtin and then its argument prototype would still apply. */ 49476#ifdef __cplusplus 49477extern "C" 49478#endif 49479char libfwnt_lznt1_decompress (); 49480int 49481main () 49482{ 49483return libfwnt_lznt1_decompress (); 49484 ; 49485 return 0; 49486} 49487_ACEOF 49488if ac_fn_c_try_link "$LINENO"; then : 49489 ac_cv_lib_fwnt_libfwnt_lznt1_decompress=yes 49490else 49491 ac_cv_lib_fwnt_libfwnt_lznt1_decompress=no 49492fi 49493rm -f core conftest.err conftest.$ac_objext \ 49494 conftest$ac_exeext conftest.$ac_ext 49495LIBS=$ac_check_lib_save_LIBS 49496fi 49497{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fwnt_libfwnt_lznt1_decompress" >&5 49498$as_echo "$ac_cv_lib_fwnt_libfwnt_lznt1_decompress" >&6; } 49499if test "x$ac_cv_lib_fwnt_libfwnt_lznt1_decompress" = xyes; then : 49500 ac_cv_libfwnt_dummy=yes 49501else 49502 ac_cv_libfwnt=no 49503fi 49504 49505 49506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfwnt_lzx_decompress in -lfwnt" >&5 49507$as_echo_n "checking for libfwnt_lzx_decompress in -lfwnt... " >&6; } 49508if ${ac_cv_lib_fwnt_libfwnt_lzx_decompress+:} false; then : 49509 $as_echo_n "(cached) " >&6 49510else 49511 ac_check_lib_save_LIBS=$LIBS 49512LIBS="-lfwnt $LIBS" 49513cat confdefs.h - <<_ACEOF >conftest.$ac_ext 49514/* end confdefs.h. */ 49515 49516/* Override any GCC internal prototype to avoid an error. 49517 Use char because int might match the return type of a GCC 49518 builtin and then its argument prototype would still apply. */ 49519#ifdef __cplusplus 49520extern "C" 49521#endif 49522char libfwnt_lzx_decompress (); 49523int 49524main () 49525{ 49526return libfwnt_lzx_decompress (); 49527 ; 49528 return 0; 49529} 49530_ACEOF 49531if ac_fn_c_try_link "$LINENO"; then : 49532 ac_cv_lib_fwnt_libfwnt_lzx_decompress=yes 49533else 49534 ac_cv_lib_fwnt_libfwnt_lzx_decompress=no 49535fi 49536rm -f core conftest.err conftest.$ac_objext \ 49537 conftest$ac_exeext conftest.$ac_ext 49538LIBS=$ac_check_lib_save_LIBS 49539fi 49540{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fwnt_libfwnt_lzx_decompress" >&5 49541$as_echo "$ac_cv_lib_fwnt_libfwnt_lzx_decompress" >&6; } 49542if test "x$ac_cv_lib_fwnt_libfwnt_lzx_decompress" = xyes; then : 49543 ac_cv_libfwnt_dummy=yes 49544else 49545 ac_cv_libfwnt=no 49546fi 49547 49548 49549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfwnt_lzxpress_decompress in -lfwnt" >&5 49550$as_echo_n "checking for libfwnt_lzxpress_decompress in -lfwnt... " >&6; } 49551if ${ac_cv_lib_fwnt_libfwnt_lzxpress_decompress+:} false; then : 49552 $as_echo_n "(cached) " >&6 49553else 49554 ac_check_lib_save_LIBS=$LIBS 49555LIBS="-lfwnt $LIBS" 49556cat confdefs.h - <<_ACEOF >conftest.$ac_ext 49557/* end confdefs.h. */ 49558 49559/* Override any GCC internal prototype to avoid an error. 49560 Use char because int might match the return type of a GCC 49561 builtin and then its argument prototype would still apply. */ 49562#ifdef __cplusplus 49563extern "C" 49564#endif 49565char libfwnt_lzxpress_decompress (); 49566int 49567main () 49568{ 49569return libfwnt_lzxpress_decompress (); 49570 ; 49571 return 0; 49572} 49573_ACEOF 49574if ac_fn_c_try_link "$LINENO"; then : 49575 ac_cv_lib_fwnt_libfwnt_lzxpress_decompress=yes 49576else 49577 ac_cv_lib_fwnt_libfwnt_lzxpress_decompress=no 49578fi 49579rm -f core conftest.err conftest.$ac_objext \ 49580 conftest$ac_exeext conftest.$ac_ext 49581LIBS=$ac_check_lib_save_LIBS 49582fi 49583{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fwnt_libfwnt_lzxpress_decompress" >&5 49584$as_echo "$ac_cv_lib_fwnt_libfwnt_lzxpress_decompress" >&6; } 49585if test "x$ac_cv_lib_fwnt_libfwnt_lzxpress_decompress" = xyes; then : 49586 ac_cv_libfwnt_dummy=yes 49587else 49588 ac_cv_libfwnt=no 49589fi 49590 49591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfwnt_lzxpress_huffman_decompress in -lfwnt" >&5 49592$as_echo_n "checking for libfwnt_lzxpress_huffman_decompress in -lfwnt... " >&6; } 49593if ${ac_cv_lib_fwnt_libfwnt_lzxpress_huffman_decompress+:} false; then : 49594 $as_echo_n "(cached) " >&6 49595else 49596 ac_check_lib_save_LIBS=$LIBS 49597LIBS="-lfwnt $LIBS" 49598cat confdefs.h - <<_ACEOF >conftest.$ac_ext 49599/* end confdefs.h. */ 49600 49601/* Override any GCC internal prototype to avoid an error. 49602 Use char because int might match the return type of a GCC 49603 builtin and then its argument prototype would still apply. */ 49604#ifdef __cplusplus 49605extern "C" 49606#endif 49607char libfwnt_lzxpress_huffman_decompress (); 49608int 49609main () 49610{ 49611return libfwnt_lzxpress_huffman_decompress (); 49612 ; 49613 return 0; 49614} 49615_ACEOF 49616if ac_fn_c_try_link "$LINENO"; then : 49617 ac_cv_lib_fwnt_libfwnt_lzxpress_huffman_decompress=yes 49618else 49619 ac_cv_lib_fwnt_libfwnt_lzxpress_huffman_decompress=no 49620fi 49621rm -f core conftest.err conftest.$ac_objext \ 49622 conftest$ac_exeext conftest.$ac_ext 49623LIBS=$ac_check_lib_save_LIBS 49624fi 49625{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fwnt_libfwnt_lzxpress_huffman_decompress" >&5 49626$as_echo "$ac_cv_lib_fwnt_libfwnt_lzxpress_huffman_decompress" >&6; } 49627if test "x$ac_cv_lib_fwnt_libfwnt_lzxpress_huffman_decompress" = xyes; then : 49628 ac_cv_libfwnt_dummy=yes 49629else 49630 ac_cv_libfwnt=no 49631fi 49632 49633 49634 ac_cv_libfwnt_LIBADD="-lfwnt" 49635fi 49636 49637fi 49638 if test "x$ac_cv_with_libfwnt" != x && test "x$ac_cv_with_libfwnt" != xauto-detect && test "x$ac_cv_libfwnt" != xyes; then : 49639 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 49640$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 49641as_fn_error 1 "unable to find supported libfwnt in directory: $ac_cv_with_libfwnt 49642See \`config.log' for more details" "$LINENO" 5; } 49643 49644fi 49645 49646fi 49647 49648 if test "x$ac_cv_libfwnt" = xyes; then : 49649 49650$as_echo "#define HAVE_LIBFWNT 1" >>confdefs.h 49651 49652 49653fi 49654 49655 if test "x$ac_cv_libfwnt" = xyes; then : 49656 HAVE_LIBFWNT=1 49657 49658else 49659 HAVE_LIBFWNT=0 49660 49661 49662fi 49663 49664 49665 if test "x$ac_cv_libfwnt" != xyes; then : 49666 49667 ac_cv_libfwnt_CPPFLAGS="-I../libfwnt"; 49668 ac_cv_libfwnt_LIBADD="../libfwnt/libfwnt.la"; 49669 49670 ac_cv_libfwnt=local 49671 49672 49673 49674$as_echo "#define HAVE_LOCAL_LIBFWNT 1" >>confdefs.h 49675 49676 HAVE_LOCAL_LIBFWNT=1 49677 49678 49679fi 49680 49681 if test "x$ac_cv_libfwnt" = xlocal; then 49682 HAVE_LOCAL_LIBFWNT_TRUE= 49683 HAVE_LOCAL_LIBFWNT_FALSE='#' 49684else 49685 HAVE_LOCAL_LIBFWNT_TRUE='#' 49686 HAVE_LOCAL_LIBFWNT_FALSE= 49687fi 49688 49689 if test "x$ac_cv_libfwnt_CPPFLAGS" != "x"; then : 49690 LIBFWNT_CPPFLAGS=$ac_cv_libfwnt_CPPFLAGS 49691 49692 49693fi 49694 if test "x$ac_cv_libfwnt_LIBADD" != "x"; then : 49695 LIBFWNT_LIBADD=$ac_cv_libfwnt_LIBADD 49696 49697 49698fi 49699 49700 if test "x$ac_cv_libfwnt" = xyes; then : 49701 ax_libfwnt_pc_libs_private=-lfwnt 49702 49703 49704fi 49705 49706 if test "x$ac_cv_libfwnt" = xyes; then : 49707 ax_libfwnt_spec_requires=libfwnt 49708 49709 ax_libfwnt_spec_build_requires=libfwnt-devel 49710 49711 49712fi 49713 49714 49715 for ac_func in bindtextdomain 49716do : 49717 ac_fn_c_check_func "$LINENO" "bindtextdomain" "ac_cv_func_bindtextdomain" 49718if test "x$ac_cv_func_bindtextdomain" = xyes; then : 49719 cat >>confdefs.h <<_ACEOF 49720#define HAVE_BINDTEXTDOMAIN 1 49721_ACEOF 49722 49723fi 49724done 49725 49726 49727 for ac_header in wctype.h 49728do : 49729 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default" 49730if test "x$ac_cv_header_wctype_h" = xyes; then : 49731 cat >>confdefs.h <<_ACEOF 49732#define HAVE_WCTYPE_H 1 49733_ACEOF 49734 49735fi 49736 49737done 49738 49739 49740 for ac_func in towupper 49741do : 49742 ac_fn_c_check_func "$LINENO" "towupper" "ac_cv_func_towupper" 49743if test "x$ac_cv_func_towupper" = xyes; then : 49744 cat >>confdefs.h <<_ACEOF 49745#define HAVE_TOWUPPER 1 49746_ACEOF 49747 49748fi 49749done 49750 49751 49752 if test "x$ac_cv_func_towupper" != xyes; then : 49753 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 49754$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 49755as_fn_error 1 "Missing function: towupper 49756See \`config.log' for more details" "$LINENO" 5; } 49757 49758fi 49759 49760 49761 49762 49763# Check whether --with-pyprefix was given. 49764if test "${with_pyprefix+set}" = set; then : 49765 withval=$with_pyprefix; ac_cv_with_pyprefix=$withval 49766else 49767 ac_cv_with_pyprefix=no 49768fi 49769 49770 { $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 49771$as_echo_n "checking whether to use use \`python-config --prefix' to determine the prefix of pythondir instead of --prefix... " >&6; } 49772if ${ac_cv_with_pyprefix+:} false; then : 49773 $as_echo_n "(cached) " >&6 49774else 49775 ac_cv_with_pyprefix=no 49776fi 49777{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_pyprefix" >&5 49778$as_echo "$ac_cv_with_pyprefix" >&6; } 49779 49780 49781 49782 # Check whether --enable-python was given. 49783if test "${enable_python+set}" = set; then : 49784 enableval=$enable_python; ac_cv_enable_python=$enableval 49785else 49786 ac_cv_enable_python=no 49787fi 49788 49789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable build Python bindings" >&5 49790$as_echo_n "checking whether to enable build Python bindings... " >&6; } 49791if ${ac_cv_enable_python+:} false; then : 49792 $as_echo_n "(cached) " >&6 49793else 49794 ac_cv_enable_python=no 49795fi 49796{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_python" >&5 49797$as_echo "$ac_cv_enable_python" >&6; } 49798 49799 49800# Check whether --with-pythondir was given. 49801if test "${with_pythondir+set}" = set; then : 49802 withval=$with_pythondir; ac_cv_with_pythondir=$withval 49803else 49804 ac_cv_with_pythondir=no 49805fi 49806 49807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use use to specify the Python directory (pythondir)" >&5 49808$as_echo_n "checking whether to use use to specify the Python directory (pythondir)... " >&6; } 49809if ${ac_cv_with_pythondir+:} false; then : 49810 $as_echo_n "(cached) " >&6 49811else 49812 ac_cv_with_pythondir=no 49813fi 49814{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_pythondir" >&5 49815$as_echo "$ac_cv_with_pythondir" >&6; } 49816 49817 49818 # Check whether --enable-python2 was given. 49819if test "${enable_python2+set}" = set; then : 49820 enableval=$enable_python2; ac_cv_enable_python2=$enableval 49821else 49822 ac_cv_enable_python2=no 49823fi 49824 49825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable build Python 2 bindings" >&5 49826$as_echo_n "checking whether to enable build Python 2 bindings... " >&6; } 49827if ${ac_cv_enable_python2+:} false; then : 49828 $as_echo_n "(cached) " >&6 49829else 49830 ac_cv_enable_python2=no 49831fi 49832{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_python2" >&5 49833$as_echo "$ac_cv_enable_python2" >&6; } 49834 49835 49836# Check whether --with-pythondir2 was given. 49837if test "${with_pythondir2+set}" = set; then : 49838 withval=$with_pythondir2; ac_cv_with_pythondir2=$withval 49839else 49840 ac_cv_with_pythondir2=no 49841fi 49842 49843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use use to specify the Python 2 directory (pythondir2)" >&5 49844$as_echo_n "checking whether to use use to specify the Python 2 directory (pythondir2)... " >&6; } 49845if ${ac_cv_with_pythondir2+:} false; then : 49846 $as_echo_n "(cached) " >&6 49847else 49848 ac_cv_with_pythondir2=no 49849fi 49850{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_pythondir2" >&5 49851$as_echo "$ac_cv_with_pythondir2" >&6; } 49852 49853 49854 # Check whether --enable-python3 was given. 49855if test "${enable_python3+set}" = set; then : 49856 enableval=$enable_python3; ac_cv_enable_python3=$enableval 49857else 49858 ac_cv_enable_python3=no 49859fi 49860 49861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable build Python 3 bindings" >&5 49862$as_echo_n "checking whether to enable build Python 3 bindings... " >&6; } 49863if ${ac_cv_enable_python3+:} false; then : 49864 $as_echo_n "(cached) " >&6 49865else 49866 ac_cv_enable_python3=no 49867fi 49868{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_python3" >&5 49869$as_echo "$ac_cv_enable_python3" >&6; } 49870 49871 49872# Check whether --with-pythondir3 was given. 49873if test "${with_pythondir3+set}" = set; then : 49874 withval=$with_pythondir3; ac_cv_with_pythondir3=$withval 49875else 49876 ac_cv_with_pythondir3=no 49877fi 49878 49879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use use to specify the Python 3 directory (pythondir3)" >&5 49880$as_echo_n "checking whether to use use to specify the Python 3 directory (pythondir3)... " >&6; } 49881if ${ac_cv_with_pythondir3+:} false; then : 49882 $as_echo_n "(cached) " >&6 49883else 49884 ac_cv_with_pythondir3=no 49885fi 49886{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_pythondir3" >&5 49887$as_echo "$ac_cv_with_pythondir3" >&6; } 49888 49889 if test "x${ac_cv_enable_python}" != xno; then : 49890 if test "x${PYTHON_VERSION}" != x; then : 49891 ax_python_progs="python${PYTHON_VERSION}" 49892else 49893 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" 49894fi 49895 for ac_prog in $ax_python_progs 49896do 49897 # Extract the first word of "$ac_prog", so it can be a program name with args. 49898set dummy $ac_prog; ac_word=$2 49899{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 49900$as_echo_n "checking for $ac_word... " >&6; } 49901if ${ac_cv_prog_PYTHON+:} false; then : 49902 $as_echo_n "(cached) " >&6 49903else 49904 if test -n "$PYTHON"; then 49905 ac_cv_prog_PYTHON="$PYTHON" # Let the user override the test. 49906else 49907as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 49908for as_dir in $PATH 49909do 49910 IFS=$as_save_IFS 49911 test -z "$as_dir" && as_dir=. 49912 for ac_exec_ext in '' $ac_executable_extensions; do 49913 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 49914 ac_cv_prog_PYTHON="$ac_prog" 49915 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 49916 break 2 49917 fi 49918done 49919 done 49920IFS=$as_save_IFS 49921 49922fi 49923fi 49924PYTHON=$ac_cv_prog_PYTHON 49925if test -n "$PYTHON"; then 49926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5 49927$as_echo "$PYTHON" >&6; } 49928else 49929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 49930$as_echo "no" >&6; } 49931fi 49932 49933 49934 test -n "$PYTHON" && break 49935done 49936 49937 if test "x${PYTHON}" != x; then : 49938 ax_prog_python_version=`${PYTHON} -c "import sys; sys.stdout.write(sys.version[:3])" 2>/dev/null`; 49939 ax_prog_python_platform=`${PYTHON} -c "import sys; sys.stdout.write(sys.platform)" 2>/dev/null`; 49940 PYTHON_PLATFORM=$ax_prog_python_platform 49941 49942 49943else 49944 as_fn_error $? "Unable to find python" "$LINENO" 5 49945 49946fi 49947 PYTHON=$PYTHON 49948 49949 49950 if test "x${PYTHON_CONFIG}" = x && test "x${PYTHON_VERSION}" != x; then : 49951 for ac_prog in python${PYTHON_VERSION}-config 49952do 49953 # Extract the first word of "$ac_prog", so it can be a program name with args. 49954set dummy $ac_prog; ac_word=$2 49955{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 49956$as_echo_n "checking for $ac_word... " >&6; } 49957if ${ac_cv_prog_PYTHON_CONFIG+:} false; then : 49958 $as_echo_n "(cached) " >&6 49959else 49960 if test -n "$PYTHON_CONFIG"; then 49961 ac_cv_prog_PYTHON_CONFIG="$PYTHON_CONFIG" # Let the user override the test. 49962else 49963as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 49964for as_dir in $PATH 49965do 49966 IFS=$as_save_IFS 49967 test -z "$as_dir" && as_dir=. 49968 for ac_exec_ext in '' $ac_executable_extensions; do 49969 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 49970 ac_cv_prog_PYTHON_CONFIG="$ac_prog" 49971 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 49972 break 2 49973 fi 49974done 49975 done 49976IFS=$as_save_IFS 49977 49978fi 49979fi 49980PYTHON_CONFIG=$ac_cv_prog_PYTHON_CONFIG 49981if test -n "$PYTHON_CONFIG"; then 49982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_CONFIG" >&5 49983$as_echo "$PYTHON_CONFIG" >&6; } 49984else 49985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 49986$as_echo "no" >&6; } 49987fi 49988 49989 49990 test -n "$PYTHON_CONFIG" && break 49991done 49992 49993 49994fi 49995 if test "x${PYTHON_CONFIG}" = x; then : 49996 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 49997do 49998 # Extract the first word of "$ac_prog", so it can be a program name with args. 49999set dummy $ac_prog; ac_word=$2 50000{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 50001$as_echo_n "checking for $ac_word... " >&6; } 50002if ${ac_cv_prog_PYTHON_CONFIG+:} false; then : 50003 $as_echo_n "(cached) " >&6 50004else 50005 if test -n "$PYTHON_CONFIG"; then 50006 ac_cv_prog_PYTHON_CONFIG="$PYTHON_CONFIG" # Let the user override the test. 50007else 50008as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 50009for as_dir in $PATH 50010do 50011 IFS=$as_save_IFS 50012 test -z "$as_dir" && as_dir=. 50013 for ac_exec_ext in '' $ac_executable_extensions; do 50014 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 50015 ac_cv_prog_PYTHON_CONFIG="$ac_prog" 50016 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 50017 break 2 50018 fi 50019done 50020 done 50021IFS=$as_save_IFS 50022 50023fi 50024fi 50025PYTHON_CONFIG=$ac_cv_prog_PYTHON_CONFIG 50026if test -n "$PYTHON_CONFIG"; then 50027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_CONFIG" >&5 50028$as_echo "$PYTHON_CONFIG" >&6; } 50029else 50030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 50031$as_echo "no" >&6; } 50032fi 50033 50034 50035 test -n "$PYTHON_CONFIG" && break 50036done 50037 50038 50039fi 50040 if test "x${PYTHON_CONFIG}" = x; then : 50041 as_fn_error $? "Unable to find python-config" "$LINENO" 5 50042 50043fi 50044 PYTHON_CONFIG=$PYTHON_CONFIG 50045 50046 50047 50048 if test "x${PYTHON_CONFIG}" != x; then : 50049 PYTHON_INCLUDES=`${PYTHON_CONFIG} --includes 2>/dev/null`; 50050 50051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python includes" >&5 50052$as_echo_n "checking for Python includes... " >&6; } 50053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_INCLUDES" >&5 50054$as_echo "$PYTHON_INCLUDES" >&6; } 50055 50056 PYTHON_LDFLAGS=`${PYTHON_CONFIG} --ldflags 2>/dev/null`; 50057 50058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python libraries" >&5 50059$as_echo_n "checking for Python libraries... " >&6; } 50060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_LDFLAGS" >&5 50061$as_echo "$PYTHON_LDFLAGS" >&6; } 50062 50063 case $host_os in #( 50064 cygwin*) : 50065 PYTHON_LDFLAGS="${PYTHON_LDFLAGS} -no-undefined" ;; #( 50066 *) : 50067 ;; #( 50068 *) : 50069 ;; 50070esac 50071 50072 BACKUP_CPPFLAGS="${CPPFLAGS}" 50073 CPPFLAGS="${CPPFLAGS} ${PYTHON_INCLUDES}" 50074 50075 for ac_header in Python.h 50076do : 50077 ac_fn_c_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default" 50078if test "x$ac_cv_header_Python_h" = xyes; then : 50079 cat >>confdefs.h <<_ACEOF 50080#define HAVE_PYTHON_H 1 50081_ACEOF 50082 ac_cv_header_python_h=yes 50083else 50084 ac_cv_header_python_h=no 50085fi 50086 50087done 50088 50089 50090 CPPFLAGS="${BACKUP_CPPFLAGS}" 50091 50092fi 50093 50094 if test "x${ac_cv_header_python_h}" != xyes; then : 50095 ac_cv_enable_python=no 50096else 50097 ac_cv_enable_python=${ax_prog_python_version} 50098 PYTHON_CPPFLAGS=$PYTHON_INCLUDES 50099 50100 50101 PYTHON_LDFLAGS=$PYTHON_LDFLAGS 50102 50103 50104 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 50105 ax_python_prefix="\${prefix}" 50106else 50107 ax_python_prefix=`${PYTHON_CONFIG} --prefix 2>/dev/null` 50108fi 50109 50110 PYTHON_PREFIX=$ax_python_prefix 50111 50112 50113 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 50114 ax_python_exec_prefix="\${exec_prefix}" 50115else 50116 ax_python_exec_prefix=`${PYTHON_CONFIG} --exec-prefix 2>/dev/null` 50117fi 50118 50119 PYTHON_EXEC_PREFIX=$ax_python_exec_prefix 50120 50121 50122 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`; 50123 50124 if test "x${ac_cv_with_pythondir}" = x || test "x${ac_cv_with_pythondir}" = xno; then : 50125 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 50126 ax_python_pythondir="${ax_python_prefix}/${ax_python_pythondir_suffix}" 50127else 50128 ax_python_pythondir=`${PYTHON} -c "import sys; import distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_python_lib()) " 2>/dev/null` 50129fi 50130else 50131 ax_python_pythondir=$ac_cv_with_pythondir 50132fi 50133 50134 pythondir=$ax_python_pythondir 50135 50136 50137 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`; 50138 ax_python_library_dir=`${PYTHON} -c "import sys; import distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_python_lib(True)) " 2>/dev/null`; 50139 50140 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 50141 ax_python_pyexecdir="${ax_python_exec_prefix}/${ax_python_pyexecdir_suffix}" 50142else 50143 ax_python_pyexecdir=$ax_python_library_dir 50144fi 50145 50146 pyexecdir=$ax_python_pyexecdir 50147 50148 50149 PYTHON_LIBRARY_DIR=$ax_python_pyexecdir_suffix 50150 50151 50152 PYTHON_PACKAGE_DIR=$ax_python_library_dir 50153 50154 50155fi 50156 50157fi 50158 50159 if test "x${ac_cv_enable_python2}" != xno; then : 50160 ax_python2_progs="python2 python2.7 python2.6 python2.5" 50161 for ac_prog in $ax_python2_progs 50162do 50163 # Extract the first word of "$ac_prog", so it can be a program name with args. 50164set dummy $ac_prog; ac_word=$2 50165{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 50166$as_echo_n "checking for $ac_word... " >&6; } 50167if ${ac_cv_prog_PYTHON2+:} false; then : 50168 $as_echo_n "(cached) " >&6 50169else 50170 if test -n "$PYTHON2"; then 50171 ac_cv_prog_PYTHON2="$PYTHON2" # Let the user override the test. 50172else 50173as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 50174for as_dir in $PATH 50175do 50176 IFS=$as_save_IFS 50177 test -z "$as_dir" && as_dir=. 50178 for ac_exec_ext in '' $ac_executable_extensions; do 50179 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 50180 ac_cv_prog_PYTHON2="$ac_prog" 50181 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 50182 break 2 50183 fi 50184done 50185 done 50186IFS=$as_save_IFS 50187 50188fi 50189fi 50190PYTHON2=$ac_cv_prog_PYTHON2 50191if test -n "$PYTHON2"; then 50192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON2" >&5 50193$as_echo "$PYTHON2" >&6; } 50194else 50195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 50196$as_echo "no" >&6; } 50197fi 50198 50199 50200 test -n "$PYTHON2" && break 50201done 50202 50203 if test "x${PYTHON2}" != x; then : 50204 ax_prog_python2_version=`${PYTHON2} -c "import sys; sys.stdout.write(sys.version[:3])" 2>/dev/null`; 50205 PYTHON2_VERSION=$ax_prog_python2_version 50206 50207 50208 ax_prog_python2_platform=`${PYTHON2} -c "import sys; sys.stdout.write(sys.platform)" 2>/dev/null`; 50209 PYTHON2_PLATFORM=$ax_prog_python2_platform 50210 50211 50212else 50213 as_fn_error $? "Unable to find python2" "$LINENO" 5 50214 50215fi 50216 PYTHON2=$PYTHON2 50217 50218 50219 if test "x${PYTHON2_CONFIG}" = x; then : 50220 for ac_prog in python2-config python2.7-config python2.6-config python2.5-config 50221do 50222 # Extract the first word of "$ac_prog", so it can be a program name with args. 50223set dummy $ac_prog; ac_word=$2 50224{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 50225$as_echo_n "checking for $ac_word... " >&6; } 50226if ${ac_cv_prog_PYTHON2_CONFIG+:} false; then : 50227 $as_echo_n "(cached) " >&6 50228else 50229 if test -n "$PYTHON2_CONFIG"; then 50230 ac_cv_prog_PYTHON2_CONFIG="$PYTHON2_CONFIG" # Let the user override the test. 50231else 50232as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 50233for as_dir in $PATH 50234do 50235 IFS=$as_save_IFS 50236 test -z "$as_dir" && as_dir=. 50237 for ac_exec_ext in '' $ac_executable_extensions; do 50238 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 50239 ac_cv_prog_PYTHON2_CONFIG="$ac_prog" 50240 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 50241 break 2 50242 fi 50243done 50244 done 50245IFS=$as_save_IFS 50246 50247fi 50248fi 50249PYTHON2_CONFIG=$ac_cv_prog_PYTHON2_CONFIG 50250if test -n "$PYTHON2_CONFIG"; then 50251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON2_CONFIG" >&5 50252$as_echo "$PYTHON2_CONFIG" >&6; } 50253else 50254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 50255$as_echo "no" >&6; } 50256fi 50257 50258 50259 test -n "$PYTHON2_CONFIG" && break 50260done 50261 50262 50263fi 50264 if test "x${PYTHON2_CONFIG}" = x; then : 50265 as_fn_error $? "Unable to find python2-config" "$LINENO" 5 50266 50267fi 50268 PYTHON2_CONFIG=$PYTHON2_CONFIG 50269 50270 50271 50272 if test "x${PYTHON2_CONFIG}" != x; then : 50273 PYTHON2_INCLUDES=`${PYTHON2_CONFIG} --includes 2>/dev/null`; 50274 50275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python verison 2 includes" >&5 50276$as_echo_n "checking for Python verison 2 includes... " >&6; } 50277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON2_INCLUDES" >&5 50278$as_echo "$PYTHON2_INCLUDES" >&6; } 50279 50280 PYTHON2_LDFLAGS=`${PYTHON2_CONFIG} --ldflags 2>/dev/null`; 50281 50282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python 2 libraries" >&5 50283$as_echo_n "checking for Python 2 libraries... " >&6; } 50284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON2_LDFLAGS" >&5 50285$as_echo "$PYTHON2_LDFLAGS" >&6; } 50286 50287 case $host_os in #( 50288 cygwin*) : 50289 PYTHON2_LDFLAGS="${PYTHON2_LDFLAGS} -no-undefined" ;; #( 50290 *) : 50291 ;; #( 50292 *) : 50293 ;; 50294esac 50295 50296 BACKUP_CPPFLAGS="${CPPFLAGS}" 50297 CPPFLAGS="${CPPFLAGS} ${PYTHON2_INCLUDES}" 50298 50299 for ac_header in Python.h 50300do : 50301 ac_fn_c_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default" 50302if test "x$ac_cv_header_Python_h" = xyes; then : 50303 cat >>confdefs.h <<_ACEOF 50304#define HAVE_PYTHON_H 1 50305_ACEOF 50306 ac_cv_header_python2_h=yes 50307else 50308 ac_cv_header_python2_h=no 50309fi 50310 50311done 50312 50313 50314 CPPFLAGS="${BACKUP_CPPFLAGS}" 50315 50316fi 50317 50318 if test "x${ac_cv_header_python2_h}" != xyes; then : 50319 ac_cv_enable_python2=no 50320else 50321 ac_cv_enable_python2=$PYTHON2_VERSION 50322 PYTHON2_CPPFLAGS=$PYTHON2_INCLUDES 50323 50324 50325 PYTHON2_LDFLAGS=$PYTHON2_LDFLAGS 50326 50327 50328 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 50329 ax_python2_prefix="\${prefix}" 50330else 50331 ax_python2_prefix=`${PYTHON2_CONFIG} --prefix 2>/dev/null` 50332fi 50333 50334 PYTHON2_PREFIX=$ax_python2_prefix 50335 50336 50337 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 50338 ax_python2_exec_prefix="\${exec_prefix}" 50339else 50340 ax_python2_exec_prefix=`${PYTHON2_CONFIG} --exec-prefix 2>/dev/null` 50341fi 50342 50343 PYTHON2_EXEC_PREFIX=$ax_python2_exec_prefix 50344 50345 50346 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`; 50347 50348 if test "x${ac_cv_with_pythondir2}" = x || test "x${ac_cv_with_pythondir2}" = xno; then : 50349 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 50350 ax_python2_pythondir="${ax_python_prefix}/${ax_python2_pythondir_suffix}" 50351else 50352 ax_python2_pythondir=`${PYTHON2} -c "import sys; import distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_python_lib()) " 2>/dev/null` 50353fi 50354else 50355 ax_python2_pythondir=$ac_cv_with_pythondir2 50356fi 50357 50358 pythondir2=$ax_python2_pythondir 50359 50360 50361 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`; 50362 ax_python2_library_dir=`${PYTHON2} -c "import sys; import distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_python_lib(True)) " 2>/dev/null`; 50363 50364 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 50365 ax_python2_pyexecdir="${ax_python2_exec_prefix}/${ax_python2_pyexecdir_suffix}" 50366else 50367 ax_python2_pyexecdir=$ax_python2_library_dir 50368fi 50369 50370 pyexecdir2=$ax_python2_pyexecdir 50371 50372 50373 PYTHON2_LIBRARY_DIR=$ax_python2_pyexecdir_suffix 50374 50375 50376 PYTHON2_PACKAGE_DIR=$ax_python2_library_dir 50377 50378 50379fi 50380 50381fi 50382 50383 if test "x${ac_cv_enable_python3}" != xno; then : 50384 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" 50385 for ac_prog in $ax_python3_progs 50386do 50387 # Extract the first word of "$ac_prog", so it can be a program name with args. 50388set dummy $ac_prog; ac_word=$2 50389{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 50390$as_echo_n "checking for $ac_word... " >&6; } 50391if ${ac_cv_prog_PYTHON3+:} false; then : 50392 $as_echo_n "(cached) " >&6 50393else 50394 if test -n "$PYTHON3"; then 50395 ac_cv_prog_PYTHON3="$PYTHON3" # Let the user override the test. 50396else 50397as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 50398for as_dir in $PATH 50399do 50400 IFS=$as_save_IFS 50401 test -z "$as_dir" && as_dir=. 50402 for ac_exec_ext in '' $ac_executable_extensions; do 50403 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 50404 ac_cv_prog_PYTHON3="$ac_prog" 50405 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 50406 break 2 50407 fi 50408done 50409 done 50410IFS=$as_save_IFS 50411 50412fi 50413fi 50414PYTHON3=$ac_cv_prog_PYTHON3 50415if test -n "$PYTHON3"; then 50416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON3" >&5 50417$as_echo "$PYTHON3" >&6; } 50418else 50419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 50420$as_echo "no" >&6; } 50421fi 50422 50423 50424 test -n "$PYTHON3" && break 50425done 50426 50427 if test "x${PYTHON3}" != x; then : 50428 ax_prog_python3_version=`${PYTHON3} -c "import sys; sys.stdout.write(sys.version[:3])" 2>/dev/null`; 50429 PYTHON3_VERSION=$ax_prog_python3_version 50430 50431 50432 ax_prog_python3_platform=`${PYTHON3} -c "import sys; sys.stdout.write(sys.platform)" 2>/dev/null`; 50433 PYTHON3_PLATFORM=$ax_prog_python3_platform 50434 50435 50436else 50437 as_fn_error $? "Unable to find python3" "$LINENO" 5 50438 50439fi 50440 PYTHON3=$PYTHON3 50441 50442 50443 if test "x${PYTHON3_CONFIG}" = x; then : 50444 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 50445do 50446 # Extract the first word of "$ac_prog", so it can be a program name with args. 50447set dummy $ac_prog; ac_word=$2 50448{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 50449$as_echo_n "checking for $ac_word... " >&6; } 50450if ${ac_cv_prog_PYTHON3_CONFIG+:} false; then : 50451 $as_echo_n "(cached) " >&6 50452else 50453 if test -n "$PYTHON3_CONFIG"; then 50454 ac_cv_prog_PYTHON3_CONFIG="$PYTHON3_CONFIG" # Let the user override the test. 50455else 50456as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 50457for as_dir in $PATH 50458do 50459 IFS=$as_save_IFS 50460 test -z "$as_dir" && as_dir=. 50461 for ac_exec_ext in '' $ac_executable_extensions; do 50462 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 50463 ac_cv_prog_PYTHON3_CONFIG="$ac_prog" 50464 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 50465 break 2 50466 fi 50467done 50468 done 50469IFS=$as_save_IFS 50470 50471fi 50472fi 50473PYTHON3_CONFIG=$ac_cv_prog_PYTHON3_CONFIG 50474if test -n "$PYTHON3_CONFIG"; then 50475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON3_CONFIG" >&5 50476$as_echo "$PYTHON3_CONFIG" >&6; } 50477else 50478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 50479$as_echo "no" >&6; } 50480fi 50481 50482 50483 test -n "$PYTHON3_CONFIG" && break 50484done 50485 50486 50487fi 50488 if test "x${PYTHON3_CONFIG}" = x; then : 50489 as_fn_error $? "Unable to find python3-config" "$LINENO" 5 50490 50491fi 50492 PYTHON3_CONFIG=$PYTHON3_CONFIG 50493 50494 50495 50496 if test "x${PYTHON3_CONFIG}" != x; then : 50497 PYTHON3_INCLUDES=`${PYTHON3_CONFIG} --includes 2>/dev/null`; 50498 50499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python verison 3 includes" >&5 50500$as_echo_n "checking for Python verison 3 includes... " >&6; } 50501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON3_INCLUDES" >&5 50502$as_echo "$PYTHON3_INCLUDES" >&6; } 50503 50504 PYTHON3_LDFLAGS=`${PYTHON3_CONFIG} --ldflags 2>/dev/null`; 50505 50506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python 3 libraries" >&5 50507$as_echo_n "checking for Python 3 libraries... " >&6; } 50508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON3_LDFLAGS" >&5 50509$as_echo "$PYTHON3_LDFLAGS" >&6; } 50510 50511 case $host_os in #( 50512 cygwin*) : 50513 PYTHON3_LDFLAGS="${PYTHON3_LDFLAGS} -no-undefined" ;; #( 50514 *) : 50515 ;; #( 50516 *) : 50517 ;; 50518esac 50519 50520 BACKUP_CPPFLAGS="${CPPFLAGS}" 50521 CPPFLAGS="${CPPFLAGS} ${PYTHON3_INCLUDES}" 50522 50523 for ac_header in Python.h 50524do : 50525 ac_fn_c_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default" 50526if test "x$ac_cv_header_Python_h" = xyes; then : 50527 cat >>confdefs.h <<_ACEOF 50528#define HAVE_PYTHON_H 1 50529_ACEOF 50530 ac_cv_header_python3_h=yes 50531else 50532 ac_cv_header_python3_h=no 50533fi 50534 50535done 50536 50537 50538 CPPFLAGS="${BACKUP_CPPFLAGS}" 50539 50540fi 50541 50542 if test "x${ac_cv_header_python3_h}" != xyes; then : 50543 ac_cv_enable_python3=no 50544else 50545 ac_cv_enable_python3=$PYTHON3_VERSION 50546 PYTHON3_CPPFLAGS=$PYTHON3_INCLUDES 50547 50548 50549 PYTHON3_LDFLAGS=$PYTHON3_LDFLAGS 50550 50551 50552 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 50553 ax_python3_prefix="\${prefix}" 50554else 50555 ax_python3_prefix=`${PYTHON3_CONFIG} --prefix 2>/dev/null` 50556fi 50557 50558 PYTHON3_PREFIX=$ax_python3_prefix 50559 50560 50561 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 50562 ax_python3_exec_prefix="\${exec_prefix}" 50563else 50564 ax_python3_exec_prefix=`${PYTHON3_CONFIG} --exec-prefix 2>/dev/null` 50565fi 50566 50567 PYTHON3_EXEC_PREFIX=$ax_python3_exec_prefix 50568 50569 50570 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`; 50571 50572 if test "x${ac_cv_with_pythondir3}" = x || test "x${ac_cv_with_pythondir3}" = xno; then : 50573 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 50574 ax_python3_pythondir="${ax_python_prefix}/${ax_python3_pythondir_suffix}" 50575else 50576 ax_python3_pythondir=`${PYTHON3} -c "import sys; import distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_python_lib()) " 2>/dev/null` 50577fi 50578else 50579 ax_python3_pythondir=$ac_cv_with_pythondir3 50580fi 50581 50582 pythondir3=$ax_python3_pythondir 50583 50584 50585 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`; 50586 ax_python3_library_dir=`${PYTHON3} -c "import sys; import distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_python_lib(True)) " 2>/dev/null`; 50587 50588 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 50589 ax_python3_pyexecdir="${ax_python3_exec_prefix}/${ax_python3_pyexecdir_suffix}" 50590else 50591 ax_python3_pyexecdir=$ax_python3_library_dir 50592fi 50593 50594 pyexecdir3=$ax_python3_pyexecdir 50595 50596 50597 PYTHON3_LIBRARY_DIR=$ax_python3_pyexecdir_suffix 50598 50599 50600 PYTHON3_PACKAGE_DIR=$ax_python3_library_dir 50601 50602 50603fi 50604 50605fi 50606 50607 if test "x${ac_cv_enable_python}" != xno; then 50608 HAVE_PYTHON_TRUE= 50609 HAVE_PYTHON_FALSE='#' 50610else 50611 HAVE_PYTHON_TRUE='#' 50612 HAVE_PYTHON_FALSE= 50613fi 50614 50615 50616 if test "x${ac_cv_enable_python2}" != xno; then 50617 HAVE_PYTHON2_TRUE= 50618 HAVE_PYTHON2_FALSE='#' 50619else 50620 HAVE_PYTHON2_TRUE='#' 50621 HAVE_PYTHON2_FALSE= 50622fi 50623 50624 50625 if test "x${ac_cv_enable_python3}" != xno; then 50626 HAVE_PYTHON3_TRUE= 50627 HAVE_PYTHON3_FALSE='#' 50628else 50629 HAVE_PYTHON3_TRUE='#' 50630 HAVE_PYTHON3_FALSE= 50631fi 50632 50633 50634 if test "x${ac_cv_enable_python}" != xno || test "x${ac_cv_enable_python2}" != xno || test "x${ac_cv_enable_python3}" != xno; then 50635 HAVE_PYTHON_TESTS_TRUE= 50636 HAVE_PYTHON_TESTS_FALSE='#' 50637else 50638 HAVE_PYTHON_TESTS_TRUE='#' 50639 HAVE_PYTHON_TESTS_FALSE= 50640fi 50641 50642 50643 if test "x${ac_cv_enable_python}" = xno; then : 50644 if test "x${ac_cv_enable_python2}" != xno || test "x${ac_cv_enable_python3}" != xno; then : 50645 if test "x${ac_cv_enable_python2}" != xno; then : 50646 ac_cv_enable_python=${ac_cv_enable_python2} 50647else 50648 ac_cv_enable_python="" 50649fi 50650 if test "x${ac_cv_enable_python3}" != xno; then : 50651 if test "x${ac_cv_enable_python}" != x; then : 50652 ac_cv_enable_python="${ac_cv_enable_python}, " 50653fi 50654 ac_cv_enable_python="${ac_cv_enable_python}${ac_cv_enable_python3}" 50655fi 50656 50657fi 50658 50659fi 50660 50661 50662if test "x${ac_cv_enable_python}" != xno || test "x${ac_cv_enable_python2}" != xno || test "x${ac_cv_enable_python3}" != xno; then : 50663 for ac_header in stdarg.h varargs.h 50664do : 50665 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 50666ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 50667if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 50668 cat >>confdefs.h <<_ACEOF 50669#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 50670_ACEOF 50671 50672fi 50673 50674done 50675 50676 50677 if test "x$ac_cv_header_stdarg_h" != xyes && test "x$ac_cv_header_varargs_h" != xyes; then : 50678 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 50679$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 50680as_fn_error 1 "Missing headers: stdarg.h and varargs.h 50681See \`config.log' for more details" "$LINENO" 5; } 50682 50683fi 50684 50685fi 50686 50687 50688 50689# Check whether --with-libfuse was given. 50690if test "${with_libfuse+set}" = set; then : 50691 withval=$with_libfuse; ac_cv_with_libfuse=$withval 50692else 50693 ac_cv_with_libfuse=auto-detect 50694fi 50695 50696 { $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 50697$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; } 50698if ${ac_cv_with_libfuse+:} false; then : 50699 $as_echo_n "(cached) " >&6 50700else 50701 ac_cv_with_libfuse=auto-detect 50702fi 50703{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libfuse" >&5 50704$as_echo "$ac_cv_with_libfuse" >&6; } 50705 50706 if test "x$ac_cv_with_libfuse" != x && test "x$ac_cv_with_libfuse" != xno && test "x$ac_cv_with_libfuse" != xauto-detect; then : 50707 if test -d "$ac_cv_with_libfuse"; then : 50708 CFLAGS="$CFLAGS -I${ac_cv_with_libfuse}/include" 50709 LDFLAGS="$LDFLAGS -L${ac_cv_with_libfuse}/lib" 50710else 50711 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no such directory: $ac_cv_with_libfuse" >&5 50712$as_echo "$as_me: WARNING: no such directory: $ac_cv_with_libfuse" >&2;} 50713 50714fi 50715 50716fi 50717 50718 if test "x$ac_cv_with_libfuse" = xno; then : 50719 ac_cv_libfuse=no 50720else 50721 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 50722 50723pkg_failed=no 50724{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse" >&5 50725$as_echo_n "checking for fuse... " >&6; } 50726 50727if test -n "$fuse_CFLAGS"; then 50728 pkg_cv_fuse_CFLAGS="$fuse_CFLAGS" 50729 elif test -n "$PKG_CONFIG"; then 50730 if test -n "$PKG_CONFIG" && \ 50731 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fuse >= 2.6\""; } >&5 50732 ($PKG_CONFIG --exists --print-errors "fuse >= 2.6") 2>&5 50733 ac_status=$? 50734 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 50735 test $ac_status = 0; }; then 50736 pkg_cv_fuse_CFLAGS=`$PKG_CONFIG --cflags "fuse >= 2.6" 2>/dev/null` 50737 test "x$?" != "x0" && pkg_failed=yes 50738else 50739 pkg_failed=yes 50740fi 50741 else 50742 pkg_failed=untried 50743fi 50744if test -n "$fuse_LIBS"; then 50745 pkg_cv_fuse_LIBS="$fuse_LIBS" 50746 elif test -n "$PKG_CONFIG"; then 50747 if test -n "$PKG_CONFIG" && \ 50748 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fuse >= 2.6\""; } >&5 50749 ($PKG_CONFIG --exists --print-errors "fuse >= 2.6") 2>&5 50750 ac_status=$? 50751 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 50752 test $ac_status = 0; }; then 50753 pkg_cv_fuse_LIBS=`$PKG_CONFIG --libs "fuse >= 2.6" 2>/dev/null` 50754 test "x$?" != "x0" && pkg_failed=yes 50755else 50756 pkg_failed=yes 50757fi 50758 else 50759 pkg_failed=untried 50760fi 50761 50762 50763 50764if test $pkg_failed = yes; then 50765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 50766$as_echo "no" >&6; } 50767 50768if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 50769 _pkg_short_errors_supported=yes 50770else 50771 _pkg_short_errors_supported=no 50772fi 50773 if test $_pkg_short_errors_supported = yes; then 50774 fuse_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "fuse >= 2.6" 2>&1` 50775 else 50776 fuse_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "fuse >= 2.6" 2>&1` 50777 fi 50778 # Put the nasty error message in config.log where it belongs 50779 echo "$fuse_PKG_ERRORS" >&5 50780 50781 ac_cv_libfuse=no 50782elif test $pkg_failed = untried; then 50783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 50784$as_echo "no" >&6; } 50785 ac_cv_libfuse=no 50786else 50787 fuse_CFLAGS=$pkg_cv_fuse_CFLAGS 50788 fuse_LIBS=$pkg_cv_fuse_LIBS 50789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 50790$as_echo "yes" >&6; } 50791 ac_cv_libfuse=libfuse 50792fi 50793 50794fi 50795 50796 if test "x$ac_cv_libfuse" = xlibfuse; then : 50797 ac_cv_libfuse_CPPFLAGS="$pkg_cv_fuse_CFLAGS" 50798 ac_cv_libfuse_LIBADD="$pkg_cv_fuse_LIBS" 50799else 50800 for ac_header in fuse.h 50801do : 50802 ac_fn_c_check_header_mongrel "$LINENO" "fuse.h" "ac_cv_header_fuse_h" "$ac_includes_default" 50803if test "x$ac_cv_header_fuse_h" = xyes; then : 50804 cat >>confdefs.h <<_ACEOF 50805#define HAVE_FUSE_H 1 50806_ACEOF 50807 ac_cv_header_fuse_h=yes 50808else 50809 ac_cv_header_fuse_h=no 50810fi 50811 50812done 50813 50814 50815 if test "x$ac_cv_header_fuse_h" = xno; then : 50816 { ac_cv_header_fuse_h=; unset ac_cv_header_fuse_h;} 50817 CPPFLAGS="$CPPFLAGS -D_FILE_OFFSET_BITS=64" 50818 for ac_header in fuse.h 50819do : 50820 ac_fn_c_check_header_mongrel "$LINENO" "fuse.h" "ac_cv_header_fuse_h" "$ac_includes_default" 50821if test "x$ac_cv_header_fuse_h" = xyes; then : 50822 cat >>confdefs.h <<_ACEOF 50823#define HAVE_FUSE_H 1 50824_ACEOF 50825 50826fi 50827 50828done 50829 50830 50831fi 50832 50833 if test "x$ac_cv_header_fuse_h" = xno; then : 50834 ac_cv_libfuse=no 50835else 50836 ac_cv_libfuse=libfuse 50837 50838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_daemonize in -lfuse" >&5 50839$as_echo_n "checking for fuse_daemonize in -lfuse... " >&6; } 50840if ${ac_cv_lib_fuse_fuse_daemonize+:} false; then : 50841 $as_echo_n "(cached) " >&6 50842else 50843 ac_check_lib_save_LIBS=$LIBS 50844LIBS="-lfuse $LIBS" 50845cat confdefs.h - <<_ACEOF >conftest.$ac_ext 50846/* end confdefs.h. */ 50847 50848/* Override any GCC internal prototype to avoid an error. 50849 Use char because int might match the return type of a GCC 50850 builtin and then its argument prototype would still apply. */ 50851#ifdef __cplusplus 50852extern "C" 50853#endif 50854char fuse_daemonize (); 50855int 50856main () 50857{ 50858return fuse_daemonize (); 50859 ; 50860 return 0; 50861} 50862_ACEOF 50863if ac_fn_c_try_link "$LINENO"; then : 50864 ac_cv_lib_fuse_fuse_daemonize=yes 50865else 50866 ac_cv_lib_fuse_fuse_daemonize=no 50867fi 50868rm -f core conftest.err conftest.$ac_objext \ 50869 conftest$ac_exeext conftest.$ac_ext 50870LIBS=$ac_check_lib_save_LIBS 50871fi 50872{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fuse_fuse_daemonize" >&5 50873$as_echo "$ac_cv_lib_fuse_fuse_daemonize" >&6; } 50874if test "x$ac_cv_lib_fuse_fuse_daemonize" = xyes; then : 50875 ac_cv_libfuse_dummy=yes 50876else 50877 ac_cv_libfuse=no 50878fi 50879 50880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_destroy in -lfuse" >&5 50881$as_echo_n "checking for fuse_destroy in -lfuse... " >&6; } 50882if ${ac_cv_lib_fuse_fuse_destroy+:} false; then : 50883 $as_echo_n "(cached) " >&6 50884else 50885 ac_check_lib_save_LIBS=$LIBS 50886LIBS="-lfuse $LIBS" 50887cat confdefs.h - <<_ACEOF >conftest.$ac_ext 50888/* end confdefs.h. */ 50889 50890/* Override any GCC internal prototype to avoid an error. 50891 Use char because int might match the return type of a GCC 50892 builtin and then its argument prototype would still apply. */ 50893#ifdef __cplusplus 50894extern "C" 50895#endif 50896char fuse_destroy (); 50897int 50898main () 50899{ 50900return fuse_destroy (); 50901 ; 50902 return 0; 50903} 50904_ACEOF 50905if ac_fn_c_try_link "$LINENO"; then : 50906 ac_cv_lib_fuse_fuse_destroy=yes 50907else 50908 ac_cv_lib_fuse_fuse_destroy=no 50909fi 50910rm -f core conftest.err conftest.$ac_objext \ 50911 conftest$ac_exeext conftest.$ac_ext 50912LIBS=$ac_check_lib_save_LIBS 50913fi 50914{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fuse_fuse_destroy" >&5 50915$as_echo "$ac_cv_lib_fuse_fuse_destroy" >&6; } 50916if test "x$ac_cv_lib_fuse_fuse_destroy" = xyes; then : 50917 ac_cv_libfuse_dummy=yes 50918else 50919 ac_cv_libfuse=no 50920fi 50921 50922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_mount in -lfuse" >&5 50923$as_echo_n "checking for fuse_mount in -lfuse... " >&6; } 50924if ${ac_cv_lib_fuse_fuse_mount+:} false; then : 50925 $as_echo_n "(cached) " >&6 50926else 50927 ac_check_lib_save_LIBS=$LIBS 50928LIBS="-lfuse $LIBS" 50929cat confdefs.h - <<_ACEOF >conftest.$ac_ext 50930/* end confdefs.h. */ 50931 50932/* Override any GCC internal prototype to avoid an error. 50933 Use char because int might match the return type of a GCC 50934 builtin and then its argument prototype would still apply. */ 50935#ifdef __cplusplus 50936extern "C" 50937#endif 50938char fuse_mount (); 50939int 50940main () 50941{ 50942return fuse_mount (); 50943 ; 50944 return 0; 50945} 50946_ACEOF 50947if ac_fn_c_try_link "$LINENO"; then : 50948 ac_cv_lib_fuse_fuse_mount=yes 50949else 50950 ac_cv_lib_fuse_fuse_mount=no 50951fi 50952rm -f core conftest.err conftest.$ac_objext \ 50953 conftest$ac_exeext conftest.$ac_ext 50954LIBS=$ac_check_lib_save_LIBS 50955fi 50956{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fuse_fuse_mount" >&5 50957$as_echo "$ac_cv_lib_fuse_fuse_mount" >&6; } 50958if test "x$ac_cv_lib_fuse_fuse_mount" = xyes; then : 50959 ac_cv_libfuse_dummy=yes 50960else 50961 ac_cv_libfuse=no 50962fi 50963 50964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_new in -lfuse" >&5 50965$as_echo_n "checking for fuse_new in -lfuse... " >&6; } 50966if ${ac_cv_lib_fuse_fuse_new+:} false; then : 50967 $as_echo_n "(cached) " >&6 50968else 50969 ac_check_lib_save_LIBS=$LIBS 50970LIBS="-lfuse $LIBS" 50971cat confdefs.h - <<_ACEOF >conftest.$ac_ext 50972/* end confdefs.h. */ 50973 50974/* Override any GCC internal prototype to avoid an error. 50975 Use char because int might match the return type of a GCC 50976 builtin and then its argument prototype would still apply. */ 50977#ifdef __cplusplus 50978extern "C" 50979#endif 50980char fuse_new (); 50981int 50982main () 50983{ 50984return fuse_new (); 50985 ; 50986 return 0; 50987} 50988_ACEOF 50989if ac_fn_c_try_link "$LINENO"; then : 50990 ac_cv_lib_fuse_fuse_new=yes 50991else 50992 ac_cv_lib_fuse_fuse_new=no 50993fi 50994rm -f core conftest.err conftest.$ac_objext \ 50995 conftest$ac_exeext conftest.$ac_ext 50996LIBS=$ac_check_lib_save_LIBS 50997fi 50998{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fuse_fuse_new" >&5 50999$as_echo "$ac_cv_lib_fuse_fuse_new" >&6; } 51000if test "x$ac_cv_lib_fuse_fuse_new" = xyes; then : 51001 ac_cv_libfuse_dummy=yes 51002else 51003 ac_cv_libfuse=no 51004fi 51005 51006 51007 ac_cv_libfuse_LIBADD="-lfuse"; 51008 51009fi 51010 51011fi 51012 51013 if test "x$ac_cv_with_libfuse" != xno && test "x$ac_cv_header_fuse_h" = xno; then : 51014 CPPFLAGS="$CPPFLAGS -DFUSE_USE_VERSION=26" 51015 for ac_header in osxfuse/fuse.h 51016do : 51017 ac_fn_c_check_header_mongrel "$LINENO" "osxfuse/fuse.h" "ac_cv_header_osxfuse_fuse_h" "$ac_includes_default" 51018if test "x$ac_cv_header_osxfuse_fuse_h" = xyes; then : 51019 cat >>confdefs.h <<_ACEOF 51020#define HAVE_OSXFUSE_FUSE_H 1 51021_ACEOF 51022 51023fi 51024 51025done 51026 51027 51028 if test "x$ac_cv_header_osxfuse_fuse_h" = xno; then : 51029 { ac_cv_header_osxfuse_fuse_h=; unset ac_cv_header_osxfuse_fuse_h;} 51030 CPPFLAGS="$CPPFLAGS -D_FILE_OFFSET_BITS=64" 51031 for ac_header in osxfuse/fuse.h 51032do : 51033 ac_fn_c_check_header_mongrel "$LINENO" "osxfuse/fuse.h" "ac_cv_header_osxfuse_fuse_h" "$ac_includes_default" 51034if test "x$ac_cv_header_osxfuse_fuse_h" = xyes; then : 51035 cat >>confdefs.h <<_ACEOF 51036#define HAVE_OSXFUSE_FUSE_H 1 51037_ACEOF 51038 51039fi 51040 51041done 51042 51043 51044fi 51045 51046 if test "x$ac_cv_header_osxfuse_fuse_h" = xno; then : 51047 ac_cv_libfuse=no 51048else 51049 ac_cv_libfuse=libosxfuse 51050 51051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_daemonize in -losxfuse" >&5 51052$as_echo_n "checking for fuse_daemonize in -losxfuse... " >&6; } 51053if ${ac_cv_lib_osxfuse_fuse_daemonize+:} false; then : 51054 $as_echo_n "(cached) " >&6 51055else 51056 ac_check_lib_save_LIBS=$LIBS 51057LIBS="-losxfuse $LIBS" 51058cat confdefs.h - <<_ACEOF >conftest.$ac_ext 51059/* end confdefs.h. */ 51060 51061/* Override any GCC internal prototype to avoid an error. 51062 Use char because int might match the return type of a GCC 51063 builtin and then its argument prototype would still apply. */ 51064#ifdef __cplusplus 51065extern "C" 51066#endif 51067char fuse_daemonize (); 51068int 51069main () 51070{ 51071return fuse_daemonize (); 51072 ; 51073 return 0; 51074} 51075_ACEOF 51076if ac_fn_c_try_link "$LINENO"; then : 51077 ac_cv_lib_osxfuse_fuse_daemonize=yes 51078else 51079 ac_cv_lib_osxfuse_fuse_daemonize=no 51080fi 51081rm -f core conftest.err conftest.$ac_objext \ 51082 conftest$ac_exeext conftest.$ac_ext 51083LIBS=$ac_check_lib_save_LIBS 51084fi 51085{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_osxfuse_fuse_daemonize" >&5 51086$as_echo "$ac_cv_lib_osxfuse_fuse_daemonize" >&6; } 51087if test "x$ac_cv_lib_osxfuse_fuse_daemonize" = xyes; then : 51088 ac_cv_libfuse_dummy=yes 51089else 51090 ac_cv_libfuse=no 51091fi 51092 51093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_destroy in -losxfuse" >&5 51094$as_echo_n "checking for fuse_destroy in -losxfuse... " >&6; } 51095if ${ac_cv_lib_osxfuse_fuse_destroy+:} false; then : 51096 $as_echo_n "(cached) " >&6 51097else 51098 ac_check_lib_save_LIBS=$LIBS 51099LIBS="-losxfuse $LIBS" 51100cat confdefs.h - <<_ACEOF >conftest.$ac_ext 51101/* end confdefs.h. */ 51102 51103/* Override any GCC internal prototype to avoid an error. 51104 Use char because int might match the return type of a GCC 51105 builtin and then its argument prototype would still apply. */ 51106#ifdef __cplusplus 51107extern "C" 51108#endif 51109char fuse_destroy (); 51110int 51111main () 51112{ 51113return fuse_destroy (); 51114 ; 51115 return 0; 51116} 51117_ACEOF 51118if ac_fn_c_try_link "$LINENO"; then : 51119 ac_cv_lib_osxfuse_fuse_destroy=yes 51120else 51121 ac_cv_lib_osxfuse_fuse_destroy=no 51122fi 51123rm -f core conftest.err conftest.$ac_objext \ 51124 conftest$ac_exeext conftest.$ac_ext 51125LIBS=$ac_check_lib_save_LIBS 51126fi 51127{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_osxfuse_fuse_destroy" >&5 51128$as_echo "$ac_cv_lib_osxfuse_fuse_destroy" >&6; } 51129if test "x$ac_cv_lib_osxfuse_fuse_destroy" = xyes; then : 51130 ac_cv_libfuse_dummy=yes 51131else 51132 ac_cv_libfuse=no 51133fi 51134 51135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_mount in -losxfuse" >&5 51136$as_echo_n "checking for fuse_mount in -losxfuse... " >&6; } 51137if ${ac_cv_lib_osxfuse_fuse_mount+:} false; then : 51138 $as_echo_n "(cached) " >&6 51139else 51140 ac_check_lib_save_LIBS=$LIBS 51141LIBS="-losxfuse $LIBS" 51142cat confdefs.h - <<_ACEOF >conftest.$ac_ext 51143/* end confdefs.h. */ 51144 51145/* Override any GCC internal prototype to avoid an error. 51146 Use char because int might match the return type of a GCC 51147 builtin and then its argument prototype would still apply. */ 51148#ifdef __cplusplus 51149extern "C" 51150#endif 51151char fuse_mount (); 51152int 51153main () 51154{ 51155return fuse_mount (); 51156 ; 51157 return 0; 51158} 51159_ACEOF 51160if ac_fn_c_try_link "$LINENO"; then : 51161 ac_cv_lib_osxfuse_fuse_mount=yes 51162else 51163 ac_cv_lib_osxfuse_fuse_mount=no 51164fi 51165rm -f core conftest.err conftest.$ac_objext \ 51166 conftest$ac_exeext conftest.$ac_ext 51167LIBS=$ac_check_lib_save_LIBS 51168fi 51169{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_osxfuse_fuse_mount" >&5 51170$as_echo "$ac_cv_lib_osxfuse_fuse_mount" >&6; } 51171if test "x$ac_cv_lib_osxfuse_fuse_mount" = xyes; then : 51172 ac_cv_libfuse_dummy=yes 51173else 51174 ac_cv_libfuse=no 51175fi 51176 51177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_new in -losxfuse" >&5 51178$as_echo_n "checking for fuse_new in -losxfuse... " >&6; } 51179if ${ac_cv_lib_osxfuse_fuse_new+:} false; then : 51180 $as_echo_n "(cached) " >&6 51181else 51182 ac_check_lib_save_LIBS=$LIBS 51183LIBS="-losxfuse $LIBS" 51184cat confdefs.h - <<_ACEOF >conftest.$ac_ext 51185/* end confdefs.h. */ 51186 51187/* Override any GCC internal prototype to avoid an error. 51188 Use char because int might match the return type of a GCC 51189 builtin and then its argument prototype would still apply. */ 51190#ifdef __cplusplus 51191extern "C" 51192#endif 51193char fuse_new (); 51194int 51195main () 51196{ 51197return fuse_new (); 51198 ; 51199 return 0; 51200} 51201_ACEOF 51202if ac_fn_c_try_link "$LINENO"; then : 51203 ac_cv_lib_osxfuse_fuse_new=yes 51204else 51205 ac_cv_lib_osxfuse_fuse_new=no 51206fi 51207rm -f core conftest.err conftest.$ac_objext \ 51208 conftest$ac_exeext conftest.$ac_ext 51209LIBS=$ac_check_lib_save_LIBS 51210fi 51211{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_osxfuse_fuse_new" >&5 51212$as_echo "$ac_cv_lib_osxfuse_fuse_new" >&6; } 51213if test "x$ac_cv_lib_osxfuse_fuse_new" = xyes; then : 51214 ac_cv_libfuse_dummy=yes 51215else 51216 ac_cv_libfuse=no 51217fi 51218 51219 51220 ac_cv_libfuse_LIBADD="-losxfuse"; 51221 51222fi 51223 51224fi 51225 51226fi 51227 51228 if test "x$ac_cv_libfuse" = xlibfuse; then : 51229 51230$as_echo "#define HAVE_LIBFUSE 1" >>confdefs.h 51231 51232 51233fi 51234 if test "x$ac_cv_libfuse" = xlibosxfuse; then : 51235 51236$as_echo "#define HAVE_LIBOSXFUSE 1" >>confdefs.h 51237 51238 51239fi 51240 51241 if test "x$ac_cv_libfuse" != xno; then : 51242 HAVE_LIBFUSE=1 51243 51244else 51245 HAVE_LIBFUSE=0 51246 51247 51248fi 51249 51250 51251 if test "x$ac_cv_libfuse_CPPFLAGS" != "x"; then : 51252 LIBFUSE_CPPFLAGS=$ac_cv_libfuse_CPPFLAGS 51253 51254 51255fi 51256 if test "x$ac_cv_libfuse_LIBADD" != "x"; then : 51257 LIBFUSE_LIBADD=$ac_cv_libfuse_LIBADD 51258 51259 51260fi 51261 51262 if test "x$ac_cv_libfuse" = xlibfuse; then : 51263 ax_libfuse_pc_libs_private=-lfuse 51264 51265 51266fi 51267 if test "x$ac_cv_libfuse" = xlibosxfuse; then : 51268 ax_libfuse_pc_libs_private=-losxfuse 51269 51270 51271fi 51272 51273 if test "x$ac_cv_libfuse" = xlibfuse; then : 51274 ax_libfuse_spec_requires=fuse-libs 51275 51276 ax_libfuse_spec_build_requires=fuse-devel 51277 51278 51279fi 51280 51281 51282for ac_header in signal.h sys/signal.h unistd.h 51283do : 51284 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 51285ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 51286if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 51287 cat >>confdefs.h <<_ACEOF 51288#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 51289_ACEOF 51290 51291fi 51292 51293done 51294 51295 51296 for ac_func in close getopt setvbuf 51297do : 51298 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 51299ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 51300if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 51301 cat >>confdefs.h <<_ACEOF 51302#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 51303_ACEOF 51304 51305fi 51306done 51307 51308 51309 if test "x$ac_cv_func_close" != xyes; then : 51310 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 51311$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 51312as_fn_error 1 "Missing function: close 51313See \`config.log' for more details" "$LINENO" 5; } 51314 51315fi 51316 51317 for ac_header in stdarg.h varargs.h 51318do : 51319 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 51320ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 51321if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 51322 cat >>confdefs.h <<_ACEOF 51323#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 51324_ACEOF 51325 51326fi 51327 51328done 51329 51330 51331 if test "x$ac_cv_header_stdarg_h" != xyes && test "x$ac_cv_header_varargs_h" != xyes; then : 51332 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 51333$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 51334as_fn_error 1 "Missing headers: stdarg.h and varargs.h 51335See \`config.log' for more details" "$LINENO" 5; } 51336 51337fi 51338 51339 for ac_header in errno.h 51340do : 51341 ac_fn_c_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default" 51342if test "x$ac_cv_header_errno_h" = xyes; then : 51343 cat >>confdefs.h <<_ACEOF 51344#define HAVE_ERRNO_H 1 51345_ACEOF 51346 51347fi 51348 51349done 51350 51351 51352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 51353$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } 51354if ${ac_cv_header_time+:} false; then : 51355 $as_echo_n "(cached) " >&6 51356else 51357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 51358/* end confdefs.h. */ 51359#include <sys/types.h> 51360#include <sys/time.h> 51361#include <time.h> 51362 51363int 51364main () 51365{ 51366if ((struct tm *) 0) 51367return 0; 51368 ; 51369 return 0; 51370} 51371_ACEOF 51372if ac_fn_c_try_compile "$LINENO"; then : 51373 ac_cv_header_time=yes 51374else 51375 ac_cv_header_time=no 51376fi 51377rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 51378fi 51379{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5 51380$as_echo "$ac_cv_header_time" >&6; } 51381if test $ac_cv_header_time = yes; then 51382 51383$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h 51384 51385fi 51386 51387 51388 if test "x$ac_cv_enable_winapi" = xno; then : 51389 for ac_func in clock_gettime getegid geteuid time 51390do : 51391 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 51392ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 51393if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 51394 cat >>confdefs.h <<_ACEOF 51395#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 51396_ACEOF 51397 51398fi 51399done 51400 51401 51402fi 51403 51404 51405if test "x$enable_shared" = xyes && test "x$ac_cv_enable_static_executables" = xno; then : 51406 case $host in #( 51407 *cygwin* | *mingw* | *msys*) : 51408 51409$as_echo "#define HAVE_DLLMAIN 1" >>confdefs.h 51410 51411 HAVE_DLLMAIN=1 51412 51413 51414 LIBREGF_DLL_EXPORT="-DLIBREGF_DLL_EXPORT" 51415 51416 51417 LIBREGF_DLL_IMPORT="-DLIBREGF_DLL_IMPORT" 51418 51419 ;; #( 51420 *) : 51421 ;; 51422esac 51423 51424fi 51425 51426 51427for ac_header in dlfcn.h 51428do : 51429 ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default" 51430if test "x$ac_cv_header_dlfcn_h" = xyes; then : 51431 cat >>confdefs.h <<_ACEOF 51432#define HAVE_DLFCN_H 1 51433_ACEOF 51434 51435fi 51436 51437done 51438 51439 51440 for ac_func in fmemopen getopt mkstemp setenv tzset unlink 51441do : 51442 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 51443ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 51444if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 51445 cat >>confdefs.h <<_ACEOF 51446#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 51447_ACEOF 51448 51449fi 51450done 51451 51452 51453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlsym in -ldl" >&5 51454$as_echo_n "checking for dlsym in -ldl... " >&6; } 51455if ${ac_cv_lib_dl_dlsym+:} false; then : 51456 $as_echo_n "(cached) " >&6 51457else 51458 ac_check_lib_save_LIBS=$LIBS 51459LIBS="-ldl $LIBS" 51460cat confdefs.h - <<_ACEOF >conftest.$ac_ext 51461/* end confdefs.h. */ 51462 51463/* Override any GCC internal prototype to avoid an error. 51464 Use char because int might match the return type of a GCC 51465 builtin and then its argument prototype would still apply. */ 51466#ifdef __cplusplus 51467extern "C" 51468#endif 51469char dlsym (); 51470int 51471main () 51472{ 51473return dlsym (); 51474 ; 51475 return 0; 51476} 51477_ACEOF 51478if ac_fn_c_try_link "$LINENO"; then : 51479 ac_cv_lib_dl_dlsym=yes 51480else 51481 ac_cv_lib_dl_dlsym=no 51482fi 51483rm -f core conftest.err conftest.$ac_objext \ 51484 conftest$ac_exeext conftest.$ac_ext 51485LIBS=$ac_check_lib_save_LIBS 51486fi 51487{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlsym" >&5 51488$as_echo "$ac_cv_lib_dl_dlsym" >&6; } 51489if test "x$ac_cv_lib_dl_dlsym" = xyes; then : 51490 cat >>confdefs.h <<_ACEOF 51491#define HAVE_LIBDL 1 51492_ACEOF 51493 51494 LIBS="-ldl $LIBS" 51495 51496fi 51497 51498 51499 if test "x$lt_cv_prog_gnu_ld" = xyes && test "x$ac_cv_lib_dl_dlsym" = xyes; then : 51500 51501$as_echo "#define HAVE_GNU_DL_DLSYM 1" >>confdefs.h 51502 51503 51504fi 51505 51506 if test "x${LIB_FUZZING_ENGINE}" != x; then 51507 HAVE_LIB_FUZZING_ENGINE_TRUE= 51508 HAVE_LIB_FUZZING_ENGINE_FALSE='#' 51509else 51510 HAVE_LIB_FUZZING_ENGINE_TRUE='#' 51511 HAVE_LIB_FUZZING_ENGINE_FALSE= 51512fi 51513 51514 LIB_FUZZING_ENGINE="${LIB_FUZZING_ENGINE}" 51515 51516 51517 51518CFLAGS="$CFLAGS -Wall"; 51519 51520if 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_libfdatetime" = xyes || test "x$ac_cv_libfwnt" = xyes; then : 51521 libregf_spec_requires=Requires: 51522 51523 51524fi 51525 51526if test "x$ac_cv_libfuse" != xno; then : 51527 libregf_spec_tools_build_requires=BuildRequires: 51528 51529 51530fi 51531 51532DPKG_DATE=`date -R 2> /dev/null` 51533 51534 51535SPEC_DATE=`date +"%a %b %e %Y" 2> /dev/null` 51536 51537 51538ac_config_files="$ac_config_files Makefile" 51539 51540ac_config_files="$ac_config_files include/Makefile" 51541 51542ac_config_files="$ac_config_files common/Makefile" 51543 51544ac_config_files="$ac_config_files libcerror/Makefile" 51545 51546ac_config_files="$ac_config_files libcthreads/Makefile" 51547 51548ac_config_files="$ac_config_files libcdata/Makefile" 51549 51550ac_config_files="$ac_config_files libclocale/Makefile" 51551 51552ac_config_files="$ac_config_files libcnotify/Makefile" 51553 51554ac_config_files="$ac_config_files libcsplit/Makefile" 51555 51556ac_config_files="$ac_config_files libuna/Makefile" 51557 51558ac_config_files="$ac_config_files libcfile/Makefile" 51559 51560ac_config_files="$ac_config_files libcpath/Makefile" 51561 51562ac_config_files="$ac_config_files libbfio/Makefile" 51563 51564ac_config_files="$ac_config_files libfcache/Makefile" 51565 51566ac_config_files="$ac_config_files libfdata/Makefile" 51567 51568ac_config_files="$ac_config_files libfdatetime/Makefile" 51569 51570ac_config_files="$ac_config_files libfwnt/Makefile" 51571 51572ac_config_files="$ac_config_files libregf/Makefile" 51573 51574ac_config_files="$ac_config_files pyregf/Makefile" 51575 51576ac_config_files="$ac_config_files pyregf-python2/Makefile" 51577 51578ac_config_files="$ac_config_files pyregf-python3/Makefile" 51579 51580ac_config_files="$ac_config_files regftools/Makefile" 51581 51582ac_config_files="$ac_config_files po/Makefile.in" 51583 51584ac_config_files="$ac_config_files po/Makevars" 51585 51586ac_config_files="$ac_config_files manuals/Makefile" 51587 51588ac_config_files="$ac_config_files tests/Makefile" 51589 51590ac_config_files="$ac_config_files ossfuzz/Makefile" 51591 51592ac_config_files="$ac_config_files msvscpp/Makefile" 51593 51594ac_config_files="$ac_config_files include/libregf.h" 51595 51596ac_config_files="$ac_config_files include/libregf/definitions.h" 51597 51598ac_config_files="$ac_config_files include/libregf/features.h" 51599 51600ac_config_files="$ac_config_files include/libregf/types.h" 51601 51602ac_config_files="$ac_config_files libregf/libregf_definitions.h" 51603 51604ac_config_files="$ac_config_files common/types.h" 51605 51606ac_config_files="$ac_config_files dpkg/changelog" 51607 51608ac_config_files="$ac_config_files libregf/libregf.rc" 51609 51610ac_config_files="$ac_config_files libregf.pc" 51611 51612ac_config_files="$ac_config_files libregf.spec" 51613 51614ac_config_headers="$ac_config_headers common/config.h" 51615 51616 51617cat >confcache <<\_ACEOF 51618# This file is a shell script that caches the results of configure 51619# tests run on this system so they can be shared between configure 51620# scripts and configure runs, see configure's option --config-cache. 51621# It is not useful on other systems. If it contains results you don't 51622# want to keep, you may remove or edit it. 51623# 51624# config.status only pays attention to the cache file if you give it 51625# the --recheck option to rerun configure. 51626# 51627# `ac_cv_env_foo' variables (set or unset) will be overridden when 51628# loading this file, other *unset* `ac_cv_foo' will be assigned the 51629# following values. 51630 51631_ACEOF 51632 51633# The following way of writing the cache mishandles newlines in values, 51634# but we know of no workaround that is simple, portable, and efficient. 51635# So, we kill variables containing newlines. 51636# Ultrix sh set writes to stderr and can't be redirected directly, 51637# and sets the high bit in the cache file unless we assign to the vars. 51638( 51639 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 51640 eval ac_val=\$$ac_var 51641 case $ac_val in #( 51642 *${as_nl}*) 51643 case $ac_var in #( 51644 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 51645$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 51646 esac 51647 case $ac_var in #( 51648 _ | IFS | as_nl) ;; #( 51649 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 51650 *) { eval $ac_var=; unset $ac_var;} ;; 51651 esac ;; 51652 esac 51653 done 51654 51655 (set) 2>&1 | 51656 case $as_nl`(ac_space=' '; set) 2>&1` in #( 51657 *${as_nl}ac_space=\ *) 51658 # `set' does not quote correctly, so add quotes: double-quote 51659 # substitution turns \\\\ into \\, and sed turns \\ into \. 51660 sed -n \ 51661 "s/'/'\\\\''/g; 51662 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 51663 ;; #( 51664 *) 51665 # `set' quotes correctly as required by POSIX, so do not add quotes. 51666 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 51667 ;; 51668 esac | 51669 sort 51670) | 51671 sed ' 51672 /^ac_cv_env_/b end 51673 t clear 51674 :clear 51675 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 51676 t end 51677 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 51678 :end' >>confcache 51679if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 51680 if test -w "$cache_file"; then 51681 if test "x$cache_file" != "x/dev/null"; then 51682 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 51683$as_echo "$as_me: updating cache $cache_file" >&6;} 51684 if test ! -f "$cache_file" || test -h "$cache_file"; then 51685 cat confcache >"$cache_file" 51686 else 51687 case $cache_file in #( 51688 */* | ?:*) 51689 mv -f confcache "$cache_file"$$ && 51690 mv -f "$cache_file"$$ "$cache_file" ;; #( 51691 *) 51692 mv -f confcache "$cache_file" ;; 51693 esac 51694 fi 51695 fi 51696 else 51697 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 51698$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 51699 fi 51700fi 51701rm -f confcache 51702 51703test "x$prefix" = xNONE && prefix=$ac_default_prefix 51704# Let make expand exec_prefix. 51705test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 51706 51707DEFS=-DHAVE_CONFIG_H 51708 51709ac_libobjs= 51710ac_ltlibobjs= 51711U= 51712for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 51713 # 1. Remove the extension, and $U if already installed. 51714 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 51715 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 51716 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 51717 # will be set to the directory where LIBOBJS objects are built. 51718 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 51719 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 51720done 51721LIBOBJS=$ac_libobjs 51722 51723LTLIBOBJS=$ac_ltlibobjs 51724 51725 51726{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 51727$as_echo_n "checking that generated files are newer than configure... " >&6; } 51728 if test -n "$am_sleep_pid"; then 51729 # Hide warnings about reused PIDs. 51730 wait $am_sleep_pid 2>/dev/null 51731 fi 51732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 51733$as_echo "done" >&6; } 51734 if test -n "$EXEEXT"; then 51735 am__EXEEXT_TRUE= 51736 am__EXEEXT_FALSE='#' 51737else 51738 am__EXEEXT_TRUE='#' 51739 am__EXEEXT_FALSE= 51740fi 51741 51742if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 51743 as_fn_error $? "conditional \"AMDEP\" was never defined. 51744Usually this means the macro was only invoked conditionally." "$LINENO" 5 51745fi 51746if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 51747 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 51748Usually this means the macro was only invoked conditionally." "$LINENO" 5 51749fi 51750if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then 51751 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined. 51752Usually this means the macro was only invoked conditionally." "$LINENO" 5 51753fi 51754if test -z "${HAVE_LOCAL_LIBCERROR_TRUE}" && test -z "${HAVE_LOCAL_LIBCERROR_FALSE}"; then 51755 as_fn_error $? "conditional \"HAVE_LOCAL_LIBCERROR\" was never defined. 51756Usually this means the macro was only invoked conditionally." "$LINENO" 5 51757fi 51758if test -z "${HAVE_LOCAL_LIBCTHREADS_TRUE}" && test -z "${HAVE_LOCAL_LIBCTHREADS_FALSE}"; then 51759 as_fn_error $? "conditional \"HAVE_LOCAL_LIBCTHREADS\" was never defined. 51760Usually this means the macro was only invoked conditionally." "$LINENO" 5 51761fi 51762if test -z "${HAVE_LOCAL_LIBCDATA_TRUE}" && test -z "${HAVE_LOCAL_LIBCDATA_FALSE}"; then 51763 as_fn_error $? "conditional \"HAVE_LOCAL_LIBCDATA\" was never defined. 51764Usually this means the macro was only invoked conditionally." "$LINENO" 5 51765fi 51766if test -z "${HAVE_LOCAL_LIBCLOCALE_TRUE}" && test -z "${HAVE_LOCAL_LIBCLOCALE_FALSE}"; then 51767 as_fn_error $? "conditional \"HAVE_LOCAL_LIBCLOCALE\" was never defined. 51768Usually this means the macro was only invoked conditionally." "$LINENO" 5 51769fi 51770if test -z "${HAVE_LOCAL_LIBCNOTIFY_TRUE}" && test -z "${HAVE_LOCAL_LIBCNOTIFY_FALSE}"; then 51771 as_fn_error $? "conditional \"HAVE_LOCAL_LIBCNOTIFY\" was never defined. 51772Usually this means the macro was only invoked conditionally." "$LINENO" 5 51773fi 51774if test -z "${HAVE_LOCAL_LIBCSPLIT_TRUE}" && test -z "${HAVE_LOCAL_LIBCSPLIT_FALSE}"; then 51775 as_fn_error $? "conditional \"HAVE_LOCAL_LIBCSPLIT\" was never defined. 51776Usually this means the macro was only invoked conditionally." "$LINENO" 5 51777fi 51778if test -z "${HAVE_LOCAL_LIBUNA_TRUE}" && test -z "${HAVE_LOCAL_LIBUNA_FALSE}"; then 51779 as_fn_error $? "conditional \"HAVE_LOCAL_LIBUNA\" was never defined. 51780Usually this means the macro was only invoked conditionally." "$LINENO" 5 51781fi 51782if test -z "${HAVE_LOCAL_LIBCFILE_TRUE}" && test -z "${HAVE_LOCAL_LIBCFILE_FALSE}"; then 51783 as_fn_error $? "conditional \"HAVE_LOCAL_LIBCFILE\" was never defined. 51784Usually this means the macro was only invoked conditionally." "$LINENO" 5 51785fi 51786if test -z "${HAVE_LOCAL_LIBCPATH_TRUE}" && test -z "${HAVE_LOCAL_LIBCPATH_FALSE}"; then 51787 as_fn_error $? "conditional \"HAVE_LOCAL_LIBCPATH\" was never defined. 51788Usually this means the macro was only invoked conditionally." "$LINENO" 5 51789fi 51790if test -z "${HAVE_LOCAL_LIBBFIO_TRUE}" && test -z "${HAVE_LOCAL_LIBBFIO_FALSE}"; then 51791 as_fn_error $? "conditional \"HAVE_LOCAL_LIBBFIO\" was never defined. 51792Usually this means the macro was only invoked conditionally." "$LINENO" 5 51793fi 51794if test -z "${HAVE_LOCAL_LIBFCACHE_TRUE}" && test -z "${HAVE_LOCAL_LIBFCACHE_FALSE}"; then 51795 as_fn_error $? "conditional \"HAVE_LOCAL_LIBFCACHE\" was never defined. 51796Usually this means the macro was only invoked conditionally." "$LINENO" 5 51797fi 51798if test -z "${HAVE_LOCAL_LIBFDATA_TRUE}" && test -z "${HAVE_LOCAL_LIBFDATA_FALSE}"; then 51799 as_fn_error $? "conditional \"HAVE_LOCAL_LIBFDATA\" was never defined. 51800Usually this means the macro was only invoked conditionally." "$LINENO" 5 51801fi 51802if test -z "${HAVE_LOCAL_LIBFDATETIME_TRUE}" && test -z "${HAVE_LOCAL_LIBFDATETIME_FALSE}"; then 51803 as_fn_error $? "conditional \"HAVE_LOCAL_LIBFDATETIME\" was never defined. 51804Usually this means the macro was only invoked conditionally." "$LINENO" 5 51805fi 51806if test -z "${HAVE_LOCAL_LIBFWNT_TRUE}" && test -z "${HAVE_LOCAL_LIBFWNT_FALSE}"; then 51807 as_fn_error $? "conditional \"HAVE_LOCAL_LIBFWNT\" was never defined. 51808Usually this means the macro was only invoked conditionally." "$LINENO" 5 51809fi 51810if test -z "${HAVE_PYTHON_TRUE}" && test -z "${HAVE_PYTHON_FALSE}"; then 51811 as_fn_error $? "conditional \"HAVE_PYTHON\" was never defined. 51812Usually this means the macro was only invoked conditionally." "$LINENO" 5 51813fi 51814if test -z "${HAVE_PYTHON2_TRUE}" && test -z "${HAVE_PYTHON2_FALSE}"; then 51815 as_fn_error $? "conditional \"HAVE_PYTHON2\" was never defined. 51816Usually this means the macro was only invoked conditionally." "$LINENO" 5 51817fi 51818if test -z "${HAVE_PYTHON3_TRUE}" && test -z "${HAVE_PYTHON3_FALSE}"; then 51819 as_fn_error $? "conditional \"HAVE_PYTHON3\" was never defined. 51820Usually this means the macro was only invoked conditionally." "$LINENO" 5 51821fi 51822if test -z "${HAVE_PYTHON_TESTS_TRUE}" && test -z "${HAVE_PYTHON_TESTS_FALSE}"; then 51823 as_fn_error $? "conditional \"HAVE_PYTHON_TESTS\" was never defined. 51824Usually this means the macro was only invoked conditionally." "$LINENO" 5 51825fi 51826if test -z "${HAVE_LIB_FUZZING_ENGINE_TRUE}" && test -z "${HAVE_LIB_FUZZING_ENGINE_FALSE}"; then 51827 as_fn_error $? "conditional \"HAVE_LIB_FUZZING_ENGINE\" was never defined. 51828Usually this means the macro was only invoked conditionally." "$LINENO" 5 51829fi 51830 51831: "${CONFIG_STATUS=./config.status}" 51832ac_write_fail=0 51833ac_clean_files_save=$ac_clean_files 51834ac_clean_files="$ac_clean_files $CONFIG_STATUS" 51835{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 51836$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 51837as_write_fail=0 51838cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 51839#! $SHELL 51840# Generated by $as_me. 51841# Run this file to recreate the current configuration. 51842# Compiler output produced by configure, useful for debugging 51843# configure, is in config.log if it exists. 51844 51845debug=false 51846ac_cs_recheck=false 51847ac_cs_silent=false 51848 51849SHELL=\${CONFIG_SHELL-$SHELL} 51850export SHELL 51851_ASEOF 51852cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 51853## -------------------- ## 51854## M4sh Initialization. ## 51855## -------------------- ## 51856 51857# Be more Bourne compatible 51858DUALCASE=1; export DUALCASE # for MKS sh 51859if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 51860 emulate sh 51861 NULLCMD=: 51862 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 51863 # is contrary to our usage. Disable this feature. 51864 alias -g '${1+"$@"}'='"$@"' 51865 setopt NO_GLOB_SUBST 51866else 51867 case `(set -o) 2>/dev/null` in #( 51868 *posix*) : 51869 set -o posix ;; #( 51870 *) : 51871 ;; 51872esac 51873fi 51874 51875 51876as_nl=' 51877' 51878export as_nl 51879# Printing a long string crashes Solaris 7 /usr/bin/printf. 51880as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 51881as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 51882as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 51883# Prefer a ksh shell builtin over an external printf program on Solaris, 51884# but without wasting forks for bash or zsh. 51885if test -z "$BASH_VERSION$ZSH_VERSION" \ 51886 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 51887 as_echo='print -r --' 51888 as_echo_n='print -rn --' 51889elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 51890 as_echo='printf %s\n' 51891 as_echo_n='printf %s' 51892else 51893 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 51894 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 51895 as_echo_n='/usr/ucb/echo -n' 51896 else 51897 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 51898 as_echo_n_body='eval 51899 arg=$1; 51900 case $arg in #( 51901 *"$as_nl"*) 51902 expr "X$arg" : "X\\(.*\\)$as_nl"; 51903 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 51904 esac; 51905 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 51906 ' 51907 export as_echo_n_body 51908 as_echo_n='sh -c $as_echo_n_body as_echo' 51909 fi 51910 export as_echo_body 51911 as_echo='sh -c $as_echo_body as_echo' 51912fi 51913 51914# The user is always right. 51915if test "${PATH_SEPARATOR+set}" != set; then 51916 PATH_SEPARATOR=: 51917 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 51918 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 51919 PATH_SEPARATOR=';' 51920 } 51921fi 51922 51923 51924# IFS 51925# We need space, tab and new line, in precisely that order. Quoting is 51926# there to prevent editors from complaining about space-tab. 51927# (If _AS_PATH_WALK were called with IFS unset, it would disable word 51928# splitting by setting IFS to empty value.) 51929IFS=" "" $as_nl" 51930 51931# Find who we are. Look in the path if we contain no directory separator. 51932as_myself= 51933case $0 in #(( 51934 *[\\/]* ) as_myself=$0 ;; 51935 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 51936for as_dir in $PATH 51937do 51938 IFS=$as_save_IFS 51939 test -z "$as_dir" && as_dir=. 51940 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 51941 done 51942IFS=$as_save_IFS 51943 51944 ;; 51945esac 51946# We did not find ourselves, most probably we were run as `sh COMMAND' 51947# in which case we are not to be found in the path. 51948if test "x$as_myself" = x; then 51949 as_myself=$0 51950fi 51951if test ! -f "$as_myself"; then 51952 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 51953 exit 1 51954fi 51955 51956# Unset variables that we do not need and which cause bugs (e.g. in 51957# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 51958# suppresses any "Segmentation fault" message there. '((' could 51959# trigger a bug in pdksh 5.2.14. 51960for as_var in BASH_ENV ENV MAIL MAILPATH 51961do eval test x\${$as_var+set} = xset \ 51962 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 51963done 51964PS1='$ ' 51965PS2='> ' 51966PS4='+ ' 51967 51968# NLS nuisances. 51969LC_ALL=C 51970export LC_ALL 51971LANGUAGE=C 51972export LANGUAGE 51973 51974# CDPATH. 51975(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 51976 51977 51978# as_fn_error STATUS ERROR [LINENO LOG_FD] 51979# ---------------------------------------- 51980# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 51981# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 51982# script with STATUS, using 1 if that was 0. 51983as_fn_error () 51984{ 51985 as_status=$1; test $as_status -eq 0 && as_status=1 51986 if test "$4"; then 51987 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 51988 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 51989 fi 51990 $as_echo "$as_me: error: $2" >&2 51991 as_fn_exit $as_status 51992} # as_fn_error 51993 51994 51995# as_fn_set_status STATUS 51996# ----------------------- 51997# Set $? to STATUS, without forking. 51998as_fn_set_status () 51999{ 52000 return $1 52001} # as_fn_set_status 52002 52003# as_fn_exit STATUS 52004# ----------------- 52005# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 52006as_fn_exit () 52007{ 52008 set +e 52009 as_fn_set_status $1 52010 exit $1 52011} # as_fn_exit 52012 52013# as_fn_unset VAR 52014# --------------- 52015# Portably unset VAR. 52016as_fn_unset () 52017{ 52018 { eval $1=; unset $1;} 52019} 52020as_unset=as_fn_unset 52021# as_fn_append VAR VALUE 52022# ---------------------- 52023# Append the text in VALUE to the end of the definition contained in VAR. Take 52024# advantage of any shell optimizations that allow amortized linear growth over 52025# repeated appends, instead of the typical quadratic growth present in naive 52026# implementations. 52027if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 52028 eval 'as_fn_append () 52029 { 52030 eval $1+=\$2 52031 }' 52032else 52033 as_fn_append () 52034 { 52035 eval $1=\$$1\$2 52036 } 52037fi # as_fn_append 52038 52039# as_fn_arith ARG... 52040# ------------------ 52041# Perform arithmetic evaluation on the ARGs, and store the result in the 52042# global $as_val. Take advantage of shells that can avoid forks. The arguments 52043# must be portable across $(()) and expr. 52044if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 52045 eval 'as_fn_arith () 52046 { 52047 as_val=$(( $* )) 52048 }' 52049else 52050 as_fn_arith () 52051 { 52052 as_val=`expr "$@" || test $? -eq 1` 52053 } 52054fi # as_fn_arith 52055 52056 52057if expr a : '\(a\)' >/dev/null 2>&1 && 52058 test "X`expr 00001 : '.*\(...\)'`" = X001; then 52059 as_expr=expr 52060else 52061 as_expr=false 52062fi 52063 52064if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 52065 as_basename=basename 52066else 52067 as_basename=false 52068fi 52069 52070if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 52071 as_dirname=dirname 52072else 52073 as_dirname=false 52074fi 52075 52076as_me=`$as_basename -- "$0" || 52077$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 52078 X"$0" : 'X\(//\)$' \| \ 52079 X"$0" : 'X\(/\)' \| . 2>/dev/null || 52080$as_echo X/"$0" | 52081 sed '/^.*\/\([^/][^/]*\)\/*$/{ 52082 s//\1/ 52083 q 52084 } 52085 /^X\/\(\/\/\)$/{ 52086 s//\1/ 52087 q 52088 } 52089 /^X\/\(\/\).*/{ 52090 s//\1/ 52091 q 52092 } 52093 s/.*/./; q'` 52094 52095# Avoid depending upon Character Ranges. 52096as_cr_letters='abcdefghijklmnopqrstuvwxyz' 52097as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 52098as_cr_Letters=$as_cr_letters$as_cr_LETTERS 52099as_cr_digits='0123456789' 52100as_cr_alnum=$as_cr_Letters$as_cr_digits 52101 52102ECHO_C= ECHO_N= ECHO_T= 52103case `echo -n x` in #((((( 52104-n*) 52105 case `echo 'xy\c'` in 52106 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 52107 xy) ECHO_C='\c';; 52108 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 52109 ECHO_T=' ';; 52110 esac;; 52111*) 52112 ECHO_N='-n';; 52113esac 52114 52115rm -f conf$$ conf$$.exe conf$$.file 52116if test -d conf$$.dir; then 52117 rm -f conf$$.dir/conf$$.file 52118else 52119 rm -f conf$$.dir 52120 mkdir conf$$.dir 2>/dev/null 52121fi 52122if (echo >conf$$.file) 2>/dev/null; then 52123 if ln -s conf$$.file conf$$ 2>/dev/null; then 52124 as_ln_s='ln -s' 52125 # ... but there are two gotchas: 52126 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 52127 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 52128 # In both cases, we have to default to `cp -pR'. 52129 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 52130 as_ln_s='cp -pR' 52131 elif ln conf$$.file conf$$ 2>/dev/null; then 52132 as_ln_s=ln 52133 else 52134 as_ln_s='cp -pR' 52135 fi 52136else 52137 as_ln_s='cp -pR' 52138fi 52139rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 52140rmdir conf$$.dir 2>/dev/null 52141 52142 52143# as_fn_mkdir_p 52144# ------------- 52145# Create "$as_dir" as a directory, including parents if necessary. 52146as_fn_mkdir_p () 52147{ 52148 52149 case $as_dir in #( 52150 -*) as_dir=./$as_dir;; 52151 esac 52152 test -d "$as_dir" || eval $as_mkdir_p || { 52153 as_dirs= 52154 while :; do 52155 case $as_dir in #( 52156 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 52157 *) as_qdir=$as_dir;; 52158 esac 52159 as_dirs="'$as_qdir' $as_dirs" 52160 as_dir=`$as_dirname -- "$as_dir" || 52161$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 52162 X"$as_dir" : 'X\(//\)[^/]' \| \ 52163 X"$as_dir" : 'X\(//\)$' \| \ 52164 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 52165$as_echo X"$as_dir" | 52166 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 52167 s//\1/ 52168 q 52169 } 52170 /^X\(\/\/\)[^/].*/{ 52171 s//\1/ 52172 q 52173 } 52174 /^X\(\/\/\)$/{ 52175 s//\1/ 52176 q 52177 } 52178 /^X\(\/\).*/{ 52179 s//\1/ 52180 q 52181 } 52182 s/.*/./; q'` 52183 test -d "$as_dir" && break 52184 done 52185 test -z "$as_dirs" || eval "mkdir $as_dirs" 52186 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 52187 52188 52189} # as_fn_mkdir_p 52190if mkdir -p . 2>/dev/null; then 52191 as_mkdir_p='mkdir -p "$as_dir"' 52192else 52193 test -d ./-p && rmdir ./-p 52194 as_mkdir_p=false 52195fi 52196 52197 52198# as_fn_executable_p FILE 52199# ----------------------- 52200# Test if FILE is an executable regular file. 52201as_fn_executable_p () 52202{ 52203 test -f "$1" && test -x "$1" 52204} # as_fn_executable_p 52205as_test_x='test -x' 52206as_executable_p=as_fn_executable_p 52207 52208# Sed expression to map a string onto a valid CPP name. 52209as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 52210 52211# Sed expression to map a string onto a valid variable name. 52212as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 52213 52214 52215exec 6>&1 52216## ----------------------------------- ## 52217## Main body of $CONFIG_STATUS script. ## 52218## ----------------------------------- ## 52219_ASEOF 52220test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 52221 52222cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 52223# Save the log message, to keep $0 and so on meaningful, and to 52224# report actual input values of CONFIG_FILES etc. instead of their 52225# values after options handling. 52226ac_log=" 52227This file was extended by libregf $as_me 20210615, which was 52228generated by GNU Autoconf 2.69. Invocation command line was 52229 52230 CONFIG_FILES = $CONFIG_FILES 52231 CONFIG_HEADERS = $CONFIG_HEADERS 52232 CONFIG_LINKS = $CONFIG_LINKS 52233 CONFIG_COMMANDS = $CONFIG_COMMANDS 52234 $ $0 $@ 52235 52236on `(hostname || uname -n) 2>/dev/null | sed 1q` 52237" 52238 52239_ACEOF 52240 52241case $ac_config_files in *" 52242"*) set x $ac_config_files; shift; ac_config_files=$*;; 52243esac 52244 52245case $ac_config_headers in *" 52246"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 52247esac 52248 52249 52250cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 52251# Files that config.status was made for. 52252config_files="$ac_config_files" 52253config_headers="$ac_config_headers" 52254config_commands="$ac_config_commands" 52255 52256_ACEOF 52257 52258cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 52259ac_cs_usage="\ 52260\`$as_me' instantiates files and other configuration actions 52261from templates according to the current configuration. Unless the files 52262and actions are specified as TAGs, all are instantiated by default. 52263 52264Usage: $0 [OPTION]... [TAG]... 52265 52266 -h, --help print this help, then exit 52267 -V, --version print version number and configuration settings, then exit 52268 --config print configuration, then exit 52269 -q, --quiet, --silent 52270 do not print progress messages 52271 -d, --debug don't remove temporary files 52272 --recheck update $as_me by reconfiguring in the same conditions 52273 --file=FILE[:TEMPLATE] 52274 instantiate the configuration file FILE 52275 --header=FILE[:TEMPLATE] 52276 instantiate the configuration header FILE 52277 52278Configuration files: 52279$config_files 52280 52281Configuration headers: 52282$config_headers 52283 52284Configuration commands: 52285$config_commands 52286 52287Report bugs to <joachim.metz@gmail.com>." 52288 52289_ACEOF 52290cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 52291ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 52292ac_cs_version="\\ 52293libregf config.status 20210615 52294configured by $0, generated by GNU Autoconf 2.69, 52295 with options \\"\$ac_cs_config\\" 52296 52297Copyright (C) 2012 Free Software Foundation, Inc. 52298This config.status script is free software; the Free Software Foundation 52299gives unlimited permission to copy, distribute and modify it." 52300 52301ac_pwd='$ac_pwd' 52302srcdir='$srcdir' 52303INSTALL='$INSTALL' 52304MKDIR_P='$MKDIR_P' 52305AWK='$AWK' 52306test -n "\$AWK" || AWK=awk 52307_ACEOF 52308 52309cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 52310# The default lists apply if the user does not specify any file. 52311ac_need_defaults=: 52312while test $# != 0 52313do 52314 case $1 in 52315 --*=?*) 52316 ac_option=`expr "X$1" : 'X\([^=]*\)='` 52317 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 52318 ac_shift=: 52319 ;; 52320 --*=) 52321 ac_option=`expr "X$1" : 'X\([^=]*\)='` 52322 ac_optarg= 52323 ac_shift=: 52324 ;; 52325 *) 52326 ac_option=$1 52327 ac_optarg=$2 52328 ac_shift=shift 52329 ;; 52330 esac 52331 52332 case $ac_option in 52333 # Handling of the options. 52334 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 52335 ac_cs_recheck=: ;; 52336 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 52337 $as_echo "$ac_cs_version"; exit ;; 52338 --config | --confi | --conf | --con | --co | --c ) 52339 $as_echo "$ac_cs_config"; exit ;; 52340 --debug | --debu | --deb | --de | --d | -d ) 52341 debug=: ;; 52342 --file | --fil | --fi | --f ) 52343 $ac_shift 52344 case $ac_optarg in 52345 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 52346 '') as_fn_error $? "missing file argument" ;; 52347 esac 52348 as_fn_append CONFIG_FILES " '$ac_optarg'" 52349 ac_need_defaults=false;; 52350 --header | --heade | --head | --hea ) 52351 $ac_shift 52352 case $ac_optarg in 52353 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 52354 esac 52355 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 52356 ac_need_defaults=false;; 52357 --he | --h) 52358 # Conflict between --help and --header 52359 as_fn_error $? "ambiguous option: \`$1' 52360Try \`$0 --help' for more information.";; 52361 --help | --hel | -h ) 52362 $as_echo "$ac_cs_usage"; exit ;; 52363 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 52364 | -silent | --silent | --silen | --sile | --sil | --si | --s) 52365 ac_cs_silent=: ;; 52366 52367 # This is an error. 52368 -*) as_fn_error $? "unrecognized option: \`$1' 52369Try \`$0 --help' for more information." ;; 52370 52371 *) as_fn_append ac_config_targets " $1" 52372 ac_need_defaults=false ;; 52373 52374 esac 52375 shift 52376done 52377 52378ac_configure_extra_args= 52379 52380if $ac_cs_silent; then 52381 exec 6>/dev/null 52382 ac_configure_extra_args="$ac_configure_extra_args --silent" 52383fi 52384 52385_ACEOF 52386cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 52387if \$ac_cs_recheck; then 52388 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 52389 shift 52390 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 52391 CONFIG_SHELL='$SHELL' 52392 export CONFIG_SHELL 52393 exec "\$@" 52394fi 52395 52396_ACEOF 52397cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 52398exec 5>>config.log 52399{ 52400 echo 52401 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 52402## Running $as_me. ## 52403_ASBOX 52404 $as_echo "$ac_log" 52405} >&5 52406 52407_ACEOF 52408cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 52409# 52410# INIT-COMMANDS 52411# 52412AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}" 52413 52414 52415# The HP-UX ksh and POSIX shell print the target directory to stdout 52416# if CDPATH is set. 52417(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 52418 52419sed_quote_subst='$sed_quote_subst' 52420double_quote_subst='$double_quote_subst' 52421delay_variable_subst='$delay_variable_subst' 52422AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`' 52423DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 52424OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 52425macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 52426macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 52427enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 52428enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 52429pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 52430enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 52431shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`' 52432SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 52433ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 52434PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 52435host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 52436host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 52437host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 52438build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 52439build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 52440build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 52441SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 52442Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 52443GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 52444EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 52445FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 52446LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 52447NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 52448LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 52449max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 52450ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 52451exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 52452lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 52453lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 52454lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 52455lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 52456lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 52457reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 52458reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 52459deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 52460file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 52461file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 52462want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 52463sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 52464AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 52465AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 52466archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 52467STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 52468RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 52469old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 52470old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 52471old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 52472lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 52473CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 52474CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 52475compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 52476GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 52477lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 52478lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 52479lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' 52480lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 52481lt_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"`' 52482lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`' 52483nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 52484lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 52485lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`' 52486objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 52487MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 52488lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 52489lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 52490lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 52491lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 52492lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 52493need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 52494MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 52495DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 52496NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 52497LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 52498OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 52499OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 52500libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 52501shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 52502extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 52503archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 52504enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 52505export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 52506whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 52507compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 52508old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 52509old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 52510archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 52511archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 52512module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 52513module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 52514with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 52515allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 52516no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 52517hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 52518hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 52519hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 52520hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 52521hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 52522hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 52523hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 52524inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 52525link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 52526always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 52527export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 52528exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 52529include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 52530prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 52531postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 52532file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 52533variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 52534need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 52535need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 52536version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 52537runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 52538shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 52539shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 52540libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 52541library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 52542soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 52543install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 52544postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 52545postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 52546finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 52547finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 52548hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 52549sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 52550configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`' 52551configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`' 52552hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 52553enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 52554enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 52555enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 52556old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 52557striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 52558compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`' 52559predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`' 52560postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`' 52561predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`' 52562postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`' 52563compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`' 52564LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`' 52565reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`' 52566reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`' 52567old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' 52568compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`' 52569GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`' 52570lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`' 52571lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`' 52572lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`' 52573lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`' 52574lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`' 52575archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`' 52576enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`' 52577export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 52578whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 52579compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`' 52580old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`' 52581old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`' 52582archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' 52583archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' 52584module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`' 52585module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' 52586with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`' 52587allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' 52588no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' 52589hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 52590hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`' 52591hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`' 52592hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`' 52593hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`' 52594hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`' 52595hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`' 52596inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`' 52597link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`' 52598always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`' 52599export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`' 52600exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`' 52601include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`' 52602prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`' 52603postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`' 52604file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`' 52605hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`' 52606compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`' 52607predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`' 52608postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`' 52609predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`' 52610postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`' 52611compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`' 52612 52613LTCC='$LTCC' 52614LTCFLAGS='$LTCFLAGS' 52615compiler='$compiler_DEFAULT' 52616 52617# A function that is used when there is no print builtin or printf. 52618func_fallback_echo () 52619{ 52620 eval 'cat <<_LTECHO_EOF 52621\$1 52622_LTECHO_EOF' 52623} 52624 52625# Quote evaled strings. 52626for var in AS \ 52627DLLTOOL \ 52628OBJDUMP \ 52629SHELL \ 52630ECHO \ 52631PATH_SEPARATOR \ 52632SED \ 52633GREP \ 52634EGREP \ 52635FGREP \ 52636LD \ 52637NM \ 52638LN_S \ 52639lt_SP2NL \ 52640lt_NL2SP \ 52641reload_flag \ 52642deplibs_check_method \ 52643file_magic_cmd \ 52644file_magic_glob \ 52645want_nocaseglob \ 52646sharedlib_from_linklib_cmd \ 52647AR \ 52648AR_FLAGS \ 52649archiver_list_spec \ 52650STRIP \ 52651RANLIB \ 52652CC \ 52653CFLAGS \ 52654compiler \ 52655lt_cv_sys_global_symbol_pipe \ 52656lt_cv_sys_global_symbol_to_cdecl \ 52657lt_cv_sys_global_symbol_to_import \ 52658lt_cv_sys_global_symbol_to_c_name_address \ 52659lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 52660lt_cv_nm_interface \ 52661nm_file_list_spec \ 52662lt_cv_truncate_bin \ 52663lt_prog_compiler_no_builtin_flag \ 52664lt_prog_compiler_pic \ 52665lt_prog_compiler_wl \ 52666lt_prog_compiler_static \ 52667lt_cv_prog_compiler_c_o \ 52668need_locks \ 52669MANIFEST_TOOL \ 52670DSYMUTIL \ 52671NMEDIT \ 52672LIPO \ 52673OTOOL \ 52674OTOOL64 \ 52675shrext_cmds \ 52676export_dynamic_flag_spec \ 52677whole_archive_flag_spec \ 52678compiler_needs_object \ 52679with_gnu_ld \ 52680allow_undefined_flag \ 52681no_undefined_flag \ 52682hardcode_libdir_flag_spec \ 52683hardcode_libdir_separator \ 52684exclude_expsyms \ 52685include_expsyms \ 52686file_list_spec \ 52687variables_saved_for_relink \ 52688libname_spec \ 52689library_names_spec \ 52690soname_spec \ 52691install_override_mode \ 52692finish_eval \ 52693old_striplib \ 52694striplib \ 52695compiler_lib_search_dirs \ 52696predep_objects \ 52697postdep_objects \ 52698predeps \ 52699postdeps \ 52700compiler_lib_search_path \ 52701LD_CXX \ 52702reload_flag_CXX \ 52703compiler_CXX \ 52704lt_prog_compiler_no_builtin_flag_CXX \ 52705lt_prog_compiler_pic_CXX \ 52706lt_prog_compiler_wl_CXX \ 52707lt_prog_compiler_static_CXX \ 52708lt_cv_prog_compiler_c_o_CXX \ 52709export_dynamic_flag_spec_CXX \ 52710whole_archive_flag_spec_CXX \ 52711compiler_needs_object_CXX \ 52712with_gnu_ld_CXX \ 52713allow_undefined_flag_CXX \ 52714no_undefined_flag_CXX \ 52715hardcode_libdir_flag_spec_CXX \ 52716hardcode_libdir_separator_CXX \ 52717exclude_expsyms_CXX \ 52718include_expsyms_CXX \ 52719file_list_spec_CXX \ 52720compiler_lib_search_dirs_CXX \ 52721predep_objects_CXX \ 52722postdep_objects_CXX \ 52723predeps_CXX \ 52724postdeps_CXX \ 52725compiler_lib_search_path_CXX; do 52726 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 52727 *[\\\\\\\`\\"\\\$]*) 52728 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 52729 ;; 52730 *) 52731 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 52732 ;; 52733 esac 52734done 52735 52736# Double-quote double-evaled strings. 52737for var in reload_cmds \ 52738old_postinstall_cmds \ 52739old_postuninstall_cmds \ 52740old_archive_cmds \ 52741extract_expsyms_cmds \ 52742old_archive_from_new_cmds \ 52743old_archive_from_expsyms_cmds \ 52744archive_cmds \ 52745archive_expsym_cmds \ 52746module_cmds \ 52747module_expsym_cmds \ 52748export_symbols_cmds \ 52749prelink_cmds \ 52750postlink_cmds \ 52751postinstall_cmds \ 52752postuninstall_cmds \ 52753finish_cmds \ 52754sys_lib_search_path_spec \ 52755configure_time_dlsearch_path \ 52756configure_time_lt_sys_library_path \ 52757reload_cmds_CXX \ 52758old_archive_cmds_CXX \ 52759old_archive_from_new_cmds_CXX \ 52760old_archive_from_expsyms_cmds_CXX \ 52761archive_cmds_CXX \ 52762archive_expsym_cmds_CXX \ 52763module_cmds_CXX \ 52764module_expsym_cmds_CXX \ 52765export_symbols_cmds_CXX \ 52766prelink_cmds_CXX \ 52767postlink_cmds_CXX; do 52768 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 52769 *[\\\\\\\`\\"\\\$]*) 52770 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 52771 ;; 52772 *) 52773 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 52774 ;; 52775 esac 52776done 52777 52778ac_aux_dir='$ac_aux_dir' 52779 52780# See if we are running on zsh, and set the options that allow our 52781# commands through without removal of \ escapes INIT. 52782if test -n "\${ZSH_VERSION+set}"; then 52783 setopt NO_GLOB_SUBST 52784fi 52785 52786 52787 PACKAGE='$PACKAGE' 52788 VERSION='$VERSION' 52789 RM='$RM' 52790 ofile='$ofile' 52791 52792 52793 52794 52795 52796# Capture the value of obsolete ALL_LINGUAS because we need it to compute 52797 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it 52798 # from automake < 1.5. 52799 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"' 52800 # Capture the value of LINGUAS because we need it to compute CATALOGS. 52801 LINGUAS="${LINGUAS-%UNSET%}" 52802 52803 52804_ACEOF 52805 52806cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 52807 52808# Handling of arguments. 52809for ac_config_target in $ac_config_targets 52810do 52811 case $ac_config_target in 52812 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 52813 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 52814 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;; 52815 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 52816 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;; 52817 "common/Makefile") CONFIG_FILES="$CONFIG_FILES common/Makefile" ;; 52818 "libcerror/Makefile") CONFIG_FILES="$CONFIG_FILES libcerror/Makefile" ;; 52819 "libcthreads/Makefile") CONFIG_FILES="$CONFIG_FILES libcthreads/Makefile" ;; 52820 "libcdata/Makefile") CONFIG_FILES="$CONFIG_FILES libcdata/Makefile" ;; 52821 "libclocale/Makefile") CONFIG_FILES="$CONFIG_FILES libclocale/Makefile" ;; 52822 "libcnotify/Makefile") CONFIG_FILES="$CONFIG_FILES libcnotify/Makefile" ;; 52823 "libcsplit/Makefile") CONFIG_FILES="$CONFIG_FILES libcsplit/Makefile" ;; 52824 "libuna/Makefile") CONFIG_FILES="$CONFIG_FILES libuna/Makefile" ;; 52825 "libcfile/Makefile") CONFIG_FILES="$CONFIG_FILES libcfile/Makefile" ;; 52826 "libcpath/Makefile") CONFIG_FILES="$CONFIG_FILES libcpath/Makefile" ;; 52827 "libbfio/Makefile") CONFIG_FILES="$CONFIG_FILES libbfio/Makefile" ;; 52828 "libfcache/Makefile") CONFIG_FILES="$CONFIG_FILES libfcache/Makefile" ;; 52829 "libfdata/Makefile") CONFIG_FILES="$CONFIG_FILES libfdata/Makefile" ;; 52830 "libfdatetime/Makefile") CONFIG_FILES="$CONFIG_FILES libfdatetime/Makefile" ;; 52831 "libfwnt/Makefile") CONFIG_FILES="$CONFIG_FILES libfwnt/Makefile" ;; 52832 "libregf/Makefile") CONFIG_FILES="$CONFIG_FILES libregf/Makefile" ;; 52833 "pyregf/Makefile") CONFIG_FILES="$CONFIG_FILES pyregf/Makefile" ;; 52834 "pyregf-python2/Makefile") CONFIG_FILES="$CONFIG_FILES pyregf-python2/Makefile" ;; 52835 "pyregf-python3/Makefile") CONFIG_FILES="$CONFIG_FILES pyregf-python3/Makefile" ;; 52836 "regftools/Makefile") CONFIG_FILES="$CONFIG_FILES regftools/Makefile" ;; 52837 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; 52838 "po/Makevars") CONFIG_FILES="$CONFIG_FILES po/Makevars" ;; 52839 "manuals/Makefile") CONFIG_FILES="$CONFIG_FILES manuals/Makefile" ;; 52840 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; 52841 "ossfuzz/Makefile") CONFIG_FILES="$CONFIG_FILES ossfuzz/Makefile" ;; 52842 "msvscpp/Makefile") CONFIG_FILES="$CONFIG_FILES msvscpp/Makefile" ;; 52843 "include/libregf.h") CONFIG_FILES="$CONFIG_FILES include/libregf.h" ;; 52844 "include/libregf/definitions.h") CONFIG_FILES="$CONFIG_FILES include/libregf/definitions.h" ;; 52845 "include/libregf/features.h") CONFIG_FILES="$CONFIG_FILES include/libregf/features.h" ;; 52846 "include/libregf/types.h") CONFIG_FILES="$CONFIG_FILES include/libregf/types.h" ;; 52847 "libregf/libregf_definitions.h") CONFIG_FILES="$CONFIG_FILES libregf/libregf_definitions.h" ;; 52848 "common/types.h") CONFIG_FILES="$CONFIG_FILES common/types.h" ;; 52849 "dpkg/changelog") CONFIG_FILES="$CONFIG_FILES dpkg/changelog" ;; 52850 "libregf/libregf.rc") CONFIG_FILES="$CONFIG_FILES libregf/libregf.rc" ;; 52851 "libregf.pc") CONFIG_FILES="$CONFIG_FILES libregf.pc" ;; 52852 "libregf.spec") CONFIG_FILES="$CONFIG_FILES libregf.spec" ;; 52853 "common/config.h") CONFIG_HEADERS="$CONFIG_HEADERS common/config.h" ;; 52854 52855 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 52856 esac 52857done 52858 52859 52860# If the user did not use the arguments to specify the items to instantiate, 52861# then the envvar interface is used. Set only those that are not. 52862# We use the long form for the default assignment because of an extremely 52863# bizarre bug on SunOS 4.1.3. 52864if $ac_need_defaults; then 52865 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 52866 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 52867 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 52868fi 52869 52870# Have a temporary directory for convenience. Make it in the build tree 52871# simply because there is no reason against having it here, and in addition, 52872# creating and moving files from /tmp can sometimes cause problems. 52873# Hook for its removal unless debugging. 52874# Note that there is a small window in which the directory will not be cleaned: 52875# after its creation but before its name has been assigned to `$tmp'. 52876$debug || 52877{ 52878 tmp= ac_tmp= 52879 trap 'exit_status=$? 52880 : "${ac_tmp:=$tmp}" 52881 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 52882' 0 52883 trap 'as_fn_exit 1' 1 2 13 15 52884} 52885# Create a (secure) tmp directory for tmp files. 52886 52887{ 52888 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 52889 test -d "$tmp" 52890} || 52891{ 52892 tmp=./conf$$-$RANDOM 52893 (umask 077 && mkdir "$tmp") 52894} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 52895ac_tmp=$tmp 52896 52897# Set up the scripts for CONFIG_FILES section. 52898# No need to generate them if there are no CONFIG_FILES. 52899# This happens for instance with `./config.status config.h'. 52900if test -n "$CONFIG_FILES"; then 52901 52902 52903ac_cr=`echo X | tr X '\015'` 52904# On cygwin, bash can eat \r inside `` if the user requested igncr. 52905# But we know of no other shell where ac_cr would be empty at this 52906# point, so we can use a bashism as a fallback. 52907if test "x$ac_cr" = x; then 52908 eval ac_cr=\$\'\\r\' 52909fi 52910ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 52911if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 52912 ac_cs_awk_cr='\\r' 52913else 52914 ac_cs_awk_cr=$ac_cr 52915fi 52916 52917echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 52918_ACEOF 52919 52920 52921{ 52922 echo "cat >conf$$subs.awk <<_ACEOF" && 52923 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 52924 echo "_ACEOF" 52925} >conf$$subs.sh || 52926 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 52927ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 52928ac_delim='%!_!# ' 52929for ac_last_try in false false false false false :; do 52930 . ./conf$$subs.sh || 52931 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 52932 52933 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 52934 if test $ac_delim_n = $ac_delim_num; then 52935 break 52936 elif $ac_last_try; then 52937 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 52938 else 52939 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 52940 fi 52941done 52942rm -f conf$$subs.sh 52943 52944cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 52945cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 52946_ACEOF 52947sed -n ' 52948h 52949s/^/S["/; s/!.*/"]=/ 52950p 52951g 52952s/^[^!]*!// 52953:repl 52954t repl 52955s/'"$ac_delim"'$// 52956t delim 52957:nl 52958h 52959s/\(.\{148\}\)..*/\1/ 52960t more1 52961s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 52962p 52963n 52964b repl 52965:more1 52966s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 52967p 52968g 52969s/.\{148\}// 52970t nl 52971:delim 52972h 52973s/\(.\{148\}\)..*/\1/ 52974t more2 52975s/["\\]/\\&/g; s/^/"/; s/$/"/ 52976p 52977b 52978:more2 52979s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 52980p 52981g 52982s/.\{148\}// 52983t delim 52984' <conf$$subs.awk | sed ' 52985/^[^""]/{ 52986 N 52987 s/\n// 52988} 52989' >>$CONFIG_STATUS || ac_write_fail=1 52990rm -f conf$$subs.awk 52991cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 52992_ACAWK 52993cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 52994 for (key in S) S_is_set[key] = 1 52995 FS = "" 52996 52997} 52998{ 52999 line = $ 0 53000 nfields = split(line, field, "@") 53001 substed = 0 53002 len = length(field[1]) 53003 for (i = 2; i < nfields; i++) { 53004 key = field[i] 53005 keylen = length(key) 53006 if (S_is_set[key]) { 53007 value = S[key] 53008 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 53009 len += length(value) + length(field[++i]) 53010 substed = 1 53011 } else 53012 len += 1 + keylen 53013 } 53014 53015 print line 53016} 53017 53018_ACAWK 53019_ACEOF 53020cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 53021if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 53022 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 53023else 53024 cat 53025fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 53026 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 53027_ACEOF 53028 53029# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 53030# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 53031# trailing colons and then remove the whole line if VPATH becomes empty 53032# (actually we leave an empty line to preserve line numbers). 53033if test "x$srcdir" = x.; then 53034 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 53035h 53036s/// 53037s/^/:/ 53038s/[ ]*$/:/ 53039s/:\$(srcdir):/:/g 53040s/:\${srcdir}:/:/g 53041s/:@srcdir@:/:/g 53042s/^:*// 53043s/:*$// 53044x 53045s/\(=[ ]*\).*/\1/ 53046G 53047s/\n// 53048s/^[^=]*=[ ]*$// 53049}' 53050fi 53051 53052cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 53053fi # test -n "$CONFIG_FILES" 53054 53055# Set up the scripts for CONFIG_HEADERS section. 53056# No need to generate them if there are no CONFIG_HEADERS. 53057# This happens for instance with `./config.status Makefile'. 53058if test -n "$CONFIG_HEADERS"; then 53059cat >"$ac_tmp/defines.awk" <<\_ACAWK || 53060BEGIN { 53061_ACEOF 53062 53063# Transform confdefs.h into an awk script `defines.awk', embedded as 53064# here-document in config.status, that substitutes the proper values into 53065# config.h.in to produce config.h. 53066 53067# Create a delimiter string that does not exist in confdefs.h, to ease 53068# handling of long lines. 53069ac_delim='%!_!# ' 53070for ac_last_try in false false :; do 53071 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 53072 if test -z "$ac_tt"; then 53073 break 53074 elif $ac_last_try; then 53075 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 53076 else 53077 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 53078 fi 53079done 53080 53081# For the awk script, D is an array of macro values keyed by name, 53082# likewise P contains macro parameters if any. Preserve backslash 53083# newline sequences. 53084 53085ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 53086sed -n ' 53087s/.\{148\}/&'"$ac_delim"'/g 53088t rset 53089:rset 53090s/^[ ]*#[ ]*define[ ][ ]*/ / 53091t def 53092d 53093:def 53094s/\\$// 53095t bsnl 53096s/["\\]/\\&/g 53097s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 53098D["\1"]=" \3"/p 53099s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 53100d 53101:bsnl 53102s/["\\]/\\&/g 53103s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 53104D["\1"]=" \3\\\\\\n"\\/p 53105t cont 53106s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 53107t cont 53108d 53109:cont 53110n 53111s/.\{148\}/&'"$ac_delim"'/g 53112t clear 53113:clear 53114s/\\$// 53115t bsnlc 53116s/["\\]/\\&/g; s/^/"/; s/$/"/p 53117d 53118:bsnlc 53119s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 53120b cont 53121' <confdefs.h | sed ' 53122s/'"$ac_delim"'/"\\\ 53123"/g' >>$CONFIG_STATUS || ac_write_fail=1 53124 53125cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 53126 for (key in D) D_is_set[key] = 1 53127 FS = "" 53128} 53129/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 53130 line = \$ 0 53131 split(line, arg, " ") 53132 if (arg[1] == "#") { 53133 defundef = arg[2] 53134 mac1 = arg[3] 53135 } else { 53136 defundef = substr(arg[1], 2) 53137 mac1 = arg[2] 53138 } 53139 split(mac1, mac2, "(") #) 53140 macro = mac2[1] 53141 prefix = substr(line, 1, index(line, defundef) - 1) 53142 if (D_is_set[macro]) { 53143 # Preserve the white space surrounding the "#". 53144 print prefix "define", macro P[macro] D[macro] 53145 next 53146 } else { 53147 # Replace #undef with comments. This is necessary, for example, 53148 # in the case of _POSIX_SOURCE, which is predefined and required 53149 # on some systems where configure will not decide to define it. 53150 if (defundef == "undef") { 53151 print "/*", prefix defundef, macro, "*/" 53152 next 53153 } 53154 } 53155} 53156{ print } 53157_ACAWK 53158_ACEOF 53159cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 53160 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 53161fi # test -n "$CONFIG_HEADERS" 53162 53163 53164eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 53165shift 53166for ac_tag 53167do 53168 case $ac_tag in 53169 :[FHLC]) ac_mode=$ac_tag; continue;; 53170 esac 53171 case $ac_mode$ac_tag in 53172 :[FHL]*:*);; 53173 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 53174 :[FH]-) ac_tag=-:-;; 53175 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 53176 esac 53177 ac_save_IFS=$IFS 53178 IFS=: 53179 set x $ac_tag 53180 IFS=$ac_save_IFS 53181 shift 53182 ac_file=$1 53183 shift 53184 53185 case $ac_mode in 53186 :L) ac_source=$1;; 53187 :[FH]) 53188 ac_file_inputs= 53189 for ac_f 53190 do 53191 case $ac_f in 53192 -) ac_f="$ac_tmp/stdin";; 53193 *) # Look for the file first in the build tree, then in the source tree 53194 # (if the path is not absolute). The absolute path cannot be DOS-style, 53195 # because $ac_f cannot contain `:'. 53196 test -f "$ac_f" || 53197 case $ac_f in 53198 [\\/$]*) false;; 53199 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 53200 esac || 53201 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 53202 esac 53203 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 53204 as_fn_append ac_file_inputs " '$ac_f'" 53205 done 53206 53207 # Let's still pretend it is `configure' which instantiates (i.e., don't 53208 # use $as_me), people would be surprised to read: 53209 # /* config.h. Generated by config.status. */ 53210 configure_input='Generated from '` 53211 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 53212 `' by configure.' 53213 if test x"$ac_file" != x-; then 53214 configure_input="$ac_file. $configure_input" 53215 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 53216$as_echo "$as_me: creating $ac_file" >&6;} 53217 fi 53218 # Neutralize special characters interpreted by sed in replacement strings. 53219 case $configure_input in #( 53220 *\&* | *\|* | *\\* ) 53221 ac_sed_conf_input=`$as_echo "$configure_input" | 53222 sed 's/[\\\\&|]/\\\\&/g'`;; #( 53223 *) ac_sed_conf_input=$configure_input;; 53224 esac 53225 53226 case $ac_tag in 53227 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 53228 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 53229 esac 53230 ;; 53231 esac 53232 53233 ac_dir=`$as_dirname -- "$ac_file" || 53234$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 53235 X"$ac_file" : 'X\(//\)[^/]' \| \ 53236 X"$ac_file" : 'X\(//\)$' \| \ 53237 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 53238$as_echo X"$ac_file" | 53239 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 53240 s//\1/ 53241 q 53242 } 53243 /^X\(\/\/\)[^/].*/{ 53244 s//\1/ 53245 q 53246 } 53247 /^X\(\/\/\)$/{ 53248 s//\1/ 53249 q 53250 } 53251 /^X\(\/\).*/{ 53252 s//\1/ 53253 q 53254 } 53255 s/.*/./; q'` 53256 as_dir="$ac_dir"; as_fn_mkdir_p 53257 ac_builddir=. 53258 53259case "$ac_dir" in 53260.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 53261*) 53262 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 53263 # A ".." for each directory in $ac_dir_suffix. 53264 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 53265 case $ac_top_builddir_sub in 53266 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 53267 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 53268 esac ;; 53269esac 53270ac_abs_top_builddir=$ac_pwd 53271ac_abs_builddir=$ac_pwd$ac_dir_suffix 53272# for backward compatibility: 53273ac_top_builddir=$ac_top_build_prefix 53274 53275case $srcdir in 53276 .) # We are building in place. 53277 ac_srcdir=. 53278 ac_top_srcdir=$ac_top_builddir_sub 53279 ac_abs_top_srcdir=$ac_pwd ;; 53280 [\\/]* | ?:[\\/]* ) # Absolute name. 53281 ac_srcdir=$srcdir$ac_dir_suffix; 53282 ac_top_srcdir=$srcdir 53283 ac_abs_top_srcdir=$srcdir ;; 53284 *) # Relative name. 53285 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 53286 ac_top_srcdir=$ac_top_build_prefix$srcdir 53287 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 53288esac 53289ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 53290 53291 53292 case $ac_mode in 53293 :F) 53294 # 53295 # CONFIG_FILE 53296 # 53297 53298 case $INSTALL in 53299 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 53300 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 53301 esac 53302 ac_MKDIR_P=$MKDIR_P 53303 case $MKDIR_P in 53304 [\\/$]* | ?:[\\/]* ) ;; 53305 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 53306 esac 53307_ACEOF 53308 53309cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 53310# If the template does not know about datarootdir, expand it. 53311# FIXME: This hack should be removed a few years after 2.60. 53312ac_datarootdir_hack=; ac_datarootdir_seen= 53313ac_sed_dataroot=' 53314/datarootdir/ { 53315 p 53316 q 53317} 53318/@datadir@/p 53319/@docdir@/p 53320/@infodir@/p 53321/@localedir@/p 53322/@mandir@/p' 53323case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 53324*datarootdir*) ac_datarootdir_seen=yes;; 53325*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 53326 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 53327$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 53328_ACEOF 53329cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 53330 ac_datarootdir_hack=' 53331 s&@datadir@&$datadir&g 53332 s&@docdir@&$docdir&g 53333 s&@infodir@&$infodir&g 53334 s&@localedir@&$localedir&g 53335 s&@mandir@&$mandir&g 53336 s&\\\${datarootdir}&$datarootdir&g' ;; 53337esac 53338_ACEOF 53339 53340# Neutralize VPATH when `$srcdir' = `.'. 53341# Shell code in configure.ac might set extrasub. 53342# FIXME: do we really want to maintain this feature? 53343cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 53344ac_sed_extra="$ac_vpsub 53345$extrasub 53346_ACEOF 53347cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 53348:t 53349/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 53350s|@configure_input@|$ac_sed_conf_input|;t t 53351s&@top_builddir@&$ac_top_builddir_sub&;t t 53352s&@top_build_prefix@&$ac_top_build_prefix&;t t 53353s&@srcdir@&$ac_srcdir&;t t 53354s&@abs_srcdir@&$ac_abs_srcdir&;t t 53355s&@top_srcdir@&$ac_top_srcdir&;t t 53356s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 53357s&@builddir@&$ac_builddir&;t t 53358s&@abs_builddir@&$ac_abs_builddir&;t t 53359s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 53360s&@INSTALL@&$ac_INSTALL&;t t 53361s&@MKDIR_P@&$ac_MKDIR_P&;t t 53362$ac_datarootdir_hack 53363" 53364eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 53365 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 53366 53367test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 53368 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 53369 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 53370 "$ac_tmp/out"`; test -z "$ac_out"; } && 53371 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 53372which seems to be undefined. Please make sure it is defined" >&5 53373$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 53374which seems to be undefined. Please make sure it is defined" >&2;} 53375 53376 rm -f "$ac_tmp/stdin" 53377 case $ac_file in 53378 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 53379 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 53380 esac \ 53381 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 53382 ;; 53383 :H) 53384 # 53385 # CONFIG_HEADER 53386 # 53387 if test x"$ac_file" != x-; then 53388 { 53389 $as_echo "/* $configure_input */" \ 53390 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 53391 } >"$ac_tmp/config.h" \ 53392 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 53393 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 53394 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 53395$as_echo "$as_me: $ac_file is unchanged" >&6;} 53396 else 53397 rm -f "$ac_file" 53398 mv "$ac_tmp/config.h" "$ac_file" \ 53399 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 53400 fi 53401 else 53402 $as_echo "/* $configure_input */" \ 53403 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 53404 || as_fn_error $? "could not create -" "$LINENO" 5 53405 fi 53406# Compute "$ac_file"'s index in $config_headers. 53407_am_arg="$ac_file" 53408_am_stamp_count=1 53409for _am_header in $config_headers :; do 53410 case $_am_header in 53411 $_am_arg | $_am_arg:* ) 53412 break ;; 53413 * ) 53414 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 53415 esac 53416done 53417echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 53418$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 53419 X"$_am_arg" : 'X\(//\)[^/]' \| \ 53420 X"$_am_arg" : 'X\(//\)$' \| \ 53421 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 53422$as_echo X"$_am_arg" | 53423 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 53424 s//\1/ 53425 q 53426 } 53427 /^X\(\/\/\)[^/].*/{ 53428 s//\1/ 53429 q 53430 } 53431 /^X\(\/\/\)$/{ 53432 s//\1/ 53433 q 53434 } 53435 /^X\(\/\).*/{ 53436 s//\1/ 53437 q 53438 } 53439 s/.*/./; q'`/stamp-h$_am_stamp_count 53440 ;; 53441 53442 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 53443$as_echo "$as_me: executing $ac_file commands" >&6;} 53444 ;; 53445 esac 53446 53447 53448 case $ac_file$ac_mode in 53449 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 53450 # Older Autoconf quotes --file arguments for eval, but not when files 53451 # are listed without --file. Let's play safe and only enable the eval 53452 # if we detect the quoting. 53453 # TODO: see whether this extra hack can be removed once we start 53454 # requiring Autoconf 2.70 or later. 53455 case $CONFIG_FILES in #( 53456 *\'*) : 53457 eval set x "$CONFIG_FILES" ;; #( 53458 *) : 53459 set x $CONFIG_FILES ;; #( 53460 *) : 53461 ;; 53462esac 53463 shift 53464 # Used to flag and report bootstrapping failures. 53465 am_rc=0 53466 for am_mf 53467 do 53468 # Strip MF so we end up with the name of the file. 53469 am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'` 53470 # Check whether this is an Automake generated Makefile which includes 53471 # dependency-tracking related rules and includes. 53472 # Grep'ing the whole file directly is not great: AIX grep has a line 53473 # limit of 2048, but all sed's we know have understand at least 4000. 53474 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \ 53475 || continue 53476 am_dirpart=`$as_dirname -- "$am_mf" || 53477$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 53478 X"$am_mf" : 'X\(//\)[^/]' \| \ 53479 X"$am_mf" : 'X\(//\)$' \| \ 53480 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || 53481$as_echo X"$am_mf" | 53482 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 53483 s//\1/ 53484 q 53485 } 53486 /^X\(\/\/\)[^/].*/{ 53487 s//\1/ 53488 q 53489 } 53490 /^X\(\/\/\)$/{ 53491 s//\1/ 53492 q 53493 } 53494 /^X\(\/\).*/{ 53495 s//\1/ 53496 q 53497 } 53498 s/.*/./; q'` 53499 am_filepart=`$as_basename -- "$am_mf" || 53500$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \ 53501 X"$am_mf" : 'X\(//\)$' \| \ 53502 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || 53503$as_echo X/"$am_mf" | 53504 sed '/^.*\/\([^/][^/]*\)\/*$/{ 53505 s//\1/ 53506 q 53507 } 53508 /^X\/\(\/\/\)$/{ 53509 s//\1/ 53510 q 53511 } 53512 /^X\/\(\/\).*/{ 53513 s//\1/ 53514 q 53515 } 53516 s/.*/./; q'` 53517 { echo "$as_me:$LINENO: cd "$am_dirpart" \ 53518 && sed -e '/# am--include-marker/d' "$am_filepart" \ 53519 | $MAKE -f - am--depfiles" >&5 53520 (cd "$am_dirpart" \ 53521 && sed -e '/# am--include-marker/d' "$am_filepart" \ 53522 | $MAKE -f - am--depfiles) >&5 2>&5 53523 ac_status=$? 53524 echo "$as_me:$LINENO: \$? = $ac_status" >&5 53525 (exit $ac_status); } || am_rc=$? 53526 done 53527 if test $am_rc -ne 0; then 53528 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 53529$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 53530as_fn_error $? "Something went wrong bootstrapping makefile fragments 53531 for automatic dependency tracking. If GNU make was not used, consider 53532 re-running the configure script with MAKE=\"gmake\" (or whatever is 53533 necessary). You can also try re-running configure with the 53534 '--disable-dependency-tracking' option to at least be able to build 53535 the package (albeit without support for automatic dependency tracking). 53536See \`config.log' for more details" "$LINENO" 5; } 53537 fi 53538 { am_dirpart=; unset am_dirpart;} 53539 { am_filepart=; unset am_filepart;} 53540 { am_mf=; unset am_mf;} 53541 { am_rc=; unset am_rc;} 53542 rm -f conftest-deps.mk 53543} 53544 ;; 53545 "libtool":C) 53546 53547 # See if we are running on zsh, and set the options that allow our 53548 # commands through without removal of \ escapes. 53549 if test -n "${ZSH_VERSION+set}"; then 53550 setopt NO_GLOB_SUBST 53551 fi 53552 53553 cfgfile=${ofile}T 53554 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 53555 $RM "$cfgfile" 53556 53557 cat <<_LT_EOF >> "$cfgfile" 53558#! $SHELL 53559# Generated automatically by $as_me ($PACKAGE) $VERSION 53560# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 53561# NOTE: Changes made to this file will be lost: look at ltmain.sh. 53562 53563# Provide generalized library-building support services. 53564# Written by Gordon Matzigkeit, 1996 53565 53566# Copyright (C) 2014 Free Software Foundation, Inc. 53567# This is free software; see the source for copying conditions. There is NO 53568# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 53569 53570# GNU Libtool is free software; you can redistribute it and/or modify 53571# it under the terms of the GNU General Public License as published by 53572# the Free Software Foundation; either version 2 of of the License, or 53573# (at your option) any later version. 53574# 53575# As a special exception to the GNU General Public License, if you 53576# distribute this file as part of a program or library that is built 53577# using GNU Libtool, you may include this file under the same 53578# distribution terms that you use for the rest of that program. 53579# 53580# GNU Libtool is distributed in the hope that it will be useful, but 53581# WITHOUT ANY WARRANTY; without even the implied warranty of 53582# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 53583# GNU General Public License for more details. 53584# 53585# You should have received a copy of the GNU General Public License 53586# along with this program. If not, see <http://www.gnu.org/licenses/>. 53587 53588 53589# The names of the tagged configurations supported by this script. 53590available_tags='CXX ' 53591 53592# Configured defaults for sys_lib_dlsearch_path munging. 53593: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} 53594 53595# ### BEGIN LIBTOOL CONFIG 53596 53597# Assembler program. 53598AS=$lt_AS 53599 53600# DLL creation program. 53601DLLTOOL=$lt_DLLTOOL 53602 53603# Object dumper program. 53604OBJDUMP=$lt_OBJDUMP 53605 53606# Which release of libtool.m4 was used? 53607macro_version=$macro_version 53608macro_revision=$macro_revision 53609 53610# Whether or not to build shared libraries. 53611build_libtool_libs=$enable_shared 53612 53613# Whether or not to build static libraries. 53614build_old_libs=$enable_static 53615 53616# What type of objects to build. 53617pic_mode=$pic_mode 53618 53619# Whether or not to optimize for fast installation. 53620fast_install=$enable_fast_install 53621 53622# Shared archive member basename,for filename based shared library versioning on AIX. 53623shared_archive_member_spec=$shared_archive_member_spec 53624 53625# Shell to use when invoking shell scripts. 53626SHELL=$lt_SHELL 53627 53628# An echo program that protects backslashes. 53629ECHO=$lt_ECHO 53630 53631# The PATH separator for the build system. 53632PATH_SEPARATOR=$lt_PATH_SEPARATOR 53633 53634# The host system. 53635host_alias=$host_alias 53636host=$host 53637host_os=$host_os 53638 53639# The build system. 53640build_alias=$build_alias 53641build=$build 53642build_os=$build_os 53643 53644# A sed program that does not truncate output. 53645SED=$lt_SED 53646 53647# Sed that helps us avoid accidentally triggering echo(1) options like -n. 53648Xsed="\$SED -e 1s/^X//" 53649 53650# A grep program that handles long lines. 53651GREP=$lt_GREP 53652 53653# An ERE matcher. 53654EGREP=$lt_EGREP 53655 53656# A literal string matcher. 53657FGREP=$lt_FGREP 53658 53659# A BSD- or MS-compatible name lister. 53660NM=$lt_NM 53661 53662# Whether we need soft or hard links. 53663LN_S=$lt_LN_S 53664 53665# What is the maximum length of a command? 53666max_cmd_len=$max_cmd_len 53667 53668# Object file suffix (normally "o"). 53669objext=$ac_objext 53670 53671# Executable file suffix (normally ""). 53672exeext=$exeext 53673 53674# whether the shell understands "unset". 53675lt_unset=$lt_unset 53676 53677# turn spaces into newlines. 53678SP2NL=$lt_lt_SP2NL 53679 53680# turn newlines into spaces. 53681NL2SP=$lt_lt_NL2SP 53682 53683# convert \$build file names to \$host format. 53684to_host_file_cmd=$lt_cv_to_host_file_cmd 53685 53686# convert \$build files to toolchain format. 53687to_tool_file_cmd=$lt_cv_to_tool_file_cmd 53688 53689# Method to check whether dependent libraries are shared objects. 53690deplibs_check_method=$lt_deplibs_check_method 53691 53692# Command to use when deplibs_check_method = "file_magic". 53693file_magic_cmd=$lt_file_magic_cmd 53694 53695# How to find potential files when deplibs_check_method = "file_magic". 53696file_magic_glob=$lt_file_magic_glob 53697 53698# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 53699want_nocaseglob=$lt_want_nocaseglob 53700 53701# Command to associate shared and link libraries. 53702sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 53703 53704# The archiver. 53705AR=$lt_AR 53706 53707# Flags to create an archive. 53708AR_FLAGS=$lt_AR_FLAGS 53709 53710# How to feed a file listing to the archiver. 53711archiver_list_spec=$lt_archiver_list_spec 53712 53713# A symbol stripping program. 53714STRIP=$lt_STRIP 53715 53716# Commands used to install an old-style archive. 53717RANLIB=$lt_RANLIB 53718old_postinstall_cmds=$lt_old_postinstall_cmds 53719old_postuninstall_cmds=$lt_old_postuninstall_cmds 53720 53721# Whether to use a lock for old archive extraction. 53722lock_old_archive_extraction=$lock_old_archive_extraction 53723 53724# A C compiler. 53725LTCC=$lt_CC 53726 53727# LTCC compiler flags. 53728LTCFLAGS=$lt_CFLAGS 53729 53730# Take the output of nm and produce a listing of raw symbols and C names. 53731global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 53732 53733# Transform the output of nm in a proper C declaration. 53734global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 53735 53736# Transform the output of nm into a list of symbols to manually relocate. 53737global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import 53738 53739# Transform the output of nm in a C name address pair. 53740global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 53741 53742# Transform the output of nm in a C name address pair when lib prefix is needed. 53743global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 53744 53745# The name lister interface. 53746nm_interface=$lt_lt_cv_nm_interface 53747 53748# Specify filename containing input files for \$NM. 53749nm_file_list_spec=$lt_nm_file_list_spec 53750 53751# The root where to search for dependent libraries,and where our libraries should be installed. 53752lt_sysroot=$lt_sysroot 53753 53754# Command to truncate a binary pipe. 53755lt_truncate_bin=$lt_lt_cv_truncate_bin 53756 53757# The name of the directory that contains temporary libtool files. 53758objdir=$objdir 53759 53760# Used to examine libraries when file_magic_cmd begins with "file". 53761MAGIC_CMD=$MAGIC_CMD 53762 53763# Must we lock files when doing compilation? 53764need_locks=$lt_need_locks 53765 53766# Manifest tool. 53767MANIFEST_TOOL=$lt_MANIFEST_TOOL 53768 53769# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 53770DSYMUTIL=$lt_DSYMUTIL 53771 53772# Tool to change global to local symbols on Mac OS X. 53773NMEDIT=$lt_NMEDIT 53774 53775# Tool to manipulate fat objects and archives on Mac OS X. 53776LIPO=$lt_LIPO 53777 53778# ldd/readelf like tool for Mach-O binaries on Mac OS X. 53779OTOOL=$lt_OTOOL 53780 53781# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 53782OTOOL64=$lt_OTOOL64 53783 53784# Old archive suffix (normally "a"). 53785libext=$libext 53786 53787# Shared library suffix (normally ".so"). 53788shrext_cmds=$lt_shrext_cmds 53789 53790# The commands to extract the exported symbol list from a shared archive. 53791extract_expsyms_cmds=$lt_extract_expsyms_cmds 53792 53793# Variables whose values should be saved in libtool wrapper scripts and 53794# restored at link time. 53795variables_saved_for_relink=$lt_variables_saved_for_relink 53796 53797# Do we need the "lib" prefix for modules? 53798need_lib_prefix=$need_lib_prefix 53799 53800# Do we need a version for libraries? 53801need_version=$need_version 53802 53803# Library versioning type. 53804version_type=$version_type 53805 53806# Shared library runtime path variable. 53807runpath_var=$runpath_var 53808 53809# Shared library path variable. 53810shlibpath_var=$shlibpath_var 53811 53812# Is shlibpath searched before the hard-coded library search path? 53813shlibpath_overrides_runpath=$shlibpath_overrides_runpath 53814 53815# Format of library name prefix. 53816libname_spec=$lt_libname_spec 53817 53818# List of archive names. First name is the real one, the rest are links. 53819# The last name is the one that the linker finds with -lNAME 53820library_names_spec=$lt_library_names_spec 53821 53822# The coded name of the library, if different from the real name. 53823soname_spec=$lt_soname_spec 53824 53825# Permission mode override for installation of shared libraries. 53826install_override_mode=$lt_install_override_mode 53827 53828# Command to use after installation of a shared archive. 53829postinstall_cmds=$lt_postinstall_cmds 53830 53831# Command to use after uninstallation of a shared archive. 53832postuninstall_cmds=$lt_postuninstall_cmds 53833 53834# Commands used to finish a libtool library installation in a directory. 53835finish_cmds=$lt_finish_cmds 53836 53837# As "finish_cmds", except a single script fragment to be evaled but 53838# not shown. 53839finish_eval=$lt_finish_eval 53840 53841# Whether we should hardcode library paths into libraries. 53842hardcode_into_libs=$hardcode_into_libs 53843 53844# Compile-time system search path for libraries. 53845sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 53846 53847# Detected run-time system search path for libraries. 53848sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path 53849 53850# Explicit LT_SYS_LIBRARY_PATH set during ./configure time. 53851configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path 53852 53853# Whether dlopen is supported. 53854dlopen_support=$enable_dlopen 53855 53856# Whether dlopen of programs is supported. 53857dlopen_self=$enable_dlopen_self 53858 53859# Whether dlopen of statically linked programs is supported. 53860dlopen_self_static=$enable_dlopen_self_static 53861 53862# Commands to strip libraries. 53863old_striplib=$lt_old_striplib 53864striplib=$lt_striplib 53865 53866 53867# The linker used to build libraries. 53868LD=$lt_LD 53869 53870# How to create reloadable object files. 53871reload_flag=$lt_reload_flag 53872reload_cmds=$lt_reload_cmds 53873 53874# Commands used to build an old-style archive. 53875old_archive_cmds=$lt_old_archive_cmds 53876 53877# A language specific compiler. 53878CC=$lt_compiler 53879 53880# Is the compiler the GNU compiler? 53881with_gcc=$GCC 53882 53883# Compiler flag to turn off builtin functions. 53884no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 53885 53886# Additional compiler flags for building library objects. 53887pic_flag=$lt_lt_prog_compiler_pic 53888 53889# How to pass a linker flag through the compiler. 53890wl=$lt_lt_prog_compiler_wl 53891 53892# Compiler flag to prevent dynamic linking. 53893link_static_flag=$lt_lt_prog_compiler_static 53894 53895# Does compiler simultaneously support -c and -o options? 53896compiler_c_o=$lt_lt_cv_prog_compiler_c_o 53897 53898# Whether or not to add -lc for building shared libraries. 53899build_libtool_need_lc=$archive_cmds_need_lc 53900 53901# Whether or not to disallow shared libs when runtime libs are static. 53902allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 53903 53904# Compiler flag to allow reflexive dlopens. 53905export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 53906 53907# Compiler flag to generate shared objects directly from archives. 53908whole_archive_flag_spec=$lt_whole_archive_flag_spec 53909 53910# Whether the compiler copes with passing no objects directly. 53911compiler_needs_object=$lt_compiler_needs_object 53912 53913# Create an old-style archive from a shared archive. 53914old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 53915 53916# Create a temporary old-style archive to link instead of a shared archive. 53917old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 53918 53919# Commands used to build a shared archive. 53920archive_cmds=$lt_archive_cmds 53921archive_expsym_cmds=$lt_archive_expsym_cmds 53922 53923# Commands used to build a loadable module if different from building 53924# a shared archive. 53925module_cmds=$lt_module_cmds 53926module_expsym_cmds=$lt_module_expsym_cmds 53927 53928# Whether we are building with GNU ld or not. 53929with_gnu_ld=$lt_with_gnu_ld 53930 53931# Flag that allows shared libraries with undefined symbols to be built. 53932allow_undefined_flag=$lt_allow_undefined_flag 53933 53934# Flag that enforces no undefined symbols. 53935no_undefined_flag=$lt_no_undefined_flag 53936 53937# Flag to hardcode \$libdir into a binary during linking. 53938# This must work even if \$libdir does not exist 53939hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 53940 53941# Whether we need a single "-rpath" flag with a separated argument. 53942hardcode_libdir_separator=$lt_hardcode_libdir_separator 53943 53944# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 53945# DIR into the resulting binary. 53946hardcode_direct=$hardcode_direct 53947 53948# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 53949# DIR into the resulting binary and the resulting library dependency is 53950# "absolute",i.e impossible to change by setting \$shlibpath_var if the 53951# library is relocated. 53952hardcode_direct_absolute=$hardcode_direct_absolute 53953 53954# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 53955# into the resulting binary. 53956hardcode_minus_L=$hardcode_minus_L 53957 53958# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 53959# into the resulting binary. 53960hardcode_shlibpath_var=$hardcode_shlibpath_var 53961 53962# Set to "yes" if building a shared library automatically hardcodes DIR 53963# into the library and all subsequent libraries and executables linked 53964# against it. 53965hardcode_automatic=$hardcode_automatic 53966 53967# Set to yes if linker adds runtime paths of dependent libraries 53968# to runtime path list. 53969inherit_rpath=$inherit_rpath 53970 53971# Whether libtool must link a program against all its dependency libraries. 53972link_all_deplibs=$link_all_deplibs 53973 53974# Set to "yes" if exported symbols are required. 53975always_export_symbols=$always_export_symbols 53976 53977# The commands to list exported symbols. 53978export_symbols_cmds=$lt_export_symbols_cmds 53979 53980# Symbols that should not be listed in the preloaded symbols. 53981exclude_expsyms=$lt_exclude_expsyms 53982 53983# Symbols that must always be exported. 53984include_expsyms=$lt_include_expsyms 53985 53986# Commands necessary for linking programs (against libraries) with templates. 53987prelink_cmds=$lt_prelink_cmds 53988 53989# Commands necessary for finishing linking programs. 53990postlink_cmds=$lt_postlink_cmds 53991 53992# Specify filename containing input files. 53993file_list_spec=$lt_file_list_spec 53994 53995# How to hardcode a shared library path into an executable. 53996hardcode_action=$hardcode_action 53997 53998# The directories searched by this compiler when creating a shared library. 53999compiler_lib_search_dirs=$lt_compiler_lib_search_dirs 54000 54001# Dependencies to place before and after the objects being linked to 54002# create a shared library. 54003predep_objects=$lt_predep_objects 54004postdep_objects=$lt_postdep_objects 54005predeps=$lt_predeps 54006postdeps=$lt_postdeps 54007 54008# The library search path used internally by the compiler when linking 54009# a shared library. 54010compiler_lib_search_path=$lt_compiler_lib_search_path 54011 54012# ### END LIBTOOL CONFIG 54013 54014_LT_EOF 54015 54016 cat <<'_LT_EOF' >> "$cfgfile" 54017 54018# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE 54019 54020# func_munge_path_list VARIABLE PATH 54021# ----------------------------------- 54022# VARIABLE is name of variable containing _space_ separated list of 54023# directories to be munged by the contents of PATH, which is string 54024# having a format: 54025# "DIR[:DIR]:" 54026# string "DIR[ DIR]" will be prepended to VARIABLE 54027# ":DIR[:DIR]" 54028# string "DIR[ DIR]" will be appended to VARIABLE 54029# "DIRP[:DIRP]::[DIRA:]DIRA" 54030# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 54031# "DIRA[ DIRA]" will be appended to VARIABLE 54032# "DIR[:DIR]" 54033# VARIABLE will be replaced by "DIR[ DIR]" 54034func_munge_path_list () 54035{ 54036 case x$2 in 54037 x) 54038 ;; 54039 *:) 54040 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 54041 ;; 54042 x:*) 54043 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 54044 ;; 54045 *::*) 54046 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 54047 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 54048 ;; 54049 *) 54050 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 54051 ;; 54052 esac 54053} 54054 54055 54056# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 54057func_cc_basename () 54058{ 54059 for cc_temp in $*""; do 54060 case $cc_temp in 54061 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 54062 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 54063 \-*) ;; 54064 *) break;; 54065 esac 54066 done 54067 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 54068} 54069 54070 54071# ### END FUNCTIONS SHARED WITH CONFIGURE 54072 54073_LT_EOF 54074 54075 case $host_os in 54076 aix3*) 54077 cat <<\_LT_EOF >> "$cfgfile" 54078# AIX sometimes has problems with the GCC collect2 program. For some 54079# reason, if we set the COLLECT_NAMES environment variable, the problems 54080# vanish in a puff of smoke. 54081if test set != "${COLLECT_NAMES+set}"; then 54082 COLLECT_NAMES= 54083 export COLLECT_NAMES 54084fi 54085_LT_EOF 54086 ;; 54087 esac 54088 54089 54090ltmain=$ac_aux_dir/ltmain.sh 54091 54092 54093 # We use sed instead of cat because bash on DJGPP gets confused if 54094 # if finds mixed CR/LF and LF-only lines. Since sed operates in 54095 # text mode, it properly converts lines to CR/LF. This bash problem 54096 # is reportedly fixed, but why not run on old versions too? 54097 sed '$q' "$ltmain" >> "$cfgfile" \ 54098 || (rm -f "$cfgfile"; exit 1) 54099 54100 mv -f "$cfgfile" "$ofile" || 54101 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 54102 chmod +x "$ofile" 54103 54104 54105 cat <<_LT_EOF >> "$ofile" 54106 54107# ### BEGIN LIBTOOL TAG CONFIG: CXX 54108 54109# The linker used to build libraries. 54110LD=$lt_LD_CXX 54111 54112# How to create reloadable object files. 54113reload_flag=$lt_reload_flag_CXX 54114reload_cmds=$lt_reload_cmds_CXX 54115 54116# Commands used to build an old-style archive. 54117old_archive_cmds=$lt_old_archive_cmds_CXX 54118 54119# A language specific compiler. 54120CC=$lt_compiler_CXX 54121 54122# Is the compiler the GNU compiler? 54123with_gcc=$GCC_CXX 54124 54125# Compiler flag to turn off builtin functions. 54126no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX 54127 54128# Additional compiler flags for building library objects. 54129pic_flag=$lt_lt_prog_compiler_pic_CXX 54130 54131# How to pass a linker flag through the compiler. 54132wl=$lt_lt_prog_compiler_wl_CXX 54133 54134# Compiler flag to prevent dynamic linking. 54135link_static_flag=$lt_lt_prog_compiler_static_CXX 54136 54137# Does compiler simultaneously support -c and -o options? 54138compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX 54139 54140# Whether or not to add -lc for building shared libraries. 54141build_libtool_need_lc=$archive_cmds_need_lc_CXX 54142 54143# Whether or not to disallow shared libs when runtime libs are static. 54144allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX 54145 54146# Compiler flag to allow reflexive dlopens. 54147export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX 54148 54149# Compiler flag to generate shared objects directly from archives. 54150whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX 54151 54152# Whether the compiler copes with passing no objects directly. 54153compiler_needs_object=$lt_compiler_needs_object_CXX 54154 54155# Create an old-style archive from a shared archive. 54156old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX 54157 54158# Create a temporary old-style archive to link instead of a shared archive. 54159old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX 54160 54161# Commands used to build a shared archive. 54162archive_cmds=$lt_archive_cmds_CXX 54163archive_expsym_cmds=$lt_archive_expsym_cmds_CXX 54164 54165# Commands used to build a loadable module if different from building 54166# a shared archive. 54167module_cmds=$lt_module_cmds_CXX 54168module_expsym_cmds=$lt_module_expsym_cmds_CXX 54169 54170# Whether we are building with GNU ld or not. 54171with_gnu_ld=$lt_with_gnu_ld_CXX 54172 54173# Flag that allows shared libraries with undefined symbols to be built. 54174allow_undefined_flag=$lt_allow_undefined_flag_CXX 54175 54176# Flag that enforces no undefined symbols. 54177no_undefined_flag=$lt_no_undefined_flag_CXX 54178 54179# Flag to hardcode \$libdir into a binary during linking. 54180# This must work even if \$libdir does not exist 54181hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX 54182 54183# Whether we need a single "-rpath" flag with a separated argument. 54184hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX 54185 54186# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 54187# DIR into the resulting binary. 54188hardcode_direct=$hardcode_direct_CXX 54189 54190# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 54191# DIR into the resulting binary and the resulting library dependency is 54192# "absolute",i.e impossible to change by setting \$shlibpath_var if the 54193# library is relocated. 54194hardcode_direct_absolute=$hardcode_direct_absolute_CXX 54195 54196# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 54197# into the resulting binary. 54198hardcode_minus_L=$hardcode_minus_L_CXX 54199 54200# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 54201# into the resulting binary. 54202hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX 54203 54204# Set to "yes" if building a shared library automatically hardcodes DIR 54205# into the library and all subsequent libraries and executables linked 54206# against it. 54207hardcode_automatic=$hardcode_automatic_CXX 54208 54209# Set to yes if linker adds runtime paths of dependent libraries 54210# to runtime path list. 54211inherit_rpath=$inherit_rpath_CXX 54212 54213# Whether libtool must link a program against all its dependency libraries. 54214link_all_deplibs=$link_all_deplibs_CXX 54215 54216# Set to "yes" if exported symbols are required. 54217always_export_symbols=$always_export_symbols_CXX 54218 54219# The commands to list exported symbols. 54220export_symbols_cmds=$lt_export_symbols_cmds_CXX 54221 54222# Symbols that should not be listed in the preloaded symbols. 54223exclude_expsyms=$lt_exclude_expsyms_CXX 54224 54225# Symbols that must always be exported. 54226include_expsyms=$lt_include_expsyms_CXX 54227 54228# Commands necessary for linking programs (against libraries) with templates. 54229prelink_cmds=$lt_prelink_cmds_CXX 54230 54231# Commands necessary for finishing linking programs. 54232postlink_cmds=$lt_postlink_cmds_CXX 54233 54234# Specify filename containing input files. 54235file_list_spec=$lt_file_list_spec_CXX 54236 54237# How to hardcode a shared library path into an executable. 54238hardcode_action=$hardcode_action_CXX 54239 54240# The directories searched by this compiler when creating a shared library. 54241compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX 54242 54243# Dependencies to place before and after the objects being linked to 54244# create a shared library. 54245predep_objects=$lt_predep_objects_CXX 54246postdep_objects=$lt_postdep_objects_CXX 54247predeps=$lt_predeps_CXX 54248postdeps=$lt_postdeps_CXX 54249 54250# The library search path used internally by the compiler when linking 54251# a shared library. 54252compiler_lib_search_path=$lt_compiler_lib_search_path_CXX 54253 54254# ### END LIBTOOL TAG CONFIG: CXX 54255_LT_EOF 54256 54257 ;; 54258 "po-directories":C) 54259 for ac_file in $CONFIG_FILES; do 54260 # Support "outfile[:infile[:infile...]]" 54261 case "$ac_file" in 54262 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; 54263 esac 54264 # PO directories have a Makefile.in generated from Makefile.in.in. 54265 case "$ac_file" in */Makefile.in) 54266 # Adjust a relative srcdir. 54267 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` 54268 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`" 54269 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` 54270 # In autoconf-2.13 it is called $ac_given_srcdir. 54271 # In autoconf-2.50 it is called $srcdir. 54272 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" 54273 case "$ac_given_srcdir" in 54274 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; 54275 /*) top_srcdir="$ac_given_srcdir" ;; 54276 *) top_srcdir="$ac_dots$ac_given_srcdir" ;; 54277 esac 54278 # Treat a directory as a PO directory if and only if it has a 54279 # POTFILES.in file. This allows packages to have multiple PO 54280 # directories under different names or in different locations. 54281 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then 54282 rm -f "$ac_dir/POTFILES" 54283 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" 54284 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" 54285 POMAKEFILEDEPS="POTFILES.in" 54286 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend 54287 # on $ac_dir but don't depend on user-specified configuration 54288 # parameters. 54289 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then 54290 # The LINGUAS file contains the set of available languages. 54291 if test -n "$OBSOLETE_ALL_LINGUAS"; then 54292 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" 54293 fi 54294 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"` 54295 # Hide the ALL_LINGUAS assigment from automake < 1.5. 54296 eval 'ALL_LINGUAS''=$ALL_LINGUAS_' 54297 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" 54298 else 54299 # The set of available languages was given in configure.in. 54300 # Hide the ALL_LINGUAS assigment from automake < 1.5. 54301 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' 54302 fi 54303 # Compute POFILES 54304 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) 54305 # Compute UPDATEPOFILES 54306 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) 54307 # Compute DUMMYPOFILES 54308 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) 54309 # Compute GMOFILES 54310 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) 54311 case "$ac_given_srcdir" in 54312 .) srcdirpre= ;; 54313 *) srcdirpre='$(srcdir)/' ;; 54314 esac 54315 POFILES= 54316 UPDATEPOFILES= 54317 DUMMYPOFILES= 54318 GMOFILES= 54319 for lang in $ALL_LINGUAS; do 54320 POFILES="$POFILES $srcdirpre$lang.po" 54321 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" 54322 DUMMYPOFILES="$DUMMYPOFILES $lang.nop" 54323 GMOFILES="$GMOFILES $srcdirpre$lang.gmo" 54324 done 54325 # CATALOGS depends on both $ac_dir and the user's LINGUAS 54326 # environment variable. 54327 INST_LINGUAS= 54328 if test -n "$ALL_LINGUAS"; then 54329 for presentlang in $ALL_LINGUAS; do 54330 useit=no 54331 if test "%UNSET%" != "$LINGUAS"; then 54332 desiredlanguages="$LINGUAS" 54333 else 54334 desiredlanguages="$ALL_LINGUAS" 54335 fi 54336 for desiredlang in $desiredlanguages; do 54337 # Use the presentlang catalog if desiredlang is 54338 # a. equal to presentlang, or 54339 # b. a variant of presentlang (because in this case, 54340 # presentlang can be used as a fallback for messages 54341 # which are not translated in the desiredlang catalog). 54342 case "$desiredlang" in 54343 "$presentlang"*) useit=yes;; 54344 esac 54345 done 54346 if test $useit = yes; then 54347 INST_LINGUAS="$INST_LINGUAS $presentlang" 54348 fi 54349 done 54350 fi 54351 CATALOGS= 54352 if test -n "$INST_LINGUAS"; then 54353 for lang in $INST_LINGUAS; do 54354 CATALOGS="$CATALOGS $lang.gmo" 54355 done 54356 fi 54357 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" 54358 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" 54359 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do 54360 if test -f "$f"; then 54361 case "$f" in 54362 *.orig | *.bak | *~) ;; 54363 *) cat "$f" >> "$ac_dir/Makefile" ;; 54364 esac 54365 fi 54366 done 54367 fi 54368 ;; 54369 esac 54370 done ;; 54371 54372 esac 54373done # for ac_tag 54374 54375 54376as_fn_exit 0 54377_ACEOF 54378ac_clean_files=$ac_clean_files_save 54379 54380test $ac_write_fail = 0 || 54381 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 54382 54383 54384# configure is writing to config.log, and then calls config.status. 54385# config.status does its own redirection, appending to config.log. 54386# Unfortunately, on DOS this fails, as config.log is still kept open 54387# by configure, so config.status won't be able to write to it; its 54388# output is simply discarded. So we exec the FD to /dev/null, 54389# effectively closing config.log, so it can be properly (re)opened and 54390# appended to by config.status. When coming back to configure, we 54391# need to make the FD available again. 54392if test "$no_create" != yes; then 54393 ac_cs_success=: 54394 ac_config_status_args= 54395 test "$silent" = yes && 54396 ac_config_status_args="$ac_config_status_args --quiet" 54397 exec 5>/dev/null 54398 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 54399 exec 5>>config.log 54400 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 54401 # would make configure fail if this is the last instruction. 54402 $ac_cs_success || as_fn_exit 1 54403fi 54404if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 54405 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 54406$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 54407fi 54408 54409 54410{ $as_echo "$as_me:${as_lineno-$LINENO}: 54411Building: 54412 libcerror support: $ac_cv_libcerror 54413 libcthreads support: $ac_cv_libcthreads 54414 libcdata support: $ac_cv_libcdata 54415 libclocale support: $ac_cv_libclocale 54416 libcnotify support: $ac_cv_libcnotify 54417 libcsplit support: $ac_cv_libcsplit 54418 libuna support: $ac_cv_libuna 54419 libcfile support: $ac_cv_libcfile 54420 libcpath support: $ac_cv_libcpath 54421 libbfio support: $ac_cv_libbfio 54422 libfcache support: $ac_cv_libfcache 54423 libfdata support: $ac_cv_libfdata 54424 libfdatetime support: $ac_cv_libfdatetime 54425 libfwnt support: $ac_cv_libfwnt 54426 FUSE support: $ac_cv_libfuse 54427 54428Features: 54429 Multi-threading support: $ac_cv_libcthreads_multi_threading 54430 Wide character type support: $ac_cv_enable_wide_character_type 54431 regftools are build as static executables: $ac_cv_enable_static_executables 54432 Python (pyregf) support: $ac_cv_enable_python 54433 Verbose output: $ac_cv_enable_verbose_output 54434 Debug output: $ac_cv_enable_debug_output 54435" >&5 54436$as_echo "$as_me: 54437Building: 54438 libcerror support: $ac_cv_libcerror 54439 libcthreads support: $ac_cv_libcthreads 54440 libcdata support: $ac_cv_libcdata 54441 libclocale support: $ac_cv_libclocale 54442 libcnotify support: $ac_cv_libcnotify 54443 libcsplit support: $ac_cv_libcsplit 54444 libuna support: $ac_cv_libuna 54445 libcfile support: $ac_cv_libcfile 54446 libcpath support: $ac_cv_libcpath 54447 libbfio support: $ac_cv_libbfio 54448 libfcache support: $ac_cv_libfcache 54449 libfdata support: $ac_cv_libfdata 54450 libfdatetime support: $ac_cv_libfdatetime 54451 libfwnt support: $ac_cv_libfwnt 54452 FUSE support: $ac_cv_libfuse 54453 54454Features: 54455 Multi-threading support: $ac_cv_libcthreads_multi_threading 54456 Wide character type support: $ac_cv_enable_wide_character_type 54457 regftools are build as static executables: $ac_cv_enable_static_executables 54458 Python (pyregf) support: $ac_cv_enable_python 54459 Verbose output: $ac_cv_enable_verbose_output 54460 Debug output: $ac_cv_enable_debug_output 54461" >&6;}; 54462 54463