1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69 for libolecf 20210512. 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='libolecf' 592PACKAGE_TARNAME='libolecf' 593PACKAGE_VERSION='20210512' 594PACKAGE_STRING='libolecf 20210512' 595PACKAGE_BUGREPORT='joachim.metz@gmail.com' 596PACKAGE_URL='' 597 598ac_unique_file="include/libolecf.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 642libolecf_spec_tools_build_requires 643libolecf_spec_requires 644LIB_FUZZING_ENGINE 645HAVE_LIB_FUZZING_ENGINE_FALSE 646HAVE_LIB_FUZZING_ENGINE_TRUE 647LIBOLECF_DLL_IMPORT 648LIBOLECF_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_libfwps_spec_build_requires 702ax_libfwps_spec_requires 703ax_libfwps_pc_libs_private 704LIBFWPS_LIBADD 705LIBFWPS_CPPFLAGS 706HAVE_LOCAL_LIBFWPS_FALSE 707HAVE_LOCAL_LIBFWPS_TRUE 708HAVE_LOCAL_LIBFWPS 709HAVE_LIBFWPS 710libfwps_LIBS 711libfwps_CFLAGS 712ax_libfvalue_spec_build_requires 713ax_libfvalue_spec_requires 714ax_libfvalue_pc_libs_private 715LIBFVALUE_LIBADD 716LIBFVALUE_CPPFLAGS 717HAVE_LOCAL_LIBFVALUE_FALSE 718HAVE_LOCAL_LIBFVALUE_TRUE 719HAVE_LOCAL_LIBFVALUE 720HAVE_LIBFVALUE 721libfvalue_LIBS 722libfvalue_CFLAGS 723ax_libfole_spec_build_requires 724ax_libfole_spec_requires 725ax_libfole_pc_libs_private 726LIBFOLE_LIBADD 727LIBFOLE_CPPFLAGS 728HAVE_LOCAL_LIBFOLE_FALSE 729HAVE_LOCAL_LIBFOLE_TRUE 730HAVE_LOCAL_LIBFOLE 731HAVE_LIBFOLE 732libfole_LIBS 733libfole_CFLAGS 734ax_libfguid_spec_build_requires 735ax_libfguid_spec_requires 736ax_libfguid_pc_libs_private 737LIBFGUID_LIBADD 738LIBFGUID_CPPFLAGS 739HAVE_LOCAL_LIBFGUID_FALSE 740HAVE_LOCAL_LIBFGUID_TRUE 741HAVE_LOCAL_LIBFGUID 742HAVE_LIBFGUID 743libfguid_LIBS 744libfguid_CFLAGS 745ax_libfdatetime_spec_build_requires 746ax_libfdatetime_spec_requires 747ax_libfdatetime_pc_libs_private 748LIBFDATETIME_LIBADD 749LIBFDATETIME_CPPFLAGS 750HAVE_LOCAL_LIBFDATETIME_FALSE 751HAVE_LOCAL_LIBFDATETIME_TRUE 752HAVE_LOCAL_LIBFDATETIME 753HAVE_LIBFDATETIME 754libfdatetime_LIBS 755libfdatetime_CFLAGS 756ax_libbfio_spec_build_requires 757ax_libbfio_spec_requires 758ax_libbfio_pc_libs_private 759LIBBFIO_LIBADD 760LIBBFIO_CPPFLAGS 761HAVE_LOCAL_LIBBFIO_FALSE 762HAVE_LOCAL_LIBBFIO_TRUE 763HAVE_LOCAL_LIBBFIO 764HAVE_LIBBFIO 765libbfio_LIBS 766libbfio_CFLAGS 767ax_libcpath_spec_build_requires 768ax_libcpath_spec_requires 769ax_libcpath_pc_libs_private 770LIBCPATH_LIBADD 771LIBCPATH_CPPFLAGS 772HAVE_LOCAL_LIBCPATH_FALSE 773HAVE_LOCAL_LIBCPATH_TRUE 774HAVE_LOCAL_LIBCPATH 775HAVE_LIBCPATH 776libcpath_LIBS 777libcpath_CFLAGS 778ax_libcfile_spec_build_requires 779ax_libcfile_spec_requires 780ax_libcfile_pc_libs_private 781LIBCFILE_LIBADD 782LIBCFILE_CPPFLAGS 783HAVE_LOCAL_LIBCFILE_FALSE 784HAVE_LOCAL_LIBCFILE_TRUE 785HAVE_LOCAL_LIBCFILE 786HAVE_LIBCFILE 787libcfile_LIBS 788libcfile_CFLAGS 789ax_libuna_spec_build_requires 790ax_libuna_spec_requires 791ax_libuna_pc_libs_private 792LIBUNA_LIBADD 793LIBUNA_CPPFLAGS 794HAVE_LOCAL_LIBUNA_FALSE 795HAVE_LOCAL_LIBUNA_TRUE 796HAVE_LOCAL_LIBUNA 797HAVE_LIBUNA 798libuna_LIBS 799libuna_CFLAGS 800ax_libcsplit_spec_build_requires 801ax_libcsplit_spec_requires 802ax_libcsplit_pc_libs_private 803LIBCSPLIT_LIBADD 804LIBCSPLIT_CPPFLAGS 805HAVE_LOCAL_LIBCSPLIT_FALSE 806HAVE_LOCAL_LIBCSPLIT_TRUE 807HAVE_LOCAL_LIBCSPLIT 808HAVE_LIBCSPLIT 809libcsplit_LIBS 810libcsplit_CFLAGS 811ax_libcnotify_spec_build_requires 812ax_libcnotify_spec_requires 813ax_libcnotify_pc_libs_private 814LIBCNOTIFY_LIBADD 815LIBCNOTIFY_CPPFLAGS 816HAVE_LOCAL_LIBCNOTIFY_FALSE 817HAVE_LOCAL_LIBCNOTIFY_TRUE 818HAVE_LOCAL_LIBCNOTIFY 819HAVE_LIBCNOTIFY 820libcnotify_LIBS 821libcnotify_CFLAGS 822ax_libclocale_spec_build_requires 823ax_libclocale_spec_requires 824ax_libclocale_pc_libs_private 825LIBCLOCALE_LIBADD 826LIBCLOCALE_CPPFLAGS 827HAVE_LOCAL_LIBCLOCALE_FALSE 828HAVE_LOCAL_LIBCLOCALE_TRUE 829HAVE_LOCAL_LIBCLOCALE 830HAVE_LIBCLOCALE 831libclocale_LIBS 832libclocale_CFLAGS 833ax_libcdata_spec_build_requires 834ax_libcdata_spec_requires 835ax_libcdata_pc_libs_private 836LIBCDATA_LIBADD 837LIBCDATA_CPPFLAGS 838HAVE_LOCAL_LIBCDATA_FALSE 839HAVE_LOCAL_LIBCDATA_TRUE 840HAVE_LOCAL_LIBCDATA 841HAVE_LIBCDATA 842libcdata_LIBS 843libcdata_CFLAGS 844ax_libcthreads_spec_build_requires 845ax_libcthreads_spec_requires 846ax_libcthreads_pc_libs_private 847HAVE_MULTI_THREAD_SUPPORT 848LIBCTHREADS_LIBADD 849LIBCTHREADS_CPPFLAGS 850HAVE_LOCAL_LIBCTHREADS_FALSE 851HAVE_LOCAL_LIBCTHREADS_TRUE 852HAVE_LOCAL_LIBCTHREADS 853ax_pthread_pc_libs_private 854PTHREAD_LIBADD 855PTHREAD_CPPFLAGS 856HAVE_PTHREAD 857HAVE_LIBCTHREADS 858libcthreads_LIBS 859libcthreads_CFLAGS 860ax_libcerror_spec_build_requires 861ax_libcerror_spec_requires 862ax_libcerror_pc_libs_private 863LIBCERROR_LIBADD 864LIBCERROR_CPPFLAGS 865HAVE_LOCAL_LIBCERROR_FALSE 866HAVE_LOCAL_LIBCERROR_TRUE 867HAVE_LOCAL_LIBCERROR 868HAVE_LIBCERROR 869libcerror_LIBS 870libcerror_CFLAGS 871PKG_CONFIG_LIBDIR 872PKG_CONFIG_PATH 873PKG_CONFIG 874HAVE_OFF64_T 875HAVE_SSIZE64_T 876HAVE_SIZE64_T 877HAVE_SSIZE32_T 878HAVE_SIZE32_T 879HAVE_WCHAR_H 880HAVE_STDINT_H 881HAVE_INTTYPES_H 882HAVE_SYS_TYPES_H 883HAVE_WIDE_CHARACTER_TYPE 884STATIC_LDFLAGS 885POSUB 886LTLIBINTL 887LIBINTL 888INTLLIBS 889LTLIBICONV 890LIBICONV 891INTL_MACOSX_LIBS 892XGETTEXT_EXTRA_OPTIONS 893MSGMERGE 894XGETTEXT_015 895XGETTEXT 896GMSGFMT_015 897MSGFMT_015 898GMSGFMT 899MSGFMT 900GETTEXT_MACRO_VERSION 901USE_NLS 902PKGCONFIG 903LIBTOOL_DEPS 904CXXCPP 905LT_SYS_LIBRARY_PATH 906OTOOL64 907OTOOL 908LIPO 909NMEDIT 910DSYMUTIL 911MANIFEST_TOOL 912RANLIB 913ac_ct_AR 914AR 915LN_S 916NM 917ac_ct_DUMPBIN 918DUMPBIN 919LD 920FGREP 921SED 922LIBTOOL 923am__fastdepCXX_FALSE 924am__fastdepCXX_TRUE 925CXXDEPMODE 926ac_ct_CXX 927CXXFLAGS 928CXX 929EGREP 930GREP 931CPP 932am__fastdepCC_FALSE 933am__fastdepCC_TRUE 934CCDEPMODE 935am__nodep 936AMDEPBACKSLASH 937AMDEP_FALSE 938AMDEP_TRUE 939am__include 940DEPDIR 941OBJEXT 942EXEEXT 943ac_ct_CC 944CPPFLAGS 945LDFLAGS 946CFLAGS 947CC 948OBJDUMP 949DLLTOOL 950AS 951host_os 952host_vendor 953host_cpu 954host 955build_os 956build_vendor 957build_cpu 958build 959AM_BACKSLASH 960AM_DEFAULT_VERBOSITY 961AM_DEFAULT_V 962AM_V 963am__untar 964am__tar 965AMTAR 966am__leading_dot 967SET_MAKE 968AWK 969mkdir_p 970MKDIR_P 971INSTALL_STRIP_PROGRAM 972STRIP 973install_sh 974MAKEINFO 975AUTOHEADER 976AUTOMAKE 977AUTOCONF 978ACLOCAL 979VERSION 980PACKAGE 981CYGPATH_W 982am__isrc 983INSTALL_DATA 984INSTALL_SCRIPT 985INSTALL_PROGRAM 986target_alias 987host_alias 988build_alias 989LIBS 990ECHO_T 991ECHO_N 992ECHO_C 993DEFS 994mandir 995localedir 996libdir 997psdir 998pdfdir 999dvidir 1000htmldir 1001infodir 1002docdir 1003oldincludedir 1004includedir 1005runstatedir 1006localstatedir 1007sharedstatedir 1008sysconfdir 1009datadir 1010datarootdir 1011libexecdir 1012sbindir 1013bindir 1014program_transform_name 1015prefix 1016exec_prefix 1017PACKAGE_URL 1018PACKAGE_BUGREPORT 1019PACKAGE_STRING 1020PACKAGE_VERSION 1021PACKAGE_TARNAME 1022PACKAGE_NAME 1023PATH_SEPARATOR 1024SHELL 1025am__quote' 1026ac_subst_files='' 1027ac_user_opts=' 1028enable_option_checking 1029enable_silent_rules 1030enable_dependency_tracking 1031enable_shared 1032enable_static 1033with_pic 1034enable_fast_install 1035with_aix_soname 1036with_gnu_ld 1037with_sysroot 1038enable_libtool_lock 1039enable_nls 1040enable_rpath 1041with_libiconv_prefix 1042with_libintl_prefix 1043enable_largefile 1044enable_shared_libs 1045enable_static_executables 1046enable_winapi 1047enable_wide_character_type 1048enable_verbose_output 1049enable_debug_output 1050with_libcerror 1051enable_multi_threading_support 1052with_libcthreads 1053with_pthread 1054with_libcdata 1055with_libclocale 1056with_libcnotify 1057with_libcsplit 1058with_libuna 1059with_libcfile 1060with_libcpath 1061with_libbfio 1062with_libfdatetime 1063with_libfguid 1064with_libfole 1065with_libfvalue 1066with_libfwps 1067with_pyprefix 1068enable_python 1069with_pythondir 1070enable_python2 1071with_pythondir2 1072enable_python3 1073with_pythondir3 1074with_libfuse 1075' 1076 ac_precious_vars='build_alias 1077host_alias 1078target_alias 1079CC 1080CFLAGS 1081LDFLAGS 1082LIBS 1083CPPFLAGS 1084CPP 1085CXX 1086CXXFLAGS 1087CCC 1088LT_SYS_LIBRARY_PATH 1089CXXCPP 1090PKG_CONFIG 1091PKG_CONFIG_PATH 1092PKG_CONFIG_LIBDIR 1093libcerror_CFLAGS 1094libcerror_LIBS 1095libcthreads_CFLAGS 1096libcthreads_LIBS 1097libcdata_CFLAGS 1098libcdata_LIBS 1099libclocale_CFLAGS 1100libclocale_LIBS 1101libcnotify_CFLAGS 1102libcnotify_LIBS 1103libcsplit_CFLAGS 1104libcsplit_LIBS 1105libuna_CFLAGS 1106libuna_LIBS 1107libcfile_CFLAGS 1108libcfile_LIBS 1109libcpath_CFLAGS 1110libcpath_LIBS 1111libbfio_CFLAGS 1112libbfio_LIBS 1113libfdatetime_CFLAGS 1114libfdatetime_LIBS 1115libfguid_CFLAGS 1116libfguid_LIBS 1117libfole_CFLAGS 1118libfole_LIBS 1119libfvalue_CFLAGS 1120libfvalue_LIBS 1121libfwps_CFLAGS 1122libfwps_LIBS 1123fuse_CFLAGS 1124fuse_LIBS' 1125 1126 1127# Initialize some variables set by options. 1128ac_init_help= 1129ac_init_version=false 1130ac_unrecognized_opts= 1131ac_unrecognized_sep= 1132# The variables have the same names as the options, with 1133# dashes changed to underlines. 1134cache_file=/dev/null 1135exec_prefix=NONE 1136no_create= 1137no_recursion= 1138prefix=NONE 1139program_prefix=NONE 1140program_suffix=NONE 1141program_transform_name=s,x,x, 1142silent= 1143site= 1144srcdir= 1145verbose= 1146x_includes=NONE 1147x_libraries=NONE 1148 1149# Installation directory options. 1150# These are left unexpanded so users can "make install exec_prefix=/foo" 1151# and all the variables that are supposed to be based on exec_prefix 1152# by default will actually change. 1153# Use braces instead of parens because sh, perl, etc. also accept them. 1154# (The list follows the same order as the GNU Coding Standards.) 1155bindir='${exec_prefix}/bin' 1156sbindir='${exec_prefix}/sbin' 1157libexecdir='${exec_prefix}/libexec' 1158datarootdir='${prefix}/share' 1159datadir='${datarootdir}' 1160sysconfdir='${prefix}/etc' 1161sharedstatedir='${prefix}/com' 1162localstatedir='${prefix}/var' 1163runstatedir='${localstatedir}/run' 1164includedir='${prefix}/include' 1165oldincludedir='/usr/include' 1166docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 1167infodir='${datarootdir}/info' 1168htmldir='${docdir}' 1169dvidir='${docdir}' 1170pdfdir='${docdir}' 1171psdir='${docdir}' 1172libdir='${exec_prefix}/lib' 1173localedir='${datarootdir}/locale' 1174mandir='${datarootdir}/man' 1175 1176ac_prev= 1177ac_dashdash= 1178for ac_option 1179do 1180 # If the previous option needs an argument, assign it. 1181 if test -n "$ac_prev"; then 1182 eval $ac_prev=\$ac_option 1183 ac_prev= 1184 continue 1185 fi 1186 1187 case $ac_option in 1188 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 1189 *=) ac_optarg= ;; 1190 *) ac_optarg=yes ;; 1191 esac 1192 1193 # Accept the important Cygnus configure options, so we can diagnose typos. 1194 1195 case $ac_dashdash$ac_option in 1196 --) 1197 ac_dashdash=yes ;; 1198 1199 -bindir | --bindir | --bindi | --bind | --bin | --bi) 1200 ac_prev=bindir ;; 1201 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 1202 bindir=$ac_optarg ;; 1203 1204 -build | --build | --buil | --bui | --bu) 1205 ac_prev=build_alias ;; 1206 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 1207 build_alias=$ac_optarg ;; 1208 1209 -cache-file | --cache-file | --cache-fil | --cache-fi \ 1210 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 1211 ac_prev=cache_file ;; 1212 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 1213 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 1214 cache_file=$ac_optarg ;; 1215 1216 --config-cache | -C) 1217 cache_file=config.cache ;; 1218 1219 -datadir | --datadir | --datadi | --datad) 1220 ac_prev=datadir ;; 1221 -datadir=* | --datadir=* | --datadi=* | --datad=*) 1222 datadir=$ac_optarg ;; 1223 1224 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 1225 | --dataroo | --dataro | --datar) 1226 ac_prev=datarootdir ;; 1227 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 1228 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 1229 datarootdir=$ac_optarg ;; 1230 1231 -disable-* | --disable-*) 1232 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 1233 # Reject names that are not valid shell variable names. 1234 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1235 as_fn_error $? "invalid feature name: $ac_useropt" 1236 ac_useropt_orig=$ac_useropt 1237 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1238 case $ac_user_opts in 1239 *" 1240"enable_$ac_useropt" 1241"*) ;; 1242 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 1243 ac_unrecognized_sep=', ';; 1244 esac 1245 eval enable_$ac_useropt=no ;; 1246 1247 -docdir | --docdir | --docdi | --doc | --do) 1248 ac_prev=docdir ;; 1249 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 1250 docdir=$ac_optarg ;; 1251 1252 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 1253 ac_prev=dvidir ;; 1254 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 1255 dvidir=$ac_optarg ;; 1256 1257 -enable-* | --enable-*) 1258 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 1259 # Reject names that are not valid shell variable names. 1260 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1261 as_fn_error $? "invalid feature name: $ac_useropt" 1262 ac_useropt_orig=$ac_useropt 1263 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1264 case $ac_user_opts in 1265 *" 1266"enable_$ac_useropt" 1267"*) ;; 1268 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 1269 ac_unrecognized_sep=', ';; 1270 esac 1271 eval enable_$ac_useropt=\$ac_optarg ;; 1272 1273 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 1274 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 1275 | --exec | --exe | --ex) 1276 ac_prev=exec_prefix ;; 1277 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 1278 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 1279 | --exec=* | --exe=* | --ex=*) 1280 exec_prefix=$ac_optarg ;; 1281 1282 -gas | --gas | --ga | --g) 1283 # Obsolete; use --with-gas. 1284 with_gas=yes ;; 1285 1286 -help | --help | --hel | --he | -h) 1287 ac_init_help=long ;; 1288 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 1289 ac_init_help=recursive ;; 1290 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 1291 ac_init_help=short ;; 1292 1293 -host | --host | --hos | --ho) 1294 ac_prev=host_alias ;; 1295 -host=* | --host=* | --hos=* | --ho=*) 1296 host_alias=$ac_optarg ;; 1297 1298 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1299 ac_prev=htmldir ;; 1300 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1301 | --ht=*) 1302 htmldir=$ac_optarg ;; 1303 1304 -includedir | --includedir | --includedi | --included | --include \ 1305 | --includ | --inclu | --incl | --inc) 1306 ac_prev=includedir ;; 1307 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1308 | --includ=* | --inclu=* | --incl=* | --inc=*) 1309 includedir=$ac_optarg ;; 1310 1311 -infodir | --infodir | --infodi | --infod | --info | --inf) 1312 ac_prev=infodir ;; 1313 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1314 infodir=$ac_optarg ;; 1315 1316 -libdir | --libdir | --libdi | --libd) 1317 ac_prev=libdir ;; 1318 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1319 libdir=$ac_optarg ;; 1320 1321 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1322 | --libexe | --libex | --libe) 1323 ac_prev=libexecdir ;; 1324 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1325 | --libexe=* | --libex=* | --libe=*) 1326 libexecdir=$ac_optarg ;; 1327 1328 -localedir | --localedir | --localedi | --localed | --locale) 1329 ac_prev=localedir ;; 1330 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1331 localedir=$ac_optarg ;; 1332 1333 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1334 | --localstate | --localstat | --localsta | --localst | --locals) 1335 ac_prev=localstatedir ;; 1336 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1337 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1338 localstatedir=$ac_optarg ;; 1339 1340 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1341 ac_prev=mandir ;; 1342 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1343 mandir=$ac_optarg ;; 1344 1345 -nfp | --nfp | --nf) 1346 # Obsolete; use --without-fp. 1347 with_fp=no ;; 1348 1349 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1350 | --no-cr | --no-c | -n) 1351 no_create=yes ;; 1352 1353 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1354 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1355 no_recursion=yes ;; 1356 1357 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1358 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1359 | --oldin | --oldi | --old | --ol | --o) 1360 ac_prev=oldincludedir ;; 1361 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1362 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1363 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1364 oldincludedir=$ac_optarg ;; 1365 1366 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1367 ac_prev=prefix ;; 1368 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1369 prefix=$ac_optarg ;; 1370 1371 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1372 | --program-pre | --program-pr | --program-p) 1373 ac_prev=program_prefix ;; 1374 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1375 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1376 program_prefix=$ac_optarg ;; 1377 1378 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1379 | --program-suf | --program-su | --program-s) 1380 ac_prev=program_suffix ;; 1381 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1382 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1383 program_suffix=$ac_optarg ;; 1384 1385 -program-transform-name | --program-transform-name \ 1386 | --program-transform-nam | --program-transform-na \ 1387 | --program-transform-n | --program-transform- \ 1388 | --program-transform | --program-transfor \ 1389 | --program-transfo | --program-transf \ 1390 | --program-trans | --program-tran \ 1391 | --progr-tra | --program-tr | --program-t) 1392 ac_prev=program_transform_name ;; 1393 -program-transform-name=* | --program-transform-name=* \ 1394 | --program-transform-nam=* | --program-transform-na=* \ 1395 | --program-transform-n=* | --program-transform-=* \ 1396 | --program-transform=* | --program-transfor=* \ 1397 | --program-transfo=* | --program-transf=* \ 1398 | --program-trans=* | --program-tran=* \ 1399 | --progr-tra=* | --program-tr=* | --program-t=*) 1400 program_transform_name=$ac_optarg ;; 1401 1402 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1403 ac_prev=pdfdir ;; 1404 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1405 pdfdir=$ac_optarg ;; 1406 1407 -psdir | --psdir | --psdi | --psd | --ps) 1408 ac_prev=psdir ;; 1409 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1410 psdir=$ac_optarg ;; 1411 1412 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1413 | -silent | --silent | --silen | --sile | --sil) 1414 silent=yes ;; 1415 1416 -runstatedir | --runstatedir | --runstatedi | --runstated \ 1417 | --runstate | --runstat | --runsta | --runst | --runs \ 1418 | --run | --ru | --r) 1419 ac_prev=runstatedir ;; 1420 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ 1421 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ 1422 | --run=* | --ru=* | --r=*) 1423 runstatedir=$ac_optarg ;; 1424 1425 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1426 ac_prev=sbindir ;; 1427 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1428 | --sbi=* | --sb=*) 1429 sbindir=$ac_optarg ;; 1430 1431 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1432 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1433 | --sharedst | --shareds | --shared | --share | --shar \ 1434 | --sha | --sh) 1435 ac_prev=sharedstatedir ;; 1436 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1437 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1438 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1439 | --sha=* | --sh=*) 1440 sharedstatedir=$ac_optarg ;; 1441 1442 -site | --site | --sit) 1443 ac_prev=site ;; 1444 -site=* | --site=* | --sit=*) 1445 site=$ac_optarg ;; 1446 1447 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1448 ac_prev=srcdir ;; 1449 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1450 srcdir=$ac_optarg ;; 1451 1452 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1453 | --syscon | --sysco | --sysc | --sys | --sy) 1454 ac_prev=sysconfdir ;; 1455 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1456 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1457 sysconfdir=$ac_optarg ;; 1458 1459 -target | --target | --targe | --targ | --tar | --ta | --t) 1460 ac_prev=target_alias ;; 1461 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1462 target_alias=$ac_optarg ;; 1463 1464 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1465 verbose=yes ;; 1466 1467 -version | --version | --versio | --versi | --vers | -V) 1468 ac_init_version=: ;; 1469 1470 -with-* | --with-*) 1471 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1472 # Reject names that are not valid shell variable names. 1473 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1474 as_fn_error $? "invalid package name: $ac_useropt" 1475 ac_useropt_orig=$ac_useropt 1476 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1477 case $ac_user_opts in 1478 *" 1479"with_$ac_useropt" 1480"*) ;; 1481 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1482 ac_unrecognized_sep=', ';; 1483 esac 1484 eval with_$ac_useropt=\$ac_optarg ;; 1485 1486 -without-* | --without-*) 1487 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1488 # Reject names that are not valid shell variable names. 1489 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1490 as_fn_error $? "invalid package name: $ac_useropt" 1491 ac_useropt_orig=$ac_useropt 1492 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1493 case $ac_user_opts in 1494 *" 1495"with_$ac_useropt" 1496"*) ;; 1497 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1498 ac_unrecognized_sep=', ';; 1499 esac 1500 eval with_$ac_useropt=no ;; 1501 1502 --x) 1503 # Obsolete; use --with-x. 1504 with_x=yes ;; 1505 1506 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1507 | --x-incl | --x-inc | --x-in | --x-i) 1508 ac_prev=x_includes ;; 1509 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1510 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1511 x_includes=$ac_optarg ;; 1512 1513 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1514 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1515 ac_prev=x_libraries ;; 1516 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1517 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1518 x_libraries=$ac_optarg ;; 1519 1520 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1521Try \`$0 --help' for more information" 1522 ;; 1523 1524 *=*) 1525 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1526 # Reject names that are not valid shell variable names. 1527 case $ac_envvar in #( 1528 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1529 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1530 esac 1531 eval $ac_envvar=\$ac_optarg 1532 export $ac_envvar ;; 1533 1534 *) 1535 # FIXME: should be removed in autoconf 3.0. 1536 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1537 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1538 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1539 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1540 ;; 1541 1542 esac 1543done 1544 1545if test -n "$ac_prev"; then 1546 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1547 as_fn_error $? "missing argument to $ac_option" 1548fi 1549 1550if test -n "$ac_unrecognized_opts"; then 1551 case $enable_option_checking in 1552 no) ;; 1553 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1554 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1555 esac 1556fi 1557 1558# Check all directory arguments for consistency. 1559for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1560 datadir sysconfdir sharedstatedir localstatedir includedir \ 1561 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1562 libdir localedir mandir runstatedir 1563do 1564 eval ac_val=\$$ac_var 1565 # Remove trailing slashes. 1566 case $ac_val in 1567 */ ) 1568 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1569 eval $ac_var=\$ac_val;; 1570 esac 1571 # Be sure to have absolute directory names. 1572 case $ac_val in 1573 [\\/$]* | ?:[\\/]* ) continue;; 1574 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1575 esac 1576 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1577done 1578 1579# There might be people who depend on the old broken behavior: `$host' 1580# used to hold the argument of --host etc. 1581# FIXME: To remove some day. 1582build=$build_alias 1583host=$host_alias 1584target=$target_alias 1585 1586# FIXME: To remove some day. 1587if test "x$host_alias" != x; then 1588 if test "x$build_alias" = x; then 1589 cross_compiling=maybe 1590 elif test "x$build_alias" != "x$host_alias"; then 1591 cross_compiling=yes 1592 fi 1593fi 1594 1595ac_tool_prefix= 1596test -n "$host_alias" && ac_tool_prefix=$host_alias- 1597 1598test "$silent" = yes && exec 6>/dev/null 1599 1600 1601ac_pwd=`pwd` && test -n "$ac_pwd" && 1602ac_ls_di=`ls -di .` && 1603ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1604 as_fn_error $? "working directory cannot be determined" 1605test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1606 as_fn_error $? "pwd does not report name of working directory" 1607 1608 1609# Find the source files, if location was not specified. 1610if test -z "$srcdir"; then 1611 ac_srcdir_defaulted=yes 1612 # Try the directory containing this script, then the parent directory. 1613 ac_confdir=`$as_dirname -- "$as_myself" || 1614$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1615 X"$as_myself" : 'X\(//\)[^/]' \| \ 1616 X"$as_myself" : 'X\(//\)$' \| \ 1617 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1618$as_echo X"$as_myself" | 1619 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1620 s//\1/ 1621 q 1622 } 1623 /^X\(\/\/\)[^/].*/{ 1624 s//\1/ 1625 q 1626 } 1627 /^X\(\/\/\)$/{ 1628 s//\1/ 1629 q 1630 } 1631 /^X\(\/\).*/{ 1632 s//\1/ 1633 q 1634 } 1635 s/.*/./; q'` 1636 srcdir=$ac_confdir 1637 if test ! -r "$srcdir/$ac_unique_file"; then 1638 srcdir=.. 1639 fi 1640else 1641 ac_srcdir_defaulted=no 1642fi 1643if test ! -r "$srcdir/$ac_unique_file"; then 1644 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1645 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1646fi 1647ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1648ac_abs_confdir=`( 1649 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1650 pwd)` 1651# When building in place, set srcdir=. 1652if test "$ac_abs_confdir" = "$ac_pwd"; then 1653 srcdir=. 1654fi 1655# Remove unnecessary trailing slashes from srcdir. 1656# Double slashes in file names in object file debugging info 1657# mess up M-x gdb in Emacs. 1658case $srcdir in 1659*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1660esac 1661for ac_var in $ac_precious_vars; do 1662 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1663 eval ac_env_${ac_var}_value=\$${ac_var} 1664 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1665 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1666done 1667 1668# 1669# Report the --help message. 1670# 1671if test "$ac_init_help" = "long"; then 1672 # Omit some internal or obsolete options to make the list less imposing. 1673 # This message is too long to be a string in the A/UX 3.1 sh. 1674 cat <<_ACEOF 1675\`configure' configures libolecf 20210512 to adapt to many kinds of systems. 1676 1677Usage: $0 [OPTION]... [VAR=VALUE]... 1678 1679To assign environment variables (e.g., CC, CFLAGS...), specify them as 1680VAR=VALUE. See below for descriptions of some of the useful variables. 1681 1682Defaults for the options are specified in brackets. 1683 1684Configuration: 1685 -h, --help display this help and exit 1686 --help=short display options specific to this package 1687 --help=recursive display the short help of all the included packages 1688 -V, --version display version information and exit 1689 -q, --quiet, --silent do not print \`checking ...' messages 1690 --cache-file=FILE cache test results in FILE [disabled] 1691 -C, --config-cache alias for \`--cache-file=config.cache' 1692 -n, --no-create do not create output files 1693 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1694 1695Installation directories: 1696 --prefix=PREFIX install architecture-independent files in PREFIX 1697 [$ac_default_prefix] 1698 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1699 [PREFIX] 1700 1701By default, \`make install' will install all the files in 1702\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1703an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1704for instance \`--prefix=\$HOME'. 1705 1706For better control, use the options below. 1707 1708Fine tuning of the installation directories: 1709 --bindir=DIR user executables [EPREFIX/bin] 1710 --sbindir=DIR system admin executables [EPREFIX/sbin] 1711 --libexecdir=DIR program executables [EPREFIX/libexec] 1712 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1713 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1714 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1715 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] 1716 --libdir=DIR object code libraries [EPREFIX/lib] 1717 --includedir=DIR C header files [PREFIX/include] 1718 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1719 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1720 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1721 --infodir=DIR info documentation [DATAROOTDIR/info] 1722 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1723 --mandir=DIR man documentation [DATAROOTDIR/man] 1724 --docdir=DIR documentation root [DATAROOTDIR/doc/libolecf] 1725 --htmldir=DIR html documentation [DOCDIR] 1726 --dvidir=DIR dvi documentation [DOCDIR] 1727 --pdfdir=DIR pdf documentation [DOCDIR] 1728 --psdir=DIR ps documentation [DOCDIR] 1729_ACEOF 1730 1731 cat <<\_ACEOF 1732 1733Program names: 1734 --program-prefix=PREFIX prepend PREFIX to installed program names 1735 --program-suffix=SUFFIX append SUFFIX to installed program names 1736 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1737 1738System types: 1739 --build=BUILD configure for building on BUILD [guessed] 1740 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1741_ACEOF 1742fi 1743 1744if test -n "$ac_init_help"; then 1745 case $ac_init_help in 1746 short | recursive ) echo "Configuration of libolecf 20210512:";; 1747 esac 1748 cat <<\_ACEOF 1749 1750Optional Features: 1751 --disable-option-checking ignore unrecognized --enable/--with options 1752 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1753 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1754 --enable-silent-rules less verbose build output (undo: "make V=1") 1755 --disable-silent-rules verbose build output (undo: "make V=0") 1756 --enable-dependency-tracking 1757 do not reject slow dependency extractors 1758 --disable-dependency-tracking 1759 speeds up one-time build 1760 --enable-shared[=PKGS] build shared libraries [default=yes] 1761 --enable-static[=PKGS] build static libraries [default=yes] 1762 --enable-fast-install[=PKGS] 1763 optimize for fast installation [default=yes] 1764 --disable-libtool-lock avoid locking (might break parallel builds) 1765 --disable-nls do not use Native Language Support 1766 --disable-rpath do not hardcode runtime library paths 1767 --disable-largefile omit support for large files 1768 --disable-shared-libs disable shared library support 1769 --enable-static-executables 1770 build static executables (binaries) [default=no] 1771 --enable-winapi enable WINAPI support for cross-compilation 1772 [default=auto-detect] 1773 --enable-wide-character-type 1774 enable wide character type support [default=no] 1775 --enable-verbose-output enable verbose output [default=no] 1776 --enable-debug-output enable debug output [default=no] 1777 --enable-multi-threading-support 1778 enable multi-threading support [default=yes] 1779 --enable-python build Python bindings [default=no] 1780 --enable-python2 build Python 2 bindings [default=no] 1781 --enable-python3 build Python 3 bindings [default=no] 1782 1783Optional Packages: 1784 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1785 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1786 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use 1787 both] 1788 --with-aix-soname=aix|svr4|both 1789 shared library versioning (aka "SONAME") variant to 1790 provide on AIX, [default=aix]. 1791 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1792 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the 1793 compiler's sysroot if not specified). 1794 --with-gnu-ld assume the C compiler uses GNU ld default=no 1795 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib 1796 --without-libiconv-prefix don't search for libiconv in includedir and libdir 1797 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib 1798 --without-libintl-prefix don't search for libintl in includedir and libdir 1799 --with-libcerror[=DIR] search for libcerror in includedir and libdir or in 1800 the specified DIR, or no if to use local version 1801 [default=auto-detect] 1802 --with-libcthreads[=DIR] 1803 search for libcthreads in includedir and libdir or 1804 in the specified DIR, or no if to use local version 1805 [default=auto-detect] 1806 --with-pthread[=DIR] search for pthread in includedir and libdir or in 1807 the specified DIR, or no if not to use pthread 1808 [default=auto-detect] 1809 --with-libcdata[=DIR] search for libcdata in includedir and libdir or in 1810 the specified DIR, or no if to use local version 1811 [default=auto-detect] 1812 --with-libclocale[=DIR] search for libclocale in includedir and libdir or in 1813 the specified DIR, or no if to use local version 1814 [default=auto-detect] 1815 --with-libcnotify[=DIR] search for libcnotify in includedir and libdir or in 1816 the specified DIR, or no if to use local version 1817 [default=auto-detect] 1818 --with-libcsplit[=DIR] search for libcsplit in includedir and libdir or in 1819 the specified DIR, or no if to use local version 1820 [default=auto-detect] 1821 --with-libuna[=DIR] search for libuna in includedir and libdir or in the 1822 specified DIR, or no if to use local version 1823 [default=auto-detect] 1824 --with-libcfile[=DIR] search for libcfile in includedir and libdir or in 1825 the specified DIR, or no if to use local version 1826 [default=auto-detect] 1827 --with-libcpath[=DIR] search for libcpath in includedir and libdir or in 1828 the specified DIR, or no if to use local version 1829 [default=auto-detect] 1830 --with-libbfio[=DIR] search for libbfio in includedir and libdir or in 1831 the specified DIR, or no if to use local version 1832 [default=auto-detect] 1833 --with-libfdatetime[=DIR] 1834 search for libfdatetime in includedir and libdir or 1835 in the specified DIR, or no if to use local version 1836 [default=auto-detect] 1837 --with-libfguid[=DIR] search for libfguid in includedir and libdir or in 1838 the specified DIR, or no if to use local version 1839 [default=auto-detect] 1840 --with-libfole[=DIR] search for libfole in includedir and libdir or in 1841 the specified DIR, or no if to use local version 1842 [default=auto-detect] 1843 --with-libfvalue[=DIR] search for libfvalue in includedir and libdir or in 1844 the specified DIR, or no if to use local version 1845 [default=auto-detect] 1846 --with-libfwps[=DIR] search for libfwps in includedir and libdir or in 1847 the specified DIR, or no if to use local version 1848 [default=auto-detect] 1849 --with-pyprefix[=no] use `python-config --prefix' to determine the prefix 1850 of pythondir instead of --prefix [default=no] 1851 --with-pythondir[=no] use to specify the Python directory (pythondir) 1852 [default=no] 1853 --with-pythondir2[=no] use to specify the Python 2 directory (pythondir2) 1854 [default=no] 1855 --with-pythondir3[=no] use to specify the Python 3 directory (pythondir3) 1856 [default=no] 1857 --with-libfuse[=DIR] search for libfuse in includedir and libdir or in 1858 the specified DIR, or no if not to use libfuse 1859 [default=auto-detect] 1860 1861Some influential environment variables: 1862 CC C compiler command 1863 CFLAGS C compiler flags 1864 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1865 nonstandard directory <lib dir> 1866 LIBS libraries to pass to the linker, e.g. -l<library> 1867 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1868 you have headers in a nonstandard directory <include dir> 1869 CPP C preprocessor 1870 CXX C++ compiler command 1871 CXXFLAGS C++ compiler flags 1872 LT_SYS_LIBRARY_PATH 1873 User-defined run-time library search path. 1874 CXXCPP C++ preprocessor 1875 PKG_CONFIG path to pkg-config utility 1876 PKG_CONFIG_PATH 1877 directories to add to pkg-config's search path 1878 PKG_CONFIG_LIBDIR 1879 path overriding pkg-config's built-in search path 1880 libcerror_CFLAGS 1881 C compiler flags for libcerror, overriding pkg-config 1882 libcerror_LIBS 1883 linker flags for libcerror, overriding pkg-config 1884 libcthreads_CFLAGS 1885 C compiler flags for libcthreads, overriding pkg-config 1886 libcthreads_LIBS 1887 linker flags for libcthreads, overriding pkg-config 1888 libcdata_CFLAGS 1889 C compiler flags for libcdata, overriding pkg-config 1890 libcdata_LIBS 1891 linker flags for libcdata, overriding pkg-config 1892 libclocale_CFLAGS 1893 C compiler flags for libclocale, overriding pkg-config 1894 libclocale_LIBS 1895 linker flags for libclocale, overriding pkg-config 1896 libcnotify_CFLAGS 1897 C compiler flags for libcnotify, overriding pkg-config 1898 libcnotify_LIBS 1899 linker flags for libcnotify, overriding pkg-config 1900 libcsplit_CFLAGS 1901 C compiler flags for libcsplit, overriding pkg-config 1902 libcsplit_LIBS 1903 linker flags for libcsplit, overriding pkg-config 1904 libuna_CFLAGS 1905 C compiler flags for libuna, overriding pkg-config 1906 libuna_LIBS linker flags for libuna, overriding pkg-config 1907 libcfile_CFLAGS 1908 C compiler flags for libcfile, overriding pkg-config 1909 libcfile_LIBS 1910 linker flags for libcfile, overriding pkg-config 1911 libcpath_CFLAGS 1912 C compiler flags for libcpath, overriding pkg-config 1913 libcpath_LIBS 1914 linker flags for libcpath, overriding pkg-config 1915 libbfio_CFLAGS 1916 C compiler flags for libbfio, overriding pkg-config 1917 libbfio_LIBS 1918 linker flags for libbfio, overriding pkg-config 1919 libfdatetime_CFLAGS 1920 C compiler flags for libfdatetime, overriding pkg-config 1921 libfdatetime_LIBS 1922 linker flags for libfdatetime, overriding pkg-config 1923 libfguid_CFLAGS 1924 C compiler flags for libfguid, overriding pkg-config 1925 libfguid_LIBS 1926 linker flags for libfguid, overriding pkg-config 1927 libfole_CFLAGS 1928 C compiler flags for libfole, overriding pkg-config 1929 libfole_LIBS 1930 linker flags for libfole, overriding pkg-config 1931 libfvalue_CFLAGS 1932 C compiler flags for libfvalue, overriding pkg-config 1933 libfvalue_LIBS 1934 linker flags for libfvalue, overriding pkg-config 1935 libfwps_CFLAGS 1936 C compiler flags for libfwps, overriding pkg-config 1937 libfwps_LIBS 1938 linker flags for libfwps, overriding pkg-config 1939 fuse_CFLAGS C compiler flags for fuse, overriding pkg-config 1940 fuse_LIBS linker flags for fuse, overriding pkg-config 1941 1942Use these variables to override the choices made by `configure' or to help 1943it to find libraries and programs with nonstandard names/locations. 1944 1945Report bugs to <joachim.metz@gmail.com>. 1946_ACEOF 1947ac_status=$? 1948fi 1949 1950if test "$ac_init_help" = "recursive"; then 1951 # If there are subdirs, report their specific --help. 1952 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1953 test -d "$ac_dir" || 1954 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1955 continue 1956 ac_builddir=. 1957 1958case "$ac_dir" in 1959.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1960*) 1961 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1962 # A ".." for each directory in $ac_dir_suffix. 1963 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1964 case $ac_top_builddir_sub in 1965 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1966 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1967 esac ;; 1968esac 1969ac_abs_top_builddir=$ac_pwd 1970ac_abs_builddir=$ac_pwd$ac_dir_suffix 1971# for backward compatibility: 1972ac_top_builddir=$ac_top_build_prefix 1973 1974case $srcdir in 1975 .) # We are building in place. 1976 ac_srcdir=. 1977 ac_top_srcdir=$ac_top_builddir_sub 1978 ac_abs_top_srcdir=$ac_pwd ;; 1979 [\\/]* | ?:[\\/]* ) # Absolute name. 1980 ac_srcdir=$srcdir$ac_dir_suffix; 1981 ac_top_srcdir=$srcdir 1982 ac_abs_top_srcdir=$srcdir ;; 1983 *) # Relative name. 1984 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1985 ac_top_srcdir=$ac_top_build_prefix$srcdir 1986 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1987esac 1988ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1989 1990 cd "$ac_dir" || { ac_status=$?; continue; } 1991 # Check for guested configure. 1992 if test -f "$ac_srcdir/configure.gnu"; then 1993 echo && 1994 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1995 elif test -f "$ac_srcdir/configure"; then 1996 echo && 1997 $SHELL "$ac_srcdir/configure" --help=recursive 1998 else 1999 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 2000 fi || ac_status=$? 2001 cd "$ac_pwd" || { ac_status=$?; break; } 2002 done 2003fi 2004 2005test -n "$ac_init_help" && exit $ac_status 2006if $ac_init_version; then 2007 cat <<\_ACEOF 2008libolecf configure 20210512 2009generated by GNU Autoconf 2.69 2010 2011Copyright (C) 2012 Free Software Foundation, Inc. 2012This configure script is free software; the Free Software Foundation 2013gives unlimited permission to copy, distribute and modify it. 2014_ACEOF 2015 exit 2016fi 2017 2018## ------------------------ ## 2019## Autoconf initialization. ## 2020## ------------------------ ## 2021 2022# ac_fn_c_try_compile LINENO 2023# -------------------------- 2024# Try to compile conftest.$ac_ext, and return whether this succeeded. 2025ac_fn_c_try_compile () 2026{ 2027 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2028 rm -f conftest.$ac_objext 2029 if { { ac_try="$ac_compile" 2030case "(($ac_try" in 2031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2032 *) ac_try_echo=$ac_try;; 2033esac 2034eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2035$as_echo "$ac_try_echo"; } >&5 2036 (eval "$ac_compile") 2>conftest.err 2037 ac_status=$? 2038 if test -s conftest.err; then 2039 grep -v '^ *+' conftest.err >conftest.er1 2040 cat conftest.er1 >&5 2041 mv -f conftest.er1 conftest.err 2042 fi 2043 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2044 test $ac_status = 0; } && { 2045 test -z "$ac_c_werror_flag" || 2046 test ! -s conftest.err 2047 } && test -s conftest.$ac_objext; then : 2048 ac_retval=0 2049else 2050 $as_echo "$as_me: failed program was:" >&5 2051sed 's/^/| /' conftest.$ac_ext >&5 2052 2053 ac_retval=1 2054fi 2055 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2056 as_fn_set_status $ac_retval 2057 2058} # ac_fn_c_try_compile 2059 2060# ac_fn_c_try_cpp LINENO 2061# ---------------------- 2062# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 2063ac_fn_c_try_cpp () 2064{ 2065 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2066 if { { ac_try="$ac_cpp conftest.$ac_ext" 2067case "(($ac_try" in 2068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2069 *) ac_try_echo=$ac_try;; 2070esac 2071eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2072$as_echo "$ac_try_echo"; } >&5 2073 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 2074 ac_status=$? 2075 if test -s conftest.err; then 2076 grep -v '^ *+' conftest.err >conftest.er1 2077 cat conftest.er1 >&5 2078 mv -f conftest.er1 conftest.err 2079 fi 2080 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2081 test $ac_status = 0; } > conftest.i && { 2082 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 2083 test ! -s conftest.err 2084 }; then : 2085 ac_retval=0 2086else 2087 $as_echo "$as_me: failed program was:" >&5 2088sed 's/^/| /' conftest.$ac_ext >&5 2089 2090 ac_retval=1 2091fi 2092 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2093 as_fn_set_status $ac_retval 2094 2095} # ac_fn_c_try_cpp 2096 2097# ac_fn_cxx_try_compile LINENO 2098# ---------------------------- 2099# Try to compile conftest.$ac_ext, and return whether this succeeded. 2100ac_fn_cxx_try_compile () 2101{ 2102 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2103 rm -f conftest.$ac_objext 2104 if { { ac_try="$ac_compile" 2105case "(($ac_try" in 2106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2107 *) ac_try_echo=$ac_try;; 2108esac 2109eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2110$as_echo "$ac_try_echo"; } >&5 2111 (eval "$ac_compile") 2>conftest.err 2112 ac_status=$? 2113 if test -s conftest.err; then 2114 grep -v '^ *+' conftest.err >conftest.er1 2115 cat conftest.er1 >&5 2116 mv -f conftest.er1 conftest.err 2117 fi 2118 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2119 test $ac_status = 0; } && { 2120 test -z "$ac_cxx_werror_flag" || 2121 test ! -s conftest.err 2122 } && test -s conftest.$ac_objext; then : 2123 ac_retval=0 2124else 2125 $as_echo "$as_me: failed program was:" >&5 2126sed 's/^/| /' conftest.$ac_ext >&5 2127 2128 ac_retval=1 2129fi 2130 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2131 as_fn_set_status $ac_retval 2132 2133} # ac_fn_cxx_try_compile 2134 2135# ac_fn_c_try_link LINENO 2136# ----------------------- 2137# Try to link conftest.$ac_ext, and return whether this succeeded. 2138ac_fn_c_try_link () 2139{ 2140 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2141 rm -f conftest.$ac_objext conftest$ac_exeext 2142 if { { ac_try="$ac_link" 2143case "(($ac_try" in 2144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2145 *) ac_try_echo=$ac_try;; 2146esac 2147eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2148$as_echo "$ac_try_echo"; } >&5 2149 (eval "$ac_link") 2>conftest.err 2150 ac_status=$? 2151 if test -s conftest.err; then 2152 grep -v '^ *+' conftest.err >conftest.er1 2153 cat conftest.er1 >&5 2154 mv -f conftest.er1 conftest.err 2155 fi 2156 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2157 test $ac_status = 0; } && { 2158 test -z "$ac_c_werror_flag" || 2159 test ! -s conftest.err 2160 } && test -s conftest$ac_exeext && { 2161 test "$cross_compiling" = yes || 2162 test -x conftest$ac_exeext 2163 }; then : 2164 ac_retval=0 2165else 2166 $as_echo "$as_me: failed program was:" >&5 2167sed 's/^/| /' conftest.$ac_ext >&5 2168 2169 ac_retval=1 2170fi 2171 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 2172 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 2173 # interfere with the next link command; also delete a directory that is 2174 # left behind by Apple's compiler. We do this before executing the actions. 2175 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2176 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2177 as_fn_set_status $ac_retval 2178 2179} # ac_fn_c_try_link 2180 2181# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 2182# ------------------------------------------------------- 2183# Tests whether HEADER exists and can be compiled using the include files in 2184# INCLUDES, setting the cache variable VAR accordingly. 2185ac_fn_c_check_header_compile () 2186{ 2187 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2189$as_echo_n "checking for $2... " >&6; } 2190if eval \${$3+:} false; then : 2191 $as_echo_n "(cached) " >&6 2192else 2193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2194/* end confdefs.h. */ 2195$4 2196#include <$2> 2197_ACEOF 2198if ac_fn_c_try_compile "$LINENO"; then : 2199 eval "$3=yes" 2200else 2201 eval "$3=no" 2202fi 2203rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2204fi 2205eval ac_res=\$$3 2206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2207$as_echo "$ac_res" >&6; } 2208 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2209 2210} # ac_fn_c_check_header_compile 2211 2212# ac_fn_c_try_run LINENO 2213# ---------------------- 2214# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 2215# that executables *can* be run. 2216ac_fn_c_try_run () 2217{ 2218 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2219 if { { ac_try="$ac_link" 2220case "(($ac_try" in 2221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2222 *) ac_try_echo=$ac_try;; 2223esac 2224eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2225$as_echo "$ac_try_echo"; } >&5 2226 (eval "$ac_link") 2>&5 2227 ac_status=$? 2228 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2229 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 2230 { { case "(($ac_try" in 2231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2232 *) ac_try_echo=$ac_try;; 2233esac 2234eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2235$as_echo "$ac_try_echo"; } >&5 2236 (eval "$ac_try") 2>&5 2237 ac_status=$? 2238 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2239 test $ac_status = 0; }; }; then : 2240 ac_retval=0 2241else 2242 $as_echo "$as_me: program exited with status $ac_status" >&5 2243 $as_echo "$as_me: failed program was:" >&5 2244sed 's/^/| /' conftest.$ac_ext >&5 2245 2246 ac_retval=$ac_status 2247fi 2248 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2249 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2250 as_fn_set_status $ac_retval 2251 2252} # ac_fn_c_try_run 2253 2254# ac_fn_c_check_func LINENO FUNC VAR 2255# ---------------------------------- 2256# Tests whether FUNC exists, setting the cache variable VAR accordingly 2257ac_fn_c_check_func () 2258{ 2259 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2261$as_echo_n "checking for $2... " >&6; } 2262if eval \${$3+:} false; then : 2263 $as_echo_n "(cached) " >&6 2264else 2265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2266/* end confdefs.h. */ 2267/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 2268 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 2269#define $2 innocuous_$2 2270 2271/* System header to define __stub macros and hopefully few prototypes, 2272 which can conflict with char $2 (); below. 2273 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 2274 <limits.h> exists even on freestanding compilers. */ 2275 2276#ifdef __STDC__ 2277# include <limits.h> 2278#else 2279# include <assert.h> 2280#endif 2281 2282#undef $2 2283 2284/* Override any GCC internal prototype to avoid an error. 2285 Use char because int might match the return type of a GCC 2286 builtin and then its argument prototype would still apply. */ 2287#ifdef __cplusplus 2288extern "C" 2289#endif 2290char $2 (); 2291/* The GNU C library defines this for functions which it implements 2292 to always fail with ENOSYS. Some functions are actually named 2293 something starting with __ and the normal name is an alias. */ 2294#if defined __stub_$2 || defined __stub___$2 2295choke me 2296#endif 2297 2298int 2299main () 2300{ 2301return $2 (); 2302 ; 2303 return 0; 2304} 2305_ACEOF 2306if ac_fn_c_try_link "$LINENO"; then : 2307 eval "$3=yes" 2308else 2309 eval "$3=no" 2310fi 2311rm -f core conftest.err conftest.$ac_objext \ 2312 conftest$ac_exeext conftest.$ac_ext 2313fi 2314eval ac_res=\$$3 2315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2316$as_echo "$ac_res" >&6; } 2317 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2318 2319} # ac_fn_c_check_func 2320 2321# ac_fn_cxx_try_cpp LINENO 2322# ------------------------ 2323# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 2324ac_fn_cxx_try_cpp () 2325{ 2326 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2327 if { { ac_try="$ac_cpp conftest.$ac_ext" 2328case "(($ac_try" in 2329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2330 *) ac_try_echo=$ac_try;; 2331esac 2332eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2333$as_echo "$ac_try_echo"; } >&5 2334 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 2335 ac_status=$? 2336 if test -s conftest.err; then 2337 grep -v '^ *+' conftest.err >conftest.er1 2338 cat conftest.er1 >&5 2339 mv -f conftest.er1 conftest.err 2340 fi 2341 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2342 test $ac_status = 0; } > conftest.i && { 2343 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 2344 test ! -s conftest.err 2345 }; then : 2346 ac_retval=0 2347else 2348 $as_echo "$as_me: failed program was:" >&5 2349sed 's/^/| /' conftest.$ac_ext >&5 2350 2351 ac_retval=1 2352fi 2353 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2354 as_fn_set_status $ac_retval 2355 2356} # ac_fn_cxx_try_cpp 2357 2358# ac_fn_cxx_try_link LINENO 2359# ------------------------- 2360# Try to link conftest.$ac_ext, and return whether this succeeded. 2361ac_fn_cxx_try_link () 2362{ 2363 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2364 rm -f conftest.$ac_objext conftest$ac_exeext 2365 if { { ac_try="$ac_link" 2366case "(($ac_try" in 2367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2368 *) ac_try_echo=$ac_try;; 2369esac 2370eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2371$as_echo "$ac_try_echo"; } >&5 2372 (eval "$ac_link") 2>conftest.err 2373 ac_status=$? 2374 if test -s conftest.err; then 2375 grep -v '^ *+' conftest.err >conftest.er1 2376 cat conftest.er1 >&5 2377 mv -f conftest.er1 conftest.err 2378 fi 2379 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2380 test $ac_status = 0; } && { 2381 test -z "$ac_cxx_werror_flag" || 2382 test ! -s conftest.err 2383 } && test -s conftest$ac_exeext && { 2384 test "$cross_compiling" = yes || 2385 test -x conftest$ac_exeext 2386 }; then : 2387 ac_retval=0 2388else 2389 $as_echo "$as_me: failed program was:" >&5 2390sed 's/^/| /' conftest.$ac_ext >&5 2391 2392 ac_retval=1 2393fi 2394 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 2395 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 2396 # interfere with the next link command; also delete a directory that is 2397 # left behind by Apple's compiler. We do this before executing the actions. 2398 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2399 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2400 as_fn_set_status $ac_retval 2401 2402} # ac_fn_cxx_try_link 2403 2404# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 2405# ------------------------------------------------------- 2406# Tests whether HEADER exists, giving a warning if it cannot be compiled using 2407# the include files in INCLUDES and setting the cache variable VAR 2408# accordingly. 2409ac_fn_c_check_header_mongrel () 2410{ 2411 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2412 if eval \${$3+:} false; then : 2413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2414$as_echo_n "checking for $2... " >&6; } 2415if eval \${$3+:} false; then : 2416 $as_echo_n "(cached) " >&6 2417fi 2418eval ac_res=\$$3 2419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2420$as_echo "$ac_res" >&6; } 2421else 2422 # Is the header compilable? 2423{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 2424$as_echo_n "checking $2 usability... " >&6; } 2425cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2426/* end confdefs.h. */ 2427$4 2428#include <$2> 2429_ACEOF 2430if ac_fn_c_try_compile "$LINENO"; then : 2431 ac_header_compiler=yes 2432else 2433 ac_header_compiler=no 2434fi 2435rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2436{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 2437$as_echo "$ac_header_compiler" >&6; } 2438 2439# Is the header present? 2440{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 2441$as_echo_n "checking $2 presence... " >&6; } 2442cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2443/* end confdefs.h. */ 2444#include <$2> 2445_ACEOF 2446if ac_fn_c_try_cpp "$LINENO"; then : 2447 ac_header_preproc=yes 2448else 2449 ac_header_preproc=no 2450fi 2451rm -f conftest.err conftest.i conftest.$ac_ext 2452{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 2453$as_echo "$ac_header_preproc" >&6; } 2454 2455# So? What about this header? 2456case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 2457 yes:no: ) 2458 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 2459$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 2460 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2461$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2462 ;; 2463 no:yes:* ) 2464 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 2465$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 2466 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 2467$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 2468 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 2469$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 2470 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 2471$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 2472 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2473$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2474( $as_echo "## ------------------------------------- ## 2475## Report this to joachim.metz@gmail.com ## 2476## ------------------------------------- ##" 2477 ) | sed "s/^/$as_me: WARNING: /" >&2 2478 ;; 2479esac 2480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2481$as_echo_n "checking for $2... " >&6; } 2482if eval \${$3+:} false; then : 2483 $as_echo_n "(cached) " >&6 2484else 2485 eval "$3=\$ac_header_compiler" 2486fi 2487eval ac_res=\$$3 2488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2489$as_echo "$ac_res" >&6; } 2490fi 2491 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2492 2493} # ac_fn_c_check_header_mongrel 2494 2495# ac_fn_c_check_type LINENO TYPE VAR INCLUDES 2496# ------------------------------------------- 2497# Tests whether TYPE exists after having included INCLUDES, setting cache 2498# variable VAR accordingly. 2499ac_fn_c_check_type () 2500{ 2501 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2503$as_echo_n "checking for $2... " >&6; } 2504if eval \${$3+:} false; then : 2505 $as_echo_n "(cached) " >&6 2506else 2507 eval "$3=no" 2508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2509/* end confdefs.h. */ 2510$4 2511int 2512main () 2513{ 2514if (sizeof ($2)) 2515 return 0; 2516 ; 2517 return 0; 2518} 2519_ACEOF 2520if ac_fn_c_try_compile "$LINENO"; then : 2521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2522/* end confdefs.h. */ 2523$4 2524int 2525main () 2526{ 2527if (sizeof (($2))) 2528 return 0; 2529 ; 2530 return 0; 2531} 2532_ACEOF 2533if ac_fn_c_try_compile "$LINENO"; then : 2534 2535else 2536 eval "$3=yes" 2537fi 2538rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2539fi 2540rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2541fi 2542eval ac_res=\$$3 2543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2544$as_echo "$ac_res" >&6; } 2545 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2546 2547} # ac_fn_c_check_type 2548 2549# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES 2550# -------------------------------------------- 2551# Tries to find the compile-time value of EXPR in a program that includes 2552# INCLUDES, setting VAR accordingly. Returns whether the value could be 2553# computed 2554ac_fn_c_compute_int () 2555{ 2556 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2557 if test "$cross_compiling" = yes; then 2558 # Depending upon the size, compute the lo and hi bounds. 2559cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2560/* end confdefs.h. */ 2561$4 2562int 2563main () 2564{ 2565static int test_array [1 - 2 * !(($2) >= 0)]; 2566test_array [0] = 0; 2567return test_array [0]; 2568 2569 ; 2570 return 0; 2571} 2572_ACEOF 2573if ac_fn_c_try_compile "$LINENO"; then : 2574 ac_lo=0 ac_mid=0 2575 while :; do 2576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2577/* end confdefs.h. */ 2578$4 2579int 2580main () 2581{ 2582static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 2583test_array [0] = 0; 2584return test_array [0]; 2585 2586 ; 2587 return 0; 2588} 2589_ACEOF 2590if ac_fn_c_try_compile "$LINENO"; then : 2591 ac_hi=$ac_mid; break 2592else 2593 as_fn_arith $ac_mid + 1 && ac_lo=$as_val 2594 if test $ac_lo -le $ac_mid; then 2595 ac_lo= ac_hi= 2596 break 2597 fi 2598 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val 2599fi 2600rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2601 done 2602else 2603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2604/* end confdefs.h. */ 2605$4 2606int 2607main () 2608{ 2609static int test_array [1 - 2 * !(($2) < 0)]; 2610test_array [0] = 0; 2611return test_array [0]; 2612 2613 ; 2614 return 0; 2615} 2616_ACEOF 2617if ac_fn_c_try_compile "$LINENO"; then : 2618 ac_hi=-1 ac_mid=-1 2619 while :; do 2620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2621/* end confdefs.h. */ 2622$4 2623int 2624main () 2625{ 2626static int test_array [1 - 2 * !(($2) >= $ac_mid)]; 2627test_array [0] = 0; 2628return test_array [0]; 2629 2630 ; 2631 return 0; 2632} 2633_ACEOF 2634if ac_fn_c_try_compile "$LINENO"; then : 2635 ac_lo=$ac_mid; break 2636else 2637 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val 2638 if test $ac_mid -le $ac_hi; then 2639 ac_lo= ac_hi= 2640 break 2641 fi 2642 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val 2643fi 2644rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2645 done 2646else 2647 ac_lo= ac_hi= 2648fi 2649rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2650fi 2651rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2652# Binary search between lo and hi bounds. 2653while test "x$ac_lo" != "x$ac_hi"; do 2654 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val 2655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2656/* end confdefs.h. */ 2657$4 2658int 2659main () 2660{ 2661static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 2662test_array [0] = 0; 2663return test_array [0]; 2664 2665 ; 2666 return 0; 2667} 2668_ACEOF 2669if ac_fn_c_try_compile "$LINENO"; then : 2670 ac_hi=$ac_mid 2671else 2672 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val 2673fi 2674rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2675done 2676case $ac_lo in #(( 2677?*) eval "$3=\$ac_lo"; ac_retval=0 ;; 2678'') ac_retval=1 ;; 2679esac 2680 else 2681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2682/* end confdefs.h. */ 2683$4 2684static long int longval () { return $2; } 2685static unsigned long int ulongval () { return $2; } 2686#include <stdio.h> 2687#include <stdlib.h> 2688int 2689main () 2690{ 2691 2692 FILE *f = fopen ("conftest.val", "w"); 2693 if (! f) 2694 return 1; 2695 if (($2) < 0) 2696 { 2697 long int i = longval (); 2698 if (i != ($2)) 2699 return 1; 2700 fprintf (f, "%ld", i); 2701 } 2702 else 2703 { 2704 unsigned long int i = ulongval (); 2705 if (i != ($2)) 2706 return 1; 2707 fprintf (f, "%lu", i); 2708 } 2709 /* Do not output a trailing newline, as this causes \r\n confusion 2710 on some platforms. */ 2711 return ferror (f) || fclose (f) != 0; 2712 2713 ; 2714 return 0; 2715} 2716_ACEOF 2717if ac_fn_c_try_run "$LINENO"; then : 2718 echo >>conftest.val; read $3 <conftest.val; ac_retval=0 2719else 2720 ac_retval=1 2721fi 2722rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 2723 conftest.$ac_objext conftest.beam conftest.$ac_ext 2724rm -f conftest.val 2725 2726 fi 2727 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2728 as_fn_set_status $ac_retval 2729 2730} # ac_fn_c_compute_int 2731 2732# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES 2733# --------------------------------------------- 2734# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR 2735# accordingly. 2736ac_fn_c_check_decl () 2737{ 2738 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2739 as_decl_name=`echo $2|sed 's/ *(.*//'` 2740 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` 2741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 2742$as_echo_n "checking whether $as_decl_name is declared... " >&6; } 2743if eval \${$3+:} false; then : 2744 $as_echo_n "(cached) " >&6 2745else 2746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2747/* end confdefs.h. */ 2748$4 2749int 2750main () 2751{ 2752#ifndef $as_decl_name 2753#ifdef __cplusplus 2754 (void) $as_decl_use; 2755#else 2756 (void) $as_decl_name; 2757#endif 2758#endif 2759 2760 ; 2761 return 0; 2762} 2763_ACEOF 2764if ac_fn_c_try_compile "$LINENO"; then : 2765 eval "$3=yes" 2766else 2767 eval "$3=no" 2768fi 2769rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2770fi 2771eval ac_res=\$$3 2772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2773$as_echo "$ac_res" >&6; } 2774 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2775 2776} # ac_fn_c_check_decl 2777cat >config.log <<_ACEOF 2778This file contains any messages produced by compilers while 2779running configure, to aid debugging if configure makes a mistake. 2780 2781It was created by libolecf $as_me 20210512, which was 2782generated by GNU Autoconf 2.69. Invocation command line was 2783 2784 $ $0 $@ 2785 2786_ACEOF 2787exec 5>>config.log 2788{ 2789cat <<_ASUNAME 2790## --------- ## 2791## Platform. ## 2792## --------- ## 2793 2794hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 2795uname -m = `(uname -m) 2>/dev/null || echo unknown` 2796uname -r = `(uname -r) 2>/dev/null || echo unknown` 2797uname -s = `(uname -s) 2>/dev/null || echo unknown` 2798uname -v = `(uname -v) 2>/dev/null || echo unknown` 2799 2800/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 2801/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 2802 2803/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 2804/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 2805/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 2806/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 2807/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 2808/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 2809/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 2810 2811_ASUNAME 2812 2813as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2814for as_dir in $PATH 2815do 2816 IFS=$as_save_IFS 2817 test -z "$as_dir" && as_dir=. 2818 $as_echo "PATH: $as_dir" 2819 done 2820IFS=$as_save_IFS 2821 2822} >&5 2823 2824cat >&5 <<_ACEOF 2825 2826 2827## ----------- ## 2828## Core tests. ## 2829## ----------- ## 2830 2831_ACEOF 2832 2833 2834# Keep a trace of the command line. 2835# Strip out --no-create and --no-recursion so they do not pile up. 2836# Strip out --silent because we don't want to record it for future runs. 2837# Also quote any args containing shell meta-characters. 2838# Make two passes to allow for proper duplicate-argument suppression. 2839ac_configure_args= 2840ac_configure_args0= 2841ac_configure_args1= 2842ac_must_keep_next=false 2843for ac_pass in 1 2 2844do 2845 for ac_arg 2846 do 2847 case $ac_arg in 2848 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2849 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2850 | -silent | --silent | --silen | --sile | --sil) 2851 continue ;; 2852 *\'*) 2853 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2854 esac 2855 case $ac_pass in 2856 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2857 2) 2858 as_fn_append ac_configure_args1 " '$ac_arg'" 2859 if test $ac_must_keep_next = true; then 2860 ac_must_keep_next=false # Got value, back to normal. 2861 else 2862 case $ac_arg in 2863 *=* | --config-cache | -C | -disable-* | --disable-* \ 2864 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2865 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2866 | -with-* | --with-* | -without-* | --without-* | --x) 2867 case "$ac_configure_args0 " in 2868 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2869 esac 2870 ;; 2871 -* ) ac_must_keep_next=true ;; 2872 esac 2873 fi 2874 as_fn_append ac_configure_args " '$ac_arg'" 2875 ;; 2876 esac 2877 done 2878done 2879{ ac_configure_args0=; unset ac_configure_args0;} 2880{ ac_configure_args1=; unset ac_configure_args1;} 2881 2882# When interrupted or exit'd, cleanup temporary files, and complete 2883# config.log. We remove comments because anyway the quotes in there 2884# would cause problems or look ugly. 2885# WARNING: Use '\'' to represent an apostrophe within the trap. 2886# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2887trap 'exit_status=$? 2888 # Save into config.log some information that might help in debugging. 2889 { 2890 echo 2891 2892 $as_echo "## ---------------- ## 2893## Cache variables. ## 2894## ---------------- ##" 2895 echo 2896 # The following way of writing the cache mishandles newlines in values, 2897( 2898 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2899 eval ac_val=\$$ac_var 2900 case $ac_val in #( 2901 *${as_nl}*) 2902 case $ac_var in #( 2903 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2904$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2905 esac 2906 case $ac_var in #( 2907 _ | IFS | as_nl) ;; #( 2908 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2909 *) { eval $ac_var=; unset $ac_var;} ;; 2910 esac ;; 2911 esac 2912 done 2913 (set) 2>&1 | 2914 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2915 *${as_nl}ac_space=\ *) 2916 sed -n \ 2917 "s/'\''/'\''\\\\'\'''\''/g; 2918 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2919 ;; #( 2920 *) 2921 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2922 ;; 2923 esac | 2924 sort 2925) 2926 echo 2927 2928 $as_echo "## ----------------- ## 2929## Output variables. ## 2930## ----------------- ##" 2931 echo 2932 for ac_var in $ac_subst_vars 2933 do 2934 eval ac_val=\$$ac_var 2935 case $ac_val in 2936 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2937 esac 2938 $as_echo "$ac_var='\''$ac_val'\''" 2939 done | sort 2940 echo 2941 2942 if test -n "$ac_subst_files"; then 2943 $as_echo "## ------------------- ## 2944## File substitutions. ## 2945## ------------------- ##" 2946 echo 2947 for ac_var in $ac_subst_files 2948 do 2949 eval ac_val=\$$ac_var 2950 case $ac_val in 2951 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2952 esac 2953 $as_echo "$ac_var='\''$ac_val'\''" 2954 done | sort 2955 echo 2956 fi 2957 2958 if test -s confdefs.h; then 2959 $as_echo "## ----------- ## 2960## confdefs.h. ## 2961## ----------- ##" 2962 echo 2963 cat confdefs.h 2964 echo 2965 fi 2966 test "$ac_signal" != 0 && 2967 $as_echo "$as_me: caught signal $ac_signal" 2968 $as_echo "$as_me: exit $exit_status" 2969 } >&5 2970 rm -f core *.core core.conftest.* && 2971 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2972 exit $exit_status 2973' 0 2974for ac_signal in 1 2 13 15; do 2975 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2976done 2977ac_signal=0 2978 2979# confdefs.h avoids OS command line length limits that DEFS can exceed. 2980rm -f -r conftest* confdefs.h 2981 2982$as_echo "/* confdefs.h */" > confdefs.h 2983 2984# Predefined preprocessor variables. 2985 2986cat >>confdefs.h <<_ACEOF 2987#define PACKAGE_NAME "$PACKAGE_NAME" 2988_ACEOF 2989 2990cat >>confdefs.h <<_ACEOF 2991#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2992_ACEOF 2993 2994cat >>confdefs.h <<_ACEOF 2995#define PACKAGE_VERSION "$PACKAGE_VERSION" 2996_ACEOF 2997 2998cat >>confdefs.h <<_ACEOF 2999#define PACKAGE_STRING "$PACKAGE_STRING" 3000_ACEOF 3001 3002cat >>confdefs.h <<_ACEOF 3003#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 3004_ACEOF 3005 3006cat >>confdefs.h <<_ACEOF 3007#define PACKAGE_URL "$PACKAGE_URL" 3008_ACEOF 3009 3010 3011# Let the site file select an alternate cache file if it wants to. 3012# Prefer an explicitly selected file to automatically selected ones. 3013ac_site_file1=NONE 3014ac_site_file2=NONE 3015if test -n "$CONFIG_SITE"; then 3016 # We do not want a PATH search for config.site. 3017 case $CONFIG_SITE in #(( 3018 -*) ac_site_file1=./$CONFIG_SITE;; 3019 */*) ac_site_file1=$CONFIG_SITE;; 3020 *) ac_site_file1=./$CONFIG_SITE;; 3021 esac 3022elif test "x$prefix" != xNONE; then 3023 ac_site_file1=$prefix/share/config.site 3024 ac_site_file2=$prefix/etc/config.site 3025else 3026 ac_site_file1=$ac_default_prefix/share/config.site 3027 ac_site_file2=$ac_default_prefix/etc/config.site 3028fi 3029for ac_site_file in "$ac_site_file1" "$ac_site_file2" 3030do 3031 test "x$ac_site_file" = xNONE && continue 3032 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 3033 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 3034$as_echo "$as_me: loading site script $ac_site_file" >&6;} 3035 sed 's/^/| /' "$ac_site_file" >&5 3036 . "$ac_site_file" \ 3037 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3038$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3039as_fn_error $? "failed to load site script $ac_site_file 3040See \`config.log' for more details" "$LINENO" 5; } 3041 fi 3042done 3043 3044if test -r "$cache_file"; then 3045 # Some versions of bash will fail to source /dev/null (special files 3046 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 3047 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 3048 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 3049$as_echo "$as_me: loading cache $cache_file" >&6;} 3050 case $cache_file in 3051 [\\/]* | ?:[\\/]* ) . "$cache_file";; 3052 *) . "./$cache_file";; 3053 esac 3054 fi 3055else 3056 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 3057$as_echo "$as_me: creating cache $cache_file" >&6;} 3058 >$cache_file 3059fi 3060 3061gt_needs="$gt_needs " 3062# Check that the precious variables saved in the cache have kept the same 3063# value. 3064ac_cache_corrupted=false 3065for ac_var in $ac_precious_vars; do 3066 eval ac_old_set=\$ac_cv_env_${ac_var}_set 3067 eval ac_new_set=\$ac_env_${ac_var}_set 3068 eval ac_old_val=\$ac_cv_env_${ac_var}_value 3069 eval ac_new_val=\$ac_env_${ac_var}_value 3070 case $ac_old_set,$ac_new_set in 3071 set,) 3072 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 3073$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 3074 ac_cache_corrupted=: ;; 3075 ,set) 3076 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 3077$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 3078 ac_cache_corrupted=: ;; 3079 ,);; 3080 *) 3081 if test "x$ac_old_val" != "x$ac_new_val"; then 3082 # differences in whitespace do not lead to failure. 3083 ac_old_val_w=`echo x $ac_old_val` 3084 ac_new_val_w=`echo x $ac_new_val` 3085 if test "$ac_old_val_w" != "$ac_new_val_w"; then 3086 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 3087$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 3088 ac_cache_corrupted=: 3089 else 3090 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 3091$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 3092 eval $ac_var=\$ac_old_val 3093 fi 3094 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 3095$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 3096 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 3097$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 3098 fi;; 3099 esac 3100 # Pass precious variables to config.status. 3101 if test "$ac_new_set" = set; then 3102 case $ac_new_val in 3103 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 3104 *) ac_arg=$ac_var=$ac_new_val ;; 3105 esac 3106 case " $ac_configure_args " in 3107 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 3108 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 3109 esac 3110 fi 3111done 3112if $ac_cache_corrupted; then 3113 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3114$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3115 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 3116$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 3117 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 3118fi 3119## -------------------- ## 3120## Main body of script. ## 3121## -------------------- ## 3122 3123ac_ext=c 3124ac_cpp='$CPP $CPPFLAGS' 3125ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3126ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3127ac_compiler_gnu=$ac_cv_c_compiler_gnu 3128 3129 3130 3131 3132 3133am__api_version='1.16' 3134 3135ac_aux_dir= 3136for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 3137 if test -f "$ac_dir/install-sh"; then 3138 ac_aux_dir=$ac_dir 3139 ac_install_sh="$ac_aux_dir/install-sh -c" 3140 break 3141 elif test -f "$ac_dir/install.sh"; then 3142 ac_aux_dir=$ac_dir 3143 ac_install_sh="$ac_aux_dir/install.sh -c" 3144 break 3145 elif test -f "$ac_dir/shtool"; then 3146 ac_aux_dir=$ac_dir 3147 ac_install_sh="$ac_aux_dir/shtool install -c" 3148 break 3149 fi 3150done 3151if test -z "$ac_aux_dir"; then 3152 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 3153fi 3154 3155# These three variables are undocumented and unsupported, 3156# and are intended to be withdrawn in a future Autoconf release. 3157# They can cause serious problems if a builder's source tree is in a directory 3158# whose full name contains unusual characters. 3159ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 3160ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 3161ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 3162 3163 3164# Find a good install program. We prefer a C program (faster), 3165# so one script is as good as another. But avoid the broken or 3166# incompatible versions: 3167# SysV /etc/install, /usr/sbin/install 3168# SunOS /usr/etc/install 3169# IRIX /sbin/install 3170# AIX /bin/install 3171# AmigaOS /C/install, which installs bootblocks on floppy discs 3172# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 3173# AFS /usr/afsws/bin/install, which mishandles nonexistent args 3174# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 3175# OS/2's system install, which has a completely different semantic 3176# ./install, which can be erroneously created by make from ./install.sh. 3177# Reject install programs that cannot install multiple files. 3178{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 3179$as_echo_n "checking for a BSD-compatible install... " >&6; } 3180if test -z "$INSTALL"; then 3181if ${ac_cv_path_install+:} false; then : 3182 $as_echo_n "(cached) " >&6 3183else 3184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3185for as_dir in $PATH 3186do 3187 IFS=$as_save_IFS 3188 test -z "$as_dir" && as_dir=. 3189 # Account for people who put trailing slashes in PATH elements. 3190case $as_dir/ in #(( 3191 ./ | .// | /[cC]/* | \ 3192 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 3193 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 3194 /usr/ucb/* ) ;; 3195 *) 3196 # OSF1 and SCO ODT 3.0 have their own names for install. 3197 # Don't use installbsd from OSF since it installs stuff as root 3198 # by default. 3199 for ac_prog in ginstall scoinst install; do 3200 for ac_exec_ext in '' $ac_executable_extensions; do 3201 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 3202 if test $ac_prog = install && 3203 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3204 # AIX install. It has an incompatible calling convention. 3205 : 3206 elif test $ac_prog = install && 3207 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3208 # program-specific install script used by HP pwplus--don't use. 3209 : 3210 else 3211 rm -rf conftest.one conftest.two conftest.dir 3212 echo one > conftest.one 3213 echo two > conftest.two 3214 mkdir conftest.dir 3215 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 3216 test -s conftest.one && test -s conftest.two && 3217 test -s conftest.dir/conftest.one && 3218 test -s conftest.dir/conftest.two 3219 then 3220 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 3221 break 3 3222 fi 3223 fi 3224 fi 3225 done 3226 done 3227 ;; 3228esac 3229 3230 done 3231IFS=$as_save_IFS 3232 3233rm -rf conftest.one conftest.two conftest.dir 3234 3235fi 3236 if test "${ac_cv_path_install+set}" = set; then 3237 INSTALL=$ac_cv_path_install 3238 else 3239 # As a last resort, use the slow shell script. Don't cache a 3240 # value for INSTALL within a source directory, because that will 3241 # break other packages using the cache if that directory is 3242 # removed, or if the value is a relative name. 3243 INSTALL=$ac_install_sh 3244 fi 3245fi 3246{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 3247$as_echo "$INSTALL" >&6; } 3248 3249# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 3250# It thinks the first close brace ends the variable substitution. 3251test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 3252 3253test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 3254 3255test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 3256 3257{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 3258$as_echo_n "checking whether build environment is sane... " >&6; } 3259# Reject unsafe characters in $srcdir or the absolute working directory 3260# name. Accept space and tab only in the latter. 3261am_lf=' 3262' 3263case `pwd` in 3264 *[\\\"\#\$\&\'\`$am_lf]*) 3265 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 3266esac 3267case $srcdir in 3268 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 3269 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 3270esac 3271 3272# Do 'set' in a subshell so we don't clobber the current shell's 3273# arguments. Must try -L first in case configure is actually a 3274# symlink; some systems play weird games with the mod time of symlinks 3275# (eg FreeBSD returns the mod time of the symlink's containing 3276# directory). 3277if ( 3278 am_has_slept=no 3279 for am_try in 1 2; do 3280 echo "timestamp, slept: $am_has_slept" > conftest.file 3281 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 3282 if test "$*" = "X"; then 3283 # -L didn't work. 3284 set X `ls -t "$srcdir/configure" conftest.file` 3285 fi 3286 if test "$*" != "X $srcdir/configure conftest.file" \ 3287 && test "$*" != "X conftest.file $srcdir/configure"; then 3288 3289 # If neither matched, then we have a broken ls. This can happen 3290 # if, for instance, CONFIG_SHELL is bash and it inherits a 3291 # broken ls alias from the environment. This has actually 3292 # happened. Such a system could not be considered "sane". 3293 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 3294 alias in your environment" "$LINENO" 5 3295 fi 3296 if test "$2" = conftest.file || test $am_try -eq 2; then 3297 break 3298 fi 3299 # Just in case. 3300 sleep 1 3301 am_has_slept=yes 3302 done 3303 test "$2" = conftest.file 3304 ) 3305then 3306 # Ok. 3307 : 3308else 3309 as_fn_error $? "newly created file is older than distributed files! 3310Check your system clock" "$LINENO" 5 3311fi 3312{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3313$as_echo "yes" >&6; } 3314# If we didn't sleep, we still need to ensure time stamps of config.status and 3315# generated files are strictly newer. 3316am_sleep_pid= 3317if grep 'slept: no' conftest.file >/dev/null 2>&1; then 3318 ( sleep 1 ) & 3319 am_sleep_pid=$! 3320fi 3321 3322rm -f conftest.file 3323 3324test "$program_prefix" != NONE && 3325 program_transform_name="s&^&$program_prefix&;$program_transform_name" 3326# Use a double $ so make ignores it. 3327test "$program_suffix" != NONE && 3328 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 3329# Double any \ or $. 3330# By default was `s,x,x', remove it if useless. 3331ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 3332program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 3333 3334# Expand $ac_aux_dir to an absolute path. 3335am_aux_dir=`cd "$ac_aux_dir" && pwd` 3336 3337if test x"${MISSING+set}" != xset; then 3338 case $am_aux_dir in 3339 *\ * | *\ *) 3340 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 3341 *) 3342 MISSING="\${SHELL} $am_aux_dir/missing" ;; 3343 esac 3344fi 3345# Use eval to expand $SHELL 3346if eval "$MISSING --is-lightweight"; then 3347 am_missing_run="$MISSING " 3348else 3349 am_missing_run= 3350 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 3351$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 3352fi 3353 3354if test x"${install_sh+set}" != xset; then 3355 case $am_aux_dir in 3356 *\ * | *\ *) 3357 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 3358 *) 3359 install_sh="\${SHELL} $am_aux_dir/install-sh" 3360 esac 3361fi 3362 3363# Installed binaries are usually stripped using 'strip' when the user 3364# run "make install-strip". However 'strip' might not be the right 3365# tool to use in cross-compilation environments, therefore Automake 3366# will honor the 'STRIP' environment variable to overrule this program. 3367if test "$cross_compiling" != no; then 3368 if test -n "$ac_tool_prefix"; then 3369 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 3370set dummy ${ac_tool_prefix}strip; ac_word=$2 3371{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3372$as_echo_n "checking for $ac_word... " >&6; } 3373if ${ac_cv_prog_STRIP+:} false; then : 3374 $as_echo_n "(cached) " >&6 3375else 3376 if test -n "$STRIP"; then 3377 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 3378else 3379as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3380for as_dir in $PATH 3381do 3382 IFS=$as_save_IFS 3383 test -z "$as_dir" && as_dir=. 3384 for ac_exec_ext in '' $ac_executable_extensions; do 3385 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3386 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 3387 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3388 break 2 3389 fi 3390done 3391 done 3392IFS=$as_save_IFS 3393 3394fi 3395fi 3396STRIP=$ac_cv_prog_STRIP 3397if test -n "$STRIP"; then 3398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 3399$as_echo "$STRIP" >&6; } 3400else 3401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3402$as_echo "no" >&6; } 3403fi 3404 3405 3406fi 3407if test -z "$ac_cv_prog_STRIP"; then 3408 ac_ct_STRIP=$STRIP 3409 # Extract the first word of "strip", so it can be a program name with args. 3410set dummy strip; ac_word=$2 3411{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3412$as_echo_n "checking for $ac_word... " >&6; } 3413if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 3414 $as_echo_n "(cached) " >&6 3415else 3416 if test -n "$ac_ct_STRIP"; then 3417 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 3418else 3419as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3420for as_dir in $PATH 3421do 3422 IFS=$as_save_IFS 3423 test -z "$as_dir" && as_dir=. 3424 for ac_exec_ext in '' $ac_executable_extensions; do 3425 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3426 ac_cv_prog_ac_ct_STRIP="strip" 3427 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3428 break 2 3429 fi 3430done 3431 done 3432IFS=$as_save_IFS 3433 3434fi 3435fi 3436ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 3437if test -n "$ac_ct_STRIP"; then 3438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 3439$as_echo "$ac_ct_STRIP" >&6; } 3440else 3441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3442$as_echo "no" >&6; } 3443fi 3444 3445 if test "x$ac_ct_STRIP" = x; then 3446 STRIP=":" 3447 else 3448 case $cross_compiling:$ac_tool_warned in 3449yes:) 3450{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3451$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3452ac_tool_warned=yes ;; 3453esac 3454 STRIP=$ac_ct_STRIP 3455 fi 3456else 3457 STRIP="$ac_cv_prog_STRIP" 3458fi 3459 3460fi 3461INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 3462 3463{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 3464$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 3465if test -z "$MKDIR_P"; then 3466 if ${ac_cv_path_mkdir+:} false; then : 3467 $as_echo_n "(cached) " >&6 3468else 3469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3470for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 3471do 3472 IFS=$as_save_IFS 3473 test -z "$as_dir" && as_dir=. 3474 for ac_prog in mkdir gmkdir; do 3475 for ac_exec_ext in '' $ac_executable_extensions; do 3476 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 3477 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 3478 'mkdir (GNU coreutils) '* | \ 3479 'mkdir (coreutils) '* | \ 3480 'mkdir (fileutils) '4.1*) 3481 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 3482 break 3;; 3483 esac 3484 done 3485 done 3486 done 3487IFS=$as_save_IFS 3488 3489fi 3490 3491 test -d ./--version && rmdir ./--version 3492 if test "${ac_cv_path_mkdir+set}" = set; then 3493 MKDIR_P="$ac_cv_path_mkdir -p" 3494 else 3495 # As a last resort, use the slow shell script. Don't cache a 3496 # value for MKDIR_P within a source directory, because that will 3497 # break other packages using the cache if that directory is 3498 # removed, or if the value is a relative name. 3499 MKDIR_P="$ac_install_sh -d" 3500 fi 3501fi 3502{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 3503$as_echo "$MKDIR_P" >&6; } 3504 3505for ac_prog in gawk mawk nawk awk 3506do 3507 # Extract the first word of "$ac_prog", so it can be a program name with args. 3508set dummy $ac_prog; ac_word=$2 3509{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3510$as_echo_n "checking for $ac_word... " >&6; } 3511if ${ac_cv_prog_AWK+:} false; then : 3512 $as_echo_n "(cached) " >&6 3513else 3514 if test -n "$AWK"; then 3515 ac_cv_prog_AWK="$AWK" # Let the user override the test. 3516else 3517as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3518for as_dir in $PATH 3519do 3520 IFS=$as_save_IFS 3521 test -z "$as_dir" && as_dir=. 3522 for ac_exec_ext in '' $ac_executable_extensions; do 3523 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3524 ac_cv_prog_AWK="$ac_prog" 3525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3526 break 2 3527 fi 3528done 3529 done 3530IFS=$as_save_IFS 3531 3532fi 3533fi 3534AWK=$ac_cv_prog_AWK 3535if test -n "$AWK"; then 3536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 3537$as_echo "$AWK" >&6; } 3538else 3539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3540$as_echo "no" >&6; } 3541fi 3542 3543 3544 test -n "$AWK" && break 3545done 3546 3547{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3548$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 3549set x ${MAKE-make} 3550ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 3551if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 3552 $as_echo_n "(cached) " >&6 3553else 3554 cat >conftest.make <<\_ACEOF 3555SHELL = /bin/sh 3556all: 3557 @echo '@@@%%%=$(MAKE)=@@@%%%' 3558_ACEOF 3559# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 3560case `${MAKE-make} -f conftest.make 2>/dev/null` in 3561 *@@@%%%=?*=@@@%%%*) 3562 eval ac_cv_prog_make_${ac_make}_set=yes;; 3563 *) 3564 eval ac_cv_prog_make_${ac_make}_set=no;; 3565esac 3566rm -f conftest.make 3567fi 3568if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 3569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3570$as_echo "yes" >&6; } 3571 SET_MAKE= 3572else 3573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3574$as_echo "no" >&6; } 3575 SET_MAKE="MAKE=${MAKE-make}" 3576fi 3577 3578rm -rf .tst 2>/dev/null 3579mkdir .tst 2>/dev/null 3580if test -d .tst; then 3581 am__leading_dot=. 3582else 3583 am__leading_dot=_ 3584fi 3585rmdir .tst 2>/dev/null 3586 3587# Check whether --enable-silent-rules was given. 3588if test "${enable_silent_rules+set}" = set; then : 3589 enableval=$enable_silent_rules; 3590fi 3591 3592case $enable_silent_rules in # ((( 3593 yes) AM_DEFAULT_VERBOSITY=0;; 3594 no) AM_DEFAULT_VERBOSITY=1;; 3595 *) AM_DEFAULT_VERBOSITY=1;; 3596esac 3597am_make=${MAKE-make} 3598{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 3599$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 3600if ${am_cv_make_support_nested_variables+:} false; then : 3601 $as_echo_n "(cached) " >&6 3602else 3603 if $as_echo 'TRUE=$(BAR$(V)) 3604BAR0=false 3605BAR1=true 3606V=1 3607am__doit: 3608 @$(TRUE) 3609.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 3610 am_cv_make_support_nested_variables=yes 3611else 3612 am_cv_make_support_nested_variables=no 3613fi 3614fi 3615{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 3616$as_echo "$am_cv_make_support_nested_variables" >&6; } 3617if test $am_cv_make_support_nested_variables = yes; then 3618 AM_V='$(V)' 3619 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 3620else 3621 AM_V=$AM_DEFAULT_VERBOSITY 3622 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 3623fi 3624AM_BACKSLASH='\' 3625 3626if test "`cd $srcdir && pwd`" != "`pwd`"; then 3627 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 3628 # is not polluted with repeated "-I." 3629 am__isrc=' -I$(srcdir)' 3630 # test to see if srcdir already configured 3631 if test -f $srcdir/config.status; then 3632 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 3633 fi 3634fi 3635 3636# test whether we have cygpath 3637if test -z "$CYGPATH_W"; then 3638 if (cygpath --version) >/dev/null 2>/dev/null; then 3639 CYGPATH_W='cygpath -w' 3640 else 3641 CYGPATH_W=echo 3642 fi 3643fi 3644 3645 3646# Define the identity of the package. 3647 PACKAGE='libolecf' 3648 VERSION='20210512' 3649 3650 3651cat >>confdefs.h <<_ACEOF 3652#define PACKAGE "$PACKAGE" 3653_ACEOF 3654 3655 3656cat >>confdefs.h <<_ACEOF 3657#define VERSION "$VERSION" 3658_ACEOF 3659 3660# Some tools Automake needs. 3661 3662ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 3663 3664 3665AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 3666 3667 3668AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 3669 3670 3671AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 3672 3673 3674MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 3675 3676# For better backward compatibility. To be removed once Automake 1.9.x 3677# dies out for good. For more background, see: 3678# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 3679# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 3680mkdir_p='$(MKDIR_P)' 3681 3682# We need awk for the "check" target (and possibly the TAP driver). The 3683# system "awk" is bad on some platforms. 3684# Always define AMTAR for backward compatibility. Yes, it's still used 3685# in the wild :-( We should find a proper way to deprecate it ... 3686AMTAR='$${TAR-tar}' 3687 3688 3689# We'll loop over all known methods to create a tar archive until one works. 3690_am_tools='gnutar plaintar pax cpio none' 3691 3692# The POSIX 1988 'ustar' format is defined with fixed-size fields. 3693 # There is notably a 21 bits limit for the UID and the GID. In fact, 3694 # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343 3695 # and bug#13588). 3696 am_max_uid=2097151 # 2^21 - 1 3697 am_max_gid=$am_max_uid 3698 # The $UID and $GID variables are not portable, so we need to resort 3699 # to the POSIX-mandated id(1) utility. Errors in the 'id' calls 3700 # below are definitely unexpected, so allow the users to see them 3701 # (that is, avoid stderr redirection). 3702 am_uid=`id -u || echo unknown` 3703 am_gid=`id -g || echo unknown` 3704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5 3705$as_echo_n "checking whether UID '$am_uid' is supported by ustar format... " >&6; } 3706 if test $am_uid -le $am_max_uid; then 3707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3708$as_echo "yes" >&6; } 3709 else 3710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3711$as_echo "no" >&6; } 3712 _am_tools=none 3713 fi 3714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5 3715$as_echo_n "checking whether GID '$am_gid' is supported by ustar format... " >&6; } 3716 if test $am_gid -le $am_max_gid; then 3717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3718$as_echo "yes" >&6; } 3719 else 3720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3721$as_echo "no" >&6; } 3722 _am_tools=none 3723 fi 3724 3725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5 3726$as_echo_n "checking how to create a ustar tar archive... " >&6; } 3727 3728 # Go ahead even if we have the value already cached. We do so because we 3729 # need to set the values for the 'am__tar' and 'am__untar' variables. 3730 _am_tools=${am_cv_prog_tar_ustar-$_am_tools} 3731 3732 for _am_tool in $_am_tools; do 3733 case $_am_tool in 3734 gnutar) 3735 for _am_tar in tar gnutar gtar; do 3736 { echo "$as_me:$LINENO: $_am_tar --version" >&5 3737 ($_am_tar --version) >&5 2>&5 3738 ac_status=$? 3739 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3740 (exit $ac_status); } && break 3741 done 3742 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"' 3743 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"' 3744 am__untar="$_am_tar -xf -" 3745 ;; 3746 plaintar) 3747 # Must skip GNU tar: if it does not support --format= it doesn't create 3748 # ustar tarball either. 3749 (tar --version) >/dev/null 2>&1 && continue 3750 am__tar='tar chf - "$$tardir"' 3751 am__tar_='tar chf - "$tardir"' 3752 am__untar='tar xf -' 3753 ;; 3754 pax) 3755 am__tar='pax -L -x ustar -w "$$tardir"' 3756 am__tar_='pax -L -x ustar -w "$tardir"' 3757 am__untar='pax -r' 3758 ;; 3759 cpio) 3760 am__tar='find "$$tardir" -print | cpio -o -H ustar -L' 3761 am__tar_='find "$tardir" -print | cpio -o -H ustar -L' 3762 am__untar='cpio -i -H ustar -d' 3763 ;; 3764 none) 3765 am__tar=false 3766 am__tar_=false 3767 am__untar=false 3768 ;; 3769 esac 3770 3771 # If the value was cached, stop now. We just wanted to have am__tar 3772 # and am__untar set. 3773 test -n "${am_cv_prog_tar_ustar}" && break 3774 3775 # tar/untar a dummy directory, and stop if the command works. 3776 rm -rf conftest.dir 3777 mkdir conftest.dir 3778 echo GrepMe > conftest.dir/file 3779 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5 3780 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5 3781 ac_status=$? 3782 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3783 (exit $ac_status); } 3784 rm -rf conftest.dir 3785 if test -s conftest.tar; then 3786 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5 3787 ($am__untar <conftest.tar) >&5 2>&5 3788 ac_status=$? 3789 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3790 (exit $ac_status); } 3791 { echo "$as_me:$LINENO: cat conftest.dir/file" >&5 3792 (cat conftest.dir/file) >&5 2>&5 3793 ac_status=$? 3794 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3795 (exit $ac_status); } 3796 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break 3797 fi 3798 done 3799 rm -rf conftest.dir 3800 3801 if ${am_cv_prog_tar_ustar+:} false; then : 3802 $as_echo_n "(cached) " >&6 3803else 3804 am_cv_prog_tar_ustar=$_am_tool 3805fi 3806 3807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5 3808$as_echo "$am_cv_prog_tar_ustar" >&6; } 3809 3810 3811 3812 3813 3814 3815# POSIX will say in a future version that running "rm -f" with no argument 3816# is OK; and we want to be able to make that assumption in our Makefile 3817# recipes. So use an aggressive probe to check that the usage we want is 3818# actually supported "in the wild" to an acceptable degree. 3819# See automake bug#10828. 3820# To make any issue more visible, cause the running configure to be aborted 3821# by default if the 'rm' program in use doesn't match our expectations; the 3822# user can still override this though. 3823if rm -f && rm -fr && rm -rf; then : OK; else 3824 cat >&2 <<'END' 3825Oops! 3826 3827Your 'rm' program seems unable to run without file operands specified 3828on the command line, even when the '-f' option is present. This is contrary 3829to the behaviour of most rm programs out there, and not conforming with 3830the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 3831 3832Please tell bug-automake@gnu.org about your system, including the value 3833of your $PATH and any error possibly output before this message. This 3834can help us improve future automake versions. 3835 3836END 3837 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 3838 echo 'Configuration will proceed anyway, since you have set the' >&2 3839 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 3840 echo >&2 3841 else 3842 cat >&2 <<'END' 3843Aborting the configuration process, to ensure you take notice of the issue. 3844 3845You can download and install GNU coreutils to get an 'rm' implementation 3846that behaves properly: <https://www.gnu.org/software/coreutils/>. 3847 3848If you want to complete the configuration process using your problematic 3849'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 3850to "yes", and re-run configure. 3851 3852END 3853 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 3854 fi 3855fi 3856 3857 3858 3859 3860# Make sure we can run config.sub. 3861$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 3862 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 3863 3864{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 3865$as_echo_n "checking build system type... " >&6; } 3866if ${ac_cv_build+:} false; then : 3867 $as_echo_n "(cached) " >&6 3868else 3869 ac_build_alias=$build_alias 3870test "x$ac_build_alias" = x && 3871 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 3872test "x$ac_build_alias" = x && 3873 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 3874ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 3875 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 3876 3877fi 3878{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 3879$as_echo "$ac_cv_build" >&6; } 3880case $ac_cv_build in 3881*-*-*) ;; 3882*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 3883esac 3884build=$ac_cv_build 3885ac_save_IFS=$IFS; IFS='-' 3886set x $ac_cv_build 3887shift 3888build_cpu=$1 3889build_vendor=$2 3890shift; shift 3891# Remember, the first character of IFS is used to create $*, 3892# except with old shells: 3893build_os=$* 3894IFS=$ac_save_IFS 3895case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 3896 3897 3898{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 3899$as_echo_n "checking host system type... " >&6; } 3900if ${ac_cv_host+:} false; then : 3901 $as_echo_n "(cached) " >&6 3902else 3903 if test "x$host_alias" = x; then 3904 ac_cv_host=$ac_cv_build 3905else 3906 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 3907 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 3908fi 3909 3910fi 3911{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 3912$as_echo "$ac_cv_host" >&6; } 3913case $ac_cv_host in 3914*-*-*) ;; 3915*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 3916esac 3917host=$ac_cv_host 3918ac_save_IFS=$IFS; IFS='-' 3919set x $ac_cv_host 3920shift 3921host_cpu=$1 3922host_vendor=$2 3923shift; shift 3924# Remember, the first character of IFS is used to create $*, 3925# except with old shells: 3926host_os=$* 3927IFS=$ac_save_IFS 3928case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 3929 3930 3931 3932enable_win32_dll=yes 3933 3934case $host in 3935*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*) 3936 if test -n "$ac_tool_prefix"; then 3937 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. 3938set dummy ${ac_tool_prefix}as; ac_word=$2 3939{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3940$as_echo_n "checking for $ac_word... " >&6; } 3941if ${ac_cv_prog_AS+:} false; then : 3942 $as_echo_n "(cached) " >&6 3943else 3944 if test -n "$AS"; then 3945 ac_cv_prog_AS="$AS" # Let the user override the test. 3946else 3947as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3948for as_dir in $PATH 3949do 3950 IFS=$as_save_IFS 3951 test -z "$as_dir" && as_dir=. 3952 for ac_exec_ext in '' $ac_executable_extensions; do 3953 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3954 ac_cv_prog_AS="${ac_tool_prefix}as" 3955 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3956 break 2 3957 fi 3958done 3959 done 3960IFS=$as_save_IFS 3961 3962fi 3963fi 3964AS=$ac_cv_prog_AS 3965if test -n "$AS"; then 3966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5 3967$as_echo "$AS" >&6; } 3968else 3969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3970$as_echo "no" >&6; } 3971fi 3972 3973 3974fi 3975if test -z "$ac_cv_prog_AS"; then 3976 ac_ct_AS=$AS 3977 # Extract the first word of "as", so it can be a program name with args. 3978set dummy as; ac_word=$2 3979{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3980$as_echo_n "checking for $ac_word... " >&6; } 3981if ${ac_cv_prog_ac_ct_AS+:} false; then : 3982 $as_echo_n "(cached) " >&6 3983else 3984 if test -n "$ac_ct_AS"; then 3985 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test. 3986else 3987as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3988for as_dir in $PATH 3989do 3990 IFS=$as_save_IFS 3991 test -z "$as_dir" && as_dir=. 3992 for ac_exec_ext in '' $ac_executable_extensions; do 3993 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3994 ac_cv_prog_ac_ct_AS="as" 3995 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3996 break 2 3997 fi 3998done 3999 done 4000IFS=$as_save_IFS 4001 4002fi 4003fi 4004ac_ct_AS=$ac_cv_prog_ac_ct_AS 4005if test -n "$ac_ct_AS"; then 4006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5 4007$as_echo "$ac_ct_AS" >&6; } 4008else 4009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4010$as_echo "no" >&6; } 4011fi 4012 4013 if test "x$ac_ct_AS" = x; then 4014 AS="false" 4015 else 4016 case $cross_compiling:$ac_tool_warned in 4017yes:) 4018{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4019$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4020ac_tool_warned=yes ;; 4021esac 4022 AS=$ac_ct_AS 4023 fi 4024else 4025 AS="$ac_cv_prog_AS" 4026fi 4027 4028 if test -n "$ac_tool_prefix"; then 4029 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 4030set dummy ${ac_tool_prefix}dlltool; ac_word=$2 4031{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4032$as_echo_n "checking for $ac_word... " >&6; } 4033if ${ac_cv_prog_DLLTOOL+:} false; then : 4034 $as_echo_n "(cached) " >&6 4035else 4036 if test -n "$DLLTOOL"; then 4037 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 4038else 4039as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4040for as_dir in $PATH 4041do 4042 IFS=$as_save_IFS 4043 test -z "$as_dir" && as_dir=. 4044 for ac_exec_ext in '' $ac_executable_extensions; do 4045 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4046 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 4047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4048 break 2 4049 fi 4050done 4051 done 4052IFS=$as_save_IFS 4053 4054fi 4055fi 4056DLLTOOL=$ac_cv_prog_DLLTOOL 4057if test -n "$DLLTOOL"; then 4058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 4059$as_echo "$DLLTOOL" >&6; } 4060else 4061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4062$as_echo "no" >&6; } 4063fi 4064 4065 4066fi 4067if test -z "$ac_cv_prog_DLLTOOL"; then 4068 ac_ct_DLLTOOL=$DLLTOOL 4069 # Extract the first word of "dlltool", so it can be a program name with args. 4070set dummy dlltool; ac_word=$2 4071{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4072$as_echo_n "checking for $ac_word... " >&6; } 4073if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 4074 $as_echo_n "(cached) " >&6 4075else 4076 if test -n "$ac_ct_DLLTOOL"; then 4077 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 4078else 4079as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4080for as_dir in $PATH 4081do 4082 IFS=$as_save_IFS 4083 test -z "$as_dir" && as_dir=. 4084 for ac_exec_ext in '' $ac_executable_extensions; do 4085 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4086 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 4087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4088 break 2 4089 fi 4090done 4091 done 4092IFS=$as_save_IFS 4093 4094fi 4095fi 4096ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 4097if test -n "$ac_ct_DLLTOOL"; then 4098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 4099$as_echo "$ac_ct_DLLTOOL" >&6; } 4100else 4101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4102$as_echo "no" >&6; } 4103fi 4104 4105 if test "x$ac_ct_DLLTOOL" = x; then 4106 DLLTOOL="false" 4107 else 4108 case $cross_compiling:$ac_tool_warned in 4109yes:) 4110{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4111$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4112ac_tool_warned=yes ;; 4113esac 4114 DLLTOOL=$ac_ct_DLLTOOL 4115 fi 4116else 4117 DLLTOOL="$ac_cv_prog_DLLTOOL" 4118fi 4119 4120 if test -n "$ac_tool_prefix"; then 4121 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 4122set dummy ${ac_tool_prefix}objdump; ac_word=$2 4123{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4124$as_echo_n "checking for $ac_word... " >&6; } 4125if ${ac_cv_prog_OBJDUMP+:} false; then : 4126 $as_echo_n "(cached) " >&6 4127else 4128 if test -n "$OBJDUMP"; then 4129 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 4130else 4131as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4132for as_dir in $PATH 4133do 4134 IFS=$as_save_IFS 4135 test -z "$as_dir" && as_dir=. 4136 for ac_exec_ext in '' $ac_executable_extensions; do 4137 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4138 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 4139 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4140 break 2 4141 fi 4142done 4143 done 4144IFS=$as_save_IFS 4145 4146fi 4147fi 4148OBJDUMP=$ac_cv_prog_OBJDUMP 4149if test -n "$OBJDUMP"; then 4150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 4151$as_echo "$OBJDUMP" >&6; } 4152else 4153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4154$as_echo "no" >&6; } 4155fi 4156 4157 4158fi 4159if test -z "$ac_cv_prog_OBJDUMP"; then 4160 ac_ct_OBJDUMP=$OBJDUMP 4161 # Extract the first word of "objdump", so it can be a program name with args. 4162set dummy objdump; ac_word=$2 4163{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4164$as_echo_n "checking for $ac_word... " >&6; } 4165if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 4166 $as_echo_n "(cached) " >&6 4167else 4168 if test -n "$ac_ct_OBJDUMP"; then 4169 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 4170else 4171as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4172for as_dir in $PATH 4173do 4174 IFS=$as_save_IFS 4175 test -z "$as_dir" && as_dir=. 4176 for ac_exec_ext in '' $ac_executable_extensions; do 4177 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4178 ac_cv_prog_ac_ct_OBJDUMP="objdump" 4179 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4180 break 2 4181 fi 4182done 4183 done 4184IFS=$as_save_IFS 4185 4186fi 4187fi 4188ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 4189if test -n "$ac_ct_OBJDUMP"; then 4190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 4191$as_echo "$ac_ct_OBJDUMP" >&6; } 4192else 4193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4194$as_echo "no" >&6; } 4195fi 4196 4197 if test "x$ac_ct_OBJDUMP" = x; then 4198 OBJDUMP="false" 4199 else 4200 case $cross_compiling:$ac_tool_warned in 4201yes:) 4202{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4203$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4204ac_tool_warned=yes ;; 4205esac 4206 OBJDUMP=$ac_ct_OBJDUMP 4207 fi 4208else 4209 OBJDUMP="$ac_cv_prog_OBJDUMP" 4210fi 4211 4212 ;; 4213esac 4214 4215test -z "$AS" && AS=as 4216 4217 4218 4219 4220 4221test -z "$DLLTOOL" && DLLTOOL=dlltool 4222 4223 4224 4225 4226 4227test -z "$OBJDUMP" && OBJDUMP=objdump 4228 4229 4230 4231 4232 4233 4234 4235 4236ac_ext=c 4237ac_cpp='$CPP $CPPFLAGS' 4238ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4239ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4240ac_compiler_gnu=$ac_cv_c_compiler_gnu 4241if test -n "$ac_tool_prefix"; then 4242 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 4243set dummy ${ac_tool_prefix}gcc; ac_word=$2 4244{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4245$as_echo_n "checking for $ac_word... " >&6; } 4246if ${ac_cv_prog_CC+:} false; then : 4247 $as_echo_n "(cached) " >&6 4248else 4249 if test -n "$CC"; then 4250 ac_cv_prog_CC="$CC" # Let the user override the test. 4251else 4252as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4253for as_dir in $PATH 4254do 4255 IFS=$as_save_IFS 4256 test -z "$as_dir" && as_dir=. 4257 for ac_exec_ext in '' $ac_executable_extensions; do 4258 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4259 ac_cv_prog_CC="${ac_tool_prefix}gcc" 4260 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4261 break 2 4262 fi 4263done 4264 done 4265IFS=$as_save_IFS 4266 4267fi 4268fi 4269CC=$ac_cv_prog_CC 4270if test -n "$CC"; then 4271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4272$as_echo "$CC" >&6; } 4273else 4274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4275$as_echo "no" >&6; } 4276fi 4277 4278 4279fi 4280if test -z "$ac_cv_prog_CC"; then 4281 ac_ct_CC=$CC 4282 # Extract the first word of "gcc", so it can be a program name with args. 4283set dummy gcc; ac_word=$2 4284{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4285$as_echo_n "checking for $ac_word... " >&6; } 4286if ${ac_cv_prog_ac_ct_CC+:} false; then : 4287 $as_echo_n "(cached) " >&6 4288else 4289 if test -n "$ac_ct_CC"; then 4290 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 4291else 4292as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4293for as_dir in $PATH 4294do 4295 IFS=$as_save_IFS 4296 test -z "$as_dir" && as_dir=. 4297 for ac_exec_ext in '' $ac_executable_extensions; do 4298 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4299 ac_cv_prog_ac_ct_CC="gcc" 4300 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4301 break 2 4302 fi 4303done 4304 done 4305IFS=$as_save_IFS 4306 4307fi 4308fi 4309ac_ct_CC=$ac_cv_prog_ac_ct_CC 4310if test -n "$ac_ct_CC"; then 4311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 4312$as_echo "$ac_ct_CC" >&6; } 4313else 4314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4315$as_echo "no" >&6; } 4316fi 4317 4318 if test "x$ac_ct_CC" = x; then 4319 CC="" 4320 else 4321 case $cross_compiling:$ac_tool_warned in 4322yes:) 4323{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4324$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4325ac_tool_warned=yes ;; 4326esac 4327 CC=$ac_ct_CC 4328 fi 4329else 4330 CC="$ac_cv_prog_CC" 4331fi 4332 4333if test -z "$CC"; then 4334 if test -n "$ac_tool_prefix"; then 4335 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 4336set dummy ${ac_tool_prefix}cc; ac_word=$2 4337{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4338$as_echo_n "checking for $ac_word... " >&6; } 4339if ${ac_cv_prog_CC+:} false; then : 4340 $as_echo_n "(cached) " >&6 4341else 4342 if test -n "$CC"; then 4343 ac_cv_prog_CC="$CC" # Let the user override the test. 4344else 4345as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4346for as_dir in $PATH 4347do 4348 IFS=$as_save_IFS 4349 test -z "$as_dir" && as_dir=. 4350 for ac_exec_ext in '' $ac_executable_extensions; do 4351 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4352 ac_cv_prog_CC="${ac_tool_prefix}cc" 4353 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4354 break 2 4355 fi 4356done 4357 done 4358IFS=$as_save_IFS 4359 4360fi 4361fi 4362CC=$ac_cv_prog_CC 4363if test -n "$CC"; then 4364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4365$as_echo "$CC" >&6; } 4366else 4367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4368$as_echo "no" >&6; } 4369fi 4370 4371 4372 fi 4373fi 4374if test -z "$CC"; then 4375 # Extract the first word of "cc", so it can be a program name with args. 4376set dummy cc; ac_word=$2 4377{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4378$as_echo_n "checking for $ac_word... " >&6; } 4379if ${ac_cv_prog_CC+:} false; then : 4380 $as_echo_n "(cached) " >&6 4381else 4382 if test -n "$CC"; then 4383 ac_cv_prog_CC="$CC" # Let the user override the test. 4384else 4385 ac_prog_rejected=no 4386as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4387for as_dir in $PATH 4388do 4389 IFS=$as_save_IFS 4390 test -z "$as_dir" && as_dir=. 4391 for ac_exec_ext in '' $ac_executable_extensions; do 4392 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4393 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 4394 ac_prog_rejected=yes 4395 continue 4396 fi 4397 ac_cv_prog_CC="cc" 4398 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4399 break 2 4400 fi 4401done 4402 done 4403IFS=$as_save_IFS 4404 4405if test $ac_prog_rejected = yes; then 4406 # We found a bogon in the path, so make sure we never use it. 4407 set dummy $ac_cv_prog_CC 4408 shift 4409 if test $# != 0; then 4410 # We chose a different compiler from the bogus one. 4411 # However, it has the same basename, so the bogon will be chosen 4412 # first if we set CC to just the basename; use the full file name. 4413 shift 4414 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 4415 fi 4416fi 4417fi 4418fi 4419CC=$ac_cv_prog_CC 4420if test -n "$CC"; then 4421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4422$as_echo "$CC" >&6; } 4423else 4424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4425$as_echo "no" >&6; } 4426fi 4427 4428 4429fi 4430if test -z "$CC"; then 4431 if test -n "$ac_tool_prefix"; then 4432 for ac_prog in cl.exe 4433 do 4434 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4435set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4436{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4437$as_echo_n "checking for $ac_word... " >&6; } 4438if ${ac_cv_prog_CC+:} false; then : 4439 $as_echo_n "(cached) " >&6 4440else 4441 if test -n "$CC"; then 4442 ac_cv_prog_CC="$CC" # Let the user override the test. 4443else 4444as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4445for as_dir in $PATH 4446do 4447 IFS=$as_save_IFS 4448 test -z "$as_dir" && as_dir=. 4449 for ac_exec_ext in '' $ac_executable_extensions; do 4450 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4451 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 4452 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4453 break 2 4454 fi 4455done 4456 done 4457IFS=$as_save_IFS 4458 4459fi 4460fi 4461CC=$ac_cv_prog_CC 4462if test -n "$CC"; then 4463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4464$as_echo "$CC" >&6; } 4465else 4466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4467$as_echo "no" >&6; } 4468fi 4469 4470 4471 test -n "$CC" && break 4472 done 4473fi 4474if test -z "$CC"; then 4475 ac_ct_CC=$CC 4476 for ac_prog in cl.exe 4477do 4478 # Extract the first word of "$ac_prog", so it can be a program name with args. 4479set dummy $ac_prog; ac_word=$2 4480{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4481$as_echo_n "checking for $ac_word... " >&6; } 4482if ${ac_cv_prog_ac_ct_CC+:} false; then : 4483 $as_echo_n "(cached) " >&6 4484else 4485 if test -n "$ac_ct_CC"; then 4486 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 4487else 4488as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4489for as_dir in $PATH 4490do 4491 IFS=$as_save_IFS 4492 test -z "$as_dir" && as_dir=. 4493 for ac_exec_ext in '' $ac_executable_extensions; do 4494 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4495 ac_cv_prog_ac_ct_CC="$ac_prog" 4496 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4497 break 2 4498 fi 4499done 4500 done 4501IFS=$as_save_IFS 4502 4503fi 4504fi 4505ac_ct_CC=$ac_cv_prog_ac_ct_CC 4506if test -n "$ac_ct_CC"; then 4507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 4508$as_echo "$ac_ct_CC" >&6; } 4509else 4510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4511$as_echo "no" >&6; } 4512fi 4513 4514 4515 test -n "$ac_ct_CC" && break 4516done 4517 4518 if test "x$ac_ct_CC" = x; then 4519 CC="" 4520 else 4521 case $cross_compiling:$ac_tool_warned in 4522yes:) 4523{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4524$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4525ac_tool_warned=yes ;; 4526esac 4527 CC=$ac_ct_CC 4528 fi 4529fi 4530 4531fi 4532 4533 4534test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4535$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4536as_fn_error $? "no acceptable C compiler found in \$PATH 4537See \`config.log' for more details" "$LINENO" 5; } 4538 4539# Provide some information about the compiler. 4540$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 4541set X $ac_compile 4542ac_compiler=$2 4543for ac_option in --version -v -V -qversion; do 4544 { { ac_try="$ac_compiler $ac_option >&5" 4545case "(($ac_try" in 4546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4547 *) ac_try_echo=$ac_try;; 4548esac 4549eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4550$as_echo "$ac_try_echo"; } >&5 4551 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 4552 ac_status=$? 4553 if test -s conftest.err; then 4554 sed '10a\ 4555... rest of stderr output deleted ... 4556 10q' conftest.err >conftest.er1 4557 cat conftest.er1 >&5 4558 fi 4559 rm -f conftest.er1 conftest.err 4560 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4561 test $ac_status = 0; } 4562done 4563 4564cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4565/* end confdefs.h. */ 4566 4567int 4568main () 4569{ 4570 4571 ; 4572 return 0; 4573} 4574_ACEOF 4575ac_clean_files_save=$ac_clean_files 4576ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 4577# Try to create an executable without -o first, disregard a.out. 4578# It will help us diagnose broken compilers, and finding out an intuition 4579# of exeext. 4580{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 4581$as_echo_n "checking whether the C compiler works... " >&6; } 4582ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 4583 4584# The possible output files: 4585ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 4586 4587ac_rmfiles= 4588for ac_file in $ac_files 4589do 4590 case $ac_file in 4591 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 4592 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 4593 esac 4594done 4595rm -f $ac_rmfiles 4596 4597if { { ac_try="$ac_link_default" 4598case "(($ac_try" in 4599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4600 *) ac_try_echo=$ac_try;; 4601esac 4602eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4603$as_echo "$ac_try_echo"; } >&5 4604 (eval "$ac_link_default") 2>&5 4605 ac_status=$? 4606 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4607 test $ac_status = 0; }; then : 4608 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 4609# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 4610# in a Makefile. We should not override ac_cv_exeext if it was cached, 4611# so that the user can short-circuit this test for compilers unknown to 4612# Autoconf. 4613for ac_file in $ac_files '' 4614do 4615 test -f "$ac_file" || continue 4616 case $ac_file in 4617 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 4618 ;; 4619 [ab].out ) 4620 # We found the default executable, but exeext='' is most 4621 # certainly right. 4622 break;; 4623 *.* ) 4624 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 4625 then :; else 4626 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 4627 fi 4628 # We set ac_cv_exeext here because the later test for it is not 4629 # safe: cross compilers may not add the suffix if given an `-o' 4630 # argument, so we may need to know it at that point already. 4631 # Even if this section looks crufty: it has the advantage of 4632 # actually working. 4633 break;; 4634 * ) 4635 break;; 4636 esac 4637done 4638test "$ac_cv_exeext" = no && ac_cv_exeext= 4639 4640else 4641 ac_file='' 4642fi 4643if test -z "$ac_file"; then : 4644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4645$as_echo "no" >&6; } 4646$as_echo "$as_me: failed program was:" >&5 4647sed 's/^/| /' conftest.$ac_ext >&5 4648 4649{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4650$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4651as_fn_error 77 "C compiler cannot create executables 4652See \`config.log' for more details" "$LINENO" 5; } 4653else 4654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4655$as_echo "yes" >&6; } 4656fi 4657{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 4658$as_echo_n "checking for C compiler default output file name... " >&6; } 4659{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 4660$as_echo "$ac_file" >&6; } 4661ac_exeext=$ac_cv_exeext 4662 4663rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 4664ac_clean_files=$ac_clean_files_save 4665{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 4666$as_echo_n "checking for suffix of executables... " >&6; } 4667if { { ac_try="$ac_link" 4668case "(($ac_try" in 4669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4670 *) ac_try_echo=$ac_try;; 4671esac 4672eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4673$as_echo "$ac_try_echo"; } >&5 4674 (eval "$ac_link") 2>&5 4675 ac_status=$? 4676 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4677 test $ac_status = 0; }; then : 4678 # If both `conftest.exe' and `conftest' are `present' (well, observable) 4679# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 4680# work properly (i.e., refer to `conftest.exe'), while it won't with 4681# `rm'. 4682for ac_file in conftest.exe conftest conftest.*; do 4683 test -f "$ac_file" || continue 4684 case $ac_file in 4685 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 4686 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 4687 break;; 4688 * ) break;; 4689 esac 4690done 4691else 4692 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4693$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4694as_fn_error $? "cannot compute suffix of executables: cannot compile and link 4695See \`config.log' for more details" "$LINENO" 5; } 4696fi 4697rm -f conftest conftest$ac_cv_exeext 4698{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 4699$as_echo "$ac_cv_exeext" >&6; } 4700 4701rm -f conftest.$ac_ext 4702EXEEXT=$ac_cv_exeext 4703ac_exeext=$EXEEXT 4704cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4705/* end confdefs.h. */ 4706#include <stdio.h> 4707int 4708main () 4709{ 4710FILE *f = fopen ("conftest.out", "w"); 4711 return ferror (f) || fclose (f) != 0; 4712 4713 ; 4714 return 0; 4715} 4716_ACEOF 4717ac_clean_files="$ac_clean_files conftest.out" 4718# Check that the compiler produces executables we can run. If not, either 4719# the compiler is broken, or we cross compile. 4720{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 4721$as_echo_n "checking whether we are cross compiling... " >&6; } 4722if test "$cross_compiling" != yes; then 4723 { { ac_try="$ac_link" 4724case "(($ac_try" in 4725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4726 *) ac_try_echo=$ac_try;; 4727esac 4728eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4729$as_echo "$ac_try_echo"; } >&5 4730 (eval "$ac_link") 2>&5 4731 ac_status=$? 4732 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4733 test $ac_status = 0; } 4734 if { ac_try='./conftest$ac_cv_exeext' 4735 { { case "(($ac_try" in 4736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4737 *) ac_try_echo=$ac_try;; 4738esac 4739eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4740$as_echo "$ac_try_echo"; } >&5 4741 (eval "$ac_try") 2>&5 4742 ac_status=$? 4743 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4744 test $ac_status = 0; }; }; then 4745 cross_compiling=no 4746 else 4747 if test "$cross_compiling" = maybe; then 4748 cross_compiling=yes 4749 else 4750 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4751$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4752as_fn_error $? "cannot run C compiled programs. 4753If you meant to cross compile, use \`--host'. 4754See \`config.log' for more details" "$LINENO" 5; } 4755 fi 4756 fi 4757fi 4758{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 4759$as_echo "$cross_compiling" >&6; } 4760 4761rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 4762ac_clean_files=$ac_clean_files_save 4763{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 4764$as_echo_n "checking for suffix of object files... " >&6; } 4765if ${ac_cv_objext+:} false; then : 4766 $as_echo_n "(cached) " >&6 4767else 4768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4769/* end confdefs.h. */ 4770 4771int 4772main () 4773{ 4774 4775 ; 4776 return 0; 4777} 4778_ACEOF 4779rm -f conftest.o conftest.obj 4780if { { ac_try="$ac_compile" 4781case "(($ac_try" in 4782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4783 *) ac_try_echo=$ac_try;; 4784esac 4785eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4786$as_echo "$ac_try_echo"; } >&5 4787 (eval "$ac_compile") 2>&5 4788 ac_status=$? 4789 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4790 test $ac_status = 0; }; then : 4791 for ac_file in conftest.o conftest.obj conftest.*; do 4792 test -f "$ac_file" || continue; 4793 case $ac_file in 4794 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 4795 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 4796 break;; 4797 esac 4798done 4799else 4800 $as_echo "$as_me: failed program was:" >&5 4801sed 's/^/| /' conftest.$ac_ext >&5 4802 4803{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4804$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4805as_fn_error $? "cannot compute suffix of object files: cannot compile 4806See \`config.log' for more details" "$LINENO" 5; } 4807fi 4808rm -f conftest.$ac_cv_objext conftest.$ac_ext 4809fi 4810{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 4811$as_echo "$ac_cv_objext" >&6; } 4812OBJEXT=$ac_cv_objext 4813ac_objext=$OBJEXT 4814{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 4815$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 4816if ${ac_cv_c_compiler_gnu+:} false; then : 4817 $as_echo_n "(cached) " >&6 4818else 4819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4820/* end confdefs.h. */ 4821 4822int 4823main () 4824{ 4825#ifndef __GNUC__ 4826 choke me 4827#endif 4828 4829 ; 4830 return 0; 4831} 4832_ACEOF 4833if ac_fn_c_try_compile "$LINENO"; then : 4834 ac_compiler_gnu=yes 4835else 4836 ac_compiler_gnu=no 4837fi 4838rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4839ac_cv_c_compiler_gnu=$ac_compiler_gnu 4840 4841fi 4842{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 4843$as_echo "$ac_cv_c_compiler_gnu" >&6; } 4844if test $ac_compiler_gnu = yes; then 4845 GCC=yes 4846else 4847 GCC= 4848fi 4849ac_test_CFLAGS=${CFLAGS+set} 4850ac_save_CFLAGS=$CFLAGS 4851{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 4852$as_echo_n "checking whether $CC accepts -g... " >&6; } 4853if ${ac_cv_prog_cc_g+:} false; then : 4854 $as_echo_n "(cached) " >&6 4855else 4856 ac_save_c_werror_flag=$ac_c_werror_flag 4857 ac_c_werror_flag=yes 4858 ac_cv_prog_cc_g=no 4859 CFLAGS="-g" 4860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4861/* end confdefs.h. */ 4862 4863int 4864main () 4865{ 4866 4867 ; 4868 return 0; 4869} 4870_ACEOF 4871if ac_fn_c_try_compile "$LINENO"; then : 4872 ac_cv_prog_cc_g=yes 4873else 4874 CFLAGS="" 4875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4876/* end confdefs.h. */ 4877 4878int 4879main () 4880{ 4881 4882 ; 4883 return 0; 4884} 4885_ACEOF 4886if ac_fn_c_try_compile "$LINENO"; then : 4887 4888else 4889 ac_c_werror_flag=$ac_save_c_werror_flag 4890 CFLAGS="-g" 4891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4892/* end confdefs.h. */ 4893 4894int 4895main () 4896{ 4897 4898 ; 4899 return 0; 4900} 4901_ACEOF 4902if ac_fn_c_try_compile "$LINENO"; then : 4903 ac_cv_prog_cc_g=yes 4904fi 4905rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4906fi 4907rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4908fi 4909rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4910 ac_c_werror_flag=$ac_save_c_werror_flag 4911fi 4912{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 4913$as_echo "$ac_cv_prog_cc_g" >&6; } 4914if test "$ac_test_CFLAGS" = set; then 4915 CFLAGS=$ac_save_CFLAGS 4916elif test $ac_cv_prog_cc_g = yes; then 4917 if test "$GCC" = yes; then 4918 CFLAGS="-g -O2" 4919 else 4920 CFLAGS="-g" 4921 fi 4922else 4923 if test "$GCC" = yes; then 4924 CFLAGS="-O2" 4925 else 4926 CFLAGS= 4927 fi 4928fi 4929{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 4930$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 4931if ${ac_cv_prog_cc_c89+:} false; then : 4932 $as_echo_n "(cached) " >&6 4933else 4934 ac_cv_prog_cc_c89=no 4935ac_save_CC=$CC 4936cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4937/* end confdefs.h. */ 4938#include <stdarg.h> 4939#include <stdio.h> 4940struct stat; 4941/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 4942struct buf { int x; }; 4943FILE * (*rcsopen) (struct buf *, struct stat *, int); 4944static char *e (p, i) 4945 char **p; 4946 int i; 4947{ 4948 return p[i]; 4949} 4950static char *f (char * (*g) (char **, int), char **p, ...) 4951{ 4952 char *s; 4953 va_list v; 4954 va_start (v,p); 4955 s = g (p, va_arg (v,int)); 4956 va_end (v); 4957 return s; 4958} 4959 4960/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 4961 function prototypes and stuff, but not '\xHH' hex character constants. 4962 These don't provoke an error unfortunately, instead are silently treated 4963 as 'x'. The following induces an error, until -std is added to get 4964 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 4965 array size at least. It's necessary to write '\x00'==0 to get something 4966 that's true only with -std. */ 4967int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 4968 4969/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 4970 inside strings and character constants. */ 4971#define FOO(x) 'x' 4972int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 4973 4974int test (int i, double x); 4975struct s1 {int (*f) (int a);}; 4976struct s2 {int (*f) (double a);}; 4977int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 4978int argc; 4979char **argv; 4980int 4981main () 4982{ 4983return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 4984 ; 4985 return 0; 4986} 4987_ACEOF 4988for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 4989 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 4990do 4991 CC="$ac_save_CC $ac_arg" 4992 if ac_fn_c_try_compile "$LINENO"; then : 4993 ac_cv_prog_cc_c89=$ac_arg 4994fi 4995rm -f core conftest.err conftest.$ac_objext 4996 test "x$ac_cv_prog_cc_c89" != "xno" && break 4997done 4998rm -f conftest.$ac_ext 4999CC=$ac_save_CC 5000 5001fi 5002# AC_CACHE_VAL 5003case "x$ac_cv_prog_cc_c89" in 5004 x) 5005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 5006$as_echo "none needed" >&6; } ;; 5007 xno) 5008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 5009$as_echo "unsupported" >&6; } ;; 5010 *) 5011 CC="$CC $ac_cv_prog_cc_c89" 5012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 5013$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 5014esac 5015if test "x$ac_cv_prog_cc_c89" != xno; then : 5016 5017fi 5018 5019ac_ext=c 5020ac_cpp='$CPP $CPPFLAGS' 5021ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5022ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5023ac_compiler_gnu=$ac_cv_c_compiler_gnu 5024 5025ac_ext=c 5026ac_cpp='$CPP $CPPFLAGS' 5027ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5028ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5029ac_compiler_gnu=$ac_cv_c_compiler_gnu 5030{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 5031$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 5032if ${am_cv_prog_cc_c_o+:} false; then : 5033 $as_echo_n "(cached) " >&6 5034else 5035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5036/* end confdefs.h. */ 5037 5038int 5039main () 5040{ 5041 5042 ; 5043 return 0; 5044} 5045_ACEOF 5046 # Make sure it works both with $CC and with simple cc. 5047 # Following AC_PROG_CC_C_O, we do the test twice because some 5048 # compilers refuse to overwrite an existing .o file with -o, 5049 # though they will create one. 5050 am_cv_prog_cc_c_o=yes 5051 for am_i in 1 2; do 5052 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 5053 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 5054 ac_status=$? 5055 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5056 (exit $ac_status); } \ 5057 && test -f conftest2.$ac_objext; then 5058 : OK 5059 else 5060 am_cv_prog_cc_c_o=no 5061 break 5062 fi 5063 done 5064 rm -f core conftest* 5065 unset am_i 5066fi 5067{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 5068$as_echo "$am_cv_prog_cc_c_o" >&6; } 5069if test "$am_cv_prog_cc_c_o" != yes; then 5070 # Losing compiler, so override with the script. 5071 # FIXME: It is wrong to rewrite CC. 5072 # But if we don't then we get into trouble of one sort or another. 5073 # A longer-term fix would be to have automake use am__CC in this case, 5074 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 5075 CC="$am_aux_dir/compile $CC" 5076fi 5077ac_ext=c 5078ac_cpp='$CPP $CPPFLAGS' 5079ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5080ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5081ac_compiler_gnu=$ac_cv_c_compiler_gnu 5082 5083DEPDIR="${am__leading_dot}deps" 5084 5085ac_config_commands="$ac_config_commands depfiles" 5086 5087{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5 5088$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; } 5089cat > confinc.mk << 'END' 5090am__doit: 5091 @echo this is the am__doit target >confinc.out 5092.PHONY: am__doit 5093END 5094am__include="#" 5095am__quote= 5096# BSD make does it like this. 5097echo '.include "confinc.mk" # ignored' > confmf.BSD 5098# Other make implementations (GNU, Solaris 10, AIX) do it like this. 5099echo 'include confinc.mk # ignored' > confmf.GNU 5100_am_result=no 5101for s in GNU BSD; do 5102 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5 5103 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5 5104 ac_status=$? 5105 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5106 (exit $ac_status); } 5107 case $?:`cat confinc.out 2>/dev/null` in #( 5108 '0:this is the am__doit target') : 5109 case $s in #( 5110 BSD) : 5111 am__include='.include' am__quote='"' ;; #( 5112 *) : 5113 am__include='include' am__quote='' ;; 5114esac ;; #( 5115 *) : 5116 ;; 5117esac 5118 if test "$am__include" != "#"; then 5119 _am_result="yes ($s style)" 5120 break 5121 fi 5122done 5123rm -f confinc.* confmf.* 5124{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5 5125$as_echo "${_am_result}" >&6; } 5126 5127# Check whether --enable-dependency-tracking was given. 5128if test "${enable_dependency_tracking+set}" = set; then : 5129 enableval=$enable_dependency_tracking; 5130fi 5131 5132if test "x$enable_dependency_tracking" != xno; then 5133 am_depcomp="$ac_aux_dir/depcomp" 5134 AMDEPBACKSLASH='\' 5135 am__nodep='_no' 5136fi 5137 if test "x$enable_dependency_tracking" != xno; then 5138 AMDEP_TRUE= 5139 AMDEP_FALSE='#' 5140else 5141 AMDEP_TRUE='#' 5142 AMDEP_FALSE= 5143fi 5144 5145 5146 5147depcc="$CC" am_compiler_list= 5148 5149{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 5150$as_echo_n "checking dependency style of $depcc... " >&6; } 5151if ${am_cv_CC_dependencies_compiler_type+:} false; then : 5152 $as_echo_n "(cached) " >&6 5153else 5154 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 5155 # We make a subdir and do the tests there. Otherwise we can end up 5156 # making bogus files that we don't know about and never remove. For 5157 # instance it was reported that on HP-UX the gcc test will end up 5158 # making a dummy file named 'D' -- because '-MD' means "put the output 5159 # in D". 5160 rm -rf conftest.dir 5161 mkdir conftest.dir 5162 # Copy depcomp to subdir because otherwise we won't find it if we're 5163 # using a relative directory. 5164 cp "$am_depcomp" conftest.dir 5165 cd conftest.dir 5166 # We will build objects and dependencies in a subdirectory because 5167 # it helps to detect inapplicable dependency modes. For instance 5168 # both Tru64's cc and ICC support -MD to output dependencies as a 5169 # side effect of compilation, but ICC will put the dependencies in 5170 # the current directory while Tru64 will put them in the object 5171 # directory. 5172 mkdir sub 5173 5174 am_cv_CC_dependencies_compiler_type=none 5175 if test "$am_compiler_list" = ""; then 5176 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 5177 fi 5178 am__universal=false 5179 case " $depcc " in #( 5180 *\ -arch\ *\ -arch\ *) am__universal=true ;; 5181 esac 5182 5183 for depmode in $am_compiler_list; do 5184 # Setup a source with many dependencies, because some compilers 5185 # like to wrap large dependency lists on column 80 (with \), and 5186 # we should not choose a depcomp mode which is confused by this. 5187 # 5188 # We need to recreate these files for each test, as the compiler may 5189 # overwrite some of them when testing with obscure command lines. 5190 # This happens at least with the AIX C compiler. 5191 : > sub/conftest.c 5192 for i in 1 2 3 4 5 6; do 5193 echo '#include "conftst'$i'.h"' >> sub/conftest.c 5194 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 5195 # Solaris 10 /bin/sh. 5196 echo '/* dummy */' > sub/conftst$i.h 5197 done 5198 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 5199 5200 # We check with '-c' and '-o' for the sake of the "dashmstdout" 5201 # mode. It turns out that the SunPro C++ compiler does not properly 5202 # handle '-M -o', and we need to detect this. Also, some Intel 5203 # versions had trouble with output in subdirs. 5204 am__obj=sub/conftest.${OBJEXT-o} 5205 am__minus_obj="-o $am__obj" 5206 case $depmode in 5207 gcc) 5208 # This depmode causes a compiler race in universal mode. 5209 test "$am__universal" = false || continue 5210 ;; 5211 nosideeffect) 5212 # After this tag, mechanisms are not by side-effect, so they'll 5213 # only be used when explicitly requested. 5214 if test "x$enable_dependency_tracking" = xyes; then 5215 continue 5216 else 5217 break 5218 fi 5219 ;; 5220 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 5221 # This compiler won't grok '-c -o', but also, the minuso test has 5222 # not run yet. These depmodes are late enough in the game, and 5223 # so weak that their functioning should not be impacted. 5224 am__obj=conftest.${OBJEXT-o} 5225 am__minus_obj= 5226 ;; 5227 none) break ;; 5228 esac 5229 if depmode=$depmode \ 5230 source=sub/conftest.c object=$am__obj \ 5231 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 5232 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 5233 >/dev/null 2>conftest.err && 5234 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 5235 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 5236 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 5237 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 5238 # icc doesn't choke on unknown options, it will just issue warnings 5239 # or remarks (even with -Werror). So we grep stderr for any message 5240 # that says an option was ignored or not supported. 5241 # When given -MP, icc 7.0 and 7.1 complain thusly: 5242 # icc: Command line warning: ignoring option '-M'; no argument required 5243 # The diagnosis changed in icc 8.0: 5244 # icc: Command line remark: option '-MP' not supported 5245 if (grep 'ignoring option' conftest.err || 5246 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 5247 am_cv_CC_dependencies_compiler_type=$depmode 5248 break 5249 fi 5250 fi 5251 done 5252 5253 cd .. 5254 rm -rf conftest.dir 5255else 5256 am_cv_CC_dependencies_compiler_type=none 5257fi 5258 5259fi 5260{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 5261$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 5262CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 5263 5264 if 5265 test "x$enable_dependency_tracking" != xno \ 5266 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 5267 am__fastdepCC_TRUE= 5268 am__fastdepCC_FALSE='#' 5269else 5270 am__fastdepCC_TRUE='#' 5271 am__fastdepCC_FALSE= 5272fi 5273 5274 5275 5276ac_ext=c 5277ac_cpp='$CPP $CPPFLAGS' 5278ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5279ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5280ac_compiler_gnu=$ac_cv_c_compiler_gnu 5281{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 5282$as_echo_n "checking how to run the C preprocessor... " >&6; } 5283# On Suns, sometimes $CPP names a directory. 5284if test -n "$CPP" && test -d "$CPP"; then 5285 CPP= 5286fi 5287if test -z "$CPP"; then 5288 if ${ac_cv_prog_CPP+:} false; then : 5289 $as_echo_n "(cached) " >&6 5290else 5291 # Double quotes because CPP needs to be expanded 5292 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 5293 do 5294 ac_preproc_ok=false 5295for ac_c_preproc_warn_flag in '' yes 5296do 5297 # Use a header file that comes with gcc, so configuring glibc 5298 # with a fresh cross-compiler works. 5299 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 5300 # <limits.h> exists even on freestanding compilers. 5301 # On the NeXT, cc -E runs the code through the compiler's parser, 5302 # not just through cpp. "Syntax error" is here to catch this case. 5303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5304/* end confdefs.h. */ 5305#ifdef __STDC__ 5306# include <limits.h> 5307#else 5308# include <assert.h> 5309#endif 5310 Syntax error 5311_ACEOF 5312if ac_fn_c_try_cpp "$LINENO"; then : 5313 5314else 5315 # Broken: fails on valid input. 5316continue 5317fi 5318rm -f conftest.err conftest.i conftest.$ac_ext 5319 5320 # OK, works on sane cases. Now check whether nonexistent headers 5321 # can be detected and how. 5322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5323/* end confdefs.h. */ 5324#include <ac_nonexistent.h> 5325_ACEOF 5326if ac_fn_c_try_cpp "$LINENO"; then : 5327 # Broken: success on invalid input. 5328continue 5329else 5330 # Passes both tests. 5331ac_preproc_ok=: 5332break 5333fi 5334rm -f conftest.err conftest.i conftest.$ac_ext 5335 5336done 5337# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 5338rm -f conftest.i conftest.err conftest.$ac_ext 5339if $ac_preproc_ok; then : 5340 break 5341fi 5342 5343 done 5344 ac_cv_prog_CPP=$CPP 5345 5346fi 5347 CPP=$ac_cv_prog_CPP 5348else 5349 ac_cv_prog_CPP=$CPP 5350fi 5351{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 5352$as_echo "$CPP" >&6; } 5353ac_preproc_ok=false 5354for ac_c_preproc_warn_flag in '' yes 5355do 5356 # Use a header file that comes with gcc, so configuring glibc 5357 # with a fresh cross-compiler works. 5358 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 5359 # <limits.h> exists even on freestanding compilers. 5360 # On the NeXT, cc -E runs the code through the compiler's parser, 5361 # not just through cpp. "Syntax error" is here to catch this case. 5362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5363/* end confdefs.h. */ 5364#ifdef __STDC__ 5365# include <limits.h> 5366#else 5367# include <assert.h> 5368#endif 5369 Syntax error 5370_ACEOF 5371if ac_fn_c_try_cpp "$LINENO"; then : 5372 5373else 5374 # Broken: fails on valid input. 5375continue 5376fi 5377rm -f conftest.err conftest.i conftest.$ac_ext 5378 5379 # OK, works on sane cases. Now check whether nonexistent headers 5380 # can be detected and how. 5381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5382/* end confdefs.h. */ 5383#include <ac_nonexistent.h> 5384_ACEOF 5385if ac_fn_c_try_cpp "$LINENO"; then : 5386 # Broken: success on invalid input. 5387continue 5388else 5389 # Passes both tests. 5390ac_preproc_ok=: 5391break 5392fi 5393rm -f conftest.err conftest.i conftest.$ac_ext 5394 5395done 5396# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 5397rm -f conftest.i conftest.err conftest.$ac_ext 5398if $ac_preproc_ok; then : 5399 5400else 5401 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5402$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5403as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 5404See \`config.log' for more details" "$LINENO" 5; } 5405fi 5406 5407ac_ext=c 5408ac_cpp='$CPP $CPPFLAGS' 5409ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5410ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5411ac_compiler_gnu=$ac_cv_c_compiler_gnu 5412 5413 5414{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 5415$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 5416if ${ac_cv_path_GREP+:} false; then : 5417 $as_echo_n "(cached) " >&6 5418else 5419 if test -z "$GREP"; then 5420 ac_path_GREP_found=false 5421 # Loop through the user's path and test for each of PROGNAME-LIST 5422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5423for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5424do 5425 IFS=$as_save_IFS 5426 test -z "$as_dir" && as_dir=. 5427 for ac_prog in grep ggrep; do 5428 for ac_exec_ext in '' $ac_executable_extensions; do 5429 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 5430 as_fn_executable_p "$ac_path_GREP" || continue 5431# Check for GNU ac_path_GREP and select it if it is found. 5432 # Check for GNU $ac_path_GREP 5433case `"$ac_path_GREP" --version 2>&1` in 5434*GNU*) 5435 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 5436*) 5437 ac_count=0 5438 $as_echo_n 0123456789 >"conftest.in" 5439 while : 5440 do 5441 cat "conftest.in" "conftest.in" >"conftest.tmp" 5442 mv "conftest.tmp" "conftest.in" 5443 cp "conftest.in" "conftest.nl" 5444 $as_echo 'GREP' >> "conftest.nl" 5445 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 5446 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5447 as_fn_arith $ac_count + 1 && ac_count=$as_val 5448 if test $ac_count -gt ${ac_path_GREP_max-0}; then 5449 # Best one so far, save it but keep looking for a better one 5450 ac_cv_path_GREP="$ac_path_GREP" 5451 ac_path_GREP_max=$ac_count 5452 fi 5453 # 10*(2^10) chars as input seems more than enough 5454 test $ac_count -gt 10 && break 5455 done 5456 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5457esac 5458 5459 $ac_path_GREP_found && break 3 5460 done 5461 done 5462 done 5463IFS=$as_save_IFS 5464 if test -z "$ac_cv_path_GREP"; then 5465 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5466 fi 5467else 5468 ac_cv_path_GREP=$GREP 5469fi 5470 5471fi 5472{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 5473$as_echo "$ac_cv_path_GREP" >&6; } 5474 GREP="$ac_cv_path_GREP" 5475 5476 5477{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 5478$as_echo_n "checking for egrep... " >&6; } 5479if ${ac_cv_path_EGREP+:} false; then : 5480 $as_echo_n "(cached) " >&6 5481else 5482 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 5483 then ac_cv_path_EGREP="$GREP -E" 5484 else 5485 if test -z "$EGREP"; then 5486 ac_path_EGREP_found=false 5487 # Loop through the user's path and test for each of PROGNAME-LIST 5488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5489for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5490do 5491 IFS=$as_save_IFS 5492 test -z "$as_dir" && as_dir=. 5493 for ac_prog in egrep; do 5494 for ac_exec_ext in '' $ac_executable_extensions; do 5495 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 5496 as_fn_executable_p "$ac_path_EGREP" || continue 5497# Check for GNU ac_path_EGREP and select it if it is found. 5498 # Check for GNU $ac_path_EGREP 5499case `"$ac_path_EGREP" --version 2>&1` in 5500*GNU*) 5501 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 5502*) 5503 ac_count=0 5504 $as_echo_n 0123456789 >"conftest.in" 5505 while : 5506 do 5507 cat "conftest.in" "conftest.in" >"conftest.tmp" 5508 mv "conftest.tmp" "conftest.in" 5509 cp "conftest.in" "conftest.nl" 5510 $as_echo 'EGREP' >> "conftest.nl" 5511 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 5512 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5513 as_fn_arith $ac_count + 1 && ac_count=$as_val 5514 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 5515 # Best one so far, save it but keep looking for a better one 5516 ac_cv_path_EGREP="$ac_path_EGREP" 5517 ac_path_EGREP_max=$ac_count 5518 fi 5519 # 10*(2^10) chars as input seems more than enough 5520 test $ac_count -gt 10 && break 5521 done 5522 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5523esac 5524 5525 $ac_path_EGREP_found && break 3 5526 done 5527 done 5528 done 5529IFS=$as_save_IFS 5530 if test -z "$ac_cv_path_EGREP"; then 5531 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5532 fi 5533else 5534 ac_cv_path_EGREP=$EGREP 5535fi 5536 5537 fi 5538fi 5539{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 5540$as_echo "$ac_cv_path_EGREP" >&6; } 5541 EGREP="$ac_cv_path_EGREP" 5542 5543 5544if test $ac_cv_c_compiler_gnu = yes; then 5545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5 5546$as_echo_n "checking whether $CC needs -traditional... " >&6; } 5547if ${ac_cv_prog_gcc_traditional+:} false; then : 5548 $as_echo_n "(cached) " >&6 5549else 5550 ac_pattern="Autoconf.*'x'" 5551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5552/* end confdefs.h. */ 5553#include <sgtty.h> 5554Autoconf TIOCGETP 5555_ACEOF 5556if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5557 $EGREP "$ac_pattern" >/dev/null 2>&1; then : 5558 ac_cv_prog_gcc_traditional=yes 5559else 5560 ac_cv_prog_gcc_traditional=no 5561fi 5562rm -f conftest* 5563 5564 5565 if test $ac_cv_prog_gcc_traditional = no; then 5566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5567/* end confdefs.h. */ 5568#include <termio.h> 5569Autoconf TCGETA 5570_ACEOF 5571if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5572 $EGREP "$ac_pattern" >/dev/null 2>&1; then : 5573 ac_cv_prog_gcc_traditional=yes 5574fi 5575rm -f conftest* 5576 5577 fi 5578fi 5579{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5 5580$as_echo "$ac_cv_prog_gcc_traditional" >&6; } 5581 if test $ac_cv_prog_gcc_traditional = yes; then 5582 CC="$CC -traditional" 5583 fi 5584fi 5585 5586ac_ext=cpp 5587ac_cpp='$CXXCPP $CPPFLAGS' 5588ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5589ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5590ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 5591if test -z "$CXX"; then 5592 if test -n "$CCC"; then 5593 CXX=$CCC 5594 else 5595 if test -n "$ac_tool_prefix"; then 5596 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 5597 do 5598 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5599set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5600{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5601$as_echo_n "checking for $ac_word... " >&6; } 5602if ${ac_cv_prog_CXX+:} false; then : 5603 $as_echo_n "(cached) " >&6 5604else 5605 if test -n "$CXX"; then 5606 ac_cv_prog_CXX="$CXX" # Let the user override the test. 5607else 5608as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5609for as_dir in $PATH 5610do 5611 IFS=$as_save_IFS 5612 test -z "$as_dir" && as_dir=. 5613 for ac_exec_ext in '' $ac_executable_extensions; do 5614 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5615 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 5616 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5617 break 2 5618 fi 5619done 5620 done 5621IFS=$as_save_IFS 5622 5623fi 5624fi 5625CXX=$ac_cv_prog_CXX 5626if test -n "$CXX"; then 5627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 5628$as_echo "$CXX" >&6; } 5629else 5630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5631$as_echo "no" >&6; } 5632fi 5633 5634 5635 test -n "$CXX" && break 5636 done 5637fi 5638if test -z "$CXX"; then 5639 ac_ct_CXX=$CXX 5640 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 5641do 5642 # Extract the first word of "$ac_prog", so it can be a program name with args. 5643set dummy $ac_prog; ac_word=$2 5644{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5645$as_echo_n "checking for $ac_word... " >&6; } 5646if ${ac_cv_prog_ac_ct_CXX+:} false; then : 5647 $as_echo_n "(cached) " >&6 5648else 5649 if test -n "$ac_ct_CXX"; then 5650 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 5651else 5652as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5653for as_dir in $PATH 5654do 5655 IFS=$as_save_IFS 5656 test -z "$as_dir" && as_dir=. 5657 for ac_exec_ext in '' $ac_executable_extensions; do 5658 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5659 ac_cv_prog_ac_ct_CXX="$ac_prog" 5660 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5661 break 2 5662 fi 5663done 5664 done 5665IFS=$as_save_IFS 5666 5667fi 5668fi 5669ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 5670if test -n "$ac_ct_CXX"; then 5671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 5672$as_echo "$ac_ct_CXX" >&6; } 5673else 5674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5675$as_echo "no" >&6; } 5676fi 5677 5678 5679 test -n "$ac_ct_CXX" && break 5680done 5681 5682 if test "x$ac_ct_CXX" = x; then 5683 CXX="g++" 5684 else 5685 case $cross_compiling:$ac_tool_warned in 5686yes:) 5687{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5688$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5689ac_tool_warned=yes ;; 5690esac 5691 CXX=$ac_ct_CXX 5692 fi 5693fi 5694 5695 fi 5696fi 5697# Provide some information about the compiler. 5698$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 5699set X $ac_compile 5700ac_compiler=$2 5701for ac_option in --version -v -V -qversion; do 5702 { { ac_try="$ac_compiler $ac_option >&5" 5703case "(($ac_try" in 5704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5705 *) ac_try_echo=$ac_try;; 5706esac 5707eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 5708$as_echo "$ac_try_echo"; } >&5 5709 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 5710 ac_status=$? 5711 if test -s conftest.err; then 5712 sed '10a\ 5713... rest of stderr output deleted ... 5714 10q' conftest.err >conftest.er1 5715 cat conftest.er1 >&5 5716 fi 5717 rm -f conftest.er1 conftest.err 5718 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5719 test $ac_status = 0; } 5720done 5721 5722{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 5723$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 5724if ${ac_cv_cxx_compiler_gnu+:} false; then : 5725 $as_echo_n "(cached) " >&6 5726else 5727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5728/* end confdefs.h. */ 5729 5730int 5731main () 5732{ 5733#ifndef __GNUC__ 5734 choke me 5735#endif 5736 5737 ; 5738 return 0; 5739} 5740_ACEOF 5741if ac_fn_cxx_try_compile "$LINENO"; then : 5742 ac_compiler_gnu=yes 5743else 5744 ac_compiler_gnu=no 5745fi 5746rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5747ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 5748 5749fi 5750{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 5751$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 5752if test $ac_compiler_gnu = yes; then 5753 GXX=yes 5754else 5755 GXX= 5756fi 5757ac_test_CXXFLAGS=${CXXFLAGS+set} 5758ac_save_CXXFLAGS=$CXXFLAGS 5759{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 5760$as_echo_n "checking whether $CXX accepts -g... " >&6; } 5761if ${ac_cv_prog_cxx_g+:} false; then : 5762 $as_echo_n "(cached) " >&6 5763else 5764 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 5765 ac_cxx_werror_flag=yes 5766 ac_cv_prog_cxx_g=no 5767 CXXFLAGS="-g" 5768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5769/* end confdefs.h. */ 5770 5771int 5772main () 5773{ 5774 5775 ; 5776 return 0; 5777} 5778_ACEOF 5779if ac_fn_cxx_try_compile "$LINENO"; then : 5780 ac_cv_prog_cxx_g=yes 5781else 5782 CXXFLAGS="" 5783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5784/* end confdefs.h. */ 5785 5786int 5787main () 5788{ 5789 5790 ; 5791 return 0; 5792} 5793_ACEOF 5794if ac_fn_cxx_try_compile "$LINENO"; then : 5795 5796else 5797 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 5798 CXXFLAGS="-g" 5799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5800/* end confdefs.h. */ 5801 5802int 5803main () 5804{ 5805 5806 ; 5807 return 0; 5808} 5809_ACEOF 5810if ac_fn_cxx_try_compile "$LINENO"; then : 5811 ac_cv_prog_cxx_g=yes 5812fi 5813rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5814fi 5815rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5816fi 5817rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5818 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 5819fi 5820{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 5821$as_echo "$ac_cv_prog_cxx_g" >&6; } 5822if test "$ac_test_CXXFLAGS" = set; then 5823 CXXFLAGS=$ac_save_CXXFLAGS 5824elif test $ac_cv_prog_cxx_g = yes; then 5825 if test "$GXX" = yes; then 5826 CXXFLAGS="-g -O2" 5827 else 5828 CXXFLAGS="-g" 5829 fi 5830else 5831 if test "$GXX" = yes; then 5832 CXXFLAGS="-O2" 5833 else 5834 CXXFLAGS= 5835 fi 5836fi 5837ac_ext=c 5838ac_cpp='$CPP $CPPFLAGS' 5839ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5840ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5841ac_compiler_gnu=$ac_cv_c_compiler_gnu 5842 5843depcc="$CXX" am_compiler_list= 5844 5845{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 5846$as_echo_n "checking dependency style of $depcc... " >&6; } 5847if ${am_cv_CXX_dependencies_compiler_type+:} false; then : 5848 $as_echo_n "(cached) " >&6 5849else 5850 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 5851 # We make a subdir and do the tests there. Otherwise we can end up 5852 # making bogus files that we don't know about and never remove. For 5853 # instance it was reported that on HP-UX the gcc test will end up 5854 # making a dummy file named 'D' -- because '-MD' means "put the output 5855 # in D". 5856 rm -rf conftest.dir 5857 mkdir conftest.dir 5858 # Copy depcomp to subdir because otherwise we won't find it if we're 5859 # using a relative directory. 5860 cp "$am_depcomp" conftest.dir 5861 cd conftest.dir 5862 # We will build objects and dependencies in a subdirectory because 5863 # it helps to detect inapplicable dependency modes. For instance 5864 # both Tru64's cc and ICC support -MD to output dependencies as a 5865 # side effect of compilation, but ICC will put the dependencies in 5866 # the current directory while Tru64 will put them in the object 5867 # directory. 5868 mkdir sub 5869 5870 am_cv_CXX_dependencies_compiler_type=none 5871 if test "$am_compiler_list" = ""; then 5872 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 5873 fi 5874 am__universal=false 5875 case " $depcc " in #( 5876 *\ -arch\ *\ -arch\ *) am__universal=true ;; 5877 esac 5878 5879 for depmode in $am_compiler_list; do 5880 # Setup a source with many dependencies, because some compilers 5881 # like to wrap large dependency lists on column 80 (with \), and 5882 # we should not choose a depcomp mode which is confused by this. 5883 # 5884 # We need to recreate these files for each test, as the compiler may 5885 # overwrite some of them when testing with obscure command lines. 5886 # This happens at least with the AIX C compiler. 5887 : > sub/conftest.c 5888 for i in 1 2 3 4 5 6; do 5889 echo '#include "conftst'$i'.h"' >> sub/conftest.c 5890 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 5891 # Solaris 10 /bin/sh. 5892 echo '/* dummy */' > sub/conftst$i.h 5893 done 5894 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 5895 5896 # We check with '-c' and '-o' for the sake of the "dashmstdout" 5897 # mode. It turns out that the SunPro C++ compiler does not properly 5898 # handle '-M -o', and we need to detect this. Also, some Intel 5899 # versions had trouble with output in subdirs. 5900 am__obj=sub/conftest.${OBJEXT-o} 5901 am__minus_obj="-o $am__obj" 5902 case $depmode in 5903 gcc) 5904 # This depmode causes a compiler race in universal mode. 5905 test "$am__universal" = false || continue 5906 ;; 5907 nosideeffect) 5908 # After this tag, mechanisms are not by side-effect, so they'll 5909 # only be used when explicitly requested. 5910 if test "x$enable_dependency_tracking" = xyes; then 5911 continue 5912 else 5913 break 5914 fi 5915 ;; 5916 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 5917 # This compiler won't grok '-c -o', but also, the minuso test has 5918 # not run yet. These depmodes are late enough in the game, and 5919 # so weak that their functioning should not be impacted. 5920 am__obj=conftest.${OBJEXT-o} 5921 am__minus_obj= 5922 ;; 5923 none) break ;; 5924 esac 5925 if depmode=$depmode \ 5926 source=sub/conftest.c object=$am__obj \ 5927 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 5928 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 5929 >/dev/null 2>conftest.err && 5930 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 5931 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 5932 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 5933 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 5934 # icc doesn't choke on unknown options, it will just issue warnings 5935 # or remarks (even with -Werror). So we grep stderr for any message 5936 # that says an option was ignored or not supported. 5937 # When given -MP, icc 7.0 and 7.1 complain thusly: 5938 # icc: Command line warning: ignoring option '-M'; no argument required 5939 # The diagnosis changed in icc 8.0: 5940 # icc: Command line remark: option '-MP' not supported 5941 if (grep 'ignoring option' conftest.err || 5942 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 5943 am_cv_CXX_dependencies_compiler_type=$depmode 5944 break 5945 fi 5946 fi 5947 done 5948 5949 cd .. 5950 rm -rf conftest.dir 5951else 5952 am_cv_CXX_dependencies_compiler_type=none 5953fi 5954 5955fi 5956{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 5957$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } 5958CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type 5959 5960 if 5961 test "x$enable_dependency_tracking" != xno \ 5962 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then 5963 am__fastdepCXX_TRUE= 5964 am__fastdepCXX_FALSE='#' 5965else 5966 am__fastdepCXX_TRUE='#' 5967 am__fastdepCXX_FALSE= 5968fi 5969 5970 5971{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 5972$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 5973set x ${MAKE-make} 5974ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 5975if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 5976 $as_echo_n "(cached) " >&6 5977else 5978 cat >conftest.make <<\_ACEOF 5979SHELL = /bin/sh 5980all: 5981 @echo '@@@%%%=$(MAKE)=@@@%%%' 5982_ACEOF 5983# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 5984case `${MAKE-make} -f conftest.make 2>/dev/null` in 5985 *@@@%%%=?*=@@@%%%*) 5986 eval ac_cv_prog_make_${ac_make}_set=yes;; 5987 *) 5988 eval ac_cv_prog_make_${ac_make}_set=no;; 5989esac 5990rm -f conftest.make 5991fi 5992if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 5993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5994$as_echo "yes" >&6; } 5995 SET_MAKE= 5996else 5997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5998$as_echo "no" >&6; } 5999 SET_MAKE="MAKE=${MAKE-make}" 6000fi 6001 6002 6003 6004case `pwd` in 6005 *\ * | *\ *) 6006 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 6007$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 6008esac 6009 6010 6011 6012macro_version='2.4.6' 6013macro_revision='2.4.6' 6014 6015 6016 6017 6018 6019 6020 6021 6022 6023 6024 6025 6026 6027ltmain=$ac_aux_dir/ltmain.sh 6028 6029# Backslashify metacharacters that are still active within 6030# double-quoted strings. 6031sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 6032 6033# Same as above, but do not quote variable references. 6034double_quote_subst='s/\(["`\\]\)/\\\1/g' 6035 6036# Sed substitution to delay expansion of an escaped shell variable in a 6037# double_quote_subst'ed string. 6038delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 6039 6040# Sed substitution to delay expansion of an escaped single quote. 6041delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 6042 6043# Sed substitution to avoid accidental globbing in evaled expressions 6044no_glob_subst='s/\*/\\\*/g' 6045 6046ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 6047ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 6048ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 6049 6050{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 6051$as_echo_n "checking how to print strings... " >&6; } 6052# Test print first, because it will be a builtin if present. 6053if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 6054 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 6055 ECHO='print -r --' 6056elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 6057 ECHO='printf %s\n' 6058else 6059 # Use this function as a fallback that always works. 6060 func_fallback_echo () 6061 { 6062 eval 'cat <<_LTECHO_EOF 6063$1 6064_LTECHO_EOF' 6065 } 6066 ECHO='func_fallback_echo' 6067fi 6068 6069# func_echo_all arg... 6070# Invoke $ECHO with all args, space-separated. 6071func_echo_all () 6072{ 6073 $ECHO "" 6074} 6075 6076case $ECHO in 6077 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 6078$as_echo "printf" >&6; } ;; 6079 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 6080$as_echo "print -r" >&6; } ;; 6081 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 6082$as_echo "cat" >&6; } ;; 6083esac 6084 6085 6086 6087 6088 6089 6090 6091 6092 6093 6094 6095 6096 6097 6098{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 6099$as_echo_n "checking for a sed that does not truncate output... " >&6; } 6100if ${ac_cv_path_SED+:} false; then : 6101 $as_echo_n "(cached) " >&6 6102else 6103 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 6104 for ac_i in 1 2 3 4 5 6 7; do 6105 ac_script="$ac_script$as_nl$ac_script" 6106 done 6107 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 6108 { ac_script=; unset ac_script;} 6109 if test -z "$SED"; then 6110 ac_path_SED_found=false 6111 # Loop through the user's path and test for each of PROGNAME-LIST 6112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6113for as_dir in $PATH 6114do 6115 IFS=$as_save_IFS 6116 test -z "$as_dir" && as_dir=. 6117 for ac_prog in sed gsed; do 6118 for ac_exec_ext in '' $ac_executable_extensions; do 6119 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 6120 as_fn_executable_p "$ac_path_SED" || continue 6121# Check for GNU ac_path_SED and select it if it is found. 6122 # Check for GNU $ac_path_SED 6123case `"$ac_path_SED" --version 2>&1` in 6124*GNU*) 6125 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 6126*) 6127 ac_count=0 6128 $as_echo_n 0123456789 >"conftest.in" 6129 while : 6130 do 6131 cat "conftest.in" "conftest.in" >"conftest.tmp" 6132 mv "conftest.tmp" "conftest.in" 6133 cp "conftest.in" "conftest.nl" 6134 $as_echo '' >> "conftest.nl" 6135 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 6136 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 6137 as_fn_arith $ac_count + 1 && ac_count=$as_val 6138 if test $ac_count -gt ${ac_path_SED_max-0}; then 6139 # Best one so far, save it but keep looking for a better one 6140 ac_cv_path_SED="$ac_path_SED" 6141 ac_path_SED_max=$ac_count 6142 fi 6143 # 10*(2^10) chars as input seems more than enough 6144 test $ac_count -gt 10 && break 6145 done 6146 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 6147esac 6148 6149 $ac_path_SED_found && break 3 6150 done 6151 done 6152 done 6153IFS=$as_save_IFS 6154 if test -z "$ac_cv_path_SED"; then 6155 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 6156 fi 6157else 6158 ac_cv_path_SED=$SED 6159fi 6160 6161fi 6162{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 6163$as_echo "$ac_cv_path_SED" >&6; } 6164 SED="$ac_cv_path_SED" 6165 rm -f conftest.sed 6166 6167test -z "$SED" && SED=sed 6168Xsed="$SED -e 1s/^X//" 6169 6170 6171 6172 6173 6174 6175 6176 6177 6178 6179 6180{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 6181$as_echo_n "checking for fgrep... " >&6; } 6182if ${ac_cv_path_FGREP+:} false; then : 6183 $as_echo_n "(cached) " >&6 6184else 6185 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 6186 then ac_cv_path_FGREP="$GREP -F" 6187 else 6188 if test -z "$FGREP"; then 6189 ac_path_FGREP_found=false 6190 # Loop through the user's path and test for each of PROGNAME-LIST 6191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6192for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 6193do 6194 IFS=$as_save_IFS 6195 test -z "$as_dir" && as_dir=. 6196 for ac_prog in fgrep; do 6197 for ac_exec_ext in '' $ac_executable_extensions; do 6198 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 6199 as_fn_executable_p "$ac_path_FGREP" || continue 6200# Check for GNU ac_path_FGREP and select it if it is found. 6201 # Check for GNU $ac_path_FGREP 6202case `"$ac_path_FGREP" --version 2>&1` in 6203*GNU*) 6204 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 6205*) 6206 ac_count=0 6207 $as_echo_n 0123456789 >"conftest.in" 6208 while : 6209 do 6210 cat "conftest.in" "conftest.in" >"conftest.tmp" 6211 mv "conftest.tmp" "conftest.in" 6212 cp "conftest.in" "conftest.nl" 6213 $as_echo 'FGREP' >> "conftest.nl" 6214 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 6215 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 6216 as_fn_arith $ac_count + 1 && ac_count=$as_val 6217 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 6218 # Best one so far, save it but keep looking for a better one 6219 ac_cv_path_FGREP="$ac_path_FGREP" 6220 ac_path_FGREP_max=$ac_count 6221 fi 6222 # 10*(2^10) chars as input seems more than enough 6223 test $ac_count -gt 10 && break 6224 done 6225 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 6226esac 6227 6228 $ac_path_FGREP_found && break 3 6229 done 6230 done 6231 done 6232IFS=$as_save_IFS 6233 if test -z "$ac_cv_path_FGREP"; then 6234 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 6235 fi 6236else 6237 ac_cv_path_FGREP=$FGREP 6238fi 6239 6240 fi 6241fi 6242{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 6243$as_echo "$ac_cv_path_FGREP" >&6; } 6244 FGREP="$ac_cv_path_FGREP" 6245 6246 6247test -z "$GREP" && GREP=grep 6248 6249 6250 6251 6252 6253 6254 6255 6256 6257 6258 6259 6260 6261 6262 6263 6264 6265 6266 6267# Check whether --with-gnu-ld was given. 6268if test "${with_gnu_ld+set}" = set; then : 6269 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes 6270else 6271 with_gnu_ld=no 6272fi 6273 6274ac_prog=ld 6275if test yes = "$GCC"; then 6276 # Check if gcc -print-prog-name=ld gives a path. 6277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 6278$as_echo_n "checking for ld used by $CC... " >&6; } 6279 case $host in 6280 *-*-mingw*) 6281 # gcc leaves a trailing carriage return, which upsets mingw 6282 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 6283 *) 6284 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 6285 esac 6286 case $ac_prog in 6287 # Accept absolute paths. 6288 [\\/]* | ?:[\\/]*) 6289 re_direlt='/[^/][^/]*/\.\./' 6290 # Canonicalize the pathname of ld 6291 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 6292 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 6293 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 6294 done 6295 test -z "$LD" && LD=$ac_prog 6296 ;; 6297 "") 6298 # If it fails, then pretend we aren't using GCC. 6299 ac_prog=ld 6300 ;; 6301 *) 6302 # If it is relative, then search for the first ld in PATH. 6303 with_gnu_ld=unknown 6304 ;; 6305 esac 6306elif test yes = "$with_gnu_ld"; then 6307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 6308$as_echo_n "checking for GNU ld... " >&6; } 6309else 6310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 6311$as_echo_n "checking for non-GNU ld... " >&6; } 6312fi 6313if ${lt_cv_path_LD+:} false; then : 6314 $as_echo_n "(cached) " >&6 6315else 6316 if test -z "$LD"; then 6317 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 6318 for ac_dir in $PATH; do 6319 IFS=$lt_save_ifs 6320 test -z "$ac_dir" && ac_dir=. 6321 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 6322 lt_cv_path_LD=$ac_dir/$ac_prog 6323 # Check to see if the program is GNU ld. I'd rather use --version, 6324 # but apparently some variants of GNU ld only accept -v. 6325 # Break only if it was the GNU/non-GNU ld that we prefer. 6326 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 6327 *GNU* | *'with BFD'*) 6328 test no != "$with_gnu_ld" && break 6329 ;; 6330 *) 6331 test yes != "$with_gnu_ld" && break 6332 ;; 6333 esac 6334 fi 6335 done 6336 IFS=$lt_save_ifs 6337else 6338 lt_cv_path_LD=$LD # Let the user override the test with a path. 6339fi 6340fi 6341 6342LD=$lt_cv_path_LD 6343if test -n "$LD"; then 6344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 6345$as_echo "$LD" >&6; } 6346else 6347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6348$as_echo "no" >&6; } 6349fi 6350test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 6351{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 6352$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 6353if ${lt_cv_prog_gnu_ld+:} false; then : 6354 $as_echo_n "(cached) " >&6 6355else 6356 # I'd rather use --version here, but apparently some GNU lds only accept -v. 6357case `$LD -v 2>&1 </dev/null` in 6358*GNU* | *'with BFD'*) 6359 lt_cv_prog_gnu_ld=yes 6360 ;; 6361*) 6362 lt_cv_prog_gnu_ld=no 6363 ;; 6364esac 6365fi 6366{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 6367$as_echo "$lt_cv_prog_gnu_ld" >&6; } 6368with_gnu_ld=$lt_cv_prog_gnu_ld 6369 6370 6371 6372 6373 6374 6375 6376 6377 6378{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 6379$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 6380if ${lt_cv_path_NM+:} false; then : 6381 $as_echo_n "(cached) " >&6 6382else 6383 if test -n "$NM"; then 6384 # Let the user override the test. 6385 lt_cv_path_NM=$NM 6386else 6387 lt_nm_to_check=${ac_tool_prefix}nm 6388 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 6389 lt_nm_to_check="$lt_nm_to_check nm" 6390 fi 6391 for lt_tmp_nm in $lt_nm_to_check; do 6392 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 6393 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 6394 IFS=$lt_save_ifs 6395 test -z "$ac_dir" && ac_dir=. 6396 tmp_nm=$ac_dir/$lt_tmp_nm 6397 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then 6398 # Check to see if the nm accepts a BSD-compat flag. 6399 # Adding the 'sed 1q' prevents false positives on HP-UX, which says: 6400 # nm: unknown option "B" ignored 6401 # Tru64's nm complains that /dev/null is an invalid object file 6402 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty 6403 case $build_os in 6404 mingw*) lt_bad_file=conftest.nm/nofile ;; 6405 *) lt_bad_file=/dev/null ;; 6406 esac 6407 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in 6408 *$lt_bad_file* | *'Invalid file or object type'*) 6409 lt_cv_path_NM="$tmp_nm -B" 6410 break 2 6411 ;; 6412 *) 6413 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 6414 */dev/null*) 6415 lt_cv_path_NM="$tmp_nm -p" 6416 break 2 6417 ;; 6418 *) 6419 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 6420 continue # so that we can try to find one that supports BSD flags 6421 ;; 6422 esac 6423 ;; 6424 esac 6425 fi 6426 done 6427 IFS=$lt_save_ifs 6428 done 6429 : ${lt_cv_path_NM=no} 6430fi 6431fi 6432{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 6433$as_echo "$lt_cv_path_NM" >&6; } 6434if test no != "$lt_cv_path_NM"; then 6435 NM=$lt_cv_path_NM 6436else 6437 # Didn't find any BSD compatible name lister, look for dumpbin. 6438 if test -n "$DUMPBIN"; then : 6439 # Let the user override the test. 6440 else 6441 if test -n "$ac_tool_prefix"; then 6442 for ac_prog in dumpbin "link -dump" 6443 do 6444 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 6445set dummy $ac_tool_prefix$ac_prog; ac_word=$2 6446{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6447$as_echo_n "checking for $ac_word... " >&6; } 6448if ${ac_cv_prog_DUMPBIN+:} false; then : 6449 $as_echo_n "(cached) " >&6 6450else 6451 if test -n "$DUMPBIN"; then 6452 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 6453else 6454as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6455for as_dir in $PATH 6456do 6457 IFS=$as_save_IFS 6458 test -z "$as_dir" && as_dir=. 6459 for ac_exec_ext in '' $ac_executable_extensions; do 6460 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6461 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 6462 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6463 break 2 6464 fi 6465done 6466 done 6467IFS=$as_save_IFS 6468 6469fi 6470fi 6471DUMPBIN=$ac_cv_prog_DUMPBIN 6472if test -n "$DUMPBIN"; then 6473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 6474$as_echo "$DUMPBIN" >&6; } 6475else 6476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6477$as_echo "no" >&6; } 6478fi 6479 6480 6481 test -n "$DUMPBIN" && break 6482 done 6483fi 6484if test -z "$DUMPBIN"; then 6485 ac_ct_DUMPBIN=$DUMPBIN 6486 for ac_prog in dumpbin "link -dump" 6487do 6488 # Extract the first word of "$ac_prog", so it can be a program name with args. 6489set dummy $ac_prog; ac_word=$2 6490{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6491$as_echo_n "checking for $ac_word... " >&6; } 6492if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 6493 $as_echo_n "(cached) " >&6 6494else 6495 if test -n "$ac_ct_DUMPBIN"; then 6496 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 6497else 6498as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6499for as_dir in $PATH 6500do 6501 IFS=$as_save_IFS 6502 test -z "$as_dir" && as_dir=. 6503 for ac_exec_ext in '' $ac_executable_extensions; do 6504 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6505 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 6506 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6507 break 2 6508 fi 6509done 6510 done 6511IFS=$as_save_IFS 6512 6513fi 6514fi 6515ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 6516if test -n "$ac_ct_DUMPBIN"; then 6517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 6518$as_echo "$ac_ct_DUMPBIN" >&6; } 6519else 6520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6521$as_echo "no" >&6; } 6522fi 6523 6524 6525 test -n "$ac_ct_DUMPBIN" && break 6526done 6527 6528 if test "x$ac_ct_DUMPBIN" = x; then 6529 DUMPBIN=":" 6530 else 6531 case $cross_compiling:$ac_tool_warned in 6532yes:) 6533{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6534$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6535ac_tool_warned=yes ;; 6536esac 6537 DUMPBIN=$ac_ct_DUMPBIN 6538 fi 6539fi 6540 6541 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in 6542 *COFF*) 6543 DUMPBIN="$DUMPBIN -symbols -headers" 6544 ;; 6545 *) 6546 DUMPBIN=: 6547 ;; 6548 esac 6549 fi 6550 6551 if test : != "$DUMPBIN"; then 6552 NM=$DUMPBIN 6553 fi 6554fi 6555test -z "$NM" && NM=nm 6556 6557 6558 6559 6560 6561 6562{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 6563$as_echo_n "checking the name lister ($NM) interface... " >&6; } 6564if ${lt_cv_nm_interface+:} false; then : 6565 $as_echo_n "(cached) " >&6 6566else 6567 lt_cv_nm_interface="BSD nm" 6568 echo "int some_variable = 0;" > conftest.$ac_ext 6569 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 6570 (eval "$ac_compile" 2>conftest.err) 6571 cat conftest.err >&5 6572 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 6573 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 6574 cat conftest.err >&5 6575 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 6576 cat conftest.out >&5 6577 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 6578 lt_cv_nm_interface="MS dumpbin" 6579 fi 6580 rm -f conftest* 6581fi 6582{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 6583$as_echo "$lt_cv_nm_interface" >&6; } 6584 6585{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 6586$as_echo_n "checking whether ln -s works... " >&6; } 6587LN_S=$as_ln_s 6588if test "$LN_S" = "ln -s"; then 6589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6590$as_echo "yes" >&6; } 6591else 6592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 6593$as_echo "no, using $LN_S" >&6; } 6594fi 6595 6596# find the maximum length of command line arguments 6597{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 6598$as_echo_n "checking the maximum length of command line arguments... " >&6; } 6599if ${lt_cv_sys_max_cmd_len+:} false; then : 6600 $as_echo_n "(cached) " >&6 6601else 6602 i=0 6603 teststring=ABCD 6604 6605 case $build_os in 6606 msdosdjgpp*) 6607 # On DJGPP, this test can blow up pretty badly due to problems in libc 6608 # (any single argument exceeding 2000 bytes causes a buffer overrun 6609 # during glob expansion). Even if it were fixed, the result of this 6610 # check would be larger than it should be. 6611 lt_cv_sys_max_cmd_len=12288; # 12K is about right 6612 ;; 6613 6614 gnu*) 6615 # Under GNU Hurd, this test is not required because there is 6616 # no limit to the length of command line arguments. 6617 # Libtool will interpret -1 as no limit whatsoever 6618 lt_cv_sys_max_cmd_len=-1; 6619 ;; 6620 6621 cygwin* | mingw* | cegcc*) 6622 # On Win9x/ME, this test blows up -- it succeeds, but takes 6623 # about 5 minutes as the teststring grows exponentially. 6624 # Worse, since 9x/ME are not pre-emptively multitasking, 6625 # you end up with a "frozen" computer, even though with patience 6626 # the test eventually succeeds (with a max line length of 256k). 6627 # Instead, let's just punt: use the minimum linelength reported by 6628 # all of the supported platforms: 8192 (on NT/2K/XP). 6629 lt_cv_sys_max_cmd_len=8192; 6630 ;; 6631 6632 mint*) 6633 # On MiNT this can take a long time and run out of memory. 6634 lt_cv_sys_max_cmd_len=8192; 6635 ;; 6636 6637 amigaos*) 6638 # On AmigaOS with pdksh, this test takes hours, literally. 6639 # So we just punt and use a minimum line length of 8192. 6640 lt_cv_sys_max_cmd_len=8192; 6641 ;; 6642 6643 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*) 6644 # This has been around since 386BSD, at least. Likely further. 6645 if test -x /sbin/sysctl; then 6646 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 6647 elif test -x /usr/sbin/sysctl; then 6648 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 6649 else 6650 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 6651 fi 6652 # And add a safety zone 6653 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 6654 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 6655 ;; 6656 6657 interix*) 6658 # We know the value 262144 and hardcode it with a safety zone (like BSD) 6659 lt_cv_sys_max_cmd_len=196608 6660 ;; 6661 6662 os2*) 6663 # The test takes a long time on OS/2. 6664 lt_cv_sys_max_cmd_len=8192 6665 ;; 6666 6667 osf*) 6668 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 6669 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 6670 # nice to cause kernel panics so lets avoid the loop below. 6671 # First set a reasonable default. 6672 lt_cv_sys_max_cmd_len=16384 6673 # 6674 if test -x /sbin/sysconfig; then 6675 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 6676 *1*) lt_cv_sys_max_cmd_len=-1 ;; 6677 esac 6678 fi 6679 ;; 6680 sco3.2v5*) 6681 lt_cv_sys_max_cmd_len=102400 6682 ;; 6683 sysv5* | sco5v6* | sysv4.2uw2*) 6684 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 6685 if test -n "$kargmax"; then 6686 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 6687 else 6688 lt_cv_sys_max_cmd_len=32768 6689 fi 6690 ;; 6691 *) 6692 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 6693 if test -n "$lt_cv_sys_max_cmd_len" && \ 6694 test undefined != "$lt_cv_sys_max_cmd_len"; then 6695 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 6696 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 6697 else 6698 # Make teststring a little bigger before we do anything with it. 6699 # a 1K string should be a reasonable start. 6700 for i in 1 2 3 4 5 6 7 8; do 6701 teststring=$teststring$teststring 6702 done 6703 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 6704 # If test is not a shell built-in, we'll probably end up computing a 6705 # maximum length that is only half of the actual maximum length, but 6706 # we can't tell. 6707 while { test X`env echo "$teststring$teststring" 2>/dev/null` \ 6708 = "X$teststring$teststring"; } >/dev/null 2>&1 && 6709 test 17 != "$i" # 1/2 MB should be enough 6710 do 6711 i=`expr $i + 1` 6712 teststring=$teststring$teststring 6713 done 6714 # Only check the string length outside the loop. 6715 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 6716 teststring= 6717 # Add a significant safety factor because C++ compilers can tack on 6718 # massive amounts of additional arguments before passing them to the 6719 # linker. It appears as though 1/2 is a usable value. 6720 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 6721 fi 6722 ;; 6723 esac 6724 6725fi 6726 6727if test -n "$lt_cv_sys_max_cmd_len"; then 6728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 6729$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 6730else 6731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 6732$as_echo "none" >&6; } 6733fi 6734max_cmd_len=$lt_cv_sys_max_cmd_len 6735 6736 6737 6738 6739 6740 6741: ${CP="cp -f"} 6742: ${MV="mv -f"} 6743: ${RM="rm -f"} 6744 6745if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 6746 lt_unset=unset 6747else 6748 lt_unset=false 6749fi 6750 6751 6752 6753 6754 6755# test EBCDIC or ASCII 6756case `echo X|tr X '\101'` in 6757 A) # ASCII based system 6758 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 6759 lt_SP2NL='tr \040 \012' 6760 lt_NL2SP='tr \015\012 \040\040' 6761 ;; 6762 *) # EBCDIC based system 6763 lt_SP2NL='tr \100 \n' 6764 lt_NL2SP='tr \r\n \100\100' 6765 ;; 6766esac 6767 6768 6769 6770 6771 6772 6773 6774 6775 6776{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 6777$as_echo_n "checking how to convert $build file names to $host format... " >&6; } 6778if ${lt_cv_to_host_file_cmd+:} false; then : 6779 $as_echo_n "(cached) " >&6 6780else 6781 case $host in 6782 *-*-mingw* ) 6783 case $build in 6784 *-*-mingw* ) # actually msys 6785 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 6786 ;; 6787 *-*-cygwin* ) 6788 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 6789 ;; 6790 * ) # otherwise, assume *nix 6791 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 6792 ;; 6793 esac 6794 ;; 6795 *-*-cygwin* ) 6796 case $build in 6797 *-*-mingw* ) # actually msys 6798 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 6799 ;; 6800 *-*-cygwin* ) 6801 lt_cv_to_host_file_cmd=func_convert_file_noop 6802 ;; 6803 * ) # otherwise, assume *nix 6804 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 6805 ;; 6806 esac 6807 ;; 6808 * ) # unhandled hosts (and "normal" native builds) 6809 lt_cv_to_host_file_cmd=func_convert_file_noop 6810 ;; 6811esac 6812 6813fi 6814 6815to_host_file_cmd=$lt_cv_to_host_file_cmd 6816{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 6817$as_echo "$lt_cv_to_host_file_cmd" >&6; } 6818 6819 6820 6821 6822 6823{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 6824$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 6825if ${lt_cv_to_tool_file_cmd+:} false; then : 6826 $as_echo_n "(cached) " >&6 6827else 6828 #assume ordinary cross tools, or native build. 6829lt_cv_to_tool_file_cmd=func_convert_file_noop 6830case $host in 6831 *-*-mingw* ) 6832 case $build in 6833 *-*-mingw* ) # actually msys 6834 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 6835 ;; 6836 esac 6837 ;; 6838esac 6839 6840fi 6841 6842to_tool_file_cmd=$lt_cv_to_tool_file_cmd 6843{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 6844$as_echo "$lt_cv_to_tool_file_cmd" >&6; } 6845 6846 6847 6848 6849 6850{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 6851$as_echo_n "checking for $LD option to reload object files... " >&6; } 6852if ${lt_cv_ld_reload_flag+:} false; then : 6853 $as_echo_n "(cached) " >&6 6854else 6855 lt_cv_ld_reload_flag='-r' 6856fi 6857{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 6858$as_echo "$lt_cv_ld_reload_flag" >&6; } 6859reload_flag=$lt_cv_ld_reload_flag 6860case $reload_flag in 6861"" | " "*) ;; 6862*) reload_flag=" $reload_flag" ;; 6863esac 6864reload_cmds='$LD$reload_flag -o $output$reload_objs' 6865case $host_os in 6866 cygwin* | mingw* | pw32* | cegcc*) 6867 if test yes != "$GCC"; then 6868 reload_cmds=false 6869 fi 6870 ;; 6871 darwin*) 6872 if test yes = "$GCC"; then 6873 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs' 6874 else 6875 reload_cmds='$LD$reload_flag -o $output$reload_objs' 6876 fi 6877 ;; 6878esac 6879 6880 6881 6882 6883 6884 6885 6886 6887 6888if test -n "$ac_tool_prefix"; then 6889 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 6890set dummy ${ac_tool_prefix}objdump; ac_word=$2 6891{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6892$as_echo_n "checking for $ac_word... " >&6; } 6893if ${ac_cv_prog_OBJDUMP+:} false; then : 6894 $as_echo_n "(cached) " >&6 6895else 6896 if test -n "$OBJDUMP"; then 6897 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 6898else 6899as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6900for as_dir in $PATH 6901do 6902 IFS=$as_save_IFS 6903 test -z "$as_dir" && as_dir=. 6904 for ac_exec_ext in '' $ac_executable_extensions; do 6905 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6906 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 6907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6908 break 2 6909 fi 6910done 6911 done 6912IFS=$as_save_IFS 6913 6914fi 6915fi 6916OBJDUMP=$ac_cv_prog_OBJDUMP 6917if test -n "$OBJDUMP"; then 6918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 6919$as_echo "$OBJDUMP" >&6; } 6920else 6921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6922$as_echo "no" >&6; } 6923fi 6924 6925 6926fi 6927if test -z "$ac_cv_prog_OBJDUMP"; then 6928 ac_ct_OBJDUMP=$OBJDUMP 6929 # Extract the first word of "objdump", so it can be a program name with args. 6930set dummy objdump; ac_word=$2 6931{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6932$as_echo_n "checking for $ac_word... " >&6; } 6933if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 6934 $as_echo_n "(cached) " >&6 6935else 6936 if test -n "$ac_ct_OBJDUMP"; then 6937 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 6938else 6939as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6940for as_dir in $PATH 6941do 6942 IFS=$as_save_IFS 6943 test -z "$as_dir" && as_dir=. 6944 for ac_exec_ext in '' $ac_executable_extensions; do 6945 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6946 ac_cv_prog_ac_ct_OBJDUMP="objdump" 6947 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6948 break 2 6949 fi 6950done 6951 done 6952IFS=$as_save_IFS 6953 6954fi 6955fi 6956ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 6957if test -n "$ac_ct_OBJDUMP"; then 6958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 6959$as_echo "$ac_ct_OBJDUMP" >&6; } 6960else 6961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6962$as_echo "no" >&6; } 6963fi 6964 6965 if test "x$ac_ct_OBJDUMP" = x; then 6966 OBJDUMP="false" 6967 else 6968 case $cross_compiling:$ac_tool_warned in 6969yes:) 6970{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6971$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6972ac_tool_warned=yes ;; 6973esac 6974 OBJDUMP=$ac_ct_OBJDUMP 6975 fi 6976else 6977 OBJDUMP="$ac_cv_prog_OBJDUMP" 6978fi 6979 6980test -z "$OBJDUMP" && OBJDUMP=objdump 6981 6982 6983 6984 6985 6986 6987{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 6988$as_echo_n "checking how to recognize dependent libraries... " >&6; } 6989if ${lt_cv_deplibs_check_method+:} false; then : 6990 $as_echo_n "(cached) " >&6 6991else 6992 lt_cv_file_magic_cmd='$MAGIC_CMD' 6993lt_cv_file_magic_test_file= 6994lt_cv_deplibs_check_method='unknown' 6995# Need to set the preceding variable on all platforms that support 6996# interlibrary dependencies. 6997# 'none' -- dependencies not supported. 6998# 'unknown' -- same as none, but documents that we really don't know. 6999# 'pass_all' -- all dependencies passed with no checks. 7000# 'test_compile' -- check by making test program. 7001# 'file_magic [[regex]]' -- check by looking for files in library path 7002# that responds to the $file_magic_cmd with a given extended regex. 7003# If you have 'file' or equivalent on your system and you're not sure 7004# whether 'pass_all' will *always* work, you probably want this one. 7005 7006case $host_os in 7007aix[4-9]*) 7008 lt_cv_deplibs_check_method=pass_all 7009 ;; 7010 7011beos*) 7012 lt_cv_deplibs_check_method=pass_all 7013 ;; 7014 7015bsdi[45]*) 7016 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 7017 lt_cv_file_magic_cmd='/usr/bin/file -L' 7018 lt_cv_file_magic_test_file=/shlib/libc.so 7019 ;; 7020 7021cygwin*) 7022 # func_win32_libid is a shell function defined in ltmain.sh 7023 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 7024 lt_cv_file_magic_cmd='func_win32_libid' 7025 ;; 7026 7027mingw* | pw32*) 7028 # Base MSYS/MinGW do not provide the 'file' command needed by 7029 # func_win32_libid shell function, so use a weaker test based on 'objdump', 7030 # unless we find 'file', for example because we are cross-compiling. 7031 if ( file / ) >/dev/null 2>&1; then 7032 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 7033 lt_cv_file_magic_cmd='func_win32_libid' 7034 else 7035 # Keep this pattern in sync with the one in func_win32_libid. 7036 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 7037 lt_cv_file_magic_cmd='$OBJDUMP -f' 7038 fi 7039 ;; 7040 7041cegcc*) 7042 # use the weaker test based on 'objdump'. See mingw*. 7043 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 7044 lt_cv_file_magic_cmd='$OBJDUMP -f' 7045 ;; 7046 7047darwin* | rhapsody*) 7048 lt_cv_deplibs_check_method=pass_all 7049 ;; 7050 7051freebsd* | dragonfly*) 7052 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 7053 case $host_cpu in 7054 i*86 ) 7055 # Not sure whether the presence of OpenBSD here was a mistake. 7056 # Let's accept both of them until this is cleared up. 7057 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 7058 lt_cv_file_magic_cmd=/usr/bin/file 7059 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 7060 ;; 7061 esac 7062 else 7063 lt_cv_deplibs_check_method=pass_all 7064 fi 7065 ;; 7066 7067haiku*) 7068 lt_cv_deplibs_check_method=pass_all 7069 ;; 7070 7071hpux10.20* | hpux11*) 7072 lt_cv_file_magic_cmd=/usr/bin/file 7073 case $host_cpu in 7074 ia64*) 7075 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 7076 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 7077 ;; 7078 hppa*64*) 7079 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]' 7080 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 7081 ;; 7082 *) 7083 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 7084 lt_cv_file_magic_test_file=/usr/lib/libc.sl 7085 ;; 7086 esac 7087 ;; 7088 7089interix[3-9]*) 7090 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 7091 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 7092 ;; 7093 7094irix5* | irix6* | nonstopux*) 7095 case $LD in 7096 *-32|*"-32 ") libmagic=32-bit;; 7097 *-n32|*"-n32 ") libmagic=N32;; 7098 *-64|*"-64 ") libmagic=64-bit;; 7099 *) libmagic=never-match;; 7100 esac 7101 lt_cv_deplibs_check_method=pass_all 7102 ;; 7103 7104# This must be glibc/ELF. 7105linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 7106 lt_cv_deplibs_check_method=pass_all 7107 ;; 7108 7109netbsd*) 7110 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 7111 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 7112 else 7113 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 7114 fi 7115 ;; 7116 7117newos6*) 7118 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 7119 lt_cv_file_magic_cmd=/usr/bin/file 7120 lt_cv_file_magic_test_file=/usr/lib/libnls.so 7121 ;; 7122 7123*nto* | *qnx*) 7124 lt_cv_deplibs_check_method=pass_all 7125 ;; 7126 7127openbsd* | bitrig*) 7128 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 7129 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 7130 else 7131 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 7132 fi 7133 ;; 7134 7135osf3* | osf4* | osf5*) 7136 lt_cv_deplibs_check_method=pass_all 7137 ;; 7138 7139rdos*) 7140 lt_cv_deplibs_check_method=pass_all 7141 ;; 7142 7143solaris*) 7144 lt_cv_deplibs_check_method=pass_all 7145 ;; 7146 7147sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 7148 lt_cv_deplibs_check_method=pass_all 7149 ;; 7150 7151sysv4 | sysv4.3*) 7152 case $host_vendor in 7153 motorola) 7154 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]' 7155 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 7156 ;; 7157 ncr) 7158 lt_cv_deplibs_check_method=pass_all 7159 ;; 7160 sequent) 7161 lt_cv_file_magic_cmd='/bin/file' 7162 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 7163 ;; 7164 sni) 7165 lt_cv_file_magic_cmd='/bin/file' 7166 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 7167 lt_cv_file_magic_test_file=/lib/libc.so 7168 ;; 7169 siemens) 7170 lt_cv_deplibs_check_method=pass_all 7171 ;; 7172 pc) 7173 lt_cv_deplibs_check_method=pass_all 7174 ;; 7175 esac 7176 ;; 7177 7178tpf*) 7179 lt_cv_deplibs_check_method=pass_all 7180 ;; 7181os2*) 7182 lt_cv_deplibs_check_method=pass_all 7183 ;; 7184esac 7185 7186fi 7187{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 7188$as_echo "$lt_cv_deplibs_check_method" >&6; } 7189 7190file_magic_glob= 7191want_nocaseglob=no 7192if test "$build" = "$host"; then 7193 case $host_os in 7194 mingw* | pw32*) 7195 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then 7196 want_nocaseglob=yes 7197 else 7198 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` 7199 fi 7200 ;; 7201 esac 7202fi 7203 7204file_magic_cmd=$lt_cv_file_magic_cmd 7205deplibs_check_method=$lt_cv_deplibs_check_method 7206test -z "$deplibs_check_method" && deplibs_check_method=unknown 7207 7208 7209 7210 7211 7212 7213 7214 7215 7216 7217 7218 7219 7220 7221 7222 7223 7224 7225 7226 7227 7228 7229if test -n "$ac_tool_prefix"; then 7230 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 7231set dummy ${ac_tool_prefix}dlltool; ac_word=$2 7232{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7233$as_echo_n "checking for $ac_word... " >&6; } 7234if ${ac_cv_prog_DLLTOOL+:} false; then : 7235 $as_echo_n "(cached) " >&6 7236else 7237 if test -n "$DLLTOOL"; then 7238 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 7239else 7240as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7241for as_dir in $PATH 7242do 7243 IFS=$as_save_IFS 7244 test -z "$as_dir" && as_dir=. 7245 for ac_exec_ext in '' $ac_executable_extensions; do 7246 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7247 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 7248 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7249 break 2 7250 fi 7251done 7252 done 7253IFS=$as_save_IFS 7254 7255fi 7256fi 7257DLLTOOL=$ac_cv_prog_DLLTOOL 7258if test -n "$DLLTOOL"; then 7259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 7260$as_echo "$DLLTOOL" >&6; } 7261else 7262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7263$as_echo "no" >&6; } 7264fi 7265 7266 7267fi 7268if test -z "$ac_cv_prog_DLLTOOL"; then 7269 ac_ct_DLLTOOL=$DLLTOOL 7270 # Extract the first word of "dlltool", so it can be a program name with args. 7271set dummy dlltool; ac_word=$2 7272{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7273$as_echo_n "checking for $ac_word... " >&6; } 7274if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 7275 $as_echo_n "(cached) " >&6 7276else 7277 if test -n "$ac_ct_DLLTOOL"; then 7278 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 7279else 7280as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7281for as_dir in $PATH 7282do 7283 IFS=$as_save_IFS 7284 test -z "$as_dir" && as_dir=. 7285 for ac_exec_ext in '' $ac_executable_extensions; do 7286 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7287 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 7288 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7289 break 2 7290 fi 7291done 7292 done 7293IFS=$as_save_IFS 7294 7295fi 7296fi 7297ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 7298if test -n "$ac_ct_DLLTOOL"; then 7299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 7300$as_echo "$ac_ct_DLLTOOL" >&6; } 7301else 7302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7303$as_echo "no" >&6; } 7304fi 7305 7306 if test "x$ac_ct_DLLTOOL" = x; then 7307 DLLTOOL="false" 7308 else 7309 case $cross_compiling:$ac_tool_warned in 7310yes:) 7311{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7312$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7313ac_tool_warned=yes ;; 7314esac 7315 DLLTOOL=$ac_ct_DLLTOOL 7316 fi 7317else 7318 DLLTOOL="$ac_cv_prog_DLLTOOL" 7319fi 7320 7321test -z "$DLLTOOL" && DLLTOOL=dlltool 7322 7323 7324 7325 7326 7327 7328 7329{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 7330$as_echo_n "checking how to associate runtime and link libraries... " >&6; } 7331if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 7332 $as_echo_n "(cached) " >&6 7333else 7334 lt_cv_sharedlib_from_linklib_cmd='unknown' 7335 7336case $host_os in 7337cygwin* | mingw* | pw32* | cegcc*) 7338 # two different shell functions defined in ltmain.sh; 7339 # decide which one to use based on capabilities of $DLLTOOL 7340 case `$DLLTOOL --help 2>&1` in 7341 *--identify-strict*) 7342 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 7343 ;; 7344 *) 7345 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 7346 ;; 7347 esac 7348 ;; 7349*) 7350 # fallback: assume linklib IS sharedlib 7351 lt_cv_sharedlib_from_linklib_cmd=$ECHO 7352 ;; 7353esac 7354 7355fi 7356{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 7357$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 7358sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 7359test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 7360 7361 7362 7363 7364 7365 7366 7367if test -n "$ac_tool_prefix"; then 7368 for ac_prog in ar 7369 do 7370 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 7371set dummy $ac_tool_prefix$ac_prog; ac_word=$2 7372{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7373$as_echo_n "checking for $ac_word... " >&6; } 7374if ${ac_cv_prog_AR+:} false; then : 7375 $as_echo_n "(cached) " >&6 7376else 7377 if test -n "$AR"; then 7378 ac_cv_prog_AR="$AR" # Let the user override the test. 7379else 7380as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7381for as_dir in $PATH 7382do 7383 IFS=$as_save_IFS 7384 test -z "$as_dir" && as_dir=. 7385 for ac_exec_ext in '' $ac_executable_extensions; do 7386 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7387 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 7388 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7389 break 2 7390 fi 7391done 7392 done 7393IFS=$as_save_IFS 7394 7395fi 7396fi 7397AR=$ac_cv_prog_AR 7398if test -n "$AR"; then 7399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 7400$as_echo "$AR" >&6; } 7401else 7402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7403$as_echo "no" >&6; } 7404fi 7405 7406 7407 test -n "$AR" && break 7408 done 7409fi 7410if test -z "$AR"; then 7411 ac_ct_AR=$AR 7412 for ac_prog in ar 7413do 7414 # Extract the first word of "$ac_prog", so it can be a program name with args. 7415set dummy $ac_prog; ac_word=$2 7416{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7417$as_echo_n "checking for $ac_word... " >&6; } 7418if ${ac_cv_prog_ac_ct_AR+:} false; then : 7419 $as_echo_n "(cached) " >&6 7420else 7421 if test -n "$ac_ct_AR"; then 7422 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 7423else 7424as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7425for as_dir in $PATH 7426do 7427 IFS=$as_save_IFS 7428 test -z "$as_dir" && as_dir=. 7429 for ac_exec_ext in '' $ac_executable_extensions; do 7430 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7431 ac_cv_prog_ac_ct_AR="$ac_prog" 7432 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7433 break 2 7434 fi 7435done 7436 done 7437IFS=$as_save_IFS 7438 7439fi 7440fi 7441ac_ct_AR=$ac_cv_prog_ac_ct_AR 7442if test -n "$ac_ct_AR"; then 7443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 7444$as_echo "$ac_ct_AR" >&6; } 7445else 7446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7447$as_echo "no" >&6; } 7448fi 7449 7450 7451 test -n "$ac_ct_AR" && break 7452done 7453 7454 if test "x$ac_ct_AR" = x; then 7455 AR="false" 7456 else 7457 case $cross_compiling:$ac_tool_warned in 7458yes:) 7459{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7460$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7461ac_tool_warned=yes ;; 7462esac 7463 AR=$ac_ct_AR 7464 fi 7465fi 7466 7467: ${AR=ar} 7468: ${AR_FLAGS=cru} 7469 7470 7471 7472 7473 7474 7475 7476 7477 7478 7479 7480{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 7481$as_echo_n "checking for archiver @FILE support... " >&6; } 7482if ${lt_cv_ar_at_file+:} false; then : 7483 $as_echo_n "(cached) " >&6 7484else 7485 lt_cv_ar_at_file=no 7486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7487/* end confdefs.h. */ 7488 7489int 7490main () 7491{ 7492 7493 ; 7494 return 0; 7495} 7496_ACEOF 7497if ac_fn_c_try_compile "$LINENO"; then : 7498 echo conftest.$ac_objext > conftest.lst 7499 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 7500 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 7501 (eval $lt_ar_try) 2>&5 7502 ac_status=$? 7503 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7504 test $ac_status = 0; } 7505 if test 0 -eq "$ac_status"; then 7506 # Ensure the archiver fails upon bogus file names. 7507 rm -f conftest.$ac_objext libconftest.a 7508 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 7509 (eval $lt_ar_try) 2>&5 7510 ac_status=$? 7511 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7512 test $ac_status = 0; } 7513 if test 0 -ne "$ac_status"; then 7514 lt_cv_ar_at_file=@ 7515 fi 7516 fi 7517 rm -f conftest.* libconftest.a 7518 7519fi 7520rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7521 7522fi 7523{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 7524$as_echo "$lt_cv_ar_at_file" >&6; } 7525 7526if test no = "$lt_cv_ar_at_file"; then 7527 archiver_list_spec= 7528else 7529 archiver_list_spec=$lt_cv_ar_at_file 7530fi 7531 7532 7533 7534 7535 7536 7537 7538if test -n "$ac_tool_prefix"; then 7539 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 7540set dummy ${ac_tool_prefix}strip; ac_word=$2 7541{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7542$as_echo_n "checking for $ac_word... " >&6; } 7543if ${ac_cv_prog_STRIP+:} false; then : 7544 $as_echo_n "(cached) " >&6 7545else 7546 if test -n "$STRIP"; then 7547 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 7548else 7549as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7550for as_dir in $PATH 7551do 7552 IFS=$as_save_IFS 7553 test -z "$as_dir" && as_dir=. 7554 for ac_exec_ext in '' $ac_executable_extensions; do 7555 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7556 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 7557 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7558 break 2 7559 fi 7560done 7561 done 7562IFS=$as_save_IFS 7563 7564fi 7565fi 7566STRIP=$ac_cv_prog_STRIP 7567if test -n "$STRIP"; then 7568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 7569$as_echo "$STRIP" >&6; } 7570else 7571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7572$as_echo "no" >&6; } 7573fi 7574 7575 7576fi 7577if test -z "$ac_cv_prog_STRIP"; then 7578 ac_ct_STRIP=$STRIP 7579 # Extract the first word of "strip", so it can be a program name with args. 7580set dummy strip; ac_word=$2 7581{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7582$as_echo_n "checking for $ac_word... " >&6; } 7583if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 7584 $as_echo_n "(cached) " >&6 7585else 7586 if test -n "$ac_ct_STRIP"; then 7587 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 7588else 7589as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7590for as_dir in $PATH 7591do 7592 IFS=$as_save_IFS 7593 test -z "$as_dir" && as_dir=. 7594 for ac_exec_ext in '' $ac_executable_extensions; do 7595 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7596 ac_cv_prog_ac_ct_STRIP="strip" 7597 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7598 break 2 7599 fi 7600done 7601 done 7602IFS=$as_save_IFS 7603 7604fi 7605fi 7606ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 7607if test -n "$ac_ct_STRIP"; then 7608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 7609$as_echo "$ac_ct_STRIP" >&6; } 7610else 7611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7612$as_echo "no" >&6; } 7613fi 7614 7615 if test "x$ac_ct_STRIP" = x; then 7616 STRIP=":" 7617 else 7618 case $cross_compiling:$ac_tool_warned in 7619yes:) 7620{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7621$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7622ac_tool_warned=yes ;; 7623esac 7624 STRIP=$ac_ct_STRIP 7625 fi 7626else 7627 STRIP="$ac_cv_prog_STRIP" 7628fi 7629 7630test -z "$STRIP" && STRIP=: 7631 7632 7633 7634 7635 7636 7637if test -n "$ac_tool_prefix"; then 7638 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 7639set dummy ${ac_tool_prefix}ranlib; ac_word=$2 7640{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7641$as_echo_n "checking for $ac_word... " >&6; } 7642if ${ac_cv_prog_RANLIB+:} false; then : 7643 $as_echo_n "(cached) " >&6 7644else 7645 if test -n "$RANLIB"; then 7646 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 7647else 7648as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7649for as_dir in $PATH 7650do 7651 IFS=$as_save_IFS 7652 test -z "$as_dir" && as_dir=. 7653 for ac_exec_ext in '' $ac_executable_extensions; do 7654 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7655 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 7656 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7657 break 2 7658 fi 7659done 7660 done 7661IFS=$as_save_IFS 7662 7663fi 7664fi 7665RANLIB=$ac_cv_prog_RANLIB 7666if test -n "$RANLIB"; then 7667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 7668$as_echo "$RANLIB" >&6; } 7669else 7670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7671$as_echo "no" >&6; } 7672fi 7673 7674 7675fi 7676if test -z "$ac_cv_prog_RANLIB"; then 7677 ac_ct_RANLIB=$RANLIB 7678 # Extract the first word of "ranlib", so it can be a program name with args. 7679set dummy ranlib; ac_word=$2 7680{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7681$as_echo_n "checking for $ac_word... " >&6; } 7682if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 7683 $as_echo_n "(cached) " >&6 7684else 7685 if test -n "$ac_ct_RANLIB"; then 7686 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 7687else 7688as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7689for as_dir in $PATH 7690do 7691 IFS=$as_save_IFS 7692 test -z "$as_dir" && as_dir=. 7693 for ac_exec_ext in '' $ac_executable_extensions; do 7694 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7695 ac_cv_prog_ac_ct_RANLIB="ranlib" 7696 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7697 break 2 7698 fi 7699done 7700 done 7701IFS=$as_save_IFS 7702 7703fi 7704fi 7705ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 7706if test -n "$ac_ct_RANLIB"; then 7707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 7708$as_echo "$ac_ct_RANLIB" >&6; } 7709else 7710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7711$as_echo "no" >&6; } 7712fi 7713 7714 if test "x$ac_ct_RANLIB" = x; then 7715 RANLIB=":" 7716 else 7717 case $cross_compiling:$ac_tool_warned in 7718yes:) 7719{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7720$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7721ac_tool_warned=yes ;; 7722esac 7723 RANLIB=$ac_ct_RANLIB 7724 fi 7725else 7726 RANLIB="$ac_cv_prog_RANLIB" 7727fi 7728 7729test -z "$RANLIB" && RANLIB=: 7730 7731 7732 7733 7734 7735 7736# Determine commands to create old-style static archives. 7737old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 7738old_postinstall_cmds='chmod 644 $oldlib' 7739old_postuninstall_cmds= 7740 7741if test -n "$RANLIB"; then 7742 case $host_os in 7743 bitrig* | openbsd*) 7744 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" 7745 ;; 7746 *) 7747 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" 7748 ;; 7749 esac 7750 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" 7751fi 7752 7753case $host_os in 7754 darwin*) 7755 lock_old_archive_extraction=yes ;; 7756 *) 7757 lock_old_archive_extraction=no ;; 7758esac 7759 7760 7761 7762 7763 7764 7765 7766 7767 7768 7769 7770 7771 7772 7773 7774 7775 7776 7777 7778 7779 7780 7781 7782 7783 7784 7785 7786 7787 7788 7789 7790 7791 7792 7793 7794 7795 7796 7797 7798# If no C compiler was specified, use CC. 7799LTCC=${LTCC-"$CC"} 7800 7801# If no C compiler flags were specified, use CFLAGS. 7802LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 7803 7804# Allow CC to be a program name with arguments. 7805compiler=$CC 7806 7807 7808# Check for command to grab the raw symbol name followed by C symbol from nm. 7809{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 7810$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 7811if ${lt_cv_sys_global_symbol_pipe+:} false; then : 7812 $as_echo_n "(cached) " >&6 7813else 7814 7815# These are sane defaults that work on at least a few old systems. 7816# [They come from Ultrix. What could be older than Ultrix?!! ;)] 7817 7818# Character class describing NM global symbol codes. 7819symcode='[BCDEGRST]' 7820 7821# Regexp to match symbols that can be accessed directly from C. 7822sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 7823 7824# Define system-specific variables. 7825case $host_os in 7826aix*) 7827 symcode='[BCDT]' 7828 ;; 7829cygwin* | mingw* | pw32* | cegcc*) 7830 symcode='[ABCDGISTW]' 7831 ;; 7832hpux*) 7833 if test ia64 = "$host_cpu"; then 7834 symcode='[ABCDEGRST]' 7835 fi 7836 ;; 7837irix* | nonstopux*) 7838 symcode='[BCDEGRST]' 7839 ;; 7840osf*) 7841 symcode='[BCDEGQRST]' 7842 ;; 7843solaris*) 7844 symcode='[BDRT]' 7845 ;; 7846sco3.2v5*) 7847 symcode='[DT]' 7848 ;; 7849sysv4.2uw2*) 7850 symcode='[DT]' 7851 ;; 7852sysv5* | sco5v6* | unixware* | OpenUNIX*) 7853 symcode='[ABDT]' 7854 ;; 7855sysv4) 7856 symcode='[DFNSTU]' 7857 ;; 7858esac 7859 7860# If we're using GNU nm, then use its standard symbol codes. 7861case `$NM -V 2>&1` in 7862*GNU* | *'with BFD'*) 7863 symcode='[ABCDGIRSTW]' ;; 7864esac 7865 7866if test "$lt_cv_nm_interface" = "MS dumpbin"; then 7867 # Gets list of data symbols to import. 7868 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'" 7869 # Adjust the below global symbol transforms to fixup imported variables. 7870 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'" 7871 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'" 7872 lt_c_name_lib_hook="\ 7873 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\ 7874 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'" 7875else 7876 # Disable hooks by default. 7877 lt_cv_sys_global_symbol_to_import= 7878 lt_cdecl_hook= 7879 lt_c_name_hook= 7880 lt_c_name_lib_hook= 7881fi 7882 7883# Transform an extracted symbol line into a proper C declaration. 7884# Some systems (esp. on ia64) link data and code symbols differently, 7885# so use this general approach. 7886lt_cv_sys_global_symbol_to_cdecl="sed -n"\ 7887$lt_cdecl_hook\ 7888" -e 's/^T .* \(.*\)$/extern int \1();/p'"\ 7889" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" 7890 7891# Transform an extracted symbol line into symbol name and symbol address 7892lt_cv_sys_global_symbol_to_c_name_address="sed -n"\ 7893$lt_c_name_hook\ 7894" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 7895" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'" 7896 7897# Transform an extracted symbol line into symbol name with lib prefix and 7898# symbol address. 7899lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\ 7900$lt_c_name_lib_hook\ 7901" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 7902" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\ 7903" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'" 7904 7905# Handle CRLF in mingw tool chain 7906opt_cr= 7907case $build_os in 7908mingw*) 7909 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 7910 ;; 7911esac 7912 7913# Try without a prefix underscore, then with it. 7914for ac_symprfx in "" "_"; do 7915 7916 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 7917 symxfrm="\\1 $ac_symprfx\\2 \\2" 7918 7919 # Write the raw and C identifiers. 7920 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 7921 # Fake it for dumpbin and say T for any non-static function, 7922 # D for any global variable and I for any imported variable. 7923 # Also find C++ and __fastcall symbols from MSVC++, 7924 # which start with @ or ?. 7925 lt_cv_sys_global_symbol_pipe="$AWK '"\ 7926" {last_section=section; section=\$ 3};"\ 7927" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ 7928" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 7929" /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\ 7930" /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\ 7931" /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\ 7932" \$ 0!~/External *\|/{next};"\ 7933" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 7934" {if(hide[section]) next};"\ 7935" {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\ 7936" {split(\$ 0,a,/\||\r/); split(a[2],s)};"\ 7937" s[1]~/^[@?]/{print f,s[1],s[1]; next};"\ 7938" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\ 7939" ' prfx=^$ac_symprfx" 7940 else 7941 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 7942 fi 7943 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 7944 7945 # Check to see that the pipe works correctly. 7946 pipe_works=no 7947 7948 rm -f conftest* 7949 cat > conftest.$ac_ext <<_LT_EOF 7950#ifdef __cplusplus 7951extern "C" { 7952#endif 7953char nm_test_var; 7954void nm_test_func(void); 7955void nm_test_func(void){} 7956#ifdef __cplusplus 7957} 7958#endif 7959int main(){nm_test_var='a';nm_test_func();return(0);} 7960_LT_EOF 7961 7962 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7963 (eval $ac_compile) 2>&5 7964 ac_status=$? 7965 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7966 test $ac_status = 0; }; then 7967 # Now try to grab the symbols. 7968 nlist=conftest.nm 7969 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 7970 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 7971 ac_status=$? 7972 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7973 test $ac_status = 0; } && test -s "$nlist"; then 7974 # Try sorting and uniquifying the output. 7975 if sort "$nlist" | uniq > "$nlist"T; then 7976 mv -f "$nlist"T "$nlist" 7977 else 7978 rm -f "$nlist"T 7979 fi 7980 7981 # Make sure that we snagged all the symbols we need. 7982 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 7983 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 7984 cat <<_LT_EOF > conftest.$ac_ext 7985/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 7986#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE 7987/* DATA imports from DLLs on WIN32 can't be const, because runtime 7988 relocations are performed -- see ld's documentation on pseudo-relocs. */ 7989# define LT_DLSYM_CONST 7990#elif defined __osf__ 7991/* This system does not cope well with relocations in const data. */ 7992# define LT_DLSYM_CONST 7993#else 7994# define LT_DLSYM_CONST const 7995#endif 7996 7997#ifdef __cplusplus 7998extern "C" { 7999#endif 8000 8001_LT_EOF 8002 # Now generate the symbol file. 8003 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 8004 8005 cat <<_LT_EOF >> conftest.$ac_ext 8006 8007/* The mapping between symbol names and symbols. */ 8008LT_DLSYM_CONST struct { 8009 const char *name; 8010 void *address; 8011} 8012lt__PROGRAM__LTX_preloaded_symbols[] = 8013{ 8014 { "@PROGRAM@", (void *) 0 }, 8015_LT_EOF 8016 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 8017 cat <<\_LT_EOF >> conftest.$ac_ext 8018 {0, (void *) 0} 8019}; 8020 8021/* This works around a problem in FreeBSD linker */ 8022#ifdef FREEBSD_WORKAROUND 8023static const void *lt_preloaded_setup() { 8024 return lt__PROGRAM__LTX_preloaded_symbols; 8025} 8026#endif 8027 8028#ifdef __cplusplus 8029} 8030#endif 8031_LT_EOF 8032 # Now try linking the two files. 8033 mv conftest.$ac_objext conftstm.$ac_objext 8034 lt_globsym_save_LIBS=$LIBS 8035 lt_globsym_save_CFLAGS=$CFLAGS 8036 LIBS=conftstm.$ac_objext 8037 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 8038 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 8039 (eval $ac_link) 2>&5 8040 ac_status=$? 8041 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8042 test $ac_status = 0; } && test -s conftest$ac_exeext; then 8043 pipe_works=yes 8044 fi 8045 LIBS=$lt_globsym_save_LIBS 8046 CFLAGS=$lt_globsym_save_CFLAGS 8047 else 8048 echo "cannot find nm_test_func in $nlist" >&5 8049 fi 8050 else 8051 echo "cannot find nm_test_var in $nlist" >&5 8052 fi 8053 else 8054 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 8055 fi 8056 else 8057 echo "$progname: failed program was:" >&5 8058 cat conftest.$ac_ext >&5 8059 fi 8060 rm -rf conftest* conftst* 8061 8062 # Do not use the global_symbol_pipe unless it works. 8063 if test yes = "$pipe_works"; then 8064 break 8065 else 8066 lt_cv_sys_global_symbol_pipe= 8067 fi 8068done 8069 8070fi 8071 8072if test -z "$lt_cv_sys_global_symbol_pipe"; then 8073 lt_cv_sys_global_symbol_to_cdecl= 8074fi 8075if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 8076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 8077$as_echo "failed" >&6; } 8078else 8079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 8080$as_echo "ok" >&6; } 8081fi 8082 8083# Response file support. 8084if test "$lt_cv_nm_interface" = "MS dumpbin"; then 8085 nm_file_list_spec='@' 8086elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then 8087 nm_file_list_spec='@' 8088fi 8089 8090 8091 8092 8093 8094 8095 8096 8097 8098 8099 8100 8101 8102 8103 8104 8105 8106 8107 8108 8109 8110 8111 8112 8113 8114 8115 8116 8117 8118 8119 8120 8121 8122 8123 8124 8125 8126{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 8127$as_echo_n "checking for sysroot... " >&6; } 8128 8129# Check whether --with-sysroot was given. 8130if test "${with_sysroot+set}" = set; then : 8131 withval=$with_sysroot; 8132else 8133 with_sysroot=no 8134fi 8135 8136 8137lt_sysroot= 8138case $with_sysroot in #( 8139 yes) 8140 if test yes = "$GCC"; then 8141 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 8142 fi 8143 ;; #( 8144 /*) 8145 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 8146 ;; #( 8147 no|'') 8148 ;; #( 8149 *) 8150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5 8151$as_echo "$with_sysroot" >&6; } 8152 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 8153 ;; 8154esac 8155 8156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 8157$as_echo "${lt_sysroot:-no}" >&6; } 8158 8159 8160 8161 8162 8163{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5 8164$as_echo_n "checking for a working dd... " >&6; } 8165if ${ac_cv_path_lt_DD+:} false; then : 8166 $as_echo_n "(cached) " >&6 8167else 8168 printf 0123456789abcdef0123456789abcdef >conftest.i 8169cat conftest.i conftest.i >conftest2.i 8170: ${lt_DD:=$DD} 8171if test -z "$lt_DD"; then 8172 ac_path_lt_DD_found=false 8173 # Loop through the user's path and test for each of PROGNAME-LIST 8174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8175for as_dir in $PATH 8176do 8177 IFS=$as_save_IFS 8178 test -z "$as_dir" && as_dir=. 8179 for ac_prog in dd; do 8180 for ac_exec_ext in '' $ac_executable_extensions; do 8181 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext" 8182 as_fn_executable_p "$ac_path_lt_DD" || continue 8183if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 8184 cmp -s conftest.i conftest.out \ 8185 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=: 8186fi 8187 $ac_path_lt_DD_found && break 3 8188 done 8189 done 8190 done 8191IFS=$as_save_IFS 8192 if test -z "$ac_cv_path_lt_DD"; then 8193 : 8194 fi 8195else 8196 ac_cv_path_lt_DD=$lt_DD 8197fi 8198 8199rm -f conftest.i conftest2.i conftest.out 8200fi 8201{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5 8202$as_echo "$ac_cv_path_lt_DD" >&6; } 8203 8204 8205{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5 8206$as_echo_n "checking how to truncate binary pipes... " >&6; } 8207if ${lt_cv_truncate_bin+:} false; then : 8208 $as_echo_n "(cached) " >&6 8209else 8210 printf 0123456789abcdef0123456789abcdef >conftest.i 8211cat conftest.i conftest.i >conftest2.i 8212lt_cv_truncate_bin= 8213if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 8214 cmp -s conftest.i conftest.out \ 8215 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1" 8216fi 8217rm -f conftest.i conftest2.i conftest.out 8218test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" 8219fi 8220{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5 8221$as_echo "$lt_cv_truncate_bin" >&6; } 8222 8223 8224 8225 8226 8227 8228 8229# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 8230func_cc_basename () 8231{ 8232 for cc_temp in $*""; do 8233 case $cc_temp in 8234 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 8235 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 8236 \-*) ;; 8237 *) break;; 8238 esac 8239 done 8240 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 8241} 8242 8243# Check whether --enable-libtool-lock was given. 8244if test "${enable_libtool_lock+set}" = set; then : 8245 enableval=$enable_libtool_lock; 8246fi 8247 8248test no = "$enable_libtool_lock" || enable_libtool_lock=yes 8249 8250# Some flags need to be propagated to the compiler or linker for good 8251# libtool support. 8252case $host in 8253ia64-*-hpux*) 8254 # Find out what ABI is being produced by ac_compile, and set mode 8255 # options accordingly. 8256 echo 'int i;' > conftest.$ac_ext 8257 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8258 (eval $ac_compile) 2>&5 8259 ac_status=$? 8260 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8261 test $ac_status = 0; }; then 8262 case `/usr/bin/file conftest.$ac_objext` in 8263 *ELF-32*) 8264 HPUX_IA64_MODE=32 8265 ;; 8266 *ELF-64*) 8267 HPUX_IA64_MODE=64 8268 ;; 8269 esac 8270 fi 8271 rm -rf conftest* 8272 ;; 8273*-*-irix6*) 8274 # Find out what ABI is being produced by ac_compile, and set linker 8275 # options accordingly. 8276 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 8277 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8278 (eval $ac_compile) 2>&5 8279 ac_status=$? 8280 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8281 test $ac_status = 0; }; then 8282 if test yes = "$lt_cv_prog_gnu_ld"; then 8283 case `/usr/bin/file conftest.$ac_objext` in 8284 *32-bit*) 8285 LD="${LD-ld} -melf32bsmip" 8286 ;; 8287 *N32*) 8288 LD="${LD-ld} -melf32bmipn32" 8289 ;; 8290 *64-bit*) 8291 LD="${LD-ld} -melf64bmip" 8292 ;; 8293 esac 8294 else 8295 case `/usr/bin/file conftest.$ac_objext` in 8296 *32-bit*) 8297 LD="${LD-ld} -32" 8298 ;; 8299 *N32*) 8300 LD="${LD-ld} -n32" 8301 ;; 8302 *64-bit*) 8303 LD="${LD-ld} -64" 8304 ;; 8305 esac 8306 fi 8307 fi 8308 rm -rf conftest* 8309 ;; 8310 8311mips64*-*linux*) 8312 # Find out what ABI is being produced by ac_compile, and set linker 8313 # options accordingly. 8314 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 8315 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8316 (eval $ac_compile) 2>&5 8317 ac_status=$? 8318 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8319 test $ac_status = 0; }; then 8320 emul=elf 8321 case `/usr/bin/file conftest.$ac_objext` in 8322 *32-bit*) 8323 emul="${emul}32" 8324 ;; 8325 *64-bit*) 8326 emul="${emul}64" 8327 ;; 8328 esac 8329 case `/usr/bin/file conftest.$ac_objext` in 8330 *MSB*) 8331 emul="${emul}btsmip" 8332 ;; 8333 *LSB*) 8334 emul="${emul}ltsmip" 8335 ;; 8336 esac 8337 case `/usr/bin/file conftest.$ac_objext` in 8338 *N32*) 8339 emul="${emul}n32" 8340 ;; 8341 esac 8342 LD="${LD-ld} -m $emul" 8343 fi 8344 rm -rf conftest* 8345 ;; 8346 8347x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ 8348s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 8349 # Find out what ABI is being produced by ac_compile, and set linker 8350 # options accordingly. Note that the listed cases only cover the 8351 # situations where additional linker options are needed (such as when 8352 # doing 32-bit compilation for a host where ld defaults to 64-bit, or 8353 # vice versa); the common cases where no linker options are needed do 8354 # not appear in the list. 8355 echo 'int i;' > conftest.$ac_ext 8356 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8357 (eval $ac_compile) 2>&5 8358 ac_status=$? 8359 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8360 test $ac_status = 0; }; then 8361 case `/usr/bin/file conftest.o` in 8362 *32-bit*) 8363 case $host in 8364 x86_64-*kfreebsd*-gnu) 8365 LD="${LD-ld} -m elf_i386_fbsd" 8366 ;; 8367 x86_64-*linux*) 8368 case `/usr/bin/file conftest.o` in 8369 *x86-64*) 8370 LD="${LD-ld} -m elf32_x86_64" 8371 ;; 8372 *) 8373 LD="${LD-ld} -m elf_i386" 8374 ;; 8375 esac 8376 ;; 8377 powerpc64le-*linux*) 8378 LD="${LD-ld} -m elf32lppclinux" 8379 ;; 8380 powerpc64-*linux*) 8381 LD="${LD-ld} -m elf32ppclinux" 8382 ;; 8383 s390x-*linux*) 8384 LD="${LD-ld} -m elf_s390" 8385 ;; 8386 sparc64-*linux*) 8387 LD="${LD-ld} -m elf32_sparc" 8388 ;; 8389 esac 8390 ;; 8391 *64-bit*) 8392 case $host in 8393 x86_64-*kfreebsd*-gnu) 8394 LD="${LD-ld} -m elf_x86_64_fbsd" 8395 ;; 8396 x86_64-*linux*) 8397 LD="${LD-ld} -m elf_x86_64" 8398 ;; 8399 powerpcle-*linux*) 8400 LD="${LD-ld} -m elf64lppc" 8401 ;; 8402 powerpc-*linux*) 8403 LD="${LD-ld} -m elf64ppc" 8404 ;; 8405 s390*-*linux*|s390*-*tpf*) 8406 LD="${LD-ld} -m elf64_s390" 8407 ;; 8408 sparc*-*linux*) 8409 LD="${LD-ld} -m elf64_sparc" 8410 ;; 8411 esac 8412 ;; 8413 esac 8414 fi 8415 rm -rf conftest* 8416 ;; 8417 8418*-*-sco3.2v5*) 8419 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 8420 SAVE_CFLAGS=$CFLAGS 8421 CFLAGS="$CFLAGS -belf" 8422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 8423$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 8424if ${lt_cv_cc_needs_belf+:} false; then : 8425 $as_echo_n "(cached) " >&6 8426else 8427 ac_ext=c 8428ac_cpp='$CPP $CPPFLAGS' 8429ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8430ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8431ac_compiler_gnu=$ac_cv_c_compiler_gnu 8432 8433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8434/* end confdefs.h. */ 8435 8436int 8437main () 8438{ 8439 8440 ; 8441 return 0; 8442} 8443_ACEOF 8444if ac_fn_c_try_link "$LINENO"; then : 8445 lt_cv_cc_needs_belf=yes 8446else 8447 lt_cv_cc_needs_belf=no 8448fi 8449rm -f core conftest.err conftest.$ac_objext \ 8450 conftest$ac_exeext conftest.$ac_ext 8451 ac_ext=c 8452ac_cpp='$CPP $CPPFLAGS' 8453ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8454ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8455ac_compiler_gnu=$ac_cv_c_compiler_gnu 8456 8457fi 8458{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 8459$as_echo "$lt_cv_cc_needs_belf" >&6; } 8460 if test yes != "$lt_cv_cc_needs_belf"; then 8461 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 8462 CFLAGS=$SAVE_CFLAGS 8463 fi 8464 ;; 8465*-*solaris*) 8466 # Find out what ABI is being produced by ac_compile, and set linker 8467 # options accordingly. 8468 echo 'int i;' > conftest.$ac_ext 8469 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8470 (eval $ac_compile) 2>&5 8471 ac_status=$? 8472 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8473 test $ac_status = 0; }; then 8474 case `/usr/bin/file conftest.o` in 8475 *64-bit*) 8476 case $lt_cv_prog_gnu_ld in 8477 yes*) 8478 case $host in 8479 i?86-*-solaris*|x86_64-*-solaris*) 8480 LD="${LD-ld} -m elf_x86_64" 8481 ;; 8482 sparc*-*-solaris*) 8483 LD="${LD-ld} -m elf64_sparc" 8484 ;; 8485 esac 8486 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. 8487 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then 8488 LD=${LD-ld}_sol2 8489 fi 8490 ;; 8491 *) 8492 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 8493 LD="${LD-ld} -64" 8494 fi 8495 ;; 8496 esac 8497 ;; 8498 esac 8499 fi 8500 rm -rf conftest* 8501 ;; 8502esac 8503 8504need_locks=$enable_libtool_lock 8505 8506if test -n "$ac_tool_prefix"; then 8507 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 8508set dummy ${ac_tool_prefix}mt; ac_word=$2 8509{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8510$as_echo_n "checking for $ac_word... " >&6; } 8511if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : 8512 $as_echo_n "(cached) " >&6 8513else 8514 if test -n "$MANIFEST_TOOL"; then 8515 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 8516else 8517as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8518for as_dir in $PATH 8519do 8520 IFS=$as_save_IFS 8521 test -z "$as_dir" && as_dir=. 8522 for ac_exec_ext in '' $ac_executable_extensions; do 8523 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8524 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 8525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8526 break 2 8527 fi 8528done 8529 done 8530IFS=$as_save_IFS 8531 8532fi 8533fi 8534MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 8535if test -n "$MANIFEST_TOOL"; then 8536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 8537$as_echo "$MANIFEST_TOOL" >&6; } 8538else 8539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8540$as_echo "no" >&6; } 8541fi 8542 8543 8544fi 8545if test -z "$ac_cv_prog_MANIFEST_TOOL"; then 8546 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 8547 # Extract the first word of "mt", so it can be a program name with args. 8548set dummy mt; ac_word=$2 8549{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8550$as_echo_n "checking for $ac_word... " >&6; } 8551if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : 8552 $as_echo_n "(cached) " >&6 8553else 8554 if test -n "$ac_ct_MANIFEST_TOOL"; then 8555 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 8556else 8557as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8558for as_dir in $PATH 8559do 8560 IFS=$as_save_IFS 8561 test -z "$as_dir" && as_dir=. 8562 for ac_exec_ext in '' $ac_executable_extensions; do 8563 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8564 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 8565 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8566 break 2 8567 fi 8568done 8569 done 8570IFS=$as_save_IFS 8571 8572fi 8573fi 8574ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 8575if test -n "$ac_ct_MANIFEST_TOOL"; then 8576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 8577$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } 8578else 8579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8580$as_echo "no" >&6; } 8581fi 8582 8583 if test "x$ac_ct_MANIFEST_TOOL" = x; then 8584 MANIFEST_TOOL=":" 8585 else 8586 case $cross_compiling:$ac_tool_warned in 8587yes:) 8588{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8589$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8590ac_tool_warned=yes ;; 8591esac 8592 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL 8593 fi 8594else 8595 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" 8596fi 8597 8598test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 8599{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 8600$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 8601if ${lt_cv_path_mainfest_tool+:} false; then : 8602 $as_echo_n "(cached) " >&6 8603else 8604 lt_cv_path_mainfest_tool=no 8605 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 8606 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out 8607 cat conftest.err >&5 8608 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 8609 lt_cv_path_mainfest_tool=yes 8610 fi 8611 rm -f conftest* 8612fi 8613{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 8614$as_echo "$lt_cv_path_mainfest_tool" >&6; } 8615if test yes != "$lt_cv_path_mainfest_tool"; then 8616 MANIFEST_TOOL=: 8617fi 8618 8619 8620 8621 8622 8623 8624 case $host_os in 8625 rhapsody* | darwin*) 8626 if test -n "$ac_tool_prefix"; then 8627 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 8628set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 8629{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8630$as_echo_n "checking for $ac_word... " >&6; } 8631if ${ac_cv_prog_DSYMUTIL+:} false; then : 8632 $as_echo_n "(cached) " >&6 8633else 8634 if test -n "$DSYMUTIL"; then 8635 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 8636else 8637as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8638for as_dir in $PATH 8639do 8640 IFS=$as_save_IFS 8641 test -z "$as_dir" && as_dir=. 8642 for ac_exec_ext in '' $ac_executable_extensions; do 8643 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8644 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 8645 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8646 break 2 8647 fi 8648done 8649 done 8650IFS=$as_save_IFS 8651 8652fi 8653fi 8654DSYMUTIL=$ac_cv_prog_DSYMUTIL 8655if test -n "$DSYMUTIL"; then 8656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 8657$as_echo "$DSYMUTIL" >&6; } 8658else 8659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8660$as_echo "no" >&6; } 8661fi 8662 8663 8664fi 8665if test -z "$ac_cv_prog_DSYMUTIL"; then 8666 ac_ct_DSYMUTIL=$DSYMUTIL 8667 # Extract the first word of "dsymutil", so it can be a program name with args. 8668set dummy dsymutil; ac_word=$2 8669{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8670$as_echo_n "checking for $ac_word... " >&6; } 8671if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : 8672 $as_echo_n "(cached) " >&6 8673else 8674 if test -n "$ac_ct_DSYMUTIL"; then 8675 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 8676else 8677as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8678for as_dir in $PATH 8679do 8680 IFS=$as_save_IFS 8681 test -z "$as_dir" && as_dir=. 8682 for ac_exec_ext in '' $ac_executable_extensions; do 8683 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8684 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 8685 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8686 break 2 8687 fi 8688done 8689 done 8690IFS=$as_save_IFS 8691 8692fi 8693fi 8694ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 8695if test -n "$ac_ct_DSYMUTIL"; then 8696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 8697$as_echo "$ac_ct_DSYMUTIL" >&6; } 8698else 8699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8700$as_echo "no" >&6; } 8701fi 8702 8703 if test "x$ac_ct_DSYMUTIL" = x; then 8704 DSYMUTIL=":" 8705 else 8706 case $cross_compiling:$ac_tool_warned in 8707yes:) 8708{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8709$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8710ac_tool_warned=yes ;; 8711esac 8712 DSYMUTIL=$ac_ct_DSYMUTIL 8713 fi 8714else 8715 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 8716fi 8717 8718 if test -n "$ac_tool_prefix"; then 8719 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 8720set dummy ${ac_tool_prefix}nmedit; ac_word=$2 8721{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8722$as_echo_n "checking for $ac_word... " >&6; } 8723if ${ac_cv_prog_NMEDIT+:} false; then : 8724 $as_echo_n "(cached) " >&6 8725else 8726 if test -n "$NMEDIT"; then 8727 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 8728else 8729as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8730for as_dir in $PATH 8731do 8732 IFS=$as_save_IFS 8733 test -z "$as_dir" && as_dir=. 8734 for ac_exec_ext in '' $ac_executable_extensions; do 8735 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8736 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 8737 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8738 break 2 8739 fi 8740done 8741 done 8742IFS=$as_save_IFS 8743 8744fi 8745fi 8746NMEDIT=$ac_cv_prog_NMEDIT 8747if test -n "$NMEDIT"; then 8748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 8749$as_echo "$NMEDIT" >&6; } 8750else 8751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8752$as_echo "no" >&6; } 8753fi 8754 8755 8756fi 8757if test -z "$ac_cv_prog_NMEDIT"; then 8758 ac_ct_NMEDIT=$NMEDIT 8759 # Extract the first word of "nmedit", so it can be a program name with args. 8760set dummy nmedit; ac_word=$2 8761{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8762$as_echo_n "checking for $ac_word... " >&6; } 8763if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : 8764 $as_echo_n "(cached) " >&6 8765else 8766 if test -n "$ac_ct_NMEDIT"; then 8767 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 8768else 8769as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8770for as_dir in $PATH 8771do 8772 IFS=$as_save_IFS 8773 test -z "$as_dir" && as_dir=. 8774 for ac_exec_ext in '' $ac_executable_extensions; do 8775 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8776 ac_cv_prog_ac_ct_NMEDIT="nmedit" 8777 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8778 break 2 8779 fi 8780done 8781 done 8782IFS=$as_save_IFS 8783 8784fi 8785fi 8786ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 8787if test -n "$ac_ct_NMEDIT"; then 8788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 8789$as_echo "$ac_ct_NMEDIT" >&6; } 8790else 8791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8792$as_echo "no" >&6; } 8793fi 8794 8795 if test "x$ac_ct_NMEDIT" = x; then 8796 NMEDIT=":" 8797 else 8798 case $cross_compiling:$ac_tool_warned in 8799yes:) 8800{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8801$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8802ac_tool_warned=yes ;; 8803esac 8804 NMEDIT=$ac_ct_NMEDIT 8805 fi 8806else 8807 NMEDIT="$ac_cv_prog_NMEDIT" 8808fi 8809 8810 if test -n "$ac_tool_prefix"; then 8811 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 8812set dummy ${ac_tool_prefix}lipo; ac_word=$2 8813{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8814$as_echo_n "checking for $ac_word... " >&6; } 8815if ${ac_cv_prog_LIPO+:} false; then : 8816 $as_echo_n "(cached) " >&6 8817else 8818 if test -n "$LIPO"; then 8819 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 8820else 8821as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8822for as_dir in $PATH 8823do 8824 IFS=$as_save_IFS 8825 test -z "$as_dir" && as_dir=. 8826 for ac_exec_ext in '' $ac_executable_extensions; do 8827 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8828 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 8829 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8830 break 2 8831 fi 8832done 8833 done 8834IFS=$as_save_IFS 8835 8836fi 8837fi 8838LIPO=$ac_cv_prog_LIPO 8839if test -n "$LIPO"; then 8840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 8841$as_echo "$LIPO" >&6; } 8842else 8843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8844$as_echo "no" >&6; } 8845fi 8846 8847 8848fi 8849if test -z "$ac_cv_prog_LIPO"; then 8850 ac_ct_LIPO=$LIPO 8851 # Extract the first word of "lipo", so it can be a program name with args. 8852set dummy lipo; ac_word=$2 8853{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8854$as_echo_n "checking for $ac_word... " >&6; } 8855if ${ac_cv_prog_ac_ct_LIPO+:} false; then : 8856 $as_echo_n "(cached) " >&6 8857else 8858 if test -n "$ac_ct_LIPO"; then 8859 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 8860else 8861as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8862for as_dir in $PATH 8863do 8864 IFS=$as_save_IFS 8865 test -z "$as_dir" && as_dir=. 8866 for ac_exec_ext in '' $ac_executable_extensions; do 8867 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8868 ac_cv_prog_ac_ct_LIPO="lipo" 8869 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8870 break 2 8871 fi 8872done 8873 done 8874IFS=$as_save_IFS 8875 8876fi 8877fi 8878ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 8879if test -n "$ac_ct_LIPO"; then 8880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 8881$as_echo "$ac_ct_LIPO" >&6; } 8882else 8883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8884$as_echo "no" >&6; } 8885fi 8886 8887 if test "x$ac_ct_LIPO" = x; then 8888 LIPO=":" 8889 else 8890 case $cross_compiling:$ac_tool_warned in 8891yes:) 8892{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8893$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8894ac_tool_warned=yes ;; 8895esac 8896 LIPO=$ac_ct_LIPO 8897 fi 8898else 8899 LIPO="$ac_cv_prog_LIPO" 8900fi 8901 8902 if test -n "$ac_tool_prefix"; then 8903 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 8904set dummy ${ac_tool_prefix}otool; ac_word=$2 8905{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8906$as_echo_n "checking for $ac_word... " >&6; } 8907if ${ac_cv_prog_OTOOL+:} false; then : 8908 $as_echo_n "(cached) " >&6 8909else 8910 if test -n "$OTOOL"; then 8911 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 8912else 8913as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8914for as_dir in $PATH 8915do 8916 IFS=$as_save_IFS 8917 test -z "$as_dir" && as_dir=. 8918 for ac_exec_ext in '' $ac_executable_extensions; do 8919 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8920 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 8921 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8922 break 2 8923 fi 8924done 8925 done 8926IFS=$as_save_IFS 8927 8928fi 8929fi 8930OTOOL=$ac_cv_prog_OTOOL 8931if test -n "$OTOOL"; then 8932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 8933$as_echo "$OTOOL" >&6; } 8934else 8935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8936$as_echo "no" >&6; } 8937fi 8938 8939 8940fi 8941if test -z "$ac_cv_prog_OTOOL"; then 8942 ac_ct_OTOOL=$OTOOL 8943 # Extract the first word of "otool", so it can be a program name with args. 8944set dummy otool; ac_word=$2 8945{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8946$as_echo_n "checking for $ac_word... " >&6; } 8947if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : 8948 $as_echo_n "(cached) " >&6 8949else 8950 if test -n "$ac_ct_OTOOL"; then 8951 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 8952else 8953as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8954for as_dir in $PATH 8955do 8956 IFS=$as_save_IFS 8957 test -z "$as_dir" && as_dir=. 8958 for ac_exec_ext in '' $ac_executable_extensions; do 8959 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8960 ac_cv_prog_ac_ct_OTOOL="otool" 8961 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8962 break 2 8963 fi 8964done 8965 done 8966IFS=$as_save_IFS 8967 8968fi 8969fi 8970ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 8971if test -n "$ac_ct_OTOOL"; then 8972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 8973$as_echo "$ac_ct_OTOOL" >&6; } 8974else 8975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8976$as_echo "no" >&6; } 8977fi 8978 8979 if test "x$ac_ct_OTOOL" = x; then 8980 OTOOL=":" 8981 else 8982 case $cross_compiling:$ac_tool_warned in 8983yes:) 8984{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8985$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8986ac_tool_warned=yes ;; 8987esac 8988 OTOOL=$ac_ct_OTOOL 8989 fi 8990else 8991 OTOOL="$ac_cv_prog_OTOOL" 8992fi 8993 8994 if test -n "$ac_tool_prefix"; then 8995 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 8996set dummy ${ac_tool_prefix}otool64; ac_word=$2 8997{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8998$as_echo_n "checking for $ac_word... " >&6; } 8999if ${ac_cv_prog_OTOOL64+:} false; then : 9000 $as_echo_n "(cached) " >&6 9001else 9002 if test -n "$OTOOL64"; then 9003 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 9004else 9005as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9006for as_dir in $PATH 9007do 9008 IFS=$as_save_IFS 9009 test -z "$as_dir" && as_dir=. 9010 for ac_exec_ext in '' $ac_executable_extensions; do 9011 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9012 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 9013 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9014 break 2 9015 fi 9016done 9017 done 9018IFS=$as_save_IFS 9019 9020fi 9021fi 9022OTOOL64=$ac_cv_prog_OTOOL64 9023if test -n "$OTOOL64"; then 9024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 9025$as_echo "$OTOOL64" >&6; } 9026else 9027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9028$as_echo "no" >&6; } 9029fi 9030 9031 9032fi 9033if test -z "$ac_cv_prog_OTOOL64"; then 9034 ac_ct_OTOOL64=$OTOOL64 9035 # Extract the first word of "otool64", so it can be a program name with args. 9036set dummy otool64; ac_word=$2 9037{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9038$as_echo_n "checking for $ac_word... " >&6; } 9039if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : 9040 $as_echo_n "(cached) " >&6 9041else 9042 if test -n "$ac_ct_OTOOL64"; then 9043 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 9044else 9045as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9046for as_dir in $PATH 9047do 9048 IFS=$as_save_IFS 9049 test -z "$as_dir" && as_dir=. 9050 for ac_exec_ext in '' $ac_executable_extensions; do 9051 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9052 ac_cv_prog_ac_ct_OTOOL64="otool64" 9053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9054 break 2 9055 fi 9056done 9057 done 9058IFS=$as_save_IFS 9059 9060fi 9061fi 9062ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 9063if test -n "$ac_ct_OTOOL64"; then 9064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 9065$as_echo "$ac_ct_OTOOL64" >&6; } 9066else 9067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9068$as_echo "no" >&6; } 9069fi 9070 9071 if test "x$ac_ct_OTOOL64" = x; then 9072 OTOOL64=":" 9073 else 9074 case $cross_compiling:$ac_tool_warned in 9075yes:) 9076{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 9077$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 9078ac_tool_warned=yes ;; 9079esac 9080 OTOOL64=$ac_ct_OTOOL64 9081 fi 9082else 9083 OTOOL64="$ac_cv_prog_OTOOL64" 9084fi 9085 9086 9087 9088 9089 9090 9091 9092 9093 9094 9095 9096 9097 9098 9099 9100 9101 9102 9103 9104 9105 9106 9107 9108 9109 9110 9111 9112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 9113$as_echo_n "checking for -single_module linker flag... " >&6; } 9114if ${lt_cv_apple_cc_single_mod+:} false; then : 9115 $as_echo_n "(cached) " >&6 9116else 9117 lt_cv_apple_cc_single_mod=no 9118 if test -z "$LT_MULTI_MODULE"; then 9119 # By default we will add the -single_module flag. You can override 9120 # by either setting the environment variable LT_MULTI_MODULE 9121 # non-empty at configure time, or by adding -multi_module to the 9122 # link flags. 9123 rm -rf libconftest.dylib* 9124 echo "int foo(void){return 1;}" > conftest.c 9125 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 9126-dynamiclib -Wl,-single_module conftest.c" >&5 9127 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 9128 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 9129 _lt_result=$? 9130 # If there is a non-empty error log, and "single_module" 9131 # appears in it, assume the flag caused a linker warning 9132 if test -s conftest.err && $GREP single_module conftest.err; then 9133 cat conftest.err >&5 9134 # Otherwise, if the output was created with a 0 exit code from 9135 # the compiler, it worked. 9136 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then 9137 lt_cv_apple_cc_single_mod=yes 9138 else 9139 cat conftest.err >&5 9140 fi 9141 rm -rf libconftest.dylib* 9142 rm -f conftest.* 9143 fi 9144fi 9145{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 9146$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 9147 9148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 9149$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 9150if ${lt_cv_ld_exported_symbols_list+:} false; then : 9151 $as_echo_n "(cached) " >&6 9152else 9153 lt_cv_ld_exported_symbols_list=no 9154 save_LDFLAGS=$LDFLAGS 9155 echo "_main" > conftest.sym 9156 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 9157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9158/* end confdefs.h. */ 9159 9160int 9161main () 9162{ 9163 9164 ; 9165 return 0; 9166} 9167_ACEOF 9168if ac_fn_c_try_link "$LINENO"; then : 9169 lt_cv_ld_exported_symbols_list=yes 9170else 9171 lt_cv_ld_exported_symbols_list=no 9172fi 9173rm -f core conftest.err conftest.$ac_objext \ 9174 conftest$ac_exeext conftest.$ac_ext 9175 LDFLAGS=$save_LDFLAGS 9176 9177fi 9178{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 9179$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 9180 9181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 9182$as_echo_n "checking for -force_load linker flag... " >&6; } 9183if ${lt_cv_ld_force_load+:} false; then : 9184 $as_echo_n "(cached) " >&6 9185else 9186 lt_cv_ld_force_load=no 9187 cat > conftest.c << _LT_EOF 9188int forced_loaded() { return 2;} 9189_LT_EOF 9190 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 9191 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 9192 echo "$AR cru libconftest.a conftest.o" >&5 9193 $AR cru libconftest.a conftest.o 2>&5 9194 echo "$RANLIB libconftest.a" >&5 9195 $RANLIB libconftest.a 2>&5 9196 cat > conftest.c << _LT_EOF 9197int main() { return 0;} 9198_LT_EOF 9199 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 9200 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 9201 _lt_result=$? 9202 if test -s conftest.err && $GREP force_load conftest.err; then 9203 cat conftest.err >&5 9204 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then 9205 lt_cv_ld_force_load=yes 9206 else 9207 cat conftest.err >&5 9208 fi 9209 rm -f conftest.err libconftest.a conftest conftest.c 9210 rm -rf conftest.dSYM 9211 9212fi 9213{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 9214$as_echo "$lt_cv_ld_force_load" >&6; } 9215 case $host_os in 9216 rhapsody* | darwin1.[012]) 9217 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; 9218 darwin1.*) 9219 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 9220 darwin*) # darwin 5.x on 9221 # if running on 10.5 or later, the deployment target defaults 9222 # to the OS version, if on x86, and 10.4, the deployment 9223 # target defaults to 10.4. Don't you love it? 9224 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 9225 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 9226 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 9227 10.[012][,.]*) 9228 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 9229 10.*) 9230 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 9231 esac 9232 ;; 9233 esac 9234 if test yes = "$lt_cv_apple_cc_single_mod"; then 9235 _lt_dar_single_mod='$single_module' 9236 fi 9237 if test yes = "$lt_cv_ld_exported_symbols_list"; then 9238 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym' 9239 else 9240 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib' 9241 fi 9242 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then 9243 _lt_dsymutil='~$DSYMUTIL $lib || :' 9244 else 9245 _lt_dsymutil= 9246 fi 9247 ;; 9248 esac 9249 9250# func_munge_path_list VARIABLE PATH 9251# ----------------------------------- 9252# VARIABLE is name of variable containing _space_ separated list of 9253# directories to be munged by the contents of PATH, which is string 9254# having a format: 9255# "DIR[:DIR]:" 9256# string "DIR[ DIR]" will be prepended to VARIABLE 9257# ":DIR[:DIR]" 9258# string "DIR[ DIR]" will be appended to VARIABLE 9259# "DIRP[:DIRP]::[DIRA:]DIRA" 9260# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 9261# "DIRA[ DIRA]" will be appended to VARIABLE 9262# "DIR[:DIR]" 9263# VARIABLE will be replaced by "DIR[ DIR]" 9264func_munge_path_list () 9265{ 9266 case x$2 in 9267 x) 9268 ;; 9269 *:) 9270 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 9271 ;; 9272 x:*) 9273 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 9274 ;; 9275 *::*) 9276 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 9277 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 9278 ;; 9279 *) 9280 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 9281 ;; 9282 esac 9283} 9284 9285{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 9286$as_echo_n "checking for ANSI C header files... " >&6; } 9287if ${ac_cv_header_stdc+:} false; then : 9288 $as_echo_n "(cached) " >&6 9289else 9290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9291/* end confdefs.h. */ 9292#include <stdlib.h> 9293#include <stdarg.h> 9294#include <string.h> 9295#include <float.h> 9296 9297int 9298main () 9299{ 9300 9301 ; 9302 return 0; 9303} 9304_ACEOF 9305if ac_fn_c_try_compile "$LINENO"; then : 9306 ac_cv_header_stdc=yes 9307else 9308 ac_cv_header_stdc=no 9309fi 9310rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9311 9312if test $ac_cv_header_stdc = yes; then 9313 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 9314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9315/* end confdefs.h. */ 9316#include <string.h> 9317 9318_ACEOF 9319if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 9320 $EGREP "memchr" >/dev/null 2>&1; then : 9321 9322else 9323 ac_cv_header_stdc=no 9324fi 9325rm -f conftest* 9326 9327fi 9328 9329if test $ac_cv_header_stdc = yes; then 9330 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 9331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9332/* end confdefs.h. */ 9333#include <stdlib.h> 9334 9335_ACEOF 9336if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 9337 $EGREP "free" >/dev/null 2>&1; then : 9338 9339else 9340 ac_cv_header_stdc=no 9341fi 9342rm -f conftest* 9343 9344fi 9345 9346if test $ac_cv_header_stdc = yes; then 9347 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 9348 if test "$cross_compiling" = yes; then : 9349 : 9350else 9351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9352/* end confdefs.h. */ 9353#include <ctype.h> 9354#include <stdlib.h> 9355#if ((' ' & 0x0FF) == 0x020) 9356# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 9357# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 9358#else 9359# define ISLOWER(c) \ 9360 (('a' <= (c) && (c) <= 'i') \ 9361 || ('j' <= (c) && (c) <= 'r') \ 9362 || ('s' <= (c) && (c) <= 'z')) 9363# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 9364#endif 9365 9366#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 9367int 9368main () 9369{ 9370 int i; 9371 for (i = 0; i < 256; i++) 9372 if (XOR (islower (i), ISLOWER (i)) 9373 || toupper (i) != TOUPPER (i)) 9374 return 2; 9375 return 0; 9376} 9377_ACEOF 9378if ac_fn_c_try_run "$LINENO"; then : 9379 9380else 9381 ac_cv_header_stdc=no 9382fi 9383rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 9384 conftest.$ac_objext conftest.beam conftest.$ac_ext 9385fi 9386 9387fi 9388fi 9389{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 9390$as_echo "$ac_cv_header_stdc" >&6; } 9391if test $ac_cv_header_stdc = yes; then 9392 9393$as_echo "#define STDC_HEADERS 1" >>confdefs.h 9394 9395fi 9396 9397# On IRIX 5.3, sys/types and inttypes.h are conflicting. 9398for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 9399 inttypes.h stdint.h unistd.h 9400do : 9401 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 9402ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 9403" 9404if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 9405 cat >>confdefs.h <<_ACEOF 9406#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 9407_ACEOF 9408 9409fi 9410 9411done 9412 9413 9414for ac_header in dlfcn.h 9415do : 9416 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 9417" 9418if test "x$ac_cv_header_dlfcn_h" = xyes; then : 9419 cat >>confdefs.h <<_ACEOF 9420#define HAVE_DLFCN_H 1 9421_ACEOF 9422 9423fi 9424 9425done 9426 9427 9428 9429 9430func_stripname_cnf () 9431{ 9432 case $2 in 9433 .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;; 9434 *) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;; 9435 esac 9436} # func_stripname_cnf 9437 9438 9439 9440 9441 9442# Set options 9443 9444 9445 9446 enable_dlopen=no 9447 9448 9449 9450 # Check whether --enable-shared was given. 9451if test "${enable_shared+set}" = set; then : 9452 enableval=$enable_shared; p=${PACKAGE-default} 9453 case $enableval in 9454 yes) enable_shared=yes ;; 9455 no) enable_shared=no ;; 9456 *) 9457 enable_shared=no 9458 # Look at the argument we got. We use all the common list separators. 9459 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 9460 for pkg in $enableval; do 9461 IFS=$lt_save_ifs 9462 if test "X$pkg" = "X$p"; then 9463 enable_shared=yes 9464 fi 9465 done 9466 IFS=$lt_save_ifs 9467 ;; 9468 esac 9469else 9470 enable_shared=yes 9471fi 9472 9473 9474 9475 9476 9477 9478 9479 9480 9481 # Check whether --enable-static was given. 9482if test "${enable_static+set}" = set; then : 9483 enableval=$enable_static; p=${PACKAGE-default} 9484 case $enableval in 9485 yes) enable_static=yes ;; 9486 no) enable_static=no ;; 9487 *) 9488 enable_static=no 9489 # Look at the argument we got. We use all the common list separators. 9490 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 9491 for pkg in $enableval; do 9492 IFS=$lt_save_ifs 9493 if test "X$pkg" = "X$p"; then 9494 enable_static=yes 9495 fi 9496 done 9497 IFS=$lt_save_ifs 9498 ;; 9499 esac 9500else 9501 enable_static=yes 9502fi 9503 9504 9505 9506 9507 9508 9509 9510 9511 9512 9513# Check whether --with-pic was given. 9514if test "${with_pic+set}" = set; then : 9515 withval=$with_pic; lt_p=${PACKAGE-default} 9516 case $withval in 9517 yes|no) pic_mode=$withval ;; 9518 *) 9519 pic_mode=default 9520 # Look at the argument we got. We use all the common list separators. 9521 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 9522 for lt_pkg in $withval; do 9523 IFS=$lt_save_ifs 9524 if test "X$lt_pkg" = "X$lt_p"; then 9525 pic_mode=yes 9526 fi 9527 done 9528 IFS=$lt_save_ifs 9529 ;; 9530 esac 9531else 9532 pic_mode=default 9533fi 9534 9535 9536 9537 9538 9539 9540 9541 9542 # Check whether --enable-fast-install was given. 9543if test "${enable_fast_install+set}" = set; then : 9544 enableval=$enable_fast_install; p=${PACKAGE-default} 9545 case $enableval in 9546 yes) enable_fast_install=yes ;; 9547 no) enable_fast_install=no ;; 9548 *) 9549 enable_fast_install=no 9550 # Look at the argument we got. We use all the common list separators. 9551 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 9552 for pkg in $enableval; do 9553 IFS=$lt_save_ifs 9554 if test "X$pkg" = "X$p"; then 9555 enable_fast_install=yes 9556 fi 9557 done 9558 IFS=$lt_save_ifs 9559 ;; 9560 esac 9561else 9562 enable_fast_install=yes 9563fi 9564 9565 9566 9567 9568 9569 9570 9571 9572 shared_archive_member_spec= 9573case $host,$enable_shared in 9574power*-*-aix[5-9]*,yes) 9575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5 9576$as_echo_n "checking which variant of shared library versioning to provide... " >&6; } 9577 9578# Check whether --with-aix-soname was given. 9579if test "${with_aix_soname+set}" = set; then : 9580 withval=$with_aix_soname; case $withval in 9581 aix|svr4|both) 9582 ;; 9583 *) 9584 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5 9585 ;; 9586 esac 9587 lt_cv_with_aix_soname=$with_aix_soname 9588else 9589 if ${lt_cv_with_aix_soname+:} false; then : 9590 $as_echo_n "(cached) " >&6 9591else 9592 lt_cv_with_aix_soname=aix 9593fi 9594 9595 with_aix_soname=$lt_cv_with_aix_soname 9596fi 9597 9598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5 9599$as_echo "$with_aix_soname" >&6; } 9600 if test aix != "$with_aix_soname"; then 9601 # For the AIX way of multilib, we name the shared archive member 9602 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', 9603 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File. 9604 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag, 9605 # the AIX toolchain works better with OBJECT_MODE set (default 32). 9606 if test 64 = "${OBJECT_MODE-32}"; then 9607 shared_archive_member_spec=shr_64 9608 else 9609 shared_archive_member_spec=shr 9610 fi 9611 fi 9612 ;; 9613*) 9614 with_aix_soname=aix 9615 ;; 9616esac 9617 9618 9619 9620 9621 9622 9623 9624 9625 9626 9627# This can be used to rebuild libtool when needed 9628LIBTOOL_DEPS=$ltmain 9629 9630# Always use our own libtool. 9631LIBTOOL='$(SHELL) $(top_builddir)/libtool' 9632 9633 9634 9635 9636 9637 9638 9639 9640 9641 9642 9643 9644 9645 9646 9647 9648 9649 9650 9651 9652 9653 9654 9655 9656 9657 9658 9659 9660 9661 9662test -z "$LN_S" && LN_S="ln -s" 9663 9664 9665 9666 9667 9668 9669 9670 9671 9672 9673 9674 9675 9676 9677if test -n "${ZSH_VERSION+set}"; then 9678 setopt NO_GLOB_SUBST 9679fi 9680 9681{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 9682$as_echo_n "checking for objdir... " >&6; } 9683if ${lt_cv_objdir+:} false; then : 9684 $as_echo_n "(cached) " >&6 9685else 9686 rm -f .libs 2>/dev/null 9687mkdir .libs 2>/dev/null 9688if test -d .libs; then 9689 lt_cv_objdir=.libs 9690else 9691 # MS-DOS does not allow filenames that begin with a dot. 9692 lt_cv_objdir=_libs 9693fi 9694rmdir .libs 2>/dev/null 9695fi 9696{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 9697$as_echo "$lt_cv_objdir" >&6; } 9698objdir=$lt_cv_objdir 9699 9700 9701 9702 9703 9704cat >>confdefs.h <<_ACEOF 9705#define LT_OBJDIR "$lt_cv_objdir/" 9706_ACEOF 9707 9708 9709 9710 9711case $host_os in 9712aix3*) 9713 # AIX sometimes has problems with the GCC collect2 program. For some 9714 # reason, if we set the COLLECT_NAMES environment variable, the problems 9715 # vanish in a puff of smoke. 9716 if test set != "${COLLECT_NAMES+set}"; then 9717 COLLECT_NAMES= 9718 export COLLECT_NAMES 9719 fi 9720 ;; 9721esac 9722 9723# Global variables: 9724ofile=libtool 9725can_build_shared=yes 9726 9727# All known linkers require a '.a' archive for static linking (except MSVC, 9728# which needs '.lib'). 9729libext=a 9730 9731with_gnu_ld=$lt_cv_prog_gnu_ld 9732 9733old_CC=$CC 9734old_CFLAGS=$CFLAGS 9735 9736# Set sane defaults for various variables 9737test -z "$CC" && CC=cc 9738test -z "$LTCC" && LTCC=$CC 9739test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 9740test -z "$LD" && LD=ld 9741test -z "$ac_objext" && ac_objext=o 9742 9743func_cc_basename $compiler 9744cc_basename=$func_cc_basename_result 9745 9746 9747# Only perform the check for file, if the check method requires it 9748test -z "$MAGIC_CMD" && MAGIC_CMD=file 9749case $deplibs_check_method in 9750file_magic*) 9751 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 9752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 9753$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 9754if ${lt_cv_path_MAGIC_CMD+:} false; then : 9755 $as_echo_n "(cached) " >&6 9756else 9757 case $MAGIC_CMD in 9758[\\/*] | ?:[\\/]*) 9759 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 9760 ;; 9761*) 9762 lt_save_MAGIC_CMD=$MAGIC_CMD 9763 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 9764 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 9765 for ac_dir in $ac_dummy; do 9766 IFS=$lt_save_ifs 9767 test -z "$ac_dir" && ac_dir=. 9768 if test -f "$ac_dir/${ac_tool_prefix}file"; then 9769 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file" 9770 if test -n "$file_magic_test_file"; then 9771 case $deplibs_check_method in 9772 "file_magic "*) 9773 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 9774 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 9775 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 9776 $EGREP "$file_magic_regex" > /dev/null; then 9777 : 9778 else 9779 cat <<_LT_EOF 1>&2 9780 9781*** Warning: the command libtool uses to detect shared libraries, 9782*** $file_magic_cmd, produces output that libtool cannot recognize. 9783*** The result is that libtool may fail to recognize shared libraries 9784*** as such. This will affect the creation of libtool libraries that 9785*** depend on shared libraries, but programs linked with such libtool 9786*** libraries will work regardless of this problem. Nevertheless, you 9787*** may want to report the problem to your system manager and/or to 9788*** bug-libtool@gnu.org 9789 9790_LT_EOF 9791 fi ;; 9792 esac 9793 fi 9794 break 9795 fi 9796 done 9797 IFS=$lt_save_ifs 9798 MAGIC_CMD=$lt_save_MAGIC_CMD 9799 ;; 9800esac 9801fi 9802 9803MAGIC_CMD=$lt_cv_path_MAGIC_CMD 9804if test -n "$MAGIC_CMD"; then 9805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 9806$as_echo "$MAGIC_CMD" >&6; } 9807else 9808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9809$as_echo "no" >&6; } 9810fi 9811 9812 9813 9814 9815 9816if test -z "$lt_cv_path_MAGIC_CMD"; then 9817 if test -n "$ac_tool_prefix"; then 9818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 9819$as_echo_n "checking for file... " >&6; } 9820if ${lt_cv_path_MAGIC_CMD+:} false; then : 9821 $as_echo_n "(cached) " >&6 9822else 9823 case $MAGIC_CMD in 9824[\\/*] | ?:[\\/]*) 9825 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 9826 ;; 9827*) 9828 lt_save_MAGIC_CMD=$MAGIC_CMD 9829 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 9830 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 9831 for ac_dir in $ac_dummy; do 9832 IFS=$lt_save_ifs 9833 test -z "$ac_dir" && ac_dir=. 9834 if test -f "$ac_dir/file"; then 9835 lt_cv_path_MAGIC_CMD=$ac_dir/"file" 9836 if test -n "$file_magic_test_file"; then 9837 case $deplibs_check_method in 9838 "file_magic "*) 9839 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 9840 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 9841 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 9842 $EGREP "$file_magic_regex" > /dev/null; then 9843 : 9844 else 9845 cat <<_LT_EOF 1>&2 9846 9847*** Warning: the command libtool uses to detect shared libraries, 9848*** $file_magic_cmd, produces output that libtool cannot recognize. 9849*** The result is that libtool may fail to recognize shared libraries 9850*** as such. This will affect the creation of libtool libraries that 9851*** depend on shared libraries, but programs linked with such libtool 9852*** libraries will work regardless of this problem. Nevertheless, you 9853*** may want to report the problem to your system manager and/or to 9854*** bug-libtool@gnu.org 9855 9856_LT_EOF 9857 fi ;; 9858 esac 9859 fi 9860 break 9861 fi 9862 done 9863 IFS=$lt_save_ifs 9864 MAGIC_CMD=$lt_save_MAGIC_CMD 9865 ;; 9866esac 9867fi 9868 9869MAGIC_CMD=$lt_cv_path_MAGIC_CMD 9870if test -n "$MAGIC_CMD"; then 9871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 9872$as_echo "$MAGIC_CMD" >&6; } 9873else 9874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9875$as_echo "no" >&6; } 9876fi 9877 9878 9879 else 9880 MAGIC_CMD=: 9881 fi 9882fi 9883 9884 fi 9885 ;; 9886esac 9887 9888# Use C for the default configuration in the libtool script 9889 9890lt_save_CC=$CC 9891ac_ext=c 9892ac_cpp='$CPP $CPPFLAGS' 9893ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 9894ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 9895ac_compiler_gnu=$ac_cv_c_compiler_gnu 9896 9897 9898# Source file extension for C test sources. 9899ac_ext=c 9900 9901# Object file extension for compiled C test sources. 9902objext=o 9903objext=$objext 9904 9905# Code to be used in simple compile tests 9906lt_simple_compile_test_code="int some_variable = 0;" 9907 9908# Code to be used in simple link tests 9909lt_simple_link_test_code='int main(){return(0);}' 9910 9911 9912 9913 9914 9915 9916 9917# If no C compiler was specified, use CC. 9918LTCC=${LTCC-"$CC"} 9919 9920# If no C compiler flags were specified, use CFLAGS. 9921LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 9922 9923# Allow CC to be a program name with arguments. 9924compiler=$CC 9925 9926# Save the default compiler, since it gets overwritten when the other 9927# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 9928compiler_DEFAULT=$CC 9929 9930# save warnings/boilerplate of simple test code 9931ac_outfile=conftest.$ac_objext 9932echo "$lt_simple_compile_test_code" >conftest.$ac_ext 9933eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 9934_lt_compiler_boilerplate=`cat conftest.err` 9935$RM conftest* 9936 9937ac_outfile=conftest.$ac_objext 9938echo "$lt_simple_link_test_code" >conftest.$ac_ext 9939eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 9940_lt_linker_boilerplate=`cat conftest.err` 9941$RM -r conftest* 9942 9943 9944## CAVEAT EMPTOR: 9945## There is no encapsulation within the following macros, do not change 9946## the running order or otherwise move them around unless you know exactly 9947## what you are doing... 9948if test -n "$compiler"; then 9949 9950lt_prog_compiler_no_builtin_flag= 9951 9952if test yes = "$GCC"; then 9953 case $cc_basename in 9954 nvcc*) 9955 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 9956 *) 9957 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 9958 esac 9959 9960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 9961$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 9962if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 9963 $as_echo_n "(cached) " >&6 9964else 9965 lt_cv_prog_compiler_rtti_exceptions=no 9966 ac_outfile=conftest.$ac_objext 9967 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9968 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment 9969 # Insert the option either (1) after the last *FLAGS variable, or 9970 # (2) before a word containing "conftest.", or (3) at the end. 9971 # Note that $ac_compile itself does not contain backslashes and begins 9972 # with a dollar sign (not a hyphen), so the echo should work correctly. 9973 # The option is referenced via a variable to avoid confusing sed. 9974 lt_compile=`echo "$ac_compile" | $SED \ 9975 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9976 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9977 -e 's:$: $lt_compiler_flag:'` 9978 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9979 (eval "$lt_compile" 2>conftest.err) 9980 ac_status=$? 9981 cat conftest.err >&5 9982 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9983 if (exit $ac_status) && test -s "$ac_outfile"; then 9984 # The compiler can only warn and ignore the option if not recognized 9985 # So say no if there are warnings other than the usual output. 9986 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 9987 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9988 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 9989 lt_cv_prog_compiler_rtti_exceptions=yes 9990 fi 9991 fi 9992 $RM conftest* 9993 9994fi 9995{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 9996$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 9997 9998if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then 9999 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 10000else 10001 : 10002fi 10003 10004fi 10005 10006 10007 10008 10009 10010 10011 lt_prog_compiler_wl= 10012lt_prog_compiler_pic= 10013lt_prog_compiler_static= 10014 10015 10016 if test yes = "$GCC"; then 10017 lt_prog_compiler_wl='-Wl,' 10018 lt_prog_compiler_static='-static' 10019 10020 case $host_os in 10021 aix*) 10022 # All AIX code is PIC. 10023 if test ia64 = "$host_cpu"; then 10024 # AIX 5 now supports IA64 processor 10025 lt_prog_compiler_static='-Bstatic' 10026 fi 10027 lt_prog_compiler_pic='-fPIC' 10028 ;; 10029 10030 amigaos*) 10031 case $host_cpu in 10032 powerpc) 10033 # see comment about AmigaOS4 .so support 10034 lt_prog_compiler_pic='-fPIC' 10035 ;; 10036 m68k) 10037 # FIXME: we need at least 68020 code to build shared libraries, but 10038 # adding the '-m68020' flag to GCC prevents building anything better, 10039 # like '-m68040'. 10040 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 10041 ;; 10042 esac 10043 ;; 10044 10045 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 10046 # PIC is the default for these OSes. 10047 ;; 10048 10049 mingw* | cygwin* | pw32* | os2* | cegcc*) 10050 # This hack is so that the source file can tell whether it is being 10051 # built for inclusion in a dll (and should export symbols for example). 10052 # Although the cygwin gcc ignores -fPIC, still need this for old-style 10053 # (--disable-auto-import) libraries 10054 lt_prog_compiler_pic='-DDLL_EXPORT' 10055 case $host_os in 10056 os2*) 10057 lt_prog_compiler_static='$wl-static' 10058 ;; 10059 esac 10060 ;; 10061 10062 darwin* | rhapsody*) 10063 # PIC is the default on this platform 10064 # Common symbols not allowed in MH_DYLIB files 10065 lt_prog_compiler_pic='-fno-common' 10066 ;; 10067 10068 haiku*) 10069 # PIC is the default for Haiku. 10070 # The "-static" flag exists, but is broken. 10071 lt_prog_compiler_static= 10072 ;; 10073 10074 hpux*) 10075 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 10076 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 10077 # sets the default TLS model and affects inlining. 10078 case $host_cpu in 10079 hppa*64*) 10080 # +Z the default 10081 ;; 10082 *) 10083 lt_prog_compiler_pic='-fPIC' 10084 ;; 10085 esac 10086 ;; 10087 10088 interix[3-9]*) 10089 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 10090 # Instead, we relocate shared libraries at runtime. 10091 ;; 10092 10093 msdosdjgpp*) 10094 # Just because we use GCC doesn't mean we suddenly get shared libraries 10095 # on systems that don't support them. 10096 lt_prog_compiler_can_build_shared=no 10097 enable_shared=no 10098 ;; 10099 10100 *nto* | *qnx*) 10101 # QNX uses GNU C++, but need to define -shared option too, otherwise 10102 # it will coredump. 10103 lt_prog_compiler_pic='-fPIC -shared' 10104 ;; 10105 10106 sysv4*MP*) 10107 if test -d /usr/nec; then 10108 lt_prog_compiler_pic=-Kconform_pic 10109 fi 10110 ;; 10111 10112 *) 10113 lt_prog_compiler_pic='-fPIC' 10114 ;; 10115 esac 10116 10117 case $cc_basename in 10118 nvcc*) # Cuda Compiler Driver 2.2 10119 lt_prog_compiler_wl='-Xlinker ' 10120 if test -n "$lt_prog_compiler_pic"; then 10121 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" 10122 fi 10123 ;; 10124 esac 10125 else 10126 # PORTME Check for flag to pass linker flags through the system compiler. 10127 case $host_os in 10128 aix*) 10129 lt_prog_compiler_wl='-Wl,' 10130 if test ia64 = "$host_cpu"; then 10131 # AIX 5 now supports IA64 processor 10132 lt_prog_compiler_static='-Bstatic' 10133 else 10134 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 10135 fi 10136 ;; 10137 10138 darwin* | rhapsody*) 10139 # PIC is the default on this platform 10140 # Common symbols not allowed in MH_DYLIB files 10141 lt_prog_compiler_pic='-fno-common' 10142 case $cc_basename in 10143 nagfor*) 10144 # NAG Fortran compiler 10145 lt_prog_compiler_wl='-Wl,-Wl,,' 10146 lt_prog_compiler_pic='-PIC' 10147 lt_prog_compiler_static='-Bstatic' 10148 ;; 10149 esac 10150 ;; 10151 10152 mingw* | cygwin* | pw32* | os2* | cegcc*) 10153 # This hack is so that the source file can tell whether it is being 10154 # built for inclusion in a dll (and should export symbols for example). 10155 lt_prog_compiler_pic='-DDLL_EXPORT' 10156 case $host_os in 10157 os2*) 10158 lt_prog_compiler_static='$wl-static' 10159 ;; 10160 esac 10161 ;; 10162 10163 hpux9* | hpux10* | hpux11*) 10164 lt_prog_compiler_wl='-Wl,' 10165 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 10166 # not for PA HP-UX. 10167 case $host_cpu in 10168 hppa*64*|ia64*) 10169 # +Z the default 10170 ;; 10171 *) 10172 lt_prog_compiler_pic='+Z' 10173 ;; 10174 esac 10175 # Is there a better lt_prog_compiler_static that works with the bundled CC? 10176 lt_prog_compiler_static='$wl-a ${wl}archive' 10177 ;; 10178 10179 irix5* | irix6* | nonstopux*) 10180 lt_prog_compiler_wl='-Wl,' 10181 # PIC (with -KPIC) is the default. 10182 lt_prog_compiler_static='-non_shared' 10183 ;; 10184 10185 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 10186 case $cc_basename in 10187 # old Intel for x86_64, which still supported -KPIC. 10188 ecc*) 10189 lt_prog_compiler_wl='-Wl,' 10190 lt_prog_compiler_pic='-KPIC' 10191 lt_prog_compiler_static='-static' 10192 ;; 10193 # icc used to be incompatible with GCC. 10194 # ICC 10 doesn't accept -KPIC any more. 10195 icc* | ifort*) 10196 lt_prog_compiler_wl='-Wl,' 10197 lt_prog_compiler_pic='-fPIC' 10198 lt_prog_compiler_static='-static' 10199 ;; 10200 # Lahey Fortran 8.1. 10201 lf95*) 10202 lt_prog_compiler_wl='-Wl,' 10203 lt_prog_compiler_pic='--shared' 10204 lt_prog_compiler_static='--static' 10205 ;; 10206 nagfor*) 10207 # NAG Fortran compiler 10208 lt_prog_compiler_wl='-Wl,-Wl,,' 10209 lt_prog_compiler_pic='-PIC' 10210 lt_prog_compiler_static='-Bstatic' 10211 ;; 10212 tcc*) 10213 # Fabrice Bellard et al's Tiny C Compiler 10214 lt_prog_compiler_wl='-Wl,' 10215 lt_prog_compiler_pic='-fPIC' 10216 lt_prog_compiler_static='-static' 10217 ;; 10218 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 10219 # Portland Group compilers (*not* the Pentium gcc compiler, 10220 # which looks to be a dead project) 10221 lt_prog_compiler_wl='-Wl,' 10222 lt_prog_compiler_pic='-fpic' 10223 lt_prog_compiler_static='-Bstatic' 10224 ;; 10225 ccc*) 10226 lt_prog_compiler_wl='-Wl,' 10227 # All Alpha code is PIC. 10228 lt_prog_compiler_static='-non_shared' 10229 ;; 10230 xl* | bgxl* | bgf* | mpixl*) 10231 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 10232 lt_prog_compiler_wl='-Wl,' 10233 lt_prog_compiler_pic='-qpic' 10234 lt_prog_compiler_static='-qstaticlink' 10235 ;; 10236 *) 10237 case `$CC -V 2>&1 | sed 5q` in 10238 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) 10239 # Sun Fortran 8.3 passes all unrecognized flags to the linker 10240 lt_prog_compiler_pic='-KPIC' 10241 lt_prog_compiler_static='-Bstatic' 10242 lt_prog_compiler_wl='' 10243 ;; 10244 *Sun\ F* | *Sun*Fortran*) 10245 lt_prog_compiler_pic='-KPIC' 10246 lt_prog_compiler_static='-Bstatic' 10247 lt_prog_compiler_wl='-Qoption ld ' 10248 ;; 10249 *Sun\ C*) 10250 # Sun C 5.9 10251 lt_prog_compiler_pic='-KPIC' 10252 lt_prog_compiler_static='-Bstatic' 10253 lt_prog_compiler_wl='-Wl,' 10254 ;; 10255 *Intel*\ [CF]*Compiler*) 10256 lt_prog_compiler_wl='-Wl,' 10257 lt_prog_compiler_pic='-fPIC' 10258 lt_prog_compiler_static='-static' 10259 ;; 10260 *Portland\ Group*) 10261 lt_prog_compiler_wl='-Wl,' 10262 lt_prog_compiler_pic='-fpic' 10263 lt_prog_compiler_static='-Bstatic' 10264 ;; 10265 esac 10266 ;; 10267 esac 10268 ;; 10269 10270 newsos6) 10271 lt_prog_compiler_pic='-KPIC' 10272 lt_prog_compiler_static='-Bstatic' 10273 ;; 10274 10275 *nto* | *qnx*) 10276 # QNX uses GNU C++, but need to define -shared option too, otherwise 10277 # it will coredump. 10278 lt_prog_compiler_pic='-fPIC -shared' 10279 ;; 10280 10281 osf3* | osf4* | osf5*) 10282 lt_prog_compiler_wl='-Wl,' 10283 # All OSF/1 code is PIC. 10284 lt_prog_compiler_static='-non_shared' 10285 ;; 10286 10287 rdos*) 10288 lt_prog_compiler_static='-non_shared' 10289 ;; 10290 10291 solaris*) 10292 lt_prog_compiler_pic='-KPIC' 10293 lt_prog_compiler_static='-Bstatic' 10294 case $cc_basename in 10295 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 10296 lt_prog_compiler_wl='-Qoption ld ';; 10297 *) 10298 lt_prog_compiler_wl='-Wl,';; 10299 esac 10300 ;; 10301 10302 sunos4*) 10303 lt_prog_compiler_wl='-Qoption ld ' 10304 lt_prog_compiler_pic='-PIC' 10305 lt_prog_compiler_static='-Bstatic' 10306 ;; 10307 10308 sysv4 | sysv4.2uw2* | sysv4.3*) 10309 lt_prog_compiler_wl='-Wl,' 10310 lt_prog_compiler_pic='-KPIC' 10311 lt_prog_compiler_static='-Bstatic' 10312 ;; 10313 10314 sysv4*MP*) 10315 if test -d /usr/nec; then 10316 lt_prog_compiler_pic='-Kconform_pic' 10317 lt_prog_compiler_static='-Bstatic' 10318 fi 10319 ;; 10320 10321 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 10322 lt_prog_compiler_wl='-Wl,' 10323 lt_prog_compiler_pic='-KPIC' 10324 lt_prog_compiler_static='-Bstatic' 10325 ;; 10326 10327 unicos*) 10328 lt_prog_compiler_wl='-Wl,' 10329 lt_prog_compiler_can_build_shared=no 10330 ;; 10331 10332 uts4*) 10333 lt_prog_compiler_pic='-pic' 10334 lt_prog_compiler_static='-Bstatic' 10335 ;; 10336 10337 *) 10338 lt_prog_compiler_can_build_shared=no 10339 ;; 10340 esac 10341 fi 10342 10343case $host_os in 10344 # For platforms that do not support PIC, -DPIC is meaningless: 10345 *djgpp*) 10346 lt_prog_compiler_pic= 10347 ;; 10348 *) 10349 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 10350 ;; 10351esac 10352 10353{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 10354$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 10355if ${lt_cv_prog_compiler_pic+:} false; then : 10356 $as_echo_n "(cached) " >&6 10357else 10358 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 10359fi 10360{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 10361$as_echo "$lt_cv_prog_compiler_pic" >&6; } 10362lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 10363 10364# 10365# Check to make sure the PIC flag actually works. 10366# 10367if test -n "$lt_prog_compiler_pic"; then 10368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 10369$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 10370if ${lt_cv_prog_compiler_pic_works+:} false; then : 10371 $as_echo_n "(cached) " >&6 10372else 10373 lt_cv_prog_compiler_pic_works=no 10374 ac_outfile=conftest.$ac_objext 10375 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10376 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment 10377 # Insert the option either (1) after the last *FLAGS variable, or 10378 # (2) before a word containing "conftest.", or (3) at the end. 10379 # Note that $ac_compile itself does not contain backslashes and begins 10380 # with a dollar sign (not a hyphen), so the echo should work correctly. 10381 # The option is referenced via a variable to avoid confusing sed. 10382 lt_compile=`echo "$ac_compile" | $SED \ 10383 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 10384 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 10385 -e 's:$: $lt_compiler_flag:'` 10386 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 10387 (eval "$lt_compile" 2>conftest.err) 10388 ac_status=$? 10389 cat conftest.err >&5 10390 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10391 if (exit $ac_status) && test -s "$ac_outfile"; then 10392 # The compiler can only warn and ignore the option if not recognized 10393 # So say no if there are warnings other than the usual output. 10394 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 10395 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 10396 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 10397 lt_cv_prog_compiler_pic_works=yes 10398 fi 10399 fi 10400 $RM conftest* 10401 10402fi 10403{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 10404$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 10405 10406if test yes = "$lt_cv_prog_compiler_pic_works"; then 10407 case $lt_prog_compiler_pic in 10408 "" | " "*) ;; 10409 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 10410 esac 10411else 10412 lt_prog_compiler_pic= 10413 lt_prog_compiler_can_build_shared=no 10414fi 10415 10416fi 10417 10418 10419 10420 10421 10422 10423 10424 10425 10426 10427 10428# 10429# Check to make sure the static flag actually works. 10430# 10431wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 10432{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 10433$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 10434if ${lt_cv_prog_compiler_static_works+:} false; then : 10435 $as_echo_n "(cached) " >&6 10436else 10437 lt_cv_prog_compiler_static_works=no 10438 save_LDFLAGS=$LDFLAGS 10439 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 10440 echo "$lt_simple_link_test_code" > conftest.$ac_ext 10441 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 10442 # The linker can only warn and ignore the option if not recognized 10443 # So say no if there are warnings 10444 if test -s conftest.err; then 10445 # Append any errors to the config.log. 10446 cat conftest.err 1>&5 10447 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 10448 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 10449 if diff conftest.exp conftest.er2 >/dev/null; then 10450 lt_cv_prog_compiler_static_works=yes 10451 fi 10452 else 10453 lt_cv_prog_compiler_static_works=yes 10454 fi 10455 fi 10456 $RM -r conftest* 10457 LDFLAGS=$save_LDFLAGS 10458 10459fi 10460{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 10461$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 10462 10463if test yes = "$lt_cv_prog_compiler_static_works"; then 10464 : 10465else 10466 lt_prog_compiler_static= 10467fi 10468 10469 10470 10471 10472 10473 10474 10475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 10476$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 10477if ${lt_cv_prog_compiler_c_o+:} false; then : 10478 $as_echo_n "(cached) " >&6 10479else 10480 lt_cv_prog_compiler_c_o=no 10481 $RM -r conftest 2>/dev/null 10482 mkdir conftest 10483 cd conftest 10484 mkdir out 10485 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10486 10487 lt_compiler_flag="-o out/conftest2.$ac_objext" 10488 # Insert the option either (1) after the last *FLAGS variable, or 10489 # (2) before a word containing "conftest.", or (3) at the end. 10490 # Note that $ac_compile itself does not contain backslashes and begins 10491 # with a dollar sign (not a hyphen), so the echo should work correctly. 10492 lt_compile=`echo "$ac_compile" | $SED \ 10493 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 10494 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 10495 -e 's:$: $lt_compiler_flag:'` 10496 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 10497 (eval "$lt_compile" 2>out/conftest.err) 10498 ac_status=$? 10499 cat out/conftest.err >&5 10500 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10501 if (exit $ac_status) && test -s out/conftest2.$ac_objext 10502 then 10503 # The compiler can only warn and ignore the option if not recognized 10504 # So say no if there are warnings 10505 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 10506 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 10507 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 10508 lt_cv_prog_compiler_c_o=yes 10509 fi 10510 fi 10511 chmod u+w . 2>&5 10512 $RM conftest* 10513 # SGI C++ compiler will create directory out/ii_files/ for 10514 # template instantiation 10515 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 10516 $RM out/* && rmdir out 10517 cd .. 10518 $RM -r conftest 10519 $RM conftest* 10520 10521fi 10522{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 10523$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 10524 10525 10526 10527 10528 10529 10530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 10531$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 10532if ${lt_cv_prog_compiler_c_o+:} false; then : 10533 $as_echo_n "(cached) " >&6 10534else 10535 lt_cv_prog_compiler_c_o=no 10536 $RM -r conftest 2>/dev/null 10537 mkdir conftest 10538 cd conftest 10539 mkdir out 10540 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10541 10542 lt_compiler_flag="-o out/conftest2.$ac_objext" 10543 # Insert the option either (1) after the last *FLAGS variable, or 10544 # (2) before a word containing "conftest.", or (3) at the end. 10545 # Note that $ac_compile itself does not contain backslashes and begins 10546 # with a dollar sign (not a hyphen), so the echo should work correctly. 10547 lt_compile=`echo "$ac_compile" | $SED \ 10548 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 10549 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 10550 -e 's:$: $lt_compiler_flag:'` 10551 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 10552 (eval "$lt_compile" 2>out/conftest.err) 10553 ac_status=$? 10554 cat out/conftest.err >&5 10555 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10556 if (exit $ac_status) && test -s out/conftest2.$ac_objext 10557 then 10558 # The compiler can only warn and ignore the option if not recognized 10559 # So say no if there are warnings 10560 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 10561 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 10562 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 10563 lt_cv_prog_compiler_c_o=yes 10564 fi 10565 fi 10566 chmod u+w . 2>&5 10567 $RM conftest* 10568 # SGI C++ compiler will create directory out/ii_files/ for 10569 # template instantiation 10570 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 10571 $RM out/* && rmdir out 10572 cd .. 10573 $RM -r conftest 10574 $RM conftest* 10575 10576fi 10577{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 10578$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 10579 10580 10581 10582 10583hard_links=nottested 10584if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then 10585 # do not overwrite the value of need_locks provided by the user 10586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 10587$as_echo_n "checking if we can lock with hard links... " >&6; } 10588 hard_links=yes 10589 $RM conftest* 10590 ln conftest.a conftest.b 2>/dev/null && hard_links=no 10591 touch conftest.a 10592 ln conftest.a conftest.b 2>&5 || hard_links=no 10593 ln conftest.a conftest.b 2>/dev/null && hard_links=no 10594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 10595$as_echo "$hard_links" >&6; } 10596 if test no = "$hard_links"; then 10597 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 10598$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} 10599 need_locks=warn 10600 fi 10601else 10602 need_locks=no 10603fi 10604 10605 10606 10607 10608 10609 10610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 10611$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 10612 10613 runpath_var= 10614 allow_undefined_flag= 10615 always_export_symbols=no 10616 archive_cmds= 10617 archive_expsym_cmds= 10618 compiler_needs_object=no 10619 enable_shared_with_static_runtimes=no 10620 export_dynamic_flag_spec= 10621 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 10622 hardcode_automatic=no 10623 hardcode_direct=no 10624 hardcode_direct_absolute=no 10625 hardcode_libdir_flag_spec= 10626 hardcode_libdir_separator= 10627 hardcode_minus_L=no 10628 hardcode_shlibpath_var=unsupported 10629 inherit_rpath=no 10630 link_all_deplibs=unknown 10631 module_cmds= 10632 module_expsym_cmds= 10633 old_archive_from_new_cmds= 10634 old_archive_from_expsyms_cmds= 10635 thread_safe_flag_spec= 10636 whole_archive_flag_spec= 10637 # include_expsyms should be a list of space-separated symbols to be *always* 10638 # included in the symbol list 10639 include_expsyms= 10640 # exclude_expsyms can be an extended regexp of symbols to exclude 10641 # it will be wrapped by ' (' and ')$', so one must not match beginning or 10642 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc', 10643 # as well as any symbol that contains 'd'. 10644 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 10645 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 10646 # platforms (ab)use it in PIC code, but their linkers get confused if 10647 # the symbol is explicitly referenced. Since portable code cannot 10648 # rely on this symbol name, it's probably fine to never include it in 10649 # preloaded symbol tables. 10650 # Exclude shared library initialization/finalization symbols. 10651 extract_expsyms_cmds= 10652 10653 case $host_os in 10654 cygwin* | mingw* | pw32* | cegcc*) 10655 # FIXME: the MSVC++ port hasn't been tested in a loooong time 10656 # When not using gcc, we currently assume that we are using 10657 # Microsoft Visual C++. 10658 if test yes != "$GCC"; then 10659 with_gnu_ld=no 10660 fi 10661 ;; 10662 interix*) 10663 # we just hope/assume this is gcc and not c89 (= MSVC++) 10664 with_gnu_ld=yes 10665 ;; 10666 openbsd* | bitrig*) 10667 with_gnu_ld=no 10668 ;; 10669 esac 10670 10671 ld_shlibs=yes 10672 10673 # On some targets, GNU ld is compatible enough with the native linker 10674 # that we're better off using the native interface for both. 10675 lt_use_gnu_ld_interface=no 10676 if test yes = "$with_gnu_ld"; then 10677 case $host_os in 10678 aix*) 10679 # The AIX port of GNU ld has always aspired to compatibility 10680 # with the native linker. However, as the warning in the GNU ld 10681 # block says, versions before 2.19.5* couldn't really create working 10682 # shared libraries, regardless of the interface used. 10683 case `$LD -v 2>&1` in 10684 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 10685 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 10686 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 10687 *) 10688 lt_use_gnu_ld_interface=yes 10689 ;; 10690 esac 10691 ;; 10692 *) 10693 lt_use_gnu_ld_interface=yes 10694 ;; 10695 esac 10696 fi 10697 10698 if test yes = "$lt_use_gnu_ld_interface"; then 10699 # If archive_cmds runs LD, not CC, wlarc should be empty 10700 wlarc='$wl' 10701 10702 # Set some defaults for GNU ld with shared library support. These 10703 # are reset later if shared libraries are not supported. Putting them 10704 # here allows them to be overridden if necessary. 10705 runpath_var=LD_RUN_PATH 10706 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10707 export_dynamic_flag_spec='$wl--export-dynamic' 10708 # ancient GNU ld didn't support --whole-archive et. al. 10709 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 10710 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 10711 else 10712 whole_archive_flag_spec= 10713 fi 10714 supports_anon_versioning=no 10715 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in 10716 *GNU\ gold*) supports_anon_versioning=yes ;; 10717 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 10718 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 10719 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 10720 *\ 2.11.*) ;; # other 2.11 versions 10721 *) supports_anon_versioning=yes ;; 10722 esac 10723 10724 # See if GNU ld supports shared libraries. 10725 case $host_os in 10726 aix[3-9]*) 10727 # On AIX/PPC, the GNU linker is very broken 10728 if test ia64 != "$host_cpu"; then 10729 ld_shlibs=no 10730 cat <<_LT_EOF 1>&2 10731 10732*** Warning: the GNU linker, at least up to release 2.19, is reported 10733*** to be unable to reliably create shared libraries on AIX. 10734*** Therefore, libtool is disabling shared libraries support. If you 10735*** really care for shared libraries, you may want to install binutils 10736*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 10737*** You will then need to restart the configuration process. 10738 10739_LT_EOF 10740 fi 10741 ;; 10742 10743 amigaos*) 10744 case $host_cpu in 10745 powerpc) 10746 # see comment about AmigaOS4 .so support 10747 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10748 archive_expsym_cmds='' 10749 ;; 10750 m68k) 10751 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)' 10752 hardcode_libdir_flag_spec='-L$libdir' 10753 hardcode_minus_L=yes 10754 ;; 10755 esac 10756 ;; 10757 10758 beos*) 10759 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10760 allow_undefined_flag=unsupported 10761 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 10762 # support --undefined. This deserves some investigation. FIXME 10763 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10764 else 10765 ld_shlibs=no 10766 fi 10767 ;; 10768 10769 cygwin* | mingw* | pw32* | cegcc*) 10770 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 10771 # as there is no search path for DLLs. 10772 hardcode_libdir_flag_spec='-L$libdir' 10773 export_dynamic_flag_spec='$wl--export-all-symbols' 10774 allow_undefined_flag=unsupported 10775 always_export_symbols=no 10776 enable_shared_with_static_runtimes=yes 10777 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' 10778 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 10779 10780 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 10781 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 10782 # If the export-symbols file already is a .def file, use it as 10783 # is; otherwise, prepend EXPORTS... 10784 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 10785 cp $export_symbols $output_objdir/$soname.def; 10786 else 10787 echo EXPORTS > $output_objdir/$soname.def; 10788 cat $export_symbols >> $output_objdir/$soname.def; 10789 fi~ 10790 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 10791 else 10792 ld_shlibs=no 10793 fi 10794 ;; 10795 10796 haiku*) 10797 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10798 link_all_deplibs=yes 10799 ;; 10800 10801 os2*) 10802 hardcode_libdir_flag_spec='-L$libdir' 10803 hardcode_minus_L=yes 10804 allow_undefined_flag=unsupported 10805 shrext_cmds=.dll 10806 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10807 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10808 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10809 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10810 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 10811 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10812 emximp -o $lib $output_objdir/$libname.def' 10813 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10814 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10815 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10816 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10817 prefix_cmds="$SED"~ 10818 if test EXPORTS = "`$SED 1q $export_symbols`"; then 10819 prefix_cmds="$prefix_cmds -e 1d"; 10820 fi~ 10821 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 10822 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 10823 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10824 emximp -o $lib $output_objdir/$libname.def' 10825 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 10826 enable_shared_with_static_runtimes=yes 10827 ;; 10828 10829 interix[3-9]*) 10830 hardcode_direct=no 10831 hardcode_shlibpath_var=no 10832 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 10833 export_dynamic_flag_spec='$wl-E' 10834 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 10835 # Instead, shared libraries are loaded at an image base (0x10000000 by 10836 # default) and relocated if they conflict, which is a slow very memory 10837 # consuming and fragmenting process. To avoid this, we pick a random, 10838 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 10839 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 10840 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 10841 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' 10842 ;; 10843 10844 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 10845 tmp_diet=no 10846 if test linux-dietlibc = "$host_os"; then 10847 case $cc_basename in 10848 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 10849 esac 10850 fi 10851 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 10852 && test no = "$tmp_diet" 10853 then 10854 tmp_addflag=' $pic_flag' 10855 tmp_sharedflag='-shared' 10856 case $cc_basename,$host_cpu in 10857 pgcc*) # Portland Group C compiler 10858 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' 10859 tmp_addflag=' $pic_flag' 10860 ;; 10861 pgf77* | pgf90* | pgf95* | pgfortran*) 10862 # Portland Group f77 and f90 compilers 10863 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' 10864 tmp_addflag=' $pic_flag -Mnomain' ;; 10865 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 10866 tmp_addflag=' -i_dynamic' ;; 10867 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 10868 tmp_addflag=' -i_dynamic -nofor_main' ;; 10869 ifc* | ifort*) # Intel Fortran compiler 10870 tmp_addflag=' -nofor_main' ;; 10871 lf95*) # Lahey Fortran 8.1 10872 whole_archive_flag_spec= 10873 tmp_sharedflag='--shared' ;; 10874 nagfor*) # NAGFOR 5.3 10875 tmp_sharedflag='-Wl,-shared' ;; 10876 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 10877 tmp_sharedflag='-qmkshrobj' 10878 tmp_addflag= ;; 10879 nvcc*) # Cuda Compiler Driver 2.2 10880 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' 10881 compiler_needs_object=yes 10882 ;; 10883 esac 10884 case `$CC -V 2>&1 | sed 5q` in 10885 *Sun\ C*) # Sun C 5.9 10886 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' 10887 compiler_needs_object=yes 10888 tmp_sharedflag='-G' ;; 10889 *Sun\ F*) # Sun Fortran 8.3 10890 tmp_sharedflag='-G' ;; 10891 esac 10892 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10893 10894 if test yes = "$supports_anon_versioning"; then 10895 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 10896 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 10897 echo "local: *; };" >> $output_objdir/$libname.ver~ 10898 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' 10899 fi 10900 10901 case $cc_basename in 10902 tcc*) 10903 export_dynamic_flag_spec='-rdynamic' 10904 ;; 10905 xlf* | bgf* | bgxlf* | mpixlf*) 10906 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 10907 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 10908 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10909 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 10910 if test yes = "$supports_anon_versioning"; then 10911 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 10912 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 10913 echo "local: *; };" >> $output_objdir/$libname.ver~ 10914 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 10915 fi 10916 ;; 10917 esac 10918 else 10919 ld_shlibs=no 10920 fi 10921 ;; 10922 10923 netbsd*) 10924 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10925 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 10926 wlarc= 10927 else 10928 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10929 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 10930 fi 10931 ;; 10932 10933 solaris*) 10934 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 10935 ld_shlibs=no 10936 cat <<_LT_EOF 1>&2 10937 10938*** Warning: The releases 2.8.* of the GNU linker cannot reliably 10939*** create shared libraries on Solaris systems. Therefore, libtool 10940*** is disabling shared libraries support. We urge you to upgrade GNU 10941*** binutils to release 2.9.1 or newer. Another option is to modify 10942*** your PATH or compiler configuration so that the native linker is 10943*** used, and then restart. 10944 10945_LT_EOF 10946 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10947 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10948 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 10949 else 10950 ld_shlibs=no 10951 fi 10952 ;; 10953 10954 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 10955 case `$LD -v 2>&1` in 10956 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 10957 ld_shlibs=no 10958 cat <<_LT_EOF 1>&2 10959 10960*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot 10961*** reliably create shared libraries on SCO systems. Therefore, libtool 10962*** is disabling shared libraries support. We urge you to upgrade GNU 10963*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 10964*** your PATH or compiler configuration so that the native linker is 10965*** used, and then restart. 10966 10967_LT_EOF 10968 ;; 10969 *) 10970 # For security reasons, it is highly recommended that you always 10971 # use absolute paths for naming shared libraries, and exclude the 10972 # DT_RUNPATH tag from executables and libraries. But doing so 10973 # requires that you compile everything twice, which is a pain. 10974 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10975 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10976 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10977 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 10978 else 10979 ld_shlibs=no 10980 fi 10981 ;; 10982 esac 10983 ;; 10984 10985 sunos4*) 10986 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 10987 wlarc= 10988 hardcode_direct=yes 10989 hardcode_shlibpath_var=no 10990 ;; 10991 10992 *) 10993 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10994 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10995 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 10996 else 10997 ld_shlibs=no 10998 fi 10999 ;; 11000 esac 11001 11002 if test no = "$ld_shlibs"; then 11003 runpath_var= 11004 hardcode_libdir_flag_spec= 11005 export_dynamic_flag_spec= 11006 whole_archive_flag_spec= 11007 fi 11008 else 11009 # PORTME fill in a description of your system's linker (not GNU ld) 11010 case $host_os in 11011 aix3*) 11012 allow_undefined_flag=unsupported 11013 always_export_symbols=yes 11014 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' 11015 # Note: this linker hardcodes the directories in LIBPATH if there 11016 # are no directories specified by -L. 11017 hardcode_minus_L=yes 11018 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then 11019 # Neither direct hardcoding nor static linking is supported with a 11020 # broken collect2. 11021 hardcode_direct=unsupported 11022 fi 11023 ;; 11024 11025 aix[4-9]*) 11026 if test ia64 = "$host_cpu"; then 11027 # On IA64, the linker does run time linking by default, so we don't 11028 # have to do anything special. 11029 aix_use_runtimelinking=no 11030 exp_sym_flag='-Bexport' 11031 no_entry_flag= 11032 else 11033 # If we're using GNU nm, then we don't want the "-C" option. 11034 # -C means demangle to GNU nm, but means don't demangle to AIX nm. 11035 # Without the "-l" option, or with the "-B" option, AIX nm treats 11036 # weak defined symbols like other global defined symbols, whereas 11037 # GNU nm marks them as "W". 11038 # While the 'weak' keyword is ignored in the Export File, we need 11039 # it in the Import File for the 'aix-soname' feature, so we have 11040 # to replace the "-B" option with "-P" for AIX nm. 11041 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 11042 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' 11043 else 11044 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' 11045 fi 11046 aix_use_runtimelinking=no 11047 11048 # Test if we are trying to use run time linking or normal 11049 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 11050 # have runtime linking enabled, and use it for executables. 11051 # For shared libraries, we enable/disable runtime linking 11052 # depending on the kind of the shared library created - 11053 # when "with_aix_soname,aix_use_runtimelinking" is: 11054 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables 11055 # "aix,yes" lib.so shared, rtl:yes, for executables 11056 # lib.a static archive 11057 # "both,no" lib.so.V(shr.o) shared, rtl:yes 11058 # lib.a(lib.so.V) shared, rtl:no, for executables 11059 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables 11060 # lib.a(lib.so.V) shared, rtl:no 11061 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables 11062 # lib.a static archive 11063 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 11064 for ld_flag in $LDFLAGS; do 11065 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then 11066 aix_use_runtimelinking=yes 11067 break 11068 fi 11069 done 11070 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then 11071 # With aix-soname=svr4, we create the lib.so.V shared archives only, 11072 # so we don't have lib.a shared libs to link our executables. 11073 # We have to force runtime linking in this case. 11074 aix_use_runtimelinking=yes 11075 LDFLAGS="$LDFLAGS -Wl,-brtl" 11076 fi 11077 ;; 11078 esac 11079 11080 exp_sym_flag='-bexport' 11081 no_entry_flag='-bnoentry' 11082 fi 11083 11084 # When large executables or shared objects are built, AIX ld can 11085 # have problems creating the table of contents. If linking a library 11086 # or program results in "error TOC overflow" add -mminimal-toc to 11087 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 11088 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 11089 11090 archive_cmds='' 11091 hardcode_direct=yes 11092 hardcode_direct_absolute=yes 11093 hardcode_libdir_separator=':' 11094 link_all_deplibs=yes 11095 file_list_spec='$wl-f,' 11096 case $with_aix_soname,$aix_use_runtimelinking in 11097 aix,*) ;; # traditional, no import file 11098 svr4,* | *,yes) # use import file 11099 # The Import File defines what to hardcode. 11100 hardcode_direct=no 11101 hardcode_direct_absolute=no 11102 ;; 11103 esac 11104 11105 if test yes = "$GCC"; then 11106 case $host_os in aix4.[012]|aix4.[012].*) 11107 # We only want to do this on AIX 4.2 and lower, the check 11108 # below for broken collect2 doesn't work under 4.3+ 11109 collect2name=`$CC -print-prog-name=collect2` 11110 if test -f "$collect2name" && 11111 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 11112 then 11113 # We have reworked collect2 11114 : 11115 else 11116 # We have old collect2 11117 hardcode_direct=unsupported 11118 # It fails to find uninstalled libraries when the uninstalled 11119 # path is not listed in the libpath. Setting hardcode_minus_L 11120 # to unsupported forces relinking 11121 hardcode_minus_L=yes 11122 hardcode_libdir_flag_spec='-L$libdir' 11123 hardcode_libdir_separator= 11124 fi 11125 ;; 11126 esac 11127 shared_flag='-shared' 11128 if test yes = "$aix_use_runtimelinking"; then 11129 shared_flag="$shared_flag "'$wl-G' 11130 fi 11131 # Need to ensure runtime linking is disabled for the traditional 11132 # shared library, or the linker may eventually find shared libraries 11133 # /with/ Import File - we do not want to mix them. 11134 shared_flag_aix='-shared' 11135 shared_flag_svr4='-shared $wl-G' 11136 else 11137 # not using gcc 11138 if test ia64 = "$host_cpu"; then 11139 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 11140 # chokes on -Wl,-G. The following line is correct: 11141 shared_flag='-G' 11142 else 11143 if test yes = "$aix_use_runtimelinking"; then 11144 shared_flag='$wl-G' 11145 else 11146 shared_flag='$wl-bM:SRE' 11147 fi 11148 shared_flag_aix='$wl-bM:SRE' 11149 shared_flag_svr4='$wl-G' 11150 fi 11151 fi 11152 11153 export_dynamic_flag_spec='$wl-bexpall' 11154 # It seems that -bexpall does not export symbols beginning with 11155 # underscore (_), so it is better to generate a list of symbols to export. 11156 always_export_symbols=yes 11157 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then 11158 # Warning - without using the other runtime loading flags (-brtl), 11159 # -berok will link without error, but may produce a broken library. 11160 allow_undefined_flag='-berok' 11161 # Determine the default libpath from the value encoded in an 11162 # empty executable. 11163 if test set = "${lt_cv_aix_libpath+set}"; then 11164 aix_libpath=$lt_cv_aix_libpath 11165else 11166 if ${lt_cv_aix_libpath_+:} false; then : 11167 $as_echo_n "(cached) " >&6 11168else 11169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11170/* end confdefs.h. */ 11171 11172int 11173main () 11174{ 11175 11176 ; 11177 return 0; 11178} 11179_ACEOF 11180if ac_fn_c_try_link "$LINENO"; then : 11181 11182 lt_aix_libpath_sed=' 11183 /Import File Strings/,/^$/ { 11184 /^0/ { 11185 s/^0 *\([^ ]*\) *$/\1/ 11186 p 11187 } 11188 }' 11189 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 11190 # Check for a 64-bit object if we didn't find anything. 11191 if test -z "$lt_cv_aix_libpath_"; then 11192 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 11193 fi 11194fi 11195rm -f core conftest.err conftest.$ac_objext \ 11196 conftest$ac_exeext conftest.$ac_ext 11197 if test -z "$lt_cv_aix_libpath_"; then 11198 lt_cv_aix_libpath_=/usr/lib:/lib 11199 fi 11200 11201fi 11202 11203 aix_libpath=$lt_cv_aix_libpath_ 11204fi 11205 11206 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 11207 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 11208 else 11209 if test ia64 = "$host_cpu"; then 11210 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib' 11211 allow_undefined_flag="-z nodefs" 11212 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" 11213 else 11214 # Determine the default libpath from the value encoded in an 11215 # empty executable. 11216 if test set = "${lt_cv_aix_libpath+set}"; then 11217 aix_libpath=$lt_cv_aix_libpath 11218else 11219 if ${lt_cv_aix_libpath_+:} false; then : 11220 $as_echo_n "(cached) " >&6 11221else 11222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11223/* end confdefs.h. */ 11224 11225int 11226main () 11227{ 11228 11229 ; 11230 return 0; 11231} 11232_ACEOF 11233if ac_fn_c_try_link "$LINENO"; then : 11234 11235 lt_aix_libpath_sed=' 11236 /Import File Strings/,/^$/ { 11237 /^0/ { 11238 s/^0 *\([^ ]*\) *$/\1/ 11239 p 11240 } 11241 }' 11242 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 11243 # Check for a 64-bit object if we didn't find anything. 11244 if test -z "$lt_cv_aix_libpath_"; then 11245 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 11246 fi 11247fi 11248rm -f core conftest.err conftest.$ac_objext \ 11249 conftest$ac_exeext conftest.$ac_ext 11250 if test -z "$lt_cv_aix_libpath_"; then 11251 lt_cv_aix_libpath_=/usr/lib:/lib 11252 fi 11253 11254fi 11255 11256 aix_libpath=$lt_cv_aix_libpath_ 11257fi 11258 11259 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 11260 # Warning - without using the other run time loading flags, 11261 # -berok will link without error, but may produce a broken library. 11262 no_undefined_flag=' $wl-bernotok' 11263 allow_undefined_flag=' $wl-berok' 11264 if test yes = "$with_gnu_ld"; then 11265 # We only use this code for GNU lds that support --whole-archive. 11266 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive' 11267 else 11268 # Exported symbols can be pulled into shared objects from archives 11269 whole_archive_flag_spec='$convenience' 11270 fi 11271 archive_cmds_need_lc=yes 11272 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' 11273 # -brtl affects multiple linker settings, -berok does not and is overridden later 11274 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' 11275 if test svr4 != "$with_aix_soname"; then 11276 # This is similar to how AIX traditionally builds its shared libraries. 11277 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' 11278 fi 11279 if test aix != "$with_aix_soname"; then 11280 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' 11281 else 11282 # used by -dlpreopen to get the symbols 11283 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir' 11284 fi 11285 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d' 11286 fi 11287 fi 11288 ;; 11289 11290 amigaos*) 11291 case $host_cpu in 11292 powerpc) 11293 # see comment about AmigaOS4 .so support 11294 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 11295 archive_expsym_cmds='' 11296 ;; 11297 m68k) 11298 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)' 11299 hardcode_libdir_flag_spec='-L$libdir' 11300 hardcode_minus_L=yes 11301 ;; 11302 esac 11303 ;; 11304 11305 bsdi[45]*) 11306 export_dynamic_flag_spec=-rdynamic 11307 ;; 11308 11309 cygwin* | mingw* | pw32* | cegcc*) 11310 # When not using gcc, we currently assume that we are using 11311 # Microsoft Visual C++. 11312 # hardcode_libdir_flag_spec is actually meaningless, as there is 11313 # no search path for DLLs. 11314 case $cc_basename in 11315 cl*) 11316 # Native MSVC 11317 hardcode_libdir_flag_spec=' ' 11318 allow_undefined_flag=unsupported 11319 always_export_symbols=yes 11320 file_list_spec='@' 11321 # Tell ltmain to make .lib files, not .a files. 11322 libext=lib 11323 # Tell ltmain to make .dll files, not .so files. 11324 shrext_cmds=.dll 11325 # FIXME: Setting linknames here is a bad hack. 11326 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' 11327 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 11328 cp "$export_symbols" "$output_objdir/$soname.def"; 11329 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; 11330 else 11331 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; 11332 fi~ 11333 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 11334 linknames=' 11335 # The linker will not automatically build a static lib if we build a DLL. 11336 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 11337 enable_shared_with_static_runtimes=yes 11338 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 11339 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 11340 # Don't use ranlib 11341 old_postinstall_cmds='chmod 644 $oldlib' 11342 postlink_cmds='lt_outputfile="@OUTPUT@"~ 11343 lt_tool_outputfile="@TOOL_OUTPUT@"~ 11344 case $lt_outputfile in 11345 *.exe|*.EXE) ;; 11346 *) 11347 lt_outputfile=$lt_outputfile.exe 11348 lt_tool_outputfile=$lt_tool_outputfile.exe 11349 ;; 11350 esac~ 11351 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then 11352 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 11353 $RM "$lt_outputfile.manifest"; 11354 fi' 11355 ;; 11356 *) 11357 # Assume MSVC wrapper 11358 hardcode_libdir_flag_spec=' ' 11359 allow_undefined_flag=unsupported 11360 # Tell ltmain to make .lib files, not .a files. 11361 libext=lib 11362 # Tell ltmain to make .dll files, not .so files. 11363 shrext_cmds=.dll 11364 # FIXME: Setting linknames here is a bad hack. 11365 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 11366 # The linker will automatically build a .lib file if we build a DLL. 11367 old_archive_from_new_cmds='true' 11368 # FIXME: Should let the user specify the lib program. 11369 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 11370 enable_shared_with_static_runtimes=yes 11371 ;; 11372 esac 11373 ;; 11374 11375 darwin* | rhapsody*) 11376 11377 11378 archive_cmds_need_lc=no 11379 hardcode_direct=no 11380 hardcode_automatic=yes 11381 hardcode_shlibpath_var=unsupported 11382 if test yes = "$lt_cv_ld_force_load"; then 11383 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\"`' 11384 11385 else 11386 whole_archive_flag_spec='' 11387 fi 11388 link_all_deplibs=yes 11389 allow_undefined_flag=$_lt_dar_allow_undefined 11390 case $cc_basename in 11391 ifort*|nagfor*) _lt_dar_can_shared=yes ;; 11392 *) _lt_dar_can_shared=$GCC ;; 11393 esac 11394 if test yes = "$_lt_dar_can_shared"; then 11395 output_verbose_link_cmd=func_echo_all 11396 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" 11397 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" 11398 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" 11399 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" 11400 11401 else 11402 ld_shlibs=no 11403 fi 11404 11405 ;; 11406 11407 dgux*) 11408 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11409 hardcode_libdir_flag_spec='-L$libdir' 11410 hardcode_shlibpath_var=no 11411 ;; 11412 11413 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 11414 # support. Future versions do this automatically, but an explicit c++rt0.o 11415 # does not break anything, and helps significantly (at the cost of a little 11416 # extra space). 11417 freebsd2.2*) 11418 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 11419 hardcode_libdir_flag_spec='-R$libdir' 11420 hardcode_direct=yes 11421 hardcode_shlibpath_var=no 11422 ;; 11423 11424 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 11425 freebsd2.*) 11426 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 11427 hardcode_direct=yes 11428 hardcode_minus_L=yes 11429 hardcode_shlibpath_var=no 11430 ;; 11431 11432 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 11433 freebsd* | dragonfly*) 11434 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 11435 hardcode_libdir_flag_spec='-R$libdir' 11436 hardcode_direct=yes 11437 hardcode_shlibpath_var=no 11438 ;; 11439 11440 hpux9*) 11441 if test yes = "$GCC"; then 11442 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' 11443 else 11444 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' 11445 fi 11446 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 11447 hardcode_libdir_separator=: 11448 hardcode_direct=yes 11449 11450 # hardcode_minus_L: Not really in the search PATH, 11451 # but as the default location of the library. 11452 hardcode_minus_L=yes 11453 export_dynamic_flag_spec='$wl-E' 11454 ;; 11455 11456 hpux10*) 11457 if test yes,no = "$GCC,$with_gnu_ld"; then 11458 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 11459 else 11460 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 11461 fi 11462 if test no = "$with_gnu_ld"; then 11463 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 11464 hardcode_libdir_separator=: 11465 hardcode_direct=yes 11466 hardcode_direct_absolute=yes 11467 export_dynamic_flag_spec='$wl-E' 11468 # hardcode_minus_L: Not really in the search PATH, 11469 # but as the default location of the library. 11470 hardcode_minus_L=yes 11471 fi 11472 ;; 11473 11474 hpux11*) 11475 if test yes,no = "$GCC,$with_gnu_ld"; then 11476 case $host_cpu in 11477 hppa*64*) 11478 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 11479 ;; 11480 ia64*) 11481 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 11482 ;; 11483 *) 11484 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 11485 ;; 11486 esac 11487 else 11488 case $host_cpu in 11489 hppa*64*) 11490 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 11491 ;; 11492 ia64*) 11493 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 11494 ;; 11495 *) 11496 11497 # Older versions of the 11.00 compiler do not understand -b yet 11498 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 11499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 11500$as_echo_n "checking if $CC understands -b... " >&6; } 11501if ${lt_cv_prog_compiler__b+:} false; then : 11502 $as_echo_n "(cached) " >&6 11503else 11504 lt_cv_prog_compiler__b=no 11505 save_LDFLAGS=$LDFLAGS 11506 LDFLAGS="$LDFLAGS -b" 11507 echo "$lt_simple_link_test_code" > conftest.$ac_ext 11508 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 11509 # The linker can only warn and ignore the option if not recognized 11510 # So say no if there are warnings 11511 if test -s conftest.err; then 11512 # Append any errors to the config.log. 11513 cat conftest.err 1>&5 11514 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 11515 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 11516 if diff conftest.exp conftest.er2 >/dev/null; then 11517 lt_cv_prog_compiler__b=yes 11518 fi 11519 else 11520 lt_cv_prog_compiler__b=yes 11521 fi 11522 fi 11523 $RM -r conftest* 11524 LDFLAGS=$save_LDFLAGS 11525 11526fi 11527{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 11528$as_echo "$lt_cv_prog_compiler__b" >&6; } 11529 11530if test yes = "$lt_cv_prog_compiler__b"; then 11531 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 11532else 11533 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 11534fi 11535 11536 ;; 11537 esac 11538 fi 11539 if test no = "$with_gnu_ld"; then 11540 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 11541 hardcode_libdir_separator=: 11542 11543 case $host_cpu in 11544 hppa*64*|ia64*) 11545 hardcode_direct=no 11546 hardcode_shlibpath_var=no 11547 ;; 11548 *) 11549 hardcode_direct=yes 11550 hardcode_direct_absolute=yes 11551 export_dynamic_flag_spec='$wl-E' 11552 11553 # hardcode_minus_L: Not really in the search PATH, 11554 # but as the default location of the library. 11555 hardcode_minus_L=yes 11556 ;; 11557 esac 11558 fi 11559 ;; 11560 11561 irix5* | irix6* | nonstopux*) 11562 if test yes = "$GCC"; then 11563 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' 11564 # Try to use the -exported_symbol ld option, if it does not 11565 # work, assume that -exports_file does not work either and 11566 # implicitly export all symbols. 11567 # This should be the same for all languages, so no per-tag cache variable. 11568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 11569$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 11570if ${lt_cv_irix_exported_symbol+:} false; then : 11571 $as_echo_n "(cached) " >&6 11572else 11573 save_LDFLAGS=$LDFLAGS 11574 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null" 11575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11576/* end confdefs.h. */ 11577int foo (void) { return 0; } 11578_ACEOF 11579if ac_fn_c_try_link "$LINENO"; then : 11580 lt_cv_irix_exported_symbol=yes 11581else 11582 lt_cv_irix_exported_symbol=no 11583fi 11584rm -f core conftest.err conftest.$ac_objext \ 11585 conftest$ac_exeext conftest.$ac_ext 11586 LDFLAGS=$save_LDFLAGS 11587fi 11588{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 11589$as_echo "$lt_cv_irix_exported_symbol" >&6; } 11590 if test yes = "$lt_cv_irix_exported_symbol"; then 11591 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' 11592 fi 11593 else 11594 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' 11595 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' 11596 fi 11597 archive_cmds_need_lc='no' 11598 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 11599 hardcode_libdir_separator=: 11600 inherit_rpath=yes 11601 link_all_deplibs=yes 11602 ;; 11603 11604 linux*) 11605 case $cc_basename in 11606 tcc*) 11607 # Fabrice Bellard et al's Tiny C Compiler 11608 ld_shlibs=yes 11609 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 11610 ;; 11611 esac 11612 ;; 11613 11614 netbsd*) 11615 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 11616 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 11617 else 11618 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 11619 fi 11620 hardcode_libdir_flag_spec='-R$libdir' 11621 hardcode_direct=yes 11622 hardcode_shlibpath_var=no 11623 ;; 11624 11625 newsos6) 11626 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11627 hardcode_direct=yes 11628 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 11629 hardcode_libdir_separator=: 11630 hardcode_shlibpath_var=no 11631 ;; 11632 11633 *nto* | *qnx*) 11634 ;; 11635 11636 openbsd* | bitrig*) 11637 if test -f /usr/libexec/ld.so; then 11638 hardcode_direct=yes 11639 hardcode_shlibpath_var=no 11640 hardcode_direct_absolute=yes 11641 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 11642 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 11643 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols' 11644 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 11645 export_dynamic_flag_spec='$wl-E' 11646 else 11647 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 11648 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 11649 fi 11650 else 11651 ld_shlibs=no 11652 fi 11653 ;; 11654 11655 os2*) 11656 hardcode_libdir_flag_spec='-L$libdir' 11657 hardcode_minus_L=yes 11658 allow_undefined_flag=unsupported 11659 shrext_cmds=.dll 11660 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 11661 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 11662 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 11663 $ECHO EXPORTS >> $output_objdir/$libname.def~ 11664 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 11665 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 11666 emximp -o $lib $output_objdir/$libname.def' 11667 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 11668 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 11669 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 11670 $ECHO EXPORTS >> $output_objdir/$libname.def~ 11671 prefix_cmds="$SED"~ 11672 if test EXPORTS = "`$SED 1q $export_symbols`"; then 11673 prefix_cmds="$prefix_cmds -e 1d"; 11674 fi~ 11675 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 11676 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 11677 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 11678 emximp -o $lib $output_objdir/$libname.def' 11679 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 11680 enable_shared_with_static_runtimes=yes 11681 ;; 11682 11683 osf3*) 11684 if test yes = "$GCC"; then 11685 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 11686 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' 11687 else 11688 allow_undefined_flag=' -expect_unresolved \*' 11689 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' 11690 fi 11691 archive_cmds_need_lc='no' 11692 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 11693 hardcode_libdir_separator=: 11694 ;; 11695 11696 osf4* | osf5*) # as osf3* with the addition of -msym flag 11697 if test yes = "$GCC"; then 11698 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 11699 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' 11700 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 11701 else 11702 allow_undefined_flag=' -expect_unresolved \*' 11703 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' 11704 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~ 11705 $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' 11706 11707 # Both c and cxx compiler support -rpath directly 11708 hardcode_libdir_flag_spec='-rpath $libdir' 11709 fi 11710 archive_cmds_need_lc='no' 11711 hardcode_libdir_separator=: 11712 ;; 11713 11714 solaris*) 11715 no_undefined_flag=' -z defs' 11716 if test yes = "$GCC"; then 11717 wlarc='$wl' 11718 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 11719 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 11720 $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' 11721 else 11722 case `$CC -V 2>&1` in 11723 *"Compilers 5.0"*) 11724 wlarc='' 11725 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags' 11726 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 11727 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 11728 ;; 11729 *) 11730 wlarc='$wl' 11731 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags' 11732 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 11733 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 11734 ;; 11735 esac 11736 fi 11737 hardcode_libdir_flag_spec='-R$libdir' 11738 hardcode_shlibpath_var=no 11739 case $host_os in 11740 solaris2.[0-5] | solaris2.[0-5].*) ;; 11741 *) 11742 # The compiler driver will combine and reorder linker options, 11743 # but understands '-z linker_flag'. GCC discards it without '$wl', 11744 # but is careful enough not to reorder. 11745 # Supported since Solaris 2.6 (maybe 2.5.1?) 11746 if test yes = "$GCC"; then 11747 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' 11748 else 11749 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 11750 fi 11751 ;; 11752 esac 11753 link_all_deplibs=yes 11754 ;; 11755 11756 sunos4*) 11757 if test sequent = "$host_vendor"; then 11758 # Use $CC to link under sequent, because it throws in some extra .o 11759 # files that make .init and .fini sections work. 11760 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags' 11761 else 11762 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 11763 fi 11764 hardcode_libdir_flag_spec='-L$libdir' 11765 hardcode_direct=yes 11766 hardcode_minus_L=yes 11767 hardcode_shlibpath_var=no 11768 ;; 11769 11770 sysv4) 11771 case $host_vendor in 11772 sni) 11773 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11774 hardcode_direct=yes # is this really true??? 11775 ;; 11776 siemens) 11777 ## LD is ld it makes a PLAMLIB 11778 ## CC just makes a GrossModule. 11779 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 11780 reload_cmds='$CC -r -o $output$reload_objs' 11781 hardcode_direct=no 11782 ;; 11783 motorola) 11784 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11785 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 11786 ;; 11787 esac 11788 runpath_var='LD_RUN_PATH' 11789 hardcode_shlibpath_var=no 11790 ;; 11791 11792 sysv4.3*) 11793 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11794 hardcode_shlibpath_var=no 11795 export_dynamic_flag_spec='-Bexport' 11796 ;; 11797 11798 sysv4*MP*) 11799 if test -d /usr/nec; then 11800 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11801 hardcode_shlibpath_var=no 11802 runpath_var=LD_RUN_PATH 11803 hardcode_runpath_var=yes 11804 ld_shlibs=yes 11805 fi 11806 ;; 11807 11808 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 11809 no_undefined_flag='$wl-z,text' 11810 archive_cmds_need_lc=no 11811 hardcode_shlibpath_var=no 11812 runpath_var='LD_RUN_PATH' 11813 11814 if test yes = "$GCC"; then 11815 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11816 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11817 else 11818 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11819 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11820 fi 11821 ;; 11822 11823 sysv5* | sco3.2v5* | sco5v6*) 11824 # Note: We CANNOT use -z defs as we might desire, because we do not 11825 # link with -lc, and that would cause any symbols used from libc to 11826 # always be unresolved, which means just about no library would 11827 # ever link correctly. If we're not using GNU ld we use -z text 11828 # though, which does catch some bad symbols but isn't as heavy-handed 11829 # as -z defs. 11830 no_undefined_flag='$wl-z,text' 11831 allow_undefined_flag='$wl-z,nodefs' 11832 archive_cmds_need_lc=no 11833 hardcode_shlibpath_var=no 11834 hardcode_libdir_flag_spec='$wl-R,$libdir' 11835 hardcode_libdir_separator=':' 11836 link_all_deplibs=yes 11837 export_dynamic_flag_spec='$wl-Bexport' 11838 runpath_var='LD_RUN_PATH' 11839 11840 if test yes = "$GCC"; then 11841 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11842 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11843 else 11844 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11845 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11846 fi 11847 ;; 11848 11849 uts4*) 11850 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11851 hardcode_libdir_flag_spec='-L$libdir' 11852 hardcode_shlibpath_var=no 11853 ;; 11854 11855 *) 11856 ld_shlibs=no 11857 ;; 11858 esac 11859 11860 if test sni = "$host_vendor"; then 11861 case $host in 11862 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 11863 export_dynamic_flag_spec='$wl-Blargedynsym' 11864 ;; 11865 esac 11866 fi 11867 fi 11868 11869{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 11870$as_echo "$ld_shlibs" >&6; } 11871test no = "$ld_shlibs" && can_build_shared=no 11872 11873with_gnu_ld=$with_gnu_ld 11874 11875 11876 11877 11878 11879 11880 11881 11882 11883 11884 11885 11886 11887 11888 11889# 11890# Do we need to explicitly link libc? 11891# 11892case "x$archive_cmds_need_lc" in 11893x|xyes) 11894 # Assume -lc should be added 11895 archive_cmds_need_lc=yes 11896 11897 if test yes,yes = "$GCC,$enable_shared"; then 11898 case $archive_cmds in 11899 *'~'*) 11900 # FIXME: we may have to deal with multi-command sequences. 11901 ;; 11902 '$CC '*) 11903 # Test whether the compiler implicitly links with -lc since on some 11904 # systems, -lgcc has to come before -lc. If gcc already passes -lc 11905 # to ld, don't add -lc before -lgcc. 11906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 11907$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 11908if ${lt_cv_archive_cmds_need_lc+:} false; then : 11909 $as_echo_n "(cached) " >&6 11910else 11911 $RM conftest* 11912 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 11913 11914 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 11915 (eval $ac_compile) 2>&5 11916 ac_status=$? 11917 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11918 test $ac_status = 0; } 2>conftest.err; then 11919 soname=conftest 11920 lib=conftest 11921 libobjs=conftest.$ac_objext 11922 deplibs= 11923 wl=$lt_prog_compiler_wl 11924 pic_flag=$lt_prog_compiler_pic 11925 compiler_flags=-v 11926 linker_flags=-v 11927 verstring= 11928 output_objdir=. 11929 libname=conftest 11930 lt_save_allow_undefined_flag=$allow_undefined_flag 11931 allow_undefined_flag= 11932 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 11933 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 11934 ac_status=$? 11935 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11936 test $ac_status = 0; } 11937 then 11938 lt_cv_archive_cmds_need_lc=no 11939 else 11940 lt_cv_archive_cmds_need_lc=yes 11941 fi 11942 allow_undefined_flag=$lt_save_allow_undefined_flag 11943 else 11944 cat conftest.err 1>&5 11945 fi 11946 $RM conftest* 11947 11948fi 11949{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 11950$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 11951 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 11952 ;; 11953 esac 11954 fi 11955 ;; 11956esac 11957 11958 11959 11960 11961 11962 11963 11964 11965 11966 11967 11968 11969 11970 11971 11972 11973 11974 11975 11976 11977 11978 11979 11980 11981 11982 11983 11984 11985 11986 11987 11988 11989 11990 11991 11992 11993 11994 11995 11996 11997 11998 11999 12000 12001 12002 12003 12004 12005 12006 12007 12008 12009 12010 12011 12012 12013 12014 12015 12016 12017 12018 12019 12020 12021 12022 12023 12024 12025 12026 12027 12028 12029 12030 12031 12032 12033 12034 12035 12036 12037 12038 12039 12040 12041 12042 12043 12044 12045 12046 12047 12048 12049 12050 12051 12052 12053 12054 12055 12056 12057 12058 12059 12060 12061 12062 12063 12064 12065 12066 12067 12068 12069 12070 12071 12072 12073 12074 12075 12076 12077 12078 12079 12080 12081 12082 12083 12084 12085 12086 12087 12088 12089 12090 12091 12092 12093 12094 12095 12096 12097 12098 12099 12100 12101 12102 12103 12104 12105 12106 12107 12108 12109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 12110$as_echo_n "checking dynamic linker characteristics... " >&6; } 12111 12112if test yes = "$GCC"; then 12113 case $host_os in 12114 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;; 12115 *) lt_awk_arg='/^libraries:/' ;; 12116 esac 12117 case $host_os in 12118 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;; 12119 *) lt_sed_strip_eq='s|=/|/|g' ;; 12120 esac 12121 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 12122 case $lt_search_path_spec in 12123 *\;*) 12124 # if the path contains ";" then we assume it to be the separator 12125 # otherwise default to the standard path separator (i.e. ":") - it is 12126 # assumed that no part of a normal pathname contains ";" but that should 12127 # okay in the real world where ";" in dirpaths is itself problematic. 12128 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 12129 ;; 12130 *) 12131 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 12132 ;; 12133 esac 12134 # Ok, now we have the path, separated by spaces, we can step through it 12135 # and add multilib dir if necessary... 12136 lt_tmp_lt_search_path_spec= 12137 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 12138 # ...but if some path component already ends with the multilib dir we assume 12139 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer). 12140 case "$lt_multi_os_dir; $lt_search_path_spec " in 12141 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*) 12142 lt_multi_os_dir= 12143 ;; 12144 esac 12145 for lt_sys_path in $lt_search_path_spec; do 12146 if test -d "$lt_sys_path$lt_multi_os_dir"; then 12147 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir" 12148 elif test -n "$lt_multi_os_dir"; then 12149 test -d "$lt_sys_path" && \ 12150 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 12151 fi 12152 done 12153 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 12154BEGIN {RS = " "; FS = "/|\n";} { 12155 lt_foo = ""; 12156 lt_count = 0; 12157 for (lt_i = NF; lt_i > 0; lt_i--) { 12158 if ($lt_i != "" && $lt_i != ".") { 12159 if ($lt_i == "..") { 12160 lt_count++; 12161 } else { 12162 if (lt_count == 0) { 12163 lt_foo = "/" $lt_i lt_foo; 12164 } else { 12165 lt_count--; 12166 } 12167 } 12168 } 12169 } 12170 if (lt_foo != "") { lt_freq[lt_foo]++; } 12171 if (lt_freq[lt_foo] == 1) { print lt_foo; } 12172}'` 12173 # AWK program above erroneously prepends '/' to C:/dos/paths 12174 # for these hosts. 12175 case $host_os in 12176 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 12177 $SED 's|/\([A-Za-z]:\)|\1|g'` ;; 12178 esac 12179 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 12180else 12181 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 12182fi 12183library_names_spec= 12184libname_spec='lib$name' 12185soname_spec= 12186shrext_cmds=.so 12187postinstall_cmds= 12188postuninstall_cmds= 12189finish_cmds= 12190finish_eval= 12191shlibpath_var= 12192shlibpath_overrides_runpath=unknown 12193version_type=none 12194dynamic_linker="$host_os ld.so" 12195sys_lib_dlsearch_path_spec="/lib /usr/lib" 12196need_lib_prefix=unknown 12197hardcode_into_libs=no 12198 12199# when you set need_version to no, make sure it does not cause -set_version 12200# flags to be left without arguments 12201need_version=unknown 12202 12203 12204 12205case $host_os in 12206aix3*) 12207 version_type=linux # correct to gnu/linux during the next big refactor 12208 library_names_spec='$libname$release$shared_ext$versuffix $libname.a' 12209 shlibpath_var=LIBPATH 12210 12211 # AIX 3 has no versioning support, so we append a major version to the name. 12212 soname_spec='$libname$release$shared_ext$major' 12213 ;; 12214 12215aix[4-9]*) 12216 version_type=linux # correct to gnu/linux during the next big refactor 12217 need_lib_prefix=no 12218 need_version=no 12219 hardcode_into_libs=yes 12220 if test ia64 = "$host_cpu"; then 12221 # AIX 5 supports IA64 12222 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' 12223 shlibpath_var=LD_LIBRARY_PATH 12224 else 12225 # With GCC up to 2.95.x, collect2 would create an import file 12226 # for dependence libraries. The import file would start with 12227 # the line '#! .'. This would cause the generated library to 12228 # depend on '.', always an invalid library. This was fixed in 12229 # development snapshots of GCC prior to 3.0. 12230 case $host_os in 12231 aix4 | aix4.[01] | aix4.[01].*) 12232 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 12233 echo ' yes ' 12234 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then 12235 : 12236 else 12237 can_build_shared=no 12238 fi 12239 ;; 12240 esac 12241 # Using Import Files as archive members, it is possible to support 12242 # filename-based versioning of shared library archives on AIX. While 12243 # this would work for both with and without runtime linking, it will 12244 # prevent static linking of such archives. So we do filename-based 12245 # shared library versioning with .so extension only, which is used 12246 # when both runtime linking and shared linking is enabled. 12247 # Unfortunately, runtime linking may impact performance, so we do 12248 # not want this to be the default eventually. Also, we use the 12249 # versioned .so libs for executables only if there is the -brtl 12250 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. 12251 # To allow for filename-based versioning support, we need to create 12252 # libNAME.so.V as an archive file, containing: 12253 # *) an Import File, referring to the versioned filename of the 12254 # archive as well as the shared archive member, telling the 12255 # bitwidth (32 or 64) of that shared object, and providing the 12256 # list of exported symbols of that shared object, eventually 12257 # decorated with the 'weak' keyword 12258 # *) the shared object with the F_LOADONLY flag set, to really avoid 12259 # it being seen by the linker. 12260 # At run time we better use the real file rather than another symlink, 12261 # but for link time we create the symlink libNAME.so -> libNAME.so.V 12262 12263 case $with_aix_soname,$aix_use_runtimelinking in 12264 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct 12265 # soname into executable. Probably we can add versioning support to 12266 # collect2, so additional links can be useful in future. 12267 aix,yes) # traditional libtool 12268 dynamic_linker='AIX unversionable lib.so' 12269 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 12270 # instead of lib<name>.a to let people know that these are not 12271 # typical AIX shared libraries. 12272 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12273 ;; 12274 aix,no) # traditional AIX only 12275 dynamic_linker='AIX lib.a(lib.so.V)' 12276 # We preserve .a as extension for shared libraries through AIX4.2 12277 # and later when we are not doing run time linking. 12278 library_names_spec='$libname$release.a $libname.a' 12279 soname_spec='$libname$release$shared_ext$major' 12280 ;; 12281 svr4,*) # full svr4 only 12282 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" 12283 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 12284 # We do not specify a path in Import Files, so LIBPATH fires. 12285 shlibpath_overrides_runpath=yes 12286 ;; 12287 *,yes) # both, prefer svr4 12288 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" 12289 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 12290 # unpreferred sharedlib libNAME.a needs extra handling 12291 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"' 12292 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"' 12293 # We do not specify a path in Import Files, so LIBPATH fires. 12294 shlibpath_overrides_runpath=yes 12295 ;; 12296 *,no) # both, prefer aix 12297 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" 12298 library_names_spec='$libname$release.a $libname.a' 12299 soname_spec='$libname$release$shared_ext$major' 12300 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling 12301 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)' 12302 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"' 12303 ;; 12304 esac 12305 shlibpath_var=LIBPATH 12306 fi 12307 ;; 12308 12309amigaos*) 12310 case $host_cpu in 12311 powerpc) 12312 # Since July 2007 AmigaOS4 officially supports .so libraries. 12313 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 12314 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12315 ;; 12316 m68k) 12317 library_names_spec='$libname.ixlibrary $libname.a' 12318 # Create ${libname}_ixlibrary.a entries in /sys/libs. 12319 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' 12320 ;; 12321 esac 12322 ;; 12323 12324beos*) 12325 library_names_spec='$libname$shared_ext' 12326 dynamic_linker="$host_os ld.so" 12327 shlibpath_var=LIBRARY_PATH 12328 ;; 12329 12330bsdi[45]*) 12331 version_type=linux # correct to gnu/linux during the next big refactor 12332 need_version=no 12333 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12334 soname_spec='$libname$release$shared_ext$major' 12335 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 12336 shlibpath_var=LD_LIBRARY_PATH 12337 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 12338 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 12339 # the default ld.so.conf also contains /usr/contrib/lib and 12340 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 12341 # libtool to hard-code these into programs 12342 ;; 12343 12344cygwin* | mingw* | pw32* | cegcc*) 12345 version_type=windows 12346 shrext_cmds=.dll 12347 need_version=no 12348 need_lib_prefix=no 12349 12350 case $GCC,$cc_basename in 12351 yes,*) 12352 # gcc 12353 library_names_spec='$libname.dll.a' 12354 # DLL is installed to $(libdir)/../bin by postinstall_cmds 12355 postinstall_cmds='base_file=`basename \$file`~ 12356 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 12357 dldir=$destdir/`dirname \$dlpath`~ 12358 test -d \$dldir || mkdir -p \$dldir~ 12359 $install_prog $dir/$dlname \$dldir/$dlname~ 12360 chmod a+x \$dldir/$dlname~ 12361 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 12362 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 12363 fi' 12364 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 12365 dlpath=$dir/\$dldll~ 12366 $RM \$dlpath' 12367 shlibpath_overrides_runpath=yes 12368 12369 case $host_os in 12370 cygwin*) 12371 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 12372 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 12373 12374 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 12375 ;; 12376 mingw* | cegcc*) 12377 # MinGW DLLs use traditional 'lib' prefix 12378 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 12379 ;; 12380 pw32*) 12381 # pw32 DLLs use 'pw' prefix rather than 'lib' 12382 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 12383 ;; 12384 esac 12385 dynamic_linker='Win32 ld.exe' 12386 ;; 12387 12388 *,cl*) 12389 # Native MSVC 12390 libname_spec='$name' 12391 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 12392 library_names_spec='$libname.dll.lib' 12393 12394 case $build_os in 12395 mingw*) 12396 sys_lib_search_path_spec= 12397 lt_save_ifs=$IFS 12398 IFS=';' 12399 for lt_path in $LIB 12400 do 12401 IFS=$lt_save_ifs 12402 # Let DOS variable expansion print the short 8.3 style file name. 12403 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 12404 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 12405 done 12406 IFS=$lt_save_ifs 12407 # Convert to MSYS style. 12408 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 12409 ;; 12410 cygwin*) 12411 # Convert to unix form, then to dos form, then back to unix form 12412 # but this time dos style (no spaces!) so that the unix form looks 12413 # like /cygdrive/c/PROGRA~1:/cygdr... 12414 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 12415 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 12416 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 12417 ;; 12418 *) 12419 sys_lib_search_path_spec=$LIB 12420 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 12421 # It is most probably a Windows format PATH. 12422 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 12423 else 12424 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 12425 fi 12426 # FIXME: find the short name or the path components, as spaces are 12427 # common. (e.g. "Program Files" -> "PROGRA~1") 12428 ;; 12429 esac 12430 12431 # DLL is installed to $(libdir)/../bin by postinstall_cmds 12432 postinstall_cmds='base_file=`basename \$file`~ 12433 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 12434 dldir=$destdir/`dirname \$dlpath`~ 12435 test -d \$dldir || mkdir -p \$dldir~ 12436 $install_prog $dir/$dlname \$dldir/$dlname' 12437 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 12438 dlpath=$dir/\$dldll~ 12439 $RM \$dlpath' 12440 shlibpath_overrides_runpath=yes 12441 dynamic_linker='Win32 link.exe' 12442 ;; 12443 12444 *) 12445 # Assume MSVC wrapper 12446 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' 12447 dynamic_linker='Win32 ld.exe' 12448 ;; 12449 esac 12450 # FIXME: first we should search . and the directory the executable is in 12451 shlibpath_var=PATH 12452 ;; 12453 12454darwin* | rhapsody*) 12455 dynamic_linker="$host_os dyld" 12456 version_type=darwin 12457 need_lib_prefix=no 12458 need_version=no 12459 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' 12460 soname_spec='$libname$release$major$shared_ext' 12461 shlibpath_overrides_runpath=yes 12462 shlibpath_var=DYLD_LIBRARY_PATH 12463 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 12464 12465 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 12466 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 12467 ;; 12468 12469dgux*) 12470 version_type=linux # correct to gnu/linux during the next big refactor 12471 need_lib_prefix=no 12472 need_version=no 12473 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12474 soname_spec='$libname$release$shared_ext$major' 12475 shlibpath_var=LD_LIBRARY_PATH 12476 ;; 12477 12478freebsd* | dragonfly*) 12479 # DragonFly does not have aout. When/if they implement a new 12480 # versioning mechanism, adjust this. 12481 if test -x /usr/bin/objformat; then 12482 objformat=`/usr/bin/objformat` 12483 else 12484 case $host_os in 12485 freebsd[23].*) objformat=aout ;; 12486 *) objformat=elf ;; 12487 esac 12488 fi 12489 version_type=freebsd-$objformat 12490 case $version_type in 12491 freebsd-elf*) 12492 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12493 soname_spec='$libname$release$shared_ext$major' 12494 need_version=no 12495 need_lib_prefix=no 12496 ;; 12497 freebsd-*) 12498 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 12499 need_version=yes 12500 ;; 12501 esac 12502 shlibpath_var=LD_LIBRARY_PATH 12503 case $host_os in 12504 freebsd2.*) 12505 shlibpath_overrides_runpath=yes 12506 ;; 12507 freebsd3.[01]* | freebsdelf3.[01]*) 12508 shlibpath_overrides_runpath=yes 12509 hardcode_into_libs=yes 12510 ;; 12511 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 12512 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 12513 shlibpath_overrides_runpath=no 12514 hardcode_into_libs=yes 12515 ;; 12516 *) # from 4.6 on, and DragonFly 12517 shlibpath_overrides_runpath=yes 12518 hardcode_into_libs=yes 12519 ;; 12520 esac 12521 ;; 12522 12523haiku*) 12524 version_type=linux # correct to gnu/linux during the next big refactor 12525 need_lib_prefix=no 12526 need_version=no 12527 dynamic_linker="$host_os runtime_loader" 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 shlibpath_var=LIBRARY_PATH 12531 shlibpath_overrides_runpath=no 12532 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 12533 hardcode_into_libs=yes 12534 ;; 12535 12536hpux9* | hpux10* | hpux11*) 12537 # Give a soname corresponding to the major version so that dld.sl refuses to 12538 # link against other versions. 12539 version_type=sunos 12540 need_lib_prefix=no 12541 need_version=no 12542 case $host_cpu in 12543 ia64*) 12544 shrext_cmds='.so' 12545 hardcode_into_libs=yes 12546 dynamic_linker="$host_os dld.so" 12547 shlibpath_var=LD_LIBRARY_PATH 12548 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 12549 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12550 soname_spec='$libname$release$shared_ext$major' 12551 if test 32 = "$HPUX_IA64_MODE"; then 12552 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 12553 sys_lib_dlsearch_path_spec=/usr/lib/hpux32 12554 else 12555 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 12556 sys_lib_dlsearch_path_spec=/usr/lib/hpux64 12557 fi 12558 ;; 12559 hppa*64*) 12560 shrext_cmds='.sl' 12561 hardcode_into_libs=yes 12562 dynamic_linker="$host_os dld.sl" 12563 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 12564 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 12565 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12566 soname_spec='$libname$release$shared_ext$major' 12567 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 12568 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 12569 ;; 12570 *) 12571 shrext_cmds='.sl' 12572 dynamic_linker="$host_os dld.sl" 12573 shlibpath_var=SHLIB_PATH 12574 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 12575 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12576 soname_spec='$libname$release$shared_ext$major' 12577 ;; 12578 esac 12579 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 12580 postinstall_cmds='chmod 555 $lib' 12581 # or fails outright, so override atomically: 12582 install_override_mode=555 12583 ;; 12584 12585interix[3-9]*) 12586 version_type=linux # correct to gnu/linux during the next big refactor 12587 need_lib_prefix=no 12588 need_version=no 12589 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12590 soname_spec='$libname$release$shared_ext$major' 12591 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 12592 shlibpath_var=LD_LIBRARY_PATH 12593 shlibpath_overrides_runpath=no 12594 hardcode_into_libs=yes 12595 ;; 12596 12597irix5* | irix6* | nonstopux*) 12598 case $host_os in 12599 nonstopux*) version_type=nonstopux ;; 12600 *) 12601 if test yes = "$lt_cv_prog_gnu_ld"; then 12602 version_type=linux # correct to gnu/linux during the next big refactor 12603 else 12604 version_type=irix 12605 fi ;; 12606 esac 12607 need_lib_prefix=no 12608 need_version=no 12609 soname_spec='$libname$release$shared_ext$major' 12610 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' 12611 case $host_os in 12612 irix5* | nonstopux*) 12613 libsuff= shlibsuff= 12614 ;; 12615 *) 12616 case $LD in # libtool.m4 will add one of these switches to LD 12617 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 12618 libsuff= shlibsuff= libmagic=32-bit;; 12619 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 12620 libsuff=32 shlibsuff=N32 libmagic=N32;; 12621 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 12622 libsuff=64 shlibsuff=64 libmagic=64-bit;; 12623 *) libsuff= shlibsuff= libmagic=never-match;; 12624 esac 12625 ;; 12626 esac 12627 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 12628 shlibpath_overrides_runpath=no 12629 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" 12630 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" 12631 hardcode_into_libs=yes 12632 ;; 12633 12634# No shared lib support for Linux oldld, aout, or coff. 12635linux*oldld* | linux*aout* | linux*coff*) 12636 dynamic_linker=no 12637 ;; 12638 12639linux*android*) 12640 version_type=none # Android doesn't support versioned libraries. 12641 need_lib_prefix=no 12642 need_version=no 12643 library_names_spec='$libname$release$shared_ext' 12644 soname_spec='$libname$release$shared_ext' 12645 finish_cmds= 12646 shlibpath_var=LD_LIBRARY_PATH 12647 shlibpath_overrides_runpath=yes 12648 12649 # This implies no fast_install, which is unacceptable. 12650 # Some rework will be needed to allow for fast_install 12651 # before this can be enabled. 12652 hardcode_into_libs=yes 12653 12654 dynamic_linker='Android linker' 12655 # Don't embed -rpath directories since the linker doesn't support them. 12656 hardcode_libdir_flag_spec='-L$libdir' 12657 ;; 12658 12659# This must be glibc/ELF. 12660linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 12661 version_type=linux # correct to gnu/linux during the next big refactor 12662 need_lib_prefix=no 12663 need_version=no 12664 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12665 soname_spec='$libname$release$shared_ext$major' 12666 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 12667 shlibpath_var=LD_LIBRARY_PATH 12668 shlibpath_overrides_runpath=no 12669 12670 # Some binutils ld are patched to set DT_RUNPATH 12671 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 12672 $as_echo_n "(cached) " >&6 12673else 12674 lt_cv_shlibpath_overrides_runpath=no 12675 save_LDFLAGS=$LDFLAGS 12676 save_libdir=$libdir 12677 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 12678 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 12679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12680/* end confdefs.h. */ 12681 12682int 12683main () 12684{ 12685 12686 ; 12687 return 0; 12688} 12689_ACEOF 12690if ac_fn_c_try_link "$LINENO"; then : 12691 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 12692 lt_cv_shlibpath_overrides_runpath=yes 12693fi 12694fi 12695rm -f core conftest.err conftest.$ac_objext \ 12696 conftest$ac_exeext conftest.$ac_ext 12697 LDFLAGS=$save_LDFLAGS 12698 libdir=$save_libdir 12699 12700fi 12701 12702 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 12703 12704 # This implies no fast_install, which is unacceptable. 12705 # Some rework will be needed to allow for fast_install 12706 # before this can be enabled. 12707 hardcode_into_libs=yes 12708 12709 # Add ABI-specific directories to the system library path. 12710 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" 12711 12712 # Ideally, we could use ldconfig to report *all* directores which are 12713 # searched for libraries, however this is still not possible. Aside from not 12714 # being certain /sbin/ldconfig is available, command 12715 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, 12716 # even though it is searched at run-time. Try to do the best guess by 12717 # appending ld.so.conf contents (and includes) to the search path. 12718 if test -f /etc/ld.so.conf; then 12719 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' ' '` 12720 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" 12721 fi 12722 12723 # We used to test for /lib/ld.so.1 and disable shared libraries on 12724 # powerpc, because MkLinux only supported shared libraries with the 12725 # GNU dynamic linker. Since this was broken with cross compilers, 12726 # most powerpc-linux boxes support dynamic linking these days and 12727 # people can always --disable-shared, the test was removed, and we 12728 # assume the GNU/Linux dynamic linker is in use. 12729 dynamic_linker='GNU/Linux ld.so' 12730 ;; 12731 12732netbsd*) 12733 version_type=sunos 12734 need_lib_prefix=no 12735 need_version=no 12736 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 12737 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 12738 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 12739 dynamic_linker='NetBSD (a.out) ld.so' 12740 else 12741 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12742 soname_spec='$libname$release$shared_ext$major' 12743 dynamic_linker='NetBSD ld.elf_so' 12744 fi 12745 shlibpath_var=LD_LIBRARY_PATH 12746 shlibpath_overrides_runpath=yes 12747 hardcode_into_libs=yes 12748 ;; 12749 12750newsos6) 12751 version_type=linux # correct to gnu/linux during the next big refactor 12752 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12753 shlibpath_var=LD_LIBRARY_PATH 12754 shlibpath_overrides_runpath=yes 12755 ;; 12756 12757*nto* | *qnx*) 12758 version_type=qnx 12759 need_lib_prefix=no 12760 need_version=no 12761 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12762 soname_spec='$libname$release$shared_ext$major' 12763 shlibpath_var=LD_LIBRARY_PATH 12764 shlibpath_overrides_runpath=no 12765 hardcode_into_libs=yes 12766 dynamic_linker='ldqnx.so' 12767 ;; 12768 12769openbsd* | bitrig*) 12770 version_type=sunos 12771 sys_lib_dlsearch_path_spec=/usr/lib 12772 need_lib_prefix=no 12773 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 12774 need_version=no 12775 else 12776 need_version=yes 12777 fi 12778 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 12779 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 12780 shlibpath_var=LD_LIBRARY_PATH 12781 shlibpath_overrides_runpath=yes 12782 ;; 12783 12784os2*) 12785 libname_spec='$name' 12786 version_type=windows 12787 shrext_cmds=.dll 12788 need_version=no 12789 need_lib_prefix=no 12790 # OS/2 can only load a DLL with a base name of 8 characters or less. 12791 soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; 12792 v=$($ECHO $release$versuffix | tr -d .-); 12793 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); 12794 $ECHO $n$v`$shared_ext' 12795 library_names_spec='${libname}_dll.$libext' 12796 dynamic_linker='OS/2 ld.exe' 12797 shlibpath_var=BEGINLIBPATH 12798 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 12799 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 12800 postinstall_cmds='base_file=`basename \$file`~ 12801 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ 12802 dldir=$destdir/`dirname \$dlpath`~ 12803 test -d \$dldir || mkdir -p \$dldir~ 12804 $install_prog $dir/$dlname \$dldir/$dlname~ 12805 chmod a+x \$dldir/$dlname~ 12806 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 12807 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 12808 fi' 12809 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ 12810 dlpath=$dir/\$dldll~ 12811 $RM \$dlpath' 12812 ;; 12813 12814osf3* | osf4* | osf5*) 12815 version_type=osf 12816 need_lib_prefix=no 12817 need_version=no 12818 soname_spec='$libname$release$shared_ext$major' 12819 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12820 shlibpath_var=LD_LIBRARY_PATH 12821 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 12822 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 12823 ;; 12824 12825rdos*) 12826 dynamic_linker=no 12827 ;; 12828 12829solaris*) 12830 version_type=linux # correct to gnu/linux during the next big refactor 12831 need_lib_prefix=no 12832 need_version=no 12833 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12834 soname_spec='$libname$release$shared_ext$major' 12835 shlibpath_var=LD_LIBRARY_PATH 12836 shlibpath_overrides_runpath=yes 12837 hardcode_into_libs=yes 12838 # ldd complains unless libraries are executable 12839 postinstall_cmds='chmod +x $lib' 12840 ;; 12841 12842sunos4*) 12843 version_type=sunos 12844 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 12845 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 12846 shlibpath_var=LD_LIBRARY_PATH 12847 shlibpath_overrides_runpath=yes 12848 if test yes = "$with_gnu_ld"; then 12849 need_lib_prefix=no 12850 fi 12851 need_version=yes 12852 ;; 12853 12854sysv4 | sysv4.3*) 12855 version_type=linux # correct to gnu/linux during the next big refactor 12856 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12857 soname_spec='$libname$release$shared_ext$major' 12858 shlibpath_var=LD_LIBRARY_PATH 12859 case $host_vendor in 12860 sni) 12861 shlibpath_overrides_runpath=no 12862 need_lib_prefix=no 12863 runpath_var=LD_RUN_PATH 12864 ;; 12865 siemens) 12866 need_lib_prefix=no 12867 ;; 12868 motorola) 12869 need_lib_prefix=no 12870 need_version=no 12871 shlibpath_overrides_runpath=no 12872 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 12873 ;; 12874 esac 12875 ;; 12876 12877sysv4*MP*) 12878 if test -d /usr/nec; then 12879 version_type=linux # correct to gnu/linux during the next big refactor 12880 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' 12881 soname_spec='$libname$shared_ext.$major' 12882 shlibpath_var=LD_LIBRARY_PATH 12883 fi 12884 ;; 12885 12886sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 12887 version_type=sco 12888 need_lib_prefix=no 12889 need_version=no 12890 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' 12891 soname_spec='$libname$release$shared_ext$major' 12892 shlibpath_var=LD_LIBRARY_PATH 12893 shlibpath_overrides_runpath=yes 12894 hardcode_into_libs=yes 12895 if test yes = "$with_gnu_ld"; then 12896 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 12897 else 12898 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 12899 case $host_os in 12900 sco3.2v5*) 12901 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 12902 ;; 12903 esac 12904 fi 12905 sys_lib_dlsearch_path_spec='/usr/lib' 12906 ;; 12907 12908tpf*) 12909 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 12910 version_type=linux # correct to gnu/linux during the next big refactor 12911 need_lib_prefix=no 12912 need_version=no 12913 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12914 shlibpath_var=LD_LIBRARY_PATH 12915 shlibpath_overrides_runpath=no 12916 hardcode_into_libs=yes 12917 ;; 12918 12919uts4*) 12920 version_type=linux # correct to gnu/linux during the next big refactor 12921 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12922 soname_spec='$libname$release$shared_ext$major' 12923 shlibpath_var=LD_LIBRARY_PATH 12924 ;; 12925 12926*) 12927 dynamic_linker=no 12928 ;; 12929esac 12930{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 12931$as_echo "$dynamic_linker" >&6; } 12932test no = "$dynamic_linker" && can_build_shared=no 12933 12934variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 12935if test yes = "$GCC"; then 12936 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 12937fi 12938 12939if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then 12940 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec 12941fi 12942 12943if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then 12944 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec 12945fi 12946 12947# remember unaugmented sys_lib_dlsearch_path content for libtool script decls... 12948configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec 12949 12950# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code 12951func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" 12952 12953# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool 12954configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH 12955 12956 12957 12958 12959 12960 12961 12962 12963 12964 12965 12966 12967 12968 12969 12970 12971 12972 12973 12974 12975 12976 12977 12978 12979 12980 12981 12982 12983 12984 12985 12986 12987 12988 12989 12990 12991 12992 12993 12994 12995 12996 12997 12998 12999 13000 13001 13002 13003 13004 13005 13006 13007 13008 13009 13010 13011 13012 13013 13014 13015 13016 13017 13018 13019 13020 13021 13022 13023 13024 13025 13026 13027 13028 13029 13030 13031 13032 13033 13034 13035 13036 13037 13038 13039 13040 13041 13042 13043 13044 13045 13046 13047 13048 13049 13050 13051 13052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 13053$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 13054hardcode_action= 13055if test -n "$hardcode_libdir_flag_spec" || 13056 test -n "$runpath_var" || 13057 test yes = "$hardcode_automatic"; then 13058 13059 # We can hardcode non-existent directories. 13060 if test no != "$hardcode_direct" && 13061 # If the only mechanism to avoid hardcoding is shlibpath_var, we 13062 # have to relink, otherwise we might link with an installed library 13063 # when we should be linking with a yet-to-be-installed one 13064 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" && 13065 test no != "$hardcode_minus_L"; then 13066 # Linking always hardcodes the temporary library directory. 13067 hardcode_action=relink 13068 else 13069 # We can link without hardcoding, and we can hardcode nonexisting dirs. 13070 hardcode_action=immediate 13071 fi 13072else 13073 # We cannot hardcode anything, or else we can only hardcode existing 13074 # directories. 13075 hardcode_action=unsupported 13076fi 13077{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 13078$as_echo "$hardcode_action" >&6; } 13079 13080if test relink = "$hardcode_action" || 13081 test yes = "$inherit_rpath"; then 13082 # Fast installation is not supported 13083 enable_fast_install=no 13084elif test yes = "$shlibpath_overrides_runpath" || 13085 test no = "$enable_shared"; then 13086 # Fast installation is not necessary 13087 enable_fast_install=needless 13088fi 13089 13090 13091 13092 13093 13094 13095 if test yes != "$enable_dlopen"; then 13096 enable_dlopen=unknown 13097 enable_dlopen_self=unknown 13098 enable_dlopen_self_static=unknown 13099else 13100 lt_cv_dlopen=no 13101 lt_cv_dlopen_libs= 13102 13103 case $host_os in 13104 beos*) 13105 lt_cv_dlopen=load_add_on 13106 lt_cv_dlopen_libs= 13107 lt_cv_dlopen_self=yes 13108 ;; 13109 13110 mingw* | pw32* | cegcc*) 13111 lt_cv_dlopen=LoadLibrary 13112 lt_cv_dlopen_libs= 13113 ;; 13114 13115 cygwin*) 13116 lt_cv_dlopen=dlopen 13117 lt_cv_dlopen_libs= 13118 ;; 13119 13120 darwin*) 13121 # if libdl is installed we need to link against it 13122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 13123$as_echo_n "checking for dlopen in -ldl... " >&6; } 13124if ${ac_cv_lib_dl_dlopen+:} false; then : 13125 $as_echo_n "(cached) " >&6 13126else 13127 ac_check_lib_save_LIBS=$LIBS 13128LIBS="-ldl $LIBS" 13129cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13130/* end confdefs.h. */ 13131 13132/* Override any GCC internal prototype to avoid an error. 13133 Use char because int might match the return type of a GCC 13134 builtin and then its argument prototype would still apply. */ 13135#ifdef __cplusplus 13136extern "C" 13137#endif 13138char dlopen (); 13139int 13140main () 13141{ 13142return dlopen (); 13143 ; 13144 return 0; 13145} 13146_ACEOF 13147if ac_fn_c_try_link "$LINENO"; then : 13148 ac_cv_lib_dl_dlopen=yes 13149else 13150 ac_cv_lib_dl_dlopen=no 13151fi 13152rm -f core conftest.err conftest.$ac_objext \ 13153 conftest$ac_exeext conftest.$ac_ext 13154LIBS=$ac_check_lib_save_LIBS 13155fi 13156{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 13157$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 13158if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 13159 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 13160else 13161 13162 lt_cv_dlopen=dyld 13163 lt_cv_dlopen_libs= 13164 lt_cv_dlopen_self=yes 13165 13166fi 13167 13168 ;; 13169 13170 tpf*) 13171 # Don't try to run any link tests for TPF. We know it's impossible 13172 # because TPF is a cross-compiler, and we know how we open DSOs. 13173 lt_cv_dlopen=dlopen 13174 lt_cv_dlopen_libs= 13175 lt_cv_dlopen_self=no 13176 ;; 13177 13178 *) 13179 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 13180if test "x$ac_cv_func_shl_load" = xyes; then : 13181 lt_cv_dlopen=shl_load 13182else 13183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 13184$as_echo_n "checking for shl_load in -ldld... " >&6; } 13185if ${ac_cv_lib_dld_shl_load+:} false; then : 13186 $as_echo_n "(cached) " >&6 13187else 13188 ac_check_lib_save_LIBS=$LIBS 13189LIBS="-ldld $LIBS" 13190cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13191/* end confdefs.h. */ 13192 13193/* Override any GCC internal prototype to avoid an error. 13194 Use char because int might match the return type of a GCC 13195 builtin and then its argument prototype would still apply. */ 13196#ifdef __cplusplus 13197extern "C" 13198#endif 13199char shl_load (); 13200int 13201main () 13202{ 13203return shl_load (); 13204 ; 13205 return 0; 13206} 13207_ACEOF 13208if ac_fn_c_try_link "$LINENO"; then : 13209 ac_cv_lib_dld_shl_load=yes 13210else 13211 ac_cv_lib_dld_shl_load=no 13212fi 13213rm -f core conftest.err conftest.$ac_objext \ 13214 conftest$ac_exeext conftest.$ac_ext 13215LIBS=$ac_check_lib_save_LIBS 13216fi 13217{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 13218$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 13219if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 13220 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld 13221else 13222 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 13223if test "x$ac_cv_func_dlopen" = xyes; then : 13224 lt_cv_dlopen=dlopen 13225else 13226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 13227$as_echo_n "checking for dlopen in -ldl... " >&6; } 13228if ${ac_cv_lib_dl_dlopen+:} false; then : 13229 $as_echo_n "(cached) " >&6 13230else 13231 ac_check_lib_save_LIBS=$LIBS 13232LIBS="-ldl $LIBS" 13233cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13234/* end confdefs.h. */ 13235 13236/* Override any GCC internal prototype to avoid an error. 13237 Use char because int might match the return type of a GCC 13238 builtin and then its argument prototype would still apply. */ 13239#ifdef __cplusplus 13240extern "C" 13241#endif 13242char dlopen (); 13243int 13244main () 13245{ 13246return dlopen (); 13247 ; 13248 return 0; 13249} 13250_ACEOF 13251if ac_fn_c_try_link "$LINENO"; then : 13252 ac_cv_lib_dl_dlopen=yes 13253else 13254 ac_cv_lib_dl_dlopen=no 13255fi 13256rm -f core conftest.err conftest.$ac_objext \ 13257 conftest$ac_exeext conftest.$ac_ext 13258LIBS=$ac_check_lib_save_LIBS 13259fi 13260{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 13261$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 13262if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 13263 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 13264else 13265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 13266$as_echo_n "checking for dlopen in -lsvld... " >&6; } 13267if ${ac_cv_lib_svld_dlopen+:} false; then : 13268 $as_echo_n "(cached) " >&6 13269else 13270 ac_check_lib_save_LIBS=$LIBS 13271LIBS="-lsvld $LIBS" 13272cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13273/* end confdefs.h. */ 13274 13275/* Override any GCC internal prototype to avoid an error. 13276 Use char because int might match the return type of a GCC 13277 builtin and then its argument prototype would still apply. */ 13278#ifdef __cplusplus 13279extern "C" 13280#endif 13281char dlopen (); 13282int 13283main () 13284{ 13285return dlopen (); 13286 ; 13287 return 0; 13288} 13289_ACEOF 13290if ac_fn_c_try_link "$LINENO"; then : 13291 ac_cv_lib_svld_dlopen=yes 13292else 13293 ac_cv_lib_svld_dlopen=no 13294fi 13295rm -f core conftest.err conftest.$ac_objext \ 13296 conftest$ac_exeext conftest.$ac_ext 13297LIBS=$ac_check_lib_save_LIBS 13298fi 13299{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 13300$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 13301if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 13302 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld 13303else 13304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 13305$as_echo_n "checking for dld_link in -ldld... " >&6; } 13306if ${ac_cv_lib_dld_dld_link+:} false; then : 13307 $as_echo_n "(cached) " >&6 13308else 13309 ac_check_lib_save_LIBS=$LIBS 13310LIBS="-ldld $LIBS" 13311cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13312/* end confdefs.h. */ 13313 13314/* Override any GCC internal prototype to avoid an error. 13315 Use char because int might match the return type of a GCC 13316 builtin and then its argument prototype would still apply. */ 13317#ifdef __cplusplus 13318extern "C" 13319#endif 13320char dld_link (); 13321int 13322main () 13323{ 13324return dld_link (); 13325 ; 13326 return 0; 13327} 13328_ACEOF 13329if ac_fn_c_try_link "$LINENO"; then : 13330 ac_cv_lib_dld_dld_link=yes 13331else 13332 ac_cv_lib_dld_dld_link=no 13333fi 13334rm -f core conftest.err conftest.$ac_objext \ 13335 conftest$ac_exeext conftest.$ac_ext 13336LIBS=$ac_check_lib_save_LIBS 13337fi 13338{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 13339$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 13340if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 13341 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld 13342fi 13343 13344 13345fi 13346 13347 13348fi 13349 13350 13351fi 13352 13353 13354fi 13355 13356 13357fi 13358 13359 ;; 13360 esac 13361 13362 if test no = "$lt_cv_dlopen"; then 13363 enable_dlopen=no 13364 else 13365 enable_dlopen=yes 13366 fi 13367 13368 case $lt_cv_dlopen in 13369 dlopen) 13370 save_CPPFLAGS=$CPPFLAGS 13371 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 13372 13373 save_LDFLAGS=$LDFLAGS 13374 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 13375 13376 save_LIBS=$LIBS 13377 LIBS="$lt_cv_dlopen_libs $LIBS" 13378 13379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 13380$as_echo_n "checking whether a program can dlopen itself... " >&6; } 13381if ${lt_cv_dlopen_self+:} false; then : 13382 $as_echo_n "(cached) " >&6 13383else 13384 if test yes = "$cross_compiling"; then : 13385 lt_cv_dlopen_self=cross 13386else 13387 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 13388 lt_status=$lt_dlunknown 13389 cat > conftest.$ac_ext <<_LT_EOF 13390#line $LINENO "configure" 13391#include "confdefs.h" 13392 13393#if HAVE_DLFCN_H 13394#include <dlfcn.h> 13395#endif 13396 13397#include <stdio.h> 13398 13399#ifdef RTLD_GLOBAL 13400# define LT_DLGLOBAL RTLD_GLOBAL 13401#else 13402# ifdef DL_GLOBAL 13403# define LT_DLGLOBAL DL_GLOBAL 13404# else 13405# define LT_DLGLOBAL 0 13406# endif 13407#endif 13408 13409/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 13410 find out it does not work in some platform. */ 13411#ifndef LT_DLLAZY_OR_NOW 13412# ifdef RTLD_LAZY 13413# define LT_DLLAZY_OR_NOW RTLD_LAZY 13414# else 13415# ifdef DL_LAZY 13416# define LT_DLLAZY_OR_NOW DL_LAZY 13417# else 13418# ifdef RTLD_NOW 13419# define LT_DLLAZY_OR_NOW RTLD_NOW 13420# else 13421# ifdef DL_NOW 13422# define LT_DLLAZY_OR_NOW DL_NOW 13423# else 13424# define LT_DLLAZY_OR_NOW 0 13425# endif 13426# endif 13427# endif 13428# endif 13429#endif 13430 13431/* When -fvisibility=hidden is used, assume the code has been annotated 13432 correspondingly for the symbols needed. */ 13433#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 13434int fnord () __attribute__((visibility("default"))); 13435#endif 13436 13437int fnord () { return 42; } 13438int main () 13439{ 13440 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 13441 int status = $lt_dlunknown; 13442 13443 if (self) 13444 { 13445 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 13446 else 13447 { 13448 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 13449 else puts (dlerror ()); 13450 } 13451 /* dlclose (self); */ 13452 } 13453 else 13454 puts (dlerror ()); 13455 13456 return status; 13457} 13458_LT_EOF 13459 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 13460 (eval $ac_link) 2>&5 13461 ac_status=$? 13462 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13463 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 13464 (./conftest; exit; ) >&5 2>/dev/null 13465 lt_status=$? 13466 case x$lt_status in 13467 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 13468 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 13469 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 13470 esac 13471 else : 13472 # compilation failed 13473 lt_cv_dlopen_self=no 13474 fi 13475fi 13476rm -fr conftest* 13477 13478 13479fi 13480{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 13481$as_echo "$lt_cv_dlopen_self" >&6; } 13482 13483 if test yes = "$lt_cv_dlopen_self"; then 13484 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 13485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 13486$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 13487if ${lt_cv_dlopen_self_static+:} false; then : 13488 $as_echo_n "(cached) " >&6 13489else 13490 if test yes = "$cross_compiling"; then : 13491 lt_cv_dlopen_self_static=cross 13492else 13493 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 13494 lt_status=$lt_dlunknown 13495 cat > conftest.$ac_ext <<_LT_EOF 13496#line $LINENO "configure" 13497#include "confdefs.h" 13498 13499#if HAVE_DLFCN_H 13500#include <dlfcn.h> 13501#endif 13502 13503#include <stdio.h> 13504 13505#ifdef RTLD_GLOBAL 13506# define LT_DLGLOBAL RTLD_GLOBAL 13507#else 13508# ifdef DL_GLOBAL 13509# define LT_DLGLOBAL DL_GLOBAL 13510# else 13511# define LT_DLGLOBAL 0 13512# endif 13513#endif 13514 13515/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 13516 find out it does not work in some platform. */ 13517#ifndef LT_DLLAZY_OR_NOW 13518# ifdef RTLD_LAZY 13519# define LT_DLLAZY_OR_NOW RTLD_LAZY 13520# else 13521# ifdef DL_LAZY 13522# define LT_DLLAZY_OR_NOW DL_LAZY 13523# else 13524# ifdef RTLD_NOW 13525# define LT_DLLAZY_OR_NOW RTLD_NOW 13526# else 13527# ifdef DL_NOW 13528# define LT_DLLAZY_OR_NOW DL_NOW 13529# else 13530# define LT_DLLAZY_OR_NOW 0 13531# endif 13532# endif 13533# endif 13534# endif 13535#endif 13536 13537/* When -fvisibility=hidden is used, assume the code has been annotated 13538 correspondingly for the symbols needed. */ 13539#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 13540int fnord () __attribute__((visibility("default"))); 13541#endif 13542 13543int fnord () { return 42; } 13544int main () 13545{ 13546 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 13547 int status = $lt_dlunknown; 13548 13549 if (self) 13550 { 13551 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 13552 else 13553 { 13554 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 13555 else puts (dlerror ()); 13556 } 13557 /* dlclose (self); */ 13558 } 13559 else 13560 puts (dlerror ()); 13561 13562 return status; 13563} 13564_LT_EOF 13565 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 13566 (eval $ac_link) 2>&5 13567 ac_status=$? 13568 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13569 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 13570 (./conftest; exit; ) >&5 2>/dev/null 13571 lt_status=$? 13572 case x$lt_status in 13573 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 13574 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 13575 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 13576 esac 13577 else : 13578 # compilation failed 13579 lt_cv_dlopen_self_static=no 13580 fi 13581fi 13582rm -fr conftest* 13583 13584 13585fi 13586{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 13587$as_echo "$lt_cv_dlopen_self_static" >&6; } 13588 fi 13589 13590 CPPFLAGS=$save_CPPFLAGS 13591 LDFLAGS=$save_LDFLAGS 13592 LIBS=$save_LIBS 13593 ;; 13594 esac 13595 13596 case $lt_cv_dlopen_self in 13597 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 13598 *) enable_dlopen_self=unknown ;; 13599 esac 13600 13601 case $lt_cv_dlopen_self_static in 13602 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 13603 *) enable_dlopen_self_static=unknown ;; 13604 esac 13605fi 13606 13607 13608 13609 13610 13611 13612 13613 13614 13615 13616 13617 13618 13619 13620 13621 13622 13623striplib= 13624old_striplib= 13625{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 13626$as_echo_n "checking whether stripping libraries is possible... " >&6; } 13627if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 13628 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 13629 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 13630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13631$as_echo "yes" >&6; } 13632else 13633# FIXME - insert some real tests, host_os isn't really good enough 13634 case $host_os in 13635 darwin*) 13636 if test -n "$STRIP"; then 13637 striplib="$STRIP -x" 13638 old_striplib="$STRIP -S" 13639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13640$as_echo "yes" >&6; } 13641 else 13642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13643$as_echo "no" >&6; } 13644 fi 13645 ;; 13646 *) 13647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13648$as_echo "no" >&6; } 13649 ;; 13650 esac 13651fi 13652 13653 13654 13655 13656 13657 13658 13659 13660 13661 13662 13663 13664 # Report what library types will actually be built 13665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 13666$as_echo_n "checking if libtool supports shared libraries... " >&6; } 13667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 13668$as_echo "$can_build_shared" >&6; } 13669 13670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 13671$as_echo_n "checking whether to build shared libraries... " >&6; } 13672 test no = "$can_build_shared" && enable_shared=no 13673 13674 # On AIX, shared libraries and static libraries use the same namespace, and 13675 # are all built from PIC. 13676 case $host_os in 13677 aix3*) 13678 test yes = "$enable_shared" && enable_static=no 13679 if test -n "$RANLIB"; then 13680 archive_cmds="$archive_cmds~\$RANLIB \$lib" 13681 postinstall_cmds='$RANLIB $lib' 13682 fi 13683 ;; 13684 13685 aix[4-9]*) 13686 if test ia64 != "$host_cpu"; then 13687 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in 13688 yes,aix,yes) ;; # shared object as lib.so file only 13689 yes,svr4,*) ;; # shared object as lib.so archive member only 13690 yes,*) enable_static=no ;; # shared object in lib.a archive as well 13691 esac 13692 fi 13693 ;; 13694 esac 13695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 13696$as_echo "$enable_shared" >&6; } 13697 13698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 13699$as_echo_n "checking whether to build static libraries... " >&6; } 13700 # Make sure either enable_shared or enable_static is yes. 13701 test yes = "$enable_shared" || enable_static=yes 13702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 13703$as_echo "$enable_static" >&6; } 13704 13705 13706 13707 13708fi 13709ac_ext=c 13710ac_cpp='$CPP $CPPFLAGS' 13711ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13712ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13713ac_compiler_gnu=$ac_cv_c_compiler_gnu 13714 13715CC=$lt_save_CC 13716 13717 if test -n "$CXX" && ( test no != "$CXX" && 13718 ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) || 13719 (test g++ != "$CXX"))); then 13720 ac_ext=cpp 13721ac_cpp='$CXXCPP $CPPFLAGS' 13722ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13723ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13724ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 13725{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 13726$as_echo_n "checking how to run the C++ preprocessor... " >&6; } 13727if test -z "$CXXCPP"; then 13728 if ${ac_cv_prog_CXXCPP+:} false; then : 13729 $as_echo_n "(cached) " >&6 13730else 13731 # Double quotes because CXXCPP needs to be expanded 13732 for CXXCPP in "$CXX -E" "/lib/cpp" 13733 do 13734 ac_preproc_ok=false 13735for ac_cxx_preproc_warn_flag in '' yes 13736do 13737 # Use a header file that comes with gcc, so configuring glibc 13738 # with a fresh cross-compiler works. 13739 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 13740 # <limits.h> exists even on freestanding compilers. 13741 # On the NeXT, cc -E runs the code through the compiler's parser, 13742 # not just through cpp. "Syntax error" is here to catch this case. 13743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13744/* end confdefs.h. */ 13745#ifdef __STDC__ 13746# include <limits.h> 13747#else 13748# include <assert.h> 13749#endif 13750 Syntax error 13751_ACEOF 13752if ac_fn_cxx_try_cpp "$LINENO"; then : 13753 13754else 13755 # Broken: fails on valid input. 13756continue 13757fi 13758rm -f conftest.err conftest.i conftest.$ac_ext 13759 13760 # OK, works on sane cases. Now check whether nonexistent headers 13761 # can be detected and how. 13762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13763/* end confdefs.h. */ 13764#include <ac_nonexistent.h> 13765_ACEOF 13766if ac_fn_cxx_try_cpp "$LINENO"; then : 13767 # Broken: success on invalid input. 13768continue 13769else 13770 # Passes both tests. 13771ac_preproc_ok=: 13772break 13773fi 13774rm -f conftest.err conftest.i conftest.$ac_ext 13775 13776done 13777# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 13778rm -f conftest.i conftest.err conftest.$ac_ext 13779if $ac_preproc_ok; then : 13780 break 13781fi 13782 13783 done 13784 ac_cv_prog_CXXCPP=$CXXCPP 13785 13786fi 13787 CXXCPP=$ac_cv_prog_CXXCPP 13788else 13789 ac_cv_prog_CXXCPP=$CXXCPP 13790fi 13791{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 13792$as_echo "$CXXCPP" >&6; } 13793ac_preproc_ok=false 13794for ac_cxx_preproc_warn_flag in '' yes 13795do 13796 # Use a header file that comes with gcc, so configuring glibc 13797 # with a fresh cross-compiler works. 13798 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 13799 # <limits.h> exists even on freestanding compilers. 13800 # On the NeXT, cc -E runs the code through the compiler's parser, 13801 # not just through cpp. "Syntax error" is here to catch this case. 13802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13803/* end confdefs.h. */ 13804#ifdef __STDC__ 13805# include <limits.h> 13806#else 13807# include <assert.h> 13808#endif 13809 Syntax error 13810_ACEOF 13811if ac_fn_cxx_try_cpp "$LINENO"; then : 13812 13813else 13814 # Broken: fails on valid input. 13815continue 13816fi 13817rm -f conftest.err conftest.i conftest.$ac_ext 13818 13819 # OK, works on sane cases. Now check whether nonexistent headers 13820 # can be detected and how. 13821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13822/* end confdefs.h. */ 13823#include <ac_nonexistent.h> 13824_ACEOF 13825if ac_fn_cxx_try_cpp "$LINENO"; then : 13826 # Broken: success on invalid input. 13827continue 13828else 13829 # Passes both tests. 13830ac_preproc_ok=: 13831break 13832fi 13833rm -f conftest.err conftest.i conftest.$ac_ext 13834 13835done 13836# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 13837rm -f conftest.i conftest.err conftest.$ac_ext 13838if $ac_preproc_ok; then : 13839 13840else 13841 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 13842$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 13843as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check 13844See \`config.log' for more details" "$LINENO" 5; } 13845fi 13846 13847ac_ext=c 13848ac_cpp='$CPP $CPPFLAGS' 13849ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13850ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13851ac_compiler_gnu=$ac_cv_c_compiler_gnu 13852 13853else 13854 _lt_caught_CXX_error=yes 13855fi 13856 13857ac_ext=cpp 13858ac_cpp='$CXXCPP $CPPFLAGS' 13859ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13860ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13861ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 13862 13863archive_cmds_need_lc_CXX=no 13864allow_undefined_flag_CXX= 13865always_export_symbols_CXX=no 13866archive_expsym_cmds_CXX= 13867compiler_needs_object_CXX=no 13868export_dynamic_flag_spec_CXX= 13869hardcode_direct_CXX=no 13870hardcode_direct_absolute_CXX=no 13871hardcode_libdir_flag_spec_CXX= 13872hardcode_libdir_separator_CXX= 13873hardcode_minus_L_CXX=no 13874hardcode_shlibpath_var_CXX=unsupported 13875hardcode_automatic_CXX=no 13876inherit_rpath_CXX=no 13877module_cmds_CXX= 13878module_expsym_cmds_CXX= 13879link_all_deplibs_CXX=unknown 13880old_archive_cmds_CXX=$old_archive_cmds 13881reload_flag_CXX=$reload_flag 13882reload_cmds_CXX=$reload_cmds 13883no_undefined_flag_CXX= 13884whole_archive_flag_spec_CXX= 13885enable_shared_with_static_runtimes_CXX=no 13886 13887# Source file extension for C++ test sources. 13888ac_ext=cpp 13889 13890# Object file extension for compiled C++ test sources. 13891objext=o 13892objext_CXX=$objext 13893 13894# No sense in running all these tests if we already determined that 13895# the CXX compiler isn't working. Some variables (like enable_shared) 13896# are currently assumed to apply to all compilers on this platform, 13897# and will be corrupted by setting them based on a non-working compiler. 13898if test yes != "$_lt_caught_CXX_error"; then 13899 # Code to be used in simple compile tests 13900 lt_simple_compile_test_code="int some_variable = 0;" 13901 13902 # Code to be used in simple link tests 13903 lt_simple_link_test_code='int main(int, char *[]) { return(0); }' 13904 13905 # ltmain only uses $CC for tagged configurations so make sure $CC is set. 13906 13907 13908 13909 13910 13911 13912# If no C compiler was specified, use CC. 13913LTCC=${LTCC-"$CC"} 13914 13915# If no C compiler flags were specified, use CFLAGS. 13916LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 13917 13918# Allow CC to be a program name with arguments. 13919compiler=$CC 13920 13921 13922 # save warnings/boilerplate of simple test code 13923 ac_outfile=conftest.$ac_objext 13924echo "$lt_simple_compile_test_code" >conftest.$ac_ext 13925eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 13926_lt_compiler_boilerplate=`cat conftest.err` 13927$RM conftest* 13928 13929 ac_outfile=conftest.$ac_objext 13930echo "$lt_simple_link_test_code" >conftest.$ac_ext 13931eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 13932_lt_linker_boilerplate=`cat conftest.err` 13933$RM -r conftest* 13934 13935 13936 # Allow CC to be a program name with arguments. 13937 lt_save_CC=$CC 13938 lt_save_CFLAGS=$CFLAGS 13939 lt_save_LD=$LD 13940 lt_save_GCC=$GCC 13941 GCC=$GXX 13942 lt_save_with_gnu_ld=$with_gnu_ld 13943 lt_save_path_LD=$lt_cv_path_LD 13944 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then 13945 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx 13946 else 13947 $as_unset lt_cv_prog_gnu_ld 13948 fi 13949 if test -n "${lt_cv_path_LDCXX+set}"; then 13950 lt_cv_path_LD=$lt_cv_path_LDCXX 13951 else 13952 $as_unset lt_cv_path_LD 13953 fi 13954 test -z "${LDCXX+set}" || LD=$LDCXX 13955 CC=${CXX-"c++"} 13956 CFLAGS=$CXXFLAGS 13957 compiler=$CC 13958 compiler_CXX=$CC 13959 func_cc_basename $compiler 13960cc_basename=$func_cc_basename_result 13961 13962 13963 if test -n "$compiler"; then 13964 # We don't want -fno-exception when compiling C++ code, so set the 13965 # no_builtin_flag separately 13966 if test yes = "$GXX"; then 13967 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin' 13968 else 13969 lt_prog_compiler_no_builtin_flag_CXX= 13970 fi 13971 13972 if test yes = "$GXX"; then 13973 # Set up default GNU C++ configuration 13974 13975 13976 13977# Check whether --with-gnu-ld was given. 13978if test "${with_gnu_ld+set}" = set; then : 13979 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes 13980else 13981 with_gnu_ld=no 13982fi 13983 13984ac_prog=ld 13985if test yes = "$GCC"; then 13986 # Check if gcc -print-prog-name=ld gives a path. 13987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 13988$as_echo_n "checking for ld used by $CC... " >&6; } 13989 case $host in 13990 *-*-mingw*) 13991 # gcc leaves a trailing carriage return, which upsets mingw 13992 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 13993 *) 13994 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 13995 esac 13996 case $ac_prog in 13997 # Accept absolute paths. 13998 [\\/]* | ?:[\\/]*) 13999 re_direlt='/[^/][^/]*/\.\./' 14000 # Canonicalize the pathname of ld 14001 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 14002 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 14003 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 14004 done 14005 test -z "$LD" && LD=$ac_prog 14006 ;; 14007 "") 14008 # If it fails, then pretend we aren't using GCC. 14009 ac_prog=ld 14010 ;; 14011 *) 14012 # If it is relative, then search for the first ld in PATH. 14013 with_gnu_ld=unknown 14014 ;; 14015 esac 14016elif test yes = "$with_gnu_ld"; then 14017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 14018$as_echo_n "checking for GNU ld... " >&6; } 14019else 14020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 14021$as_echo_n "checking for non-GNU ld... " >&6; } 14022fi 14023if ${lt_cv_path_LD+:} false; then : 14024 $as_echo_n "(cached) " >&6 14025else 14026 if test -z "$LD"; then 14027 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 14028 for ac_dir in $PATH; do 14029 IFS=$lt_save_ifs 14030 test -z "$ac_dir" && ac_dir=. 14031 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 14032 lt_cv_path_LD=$ac_dir/$ac_prog 14033 # Check to see if the program is GNU ld. I'd rather use --version, 14034 # but apparently some variants of GNU ld only accept -v. 14035 # Break only if it was the GNU/non-GNU ld that we prefer. 14036 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 14037 *GNU* | *'with BFD'*) 14038 test no != "$with_gnu_ld" && break 14039 ;; 14040 *) 14041 test yes != "$with_gnu_ld" && break 14042 ;; 14043 esac 14044 fi 14045 done 14046 IFS=$lt_save_ifs 14047else 14048 lt_cv_path_LD=$LD # Let the user override the test with a path. 14049fi 14050fi 14051 14052LD=$lt_cv_path_LD 14053if test -n "$LD"; then 14054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 14055$as_echo "$LD" >&6; } 14056else 14057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14058$as_echo "no" >&6; } 14059fi 14060test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 14061{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 14062$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 14063if ${lt_cv_prog_gnu_ld+:} false; then : 14064 $as_echo_n "(cached) " >&6 14065else 14066 # I'd rather use --version here, but apparently some GNU lds only accept -v. 14067case `$LD -v 2>&1 </dev/null` in 14068*GNU* | *'with BFD'*) 14069 lt_cv_prog_gnu_ld=yes 14070 ;; 14071*) 14072 lt_cv_prog_gnu_ld=no 14073 ;; 14074esac 14075fi 14076{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 14077$as_echo "$lt_cv_prog_gnu_ld" >&6; } 14078with_gnu_ld=$lt_cv_prog_gnu_ld 14079 14080 14081 14082 14083 14084 14085 14086 # Check if GNU C++ uses GNU ld as the underlying linker, since the 14087 # archiving commands below assume that GNU ld is being used. 14088 if test yes = "$with_gnu_ld"; then 14089 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 14090 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' 14091 14092 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 14093 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 14094 14095 # If archive_cmds runs LD, not CC, wlarc should be empty 14096 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to 14097 # investigate it a little bit more. (MM) 14098 wlarc='$wl' 14099 14100 # ancient GNU ld didn't support --whole-archive et. al. 14101 if eval "`$CC -print-prog-name=ld` --help 2>&1" | 14102 $GREP 'no-whole-archive' > /dev/null; then 14103 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 14104 else 14105 whole_archive_flag_spec_CXX= 14106 fi 14107 else 14108 with_gnu_ld=no 14109 wlarc= 14110 14111 # A generic and very simple default shared library creation 14112 # command for GNU C++ for the case where it uses the native 14113 # linker, instead of GNU ld. If possible, this setting should 14114 # overridden to take advantage of the native linker features on 14115 # the platform it is being used on. 14116 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 14117 fi 14118 14119 # Commands to make compiler produce verbose output that lists 14120 # what "hidden" libraries, object files and flags are used when 14121 # linking a shared library. 14122 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 14123 14124 else 14125 GXX=no 14126 with_gnu_ld=no 14127 wlarc= 14128 fi 14129 14130 # PORTME: fill in a description of your system's C++ link characteristics 14131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 14132$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 14133 ld_shlibs_CXX=yes 14134 case $host_os in 14135 aix3*) 14136 # FIXME: insert proper C++ library support 14137 ld_shlibs_CXX=no 14138 ;; 14139 aix[4-9]*) 14140 if test ia64 = "$host_cpu"; then 14141 # On IA64, the linker does run time linking by default, so we don't 14142 # have to do anything special. 14143 aix_use_runtimelinking=no 14144 exp_sym_flag='-Bexport' 14145 no_entry_flag= 14146 else 14147 aix_use_runtimelinking=no 14148 14149 # Test if we are trying to use run time linking or normal 14150 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 14151 # have runtime linking enabled, and use it for executables. 14152 # For shared libraries, we enable/disable runtime linking 14153 # depending on the kind of the shared library created - 14154 # when "with_aix_soname,aix_use_runtimelinking" is: 14155 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables 14156 # "aix,yes" lib.so shared, rtl:yes, for executables 14157 # lib.a static archive 14158 # "both,no" lib.so.V(shr.o) shared, rtl:yes 14159 # lib.a(lib.so.V) shared, rtl:no, for executables 14160 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables 14161 # lib.a(lib.so.V) shared, rtl:no 14162 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables 14163 # lib.a static archive 14164 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 14165 for ld_flag in $LDFLAGS; do 14166 case $ld_flag in 14167 *-brtl*) 14168 aix_use_runtimelinking=yes 14169 break 14170 ;; 14171 esac 14172 done 14173 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then 14174 # With aix-soname=svr4, we create the lib.so.V shared archives only, 14175 # so we don't have lib.a shared libs to link our executables. 14176 # We have to force runtime linking in this case. 14177 aix_use_runtimelinking=yes 14178 LDFLAGS="$LDFLAGS -Wl,-brtl" 14179 fi 14180 ;; 14181 esac 14182 14183 exp_sym_flag='-bexport' 14184 no_entry_flag='-bnoentry' 14185 fi 14186 14187 # When large executables or shared objects are built, AIX ld can 14188 # have problems creating the table of contents. If linking a library 14189 # or program results in "error TOC overflow" add -mminimal-toc to 14190 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 14191 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 14192 14193 archive_cmds_CXX='' 14194 hardcode_direct_CXX=yes 14195 hardcode_direct_absolute_CXX=yes 14196 hardcode_libdir_separator_CXX=':' 14197 link_all_deplibs_CXX=yes 14198 file_list_spec_CXX='$wl-f,' 14199 case $with_aix_soname,$aix_use_runtimelinking in 14200 aix,*) ;; # no import file 14201 svr4,* | *,yes) # use import file 14202 # The Import File defines what to hardcode. 14203 hardcode_direct_CXX=no 14204 hardcode_direct_absolute_CXX=no 14205 ;; 14206 esac 14207 14208 if test yes = "$GXX"; then 14209 case $host_os in aix4.[012]|aix4.[012].*) 14210 # We only want to do this on AIX 4.2 and lower, the check 14211 # below for broken collect2 doesn't work under 4.3+ 14212 collect2name=`$CC -print-prog-name=collect2` 14213 if test -f "$collect2name" && 14214 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 14215 then 14216 # We have reworked collect2 14217 : 14218 else 14219 # We have old collect2 14220 hardcode_direct_CXX=unsupported 14221 # It fails to find uninstalled libraries when the uninstalled 14222 # path is not listed in the libpath. Setting hardcode_minus_L 14223 # to unsupported forces relinking 14224 hardcode_minus_L_CXX=yes 14225 hardcode_libdir_flag_spec_CXX='-L$libdir' 14226 hardcode_libdir_separator_CXX= 14227 fi 14228 esac 14229 shared_flag='-shared' 14230 if test yes = "$aix_use_runtimelinking"; then 14231 shared_flag=$shared_flag' $wl-G' 14232 fi 14233 # Need to ensure runtime linking is disabled for the traditional 14234 # shared library, or the linker may eventually find shared libraries 14235 # /with/ Import File - we do not want to mix them. 14236 shared_flag_aix='-shared' 14237 shared_flag_svr4='-shared $wl-G' 14238 else 14239 # not using gcc 14240 if test ia64 = "$host_cpu"; then 14241 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 14242 # chokes on -Wl,-G. The following line is correct: 14243 shared_flag='-G' 14244 else 14245 if test yes = "$aix_use_runtimelinking"; then 14246 shared_flag='$wl-G' 14247 else 14248 shared_flag='$wl-bM:SRE' 14249 fi 14250 shared_flag_aix='$wl-bM:SRE' 14251 shared_flag_svr4='$wl-G' 14252 fi 14253 fi 14254 14255 export_dynamic_flag_spec_CXX='$wl-bexpall' 14256 # It seems that -bexpall does not export symbols beginning with 14257 # underscore (_), so it is better to generate a list of symbols to 14258 # export. 14259 always_export_symbols_CXX=yes 14260 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then 14261 # Warning - without using the other runtime loading flags (-brtl), 14262 # -berok will link without error, but may produce a broken library. 14263 # The "-G" linker flag allows undefined symbols. 14264 no_undefined_flag_CXX='-bernotok' 14265 # Determine the default libpath from the value encoded in an empty 14266 # executable. 14267 if test set = "${lt_cv_aix_libpath+set}"; then 14268 aix_libpath=$lt_cv_aix_libpath 14269else 14270 if ${lt_cv_aix_libpath__CXX+:} false; then : 14271 $as_echo_n "(cached) " >&6 14272else 14273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14274/* end confdefs.h. */ 14275 14276int 14277main () 14278{ 14279 14280 ; 14281 return 0; 14282} 14283_ACEOF 14284if ac_fn_cxx_try_link "$LINENO"; then : 14285 14286 lt_aix_libpath_sed=' 14287 /Import File Strings/,/^$/ { 14288 /^0/ { 14289 s/^0 *\([^ ]*\) *$/\1/ 14290 p 14291 } 14292 }' 14293 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 14294 # Check for a 64-bit object if we didn't find anything. 14295 if test -z "$lt_cv_aix_libpath__CXX"; then 14296 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 14297 fi 14298fi 14299rm -f core conftest.err conftest.$ac_objext \ 14300 conftest$ac_exeext conftest.$ac_ext 14301 if test -z "$lt_cv_aix_libpath__CXX"; then 14302 lt_cv_aix_libpath__CXX=/usr/lib:/lib 14303 fi 14304 14305fi 14306 14307 aix_libpath=$lt_cv_aix_libpath__CXX 14308fi 14309 14310 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath" 14311 14312 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 14313 else 14314 if test ia64 = "$host_cpu"; then 14315 hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib' 14316 allow_undefined_flag_CXX="-z nodefs" 14317 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" 14318 else 14319 # Determine the default libpath from the value encoded in an 14320 # empty executable. 14321 if test set = "${lt_cv_aix_libpath+set}"; then 14322 aix_libpath=$lt_cv_aix_libpath 14323else 14324 if ${lt_cv_aix_libpath__CXX+:} false; then : 14325 $as_echo_n "(cached) " >&6 14326else 14327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14328/* end confdefs.h. */ 14329 14330int 14331main () 14332{ 14333 14334 ; 14335 return 0; 14336} 14337_ACEOF 14338if ac_fn_cxx_try_link "$LINENO"; then : 14339 14340 lt_aix_libpath_sed=' 14341 /Import File Strings/,/^$/ { 14342 /^0/ { 14343 s/^0 *\([^ ]*\) *$/\1/ 14344 p 14345 } 14346 }' 14347 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 14348 # Check for a 64-bit object if we didn't find anything. 14349 if test -z "$lt_cv_aix_libpath__CXX"; then 14350 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 14351 fi 14352fi 14353rm -f core conftest.err conftest.$ac_objext \ 14354 conftest$ac_exeext conftest.$ac_ext 14355 if test -z "$lt_cv_aix_libpath__CXX"; then 14356 lt_cv_aix_libpath__CXX=/usr/lib:/lib 14357 fi 14358 14359fi 14360 14361 aix_libpath=$lt_cv_aix_libpath__CXX 14362fi 14363 14364 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath" 14365 # Warning - without using the other run time loading flags, 14366 # -berok will link without error, but may produce a broken library. 14367 no_undefined_flag_CXX=' $wl-bernotok' 14368 allow_undefined_flag_CXX=' $wl-berok' 14369 if test yes = "$with_gnu_ld"; then 14370 # We only use this code for GNU lds that support --whole-archive. 14371 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive' 14372 else 14373 # Exported symbols can be pulled into shared objects from archives 14374 whole_archive_flag_spec_CXX='$convenience' 14375 fi 14376 archive_cmds_need_lc_CXX=yes 14377 archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' 14378 # -brtl affects multiple linker settings, -berok does not and is overridden later 14379 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' 14380 if test svr4 != "$with_aix_soname"; then 14381 # This is similar to how AIX traditionally builds its shared 14382 # libraries. Need -bnortl late, we may have -brtl in LDFLAGS. 14383 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' 14384 fi 14385 if test aix != "$with_aix_soname"; then 14386 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' 14387 else 14388 # used by -dlpreopen to get the symbols 14389 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV $output_objdir/$realname.d/$soname $output_objdir' 14390 fi 14391 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d' 14392 fi 14393 fi 14394 ;; 14395 14396 beos*) 14397 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 14398 allow_undefined_flag_CXX=unsupported 14399 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 14400 # support --undefined. This deserves some investigation. FIXME 14401 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 14402 else 14403 ld_shlibs_CXX=no 14404 fi 14405 ;; 14406 14407 chorus*) 14408 case $cc_basename in 14409 *) 14410 # FIXME: insert proper C++ library support 14411 ld_shlibs_CXX=no 14412 ;; 14413 esac 14414 ;; 14415 14416 cygwin* | mingw* | pw32* | cegcc*) 14417 case $GXX,$cc_basename in 14418 ,cl* | no,cl*) 14419 # Native MSVC 14420 # hardcode_libdir_flag_spec is actually meaningless, as there is 14421 # no search path for DLLs. 14422 hardcode_libdir_flag_spec_CXX=' ' 14423 allow_undefined_flag_CXX=unsupported 14424 always_export_symbols_CXX=yes 14425 file_list_spec_CXX='@' 14426 # Tell ltmain to make .lib files, not .a files. 14427 libext=lib 14428 # Tell ltmain to make .dll files, not .so files. 14429 shrext_cmds=.dll 14430 # FIXME: Setting linknames here is a bad hack. 14431 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' 14432 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 14433 cp "$export_symbols" "$output_objdir/$soname.def"; 14434 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; 14435 else 14436 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; 14437 fi~ 14438 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 14439 linknames=' 14440 # The linker will not automatically build a static lib if we build a DLL. 14441 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true' 14442 enable_shared_with_static_runtimes_CXX=yes 14443 # Don't use ranlib 14444 old_postinstall_cmds_CXX='chmod 644 $oldlib' 14445 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~ 14446 lt_tool_outputfile="@TOOL_OUTPUT@"~ 14447 case $lt_outputfile in 14448 *.exe|*.EXE) ;; 14449 *) 14450 lt_outputfile=$lt_outputfile.exe 14451 lt_tool_outputfile=$lt_tool_outputfile.exe 14452 ;; 14453 esac~ 14454 func_to_tool_file "$lt_outputfile"~ 14455 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then 14456 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 14457 $RM "$lt_outputfile.manifest"; 14458 fi' 14459 ;; 14460 *) 14461 # g++ 14462 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, 14463 # as there is no search path for DLLs. 14464 hardcode_libdir_flag_spec_CXX='-L$libdir' 14465 export_dynamic_flag_spec_CXX='$wl--export-all-symbols' 14466 allow_undefined_flag_CXX=unsupported 14467 always_export_symbols_CXX=no 14468 enable_shared_with_static_runtimes_CXX=yes 14469 14470 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 14471 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' 14472 # If the export-symbols file already is a .def file, use it as 14473 # is; otherwise, prepend EXPORTS... 14474 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 14475 cp $export_symbols $output_objdir/$soname.def; 14476 else 14477 echo EXPORTS > $output_objdir/$soname.def; 14478 cat $export_symbols >> $output_objdir/$soname.def; 14479 fi~ 14480 $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' 14481 else 14482 ld_shlibs_CXX=no 14483 fi 14484 ;; 14485 esac 14486 ;; 14487 darwin* | rhapsody*) 14488 14489 14490 archive_cmds_need_lc_CXX=no 14491 hardcode_direct_CXX=no 14492 hardcode_automatic_CXX=yes 14493 hardcode_shlibpath_var_CXX=unsupported 14494 if test yes = "$lt_cv_ld_force_load"; then 14495 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\"`' 14496 14497 else 14498 whole_archive_flag_spec_CXX='' 14499 fi 14500 link_all_deplibs_CXX=yes 14501 allow_undefined_flag_CXX=$_lt_dar_allow_undefined 14502 case $cc_basename in 14503 ifort*|nagfor*) _lt_dar_can_shared=yes ;; 14504 *) _lt_dar_can_shared=$GCC ;; 14505 esac 14506 if test yes = "$_lt_dar_can_shared"; then 14507 output_verbose_link_cmd=func_echo_all 14508 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" 14509 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" 14510 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" 14511 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" 14512 if test yes != "$lt_cv_apple_cc_single_mod"; then 14513 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" 14514 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" 14515 fi 14516 14517 else 14518 ld_shlibs_CXX=no 14519 fi 14520 14521 ;; 14522 14523 os2*) 14524 hardcode_libdir_flag_spec_CXX='-L$libdir' 14525 hardcode_minus_L_CXX=yes 14526 allow_undefined_flag_CXX=unsupported 14527 shrext_cmds=.dll 14528 archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 14529 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 14530 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 14531 $ECHO EXPORTS >> $output_objdir/$libname.def~ 14532 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 14533 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 14534 emximp -o $lib $output_objdir/$libname.def' 14535 archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 14536 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 14537 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 14538 $ECHO EXPORTS >> $output_objdir/$libname.def~ 14539 prefix_cmds="$SED"~ 14540 if test EXPORTS = "`$SED 1q $export_symbols`"; then 14541 prefix_cmds="$prefix_cmds -e 1d"; 14542 fi~ 14543 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 14544 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 14545 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 14546 emximp -o $lib $output_objdir/$libname.def' 14547 old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 14548 enable_shared_with_static_runtimes_CXX=yes 14549 ;; 14550 14551 dgux*) 14552 case $cc_basename in 14553 ec++*) 14554 # FIXME: insert proper C++ library support 14555 ld_shlibs_CXX=no 14556 ;; 14557 ghcx*) 14558 # Green Hills C++ Compiler 14559 # FIXME: insert proper C++ library support 14560 ld_shlibs_CXX=no 14561 ;; 14562 *) 14563 # FIXME: insert proper C++ library support 14564 ld_shlibs_CXX=no 14565 ;; 14566 esac 14567 ;; 14568 14569 freebsd2.*) 14570 # C++ shared libraries reported to be fairly broken before 14571 # switch to ELF 14572 ld_shlibs_CXX=no 14573 ;; 14574 14575 freebsd-elf*) 14576 archive_cmds_need_lc_CXX=no 14577 ;; 14578 14579 freebsd* | dragonfly*) 14580 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF 14581 # conventions 14582 ld_shlibs_CXX=yes 14583 ;; 14584 14585 haiku*) 14586 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 14587 link_all_deplibs_CXX=yes 14588 ;; 14589 14590 hpux9*) 14591 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir' 14592 hardcode_libdir_separator_CXX=: 14593 export_dynamic_flag_spec_CXX='$wl-E' 14594 hardcode_direct_CXX=yes 14595 hardcode_minus_L_CXX=yes # Not in the search PATH, 14596 # but as the default 14597 # location of the library. 14598 14599 case $cc_basename in 14600 CC*) 14601 # FIXME: insert proper C++ library support 14602 ld_shlibs_CXX=no 14603 ;; 14604 aCC*) 14605 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' 14606 # Commands to make compiler produce verbose output that lists 14607 # what "hidden" libraries, object files and flags are used when 14608 # linking a shared library. 14609 # 14610 # There doesn't appear to be a way to prevent this compiler from 14611 # explicitly linking system object files so we need to strip them 14612 # from the output so that they don't get included in the library 14613 # dependencies. 14614 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"' 14615 ;; 14616 *) 14617 if test yes = "$GXX"; then 14618 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' 14619 else 14620 # FIXME: insert proper C++ library support 14621 ld_shlibs_CXX=no 14622 fi 14623 ;; 14624 esac 14625 ;; 14626 14627 hpux10*|hpux11*) 14628 if test no = "$with_gnu_ld"; then 14629 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir' 14630 hardcode_libdir_separator_CXX=: 14631 14632 case $host_cpu in 14633 hppa*64*|ia64*) 14634 ;; 14635 *) 14636 export_dynamic_flag_spec_CXX='$wl-E' 14637 ;; 14638 esac 14639 fi 14640 case $host_cpu in 14641 hppa*64*|ia64*) 14642 hardcode_direct_CXX=no 14643 hardcode_shlibpath_var_CXX=no 14644 ;; 14645 *) 14646 hardcode_direct_CXX=yes 14647 hardcode_direct_absolute_CXX=yes 14648 hardcode_minus_L_CXX=yes # Not in the search PATH, 14649 # but as the default 14650 # location of the library. 14651 ;; 14652 esac 14653 14654 case $cc_basename in 14655 CC*) 14656 # FIXME: insert proper C++ library support 14657 ld_shlibs_CXX=no 14658 ;; 14659 aCC*) 14660 case $host_cpu in 14661 hppa*64*) 14662 archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14663 ;; 14664 ia64*) 14665 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14666 ;; 14667 *) 14668 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14669 ;; 14670 esac 14671 # Commands to make compiler produce verbose output that lists 14672 # what "hidden" libraries, object files and flags are used when 14673 # linking a shared library. 14674 # 14675 # There doesn't appear to be a way to prevent this compiler from 14676 # explicitly linking system object files so we need to strip them 14677 # from the output so that they don't get included in the library 14678 # dependencies. 14679 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"' 14680 ;; 14681 *) 14682 if test yes = "$GXX"; then 14683 if test no = "$with_gnu_ld"; then 14684 case $host_cpu in 14685 hppa*64*) 14686 archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14687 ;; 14688 ia64*) 14689 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14690 ;; 14691 *) 14692 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' 14693 ;; 14694 esac 14695 fi 14696 else 14697 # FIXME: insert proper C++ library support 14698 ld_shlibs_CXX=no 14699 fi 14700 ;; 14701 esac 14702 ;; 14703 14704 interix[3-9]*) 14705 hardcode_direct_CXX=no 14706 hardcode_shlibpath_var_CXX=no 14707 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 14708 export_dynamic_flag_spec_CXX='$wl-E' 14709 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 14710 # Instead, shared libraries are loaded at an image base (0x10000000 by 14711 # default) and relocated if they conflict, which is a slow very memory 14712 # consuming and fragmenting process. To avoid this, we pick a random, 14713 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 14714 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 14715 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' 14716 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' 14717 ;; 14718 irix5* | irix6*) 14719 case $cc_basename in 14720 CC*) 14721 # SGI C++ 14722 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' 14723 14724 # Archives containing C++ object files must be created using 14725 # "CC -ar", where "CC" is the IRIX C++ compiler. This is 14726 # necessary to make sure instantiated templates are included 14727 # in the archive. 14728 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs' 14729 ;; 14730 *) 14731 if test yes = "$GXX"; then 14732 if test no = "$with_gnu_ld"; then 14733 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' 14734 else 14735 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' 14736 fi 14737 fi 14738 link_all_deplibs_CXX=yes 14739 ;; 14740 esac 14741 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 14742 hardcode_libdir_separator_CXX=: 14743 inherit_rpath_CXX=yes 14744 ;; 14745 14746 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 14747 case $cc_basename in 14748 KCC*) 14749 # Kuck and Associates, Inc. (KAI) C++ Compiler 14750 14751 # KCC will only create a shared library if the output file 14752 # ends with ".so" (or ".sl" for HP-UX), so rename the library 14753 # to its proper name (with version) after linking. 14754 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' 14755 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' 14756 # Commands to make compiler produce verbose output that lists 14757 # what "hidden" libraries, object files and flags are used when 14758 # linking a shared library. 14759 # 14760 # There doesn't appear to be a way to prevent this compiler from 14761 # explicitly linking system object files so we need to strip them 14762 # from the output so that they don't get included in the library 14763 # dependencies. 14764 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"' 14765 14766 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 14767 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 14768 14769 # Archives containing C++ object files must be created using 14770 # "CC -Bstatic", where "CC" is the KAI C++ compiler. 14771 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' 14772 ;; 14773 icpc* | ecpc* ) 14774 # Intel C++ 14775 with_gnu_ld=yes 14776 # version 8.0 and above of icpc choke on multiply defined symbols 14777 # if we add $predep_objects and $postdep_objects, however 7.1 and 14778 # earlier do not add the objects themselves. 14779 case `$CC -V 2>&1` in 14780 *"Version 7."*) 14781 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 14782 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' 14783 ;; 14784 *) # Version 8.0 or newer 14785 tmp_idyn= 14786 case $host_cpu in 14787 ia64*) tmp_idyn=' -i_dynamic';; 14788 esac 14789 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 14790 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' 14791 ;; 14792 esac 14793 archive_cmds_need_lc_CXX=no 14794 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 14795 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 14796 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive' 14797 ;; 14798 pgCC* | pgcpp*) 14799 # Portland Group C++ compiler 14800 case `$CC -V` in 14801 *pgCC\ [1-5].* | *pgcpp\ [1-5].*) 14802 prelink_cmds_CXX='tpldir=Template.dir~ 14803 rm -rf $tpldir~ 14804 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~ 14805 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"' 14806 old_archive_cmds_CXX='tpldir=Template.dir~ 14807 rm -rf $tpldir~ 14808 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~ 14809 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~ 14810 $RANLIB $oldlib' 14811 archive_cmds_CXX='tpldir=Template.dir~ 14812 rm -rf $tpldir~ 14813 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ 14814 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 14815 archive_expsym_cmds_CXX='tpldir=Template.dir~ 14816 rm -rf $tpldir~ 14817 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ 14818 $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' 14819 ;; 14820 *) # Version 6 and above use weak symbols 14821 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 14822 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' 14823 ;; 14824 esac 14825 14826 hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir' 14827 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 14828 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' 14829 ;; 14830 cxx*) 14831 # Compaq C++ 14832 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 14833 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' 14834 14835 runpath_var=LD_RUN_PATH 14836 hardcode_libdir_flag_spec_CXX='-rpath $libdir' 14837 hardcode_libdir_separator_CXX=: 14838 14839 # Commands to make compiler produce verbose output that lists 14840 # what "hidden" libraries, object files and flags are used when 14841 # linking a shared library. 14842 # 14843 # There doesn't appear to be a way to prevent this compiler from 14844 # explicitly linking system object files so we need to strip them 14845 # from the output so that they don't get included in the library 14846 # dependencies. 14847 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' 14848 ;; 14849 xl* | mpixl* | bgxl*) 14850 # IBM XL 8.0 on PPC, with GNU ld 14851 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 14852 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 14853 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 14854 if test yes = "$supports_anon_versioning"; then 14855 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~ 14856 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 14857 echo "local: *; };" >> $output_objdir/$libname.ver~ 14858 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' 14859 fi 14860 ;; 14861 *) 14862 case `$CC -V 2>&1 | sed 5q` in 14863 *Sun\ C*) 14864 # Sun C++ 5.9 14865 no_undefined_flag_CXX=' -zdefs' 14866 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14867 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' 14868 hardcode_libdir_flag_spec_CXX='-R$libdir' 14869 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' 14870 compiler_needs_object_CXX=yes 14871 14872 # Not sure whether something based on 14873 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 14874 # would be better. 14875 output_verbose_link_cmd='func_echo_all' 14876 14877 # Archives containing C++ object files must be created using 14878 # "CC -xar", where "CC" is the Sun C++ compiler. This is 14879 # necessary to make sure instantiated templates are included 14880 # in the archive. 14881 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' 14882 ;; 14883 esac 14884 ;; 14885 esac 14886 ;; 14887 14888 lynxos*) 14889 # FIXME: insert proper C++ library support 14890 ld_shlibs_CXX=no 14891 ;; 14892 14893 m88k*) 14894 # FIXME: insert proper C++ library support 14895 ld_shlibs_CXX=no 14896 ;; 14897 14898 mvs*) 14899 case $cc_basename in 14900 cxx*) 14901 # FIXME: insert proper C++ library support 14902 ld_shlibs_CXX=no 14903 ;; 14904 *) 14905 # FIXME: insert proper C++ library support 14906 ld_shlibs_CXX=no 14907 ;; 14908 esac 14909 ;; 14910 14911 netbsd*) 14912 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 14913 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' 14914 wlarc= 14915 hardcode_libdir_flag_spec_CXX='-R$libdir' 14916 hardcode_direct_CXX=yes 14917 hardcode_shlibpath_var_CXX=no 14918 fi 14919 # Workaround some broken pre-1.5 toolchains 14920 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' 14921 ;; 14922 14923 *nto* | *qnx*) 14924 ld_shlibs_CXX=yes 14925 ;; 14926 14927 openbsd* | bitrig*) 14928 if test -f /usr/libexec/ld.so; then 14929 hardcode_direct_CXX=yes 14930 hardcode_shlibpath_var_CXX=no 14931 hardcode_direct_absolute_CXX=yes 14932 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 14933 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 14934 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then 14935 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib' 14936 export_dynamic_flag_spec_CXX='$wl-E' 14937 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 14938 fi 14939 output_verbose_link_cmd=func_echo_all 14940 else 14941 ld_shlibs_CXX=no 14942 fi 14943 ;; 14944 14945 osf3* | osf4* | osf5*) 14946 case $cc_basename in 14947 KCC*) 14948 # Kuck and Associates, Inc. (KAI) C++ Compiler 14949 14950 # KCC will only create a shared library if the output file 14951 # ends with ".so" (or ".sl" for HP-UX), so rename the library 14952 # to its proper name (with version) after linking. 14953 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' 14954 14955 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 14956 hardcode_libdir_separator_CXX=: 14957 14958 # Archives containing C++ object files must be created using 14959 # the KAI C++ compiler. 14960 case $host in 14961 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;; 14962 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;; 14963 esac 14964 ;; 14965 RCC*) 14966 # Rational C++ 2.4.1 14967 # FIXME: insert proper C++ library support 14968 ld_shlibs_CXX=no 14969 ;; 14970 cxx*) 14971 case $host in 14972 osf3*) 14973 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*' 14974 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' 14975 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 14976 ;; 14977 *) 14978 allow_undefined_flag_CXX=' -expect_unresolved \*' 14979 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' 14980 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ 14981 echo "-hidden">> $lib.exp~ 14982 $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~ 14983 $RM $lib.exp' 14984 hardcode_libdir_flag_spec_CXX='-rpath $libdir' 14985 ;; 14986 esac 14987 14988 hardcode_libdir_separator_CXX=: 14989 14990 # Commands to make compiler produce verbose output that lists 14991 # what "hidden" libraries, object files and flags are used when 14992 # linking a shared library. 14993 # 14994 # There doesn't appear to be a way to prevent this compiler from 14995 # explicitly linking system object files so we need to strip them 14996 # from the output so that they don't get included in the library 14997 # dependencies. 14998 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"' 14999 ;; 15000 *) 15001 if test yes,no = "$GXX,$with_gnu_ld"; then 15002 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*' 15003 case $host in 15004 osf3*) 15005 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' 15006 ;; 15007 *) 15008 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' 15009 ;; 15010 esac 15011 15012 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 15013 hardcode_libdir_separator_CXX=: 15014 15015 # Commands to make compiler produce verbose output that lists 15016 # what "hidden" libraries, object files and flags are used when 15017 # linking a shared library. 15018 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 15019 15020 else 15021 # FIXME: insert proper C++ library support 15022 ld_shlibs_CXX=no 15023 fi 15024 ;; 15025 esac 15026 ;; 15027 15028 psos*) 15029 # FIXME: insert proper C++ library support 15030 ld_shlibs_CXX=no 15031 ;; 15032 15033 sunos4*) 15034 case $cc_basename in 15035 CC*) 15036 # Sun C++ 4.x 15037 # FIXME: insert proper C++ library support 15038 ld_shlibs_CXX=no 15039 ;; 15040 lcc*) 15041 # Lucid 15042 # FIXME: insert proper C++ library support 15043 ld_shlibs_CXX=no 15044 ;; 15045 *) 15046 # FIXME: insert proper C++ library support 15047 ld_shlibs_CXX=no 15048 ;; 15049 esac 15050 ;; 15051 15052 solaris*) 15053 case $cc_basename in 15054 CC* | sunCC*) 15055 # Sun C++ 4.2, 5.x and Centerline C++ 15056 archive_cmds_need_lc_CXX=yes 15057 no_undefined_flag_CXX=' -zdefs' 15058 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 15059 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 15060 $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' 15061 15062 hardcode_libdir_flag_spec_CXX='-R$libdir' 15063 hardcode_shlibpath_var_CXX=no 15064 case $host_os in 15065 solaris2.[0-5] | solaris2.[0-5].*) ;; 15066 *) 15067 # The compiler driver will combine and reorder linker options, 15068 # but understands '-z linker_flag'. 15069 # Supported since Solaris 2.6 (maybe 2.5.1?) 15070 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract' 15071 ;; 15072 esac 15073 link_all_deplibs_CXX=yes 15074 15075 output_verbose_link_cmd='func_echo_all' 15076 15077 # Archives containing C++ object files must be created using 15078 # "CC -xar", where "CC" is the Sun C++ compiler. This is 15079 # necessary to make sure instantiated templates are included 15080 # in the archive. 15081 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' 15082 ;; 15083 gcx*) 15084 # Green Hills C++ Compiler 15085 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' 15086 15087 # The C++ compiler must be used to create the archive. 15088 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs' 15089 ;; 15090 *) 15091 # GNU C++ compiler with Solaris linker 15092 if test yes,no = "$GXX,$with_gnu_ld"; then 15093 no_undefined_flag_CXX=' $wl-z ${wl}defs' 15094 if $CC --version | $GREP -v '^2\.7' > /dev/null; then 15095 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' 15096 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 15097 $CC -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' 15098 15099 # Commands to make compiler produce verbose output that lists 15100 # what "hidden" libraries, object files and flags are used when 15101 # linking a shared library. 15102 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 15103 else 15104 # g++ 2.7 appears to require '-G' NOT '-shared' on this 15105 # platform. 15106 archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' 15107 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 15108 $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' 15109 15110 # Commands to make compiler produce verbose output that lists 15111 # what "hidden" libraries, object files and flags are used when 15112 # linking a shared library. 15113 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 15114 fi 15115 15116 hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir' 15117 case $host_os in 15118 solaris2.[0-5] | solaris2.[0-5].*) ;; 15119 *) 15120 whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' 15121 ;; 15122 esac 15123 fi 15124 ;; 15125 esac 15126 ;; 15127 15128 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 15129 no_undefined_flag_CXX='$wl-z,text' 15130 archive_cmds_need_lc_CXX=no 15131 hardcode_shlibpath_var_CXX=no 15132 runpath_var='LD_RUN_PATH' 15133 15134 case $cc_basename in 15135 CC*) 15136 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15137 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15138 ;; 15139 *) 15140 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15141 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15142 ;; 15143 esac 15144 ;; 15145 15146 sysv5* | sco3.2v5* | sco5v6*) 15147 # Note: We CANNOT use -z defs as we might desire, because we do not 15148 # link with -lc, and that would cause any symbols used from libc to 15149 # always be unresolved, which means just about no library would 15150 # ever link correctly. If we're not using GNU ld we use -z text 15151 # though, which does catch some bad symbols but isn't as heavy-handed 15152 # as -z defs. 15153 no_undefined_flag_CXX='$wl-z,text' 15154 allow_undefined_flag_CXX='$wl-z,nodefs' 15155 archive_cmds_need_lc_CXX=no 15156 hardcode_shlibpath_var_CXX=no 15157 hardcode_libdir_flag_spec_CXX='$wl-R,$libdir' 15158 hardcode_libdir_separator_CXX=':' 15159 link_all_deplibs_CXX=yes 15160 export_dynamic_flag_spec_CXX='$wl-Bexport' 15161 runpath_var='LD_RUN_PATH' 15162 15163 case $cc_basename in 15164 CC*) 15165 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15166 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15167 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~ 15168 '"$old_archive_cmds_CXX" 15169 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~ 15170 '"$reload_cmds_CXX" 15171 ;; 15172 *) 15173 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15174 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15175 ;; 15176 esac 15177 ;; 15178 15179 tandem*) 15180 case $cc_basename in 15181 NCC*) 15182 # NonStop-UX NCC 3.20 15183 # FIXME: insert proper C++ library support 15184 ld_shlibs_CXX=no 15185 ;; 15186 *) 15187 # FIXME: insert proper C++ library support 15188 ld_shlibs_CXX=no 15189 ;; 15190 esac 15191 ;; 15192 15193 vxworks*) 15194 # FIXME: insert proper C++ library support 15195 ld_shlibs_CXX=no 15196 ;; 15197 15198 *) 15199 # FIXME: insert proper C++ library support 15200 ld_shlibs_CXX=no 15201 ;; 15202 esac 15203 15204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 15205$as_echo "$ld_shlibs_CXX" >&6; } 15206 test no = "$ld_shlibs_CXX" && can_build_shared=no 15207 15208 GCC_CXX=$GXX 15209 LD_CXX=$LD 15210 15211 ## CAVEAT EMPTOR: 15212 ## There is no encapsulation within the following macros, do not change 15213 ## the running order or otherwise move them around unless you know exactly 15214 ## what you are doing... 15215 # Dependencies to place before and after the object being linked: 15216predep_objects_CXX= 15217postdep_objects_CXX= 15218predeps_CXX= 15219postdeps_CXX= 15220compiler_lib_search_path_CXX= 15221 15222cat > conftest.$ac_ext <<_LT_EOF 15223class Foo 15224{ 15225public: 15226 Foo (void) { a = 0; } 15227private: 15228 int a; 15229}; 15230_LT_EOF 15231 15232 15233_lt_libdeps_save_CFLAGS=$CFLAGS 15234case "$CC $CFLAGS " in #( 15235*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;; 15236*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;; 15237*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;; 15238esac 15239 15240if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 15241 (eval $ac_compile) 2>&5 15242 ac_status=$? 15243 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15244 test $ac_status = 0; }; then 15245 # Parse the compiler output and extract the necessary 15246 # objects, libraries and library flags. 15247 15248 # Sentinel used to keep track of whether or not we are before 15249 # the conftest object file. 15250 pre_test_object_deps_done=no 15251 15252 for p in `eval "$output_verbose_link_cmd"`; do 15253 case $prev$p in 15254 15255 -L* | -R* | -l*) 15256 # Some compilers place space between "-{L,R}" and the path. 15257 # Remove the space. 15258 if test x-L = "$p" || 15259 test x-R = "$p"; then 15260 prev=$p 15261 continue 15262 fi 15263 15264 # Expand the sysroot to ease extracting the directories later. 15265 if test -z "$prev"; then 15266 case $p in 15267 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;; 15268 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;; 15269 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;; 15270 esac 15271 fi 15272 case $p in 15273 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;; 15274 esac 15275 if test no = "$pre_test_object_deps_done"; then 15276 case $prev in 15277 -L | -R) 15278 # Internal compiler library paths should come after those 15279 # provided the user. The postdeps already come after the 15280 # user supplied libs so there is no need to process them. 15281 if test -z "$compiler_lib_search_path_CXX"; then 15282 compiler_lib_search_path_CXX=$prev$p 15283 else 15284 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p" 15285 fi 15286 ;; 15287 # The "-l" case would never come before the object being 15288 # linked, so don't bother handling this case. 15289 esac 15290 else 15291 if test -z "$postdeps_CXX"; then 15292 postdeps_CXX=$prev$p 15293 else 15294 postdeps_CXX="${postdeps_CXX} $prev$p" 15295 fi 15296 fi 15297 prev= 15298 ;; 15299 15300 *.lto.$objext) ;; # Ignore GCC LTO objects 15301 *.$objext) 15302 # This assumes that the test object file only shows up 15303 # once in the compiler output. 15304 if test "$p" = "conftest.$objext"; then 15305 pre_test_object_deps_done=yes 15306 continue 15307 fi 15308 15309 if test no = "$pre_test_object_deps_done"; then 15310 if test -z "$predep_objects_CXX"; then 15311 predep_objects_CXX=$p 15312 else 15313 predep_objects_CXX="$predep_objects_CXX $p" 15314 fi 15315 else 15316 if test -z "$postdep_objects_CXX"; then 15317 postdep_objects_CXX=$p 15318 else 15319 postdep_objects_CXX="$postdep_objects_CXX $p" 15320 fi 15321 fi 15322 ;; 15323 15324 *) ;; # Ignore the rest. 15325 15326 esac 15327 done 15328 15329 # Clean up. 15330 rm -f a.out a.exe 15331else 15332 echo "libtool.m4: error: problem compiling CXX test program" 15333fi 15334 15335$RM -f confest.$objext 15336CFLAGS=$_lt_libdeps_save_CFLAGS 15337 15338# PORTME: override above test on systems where it is broken 15339case $host_os in 15340interix[3-9]*) 15341 # Interix 3.5 installs completely hosed .la files for C++, so rather than 15342 # hack all around it, let's just trust "g++" to DTRT. 15343 predep_objects_CXX= 15344 postdep_objects_CXX= 15345 postdeps_CXX= 15346 ;; 15347esac 15348 15349 15350case " $postdeps_CXX " in 15351*" -lc "*) archive_cmds_need_lc_CXX=no ;; 15352esac 15353 compiler_lib_search_dirs_CXX= 15354if test -n "${compiler_lib_search_path_CXX}"; then 15355 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'` 15356fi 15357 15358 15359 15360 15361 15362 15363 15364 15365 15366 15367 15368 15369 15370 15371 15372 15373 15374 15375 15376 15377 15378 15379 15380 15381 15382 15383 15384 15385 15386 15387 15388 lt_prog_compiler_wl_CXX= 15389lt_prog_compiler_pic_CXX= 15390lt_prog_compiler_static_CXX= 15391 15392 15393 # C++ specific cases for pic, static, wl, etc. 15394 if test yes = "$GXX"; then 15395 lt_prog_compiler_wl_CXX='-Wl,' 15396 lt_prog_compiler_static_CXX='-static' 15397 15398 case $host_os in 15399 aix*) 15400 # All AIX code is PIC. 15401 if test ia64 = "$host_cpu"; then 15402 # AIX 5 now supports IA64 processor 15403 lt_prog_compiler_static_CXX='-Bstatic' 15404 fi 15405 lt_prog_compiler_pic_CXX='-fPIC' 15406 ;; 15407 15408 amigaos*) 15409 case $host_cpu in 15410 powerpc) 15411 # see comment about AmigaOS4 .so support 15412 lt_prog_compiler_pic_CXX='-fPIC' 15413 ;; 15414 m68k) 15415 # FIXME: we need at least 68020 code to build shared libraries, but 15416 # adding the '-m68020' flag to GCC prevents building anything better, 15417 # like '-m68040'. 15418 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4' 15419 ;; 15420 esac 15421 ;; 15422 15423 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 15424 # PIC is the default for these OSes. 15425 ;; 15426 mingw* | cygwin* | os2* | pw32* | cegcc*) 15427 # This hack is so that the source file can tell whether it is being 15428 # built for inclusion in a dll (and should export symbols for example). 15429 # Although the cygwin gcc ignores -fPIC, still need this for old-style 15430 # (--disable-auto-import) libraries 15431 lt_prog_compiler_pic_CXX='-DDLL_EXPORT' 15432 case $host_os in 15433 os2*) 15434 lt_prog_compiler_static_CXX='$wl-static' 15435 ;; 15436 esac 15437 ;; 15438 darwin* | rhapsody*) 15439 # PIC is the default on this platform 15440 # Common symbols not allowed in MH_DYLIB files 15441 lt_prog_compiler_pic_CXX='-fno-common' 15442 ;; 15443 *djgpp*) 15444 # DJGPP does not support shared libraries at all 15445 lt_prog_compiler_pic_CXX= 15446 ;; 15447 haiku*) 15448 # PIC is the default for Haiku. 15449 # The "-static" flag exists, but is broken. 15450 lt_prog_compiler_static_CXX= 15451 ;; 15452 interix[3-9]*) 15453 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 15454 # Instead, we relocate shared libraries at runtime. 15455 ;; 15456 sysv4*MP*) 15457 if test -d /usr/nec; then 15458 lt_prog_compiler_pic_CXX=-Kconform_pic 15459 fi 15460 ;; 15461 hpux*) 15462 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 15463 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 15464 # sets the default TLS model and affects inlining. 15465 case $host_cpu in 15466 hppa*64*) 15467 ;; 15468 *) 15469 lt_prog_compiler_pic_CXX='-fPIC' 15470 ;; 15471 esac 15472 ;; 15473 *qnx* | *nto*) 15474 # QNX uses GNU C++, but need to define -shared option too, otherwise 15475 # it will coredump. 15476 lt_prog_compiler_pic_CXX='-fPIC -shared' 15477 ;; 15478 *) 15479 lt_prog_compiler_pic_CXX='-fPIC' 15480 ;; 15481 esac 15482 else 15483 case $host_os in 15484 aix[4-9]*) 15485 # All AIX code is PIC. 15486 if test ia64 = "$host_cpu"; then 15487 # AIX 5 now supports IA64 processor 15488 lt_prog_compiler_static_CXX='-Bstatic' 15489 else 15490 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp' 15491 fi 15492 ;; 15493 chorus*) 15494 case $cc_basename in 15495 cxch68*) 15496 # Green Hills C++ Compiler 15497 # _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" 15498 ;; 15499 esac 15500 ;; 15501 mingw* | cygwin* | os2* | pw32* | cegcc*) 15502 # This hack is so that the source file can tell whether it is being 15503 # built for inclusion in a dll (and should export symbols for example). 15504 lt_prog_compiler_pic_CXX='-DDLL_EXPORT' 15505 ;; 15506 dgux*) 15507 case $cc_basename in 15508 ec++*) 15509 lt_prog_compiler_pic_CXX='-KPIC' 15510 ;; 15511 ghcx*) 15512 # Green Hills C++ Compiler 15513 lt_prog_compiler_pic_CXX='-pic' 15514 ;; 15515 *) 15516 ;; 15517 esac 15518 ;; 15519 freebsd* | dragonfly*) 15520 # FreeBSD uses GNU C++ 15521 ;; 15522 hpux9* | hpux10* | hpux11*) 15523 case $cc_basename in 15524 CC*) 15525 lt_prog_compiler_wl_CXX='-Wl,' 15526 lt_prog_compiler_static_CXX='$wl-a ${wl}archive' 15527 if test ia64 != "$host_cpu"; then 15528 lt_prog_compiler_pic_CXX='+Z' 15529 fi 15530 ;; 15531 aCC*) 15532 lt_prog_compiler_wl_CXX='-Wl,' 15533 lt_prog_compiler_static_CXX='$wl-a ${wl}archive' 15534 case $host_cpu in 15535 hppa*64*|ia64*) 15536 # +Z the default 15537 ;; 15538 *) 15539 lt_prog_compiler_pic_CXX='+Z' 15540 ;; 15541 esac 15542 ;; 15543 *) 15544 ;; 15545 esac 15546 ;; 15547 interix*) 15548 # This is c89, which is MS Visual C++ (no shared libs) 15549 # Anyone wants to do a port? 15550 ;; 15551 irix5* | irix6* | nonstopux*) 15552 case $cc_basename in 15553 CC*) 15554 lt_prog_compiler_wl_CXX='-Wl,' 15555 lt_prog_compiler_static_CXX='-non_shared' 15556 # CC pic flag -KPIC is the default. 15557 ;; 15558 *) 15559 ;; 15560 esac 15561 ;; 15562 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 15563 case $cc_basename in 15564 KCC*) 15565 # KAI C++ Compiler 15566 lt_prog_compiler_wl_CXX='--backend -Wl,' 15567 lt_prog_compiler_pic_CXX='-fPIC' 15568 ;; 15569 ecpc* ) 15570 # old Intel C++ for x86_64, which still supported -KPIC. 15571 lt_prog_compiler_wl_CXX='-Wl,' 15572 lt_prog_compiler_pic_CXX='-KPIC' 15573 lt_prog_compiler_static_CXX='-static' 15574 ;; 15575 icpc* ) 15576 # Intel C++, used to be incompatible with GCC. 15577 # ICC 10 doesn't accept -KPIC any more. 15578 lt_prog_compiler_wl_CXX='-Wl,' 15579 lt_prog_compiler_pic_CXX='-fPIC' 15580 lt_prog_compiler_static_CXX='-static' 15581 ;; 15582 pgCC* | pgcpp*) 15583 # Portland Group C++ compiler 15584 lt_prog_compiler_wl_CXX='-Wl,' 15585 lt_prog_compiler_pic_CXX='-fpic' 15586 lt_prog_compiler_static_CXX='-Bstatic' 15587 ;; 15588 cxx*) 15589 # Compaq C++ 15590 # Make sure the PIC flag is empty. It appears that all Alpha 15591 # Linux and Compaq Tru64 Unix objects are PIC. 15592 lt_prog_compiler_pic_CXX= 15593 lt_prog_compiler_static_CXX='-non_shared' 15594 ;; 15595 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*) 15596 # IBM XL 8.0, 9.0 on PPC and BlueGene 15597 lt_prog_compiler_wl_CXX='-Wl,' 15598 lt_prog_compiler_pic_CXX='-qpic' 15599 lt_prog_compiler_static_CXX='-qstaticlink' 15600 ;; 15601 *) 15602 case `$CC -V 2>&1 | sed 5q` in 15603 *Sun\ C*) 15604 # Sun C++ 5.9 15605 lt_prog_compiler_pic_CXX='-KPIC' 15606 lt_prog_compiler_static_CXX='-Bstatic' 15607 lt_prog_compiler_wl_CXX='-Qoption ld ' 15608 ;; 15609 esac 15610 ;; 15611 esac 15612 ;; 15613 lynxos*) 15614 ;; 15615 m88k*) 15616 ;; 15617 mvs*) 15618 case $cc_basename in 15619 cxx*) 15620 lt_prog_compiler_pic_CXX='-W c,exportall' 15621 ;; 15622 *) 15623 ;; 15624 esac 15625 ;; 15626 netbsd*) 15627 ;; 15628 *qnx* | *nto*) 15629 # QNX uses GNU C++, but need to define -shared option too, otherwise 15630 # it will coredump. 15631 lt_prog_compiler_pic_CXX='-fPIC -shared' 15632 ;; 15633 osf3* | osf4* | osf5*) 15634 case $cc_basename in 15635 KCC*) 15636 lt_prog_compiler_wl_CXX='--backend -Wl,' 15637 ;; 15638 RCC*) 15639 # Rational C++ 2.4.1 15640 lt_prog_compiler_pic_CXX='-pic' 15641 ;; 15642 cxx*) 15643 # Digital/Compaq C++ 15644 lt_prog_compiler_wl_CXX='-Wl,' 15645 # Make sure the PIC flag is empty. It appears that all Alpha 15646 # Linux and Compaq Tru64 Unix objects are PIC. 15647 lt_prog_compiler_pic_CXX= 15648 lt_prog_compiler_static_CXX='-non_shared' 15649 ;; 15650 *) 15651 ;; 15652 esac 15653 ;; 15654 psos*) 15655 ;; 15656 solaris*) 15657 case $cc_basename in 15658 CC* | sunCC*) 15659 # Sun C++ 4.2, 5.x and Centerline C++ 15660 lt_prog_compiler_pic_CXX='-KPIC' 15661 lt_prog_compiler_static_CXX='-Bstatic' 15662 lt_prog_compiler_wl_CXX='-Qoption ld ' 15663 ;; 15664 gcx*) 15665 # Green Hills C++ Compiler 15666 lt_prog_compiler_pic_CXX='-PIC' 15667 ;; 15668 *) 15669 ;; 15670 esac 15671 ;; 15672 sunos4*) 15673 case $cc_basename in 15674 CC*) 15675 # Sun C++ 4.x 15676 lt_prog_compiler_pic_CXX='-pic' 15677 lt_prog_compiler_static_CXX='-Bstatic' 15678 ;; 15679 lcc*) 15680 # Lucid 15681 lt_prog_compiler_pic_CXX='-pic' 15682 ;; 15683 *) 15684 ;; 15685 esac 15686 ;; 15687 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 15688 case $cc_basename in 15689 CC*) 15690 lt_prog_compiler_wl_CXX='-Wl,' 15691 lt_prog_compiler_pic_CXX='-KPIC' 15692 lt_prog_compiler_static_CXX='-Bstatic' 15693 ;; 15694 esac 15695 ;; 15696 tandem*) 15697 case $cc_basename in 15698 NCC*) 15699 # NonStop-UX NCC 3.20 15700 lt_prog_compiler_pic_CXX='-KPIC' 15701 ;; 15702 *) 15703 ;; 15704 esac 15705 ;; 15706 vxworks*) 15707 ;; 15708 *) 15709 lt_prog_compiler_can_build_shared_CXX=no 15710 ;; 15711 esac 15712 fi 15713 15714case $host_os in 15715 # For platforms that do not support PIC, -DPIC is meaningless: 15716 *djgpp*) 15717 lt_prog_compiler_pic_CXX= 15718 ;; 15719 *) 15720 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" 15721 ;; 15722esac 15723 15724{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 15725$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 15726if ${lt_cv_prog_compiler_pic_CXX+:} false; then : 15727 $as_echo_n "(cached) " >&6 15728else 15729 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX 15730fi 15731{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5 15732$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; } 15733lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX 15734 15735# 15736# Check to make sure the PIC flag actually works. 15737# 15738if test -n "$lt_prog_compiler_pic_CXX"; then 15739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 15740$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; } 15741if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then : 15742 $as_echo_n "(cached) " >&6 15743else 15744 lt_cv_prog_compiler_pic_works_CXX=no 15745 ac_outfile=conftest.$ac_objext 15746 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 15747 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" ## exclude from sc_useless_quotes_in_assignment 15748 # Insert the option either (1) after the last *FLAGS variable, or 15749 # (2) before a word containing "conftest.", or (3) at the end. 15750 # Note that $ac_compile itself does not contain backslashes and begins 15751 # with a dollar sign (not a hyphen), so the echo should work correctly. 15752 # The option is referenced via a variable to avoid confusing sed. 15753 lt_compile=`echo "$ac_compile" | $SED \ 15754 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 15755 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 15756 -e 's:$: $lt_compiler_flag:'` 15757 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 15758 (eval "$lt_compile" 2>conftest.err) 15759 ac_status=$? 15760 cat conftest.err >&5 15761 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15762 if (exit $ac_status) && test -s "$ac_outfile"; then 15763 # The compiler can only warn and ignore the option if not recognized 15764 # So say no if there are warnings other than the usual output. 15765 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 15766 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 15767 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 15768 lt_cv_prog_compiler_pic_works_CXX=yes 15769 fi 15770 fi 15771 $RM conftest* 15772 15773fi 15774{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5 15775$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; } 15776 15777if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then 15778 case $lt_prog_compiler_pic_CXX in 15779 "" | " "*) ;; 15780 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;; 15781 esac 15782else 15783 lt_prog_compiler_pic_CXX= 15784 lt_prog_compiler_can_build_shared_CXX=no 15785fi 15786 15787fi 15788 15789 15790 15791 15792 15793# 15794# Check to make sure the static flag actually works. 15795# 15796wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\" 15797{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 15798$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 15799if ${lt_cv_prog_compiler_static_works_CXX+:} false; then : 15800 $as_echo_n "(cached) " >&6 15801else 15802 lt_cv_prog_compiler_static_works_CXX=no 15803 save_LDFLAGS=$LDFLAGS 15804 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 15805 echo "$lt_simple_link_test_code" > conftest.$ac_ext 15806 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 15807 # The linker can only warn and ignore the option if not recognized 15808 # So say no if there are warnings 15809 if test -s conftest.err; then 15810 # Append any errors to the config.log. 15811 cat conftest.err 1>&5 15812 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 15813 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 15814 if diff conftest.exp conftest.er2 >/dev/null; then 15815 lt_cv_prog_compiler_static_works_CXX=yes 15816 fi 15817 else 15818 lt_cv_prog_compiler_static_works_CXX=yes 15819 fi 15820 fi 15821 $RM -r conftest* 15822 LDFLAGS=$save_LDFLAGS 15823 15824fi 15825{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5 15826$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; } 15827 15828if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then 15829 : 15830else 15831 lt_prog_compiler_static_CXX= 15832fi 15833 15834 15835 15836 15837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 15838$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 15839if ${lt_cv_prog_compiler_c_o_CXX+:} false; then : 15840 $as_echo_n "(cached) " >&6 15841else 15842 lt_cv_prog_compiler_c_o_CXX=no 15843 $RM -r conftest 2>/dev/null 15844 mkdir conftest 15845 cd conftest 15846 mkdir out 15847 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 15848 15849 lt_compiler_flag="-o out/conftest2.$ac_objext" 15850 # Insert the option either (1) after the last *FLAGS variable, or 15851 # (2) before a word containing "conftest.", or (3) at the end. 15852 # Note that $ac_compile itself does not contain backslashes and begins 15853 # with a dollar sign (not a hyphen), so the echo should work correctly. 15854 lt_compile=`echo "$ac_compile" | $SED \ 15855 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 15856 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 15857 -e 's:$: $lt_compiler_flag:'` 15858 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 15859 (eval "$lt_compile" 2>out/conftest.err) 15860 ac_status=$? 15861 cat out/conftest.err >&5 15862 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15863 if (exit $ac_status) && test -s out/conftest2.$ac_objext 15864 then 15865 # The compiler can only warn and ignore the option if not recognized 15866 # So say no if there are warnings 15867 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 15868 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 15869 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 15870 lt_cv_prog_compiler_c_o_CXX=yes 15871 fi 15872 fi 15873 chmod u+w . 2>&5 15874 $RM conftest* 15875 # SGI C++ compiler will create directory out/ii_files/ for 15876 # template instantiation 15877 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 15878 $RM out/* && rmdir out 15879 cd .. 15880 $RM -r conftest 15881 $RM conftest* 15882 15883fi 15884{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 15885$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } 15886 15887 15888 15889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 15890$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 15891if ${lt_cv_prog_compiler_c_o_CXX+:} false; then : 15892 $as_echo_n "(cached) " >&6 15893else 15894 lt_cv_prog_compiler_c_o_CXX=no 15895 $RM -r conftest 2>/dev/null 15896 mkdir conftest 15897 cd conftest 15898 mkdir out 15899 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 15900 15901 lt_compiler_flag="-o out/conftest2.$ac_objext" 15902 # Insert the option either (1) after the last *FLAGS variable, or 15903 # (2) before a word containing "conftest.", or (3) at the end. 15904 # Note that $ac_compile itself does not contain backslashes and begins 15905 # with a dollar sign (not a hyphen), so the echo should work correctly. 15906 lt_compile=`echo "$ac_compile" | $SED \ 15907 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 15908 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 15909 -e 's:$: $lt_compiler_flag:'` 15910 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 15911 (eval "$lt_compile" 2>out/conftest.err) 15912 ac_status=$? 15913 cat out/conftest.err >&5 15914 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15915 if (exit $ac_status) && test -s out/conftest2.$ac_objext 15916 then 15917 # The compiler can only warn and ignore the option if not recognized 15918 # So say no if there are warnings 15919 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 15920 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 15921 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 15922 lt_cv_prog_compiler_c_o_CXX=yes 15923 fi 15924 fi 15925 chmod u+w . 2>&5 15926 $RM conftest* 15927 # SGI C++ compiler will create directory out/ii_files/ for 15928 # template instantiation 15929 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 15930 $RM out/* && rmdir out 15931 cd .. 15932 $RM -r conftest 15933 $RM conftest* 15934 15935fi 15936{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 15937$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } 15938 15939 15940 15941 15942hard_links=nottested 15943if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then 15944 # do not overwrite the value of need_locks provided by the user 15945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 15946$as_echo_n "checking if we can lock with hard links... " >&6; } 15947 hard_links=yes 15948 $RM conftest* 15949 ln conftest.a conftest.b 2>/dev/null && hard_links=no 15950 touch conftest.a 15951 ln conftest.a conftest.b 2>&5 || hard_links=no 15952 ln conftest.a conftest.b 2>/dev/null && hard_links=no 15953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 15954$as_echo "$hard_links" >&6; } 15955 if test no = "$hard_links"; then 15956 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 15957$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} 15958 need_locks=warn 15959 fi 15960else 15961 need_locks=no 15962fi 15963 15964 15965 15966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 15967$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 15968 15969 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 15970 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 15971 case $host_os in 15972 aix[4-9]*) 15973 # If we're using GNU nm, then we don't want the "-C" option. 15974 # -C means demangle to GNU nm, but means don't demangle to AIX nm. 15975 # Without the "-l" option, or with the "-B" option, AIX nm treats 15976 # weak defined symbols like other global defined symbols, whereas 15977 # GNU nm marks them as "W". 15978 # While the 'weak' keyword is ignored in the Export File, we need 15979 # it in the Import File for the 'aix-soname' feature, so we have 15980 # to replace the "-B" option with "-P" for AIX nm. 15981 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 15982 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' 15983 else 15984 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' 15985 fi 15986 ;; 15987 pw32*) 15988 export_symbols_cmds_CXX=$ltdll_cmds 15989 ;; 15990 cygwin* | mingw* | cegcc*) 15991 case $cc_basename in 15992 cl*) 15993 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 15994 ;; 15995 *) 15996 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' 15997 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 15998 ;; 15999 esac 16000 ;; 16001 *) 16002 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 16003 ;; 16004 esac 16005 16006{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 16007$as_echo "$ld_shlibs_CXX" >&6; } 16008test no = "$ld_shlibs_CXX" && can_build_shared=no 16009 16010with_gnu_ld_CXX=$with_gnu_ld 16011 16012 16013 16014 16015 16016 16017# 16018# Do we need to explicitly link libc? 16019# 16020case "x$archive_cmds_need_lc_CXX" in 16021x|xyes) 16022 # Assume -lc should be added 16023 archive_cmds_need_lc_CXX=yes 16024 16025 if test yes,yes = "$GCC,$enable_shared"; then 16026 case $archive_cmds_CXX in 16027 *'~'*) 16028 # FIXME: we may have to deal with multi-command sequences. 16029 ;; 16030 '$CC '*) 16031 # Test whether the compiler implicitly links with -lc since on some 16032 # systems, -lgcc has to come before -lc. If gcc already passes -lc 16033 # to ld, don't add -lc before -lgcc. 16034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 16035$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 16036if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then : 16037 $as_echo_n "(cached) " >&6 16038else 16039 $RM conftest* 16040 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 16041 16042 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 16043 (eval $ac_compile) 2>&5 16044 ac_status=$? 16045 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16046 test $ac_status = 0; } 2>conftest.err; then 16047 soname=conftest 16048 lib=conftest 16049 libobjs=conftest.$ac_objext 16050 deplibs= 16051 wl=$lt_prog_compiler_wl_CXX 16052 pic_flag=$lt_prog_compiler_pic_CXX 16053 compiler_flags=-v 16054 linker_flags=-v 16055 verstring= 16056 output_objdir=. 16057 libname=conftest 16058 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX 16059 allow_undefined_flag_CXX= 16060 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 16061 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 16062 ac_status=$? 16063 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16064 test $ac_status = 0; } 16065 then 16066 lt_cv_archive_cmds_need_lc_CXX=no 16067 else 16068 lt_cv_archive_cmds_need_lc_CXX=yes 16069 fi 16070 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag 16071 else 16072 cat conftest.err 1>&5 16073 fi 16074 $RM conftest* 16075 16076fi 16077{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5 16078$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; } 16079 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX 16080 ;; 16081 esac 16082 fi 16083 ;; 16084esac 16085 16086 16087 16088 16089 16090 16091 16092 16093 16094 16095 16096 16097 16098 16099 16100 16101 16102 16103 16104 16105 16106 16107 16108 16109 16110 16111 16112 16113 16114 16115 16116 16117 16118 16119 16120 16121 16122 16123 16124 16125 16126 16127 16128 16129 16130 16131 16132 16133 16134 16135 16136 16137 16138 16139 16140 16141 16142 16143 16144 16145 16146 16147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 16148$as_echo_n "checking dynamic linker characteristics... " >&6; } 16149 16150library_names_spec= 16151libname_spec='lib$name' 16152soname_spec= 16153shrext_cmds=.so 16154postinstall_cmds= 16155postuninstall_cmds= 16156finish_cmds= 16157finish_eval= 16158shlibpath_var= 16159shlibpath_overrides_runpath=unknown 16160version_type=none 16161dynamic_linker="$host_os ld.so" 16162sys_lib_dlsearch_path_spec="/lib /usr/lib" 16163need_lib_prefix=unknown 16164hardcode_into_libs=no 16165 16166# when you set need_version to no, make sure it does not cause -set_version 16167# flags to be left without arguments 16168need_version=unknown 16169 16170 16171 16172case $host_os in 16173aix3*) 16174 version_type=linux # correct to gnu/linux during the next big refactor 16175 library_names_spec='$libname$release$shared_ext$versuffix $libname.a' 16176 shlibpath_var=LIBPATH 16177 16178 # AIX 3 has no versioning support, so we append a major version to the name. 16179 soname_spec='$libname$release$shared_ext$major' 16180 ;; 16181 16182aix[4-9]*) 16183 version_type=linux # correct to gnu/linux during the next big refactor 16184 need_lib_prefix=no 16185 need_version=no 16186 hardcode_into_libs=yes 16187 if test ia64 = "$host_cpu"; then 16188 # AIX 5 supports IA64 16189 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' 16190 shlibpath_var=LD_LIBRARY_PATH 16191 else 16192 # With GCC up to 2.95.x, collect2 would create an import file 16193 # for dependence libraries. The import file would start with 16194 # the line '#! .'. This would cause the generated library to 16195 # depend on '.', always an invalid library. This was fixed in 16196 # development snapshots of GCC prior to 3.0. 16197 case $host_os in 16198 aix4 | aix4.[01] | aix4.[01].*) 16199 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 16200 echo ' yes ' 16201 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then 16202 : 16203 else 16204 can_build_shared=no 16205 fi 16206 ;; 16207 esac 16208 # Using Import Files as archive members, it is possible to support 16209 # filename-based versioning of shared library archives on AIX. While 16210 # this would work for both with and without runtime linking, it will 16211 # prevent static linking of such archives. So we do filename-based 16212 # shared library versioning with .so extension only, which is used 16213 # when both runtime linking and shared linking is enabled. 16214 # Unfortunately, runtime linking may impact performance, so we do 16215 # not want this to be the default eventually. Also, we use the 16216 # versioned .so libs for executables only if there is the -brtl 16217 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. 16218 # To allow for filename-based versioning support, we need to create 16219 # libNAME.so.V as an archive file, containing: 16220 # *) an Import File, referring to the versioned filename of the 16221 # archive as well as the shared archive member, telling the 16222 # bitwidth (32 or 64) of that shared object, and providing the 16223 # list of exported symbols of that shared object, eventually 16224 # decorated with the 'weak' keyword 16225 # *) the shared object with the F_LOADONLY flag set, to really avoid 16226 # it being seen by the linker. 16227 # At run time we better use the real file rather than another symlink, 16228 # but for link time we create the symlink libNAME.so -> libNAME.so.V 16229 16230 case $with_aix_soname,$aix_use_runtimelinking in 16231 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct 16232 # soname into executable. Probably we can add versioning support to 16233 # collect2, so additional links can be useful in future. 16234 aix,yes) # traditional libtool 16235 dynamic_linker='AIX unversionable lib.so' 16236 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 16237 # instead of lib<name>.a to let people know that these are not 16238 # typical AIX shared libraries. 16239 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16240 ;; 16241 aix,no) # traditional AIX only 16242 dynamic_linker='AIX lib.a(lib.so.V)' 16243 # We preserve .a as extension for shared libraries through AIX4.2 16244 # and later when we are not doing run time linking. 16245 library_names_spec='$libname$release.a $libname.a' 16246 soname_spec='$libname$release$shared_ext$major' 16247 ;; 16248 svr4,*) # full svr4 only 16249 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" 16250 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 16251 # We do not specify a path in Import Files, so LIBPATH fires. 16252 shlibpath_overrides_runpath=yes 16253 ;; 16254 *,yes) # both, prefer svr4 16255 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" 16256 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 16257 # unpreferred sharedlib libNAME.a needs extra handling 16258 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"' 16259 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"' 16260 # We do not specify a path in Import Files, so LIBPATH fires. 16261 shlibpath_overrides_runpath=yes 16262 ;; 16263 *,no) # both, prefer aix 16264 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" 16265 library_names_spec='$libname$release.a $libname.a' 16266 soname_spec='$libname$release$shared_ext$major' 16267 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling 16268 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)' 16269 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"' 16270 ;; 16271 esac 16272 shlibpath_var=LIBPATH 16273 fi 16274 ;; 16275 16276amigaos*) 16277 case $host_cpu in 16278 powerpc) 16279 # Since July 2007 AmigaOS4 officially supports .so libraries. 16280 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 16281 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16282 ;; 16283 m68k) 16284 library_names_spec='$libname.ixlibrary $libname.a' 16285 # Create ${libname}_ixlibrary.a entries in /sys/libs. 16286 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' 16287 ;; 16288 esac 16289 ;; 16290 16291beos*) 16292 library_names_spec='$libname$shared_ext' 16293 dynamic_linker="$host_os ld.so" 16294 shlibpath_var=LIBRARY_PATH 16295 ;; 16296 16297bsdi[45]*) 16298 version_type=linux # correct to gnu/linux during the next big refactor 16299 need_version=no 16300 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16301 soname_spec='$libname$release$shared_ext$major' 16302 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 16303 shlibpath_var=LD_LIBRARY_PATH 16304 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 16305 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 16306 # the default ld.so.conf also contains /usr/contrib/lib and 16307 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 16308 # libtool to hard-code these into programs 16309 ;; 16310 16311cygwin* | mingw* | pw32* | cegcc*) 16312 version_type=windows 16313 shrext_cmds=.dll 16314 need_version=no 16315 need_lib_prefix=no 16316 16317 case $GCC,$cc_basename in 16318 yes,*) 16319 # gcc 16320 library_names_spec='$libname.dll.a' 16321 # DLL is installed to $(libdir)/../bin by postinstall_cmds 16322 postinstall_cmds='base_file=`basename \$file`~ 16323 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 16324 dldir=$destdir/`dirname \$dlpath`~ 16325 test -d \$dldir || mkdir -p \$dldir~ 16326 $install_prog $dir/$dlname \$dldir/$dlname~ 16327 chmod a+x \$dldir/$dlname~ 16328 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 16329 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 16330 fi' 16331 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 16332 dlpath=$dir/\$dldll~ 16333 $RM \$dlpath' 16334 shlibpath_overrides_runpath=yes 16335 16336 case $host_os in 16337 cygwin*) 16338 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 16339 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 16340 16341 ;; 16342 mingw* | cegcc*) 16343 # MinGW DLLs use traditional 'lib' prefix 16344 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 16345 ;; 16346 pw32*) 16347 # pw32 DLLs use 'pw' prefix rather than 'lib' 16348 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 16349 ;; 16350 esac 16351 dynamic_linker='Win32 ld.exe' 16352 ;; 16353 16354 *,cl*) 16355 # Native MSVC 16356 libname_spec='$name' 16357 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 16358 library_names_spec='$libname.dll.lib' 16359 16360 case $build_os in 16361 mingw*) 16362 sys_lib_search_path_spec= 16363 lt_save_ifs=$IFS 16364 IFS=';' 16365 for lt_path in $LIB 16366 do 16367 IFS=$lt_save_ifs 16368 # Let DOS variable expansion print the short 8.3 style file name. 16369 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 16370 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 16371 done 16372 IFS=$lt_save_ifs 16373 # Convert to MSYS style. 16374 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 16375 ;; 16376 cygwin*) 16377 # Convert to unix form, then to dos form, then back to unix form 16378 # but this time dos style (no spaces!) so that the unix form looks 16379 # like /cygdrive/c/PROGRA~1:/cygdr... 16380 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 16381 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 16382 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 16383 ;; 16384 *) 16385 sys_lib_search_path_spec=$LIB 16386 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 16387 # It is most probably a Windows format PATH. 16388 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 16389 else 16390 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 16391 fi 16392 # FIXME: find the short name or the path components, as spaces are 16393 # common. (e.g. "Program Files" -> "PROGRA~1") 16394 ;; 16395 esac 16396 16397 # DLL is installed to $(libdir)/../bin by postinstall_cmds 16398 postinstall_cmds='base_file=`basename \$file`~ 16399 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 16400 dldir=$destdir/`dirname \$dlpath`~ 16401 test -d \$dldir || mkdir -p \$dldir~ 16402 $install_prog $dir/$dlname \$dldir/$dlname' 16403 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 16404 dlpath=$dir/\$dldll~ 16405 $RM \$dlpath' 16406 shlibpath_overrides_runpath=yes 16407 dynamic_linker='Win32 link.exe' 16408 ;; 16409 16410 *) 16411 # Assume MSVC wrapper 16412 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' 16413 dynamic_linker='Win32 ld.exe' 16414 ;; 16415 esac 16416 # FIXME: first we should search . and the directory the executable is in 16417 shlibpath_var=PATH 16418 ;; 16419 16420darwin* | rhapsody*) 16421 dynamic_linker="$host_os dyld" 16422 version_type=darwin 16423 need_lib_prefix=no 16424 need_version=no 16425 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' 16426 soname_spec='$libname$release$major$shared_ext' 16427 shlibpath_overrides_runpath=yes 16428 shlibpath_var=DYLD_LIBRARY_PATH 16429 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 16430 16431 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 16432 ;; 16433 16434dgux*) 16435 version_type=linux # correct to gnu/linux during the next big refactor 16436 need_lib_prefix=no 16437 need_version=no 16438 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16439 soname_spec='$libname$release$shared_ext$major' 16440 shlibpath_var=LD_LIBRARY_PATH 16441 ;; 16442 16443freebsd* | dragonfly*) 16444 # DragonFly does not have aout. When/if they implement a new 16445 # versioning mechanism, adjust this. 16446 if test -x /usr/bin/objformat; then 16447 objformat=`/usr/bin/objformat` 16448 else 16449 case $host_os in 16450 freebsd[23].*) objformat=aout ;; 16451 *) objformat=elf ;; 16452 esac 16453 fi 16454 version_type=freebsd-$objformat 16455 case $version_type in 16456 freebsd-elf*) 16457 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16458 soname_spec='$libname$release$shared_ext$major' 16459 need_version=no 16460 need_lib_prefix=no 16461 ;; 16462 freebsd-*) 16463 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 16464 need_version=yes 16465 ;; 16466 esac 16467 shlibpath_var=LD_LIBRARY_PATH 16468 case $host_os in 16469 freebsd2.*) 16470 shlibpath_overrides_runpath=yes 16471 ;; 16472 freebsd3.[01]* | freebsdelf3.[01]*) 16473 shlibpath_overrides_runpath=yes 16474 hardcode_into_libs=yes 16475 ;; 16476 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 16477 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 16478 shlibpath_overrides_runpath=no 16479 hardcode_into_libs=yes 16480 ;; 16481 *) # from 4.6 on, and DragonFly 16482 shlibpath_overrides_runpath=yes 16483 hardcode_into_libs=yes 16484 ;; 16485 esac 16486 ;; 16487 16488haiku*) 16489 version_type=linux # correct to gnu/linux during the next big refactor 16490 need_lib_prefix=no 16491 need_version=no 16492 dynamic_linker="$host_os runtime_loader" 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 shlibpath_var=LIBRARY_PATH 16496 shlibpath_overrides_runpath=no 16497 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 16498 hardcode_into_libs=yes 16499 ;; 16500 16501hpux9* | hpux10* | hpux11*) 16502 # Give a soname corresponding to the major version so that dld.sl refuses to 16503 # link against other versions. 16504 version_type=sunos 16505 need_lib_prefix=no 16506 need_version=no 16507 case $host_cpu in 16508 ia64*) 16509 shrext_cmds='.so' 16510 hardcode_into_libs=yes 16511 dynamic_linker="$host_os dld.so" 16512 shlibpath_var=LD_LIBRARY_PATH 16513 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 16514 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16515 soname_spec='$libname$release$shared_ext$major' 16516 if test 32 = "$HPUX_IA64_MODE"; then 16517 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 16518 sys_lib_dlsearch_path_spec=/usr/lib/hpux32 16519 else 16520 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 16521 sys_lib_dlsearch_path_spec=/usr/lib/hpux64 16522 fi 16523 ;; 16524 hppa*64*) 16525 shrext_cmds='.sl' 16526 hardcode_into_libs=yes 16527 dynamic_linker="$host_os dld.sl" 16528 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 16529 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 16530 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16531 soname_spec='$libname$release$shared_ext$major' 16532 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 16533 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 16534 ;; 16535 *) 16536 shrext_cmds='.sl' 16537 dynamic_linker="$host_os dld.sl" 16538 shlibpath_var=SHLIB_PATH 16539 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 16540 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16541 soname_spec='$libname$release$shared_ext$major' 16542 ;; 16543 esac 16544 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 16545 postinstall_cmds='chmod 555 $lib' 16546 # or fails outright, so override atomically: 16547 install_override_mode=555 16548 ;; 16549 16550interix[3-9]*) 16551 version_type=linux # correct to gnu/linux during the next big refactor 16552 need_lib_prefix=no 16553 need_version=no 16554 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16555 soname_spec='$libname$release$shared_ext$major' 16556 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 16557 shlibpath_var=LD_LIBRARY_PATH 16558 shlibpath_overrides_runpath=no 16559 hardcode_into_libs=yes 16560 ;; 16561 16562irix5* | irix6* | nonstopux*) 16563 case $host_os in 16564 nonstopux*) version_type=nonstopux ;; 16565 *) 16566 if test yes = "$lt_cv_prog_gnu_ld"; then 16567 version_type=linux # correct to gnu/linux during the next big refactor 16568 else 16569 version_type=irix 16570 fi ;; 16571 esac 16572 need_lib_prefix=no 16573 need_version=no 16574 soname_spec='$libname$release$shared_ext$major' 16575 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' 16576 case $host_os in 16577 irix5* | nonstopux*) 16578 libsuff= shlibsuff= 16579 ;; 16580 *) 16581 case $LD in # libtool.m4 will add one of these switches to LD 16582 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 16583 libsuff= shlibsuff= libmagic=32-bit;; 16584 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 16585 libsuff=32 shlibsuff=N32 libmagic=N32;; 16586 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 16587 libsuff=64 shlibsuff=64 libmagic=64-bit;; 16588 *) libsuff= shlibsuff= libmagic=never-match;; 16589 esac 16590 ;; 16591 esac 16592 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 16593 shlibpath_overrides_runpath=no 16594 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" 16595 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" 16596 hardcode_into_libs=yes 16597 ;; 16598 16599# No shared lib support for Linux oldld, aout, or coff. 16600linux*oldld* | linux*aout* | linux*coff*) 16601 dynamic_linker=no 16602 ;; 16603 16604linux*android*) 16605 version_type=none # Android doesn't support versioned libraries. 16606 need_lib_prefix=no 16607 need_version=no 16608 library_names_spec='$libname$release$shared_ext' 16609 soname_spec='$libname$release$shared_ext' 16610 finish_cmds= 16611 shlibpath_var=LD_LIBRARY_PATH 16612 shlibpath_overrides_runpath=yes 16613 16614 # This implies no fast_install, which is unacceptable. 16615 # Some rework will be needed to allow for fast_install 16616 # before this can be enabled. 16617 hardcode_into_libs=yes 16618 16619 dynamic_linker='Android linker' 16620 # Don't embed -rpath directories since the linker doesn't support them. 16621 hardcode_libdir_flag_spec_CXX='-L$libdir' 16622 ;; 16623 16624# This must be glibc/ELF. 16625linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 16626 version_type=linux # correct to gnu/linux during the next big refactor 16627 need_lib_prefix=no 16628 need_version=no 16629 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16630 soname_spec='$libname$release$shared_ext$major' 16631 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 16632 shlibpath_var=LD_LIBRARY_PATH 16633 shlibpath_overrides_runpath=no 16634 16635 # Some binutils ld are patched to set DT_RUNPATH 16636 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 16637 $as_echo_n "(cached) " >&6 16638else 16639 lt_cv_shlibpath_overrides_runpath=no 16640 save_LDFLAGS=$LDFLAGS 16641 save_libdir=$libdir 16642 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \ 16643 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\"" 16644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16645/* end confdefs.h. */ 16646 16647int 16648main () 16649{ 16650 16651 ; 16652 return 0; 16653} 16654_ACEOF 16655if ac_fn_cxx_try_link "$LINENO"; then : 16656 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 16657 lt_cv_shlibpath_overrides_runpath=yes 16658fi 16659fi 16660rm -f core conftest.err conftest.$ac_objext \ 16661 conftest$ac_exeext conftest.$ac_ext 16662 LDFLAGS=$save_LDFLAGS 16663 libdir=$save_libdir 16664 16665fi 16666 16667 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 16668 16669 # This implies no fast_install, which is unacceptable. 16670 # Some rework will be needed to allow for fast_install 16671 # before this can be enabled. 16672 hardcode_into_libs=yes 16673 16674 # Add ABI-specific directories to the system library path. 16675 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" 16676 16677 # Ideally, we could use ldconfig to report *all* directores which are 16678 # searched for libraries, however this is still not possible. Aside from not 16679 # being certain /sbin/ldconfig is available, command 16680 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, 16681 # even though it is searched at run-time. Try to do the best guess by 16682 # appending ld.so.conf contents (and includes) to the search path. 16683 if test -f /etc/ld.so.conf; then 16684 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' ' '` 16685 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" 16686 fi 16687 16688 # We used to test for /lib/ld.so.1 and disable shared libraries on 16689 # powerpc, because MkLinux only supported shared libraries with the 16690 # GNU dynamic linker. Since this was broken with cross compilers, 16691 # most powerpc-linux boxes support dynamic linking these days and 16692 # people can always --disable-shared, the test was removed, and we 16693 # assume the GNU/Linux dynamic linker is in use. 16694 dynamic_linker='GNU/Linux ld.so' 16695 ;; 16696 16697netbsd*) 16698 version_type=sunos 16699 need_lib_prefix=no 16700 need_version=no 16701 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 16702 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 16703 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 16704 dynamic_linker='NetBSD (a.out) ld.so' 16705 else 16706 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16707 soname_spec='$libname$release$shared_ext$major' 16708 dynamic_linker='NetBSD ld.elf_so' 16709 fi 16710 shlibpath_var=LD_LIBRARY_PATH 16711 shlibpath_overrides_runpath=yes 16712 hardcode_into_libs=yes 16713 ;; 16714 16715newsos6) 16716 version_type=linux # correct to gnu/linux during the next big refactor 16717 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16718 shlibpath_var=LD_LIBRARY_PATH 16719 shlibpath_overrides_runpath=yes 16720 ;; 16721 16722*nto* | *qnx*) 16723 version_type=qnx 16724 need_lib_prefix=no 16725 need_version=no 16726 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16727 soname_spec='$libname$release$shared_ext$major' 16728 shlibpath_var=LD_LIBRARY_PATH 16729 shlibpath_overrides_runpath=no 16730 hardcode_into_libs=yes 16731 dynamic_linker='ldqnx.so' 16732 ;; 16733 16734openbsd* | bitrig*) 16735 version_type=sunos 16736 sys_lib_dlsearch_path_spec=/usr/lib 16737 need_lib_prefix=no 16738 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 16739 need_version=no 16740 else 16741 need_version=yes 16742 fi 16743 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 16744 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 16745 shlibpath_var=LD_LIBRARY_PATH 16746 shlibpath_overrides_runpath=yes 16747 ;; 16748 16749os2*) 16750 libname_spec='$name' 16751 version_type=windows 16752 shrext_cmds=.dll 16753 need_version=no 16754 need_lib_prefix=no 16755 # OS/2 can only load a DLL with a base name of 8 characters or less. 16756 soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; 16757 v=$($ECHO $release$versuffix | tr -d .-); 16758 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); 16759 $ECHO $n$v`$shared_ext' 16760 library_names_spec='${libname}_dll.$libext' 16761 dynamic_linker='OS/2 ld.exe' 16762 shlibpath_var=BEGINLIBPATH 16763 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 16764 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 16765 postinstall_cmds='base_file=`basename \$file`~ 16766 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ 16767 dldir=$destdir/`dirname \$dlpath`~ 16768 test -d \$dldir || mkdir -p \$dldir~ 16769 $install_prog $dir/$dlname \$dldir/$dlname~ 16770 chmod a+x \$dldir/$dlname~ 16771 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 16772 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 16773 fi' 16774 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ 16775 dlpath=$dir/\$dldll~ 16776 $RM \$dlpath' 16777 ;; 16778 16779osf3* | osf4* | osf5*) 16780 version_type=osf 16781 need_lib_prefix=no 16782 need_version=no 16783 soname_spec='$libname$release$shared_ext$major' 16784 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16785 shlibpath_var=LD_LIBRARY_PATH 16786 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 16787 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 16788 ;; 16789 16790rdos*) 16791 dynamic_linker=no 16792 ;; 16793 16794solaris*) 16795 version_type=linux # correct to gnu/linux during the next big refactor 16796 need_lib_prefix=no 16797 need_version=no 16798 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16799 soname_spec='$libname$release$shared_ext$major' 16800 shlibpath_var=LD_LIBRARY_PATH 16801 shlibpath_overrides_runpath=yes 16802 hardcode_into_libs=yes 16803 # ldd complains unless libraries are executable 16804 postinstall_cmds='chmod +x $lib' 16805 ;; 16806 16807sunos4*) 16808 version_type=sunos 16809 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 16810 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 16811 shlibpath_var=LD_LIBRARY_PATH 16812 shlibpath_overrides_runpath=yes 16813 if test yes = "$with_gnu_ld"; then 16814 need_lib_prefix=no 16815 fi 16816 need_version=yes 16817 ;; 16818 16819sysv4 | sysv4.3*) 16820 version_type=linux # correct to gnu/linux during the next big refactor 16821 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16822 soname_spec='$libname$release$shared_ext$major' 16823 shlibpath_var=LD_LIBRARY_PATH 16824 case $host_vendor in 16825 sni) 16826 shlibpath_overrides_runpath=no 16827 need_lib_prefix=no 16828 runpath_var=LD_RUN_PATH 16829 ;; 16830 siemens) 16831 need_lib_prefix=no 16832 ;; 16833 motorola) 16834 need_lib_prefix=no 16835 need_version=no 16836 shlibpath_overrides_runpath=no 16837 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 16838 ;; 16839 esac 16840 ;; 16841 16842sysv4*MP*) 16843 if test -d /usr/nec; then 16844 version_type=linux # correct to gnu/linux during the next big refactor 16845 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' 16846 soname_spec='$libname$shared_ext.$major' 16847 shlibpath_var=LD_LIBRARY_PATH 16848 fi 16849 ;; 16850 16851sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 16852 version_type=sco 16853 need_lib_prefix=no 16854 need_version=no 16855 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' 16856 soname_spec='$libname$release$shared_ext$major' 16857 shlibpath_var=LD_LIBRARY_PATH 16858 shlibpath_overrides_runpath=yes 16859 hardcode_into_libs=yes 16860 if test yes = "$with_gnu_ld"; then 16861 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 16862 else 16863 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 16864 case $host_os in 16865 sco3.2v5*) 16866 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 16867 ;; 16868 esac 16869 fi 16870 sys_lib_dlsearch_path_spec='/usr/lib' 16871 ;; 16872 16873tpf*) 16874 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 16875 version_type=linux # correct to gnu/linux during the next big refactor 16876 need_lib_prefix=no 16877 need_version=no 16878 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16879 shlibpath_var=LD_LIBRARY_PATH 16880 shlibpath_overrides_runpath=no 16881 hardcode_into_libs=yes 16882 ;; 16883 16884uts4*) 16885 version_type=linux # correct to gnu/linux during the next big refactor 16886 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16887 soname_spec='$libname$release$shared_ext$major' 16888 shlibpath_var=LD_LIBRARY_PATH 16889 ;; 16890 16891*) 16892 dynamic_linker=no 16893 ;; 16894esac 16895{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 16896$as_echo "$dynamic_linker" >&6; } 16897test no = "$dynamic_linker" && can_build_shared=no 16898 16899variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 16900if test yes = "$GCC"; then 16901 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 16902fi 16903 16904if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then 16905 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec 16906fi 16907 16908if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then 16909 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec 16910fi 16911 16912# remember unaugmented sys_lib_dlsearch_path content for libtool script decls... 16913configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec 16914 16915# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code 16916func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" 16917 16918# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool 16919configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH 16920 16921 16922 16923 16924 16925 16926 16927 16928 16929 16930 16931 16932 16933 16934 16935 16936 16937 16938 16939 16940 16941 16942 16943 16944 16945 16946 16947 16948 16949 16950 16951 16952 16953 16954 16955 16956 16957 16958 16959 16960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 16961$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 16962hardcode_action_CXX= 16963if test -n "$hardcode_libdir_flag_spec_CXX" || 16964 test -n "$runpath_var_CXX" || 16965 test yes = "$hardcode_automatic_CXX"; then 16966 16967 # We can hardcode non-existent directories. 16968 if test no != "$hardcode_direct_CXX" && 16969 # If the only mechanism to avoid hardcoding is shlibpath_var, we 16970 # have to relink, otherwise we might link with an installed library 16971 # when we should be linking with a yet-to-be-installed one 16972 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" && 16973 test no != "$hardcode_minus_L_CXX"; then 16974 # Linking always hardcodes the temporary library directory. 16975 hardcode_action_CXX=relink 16976 else 16977 # We can link without hardcoding, and we can hardcode nonexisting dirs. 16978 hardcode_action_CXX=immediate 16979 fi 16980else 16981 # We cannot hardcode anything, or else we can only hardcode existing 16982 # directories. 16983 hardcode_action_CXX=unsupported 16984fi 16985{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5 16986$as_echo "$hardcode_action_CXX" >&6; } 16987 16988if test relink = "$hardcode_action_CXX" || 16989 test yes = "$inherit_rpath_CXX"; then 16990 # Fast installation is not supported 16991 enable_fast_install=no 16992elif test yes = "$shlibpath_overrides_runpath" || 16993 test no = "$enable_shared"; then 16994 # Fast installation is not necessary 16995 enable_fast_install=needless 16996fi 16997 16998 16999 17000 17001 17002 17003 17004 fi # test -n "$compiler" 17005 17006 CC=$lt_save_CC 17007 CFLAGS=$lt_save_CFLAGS 17008 LDCXX=$LD 17009 LD=$lt_save_LD 17010 GCC=$lt_save_GCC 17011 with_gnu_ld=$lt_save_with_gnu_ld 17012 lt_cv_path_LDCXX=$lt_cv_path_LD 17013 lt_cv_path_LD=$lt_save_path_LD 17014 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld 17015 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld 17016fi # test yes != "$_lt_caught_CXX_error" 17017 17018ac_ext=c 17019ac_cpp='$CPP $CPPFLAGS' 17020ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 17021ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 17022ac_compiler_gnu=$ac_cv_c_compiler_gnu 17023 17024 17025 17026 17027 17028 17029 17030 17031 17032 17033 17034 17035 17036 17037 17038 ac_config_commands="$ac_config_commands libtool" 17039 17040 17041 17042 17043# Only expand once: 17044 17045 17046 17047 17048# Extract the first word of "pkg-config", so it can be a program name with args. 17049set dummy pkg-config; ac_word=$2 17050{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 17051$as_echo_n "checking for $ac_word... " >&6; } 17052if ${ac_cv_path_PKGCONFIG+:} false; then : 17053 $as_echo_n "(cached) " >&6 17054else 17055 case $PKGCONFIG in 17056 [\\/]* | ?:[\\/]*) 17057 ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path. 17058 ;; 17059 *) 17060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 17061for as_dir in $PATH 17062do 17063 IFS=$as_save_IFS 17064 test -z "$as_dir" && as_dir=. 17065 for ac_exec_ext in '' $ac_executable_extensions; do 17066 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 17067 ac_cv_path_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext" 17068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 17069 break 2 17070 fi 17071done 17072 done 17073IFS=$as_save_IFS 17074 17075 ;; 17076esac 17077fi 17078PKGCONFIG=$ac_cv_path_PKGCONFIG 17079if test -n "$PKGCONFIG"; then 17080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5 17081$as_echo "$PKGCONFIG" >&6; } 17082else 17083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17084$as_echo "no" >&6; } 17085fi 17086 17087 17088 17089 17090mkdir_p="$MKDIR_P" 17091case $mkdir_p in 17092 [\\/$]* | ?:[\\/]*) ;; 17093 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 17094esac 17095 17096 17097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 17098$as_echo_n "checking whether NLS is requested... " >&6; } 17099 # Check whether --enable-nls was given. 17100if test "${enable_nls+set}" = set; then : 17101 enableval=$enable_nls; USE_NLS=$enableval 17102else 17103 USE_NLS=yes 17104fi 17105 17106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 17107$as_echo "$USE_NLS" >&6; } 17108 17109 17110 17111 17112 GETTEXT_MACRO_VERSION=0.18 17113 17114 17115 17116 17117# Prepare PATH_SEPARATOR. 17118# The user is always right. 17119if test "${PATH_SEPARATOR+set}" != set; then 17120 echo "#! /bin/sh" >conf$$.sh 17121 echo "exit 0" >>conf$$.sh 17122 chmod +x conf$$.sh 17123 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 17124 PATH_SEPARATOR=';' 17125 else 17126 PATH_SEPARATOR=: 17127 fi 17128 rm -f conf$$.sh 17129fi 17130 17131# Find out how to test for executable files. Don't use a zero-byte file, 17132# as systems may use methods other than mode bits to determine executability. 17133cat >conf$$.file <<_ASEOF 17134#! /bin/sh 17135exit 0 17136_ASEOF 17137chmod +x conf$$.file 17138if test -x conf$$.file >/dev/null 2>&1; then 17139 ac_executable_p="test -x" 17140else 17141 ac_executable_p="test -f" 17142fi 17143rm -f conf$$.file 17144 17145# Extract the first word of "msgfmt", so it can be a program name with args. 17146set dummy msgfmt; ac_word=$2 17147{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 17148$as_echo_n "checking for $ac_word... " >&6; } 17149if ${ac_cv_path_MSGFMT+:} false; then : 17150 $as_echo_n "(cached) " >&6 17151else 17152 case "$MSGFMT" in 17153 [\\/]* | ?:[\\/]*) 17154 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 17155 ;; 17156 *) 17157 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 17158 for ac_dir in $PATH; do 17159 IFS="$ac_save_IFS" 17160 test -z "$ac_dir" && ac_dir=. 17161 for ac_exec_ext in '' $ac_executable_extensions; do 17162 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 17163 echo "$as_me: trying $ac_dir/$ac_word..." >&5 17164 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 && 17165 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then 17166 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext" 17167 break 2 17168 fi 17169 fi 17170 done 17171 done 17172 IFS="$ac_save_IFS" 17173 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":" 17174 ;; 17175esac 17176fi 17177MSGFMT="$ac_cv_path_MSGFMT" 17178if test "$MSGFMT" != ":"; then 17179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 17180$as_echo "$MSGFMT" >&6; } 17181else 17182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17183$as_echo "no" >&6; } 17184fi 17185 17186 # Extract the first word of "gmsgfmt", so it can be a program name with args. 17187set dummy gmsgfmt; ac_word=$2 17188{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 17189$as_echo_n "checking for $ac_word... " >&6; } 17190if ${ac_cv_path_GMSGFMT+:} false; then : 17191 $as_echo_n "(cached) " >&6 17192else 17193 case $GMSGFMT in 17194 [\\/]* | ?:[\\/]*) 17195 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 17196 ;; 17197 *) 17198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 17199for as_dir in $PATH 17200do 17201 IFS=$as_save_IFS 17202 test -z "$as_dir" && as_dir=. 17203 for ac_exec_ext in '' $ac_executable_extensions; do 17204 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 17205 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" 17206 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 17207 break 2 17208 fi 17209done 17210 done 17211IFS=$as_save_IFS 17212 17213 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" 17214 ;; 17215esac 17216fi 17217GMSGFMT=$ac_cv_path_GMSGFMT 17218if test -n "$GMSGFMT"; then 17219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 17220$as_echo "$GMSGFMT" >&6; } 17221else 17222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17223$as_echo "no" >&6; } 17224fi 17225 17226 17227 17228 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in 17229 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;; 17230 *) MSGFMT_015=$MSGFMT ;; 17231 esac 17232 17233 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in 17234 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;; 17235 *) GMSGFMT_015=$GMSGFMT ;; 17236 esac 17237 17238 17239 17240# Prepare PATH_SEPARATOR. 17241# The user is always right. 17242if test "${PATH_SEPARATOR+set}" != set; then 17243 echo "#! /bin/sh" >conf$$.sh 17244 echo "exit 0" >>conf$$.sh 17245 chmod +x conf$$.sh 17246 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 17247 PATH_SEPARATOR=';' 17248 else 17249 PATH_SEPARATOR=: 17250 fi 17251 rm -f conf$$.sh 17252fi 17253 17254# Find out how to test for executable files. Don't use a zero-byte file, 17255# as systems may use methods other than mode bits to determine executability. 17256cat >conf$$.file <<_ASEOF 17257#! /bin/sh 17258exit 0 17259_ASEOF 17260chmod +x conf$$.file 17261if test -x conf$$.file >/dev/null 2>&1; then 17262 ac_executable_p="test -x" 17263else 17264 ac_executable_p="test -f" 17265fi 17266rm -f conf$$.file 17267 17268# Extract the first word of "xgettext", so it can be a program name with args. 17269set dummy xgettext; ac_word=$2 17270{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 17271$as_echo_n "checking for $ac_word... " >&6; } 17272if ${ac_cv_path_XGETTEXT+:} false; then : 17273 $as_echo_n "(cached) " >&6 17274else 17275 case "$XGETTEXT" in 17276 [\\/]* | ?:[\\/]*) 17277 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 17278 ;; 17279 *) 17280 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 17281 for ac_dir in $PATH; do 17282 IFS="$ac_save_IFS" 17283 test -z "$ac_dir" && ac_dir=. 17284 for ac_exec_ext in '' $ac_executable_extensions; do 17285 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 17286 echo "$as_me: trying $ac_dir/$ac_word..." >&5 17287 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 && 17288 (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 17289 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext" 17290 break 2 17291 fi 17292 fi 17293 done 17294 done 17295 IFS="$ac_save_IFS" 17296 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" 17297 ;; 17298esac 17299fi 17300XGETTEXT="$ac_cv_path_XGETTEXT" 17301if test "$XGETTEXT" != ":"; then 17302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 17303$as_echo "$XGETTEXT" >&6; } 17304else 17305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17306$as_echo "no" >&6; } 17307fi 17308 17309 rm -f messages.po 17310 17311 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in 17312 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;; 17313 *) XGETTEXT_015=$XGETTEXT ;; 17314 esac 17315 17316 17317 17318# Prepare PATH_SEPARATOR. 17319# The user is always right. 17320if test "${PATH_SEPARATOR+set}" != set; then 17321 echo "#! /bin/sh" >conf$$.sh 17322 echo "exit 0" >>conf$$.sh 17323 chmod +x conf$$.sh 17324 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 17325 PATH_SEPARATOR=';' 17326 else 17327 PATH_SEPARATOR=: 17328 fi 17329 rm -f conf$$.sh 17330fi 17331 17332# Find out how to test for executable files. Don't use a zero-byte file, 17333# as systems may use methods other than mode bits to determine executability. 17334cat >conf$$.file <<_ASEOF 17335#! /bin/sh 17336exit 0 17337_ASEOF 17338chmod +x conf$$.file 17339if test -x conf$$.file >/dev/null 2>&1; then 17340 ac_executable_p="test -x" 17341else 17342 ac_executable_p="test -f" 17343fi 17344rm -f conf$$.file 17345 17346# Extract the first word of "msgmerge", so it can be a program name with args. 17347set dummy msgmerge; ac_word=$2 17348{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 17349$as_echo_n "checking for $ac_word... " >&6; } 17350if ${ac_cv_path_MSGMERGE+:} false; then : 17351 $as_echo_n "(cached) " >&6 17352else 17353 case "$MSGMERGE" in 17354 [\\/]* | ?:[\\/]*) 17355 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. 17356 ;; 17357 *) 17358 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 17359 for ac_dir in $PATH; do 17360 IFS="$ac_save_IFS" 17361 test -z "$ac_dir" && ac_dir=. 17362 for ac_exec_ext in '' $ac_executable_extensions; do 17363 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 17364 echo "$as_me: trying $ac_dir/$ac_word..." >&5 17365 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then 17366 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext" 17367 break 2 17368 fi 17369 fi 17370 done 17371 done 17372 IFS="$ac_save_IFS" 17373 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":" 17374 ;; 17375esac 17376fi 17377MSGMERGE="$ac_cv_path_MSGMERGE" 17378if test "$MSGMERGE" != ":"; then 17379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 17380$as_echo "$MSGMERGE" >&6; } 17381else 17382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17383$as_echo "no" >&6; } 17384fi 17385 17386 17387 test -n "$localedir" || localedir='${datadir}/locale' 17388 17389 17390 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS= 17391 17392 17393 ac_config_commands="$ac_config_commands po-directories" 17394 17395 17396 17397 if test "X$prefix" = "XNONE"; then 17398 acl_final_prefix="$ac_default_prefix" 17399 else 17400 acl_final_prefix="$prefix" 17401 fi 17402 if test "X$exec_prefix" = "XNONE"; then 17403 acl_final_exec_prefix='${prefix}' 17404 else 17405 acl_final_exec_prefix="$exec_prefix" 17406 fi 17407 acl_save_prefix="$prefix" 17408 prefix="$acl_final_prefix" 17409 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" 17410 prefix="$acl_save_prefix" 17411 17412 17413# Check whether --with-gnu-ld was given. 17414if test "${with_gnu_ld+set}" = set; then : 17415 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 17416else 17417 with_gnu_ld=no 17418fi 17419 17420# Prepare PATH_SEPARATOR. 17421# The user is always right. 17422if test "${PATH_SEPARATOR+set}" != set; then 17423 echo "#! /bin/sh" >conf$$.sh 17424 echo "exit 0" >>conf$$.sh 17425 chmod +x conf$$.sh 17426 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 17427 PATH_SEPARATOR=';' 17428 else 17429 PATH_SEPARATOR=: 17430 fi 17431 rm -f conf$$.sh 17432fi 17433ac_prog=ld 17434if test "$GCC" = yes; then 17435 # Check if gcc -print-prog-name=ld gives a path. 17436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5 17437$as_echo_n "checking for ld used by GCC... " >&6; } 17438 case $host in 17439 *-*-mingw*) 17440 # gcc leaves a trailing carriage return which upsets mingw 17441 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 17442 *) 17443 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 17444 esac 17445 case $ac_prog in 17446 # Accept absolute paths. 17447 [\\/]* | [A-Za-z]:[\\/]*) 17448 re_direlt='/[^/][^/]*/\.\./' 17449 # Canonicalize the path of ld 17450 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` 17451 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do 17452 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` 17453 done 17454 test -z "$LD" && LD="$ac_prog" 17455 ;; 17456 "") 17457 # If it fails, then pretend we aren't using GCC. 17458 ac_prog=ld 17459 ;; 17460 *) 17461 # If it is relative, then search for the first ld in PATH. 17462 with_gnu_ld=unknown 17463 ;; 17464 esac 17465elif test "$with_gnu_ld" = yes; then 17466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 17467$as_echo_n "checking for GNU ld... " >&6; } 17468else 17469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 17470$as_echo_n "checking for non-GNU ld... " >&6; } 17471fi 17472if ${acl_cv_path_LD+:} false; then : 17473 $as_echo_n "(cached) " >&6 17474else 17475 if test -z "$LD"; then 17476 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" 17477 for ac_dir in $PATH; do 17478 test -z "$ac_dir" && ac_dir=. 17479 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 17480 acl_cv_path_LD="$ac_dir/$ac_prog" 17481 # Check to see if the program is GNU ld. I'd rather use --version, 17482 # but apparently some GNU ld's only accept -v. 17483 # Break only if it was the GNU/non-GNU ld that we prefer. 17484 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in 17485 *GNU* | *'with BFD'*) 17486 test "$with_gnu_ld" != no && break ;; 17487 *) 17488 test "$with_gnu_ld" != yes && break ;; 17489 esac 17490 fi 17491 done 17492 IFS="$ac_save_ifs" 17493else 17494 acl_cv_path_LD="$LD" # Let the user override the test with a path. 17495fi 17496fi 17497 17498LD="$acl_cv_path_LD" 17499if test -n "$LD"; then 17500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 17501$as_echo "$LD" >&6; } 17502else 17503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17504$as_echo "no" >&6; } 17505fi 17506test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 17507{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 17508$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 17509if ${acl_cv_prog_gnu_ld+:} false; then : 17510 $as_echo_n "(cached) " >&6 17511else 17512 # I'd rather use --version here, but apparently some GNU ld's only accept -v. 17513case `$LD -v 2>&1 </dev/null` in 17514*GNU* | *'with BFD'*) 17515 acl_cv_prog_gnu_ld=yes ;; 17516*) 17517 acl_cv_prog_gnu_ld=no ;; 17518esac 17519fi 17520{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5 17521$as_echo "$acl_cv_prog_gnu_ld" >&6; } 17522with_gnu_ld=$acl_cv_prog_gnu_ld 17523 17524 17525 17526 17527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5 17528$as_echo_n "checking for shared library run path origin... " >&6; } 17529if ${acl_cv_rpath+:} false; then : 17530 $as_echo_n "(cached) " >&6 17531else 17532 17533 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ 17534 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh 17535 . ./conftest.sh 17536 rm -f ./conftest.sh 17537 acl_cv_rpath=done 17538 17539fi 17540{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5 17541$as_echo "$acl_cv_rpath" >&6; } 17542 wl="$acl_cv_wl" 17543 acl_libext="$acl_cv_libext" 17544 acl_shlibext="$acl_cv_shlibext" 17545 acl_libname_spec="$acl_cv_libname_spec" 17546 acl_library_names_spec="$acl_cv_library_names_spec" 17547 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" 17548 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" 17549 acl_hardcode_direct="$acl_cv_hardcode_direct" 17550 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L" 17551 # Check whether --enable-rpath was given. 17552if test "${enable_rpath+set}" = set; then : 17553 enableval=$enable_rpath; : 17554else 17555 enable_rpath=yes 17556fi 17557 17558 17559 17560 17561 acl_libdirstem=lib 17562 acl_libdirstem2= 17563 case "$host_os" in 17564 solaris*) 17565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5 17566$as_echo_n "checking for 64-bit host... " >&6; } 17567if ${gl_cv_solaris_64bit+:} false; then : 17568 $as_echo_n "(cached) " >&6 17569else 17570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17571/* end confdefs.h. */ 17572 17573#ifdef _LP64 17574sixtyfour bits 17575#endif 17576 17577_ACEOF 17578if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 17579 $EGREP "sixtyfour bits" >/dev/null 2>&1; then : 17580 gl_cv_solaris_64bit=yes 17581else 17582 gl_cv_solaris_64bit=no 17583fi 17584rm -f conftest* 17585 17586 17587fi 17588{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5 17589$as_echo "$gl_cv_solaris_64bit" >&6; } 17590 if test $gl_cv_solaris_64bit = yes; then 17591 acl_libdirstem=lib/64 17592 case "$host_cpu" in 17593 sparc*) acl_libdirstem2=lib/sparcv9 ;; 17594 i*86 | x86_64) acl_libdirstem2=lib/amd64 ;; 17595 esac 17596 fi 17597 ;; 17598 *) 17599 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'` 17600 if test -n "$searchpath"; then 17601 acl_save_IFS="${IFS= }"; IFS=":" 17602 for searchdir in $searchpath; do 17603 if test -d "$searchdir"; then 17604 case "$searchdir" in 17605 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;; 17606 */../ | */.. ) 17607 # Better ignore directories of this form. They are misleading. 17608 ;; 17609 *) searchdir=`cd "$searchdir" && pwd` 17610 case "$searchdir" in 17611 */lib64 ) acl_libdirstem=lib64 ;; 17612 esac ;; 17613 esac 17614 fi 17615 done 17616 IFS="$acl_save_IFS" 17617 fi 17618 ;; 17619 esac 17620 test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem" 17621 17622 17623 17624 17625 17626 17627 17628 17629 17630 17631 17632 17633 use_additional=yes 17634 17635 acl_save_prefix="$prefix" 17636 prefix="$acl_final_prefix" 17637 acl_save_exec_prefix="$exec_prefix" 17638 exec_prefix="$acl_final_exec_prefix" 17639 17640 eval additional_includedir=\"$includedir\" 17641 eval additional_libdir=\"$libdir\" 17642 17643 exec_prefix="$acl_save_exec_prefix" 17644 prefix="$acl_save_prefix" 17645 17646 17647# Check whether --with-libiconv-prefix was given. 17648if test "${with_libiconv_prefix+set}" = set; then : 17649 withval=$with_libiconv_prefix; 17650 if test "X$withval" = "Xno"; then 17651 use_additional=no 17652 else 17653 if test "X$withval" = "X"; then 17654 17655 acl_save_prefix="$prefix" 17656 prefix="$acl_final_prefix" 17657 acl_save_exec_prefix="$exec_prefix" 17658 exec_prefix="$acl_final_exec_prefix" 17659 17660 eval additional_includedir=\"$includedir\" 17661 eval additional_libdir=\"$libdir\" 17662 17663 exec_prefix="$acl_save_exec_prefix" 17664 prefix="$acl_save_prefix" 17665 17666 else 17667 additional_includedir="$withval/include" 17668 additional_libdir="$withval/$acl_libdirstem" 17669 if test "$acl_libdirstem2" != "$acl_libdirstem" \ 17670 && ! test -d "$withval/$acl_libdirstem"; then 17671 additional_libdir="$withval/$acl_libdirstem2" 17672 fi 17673 fi 17674 fi 17675 17676fi 17677 17678 LIBICONV= 17679 LTLIBICONV= 17680 INCICONV= 17681 LIBICONV_PREFIX= 17682 HAVE_LIBICONV= 17683 rpathdirs= 17684 ltrpathdirs= 17685 names_already_handled= 17686 names_next_round='iconv ' 17687 while test -n "$names_next_round"; do 17688 names_this_round="$names_next_round" 17689 names_next_round= 17690 for name in $names_this_round; do 17691 already_handled= 17692 for n in $names_already_handled; do 17693 if test "$n" = "$name"; then 17694 already_handled=yes 17695 break 17696 fi 17697 done 17698 if test -z "$already_handled"; then 17699 names_already_handled="$names_already_handled $name" 17700 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` 17701 eval value=\"\$HAVE_LIB$uppername\" 17702 if test -n "$value"; then 17703 if test "$value" = yes; then 17704 eval value=\"\$LIB$uppername\" 17705 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value" 17706 eval value=\"\$LTLIB$uppername\" 17707 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value" 17708 else 17709 : 17710 fi 17711 else 17712 found_dir= 17713 found_la= 17714 found_so= 17715 found_a= 17716 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name 17717 if test -n "$acl_shlibext"; then 17718 shrext=".$acl_shlibext" # typically: shrext=.so 17719 else 17720 shrext= 17721 fi 17722 if test $use_additional = yes; then 17723 dir="$additional_libdir" 17724 if test -n "$acl_shlibext"; then 17725 if test -f "$dir/$libname$shrext"; then 17726 found_dir="$dir" 17727 found_so="$dir/$libname$shrext" 17728 else 17729 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 17730 ver=`(cd "$dir" && \ 17731 for f in "$libname$shrext".*; do echo "$f"; done \ 17732 | sed -e "s,^$libname$shrext\\\\.,," \ 17733 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 17734 | sed 1q ) 2>/dev/null` 17735 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then 17736 found_dir="$dir" 17737 found_so="$dir/$libname$shrext.$ver" 17738 fi 17739 else 17740 eval library_names=\"$acl_library_names_spec\" 17741 for f in $library_names; do 17742 if test -f "$dir/$f"; then 17743 found_dir="$dir" 17744 found_so="$dir/$f" 17745 break 17746 fi 17747 done 17748 fi 17749 fi 17750 fi 17751 if test "X$found_dir" = "X"; then 17752 if test -f "$dir/$libname.$acl_libext"; then 17753 found_dir="$dir" 17754 found_a="$dir/$libname.$acl_libext" 17755 fi 17756 fi 17757 if test "X$found_dir" != "X"; then 17758 if test -f "$dir/$libname.la"; then 17759 found_la="$dir/$libname.la" 17760 fi 17761 fi 17762 fi 17763 if test "X$found_dir" = "X"; then 17764 for x in $LDFLAGS $LTLIBICONV; do 17765 17766 acl_save_prefix="$prefix" 17767 prefix="$acl_final_prefix" 17768 acl_save_exec_prefix="$exec_prefix" 17769 exec_prefix="$acl_final_exec_prefix" 17770 eval x=\"$x\" 17771 exec_prefix="$acl_save_exec_prefix" 17772 prefix="$acl_save_prefix" 17773 17774 case "$x" in 17775 -L*) 17776 dir=`echo "X$x" | sed -e 's/^X-L//'` 17777 if test -n "$acl_shlibext"; then 17778 if test -f "$dir/$libname$shrext"; then 17779 found_dir="$dir" 17780 found_so="$dir/$libname$shrext" 17781 else 17782 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 17783 ver=`(cd "$dir" && \ 17784 for f in "$libname$shrext".*; do echo "$f"; done \ 17785 | sed -e "s,^$libname$shrext\\\\.,," \ 17786 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 17787 | sed 1q ) 2>/dev/null` 17788 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then 17789 found_dir="$dir" 17790 found_so="$dir/$libname$shrext.$ver" 17791 fi 17792 else 17793 eval library_names=\"$acl_library_names_spec\" 17794 for f in $library_names; do 17795 if test -f "$dir/$f"; then 17796 found_dir="$dir" 17797 found_so="$dir/$f" 17798 break 17799 fi 17800 done 17801 fi 17802 fi 17803 fi 17804 if test "X$found_dir" = "X"; then 17805 if test -f "$dir/$libname.$acl_libext"; then 17806 found_dir="$dir" 17807 found_a="$dir/$libname.$acl_libext" 17808 fi 17809 fi 17810 if test "X$found_dir" != "X"; then 17811 if test -f "$dir/$libname.la"; then 17812 found_la="$dir/$libname.la" 17813 fi 17814 fi 17815 ;; 17816 esac 17817 if test "X$found_dir" != "X"; then 17818 break 17819 fi 17820 done 17821 fi 17822 if test "X$found_dir" != "X"; then 17823 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name" 17824 if test "X$found_so" != "X"; then 17825 if test "$enable_rpath" = no \ 17826 || test "X$found_dir" = "X/usr/$acl_libdirstem" \ 17827 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then 17828 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 17829 else 17830 haveit= 17831 for x in $ltrpathdirs; do 17832 if test "X$x" = "X$found_dir"; then 17833 haveit=yes 17834 break 17835 fi 17836 done 17837 if test -z "$haveit"; then 17838 ltrpathdirs="$ltrpathdirs $found_dir" 17839 fi 17840 if test "$acl_hardcode_direct" = yes; then 17841 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 17842 else 17843 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then 17844 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 17845 haveit= 17846 for x in $rpathdirs; do 17847 if test "X$x" = "X$found_dir"; then 17848 haveit=yes 17849 break 17850 fi 17851 done 17852 if test -z "$haveit"; then 17853 rpathdirs="$rpathdirs $found_dir" 17854 fi 17855 else 17856 haveit= 17857 for x in $LDFLAGS $LIBICONV; do 17858 17859 acl_save_prefix="$prefix" 17860 prefix="$acl_final_prefix" 17861 acl_save_exec_prefix="$exec_prefix" 17862 exec_prefix="$acl_final_exec_prefix" 17863 eval x=\"$x\" 17864 exec_prefix="$acl_save_exec_prefix" 17865 prefix="$acl_save_prefix" 17866 17867 if test "X$x" = "X-L$found_dir"; then 17868 haveit=yes 17869 break 17870 fi 17871 done 17872 if test -z "$haveit"; then 17873 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir" 17874 fi 17875 if test "$acl_hardcode_minus_L" != no; then 17876 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 17877 else 17878 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" 17879 fi 17880 fi 17881 fi 17882 fi 17883 else 17884 if test "X$found_a" != "X"; then 17885 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a" 17886 else 17887 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name" 17888 fi 17889 fi 17890 additional_includedir= 17891 case "$found_dir" in 17892 */$acl_libdirstem | */$acl_libdirstem/) 17893 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` 17894 if test "$name" = 'iconv'; then 17895 LIBICONV_PREFIX="$basedir" 17896 fi 17897 additional_includedir="$basedir/include" 17898 ;; 17899 */$acl_libdirstem2 | */$acl_libdirstem2/) 17900 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` 17901 if test "$name" = 'iconv'; then 17902 LIBICONV_PREFIX="$basedir" 17903 fi 17904 additional_includedir="$basedir/include" 17905 ;; 17906 esac 17907 if test "X$additional_includedir" != "X"; then 17908 if test "X$additional_includedir" != "X/usr/include"; then 17909 haveit= 17910 if test "X$additional_includedir" = "X/usr/local/include"; then 17911 if test -n "$GCC"; then 17912 case $host_os in 17913 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 17914 esac 17915 fi 17916 fi 17917 if test -z "$haveit"; then 17918 for x in $CPPFLAGS $INCICONV; do 17919 17920 acl_save_prefix="$prefix" 17921 prefix="$acl_final_prefix" 17922 acl_save_exec_prefix="$exec_prefix" 17923 exec_prefix="$acl_final_exec_prefix" 17924 eval x=\"$x\" 17925 exec_prefix="$acl_save_exec_prefix" 17926 prefix="$acl_save_prefix" 17927 17928 if test "X$x" = "X-I$additional_includedir"; then 17929 haveit=yes 17930 break 17931 fi 17932 done 17933 if test -z "$haveit"; then 17934 if test -d "$additional_includedir"; then 17935 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir" 17936 fi 17937 fi 17938 fi 17939 fi 17940 fi 17941 if test -n "$found_la"; then 17942 save_libdir="$libdir" 17943 case "$found_la" in 17944 */* | *\\*) . "$found_la" ;; 17945 *) . "./$found_la" ;; 17946 esac 17947 libdir="$save_libdir" 17948 for dep in $dependency_libs; do 17949 case "$dep" in 17950 -L*) 17951 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` 17952 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ 17953 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then 17954 haveit= 17955 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ 17956 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then 17957 if test -n "$GCC"; then 17958 case $host_os in 17959 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 17960 esac 17961 fi 17962 fi 17963 if test -z "$haveit"; then 17964 haveit= 17965 for x in $LDFLAGS $LIBICONV; 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 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir" 17983 fi 17984 fi 17985 haveit= 17986 for x in $LDFLAGS $LTLIBICONV; do 17987 17988 acl_save_prefix="$prefix" 17989 prefix="$acl_final_prefix" 17990 acl_save_exec_prefix="$exec_prefix" 17991 exec_prefix="$acl_final_exec_prefix" 17992 eval x=\"$x\" 17993 exec_prefix="$acl_save_exec_prefix" 17994 prefix="$acl_save_prefix" 17995 17996 if test "X$x" = "X-L$additional_libdir"; then 17997 haveit=yes 17998 break 17999 fi 18000 done 18001 if test -z "$haveit"; then 18002 if test -d "$additional_libdir"; then 18003 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir" 18004 fi 18005 fi 18006 fi 18007 fi 18008 ;; 18009 -R*) 18010 dir=`echo "X$dep" | sed -e 's/^X-R//'` 18011 if test "$enable_rpath" != no; then 18012 haveit= 18013 for x in $rpathdirs; do 18014 if test "X$x" = "X$dir"; then 18015 haveit=yes 18016 break 18017 fi 18018 done 18019 if test -z "$haveit"; then 18020 rpathdirs="$rpathdirs $dir" 18021 fi 18022 haveit= 18023 for x in $ltrpathdirs; do 18024 if test "X$x" = "X$dir"; then 18025 haveit=yes 18026 break 18027 fi 18028 done 18029 if test -z "$haveit"; then 18030 ltrpathdirs="$ltrpathdirs $dir" 18031 fi 18032 fi 18033 ;; 18034 -l*) 18035 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` 18036 ;; 18037 *.la) 18038 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` 18039 ;; 18040 *) 18041 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep" 18042 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep" 18043 ;; 18044 esac 18045 done 18046 fi 18047 else 18048 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" 18049 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name" 18050 fi 18051 fi 18052 fi 18053 done 18054 done 18055 if test "X$rpathdirs" != "X"; then 18056 if test -n "$acl_hardcode_libdir_separator"; then 18057 alldirs= 18058 for found_dir in $rpathdirs; do 18059 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" 18060 done 18061 acl_save_libdir="$libdir" 18062 libdir="$alldirs" 18063 eval flag=\"$acl_hardcode_libdir_flag_spec\" 18064 libdir="$acl_save_libdir" 18065 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" 18066 else 18067 for found_dir in $rpathdirs; do 18068 acl_save_libdir="$libdir" 18069 libdir="$found_dir" 18070 eval flag=\"$acl_hardcode_libdir_flag_spec\" 18071 libdir="$acl_save_libdir" 18072 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" 18073 done 18074 fi 18075 fi 18076 if test "X$ltrpathdirs" != "X"; then 18077 for found_dir in $ltrpathdirs; do 18078 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir" 18079 done 18080 fi 18081 18082 18083 18084 18085 18086 18087 18088 18089 18090 18091 18092 18093 18094 18095 18096 18097 18098 18099 18100 18101 18102 18103 18104 18105 18106 18107 18108 18109 18110 18111 18112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5 18113$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; } 18114if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then : 18115 $as_echo_n "(cached) " >&6 18116else 18117 gt_save_LIBS="$LIBS" 18118 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" 18119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18120/* end confdefs.h. */ 18121#include <CoreFoundation/CFPreferences.h> 18122int 18123main () 18124{ 18125CFPreferencesCopyAppValue(NULL, NULL) 18126 ; 18127 return 0; 18128} 18129_ACEOF 18130if ac_fn_c_try_link "$LINENO"; then : 18131 gt_cv_func_CFPreferencesCopyAppValue=yes 18132else 18133 gt_cv_func_CFPreferencesCopyAppValue=no 18134fi 18135rm -f core conftest.err conftest.$ac_objext \ 18136 conftest$ac_exeext conftest.$ac_ext 18137 LIBS="$gt_save_LIBS" 18138fi 18139{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5 18140$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; } 18141 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then 18142 18143$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h 18144 18145 fi 18146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5 18147$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; } 18148if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then : 18149 $as_echo_n "(cached) " >&6 18150else 18151 gt_save_LIBS="$LIBS" 18152 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" 18153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18154/* end confdefs.h. */ 18155#include <CoreFoundation/CFLocale.h> 18156int 18157main () 18158{ 18159CFLocaleCopyCurrent(); 18160 ; 18161 return 0; 18162} 18163_ACEOF 18164if ac_fn_c_try_link "$LINENO"; then : 18165 gt_cv_func_CFLocaleCopyCurrent=yes 18166else 18167 gt_cv_func_CFLocaleCopyCurrent=no 18168fi 18169rm -f core conftest.err conftest.$ac_objext \ 18170 conftest$ac_exeext conftest.$ac_ext 18171 LIBS="$gt_save_LIBS" 18172fi 18173{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5 18174$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; } 18175 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then 18176 18177$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h 18178 18179 fi 18180 INTL_MACOSX_LIBS= 18181 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then 18182 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation" 18183 fi 18184 18185 18186 18187 18188 18189 18190 LIBINTL= 18191 LTLIBINTL= 18192 POSUB= 18193 18194 case " $gt_needs " in 18195 *" need-formatstring-macros "*) gt_api_version=3 ;; 18196 *" need-ngettext "*) gt_api_version=2 ;; 18197 *) gt_api_version=1 ;; 18198 esac 18199 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc" 18200 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl" 18201 18202 if test "$USE_NLS" = "yes"; then 18203 gt_use_preinstalled_gnugettext=no 18204 18205 18206 if test $gt_api_version -ge 3; then 18207 gt_revision_test_code=' 18208#ifndef __GNU_GETTEXT_SUPPORTED_REVISION 18209#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1) 18210#endif 18211typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; 18212' 18213 else 18214 gt_revision_test_code= 18215 fi 18216 if test $gt_api_version -ge 2; then 18217 gt_expression_test_code=' + * ngettext ("", "", 0)' 18218 else 18219 gt_expression_test_code= 18220 fi 18221 18222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5 18223$as_echo_n "checking for GNU gettext in libc... " >&6; } 18224if eval \${$gt_func_gnugettext_libc+:} false; then : 18225 $as_echo_n "(cached) " >&6 18226else 18227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18228/* end confdefs.h. */ 18229#include <libintl.h> 18230$gt_revision_test_code 18231extern int _nl_msg_cat_cntr; 18232extern int *_nl_domain_bindings; 18233int 18234main () 18235{ 18236bindtextdomain ("", ""); 18237return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings 18238 ; 18239 return 0; 18240} 18241_ACEOF 18242if ac_fn_c_try_link "$LINENO"; then : 18243 eval "$gt_func_gnugettext_libc=yes" 18244else 18245 eval "$gt_func_gnugettext_libc=no" 18246fi 18247rm -f core conftest.err conftest.$ac_objext \ 18248 conftest$ac_exeext conftest.$ac_ext 18249fi 18250eval ac_res=\$$gt_func_gnugettext_libc 18251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 18252$as_echo "$ac_res" >&6; } 18253 18254 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then 18255 18256 18257 18258 18259 18260 am_save_CPPFLAGS="$CPPFLAGS" 18261 18262 for element in $INCICONV; do 18263 haveit= 18264 for x in $CPPFLAGS; do 18265 18266 acl_save_prefix="$prefix" 18267 prefix="$acl_final_prefix" 18268 acl_save_exec_prefix="$exec_prefix" 18269 exec_prefix="$acl_final_exec_prefix" 18270 eval x=\"$x\" 18271 exec_prefix="$acl_save_exec_prefix" 18272 prefix="$acl_save_prefix" 18273 18274 if test "X$x" = "X$element"; then 18275 haveit=yes 18276 break 18277 fi 18278 done 18279 if test -z "$haveit"; then 18280 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" 18281 fi 18282 done 18283 18284 18285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 18286$as_echo_n "checking for iconv... " >&6; } 18287if ${am_cv_func_iconv+:} false; then : 18288 $as_echo_n "(cached) " >&6 18289else 18290 18291 am_cv_func_iconv="no, consider installing GNU libiconv" 18292 am_cv_lib_iconv=no 18293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18294/* end confdefs.h. */ 18295#include <stdlib.h> 18296#include <iconv.h> 18297int 18298main () 18299{ 18300iconv_t cd = iconv_open("",""); 18301 iconv(cd,NULL,NULL,NULL,NULL); 18302 iconv_close(cd); 18303 ; 18304 return 0; 18305} 18306_ACEOF 18307if ac_fn_c_try_link "$LINENO"; then : 18308 am_cv_func_iconv=yes 18309fi 18310rm -f core conftest.err conftest.$ac_objext \ 18311 conftest$ac_exeext conftest.$ac_ext 18312 if test "$am_cv_func_iconv" != yes; then 18313 am_save_LIBS="$LIBS" 18314 LIBS="$LIBS $LIBICONV" 18315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18316/* end confdefs.h. */ 18317#include <stdlib.h> 18318#include <iconv.h> 18319int 18320main () 18321{ 18322iconv_t cd = iconv_open("",""); 18323 iconv(cd,NULL,NULL,NULL,NULL); 18324 iconv_close(cd); 18325 ; 18326 return 0; 18327} 18328_ACEOF 18329if ac_fn_c_try_link "$LINENO"; then : 18330 am_cv_lib_iconv=yes 18331 am_cv_func_iconv=yes 18332fi 18333rm -f core conftest.err conftest.$ac_objext \ 18334 conftest$ac_exeext conftest.$ac_ext 18335 LIBS="$am_save_LIBS" 18336 fi 18337 18338fi 18339{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 18340$as_echo "$am_cv_func_iconv" >&6; } 18341 if test "$am_cv_func_iconv" = yes; then 18342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5 18343$as_echo_n "checking for working iconv... " >&6; } 18344if ${am_cv_func_iconv_works+:} false; then : 18345 $as_echo_n "(cached) " >&6 18346else 18347 18348 am_save_LIBS="$LIBS" 18349 if test $am_cv_lib_iconv = yes; then 18350 LIBS="$LIBS $LIBICONV" 18351 fi 18352 if test "$cross_compiling" = yes; then : 18353 case "$host_os" in 18354 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; 18355 *) am_cv_func_iconv_works="guessing yes" ;; 18356 esac 18357else 18358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18359/* end confdefs.h. */ 18360 18361#include <iconv.h> 18362#include <string.h> 18363int main () 18364{ 18365 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful 18366 returns. */ 18367 { 18368 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8"); 18369 if (cd_utf8_to_88591 != (iconv_t)(-1)) 18370 { 18371 static const char input[] = "\342\202\254"; /* EURO SIGN */ 18372 char buf[10]; 18373 const char *inptr = input; 18374 size_t inbytesleft = strlen (input); 18375 char *outptr = buf; 18376 size_t outbytesleft = sizeof (buf); 18377 size_t res = iconv (cd_utf8_to_88591, 18378 (char **) &inptr, &inbytesleft, 18379 &outptr, &outbytesleft); 18380 if (res == 0) 18381 return 1; 18382 } 18383 } 18384 /* Test against Solaris 10 bug: Failures are not distinguishable from 18385 successful returns. */ 18386 { 18387 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646"); 18388 if (cd_ascii_to_88591 != (iconv_t)(-1)) 18389 { 18390 static const char input[] = "\263"; 18391 char buf[10]; 18392 const char *inptr = input; 18393 size_t inbytesleft = strlen (input); 18394 char *outptr = buf; 18395 size_t outbytesleft = sizeof (buf); 18396 size_t res = iconv (cd_ascii_to_88591, 18397 (char **) &inptr, &inbytesleft, 18398 &outptr, &outbytesleft); 18399 if (res == 0) 18400 return 1; 18401 } 18402 } 18403#if 0 /* This bug could be worked around by the caller. */ 18404 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */ 18405 { 18406 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591"); 18407 if (cd_88591_to_utf8 != (iconv_t)(-1)) 18408 { 18409 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; 18410 char buf[50]; 18411 const char *inptr = input; 18412 size_t inbytesleft = strlen (input); 18413 char *outptr = buf; 18414 size_t outbytesleft = sizeof (buf); 18415 size_t res = iconv (cd_88591_to_utf8, 18416 (char **) &inptr, &inbytesleft, 18417 &outptr, &outbytesleft); 18418 if ((int)res > 0) 18419 return 1; 18420 } 18421 } 18422#endif 18423 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is 18424 provided. */ 18425 if (/* Try standardized names. */ 18426 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1) 18427 /* Try IRIX, OSF/1 names. */ 18428 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1) 18429 /* Try AIX names. */ 18430 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1) 18431 /* Try HP-UX names. */ 18432 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1)) 18433 return 1; 18434 return 0; 18435} 18436_ACEOF 18437if ac_fn_c_try_run "$LINENO"; then : 18438 am_cv_func_iconv_works=yes 18439else 18440 am_cv_func_iconv_works=no 18441fi 18442rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 18443 conftest.$ac_objext conftest.beam conftest.$ac_ext 18444fi 18445 18446 LIBS="$am_save_LIBS" 18447 18448fi 18449{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5 18450$as_echo "$am_cv_func_iconv_works" >&6; } 18451 case "$am_cv_func_iconv_works" in 18452 *no) am_func_iconv=no am_cv_lib_iconv=no ;; 18453 *) am_func_iconv=yes ;; 18454 esac 18455 else 18456 am_func_iconv=no am_cv_lib_iconv=no 18457 fi 18458 if test "$am_func_iconv" = yes; then 18459 18460$as_echo "#define HAVE_ICONV 1" >>confdefs.h 18461 18462 fi 18463 if test "$am_cv_lib_iconv" = yes; then 18464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5 18465$as_echo_n "checking how to link with libiconv... " >&6; } 18466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5 18467$as_echo "$LIBICONV" >&6; } 18468 else 18469 CPPFLAGS="$am_save_CPPFLAGS" 18470 LIBICONV= 18471 LTLIBICONV= 18472 fi 18473 18474 18475 18476 18477 18478 18479 18480 18481 18482 18483 18484 use_additional=yes 18485 18486 acl_save_prefix="$prefix" 18487 prefix="$acl_final_prefix" 18488 acl_save_exec_prefix="$exec_prefix" 18489 exec_prefix="$acl_final_exec_prefix" 18490 18491 eval additional_includedir=\"$includedir\" 18492 eval additional_libdir=\"$libdir\" 18493 18494 exec_prefix="$acl_save_exec_prefix" 18495 prefix="$acl_save_prefix" 18496 18497 18498# Check whether --with-libintl-prefix was given. 18499if test "${with_libintl_prefix+set}" = set; then : 18500 withval=$with_libintl_prefix; 18501 if test "X$withval" = "Xno"; then 18502 use_additional=no 18503 else 18504 if test "X$withval" = "X"; then 18505 18506 acl_save_prefix="$prefix" 18507 prefix="$acl_final_prefix" 18508 acl_save_exec_prefix="$exec_prefix" 18509 exec_prefix="$acl_final_exec_prefix" 18510 18511 eval additional_includedir=\"$includedir\" 18512 eval additional_libdir=\"$libdir\" 18513 18514 exec_prefix="$acl_save_exec_prefix" 18515 prefix="$acl_save_prefix" 18516 18517 else 18518 additional_includedir="$withval/include" 18519 additional_libdir="$withval/$acl_libdirstem" 18520 if test "$acl_libdirstem2" != "$acl_libdirstem" \ 18521 && ! test -d "$withval/$acl_libdirstem"; then 18522 additional_libdir="$withval/$acl_libdirstem2" 18523 fi 18524 fi 18525 fi 18526 18527fi 18528 18529 LIBINTL= 18530 LTLIBINTL= 18531 INCINTL= 18532 LIBINTL_PREFIX= 18533 HAVE_LIBINTL= 18534 rpathdirs= 18535 ltrpathdirs= 18536 names_already_handled= 18537 names_next_round='intl ' 18538 while test -n "$names_next_round"; do 18539 names_this_round="$names_next_round" 18540 names_next_round= 18541 for name in $names_this_round; do 18542 already_handled= 18543 for n in $names_already_handled; do 18544 if test "$n" = "$name"; then 18545 already_handled=yes 18546 break 18547 fi 18548 done 18549 if test -z "$already_handled"; then 18550 names_already_handled="$names_already_handled $name" 18551 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` 18552 eval value=\"\$HAVE_LIB$uppername\" 18553 if test -n "$value"; then 18554 if test "$value" = yes; then 18555 eval value=\"\$LIB$uppername\" 18556 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value" 18557 eval value=\"\$LTLIB$uppername\" 18558 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value" 18559 else 18560 : 18561 fi 18562 else 18563 found_dir= 18564 found_la= 18565 found_so= 18566 found_a= 18567 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name 18568 if test -n "$acl_shlibext"; then 18569 shrext=".$acl_shlibext" # typically: shrext=.so 18570 else 18571 shrext= 18572 fi 18573 if test $use_additional = yes; then 18574 dir="$additional_libdir" 18575 if test -n "$acl_shlibext"; then 18576 if test -f "$dir/$libname$shrext"; then 18577 found_dir="$dir" 18578 found_so="$dir/$libname$shrext" 18579 else 18580 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 18581 ver=`(cd "$dir" && \ 18582 for f in "$libname$shrext".*; do echo "$f"; done \ 18583 | sed -e "s,^$libname$shrext\\\\.,," \ 18584 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 18585 | sed 1q ) 2>/dev/null` 18586 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then 18587 found_dir="$dir" 18588 found_so="$dir/$libname$shrext.$ver" 18589 fi 18590 else 18591 eval library_names=\"$acl_library_names_spec\" 18592 for f in $library_names; do 18593 if test -f "$dir/$f"; then 18594 found_dir="$dir" 18595 found_so="$dir/$f" 18596 break 18597 fi 18598 done 18599 fi 18600 fi 18601 fi 18602 if test "X$found_dir" = "X"; then 18603 if test -f "$dir/$libname.$acl_libext"; then 18604 found_dir="$dir" 18605 found_a="$dir/$libname.$acl_libext" 18606 fi 18607 fi 18608 if test "X$found_dir" != "X"; then 18609 if test -f "$dir/$libname.la"; then 18610 found_la="$dir/$libname.la" 18611 fi 18612 fi 18613 fi 18614 if test "X$found_dir" = "X"; then 18615 for x in $LDFLAGS $LTLIBINTL; do 18616 18617 acl_save_prefix="$prefix" 18618 prefix="$acl_final_prefix" 18619 acl_save_exec_prefix="$exec_prefix" 18620 exec_prefix="$acl_final_exec_prefix" 18621 eval x=\"$x\" 18622 exec_prefix="$acl_save_exec_prefix" 18623 prefix="$acl_save_prefix" 18624 18625 case "$x" in 18626 -L*) 18627 dir=`echo "X$x" | sed -e 's/^X-L//'` 18628 if test -n "$acl_shlibext"; then 18629 if test -f "$dir/$libname$shrext"; then 18630 found_dir="$dir" 18631 found_so="$dir/$libname$shrext" 18632 else 18633 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 18634 ver=`(cd "$dir" && \ 18635 for f in "$libname$shrext".*; do echo "$f"; done \ 18636 | sed -e "s,^$libname$shrext\\\\.,," \ 18637 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 18638 | sed 1q ) 2>/dev/null` 18639 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then 18640 found_dir="$dir" 18641 found_so="$dir/$libname$shrext.$ver" 18642 fi 18643 else 18644 eval library_names=\"$acl_library_names_spec\" 18645 for f in $library_names; do 18646 if test -f "$dir/$f"; then 18647 found_dir="$dir" 18648 found_so="$dir/$f" 18649 break 18650 fi 18651 done 18652 fi 18653 fi 18654 fi 18655 if test "X$found_dir" = "X"; then 18656 if test -f "$dir/$libname.$acl_libext"; then 18657 found_dir="$dir" 18658 found_a="$dir/$libname.$acl_libext" 18659 fi 18660 fi 18661 if test "X$found_dir" != "X"; then 18662 if test -f "$dir/$libname.la"; then 18663 found_la="$dir/$libname.la" 18664 fi 18665 fi 18666 ;; 18667 esac 18668 if test "X$found_dir" != "X"; then 18669 break 18670 fi 18671 done 18672 fi 18673 if test "X$found_dir" != "X"; then 18674 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name" 18675 if test "X$found_so" != "X"; then 18676 if test "$enable_rpath" = no \ 18677 || test "X$found_dir" = "X/usr/$acl_libdirstem" \ 18678 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then 18679 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 18680 else 18681 haveit= 18682 for x in $ltrpathdirs; do 18683 if test "X$x" = "X$found_dir"; then 18684 haveit=yes 18685 break 18686 fi 18687 done 18688 if test -z "$haveit"; then 18689 ltrpathdirs="$ltrpathdirs $found_dir" 18690 fi 18691 if test "$acl_hardcode_direct" = yes; then 18692 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 18693 else 18694 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then 18695 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 18696 haveit= 18697 for x in $rpathdirs; do 18698 if test "X$x" = "X$found_dir"; then 18699 haveit=yes 18700 break 18701 fi 18702 done 18703 if test -z "$haveit"; then 18704 rpathdirs="$rpathdirs $found_dir" 18705 fi 18706 else 18707 haveit= 18708 for x in $LDFLAGS $LIBINTL; do 18709 18710 acl_save_prefix="$prefix" 18711 prefix="$acl_final_prefix" 18712 acl_save_exec_prefix="$exec_prefix" 18713 exec_prefix="$acl_final_exec_prefix" 18714 eval x=\"$x\" 18715 exec_prefix="$acl_save_exec_prefix" 18716 prefix="$acl_save_prefix" 18717 18718 if test "X$x" = "X-L$found_dir"; then 18719 haveit=yes 18720 break 18721 fi 18722 done 18723 if test -z "$haveit"; then 18724 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir" 18725 fi 18726 if test "$acl_hardcode_minus_L" != no; then 18727 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 18728 else 18729 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" 18730 fi 18731 fi 18732 fi 18733 fi 18734 else 18735 if test "X$found_a" != "X"; then 18736 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a" 18737 else 18738 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name" 18739 fi 18740 fi 18741 additional_includedir= 18742 case "$found_dir" in 18743 */$acl_libdirstem | */$acl_libdirstem/) 18744 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` 18745 if test "$name" = 'intl'; then 18746 LIBINTL_PREFIX="$basedir" 18747 fi 18748 additional_includedir="$basedir/include" 18749 ;; 18750 */$acl_libdirstem2 | */$acl_libdirstem2/) 18751 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` 18752 if test "$name" = 'intl'; then 18753 LIBINTL_PREFIX="$basedir" 18754 fi 18755 additional_includedir="$basedir/include" 18756 ;; 18757 esac 18758 if test "X$additional_includedir" != "X"; then 18759 if test "X$additional_includedir" != "X/usr/include"; then 18760 haveit= 18761 if test "X$additional_includedir" = "X/usr/local/include"; then 18762 if test -n "$GCC"; then 18763 case $host_os in 18764 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 18765 esac 18766 fi 18767 fi 18768 if test -z "$haveit"; then 18769 for x in $CPPFLAGS $INCINTL; do 18770 18771 acl_save_prefix="$prefix" 18772 prefix="$acl_final_prefix" 18773 acl_save_exec_prefix="$exec_prefix" 18774 exec_prefix="$acl_final_exec_prefix" 18775 eval x=\"$x\" 18776 exec_prefix="$acl_save_exec_prefix" 18777 prefix="$acl_save_prefix" 18778 18779 if test "X$x" = "X-I$additional_includedir"; then 18780 haveit=yes 18781 break 18782 fi 18783 done 18784 if test -z "$haveit"; then 18785 if test -d "$additional_includedir"; then 18786 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir" 18787 fi 18788 fi 18789 fi 18790 fi 18791 fi 18792 if test -n "$found_la"; then 18793 save_libdir="$libdir" 18794 case "$found_la" in 18795 */* | *\\*) . "$found_la" ;; 18796 *) . "./$found_la" ;; 18797 esac 18798 libdir="$save_libdir" 18799 for dep in $dependency_libs; do 18800 case "$dep" in 18801 -L*) 18802 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` 18803 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ 18804 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then 18805 haveit= 18806 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ 18807 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then 18808 if test -n "$GCC"; then 18809 case $host_os in 18810 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 18811 esac 18812 fi 18813 fi 18814 if test -z "$haveit"; then 18815 haveit= 18816 for x in $LDFLAGS $LIBINTL; 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 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir" 18834 fi 18835 fi 18836 haveit= 18837 for x in $LDFLAGS $LTLIBINTL; do 18838 18839 acl_save_prefix="$prefix" 18840 prefix="$acl_final_prefix" 18841 acl_save_exec_prefix="$exec_prefix" 18842 exec_prefix="$acl_final_exec_prefix" 18843 eval x=\"$x\" 18844 exec_prefix="$acl_save_exec_prefix" 18845 prefix="$acl_save_prefix" 18846 18847 if test "X$x" = "X-L$additional_libdir"; then 18848 haveit=yes 18849 break 18850 fi 18851 done 18852 if test -z "$haveit"; then 18853 if test -d "$additional_libdir"; then 18854 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir" 18855 fi 18856 fi 18857 fi 18858 fi 18859 ;; 18860 -R*) 18861 dir=`echo "X$dep" | sed -e 's/^X-R//'` 18862 if test "$enable_rpath" != no; then 18863 haveit= 18864 for x in $rpathdirs; do 18865 if test "X$x" = "X$dir"; then 18866 haveit=yes 18867 break 18868 fi 18869 done 18870 if test -z "$haveit"; then 18871 rpathdirs="$rpathdirs $dir" 18872 fi 18873 haveit= 18874 for x in $ltrpathdirs; do 18875 if test "X$x" = "X$dir"; then 18876 haveit=yes 18877 break 18878 fi 18879 done 18880 if test -z "$haveit"; then 18881 ltrpathdirs="$ltrpathdirs $dir" 18882 fi 18883 fi 18884 ;; 18885 -l*) 18886 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` 18887 ;; 18888 *.la) 18889 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` 18890 ;; 18891 *) 18892 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep" 18893 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep" 18894 ;; 18895 esac 18896 done 18897 fi 18898 else 18899 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" 18900 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name" 18901 fi 18902 fi 18903 fi 18904 done 18905 done 18906 if test "X$rpathdirs" != "X"; then 18907 if test -n "$acl_hardcode_libdir_separator"; then 18908 alldirs= 18909 for found_dir in $rpathdirs; do 18910 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" 18911 done 18912 acl_save_libdir="$libdir" 18913 libdir="$alldirs" 18914 eval flag=\"$acl_hardcode_libdir_flag_spec\" 18915 libdir="$acl_save_libdir" 18916 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" 18917 else 18918 for found_dir in $rpathdirs; do 18919 acl_save_libdir="$libdir" 18920 libdir="$found_dir" 18921 eval flag=\"$acl_hardcode_libdir_flag_spec\" 18922 libdir="$acl_save_libdir" 18923 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" 18924 done 18925 fi 18926 fi 18927 if test "X$ltrpathdirs" != "X"; then 18928 for found_dir in $ltrpathdirs; do 18929 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir" 18930 done 18931 fi 18932 18933 18934 18935 18936 18937 18938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5 18939$as_echo_n "checking for GNU gettext in libintl... " >&6; } 18940if eval \${$gt_func_gnugettext_libintl+:} false; then : 18941 $as_echo_n "(cached) " >&6 18942else 18943 gt_save_CPPFLAGS="$CPPFLAGS" 18944 CPPFLAGS="$CPPFLAGS $INCINTL" 18945 gt_save_LIBS="$LIBS" 18946 LIBS="$LIBS $LIBINTL" 18947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18948/* end confdefs.h. */ 18949#include <libintl.h> 18950$gt_revision_test_code 18951extern int _nl_msg_cat_cntr; 18952extern 18953#ifdef __cplusplus 18954"C" 18955#endif 18956const char *_nl_expand_alias (const char *); 18957int 18958main () 18959{ 18960bindtextdomain ("", ""); 18961return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") 18962 ; 18963 return 0; 18964} 18965_ACEOF 18966if ac_fn_c_try_link "$LINENO"; then : 18967 eval "$gt_func_gnugettext_libintl=yes" 18968else 18969 eval "$gt_func_gnugettext_libintl=no" 18970fi 18971rm -f core conftest.err conftest.$ac_objext \ 18972 conftest$ac_exeext conftest.$ac_ext 18973 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then 18974 LIBS="$LIBS $LIBICONV" 18975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18976/* end confdefs.h. */ 18977#include <libintl.h> 18978$gt_revision_test_code 18979extern int _nl_msg_cat_cntr; 18980extern 18981#ifdef __cplusplus 18982"C" 18983#endif 18984const char *_nl_expand_alias (const char *); 18985int 18986main () 18987{ 18988bindtextdomain ("", ""); 18989return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") 18990 ; 18991 return 0; 18992} 18993_ACEOF 18994if ac_fn_c_try_link "$LINENO"; then : 18995 LIBINTL="$LIBINTL $LIBICONV" 18996 LTLIBINTL="$LTLIBINTL $LTLIBICONV" 18997 eval "$gt_func_gnugettext_libintl=yes" 18998 18999fi 19000rm -f core conftest.err conftest.$ac_objext \ 19001 conftest$ac_exeext conftest.$ac_ext 19002 fi 19003 CPPFLAGS="$gt_save_CPPFLAGS" 19004 LIBS="$gt_save_LIBS" 19005fi 19006eval ac_res=\$$gt_func_gnugettext_libintl 19007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 19008$as_echo "$ac_res" >&6; } 19009 fi 19010 19011 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \ 19012 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \ 19013 && test "$PACKAGE" != gettext-runtime \ 19014 && test "$PACKAGE" != gettext-tools; }; then 19015 gt_use_preinstalled_gnugettext=yes 19016 else 19017 LIBINTL= 19018 LTLIBINTL= 19019 INCINTL= 19020 fi 19021 19022 19023 19024 if test -n "$INTL_MACOSX_LIBS"; then 19025 if test "$gt_use_preinstalled_gnugettext" = "yes" \ 19026 || test "$nls_cv_use_gnu_gettext" = "yes"; then 19027 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS" 19028 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS" 19029 fi 19030 fi 19031 19032 if test "$gt_use_preinstalled_gnugettext" = "yes" \ 19033 || test "$nls_cv_use_gnu_gettext" = "yes"; then 19034 19035$as_echo "#define ENABLE_NLS 1" >>confdefs.h 19036 19037 else 19038 USE_NLS=no 19039 fi 19040 fi 19041 19042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5 19043$as_echo_n "checking whether to use NLS... " >&6; } 19044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 19045$as_echo "$USE_NLS" >&6; } 19046 if test "$USE_NLS" = "yes"; then 19047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5 19048$as_echo_n "checking where the gettext function comes from... " >&6; } 19049 if test "$gt_use_preinstalled_gnugettext" = "yes"; then 19050 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then 19051 gt_source="external libintl" 19052 else 19053 gt_source="libc" 19054 fi 19055 else 19056 gt_source="included intl directory" 19057 fi 19058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5 19059$as_echo "$gt_source" >&6; } 19060 fi 19061 19062 if test "$USE_NLS" = "yes"; then 19063 19064 if test "$gt_use_preinstalled_gnugettext" = "yes"; then 19065 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then 19066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5 19067$as_echo_n "checking how to link with libintl... " >&6; } 19068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5 19069$as_echo "$LIBINTL" >&6; } 19070 19071 for element in $INCINTL; do 19072 haveit= 19073 for x in $CPPFLAGS; do 19074 19075 acl_save_prefix="$prefix" 19076 prefix="$acl_final_prefix" 19077 acl_save_exec_prefix="$exec_prefix" 19078 exec_prefix="$acl_final_exec_prefix" 19079 eval x=\"$x\" 19080 exec_prefix="$acl_save_exec_prefix" 19081 prefix="$acl_save_prefix" 19082 19083 if test "X$x" = "X$element"; then 19084 haveit=yes 19085 break 19086 fi 19087 done 19088 if test -z "$haveit"; then 19089 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" 19090 fi 19091 done 19092 19093 fi 19094 19095 19096$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h 19097 19098 19099$as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h 19100 19101 fi 19102 19103 POSUB=po 19104 fi 19105 19106 19107 19108 INTLLIBS="$LIBINTL" 19109 19110 19111 19112 19113 19114 19115 19116 19117{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 19118$as_echo_n "checking for an ANSI C-conforming const... " >&6; } 19119if ${ac_cv_c_const+:} false; then : 19120 $as_echo_n "(cached) " >&6 19121else 19122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19123/* end confdefs.h. */ 19124 19125int 19126main () 19127{ 19128 19129#ifndef __cplusplus 19130 /* Ultrix mips cc rejects this sort of thing. */ 19131 typedef int charset[2]; 19132 const charset cs = { 0, 0 }; 19133 /* SunOS 4.1.1 cc rejects this. */ 19134 char const *const *pcpcc; 19135 char **ppc; 19136 /* NEC SVR4.0.2 mips cc rejects this. */ 19137 struct point {int x, y;}; 19138 static struct point const zero = {0,0}; 19139 /* AIX XL C 1.02.0.0 rejects this. 19140 It does not let you subtract one const X* pointer from another in 19141 an arm of an if-expression whose if-part is not a constant 19142 expression */ 19143 const char *g = "string"; 19144 pcpcc = &g + (g ? g-g : 0); 19145 /* HPUX 7.0 cc rejects these. */ 19146 ++pcpcc; 19147 ppc = (char**) pcpcc; 19148 pcpcc = (char const *const *) ppc; 19149 { /* SCO 3.2v4 cc rejects this sort of thing. */ 19150 char tx; 19151 char *t = &tx; 19152 char const *s = 0 ? (char *) 0 : (char const *) 0; 19153 19154 *t++ = 0; 19155 if (s) return 0; 19156 } 19157 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ 19158 int x[] = {25, 17}; 19159 const int *foo = &x[0]; 19160 ++foo; 19161 } 19162 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 19163 typedef const int *iptr; 19164 iptr p = 0; 19165 ++p; 19166 } 19167 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying 19168 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 19169 struct s { int j; const int *ap[3]; } bx; 19170 struct s *b = &bx; b->j = 5; 19171 } 19172 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 19173 const int foo = 10; 19174 if (!foo) return 0; 19175 } 19176 return !cs[0] && !zero.x; 19177#endif 19178 19179 ; 19180 return 0; 19181} 19182_ACEOF 19183if ac_fn_c_try_compile "$LINENO"; then : 19184 ac_cv_c_const=yes 19185else 19186 ac_cv_c_const=no 19187fi 19188rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19189fi 19190{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 19191$as_echo "$ac_cv_c_const" >&6; } 19192if test $ac_cv_c_const = no; then 19193 19194$as_echo "#define const /**/" >>confdefs.h 19195 19196fi 19197 19198{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5 19199$as_echo_n "checking for working volatile... " >&6; } 19200if ${ac_cv_c_volatile+:} false; then : 19201 $as_echo_n "(cached) " >&6 19202else 19203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19204/* end confdefs.h. */ 19205 19206int 19207main () 19208{ 19209 19210volatile int x; 19211int * volatile y = (int *) 0; 19212return !x && !y; 19213 ; 19214 return 0; 19215} 19216_ACEOF 19217if ac_fn_c_try_compile "$LINENO"; then : 19218 ac_cv_c_volatile=yes 19219else 19220 ac_cv_c_volatile=no 19221fi 19222rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19223fi 19224{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_volatile" >&5 19225$as_echo "$ac_cv_c_volatile" >&6; } 19226if test $ac_cv_c_volatile = no; then 19227 19228$as_echo "#define volatile /**/" >>confdefs.h 19229 19230fi 19231 19232 19233# Check whether --enable-largefile was given. 19234if test "${enable_largefile+set}" = set; then : 19235 enableval=$enable_largefile; 19236fi 19237 19238if test "$enable_largefile" != no; then 19239 19240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 19241$as_echo_n "checking for special C compiler options needed for large files... " >&6; } 19242if ${ac_cv_sys_largefile_CC+:} false; then : 19243 $as_echo_n "(cached) " >&6 19244else 19245 ac_cv_sys_largefile_CC=no 19246 if test "$GCC" != yes; then 19247 ac_save_CC=$CC 19248 while :; do 19249 # IRIX 6.2 and later do not support large files by default, 19250 # so use the C compiler's -n32 option if that helps. 19251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19252/* end confdefs.h. */ 19253#include <sys/types.h> 19254 /* Check that off_t can represent 2**63 - 1 correctly. 19255 We can't simply define LARGE_OFF_T to be 9223372036854775807, 19256 since some C++ compilers masquerading as C compilers 19257 incorrectly reject 9223372036854775807. */ 19258#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 19259 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 19260 && LARGE_OFF_T % 2147483647 == 1) 19261 ? 1 : -1]; 19262int 19263main () 19264{ 19265 19266 ; 19267 return 0; 19268} 19269_ACEOF 19270 if ac_fn_c_try_compile "$LINENO"; then : 19271 break 19272fi 19273rm -f core conftest.err conftest.$ac_objext 19274 CC="$CC -n32" 19275 if ac_fn_c_try_compile "$LINENO"; then : 19276 ac_cv_sys_largefile_CC=' -n32'; break 19277fi 19278rm -f core conftest.err conftest.$ac_objext 19279 break 19280 done 19281 CC=$ac_save_CC 19282 rm -f conftest.$ac_ext 19283 fi 19284fi 19285{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5 19286$as_echo "$ac_cv_sys_largefile_CC" >&6; } 19287 if test "$ac_cv_sys_largefile_CC" != no; then 19288 CC=$CC$ac_cv_sys_largefile_CC 19289 fi 19290 19291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 19292$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } 19293if ${ac_cv_sys_file_offset_bits+:} false; then : 19294 $as_echo_n "(cached) " >&6 19295else 19296 while :; do 19297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19298/* end confdefs.h. */ 19299#include <sys/types.h> 19300 /* Check that off_t can represent 2**63 - 1 correctly. 19301 We can't simply define LARGE_OFF_T to be 9223372036854775807, 19302 since some C++ compilers masquerading as C compilers 19303 incorrectly reject 9223372036854775807. */ 19304#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 19305 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 19306 && LARGE_OFF_T % 2147483647 == 1) 19307 ? 1 : -1]; 19308int 19309main () 19310{ 19311 19312 ; 19313 return 0; 19314} 19315_ACEOF 19316if ac_fn_c_try_compile "$LINENO"; then : 19317 ac_cv_sys_file_offset_bits=no; break 19318fi 19319rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19321/* end confdefs.h. */ 19322#define _FILE_OFFSET_BITS 64 19323#include <sys/types.h> 19324 /* Check that off_t can represent 2**63 - 1 correctly. 19325 We can't simply define LARGE_OFF_T to be 9223372036854775807, 19326 since some C++ compilers masquerading as C compilers 19327 incorrectly reject 9223372036854775807. */ 19328#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 19329 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 19330 && LARGE_OFF_T % 2147483647 == 1) 19331 ? 1 : -1]; 19332int 19333main () 19334{ 19335 19336 ; 19337 return 0; 19338} 19339_ACEOF 19340if ac_fn_c_try_compile "$LINENO"; then : 19341 ac_cv_sys_file_offset_bits=64; break 19342fi 19343rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19344 ac_cv_sys_file_offset_bits=unknown 19345 break 19346done 19347fi 19348{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5 19349$as_echo "$ac_cv_sys_file_offset_bits" >&6; } 19350case $ac_cv_sys_file_offset_bits in #( 19351 no | unknown) ;; 19352 *) 19353cat >>confdefs.h <<_ACEOF 19354#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits 19355_ACEOF 19356;; 19357esac 19358rm -rf conftest* 19359 if test $ac_cv_sys_file_offset_bits = unknown; then 19360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 19361$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } 19362if ${ac_cv_sys_large_files+:} false; then : 19363 $as_echo_n "(cached) " >&6 19364else 19365 while :; do 19366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19367/* end confdefs.h. */ 19368#include <sys/types.h> 19369 /* Check that off_t can represent 2**63 - 1 correctly. 19370 We can't simply define LARGE_OFF_T to be 9223372036854775807, 19371 since some C++ compilers masquerading as C compilers 19372 incorrectly reject 9223372036854775807. */ 19373#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 19374 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 19375 && LARGE_OFF_T % 2147483647 == 1) 19376 ? 1 : -1]; 19377int 19378main () 19379{ 19380 19381 ; 19382 return 0; 19383} 19384_ACEOF 19385if ac_fn_c_try_compile "$LINENO"; then : 19386 ac_cv_sys_large_files=no; break 19387fi 19388rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19390/* end confdefs.h. */ 19391#define _LARGE_FILES 1 19392#include <sys/types.h> 19393 /* Check that off_t can represent 2**63 - 1 correctly. 19394 We can't simply define LARGE_OFF_T to be 9223372036854775807, 19395 since some C++ compilers masquerading as C compilers 19396 incorrectly reject 9223372036854775807. */ 19397#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 19398 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 19399 && LARGE_OFF_T % 2147483647 == 1) 19400 ? 1 : -1]; 19401int 19402main () 19403{ 19404 19405 ; 19406 return 0; 19407} 19408_ACEOF 19409if ac_fn_c_try_compile "$LINENO"; then : 19410 ac_cv_sys_large_files=1; break 19411fi 19412rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19413 ac_cv_sys_large_files=unknown 19414 break 19415done 19416fi 19417{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5 19418$as_echo "$ac_cv_sys_large_files" >&6; } 19419case $ac_cv_sys_large_files in #( 19420 no | unknown) ;; 19421 *) 19422cat >>confdefs.h <<_ACEOF 19423#define _LARGE_FILES $ac_cv_sys_large_files 19424_ACEOF 19425;; 19426esac 19427rm -rf conftest* 19428 fi 19429 19430 19431fi 19432 19433 19434 19435 19436 # Check whether --enable-shared-libs was given. 19437if test "${enable_shared_libs+set}" = set; then : 19438 enableval=$enable_shared_libs; ac_cv_enable_shared_libs=$enableval 19439else 19440 ac_cv_enable_shared_libs="yes" 19441fi 19442 19443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to disable disable shared library support" >&5 19444$as_echo_n "checking whether to disable disable shared library support... " >&6; } 19445if ${ac_cv_enable_shared_libs+:} false; then : 19446 $as_echo_n "(cached) " >&6 19447else 19448 ac_cv_enable_shared_libs="yes" 19449fi 19450{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_shared_libs" >&5 19451$as_echo "$ac_cv_enable_shared_libs" >&6; } 19452 19453 19454 19455 19456 # Check whether --enable-static-executables was given. 19457if test "${enable_static_executables+set}" = set; then : 19458 enableval=$enable_static_executables; ac_cv_enable_static_executables=$enableval 19459else 19460 ac_cv_enable_static_executables=no 19461fi 19462 19463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable build static executables (binaries)" >&5 19464$as_echo_n "checking whether to enable build static executables (binaries)... " >&6; } 19465if ${ac_cv_enable_static_executables+:} false; then : 19466 $as_echo_n "(cached) " >&6 19467else 19468 ac_cv_enable_static_executables=no 19469fi 19470{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_static_executables" >&5 19471$as_echo "$ac_cv_enable_static_executables" >&6; } 19472 19473 if test "x$ac_cv_enable_static_executables" != xno; then : 19474 STATIC_LDFLAGS="-all-static"; 19475 19476 19477 19478 ac_cv_enable_static_executables=yes 19479 enable_shared=no 19480fi 19481 19482 19483 19484 19485 # Check whether --enable-winapi was given. 19486if test "${enable_winapi+set}" = set; then : 19487 enableval=$enable_winapi; ac_cv_enable_winapi=$enableval 19488else 19489 ac_cv_enable_winapi=auto-detect 19490fi 19491 19492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable enable WINAPI support for cross-compilation" >&5 19493$as_echo_n "checking whether to enable enable WINAPI support for cross-compilation... " >&6; } 19494if ${ac_cv_enable_winapi+:} false; then : 19495 $as_echo_n "(cached) " >&6 19496else 19497 ac_cv_enable_winapi=auto-detect 19498fi 19499{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_winapi" >&5 19500$as_echo "$ac_cv_enable_winapi" >&6; } 19501 19502 if test "x$ac_cv_enable_winapi" = xauto-detect; then : 19503 ac_common_check_winapi_target_string="$target" 19504 19505 if test "x$ac_common_check_winapi_target_string" = x; then : 19506 ac_common_check_winapi_target_string="$host" 19507fi 19508 19509 case $ac_common_check_winapi_target_string in #( 19510 *mingw*) : 19511 { $as_echo "$as_me:${as_lineno-$LINENO}: detected MinGW enabling WINAPI support for cross-compilation" >&5 19512$as_echo "$as_me: detected MinGW enabling WINAPI support for cross-compilation" >&6;} 19513 ac_cv_enable_winapi=yes ;; #( 19514 *msys*) : 19515 { $as_echo "$as_me:${as_lineno-$LINENO}: detected MSYS enabling WINAPI support for cross-compilation" >&5 19516$as_echo "$as_me: detected MSYS enabling WINAPI support for cross-compilation" >&6;} 19517 ac_cv_enable_winapi=yes ;; #( 19518 *) : 19519 ac_cv_enable_winapi=no ;; #( 19520 *) : 19521 ;; 19522esac 19523 19524fi 19525 19526 19527 19528 19529 # Check whether --enable-wide-character-type was given. 19530if test "${enable_wide_character_type+set}" = set; then : 19531 enableval=$enable_wide_character_type; ac_cv_enable_wide_character_type=$enableval 19532else 19533 ac_cv_enable_wide_character_type=no 19534fi 19535 19536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable enable wide character type support" >&5 19537$as_echo_n "checking whether to enable enable wide character type support... " >&6; } 19538if ${ac_cv_enable_wide_character_type+:} false; then : 19539 $as_echo_n "(cached) " >&6 19540else 19541 ac_cv_enable_wide_character_type=no 19542fi 19543{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_wide_character_type" >&5 19544$as_echo "$ac_cv_enable_wide_character_type" >&6; } 19545 19546 19547 19548 19549 # Check whether --enable-verbose-output was given. 19550if test "${enable_verbose_output+set}" = set; then : 19551 enableval=$enable_verbose_output; ac_cv_enable_verbose_output=$enableval 19552else 19553 ac_cv_enable_verbose_output=no 19554fi 19555 19556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable enable verbose output" >&5 19557$as_echo_n "checking whether to enable enable verbose output... " >&6; } 19558if ${ac_cv_enable_verbose_output+:} false; then : 19559 $as_echo_n "(cached) " >&6 19560else 19561 ac_cv_enable_verbose_output=no 19562fi 19563{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_verbose_output" >&5 19564$as_echo "$ac_cv_enable_verbose_output" >&6; } 19565 19566 if test "x$ac_cv_enable_verbose_output" != xno ; then : 19567 19568$as_echo "#define HAVE_VERBOSE_OUTPUT 1" >>confdefs.h 19569 19570 19571 ac_cv_enable_verbose_output=yes 19572fi 19573 19574 19575 19576 19577 # Check whether --enable-debug-output was given. 19578if test "${enable_debug_output+set}" = set; then : 19579 enableval=$enable_debug_output; ac_cv_enable_debug_output=$enableval 19580else 19581 ac_cv_enable_debug_output=no 19582fi 19583 19584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable enable debug output" >&5 19585$as_echo_n "checking whether to enable enable debug output... " >&6; } 19586if ${ac_cv_enable_debug_output+:} false; then : 19587 $as_echo_n "(cached) " >&6 19588else 19589 ac_cv_enable_debug_output=no 19590fi 19591{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_debug_output" >&5 19592$as_echo "$ac_cv_enable_debug_output" >&6; } 19593 19594 if test "x$ac_cv_enable_debug_output" != xno ; then : 19595 19596$as_echo "#define HAVE_DEBUG_OUTPUT 1" >>confdefs.h 19597 19598 19599 ac_cv_enable_debug_output=yes 19600fi 19601 19602 19603if test "x$ac_cv_enable_winapi" = xyes; then : 19604 ac_cv_enable_wide_character_type=yes 19605fi 19606 19607 if test "x$ac_cv_enable_wide_character_type" = xyes; then : 19608 19609$as_echo "#define HAVE_WIDE_CHARACTER_TYPE 1" >>confdefs.h 19610 19611 HAVE_WIDE_CHARACTER_TYPE=1 19612 19613else 19614 HAVE_WIDE_CHARACTER_TYPE=0 19615 19616 19617fi 19618 19619 for ac_header in sys/types.h inttypes.h stdint.h wchar.h 19620do : 19621 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 19622ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 19623if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 19624 cat >>confdefs.h <<_ACEOF 19625#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 19626_ACEOF 19627 19628fi 19629 19630done 19631 19632 19633 if test "x$ac_cv_header_sys_types_h" = xyes; then : 19634 HAVE_SYS_TYPES_H=1 19635 19636else 19637 HAVE_SYS_TYPES_H=0 19638 19639 19640fi 19641 19642 if test "x$ac_cv_header_inttypes_h" = xyes; then : 19643 HAVE_INTTYPES_H=1 19644 19645else 19646 HAVE_INTTYPES_H=0 19647 19648 19649fi 19650 19651 if test "x$ac_cv_header_stdint_h" = xyes; then : 19652 HAVE_STDINT_H=1 19653 19654else 19655 HAVE_STDINT_H=0 19656 19657 19658fi 19659 19660 if test "x$ac_cv_header_wchar_h" = xyes; then : 19661 HAVE_WCHAR_H=1 19662 19663else 19664 HAVE_WCHAR_H=0 19665 19666 19667fi 19668 19669 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default" 19670if test "x$ac_cv_type_mode_t" = xyes; then : 19671 19672else 19673 19674cat >>confdefs.h <<_ACEOF 19675#define mode_t int 19676_ACEOF 19677 19678fi 19679 19680 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default" 19681if test "x$ac_cv_type_off_t" = xyes; then : 19682 19683else 19684 19685cat >>confdefs.h <<_ACEOF 19686#define off_t long int 19687_ACEOF 19688 19689fi 19690 19691 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" 19692if test "x$ac_cv_type_size_t" = xyes; then : 19693 19694else 19695 19696cat >>confdefs.h <<_ACEOF 19697#define size_t unsigned int 19698_ACEOF 19699 19700fi 19701 19702 19703 ac_fn_c_check_type "$LINENO" "size32_t" "ac_cv_type_size32_t" "$ac_includes_default" 19704if test "x$ac_cv_type_size32_t" = xyes; then : 19705 HAVE_SIZE32_T=1 19706 19707else 19708 HAVE_SIZE32_T=0 19709 19710 19711fi 19712 19713 19714 ac_fn_c_check_type "$LINENO" "ssize32_t" "ac_cv_type_ssize32_t" "$ac_includes_default" 19715if test "x$ac_cv_type_ssize32_t" = xyes; then : 19716 HAVE_SSIZE32_T=1 19717 19718else 19719 HAVE_SSIZE32_T=0 19720 19721 19722fi 19723 19724 19725 ac_fn_c_check_type "$LINENO" "size64_t" "ac_cv_type_size64_t" "$ac_includes_default" 19726if test "x$ac_cv_type_size64_t" = xyes; then : 19727 HAVE_SIZE64_T=1 19728 19729else 19730 HAVE_SIZE64_T=0 19731 19732 19733fi 19734 19735 19736 ac_fn_c_check_type "$LINENO" "ssize64_t" "ac_cv_type_ssize64_t" "$ac_includes_default" 19737if test "x$ac_cv_type_ssize64_t" = xyes; then : 19738 HAVE_SSIZE64_T=1 19739 19740else 19741 HAVE_SSIZE64_T=0 19742 19743 19744fi 19745 19746 19747 ac_fn_c_check_type "$LINENO" "off64_t" "ac_cv_type_off64_t" "$ac_includes_default" 19748if test "x$ac_cv_type_off64_t" = xyes; then : 19749 HAVE_OFF64_T=1 19750 19751else 19752 HAVE_OFF64_T=0 19753 19754 19755fi 19756 19757 19758 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default" 19759if test "x$ac_cv_type_ssize_t" = xyes; then : 19760 19761fi 19762 19763 ac_fn_c_check_type "$LINENO" "u64" "ac_cv_type_u64" "$ac_includes_default" 19764if test "x$ac_cv_type_u64" = xyes; then : 19765 19766fi 19767 19768 19769 # The cast to long int works around a bug in the HP C Compiler 19770# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 19771# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 19772# This bug is HP SR number 8606223364. 19773{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5 19774$as_echo_n "checking size of int... " >&6; } 19775if ${ac_cv_sizeof_int+:} false; then : 19776 $as_echo_n "(cached) " >&6 19777else 19778 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then : 19779 19780else 19781 if test "$ac_cv_type_int" = yes; then 19782 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 19783$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 19784as_fn_error 77 "cannot compute sizeof (int) 19785See \`config.log' for more details" "$LINENO" 5; } 19786 else 19787 ac_cv_sizeof_int=0 19788 fi 19789fi 19790 19791fi 19792{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5 19793$as_echo "$ac_cv_sizeof_int" >&6; } 19794 19795 19796 19797cat >>confdefs.h <<_ACEOF 19798#define SIZEOF_INT $ac_cv_sizeof_int 19799_ACEOF 19800 19801 19802 # The cast to long int works around a bug in the HP C Compiler 19803# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 19804# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 19805# This bug is HP SR number 8606223364. 19806{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 19807$as_echo_n "checking size of long... " >&6; } 19808if ${ac_cv_sizeof_long+:} false; then : 19809 $as_echo_n "(cached) " >&6 19810else 19811 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then : 19812 19813else 19814 if test "$ac_cv_type_long" = yes; then 19815 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 19816$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 19817as_fn_error 77 "cannot compute sizeof (long) 19818See \`config.log' for more details" "$LINENO" 5; } 19819 else 19820 ac_cv_sizeof_long=0 19821 fi 19822fi 19823 19824fi 19825{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 19826$as_echo "$ac_cv_sizeof_long" >&6; } 19827 19828 19829 19830cat >>confdefs.h <<_ACEOF 19831#define SIZEOF_LONG $ac_cv_sizeof_long 19832_ACEOF 19833 19834 19835 # The cast to long int works around a bug in the HP C Compiler 19836# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 19837# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 19838# This bug is HP SR number 8606223364. 19839{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5 19840$as_echo_n "checking size of off_t... " >&6; } 19841if ${ac_cv_sizeof_off_t+:} false; then : 19842 $as_echo_n "(cached) " >&6 19843else 19844 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (off_t))" "ac_cv_sizeof_off_t" "$ac_includes_default"; then : 19845 19846else 19847 if test "$ac_cv_type_off_t" = yes; then 19848 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 19849$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 19850as_fn_error 77 "cannot compute sizeof (off_t) 19851See \`config.log' for more details" "$LINENO" 5; } 19852 else 19853 ac_cv_sizeof_off_t=0 19854 fi 19855fi 19856 19857fi 19858{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5 19859$as_echo "$ac_cv_sizeof_off_t" >&6; } 19860 19861 19862 19863cat >>confdefs.h <<_ACEOF 19864#define SIZEOF_OFF_T $ac_cv_sizeof_off_t 19865_ACEOF 19866 19867 19868 # The cast to long int works around a bug in the HP C Compiler 19869# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 19870# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 19871# This bug is HP SR number 8606223364. 19872{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5 19873$as_echo_n "checking size of size_t... " >&6; } 19874if ${ac_cv_sizeof_size_t+:} false; then : 19875 $as_echo_n "(cached) " >&6 19876else 19877 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t" "$ac_includes_default"; then : 19878 19879else 19880 if test "$ac_cv_type_size_t" = yes; then 19881 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 19882$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 19883as_fn_error 77 "cannot compute sizeof (size_t) 19884See \`config.log' for more details" "$LINENO" 5; } 19885 else 19886 ac_cv_sizeof_size_t=0 19887 fi 19888fi 19889 19890fi 19891{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5 19892$as_echo "$ac_cv_sizeof_size_t" >&6; } 19893 19894 19895 19896cat >>confdefs.h <<_ACEOF 19897#define SIZEOF_SIZE_T $ac_cv_sizeof_size_t 19898_ACEOF 19899 19900 19901 19902 if test "x$ac_cv_header_wchar_h" = xyes; then : 19903 # The cast to long int works around a bug in the HP C Compiler 19904# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 19905# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 19906# This bug is HP SR number 8606223364. 19907{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of wchar_t" >&5 19908$as_echo_n "checking size of wchar_t... " >&6; } 19909if ${ac_cv_sizeof_wchar_t+:} false; then : 19910 $as_echo_n "(cached) " >&6 19911else 19912 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (wchar_t))" "ac_cv_sizeof_wchar_t" "$ac_includes_default"; then : 19913 19914else 19915 if test "$ac_cv_type_wchar_t" = yes; then 19916 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 19917$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 19918as_fn_error 77 "cannot compute sizeof (wchar_t) 19919See \`config.log' for more details" "$LINENO" 5; } 19920 else 19921 ac_cv_sizeof_wchar_t=0 19922 fi 19923fi 19924 19925fi 19926{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_wchar_t" >&5 19927$as_echo "$ac_cv_sizeof_wchar_t" >&6; } 19928 19929 19930 19931cat >>confdefs.h <<_ACEOF 19932#define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t 19933_ACEOF 19934 19935 19936fi 19937 19938 19939 19940 if test "x$ac_cv_enable_winapi" = xyes; then : 19941 for ac_header in windows.h 19942do : 19943 ac_fn_c_check_header_mongrel "$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default" 19944if test "x$ac_cv_header_windows_h" = xyes; then : 19945 cat >>confdefs.h <<_ACEOF 19946#define HAVE_WINDOWS_H 1 19947_ACEOF 19948 19949fi 19950 19951done 19952 19953 19954 if test "x$ac_cv_header_windows_h" = xno; then : 19955 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 19956$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 19957as_fn_error 1 "Missing header: windows.h header is required to compile with winapi support 19958See \`config.log' for more details" "$LINENO" 5; } 19959 19960fi 19961 19962fi 19963 19964 if test "x$ac_cv_enable_winapi" = xno; then : 19965 for ac_header in libintl.h 19966do : 19967 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default" 19968if test "x$ac_cv_header_libintl_h" = xyes; then : 19969 cat >>confdefs.h <<_ACEOF 19970#define HAVE_LIBINTL_H 1 19971_ACEOF 19972 19973fi 19974 19975done 19976 19977 19978fi 19979 19980 for ac_header in limits.h 19981do : 19982 ac_fn_c_check_header_mongrel "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default" 19983if test "x$ac_cv_header_limits_h" = xyes; then : 19984 cat >>confdefs.h <<_ACEOF 19985#define HAVE_LIMITS_H 1 19986_ACEOF 19987 19988fi 19989 19990done 19991 19992 19993 for ac_header in stdlib.h string.h 19994do : 19995 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 19996ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 19997if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 19998 cat >>confdefs.h <<_ACEOF 19999#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 20000_ACEOF 20001 20002fi 20003 20004done 20005 20006 20007 for ac_header in wchar.h wctype.h 20008do : 20009 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 20010ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 20011if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 20012 cat >>confdefs.h <<_ACEOF 20013#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 20014_ACEOF 20015 20016fi 20017 20018done 20019 20020 20021 for ac_func in fclose feof fgets fopen fread fseeko fseeko64 fwrite vfprintf 20022do : 20023 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 20024ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 20025if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 20026 cat >>confdefs.h <<_ACEOF 20027#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 20028_ACEOF 20029 20030fi 20031done 20032 20033 20034 if test "x$ac_cv_func_fclose" != xyes; then : 20035 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20036$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20037as_fn_error 1 "Missing function: fclose 20038See \`config.log' for more details" "$LINENO" 5; } 20039 20040fi 20041 20042 if test "x$ac_cv_func_feof" != xyes; then : 20043 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20044$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20045as_fn_error 1 "Missing function: feof 20046See \`config.log' for more details" "$LINENO" 5; } 20047 20048fi 20049 20050 if test "x$ac_cv_func_fgets" != xyes; then : 20051 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20052$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20053as_fn_error 1 "Missing function: fgets 20054See \`config.log' for more details" "$LINENO" 5; } 20055 20056fi 20057 20058 if test "x$ac_cv_func_fopen" != xyes; then : 20059 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20060$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20061as_fn_error 1 "Missing function: fopen 20062See \`config.log' for more details" "$LINENO" 5; } 20063 20064fi 20065 20066 if test "x$ac_cv_func_fread" != xyes; then : 20067 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20068$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20069as_fn_error 1 "Missing function: fread 20070See \`config.log' for more details" "$LINENO" 5; } 20071 20072fi 20073 20074 if test "x$ac_cv_func_fseeko" != xyes && test "x$ac_cv_func_fseeko64" != xyes; then : 20075 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20076$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20077as_fn_error 1 "Missing function: fseeko and fseeko64 20078See \`config.log' for more details" "$LINENO" 5; } 20079 20080fi 20081 20082 if test "x$ac_cv_func_fwrite" != xyes; then : 20083 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20084$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20085as_fn_error 1 "Missing function: fwrite 20086See \`config.log' for more details" "$LINENO" 5; } 20087 20088fi 20089 20090 if test "x$ac_cv_func_vfprintf" != 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: vfprintf 20094See \`config.log' for more details" "$LINENO" 5; } 20095 20096fi 20097 20098 if test "x$ac_cv_enable_wide_character_type" != xno; then : 20099 for ac_func in fgetws 20100do : 20101 ac_fn_c_check_func "$LINENO" "fgetws" "ac_cv_func_fgetws" 20102if test "x$ac_cv_func_fgetws" = xyes; then : 20103 cat >>confdefs.h <<_ACEOF 20104#define HAVE_FGETWS 1 20105_ACEOF 20106 20107fi 20108done 20109 20110 20111 if test "x$ac_cv_func_fgetws" != xyes; then : 20112 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20113$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20114as_fn_error 1 "Missing function: fgetws 20115See \`config.log' for more details" "$LINENO" 5; } 20116 20117fi 20118 20119fi 20120 20121 for ac_func in free malloc memcmp memcpy memset realloc 20122do : 20123 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 20124ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 20125if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 20126 cat >>confdefs.h <<_ACEOF 20127#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 20128_ACEOF 20129 20130fi 20131done 20132 20133 20134 if test "x$ac_cv_func_free" != xyes; then : 20135 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20136$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20137as_fn_error 1 "Missing function: free 20138See \`config.log' for more details" "$LINENO" 5; } 20139 20140fi 20141 20142 if test "x$ac_cv_func_malloc" != xyes; then : 20143 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20144$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20145as_fn_error 1 "Missing function: malloc 20146See \`config.log' for more details" "$LINENO" 5; } 20147 20148fi 20149 20150 if test "x$ac_cv_func_memcmp" != xyes; then : 20151 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20152$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20153as_fn_error 1 "Missing function: memcmp 20154See \`config.log' for more details" "$LINENO" 5; } 20155 20156fi 20157 20158 if test "x$ac_cv_func_memcpy" != xyes; then : 20159 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20160$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20161as_fn_error 1 "Missing function: memcpy 20162See \`config.log' for more details" "$LINENO" 5; } 20163 20164fi 20165 20166 if test "x$ac_cv_func_memset" != xyes; then : 20167 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20168$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20169as_fn_error 1 "Missing function: memset 20170See \`config.log' for more details" "$LINENO" 5; } 20171 20172fi 20173 20174 if test "x$ac_cv_func_realloc" != 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 function: realloc 20178See \`config.log' for more details" "$LINENO" 5; } 20179 20180fi 20181 20182 for ac_func in memchr memrchr snprintf sscanf strcasecmp strchr strlen strncasecmp strncmp strncpy strnicmp strrchr strstr vsnprintf 20183do : 20184 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 20185ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 20186if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 20187 cat >>confdefs.h <<_ACEOF 20188#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 20189_ACEOF 20190 20191fi 20192done 20193 20194 20195 if test "x$ac_cv_func_memchr" != xyes && test "x$ac_cv_func_strchr" != xyes; then : 20196 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20197$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20198as_fn_error 1 "Missing functions: memchr and strchr 20199See \`config.log' for more details" "$LINENO" 5; } 20200 20201fi 20202 20203 if test "x$ac_cv_func_memcmp" != xyes && test "x$ac_cv_func_strncmp" != xyes; then : 20204 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20205$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20206as_fn_error 1 "Missing functions: memcmp and strncmp 20207See \`config.log' for more details" "$LINENO" 5; } 20208 20209fi 20210 20211 if test "x$ac_cv_func_memcpy" != xyes && test "x$ac_cv_func_strncpy" != xyes; then : 20212 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20213$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20214as_fn_error 1 "Missing functions: memcpy and strncpy 20215See \`config.log' for more details" "$LINENO" 5; } 20216 20217fi 20218 20219 if test "x$ac_cv_func_memrchr" = xyes; then : 20220 ac_fn_c_check_decl "$LINENO" "memrchr" "ac_cv_have_decl_memrchr" "$ac_includes_default" 20221if test "x$ac_cv_have_decl_memrchr" = xyes; then : 20222 ac_have_decl=1 20223else 20224 ac_have_decl=0 20225fi 20226 20227cat >>confdefs.h <<_ACEOF 20228#define HAVE_DECL_MEMRCHR $ac_have_decl 20229_ACEOF 20230 20231 20232 if test "x$ac_cv_decl_memrchr" != xyes; then : 20233 ac_cv_func_memrchr=no 20234fi 20235 20236fi 20237 20238 if test "x$ac_cv_func_memrchr" != xyes && test "x$ac_cv_func_strrchr" != xyes; then : 20239 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20240$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20241as_fn_error 1 "Missing functions: strrchr and memrchr 20242See \`config.log' for more details" "$LINENO" 5; } 20243 20244fi 20245 20246 if test "x$ac_cv_func_snprintf" != xyes; then : 20247 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20248$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20249as_fn_error 1 "Missing function: snprintf 20250See \`config.log' for more details" "$LINENO" 5; } 20251 20252fi 20253 20254 if test "x$ac_cv_func_sscanf" != xyes; then : 20255 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20256$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20257as_fn_error 1 "Missing function: sscanf 20258See \`config.log' for more details" "$LINENO" 5; } 20259 20260fi 20261 20262 if test "x$ac_cv_func_strlen" != xyes; then : 20263 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20264$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20265as_fn_error 1 "Missing function: strlen 20266See \`config.log' for more details" "$LINENO" 5; } 20267 20268fi 20269 20270 if test "x$ac_cv_func_strcasecmp" != xyes && test "x$ac_cv_func_strncasecmp" != xyes && test "x$ac_cv_func_strnicmp" != xyes; then : 20271 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20272$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20273as_fn_error 1 "Missing functions: strncasecmp, strcasecmp and strnicmp 20274See \`config.log' for more details" "$LINENO" 5; } 20275 20276fi 20277 20278 if test "x$ac_cv_func_strstr" != xyes; then : 20279 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20280$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20281as_fn_error 1 "Missing function: strstr 20282See \`config.log' for more details" "$LINENO" 5; } 20283 20284fi 20285 20286 if test "x$ac_cv_func_vsnprintf" != xyes; then : 20287 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20288$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20289as_fn_error 1 "Missing function: vsnprintf 20290See \`config.log' for more details" "$LINENO" 5; } 20291 20292fi 20293 20294 if test "x$ac_cv_enable_wide_character_type" != xno; then : 20295 for ac_func in swprintf towlower wcscasecmp wcschr wcslen wcsncasecmp wcsncmp wcsncpy wcsnicmp wcsrchr wcsstr wmemchr wmemcmp wmemcpy wmemrchr 20296do : 20297 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 20298ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 20299if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 20300 cat >>confdefs.h <<_ACEOF 20301#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 20302_ACEOF 20303 20304fi 20305done 20306 20307 20308 if test "x$ac_cv_func_swprintf" != xyes; then : 20309 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20310$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20311as_fn_error 1 "Missing function: swprintf 20312See \`config.log' for more details" "$LINENO" 5; } 20313 20314fi 20315 20316 if test "x$ac_cv_func_wmemchr" != xyes && test "x$ac_cv_func_wcschr" != xyes; then : 20317 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20318$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20319as_fn_error 1 "Missing functions: wmemchr and wcschr 20320See \`config.log' for more details" "$LINENO" 5; } 20321 20322fi 20323 20324 if test "x$ac_cv_func_wmemcmp" != xyes && test "x$ac_cv_func_wcsncmp" != xyes; then : 20325 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20326$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20327as_fn_error 1 "Missing functions: wmemcmp and wcsncmp 20328See \`config.log' for more details" "$LINENO" 5; } 20329 20330fi 20331 20332 if test "x$ac_cv_func_wmemcpy" != xyes && test "x$ac_cv_func_wcsncpy" != xyes; then : 20333 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20334$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20335as_fn_error 1 "Missing functions: wmemcpy and wcsncpy 20336See \`config.log' for more details" "$LINENO" 5; } 20337 20338fi 20339 20340 if test "x$ac_cv_func_wmemrchr" != xyes && test "x$ac_cv_func_wcsrchr" != xyes; then : 20341 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20342$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20343as_fn_error 1 "Missing functions: wmemrchr and wcsrchr 20344See \`config.log' for more details" "$LINENO" 5; } 20345 20346fi 20347 20348 if test "x$ac_cv_func_wcslen" != xyes; then : 20349 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20350$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20351as_fn_error 1 "Missing function: wcslen 20352See \`config.log' for more details" "$LINENO" 5; } 20353 20354fi 20355 20356 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 : 20357 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20358$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20359as_fn_error 1 "Missing functions: wcsncasecmp, wcscasecmp, wcsnicmp and towlower 20360See \`config.log' for more details" "$LINENO" 5; } 20361 20362fi 20363 20364 if test "x$ac_cv_func_wcsstr" != xyes; then : 20365 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20366$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20367as_fn_error 1 "Missing function: wcsstr 20368See \`config.log' for more details" "$LINENO" 5; } 20369 20370fi 20371 20372fi 20373 20374 20375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports the conversion specifier \"%jd\"" >&5 20376$as_echo_n "checking whether printf supports the conversion specifier \"%jd\"... " >&6; } 20377 20378 SAVE_CFLAGS="$CFLAGS" 20379 CFLAGS="$CFLAGS -Wall -Werror" 20380 ac_ext=c 20381ac_cpp='$CPP $CPPFLAGS' 20382ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 20383ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 20384ac_compiler_gnu=$ac_cv_c_compiler_gnu 20385 20386 20387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20388/* end confdefs.h. */ 20389#include <stdio.h> 20390int 20391main () 20392{ 20393printf( "%jd" ); 20394 ; 20395 return 0; 20396} 20397_ACEOF 20398if ac_fn_c_try_link "$LINENO"; then : 20399 ac_cv_cv_have_printf_jd=no 20400else 20401 ac_cv_cv_have_printf_jd=yes 20402fi 20403rm -f core conftest.err conftest.$ac_objext \ 20404 conftest$ac_exeext conftest.$ac_ext 20405 20406 if test "x$ac_cv_cv_have_printf_jd" = xyes; then : 20407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20408/* end confdefs.h. */ 20409#include <sys/types.h> 20410#include <stdio.h> 20411int 20412main () 20413{ 20414printf( "%jd", (off_t) 10 ); 20415 ; 20416 return 0; 20417} 20418_ACEOF 20419if ac_fn_c_try_link "$LINENO"; then : 20420 ac_cv_cv_have_printf_jd=yes 20421else 20422 ac_cv_cv_have_printf_jd=no 20423fi 20424rm -f core conftest.err conftest.$ac_objext \ 20425 conftest$ac_exeext conftest.$ac_ext 20426 20427fi 20428 20429 if test "x$ac_cv_cv_have_printf_jd" = xyes; then : 20430 if test "$cross_compiling" = yes; then : 20431 ac_cv_cv_have_printf_jd=undetermined 20432else 20433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20434/* end confdefs.h. */ 20435#include <sys/types.h> 20436#include <stdio.h> 20437int 20438main () 20439{ 20440char string[ 3 ]; 20441if( snprintf( string, 3, "%jd", (off_t) 10 ) < 0 ) return( 1 ); 20442if( ( string[ 0 ] != '1' ) || ( string[ 1 ] != '0' ) ) return( 1 ); 20443 ; 20444 return 0; 20445} 20446_ACEOF 20447if ac_fn_c_try_run "$LINENO"; then : 20448 ac_cv_cv_have_printf_jd=yes 20449else 20450 ac_cv_cv_have_printf_jd=no 20451fi 20452rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 20453 conftest.$ac_objext conftest.beam conftest.$ac_ext 20454fi 20455 20456 20457fi 20458 20459 ac_ext=c 20460ac_cpp='$CPP $CPPFLAGS' 20461ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 20462ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 20463ac_compiler_gnu=$ac_cv_c_compiler_gnu 20464 20465 CFLAGS="$SAVE_CFLAGS" 20466 20467 if test "x$ac_cv_cv_have_printf_jd" = xyes; then : 20468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 20469$as_echo "yes" >&6; } 20470 20471$as_echo "#define HAVE_PRINTF_JD 1" >>confdefs.h 20472 20473else 20474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cv_have_printf_jd" >&5 20475$as_echo "$ac_cv_cv_have_printf_jd" >&6; } 20476 20477fi 20478 20479 20480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports the conversion specifier \"%zd\"" >&5 20481$as_echo_n "checking whether printf supports the conversion specifier \"%zd\"... " >&6; } 20482 20483 SAVE_CFLAGS="$CFLAGS" 20484 CFLAGS="$CFLAGS -Wall -Werror" 20485 ac_ext=c 20486ac_cpp='$CPP $CPPFLAGS' 20487ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 20488ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 20489ac_compiler_gnu=$ac_cv_c_compiler_gnu 20490 20491 20492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20493/* end confdefs.h. */ 20494#include <stdio.h> 20495int 20496main () 20497{ 20498printf( "%zd" ); 20499 ; 20500 return 0; 20501} 20502_ACEOF 20503if ac_fn_c_try_link "$LINENO"; then : 20504 ac_cv_cv_have_printf_zd=no 20505else 20506 ac_cv_cv_have_printf_zd=yes 20507fi 20508rm -f core conftest.err conftest.$ac_objext \ 20509 conftest$ac_exeext conftest.$ac_ext 20510 20511 if test "x$ac_cv_cv_have_printf_zd" = xyes; then : 20512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20513/* end confdefs.h. */ 20514#include <sys/types.h> 20515#include <stdio.h> 20516int 20517main () 20518{ 20519printf( "%zd", (size_t) 10 ); 20520 ; 20521 return 0; 20522} 20523_ACEOF 20524if ac_fn_c_try_link "$LINENO"; then : 20525 ac_cv_cv_have_printf_zd=yes 20526else 20527 ac_cv_cv_have_printf_zd=no 20528fi 20529rm -f core conftest.err conftest.$ac_objext \ 20530 conftest$ac_exeext conftest.$ac_ext 20531 20532fi 20533 20534 if test "x$ac_cv_cv_have_printf_zd" = xyes; then : 20535 if test "$cross_compiling" = yes; then : 20536 ac_cv_cv_have_printf_zd=undetermined 20537else 20538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20539/* end confdefs.h. */ 20540#include <sys/types.h> 20541#include <stdio.h> 20542int 20543main () 20544{ 20545char string[ 3 ]; 20546if( snprintf( string, 3, "%zd", (size_t) 10 ) < 0 ) return( 1 ); 20547if( ( string[ 0 ] != '1' ) || ( string[ 1 ] != '0' ) ) return( 1 ); 20548 ; 20549 return 0; 20550} 20551_ACEOF 20552if ac_fn_c_try_run "$LINENO"; then : 20553 ac_cv_cv_have_printf_zd=yes 20554else 20555 ac_cv_cv_have_printf_zd=no 20556fi 20557rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 20558 conftest.$ac_objext conftest.beam conftest.$ac_ext 20559fi 20560 20561 20562fi 20563 20564 ac_ext=c 20565ac_cpp='$CPP $CPPFLAGS' 20566ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 20567ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 20568ac_compiler_gnu=$ac_cv_c_compiler_gnu 20569 20570 CFLAGS="$SAVE_CFLAGS" 20571 20572 if test "x$ac_cv_cv_have_printf_zd" = xyes; then : 20573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 20574$as_echo "yes" >&6; } 20575 20576$as_echo "#define HAVE_PRINTF_ZD 1" >>confdefs.h 20577 20578else 20579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cv_have_printf_zd" >&5 20580$as_echo "$ac_cv_cv_have_printf_zd" >&6; } 20581 20582fi 20583 20584 20585 20586 20587 20588 20589 20590 20591 20592 20593if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 20594 if test -n "$ac_tool_prefix"; then 20595 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 20596set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 20597{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 20598$as_echo_n "checking for $ac_word... " >&6; } 20599if ${ac_cv_path_PKG_CONFIG+:} false; then : 20600 $as_echo_n "(cached) " >&6 20601else 20602 case $PKG_CONFIG in 20603 [\\/]* | ?:[\\/]*) 20604 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 20605 ;; 20606 *) 20607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 20608for as_dir in $PATH 20609do 20610 IFS=$as_save_IFS 20611 test -z "$as_dir" && as_dir=. 20612 for ac_exec_ext in '' $ac_executable_extensions; do 20613 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 20614 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 20615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 20616 break 2 20617 fi 20618done 20619 done 20620IFS=$as_save_IFS 20621 20622 ;; 20623esac 20624fi 20625PKG_CONFIG=$ac_cv_path_PKG_CONFIG 20626if test -n "$PKG_CONFIG"; then 20627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 20628$as_echo "$PKG_CONFIG" >&6; } 20629else 20630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 20631$as_echo "no" >&6; } 20632fi 20633 20634 20635fi 20636if test -z "$ac_cv_path_PKG_CONFIG"; then 20637 ac_pt_PKG_CONFIG=$PKG_CONFIG 20638 # Extract the first word of "pkg-config", so it can be a program name with args. 20639set dummy pkg-config; ac_word=$2 20640{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 20641$as_echo_n "checking for $ac_word... " >&6; } 20642if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 20643 $as_echo_n "(cached) " >&6 20644else 20645 case $ac_pt_PKG_CONFIG in 20646 [\\/]* | ?:[\\/]*) 20647 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 20648 ;; 20649 *) 20650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 20651for as_dir in $PATH 20652do 20653 IFS=$as_save_IFS 20654 test -z "$as_dir" && as_dir=. 20655 for ac_exec_ext in '' $ac_executable_extensions; do 20656 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 20657 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 20658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 20659 break 2 20660 fi 20661done 20662 done 20663IFS=$as_save_IFS 20664 20665 ;; 20666esac 20667fi 20668ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 20669if test -n "$ac_pt_PKG_CONFIG"; then 20670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 20671$as_echo "$ac_pt_PKG_CONFIG" >&6; } 20672else 20673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 20674$as_echo "no" >&6; } 20675fi 20676 20677 if test "x$ac_pt_PKG_CONFIG" = x; then 20678 PKG_CONFIG="" 20679 else 20680 case $cross_compiling:$ac_tool_warned in 20681yes:) 20682{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 20683$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 20684ac_tool_warned=yes ;; 20685esac 20686 PKG_CONFIG=$ac_pt_PKG_CONFIG 20687 fi 20688else 20689 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 20690fi 20691 20692fi 20693if test -n "$PKG_CONFIG"; then 20694 _pkg_min_version=0.9.0 20695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 20696$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 20697 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 20698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 20699$as_echo "yes" >&6; } 20700 else 20701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 20702$as_echo "no" >&6; } 20703 PKG_CONFIG="" 20704 fi 20705fi 20706 20707 20708# Check whether --with-libcerror was given. 20709if test "${with_libcerror+set}" = set; then : 20710 withval=$with_libcerror; ac_cv_with_libcerror=$withval 20711else 20712 ac_cv_with_libcerror=auto-detect 20713fi 20714 20715 { $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 20716$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; } 20717if ${ac_cv_with_libcerror+:} false; then : 20718 $as_echo_n "(cached) " >&6 20719else 20720 ac_cv_with_libcerror=auto-detect 20721fi 20722{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libcerror" >&5 20723$as_echo "$ac_cv_with_libcerror" >&6; } 20724 20725 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libcerror" = xno; then : 20726 ac_cv_libcerror=no 20727else 20728 ac_cv_libcerror=check 20729 if test "x$ac_cv_with_libcerror" != x && test "x$ac_cv_with_libcerror" != xauto-detect; then : 20730 if test -d "$ac_cv_with_libcerror"; then : 20731 CFLAGS="$CFLAGS -I${ac_cv_with_libcerror}/include" 20732 LDFLAGS="$LDFLAGS -L${ac_cv_with_libcerror}/lib" 20733else 20734 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20735$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20736as_fn_error 1 "no such directory: $ac_cv_with_libcerror 20737See \`config.log' for more details" "$LINENO" 5; } 20738 20739fi 20740 20741else 20742 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 20743 20744pkg_failed=no 20745{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror" >&5 20746$as_echo_n "checking for libcerror... " >&6; } 20747 20748if test -n "$libcerror_CFLAGS"; then 20749 pkg_cv_libcerror_CFLAGS="$libcerror_CFLAGS" 20750 elif test -n "$PKG_CONFIG"; then 20751 if test -n "$PKG_CONFIG" && \ 20752 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcerror >= 20120425\""; } >&5 20753 ($PKG_CONFIG --exists --print-errors "libcerror >= 20120425") 2>&5 20754 ac_status=$? 20755 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 20756 test $ac_status = 0; }; then 20757 pkg_cv_libcerror_CFLAGS=`$PKG_CONFIG --cflags "libcerror >= 20120425" 2>/dev/null` 20758 test "x$?" != "x0" && pkg_failed=yes 20759else 20760 pkg_failed=yes 20761fi 20762 else 20763 pkg_failed=untried 20764fi 20765if test -n "$libcerror_LIBS"; then 20766 pkg_cv_libcerror_LIBS="$libcerror_LIBS" 20767 elif test -n "$PKG_CONFIG"; then 20768 if test -n "$PKG_CONFIG" && \ 20769 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcerror >= 20120425\""; } >&5 20770 ($PKG_CONFIG --exists --print-errors "libcerror >= 20120425") 2>&5 20771 ac_status=$? 20772 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 20773 test $ac_status = 0; }; then 20774 pkg_cv_libcerror_LIBS=`$PKG_CONFIG --libs "libcerror >= 20120425" 2>/dev/null` 20775 test "x$?" != "x0" && pkg_failed=yes 20776else 20777 pkg_failed=yes 20778fi 20779 else 20780 pkg_failed=untried 20781fi 20782 20783 20784 20785if test $pkg_failed = yes; then 20786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 20787$as_echo "no" >&6; } 20788 20789if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 20790 _pkg_short_errors_supported=yes 20791else 20792 _pkg_short_errors_supported=no 20793fi 20794 if test $_pkg_short_errors_supported = yes; then 20795 libcerror_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcerror >= 20120425" 2>&1` 20796 else 20797 libcerror_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcerror >= 20120425" 2>&1` 20798 fi 20799 # Put the nasty error message in config.log where it belongs 20800 echo "$libcerror_PKG_ERRORS" >&5 20801 20802 ac_cv_libcerror=check 20803elif test $pkg_failed = untried; then 20804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 20805$as_echo "no" >&6; } 20806 ac_cv_libcerror=check 20807else 20808 libcerror_CFLAGS=$pkg_cv_libcerror_CFLAGS 20809 libcerror_LIBS=$pkg_cv_libcerror_LIBS 20810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 20811$as_echo "yes" >&6; } 20812 ac_cv_libcerror=yes 20813fi 20814 20815fi 20816 if test "x$ac_cv_libcerror" = xyes; then : 20817 ac_cv_libcerror_CPPFLAGS="$pkg_cv_libcerror_CFLAGS" 20818 ac_cv_libcerror_LIBADD="$pkg_cv_libcerror_LIBS" 20819fi 20820 20821fi 20822 20823 if test "x$ac_cv_libcerror" = xcheck; then : 20824 for ac_header in libcerror.h 20825do : 20826 ac_fn_c_check_header_mongrel "$LINENO" "libcerror.h" "ac_cv_header_libcerror_h" "$ac_includes_default" 20827if test "x$ac_cv_header_libcerror_h" = xyes; then : 20828 cat >>confdefs.h <<_ACEOF 20829#define HAVE_LIBCERROR_H 1 20830_ACEOF 20831 20832fi 20833 20834done 20835 20836 20837 if test "x$ac_cv_header_libcerror_h" = xno; then : 20838 ac_cv_libcerror=no 20839else 20840 ac_cv_libcerror=yes 20841 20842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_get_version in -lcerror" >&5 20843$as_echo_n "checking for libcerror_get_version in -lcerror... " >&6; } 20844if ${ac_cv_lib_cerror_libcerror_get_version+:} false; then : 20845 $as_echo_n "(cached) " >&6 20846else 20847 ac_check_lib_save_LIBS=$LIBS 20848LIBS="-lcerror $LIBS" 20849cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20850/* end confdefs.h. */ 20851 20852/* Override any GCC internal prototype to avoid an error. 20853 Use char because int might match the return type of a GCC 20854 builtin and then its argument prototype would still apply. */ 20855#ifdef __cplusplus 20856extern "C" 20857#endif 20858char libcerror_get_version (); 20859int 20860main () 20861{ 20862return libcerror_get_version (); 20863 ; 20864 return 0; 20865} 20866_ACEOF 20867if ac_fn_c_try_link "$LINENO"; then : 20868 ac_cv_lib_cerror_libcerror_get_version=yes 20869else 20870 ac_cv_lib_cerror_libcerror_get_version=no 20871fi 20872rm -f core conftest.err conftest.$ac_objext \ 20873 conftest$ac_exeext conftest.$ac_ext 20874LIBS=$ac_check_lib_save_LIBS 20875fi 20876{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_get_version" >&5 20877$as_echo "$ac_cv_lib_cerror_libcerror_get_version" >&6; } 20878if test "x$ac_cv_lib_cerror_libcerror_get_version" = xyes; then : 20879 ac_cv_libcerror_dummy=yes 20880else 20881 ac_cv_libcerror=no 20882fi 20883 20884 20885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_error_free in -lcerror" >&5 20886$as_echo_n "checking for libcerror_error_free in -lcerror... " >&6; } 20887if ${ac_cv_lib_cerror_libcerror_error_free+:} false; then : 20888 $as_echo_n "(cached) " >&6 20889else 20890 ac_check_lib_save_LIBS=$LIBS 20891LIBS="-lcerror $LIBS" 20892cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20893/* end confdefs.h. */ 20894 20895/* Override any GCC internal prototype to avoid an error. 20896 Use char because int might match the return type of a GCC 20897 builtin and then its argument prototype would still apply. */ 20898#ifdef __cplusplus 20899extern "C" 20900#endif 20901char libcerror_error_free (); 20902int 20903main () 20904{ 20905return libcerror_error_free (); 20906 ; 20907 return 0; 20908} 20909_ACEOF 20910if ac_fn_c_try_link "$LINENO"; then : 20911 ac_cv_lib_cerror_libcerror_error_free=yes 20912else 20913 ac_cv_lib_cerror_libcerror_error_free=no 20914fi 20915rm -f core conftest.err conftest.$ac_objext \ 20916 conftest$ac_exeext conftest.$ac_ext 20917LIBS=$ac_check_lib_save_LIBS 20918fi 20919{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_error_free" >&5 20920$as_echo "$ac_cv_lib_cerror_libcerror_error_free" >&6; } 20921if test "x$ac_cv_lib_cerror_libcerror_error_free" = xyes; then : 20922 ac_cv_libcerror_dummy=yes 20923else 20924 ac_cv_libcerror=no 20925fi 20926 20927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_error_set in -lcerror" >&5 20928$as_echo_n "checking for libcerror_error_set in -lcerror... " >&6; } 20929if ${ac_cv_lib_cerror_libcerror_error_set+:} false; then : 20930 $as_echo_n "(cached) " >&6 20931else 20932 ac_check_lib_save_LIBS=$LIBS 20933LIBS="-lcerror $LIBS" 20934cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20935/* end confdefs.h. */ 20936 20937/* Override any GCC internal prototype to avoid an error. 20938 Use char because int might match the return type of a GCC 20939 builtin and then its argument prototype would still apply. */ 20940#ifdef __cplusplus 20941extern "C" 20942#endif 20943char libcerror_error_set (); 20944int 20945main () 20946{ 20947return libcerror_error_set (); 20948 ; 20949 return 0; 20950} 20951_ACEOF 20952if ac_fn_c_try_link "$LINENO"; then : 20953 ac_cv_lib_cerror_libcerror_error_set=yes 20954else 20955 ac_cv_lib_cerror_libcerror_error_set=no 20956fi 20957rm -f core conftest.err conftest.$ac_objext \ 20958 conftest$ac_exeext conftest.$ac_ext 20959LIBS=$ac_check_lib_save_LIBS 20960fi 20961{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_error_set" >&5 20962$as_echo "$ac_cv_lib_cerror_libcerror_error_set" >&6; } 20963if test "x$ac_cv_lib_cerror_libcerror_error_set" = xyes; then : 20964 ac_cv_libcerror_dummy=yes 20965else 20966 ac_cv_libcerror=no 20967fi 20968 20969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_error_matches in -lcerror" >&5 20970$as_echo_n "checking for libcerror_error_matches in -lcerror... " >&6; } 20971if ${ac_cv_lib_cerror_libcerror_error_matches+:} false; then : 20972 $as_echo_n "(cached) " >&6 20973else 20974 ac_check_lib_save_LIBS=$LIBS 20975LIBS="-lcerror $LIBS" 20976cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20977/* end confdefs.h. */ 20978 20979/* Override any GCC internal prototype to avoid an error. 20980 Use char because int might match the return type of a GCC 20981 builtin and then its argument prototype would still apply. */ 20982#ifdef __cplusplus 20983extern "C" 20984#endif 20985char libcerror_error_matches (); 20986int 20987main () 20988{ 20989return libcerror_error_matches (); 20990 ; 20991 return 0; 20992} 20993_ACEOF 20994if ac_fn_c_try_link "$LINENO"; then : 20995 ac_cv_lib_cerror_libcerror_error_matches=yes 20996else 20997 ac_cv_lib_cerror_libcerror_error_matches=no 20998fi 20999rm -f core conftest.err conftest.$ac_objext \ 21000 conftest$ac_exeext conftest.$ac_ext 21001LIBS=$ac_check_lib_save_LIBS 21002fi 21003{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_error_matches" >&5 21004$as_echo "$ac_cv_lib_cerror_libcerror_error_matches" >&6; } 21005if test "x$ac_cv_lib_cerror_libcerror_error_matches" = xyes; then : 21006 ac_cv_libcerror_dummy=yes 21007else 21008 ac_cv_libcerror=no 21009fi 21010 21011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_error_fprint in -lcerror" >&5 21012$as_echo_n "checking for libcerror_error_fprint in -lcerror... " >&6; } 21013if ${ac_cv_lib_cerror_libcerror_error_fprint+:} false; then : 21014 $as_echo_n "(cached) " >&6 21015else 21016 ac_check_lib_save_LIBS=$LIBS 21017LIBS="-lcerror $LIBS" 21018cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21019/* end confdefs.h. */ 21020 21021/* Override any GCC internal prototype to avoid an error. 21022 Use char because int might match the return type of a GCC 21023 builtin and then its argument prototype would still apply. */ 21024#ifdef __cplusplus 21025extern "C" 21026#endif 21027char libcerror_error_fprint (); 21028int 21029main () 21030{ 21031return libcerror_error_fprint (); 21032 ; 21033 return 0; 21034} 21035_ACEOF 21036if ac_fn_c_try_link "$LINENO"; then : 21037 ac_cv_lib_cerror_libcerror_error_fprint=yes 21038else 21039 ac_cv_lib_cerror_libcerror_error_fprint=no 21040fi 21041rm -f core conftest.err conftest.$ac_objext \ 21042 conftest$ac_exeext conftest.$ac_ext 21043LIBS=$ac_check_lib_save_LIBS 21044fi 21045{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_error_fprint" >&5 21046$as_echo "$ac_cv_lib_cerror_libcerror_error_fprint" >&6; } 21047if test "x$ac_cv_lib_cerror_libcerror_error_fprint" = xyes; then : 21048 ac_cv_libcerror_dummy=yes 21049else 21050 ac_cv_libcerror=no 21051fi 21052 21053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_error_sprint in -lcerror" >&5 21054$as_echo_n "checking for libcerror_error_sprint in -lcerror... " >&6; } 21055if ${ac_cv_lib_cerror_libcerror_error_sprint+:} false; then : 21056 $as_echo_n "(cached) " >&6 21057else 21058 ac_check_lib_save_LIBS=$LIBS 21059LIBS="-lcerror $LIBS" 21060cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21061/* end confdefs.h. */ 21062 21063/* Override any GCC internal prototype to avoid an error. 21064 Use char because int might match the return type of a GCC 21065 builtin and then its argument prototype would still apply. */ 21066#ifdef __cplusplus 21067extern "C" 21068#endif 21069char libcerror_error_sprint (); 21070int 21071main () 21072{ 21073return libcerror_error_sprint (); 21074 ; 21075 return 0; 21076} 21077_ACEOF 21078if ac_fn_c_try_link "$LINENO"; then : 21079 ac_cv_lib_cerror_libcerror_error_sprint=yes 21080else 21081 ac_cv_lib_cerror_libcerror_error_sprint=no 21082fi 21083rm -f core conftest.err conftest.$ac_objext \ 21084 conftest$ac_exeext conftest.$ac_ext 21085LIBS=$ac_check_lib_save_LIBS 21086fi 21087{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_error_sprint" >&5 21088$as_echo "$ac_cv_lib_cerror_libcerror_error_sprint" >&6; } 21089if test "x$ac_cv_lib_cerror_libcerror_error_sprint" = xyes; then : 21090 ac_cv_libcerror_dummy=yes 21091else 21092 ac_cv_libcerror=no 21093fi 21094 21095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_error_backtrace_fprint in -lcerror" >&5 21096$as_echo_n "checking for libcerror_error_backtrace_fprint in -lcerror... " >&6; } 21097if ${ac_cv_lib_cerror_libcerror_error_backtrace_fprint+:} false; then : 21098 $as_echo_n "(cached) " >&6 21099else 21100 ac_check_lib_save_LIBS=$LIBS 21101LIBS="-lcerror $LIBS" 21102cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21103/* end confdefs.h. */ 21104 21105/* Override any GCC internal prototype to avoid an error. 21106 Use char because int might match the return type of a GCC 21107 builtin and then its argument prototype would still apply. */ 21108#ifdef __cplusplus 21109extern "C" 21110#endif 21111char libcerror_error_backtrace_fprint (); 21112int 21113main () 21114{ 21115return libcerror_error_backtrace_fprint (); 21116 ; 21117 return 0; 21118} 21119_ACEOF 21120if ac_fn_c_try_link "$LINENO"; then : 21121 ac_cv_lib_cerror_libcerror_error_backtrace_fprint=yes 21122else 21123 ac_cv_lib_cerror_libcerror_error_backtrace_fprint=no 21124fi 21125rm -f core conftest.err conftest.$ac_objext \ 21126 conftest$ac_exeext conftest.$ac_ext 21127LIBS=$ac_check_lib_save_LIBS 21128fi 21129{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_error_backtrace_fprint" >&5 21130$as_echo "$ac_cv_lib_cerror_libcerror_error_backtrace_fprint" >&6; } 21131if test "x$ac_cv_lib_cerror_libcerror_error_backtrace_fprint" = xyes; then : 21132 ac_cv_libcerror_dummy=yes 21133else 21134 ac_cv_libcerror=no 21135fi 21136 21137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_error_backtrace_sprint in -lcerror" >&5 21138$as_echo_n "checking for libcerror_error_backtrace_sprint in -lcerror... " >&6; } 21139if ${ac_cv_lib_cerror_libcerror_error_backtrace_sprint+:} false; then : 21140 $as_echo_n "(cached) " >&6 21141else 21142 ac_check_lib_save_LIBS=$LIBS 21143LIBS="-lcerror $LIBS" 21144cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21145/* end confdefs.h. */ 21146 21147/* Override any GCC internal prototype to avoid an error. 21148 Use char because int might match the return type of a GCC 21149 builtin and then its argument prototype would still apply. */ 21150#ifdef __cplusplus 21151extern "C" 21152#endif 21153char libcerror_error_backtrace_sprint (); 21154int 21155main () 21156{ 21157return libcerror_error_backtrace_sprint (); 21158 ; 21159 return 0; 21160} 21161_ACEOF 21162if ac_fn_c_try_link "$LINENO"; then : 21163 ac_cv_lib_cerror_libcerror_error_backtrace_sprint=yes 21164else 21165 ac_cv_lib_cerror_libcerror_error_backtrace_sprint=no 21166fi 21167rm -f core conftest.err conftest.$ac_objext \ 21168 conftest$ac_exeext conftest.$ac_ext 21169LIBS=$ac_check_lib_save_LIBS 21170fi 21171{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_error_backtrace_sprint" >&5 21172$as_echo "$ac_cv_lib_cerror_libcerror_error_backtrace_sprint" >&6; } 21173if test "x$ac_cv_lib_cerror_libcerror_error_backtrace_sprint" = xyes; then : 21174 ac_cv_libcerror_dummy=yes 21175else 21176 ac_cv_libcerror=no 21177fi 21178 21179 21180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_system_set_error in -lcerror" >&5 21181$as_echo_n "checking for libcerror_system_set_error in -lcerror... " >&6; } 21182if ${ac_cv_lib_cerror_libcerror_system_set_error+:} false; then : 21183 $as_echo_n "(cached) " >&6 21184else 21185 ac_check_lib_save_LIBS=$LIBS 21186LIBS="-lcerror $LIBS" 21187cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21188/* end confdefs.h. */ 21189 21190/* Override any GCC internal prototype to avoid an error. 21191 Use char because int might match the return type of a GCC 21192 builtin and then its argument prototype would still apply. */ 21193#ifdef __cplusplus 21194extern "C" 21195#endif 21196char libcerror_system_set_error (); 21197int 21198main () 21199{ 21200return libcerror_system_set_error (); 21201 ; 21202 return 0; 21203} 21204_ACEOF 21205if ac_fn_c_try_link "$LINENO"; then : 21206 ac_cv_lib_cerror_libcerror_system_set_error=yes 21207else 21208 ac_cv_lib_cerror_libcerror_system_set_error=no 21209fi 21210rm -f core conftest.err conftest.$ac_objext \ 21211 conftest$ac_exeext conftest.$ac_ext 21212LIBS=$ac_check_lib_save_LIBS 21213fi 21214{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_system_set_error" >&5 21215$as_echo "$ac_cv_lib_cerror_libcerror_system_set_error" >&6; } 21216if test "x$ac_cv_lib_cerror_libcerror_system_set_error" = xyes; then : 21217 ac_cv_libcerror_dummy=yes 21218else 21219 ac_cv_libcerror=no 21220fi 21221 21222 21223 ac_cv_libcerror_LIBADD="-lcerror" 21224fi 21225 21226fi 21227 if test "x$ac_cv_with_libcerror" != x && test "x$ac_cv_with_libcerror" != xauto-detect && test "x$ac_cv_libcerror" != xyes; then : 21228 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 21229$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 21230as_fn_error 1 "unable to find supported libcerror in directory: $ac_cv_with_libcerror 21231See \`config.log' for more details" "$LINENO" 5; } 21232 21233fi 21234 21235fi 21236 21237 if test "x$ac_cv_libcerror" = xyes; then : 21238 21239$as_echo "#define HAVE_LIBCERROR 1" >>confdefs.h 21240 21241 21242fi 21243 21244 if test "x$ac_cv_libcerror" = xyes; then : 21245 HAVE_LIBCERROR=1 21246 21247else 21248 HAVE_LIBCERROR=0 21249 21250 21251fi 21252 21253 21254 if test "x$ac_cv_libcerror" != xyes; then : 21255 for ac_header in stdarg.h varargs.h 21256do : 21257 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 21258ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 21259if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 21260 cat >>confdefs.h <<_ACEOF 21261#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 21262_ACEOF 21263 21264fi 21265 21266done 21267 21268 21269 if test "x$ac_cv_header_stdarg_h" != xyes && test "x$ac_cv_header_varargs_h" != 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 headers: stdarg.h and varargs.h 21273See \`config.log' for more details" "$LINENO" 5; } 21274 21275fi 21276 21277 if test "x$ac_cv_enable_wide_character_type" != xno; then : 21278 for ac_func in wcstombs 21279do : 21280 ac_fn_c_check_func "$LINENO" "wcstombs" "ac_cv_func_wcstombs" 21281if test "x$ac_cv_func_wcstombs" = xyes; then : 21282 cat >>confdefs.h <<_ACEOF 21283#define HAVE_WCSTOMBS 1 21284_ACEOF 21285 21286fi 21287done 21288 21289 21290 if test "x$ac_cv_func_wcstombs" != xyes; then : 21291 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 21292$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 21293as_fn_error 1 "Missing function: wcstombs 21294See \`config.log' for more details" "$LINENO" 5; } 21295 21296fi 21297 21298fi 21299 21300 ac_fn_c_check_decl "$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac_includes_default" 21301if test "x$ac_cv_have_decl_strerror_r" = xyes; then : 21302 ac_have_decl=1 21303else 21304 ac_have_decl=0 21305fi 21306 21307cat >>confdefs.h <<_ACEOF 21308#define HAVE_DECL_STRERROR_R $ac_have_decl 21309_ACEOF 21310 21311for ac_func in strerror_r 21312do : 21313 ac_fn_c_check_func "$LINENO" "strerror_r" "ac_cv_func_strerror_r" 21314if test "x$ac_cv_func_strerror_r" = xyes; then : 21315 cat >>confdefs.h <<_ACEOF 21316#define HAVE_STRERROR_R 1 21317_ACEOF 21318 21319fi 21320done 21321 21322{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char *" >&5 21323$as_echo_n "checking whether strerror_r returns char *... " >&6; } 21324if ${ac_cv_func_strerror_r_char_p+:} false; then : 21325 $as_echo_n "(cached) " >&6 21326else 21327 21328 ac_cv_func_strerror_r_char_p=no 21329 if test $ac_cv_have_decl_strerror_r = yes; then 21330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21331/* end confdefs.h. */ 21332$ac_includes_default 21333int 21334main () 21335{ 21336 21337 char buf[100]; 21338 char x = *strerror_r (0, buf, sizeof buf); 21339 char *p = strerror_r (0, buf, sizeof buf); 21340 return !p || x; 21341 21342 ; 21343 return 0; 21344} 21345_ACEOF 21346if ac_fn_c_try_compile "$LINENO"; then : 21347 ac_cv_func_strerror_r_char_p=yes 21348fi 21349rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 21350 else 21351 # strerror_r is not declared. Choose between 21352 # systems that have relatively inaccessible declarations for the 21353 # function. BeOS and DEC UNIX 4.0 fall in this category, but the 21354 # former has a strerror_r that returns char*, while the latter 21355 # has a strerror_r that returns `int'. 21356 # This test should segfault on the DEC system. 21357 if test "$cross_compiling" = yes; then : 21358 : 21359else 21360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21361/* end confdefs.h. */ 21362$ac_includes_default 21363 extern char *strerror_r (); 21364int 21365main () 21366{ 21367char buf[100]; 21368 char x = *strerror_r (0, buf, sizeof buf); 21369 return ! isalpha (x); 21370 ; 21371 return 0; 21372} 21373_ACEOF 21374if ac_fn_c_try_run "$LINENO"; then : 21375 ac_cv_func_strerror_r_char_p=yes 21376fi 21377rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 21378 conftest.$ac_objext conftest.beam conftest.$ac_ext 21379fi 21380 21381 fi 21382 21383fi 21384{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strerror_r_char_p" >&5 21385$as_echo "$ac_cv_func_strerror_r_char_p" >&6; } 21386if test $ac_cv_func_strerror_r_char_p = yes; then 21387 21388$as_echo "#define STRERROR_R_CHAR_P 1" >>confdefs.h 21389 21390fi 21391 21392 21393 if test "x$ac_cv_have_decl_strerror_r" != xyes; then : 21394 for ac_func in strerror 21395do : 21396 ac_fn_c_check_func "$LINENO" "strerror" "ac_cv_func_strerror" 21397if test "x$ac_cv_func_strerror" = xyes; then : 21398 cat >>confdefs.h <<_ACEOF 21399#define HAVE_STRERROR 1 21400_ACEOF 21401 21402fi 21403done 21404 21405 21406 if test "x$ac_cv_func_strerror" != xyes; then : 21407 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 21408$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 21409as_fn_error 1 "Missing functions: strerror_r and strerror 21410See \`config.log' for more details" "$LINENO" 5; } 21411 21412fi 21413 21414fi 21415 21416 ac_cv_libcerror_CPPFLAGS="-I../libcerror"; 21417 ac_cv_libcerror_LIBADD="../libcerror/libcerror.la"; 21418 21419 ac_cv_libcerror=local 21420 21421 21422 21423$as_echo "#define HAVE_LOCAL_LIBCERROR 1" >>confdefs.h 21424 21425 HAVE_LOCAL_LIBCERROR=1 21426 21427 21428fi 21429 21430 if test "x$ac_cv_libcerror" = xlocal; then 21431 HAVE_LOCAL_LIBCERROR_TRUE= 21432 HAVE_LOCAL_LIBCERROR_FALSE='#' 21433else 21434 HAVE_LOCAL_LIBCERROR_TRUE='#' 21435 HAVE_LOCAL_LIBCERROR_FALSE= 21436fi 21437 21438 if test "x$ac_cv_libcerror_CPPFLAGS" != "x"; then : 21439 LIBCERROR_CPPFLAGS=$ac_cv_libcerror_CPPFLAGS 21440 21441 21442fi 21443 if test "x$ac_cv_libcerror_LIBADD" != "x"; then : 21444 LIBCERROR_LIBADD=$ac_cv_libcerror_LIBADD 21445 21446 21447fi 21448 21449 if test "x$ac_cv_libcerror" = xyes; then : 21450 ax_libcerror_pc_libs_private=-lcerror 21451 21452 21453fi 21454 21455 if test "x$ac_cv_libcerror" = xyes; then : 21456 ax_libcerror_spec_requires=libcerror 21457 21458 ax_libcerror_spec_build_requires=libcerror-devel 21459 21460 21461fi 21462 21463 21464 21465 # Check whether --enable-multi-threading-support was given. 21466if test "${enable_multi_threading_support+set}" = set; then : 21467 enableval=$enable_multi_threading_support; ac_cv_enable_multi_threading_support=$enableval 21468else 21469 ac_cv_enable_multi_threading_support=yes 21470fi 21471 21472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable enable multi-threading support" >&5 21473$as_echo_n "checking whether to enable enable multi-threading support... " >&6; } 21474if ${ac_cv_enable_multi_threading_support+:} false; then : 21475 $as_echo_n "(cached) " >&6 21476else 21477 ac_cv_enable_multi_threading_support=yes 21478fi 21479{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_multi_threading_support" >&5 21480$as_echo "$ac_cv_enable_multi_threading_support" >&6; } 21481 21482 21483# Check whether --with-libcthreads was given. 21484if test "${with_libcthreads+set}" = set; then : 21485 withval=$with_libcthreads; ac_cv_with_libcthreads=$withval 21486else 21487 ac_cv_with_libcthreads=auto-detect 21488fi 21489 21490 { $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 21491$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; } 21492if ${ac_cv_with_libcthreads+:} false; then : 21493 $as_echo_n "(cached) " >&6 21494else 21495 ac_cv_with_libcthreads=auto-detect 21496fi 21497{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libcthreads" >&5 21498$as_echo "$ac_cv_with_libcthreads" >&6; } 21499 21500 if test "x$ac_cv_enable_multi_threading_support" = xno; then : 21501 ac_cv_libcthreads="no" 21502 ac_cv_libcthreads_multi_threading="no" 21503else 21504 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libcthreads" = xno; then : 21505 ac_cv_libcthreads=no 21506else 21507 ac_cv_libcthreads=check 21508 if test "x$ac_cv_with_libcthreads" != x && test "x$ac_cv_with_libcthreads" != xauto-detect; then : 21509 if test -d "$ac_cv_with_libcthreads"; then : 21510 CFLAGS="$CFLAGS -I${ac_cv_with_libcthreads}/include" 21511 LDFLAGS="$LDFLAGS -L${ac_cv_with_libcthreads}/lib" 21512else 21513 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 21514$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 21515as_fn_error 1 "no such directory: $ac_cv_with_libcthreads 21516See \`config.log' for more details" "$LINENO" 5; } 21517 21518fi 21519 21520else 21521 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 21522 21523pkg_failed=no 21524{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads" >&5 21525$as_echo_n "checking for libcthreads... " >&6; } 21526 21527if test -n "$libcthreads_CFLAGS"; then 21528 pkg_cv_libcthreads_CFLAGS="$libcthreads_CFLAGS" 21529 elif test -n "$PKG_CONFIG"; then 21530 if test -n "$PKG_CONFIG" && \ 21531 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcthreads >= 20160404\""; } >&5 21532 ($PKG_CONFIG --exists --print-errors "libcthreads >= 20160404") 2>&5 21533 ac_status=$? 21534 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 21535 test $ac_status = 0; }; then 21536 pkg_cv_libcthreads_CFLAGS=`$PKG_CONFIG --cflags "libcthreads >= 20160404" 2>/dev/null` 21537 test "x$?" != "x0" && pkg_failed=yes 21538else 21539 pkg_failed=yes 21540fi 21541 else 21542 pkg_failed=untried 21543fi 21544if test -n "$libcthreads_LIBS"; then 21545 pkg_cv_libcthreads_LIBS="$libcthreads_LIBS" 21546 elif test -n "$PKG_CONFIG"; then 21547 if test -n "$PKG_CONFIG" && \ 21548 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcthreads >= 20160404\""; } >&5 21549 ($PKG_CONFIG --exists --print-errors "libcthreads >= 20160404") 2>&5 21550 ac_status=$? 21551 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 21552 test $ac_status = 0; }; then 21553 pkg_cv_libcthreads_LIBS=`$PKG_CONFIG --libs "libcthreads >= 20160404" 2>/dev/null` 21554 test "x$?" != "x0" && pkg_failed=yes 21555else 21556 pkg_failed=yes 21557fi 21558 else 21559 pkg_failed=untried 21560fi 21561 21562 21563 21564if test $pkg_failed = yes; then 21565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 21566$as_echo "no" >&6; } 21567 21568if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 21569 _pkg_short_errors_supported=yes 21570else 21571 _pkg_short_errors_supported=no 21572fi 21573 if test $_pkg_short_errors_supported = yes; then 21574 libcthreads_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcthreads >= 20160404" 2>&1` 21575 else 21576 libcthreads_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcthreads >= 20160404" 2>&1` 21577 fi 21578 # Put the nasty error message in config.log where it belongs 21579 echo "$libcthreads_PKG_ERRORS" >&5 21580 21581 ac_cv_libcthreads=check 21582elif test $pkg_failed = untried; then 21583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 21584$as_echo "no" >&6; } 21585 ac_cv_libcthreads=check 21586else 21587 libcthreads_CFLAGS=$pkg_cv_libcthreads_CFLAGS 21588 libcthreads_LIBS=$pkg_cv_libcthreads_LIBS 21589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 21590$as_echo "yes" >&6; } 21591 ac_cv_libcthreads=yes 21592fi 21593 21594fi 21595 if test "x$ac_cv_libcthreads" = xyes; then : 21596 ac_cv_libcthreads_CPPFLAGS="$pkg_cv_libcthreads_CFLAGS" 21597 ac_cv_libcthreads_LIBADD="$pkg_cv_libcthreads_LIBS" 21598fi 21599 21600fi 21601 21602 if test "x$ac_cv_libcthreads" = xcheck; then : 21603 for ac_header in libcthreads.h 21604do : 21605 ac_fn_c_check_header_mongrel "$LINENO" "libcthreads.h" "ac_cv_header_libcthreads_h" "$ac_includes_default" 21606if test "x$ac_cv_header_libcthreads_h" = xyes; then : 21607 cat >>confdefs.h <<_ACEOF 21608#define HAVE_LIBCTHREADS_H 1 21609_ACEOF 21610 21611fi 21612 21613done 21614 21615 21616 if test "x$ac_cv_header_libcthreads_h" = xno; then : 21617 ac_cv_libcthreads=no 21618else 21619 ac_cv_libcthreads=yes 21620 21621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_get_version in -lcthreads" >&5 21622$as_echo_n "checking for libcthreads_get_version in -lcthreads... " >&6; } 21623if ${ac_cv_lib_cthreads_libcthreads_get_version+:} false; then : 21624 $as_echo_n "(cached) " >&6 21625else 21626 ac_check_lib_save_LIBS=$LIBS 21627LIBS="-lcthreads $LIBS" 21628cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21629/* end confdefs.h. */ 21630 21631/* Override any GCC internal prototype to avoid an error. 21632 Use char because int might match the return type of a GCC 21633 builtin and then its argument prototype would still apply. */ 21634#ifdef __cplusplus 21635extern "C" 21636#endif 21637char libcthreads_get_version (); 21638int 21639main () 21640{ 21641return libcthreads_get_version (); 21642 ; 21643 return 0; 21644} 21645_ACEOF 21646if ac_fn_c_try_link "$LINENO"; then : 21647 ac_cv_lib_cthreads_libcthreads_get_version=yes 21648else 21649 ac_cv_lib_cthreads_libcthreads_get_version=no 21650fi 21651rm -f core conftest.err conftest.$ac_objext \ 21652 conftest$ac_exeext conftest.$ac_ext 21653LIBS=$ac_check_lib_save_LIBS 21654fi 21655{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_get_version" >&5 21656$as_echo "$ac_cv_lib_cthreads_libcthreads_get_version" >&6; } 21657if test "x$ac_cv_lib_cthreads_libcthreads_get_version" = xyes; then : 21658 ac_cv_libcthreads_dummy=yes 21659else 21660 ac_cv_libcthreads=no 21661fi 21662 21663 21664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_create in -lcthreads" >&5 21665$as_echo_n "checking for libcthreads_thread_create in -lcthreads... " >&6; } 21666if ${ac_cv_lib_cthreads_libcthreads_thread_create+:} false; then : 21667 $as_echo_n "(cached) " >&6 21668else 21669 ac_check_lib_save_LIBS=$LIBS 21670LIBS="-lcthreads $LIBS" 21671cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21672/* end confdefs.h. */ 21673 21674/* Override any GCC internal prototype to avoid an error. 21675 Use char because int might match the return type of a GCC 21676 builtin and then its argument prototype would still apply. */ 21677#ifdef __cplusplus 21678extern "C" 21679#endif 21680char libcthreads_thread_create (); 21681int 21682main () 21683{ 21684return libcthreads_thread_create (); 21685 ; 21686 return 0; 21687} 21688_ACEOF 21689if ac_fn_c_try_link "$LINENO"; then : 21690 ac_cv_lib_cthreads_libcthreads_thread_create=yes 21691else 21692 ac_cv_lib_cthreads_libcthreads_thread_create=no 21693fi 21694rm -f core conftest.err conftest.$ac_objext \ 21695 conftest$ac_exeext conftest.$ac_ext 21696LIBS=$ac_check_lib_save_LIBS 21697fi 21698{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_create" >&5 21699$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_create" >&6; } 21700if test "x$ac_cv_lib_cthreads_libcthreads_thread_create" = xyes; then : 21701 ac_cv_libcthreads_dummy=yes 21702else 21703 ac_cv_libcthreads=no 21704fi 21705 21706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_join in -lcthreads" >&5 21707$as_echo_n "checking for libcthreads_thread_join in -lcthreads... " >&6; } 21708if ${ac_cv_lib_cthreads_libcthreads_thread_join+:} false; then : 21709 $as_echo_n "(cached) " >&6 21710else 21711 ac_check_lib_save_LIBS=$LIBS 21712LIBS="-lcthreads $LIBS" 21713cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21714/* end confdefs.h. */ 21715 21716/* Override any GCC internal prototype to avoid an error. 21717 Use char because int might match the return type of a GCC 21718 builtin and then its argument prototype would still apply. */ 21719#ifdef __cplusplus 21720extern "C" 21721#endif 21722char libcthreads_thread_join (); 21723int 21724main () 21725{ 21726return libcthreads_thread_join (); 21727 ; 21728 return 0; 21729} 21730_ACEOF 21731if ac_fn_c_try_link "$LINENO"; then : 21732 ac_cv_lib_cthreads_libcthreads_thread_join=yes 21733else 21734 ac_cv_lib_cthreads_libcthreads_thread_join=no 21735fi 21736rm -f core conftest.err conftest.$ac_objext \ 21737 conftest$ac_exeext conftest.$ac_ext 21738LIBS=$ac_check_lib_save_LIBS 21739fi 21740{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_join" >&5 21741$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_join" >&6; } 21742if test "x$ac_cv_lib_cthreads_libcthreads_thread_join" = xyes; then : 21743 ac_cv_libcthreads_dummy=yes 21744else 21745 ac_cv_libcthreads=no 21746fi 21747 21748 21749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_attributes_initialize in -lcthreads" >&5 21750$as_echo_n "checking for libcthreads_thread_attributes_initialize in -lcthreads... " >&6; } 21751if ${ac_cv_lib_cthreads_libcthreads_thread_attributes_initialize+:} false; then : 21752 $as_echo_n "(cached) " >&6 21753else 21754 ac_check_lib_save_LIBS=$LIBS 21755LIBS="-lcthreads $LIBS" 21756cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21757/* end confdefs.h. */ 21758 21759/* Override any GCC internal prototype to avoid an error. 21760 Use char because int might match the return type of a GCC 21761 builtin and then its argument prototype would still apply. */ 21762#ifdef __cplusplus 21763extern "C" 21764#endif 21765char libcthreads_thread_attributes_initialize (); 21766int 21767main () 21768{ 21769return libcthreads_thread_attributes_initialize (); 21770 ; 21771 return 0; 21772} 21773_ACEOF 21774if ac_fn_c_try_link "$LINENO"; then : 21775 ac_cv_lib_cthreads_libcthreads_thread_attributes_initialize=yes 21776else 21777 ac_cv_lib_cthreads_libcthreads_thread_attributes_initialize=no 21778fi 21779rm -f core conftest.err conftest.$ac_objext \ 21780 conftest$ac_exeext conftest.$ac_ext 21781LIBS=$ac_check_lib_save_LIBS 21782fi 21783{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_attributes_initialize" >&5 21784$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_attributes_initialize" >&6; } 21785if test "x$ac_cv_lib_cthreads_libcthreads_thread_attributes_initialize" = xyes; then : 21786 ac_cv_libcthreads_dummy=yes 21787else 21788 ac_cv_libcthreads=no 21789fi 21790 21791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_attributes_free in -lcthreads" >&5 21792$as_echo_n "checking for libcthreads_thread_attributes_free in -lcthreads... " >&6; } 21793if ${ac_cv_lib_cthreads_libcthreads_thread_attributes_free+:} false; then : 21794 $as_echo_n "(cached) " >&6 21795else 21796 ac_check_lib_save_LIBS=$LIBS 21797LIBS="-lcthreads $LIBS" 21798cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21799/* end confdefs.h. */ 21800 21801/* Override any GCC internal prototype to avoid an error. 21802 Use char because int might match the return type of a GCC 21803 builtin and then its argument prototype would still apply. */ 21804#ifdef __cplusplus 21805extern "C" 21806#endif 21807char libcthreads_thread_attributes_free (); 21808int 21809main () 21810{ 21811return libcthreads_thread_attributes_free (); 21812 ; 21813 return 0; 21814} 21815_ACEOF 21816if ac_fn_c_try_link "$LINENO"; then : 21817 ac_cv_lib_cthreads_libcthreads_thread_attributes_free=yes 21818else 21819 ac_cv_lib_cthreads_libcthreads_thread_attributes_free=no 21820fi 21821rm -f core conftest.err conftest.$ac_objext \ 21822 conftest$ac_exeext conftest.$ac_ext 21823LIBS=$ac_check_lib_save_LIBS 21824fi 21825{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_attributes_free" >&5 21826$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_attributes_free" >&6; } 21827if test "x$ac_cv_lib_cthreads_libcthreads_thread_attributes_free" = xyes; then : 21828 ac_cv_libcthreads_dummy=yes 21829else 21830 ac_cv_libcthreads=no 21831fi 21832 21833 21834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_condition_initialize in -lcthreads" >&5 21835$as_echo_n "checking for libcthreads_condition_initialize in -lcthreads... " >&6; } 21836if ${ac_cv_lib_cthreads_libcthreads_condition_initialize+:} false; then : 21837 $as_echo_n "(cached) " >&6 21838else 21839 ac_check_lib_save_LIBS=$LIBS 21840LIBS="-lcthreads $LIBS" 21841cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21842/* end confdefs.h. */ 21843 21844/* Override any GCC internal prototype to avoid an error. 21845 Use char because int might match the return type of a GCC 21846 builtin and then its argument prototype would still apply. */ 21847#ifdef __cplusplus 21848extern "C" 21849#endif 21850char libcthreads_condition_initialize (); 21851int 21852main () 21853{ 21854return libcthreads_condition_initialize (); 21855 ; 21856 return 0; 21857} 21858_ACEOF 21859if ac_fn_c_try_link "$LINENO"; then : 21860 ac_cv_lib_cthreads_libcthreads_condition_initialize=yes 21861else 21862 ac_cv_lib_cthreads_libcthreads_condition_initialize=no 21863fi 21864rm -f core conftest.err conftest.$ac_objext \ 21865 conftest$ac_exeext conftest.$ac_ext 21866LIBS=$ac_check_lib_save_LIBS 21867fi 21868{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_condition_initialize" >&5 21869$as_echo "$ac_cv_lib_cthreads_libcthreads_condition_initialize" >&6; } 21870if test "x$ac_cv_lib_cthreads_libcthreads_condition_initialize" = xyes; then : 21871 ac_cv_libcthreads_dummy=yes 21872else 21873 ac_cv_libcthreads=no 21874fi 21875 21876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_condition_free in -lcthreads" >&5 21877$as_echo_n "checking for libcthreads_condition_free in -lcthreads... " >&6; } 21878if ${ac_cv_lib_cthreads_libcthreads_condition_free+:} false; then : 21879 $as_echo_n "(cached) " >&6 21880else 21881 ac_check_lib_save_LIBS=$LIBS 21882LIBS="-lcthreads $LIBS" 21883cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21884/* end confdefs.h. */ 21885 21886/* Override any GCC internal prototype to avoid an error. 21887 Use char because int might match the return type of a GCC 21888 builtin and then its argument prototype would still apply. */ 21889#ifdef __cplusplus 21890extern "C" 21891#endif 21892char libcthreads_condition_free (); 21893int 21894main () 21895{ 21896return libcthreads_condition_free (); 21897 ; 21898 return 0; 21899} 21900_ACEOF 21901if ac_fn_c_try_link "$LINENO"; then : 21902 ac_cv_lib_cthreads_libcthreads_condition_free=yes 21903else 21904 ac_cv_lib_cthreads_libcthreads_condition_free=no 21905fi 21906rm -f core conftest.err conftest.$ac_objext \ 21907 conftest$ac_exeext conftest.$ac_ext 21908LIBS=$ac_check_lib_save_LIBS 21909fi 21910{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_condition_free" >&5 21911$as_echo "$ac_cv_lib_cthreads_libcthreads_condition_free" >&6; } 21912if test "x$ac_cv_lib_cthreads_libcthreads_condition_free" = xyes; then : 21913 ac_cv_libcthreads_dummy=yes 21914else 21915 ac_cv_libcthreads=no 21916fi 21917 21918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_condition_broadcast in -lcthreads" >&5 21919$as_echo_n "checking for libcthreads_condition_broadcast in -lcthreads... " >&6; } 21920if ${ac_cv_lib_cthreads_libcthreads_condition_broadcast+:} false; then : 21921 $as_echo_n "(cached) " >&6 21922else 21923 ac_check_lib_save_LIBS=$LIBS 21924LIBS="-lcthreads $LIBS" 21925cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21926/* end confdefs.h. */ 21927 21928/* Override any GCC internal prototype to avoid an error. 21929 Use char because int might match the return type of a GCC 21930 builtin and then its argument prototype would still apply. */ 21931#ifdef __cplusplus 21932extern "C" 21933#endif 21934char libcthreads_condition_broadcast (); 21935int 21936main () 21937{ 21938return libcthreads_condition_broadcast (); 21939 ; 21940 return 0; 21941} 21942_ACEOF 21943if ac_fn_c_try_link "$LINENO"; then : 21944 ac_cv_lib_cthreads_libcthreads_condition_broadcast=yes 21945else 21946 ac_cv_lib_cthreads_libcthreads_condition_broadcast=no 21947fi 21948rm -f core conftest.err conftest.$ac_objext \ 21949 conftest$ac_exeext conftest.$ac_ext 21950LIBS=$ac_check_lib_save_LIBS 21951fi 21952{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_condition_broadcast" >&5 21953$as_echo "$ac_cv_lib_cthreads_libcthreads_condition_broadcast" >&6; } 21954if test "x$ac_cv_lib_cthreads_libcthreads_condition_broadcast" = xyes; then : 21955 ac_cv_libcthreads_dummy=yes 21956else 21957 ac_cv_libcthreads=no 21958fi 21959 21960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_condition_signal in -lcthreads" >&5 21961$as_echo_n "checking for libcthreads_condition_signal in -lcthreads... " >&6; } 21962if ${ac_cv_lib_cthreads_libcthreads_condition_signal+:} false; then : 21963 $as_echo_n "(cached) " >&6 21964else 21965 ac_check_lib_save_LIBS=$LIBS 21966LIBS="-lcthreads $LIBS" 21967cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21968/* end confdefs.h. */ 21969 21970/* Override any GCC internal prototype to avoid an error. 21971 Use char because int might match the return type of a GCC 21972 builtin and then its argument prototype would still apply. */ 21973#ifdef __cplusplus 21974extern "C" 21975#endif 21976char libcthreads_condition_signal (); 21977int 21978main () 21979{ 21980return libcthreads_condition_signal (); 21981 ; 21982 return 0; 21983} 21984_ACEOF 21985if ac_fn_c_try_link "$LINENO"; then : 21986 ac_cv_lib_cthreads_libcthreads_condition_signal=yes 21987else 21988 ac_cv_lib_cthreads_libcthreads_condition_signal=no 21989fi 21990rm -f core conftest.err conftest.$ac_objext \ 21991 conftest$ac_exeext conftest.$ac_ext 21992LIBS=$ac_check_lib_save_LIBS 21993fi 21994{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_condition_signal" >&5 21995$as_echo "$ac_cv_lib_cthreads_libcthreads_condition_signal" >&6; } 21996if test "x$ac_cv_lib_cthreads_libcthreads_condition_signal" = xyes; then : 21997 ac_cv_libcthreads_dummy=yes 21998else 21999 ac_cv_libcthreads=no 22000fi 22001 22002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_condition_wait in -lcthreads" >&5 22003$as_echo_n "checking for libcthreads_condition_wait in -lcthreads... " >&6; } 22004if ${ac_cv_lib_cthreads_libcthreads_condition_wait+:} false; then : 22005 $as_echo_n "(cached) " >&6 22006else 22007 ac_check_lib_save_LIBS=$LIBS 22008LIBS="-lcthreads $LIBS" 22009cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22010/* end confdefs.h. */ 22011 22012/* Override any GCC internal prototype to avoid an error. 22013 Use char because int might match the return type of a GCC 22014 builtin and then its argument prototype would still apply. */ 22015#ifdef __cplusplus 22016extern "C" 22017#endif 22018char libcthreads_condition_wait (); 22019int 22020main () 22021{ 22022return libcthreads_condition_wait (); 22023 ; 22024 return 0; 22025} 22026_ACEOF 22027if ac_fn_c_try_link "$LINENO"; then : 22028 ac_cv_lib_cthreads_libcthreads_condition_wait=yes 22029else 22030 ac_cv_lib_cthreads_libcthreads_condition_wait=no 22031fi 22032rm -f core conftest.err conftest.$ac_objext \ 22033 conftest$ac_exeext conftest.$ac_ext 22034LIBS=$ac_check_lib_save_LIBS 22035fi 22036{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_condition_wait" >&5 22037$as_echo "$ac_cv_lib_cthreads_libcthreads_condition_wait" >&6; } 22038if test "x$ac_cv_lib_cthreads_libcthreads_condition_wait" = xyes; then : 22039 ac_cv_libcthreads_dummy=yes 22040else 22041 ac_cv_libcthreads=no 22042fi 22043 22044 22045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_lock_initialize in -lcthreads" >&5 22046$as_echo_n "checking for libcthreads_lock_initialize in -lcthreads... " >&6; } 22047if ${ac_cv_lib_cthreads_libcthreads_lock_initialize+:} false; then : 22048 $as_echo_n "(cached) " >&6 22049else 22050 ac_check_lib_save_LIBS=$LIBS 22051LIBS="-lcthreads $LIBS" 22052cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22053/* end confdefs.h. */ 22054 22055/* Override any GCC internal prototype to avoid an error. 22056 Use char because int might match the return type of a GCC 22057 builtin and then its argument prototype would still apply. */ 22058#ifdef __cplusplus 22059extern "C" 22060#endif 22061char libcthreads_lock_initialize (); 22062int 22063main () 22064{ 22065return libcthreads_lock_initialize (); 22066 ; 22067 return 0; 22068} 22069_ACEOF 22070if ac_fn_c_try_link "$LINENO"; then : 22071 ac_cv_lib_cthreads_libcthreads_lock_initialize=yes 22072else 22073 ac_cv_lib_cthreads_libcthreads_lock_initialize=no 22074fi 22075rm -f core conftest.err conftest.$ac_objext \ 22076 conftest$ac_exeext conftest.$ac_ext 22077LIBS=$ac_check_lib_save_LIBS 22078fi 22079{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_lock_initialize" >&5 22080$as_echo "$ac_cv_lib_cthreads_libcthreads_lock_initialize" >&6; } 22081if test "x$ac_cv_lib_cthreads_libcthreads_lock_initialize" = xyes; then : 22082 ac_cv_libcthreads_dummy=yes 22083else 22084 ac_cv_libcthreads=no 22085fi 22086 22087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_lock_free in -lcthreads" >&5 22088$as_echo_n "checking for libcthreads_lock_free in -lcthreads... " >&6; } 22089if ${ac_cv_lib_cthreads_libcthreads_lock_free+:} false; then : 22090 $as_echo_n "(cached) " >&6 22091else 22092 ac_check_lib_save_LIBS=$LIBS 22093LIBS="-lcthreads $LIBS" 22094cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22095/* end confdefs.h. */ 22096 22097/* Override any GCC internal prototype to avoid an error. 22098 Use char because int might match the return type of a GCC 22099 builtin and then its argument prototype would still apply. */ 22100#ifdef __cplusplus 22101extern "C" 22102#endif 22103char libcthreads_lock_free (); 22104int 22105main () 22106{ 22107return libcthreads_lock_free (); 22108 ; 22109 return 0; 22110} 22111_ACEOF 22112if ac_fn_c_try_link "$LINENO"; then : 22113 ac_cv_lib_cthreads_libcthreads_lock_free=yes 22114else 22115 ac_cv_lib_cthreads_libcthreads_lock_free=no 22116fi 22117rm -f core conftest.err conftest.$ac_objext \ 22118 conftest$ac_exeext conftest.$ac_ext 22119LIBS=$ac_check_lib_save_LIBS 22120fi 22121{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_lock_free" >&5 22122$as_echo "$ac_cv_lib_cthreads_libcthreads_lock_free" >&6; } 22123if test "x$ac_cv_lib_cthreads_libcthreads_lock_free" = xyes; then : 22124 ac_cv_libcthreads_dummy=yes 22125else 22126 ac_cv_libcthreads=no 22127fi 22128 22129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_lock_grab in -lcthreads" >&5 22130$as_echo_n "checking for libcthreads_lock_grab in -lcthreads... " >&6; } 22131if ${ac_cv_lib_cthreads_libcthreads_lock_grab+:} false; then : 22132 $as_echo_n "(cached) " >&6 22133else 22134 ac_check_lib_save_LIBS=$LIBS 22135LIBS="-lcthreads $LIBS" 22136cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22137/* end confdefs.h. */ 22138 22139/* Override any GCC internal prototype to avoid an error. 22140 Use char because int might match the return type of a GCC 22141 builtin and then its argument prototype would still apply. */ 22142#ifdef __cplusplus 22143extern "C" 22144#endif 22145char libcthreads_lock_grab (); 22146int 22147main () 22148{ 22149return libcthreads_lock_grab (); 22150 ; 22151 return 0; 22152} 22153_ACEOF 22154if ac_fn_c_try_link "$LINENO"; then : 22155 ac_cv_lib_cthreads_libcthreads_lock_grab=yes 22156else 22157 ac_cv_lib_cthreads_libcthreads_lock_grab=no 22158fi 22159rm -f core conftest.err conftest.$ac_objext \ 22160 conftest$ac_exeext conftest.$ac_ext 22161LIBS=$ac_check_lib_save_LIBS 22162fi 22163{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_lock_grab" >&5 22164$as_echo "$ac_cv_lib_cthreads_libcthreads_lock_grab" >&6; } 22165if test "x$ac_cv_lib_cthreads_libcthreads_lock_grab" = xyes; then : 22166 ac_cv_libcthreads_dummy=yes 22167else 22168 ac_cv_libcthreads=no 22169fi 22170 22171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_lock_release in -lcthreads" >&5 22172$as_echo_n "checking for libcthreads_lock_release in -lcthreads... " >&6; } 22173if ${ac_cv_lib_cthreads_libcthreads_lock_release+:} false; then : 22174 $as_echo_n "(cached) " >&6 22175else 22176 ac_check_lib_save_LIBS=$LIBS 22177LIBS="-lcthreads $LIBS" 22178cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22179/* end confdefs.h. */ 22180 22181/* Override any GCC internal prototype to avoid an error. 22182 Use char because int might match the return type of a GCC 22183 builtin and then its argument prototype would still apply. */ 22184#ifdef __cplusplus 22185extern "C" 22186#endif 22187char libcthreads_lock_release (); 22188int 22189main () 22190{ 22191return libcthreads_lock_release (); 22192 ; 22193 return 0; 22194} 22195_ACEOF 22196if ac_fn_c_try_link "$LINENO"; then : 22197 ac_cv_lib_cthreads_libcthreads_lock_release=yes 22198else 22199 ac_cv_lib_cthreads_libcthreads_lock_release=no 22200fi 22201rm -f core conftest.err conftest.$ac_objext \ 22202 conftest$ac_exeext conftest.$ac_ext 22203LIBS=$ac_check_lib_save_LIBS 22204fi 22205{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_lock_release" >&5 22206$as_echo "$ac_cv_lib_cthreads_libcthreads_lock_release" >&6; } 22207if test "x$ac_cv_lib_cthreads_libcthreads_lock_release" = xyes; then : 22208 ac_cv_libcthreads_dummy=yes 22209else 22210 ac_cv_libcthreads=no 22211fi 22212 22213 22214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_mutex_initialize in -lcthreads" >&5 22215$as_echo_n "checking for libcthreads_mutex_initialize in -lcthreads... " >&6; } 22216if ${ac_cv_lib_cthreads_libcthreads_mutex_initialize+:} false; then : 22217 $as_echo_n "(cached) " >&6 22218else 22219 ac_check_lib_save_LIBS=$LIBS 22220LIBS="-lcthreads $LIBS" 22221cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22222/* end confdefs.h. */ 22223 22224/* Override any GCC internal prototype to avoid an error. 22225 Use char because int might match the return type of a GCC 22226 builtin and then its argument prototype would still apply. */ 22227#ifdef __cplusplus 22228extern "C" 22229#endif 22230char libcthreads_mutex_initialize (); 22231int 22232main () 22233{ 22234return libcthreads_mutex_initialize (); 22235 ; 22236 return 0; 22237} 22238_ACEOF 22239if ac_fn_c_try_link "$LINENO"; then : 22240 ac_cv_lib_cthreads_libcthreads_mutex_initialize=yes 22241else 22242 ac_cv_lib_cthreads_libcthreads_mutex_initialize=no 22243fi 22244rm -f core conftest.err conftest.$ac_objext \ 22245 conftest$ac_exeext conftest.$ac_ext 22246LIBS=$ac_check_lib_save_LIBS 22247fi 22248{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_mutex_initialize" >&5 22249$as_echo "$ac_cv_lib_cthreads_libcthreads_mutex_initialize" >&6; } 22250if test "x$ac_cv_lib_cthreads_libcthreads_mutex_initialize" = xyes; then : 22251 ac_cv_libcthreads_dummy=yes 22252else 22253 ac_cv_libcthreads=no 22254fi 22255 22256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_mutex_free in -lcthreads" >&5 22257$as_echo_n "checking for libcthreads_mutex_free in -lcthreads... " >&6; } 22258if ${ac_cv_lib_cthreads_libcthreads_mutex_free+:} false; then : 22259 $as_echo_n "(cached) " >&6 22260else 22261 ac_check_lib_save_LIBS=$LIBS 22262LIBS="-lcthreads $LIBS" 22263cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22264/* end confdefs.h. */ 22265 22266/* Override any GCC internal prototype to avoid an error. 22267 Use char because int might match the return type of a GCC 22268 builtin and then its argument prototype would still apply. */ 22269#ifdef __cplusplus 22270extern "C" 22271#endif 22272char libcthreads_mutex_free (); 22273int 22274main () 22275{ 22276return libcthreads_mutex_free (); 22277 ; 22278 return 0; 22279} 22280_ACEOF 22281if ac_fn_c_try_link "$LINENO"; then : 22282 ac_cv_lib_cthreads_libcthreads_mutex_free=yes 22283else 22284 ac_cv_lib_cthreads_libcthreads_mutex_free=no 22285fi 22286rm -f core conftest.err conftest.$ac_objext \ 22287 conftest$ac_exeext conftest.$ac_ext 22288LIBS=$ac_check_lib_save_LIBS 22289fi 22290{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_mutex_free" >&5 22291$as_echo "$ac_cv_lib_cthreads_libcthreads_mutex_free" >&6; } 22292if test "x$ac_cv_lib_cthreads_libcthreads_mutex_free" = xyes; then : 22293 ac_cv_libcthreads_dummy=yes 22294else 22295 ac_cv_libcthreads=no 22296fi 22297 22298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_mutex_grab in -lcthreads" >&5 22299$as_echo_n "checking for libcthreads_mutex_grab in -lcthreads... " >&6; } 22300if ${ac_cv_lib_cthreads_libcthreads_mutex_grab+:} false; then : 22301 $as_echo_n "(cached) " >&6 22302else 22303 ac_check_lib_save_LIBS=$LIBS 22304LIBS="-lcthreads $LIBS" 22305cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22306/* end confdefs.h. */ 22307 22308/* Override any GCC internal prototype to avoid an error. 22309 Use char because int might match the return type of a GCC 22310 builtin and then its argument prototype would still apply. */ 22311#ifdef __cplusplus 22312extern "C" 22313#endif 22314char libcthreads_mutex_grab (); 22315int 22316main () 22317{ 22318return libcthreads_mutex_grab (); 22319 ; 22320 return 0; 22321} 22322_ACEOF 22323if ac_fn_c_try_link "$LINENO"; then : 22324 ac_cv_lib_cthreads_libcthreads_mutex_grab=yes 22325else 22326 ac_cv_lib_cthreads_libcthreads_mutex_grab=no 22327fi 22328rm -f core conftest.err conftest.$ac_objext \ 22329 conftest$ac_exeext conftest.$ac_ext 22330LIBS=$ac_check_lib_save_LIBS 22331fi 22332{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_mutex_grab" >&5 22333$as_echo "$ac_cv_lib_cthreads_libcthreads_mutex_grab" >&6; } 22334if test "x$ac_cv_lib_cthreads_libcthreads_mutex_grab" = xyes; then : 22335 ac_cv_libcthreads_dummy=yes 22336else 22337 ac_cv_libcthreads=no 22338fi 22339 22340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_mutex_try_grab in -lcthreads" >&5 22341$as_echo_n "checking for libcthreads_mutex_try_grab in -lcthreads... " >&6; } 22342if ${ac_cv_lib_cthreads_libcthreads_mutex_try_grab+:} false; then : 22343 $as_echo_n "(cached) " >&6 22344else 22345 ac_check_lib_save_LIBS=$LIBS 22346LIBS="-lcthreads $LIBS" 22347cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22348/* end confdefs.h. */ 22349 22350/* Override any GCC internal prototype to avoid an error. 22351 Use char because int might match the return type of a GCC 22352 builtin and then its argument prototype would still apply. */ 22353#ifdef __cplusplus 22354extern "C" 22355#endif 22356char libcthreads_mutex_try_grab (); 22357int 22358main () 22359{ 22360return libcthreads_mutex_try_grab (); 22361 ; 22362 return 0; 22363} 22364_ACEOF 22365if ac_fn_c_try_link "$LINENO"; then : 22366 ac_cv_lib_cthreads_libcthreads_mutex_try_grab=yes 22367else 22368 ac_cv_lib_cthreads_libcthreads_mutex_try_grab=no 22369fi 22370rm -f core conftest.err conftest.$ac_objext \ 22371 conftest$ac_exeext conftest.$ac_ext 22372LIBS=$ac_check_lib_save_LIBS 22373fi 22374{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_mutex_try_grab" >&5 22375$as_echo "$ac_cv_lib_cthreads_libcthreads_mutex_try_grab" >&6; } 22376if test "x$ac_cv_lib_cthreads_libcthreads_mutex_try_grab" = xyes; then : 22377 ac_cv_libcthreads_dummy=yes 22378else 22379 ac_cv_libcthreads=no 22380fi 22381 22382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_mutex_release in -lcthreads" >&5 22383$as_echo_n "checking for libcthreads_mutex_release in -lcthreads... " >&6; } 22384if ${ac_cv_lib_cthreads_libcthreads_mutex_release+:} false; then : 22385 $as_echo_n "(cached) " >&6 22386else 22387 ac_check_lib_save_LIBS=$LIBS 22388LIBS="-lcthreads $LIBS" 22389cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22390/* end confdefs.h. */ 22391 22392/* Override any GCC internal prototype to avoid an error. 22393 Use char because int might match the return type of a GCC 22394 builtin and then its argument prototype would still apply. */ 22395#ifdef __cplusplus 22396extern "C" 22397#endif 22398char libcthreads_mutex_release (); 22399int 22400main () 22401{ 22402return libcthreads_mutex_release (); 22403 ; 22404 return 0; 22405} 22406_ACEOF 22407if ac_fn_c_try_link "$LINENO"; then : 22408 ac_cv_lib_cthreads_libcthreads_mutex_release=yes 22409else 22410 ac_cv_lib_cthreads_libcthreads_mutex_release=no 22411fi 22412rm -f core conftest.err conftest.$ac_objext \ 22413 conftest$ac_exeext conftest.$ac_ext 22414LIBS=$ac_check_lib_save_LIBS 22415fi 22416{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_mutex_release" >&5 22417$as_echo "$ac_cv_lib_cthreads_libcthreads_mutex_release" >&6; } 22418if test "x$ac_cv_lib_cthreads_libcthreads_mutex_release" = xyes; then : 22419 ac_cv_libcthreads_dummy=yes 22420else 22421 ac_cv_libcthreads=no 22422fi 22423 22424 22425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_read_write_lock_initialize in -lcthreads" >&5 22426$as_echo_n "checking for libcthreads_read_write_lock_initialize in -lcthreads... " >&6; } 22427if ${ac_cv_lib_cthreads_libcthreads_read_write_lock_initialize+:} false; then : 22428 $as_echo_n "(cached) " >&6 22429else 22430 ac_check_lib_save_LIBS=$LIBS 22431LIBS="-lcthreads $LIBS" 22432cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22433/* end confdefs.h. */ 22434 22435/* Override any GCC internal prototype to avoid an error. 22436 Use char because int might match the return type of a GCC 22437 builtin and then its argument prototype would still apply. */ 22438#ifdef __cplusplus 22439extern "C" 22440#endif 22441char libcthreads_read_write_lock_initialize (); 22442int 22443main () 22444{ 22445return libcthreads_read_write_lock_initialize (); 22446 ; 22447 return 0; 22448} 22449_ACEOF 22450if ac_fn_c_try_link "$LINENO"; then : 22451 ac_cv_lib_cthreads_libcthreads_read_write_lock_initialize=yes 22452else 22453 ac_cv_lib_cthreads_libcthreads_read_write_lock_initialize=no 22454fi 22455rm -f core conftest.err conftest.$ac_objext \ 22456 conftest$ac_exeext conftest.$ac_ext 22457LIBS=$ac_check_lib_save_LIBS 22458fi 22459{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_read_write_lock_initialize" >&5 22460$as_echo "$ac_cv_lib_cthreads_libcthreads_read_write_lock_initialize" >&6; } 22461if test "x$ac_cv_lib_cthreads_libcthreads_read_write_lock_initialize" = xyes; then : 22462 ac_cv_libcthreads_dummy=yes 22463else 22464 ac_cv_libcthreads=no 22465fi 22466 22467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_read_write_lock_free in -lcthreads" >&5 22468$as_echo_n "checking for libcthreads_read_write_lock_free in -lcthreads... " >&6; } 22469if ${ac_cv_lib_cthreads_libcthreads_read_write_lock_free+:} false; then : 22470 $as_echo_n "(cached) " >&6 22471else 22472 ac_check_lib_save_LIBS=$LIBS 22473LIBS="-lcthreads $LIBS" 22474cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22475/* end confdefs.h. */ 22476 22477/* Override any GCC internal prototype to avoid an error. 22478 Use char because int might match the return type of a GCC 22479 builtin and then its argument prototype would still apply. */ 22480#ifdef __cplusplus 22481extern "C" 22482#endif 22483char libcthreads_read_write_lock_free (); 22484int 22485main () 22486{ 22487return libcthreads_read_write_lock_free (); 22488 ; 22489 return 0; 22490} 22491_ACEOF 22492if ac_fn_c_try_link "$LINENO"; then : 22493 ac_cv_lib_cthreads_libcthreads_read_write_lock_free=yes 22494else 22495 ac_cv_lib_cthreads_libcthreads_read_write_lock_free=no 22496fi 22497rm -f core conftest.err conftest.$ac_objext \ 22498 conftest$ac_exeext conftest.$ac_ext 22499LIBS=$ac_check_lib_save_LIBS 22500fi 22501{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_read_write_lock_free" >&5 22502$as_echo "$ac_cv_lib_cthreads_libcthreads_read_write_lock_free" >&6; } 22503if test "x$ac_cv_lib_cthreads_libcthreads_read_write_lock_free" = xyes; then : 22504 ac_cv_libcthreads_dummy=yes 22505else 22506 ac_cv_libcthreads=no 22507fi 22508 22509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_read_write_lock_grab_for_read in -lcthreads" >&5 22510$as_echo_n "checking for libcthreads_read_write_lock_grab_for_read in -lcthreads... " >&6; } 22511if ${ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_read+:} false; then : 22512 $as_echo_n "(cached) " >&6 22513else 22514 ac_check_lib_save_LIBS=$LIBS 22515LIBS="-lcthreads $LIBS" 22516cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22517/* end confdefs.h. */ 22518 22519/* Override any GCC internal prototype to avoid an error. 22520 Use char because int might match the return type of a GCC 22521 builtin and then its argument prototype would still apply. */ 22522#ifdef __cplusplus 22523extern "C" 22524#endif 22525char libcthreads_read_write_lock_grab_for_read (); 22526int 22527main () 22528{ 22529return libcthreads_read_write_lock_grab_for_read (); 22530 ; 22531 return 0; 22532} 22533_ACEOF 22534if ac_fn_c_try_link "$LINENO"; then : 22535 ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_read=yes 22536else 22537 ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_read=no 22538fi 22539rm -f core conftest.err conftest.$ac_objext \ 22540 conftest$ac_exeext conftest.$ac_ext 22541LIBS=$ac_check_lib_save_LIBS 22542fi 22543{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_read" >&5 22544$as_echo "$ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_read" >&6; } 22545if test "x$ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_read" = xyes; then : 22546 ac_cv_libcthreads_dummy=yes 22547else 22548 ac_cv_libcthreads=no 22549fi 22550 22551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_read_write_lock_grab_for_write in -lcthreads" >&5 22552$as_echo_n "checking for libcthreads_read_write_lock_grab_for_write in -lcthreads... " >&6; } 22553if ${ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_write+:} false; then : 22554 $as_echo_n "(cached) " >&6 22555else 22556 ac_check_lib_save_LIBS=$LIBS 22557LIBS="-lcthreads $LIBS" 22558cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22559/* end confdefs.h. */ 22560 22561/* Override any GCC internal prototype to avoid an error. 22562 Use char because int might match the return type of a GCC 22563 builtin and then its argument prototype would still apply. */ 22564#ifdef __cplusplus 22565extern "C" 22566#endif 22567char libcthreads_read_write_lock_grab_for_write (); 22568int 22569main () 22570{ 22571return libcthreads_read_write_lock_grab_for_write (); 22572 ; 22573 return 0; 22574} 22575_ACEOF 22576if ac_fn_c_try_link "$LINENO"; then : 22577 ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_write=yes 22578else 22579 ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_write=no 22580fi 22581rm -f core conftest.err conftest.$ac_objext \ 22582 conftest$ac_exeext conftest.$ac_ext 22583LIBS=$ac_check_lib_save_LIBS 22584fi 22585{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_write" >&5 22586$as_echo "$ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_write" >&6; } 22587if test "x$ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_write" = xyes; then : 22588 ac_cv_libcthreads_dummy=yes 22589else 22590 ac_cv_libcthreads=no 22591fi 22592 22593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_read_write_lock_release_for_read in -lcthreads" >&5 22594$as_echo_n "checking for libcthreads_read_write_lock_release_for_read in -lcthreads... " >&6; } 22595if ${ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_read+:} false; then : 22596 $as_echo_n "(cached) " >&6 22597else 22598 ac_check_lib_save_LIBS=$LIBS 22599LIBS="-lcthreads $LIBS" 22600cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22601/* end confdefs.h. */ 22602 22603/* Override any GCC internal prototype to avoid an error. 22604 Use char because int might match the return type of a GCC 22605 builtin and then its argument prototype would still apply. */ 22606#ifdef __cplusplus 22607extern "C" 22608#endif 22609char libcthreads_read_write_lock_release_for_read (); 22610int 22611main () 22612{ 22613return libcthreads_read_write_lock_release_for_read (); 22614 ; 22615 return 0; 22616} 22617_ACEOF 22618if ac_fn_c_try_link "$LINENO"; then : 22619 ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_read=yes 22620else 22621 ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_read=no 22622fi 22623rm -f core conftest.err conftest.$ac_objext \ 22624 conftest$ac_exeext conftest.$ac_ext 22625LIBS=$ac_check_lib_save_LIBS 22626fi 22627{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_read" >&5 22628$as_echo "$ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_read" >&6; } 22629if test "x$ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_read" = xyes; then : 22630 ac_cv_libcthreads_dummy=yes 22631else 22632 ac_cv_libcthreads=no 22633fi 22634 22635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_read_write_lock_release_for_write in -lcthreads" >&5 22636$as_echo_n "checking for libcthreads_read_write_lock_release_for_write in -lcthreads... " >&6; } 22637if ${ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_write+:} false; then : 22638 $as_echo_n "(cached) " >&6 22639else 22640 ac_check_lib_save_LIBS=$LIBS 22641LIBS="-lcthreads $LIBS" 22642cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22643/* end confdefs.h. */ 22644 22645/* Override any GCC internal prototype to avoid an error. 22646 Use char because int might match the return type of a GCC 22647 builtin and then its argument prototype would still apply. */ 22648#ifdef __cplusplus 22649extern "C" 22650#endif 22651char libcthreads_read_write_lock_release_for_write (); 22652int 22653main () 22654{ 22655return libcthreads_read_write_lock_release_for_write (); 22656 ; 22657 return 0; 22658} 22659_ACEOF 22660if ac_fn_c_try_link "$LINENO"; then : 22661 ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_write=yes 22662else 22663 ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_write=no 22664fi 22665rm -f core conftest.err conftest.$ac_objext \ 22666 conftest$ac_exeext conftest.$ac_ext 22667LIBS=$ac_check_lib_save_LIBS 22668fi 22669{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_write" >&5 22670$as_echo "$ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_write" >&6; } 22671if test "x$ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_write" = xyes; then : 22672 ac_cv_libcthreads_dummy=yes 22673else 22674 ac_cv_libcthreads=no 22675fi 22676 22677 22678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_queue_initialize in -lcthreads" >&5 22679$as_echo_n "checking for libcthreads_queue_initialize in -lcthreads... " >&6; } 22680if ${ac_cv_lib_cthreads_libcthreads_queue_initialize+:} false; then : 22681 $as_echo_n "(cached) " >&6 22682else 22683 ac_check_lib_save_LIBS=$LIBS 22684LIBS="-lcthreads $LIBS" 22685cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22686/* end confdefs.h. */ 22687 22688/* Override any GCC internal prototype to avoid an error. 22689 Use char because int might match the return type of a GCC 22690 builtin and then its argument prototype would still apply. */ 22691#ifdef __cplusplus 22692extern "C" 22693#endif 22694char libcthreads_queue_initialize (); 22695int 22696main () 22697{ 22698return libcthreads_queue_initialize (); 22699 ; 22700 return 0; 22701} 22702_ACEOF 22703if ac_fn_c_try_link "$LINENO"; then : 22704 ac_cv_lib_cthreads_libcthreads_queue_initialize=yes 22705else 22706 ac_cv_lib_cthreads_libcthreads_queue_initialize=no 22707fi 22708rm -f core conftest.err conftest.$ac_objext \ 22709 conftest$ac_exeext conftest.$ac_ext 22710LIBS=$ac_check_lib_save_LIBS 22711fi 22712{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_queue_initialize" >&5 22713$as_echo "$ac_cv_lib_cthreads_libcthreads_queue_initialize" >&6; } 22714if test "x$ac_cv_lib_cthreads_libcthreads_queue_initialize" = xyes; then : 22715 ac_cv_libcthreads_dummy=yes 22716else 22717 ac_cv_libcthreads=no 22718fi 22719 22720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_queue_free in -lcthreads" >&5 22721$as_echo_n "checking for libcthreads_queue_free in -lcthreads... " >&6; } 22722if ${ac_cv_lib_cthreads_libcthreads_queue_free+:} false; then : 22723 $as_echo_n "(cached) " >&6 22724else 22725 ac_check_lib_save_LIBS=$LIBS 22726LIBS="-lcthreads $LIBS" 22727cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22728/* end confdefs.h. */ 22729 22730/* Override any GCC internal prototype to avoid an error. 22731 Use char because int might match the return type of a GCC 22732 builtin and then its argument prototype would still apply. */ 22733#ifdef __cplusplus 22734extern "C" 22735#endif 22736char libcthreads_queue_free (); 22737int 22738main () 22739{ 22740return libcthreads_queue_free (); 22741 ; 22742 return 0; 22743} 22744_ACEOF 22745if ac_fn_c_try_link "$LINENO"; then : 22746 ac_cv_lib_cthreads_libcthreads_queue_free=yes 22747else 22748 ac_cv_lib_cthreads_libcthreads_queue_free=no 22749fi 22750rm -f core conftest.err conftest.$ac_objext \ 22751 conftest$ac_exeext conftest.$ac_ext 22752LIBS=$ac_check_lib_save_LIBS 22753fi 22754{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_queue_free" >&5 22755$as_echo "$ac_cv_lib_cthreads_libcthreads_queue_free" >&6; } 22756if test "x$ac_cv_lib_cthreads_libcthreads_queue_free" = xyes; then : 22757 ac_cv_libcthreads_dummy=yes 22758else 22759 ac_cv_libcthreads=no 22760fi 22761 22762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_queue_type_pop in -lcthreads" >&5 22763$as_echo_n "checking for libcthreads_queue_type_pop in -lcthreads... " >&6; } 22764if ${ac_cv_lib_cthreads_libcthreads_queue_type_pop+:} false; then : 22765 $as_echo_n "(cached) " >&6 22766else 22767 ac_check_lib_save_LIBS=$LIBS 22768LIBS="-lcthreads $LIBS" 22769cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22770/* end confdefs.h. */ 22771 22772/* Override any GCC internal prototype to avoid an error. 22773 Use char because int might match the return type of a GCC 22774 builtin and then its argument prototype would still apply. */ 22775#ifdef __cplusplus 22776extern "C" 22777#endif 22778char libcthreads_queue_type_pop (); 22779int 22780main () 22781{ 22782return libcthreads_queue_type_pop (); 22783 ; 22784 return 0; 22785} 22786_ACEOF 22787if ac_fn_c_try_link "$LINENO"; then : 22788 ac_cv_lib_cthreads_libcthreads_queue_type_pop=yes 22789else 22790 ac_cv_lib_cthreads_libcthreads_queue_type_pop=no 22791fi 22792rm -f core conftest.err conftest.$ac_objext \ 22793 conftest$ac_exeext conftest.$ac_ext 22794LIBS=$ac_check_lib_save_LIBS 22795fi 22796{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_queue_type_pop" >&5 22797$as_echo "$ac_cv_lib_cthreads_libcthreads_queue_type_pop" >&6; } 22798if test "x$ac_cv_lib_cthreads_libcthreads_queue_type_pop" = xyes; then : 22799 ac_cv_libcthreads_dummy=yes 22800else 22801 ac_cv_libcthreads=no 22802fi 22803 22804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_queue_pop in -lcthreads" >&5 22805$as_echo_n "checking for libcthreads_queue_pop in -lcthreads... " >&6; } 22806if ${ac_cv_lib_cthreads_libcthreads_queue_pop+:} false; then : 22807 $as_echo_n "(cached) " >&6 22808else 22809 ac_check_lib_save_LIBS=$LIBS 22810LIBS="-lcthreads $LIBS" 22811cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22812/* end confdefs.h. */ 22813 22814/* Override any GCC internal prototype to avoid an error. 22815 Use char because int might match the return type of a GCC 22816 builtin and then its argument prototype would still apply. */ 22817#ifdef __cplusplus 22818extern "C" 22819#endif 22820char libcthreads_queue_pop (); 22821int 22822main () 22823{ 22824return libcthreads_queue_pop (); 22825 ; 22826 return 0; 22827} 22828_ACEOF 22829if ac_fn_c_try_link "$LINENO"; then : 22830 ac_cv_lib_cthreads_libcthreads_queue_pop=yes 22831else 22832 ac_cv_lib_cthreads_libcthreads_queue_pop=no 22833fi 22834rm -f core conftest.err conftest.$ac_objext \ 22835 conftest$ac_exeext conftest.$ac_ext 22836LIBS=$ac_check_lib_save_LIBS 22837fi 22838{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_queue_pop" >&5 22839$as_echo "$ac_cv_lib_cthreads_libcthreads_queue_pop" >&6; } 22840if test "x$ac_cv_lib_cthreads_libcthreads_queue_pop" = xyes; then : 22841 ac_cv_libcthreads_dummy=yes 22842else 22843 ac_cv_libcthreads=no 22844fi 22845 22846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_queue_try_push in -lcthreads" >&5 22847$as_echo_n "checking for libcthreads_queue_try_push in -lcthreads... " >&6; } 22848if ${ac_cv_lib_cthreads_libcthreads_queue_try_push+:} false; then : 22849 $as_echo_n "(cached) " >&6 22850else 22851 ac_check_lib_save_LIBS=$LIBS 22852LIBS="-lcthreads $LIBS" 22853cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22854/* end confdefs.h. */ 22855 22856/* Override any GCC internal prototype to avoid an error. 22857 Use char because int might match the return type of a GCC 22858 builtin and then its argument prototype would still apply. */ 22859#ifdef __cplusplus 22860extern "C" 22861#endif 22862char libcthreads_queue_try_push (); 22863int 22864main () 22865{ 22866return libcthreads_queue_try_push (); 22867 ; 22868 return 0; 22869} 22870_ACEOF 22871if ac_fn_c_try_link "$LINENO"; then : 22872 ac_cv_lib_cthreads_libcthreads_queue_try_push=yes 22873else 22874 ac_cv_lib_cthreads_libcthreads_queue_try_push=no 22875fi 22876rm -f core conftest.err conftest.$ac_objext \ 22877 conftest$ac_exeext conftest.$ac_ext 22878LIBS=$ac_check_lib_save_LIBS 22879fi 22880{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_queue_try_push" >&5 22881$as_echo "$ac_cv_lib_cthreads_libcthreads_queue_try_push" >&6; } 22882if test "x$ac_cv_lib_cthreads_libcthreads_queue_try_push" = xyes; then : 22883 ac_cv_libcthreads_dummy=yes 22884else 22885 ac_cv_libcthreads=no 22886fi 22887 22888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_queue_push in -lcthreads" >&5 22889$as_echo_n "checking for libcthreads_queue_push in -lcthreads... " >&6; } 22890if ${ac_cv_lib_cthreads_libcthreads_queue_push+:} false; then : 22891 $as_echo_n "(cached) " >&6 22892else 22893 ac_check_lib_save_LIBS=$LIBS 22894LIBS="-lcthreads $LIBS" 22895cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22896/* end confdefs.h. */ 22897 22898/* Override any GCC internal prototype to avoid an error. 22899 Use char because int might match the return type of a GCC 22900 builtin and then its argument prototype would still apply. */ 22901#ifdef __cplusplus 22902extern "C" 22903#endif 22904char libcthreads_queue_push (); 22905int 22906main () 22907{ 22908return libcthreads_queue_push (); 22909 ; 22910 return 0; 22911} 22912_ACEOF 22913if ac_fn_c_try_link "$LINENO"; then : 22914 ac_cv_lib_cthreads_libcthreads_queue_push=yes 22915else 22916 ac_cv_lib_cthreads_libcthreads_queue_push=no 22917fi 22918rm -f core conftest.err conftest.$ac_objext \ 22919 conftest$ac_exeext conftest.$ac_ext 22920LIBS=$ac_check_lib_save_LIBS 22921fi 22922{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_queue_push" >&5 22923$as_echo "$ac_cv_lib_cthreads_libcthreads_queue_push" >&6; } 22924if test "x$ac_cv_lib_cthreads_libcthreads_queue_push" = xyes; then : 22925 ac_cv_libcthreads_dummy=yes 22926else 22927 ac_cv_libcthreads=no 22928fi 22929 22930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_queue_push_sorted in -lcthreads" >&5 22931$as_echo_n "checking for libcthreads_queue_push_sorted in -lcthreads... " >&6; } 22932if ${ac_cv_lib_cthreads_libcthreads_queue_push_sorted+:} false; then : 22933 $as_echo_n "(cached) " >&6 22934else 22935 ac_check_lib_save_LIBS=$LIBS 22936LIBS="-lcthreads $LIBS" 22937cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22938/* end confdefs.h. */ 22939 22940/* Override any GCC internal prototype to avoid an error. 22941 Use char because int might match the return type of a GCC 22942 builtin and then its argument prototype would still apply. */ 22943#ifdef __cplusplus 22944extern "C" 22945#endif 22946char libcthreads_queue_push_sorted (); 22947int 22948main () 22949{ 22950return libcthreads_queue_push_sorted (); 22951 ; 22952 return 0; 22953} 22954_ACEOF 22955if ac_fn_c_try_link "$LINENO"; then : 22956 ac_cv_lib_cthreads_libcthreads_queue_push_sorted=yes 22957else 22958 ac_cv_lib_cthreads_libcthreads_queue_push_sorted=no 22959fi 22960rm -f core conftest.err conftest.$ac_objext \ 22961 conftest$ac_exeext conftest.$ac_ext 22962LIBS=$ac_check_lib_save_LIBS 22963fi 22964{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_queue_push_sorted" >&5 22965$as_echo "$ac_cv_lib_cthreads_libcthreads_queue_push_sorted" >&6; } 22966if test "x$ac_cv_lib_cthreads_libcthreads_queue_push_sorted" = xyes; then : 22967 ac_cv_libcthreads_dummy=yes 22968else 22969 ac_cv_libcthreads=no 22970fi 22971 22972 22973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_pool_create in -lcthreads" >&5 22974$as_echo_n "checking for libcthreads_thread_pool_create in -lcthreads... " >&6; } 22975if ${ac_cv_lib_cthreads_libcthreads_thread_pool_create+:} false; then : 22976 $as_echo_n "(cached) " >&6 22977else 22978 ac_check_lib_save_LIBS=$LIBS 22979LIBS="-lcthreads $LIBS" 22980cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22981/* end confdefs.h. */ 22982 22983/* Override any GCC internal prototype to avoid an error. 22984 Use char because int might match the return type of a GCC 22985 builtin and then its argument prototype would still apply. */ 22986#ifdef __cplusplus 22987extern "C" 22988#endif 22989char libcthreads_thread_pool_create (); 22990int 22991main () 22992{ 22993return libcthreads_thread_pool_create (); 22994 ; 22995 return 0; 22996} 22997_ACEOF 22998if ac_fn_c_try_link "$LINENO"; then : 22999 ac_cv_lib_cthreads_libcthreads_thread_pool_create=yes 23000else 23001 ac_cv_lib_cthreads_libcthreads_thread_pool_create=no 23002fi 23003rm -f core conftest.err conftest.$ac_objext \ 23004 conftest$ac_exeext conftest.$ac_ext 23005LIBS=$ac_check_lib_save_LIBS 23006fi 23007{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_pool_create" >&5 23008$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_pool_create" >&6; } 23009if test "x$ac_cv_lib_cthreads_libcthreads_thread_pool_create" = xyes; then : 23010 ac_cv_libcthreads_dummy=yes 23011else 23012 ac_cv_libcthreads=no 23013fi 23014 23015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_pool_push in -lcthreads" >&5 23016$as_echo_n "checking for libcthreads_thread_pool_push in -lcthreads... " >&6; } 23017if ${ac_cv_lib_cthreads_libcthreads_thread_pool_push+:} false; then : 23018 $as_echo_n "(cached) " >&6 23019else 23020 ac_check_lib_save_LIBS=$LIBS 23021LIBS="-lcthreads $LIBS" 23022cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23023/* end confdefs.h. */ 23024 23025/* Override any GCC internal prototype to avoid an error. 23026 Use char because int might match the return type of a GCC 23027 builtin and then its argument prototype would still apply. */ 23028#ifdef __cplusplus 23029extern "C" 23030#endif 23031char libcthreads_thread_pool_push (); 23032int 23033main () 23034{ 23035return libcthreads_thread_pool_push (); 23036 ; 23037 return 0; 23038} 23039_ACEOF 23040if ac_fn_c_try_link "$LINENO"; then : 23041 ac_cv_lib_cthreads_libcthreads_thread_pool_push=yes 23042else 23043 ac_cv_lib_cthreads_libcthreads_thread_pool_push=no 23044fi 23045rm -f core conftest.err conftest.$ac_objext \ 23046 conftest$ac_exeext conftest.$ac_ext 23047LIBS=$ac_check_lib_save_LIBS 23048fi 23049{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_pool_push" >&5 23050$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_pool_push" >&6; } 23051if test "x$ac_cv_lib_cthreads_libcthreads_thread_pool_push" = xyes; then : 23052 ac_cv_libcthreads_dummy=yes 23053else 23054 ac_cv_libcthreads=no 23055fi 23056 23057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_pool_push_sorted in -lcthreads" >&5 23058$as_echo_n "checking for libcthreads_thread_pool_push_sorted in -lcthreads... " >&6; } 23059if ${ac_cv_lib_cthreads_libcthreads_thread_pool_push_sorted+:} false; then : 23060 $as_echo_n "(cached) " >&6 23061else 23062 ac_check_lib_save_LIBS=$LIBS 23063LIBS="-lcthreads $LIBS" 23064cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23065/* end confdefs.h. */ 23066 23067/* Override any GCC internal prototype to avoid an error. 23068 Use char because int might match the return type of a GCC 23069 builtin and then its argument prototype would still apply. */ 23070#ifdef __cplusplus 23071extern "C" 23072#endif 23073char libcthreads_thread_pool_push_sorted (); 23074int 23075main () 23076{ 23077return libcthreads_thread_pool_push_sorted (); 23078 ; 23079 return 0; 23080} 23081_ACEOF 23082if ac_fn_c_try_link "$LINENO"; then : 23083 ac_cv_lib_cthreads_libcthreads_thread_pool_push_sorted=yes 23084else 23085 ac_cv_lib_cthreads_libcthreads_thread_pool_push_sorted=no 23086fi 23087rm -f core conftest.err conftest.$ac_objext \ 23088 conftest$ac_exeext conftest.$ac_ext 23089LIBS=$ac_check_lib_save_LIBS 23090fi 23091{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_pool_push_sorted" >&5 23092$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_pool_push_sorted" >&6; } 23093if test "x$ac_cv_lib_cthreads_libcthreads_thread_pool_push_sorted" = xyes; then : 23094 ac_cv_libcthreads_dummy=yes 23095else 23096 ac_cv_libcthreads=no 23097fi 23098 23099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_pool_join in -lcthreads" >&5 23100$as_echo_n "checking for libcthreads_thread_pool_join in -lcthreads... " >&6; } 23101if ${ac_cv_lib_cthreads_libcthreads_thread_pool_join+:} false; then : 23102 $as_echo_n "(cached) " >&6 23103else 23104 ac_check_lib_save_LIBS=$LIBS 23105LIBS="-lcthreads $LIBS" 23106cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23107/* end confdefs.h. */ 23108 23109/* Override any GCC internal prototype to avoid an error. 23110 Use char because int might match the return type of a GCC 23111 builtin and then its argument prototype would still apply. */ 23112#ifdef __cplusplus 23113extern "C" 23114#endif 23115char libcthreads_thread_pool_join (); 23116int 23117main () 23118{ 23119return libcthreads_thread_pool_join (); 23120 ; 23121 return 0; 23122} 23123_ACEOF 23124if ac_fn_c_try_link "$LINENO"; then : 23125 ac_cv_lib_cthreads_libcthreads_thread_pool_join=yes 23126else 23127 ac_cv_lib_cthreads_libcthreads_thread_pool_join=no 23128fi 23129rm -f core conftest.err conftest.$ac_objext \ 23130 conftest$ac_exeext conftest.$ac_ext 23131LIBS=$ac_check_lib_save_LIBS 23132fi 23133{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_pool_join" >&5 23134$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_pool_join" >&6; } 23135if test "x$ac_cv_lib_cthreads_libcthreads_thread_pool_join" = xyes; then : 23136 ac_cv_libcthreads_dummy=yes 23137else 23138 ac_cv_libcthreads=no 23139fi 23140 23141 23142 ac_cv_libcthreads_LIBADD="-lcthreads" 23143fi 23144 23145fi 23146 23147 if test "x$ac_cv_with_libcthreads" != x && test "x$ac_cv_with_libcthreads" != xauto-detect && test "x$ac_cv_libcthreads" != xyes; then : 23148 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 23149$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 23150as_fn_error 1 "unable to find supported libcthreads in directory: $ac_cv_with_libcthreads 23151See \`config.log' for more details" "$LINENO" 5; } 23152 23153fi 23154 23155fi 23156 23157 if test "x$ac_cv_libcthreads" = xyes; then : 23158 23159$as_echo "#define HAVE_LIBCTHREADS 1" >>confdefs.h 23160 23161 23162fi 23163 23164 if test "x$ac_cv_libcthreads" = xyes; then : 23165 ac_cv_libcthreads_multi_threading=libcthreads 23166else 23167 ac_cv_libcthreads_multi_threading=no 23168fi 23169 23170 if test "x$ac_cv_libcthreads" = xyes; then : 23171 HAVE_LIBCTHREADS=1 23172 23173else 23174 HAVE_LIBCTHREADS=0 23175 23176 23177fi 23178 23179 23180 if test "x$ac_cv_libcthreads" != xyes; then : 23181 if test "x$ac_cv_enable_winapi" = xno; then : 23182 23183 23184# Check whether --with-pthread was given. 23185if test "${with_pthread+set}" = set; then : 23186 withval=$with_pthread; ac_cv_with_pthread=$withval 23187else 23188 ac_cv_with_pthread=auto-detect 23189fi 23190 23191 { $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 23192$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; } 23193if ${ac_cv_with_pthread+:} false; then : 23194 $as_echo_n "(cached) " >&6 23195else 23196 ac_cv_with_pthread=auto-detect 23197fi 23198{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_pthread" >&5 23199$as_echo "$ac_cv_with_pthread" >&6; } 23200 23201 if test "x$ac_cv_with_pthread" != x && test "x$ac_cv_with_pthread" != xno && test "x$ac_cv_with_pthread" != xauto-detect; then : 23202 if test -d "$ac_cv_with_pthread"; then : 23203 CFLAGS="$CFLAGS -I${ac_cv_with_pthread}/include" 23204 LDFLAGS="$LDFLAGS -L${ac_cv_with_pthread}/lib" 23205else 23206 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no such directory: $ac_cv_with_pthread" >&5 23207$as_echo "$as_me: WARNING: no such directory: $ac_cv_with_pthread" >&2;} 23208 23209fi 23210 23211fi 23212 23213 if test "x$ac_cv_with_pthread" = xno; then : 23214 ac_cv_pthread=no 23215else 23216 for ac_header in pthread.h 23217do : 23218 ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" 23219if test "x$ac_cv_header_pthread_h" = xyes; then : 23220 cat >>confdefs.h <<_ACEOF 23221#define HAVE_PTHREAD_H 1 23222_ACEOF 23223 23224fi 23225 23226done 23227 23228 23229 if test "x$ac_cv_header_pthread_h" = xno; then : 23230 ac_cv_pthread=no 23231else 23232 ac_cv_pthread=pthread 23233 23234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5 23235$as_echo_n "checking for pthread_create in -lpthread... " >&6; } 23236if ${ac_cv_lib_pthread_pthread_create+:} false; then : 23237 $as_echo_n "(cached) " >&6 23238else 23239 ac_check_lib_save_LIBS=$LIBS 23240LIBS="-lpthread $LIBS" 23241cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23242/* end confdefs.h. */ 23243 23244/* Override any GCC internal prototype to avoid an error. 23245 Use char because int might match the return type of a GCC 23246 builtin and then its argument prototype would still apply. */ 23247#ifdef __cplusplus 23248extern "C" 23249#endif 23250char pthread_create (); 23251int 23252main () 23253{ 23254return pthread_create (); 23255 ; 23256 return 0; 23257} 23258_ACEOF 23259if ac_fn_c_try_link "$LINENO"; then : 23260 ac_cv_lib_pthread_pthread_create=yes 23261else 23262 ac_cv_lib_pthread_pthread_create=no 23263fi 23264rm -f core conftest.err conftest.$ac_objext \ 23265 conftest$ac_exeext conftest.$ac_ext 23266LIBS=$ac_check_lib_save_LIBS 23267fi 23268{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5 23269$as_echo "$ac_cv_lib_pthread_pthread_create" >&6; } 23270if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then : 23271 ac_pthread_dummy=yes 23272else 23273 ac_cv_pthread=no 23274fi 23275 23276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_exit in -lpthread" >&5 23277$as_echo_n "checking for pthread_exit in -lpthread... " >&6; } 23278if ${ac_cv_lib_pthread_pthread_exit+:} false; then : 23279 $as_echo_n "(cached) " >&6 23280else 23281 ac_check_lib_save_LIBS=$LIBS 23282LIBS="-lpthread $LIBS" 23283cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23284/* end confdefs.h. */ 23285 23286/* Override any GCC internal prototype to avoid an error. 23287 Use char because int might match the return type of a GCC 23288 builtin and then its argument prototype would still apply. */ 23289#ifdef __cplusplus 23290extern "C" 23291#endif 23292char pthread_exit (); 23293int 23294main () 23295{ 23296return pthread_exit (); 23297 ; 23298 return 0; 23299} 23300_ACEOF 23301if ac_fn_c_try_link "$LINENO"; then : 23302 ac_cv_lib_pthread_pthread_exit=yes 23303else 23304 ac_cv_lib_pthread_pthread_exit=no 23305fi 23306rm -f core conftest.err conftest.$ac_objext \ 23307 conftest$ac_exeext conftest.$ac_ext 23308LIBS=$ac_check_lib_save_LIBS 23309fi 23310{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_exit" >&5 23311$as_echo "$ac_cv_lib_pthread_pthread_exit" >&6; } 23312if test "x$ac_cv_lib_pthread_pthread_exit" = xyes; then : 23313 ac_pthread_dummy=yes 23314else 23315 ac_cv_pthread=no 23316fi 23317 23318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in -lpthread" >&5 23319$as_echo_n "checking for pthread_join in -lpthread... " >&6; } 23320if ${ac_cv_lib_pthread_pthread_join+:} false; then : 23321 $as_echo_n "(cached) " >&6 23322else 23323 ac_check_lib_save_LIBS=$LIBS 23324LIBS="-lpthread $LIBS" 23325cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23326/* end confdefs.h. */ 23327 23328/* Override any GCC internal prototype to avoid an error. 23329 Use char because int might match the return type of a GCC 23330 builtin and then its argument prototype would still apply. */ 23331#ifdef __cplusplus 23332extern "C" 23333#endif 23334char pthread_join (); 23335int 23336main () 23337{ 23338return pthread_join (); 23339 ; 23340 return 0; 23341} 23342_ACEOF 23343if ac_fn_c_try_link "$LINENO"; then : 23344 ac_cv_lib_pthread_pthread_join=yes 23345else 23346 ac_cv_lib_pthread_pthread_join=no 23347fi 23348rm -f core conftest.err conftest.$ac_objext \ 23349 conftest$ac_exeext conftest.$ac_ext 23350LIBS=$ac_check_lib_save_LIBS 23351fi 23352{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_join" >&5 23353$as_echo "$ac_cv_lib_pthread_pthread_join" >&6; } 23354if test "x$ac_cv_lib_pthread_pthread_join" = xyes; then : 23355 ac_pthread_dummy=yes 23356else 23357 ac_cv_pthread=no 23358fi 23359 23360 23361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_init in -lpthread" >&5 23362$as_echo_n "checking for pthread_cond_init in -lpthread... " >&6; } 23363if ${ac_cv_lib_pthread_pthread_cond_init+:} false; then : 23364 $as_echo_n "(cached) " >&6 23365else 23366 ac_check_lib_save_LIBS=$LIBS 23367LIBS="-lpthread $LIBS" 23368cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23369/* end confdefs.h. */ 23370 23371/* Override any GCC internal prototype to avoid an error. 23372 Use char because int might match the return type of a GCC 23373 builtin and then its argument prototype would still apply. */ 23374#ifdef __cplusplus 23375extern "C" 23376#endif 23377char pthread_cond_init (); 23378int 23379main () 23380{ 23381return pthread_cond_init (); 23382 ; 23383 return 0; 23384} 23385_ACEOF 23386if ac_fn_c_try_link "$LINENO"; then : 23387 ac_cv_lib_pthread_pthread_cond_init=yes 23388else 23389 ac_cv_lib_pthread_pthread_cond_init=no 23390fi 23391rm -f core conftest.err conftest.$ac_objext \ 23392 conftest$ac_exeext conftest.$ac_ext 23393LIBS=$ac_check_lib_save_LIBS 23394fi 23395{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_cond_init" >&5 23396$as_echo "$ac_cv_lib_pthread_pthread_cond_init" >&6; } 23397if test "x$ac_cv_lib_pthread_pthread_cond_init" = xyes; then : 23398 ac_pthread_dummy=yes 23399else 23400 ac_cv_pthread=no 23401fi 23402 23403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_destroy in -lpthread" >&5 23404$as_echo_n "checking for pthread_cond_destroy in -lpthread... " >&6; } 23405if ${ac_cv_lib_pthread_pthread_cond_destroy+:} false; then : 23406 $as_echo_n "(cached) " >&6 23407else 23408 ac_check_lib_save_LIBS=$LIBS 23409LIBS="-lpthread $LIBS" 23410cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23411/* end confdefs.h. */ 23412 23413/* Override any GCC internal prototype to avoid an error. 23414 Use char because int might match the return type of a GCC 23415 builtin and then its argument prototype would still apply. */ 23416#ifdef __cplusplus 23417extern "C" 23418#endif 23419char pthread_cond_destroy (); 23420int 23421main () 23422{ 23423return pthread_cond_destroy (); 23424 ; 23425 return 0; 23426} 23427_ACEOF 23428if ac_fn_c_try_link "$LINENO"; then : 23429 ac_cv_lib_pthread_pthread_cond_destroy=yes 23430else 23431 ac_cv_lib_pthread_pthread_cond_destroy=no 23432fi 23433rm -f core conftest.err conftest.$ac_objext \ 23434 conftest$ac_exeext conftest.$ac_ext 23435LIBS=$ac_check_lib_save_LIBS 23436fi 23437{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_cond_destroy" >&5 23438$as_echo "$ac_cv_lib_pthread_pthread_cond_destroy" >&6; } 23439if test "x$ac_cv_lib_pthread_pthread_cond_destroy" = xyes; then : 23440 ac_pthread_dummy=yes 23441else 23442 ac_cv_pthread=no 23443fi 23444 23445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_broadcast in -lpthread" >&5 23446$as_echo_n "checking for pthread_cond_broadcast in -lpthread... " >&6; } 23447if ${ac_cv_lib_pthread_pthread_cond_broadcast+:} false; then : 23448 $as_echo_n "(cached) " >&6 23449else 23450 ac_check_lib_save_LIBS=$LIBS 23451LIBS="-lpthread $LIBS" 23452cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23453/* end confdefs.h. */ 23454 23455/* Override any GCC internal prototype to avoid an error. 23456 Use char because int might match the return type of a GCC 23457 builtin and then its argument prototype would still apply. */ 23458#ifdef __cplusplus 23459extern "C" 23460#endif 23461char pthread_cond_broadcast (); 23462int 23463main () 23464{ 23465return pthread_cond_broadcast (); 23466 ; 23467 return 0; 23468} 23469_ACEOF 23470if ac_fn_c_try_link "$LINENO"; then : 23471 ac_cv_lib_pthread_pthread_cond_broadcast=yes 23472else 23473 ac_cv_lib_pthread_pthread_cond_broadcast=no 23474fi 23475rm -f core conftest.err conftest.$ac_objext \ 23476 conftest$ac_exeext conftest.$ac_ext 23477LIBS=$ac_check_lib_save_LIBS 23478fi 23479{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_cond_broadcast" >&5 23480$as_echo "$ac_cv_lib_pthread_pthread_cond_broadcast" >&6; } 23481if test "x$ac_cv_lib_pthread_pthread_cond_broadcast" = xyes; then : 23482 ac_pthread_dummy=yes 23483else 23484 ac_cv_pthread=no 23485fi 23486 23487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_signal in -lpthread" >&5 23488$as_echo_n "checking for pthread_cond_signal in -lpthread... " >&6; } 23489if ${ac_cv_lib_pthread_pthread_cond_signal+:} false; then : 23490 $as_echo_n "(cached) " >&6 23491else 23492 ac_check_lib_save_LIBS=$LIBS 23493LIBS="-lpthread $LIBS" 23494cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23495/* end confdefs.h. */ 23496 23497/* Override any GCC internal prototype to avoid an error. 23498 Use char because int might match the return type of a GCC 23499 builtin and then its argument prototype would still apply. */ 23500#ifdef __cplusplus 23501extern "C" 23502#endif 23503char pthread_cond_signal (); 23504int 23505main () 23506{ 23507return pthread_cond_signal (); 23508 ; 23509 return 0; 23510} 23511_ACEOF 23512if ac_fn_c_try_link "$LINENO"; then : 23513 ac_cv_lib_pthread_pthread_cond_signal=yes 23514else 23515 ac_cv_lib_pthread_pthread_cond_signal=no 23516fi 23517rm -f core conftest.err conftest.$ac_objext \ 23518 conftest$ac_exeext conftest.$ac_ext 23519LIBS=$ac_check_lib_save_LIBS 23520fi 23521{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_cond_signal" >&5 23522$as_echo "$ac_cv_lib_pthread_pthread_cond_signal" >&6; } 23523if test "x$ac_cv_lib_pthread_pthread_cond_signal" = xyes; then : 23524 ac_pthread_dummy=yes 23525else 23526 ac_cv_pthread=no 23527fi 23528 23529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_wait in -lpthread" >&5 23530$as_echo_n "checking for pthread_cond_wait in -lpthread... " >&6; } 23531if ${ac_cv_lib_pthread_pthread_cond_wait+:} false; then : 23532 $as_echo_n "(cached) " >&6 23533else 23534 ac_check_lib_save_LIBS=$LIBS 23535LIBS="-lpthread $LIBS" 23536cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23537/* end confdefs.h. */ 23538 23539/* Override any GCC internal prototype to avoid an error. 23540 Use char because int might match the return type of a GCC 23541 builtin and then its argument prototype would still apply. */ 23542#ifdef __cplusplus 23543extern "C" 23544#endif 23545char pthread_cond_wait (); 23546int 23547main () 23548{ 23549return pthread_cond_wait (); 23550 ; 23551 return 0; 23552} 23553_ACEOF 23554if ac_fn_c_try_link "$LINENO"; then : 23555 ac_cv_lib_pthread_pthread_cond_wait=yes 23556else 23557 ac_cv_lib_pthread_pthread_cond_wait=no 23558fi 23559rm -f core conftest.err conftest.$ac_objext \ 23560 conftest$ac_exeext conftest.$ac_ext 23561LIBS=$ac_check_lib_save_LIBS 23562fi 23563{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_cond_wait" >&5 23564$as_echo "$ac_cv_lib_pthread_pthread_cond_wait" >&6; } 23565if test "x$ac_cv_lib_pthread_pthread_cond_wait" = xyes; then : 23566 ac_pthread_dummy=yes 23567else 23568 ac_cv_pthread=no 23569fi 23570 23571 23572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_init in -lpthread" >&5 23573$as_echo_n "checking for pthread_mutex_init in -lpthread... " >&6; } 23574if ${ac_cv_lib_pthread_pthread_mutex_init+:} false; then : 23575 $as_echo_n "(cached) " >&6 23576else 23577 ac_check_lib_save_LIBS=$LIBS 23578LIBS="-lpthread $LIBS" 23579cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23580/* end confdefs.h. */ 23581 23582/* Override any GCC internal prototype to avoid an error. 23583 Use char because int might match the return type of a GCC 23584 builtin and then its argument prototype would still apply. */ 23585#ifdef __cplusplus 23586extern "C" 23587#endif 23588char pthread_mutex_init (); 23589int 23590main () 23591{ 23592return pthread_mutex_init (); 23593 ; 23594 return 0; 23595} 23596_ACEOF 23597if ac_fn_c_try_link "$LINENO"; then : 23598 ac_cv_lib_pthread_pthread_mutex_init=yes 23599else 23600 ac_cv_lib_pthread_pthread_mutex_init=no 23601fi 23602rm -f core conftest.err conftest.$ac_objext \ 23603 conftest$ac_exeext conftest.$ac_ext 23604LIBS=$ac_check_lib_save_LIBS 23605fi 23606{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_mutex_init" >&5 23607$as_echo "$ac_cv_lib_pthread_pthread_mutex_init" >&6; } 23608if test "x$ac_cv_lib_pthread_pthread_mutex_init" = xyes; then : 23609 ac_pthread_dummy=yes 23610else 23611 ac_cv_pthread=no 23612fi 23613 23614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_destroy in -lpthread" >&5 23615$as_echo_n "checking for pthread_mutex_destroy in -lpthread... " >&6; } 23616if ${ac_cv_lib_pthread_pthread_mutex_destroy+:} false; then : 23617 $as_echo_n "(cached) " >&6 23618else 23619 ac_check_lib_save_LIBS=$LIBS 23620LIBS="-lpthread $LIBS" 23621cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23622/* end confdefs.h. */ 23623 23624/* Override any GCC internal prototype to avoid an error. 23625 Use char because int might match the return type of a GCC 23626 builtin and then its argument prototype would still apply. */ 23627#ifdef __cplusplus 23628extern "C" 23629#endif 23630char pthread_mutex_destroy (); 23631int 23632main () 23633{ 23634return pthread_mutex_destroy (); 23635 ; 23636 return 0; 23637} 23638_ACEOF 23639if ac_fn_c_try_link "$LINENO"; then : 23640 ac_cv_lib_pthread_pthread_mutex_destroy=yes 23641else 23642 ac_cv_lib_pthread_pthread_mutex_destroy=no 23643fi 23644rm -f core conftest.err conftest.$ac_objext \ 23645 conftest$ac_exeext conftest.$ac_ext 23646LIBS=$ac_check_lib_save_LIBS 23647fi 23648{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_mutex_destroy" >&5 23649$as_echo "$ac_cv_lib_pthread_pthread_mutex_destroy" >&6; } 23650if test "x$ac_cv_lib_pthread_pthread_mutex_destroy" = xyes; then : 23651 ac_pthread_dummy=yes 23652else 23653 ac_cv_pthread=no 23654fi 23655 23656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_lock in -lpthread" >&5 23657$as_echo_n "checking for pthread_mutex_lock in -lpthread... " >&6; } 23658if ${ac_cv_lib_pthread_pthread_mutex_lock+:} false; then : 23659 $as_echo_n "(cached) " >&6 23660else 23661 ac_check_lib_save_LIBS=$LIBS 23662LIBS="-lpthread $LIBS" 23663cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23664/* end confdefs.h. */ 23665 23666/* Override any GCC internal prototype to avoid an error. 23667 Use char because int might match the return type of a GCC 23668 builtin and then its argument prototype would still apply. */ 23669#ifdef __cplusplus 23670extern "C" 23671#endif 23672char pthread_mutex_lock (); 23673int 23674main () 23675{ 23676return pthread_mutex_lock (); 23677 ; 23678 return 0; 23679} 23680_ACEOF 23681if ac_fn_c_try_link "$LINENO"; then : 23682 ac_cv_lib_pthread_pthread_mutex_lock=yes 23683else 23684 ac_cv_lib_pthread_pthread_mutex_lock=no 23685fi 23686rm -f core conftest.err conftest.$ac_objext \ 23687 conftest$ac_exeext conftest.$ac_ext 23688LIBS=$ac_check_lib_save_LIBS 23689fi 23690{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_mutex_lock" >&5 23691$as_echo "$ac_cv_lib_pthread_pthread_mutex_lock" >&6; } 23692if test "x$ac_cv_lib_pthread_pthread_mutex_lock" = xyes; then : 23693 ac_pthread_dummy=yes 23694else 23695 ac_cv_pthread=no 23696fi 23697 23698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_trylock in -lpthread" >&5 23699$as_echo_n "checking for pthread_mutex_trylock in -lpthread... " >&6; } 23700if ${ac_cv_lib_pthread_pthread_mutex_trylock+:} false; then : 23701 $as_echo_n "(cached) " >&6 23702else 23703 ac_check_lib_save_LIBS=$LIBS 23704LIBS="-lpthread $LIBS" 23705cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23706/* end confdefs.h. */ 23707 23708/* Override any GCC internal prototype to avoid an error. 23709 Use char because int might match the return type of a GCC 23710 builtin and then its argument prototype would still apply. */ 23711#ifdef __cplusplus 23712extern "C" 23713#endif 23714char pthread_mutex_trylock (); 23715int 23716main () 23717{ 23718return pthread_mutex_trylock (); 23719 ; 23720 return 0; 23721} 23722_ACEOF 23723if ac_fn_c_try_link "$LINENO"; then : 23724 ac_cv_lib_pthread_pthread_mutex_trylock=yes 23725else 23726 ac_cv_lib_pthread_pthread_mutex_trylock=no 23727fi 23728rm -f core conftest.err conftest.$ac_objext \ 23729 conftest$ac_exeext conftest.$ac_ext 23730LIBS=$ac_check_lib_save_LIBS 23731fi 23732{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_mutex_trylock" >&5 23733$as_echo "$ac_cv_lib_pthread_pthread_mutex_trylock" >&6; } 23734if test "x$ac_cv_lib_pthread_pthread_mutex_trylock" = xyes; then : 23735 ac_pthread_dummy=yes 23736else 23737 ac_cv_pthread=no 23738fi 23739 23740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_unlock in -lpthread" >&5 23741$as_echo_n "checking for pthread_mutex_unlock in -lpthread... " >&6; } 23742if ${ac_cv_lib_pthread_pthread_mutex_unlock+:} false; then : 23743 $as_echo_n "(cached) " >&6 23744else 23745 ac_check_lib_save_LIBS=$LIBS 23746LIBS="-lpthread $LIBS" 23747cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23748/* end confdefs.h. */ 23749 23750/* Override any GCC internal prototype to avoid an error. 23751 Use char because int might match the return type of a GCC 23752 builtin and then its argument prototype would still apply. */ 23753#ifdef __cplusplus 23754extern "C" 23755#endif 23756char pthread_mutex_unlock (); 23757int 23758main () 23759{ 23760return pthread_mutex_unlock (); 23761 ; 23762 return 0; 23763} 23764_ACEOF 23765if ac_fn_c_try_link "$LINENO"; then : 23766 ac_cv_lib_pthread_pthread_mutex_unlock=yes 23767else 23768 ac_cv_lib_pthread_pthread_mutex_unlock=no 23769fi 23770rm -f core conftest.err conftest.$ac_objext \ 23771 conftest$ac_exeext conftest.$ac_ext 23772LIBS=$ac_check_lib_save_LIBS 23773fi 23774{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_mutex_unlock" >&5 23775$as_echo "$ac_cv_lib_pthread_pthread_mutex_unlock" >&6; } 23776if test "x$ac_cv_lib_pthread_pthread_mutex_unlock" = xyes; then : 23777 ac_pthread_dummy=yes 23778else 23779 ac_cv_pthread=no 23780fi 23781 23782 23783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_init in -lpthread" >&5 23784$as_echo_n "checking for pthread_rwlock_init in -lpthread... " >&6; } 23785if ${ac_cv_lib_pthread_pthread_rwlock_init+:} false; then : 23786 $as_echo_n "(cached) " >&6 23787else 23788 ac_check_lib_save_LIBS=$LIBS 23789LIBS="-lpthread $LIBS" 23790cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23791/* end confdefs.h. */ 23792 23793/* Override any GCC internal prototype to avoid an error. 23794 Use char because int might match the return type of a GCC 23795 builtin and then its argument prototype would still apply. */ 23796#ifdef __cplusplus 23797extern "C" 23798#endif 23799char pthread_rwlock_init (); 23800int 23801main () 23802{ 23803return pthread_rwlock_init (); 23804 ; 23805 return 0; 23806} 23807_ACEOF 23808if ac_fn_c_try_link "$LINENO"; then : 23809 ac_cv_lib_pthread_pthread_rwlock_init=yes 23810else 23811 ac_cv_lib_pthread_pthread_rwlock_init=no 23812fi 23813rm -f core conftest.err conftest.$ac_objext \ 23814 conftest$ac_exeext conftest.$ac_ext 23815LIBS=$ac_check_lib_save_LIBS 23816fi 23817{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_rwlock_init" >&5 23818$as_echo "$ac_cv_lib_pthread_pthread_rwlock_init" >&6; } 23819if test "x$ac_cv_lib_pthread_pthread_rwlock_init" = xyes; then : 23820 ac_pthread_dummy=yes 23821else 23822 ac_cv_pthread=no 23823fi 23824 23825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_destroy in -lpthread" >&5 23826$as_echo_n "checking for pthread_rwlock_destroy in -lpthread... " >&6; } 23827if ${ac_cv_lib_pthread_pthread_rwlock_destroy+:} false; then : 23828 $as_echo_n "(cached) " >&6 23829else 23830 ac_check_lib_save_LIBS=$LIBS 23831LIBS="-lpthread $LIBS" 23832cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23833/* end confdefs.h. */ 23834 23835/* Override any GCC internal prototype to avoid an error. 23836 Use char because int might match the return type of a GCC 23837 builtin and then its argument prototype would still apply. */ 23838#ifdef __cplusplus 23839extern "C" 23840#endif 23841char pthread_rwlock_destroy (); 23842int 23843main () 23844{ 23845return pthread_rwlock_destroy (); 23846 ; 23847 return 0; 23848} 23849_ACEOF 23850if ac_fn_c_try_link "$LINENO"; then : 23851 ac_cv_lib_pthread_pthread_rwlock_destroy=yes 23852else 23853 ac_cv_lib_pthread_pthread_rwlock_destroy=no 23854fi 23855rm -f core conftest.err conftest.$ac_objext \ 23856 conftest$ac_exeext conftest.$ac_ext 23857LIBS=$ac_check_lib_save_LIBS 23858fi 23859{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_rwlock_destroy" >&5 23860$as_echo "$ac_cv_lib_pthread_pthread_rwlock_destroy" >&6; } 23861if test "x$ac_cv_lib_pthread_pthread_rwlock_destroy" = xyes; then : 23862 ac_pthread_dummy=yes 23863else 23864 ac_cv_pthread=no 23865fi 23866 23867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_rdlock in -lpthread" >&5 23868$as_echo_n "checking for pthread_rwlock_rdlock in -lpthread... " >&6; } 23869if ${ac_cv_lib_pthread_pthread_rwlock_rdlock+:} false; then : 23870 $as_echo_n "(cached) " >&6 23871else 23872 ac_check_lib_save_LIBS=$LIBS 23873LIBS="-lpthread $LIBS" 23874cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23875/* end confdefs.h. */ 23876 23877/* Override any GCC internal prototype to avoid an error. 23878 Use char because int might match the return type of a GCC 23879 builtin and then its argument prototype would still apply. */ 23880#ifdef __cplusplus 23881extern "C" 23882#endif 23883char pthread_rwlock_rdlock (); 23884int 23885main () 23886{ 23887return pthread_rwlock_rdlock (); 23888 ; 23889 return 0; 23890} 23891_ACEOF 23892if ac_fn_c_try_link "$LINENO"; then : 23893 ac_cv_lib_pthread_pthread_rwlock_rdlock=yes 23894else 23895 ac_cv_lib_pthread_pthread_rwlock_rdlock=no 23896fi 23897rm -f core conftest.err conftest.$ac_objext \ 23898 conftest$ac_exeext conftest.$ac_ext 23899LIBS=$ac_check_lib_save_LIBS 23900fi 23901{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_rwlock_rdlock" >&5 23902$as_echo "$ac_cv_lib_pthread_pthread_rwlock_rdlock" >&6; } 23903if test "x$ac_cv_lib_pthread_pthread_rwlock_rdlock" = xyes; then : 23904 ac_pthread_dummy=yes 23905else 23906 ac_cv_pthread=no 23907fi 23908 23909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_wrlock in -lpthread" >&5 23910$as_echo_n "checking for pthread_rwlock_wrlock in -lpthread... " >&6; } 23911if ${ac_cv_lib_pthread_pthread_rwlock_wrlock+:} false; then : 23912 $as_echo_n "(cached) " >&6 23913else 23914 ac_check_lib_save_LIBS=$LIBS 23915LIBS="-lpthread $LIBS" 23916cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23917/* end confdefs.h. */ 23918 23919/* Override any GCC internal prototype to avoid an error. 23920 Use char because int might match the return type of a GCC 23921 builtin and then its argument prototype would still apply. */ 23922#ifdef __cplusplus 23923extern "C" 23924#endif 23925char pthread_rwlock_wrlock (); 23926int 23927main () 23928{ 23929return pthread_rwlock_wrlock (); 23930 ; 23931 return 0; 23932} 23933_ACEOF 23934if ac_fn_c_try_link "$LINENO"; then : 23935 ac_cv_lib_pthread_pthread_rwlock_wrlock=yes 23936else 23937 ac_cv_lib_pthread_pthread_rwlock_wrlock=no 23938fi 23939rm -f core conftest.err conftest.$ac_objext \ 23940 conftest$ac_exeext conftest.$ac_ext 23941LIBS=$ac_check_lib_save_LIBS 23942fi 23943{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_rwlock_wrlock" >&5 23944$as_echo "$ac_cv_lib_pthread_pthread_rwlock_wrlock" >&6; } 23945if test "x$ac_cv_lib_pthread_pthread_rwlock_wrlock" = xyes; then : 23946 ac_pthread_dummy=yes 23947else 23948 ac_cv_pthread=no 23949fi 23950 23951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_unlock in -lpthread" >&5 23952$as_echo_n "checking for pthread_rwlock_unlock in -lpthread... " >&6; } 23953if ${ac_cv_lib_pthread_pthread_rwlock_unlock+:} false; then : 23954 $as_echo_n "(cached) " >&6 23955else 23956 ac_check_lib_save_LIBS=$LIBS 23957LIBS="-lpthread $LIBS" 23958cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23959/* end confdefs.h. */ 23960 23961/* Override any GCC internal prototype to avoid an error. 23962 Use char because int might match the return type of a GCC 23963 builtin and then its argument prototype would still apply. */ 23964#ifdef __cplusplus 23965extern "C" 23966#endif 23967char pthread_rwlock_unlock (); 23968int 23969main () 23970{ 23971return pthread_rwlock_unlock (); 23972 ; 23973 return 0; 23974} 23975_ACEOF 23976if ac_fn_c_try_link "$LINENO"; then : 23977 ac_cv_lib_pthread_pthread_rwlock_unlock=yes 23978else 23979 ac_cv_lib_pthread_pthread_rwlock_unlock=no 23980fi 23981rm -f core conftest.err conftest.$ac_objext \ 23982 conftest$ac_exeext conftest.$ac_ext 23983LIBS=$ac_check_lib_save_LIBS 23984fi 23985{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_rwlock_unlock" >&5 23986$as_echo "$ac_cv_lib_pthread_pthread_rwlock_unlock" >&6; } 23987if test "x$ac_cv_lib_pthread_pthread_rwlock_unlock" = xyes; then : 23988 ac_pthread_dummy=yes 23989else 23990 ac_cv_pthread=no 23991fi 23992 23993 23994 ac_cv_pthread_LIBADD="-lpthread"; 23995 23996fi 23997 23998fi 23999 24000 if test "x$ac_cv_pthread" = xpthread; then : 24001 24002$as_echo "#define HAVE_PTHREAD 1" >>confdefs.h 24003 24004 24005fi 24006 24007 if test "x$ac_cv_pthread" != xno; then : 24008 HAVE_PTHREAD=1 24009 24010else 24011 HAVE_PTHREAD=0 24012 24013 24014fi 24015 24016 24017 if test "x$ac_cv_pthread_CPPFLAGS" != "x"; then : 24018 PTHREAD_CPPFLAGS=$ac_cv_pthread_CPPFLAGS 24019 24020 24021fi 24022 if test "x$ac_cv_pthread_LIBADD" != "x"; then : 24023 PTHREAD_LIBADD=$ac_cv_pthread_LIBADD 24024 24025 24026fi 24027 24028 if test "x$ac_cv_pthread" = xpthread; then : 24029 ax_pthread_pc_libs_private=-lpthread 24030 24031 24032fi 24033 24034 ac_cv_libcthreads_multi_threading=$ac_cv_pthread 24035else 24036 ac_cv_libcthreads_multi_threading="winapi" 24037fi 24038 24039 if test "x$ac_cv_libcthreads_multi_threading" != xno; then : 24040 ac_cv_libcthreads_CPPFLAGS="-I../libcthreads"; 24041 ac_cv_libcthreads_LIBADD="../libcthreads/libcthreads.la"; 24042 24043 ac_cv_libcthreads=local 24044else 24045 ac_cv_libcthreads=no 24046fi 24047 24048 24049 24050$as_echo "#define HAVE_LOCAL_LIBCTHREADS 1" >>confdefs.h 24051 24052 HAVE_LOCAL_LIBCTHREADS=1 24053 24054 24055fi 24056 24057fi 24058 24059 if test "x$ac_cv_libcthreads" = xlocal; then 24060 HAVE_LOCAL_LIBCTHREADS_TRUE= 24061 HAVE_LOCAL_LIBCTHREADS_FALSE='#' 24062else 24063 HAVE_LOCAL_LIBCTHREADS_TRUE='#' 24064 HAVE_LOCAL_LIBCTHREADS_FALSE= 24065fi 24066 24067 if test "x$ac_cv_libcthreads_CPPFLAGS" != "x"; then : 24068 LIBCTHREADS_CPPFLAGS=$ac_cv_libcthreads_CPPFLAGS 24069 24070 24071fi 24072 if test "x$ac_cv_libcthreads_LIBADD" != "x"; then : 24073 LIBCTHREADS_LIBADD=$ac_cv_libcthreads_LIBADD 24074 24075 24076fi 24077 24078 if test "x$ac_cv_libcthreads" != xno; then : 24079 24080$as_echo "#define HAVE_MULTI_THREAD_SUPPORT 1" >>confdefs.h 24081 24082 HAVE_MULTI_THREAD_SUPPORT=1 24083 24084else 24085 HAVE_MULTI_THREAD_SUPPORT=0 24086 24087 24088fi 24089 24090 if test "x$ac_cv_libcthreads" = xyes; then : 24091 ax_libcthreads_pc_libs_private=-lcthreads 24092 24093 24094fi 24095 24096 if test "x$ac_cv_libcthreads" = xyes; then : 24097 ax_libcthreads_spec_requires=libcthreads 24098 24099 ax_libcthreads_spec_build_requires=libcthreads-devel 24100 24101 24102fi 24103 24104 24105 24106 24107# Check whether --with-libcdata was given. 24108if test "${with_libcdata+set}" = set; then : 24109 withval=$with_libcdata; ac_cv_with_libcdata=$withval 24110else 24111 ac_cv_with_libcdata=auto-detect 24112fi 24113 24114 { $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 24115$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; } 24116if ${ac_cv_with_libcdata+:} false; then : 24117 $as_echo_n "(cached) " >&6 24118else 24119 ac_cv_with_libcdata=auto-detect 24120fi 24121{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libcdata" >&5 24122$as_echo "$ac_cv_with_libcdata" >&6; } 24123 24124 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libcdata" = xno; then : 24125 ac_cv_libcdata=no 24126else 24127 ac_cv_libcdata=check 24128 if test "x$ac_cv_with_libcdata" != x && test "x$ac_cv_with_libcdata" != xauto-detect; then : 24129 if test -d "$ac_cv_with_libcdata"; then : 24130 CFLAGS="$CFLAGS -I${ac_cv_with_libcdata}/include" 24131 LDFLAGS="$LDFLAGS -L${ac_cv_with_libcdata}/lib" 24132else 24133 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 24134$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 24135as_fn_error 1 "no such directory: $ac_cv_with_libcdata 24136See \`config.log' for more details" "$LINENO" 5; } 24137 24138fi 24139 24140else 24141 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 24142 24143pkg_failed=no 24144{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata" >&5 24145$as_echo_n "checking for libcdata... " >&6; } 24146 24147if test -n "$libcdata_CFLAGS"; then 24148 pkg_cv_libcdata_CFLAGS="$libcdata_CFLAGS" 24149 elif test -n "$PKG_CONFIG"; then 24150 if test -n "$PKG_CONFIG" && \ 24151 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcdata >= 20190112\""; } >&5 24152 ($PKG_CONFIG --exists --print-errors "libcdata >= 20190112") 2>&5 24153 ac_status=$? 24154 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 24155 test $ac_status = 0; }; then 24156 pkg_cv_libcdata_CFLAGS=`$PKG_CONFIG --cflags "libcdata >= 20190112" 2>/dev/null` 24157 test "x$?" != "x0" && pkg_failed=yes 24158else 24159 pkg_failed=yes 24160fi 24161 else 24162 pkg_failed=untried 24163fi 24164if test -n "$libcdata_LIBS"; then 24165 pkg_cv_libcdata_LIBS="$libcdata_LIBS" 24166 elif test -n "$PKG_CONFIG"; then 24167 if test -n "$PKG_CONFIG" && \ 24168 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcdata >= 20190112\""; } >&5 24169 ($PKG_CONFIG --exists --print-errors "libcdata >= 20190112") 2>&5 24170 ac_status=$? 24171 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 24172 test $ac_status = 0; }; then 24173 pkg_cv_libcdata_LIBS=`$PKG_CONFIG --libs "libcdata >= 20190112" 2>/dev/null` 24174 test "x$?" != "x0" && pkg_failed=yes 24175else 24176 pkg_failed=yes 24177fi 24178 else 24179 pkg_failed=untried 24180fi 24181 24182 24183 24184if test $pkg_failed = yes; then 24185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24186$as_echo "no" >&6; } 24187 24188if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 24189 _pkg_short_errors_supported=yes 24190else 24191 _pkg_short_errors_supported=no 24192fi 24193 if test $_pkg_short_errors_supported = yes; then 24194 libcdata_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcdata >= 20190112" 2>&1` 24195 else 24196 libcdata_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcdata >= 20190112" 2>&1` 24197 fi 24198 # Put the nasty error message in config.log where it belongs 24199 echo "$libcdata_PKG_ERRORS" >&5 24200 24201 ac_cv_libcdata=check 24202elif test $pkg_failed = untried; then 24203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24204$as_echo "no" >&6; } 24205 ac_cv_libcdata=check 24206else 24207 libcdata_CFLAGS=$pkg_cv_libcdata_CFLAGS 24208 libcdata_LIBS=$pkg_cv_libcdata_LIBS 24209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 24210$as_echo "yes" >&6; } 24211 ac_cv_libcdata=yes 24212fi 24213 24214fi 24215 if test "x$ac_cv_libcdata" = xyes; then : 24216 ac_cv_libcdata_CPPFLAGS="$pkg_cv_libcdata_CFLAGS" 24217 ac_cv_libcdata_LIBADD="$pkg_cv_libcdata_LIBS" 24218fi 24219 24220fi 24221 24222 if test "x$ac_cv_libcdata" = xcheck; then : 24223 for ac_header in libcdata.h 24224do : 24225 ac_fn_c_check_header_mongrel "$LINENO" "libcdata.h" "ac_cv_header_libcdata_h" "$ac_includes_default" 24226if test "x$ac_cv_header_libcdata_h" = xyes; then : 24227 cat >>confdefs.h <<_ACEOF 24228#define HAVE_LIBCDATA_H 1 24229_ACEOF 24230 24231fi 24232 24233done 24234 24235 24236 if test "x$ac_cv_header_libcdata_h" = xno; then : 24237 ac_cv_libcdata=no 24238else 24239 ac_cv_libcdata=yes 24240 24241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_get_version in -lcdata" >&5 24242$as_echo_n "checking for libcdata_get_version in -lcdata... " >&6; } 24243if ${ac_cv_lib_cdata_libcdata_get_version+:} false; then : 24244 $as_echo_n "(cached) " >&6 24245else 24246 ac_check_lib_save_LIBS=$LIBS 24247LIBS="-lcdata $LIBS" 24248cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24249/* end confdefs.h. */ 24250 24251/* Override any GCC internal prototype to avoid an error. 24252 Use char because int might match the return type of a GCC 24253 builtin and then its argument prototype would still apply. */ 24254#ifdef __cplusplus 24255extern "C" 24256#endif 24257char libcdata_get_version (); 24258int 24259main () 24260{ 24261return libcdata_get_version (); 24262 ; 24263 return 0; 24264} 24265_ACEOF 24266if ac_fn_c_try_link "$LINENO"; then : 24267 ac_cv_lib_cdata_libcdata_get_version=yes 24268else 24269 ac_cv_lib_cdata_libcdata_get_version=no 24270fi 24271rm -f core conftest.err conftest.$ac_objext \ 24272 conftest$ac_exeext conftest.$ac_ext 24273LIBS=$ac_check_lib_save_LIBS 24274fi 24275{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_get_version" >&5 24276$as_echo "$ac_cv_lib_cdata_libcdata_get_version" >&6; } 24277if test "x$ac_cv_lib_cdata_libcdata_get_version" = xyes; then : 24278 ac_cv_libcdata_dummy=yes 24279else 24280 ac_cv_libcdata=no 24281fi 24282 24283 24284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_initialize in -lcdata" >&5 24285$as_echo_n "checking for libcdata_array_initialize in -lcdata... " >&6; } 24286if ${ac_cv_lib_cdata_libcdata_array_initialize+:} false; then : 24287 $as_echo_n "(cached) " >&6 24288else 24289 ac_check_lib_save_LIBS=$LIBS 24290LIBS="-lcdata $LIBS" 24291cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24292/* end confdefs.h. */ 24293 24294/* Override any GCC internal prototype to avoid an error. 24295 Use char because int might match the return type of a GCC 24296 builtin and then its argument prototype would still apply. */ 24297#ifdef __cplusplus 24298extern "C" 24299#endif 24300char libcdata_array_initialize (); 24301int 24302main () 24303{ 24304return libcdata_array_initialize (); 24305 ; 24306 return 0; 24307} 24308_ACEOF 24309if ac_fn_c_try_link "$LINENO"; then : 24310 ac_cv_lib_cdata_libcdata_array_initialize=yes 24311else 24312 ac_cv_lib_cdata_libcdata_array_initialize=no 24313fi 24314rm -f core conftest.err conftest.$ac_objext \ 24315 conftest$ac_exeext conftest.$ac_ext 24316LIBS=$ac_check_lib_save_LIBS 24317fi 24318{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_initialize" >&5 24319$as_echo "$ac_cv_lib_cdata_libcdata_array_initialize" >&6; } 24320if test "x$ac_cv_lib_cdata_libcdata_array_initialize" = xyes; then : 24321 ac_cv_libcdata_dummy=yes 24322else 24323 ac_cv_libcdata=no 24324fi 24325 24326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_free in -lcdata" >&5 24327$as_echo_n "checking for libcdata_array_free in -lcdata... " >&6; } 24328if ${ac_cv_lib_cdata_libcdata_array_free+:} false; then : 24329 $as_echo_n "(cached) " >&6 24330else 24331 ac_check_lib_save_LIBS=$LIBS 24332LIBS="-lcdata $LIBS" 24333cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24334/* end confdefs.h. */ 24335 24336/* Override any GCC internal prototype to avoid an error. 24337 Use char because int might match the return type of a GCC 24338 builtin and then its argument prototype would still apply. */ 24339#ifdef __cplusplus 24340extern "C" 24341#endif 24342char libcdata_array_free (); 24343int 24344main () 24345{ 24346return libcdata_array_free (); 24347 ; 24348 return 0; 24349} 24350_ACEOF 24351if ac_fn_c_try_link "$LINENO"; then : 24352 ac_cv_lib_cdata_libcdata_array_free=yes 24353else 24354 ac_cv_lib_cdata_libcdata_array_free=no 24355fi 24356rm -f core conftest.err conftest.$ac_objext \ 24357 conftest$ac_exeext conftest.$ac_ext 24358LIBS=$ac_check_lib_save_LIBS 24359fi 24360{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_free" >&5 24361$as_echo "$ac_cv_lib_cdata_libcdata_array_free" >&6; } 24362if test "x$ac_cv_lib_cdata_libcdata_array_free" = xyes; then : 24363 ac_cv_libcdata_dummy=yes 24364else 24365 ac_cv_libcdata=no 24366fi 24367 24368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_empty in -lcdata" >&5 24369$as_echo_n "checking for libcdata_array_empty in -lcdata... " >&6; } 24370if ${ac_cv_lib_cdata_libcdata_array_empty+:} false; then : 24371 $as_echo_n "(cached) " >&6 24372else 24373 ac_check_lib_save_LIBS=$LIBS 24374LIBS="-lcdata $LIBS" 24375cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24376/* end confdefs.h. */ 24377 24378/* Override any GCC internal prototype to avoid an error. 24379 Use char because int might match the return type of a GCC 24380 builtin and then its argument prototype would still apply. */ 24381#ifdef __cplusplus 24382extern "C" 24383#endif 24384char libcdata_array_empty (); 24385int 24386main () 24387{ 24388return libcdata_array_empty (); 24389 ; 24390 return 0; 24391} 24392_ACEOF 24393if ac_fn_c_try_link "$LINENO"; then : 24394 ac_cv_lib_cdata_libcdata_array_empty=yes 24395else 24396 ac_cv_lib_cdata_libcdata_array_empty=no 24397fi 24398rm -f core conftest.err conftest.$ac_objext \ 24399 conftest$ac_exeext conftest.$ac_ext 24400LIBS=$ac_check_lib_save_LIBS 24401fi 24402{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_empty" >&5 24403$as_echo "$ac_cv_lib_cdata_libcdata_array_empty" >&6; } 24404if test "x$ac_cv_lib_cdata_libcdata_array_empty" = xyes; then : 24405 ac_cv_libcdata_dummy=yes 24406else 24407 ac_cv_libcdata=no 24408fi 24409 24410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_clone in -lcdata" >&5 24411$as_echo_n "checking for libcdata_array_clone in -lcdata... " >&6; } 24412if ${ac_cv_lib_cdata_libcdata_array_clone+:} false; then : 24413 $as_echo_n "(cached) " >&6 24414else 24415 ac_check_lib_save_LIBS=$LIBS 24416LIBS="-lcdata $LIBS" 24417cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24418/* end confdefs.h. */ 24419 24420/* Override any GCC internal prototype to avoid an error. 24421 Use char because int might match the return type of a GCC 24422 builtin and then its argument prototype would still apply. */ 24423#ifdef __cplusplus 24424extern "C" 24425#endif 24426char libcdata_array_clone (); 24427int 24428main () 24429{ 24430return libcdata_array_clone (); 24431 ; 24432 return 0; 24433} 24434_ACEOF 24435if ac_fn_c_try_link "$LINENO"; then : 24436 ac_cv_lib_cdata_libcdata_array_clone=yes 24437else 24438 ac_cv_lib_cdata_libcdata_array_clone=no 24439fi 24440rm -f core conftest.err conftest.$ac_objext \ 24441 conftest$ac_exeext conftest.$ac_ext 24442LIBS=$ac_check_lib_save_LIBS 24443fi 24444{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_clone" >&5 24445$as_echo "$ac_cv_lib_cdata_libcdata_array_clone" >&6; } 24446if test "x$ac_cv_lib_cdata_libcdata_array_clone" = xyes; then : 24447 ac_cv_libcdata_dummy=yes 24448else 24449 ac_cv_libcdata=no 24450fi 24451 24452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_resize in -lcdata" >&5 24453$as_echo_n "checking for libcdata_array_resize in -lcdata... " >&6; } 24454if ${ac_cv_lib_cdata_libcdata_array_resize+:} false; then : 24455 $as_echo_n "(cached) " >&6 24456else 24457 ac_check_lib_save_LIBS=$LIBS 24458LIBS="-lcdata $LIBS" 24459cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24460/* end confdefs.h. */ 24461 24462/* Override any GCC internal prototype to avoid an error. 24463 Use char because int might match the return type of a GCC 24464 builtin and then its argument prototype would still apply. */ 24465#ifdef __cplusplus 24466extern "C" 24467#endif 24468char libcdata_array_resize (); 24469int 24470main () 24471{ 24472return libcdata_array_resize (); 24473 ; 24474 return 0; 24475} 24476_ACEOF 24477if ac_fn_c_try_link "$LINENO"; then : 24478 ac_cv_lib_cdata_libcdata_array_resize=yes 24479else 24480 ac_cv_lib_cdata_libcdata_array_resize=no 24481fi 24482rm -f core conftest.err conftest.$ac_objext \ 24483 conftest$ac_exeext conftest.$ac_ext 24484LIBS=$ac_check_lib_save_LIBS 24485fi 24486{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_resize" >&5 24487$as_echo "$ac_cv_lib_cdata_libcdata_array_resize" >&6; } 24488if test "x$ac_cv_lib_cdata_libcdata_array_resize" = xyes; then : 24489 ac_cv_libcdata_dummy=yes 24490else 24491 ac_cv_libcdata=no 24492fi 24493 24494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_reverse in -lcdata" >&5 24495$as_echo_n "checking for libcdata_array_reverse in -lcdata... " >&6; } 24496if ${ac_cv_lib_cdata_libcdata_array_reverse+:} false; then : 24497 $as_echo_n "(cached) " >&6 24498else 24499 ac_check_lib_save_LIBS=$LIBS 24500LIBS="-lcdata $LIBS" 24501cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24502/* end confdefs.h. */ 24503 24504/* Override any GCC internal prototype to avoid an error. 24505 Use char because int might match the return type of a GCC 24506 builtin and then its argument prototype would still apply. */ 24507#ifdef __cplusplus 24508extern "C" 24509#endif 24510char libcdata_array_reverse (); 24511int 24512main () 24513{ 24514return libcdata_array_reverse (); 24515 ; 24516 return 0; 24517} 24518_ACEOF 24519if ac_fn_c_try_link "$LINENO"; then : 24520 ac_cv_lib_cdata_libcdata_array_reverse=yes 24521else 24522 ac_cv_lib_cdata_libcdata_array_reverse=no 24523fi 24524rm -f core conftest.err conftest.$ac_objext \ 24525 conftest$ac_exeext conftest.$ac_ext 24526LIBS=$ac_check_lib_save_LIBS 24527fi 24528{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_reverse" >&5 24529$as_echo "$ac_cv_lib_cdata_libcdata_array_reverse" >&6; } 24530if test "x$ac_cv_lib_cdata_libcdata_array_reverse" = xyes; then : 24531 ac_cv_libcdata_dummy=yes 24532else 24533 ac_cv_libcdata=no 24534fi 24535 24536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_get_number_of_entries in -lcdata" >&5 24537$as_echo_n "checking for libcdata_array_get_number_of_entries in -lcdata... " >&6; } 24538if ${ac_cv_lib_cdata_libcdata_array_get_number_of_entries+:} false; then : 24539 $as_echo_n "(cached) " >&6 24540else 24541 ac_check_lib_save_LIBS=$LIBS 24542LIBS="-lcdata $LIBS" 24543cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24544/* end confdefs.h. */ 24545 24546/* Override any GCC internal prototype to avoid an error. 24547 Use char because int might match the return type of a GCC 24548 builtin and then its argument prototype would still apply. */ 24549#ifdef __cplusplus 24550extern "C" 24551#endif 24552char libcdata_array_get_number_of_entries (); 24553int 24554main () 24555{ 24556return libcdata_array_get_number_of_entries (); 24557 ; 24558 return 0; 24559} 24560_ACEOF 24561if ac_fn_c_try_link "$LINENO"; then : 24562 ac_cv_lib_cdata_libcdata_array_get_number_of_entries=yes 24563else 24564 ac_cv_lib_cdata_libcdata_array_get_number_of_entries=no 24565fi 24566rm -f core conftest.err conftest.$ac_objext \ 24567 conftest$ac_exeext conftest.$ac_ext 24568LIBS=$ac_check_lib_save_LIBS 24569fi 24570{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_get_number_of_entries" >&5 24571$as_echo "$ac_cv_lib_cdata_libcdata_array_get_number_of_entries" >&6; } 24572if test "x$ac_cv_lib_cdata_libcdata_array_get_number_of_entries" = xyes; then : 24573 ac_cv_libcdata_dummy=yes 24574else 24575 ac_cv_libcdata=no 24576fi 24577 24578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_get_entry_by_index in -lcdata" >&5 24579$as_echo_n "checking for libcdata_array_get_entry_by_index in -lcdata... " >&6; } 24580if ${ac_cv_lib_cdata_libcdata_array_get_entry_by_index+:} false; then : 24581 $as_echo_n "(cached) " >&6 24582else 24583 ac_check_lib_save_LIBS=$LIBS 24584LIBS="-lcdata $LIBS" 24585cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24586/* end confdefs.h. */ 24587 24588/* Override any GCC internal prototype to avoid an error. 24589 Use char because int might match the return type of a GCC 24590 builtin and then its argument prototype would still apply. */ 24591#ifdef __cplusplus 24592extern "C" 24593#endif 24594char libcdata_array_get_entry_by_index (); 24595int 24596main () 24597{ 24598return libcdata_array_get_entry_by_index (); 24599 ; 24600 return 0; 24601} 24602_ACEOF 24603if ac_fn_c_try_link "$LINENO"; then : 24604 ac_cv_lib_cdata_libcdata_array_get_entry_by_index=yes 24605else 24606 ac_cv_lib_cdata_libcdata_array_get_entry_by_index=no 24607fi 24608rm -f core conftest.err conftest.$ac_objext \ 24609 conftest$ac_exeext conftest.$ac_ext 24610LIBS=$ac_check_lib_save_LIBS 24611fi 24612{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_get_entry_by_index" >&5 24613$as_echo "$ac_cv_lib_cdata_libcdata_array_get_entry_by_index" >&6; } 24614if test "x$ac_cv_lib_cdata_libcdata_array_get_entry_by_index" = xyes; then : 24615 ac_cv_libcdata_dummy=yes 24616else 24617 ac_cv_libcdata=no 24618fi 24619 24620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_get_entry_by_value in -lcdata" >&5 24621$as_echo_n "checking for libcdata_array_get_entry_by_value in -lcdata... " >&6; } 24622if ${ac_cv_lib_cdata_libcdata_array_get_entry_by_value+:} false; then : 24623 $as_echo_n "(cached) " >&6 24624else 24625 ac_check_lib_save_LIBS=$LIBS 24626LIBS="-lcdata $LIBS" 24627cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24628/* end confdefs.h. */ 24629 24630/* Override any GCC internal prototype to avoid an error. 24631 Use char because int might match the return type of a GCC 24632 builtin and then its argument prototype would still apply. */ 24633#ifdef __cplusplus 24634extern "C" 24635#endif 24636char libcdata_array_get_entry_by_value (); 24637int 24638main () 24639{ 24640return libcdata_array_get_entry_by_value (); 24641 ; 24642 return 0; 24643} 24644_ACEOF 24645if ac_fn_c_try_link "$LINENO"; then : 24646 ac_cv_lib_cdata_libcdata_array_get_entry_by_value=yes 24647else 24648 ac_cv_lib_cdata_libcdata_array_get_entry_by_value=no 24649fi 24650rm -f core conftest.err conftest.$ac_objext \ 24651 conftest$ac_exeext conftest.$ac_ext 24652LIBS=$ac_check_lib_save_LIBS 24653fi 24654{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_get_entry_by_value" >&5 24655$as_echo "$ac_cv_lib_cdata_libcdata_array_get_entry_by_value" >&6; } 24656if test "x$ac_cv_lib_cdata_libcdata_array_get_entry_by_value" = xyes; then : 24657 ac_cv_libcdata_dummy=yes 24658else 24659 ac_cv_libcdata=no 24660fi 24661 24662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_set_entry_by_index in -lcdata" >&5 24663$as_echo_n "checking for libcdata_array_set_entry_by_index in -lcdata... " >&6; } 24664if ${ac_cv_lib_cdata_libcdata_array_set_entry_by_index+:} false; then : 24665 $as_echo_n "(cached) " >&6 24666else 24667 ac_check_lib_save_LIBS=$LIBS 24668LIBS="-lcdata $LIBS" 24669cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24670/* end confdefs.h. */ 24671 24672/* Override any GCC internal prototype to avoid an error. 24673 Use char because int might match the return type of a GCC 24674 builtin and then its argument prototype would still apply. */ 24675#ifdef __cplusplus 24676extern "C" 24677#endif 24678char libcdata_array_set_entry_by_index (); 24679int 24680main () 24681{ 24682return libcdata_array_set_entry_by_index (); 24683 ; 24684 return 0; 24685} 24686_ACEOF 24687if ac_fn_c_try_link "$LINENO"; then : 24688 ac_cv_lib_cdata_libcdata_array_set_entry_by_index=yes 24689else 24690 ac_cv_lib_cdata_libcdata_array_set_entry_by_index=no 24691fi 24692rm -f core conftest.err conftest.$ac_objext \ 24693 conftest$ac_exeext conftest.$ac_ext 24694LIBS=$ac_check_lib_save_LIBS 24695fi 24696{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_set_entry_by_index" >&5 24697$as_echo "$ac_cv_lib_cdata_libcdata_array_set_entry_by_index" >&6; } 24698if test "x$ac_cv_lib_cdata_libcdata_array_set_entry_by_index" = xyes; then : 24699 ac_cv_libcdata_dummy=yes 24700else 24701 ac_cv_libcdata=no 24702fi 24703 24704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_prepend_entry in -lcdata" >&5 24705$as_echo_n "checking for libcdata_array_prepend_entry in -lcdata... " >&6; } 24706if ${ac_cv_lib_cdata_libcdata_array_prepend_entry+:} false; then : 24707 $as_echo_n "(cached) " >&6 24708else 24709 ac_check_lib_save_LIBS=$LIBS 24710LIBS="-lcdata $LIBS" 24711cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24712/* end confdefs.h. */ 24713 24714/* Override any GCC internal prototype to avoid an error. 24715 Use char because int might match the return type of a GCC 24716 builtin and then its argument prototype would still apply. */ 24717#ifdef __cplusplus 24718extern "C" 24719#endif 24720char libcdata_array_prepend_entry (); 24721int 24722main () 24723{ 24724return libcdata_array_prepend_entry (); 24725 ; 24726 return 0; 24727} 24728_ACEOF 24729if ac_fn_c_try_link "$LINENO"; then : 24730 ac_cv_lib_cdata_libcdata_array_prepend_entry=yes 24731else 24732 ac_cv_lib_cdata_libcdata_array_prepend_entry=no 24733fi 24734rm -f core conftest.err conftest.$ac_objext \ 24735 conftest$ac_exeext conftest.$ac_ext 24736LIBS=$ac_check_lib_save_LIBS 24737fi 24738{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_prepend_entry" >&5 24739$as_echo "$ac_cv_lib_cdata_libcdata_array_prepend_entry" >&6; } 24740if test "x$ac_cv_lib_cdata_libcdata_array_prepend_entry" = xyes; then : 24741 ac_cv_libcdata_dummy=yes 24742else 24743 ac_cv_libcdata=no 24744fi 24745 24746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_append_entry in -lcdata" >&5 24747$as_echo_n "checking for libcdata_array_append_entry in -lcdata... " >&6; } 24748if ${ac_cv_lib_cdata_libcdata_array_append_entry+:} false; then : 24749 $as_echo_n "(cached) " >&6 24750else 24751 ac_check_lib_save_LIBS=$LIBS 24752LIBS="-lcdata $LIBS" 24753cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24754/* end confdefs.h. */ 24755 24756/* Override any GCC internal prototype to avoid an error. 24757 Use char because int might match the return type of a GCC 24758 builtin and then its argument prototype would still apply. */ 24759#ifdef __cplusplus 24760extern "C" 24761#endif 24762char libcdata_array_append_entry (); 24763int 24764main () 24765{ 24766return libcdata_array_append_entry (); 24767 ; 24768 return 0; 24769} 24770_ACEOF 24771if ac_fn_c_try_link "$LINENO"; then : 24772 ac_cv_lib_cdata_libcdata_array_append_entry=yes 24773else 24774 ac_cv_lib_cdata_libcdata_array_append_entry=no 24775fi 24776rm -f core conftest.err conftest.$ac_objext \ 24777 conftest$ac_exeext conftest.$ac_ext 24778LIBS=$ac_check_lib_save_LIBS 24779fi 24780{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_append_entry" >&5 24781$as_echo "$ac_cv_lib_cdata_libcdata_array_append_entry" >&6; } 24782if test "x$ac_cv_lib_cdata_libcdata_array_append_entry" = xyes; then : 24783 ac_cv_libcdata_dummy=yes 24784else 24785 ac_cv_libcdata=no 24786fi 24787 24788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_insert_entry in -lcdata" >&5 24789$as_echo_n "checking for libcdata_array_insert_entry in -lcdata... " >&6; } 24790if ${ac_cv_lib_cdata_libcdata_array_insert_entry+:} false; then : 24791 $as_echo_n "(cached) " >&6 24792else 24793 ac_check_lib_save_LIBS=$LIBS 24794LIBS="-lcdata $LIBS" 24795cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24796/* end confdefs.h. */ 24797 24798/* Override any GCC internal prototype to avoid an error. 24799 Use char because int might match the return type of a GCC 24800 builtin and then its argument prototype would still apply. */ 24801#ifdef __cplusplus 24802extern "C" 24803#endif 24804char libcdata_array_insert_entry (); 24805int 24806main () 24807{ 24808return libcdata_array_insert_entry (); 24809 ; 24810 return 0; 24811} 24812_ACEOF 24813if ac_fn_c_try_link "$LINENO"; then : 24814 ac_cv_lib_cdata_libcdata_array_insert_entry=yes 24815else 24816 ac_cv_lib_cdata_libcdata_array_insert_entry=no 24817fi 24818rm -f core conftest.err conftest.$ac_objext \ 24819 conftest$ac_exeext conftest.$ac_ext 24820LIBS=$ac_check_lib_save_LIBS 24821fi 24822{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_insert_entry" >&5 24823$as_echo "$ac_cv_lib_cdata_libcdata_array_insert_entry" >&6; } 24824if test "x$ac_cv_lib_cdata_libcdata_array_insert_entry" = xyes; then : 24825 ac_cv_libcdata_dummy=yes 24826else 24827 ac_cv_libcdata=no 24828fi 24829 24830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_remove_entry in -lcdata" >&5 24831$as_echo_n "checking for libcdata_array_remove_entry in -lcdata... " >&6; } 24832if ${ac_cv_lib_cdata_libcdata_array_remove_entry+:} false; then : 24833 $as_echo_n "(cached) " >&6 24834else 24835 ac_check_lib_save_LIBS=$LIBS 24836LIBS="-lcdata $LIBS" 24837cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24838/* end confdefs.h. */ 24839 24840/* Override any GCC internal prototype to avoid an error. 24841 Use char because int might match the return type of a GCC 24842 builtin and then its argument prototype would still apply. */ 24843#ifdef __cplusplus 24844extern "C" 24845#endif 24846char libcdata_array_remove_entry (); 24847int 24848main () 24849{ 24850return libcdata_array_remove_entry (); 24851 ; 24852 return 0; 24853} 24854_ACEOF 24855if ac_fn_c_try_link "$LINENO"; then : 24856 ac_cv_lib_cdata_libcdata_array_remove_entry=yes 24857else 24858 ac_cv_lib_cdata_libcdata_array_remove_entry=no 24859fi 24860rm -f core conftest.err conftest.$ac_objext \ 24861 conftest$ac_exeext conftest.$ac_ext 24862LIBS=$ac_check_lib_save_LIBS 24863fi 24864{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_remove_entry" >&5 24865$as_echo "$ac_cv_lib_cdata_libcdata_array_remove_entry" >&6; } 24866if test "x$ac_cv_lib_cdata_libcdata_array_remove_entry" = xyes; then : 24867 ac_cv_libcdata_dummy=yes 24868else 24869 ac_cv_libcdata=no 24870fi 24871 24872 24873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_btree_initialize in -lcdata" >&5 24874$as_echo_n "checking for libfdata_btree_initialize in -lcdata... " >&6; } 24875if ${ac_cv_lib_cdata_libfdata_btree_initialize+:} false; then : 24876 $as_echo_n "(cached) " >&6 24877else 24878 ac_check_lib_save_LIBS=$LIBS 24879LIBS="-lcdata $LIBS" 24880cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24881/* end confdefs.h. */ 24882 24883/* Override any GCC internal prototype to avoid an error. 24884 Use char because int might match the return type of a GCC 24885 builtin and then its argument prototype would still apply. */ 24886#ifdef __cplusplus 24887extern "C" 24888#endif 24889char libfdata_btree_initialize (); 24890int 24891main () 24892{ 24893return libfdata_btree_initialize (); 24894 ; 24895 return 0; 24896} 24897_ACEOF 24898if ac_fn_c_try_link "$LINENO"; then : 24899 ac_cv_lib_cdata_libfdata_btree_initialize=yes 24900else 24901 ac_cv_lib_cdata_libfdata_btree_initialize=no 24902fi 24903rm -f core conftest.err conftest.$ac_objext \ 24904 conftest$ac_exeext conftest.$ac_ext 24905LIBS=$ac_check_lib_save_LIBS 24906fi 24907{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libfdata_btree_initialize" >&5 24908$as_echo "$ac_cv_lib_cdata_libfdata_btree_initialize" >&6; } 24909if test "x$ac_cv_lib_cdata_libfdata_btree_initialize" = xyes; then : 24910 ac_cv_libcdata_dummy=yes 24911else 24912 ac_cv_libcdata=no 24913fi 24914 24915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_btree_free in -lcdata" >&5 24916$as_echo_n "checking for libcdata_btree_free in -lcdata... " >&6; } 24917if ${ac_cv_lib_cdata_libcdata_btree_free+:} false; then : 24918 $as_echo_n "(cached) " >&6 24919else 24920 ac_check_lib_save_LIBS=$LIBS 24921LIBS="-lcdata $LIBS" 24922cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24923/* end confdefs.h. */ 24924 24925/* Override any GCC internal prototype to avoid an error. 24926 Use char because int might match the return type of a GCC 24927 builtin and then its argument prototype would still apply. */ 24928#ifdef __cplusplus 24929extern "C" 24930#endif 24931char libcdata_btree_free (); 24932int 24933main () 24934{ 24935return libcdata_btree_free (); 24936 ; 24937 return 0; 24938} 24939_ACEOF 24940if ac_fn_c_try_link "$LINENO"; then : 24941 ac_cv_lib_cdata_libcdata_btree_free=yes 24942else 24943 ac_cv_lib_cdata_libcdata_btree_free=no 24944fi 24945rm -f core conftest.err conftest.$ac_objext \ 24946 conftest$ac_exeext conftest.$ac_ext 24947LIBS=$ac_check_lib_save_LIBS 24948fi 24949{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_btree_free" >&5 24950$as_echo "$ac_cv_lib_cdata_libcdata_btree_free" >&6; } 24951if test "x$ac_cv_lib_cdata_libcdata_btree_free" = xyes; then : 24952 ac_cv_libcdata_dummy=yes 24953else 24954 ac_cv_libcdata=no 24955fi 24956 24957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_btree_get_number_of_values in -lcdata" >&5 24958$as_echo_n "checking for libcdata_btree_get_number_of_values in -lcdata... " >&6; } 24959if ${ac_cv_lib_cdata_libcdata_btree_get_number_of_values+:} false; then : 24960 $as_echo_n "(cached) " >&6 24961else 24962 ac_check_lib_save_LIBS=$LIBS 24963LIBS="-lcdata $LIBS" 24964cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24965/* end confdefs.h. */ 24966 24967/* Override any GCC internal prototype to avoid an error. 24968 Use char because int might match the return type of a GCC 24969 builtin and then its argument prototype would still apply. */ 24970#ifdef __cplusplus 24971extern "C" 24972#endif 24973char libcdata_btree_get_number_of_values (); 24974int 24975main () 24976{ 24977return libcdata_btree_get_number_of_values (); 24978 ; 24979 return 0; 24980} 24981_ACEOF 24982if ac_fn_c_try_link "$LINENO"; then : 24983 ac_cv_lib_cdata_libcdata_btree_get_number_of_values=yes 24984else 24985 ac_cv_lib_cdata_libcdata_btree_get_number_of_values=no 24986fi 24987rm -f core conftest.err conftest.$ac_objext \ 24988 conftest$ac_exeext conftest.$ac_ext 24989LIBS=$ac_check_lib_save_LIBS 24990fi 24991{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_btree_get_number_of_values" >&5 24992$as_echo "$ac_cv_lib_cdata_libcdata_btree_get_number_of_values" >&6; } 24993if test "x$ac_cv_lib_cdata_libcdata_btree_get_number_of_values" = xyes; then : 24994 ac_cv_libcdata_dummy=yes 24995else 24996 ac_cv_libcdata=no 24997fi 24998 24999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_btree_get_value_by_index in -lcdata" >&5 25000$as_echo_n "checking for libcdata_btree_get_value_by_index in -lcdata... " >&6; } 25001if ${ac_cv_lib_cdata_libcdata_btree_get_value_by_index+:} false; then : 25002 $as_echo_n "(cached) " >&6 25003else 25004 ac_check_lib_save_LIBS=$LIBS 25005LIBS="-lcdata $LIBS" 25006cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25007/* end confdefs.h. */ 25008 25009/* Override any GCC internal prototype to avoid an error. 25010 Use char because int might match the return type of a GCC 25011 builtin and then its argument prototype would still apply. */ 25012#ifdef __cplusplus 25013extern "C" 25014#endif 25015char libcdata_btree_get_value_by_index (); 25016int 25017main () 25018{ 25019return libcdata_btree_get_value_by_index (); 25020 ; 25021 return 0; 25022} 25023_ACEOF 25024if ac_fn_c_try_link "$LINENO"; then : 25025 ac_cv_lib_cdata_libcdata_btree_get_value_by_index=yes 25026else 25027 ac_cv_lib_cdata_libcdata_btree_get_value_by_index=no 25028fi 25029rm -f core conftest.err conftest.$ac_objext \ 25030 conftest$ac_exeext conftest.$ac_ext 25031LIBS=$ac_check_lib_save_LIBS 25032fi 25033{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_btree_get_value_by_index" >&5 25034$as_echo "$ac_cv_lib_cdata_libcdata_btree_get_value_by_index" >&6; } 25035if test "x$ac_cv_lib_cdata_libcdata_btree_get_value_by_index" = xyes; then : 25036 ac_cv_libcdata_dummy=yes 25037else 25038 ac_cv_libcdata=no 25039fi 25040 25041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_btree_get_value_by_value in -lcdata" >&5 25042$as_echo_n "checking for libcdata_btree_get_value_by_value in -lcdata... " >&6; } 25043if ${ac_cv_lib_cdata_libcdata_btree_get_value_by_value+:} false; then : 25044 $as_echo_n "(cached) " >&6 25045else 25046 ac_check_lib_save_LIBS=$LIBS 25047LIBS="-lcdata $LIBS" 25048cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25049/* end confdefs.h. */ 25050 25051/* Override any GCC internal prototype to avoid an error. 25052 Use char because int might match the return type of a GCC 25053 builtin and then its argument prototype would still apply. */ 25054#ifdef __cplusplus 25055extern "C" 25056#endif 25057char libcdata_btree_get_value_by_value (); 25058int 25059main () 25060{ 25061return libcdata_btree_get_value_by_value (); 25062 ; 25063 return 0; 25064} 25065_ACEOF 25066if ac_fn_c_try_link "$LINENO"; then : 25067 ac_cv_lib_cdata_libcdata_btree_get_value_by_value=yes 25068else 25069 ac_cv_lib_cdata_libcdata_btree_get_value_by_value=no 25070fi 25071rm -f core conftest.err conftest.$ac_objext \ 25072 conftest$ac_exeext conftest.$ac_ext 25073LIBS=$ac_check_lib_save_LIBS 25074fi 25075{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_btree_get_value_by_value" >&5 25076$as_echo "$ac_cv_lib_cdata_libcdata_btree_get_value_by_value" >&6; } 25077if test "x$ac_cv_lib_cdata_libcdata_btree_get_value_by_value" = xyes; then : 25078 ac_cv_libcdata_dummy=yes 25079else 25080 ac_cv_libcdata=no 25081fi 25082 25083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_btree_insert_value in -lcdata" >&5 25084$as_echo_n "checking for libcdata_btree_insert_value in -lcdata... " >&6; } 25085if ${ac_cv_lib_cdata_libcdata_btree_insert_value+:} false; then : 25086 $as_echo_n "(cached) " >&6 25087else 25088 ac_check_lib_save_LIBS=$LIBS 25089LIBS="-lcdata $LIBS" 25090cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25091/* end confdefs.h. */ 25092 25093/* Override any GCC internal prototype to avoid an error. 25094 Use char because int might match the return type of a GCC 25095 builtin and then its argument prototype would still apply. */ 25096#ifdef __cplusplus 25097extern "C" 25098#endif 25099char libcdata_btree_insert_value (); 25100int 25101main () 25102{ 25103return libcdata_btree_insert_value (); 25104 ; 25105 return 0; 25106} 25107_ACEOF 25108if ac_fn_c_try_link "$LINENO"; then : 25109 ac_cv_lib_cdata_libcdata_btree_insert_value=yes 25110else 25111 ac_cv_lib_cdata_libcdata_btree_insert_value=no 25112fi 25113rm -f core conftest.err conftest.$ac_objext \ 25114 conftest$ac_exeext conftest.$ac_ext 25115LIBS=$ac_check_lib_save_LIBS 25116fi 25117{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_btree_insert_value" >&5 25118$as_echo "$ac_cv_lib_cdata_libcdata_btree_insert_value" >&6; } 25119if test "x$ac_cv_lib_cdata_libcdata_btree_insert_value" = xyes; then : 25120 ac_cv_libcdata_dummy=yes 25121else 25122 ac_cv_libcdata=no 25123fi 25124 25125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_btree_replace_value in -lcdata" >&5 25126$as_echo_n "checking for libcdata_btree_replace_value in -lcdata... " >&6; } 25127if ${ac_cv_lib_cdata_libcdata_btree_replace_value+:} false; then : 25128 $as_echo_n "(cached) " >&6 25129else 25130 ac_check_lib_save_LIBS=$LIBS 25131LIBS="-lcdata $LIBS" 25132cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25133/* end confdefs.h. */ 25134 25135/* Override any GCC internal prototype to avoid an error. 25136 Use char because int might match the return type of a GCC 25137 builtin and then its argument prototype would still apply. */ 25138#ifdef __cplusplus 25139extern "C" 25140#endif 25141char libcdata_btree_replace_value (); 25142int 25143main () 25144{ 25145return libcdata_btree_replace_value (); 25146 ; 25147 return 0; 25148} 25149_ACEOF 25150if ac_fn_c_try_link "$LINENO"; then : 25151 ac_cv_lib_cdata_libcdata_btree_replace_value=yes 25152else 25153 ac_cv_lib_cdata_libcdata_btree_replace_value=no 25154fi 25155rm -f core conftest.err conftest.$ac_objext \ 25156 conftest$ac_exeext conftest.$ac_ext 25157LIBS=$ac_check_lib_save_LIBS 25158fi 25159{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_btree_replace_value" >&5 25160$as_echo "$ac_cv_lib_cdata_libcdata_btree_replace_value" >&6; } 25161if test "x$ac_cv_lib_cdata_libcdata_btree_replace_value" = xyes; then : 25162 ac_cv_libcdata_dummy=yes 25163else 25164 ac_cv_libcdata=no 25165fi 25166 25167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_btree_remove_value in -lcdata" >&5 25168$as_echo_n "checking for libcdata_btree_remove_value in -lcdata... " >&6; } 25169if ${ac_cv_lib_cdata_libcdata_btree_remove_value+:} false; then : 25170 $as_echo_n "(cached) " >&6 25171else 25172 ac_check_lib_save_LIBS=$LIBS 25173LIBS="-lcdata $LIBS" 25174cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25175/* end confdefs.h. */ 25176 25177/* Override any GCC internal prototype to avoid an error. 25178 Use char because int might match the return type of a GCC 25179 builtin and then its argument prototype would still apply. */ 25180#ifdef __cplusplus 25181extern "C" 25182#endif 25183char libcdata_btree_remove_value (); 25184int 25185main () 25186{ 25187return libcdata_btree_remove_value (); 25188 ; 25189 return 0; 25190} 25191_ACEOF 25192if ac_fn_c_try_link "$LINENO"; then : 25193 ac_cv_lib_cdata_libcdata_btree_remove_value=yes 25194else 25195 ac_cv_lib_cdata_libcdata_btree_remove_value=no 25196fi 25197rm -f core conftest.err conftest.$ac_objext \ 25198 conftest$ac_exeext conftest.$ac_ext 25199LIBS=$ac_check_lib_save_LIBS 25200fi 25201{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_btree_remove_value" >&5 25202$as_echo "$ac_cv_lib_cdata_libcdata_btree_remove_value" >&6; } 25203if test "x$ac_cv_lib_cdata_libcdata_btree_remove_value" = xyes; then : 25204 ac_cv_libcdata_dummy=yes 25205else 25206 ac_cv_libcdata=no 25207fi 25208 25209 25210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_initialize in -lcdata" >&5 25211$as_echo_n "checking for libcdata_list_initialize in -lcdata... " >&6; } 25212if ${ac_cv_lib_cdata_libcdata_list_initialize+:} false; then : 25213 $as_echo_n "(cached) " >&6 25214else 25215 ac_check_lib_save_LIBS=$LIBS 25216LIBS="-lcdata $LIBS" 25217cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25218/* end confdefs.h. */ 25219 25220/* Override any GCC internal prototype to avoid an error. 25221 Use char because int might match the return type of a GCC 25222 builtin and then its argument prototype would still apply. */ 25223#ifdef __cplusplus 25224extern "C" 25225#endif 25226char libcdata_list_initialize (); 25227int 25228main () 25229{ 25230return libcdata_list_initialize (); 25231 ; 25232 return 0; 25233} 25234_ACEOF 25235if ac_fn_c_try_link "$LINENO"; then : 25236 ac_cv_lib_cdata_libcdata_list_initialize=yes 25237else 25238 ac_cv_lib_cdata_libcdata_list_initialize=no 25239fi 25240rm -f core conftest.err conftest.$ac_objext \ 25241 conftest$ac_exeext conftest.$ac_ext 25242LIBS=$ac_check_lib_save_LIBS 25243fi 25244{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_initialize" >&5 25245$as_echo "$ac_cv_lib_cdata_libcdata_list_initialize" >&6; } 25246if test "x$ac_cv_lib_cdata_libcdata_list_initialize" = xyes; then : 25247 ac_cv_libcdata_dummy=yes 25248else 25249 ac_cv_libcdata=no 25250fi 25251 25252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_free in -lcdata" >&5 25253$as_echo_n "checking for libcdata_list_free in -lcdata... " >&6; } 25254if ${ac_cv_lib_cdata_libcdata_list_free+:} false; then : 25255 $as_echo_n "(cached) " >&6 25256else 25257 ac_check_lib_save_LIBS=$LIBS 25258LIBS="-lcdata $LIBS" 25259cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25260/* end confdefs.h. */ 25261 25262/* Override any GCC internal prototype to avoid an error. 25263 Use char because int might match the return type of a GCC 25264 builtin and then its argument prototype would still apply. */ 25265#ifdef __cplusplus 25266extern "C" 25267#endif 25268char libcdata_list_free (); 25269int 25270main () 25271{ 25272return libcdata_list_free (); 25273 ; 25274 return 0; 25275} 25276_ACEOF 25277if ac_fn_c_try_link "$LINENO"; then : 25278 ac_cv_lib_cdata_libcdata_list_free=yes 25279else 25280 ac_cv_lib_cdata_libcdata_list_free=no 25281fi 25282rm -f core conftest.err conftest.$ac_objext \ 25283 conftest$ac_exeext conftest.$ac_ext 25284LIBS=$ac_check_lib_save_LIBS 25285fi 25286{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_free" >&5 25287$as_echo "$ac_cv_lib_cdata_libcdata_list_free" >&6; } 25288if test "x$ac_cv_lib_cdata_libcdata_list_free" = xyes; then : 25289 ac_cv_libcdata_dummy=yes 25290else 25291 ac_cv_libcdata=no 25292fi 25293 25294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_empty in -lcdata" >&5 25295$as_echo_n "checking for libcdata_list_empty in -lcdata... " >&6; } 25296if ${ac_cv_lib_cdata_libcdata_list_empty+:} false; then : 25297 $as_echo_n "(cached) " >&6 25298else 25299 ac_check_lib_save_LIBS=$LIBS 25300LIBS="-lcdata $LIBS" 25301cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25302/* end confdefs.h. */ 25303 25304/* Override any GCC internal prototype to avoid an error. 25305 Use char because int might match the return type of a GCC 25306 builtin and then its argument prototype would still apply. */ 25307#ifdef __cplusplus 25308extern "C" 25309#endif 25310char libcdata_list_empty (); 25311int 25312main () 25313{ 25314return libcdata_list_empty (); 25315 ; 25316 return 0; 25317} 25318_ACEOF 25319if ac_fn_c_try_link "$LINENO"; then : 25320 ac_cv_lib_cdata_libcdata_list_empty=yes 25321else 25322 ac_cv_lib_cdata_libcdata_list_empty=no 25323fi 25324rm -f core conftest.err conftest.$ac_objext \ 25325 conftest$ac_exeext conftest.$ac_ext 25326LIBS=$ac_check_lib_save_LIBS 25327fi 25328{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_empty" >&5 25329$as_echo "$ac_cv_lib_cdata_libcdata_list_empty" >&6; } 25330if test "x$ac_cv_lib_cdata_libcdata_list_empty" = xyes; then : 25331 ac_cv_libcdata_dummy=yes 25332else 25333 ac_cv_libcdata=no 25334fi 25335 25336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_clone in -lcdata" >&5 25337$as_echo_n "checking for libcdata_list_clone in -lcdata... " >&6; } 25338if ${ac_cv_lib_cdata_libcdata_list_clone+:} false; then : 25339 $as_echo_n "(cached) " >&6 25340else 25341 ac_check_lib_save_LIBS=$LIBS 25342LIBS="-lcdata $LIBS" 25343cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25344/* end confdefs.h. */ 25345 25346/* Override any GCC internal prototype to avoid an error. 25347 Use char because int might match the return type of a GCC 25348 builtin and then its argument prototype would still apply. */ 25349#ifdef __cplusplus 25350extern "C" 25351#endif 25352char libcdata_list_clone (); 25353int 25354main () 25355{ 25356return libcdata_list_clone (); 25357 ; 25358 return 0; 25359} 25360_ACEOF 25361if ac_fn_c_try_link "$LINENO"; then : 25362 ac_cv_lib_cdata_libcdata_list_clone=yes 25363else 25364 ac_cv_lib_cdata_libcdata_list_clone=no 25365fi 25366rm -f core conftest.err conftest.$ac_objext \ 25367 conftest$ac_exeext conftest.$ac_ext 25368LIBS=$ac_check_lib_save_LIBS 25369fi 25370{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_clone" >&5 25371$as_echo "$ac_cv_lib_cdata_libcdata_list_clone" >&6; } 25372if test "x$ac_cv_lib_cdata_libcdata_list_clone" = xyes; then : 25373 ac_cv_libcdata_dummy=yes 25374else 25375 ac_cv_libcdata=no 25376fi 25377 25378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_get_number_of_elements in -lcdata" >&5 25379$as_echo_n "checking for libcdata_list_get_number_of_elements in -lcdata... " >&6; } 25380if ${ac_cv_lib_cdata_libcdata_list_get_number_of_elements+:} false; then : 25381 $as_echo_n "(cached) " >&6 25382else 25383 ac_check_lib_save_LIBS=$LIBS 25384LIBS="-lcdata $LIBS" 25385cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25386/* end confdefs.h. */ 25387 25388/* Override any GCC internal prototype to avoid an error. 25389 Use char because int might match the return type of a GCC 25390 builtin and then its argument prototype would still apply. */ 25391#ifdef __cplusplus 25392extern "C" 25393#endif 25394char libcdata_list_get_number_of_elements (); 25395int 25396main () 25397{ 25398return libcdata_list_get_number_of_elements (); 25399 ; 25400 return 0; 25401} 25402_ACEOF 25403if ac_fn_c_try_link "$LINENO"; then : 25404 ac_cv_lib_cdata_libcdata_list_get_number_of_elements=yes 25405else 25406 ac_cv_lib_cdata_libcdata_list_get_number_of_elements=no 25407fi 25408rm -f core conftest.err conftest.$ac_objext \ 25409 conftest$ac_exeext conftest.$ac_ext 25410LIBS=$ac_check_lib_save_LIBS 25411fi 25412{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_get_number_of_elements" >&5 25413$as_echo "$ac_cv_lib_cdata_libcdata_list_get_number_of_elements" >&6; } 25414if test "x$ac_cv_lib_cdata_libcdata_list_get_number_of_elements" = xyes; then : 25415 ac_cv_libcdata_dummy=yes 25416else 25417 ac_cv_libcdata=no 25418fi 25419 25420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_get_first_element in -lcdata" >&5 25421$as_echo_n "checking for libcdata_list_get_first_element in -lcdata... " >&6; } 25422if ${ac_cv_lib_cdata_libcdata_list_get_first_element+:} false; then : 25423 $as_echo_n "(cached) " >&6 25424else 25425 ac_check_lib_save_LIBS=$LIBS 25426LIBS="-lcdata $LIBS" 25427cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25428/* end confdefs.h. */ 25429 25430/* Override any GCC internal prototype to avoid an error. 25431 Use char because int might match the return type of a GCC 25432 builtin and then its argument prototype would still apply. */ 25433#ifdef __cplusplus 25434extern "C" 25435#endif 25436char libcdata_list_get_first_element (); 25437int 25438main () 25439{ 25440return libcdata_list_get_first_element (); 25441 ; 25442 return 0; 25443} 25444_ACEOF 25445if ac_fn_c_try_link "$LINENO"; then : 25446 ac_cv_lib_cdata_libcdata_list_get_first_element=yes 25447else 25448 ac_cv_lib_cdata_libcdata_list_get_first_element=no 25449fi 25450rm -f core conftest.err conftest.$ac_objext \ 25451 conftest$ac_exeext conftest.$ac_ext 25452LIBS=$ac_check_lib_save_LIBS 25453fi 25454{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_get_first_element" >&5 25455$as_echo "$ac_cv_lib_cdata_libcdata_list_get_first_element" >&6; } 25456if test "x$ac_cv_lib_cdata_libcdata_list_get_first_element" = xyes; then : 25457 ac_cv_libcdata_dummy=yes 25458else 25459 ac_cv_libcdata=no 25460fi 25461 25462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_get_last_element in -lcdata" >&5 25463$as_echo_n "checking for libcdata_list_get_last_element in -lcdata... " >&6; } 25464if ${ac_cv_lib_cdata_libcdata_list_get_last_element+:} false; then : 25465 $as_echo_n "(cached) " >&6 25466else 25467 ac_check_lib_save_LIBS=$LIBS 25468LIBS="-lcdata $LIBS" 25469cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25470/* end confdefs.h. */ 25471 25472/* Override any GCC internal prototype to avoid an error. 25473 Use char because int might match the return type of a GCC 25474 builtin and then its argument prototype would still apply. */ 25475#ifdef __cplusplus 25476extern "C" 25477#endif 25478char libcdata_list_get_last_element (); 25479int 25480main () 25481{ 25482return libcdata_list_get_last_element (); 25483 ; 25484 return 0; 25485} 25486_ACEOF 25487if ac_fn_c_try_link "$LINENO"; then : 25488 ac_cv_lib_cdata_libcdata_list_get_last_element=yes 25489else 25490 ac_cv_lib_cdata_libcdata_list_get_last_element=no 25491fi 25492rm -f core conftest.err conftest.$ac_objext \ 25493 conftest$ac_exeext conftest.$ac_ext 25494LIBS=$ac_check_lib_save_LIBS 25495fi 25496{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_get_last_element" >&5 25497$as_echo "$ac_cv_lib_cdata_libcdata_list_get_last_element" >&6; } 25498if test "x$ac_cv_lib_cdata_libcdata_list_get_last_element" = xyes; then : 25499 ac_cv_libcdata_dummy=yes 25500else 25501 ac_cv_libcdata=no 25502fi 25503 25504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_get_element_by_index in -lcdata" >&5 25505$as_echo_n "checking for libcdata_list_get_element_by_index in -lcdata... " >&6; } 25506if ${ac_cv_lib_cdata_libcdata_list_get_element_by_index+:} false; then : 25507 $as_echo_n "(cached) " >&6 25508else 25509 ac_check_lib_save_LIBS=$LIBS 25510LIBS="-lcdata $LIBS" 25511cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25512/* end confdefs.h. */ 25513 25514/* Override any GCC internal prototype to avoid an error. 25515 Use char because int might match the return type of a GCC 25516 builtin and then its argument prototype would still apply. */ 25517#ifdef __cplusplus 25518extern "C" 25519#endif 25520char libcdata_list_get_element_by_index (); 25521int 25522main () 25523{ 25524return libcdata_list_get_element_by_index (); 25525 ; 25526 return 0; 25527} 25528_ACEOF 25529if ac_fn_c_try_link "$LINENO"; then : 25530 ac_cv_lib_cdata_libcdata_list_get_element_by_index=yes 25531else 25532 ac_cv_lib_cdata_libcdata_list_get_element_by_index=no 25533fi 25534rm -f core conftest.err conftest.$ac_objext \ 25535 conftest$ac_exeext conftest.$ac_ext 25536LIBS=$ac_check_lib_save_LIBS 25537fi 25538{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_get_element_by_index" >&5 25539$as_echo "$ac_cv_lib_cdata_libcdata_list_get_element_by_index" >&6; } 25540if test "x$ac_cv_lib_cdata_libcdata_list_get_element_by_index" = xyes; then : 25541 ac_cv_libcdata_dummy=yes 25542else 25543 ac_cv_libcdata=no 25544fi 25545 25546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_get_value_by_index in -lcdata" >&5 25547$as_echo_n "checking for libcdata_list_get_value_by_index in -lcdata... " >&6; } 25548if ${ac_cv_lib_cdata_libcdata_list_get_value_by_index+:} false; then : 25549 $as_echo_n "(cached) " >&6 25550else 25551 ac_check_lib_save_LIBS=$LIBS 25552LIBS="-lcdata $LIBS" 25553cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25554/* end confdefs.h. */ 25555 25556/* Override any GCC internal prototype to avoid an error. 25557 Use char because int might match the return type of a GCC 25558 builtin and then its argument prototype would still apply. */ 25559#ifdef __cplusplus 25560extern "C" 25561#endif 25562char libcdata_list_get_value_by_index (); 25563int 25564main () 25565{ 25566return libcdata_list_get_value_by_index (); 25567 ; 25568 return 0; 25569} 25570_ACEOF 25571if ac_fn_c_try_link "$LINENO"; then : 25572 ac_cv_lib_cdata_libcdata_list_get_value_by_index=yes 25573else 25574 ac_cv_lib_cdata_libcdata_list_get_value_by_index=no 25575fi 25576rm -f core conftest.err conftest.$ac_objext \ 25577 conftest$ac_exeext conftest.$ac_ext 25578LIBS=$ac_check_lib_save_LIBS 25579fi 25580{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_get_value_by_index" >&5 25581$as_echo "$ac_cv_lib_cdata_libcdata_list_get_value_by_index" >&6; } 25582if test "x$ac_cv_lib_cdata_libcdata_list_get_value_by_index" = xyes; then : 25583 ac_cv_libcdata_dummy=yes 25584else 25585 ac_cv_libcdata=no 25586fi 25587 25588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_prepend_element in -lcdata" >&5 25589$as_echo_n "checking for libcdata_list_prepend_element in -lcdata... " >&6; } 25590if ${ac_cv_lib_cdata_libcdata_list_prepend_element+:} false; then : 25591 $as_echo_n "(cached) " >&6 25592else 25593 ac_check_lib_save_LIBS=$LIBS 25594LIBS="-lcdata $LIBS" 25595cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25596/* end confdefs.h. */ 25597 25598/* Override any GCC internal prototype to avoid an error. 25599 Use char because int might match the return type of a GCC 25600 builtin and then its argument prototype would still apply. */ 25601#ifdef __cplusplus 25602extern "C" 25603#endif 25604char libcdata_list_prepend_element (); 25605int 25606main () 25607{ 25608return libcdata_list_prepend_element (); 25609 ; 25610 return 0; 25611} 25612_ACEOF 25613if ac_fn_c_try_link "$LINENO"; then : 25614 ac_cv_lib_cdata_libcdata_list_prepend_element=yes 25615else 25616 ac_cv_lib_cdata_libcdata_list_prepend_element=no 25617fi 25618rm -f core conftest.err conftest.$ac_objext \ 25619 conftest$ac_exeext conftest.$ac_ext 25620LIBS=$ac_check_lib_save_LIBS 25621fi 25622{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_prepend_element" >&5 25623$as_echo "$ac_cv_lib_cdata_libcdata_list_prepend_element" >&6; } 25624if test "x$ac_cv_lib_cdata_libcdata_list_prepend_element" = xyes; then : 25625 ac_cv_libcdata_dummy=yes 25626else 25627 ac_cv_libcdata=no 25628fi 25629 25630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_prepend_value in -lcdata" >&5 25631$as_echo_n "checking for libcdata_list_prepend_value in -lcdata... " >&6; } 25632if ${ac_cv_lib_cdata_libcdata_list_prepend_value+:} false; then : 25633 $as_echo_n "(cached) " >&6 25634else 25635 ac_check_lib_save_LIBS=$LIBS 25636LIBS="-lcdata $LIBS" 25637cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25638/* end confdefs.h. */ 25639 25640/* Override any GCC internal prototype to avoid an error. 25641 Use char because int might match the return type of a GCC 25642 builtin and then its argument prototype would still apply. */ 25643#ifdef __cplusplus 25644extern "C" 25645#endif 25646char libcdata_list_prepend_value (); 25647int 25648main () 25649{ 25650return libcdata_list_prepend_value (); 25651 ; 25652 return 0; 25653} 25654_ACEOF 25655if ac_fn_c_try_link "$LINENO"; then : 25656 ac_cv_lib_cdata_libcdata_list_prepend_value=yes 25657else 25658 ac_cv_lib_cdata_libcdata_list_prepend_value=no 25659fi 25660rm -f core conftest.err conftest.$ac_objext \ 25661 conftest$ac_exeext conftest.$ac_ext 25662LIBS=$ac_check_lib_save_LIBS 25663fi 25664{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_prepend_value" >&5 25665$as_echo "$ac_cv_lib_cdata_libcdata_list_prepend_value" >&6; } 25666if test "x$ac_cv_lib_cdata_libcdata_list_prepend_value" = xyes; then : 25667 ac_cv_libcdata_dummy=yes 25668else 25669 ac_cv_libcdata=no 25670fi 25671 25672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_append_element in -lcdata" >&5 25673$as_echo_n "checking for libcdata_list_append_element in -lcdata... " >&6; } 25674if ${ac_cv_lib_cdata_libcdata_list_append_element+:} false; then : 25675 $as_echo_n "(cached) " >&6 25676else 25677 ac_check_lib_save_LIBS=$LIBS 25678LIBS="-lcdata $LIBS" 25679cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25680/* end confdefs.h. */ 25681 25682/* Override any GCC internal prototype to avoid an error. 25683 Use char because int might match the return type of a GCC 25684 builtin and then its argument prototype would still apply. */ 25685#ifdef __cplusplus 25686extern "C" 25687#endif 25688char libcdata_list_append_element (); 25689int 25690main () 25691{ 25692return libcdata_list_append_element (); 25693 ; 25694 return 0; 25695} 25696_ACEOF 25697if ac_fn_c_try_link "$LINENO"; then : 25698 ac_cv_lib_cdata_libcdata_list_append_element=yes 25699else 25700 ac_cv_lib_cdata_libcdata_list_append_element=no 25701fi 25702rm -f core conftest.err conftest.$ac_objext \ 25703 conftest$ac_exeext conftest.$ac_ext 25704LIBS=$ac_check_lib_save_LIBS 25705fi 25706{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_append_element" >&5 25707$as_echo "$ac_cv_lib_cdata_libcdata_list_append_element" >&6; } 25708if test "x$ac_cv_lib_cdata_libcdata_list_append_element" = xyes; then : 25709 ac_cv_libcdata_dummy=yes 25710else 25711 ac_cv_libcdata=no 25712fi 25713 25714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_append_value in -lcdata" >&5 25715$as_echo_n "checking for libcdata_list_append_value in -lcdata... " >&6; } 25716if ${ac_cv_lib_cdata_libcdata_list_append_value+:} false; then : 25717 $as_echo_n "(cached) " >&6 25718else 25719 ac_check_lib_save_LIBS=$LIBS 25720LIBS="-lcdata $LIBS" 25721cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25722/* end confdefs.h. */ 25723 25724/* Override any GCC internal prototype to avoid an error. 25725 Use char because int might match the return type of a GCC 25726 builtin and then its argument prototype would still apply. */ 25727#ifdef __cplusplus 25728extern "C" 25729#endif 25730char libcdata_list_append_value (); 25731int 25732main () 25733{ 25734return libcdata_list_append_value (); 25735 ; 25736 return 0; 25737} 25738_ACEOF 25739if ac_fn_c_try_link "$LINENO"; then : 25740 ac_cv_lib_cdata_libcdata_list_append_value=yes 25741else 25742 ac_cv_lib_cdata_libcdata_list_append_value=no 25743fi 25744rm -f core conftest.err conftest.$ac_objext \ 25745 conftest$ac_exeext conftest.$ac_ext 25746LIBS=$ac_check_lib_save_LIBS 25747fi 25748{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_append_value" >&5 25749$as_echo "$ac_cv_lib_cdata_libcdata_list_append_value" >&6; } 25750if test "x$ac_cv_lib_cdata_libcdata_list_append_value" = xyes; then : 25751 ac_cv_libcdata_dummy=yes 25752else 25753 ac_cv_libcdata=no 25754fi 25755 25756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_insert_element in -lcdata" >&5 25757$as_echo_n "checking for libcdata_list_insert_element in -lcdata... " >&6; } 25758if ${ac_cv_lib_cdata_libcdata_list_insert_element+:} false; then : 25759 $as_echo_n "(cached) " >&6 25760else 25761 ac_check_lib_save_LIBS=$LIBS 25762LIBS="-lcdata $LIBS" 25763cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25764/* end confdefs.h. */ 25765 25766/* Override any GCC internal prototype to avoid an error. 25767 Use char because int might match the return type of a GCC 25768 builtin and then its argument prototype would still apply. */ 25769#ifdef __cplusplus 25770extern "C" 25771#endif 25772char libcdata_list_insert_element (); 25773int 25774main () 25775{ 25776return libcdata_list_insert_element (); 25777 ; 25778 return 0; 25779} 25780_ACEOF 25781if ac_fn_c_try_link "$LINENO"; then : 25782 ac_cv_lib_cdata_libcdata_list_insert_element=yes 25783else 25784 ac_cv_lib_cdata_libcdata_list_insert_element=no 25785fi 25786rm -f core conftest.err conftest.$ac_objext \ 25787 conftest$ac_exeext conftest.$ac_ext 25788LIBS=$ac_check_lib_save_LIBS 25789fi 25790{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_insert_element" >&5 25791$as_echo "$ac_cv_lib_cdata_libcdata_list_insert_element" >&6; } 25792if test "x$ac_cv_lib_cdata_libcdata_list_insert_element" = xyes; then : 25793 ac_cv_libcdata_dummy=yes 25794else 25795 ac_cv_libcdata=no 25796fi 25797 25798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_insert_value in -lcdata" >&5 25799$as_echo_n "checking for libcdata_list_insert_value in -lcdata... " >&6; } 25800if ${ac_cv_lib_cdata_libcdata_list_insert_value+:} false; then : 25801 $as_echo_n "(cached) " >&6 25802else 25803 ac_check_lib_save_LIBS=$LIBS 25804LIBS="-lcdata $LIBS" 25805cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25806/* end confdefs.h. */ 25807 25808/* Override any GCC internal prototype to avoid an error. 25809 Use char because int might match the return type of a GCC 25810 builtin and then its argument prototype would still apply. */ 25811#ifdef __cplusplus 25812extern "C" 25813#endif 25814char libcdata_list_insert_value (); 25815int 25816main () 25817{ 25818return libcdata_list_insert_value (); 25819 ; 25820 return 0; 25821} 25822_ACEOF 25823if ac_fn_c_try_link "$LINENO"; then : 25824 ac_cv_lib_cdata_libcdata_list_insert_value=yes 25825else 25826 ac_cv_lib_cdata_libcdata_list_insert_value=no 25827fi 25828rm -f core conftest.err conftest.$ac_objext \ 25829 conftest$ac_exeext conftest.$ac_ext 25830LIBS=$ac_check_lib_save_LIBS 25831fi 25832{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_insert_value" >&5 25833$as_echo "$ac_cv_lib_cdata_libcdata_list_insert_value" >&6; } 25834if test "x$ac_cv_lib_cdata_libcdata_list_insert_value" = xyes; then : 25835 ac_cv_libcdata_dummy=yes 25836else 25837 ac_cv_libcdata=no 25838fi 25839 25840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_remove_element in -lcdata" >&5 25841$as_echo_n "checking for libcdata_list_remove_element in -lcdata... " >&6; } 25842if ${ac_cv_lib_cdata_libcdata_list_remove_element+:} false; then : 25843 $as_echo_n "(cached) " >&6 25844else 25845 ac_check_lib_save_LIBS=$LIBS 25846LIBS="-lcdata $LIBS" 25847cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25848/* end confdefs.h. */ 25849 25850/* Override any GCC internal prototype to avoid an error. 25851 Use char because int might match the return type of a GCC 25852 builtin and then its argument prototype would still apply. */ 25853#ifdef __cplusplus 25854extern "C" 25855#endif 25856char libcdata_list_remove_element (); 25857int 25858main () 25859{ 25860return libcdata_list_remove_element (); 25861 ; 25862 return 0; 25863} 25864_ACEOF 25865if ac_fn_c_try_link "$LINENO"; then : 25866 ac_cv_lib_cdata_libcdata_list_remove_element=yes 25867else 25868 ac_cv_lib_cdata_libcdata_list_remove_element=no 25869fi 25870rm -f core conftest.err conftest.$ac_objext \ 25871 conftest$ac_exeext conftest.$ac_ext 25872LIBS=$ac_check_lib_save_LIBS 25873fi 25874{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_remove_element" >&5 25875$as_echo "$ac_cv_lib_cdata_libcdata_list_remove_element" >&6; } 25876if test "x$ac_cv_lib_cdata_libcdata_list_remove_element" = xyes; then : 25877 ac_cv_libcdata_dummy=yes 25878else 25879 ac_cv_libcdata=no 25880fi 25881 25882 25883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_initialize in -lcdata" >&5 25884$as_echo_n "checking for libcdata_list_element_initialize in -lcdata... " >&6; } 25885if ${ac_cv_lib_cdata_libcdata_list_element_initialize+:} false; then : 25886 $as_echo_n "(cached) " >&6 25887else 25888 ac_check_lib_save_LIBS=$LIBS 25889LIBS="-lcdata $LIBS" 25890cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25891/* end confdefs.h. */ 25892 25893/* Override any GCC internal prototype to avoid an error. 25894 Use char because int might match the return type of a GCC 25895 builtin and then its argument prototype would still apply. */ 25896#ifdef __cplusplus 25897extern "C" 25898#endif 25899char libcdata_list_element_initialize (); 25900int 25901main () 25902{ 25903return libcdata_list_element_initialize (); 25904 ; 25905 return 0; 25906} 25907_ACEOF 25908if ac_fn_c_try_link "$LINENO"; then : 25909 ac_cv_lib_cdata_libcdata_list_element_initialize=yes 25910else 25911 ac_cv_lib_cdata_libcdata_list_element_initialize=no 25912fi 25913rm -f core conftest.err conftest.$ac_objext \ 25914 conftest$ac_exeext conftest.$ac_ext 25915LIBS=$ac_check_lib_save_LIBS 25916fi 25917{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_initialize" >&5 25918$as_echo "$ac_cv_lib_cdata_libcdata_list_element_initialize" >&6; } 25919if test "x$ac_cv_lib_cdata_libcdata_list_element_initialize" = xyes; then : 25920 ac_cv_libcdata_dummy=yes 25921else 25922 ac_cv_libcdata=no 25923fi 25924 25925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_free in -lcdata" >&5 25926$as_echo_n "checking for libcdata_list_element_free in -lcdata... " >&6; } 25927if ${ac_cv_lib_cdata_libcdata_list_element_free+:} false; then : 25928 $as_echo_n "(cached) " >&6 25929else 25930 ac_check_lib_save_LIBS=$LIBS 25931LIBS="-lcdata $LIBS" 25932cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25933/* end confdefs.h. */ 25934 25935/* Override any GCC internal prototype to avoid an error. 25936 Use char because int might match the return type of a GCC 25937 builtin and then its argument prototype would still apply. */ 25938#ifdef __cplusplus 25939extern "C" 25940#endif 25941char libcdata_list_element_free (); 25942int 25943main () 25944{ 25945return libcdata_list_element_free (); 25946 ; 25947 return 0; 25948} 25949_ACEOF 25950if ac_fn_c_try_link "$LINENO"; then : 25951 ac_cv_lib_cdata_libcdata_list_element_free=yes 25952else 25953 ac_cv_lib_cdata_libcdata_list_element_free=no 25954fi 25955rm -f core conftest.err conftest.$ac_objext \ 25956 conftest$ac_exeext conftest.$ac_ext 25957LIBS=$ac_check_lib_save_LIBS 25958fi 25959{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_free" >&5 25960$as_echo "$ac_cv_lib_cdata_libcdata_list_element_free" >&6; } 25961if test "x$ac_cv_lib_cdata_libcdata_list_element_free" = xyes; then : 25962 ac_cv_libcdata_dummy=yes 25963else 25964 ac_cv_libcdata=no 25965fi 25966 25967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_get_value in -lcdata" >&5 25968$as_echo_n "checking for libcdata_list_element_get_value in -lcdata... " >&6; } 25969if ${ac_cv_lib_cdata_libcdata_list_element_get_value+:} false; then : 25970 $as_echo_n "(cached) " >&6 25971else 25972 ac_check_lib_save_LIBS=$LIBS 25973LIBS="-lcdata $LIBS" 25974cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25975/* end confdefs.h. */ 25976 25977/* Override any GCC internal prototype to avoid an error. 25978 Use char because int might match the return type of a GCC 25979 builtin and then its argument prototype would still apply. */ 25980#ifdef __cplusplus 25981extern "C" 25982#endif 25983char libcdata_list_element_get_value (); 25984int 25985main () 25986{ 25987return libcdata_list_element_get_value (); 25988 ; 25989 return 0; 25990} 25991_ACEOF 25992if ac_fn_c_try_link "$LINENO"; then : 25993 ac_cv_lib_cdata_libcdata_list_element_get_value=yes 25994else 25995 ac_cv_lib_cdata_libcdata_list_element_get_value=no 25996fi 25997rm -f core conftest.err conftest.$ac_objext \ 25998 conftest$ac_exeext conftest.$ac_ext 25999LIBS=$ac_check_lib_save_LIBS 26000fi 26001{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_get_value" >&5 26002$as_echo "$ac_cv_lib_cdata_libcdata_list_element_get_value" >&6; } 26003if test "x$ac_cv_lib_cdata_libcdata_list_element_get_value" = xyes; then : 26004 ac_cv_libcdata_dummy=yes 26005else 26006 ac_cv_libcdata=no 26007fi 26008 26009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_set_value in -lcdata" >&5 26010$as_echo_n "checking for libcdata_list_element_set_value in -lcdata... " >&6; } 26011if ${ac_cv_lib_cdata_libcdata_list_element_set_value+:} false; then : 26012 $as_echo_n "(cached) " >&6 26013else 26014 ac_check_lib_save_LIBS=$LIBS 26015LIBS="-lcdata $LIBS" 26016cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26017/* end confdefs.h. */ 26018 26019/* Override any GCC internal prototype to avoid an error. 26020 Use char because int might match the return type of a GCC 26021 builtin and then its argument prototype would still apply. */ 26022#ifdef __cplusplus 26023extern "C" 26024#endif 26025char libcdata_list_element_set_value (); 26026int 26027main () 26028{ 26029return libcdata_list_element_set_value (); 26030 ; 26031 return 0; 26032} 26033_ACEOF 26034if ac_fn_c_try_link "$LINENO"; then : 26035 ac_cv_lib_cdata_libcdata_list_element_set_value=yes 26036else 26037 ac_cv_lib_cdata_libcdata_list_element_set_value=no 26038fi 26039rm -f core conftest.err conftest.$ac_objext \ 26040 conftest$ac_exeext conftest.$ac_ext 26041LIBS=$ac_check_lib_save_LIBS 26042fi 26043{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_set_value" >&5 26044$as_echo "$ac_cv_lib_cdata_libcdata_list_element_set_value" >&6; } 26045if test "x$ac_cv_lib_cdata_libcdata_list_element_set_value" = xyes; then : 26046 ac_cv_libcdata_dummy=yes 26047else 26048 ac_cv_libcdata=no 26049fi 26050 26051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_get_previous_element in -lcdata" >&5 26052$as_echo_n "checking for libcdata_list_element_get_previous_element in -lcdata... " >&6; } 26053if ${ac_cv_lib_cdata_libcdata_list_element_get_previous_element+:} false; then : 26054 $as_echo_n "(cached) " >&6 26055else 26056 ac_check_lib_save_LIBS=$LIBS 26057LIBS="-lcdata $LIBS" 26058cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26059/* end confdefs.h. */ 26060 26061/* Override any GCC internal prototype to avoid an error. 26062 Use char because int might match the return type of a GCC 26063 builtin and then its argument prototype would still apply. */ 26064#ifdef __cplusplus 26065extern "C" 26066#endif 26067char libcdata_list_element_get_previous_element (); 26068int 26069main () 26070{ 26071return libcdata_list_element_get_previous_element (); 26072 ; 26073 return 0; 26074} 26075_ACEOF 26076if ac_fn_c_try_link "$LINENO"; then : 26077 ac_cv_lib_cdata_libcdata_list_element_get_previous_element=yes 26078else 26079 ac_cv_lib_cdata_libcdata_list_element_get_previous_element=no 26080fi 26081rm -f core conftest.err conftest.$ac_objext \ 26082 conftest$ac_exeext conftest.$ac_ext 26083LIBS=$ac_check_lib_save_LIBS 26084fi 26085{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_get_previous_element" >&5 26086$as_echo "$ac_cv_lib_cdata_libcdata_list_element_get_previous_element" >&6; } 26087if test "x$ac_cv_lib_cdata_libcdata_list_element_get_previous_element" = xyes; then : 26088 ac_cv_libcdata_dummy=yes 26089else 26090 ac_cv_libcdata=no 26091fi 26092 26093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_set_previous_element in -lcdata" >&5 26094$as_echo_n "checking for libcdata_list_element_set_previous_element in -lcdata... " >&6; } 26095if ${ac_cv_lib_cdata_libcdata_list_element_set_previous_element+:} false; then : 26096 $as_echo_n "(cached) " >&6 26097else 26098 ac_check_lib_save_LIBS=$LIBS 26099LIBS="-lcdata $LIBS" 26100cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26101/* end confdefs.h. */ 26102 26103/* Override any GCC internal prototype to avoid an error. 26104 Use char because int might match the return type of a GCC 26105 builtin and then its argument prototype would still apply. */ 26106#ifdef __cplusplus 26107extern "C" 26108#endif 26109char libcdata_list_element_set_previous_element (); 26110int 26111main () 26112{ 26113return libcdata_list_element_set_previous_element (); 26114 ; 26115 return 0; 26116} 26117_ACEOF 26118if ac_fn_c_try_link "$LINENO"; then : 26119 ac_cv_lib_cdata_libcdata_list_element_set_previous_element=yes 26120else 26121 ac_cv_lib_cdata_libcdata_list_element_set_previous_element=no 26122fi 26123rm -f core conftest.err conftest.$ac_objext \ 26124 conftest$ac_exeext conftest.$ac_ext 26125LIBS=$ac_check_lib_save_LIBS 26126fi 26127{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_set_previous_element" >&5 26128$as_echo "$ac_cv_lib_cdata_libcdata_list_element_set_previous_element" >&6; } 26129if test "x$ac_cv_lib_cdata_libcdata_list_element_set_previous_element" = xyes; then : 26130 ac_cv_libcdata_dummy=yes 26131else 26132 ac_cv_libcdata=no 26133fi 26134 26135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_get_next_element in -lcdata" >&5 26136$as_echo_n "checking for libcdata_list_element_get_next_element in -lcdata... " >&6; } 26137if ${ac_cv_lib_cdata_libcdata_list_element_get_next_element+:} false; then : 26138 $as_echo_n "(cached) " >&6 26139else 26140 ac_check_lib_save_LIBS=$LIBS 26141LIBS="-lcdata $LIBS" 26142cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26143/* end confdefs.h. */ 26144 26145/* Override any GCC internal prototype to avoid an error. 26146 Use char because int might match the return type of a GCC 26147 builtin and then its argument prototype would still apply. */ 26148#ifdef __cplusplus 26149extern "C" 26150#endif 26151char libcdata_list_element_get_next_element (); 26152int 26153main () 26154{ 26155return libcdata_list_element_get_next_element (); 26156 ; 26157 return 0; 26158} 26159_ACEOF 26160if ac_fn_c_try_link "$LINENO"; then : 26161 ac_cv_lib_cdata_libcdata_list_element_get_next_element=yes 26162else 26163 ac_cv_lib_cdata_libcdata_list_element_get_next_element=no 26164fi 26165rm -f core conftest.err conftest.$ac_objext \ 26166 conftest$ac_exeext conftest.$ac_ext 26167LIBS=$ac_check_lib_save_LIBS 26168fi 26169{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_get_next_element" >&5 26170$as_echo "$ac_cv_lib_cdata_libcdata_list_element_get_next_element" >&6; } 26171if test "x$ac_cv_lib_cdata_libcdata_list_element_get_next_element" = xyes; then : 26172 ac_cv_libcdata_dummy=yes 26173else 26174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_set_next_element in -lcdata" >&5 26175$as_echo_n "checking for libcdata_list_element_set_next_element in -lcdata... " >&6; } 26176if ${ac_cv_lib_cdata_libcdata_list_element_set_next_element+:} false; then : 26177 $as_echo_n "(cached) " >&6 26178else 26179 ac_check_lib_save_LIBS=$LIBS 26180LIBS="-lcdata $LIBS" 26181cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26182/* end confdefs.h. */ 26183 26184/* Override any GCC internal prototype to avoid an error. 26185 Use char because int might match the return type of a GCC 26186 builtin and then its argument prototype would still apply. */ 26187#ifdef __cplusplus 26188extern "C" 26189#endif 26190char libcdata_list_element_set_next_element (); 26191int 26192main () 26193{ 26194return libcdata_list_element_set_next_element (); 26195 ; 26196 return 0; 26197} 26198_ACEOF 26199if ac_fn_c_try_link "$LINENO"; then : 26200 ac_cv_lib_cdata_libcdata_list_element_set_next_element=yes 26201else 26202 ac_cv_lib_cdata_libcdata_list_element_set_next_element=no 26203fi 26204rm -f core conftest.err conftest.$ac_objext \ 26205 conftest$ac_exeext conftest.$ac_ext 26206LIBS=$ac_check_lib_save_LIBS 26207fi 26208{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_set_next_element" >&5 26209$as_echo "$ac_cv_lib_cdata_libcdata_list_element_set_next_element" >&6; } 26210if test "x$ac_cv_lib_cdata_libcdata_list_element_set_next_element" = xyes; then : 26211 ac_cv_libcdata_dummy=yes 26212else 26213 ac_cv_libcdata=no 26214fi 26215 26216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_get_elements in -lcdata" >&5 26217$as_echo_n "checking for libcdata_list_element_get_elements in -lcdata... " >&6; } 26218if ${ac_cv_lib_cdata_libcdata_list_element_get_elements+:} false; then : 26219 $as_echo_n "(cached) " >&6 26220else 26221 ac_check_lib_save_LIBS=$LIBS 26222LIBS="-lcdata $LIBS" 26223cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26224/* end confdefs.h. */ 26225 26226/* Override any GCC internal prototype to avoid an error. 26227 Use char because int might match the return type of a GCC 26228 builtin and then its argument prototype would still apply. */ 26229#ifdef __cplusplus 26230extern "C" 26231#endif 26232char libcdata_list_element_get_elements (); 26233int 26234main () 26235{ 26236return libcdata_list_element_get_elements (); 26237 ; 26238 return 0; 26239} 26240_ACEOF 26241if ac_fn_c_try_link "$LINENO"; then : 26242 ac_cv_lib_cdata_libcdata_list_element_get_elements=yes 26243else 26244 ac_cv_lib_cdata_libcdata_list_element_get_elements=no 26245fi 26246rm -f core conftest.err conftest.$ac_objext \ 26247 conftest$ac_exeext conftest.$ac_ext 26248LIBS=$ac_check_lib_save_LIBS 26249fi 26250{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_get_elements" >&5 26251$as_echo "$ac_cv_lib_cdata_libcdata_list_element_get_elements" >&6; } 26252if test "x$ac_cv_lib_cdata_libcdata_list_element_get_elements" = xyes; then : 26253 ac_cv_libcdata_dummy=yes 26254else 26255 ac_cv_libcdata=no 26256fi 26257 26258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_set_elements in -lcdata" >&5 26259$as_echo_n "checking for libcdata_list_element_set_elements in -lcdata... " >&6; } 26260if ${ac_cv_lib_cdata_libcdata_list_element_set_elements+:} false; then : 26261 $as_echo_n "(cached) " >&6 26262else 26263 ac_check_lib_save_LIBS=$LIBS 26264LIBS="-lcdata $LIBS" 26265cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26266/* end confdefs.h. */ 26267 26268/* Override any GCC internal prototype to avoid an error. 26269 Use char because int might match the return type of a GCC 26270 builtin and then its argument prototype would still apply. */ 26271#ifdef __cplusplus 26272extern "C" 26273#endif 26274char libcdata_list_element_set_elements (); 26275int 26276main () 26277{ 26278return libcdata_list_element_set_elements (); 26279 ; 26280 return 0; 26281} 26282_ACEOF 26283if ac_fn_c_try_link "$LINENO"; then : 26284 ac_cv_lib_cdata_libcdata_list_element_set_elements=yes 26285else 26286 ac_cv_lib_cdata_libcdata_list_element_set_elements=no 26287fi 26288rm -f core conftest.err conftest.$ac_objext \ 26289 conftest$ac_exeext conftest.$ac_ext 26290LIBS=$ac_check_lib_save_LIBS 26291fi 26292{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_set_elements" >&5 26293$as_echo "$ac_cv_lib_cdata_libcdata_list_element_set_elements" >&6; } 26294if test "x$ac_cv_lib_cdata_libcdata_list_element_set_elements" = xyes; then : 26295 ac_cv_libcdata_dummy=yes 26296else 26297 ac_cv_libcdata=no 26298fi 26299 26300 ac_cv_libcdata=no 26301fi 26302 26303 26304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_initialize in -lcdata" >&5 26305$as_echo_n "checking for libcdata_range_list_initialize in -lcdata... " >&6; } 26306if ${ac_cv_lib_cdata_libcdata_range_list_initialize+:} false; then : 26307 $as_echo_n "(cached) " >&6 26308else 26309 ac_check_lib_save_LIBS=$LIBS 26310LIBS="-lcdata $LIBS" 26311cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26312/* end confdefs.h. */ 26313 26314/* Override any GCC internal prototype to avoid an error. 26315 Use char because int might match the return type of a GCC 26316 builtin and then its argument prototype would still apply. */ 26317#ifdef __cplusplus 26318extern "C" 26319#endif 26320char libcdata_range_list_initialize (); 26321int 26322main () 26323{ 26324return libcdata_range_list_initialize (); 26325 ; 26326 return 0; 26327} 26328_ACEOF 26329if ac_fn_c_try_link "$LINENO"; then : 26330 ac_cv_lib_cdata_libcdata_range_list_initialize=yes 26331else 26332 ac_cv_lib_cdata_libcdata_range_list_initialize=no 26333fi 26334rm -f core conftest.err conftest.$ac_objext \ 26335 conftest$ac_exeext conftest.$ac_ext 26336LIBS=$ac_check_lib_save_LIBS 26337fi 26338{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_initialize" >&5 26339$as_echo "$ac_cv_lib_cdata_libcdata_range_list_initialize" >&6; } 26340if test "x$ac_cv_lib_cdata_libcdata_range_list_initialize" = xyes; then : 26341 ac_cv_libcdata_dummy=yes 26342else 26343 ac_cv_libcdata=no 26344fi 26345 26346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_free in -lcdata" >&5 26347$as_echo_n "checking for libcdata_range_list_free in -lcdata... " >&6; } 26348if ${ac_cv_lib_cdata_libcdata_range_list_free+:} false; then : 26349 $as_echo_n "(cached) " >&6 26350else 26351 ac_check_lib_save_LIBS=$LIBS 26352LIBS="-lcdata $LIBS" 26353cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26354/* end confdefs.h. */ 26355 26356/* Override any GCC internal prototype to avoid an error. 26357 Use char because int might match the return type of a GCC 26358 builtin and then its argument prototype would still apply. */ 26359#ifdef __cplusplus 26360extern "C" 26361#endif 26362char libcdata_range_list_free (); 26363int 26364main () 26365{ 26366return libcdata_range_list_free (); 26367 ; 26368 return 0; 26369} 26370_ACEOF 26371if ac_fn_c_try_link "$LINENO"; then : 26372 ac_cv_lib_cdata_libcdata_range_list_free=yes 26373else 26374 ac_cv_lib_cdata_libcdata_range_list_free=no 26375fi 26376rm -f core conftest.err conftest.$ac_objext \ 26377 conftest$ac_exeext conftest.$ac_ext 26378LIBS=$ac_check_lib_save_LIBS 26379fi 26380{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_free" >&5 26381$as_echo "$ac_cv_lib_cdata_libcdata_range_list_free" >&6; } 26382if test "x$ac_cv_lib_cdata_libcdata_range_list_free" = xyes; then : 26383 ac_cv_libcdata_dummy=yes 26384else 26385 ac_cv_libcdata=no 26386fi 26387 26388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_empty in -lcdata" >&5 26389$as_echo_n "checking for libcdata_range_list_empty in -lcdata... " >&6; } 26390if ${ac_cv_lib_cdata_libcdata_range_list_empty+:} false; then : 26391 $as_echo_n "(cached) " >&6 26392else 26393 ac_check_lib_save_LIBS=$LIBS 26394LIBS="-lcdata $LIBS" 26395cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26396/* end confdefs.h. */ 26397 26398/* Override any GCC internal prototype to avoid an error. 26399 Use char because int might match the return type of a GCC 26400 builtin and then its argument prototype would still apply. */ 26401#ifdef __cplusplus 26402extern "C" 26403#endif 26404char libcdata_range_list_empty (); 26405int 26406main () 26407{ 26408return libcdata_range_list_empty (); 26409 ; 26410 return 0; 26411} 26412_ACEOF 26413if ac_fn_c_try_link "$LINENO"; then : 26414 ac_cv_lib_cdata_libcdata_range_list_empty=yes 26415else 26416 ac_cv_lib_cdata_libcdata_range_list_empty=no 26417fi 26418rm -f core conftest.err conftest.$ac_objext \ 26419 conftest$ac_exeext conftest.$ac_ext 26420LIBS=$ac_check_lib_save_LIBS 26421fi 26422{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_empty" >&5 26423$as_echo "$ac_cv_lib_cdata_libcdata_range_list_empty" >&6; } 26424if test "x$ac_cv_lib_cdata_libcdata_range_list_empty" = xyes; then : 26425 ac_cv_libcdata_dummy=yes 26426else 26427 ac_cv_libcdata=no 26428fi 26429 26430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_clone in -lcdata" >&5 26431$as_echo_n "checking for libcdata_range_list_clone in -lcdata... " >&6; } 26432if ${ac_cv_lib_cdata_libcdata_range_list_clone+:} false; then : 26433 $as_echo_n "(cached) " >&6 26434else 26435 ac_check_lib_save_LIBS=$LIBS 26436LIBS="-lcdata $LIBS" 26437cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26438/* end confdefs.h. */ 26439 26440/* Override any GCC internal prototype to avoid an error. 26441 Use char because int might match the return type of a GCC 26442 builtin and then its argument prototype would still apply. */ 26443#ifdef __cplusplus 26444extern "C" 26445#endif 26446char libcdata_range_list_clone (); 26447int 26448main () 26449{ 26450return libcdata_range_list_clone (); 26451 ; 26452 return 0; 26453} 26454_ACEOF 26455if ac_fn_c_try_link "$LINENO"; then : 26456 ac_cv_lib_cdata_libcdata_range_list_clone=yes 26457else 26458 ac_cv_lib_cdata_libcdata_range_list_clone=no 26459fi 26460rm -f core conftest.err conftest.$ac_objext \ 26461 conftest$ac_exeext conftest.$ac_ext 26462LIBS=$ac_check_lib_save_LIBS 26463fi 26464{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_clone" >&5 26465$as_echo "$ac_cv_lib_cdata_libcdata_range_list_clone" >&6; } 26466if test "x$ac_cv_lib_cdata_libcdata_range_list_clone" = xyes; then : 26467 ac_cv_libcdata_dummy=yes 26468else 26469 ac_cv_libcdata=no 26470fi 26471 26472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_get_number_of_elements in -lcdata" >&5 26473$as_echo_n "checking for libcdata_range_list_get_number_of_elements in -lcdata... " >&6; } 26474if ${ac_cv_lib_cdata_libcdata_range_list_get_number_of_elements+:} false; then : 26475 $as_echo_n "(cached) " >&6 26476else 26477 ac_check_lib_save_LIBS=$LIBS 26478LIBS="-lcdata $LIBS" 26479cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26480/* end confdefs.h. */ 26481 26482/* Override any GCC internal prototype to avoid an error. 26483 Use char because int might match the return type of a GCC 26484 builtin and then its argument prototype would still apply. */ 26485#ifdef __cplusplus 26486extern "C" 26487#endif 26488char libcdata_range_list_get_number_of_elements (); 26489int 26490main () 26491{ 26492return libcdata_range_list_get_number_of_elements (); 26493 ; 26494 return 0; 26495} 26496_ACEOF 26497if ac_fn_c_try_link "$LINENO"; then : 26498 ac_cv_lib_cdata_libcdata_range_list_get_number_of_elements=yes 26499else 26500 ac_cv_lib_cdata_libcdata_range_list_get_number_of_elements=no 26501fi 26502rm -f core conftest.err conftest.$ac_objext \ 26503 conftest$ac_exeext conftest.$ac_ext 26504LIBS=$ac_check_lib_save_LIBS 26505fi 26506{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_get_number_of_elements" >&5 26507$as_echo "$ac_cv_lib_cdata_libcdata_range_list_get_number_of_elements" >&6; } 26508if test "x$ac_cv_lib_cdata_libcdata_range_list_get_number_of_elements" = xyes; then : 26509 ac_cv_libcdata_dummy=yes 26510else 26511 ac_cv_libcdata=no 26512fi 26513 26514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_insert_range in -lcdata" >&5 26515$as_echo_n "checking for libcdata_range_list_insert_range in -lcdata... " >&6; } 26516if ${ac_cv_lib_cdata_libcdata_range_list_insert_range+:} false; then : 26517 $as_echo_n "(cached) " >&6 26518else 26519 ac_check_lib_save_LIBS=$LIBS 26520LIBS="-lcdata $LIBS" 26521cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26522/* end confdefs.h. */ 26523 26524/* Override any GCC internal prototype to avoid an error. 26525 Use char because int might match the return type of a GCC 26526 builtin and then its argument prototype would still apply. */ 26527#ifdef __cplusplus 26528extern "C" 26529#endif 26530char libcdata_range_list_insert_range (); 26531int 26532main () 26533{ 26534return libcdata_range_list_insert_range (); 26535 ; 26536 return 0; 26537} 26538_ACEOF 26539if ac_fn_c_try_link "$LINENO"; then : 26540 ac_cv_lib_cdata_libcdata_range_list_insert_range=yes 26541else 26542 ac_cv_lib_cdata_libcdata_range_list_insert_range=no 26543fi 26544rm -f core conftest.err conftest.$ac_objext \ 26545 conftest$ac_exeext conftest.$ac_ext 26546LIBS=$ac_check_lib_save_LIBS 26547fi 26548{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_insert_range" >&5 26549$as_echo "$ac_cv_lib_cdata_libcdata_range_list_insert_range" >&6; } 26550if test "x$ac_cv_lib_cdata_libcdata_range_list_insert_range" = xyes; then : 26551 ac_cv_libcdata_dummy=yes 26552else 26553 ac_cv_libcdata=no 26554fi 26555 26556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_insert_range_list in -lcdata" >&5 26557$as_echo_n "checking for libcdata_range_list_insert_range_list in -lcdata... " >&6; } 26558if ${ac_cv_lib_cdata_libcdata_range_list_insert_range_list+:} false; then : 26559 $as_echo_n "(cached) " >&6 26560else 26561 ac_check_lib_save_LIBS=$LIBS 26562LIBS="-lcdata $LIBS" 26563cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26564/* end confdefs.h. */ 26565 26566/* Override any GCC internal prototype to avoid an error. 26567 Use char because int might match the return type of a GCC 26568 builtin and then its argument prototype would still apply. */ 26569#ifdef __cplusplus 26570extern "C" 26571#endif 26572char libcdata_range_list_insert_range_list (); 26573int 26574main () 26575{ 26576return libcdata_range_list_insert_range_list (); 26577 ; 26578 return 0; 26579} 26580_ACEOF 26581if ac_fn_c_try_link "$LINENO"; then : 26582 ac_cv_lib_cdata_libcdata_range_list_insert_range_list=yes 26583else 26584 ac_cv_lib_cdata_libcdata_range_list_insert_range_list=no 26585fi 26586rm -f core conftest.err conftest.$ac_objext \ 26587 conftest$ac_exeext conftest.$ac_ext 26588LIBS=$ac_check_lib_save_LIBS 26589fi 26590{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_insert_range_list" >&5 26591$as_echo "$ac_cv_lib_cdata_libcdata_range_list_insert_range_list" >&6; } 26592if test "x$ac_cv_lib_cdata_libcdata_range_list_insert_range_list" = xyes; then : 26593 ac_cv_libcdata_dummy=yes 26594else 26595 ac_cv_libcdata=no 26596fi 26597 26598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_remove_range in -lcdata" >&5 26599$as_echo_n "checking for libcdata_range_list_remove_range in -lcdata... " >&6; } 26600if ${ac_cv_lib_cdata_libcdata_range_list_remove_range+:} false; then : 26601 $as_echo_n "(cached) " >&6 26602else 26603 ac_check_lib_save_LIBS=$LIBS 26604LIBS="-lcdata $LIBS" 26605cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26606/* end confdefs.h. */ 26607 26608/* Override any GCC internal prototype to avoid an error. 26609 Use char because int might match the return type of a GCC 26610 builtin and then its argument prototype would still apply. */ 26611#ifdef __cplusplus 26612extern "C" 26613#endif 26614char libcdata_range_list_remove_range (); 26615int 26616main () 26617{ 26618return libcdata_range_list_remove_range (); 26619 ; 26620 return 0; 26621} 26622_ACEOF 26623if ac_fn_c_try_link "$LINENO"; then : 26624 ac_cv_lib_cdata_libcdata_range_list_remove_range=yes 26625else 26626 ac_cv_lib_cdata_libcdata_range_list_remove_range=no 26627fi 26628rm -f core conftest.err conftest.$ac_objext \ 26629 conftest$ac_exeext conftest.$ac_ext 26630LIBS=$ac_check_lib_save_LIBS 26631fi 26632{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_remove_range" >&5 26633$as_echo "$ac_cv_lib_cdata_libcdata_range_list_remove_range" >&6; } 26634if test "x$ac_cv_lib_cdata_libcdata_range_list_remove_range" = xyes; then : 26635 ac_cv_libcdata_dummy=yes 26636else 26637 ac_cv_libcdata=no 26638fi 26639 26640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_get_range_by_index in -lcdata" >&5 26641$as_echo_n "checking for libcdata_range_list_get_range_by_index in -lcdata... " >&6; } 26642if ${ac_cv_lib_cdata_libcdata_range_list_get_range_by_index+:} false; then : 26643 $as_echo_n "(cached) " >&6 26644else 26645 ac_check_lib_save_LIBS=$LIBS 26646LIBS="-lcdata $LIBS" 26647cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26648/* end confdefs.h. */ 26649 26650/* Override any GCC internal prototype to avoid an error. 26651 Use char because int might match the return type of a GCC 26652 builtin and then its argument prototype would still apply. */ 26653#ifdef __cplusplus 26654extern "C" 26655#endif 26656char libcdata_range_list_get_range_by_index (); 26657int 26658main () 26659{ 26660return libcdata_range_list_get_range_by_index (); 26661 ; 26662 return 0; 26663} 26664_ACEOF 26665if ac_fn_c_try_link "$LINENO"; then : 26666 ac_cv_lib_cdata_libcdata_range_list_get_range_by_index=yes 26667else 26668 ac_cv_lib_cdata_libcdata_range_list_get_range_by_index=no 26669fi 26670rm -f core conftest.err conftest.$ac_objext \ 26671 conftest$ac_exeext conftest.$ac_ext 26672LIBS=$ac_check_lib_save_LIBS 26673fi 26674{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_get_range_by_index" >&5 26675$as_echo "$ac_cv_lib_cdata_libcdata_range_list_get_range_by_index" >&6; } 26676if test "x$ac_cv_lib_cdata_libcdata_range_list_get_range_by_index" = xyes; then : 26677 ac_cv_libcdata_dummy=yes 26678else 26679 ac_cv_libcdata=no 26680fi 26681 26682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_get_range_at_offset in -lcdata" >&5 26683$as_echo_n "checking for libcdata_range_list_get_range_at_offset in -lcdata... " >&6; } 26684if ${ac_cv_lib_cdata_libcdata_range_list_get_range_at_offset+:} false; then : 26685 $as_echo_n "(cached) " >&6 26686else 26687 ac_check_lib_save_LIBS=$LIBS 26688LIBS="-lcdata $LIBS" 26689cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26690/* end confdefs.h. */ 26691 26692/* Override any GCC internal prototype to avoid an error. 26693 Use char because int might match the return type of a GCC 26694 builtin and then its argument prototype would still apply. */ 26695#ifdef __cplusplus 26696extern "C" 26697#endif 26698char libcdata_range_list_get_range_at_offset (); 26699int 26700main () 26701{ 26702return libcdata_range_list_get_range_at_offset (); 26703 ; 26704 return 0; 26705} 26706_ACEOF 26707if ac_fn_c_try_link "$LINENO"; then : 26708 ac_cv_lib_cdata_libcdata_range_list_get_range_at_offset=yes 26709else 26710 ac_cv_lib_cdata_libcdata_range_list_get_range_at_offset=no 26711fi 26712rm -f core conftest.err conftest.$ac_objext \ 26713 conftest$ac_exeext conftest.$ac_ext 26714LIBS=$ac_check_lib_save_LIBS 26715fi 26716{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_get_range_at_offset" >&5 26717$as_echo "$ac_cv_lib_cdata_libcdata_range_list_get_range_at_offset" >&6; } 26718if test "x$ac_cv_lib_cdata_libcdata_range_list_get_range_at_offset" = xyes; then : 26719 ac_cv_libcdata_dummy=yes 26720else 26721 ac_cv_libcdata=no 26722fi 26723 26724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_range_is_present in -lcdata" >&5 26725$as_echo_n "checking for libcdata_range_list_range_is_present in -lcdata... " >&6; } 26726if ${ac_cv_lib_cdata_libcdata_range_list_range_is_present+:} false; then : 26727 $as_echo_n "(cached) " >&6 26728else 26729 ac_check_lib_save_LIBS=$LIBS 26730LIBS="-lcdata $LIBS" 26731cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26732/* end confdefs.h. */ 26733 26734/* Override any GCC internal prototype to avoid an error. 26735 Use char because int might match the return type of a GCC 26736 builtin and then its argument prototype would still apply. */ 26737#ifdef __cplusplus 26738extern "C" 26739#endif 26740char libcdata_range_list_range_is_present (); 26741int 26742main () 26743{ 26744return libcdata_range_list_range_is_present (); 26745 ; 26746 return 0; 26747} 26748_ACEOF 26749if ac_fn_c_try_link "$LINENO"; then : 26750 ac_cv_lib_cdata_libcdata_range_list_range_is_present=yes 26751else 26752 ac_cv_lib_cdata_libcdata_range_list_range_is_present=no 26753fi 26754rm -f core conftest.err conftest.$ac_objext \ 26755 conftest$ac_exeext conftest.$ac_ext 26756LIBS=$ac_check_lib_save_LIBS 26757fi 26758{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_range_is_present" >&5 26759$as_echo "$ac_cv_lib_cdata_libcdata_range_list_range_is_present" >&6; } 26760if test "x$ac_cv_lib_cdata_libcdata_range_list_range_is_present" = xyes; then : 26761 ac_cv_libcdata_dummy=yes 26762else 26763 ac_cv_libcdata=no 26764fi 26765 26766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_get_spanning_range in -lcdata" >&5 26767$as_echo_n "checking for libcdata_range_list_get_spanning_range in -lcdata... " >&6; } 26768if ${ac_cv_lib_cdata_libcdata_range_list_get_spanning_range+:} false; then : 26769 $as_echo_n "(cached) " >&6 26770else 26771 ac_check_lib_save_LIBS=$LIBS 26772LIBS="-lcdata $LIBS" 26773cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26774/* end confdefs.h. */ 26775 26776/* Override any GCC internal prototype to avoid an error. 26777 Use char because int might match the return type of a GCC 26778 builtin and then its argument prototype would still apply. */ 26779#ifdef __cplusplus 26780extern "C" 26781#endif 26782char libcdata_range_list_get_spanning_range (); 26783int 26784main () 26785{ 26786return libcdata_range_list_get_spanning_range (); 26787 ; 26788 return 0; 26789} 26790_ACEOF 26791if ac_fn_c_try_link "$LINENO"; then : 26792 ac_cv_lib_cdata_libcdata_range_list_get_spanning_range=yes 26793else 26794 ac_cv_lib_cdata_libcdata_range_list_get_spanning_range=no 26795fi 26796rm -f core conftest.err conftest.$ac_objext \ 26797 conftest$ac_exeext conftest.$ac_ext 26798LIBS=$ac_check_lib_save_LIBS 26799fi 26800{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_get_spanning_range" >&5 26801$as_echo "$ac_cv_lib_cdata_libcdata_range_list_get_spanning_range" >&6; } 26802if test "x$ac_cv_lib_cdata_libcdata_range_list_get_spanning_range" = xyes; then : 26803 ac_cv_libcdata_dummy=yes 26804else 26805 ac_cv_libcdata=no 26806fi 26807 26808 26809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_initialize in -lcdata" >&5 26810$as_echo_n "checking for libcdata_tree_node_initialize in -lcdata... " >&6; } 26811if ${ac_cv_lib_cdata_libcdata_tree_node_initialize+:} false; then : 26812 $as_echo_n "(cached) " >&6 26813else 26814 ac_check_lib_save_LIBS=$LIBS 26815LIBS="-lcdata $LIBS" 26816cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26817/* end confdefs.h. */ 26818 26819/* Override any GCC internal prototype to avoid an error. 26820 Use char because int might match the return type of a GCC 26821 builtin and then its argument prototype would still apply. */ 26822#ifdef __cplusplus 26823extern "C" 26824#endif 26825char libcdata_tree_node_initialize (); 26826int 26827main () 26828{ 26829return libcdata_tree_node_initialize (); 26830 ; 26831 return 0; 26832} 26833_ACEOF 26834if ac_fn_c_try_link "$LINENO"; then : 26835 ac_cv_lib_cdata_libcdata_tree_node_initialize=yes 26836else 26837 ac_cv_lib_cdata_libcdata_tree_node_initialize=no 26838fi 26839rm -f core conftest.err conftest.$ac_objext \ 26840 conftest$ac_exeext conftest.$ac_ext 26841LIBS=$ac_check_lib_save_LIBS 26842fi 26843{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_initialize" >&5 26844$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_initialize" >&6; } 26845if test "x$ac_cv_lib_cdata_libcdata_tree_node_initialize" = xyes; then : 26846 ac_cv_libcdata_dummy=yes 26847else 26848 ac_cv_libcdata=no 26849fi 26850 26851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_free in -lcdata" >&5 26852$as_echo_n "checking for libcdata_tree_node_free in -lcdata... " >&6; } 26853if ${ac_cv_lib_cdata_libcdata_tree_node_free+:} false; then : 26854 $as_echo_n "(cached) " >&6 26855else 26856 ac_check_lib_save_LIBS=$LIBS 26857LIBS="-lcdata $LIBS" 26858cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26859/* end confdefs.h. */ 26860 26861/* Override any GCC internal prototype to avoid an error. 26862 Use char because int might match the return type of a GCC 26863 builtin and then its argument prototype would still apply. */ 26864#ifdef __cplusplus 26865extern "C" 26866#endif 26867char libcdata_tree_node_free (); 26868int 26869main () 26870{ 26871return libcdata_tree_node_free (); 26872 ; 26873 return 0; 26874} 26875_ACEOF 26876if ac_fn_c_try_link "$LINENO"; then : 26877 ac_cv_lib_cdata_libcdata_tree_node_free=yes 26878else 26879 ac_cv_lib_cdata_libcdata_tree_node_free=no 26880fi 26881rm -f core conftest.err conftest.$ac_objext \ 26882 conftest$ac_exeext conftest.$ac_ext 26883LIBS=$ac_check_lib_save_LIBS 26884fi 26885{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_free" >&5 26886$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_free" >&6; } 26887if test "x$ac_cv_lib_cdata_libcdata_tree_node_free" = xyes; then : 26888 ac_cv_libcdata_dummy=yes 26889else 26890 ac_cv_libcdata=no 26891fi 26892 26893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_empty in -lcdata" >&5 26894$as_echo_n "checking for libcdata_tree_node_empty in -lcdata... " >&6; } 26895if ${ac_cv_lib_cdata_libcdata_tree_node_empty+:} false; then : 26896 $as_echo_n "(cached) " >&6 26897else 26898 ac_check_lib_save_LIBS=$LIBS 26899LIBS="-lcdata $LIBS" 26900cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26901/* end confdefs.h. */ 26902 26903/* Override any GCC internal prototype to avoid an error. 26904 Use char because int might match the return type of a GCC 26905 builtin and then its argument prototype would still apply. */ 26906#ifdef __cplusplus 26907extern "C" 26908#endif 26909char libcdata_tree_node_empty (); 26910int 26911main () 26912{ 26913return libcdata_tree_node_empty (); 26914 ; 26915 return 0; 26916} 26917_ACEOF 26918if ac_fn_c_try_link "$LINENO"; then : 26919 ac_cv_lib_cdata_libcdata_tree_node_empty=yes 26920else 26921 ac_cv_lib_cdata_libcdata_tree_node_empty=no 26922fi 26923rm -f core conftest.err conftest.$ac_objext \ 26924 conftest$ac_exeext conftest.$ac_ext 26925LIBS=$ac_check_lib_save_LIBS 26926fi 26927{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_empty" >&5 26928$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_empty" >&6; } 26929if test "x$ac_cv_lib_cdata_libcdata_tree_node_empty" = xyes; then : 26930 ac_cv_libcdata_dummy=yes 26931else 26932 ac_cv_libcdata=no 26933fi 26934 26935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_clone in -lcdata" >&5 26936$as_echo_n "checking for libcdata_tree_node_clone in -lcdata... " >&6; } 26937if ${ac_cv_lib_cdata_libcdata_tree_node_clone+:} false; then : 26938 $as_echo_n "(cached) " >&6 26939else 26940 ac_check_lib_save_LIBS=$LIBS 26941LIBS="-lcdata $LIBS" 26942cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26943/* end confdefs.h. */ 26944 26945/* Override any GCC internal prototype to avoid an error. 26946 Use char because int might match the return type of a GCC 26947 builtin and then its argument prototype would still apply. */ 26948#ifdef __cplusplus 26949extern "C" 26950#endif 26951char libcdata_tree_node_clone (); 26952int 26953main () 26954{ 26955return libcdata_tree_node_clone (); 26956 ; 26957 return 0; 26958} 26959_ACEOF 26960if ac_fn_c_try_link "$LINENO"; then : 26961 ac_cv_lib_cdata_libcdata_tree_node_clone=yes 26962else 26963 ac_cv_lib_cdata_libcdata_tree_node_clone=no 26964fi 26965rm -f core conftest.err conftest.$ac_objext \ 26966 conftest$ac_exeext conftest.$ac_ext 26967LIBS=$ac_check_lib_save_LIBS 26968fi 26969{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_clone" >&5 26970$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_clone" >&6; } 26971if test "x$ac_cv_lib_cdata_libcdata_tree_node_clone" = xyes; then : 26972 ac_cv_libcdata_dummy=yes 26973else 26974 ac_cv_libcdata=no 26975fi 26976 26977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_value in -lcdata" >&5 26978$as_echo_n "checking for libcdata_tree_node_get_value in -lcdata... " >&6; } 26979if ${ac_cv_lib_cdata_libcdata_tree_node_get_value+:} false; then : 26980 $as_echo_n "(cached) " >&6 26981else 26982 ac_check_lib_save_LIBS=$LIBS 26983LIBS="-lcdata $LIBS" 26984cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26985/* end confdefs.h. */ 26986 26987/* Override any GCC internal prototype to avoid an error. 26988 Use char because int might match the return type of a GCC 26989 builtin and then its argument prototype would still apply. */ 26990#ifdef __cplusplus 26991extern "C" 26992#endif 26993char libcdata_tree_node_get_value (); 26994int 26995main () 26996{ 26997return libcdata_tree_node_get_value (); 26998 ; 26999 return 0; 27000} 27001_ACEOF 27002if ac_fn_c_try_link "$LINENO"; then : 27003 ac_cv_lib_cdata_libcdata_tree_node_get_value=yes 27004else 27005 ac_cv_lib_cdata_libcdata_tree_node_get_value=no 27006fi 27007rm -f core conftest.err conftest.$ac_objext \ 27008 conftest$ac_exeext conftest.$ac_ext 27009LIBS=$ac_check_lib_save_LIBS 27010fi 27011{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_value" >&5 27012$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_value" >&6; } 27013if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_value" = xyes; then : 27014 ac_cv_libcdata_dummy=yes 27015else 27016 ac_cv_libcdata=no 27017fi 27018 27019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_set_value in -lcdata" >&5 27020$as_echo_n "checking for libcdata_tree_node_set_value in -lcdata... " >&6; } 27021if ${ac_cv_lib_cdata_libcdata_tree_node_set_value+:} false; then : 27022 $as_echo_n "(cached) " >&6 27023else 27024 ac_check_lib_save_LIBS=$LIBS 27025LIBS="-lcdata $LIBS" 27026cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27027/* end confdefs.h. */ 27028 27029/* Override any GCC internal prototype to avoid an error. 27030 Use char because int might match the return type of a GCC 27031 builtin and then its argument prototype would still apply. */ 27032#ifdef __cplusplus 27033extern "C" 27034#endif 27035char libcdata_tree_node_set_value (); 27036int 27037main () 27038{ 27039return libcdata_tree_node_set_value (); 27040 ; 27041 return 0; 27042} 27043_ACEOF 27044if ac_fn_c_try_link "$LINENO"; then : 27045 ac_cv_lib_cdata_libcdata_tree_node_set_value=yes 27046else 27047 ac_cv_lib_cdata_libcdata_tree_node_set_value=no 27048fi 27049rm -f core conftest.err conftest.$ac_objext \ 27050 conftest$ac_exeext conftest.$ac_ext 27051LIBS=$ac_check_lib_save_LIBS 27052fi 27053{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_set_value" >&5 27054$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_set_value" >&6; } 27055if test "x$ac_cv_lib_cdata_libcdata_tree_node_set_value" = xyes; then : 27056 ac_cv_libcdata_dummy=yes 27057else 27058 ac_cv_libcdata=no 27059fi 27060 27061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_parent_node in -lcdata" >&5 27062$as_echo_n "checking for libcdata_tree_node_get_parent_node in -lcdata... " >&6; } 27063if ${ac_cv_lib_cdata_libcdata_tree_node_get_parent_node+:} false; then : 27064 $as_echo_n "(cached) " >&6 27065else 27066 ac_check_lib_save_LIBS=$LIBS 27067LIBS="-lcdata $LIBS" 27068cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27069/* end confdefs.h. */ 27070 27071/* Override any GCC internal prototype to avoid an error. 27072 Use char because int might match the return type of a GCC 27073 builtin and then its argument prototype would still apply. */ 27074#ifdef __cplusplus 27075extern "C" 27076#endif 27077char libcdata_tree_node_get_parent_node (); 27078int 27079main () 27080{ 27081return libcdata_tree_node_get_parent_node (); 27082 ; 27083 return 0; 27084} 27085_ACEOF 27086if ac_fn_c_try_link "$LINENO"; then : 27087 ac_cv_lib_cdata_libcdata_tree_node_get_parent_node=yes 27088else 27089 ac_cv_lib_cdata_libcdata_tree_node_get_parent_node=no 27090fi 27091rm -f core conftest.err conftest.$ac_objext \ 27092 conftest$ac_exeext conftest.$ac_ext 27093LIBS=$ac_check_lib_save_LIBS 27094fi 27095{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_parent_node" >&5 27096$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_parent_node" >&6; } 27097if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_parent_node" = xyes; then : 27098 ac_cv_libcdata_dummy=yes 27099else 27100 ac_cv_libcdata=no 27101fi 27102 27103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_set_parent_node in -lcdata" >&5 27104$as_echo_n "checking for libcdata_tree_node_set_parent_node in -lcdata... " >&6; } 27105if ${ac_cv_lib_cdata_libcdata_tree_node_set_parent_node+:} false; then : 27106 $as_echo_n "(cached) " >&6 27107else 27108 ac_check_lib_save_LIBS=$LIBS 27109LIBS="-lcdata $LIBS" 27110cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27111/* end confdefs.h. */ 27112 27113/* Override any GCC internal prototype to avoid an error. 27114 Use char because int might match the return type of a GCC 27115 builtin and then its argument prototype would still apply. */ 27116#ifdef __cplusplus 27117extern "C" 27118#endif 27119char libcdata_tree_node_set_parent_node (); 27120int 27121main () 27122{ 27123return libcdata_tree_node_set_parent_node (); 27124 ; 27125 return 0; 27126} 27127_ACEOF 27128if ac_fn_c_try_link "$LINENO"; then : 27129 ac_cv_lib_cdata_libcdata_tree_node_set_parent_node=yes 27130else 27131 ac_cv_lib_cdata_libcdata_tree_node_set_parent_node=no 27132fi 27133rm -f core conftest.err conftest.$ac_objext \ 27134 conftest$ac_exeext conftest.$ac_ext 27135LIBS=$ac_check_lib_save_LIBS 27136fi 27137{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_set_parent_node" >&5 27138$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_set_parent_node" >&6; } 27139if test "x$ac_cv_lib_cdata_libcdata_tree_node_set_parent_node" = xyes; then : 27140 ac_cv_libcdata_dummy=yes 27141else 27142 ac_cv_libcdata=no 27143fi 27144 27145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_previous_node in -lcdata" >&5 27146$as_echo_n "checking for libcdata_tree_node_get_previous_node in -lcdata... " >&6; } 27147if ${ac_cv_lib_cdata_libcdata_tree_node_get_previous_node+:} false; then : 27148 $as_echo_n "(cached) " >&6 27149else 27150 ac_check_lib_save_LIBS=$LIBS 27151LIBS="-lcdata $LIBS" 27152cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27153/* end confdefs.h. */ 27154 27155/* Override any GCC internal prototype to avoid an error. 27156 Use char because int might match the return type of a GCC 27157 builtin and then its argument prototype would still apply. */ 27158#ifdef __cplusplus 27159extern "C" 27160#endif 27161char libcdata_tree_node_get_previous_node (); 27162int 27163main () 27164{ 27165return libcdata_tree_node_get_previous_node (); 27166 ; 27167 return 0; 27168} 27169_ACEOF 27170if ac_fn_c_try_link "$LINENO"; then : 27171 ac_cv_lib_cdata_libcdata_tree_node_get_previous_node=yes 27172else 27173 ac_cv_lib_cdata_libcdata_tree_node_get_previous_node=no 27174fi 27175rm -f core conftest.err conftest.$ac_objext \ 27176 conftest$ac_exeext conftest.$ac_ext 27177LIBS=$ac_check_lib_save_LIBS 27178fi 27179{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_previous_node" >&5 27180$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_previous_node" >&6; } 27181if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_previous_node" = xyes; then : 27182 ac_cv_libcdata_dummy=yes 27183else 27184 ac_cv_libcdata=no 27185fi 27186 27187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_set_previous_node in -lcdata" >&5 27188$as_echo_n "checking for libcdata_tree_node_set_previous_node in -lcdata... " >&6; } 27189if ${ac_cv_lib_cdata_libcdata_tree_node_set_previous_node+:} false; then : 27190 $as_echo_n "(cached) " >&6 27191else 27192 ac_check_lib_save_LIBS=$LIBS 27193LIBS="-lcdata $LIBS" 27194cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27195/* end confdefs.h. */ 27196 27197/* Override any GCC internal prototype to avoid an error. 27198 Use char because int might match the return type of a GCC 27199 builtin and then its argument prototype would still apply. */ 27200#ifdef __cplusplus 27201extern "C" 27202#endif 27203char libcdata_tree_node_set_previous_node (); 27204int 27205main () 27206{ 27207return libcdata_tree_node_set_previous_node (); 27208 ; 27209 return 0; 27210} 27211_ACEOF 27212if ac_fn_c_try_link "$LINENO"; then : 27213 ac_cv_lib_cdata_libcdata_tree_node_set_previous_node=yes 27214else 27215 ac_cv_lib_cdata_libcdata_tree_node_set_previous_node=no 27216fi 27217rm -f core conftest.err conftest.$ac_objext \ 27218 conftest$ac_exeext conftest.$ac_ext 27219LIBS=$ac_check_lib_save_LIBS 27220fi 27221{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_set_previous_node" >&5 27222$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_set_previous_node" >&6; } 27223if test "x$ac_cv_lib_cdata_libcdata_tree_node_set_previous_node" = xyes; then : 27224 ac_cv_libcdata_dummy=yes 27225else 27226 ac_cv_libcdata=no 27227fi 27228 27229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_next_node in -lcdata" >&5 27230$as_echo_n "checking for libcdata_tree_node_get_next_node in -lcdata... " >&6; } 27231if ${ac_cv_lib_cdata_libcdata_tree_node_get_next_node+:} false; then : 27232 $as_echo_n "(cached) " >&6 27233else 27234 ac_check_lib_save_LIBS=$LIBS 27235LIBS="-lcdata $LIBS" 27236cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27237/* end confdefs.h. */ 27238 27239/* Override any GCC internal prototype to avoid an error. 27240 Use char because int might match the return type of a GCC 27241 builtin and then its argument prototype would still apply. */ 27242#ifdef __cplusplus 27243extern "C" 27244#endif 27245char libcdata_tree_node_get_next_node (); 27246int 27247main () 27248{ 27249return libcdata_tree_node_get_next_node (); 27250 ; 27251 return 0; 27252} 27253_ACEOF 27254if ac_fn_c_try_link "$LINENO"; then : 27255 ac_cv_lib_cdata_libcdata_tree_node_get_next_node=yes 27256else 27257 ac_cv_lib_cdata_libcdata_tree_node_get_next_node=no 27258fi 27259rm -f core conftest.err conftest.$ac_objext \ 27260 conftest$ac_exeext conftest.$ac_ext 27261LIBS=$ac_check_lib_save_LIBS 27262fi 27263{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_next_node" >&5 27264$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_next_node" >&6; } 27265if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_next_node" = xyes; then : 27266 ac_cv_libcdata_dummy=yes 27267else 27268 ac_cv_libcdata=no 27269fi 27270 27271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_set_next_node in -lcdata" >&5 27272$as_echo_n "checking for libcdata_tree_node_set_next_node in -lcdata... " >&6; } 27273if ${ac_cv_lib_cdata_libcdata_tree_node_set_next_node+:} false; then : 27274 $as_echo_n "(cached) " >&6 27275else 27276 ac_check_lib_save_LIBS=$LIBS 27277LIBS="-lcdata $LIBS" 27278cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27279/* end confdefs.h. */ 27280 27281/* Override any GCC internal prototype to avoid an error. 27282 Use char because int might match the return type of a GCC 27283 builtin and then its argument prototype would still apply. */ 27284#ifdef __cplusplus 27285extern "C" 27286#endif 27287char libcdata_tree_node_set_next_node (); 27288int 27289main () 27290{ 27291return libcdata_tree_node_set_next_node (); 27292 ; 27293 return 0; 27294} 27295_ACEOF 27296if ac_fn_c_try_link "$LINENO"; then : 27297 ac_cv_lib_cdata_libcdata_tree_node_set_next_node=yes 27298else 27299 ac_cv_lib_cdata_libcdata_tree_node_set_next_node=no 27300fi 27301rm -f core conftest.err conftest.$ac_objext \ 27302 conftest$ac_exeext conftest.$ac_ext 27303LIBS=$ac_check_lib_save_LIBS 27304fi 27305{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_set_next_node" >&5 27306$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_set_next_node" >&6; } 27307if test "x$ac_cv_lib_cdata_libcdata_tree_node_set_next_node" = xyes; then : 27308 ac_cv_libcdata_dummy=yes 27309else 27310 ac_cv_libcdata=no 27311fi 27312 27313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_nodes in -lcdata" >&5 27314$as_echo_n "checking for libcdata_tree_node_get_nodes in -lcdata... " >&6; } 27315if ${ac_cv_lib_cdata_libcdata_tree_node_get_nodes+:} false; then : 27316 $as_echo_n "(cached) " >&6 27317else 27318 ac_check_lib_save_LIBS=$LIBS 27319LIBS="-lcdata $LIBS" 27320cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27321/* end confdefs.h. */ 27322 27323/* Override any GCC internal prototype to avoid an error. 27324 Use char because int might match the return type of a GCC 27325 builtin and then its argument prototype would still apply. */ 27326#ifdef __cplusplus 27327extern "C" 27328#endif 27329char libcdata_tree_node_get_nodes (); 27330int 27331main () 27332{ 27333return libcdata_tree_node_get_nodes (); 27334 ; 27335 return 0; 27336} 27337_ACEOF 27338if ac_fn_c_try_link "$LINENO"; then : 27339 ac_cv_lib_cdata_libcdata_tree_node_get_nodes=yes 27340else 27341 ac_cv_lib_cdata_libcdata_tree_node_get_nodes=no 27342fi 27343rm -f core conftest.err conftest.$ac_objext \ 27344 conftest$ac_exeext conftest.$ac_ext 27345LIBS=$ac_check_lib_save_LIBS 27346fi 27347{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_nodes" >&5 27348$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_nodes" >&6; } 27349if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_nodes" = xyes; then : 27350 ac_cv_libcdata_dummy=yes 27351else 27352 ac_cv_libcdata=no 27353fi 27354 27355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_set_nodes in -lcdata" >&5 27356$as_echo_n "checking for libcdata_tree_node_set_nodes in -lcdata... " >&6; } 27357if ${ac_cv_lib_cdata_libcdata_tree_node_set_nodes+:} false; then : 27358 $as_echo_n "(cached) " >&6 27359else 27360 ac_check_lib_save_LIBS=$LIBS 27361LIBS="-lcdata $LIBS" 27362cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27363/* end confdefs.h. */ 27364 27365/* Override any GCC internal prototype to avoid an error. 27366 Use char because int might match the return type of a GCC 27367 builtin and then its argument prototype would still apply. */ 27368#ifdef __cplusplus 27369extern "C" 27370#endif 27371char libcdata_tree_node_set_nodes (); 27372int 27373main () 27374{ 27375return libcdata_tree_node_set_nodes (); 27376 ; 27377 return 0; 27378} 27379_ACEOF 27380if ac_fn_c_try_link "$LINENO"; then : 27381 ac_cv_lib_cdata_libcdata_tree_node_set_nodes=yes 27382else 27383 ac_cv_lib_cdata_libcdata_tree_node_set_nodes=no 27384fi 27385rm -f core conftest.err conftest.$ac_objext \ 27386 conftest$ac_exeext conftest.$ac_ext 27387LIBS=$ac_check_lib_save_LIBS 27388fi 27389{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_set_nodes" >&5 27390$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_set_nodes" >&6; } 27391if test "x$ac_cv_lib_cdata_libcdata_tree_node_set_nodes" = xyes; then : 27392 ac_cv_libcdata_dummy=yes 27393else 27394 ac_cv_libcdata=no 27395fi 27396 27397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_append_node in -lcdata" >&5 27398$as_echo_n "checking for libcdata_tree_node_append_node in -lcdata... " >&6; } 27399if ${ac_cv_lib_cdata_libcdata_tree_node_append_node+:} false; then : 27400 $as_echo_n "(cached) " >&6 27401else 27402 ac_check_lib_save_LIBS=$LIBS 27403LIBS="-lcdata $LIBS" 27404cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27405/* end confdefs.h. */ 27406 27407/* Override any GCC internal prototype to avoid an error. 27408 Use char because int might match the return type of a GCC 27409 builtin and then its argument prototype would still apply. */ 27410#ifdef __cplusplus 27411extern "C" 27412#endif 27413char libcdata_tree_node_append_node (); 27414int 27415main () 27416{ 27417return libcdata_tree_node_append_node (); 27418 ; 27419 return 0; 27420} 27421_ACEOF 27422if ac_fn_c_try_link "$LINENO"; then : 27423 ac_cv_lib_cdata_libcdata_tree_node_append_node=yes 27424else 27425 ac_cv_lib_cdata_libcdata_tree_node_append_node=no 27426fi 27427rm -f core conftest.err conftest.$ac_objext \ 27428 conftest$ac_exeext conftest.$ac_ext 27429LIBS=$ac_check_lib_save_LIBS 27430fi 27431{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_append_node" >&5 27432$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_append_node" >&6; } 27433if test "x$ac_cv_lib_cdata_libcdata_tree_node_append_node" = xyes; then : 27434 ac_cv_libcdata_dummy=yes 27435else 27436 ac_cv_libcdata=no 27437fi 27438 27439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_append_value in -lcdata" >&5 27440$as_echo_n "checking for libcdata_tree_node_append_value in -lcdata... " >&6; } 27441if ${ac_cv_lib_cdata_libcdata_tree_node_append_value+:} false; then : 27442 $as_echo_n "(cached) " >&6 27443else 27444 ac_check_lib_save_LIBS=$LIBS 27445LIBS="-lcdata $LIBS" 27446cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27447/* end confdefs.h. */ 27448 27449/* Override any GCC internal prototype to avoid an error. 27450 Use char because int might match the return type of a GCC 27451 builtin and then its argument prototype would still apply. */ 27452#ifdef __cplusplus 27453extern "C" 27454#endif 27455char libcdata_tree_node_append_value (); 27456int 27457main () 27458{ 27459return libcdata_tree_node_append_value (); 27460 ; 27461 return 0; 27462} 27463_ACEOF 27464if ac_fn_c_try_link "$LINENO"; then : 27465 ac_cv_lib_cdata_libcdata_tree_node_append_value=yes 27466else 27467 ac_cv_lib_cdata_libcdata_tree_node_append_value=no 27468fi 27469rm -f core conftest.err conftest.$ac_objext \ 27470 conftest$ac_exeext conftest.$ac_ext 27471LIBS=$ac_check_lib_save_LIBS 27472fi 27473{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_append_value" >&5 27474$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_append_value" >&6; } 27475if test "x$ac_cv_lib_cdata_libcdata_tree_node_append_value" = xyes; then : 27476 ac_cv_libcdata_dummy=yes 27477else 27478 ac_cv_libcdata=no 27479fi 27480 27481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_insert_node in -lcdata" >&5 27482$as_echo_n "checking for libcdata_tree_node_insert_node in -lcdata... " >&6; } 27483if ${ac_cv_lib_cdata_libcdata_tree_node_insert_node+:} false; then : 27484 $as_echo_n "(cached) " >&6 27485else 27486 ac_check_lib_save_LIBS=$LIBS 27487LIBS="-lcdata $LIBS" 27488cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27489/* end confdefs.h. */ 27490 27491/* Override any GCC internal prototype to avoid an error. 27492 Use char because int might match the return type of a GCC 27493 builtin and then its argument prototype would still apply. */ 27494#ifdef __cplusplus 27495extern "C" 27496#endif 27497char libcdata_tree_node_insert_node (); 27498int 27499main () 27500{ 27501return libcdata_tree_node_insert_node (); 27502 ; 27503 return 0; 27504} 27505_ACEOF 27506if ac_fn_c_try_link "$LINENO"; then : 27507 ac_cv_lib_cdata_libcdata_tree_node_insert_node=yes 27508else 27509 ac_cv_lib_cdata_libcdata_tree_node_insert_node=no 27510fi 27511rm -f core conftest.err conftest.$ac_objext \ 27512 conftest$ac_exeext conftest.$ac_ext 27513LIBS=$ac_check_lib_save_LIBS 27514fi 27515{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_insert_node" >&5 27516$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_insert_node" >&6; } 27517if test "x$ac_cv_lib_cdata_libcdata_tree_node_insert_node" = xyes; then : 27518 ac_cv_libcdata_dummy=yes 27519else 27520 ac_cv_libcdata=no 27521fi 27522 27523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_insert_value in -lcdata" >&5 27524$as_echo_n "checking for libcdata_tree_node_insert_value in -lcdata... " >&6; } 27525if ${ac_cv_lib_cdata_libcdata_tree_node_insert_value+:} false; then : 27526 $as_echo_n "(cached) " >&6 27527else 27528 ac_check_lib_save_LIBS=$LIBS 27529LIBS="-lcdata $LIBS" 27530cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27531/* end confdefs.h. */ 27532 27533/* Override any GCC internal prototype to avoid an error. 27534 Use char because int might match the return type of a GCC 27535 builtin and then its argument prototype would still apply. */ 27536#ifdef __cplusplus 27537extern "C" 27538#endif 27539char libcdata_tree_node_insert_value (); 27540int 27541main () 27542{ 27543return libcdata_tree_node_insert_value (); 27544 ; 27545 return 0; 27546} 27547_ACEOF 27548if ac_fn_c_try_link "$LINENO"; then : 27549 ac_cv_lib_cdata_libcdata_tree_node_insert_value=yes 27550else 27551 ac_cv_lib_cdata_libcdata_tree_node_insert_value=no 27552fi 27553rm -f core conftest.err conftest.$ac_objext \ 27554 conftest$ac_exeext conftest.$ac_ext 27555LIBS=$ac_check_lib_save_LIBS 27556fi 27557{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_insert_value" >&5 27558$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_insert_value" >&6; } 27559if test "x$ac_cv_lib_cdata_libcdata_tree_node_insert_value" = xyes; then : 27560 ac_cv_libcdata_dummy=yes 27561else 27562 ac_cv_libcdata=no 27563fi 27564 27565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_replace_node in -lcdata" >&5 27566$as_echo_n "checking for libcdata_tree_node_replace_node in -lcdata... " >&6; } 27567if ${ac_cv_lib_cdata_libcdata_tree_node_replace_node+:} false; then : 27568 $as_echo_n "(cached) " >&6 27569else 27570 ac_check_lib_save_LIBS=$LIBS 27571LIBS="-lcdata $LIBS" 27572cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27573/* end confdefs.h. */ 27574 27575/* Override any GCC internal prototype to avoid an error. 27576 Use char because int might match the return type of a GCC 27577 builtin and then its argument prototype would still apply. */ 27578#ifdef __cplusplus 27579extern "C" 27580#endif 27581char libcdata_tree_node_replace_node (); 27582int 27583main () 27584{ 27585return libcdata_tree_node_replace_node (); 27586 ; 27587 return 0; 27588} 27589_ACEOF 27590if ac_fn_c_try_link "$LINENO"; then : 27591 ac_cv_lib_cdata_libcdata_tree_node_replace_node=yes 27592else 27593 ac_cv_lib_cdata_libcdata_tree_node_replace_node=no 27594fi 27595rm -f core conftest.err conftest.$ac_objext \ 27596 conftest$ac_exeext conftest.$ac_ext 27597LIBS=$ac_check_lib_save_LIBS 27598fi 27599{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_replace_node" >&5 27600$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_replace_node" >&6; } 27601if test "x$ac_cv_lib_cdata_libcdata_tree_node_replace_node" = xyes; then : 27602 ac_cv_libcdata_dummy=yes 27603else 27604 ac_cv_libcdata=no 27605fi 27606 27607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_remove_node in -lcdata" >&5 27608$as_echo_n "checking for libcdata_tree_node_remove_node in -lcdata... " >&6; } 27609if ${ac_cv_lib_cdata_libcdata_tree_node_remove_node+:} false; then : 27610 $as_echo_n "(cached) " >&6 27611else 27612 ac_check_lib_save_LIBS=$LIBS 27613LIBS="-lcdata $LIBS" 27614cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27615/* end confdefs.h. */ 27616 27617/* Override any GCC internal prototype to avoid an error. 27618 Use char because int might match the return type of a GCC 27619 builtin and then its argument prototype would still apply. */ 27620#ifdef __cplusplus 27621extern "C" 27622#endif 27623char libcdata_tree_node_remove_node (); 27624int 27625main () 27626{ 27627return libcdata_tree_node_remove_node (); 27628 ; 27629 return 0; 27630} 27631_ACEOF 27632if ac_fn_c_try_link "$LINENO"; then : 27633 ac_cv_lib_cdata_libcdata_tree_node_remove_node=yes 27634else 27635 ac_cv_lib_cdata_libcdata_tree_node_remove_node=no 27636fi 27637rm -f core conftest.err conftest.$ac_objext \ 27638 conftest$ac_exeext conftest.$ac_ext 27639LIBS=$ac_check_lib_save_LIBS 27640fi 27641{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_remove_node" >&5 27642$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_remove_node" >&6; } 27643if test "x$ac_cv_lib_cdata_libcdata_tree_node_remove_node" = xyes; then : 27644 ac_cv_libcdata_dummy=yes 27645else 27646 ac_cv_libcdata=no 27647fi 27648 27649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_number_of_sub_nodes in -lcdata" >&5 27650$as_echo_n "checking for libcdata_tree_node_get_number_of_sub_nodes in -lcdata... " >&6; } 27651if ${ac_cv_lib_cdata_libcdata_tree_node_get_number_of_sub_nodes+:} false; then : 27652 $as_echo_n "(cached) " >&6 27653else 27654 ac_check_lib_save_LIBS=$LIBS 27655LIBS="-lcdata $LIBS" 27656cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27657/* end confdefs.h. */ 27658 27659/* Override any GCC internal prototype to avoid an error. 27660 Use char because int might match the return type of a GCC 27661 builtin and then its argument prototype would still apply. */ 27662#ifdef __cplusplus 27663extern "C" 27664#endif 27665char libcdata_tree_node_get_number_of_sub_nodes (); 27666int 27667main () 27668{ 27669return libcdata_tree_node_get_number_of_sub_nodes (); 27670 ; 27671 return 0; 27672} 27673_ACEOF 27674if ac_fn_c_try_link "$LINENO"; then : 27675 ac_cv_lib_cdata_libcdata_tree_node_get_number_of_sub_nodes=yes 27676else 27677 ac_cv_lib_cdata_libcdata_tree_node_get_number_of_sub_nodes=no 27678fi 27679rm -f core conftest.err conftest.$ac_objext \ 27680 conftest$ac_exeext conftest.$ac_ext 27681LIBS=$ac_check_lib_save_LIBS 27682fi 27683{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_number_of_sub_nodes" >&5 27684$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_number_of_sub_nodes" >&6; } 27685if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_number_of_sub_nodes" = xyes; then : 27686 ac_cv_libcdata_dummy=yes 27687else 27688 ac_cv_libcdata=no 27689fi 27690 27691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_sub_node_by_index in -lcdata" >&5 27692$as_echo_n "checking for libcdata_tree_node_get_sub_node_by_index in -lcdata... " >&6; } 27693if ${ac_cv_lib_cdata_libcdata_tree_node_get_sub_node_by_index+:} false; then : 27694 $as_echo_n "(cached) " >&6 27695else 27696 ac_check_lib_save_LIBS=$LIBS 27697LIBS="-lcdata $LIBS" 27698cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27699/* end confdefs.h. */ 27700 27701/* Override any GCC internal prototype to avoid an error. 27702 Use char because int might match the return type of a GCC 27703 builtin and then its argument prototype would still apply. */ 27704#ifdef __cplusplus 27705extern "C" 27706#endif 27707char libcdata_tree_node_get_sub_node_by_index (); 27708int 27709main () 27710{ 27711return libcdata_tree_node_get_sub_node_by_index (); 27712 ; 27713 return 0; 27714} 27715_ACEOF 27716if ac_fn_c_try_link "$LINENO"; then : 27717 ac_cv_lib_cdata_libcdata_tree_node_get_sub_node_by_index=yes 27718else 27719 ac_cv_lib_cdata_libcdata_tree_node_get_sub_node_by_index=no 27720fi 27721rm -f core conftest.err conftest.$ac_objext \ 27722 conftest$ac_exeext conftest.$ac_ext 27723LIBS=$ac_check_lib_save_LIBS 27724fi 27725{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_sub_node_by_index" >&5 27726$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_sub_node_by_index" >&6; } 27727if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_sub_node_by_index" = xyes; then : 27728 ac_cv_libcdata_dummy=yes 27729else 27730 ac_cv_libcdata=no 27731fi 27732 27733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_leaf_node_list in -lcdata" >&5 27734$as_echo_n "checking for libcdata_tree_node_get_leaf_node_list in -lcdata... " >&6; } 27735if ${ac_cv_lib_cdata_libcdata_tree_node_get_leaf_node_list+:} false; then : 27736 $as_echo_n "(cached) " >&6 27737else 27738 ac_check_lib_save_LIBS=$LIBS 27739LIBS="-lcdata $LIBS" 27740cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27741/* end confdefs.h. */ 27742 27743/* Override any GCC internal prototype to avoid an error. 27744 Use char because int might match the return type of a GCC 27745 builtin and then its argument prototype would still apply. */ 27746#ifdef __cplusplus 27747extern "C" 27748#endif 27749char libcdata_tree_node_get_leaf_node_list (); 27750int 27751main () 27752{ 27753return libcdata_tree_node_get_leaf_node_list (); 27754 ; 27755 return 0; 27756} 27757_ACEOF 27758if ac_fn_c_try_link "$LINENO"; then : 27759 ac_cv_lib_cdata_libcdata_tree_node_get_leaf_node_list=yes 27760else 27761 ac_cv_lib_cdata_libcdata_tree_node_get_leaf_node_list=no 27762fi 27763rm -f core conftest.err conftest.$ac_objext \ 27764 conftest$ac_exeext conftest.$ac_ext 27765LIBS=$ac_check_lib_save_LIBS 27766fi 27767{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_leaf_node_list" >&5 27768$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_leaf_node_list" >&6; } 27769if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_leaf_node_list" = xyes; then : 27770 ac_cv_libcdata_dummy=yes 27771else 27772 ac_cv_libcdata=no 27773fi 27774 27775 27776 ac_cv_libcdata_LIBADD="-lcdata" 27777fi 27778 27779fi 27780 if test "x$ac_cv_with_libcdata" != x && test "x$ac_cv_with_libcdata" != xauto-detect && test "x$ac_cv_libcdata" != xyes; then : 27781 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 27782$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 27783as_fn_error 1 "unable to find supported libcdata in directory: $ac_cv_with_libcdata 27784See \`config.log' for more details" "$LINENO" 5; } 27785 27786fi 27787 27788fi 27789 27790 if test "x$ac_cv_libcdata" = xyes; then : 27791 27792$as_echo "#define HAVE_LIBCDATA 1" >>confdefs.h 27793 27794 27795fi 27796 27797 if test "x$ac_cv_libcdata" = xyes; then : 27798 HAVE_LIBCDATA=1 27799 27800else 27801 HAVE_LIBCDATA=0 27802 27803 27804fi 27805 27806 27807 if test "x$ac_cv_libcdata" != xyes; then : 27808 27809 ac_cv_libcdata_CPPFLAGS="-I../libcdata"; 27810 ac_cv_libcdata_LIBADD="../libcdata/libcdata.la"; 27811 27812 ac_cv_libcdata=local 27813 27814 27815 27816$as_echo "#define HAVE_LOCAL_LIBCDATA 1" >>confdefs.h 27817 27818 HAVE_LOCAL_LIBCDATA=1 27819 27820 27821fi 27822 27823 if test "x$ac_cv_libcdata" = xlocal; then 27824 HAVE_LOCAL_LIBCDATA_TRUE= 27825 HAVE_LOCAL_LIBCDATA_FALSE='#' 27826else 27827 HAVE_LOCAL_LIBCDATA_TRUE='#' 27828 HAVE_LOCAL_LIBCDATA_FALSE= 27829fi 27830 27831 if test "x$ac_cv_libcdata_CPPFLAGS" != "x"; then : 27832 LIBCDATA_CPPFLAGS=$ac_cv_libcdata_CPPFLAGS 27833 27834 27835fi 27836 if test "x$ac_cv_libcdata_LIBADD" != "x"; then : 27837 LIBCDATA_LIBADD=$ac_cv_libcdata_LIBADD 27838 27839 27840fi 27841 27842 if test "x$ac_cv_libcdata" = xyes; then : 27843 ax_libcdata_pc_libs_private=-lcdata 27844 27845 27846fi 27847 27848 if test "x$ac_cv_libcdata" = xyes; then : 27849 ax_libcdata_spec_requires=libcdata 27850 27851 ax_libcdata_spec_build_requires=libcdata-devel 27852 27853 27854fi 27855 27856 27857 27858 27859# Check whether --with-libclocale was given. 27860if test "${with_libclocale+set}" = set; then : 27861 withval=$with_libclocale; ac_cv_with_libclocale=$withval 27862else 27863 ac_cv_with_libclocale=auto-detect 27864fi 27865 27866 { $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 27867$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; } 27868if ${ac_cv_with_libclocale+:} false; then : 27869 $as_echo_n "(cached) " >&6 27870else 27871 ac_cv_with_libclocale=auto-detect 27872fi 27873{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libclocale" >&5 27874$as_echo "$ac_cv_with_libclocale" >&6; } 27875 27876 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libclocale" = xno; then : 27877 ac_cv_libclocale=no 27878else 27879 ac_cv_libclocale=check 27880 if test "x$ac_cv_with_libclocale" != x && test "x$ac_cv_with_libclocale" != xauto-detect; then : 27881 if test -d "$ac_cv_with_libclocale"; then : 27882 CFLAGS="$CFLAGS -I${ac_cv_with_libclocale}/include" 27883 LDFLAGS="$LDFLAGS -L${ac_cv_with_libclocale}/lib" 27884else 27885 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 27886$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 27887as_fn_error 1 "no such directory: $ac_cv_with_libclocale 27888See \`config.log' for more details" "$LINENO" 5; } 27889 27890fi 27891 27892else 27893 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 27894 27895pkg_failed=no 27896{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale" >&5 27897$as_echo_n "checking for libclocale... " >&6; } 27898 27899if test -n "$libclocale_CFLAGS"; then 27900 pkg_cv_libclocale_CFLAGS="$libclocale_CFLAGS" 27901 elif test -n "$PKG_CONFIG"; then 27902 if test -n "$PKG_CONFIG" && \ 27903 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libclocale >= 20120425\""; } >&5 27904 ($PKG_CONFIG --exists --print-errors "libclocale >= 20120425") 2>&5 27905 ac_status=$? 27906 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 27907 test $ac_status = 0; }; then 27908 pkg_cv_libclocale_CFLAGS=`$PKG_CONFIG --cflags "libclocale >= 20120425" 2>/dev/null` 27909 test "x$?" != "x0" && pkg_failed=yes 27910else 27911 pkg_failed=yes 27912fi 27913 else 27914 pkg_failed=untried 27915fi 27916if test -n "$libclocale_LIBS"; then 27917 pkg_cv_libclocale_LIBS="$libclocale_LIBS" 27918 elif test -n "$PKG_CONFIG"; then 27919 if test -n "$PKG_CONFIG" && \ 27920 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libclocale >= 20120425\""; } >&5 27921 ($PKG_CONFIG --exists --print-errors "libclocale >= 20120425") 2>&5 27922 ac_status=$? 27923 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 27924 test $ac_status = 0; }; then 27925 pkg_cv_libclocale_LIBS=`$PKG_CONFIG --libs "libclocale >= 20120425" 2>/dev/null` 27926 test "x$?" != "x0" && pkg_failed=yes 27927else 27928 pkg_failed=yes 27929fi 27930 else 27931 pkg_failed=untried 27932fi 27933 27934 27935 27936if test $pkg_failed = yes; then 27937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27938$as_echo "no" >&6; } 27939 27940if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 27941 _pkg_short_errors_supported=yes 27942else 27943 _pkg_short_errors_supported=no 27944fi 27945 if test $_pkg_short_errors_supported = yes; then 27946 libclocale_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libclocale >= 20120425" 2>&1` 27947 else 27948 libclocale_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libclocale >= 20120425" 2>&1` 27949 fi 27950 # Put the nasty error message in config.log where it belongs 27951 echo "$libclocale_PKG_ERRORS" >&5 27952 27953 ac_cv_libclocale=check 27954elif test $pkg_failed = untried; then 27955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27956$as_echo "no" >&6; } 27957 ac_cv_libclocale=check 27958else 27959 libclocale_CFLAGS=$pkg_cv_libclocale_CFLAGS 27960 libclocale_LIBS=$pkg_cv_libclocale_LIBS 27961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 27962$as_echo "yes" >&6; } 27963 ac_cv_libclocale=yes 27964fi 27965 27966fi 27967 if test "x$ac_cv_libclocale" = xyes && test "x$ac_cv_enable_wide_character_type" != xno; then : 27968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libclocale/features.h defines LIBCLOCALE_HAVE_WIDE_CHARACTER_TYPE as 1" >&5 27969$as_echo_n "checking whether libclocale/features.h defines LIBCLOCALE_HAVE_WIDE_CHARACTER_TYPE as 1... " >&6; } 27970if ${ac_cv_header_libclocale_features_h_have_wide_character_type+:} false; then : 27971 $as_echo_n "(cached) " >&6 27972else 27973 ac_ext=c 27974ac_cpp='$CPP $CPPFLAGS' 27975ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 27976ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 27977ac_compiler_gnu=$ac_cv_c_compiler_gnu 27978 27979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27980/* end confdefs.h. */ 27981#include <libclocale/features.h> 27982int 27983main () 27984{ 27985#if !defined( LIBCLOCALE_HAVE_WIDE_CHARACTER_TYPE ) || ( LIBCLOCALE_HAVE_WIDE_CHARACTER_TYPE != 1 ) 27986#error LIBCLOCALE_HAVE_WIDE_CHARACTER_TYPE not defined 27987#endif 27988 ; 27989 return 0; 27990} 27991_ACEOF 27992if ac_fn_c_try_compile "$LINENO"; then : 27993 ac_cv_header_libclocale_features_h_have_wide_character_type=yes 27994else 27995 ac_cv_header_libclocale_features_h_have_wide_character_type=no 27996fi 27997rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 27998 ac_ext=c 27999ac_cpp='$CPP $CPPFLAGS' 28000ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 28001ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 28002ac_compiler_gnu=$ac_cv_c_compiler_gnu 28003 28004fi 28005{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_libclocale_features_h_have_wide_character_type" >&5 28006$as_echo "$ac_cv_header_libclocale_features_h_have_wide_character_type" >&6; } 28007 28008 if test "x$ac_cv_header_libclocale_features_h_have_wide_character_type" = xno; then : 28009 ac_cv_libclocale=no 28010fi 28011 28012fi 28013 if test "x$ac_cv_libclocale" = xyes; then : 28014 ac_cv_libclocale_CPPFLAGS="$pkg_cv_libclocale_CFLAGS" 28015 ac_cv_libclocale_LIBADD="$pkg_cv_libclocale_LIBS" 28016fi 28017 28018fi 28019 28020 if test "x$ac_cv_libclocale" = xcheck; then : 28021 for ac_header in libclocale.h 28022do : 28023 ac_fn_c_check_header_mongrel "$LINENO" "libclocale.h" "ac_cv_header_libclocale_h" "$ac_includes_default" 28024if test "x$ac_cv_header_libclocale_h" = xyes; then : 28025 cat >>confdefs.h <<_ACEOF 28026#define HAVE_LIBCLOCALE_H 1 28027_ACEOF 28028 28029fi 28030 28031done 28032 28033 28034 if test "x$ac_cv_header_libclocale_h" = xno; then : 28035 ac_cv_libclocale=no 28036else 28037 ac_cv_libclocale=yes 28038 28039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_get_version in -lclocale" >&5 28040$as_echo_n "checking for libclocale_get_version in -lclocale... " >&6; } 28041if ${ac_cv_lib_clocale_libclocale_get_version+:} false; then : 28042 $as_echo_n "(cached) " >&6 28043else 28044 ac_check_lib_save_LIBS=$LIBS 28045LIBS="-lclocale $LIBS" 28046cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28047/* end confdefs.h. */ 28048 28049/* Override any GCC internal prototype to avoid an error. 28050 Use char because int might match the return type of a GCC 28051 builtin and then its argument prototype would still apply. */ 28052#ifdef __cplusplus 28053extern "C" 28054#endif 28055char libclocale_get_version (); 28056int 28057main () 28058{ 28059return libclocale_get_version (); 28060 ; 28061 return 0; 28062} 28063_ACEOF 28064if ac_fn_c_try_link "$LINENO"; then : 28065 ac_cv_lib_clocale_libclocale_get_version=yes 28066else 28067 ac_cv_lib_clocale_libclocale_get_version=no 28068fi 28069rm -f core conftest.err conftest.$ac_objext \ 28070 conftest$ac_exeext conftest.$ac_ext 28071LIBS=$ac_check_lib_save_LIBS 28072fi 28073{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_get_version" >&5 28074$as_echo "$ac_cv_lib_clocale_libclocale_get_version" >&6; } 28075if test "x$ac_cv_lib_clocale_libclocale_get_version" = xyes; then : 28076 ac_cv_libclocale_dummy=yes 28077else 28078 ac_cv_libclocale=no 28079fi 28080 28081 28082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_codepage in -lclocale" >&5 28083$as_echo_n "checking for libclocale_codepage in -lclocale... " >&6; } 28084if ${ac_cv_lib_clocale_libclocale_codepage+:} false; then : 28085 $as_echo_n "(cached) " >&6 28086else 28087 ac_check_lib_save_LIBS=$LIBS 28088LIBS="-lclocale $LIBS" 28089cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28090/* end confdefs.h. */ 28091 28092/* Override any GCC internal prototype to avoid an error. 28093 Use char because int might match the return type of a GCC 28094 builtin and then its argument prototype would still apply. */ 28095#ifdef __cplusplus 28096extern "C" 28097#endif 28098char libclocale_codepage (); 28099int 28100main () 28101{ 28102return libclocale_codepage (); 28103 ; 28104 return 0; 28105} 28106_ACEOF 28107if ac_fn_c_try_link "$LINENO"; then : 28108 ac_cv_lib_clocale_libclocale_codepage=yes 28109else 28110 ac_cv_lib_clocale_libclocale_codepage=no 28111fi 28112rm -f core conftest.err conftest.$ac_objext \ 28113 conftest$ac_exeext conftest.$ac_ext 28114LIBS=$ac_check_lib_save_LIBS 28115fi 28116{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_codepage" >&5 28117$as_echo "$ac_cv_lib_clocale_libclocale_codepage" >&6; } 28118if test "x$ac_cv_lib_clocale_libclocale_codepage" = xyes; then : 28119 ac_cv_libclocale_dummy=yes 28120else 28121 ac_cv_libclocale=no 28122fi 28123 28124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_codepage_get in -lclocale" >&5 28125$as_echo_n "checking for libclocale_codepage_get in -lclocale... " >&6; } 28126if ${ac_cv_lib_clocale_libclocale_codepage_get+:} false; then : 28127 $as_echo_n "(cached) " >&6 28128else 28129 ac_check_lib_save_LIBS=$LIBS 28130LIBS="-lclocale $LIBS" 28131cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28132/* end confdefs.h. */ 28133 28134/* Override any GCC internal prototype to avoid an error. 28135 Use char because int might match the return type of a GCC 28136 builtin and then its argument prototype would still apply. */ 28137#ifdef __cplusplus 28138extern "C" 28139#endif 28140char libclocale_codepage_get (); 28141int 28142main () 28143{ 28144return libclocale_codepage_get (); 28145 ; 28146 return 0; 28147} 28148_ACEOF 28149if ac_fn_c_try_link "$LINENO"; then : 28150 ac_cv_lib_clocale_libclocale_codepage_get=yes 28151else 28152 ac_cv_lib_clocale_libclocale_codepage_get=no 28153fi 28154rm -f core conftest.err conftest.$ac_objext \ 28155 conftest$ac_exeext conftest.$ac_ext 28156LIBS=$ac_check_lib_save_LIBS 28157fi 28158{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_codepage_get" >&5 28159$as_echo "$ac_cv_lib_clocale_libclocale_codepage_get" >&6; } 28160if test "x$ac_cv_lib_clocale_libclocale_codepage_get" = xyes; then : 28161 ac_cv_libclocale_dummy=yes 28162else 28163 ac_cv_libclocale=no 28164fi 28165 28166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_codepage_set in -lclocale" >&5 28167$as_echo_n "checking for libclocale_codepage_set in -lclocale... " >&6; } 28168if ${ac_cv_lib_clocale_libclocale_codepage_set+:} false; then : 28169 $as_echo_n "(cached) " >&6 28170else 28171 ac_check_lib_save_LIBS=$LIBS 28172LIBS="-lclocale $LIBS" 28173cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28174/* end confdefs.h. */ 28175 28176/* Override any GCC internal prototype to avoid an error. 28177 Use char because int might match the return type of a GCC 28178 builtin and then its argument prototype would still apply. */ 28179#ifdef __cplusplus 28180extern "C" 28181#endif 28182char libclocale_codepage_set (); 28183int 28184main () 28185{ 28186return libclocale_codepage_set (); 28187 ; 28188 return 0; 28189} 28190_ACEOF 28191if ac_fn_c_try_link "$LINENO"; then : 28192 ac_cv_lib_clocale_libclocale_codepage_set=yes 28193else 28194 ac_cv_lib_clocale_libclocale_codepage_set=no 28195fi 28196rm -f core conftest.err conftest.$ac_objext \ 28197 conftest$ac_exeext conftest.$ac_ext 28198LIBS=$ac_check_lib_save_LIBS 28199fi 28200{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_codepage_set" >&5 28201$as_echo "$ac_cv_lib_clocale_libclocale_codepage_set" >&6; } 28202if test "x$ac_cv_lib_clocale_libclocale_codepage_set" = xyes; then : 28203 ac_cv_libclocale_dummy=yes 28204else 28205 ac_cv_libclocale=no 28206fi 28207 28208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_codepage_copy_from_string in -lclocale" >&5 28209$as_echo_n "checking for libclocale_codepage_copy_from_string in -lclocale... " >&6; } 28210if ${ac_cv_lib_clocale_libclocale_codepage_copy_from_string+:} false; then : 28211 $as_echo_n "(cached) " >&6 28212else 28213 ac_check_lib_save_LIBS=$LIBS 28214LIBS="-lclocale $LIBS" 28215cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28216/* end confdefs.h. */ 28217 28218/* Override any GCC internal prototype to avoid an error. 28219 Use char because int might match the return type of a GCC 28220 builtin and then its argument prototype would still apply. */ 28221#ifdef __cplusplus 28222extern "C" 28223#endif 28224char libclocale_codepage_copy_from_string (); 28225int 28226main () 28227{ 28228return libclocale_codepage_copy_from_string (); 28229 ; 28230 return 0; 28231} 28232_ACEOF 28233if ac_fn_c_try_link "$LINENO"; then : 28234 ac_cv_lib_clocale_libclocale_codepage_copy_from_string=yes 28235else 28236 ac_cv_lib_clocale_libclocale_codepage_copy_from_string=no 28237fi 28238rm -f core conftest.err conftest.$ac_objext \ 28239 conftest$ac_exeext conftest.$ac_ext 28240LIBS=$ac_check_lib_save_LIBS 28241fi 28242{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_codepage_copy_from_string" >&5 28243$as_echo "$ac_cv_lib_clocale_libclocale_codepage_copy_from_string" >&6; } 28244if test "x$ac_cv_lib_clocale_libclocale_codepage_copy_from_string" = xyes; then : 28245 ac_cv_libclocale_dummy=yes 28246else 28247 ac_cv_libclocale=no 28248fi 28249 28250 28251 if test "x$ac_cv_enable_wide_character_type" != xno; then : 28252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_codepage_copy_from_string_wide in -lclocale" >&5 28253$as_echo_n "checking for libclocale_codepage_copy_from_string_wide in -lclocale... " >&6; } 28254if ${ac_cv_lib_clocale_libclocale_codepage_copy_from_string_wide+:} false; then : 28255 $as_echo_n "(cached) " >&6 28256else 28257 ac_check_lib_save_LIBS=$LIBS 28258LIBS="-lclocale $LIBS" 28259cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28260/* end confdefs.h. */ 28261 28262/* Override any GCC internal prototype to avoid an error. 28263 Use char because int might match the return type of a GCC 28264 builtin and then its argument prototype would still apply. */ 28265#ifdef __cplusplus 28266extern "C" 28267#endif 28268char libclocale_codepage_copy_from_string_wide (); 28269int 28270main () 28271{ 28272return libclocale_codepage_copy_from_string_wide (); 28273 ; 28274 return 0; 28275} 28276_ACEOF 28277if ac_fn_c_try_link "$LINENO"; then : 28278 ac_cv_lib_clocale_libclocale_codepage_copy_from_string_wide=yes 28279else 28280 ac_cv_lib_clocale_libclocale_codepage_copy_from_string_wide=no 28281fi 28282rm -f core conftest.err conftest.$ac_objext \ 28283 conftest$ac_exeext conftest.$ac_ext 28284LIBS=$ac_check_lib_save_LIBS 28285fi 28286{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_codepage_copy_from_string_wide" >&5 28287$as_echo "$ac_cv_lib_clocale_libclocale_codepage_copy_from_string_wide" >&6; } 28288if test "x$ac_cv_lib_clocale_libclocale_codepage_copy_from_string_wide" = xyes; then : 28289 ac_cv_libclocale_dummy=yes 28290else 28291 ac_cv_libclocale=no 28292fi 28293 28294 28295fi 28296 28297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_locale_get_codepage in -lclocale" >&5 28298$as_echo_n "checking for libclocale_locale_get_codepage in -lclocale... " >&6; } 28299if ${ac_cv_lib_clocale_libclocale_locale_get_codepage+:} false; then : 28300 $as_echo_n "(cached) " >&6 28301else 28302 ac_check_lib_save_LIBS=$LIBS 28303LIBS="-lclocale $LIBS" 28304cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28305/* end confdefs.h. */ 28306 28307/* Override any GCC internal prototype to avoid an error. 28308 Use char because int might match the return type of a GCC 28309 builtin and then its argument prototype would still apply. */ 28310#ifdef __cplusplus 28311extern "C" 28312#endif 28313char libclocale_locale_get_codepage (); 28314int 28315main () 28316{ 28317return libclocale_locale_get_codepage (); 28318 ; 28319 return 0; 28320} 28321_ACEOF 28322if ac_fn_c_try_link "$LINENO"; then : 28323 ac_cv_lib_clocale_libclocale_locale_get_codepage=yes 28324else 28325 ac_cv_lib_clocale_libclocale_locale_get_codepage=no 28326fi 28327rm -f core conftest.err conftest.$ac_objext \ 28328 conftest$ac_exeext conftest.$ac_ext 28329LIBS=$ac_check_lib_save_LIBS 28330fi 28331{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_locale_get_codepage" >&5 28332$as_echo "$ac_cv_lib_clocale_libclocale_locale_get_codepage" >&6; } 28333if test "x$ac_cv_lib_clocale_libclocale_locale_get_codepage" = xyes; then : 28334 ac_cv_libclocale_dummy=yes 28335else 28336 ac_cv_libclocale=no 28337fi 28338 28339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_locale_get_decimal_point in -lclocale" >&5 28340$as_echo_n "checking for libclocale_locale_get_decimal_point in -lclocale... " >&6; } 28341if ${ac_cv_lib_clocale_libclocale_locale_get_decimal_point+:} false; then : 28342 $as_echo_n "(cached) " >&6 28343else 28344 ac_check_lib_save_LIBS=$LIBS 28345LIBS="-lclocale $LIBS" 28346cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28347/* end confdefs.h. */ 28348 28349/* Override any GCC internal prototype to avoid an error. 28350 Use char because int might match the return type of a GCC 28351 builtin and then its argument prototype would still apply. */ 28352#ifdef __cplusplus 28353extern "C" 28354#endif 28355char libclocale_locale_get_decimal_point (); 28356int 28357main () 28358{ 28359return libclocale_locale_get_decimal_point (); 28360 ; 28361 return 0; 28362} 28363_ACEOF 28364if ac_fn_c_try_link "$LINENO"; then : 28365 ac_cv_lib_clocale_libclocale_locale_get_decimal_point=yes 28366else 28367 ac_cv_lib_clocale_libclocale_locale_get_decimal_point=no 28368fi 28369rm -f core conftest.err conftest.$ac_objext \ 28370 conftest$ac_exeext conftest.$ac_ext 28371LIBS=$ac_check_lib_save_LIBS 28372fi 28373{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_locale_get_decimal_point" >&5 28374$as_echo "$ac_cv_lib_clocale_libclocale_locale_get_decimal_point" >&6; } 28375if test "x$ac_cv_lib_clocale_libclocale_locale_get_decimal_point" = xyes; then : 28376 ac_cv_libclocale_dummy=yes 28377else 28378 ac_cv_libclocale=no 28379fi 28380 28381 28382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_initialize in -lclocale" >&5 28383$as_echo_n "checking for libclocale_initialize in -lclocale... " >&6; } 28384if ${ac_cv_lib_clocale_libclocale_initialize+:} false; then : 28385 $as_echo_n "(cached) " >&6 28386else 28387 ac_check_lib_save_LIBS=$LIBS 28388LIBS="-lclocale $LIBS" 28389cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28390/* end confdefs.h. */ 28391 28392/* Override any GCC internal prototype to avoid an error. 28393 Use char because int might match the return type of a GCC 28394 builtin and then its argument prototype would still apply. */ 28395#ifdef __cplusplus 28396extern "C" 28397#endif 28398char libclocale_initialize (); 28399int 28400main () 28401{ 28402return libclocale_initialize (); 28403 ; 28404 return 0; 28405} 28406_ACEOF 28407if ac_fn_c_try_link "$LINENO"; then : 28408 ac_cv_lib_clocale_libclocale_initialize=yes 28409else 28410 ac_cv_lib_clocale_libclocale_initialize=no 28411fi 28412rm -f core conftest.err conftest.$ac_objext \ 28413 conftest$ac_exeext conftest.$ac_ext 28414LIBS=$ac_check_lib_save_LIBS 28415fi 28416{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_initialize" >&5 28417$as_echo "$ac_cv_lib_clocale_libclocale_initialize" >&6; } 28418if test "x$ac_cv_lib_clocale_libclocale_initialize" = xyes; then : 28419 ac_cv_libclocale_dummy=yes 28420else 28421 ac_cv_libclocale=no 28422fi 28423 28424 28425 ac_cv_libclocale_LIBADD="-lclocale" 28426fi 28427 28428fi 28429 if test "x$ac_cv_with_libclocale" != x && test "x$ac_cv_with_libclocale" != xauto-detect && test "x$ac_cv_libclocale" != xyes; then : 28430 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 28431$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 28432as_fn_error 1 "unable to find supported libclocale in directory: $ac_cv_with_libclocale 28433See \`config.log' for more details" "$LINENO" 5; } 28434 28435fi 28436 28437fi 28438 28439 if test "x$ac_cv_libclocale" = xyes; then : 28440 28441$as_echo "#define HAVE_LIBCLOCALE 1" >>confdefs.h 28442 28443 28444fi 28445 28446 if test "x$ac_cv_libclocale" = xyes; then : 28447 HAVE_LIBCLOCALE=1 28448 28449else 28450 HAVE_LIBCLOCALE=0 28451 28452 28453fi 28454 28455 28456 if test "x$ac_cv_libclocale" != xyes; then : 28457 for ac_header in langinfo.h locale.h 28458do : 28459 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 28460ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 28461if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 28462 cat >>confdefs.h <<_ACEOF 28463#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 28464_ACEOF 28465 28466fi 28467 28468done 28469 28470 28471 for ac_func in getenv 28472do : 28473 ac_fn_c_check_func "$LINENO" "getenv" "ac_cv_func_getenv" 28474if test "x$ac_cv_func_getenv" = xyes; then : 28475 cat >>confdefs.h <<_ACEOF 28476#define HAVE_GETENV 1 28477_ACEOF 28478 28479fi 28480done 28481 28482 28483 if test "x$ac_cv_func_getenv" != 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: getenv 28487See \`config.log' for more details" "$LINENO" 5; } 28488 28489fi 28490 28491 if test "x$ac_cv_enable_winapi" = xno; then : 28492 for ac_func in localeconv 28493do : 28494 ac_fn_c_check_func "$LINENO" "localeconv" "ac_cv_func_localeconv" 28495if test "x$ac_cv_func_localeconv" = xyes; then : 28496 cat >>confdefs.h <<_ACEOF 28497#define HAVE_LOCALECONV 1 28498_ACEOF 28499 28500fi 28501done 28502 28503 28504 if test "x$ac_cv_func_localeconv" != xyes; then : 28505 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 28506$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 28507as_fn_error 1 "Missing function: localeconv 28508See \`config.log' for more details" "$LINENO" 5; } 28509 28510fi 28511 28512fi 28513 28514 for ac_func in setlocale 28515do : 28516 ac_fn_c_check_func "$LINENO" "setlocale" "ac_cv_func_setlocale" 28517if test "x$ac_cv_func_setlocale" = xyes; then : 28518 cat >>confdefs.h <<_ACEOF 28519#define HAVE_SETLOCALE 1 28520_ACEOF 28521 28522fi 28523done 28524 28525 28526 if test "x$ac_cv_func_setlocale" != xyes; then : 28527 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 28528$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 28529as_fn_error 1 "Missing function: setlocale 28530See \`config.log' for more details" "$LINENO" 5; } 28531 28532fi 28533 28534 for ac_func in nl_langinfo 28535do : 28536 ac_fn_c_check_func "$LINENO" "nl_langinfo" "ac_cv_func_nl_langinfo" 28537if test "x$ac_cv_func_nl_langinfo" = xyes; then : 28538 cat >>confdefs.h <<_ACEOF 28539#define HAVE_NL_LANGINFO 1 28540_ACEOF 28541 28542fi 28543done 28544 28545 28546 if test "x$ac_cv_func_nl_langinfo" = xyes; then : 28547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo CODESET support" >&5 28548$as_echo_n "checking for nl_langinfo CODESET support... " >&6; } 28549if ${ac_cv_cv_langinfo_codeset+:} false; then : 28550 $as_echo_n "(cached) " >&6 28551else 28552 ac_ext=c 28553ac_cpp='$CPP $CPPFLAGS' 28554ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 28555ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 28556ac_compiler_gnu=$ac_cv_c_compiler_gnu 28557 28558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28559/* end confdefs.h. */ 28560#include <langinfo.h> 28561int 28562main () 28563{ 28564char* charset = nl_langinfo( CODESET ); 28565 ; 28566 return 0; 28567} 28568_ACEOF 28569if ac_fn_c_try_link "$LINENO"; then : 28570 ac_cv_cv_langinfo_codeset=yes 28571else 28572 ac_cv_cv_langinfo_codeset=no 28573fi 28574rm -f core conftest.err conftest.$ac_objext \ 28575 conftest$ac_exeext conftest.$ac_ext 28576 ac_ext=c 28577ac_cpp='$CPP $CPPFLAGS' 28578ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 28579ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 28580ac_compiler_gnu=$ac_cv_c_compiler_gnu 28581 28582fi 28583{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cv_langinfo_codeset" >&5 28584$as_echo "$ac_cv_cv_langinfo_codeset" >&6; } 28585else 28586 ac_cv_cv_langinfo_codeset=no 28587fi 28588 28589 if test "x$ac_cv_cv_langinfo_codeset" = xyes; then : 28590 28591$as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h 28592 28593 28594fi 28595 28596 28597 ac_cv_libclocale_CPPFLAGS="-I../libclocale"; 28598 ac_cv_libclocale_LIBADD="../libclocale/libclocale.la"; 28599 28600 ac_cv_libclocale=local 28601 28602 28603 28604$as_echo "#define HAVE_LOCAL_LIBCLOCALE 1" >>confdefs.h 28605 28606 HAVE_LOCAL_LIBCLOCALE=1 28607 28608 28609fi 28610 28611 if test "x$ac_cv_libclocale" = xlocal; then 28612 HAVE_LOCAL_LIBCLOCALE_TRUE= 28613 HAVE_LOCAL_LIBCLOCALE_FALSE='#' 28614else 28615 HAVE_LOCAL_LIBCLOCALE_TRUE='#' 28616 HAVE_LOCAL_LIBCLOCALE_FALSE= 28617fi 28618 28619 if test "x$ac_cv_libclocale_CPPFLAGS" != "x"; then : 28620 LIBCLOCALE_CPPFLAGS=$ac_cv_libclocale_CPPFLAGS 28621 28622 28623fi 28624 if test "x$ac_cv_libclocale_LIBADD" != "x"; then : 28625 LIBCLOCALE_LIBADD=$ac_cv_libclocale_LIBADD 28626 28627 28628fi 28629 28630 if test "x$ac_cv_libclocale" = xyes; then : 28631 ax_libclocale_pc_libs_private=-lclocale 28632 28633 28634fi 28635 28636 if test "x$ac_cv_libclocale" = xyes; then : 28637 ax_libclocale_spec_requires=libclocale 28638 28639 ax_libclocale_spec_build_requires=libclocale-devel 28640 28641 28642fi 28643 28644 28645 28646 28647# Check whether --with-libcnotify was given. 28648if test "${with_libcnotify+set}" = set; then : 28649 withval=$with_libcnotify; ac_cv_with_libcnotify=$withval 28650else 28651 ac_cv_with_libcnotify=auto-detect 28652fi 28653 28654 { $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 28655$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; } 28656if ${ac_cv_with_libcnotify+:} false; then : 28657 $as_echo_n "(cached) " >&6 28658else 28659 ac_cv_with_libcnotify=auto-detect 28660fi 28661{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libcnotify" >&5 28662$as_echo "$ac_cv_with_libcnotify" >&6; } 28663 28664 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libcnotify" = xno; then : 28665 ac_cv_libcnotify=no 28666else 28667 ac_cv_libcnotify=check 28668 if test "x$ac_cv_with_libcnotify" != x && test "x$ac_cv_with_libcnotify" != xauto-detect; then : 28669 if test -d "$ac_cv_with_libcnotify"; then : 28670 CFLAGS="$CFLAGS -I${ac_cv_with_libcnotify}/include" 28671 LDFLAGS="$LDFLAGS -L${ac_cv_with_libcnotify}/lib" 28672else 28673 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 28674$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 28675as_fn_error 1 "no such directory: $ac_cv_with_libcnotify 28676See \`config.log' for more details" "$LINENO" 5; } 28677 28678fi 28679 28680else 28681 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 28682 28683pkg_failed=no 28684{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify" >&5 28685$as_echo_n "checking for libcnotify... " >&6; } 28686 28687if test -n "$libcnotify_CFLAGS"; then 28688 pkg_cv_libcnotify_CFLAGS="$libcnotify_CFLAGS" 28689 elif test -n "$PKG_CONFIG"; then 28690 if test -n "$PKG_CONFIG" && \ 28691 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcnotify >= 20120425\""; } >&5 28692 ($PKG_CONFIG --exists --print-errors "libcnotify >= 20120425") 2>&5 28693 ac_status=$? 28694 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 28695 test $ac_status = 0; }; then 28696 pkg_cv_libcnotify_CFLAGS=`$PKG_CONFIG --cflags "libcnotify >= 20120425" 2>/dev/null` 28697 test "x$?" != "x0" && pkg_failed=yes 28698else 28699 pkg_failed=yes 28700fi 28701 else 28702 pkg_failed=untried 28703fi 28704if test -n "$libcnotify_LIBS"; then 28705 pkg_cv_libcnotify_LIBS="$libcnotify_LIBS" 28706 elif test -n "$PKG_CONFIG"; then 28707 if test -n "$PKG_CONFIG" && \ 28708 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcnotify >= 20120425\""; } >&5 28709 ($PKG_CONFIG --exists --print-errors "libcnotify >= 20120425") 2>&5 28710 ac_status=$? 28711 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 28712 test $ac_status = 0; }; then 28713 pkg_cv_libcnotify_LIBS=`$PKG_CONFIG --libs "libcnotify >= 20120425" 2>/dev/null` 28714 test "x$?" != "x0" && pkg_failed=yes 28715else 28716 pkg_failed=yes 28717fi 28718 else 28719 pkg_failed=untried 28720fi 28721 28722 28723 28724if test $pkg_failed = yes; then 28725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 28726$as_echo "no" >&6; } 28727 28728if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 28729 _pkg_short_errors_supported=yes 28730else 28731 _pkg_short_errors_supported=no 28732fi 28733 if test $_pkg_short_errors_supported = yes; then 28734 libcnotify_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcnotify >= 20120425" 2>&1` 28735 else 28736 libcnotify_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcnotify >= 20120425" 2>&1` 28737 fi 28738 # Put the nasty error message in config.log where it belongs 28739 echo "$libcnotify_PKG_ERRORS" >&5 28740 28741 ac_cv_libcnotify=check 28742elif test $pkg_failed = untried; then 28743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 28744$as_echo "no" >&6; } 28745 ac_cv_libcnotify=check 28746else 28747 libcnotify_CFLAGS=$pkg_cv_libcnotify_CFLAGS 28748 libcnotify_LIBS=$pkg_cv_libcnotify_LIBS 28749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 28750$as_echo "yes" >&6; } 28751 ac_cv_libcnotify=yes 28752fi 28753 28754fi 28755 if test "x$ac_cv_libcnotify" = xyes; then : 28756 ac_cv_libcnotify_CPPFLAGS="$pkg_cv_libcnotify_CFLAGS" 28757 ac_cv_libcnotify_LIBADD="$pkg_cv_libcnotify_LIBS" 28758fi 28759 28760fi 28761 28762 if test "x$ac_cv_libcnotify" = xcheck; then : 28763 for ac_header in libcnotify.h 28764do : 28765 ac_fn_c_check_header_mongrel "$LINENO" "libcnotify.h" "ac_cv_header_libcnotify_h" "$ac_includes_default" 28766if test "x$ac_cv_header_libcnotify_h" = xyes; then : 28767 cat >>confdefs.h <<_ACEOF 28768#define HAVE_LIBCNOTIFY_H 1 28769_ACEOF 28770 28771fi 28772 28773done 28774 28775 28776 if test "x$ac_cv_header_libcnotify_h" = xno; then : 28777 ac_cv_libcnotify=no 28778else 28779 ac_cv_libcnotify=yes 28780 28781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_get_version in -lcnotify" >&5 28782$as_echo_n "checking for libcnotify_get_version in -lcnotify... " >&6; } 28783if ${ac_cv_lib_cnotify_libcnotify_get_version+:} false; then : 28784 $as_echo_n "(cached) " >&6 28785else 28786 ac_check_lib_save_LIBS=$LIBS 28787LIBS="-lcnotify $LIBS" 28788cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28789/* end confdefs.h. */ 28790 28791/* Override any GCC internal prototype to avoid an error. 28792 Use char because int might match the return type of a GCC 28793 builtin and then its argument prototype would still apply. */ 28794#ifdef __cplusplus 28795extern "C" 28796#endif 28797char libcnotify_get_version (); 28798int 28799main () 28800{ 28801return libcnotify_get_version (); 28802 ; 28803 return 0; 28804} 28805_ACEOF 28806if ac_fn_c_try_link "$LINENO"; then : 28807 ac_cv_lib_cnotify_libcnotify_get_version=yes 28808else 28809 ac_cv_lib_cnotify_libcnotify_get_version=no 28810fi 28811rm -f core conftest.err conftest.$ac_objext \ 28812 conftest$ac_exeext conftest.$ac_ext 28813LIBS=$ac_check_lib_save_LIBS 28814fi 28815{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_get_version" >&5 28816$as_echo "$ac_cv_lib_cnotify_libcnotify_get_version" >&6; } 28817if test "x$ac_cv_lib_cnotify_libcnotify_get_version" = xyes; then : 28818 ac_cv_libcnotify_dummy=yes 28819else 28820 ac_cv_libcnotify=no 28821fi 28822 28823 28824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_printf in -lcnotify" >&5 28825$as_echo_n "checking for libcnotify_printf in -lcnotify... " >&6; } 28826if ${ac_cv_lib_cnotify_libcnotify_printf+:} false; then : 28827 $as_echo_n "(cached) " >&6 28828else 28829 ac_check_lib_save_LIBS=$LIBS 28830LIBS="-lcnotify $LIBS" 28831cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28832/* end confdefs.h. */ 28833 28834/* Override any GCC internal prototype to avoid an error. 28835 Use char because int might match the return type of a GCC 28836 builtin and then its argument prototype would still apply. */ 28837#ifdef __cplusplus 28838extern "C" 28839#endif 28840char libcnotify_printf (); 28841int 28842main () 28843{ 28844return libcnotify_printf (); 28845 ; 28846 return 0; 28847} 28848_ACEOF 28849if ac_fn_c_try_link "$LINENO"; then : 28850 ac_cv_lib_cnotify_libcnotify_printf=yes 28851else 28852 ac_cv_lib_cnotify_libcnotify_printf=no 28853fi 28854rm -f core conftest.err conftest.$ac_objext \ 28855 conftest$ac_exeext conftest.$ac_ext 28856LIBS=$ac_check_lib_save_LIBS 28857fi 28858{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_printf" >&5 28859$as_echo "$ac_cv_lib_cnotify_libcnotify_printf" >&6; } 28860if test "x$ac_cv_lib_cnotify_libcnotify_printf" = xyes; then : 28861 ac_cv_libcnotify_dummy=yes 28862else 28863 ac_cv_libcnotify=no 28864fi 28865 28866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_print_data in -lcnotify" >&5 28867$as_echo_n "checking for libcnotify_print_data in -lcnotify... " >&6; } 28868if ${ac_cv_lib_cnotify_libcnotify_print_data+:} false; then : 28869 $as_echo_n "(cached) " >&6 28870else 28871 ac_check_lib_save_LIBS=$LIBS 28872LIBS="-lcnotify $LIBS" 28873cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28874/* end confdefs.h. */ 28875 28876/* Override any GCC internal prototype to avoid an error. 28877 Use char because int might match the return type of a GCC 28878 builtin and then its argument prototype would still apply. */ 28879#ifdef __cplusplus 28880extern "C" 28881#endif 28882char libcnotify_print_data (); 28883int 28884main () 28885{ 28886return libcnotify_print_data (); 28887 ; 28888 return 0; 28889} 28890_ACEOF 28891if ac_fn_c_try_link "$LINENO"; then : 28892 ac_cv_lib_cnotify_libcnotify_print_data=yes 28893else 28894 ac_cv_lib_cnotify_libcnotify_print_data=no 28895fi 28896rm -f core conftest.err conftest.$ac_objext \ 28897 conftest$ac_exeext conftest.$ac_ext 28898LIBS=$ac_check_lib_save_LIBS 28899fi 28900{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_print_data" >&5 28901$as_echo "$ac_cv_lib_cnotify_libcnotify_print_data" >&6; } 28902if test "x$ac_cv_lib_cnotify_libcnotify_print_data" = xyes; then : 28903 ac_cv_libcnotify_dummy=yes 28904else 28905 ac_cv_libcnotify=no 28906fi 28907 28908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_print_error_backtrace in -lcnotify" >&5 28909$as_echo_n "checking for libcnotify_print_error_backtrace in -lcnotify... " >&6; } 28910if ${ac_cv_lib_cnotify_libcnotify_print_error_backtrace+:} false; then : 28911 $as_echo_n "(cached) " >&6 28912else 28913 ac_check_lib_save_LIBS=$LIBS 28914LIBS="-lcnotify $LIBS" 28915cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28916/* end confdefs.h. */ 28917 28918/* Override any GCC internal prototype to avoid an error. 28919 Use char because int might match the return type of a GCC 28920 builtin and then its argument prototype would still apply. */ 28921#ifdef __cplusplus 28922extern "C" 28923#endif 28924char libcnotify_print_error_backtrace (); 28925int 28926main () 28927{ 28928return libcnotify_print_error_backtrace (); 28929 ; 28930 return 0; 28931} 28932_ACEOF 28933if ac_fn_c_try_link "$LINENO"; then : 28934 ac_cv_lib_cnotify_libcnotify_print_error_backtrace=yes 28935else 28936 ac_cv_lib_cnotify_libcnotify_print_error_backtrace=no 28937fi 28938rm -f core conftest.err conftest.$ac_objext \ 28939 conftest$ac_exeext conftest.$ac_ext 28940LIBS=$ac_check_lib_save_LIBS 28941fi 28942{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_print_error_backtrace" >&5 28943$as_echo "$ac_cv_lib_cnotify_libcnotify_print_error_backtrace" >&6; } 28944if test "x$ac_cv_lib_cnotify_libcnotify_print_error_backtrace" = xyes; then : 28945 ac_cv_libcnotify_dummy=yes 28946else 28947 ac_cv_libcnotify=no 28948fi 28949 28950 28951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_stream_set in -lcnotify" >&5 28952$as_echo_n "checking for libcnotify_stream_set in -lcnotify... " >&6; } 28953if ${ac_cv_lib_cnotify_libcnotify_stream_set+:} false; then : 28954 $as_echo_n "(cached) " >&6 28955else 28956 ac_check_lib_save_LIBS=$LIBS 28957LIBS="-lcnotify $LIBS" 28958cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28959/* end confdefs.h. */ 28960 28961/* Override any GCC internal prototype to avoid an error. 28962 Use char because int might match the return type of a GCC 28963 builtin and then its argument prototype would still apply. */ 28964#ifdef __cplusplus 28965extern "C" 28966#endif 28967char libcnotify_stream_set (); 28968int 28969main () 28970{ 28971return libcnotify_stream_set (); 28972 ; 28973 return 0; 28974} 28975_ACEOF 28976if ac_fn_c_try_link "$LINENO"; then : 28977 ac_cv_lib_cnotify_libcnotify_stream_set=yes 28978else 28979 ac_cv_lib_cnotify_libcnotify_stream_set=no 28980fi 28981rm -f core conftest.err conftest.$ac_objext \ 28982 conftest$ac_exeext conftest.$ac_ext 28983LIBS=$ac_check_lib_save_LIBS 28984fi 28985{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_stream_set" >&5 28986$as_echo "$ac_cv_lib_cnotify_libcnotify_stream_set" >&6; } 28987if test "x$ac_cv_lib_cnotify_libcnotify_stream_set" = xyes; then : 28988 ac_cv_libcnotify_dummy=yes 28989else 28990 ac_cv_libcnotify=no 28991fi 28992 28993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_stream_open in -lcnotify" >&5 28994$as_echo_n "checking for libcnotify_stream_open in -lcnotify... " >&6; } 28995if ${ac_cv_lib_cnotify_libcnotify_stream_open+:} false; then : 28996 $as_echo_n "(cached) " >&6 28997else 28998 ac_check_lib_save_LIBS=$LIBS 28999LIBS="-lcnotify $LIBS" 29000cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29001/* end confdefs.h. */ 29002 29003/* Override any GCC internal prototype to avoid an error. 29004 Use char because int might match the return type of a GCC 29005 builtin and then its argument prototype would still apply. */ 29006#ifdef __cplusplus 29007extern "C" 29008#endif 29009char libcnotify_stream_open (); 29010int 29011main () 29012{ 29013return libcnotify_stream_open (); 29014 ; 29015 return 0; 29016} 29017_ACEOF 29018if ac_fn_c_try_link "$LINENO"; then : 29019 ac_cv_lib_cnotify_libcnotify_stream_open=yes 29020else 29021 ac_cv_lib_cnotify_libcnotify_stream_open=no 29022fi 29023rm -f core conftest.err conftest.$ac_objext \ 29024 conftest$ac_exeext conftest.$ac_ext 29025LIBS=$ac_check_lib_save_LIBS 29026fi 29027{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_stream_open" >&5 29028$as_echo "$ac_cv_lib_cnotify_libcnotify_stream_open" >&6; } 29029if test "x$ac_cv_lib_cnotify_libcnotify_stream_open" = xyes; then : 29030 ac_cv_libcnotify_dummy=yes 29031else 29032 ac_cv_libcnotify=no 29033fi 29034 29035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_stream_close in -lcnotify" >&5 29036$as_echo_n "checking for libcnotify_stream_close in -lcnotify... " >&6; } 29037if ${ac_cv_lib_cnotify_libcnotify_stream_close+:} false; then : 29038 $as_echo_n "(cached) " >&6 29039else 29040 ac_check_lib_save_LIBS=$LIBS 29041LIBS="-lcnotify $LIBS" 29042cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29043/* end confdefs.h. */ 29044 29045/* Override any GCC internal prototype to avoid an error. 29046 Use char because int might match the return type of a GCC 29047 builtin and then its argument prototype would still apply. */ 29048#ifdef __cplusplus 29049extern "C" 29050#endif 29051char libcnotify_stream_close (); 29052int 29053main () 29054{ 29055return libcnotify_stream_close (); 29056 ; 29057 return 0; 29058} 29059_ACEOF 29060if ac_fn_c_try_link "$LINENO"; then : 29061 ac_cv_lib_cnotify_libcnotify_stream_close=yes 29062else 29063 ac_cv_lib_cnotify_libcnotify_stream_close=no 29064fi 29065rm -f core conftest.err conftest.$ac_objext \ 29066 conftest$ac_exeext conftest.$ac_ext 29067LIBS=$ac_check_lib_save_LIBS 29068fi 29069{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_stream_close" >&5 29070$as_echo "$ac_cv_lib_cnotify_libcnotify_stream_close" >&6; } 29071if test "x$ac_cv_lib_cnotify_libcnotify_stream_close" = xyes; then : 29072 ac_cv_libcnotify_dummy=yes 29073else 29074 ac_cv_libcnotify=no 29075fi 29076 29077 29078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_verbose_set in -lcnotify" >&5 29079$as_echo_n "checking for libcnotify_verbose_set in -lcnotify... " >&6; } 29080if ${ac_cv_lib_cnotify_libcnotify_verbose_set+:} false; then : 29081 $as_echo_n "(cached) " >&6 29082else 29083 ac_check_lib_save_LIBS=$LIBS 29084LIBS="-lcnotify $LIBS" 29085cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29086/* end confdefs.h. */ 29087 29088/* Override any GCC internal prototype to avoid an error. 29089 Use char because int might match the return type of a GCC 29090 builtin and then its argument prototype would still apply. */ 29091#ifdef __cplusplus 29092extern "C" 29093#endif 29094char libcnotify_verbose_set (); 29095int 29096main () 29097{ 29098return libcnotify_verbose_set (); 29099 ; 29100 return 0; 29101} 29102_ACEOF 29103if ac_fn_c_try_link "$LINENO"; then : 29104 ac_cv_lib_cnotify_libcnotify_verbose_set=yes 29105else 29106 ac_cv_lib_cnotify_libcnotify_verbose_set=no 29107fi 29108rm -f core conftest.err conftest.$ac_objext \ 29109 conftest$ac_exeext conftest.$ac_ext 29110LIBS=$ac_check_lib_save_LIBS 29111fi 29112{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_verbose_set" >&5 29113$as_echo "$ac_cv_lib_cnotify_libcnotify_verbose_set" >&6; } 29114if test "x$ac_cv_lib_cnotify_libcnotify_verbose_set" = xyes; then : 29115 ac_cv_libcnotify_dummy=yes 29116else 29117 ac_cv_libcnotify=no 29118fi 29119 29120 29121 ac_cv_libcnotify_LIBADD="-lcnotify" 29122fi 29123 29124fi 29125 if test "x$ac_cv_with_libcnotify" != x && test "x$ac_cv_with_libcnotify" != xauto-detect && test "x$ac_cv_libcnotify" != xyes; then : 29126 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 29127$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 29128as_fn_error 1 "unable to find supported libcnotify in directory: $ac_cv_with_libcnotify 29129See \`config.log' for more details" "$LINENO" 5; } 29130 29131fi 29132 29133fi 29134 29135 if test "x$ac_cv_libcnotify" = xyes; then : 29136 29137$as_echo "#define HAVE_LIBCNOTIFY 1" >>confdefs.h 29138 29139 29140fi 29141 29142 if test "x$ac_cv_libcnotify" = xyes; then : 29143 HAVE_LIBCNOTIFY=1 29144 29145else 29146 HAVE_LIBCNOTIFY=0 29147 29148 29149fi 29150 29151 29152 if test "x$ac_cv_libcnotify" != xyes; then : 29153 for ac_header in stdarg.h varargs.h 29154do : 29155 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 29156ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 29157if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 29158 cat >>confdefs.h <<_ACEOF 29159#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 29160_ACEOF 29161 29162fi 29163 29164done 29165 29166 29167 if test "x$ac_cv_header_stdarg_h" != xyes && test "x$ac_cv_header_varargs_h" != xyes; then : 29168 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 29169$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 29170as_fn_error 1 "Missing headers: stdarg.h and varargs.h 29171See \`config.log' for more details" "$LINENO" 5; } 29172 29173fi 29174 29175 for ac_header in errno.h 29176do : 29177 ac_fn_c_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default" 29178if test "x$ac_cv_header_errno_h" = xyes; then : 29179 cat >>confdefs.h <<_ACEOF 29180#define HAVE_ERRNO_H 1 29181_ACEOF 29182 29183fi 29184 29185done 29186 29187 29188 ac_cv_libcnotify_CPPFLAGS="-I../libcnotify"; 29189 ac_cv_libcnotify_LIBADD="../libcnotify/libcnotify.la"; 29190 29191 ac_cv_libcnotify=local 29192 29193 29194 29195$as_echo "#define HAVE_LOCAL_LIBCNOTIFY 1" >>confdefs.h 29196 29197 HAVE_LOCAL_LIBCNOTIFY=1 29198 29199 29200fi 29201 29202 if test "x$ac_cv_libcnotify" = xlocal; then 29203 HAVE_LOCAL_LIBCNOTIFY_TRUE= 29204 HAVE_LOCAL_LIBCNOTIFY_FALSE='#' 29205else 29206 HAVE_LOCAL_LIBCNOTIFY_TRUE='#' 29207 HAVE_LOCAL_LIBCNOTIFY_FALSE= 29208fi 29209 29210 if test "x$ac_cv_libcnotify_CPPFLAGS" != "x"; then : 29211 LIBCNOTIFY_CPPFLAGS=$ac_cv_libcnotify_CPPFLAGS 29212 29213 29214fi 29215 if test "x$ac_cv_libcnotify_LIBADD" != "x"; then : 29216 LIBCNOTIFY_LIBADD=$ac_cv_libcnotify_LIBADD 29217 29218 29219fi 29220 29221 if test "x$ac_cv_libcnotify" = xyes; then : 29222 ax_libcnotify_pc_libs_private=-lcnotify 29223 29224 29225fi 29226 29227 if test "x$ac_cv_libcnotify" = xyes; then : 29228 ax_libcnotify_spec_requires=libcnotify 29229 29230 ax_libcnotify_spec_build_requires=libcnotify-devel 29231 29232 29233fi 29234 29235 29236 29237 29238# Check whether --with-libcsplit was given. 29239if test "${with_libcsplit+set}" = set; then : 29240 withval=$with_libcsplit; ac_cv_with_libcsplit=$withval 29241else 29242 ac_cv_with_libcsplit=auto-detect 29243fi 29244 29245 { $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 29246$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; } 29247if ${ac_cv_with_libcsplit+:} false; then : 29248 $as_echo_n "(cached) " >&6 29249else 29250 ac_cv_with_libcsplit=auto-detect 29251fi 29252{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libcsplit" >&5 29253$as_echo "$ac_cv_with_libcsplit" >&6; } 29254 29255 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libcsplit" = xno; then : 29256 ac_cv_libcsplit=no 29257else 29258 ac_cv_libcsplit=check 29259 if test "x$ac_cv_with_libcsplit" != x && test "x$ac_cv_with_libcsplit" != xauto-detect; then : 29260 if test -d "$ac_cv_with_libcsplit"; then : 29261 CFLAGS="$CFLAGS -I${ac_cv_with_libcsplit}/include" 29262 LDFLAGS="$LDFLAGS -L${ac_cv_with_libcsplit}/lib" 29263else 29264 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 29265$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 29266as_fn_error 1 "no such directory: $ac_cv_with_libcsplit 29267See \`config.log' for more details" "$LINENO" 5; } 29268 29269fi 29270 29271else 29272 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 29273 29274pkg_failed=no 29275{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit" >&5 29276$as_echo_n "checking for libcsplit... " >&6; } 29277 29278if test -n "$libcsplit_CFLAGS"; then 29279 pkg_cv_libcsplit_CFLAGS="$libcsplit_CFLAGS" 29280 elif test -n "$PKG_CONFIG"; then 29281 if test -n "$PKG_CONFIG" && \ 29282 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcsplit >= 20120701\""; } >&5 29283 ($PKG_CONFIG --exists --print-errors "libcsplit >= 20120701") 2>&5 29284 ac_status=$? 29285 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 29286 test $ac_status = 0; }; then 29287 pkg_cv_libcsplit_CFLAGS=`$PKG_CONFIG --cflags "libcsplit >= 20120701" 2>/dev/null` 29288 test "x$?" != "x0" && pkg_failed=yes 29289else 29290 pkg_failed=yes 29291fi 29292 else 29293 pkg_failed=untried 29294fi 29295if test -n "$libcsplit_LIBS"; then 29296 pkg_cv_libcsplit_LIBS="$libcsplit_LIBS" 29297 elif test -n "$PKG_CONFIG"; then 29298 if test -n "$PKG_CONFIG" && \ 29299 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcsplit >= 20120701\""; } >&5 29300 ($PKG_CONFIG --exists --print-errors "libcsplit >= 20120701") 2>&5 29301 ac_status=$? 29302 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 29303 test $ac_status = 0; }; then 29304 pkg_cv_libcsplit_LIBS=`$PKG_CONFIG --libs "libcsplit >= 20120701" 2>/dev/null` 29305 test "x$?" != "x0" && pkg_failed=yes 29306else 29307 pkg_failed=yes 29308fi 29309 else 29310 pkg_failed=untried 29311fi 29312 29313 29314 29315if test $pkg_failed = yes; then 29316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 29317$as_echo "no" >&6; } 29318 29319if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 29320 _pkg_short_errors_supported=yes 29321else 29322 _pkg_short_errors_supported=no 29323fi 29324 if test $_pkg_short_errors_supported = yes; then 29325 libcsplit_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcsplit >= 20120701" 2>&1` 29326 else 29327 libcsplit_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcsplit >= 20120701" 2>&1` 29328 fi 29329 # Put the nasty error message in config.log where it belongs 29330 echo "$libcsplit_PKG_ERRORS" >&5 29331 29332 ac_cv_libcsplit=check 29333elif test $pkg_failed = untried; then 29334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 29335$as_echo "no" >&6; } 29336 ac_cv_libcsplit=check 29337else 29338 libcsplit_CFLAGS=$pkg_cv_libcsplit_CFLAGS 29339 libcsplit_LIBS=$pkg_cv_libcsplit_LIBS 29340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 29341$as_echo "yes" >&6; } 29342 ac_cv_libcsplit=yes 29343fi 29344 29345fi 29346 if test "x$ac_cv_libcsplit" = xyes && test "x$ac_cv_enable_wide_character_type" != xno; then : 29347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libcsplit/features.h defines LIBCSPLIT_HAVE_WIDE_CHARACTER_TYPE as 1" >&5 29348$as_echo_n "checking whether libcsplit/features.h defines LIBCSPLIT_HAVE_WIDE_CHARACTER_TYPE as 1... " >&6; } 29349if ${ac_cv_header_libcsplit_features_h_have_wide_character_type+:} false; then : 29350 $as_echo_n "(cached) " >&6 29351else 29352 ac_ext=c 29353ac_cpp='$CPP $CPPFLAGS' 29354ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 29355ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 29356ac_compiler_gnu=$ac_cv_c_compiler_gnu 29357 29358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29359/* end confdefs.h. */ 29360#include <libcsplit/features.h> 29361int 29362main () 29363{ 29364#if !defined( LIBCSPLIT_HAVE_WIDE_CHARACTER_TYPE ) || ( LIBCSPLIT_HAVE_WIDE_CHARACTER_TYPE != 1 ) 29365#error LIBCSPLIT_HAVE_WIDE_CHARACTER_TYPE not defined 29366#endif 29367 ; 29368 return 0; 29369} 29370_ACEOF 29371if ac_fn_c_try_compile "$LINENO"; then : 29372 ac_cv_header_libcsplit_features_h_have_wide_character_type=yes 29373else 29374 ac_cv_header_libcsplit_features_h_have_wide_character_type=no 29375fi 29376rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 29377 ac_ext=c 29378ac_cpp='$CPP $CPPFLAGS' 29379ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 29380ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 29381ac_compiler_gnu=$ac_cv_c_compiler_gnu 29382 29383fi 29384{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_libcsplit_features_h_have_wide_character_type" >&5 29385$as_echo "$ac_cv_header_libcsplit_features_h_have_wide_character_type" >&6; } 29386 29387 if test "x$ac_cv_header_libcsplit_features_h_have_wide_character_type" = xno; then : 29388 ac_cv_libcsplit=no 29389fi 29390 29391fi 29392 if test "x$ac_cv_libcsplit" = xyes; then : 29393 ac_cv_libcsplit_CPPFLAGS="$pkg_cv_libcsplit_CFLAGS" 29394 ac_cv_libcsplit_LIBADD="$pkg_cv_libcsplit_LIBS" 29395fi 29396 29397fi 29398 29399 if test "x$ac_cv_libcsplit" = xcheck; then : 29400 for ac_header in libcsplit.h 29401do : 29402 ac_fn_c_check_header_mongrel "$LINENO" "libcsplit.h" "ac_cv_header_libcsplit_h" "$ac_includes_default" 29403if test "x$ac_cv_header_libcsplit_h" = xyes; then : 29404 cat >>confdefs.h <<_ACEOF 29405#define HAVE_LIBCSPLIT_H 1 29406_ACEOF 29407 29408fi 29409 29410done 29411 29412 29413 if test "x$ac_cv_header_libcsplit_h" = xno; then : 29414 ac_cv_libcsplit=no 29415else 29416 ac_cv_libcsplit=yes 29417 29418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_get_version in -lcsplit" >&5 29419$as_echo_n "checking for libcsplit_get_version in -lcsplit... " >&6; } 29420if ${ac_cv_lib_csplit_libcsplit_get_version+:} false; then : 29421 $as_echo_n "(cached) " >&6 29422else 29423 ac_check_lib_save_LIBS=$LIBS 29424LIBS="-lcsplit $LIBS" 29425cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29426/* end confdefs.h. */ 29427 29428/* Override any GCC internal prototype to avoid an error. 29429 Use char because int might match the return type of a GCC 29430 builtin and then its argument prototype would still apply. */ 29431#ifdef __cplusplus 29432extern "C" 29433#endif 29434char libcsplit_get_version (); 29435int 29436main () 29437{ 29438return libcsplit_get_version (); 29439 ; 29440 return 0; 29441} 29442_ACEOF 29443if ac_fn_c_try_link "$LINENO"; then : 29444 ac_cv_lib_csplit_libcsplit_get_version=yes 29445else 29446 ac_cv_lib_csplit_libcsplit_get_version=no 29447fi 29448rm -f core conftest.err conftest.$ac_objext \ 29449 conftest$ac_exeext conftest.$ac_ext 29450LIBS=$ac_check_lib_save_LIBS 29451fi 29452{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_get_version" >&5 29453$as_echo "$ac_cv_lib_csplit_libcsplit_get_version" >&6; } 29454if test "x$ac_cv_lib_csplit_libcsplit_get_version" = xyes; then : 29455 ac_cv_libcsplit_dummy=yes 29456else 29457 ac_cv_libcsplit=no 29458fi 29459 29460 29461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_narrow_string_split in -lcsplit" >&5 29462$as_echo_n "checking for libcsplit_narrow_string_split in -lcsplit... " >&6; } 29463if ${ac_cv_lib_csplit_libcsplit_narrow_string_split+:} false; then : 29464 $as_echo_n "(cached) " >&6 29465else 29466 ac_check_lib_save_LIBS=$LIBS 29467LIBS="-lcsplit $LIBS" 29468cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29469/* end confdefs.h. */ 29470 29471/* Override any GCC internal prototype to avoid an error. 29472 Use char because int might match the return type of a GCC 29473 builtin and then its argument prototype would still apply. */ 29474#ifdef __cplusplus 29475extern "C" 29476#endif 29477char libcsplit_narrow_string_split (); 29478int 29479main () 29480{ 29481return libcsplit_narrow_string_split (); 29482 ; 29483 return 0; 29484} 29485_ACEOF 29486if ac_fn_c_try_link "$LINENO"; then : 29487 ac_cv_lib_csplit_libcsplit_narrow_string_split=yes 29488else 29489 ac_cv_lib_csplit_libcsplit_narrow_string_split=no 29490fi 29491rm -f core conftest.err conftest.$ac_objext \ 29492 conftest$ac_exeext conftest.$ac_ext 29493LIBS=$ac_check_lib_save_LIBS 29494fi 29495{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_narrow_string_split" >&5 29496$as_echo "$ac_cv_lib_csplit_libcsplit_narrow_string_split" >&6; } 29497if test "x$ac_cv_lib_csplit_libcsplit_narrow_string_split" = xyes; then : 29498 ac_cv_libcsplit_dummy=yes 29499else 29500 ac_cv_libcsplit=no 29501fi 29502 29503 29504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_narrow_split_string_free in -lcsplit" >&5 29505$as_echo_n "checking for libcsplit_narrow_split_string_free in -lcsplit... " >&6; } 29506if ${ac_cv_lib_csplit_libcsplit_narrow_split_string_free+:} false; then : 29507 $as_echo_n "(cached) " >&6 29508else 29509 ac_check_lib_save_LIBS=$LIBS 29510LIBS="-lcsplit $LIBS" 29511cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29512/* end confdefs.h. */ 29513 29514/* Override any GCC internal prototype to avoid an error. 29515 Use char because int might match the return type of a GCC 29516 builtin and then its argument prototype would still apply. */ 29517#ifdef __cplusplus 29518extern "C" 29519#endif 29520char libcsplit_narrow_split_string_free (); 29521int 29522main () 29523{ 29524return libcsplit_narrow_split_string_free (); 29525 ; 29526 return 0; 29527} 29528_ACEOF 29529if ac_fn_c_try_link "$LINENO"; then : 29530 ac_cv_lib_csplit_libcsplit_narrow_split_string_free=yes 29531else 29532 ac_cv_lib_csplit_libcsplit_narrow_split_string_free=no 29533fi 29534rm -f core conftest.err conftest.$ac_objext \ 29535 conftest$ac_exeext conftest.$ac_ext 29536LIBS=$ac_check_lib_save_LIBS 29537fi 29538{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_narrow_split_string_free" >&5 29539$as_echo "$ac_cv_lib_csplit_libcsplit_narrow_split_string_free" >&6; } 29540if test "x$ac_cv_lib_csplit_libcsplit_narrow_split_string_free" = xyes; then : 29541 ac_cv_libcsplit_dummy=yes 29542else 29543 ac_cv_libcsplit=no 29544fi 29545 29546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_narrow_split_string_get_string in -lcsplit" >&5 29547$as_echo_n "checking for libcsplit_narrow_split_string_get_string in -lcsplit... " >&6; } 29548if ${ac_cv_lib_csplit_libcsplit_narrow_split_string_get_string+:} false; then : 29549 $as_echo_n "(cached) " >&6 29550else 29551 ac_check_lib_save_LIBS=$LIBS 29552LIBS="-lcsplit $LIBS" 29553cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29554/* end confdefs.h. */ 29555 29556/* Override any GCC internal prototype to avoid an error. 29557 Use char because int might match the return type of a GCC 29558 builtin and then its argument prototype would still apply. */ 29559#ifdef __cplusplus 29560extern "C" 29561#endif 29562char libcsplit_narrow_split_string_get_string (); 29563int 29564main () 29565{ 29566return libcsplit_narrow_split_string_get_string (); 29567 ; 29568 return 0; 29569} 29570_ACEOF 29571if ac_fn_c_try_link "$LINENO"; then : 29572 ac_cv_lib_csplit_libcsplit_narrow_split_string_get_string=yes 29573else 29574 ac_cv_lib_csplit_libcsplit_narrow_split_string_get_string=no 29575fi 29576rm -f core conftest.err conftest.$ac_objext \ 29577 conftest$ac_exeext conftest.$ac_ext 29578LIBS=$ac_check_lib_save_LIBS 29579fi 29580{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_narrow_split_string_get_string" >&5 29581$as_echo "$ac_cv_lib_csplit_libcsplit_narrow_split_string_get_string" >&6; } 29582if test "x$ac_cv_lib_csplit_libcsplit_narrow_split_string_get_string" = xyes; then : 29583 ac_cv_libcsplit_dummy=yes 29584else 29585 ac_cv_libcsplit=no 29586fi 29587 29588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_narrow_split_string_get_number_of_segments in -lcsplit" >&5 29589$as_echo_n "checking for libcsplit_narrow_split_string_get_number_of_segments in -lcsplit... " >&6; } 29590if ${ac_cv_lib_csplit_libcsplit_narrow_split_string_get_number_of_segments+:} false; then : 29591 $as_echo_n "(cached) " >&6 29592else 29593 ac_check_lib_save_LIBS=$LIBS 29594LIBS="-lcsplit $LIBS" 29595cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29596/* end confdefs.h. */ 29597 29598/* Override any GCC internal prototype to avoid an error. 29599 Use char because int might match the return type of a GCC 29600 builtin and then its argument prototype would still apply. */ 29601#ifdef __cplusplus 29602extern "C" 29603#endif 29604char libcsplit_narrow_split_string_get_number_of_segments (); 29605int 29606main () 29607{ 29608return libcsplit_narrow_split_string_get_number_of_segments (); 29609 ; 29610 return 0; 29611} 29612_ACEOF 29613if ac_fn_c_try_link "$LINENO"; then : 29614 ac_cv_lib_csplit_libcsplit_narrow_split_string_get_number_of_segments=yes 29615else 29616 ac_cv_lib_csplit_libcsplit_narrow_split_string_get_number_of_segments=no 29617fi 29618rm -f core conftest.err conftest.$ac_objext \ 29619 conftest$ac_exeext conftest.$ac_ext 29620LIBS=$ac_check_lib_save_LIBS 29621fi 29622{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_narrow_split_string_get_number_of_segments" >&5 29623$as_echo "$ac_cv_lib_csplit_libcsplit_narrow_split_string_get_number_of_segments" >&6; } 29624if test "x$ac_cv_lib_csplit_libcsplit_narrow_split_string_get_number_of_segments" = xyes; then : 29625 ac_cv_libcsplit_dummy=yes 29626else 29627 ac_cv_libcsplit=no 29628fi 29629 29630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_narrow_split_string_get_segment_by_index in -lcsplit" >&5 29631$as_echo_n "checking for libcsplit_narrow_split_string_get_segment_by_index in -lcsplit... " >&6; } 29632if ${ac_cv_lib_csplit_libcsplit_narrow_split_string_get_segment_by_index+:} false; then : 29633 $as_echo_n "(cached) " >&6 29634else 29635 ac_check_lib_save_LIBS=$LIBS 29636LIBS="-lcsplit $LIBS" 29637cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29638/* end confdefs.h. */ 29639 29640/* Override any GCC internal prototype to avoid an error. 29641 Use char because int might match the return type of a GCC 29642 builtin and then its argument prototype would still apply. */ 29643#ifdef __cplusplus 29644extern "C" 29645#endif 29646char libcsplit_narrow_split_string_get_segment_by_index (); 29647int 29648main () 29649{ 29650return libcsplit_narrow_split_string_get_segment_by_index (); 29651 ; 29652 return 0; 29653} 29654_ACEOF 29655if ac_fn_c_try_link "$LINENO"; then : 29656 ac_cv_lib_csplit_libcsplit_narrow_split_string_get_segment_by_index=yes 29657else 29658 ac_cv_lib_csplit_libcsplit_narrow_split_string_get_segment_by_index=no 29659fi 29660rm -f core conftest.err conftest.$ac_objext \ 29661 conftest$ac_exeext conftest.$ac_ext 29662LIBS=$ac_check_lib_save_LIBS 29663fi 29664{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_narrow_split_string_get_segment_by_index" >&5 29665$as_echo "$ac_cv_lib_csplit_libcsplit_narrow_split_string_get_segment_by_index" >&6; } 29666if test "x$ac_cv_lib_csplit_libcsplit_narrow_split_string_get_segment_by_index" = xyes; then : 29667 ac_cv_libcsplit_dummy=yes 29668else 29669 ac_cv_libcsplit=no 29670fi 29671 29672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_narrow_split_string_set_segment_by_index in -lcsplit" >&5 29673$as_echo_n "checking for libcsplit_narrow_split_string_set_segment_by_index in -lcsplit... " >&6; } 29674if ${ac_cv_lib_csplit_libcsplit_narrow_split_string_set_segment_by_index+:} false; then : 29675 $as_echo_n "(cached) " >&6 29676else 29677 ac_check_lib_save_LIBS=$LIBS 29678LIBS="-lcsplit $LIBS" 29679cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29680/* end confdefs.h. */ 29681 29682/* Override any GCC internal prototype to avoid an error. 29683 Use char because int might match the return type of a GCC 29684 builtin and then its argument prototype would still apply. */ 29685#ifdef __cplusplus 29686extern "C" 29687#endif 29688char libcsplit_narrow_split_string_set_segment_by_index (); 29689int 29690main () 29691{ 29692return libcsplit_narrow_split_string_set_segment_by_index (); 29693 ; 29694 return 0; 29695} 29696_ACEOF 29697if ac_fn_c_try_link "$LINENO"; then : 29698 ac_cv_lib_csplit_libcsplit_narrow_split_string_set_segment_by_index=yes 29699else 29700 ac_cv_lib_csplit_libcsplit_narrow_split_string_set_segment_by_index=no 29701fi 29702rm -f core conftest.err conftest.$ac_objext \ 29703 conftest$ac_exeext conftest.$ac_ext 29704LIBS=$ac_check_lib_save_LIBS 29705fi 29706{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_narrow_split_string_set_segment_by_index" >&5 29707$as_echo "$ac_cv_lib_csplit_libcsplit_narrow_split_string_set_segment_by_index" >&6; } 29708if test "x$ac_cv_lib_csplit_libcsplit_narrow_split_string_set_segment_by_index" = xyes; then : 29709 ac_cv_libcsplit_dummy=yes 29710else 29711 ac_cv_libcsplit=no 29712fi 29713 29714 29715 if test "x$ac_cv_enable_wide_character_type" != xno; then : 29716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_wide_string_split in -lcsplit" >&5 29717$as_echo_n "checking for libcsplit_wide_string_split in -lcsplit... " >&6; } 29718if ${ac_cv_lib_csplit_libcsplit_wide_string_split+:} false; then : 29719 $as_echo_n "(cached) " >&6 29720else 29721 ac_check_lib_save_LIBS=$LIBS 29722LIBS="-lcsplit $LIBS" 29723cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29724/* end confdefs.h. */ 29725 29726/* Override any GCC internal prototype to avoid an error. 29727 Use char because int might match the return type of a GCC 29728 builtin and then its argument prototype would still apply. */ 29729#ifdef __cplusplus 29730extern "C" 29731#endif 29732char libcsplit_wide_string_split (); 29733int 29734main () 29735{ 29736return libcsplit_wide_string_split (); 29737 ; 29738 return 0; 29739} 29740_ACEOF 29741if ac_fn_c_try_link "$LINENO"; then : 29742 ac_cv_lib_csplit_libcsplit_wide_string_split=yes 29743else 29744 ac_cv_lib_csplit_libcsplit_wide_string_split=no 29745fi 29746rm -f core conftest.err conftest.$ac_objext \ 29747 conftest$ac_exeext conftest.$ac_ext 29748LIBS=$ac_check_lib_save_LIBS 29749fi 29750{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_wide_string_split" >&5 29751$as_echo "$ac_cv_lib_csplit_libcsplit_wide_string_split" >&6; } 29752if test "x$ac_cv_lib_csplit_libcsplit_wide_string_split" = xyes; then : 29753 ac_cv_libcsplit_dummy=yes 29754else 29755 ac_cv_libcsplit=no 29756fi 29757 29758 29759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_wide_split_string_free in -lcsplit" >&5 29760$as_echo_n "checking for libcsplit_wide_split_string_free in -lcsplit... " >&6; } 29761if ${ac_cv_lib_csplit_libcsplit_wide_split_string_free+:} false; then : 29762 $as_echo_n "(cached) " >&6 29763else 29764 ac_check_lib_save_LIBS=$LIBS 29765LIBS="-lcsplit $LIBS" 29766cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29767/* end confdefs.h. */ 29768 29769/* Override any GCC internal prototype to avoid an error. 29770 Use char because int might match the return type of a GCC 29771 builtin and then its argument prototype would still apply. */ 29772#ifdef __cplusplus 29773extern "C" 29774#endif 29775char libcsplit_wide_split_string_free (); 29776int 29777main () 29778{ 29779return libcsplit_wide_split_string_free (); 29780 ; 29781 return 0; 29782} 29783_ACEOF 29784if ac_fn_c_try_link "$LINENO"; then : 29785 ac_cv_lib_csplit_libcsplit_wide_split_string_free=yes 29786else 29787 ac_cv_lib_csplit_libcsplit_wide_split_string_free=no 29788fi 29789rm -f core conftest.err conftest.$ac_objext \ 29790 conftest$ac_exeext conftest.$ac_ext 29791LIBS=$ac_check_lib_save_LIBS 29792fi 29793{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_wide_split_string_free" >&5 29794$as_echo "$ac_cv_lib_csplit_libcsplit_wide_split_string_free" >&6; } 29795if test "x$ac_cv_lib_csplit_libcsplit_wide_split_string_free" = xyes; then : 29796 ac_cv_libcsplit_dummy=yes 29797else 29798 ac_cv_libcsplit=no 29799fi 29800 29801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_wide_split_string_get_string in -lcsplit" >&5 29802$as_echo_n "checking for libcsplit_wide_split_string_get_string in -lcsplit... " >&6; } 29803if ${ac_cv_lib_csplit_libcsplit_wide_split_string_get_string+:} false; then : 29804 $as_echo_n "(cached) " >&6 29805else 29806 ac_check_lib_save_LIBS=$LIBS 29807LIBS="-lcsplit $LIBS" 29808cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29809/* end confdefs.h. */ 29810 29811/* Override any GCC internal prototype to avoid an error. 29812 Use char because int might match the return type of a GCC 29813 builtin and then its argument prototype would still apply. */ 29814#ifdef __cplusplus 29815extern "C" 29816#endif 29817char libcsplit_wide_split_string_get_string (); 29818int 29819main () 29820{ 29821return libcsplit_wide_split_string_get_string (); 29822 ; 29823 return 0; 29824} 29825_ACEOF 29826if ac_fn_c_try_link "$LINENO"; then : 29827 ac_cv_lib_csplit_libcsplit_wide_split_string_get_string=yes 29828else 29829 ac_cv_lib_csplit_libcsplit_wide_split_string_get_string=no 29830fi 29831rm -f core conftest.err conftest.$ac_objext \ 29832 conftest$ac_exeext conftest.$ac_ext 29833LIBS=$ac_check_lib_save_LIBS 29834fi 29835{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_wide_split_string_get_string" >&5 29836$as_echo "$ac_cv_lib_csplit_libcsplit_wide_split_string_get_string" >&6; } 29837if test "x$ac_cv_lib_csplit_libcsplit_wide_split_string_get_string" = xyes; then : 29838 ac_cv_libcsplit_dummy=yes 29839else 29840 ac_cv_libcsplit=no 29841fi 29842 29843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_wide_split_string_get_number_of_segments in -lcsplit" >&5 29844$as_echo_n "checking for libcsplit_wide_split_string_get_number_of_segments in -lcsplit... " >&6; } 29845if ${ac_cv_lib_csplit_libcsplit_wide_split_string_get_number_of_segments+:} false; then : 29846 $as_echo_n "(cached) " >&6 29847else 29848 ac_check_lib_save_LIBS=$LIBS 29849LIBS="-lcsplit $LIBS" 29850cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29851/* end confdefs.h. */ 29852 29853/* Override any GCC internal prototype to avoid an error. 29854 Use char because int might match the return type of a GCC 29855 builtin and then its argument prototype would still apply. */ 29856#ifdef __cplusplus 29857extern "C" 29858#endif 29859char libcsplit_wide_split_string_get_number_of_segments (); 29860int 29861main () 29862{ 29863return libcsplit_wide_split_string_get_number_of_segments (); 29864 ; 29865 return 0; 29866} 29867_ACEOF 29868if ac_fn_c_try_link "$LINENO"; then : 29869 ac_cv_lib_csplit_libcsplit_wide_split_string_get_number_of_segments=yes 29870else 29871 ac_cv_lib_csplit_libcsplit_wide_split_string_get_number_of_segments=no 29872fi 29873rm -f core conftest.err conftest.$ac_objext \ 29874 conftest$ac_exeext conftest.$ac_ext 29875LIBS=$ac_check_lib_save_LIBS 29876fi 29877{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_wide_split_string_get_number_of_segments" >&5 29878$as_echo "$ac_cv_lib_csplit_libcsplit_wide_split_string_get_number_of_segments" >&6; } 29879if test "x$ac_cv_lib_csplit_libcsplit_wide_split_string_get_number_of_segments" = xyes; then : 29880 ac_cv_libcsplit_dummy=yes 29881else 29882 ac_cv_libcsplit=no 29883fi 29884 29885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_wide_split_string_get_segment_by_index in -lcsplit" >&5 29886$as_echo_n "checking for libcsplit_wide_split_string_get_segment_by_index in -lcsplit... " >&6; } 29887if ${ac_cv_lib_csplit_libcsplit_wide_split_string_get_segment_by_index+:} false; then : 29888 $as_echo_n "(cached) " >&6 29889else 29890 ac_check_lib_save_LIBS=$LIBS 29891LIBS="-lcsplit $LIBS" 29892cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29893/* end confdefs.h. */ 29894 29895/* Override any GCC internal prototype to avoid an error. 29896 Use char because int might match the return type of a GCC 29897 builtin and then its argument prototype would still apply. */ 29898#ifdef __cplusplus 29899extern "C" 29900#endif 29901char libcsplit_wide_split_string_get_segment_by_index (); 29902int 29903main () 29904{ 29905return libcsplit_wide_split_string_get_segment_by_index (); 29906 ; 29907 return 0; 29908} 29909_ACEOF 29910if ac_fn_c_try_link "$LINENO"; then : 29911 ac_cv_lib_csplit_libcsplit_wide_split_string_get_segment_by_index=yes 29912else 29913 ac_cv_lib_csplit_libcsplit_wide_split_string_get_segment_by_index=no 29914fi 29915rm -f core conftest.err conftest.$ac_objext \ 29916 conftest$ac_exeext conftest.$ac_ext 29917LIBS=$ac_check_lib_save_LIBS 29918fi 29919{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_wide_split_string_get_segment_by_index" >&5 29920$as_echo "$ac_cv_lib_csplit_libcsplit_wide_split_string_get_segment_by_index" >&6; } 29921if test "x$ac_cv_lib_csplit_libcsplit_wide_split_string_get_segment_by_index" = xyes; then : 29922 ac_cv_libcsplit_dummy=yes 29923else 29924 ac_cv_libcsplit=no 29925fi 29926 29927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_wide_split_string_set_segment_by_index in -lcsplit" >&5 29928$as_echo_n "checking for libcsplit_wide_split_string_set_segment_by_index in -lcsplit... " >&6; } 29929if ${ac_cv_lib_csplit_libcsplit_wide_split_string_set_segment_by_index+:} false; then : 29930 $as_echo_n "(cached) " >&6 29931else 29932 ac_check_lib_save_LIBS=$LIBS 29933LIBS="-lcsplit $LIBS" 29934cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29935/* end confdefs.h. */ 29936 29937/* Override any GCC internal prototype to avoid an error. 29938 Use char because int might match the return type of a GCC 29939 builtin and then its argument prototype would still apply. */ 29940#ifdef __cplusplus 29941extern "C" 29942#endif 29943char libcsplit_wide_split_string_set_segment_by_index (); 29944int 29945main () 29946{ 29947return libcsplit_wide_split_string_set_segment_by_index (); 29948 ; 29949 return 0; 29950} 29951_ACEOF 29952if ac_fn_c_try_link "$LINENO"; then : 29953 ac_cv_lib_csplit_libcsplit_wide_split_string_set_segment_by_index=yes 29954else 29955 ac_cv_lib_csplit_libcsplit_wide_split_string_set_segment_by_index=no 29956fi 29957rm -f core conftest.err conftest.$ac_objext \ 29958 conftest$ac_exeext conftest.$ac_ext 29959LIBS=$ac_check_lib_save_LIBS 29960fi 29961{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_wide_split_string_set_segment_by_index" >&5 29962$as_echo "$ac_cv_lib_csplit_libcsplit_wide_split_string_set_segment_by_index" >&6; } 29963if test "x$ac_cv_lib_csplit_libcsplit_wide_split_string_set_segment_by_index" = xyes; then : 29964 ac_cv_libcsplit_dummy=yes 29965else 29966 ac_cv_libcsplit=no 29967fi 29968 29969 29970fi 29971 29972 ac_cv_libcsplit_LIBADD="-lcsplit" 29973fi 29974 29975fi 29976 if test "x$ac_cv_with_libcsplit" != x && test "x$ac_cv_with_libcsplit" != xauto-detect && test "x$ac_cv_libcsplit" != xyes; then : 29977 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 29978$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 29979as_fn_error 1 "unable to find supported libcsplit in directory: $ac_cv_with_libcsplit 29980See \`config.log' for more details" "$LINENO" 5; } 29981 29982fi 29983 29984fi 29985 29986 if test "x$ac_cv_libcsplit" = xyes; then : 29987 29988$as_echo "#define HAVE_LIBCSPLIT 1" >>confdefs.h 29989 29990 29991fi 29992 29993 if test "x$ac_cv_libcsplit" = xyes; then : 29994 HAVE_LIBCSPLIT=1 29995 29996else 29997 HAVE_LIBCSPLIT=0 29998 29999 30000fi 30001 30002 30003 if test "x$ac_cv_libcsplit" != xyes; then : 30004 30005 ac_cv_libcsplit_CPPFLAGS="-I../libcsplit"; 30006 ac_cv_libcsplit_LIBADD="../libcsplit/libcsplit.la"; 30007 30008 ac_cv_libcsplit=local 30009 30010 30011 30012$as_echo "#define HAVE_LOCAL_LIBCSPLIT 1" >>confdefs.h 30013 30014 HAVE_LOCAL_LIBCSPLIT=1 30015 30016 30017fi 30018 30019 if test "x$ac_cv_libcsplit" = xlocal; then 30020 HAVE_LOCAL_LIBCSPLIT_TRUE= 30021 HAVE_LOCAL_LIBCSPLIT_FALSE='#' 30022else 30023 HAVE_LOCAL_LIBCSPLIT_TRUE='#' 30024 HAVE_LOCAL_LIBCSPLIT_FALSE= 30025fi 30026 30027 if test "x$ac_cv_libcsplit_CPPFLAGS" != "x"; then : 30028 LIBCSPLIT_CPPFLAGS=$ac_cv_libcsplit_CPPFLAGS 30029 30030 30031fi 30032 if test "x$ac_cv_libcsplit_LIBADD" != "x"; then : 30033 LIBCSPLIT_LIBADD=$ac_cv_libcsplit_LIBADD 30034 30035 30036fi 30037 30038 if test "x$ac_cv_libcsplit" = xyes; then : 30039 ax_libcsplit_pc_libs_private=-lcsplit 30040 30041 30042fi 30043 30044 if test "x$ac_cv_libcsplit" = xyes; then : 30045 ax_libcsplit_spec_requires=libcsplit 30046 30047 ax_libcsplit_spec_build_requires=libcsplit-devel 30048 30049 30050fi 30051 30052 30053 30054 30055# Check whether --with-libuna was given. 30056if test "${with_libuna+set}" = set; then : 30057 withval=$with_libuna; ac_cv_with_libuna=$withval 30058else 30059 ac_cv_with_libuna=auto-detect 30060fi 30061 30062 { $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 30063$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; } 30064if ${ac_cv_with_libuna+:} false; then : 30065 $as_echo_n "(cached) " >&6 30066else 30067 ac_cv_with_libuna=auto-detect 30068fi 30069{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libuna" >&5 30070$as_echo "$ac_cv_with_libuna" >&6; } 30071 30072 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libuna" = xno; then : 30073 ac_cv_libuna=no 30074else 30075 ac_cv_libuna=check 30076 if test "x$ac_cv_with_libuna" != x && test "x$ac_cv_with_libuna" != xauto-detect; then : 30077 if test -d "$ac_cv_with_libuna"; then : 30078 CFLAGS="$CFLAGS -I${ac_cv_with_libuna}/include" 30079 LDFLAGS="$LDFLAGS -L${ac_cv_with_libuna}/lib" 30080else 30081 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 30082$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 30083as_fn_error 1 "no such directory: $ac_cv_with_libuna 30084See \`config.log' for more details" "$LINENO" 5; } 30085 30086fi 30087 30088else 30089 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 30090 30091pkg_failed=no 30092{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna" >&5 30093$as_echo_n "checking for libuna... " >&6; } 30094 30095if test -n "$libuna_CFLAGS"; then 30096 pkg_cv_libuna_CFLAGS="$libuna_CFLAGS" 30097 elif test -n "$PKG_CONFIG"; then 30098 if test -n "$PKG_CONFIG" && \ 30099 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libuna >= 20200711\""; } >&5 30100 ($PKG_CONFIG --exists --print-errors "libuna >= 20200711") 2>&5 30101 ac_status=$? 30102 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 30103 test $ac_status = 0; }; then 30104 pkg_cv_libuna_CFLAGS=`$PKG_CONFIG --cflags "libuna >= 20200711" 2>/dev/null` 30105 test "x$?" != "x0" && pkg_failed=yes 30106else 30107 pkg_failed=yes 30108fi 30109 else 30110 pkg_failed=untried 30111fi 30112if test -n "$libuna_LIBS"; then 30113 pkg_cv_libuna_LIBS="$libuna_LIBS" 30114 elif test -n "$PKG_CONFIG"; then 30115 if test -n "$PKG_CONFIG" && \ 30116 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libuna >= 20200711\""; } >&5 30117 ($PKG_CONFIG --exists --print-errors "libuna >= 20200711") 2>&5 30118 ac_status=$? 30119 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 30120 test $ac_status = 0; }; then 30121 pkg_cv_libuna_LIBS=`$PKG_CONFIG --libs "libuna >= 20200711" 2>/dev/null` 30122 test "x$?" != "x0" && pkg_failed=yes 30123else 30124 pkg_failed=yes 30125fi 30126 else 30127 pkg_failed=untried 30128fi 30129 30130 30131 30132if test $pkg_failed = yes; then 30133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 30134$as_echo "no" >&6; } 30135 30136if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 30137 _pkg_short_errors_supported=yes 30138else 30139 _pkg_short_errors_supported=no 30140fi 30141 if test $_pkg_short_errors_supported = yes; then 30142 libuna_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libuna >= 20200711" 2>&1` 30143 else 30144 libuna_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libuna >= 20200711" 2>&1` 30145 fi 30146 # Put the nasty error message in config.log where it belongs 30147 echo "$libuna_PKG_ERRORS" >&5 30148 30149 ac_cv_libuna=check 30150elif test $pkg_failed = untried; then 30151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 30152$as_echo "no" >&6; } 30153 ac_cv_libuna=check 30154else 30155 libuna_CFLAGS=$pkg_cv_libuna_CFLAGS 30156 libuna_LIBS=$pkg_cv_libuna_LIBS 30157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 30158$as_echo "yes" >&6; } 30159 ac_cv_libuna=yes 30160fi 30161 30162fi 30163 if test "x$ac_cv_libuna" = xyes; then : 30164 ac_cv_libuna_CPPFLAGS="$pkg_cv_libuna_CFLAGS" 30165 ac_cv_libuna_LIBADD="$pkg_cv_libuna_LIBS" 30166fi 30167 30168fi 30169 30170 if test "x$ac_cv_libuna" = xcheck; then : 30171 for ac_header in libuna.h 30172do : 30173 ac_fn_c_check_header_mongrel "$LINENO" "libuna.h" "ac_cv_header_libuna_h" "$ac_includes_default" 30174if test "x$ac_cv_header_libuna_h" = xyes; then : 30175 cat >>confdefs.h <<_ACEOF 30176#define HAVE_LIBUNA_H 1 30177_ACEOF 30178 30179fi 30180 30181done 30182 30183 30184 if test "x$ac_cv_header_libuna_h" = xno; then : 30185 ac_cv_libuna=no 30186else 30187 ac_cv_libuna=yes 30188 30189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_get_version in -luna" >&5 30190$as_echo_n "checking for libuna_get_version in -luna... " >&6; } 30191if ${ac_cv_lib_una_libuna_get_version+:} false; then : 30192 $as_echo_n "(cached) " >&6 30193else 30194 ac_check_lib_save_LIBS=$LIBS 30195LIBS="-luna $LIBS" 30196cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30197/* end confdefs.h. */ 30198 30199/* Override any GCC internal prototype to avoid an error. 30200 Use char because int might match the return type of a GCC 30201 builtin and then its argument prototype would still apply. */ 30202#ifdef __cplusplus 30203extern "C" 30204#endif 30205char libuna_get_version (); 30206int 30207main () 30208{ 30209return libuna_get_version (); 30210 ; 30211 return 0; 30212} 30213_ACEOF 30214if ac_fn_c_try_link "$LINENO"; then : 30215 ac_cv_lib_una_libuna_get_version=yes 30216else 30217 ac_cv_lib_una_libuna_get_version=no 30218fi 30219rm -f core conftest.err conftest.$ac_objext \ 30220 conftest$ac_exeext conftest.$ac_ext 30221LIBS=$ac_check_lib_save_LIBS 30222fi 30223{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_get_version" >&5 30224$as_echo "$ac_cv_lib_una_libuna_get_version" >&6; } 30225if test "x$ac_cv_lib_una_libuna_get_version" = xyes; then : 30226 ac_cv_libuna_dummy=yes 30227else 30228 ac_cv_libuna=no 30229fi 30230 30231 30232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base16_stream_size_to_byte_stream in -luna" >&5 30233$as_echo_n "checking for libuna_base16_stream_size_to_byte_stream in -luna... " >&6; } 30234if ${ac_cv_lib_una_libuna_base16_stream_size_to_byte_stream+:} false; then : 30235 $as_echo_n "(cached) " >&6 30236else 30237 ac_check_lib_save_LIBS=$LIBS 30238LIBS="-luna $LIBS" 30239cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30240/* end confdefs.h. */ 30241 30242/* Override any GCC internal prototype to avoid an error. 30243 Use char because int might match the return type of a GCC 30244 builtin and then its argument prototype would still apply. */ 30245#ifdef __cplusplus 30246extern "C" 30247#endif 30248char libuna_base16_stream_size_to_byte_stream (); 30249int 30250main () 30251{ 30252return libuna_base16_stream_size_to_byte_stream (); 30253 ; 30254 return 0; 30255} 30256_ACEOF 30257if ac_fn_c_try_link "$LINENO"; then : 30258 ac_cv_lib_una_libuna_base16_stream_size_to_byte_stream=yes 30259else 30260 ac_cv_lib_una_libuna_base16_stream_size_to_byte_stream=no 30261fi 30262rm -f core conftest.err conftest.$ac_objext \ 30263 conftest$ac_exeext conftest.$ac_ext 30264LIBS=$ac_check_lib_save_LIBS 30265fi 30266{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base16_stream_size_to_byte_stream" >&5 30267$as_echo "$ac_cv_lib_una_libuna_base16_stream_size_to_byte_stream" >&6; } 30268if test "x$ac_cv_lib_una_libuna_base16_stream_size_to_byte_stream" = xyes; then : 30269 ac_cv_libuna_dummy=yes 30270else 30271 ac_cv_libuna=no 30272fi 30273 30274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base16_stream_copy_to_byte_stream in -luna" >&5 30275$as_echo_n "checking for libuna_base16_stream_copy_to_byte_stream in -luna... " >&6; } 30276if ${ac_cv_lib_una_libuna_base16_stream_copy_to_byte_stream+:} false; then : 30277 $as_echo_n "(cached) " >&6 30278else 30279 ac_check_lib_save_LIBS=$LIBS 30280LIBS="-luna $LIBS" 30281cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30282/* end confdefs.h. */ 30283 30284/* Override any GCC internal prototype to avoid an error. 30285 Use char because int might match the return type of a GCC 30286 builtin and then its argument prototype would still apply. */ 30287#ifdef __cplusplus 30288extern "C" 30289#endif 30290char libuna_base16_stream_copy_to_byte_stream (); 30291int 30292main () 30293{ 30294return libuna_base16_stream_copy_to_byte_stream (); 30295 ; 30296 return 0; 30297} 30298_ACEOF 30299if ac_fn_c_try_link "$LINENO"; then : 30300 ac_cv_lib_una_libuna_base16_stream_copy_to_byte_stream=yes 30301else 30302 ac_cv_lib_una_libuna_base16_stream_copy_to_byte_stream=no 30303fi 30304rm -f core conftest.err conftest.$ac_objext \ 30305 conftest$ac_exeext conftest.$ac_ext 30306LIBS=$ac_check_lib_save_LIBS 30307fi 30308{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base16_stream_copy_to_byte_stream" >&5 30309$as_echo "$ac_cv_lib_una_libuna_base16_stream_copy_to_byte_stream" >&6; } 30310if test "x$ac_cv_lib_una_libuna_base16_stream_copy_to_byte_stream" = xyes; then : 30311 ac_cv_libuna_dummy=yes 30312else 30313 ac_cv_libuna=no 30314fi 30315 30316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base16_stream_size_from_byte_stream in -luna" >&5 30317$as_echo_n "checking for libuna_base16_stream_size_from_byte_stream in -luna... " >&6; } 30318if ${ac_cv_lib_una_libuna_base16_stream_size_from_byte_stream+:} false; then : 30319 $as_echo_n "(cached) " >&6 30320else 30321 ac_check_lib_save_LIBS=$LIBS 30322LIBS="-luna $LIBS" 30323cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30324/* end confdefs.h. */ 30325 30326/* Override any GCC internal prototype to avoid an error. 30327 Use char because int might match the return type of a GCC 30328 builtin and then its argument prototype would still apply. */ 30329#ifdef __cplusplus 30330extern "C" 30331#endif 30332char libuna_base16_stream_size_from_byte_stream (); 30333int 30334main () 30335{ 30336return libuna_base16_stream_size_from_byte_stream (); 30337 ; 30338 return 0; 30339} 30340_ACEOF 30341if ac_fn_c_try_link "$LINENO"; then : 30342 ac_cv_lib_una_libuna_base16_stream_size_from_byte_stream=yes 30343else 30344 ac_cv_lib_una_libuna_base16_stream_size_from_byte_stream=no 30345fi 30346rm -f core conftest.err conftest.$ac_objext \ 30347 conftest$ac_exeext conftest.$ac_ext 30348LIBS=$ac_check_lib_save_LIBS 30349fi 30350{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base16_stream_size_from_byte_stream" >&5 30351$as_echo "$ac_cv_lib_una_libuna_base16_stream_size_from_byte_stream" >&6; } 30352if test "x$ac_cv_lib_una_libuna_base16_stream_size_from_byte_stream" = xyes; then : 30353 ac_cv_libuna_dummy=yes 30354else 30355 ac_cv_libuna=no 30356fi 30357 30358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base16_stream_copy_from_byte_stream in -luna" >&5 30359$as_echo_n "checking for libuna_base16_stream_copy_from_byte_stream in -luna... " >&6; } 30360if ${ac_cv_lib_una_libuna_base16_stream_copy_from_byte_stream+:} false; then : 30361 $as_echo_n "(cached) " >&6 30362else 30363 ac_check_lib_save_LIBS=$LIBS 30364LIBS="-luna $LIBS" 30365cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30366/* end confdefs.h. */ 30367 30368/* Override any GCC internal prototype to avoid an error. 30369 Use char because int might match the return type of a GCC 30370 builtin and then its argument prototype would still apply. */ 30371#ifdef __cplusplus 30372extern "C" 30373#endif 30374char libuna_base16_stream_copy_from_byte_stream (); 30375int 30376main () 30377{ 30378return libuna_base16_stream_copy_from_byte_stream (); 30379 ; 30380 return 0; 30381} 30382_ACEOF 30383if ac_fn_c_try_link "$LINENO"; then : 30384 ac_cv_lib_una_libuna_base16_stream_copy_from_byte_stream=yes 30385else 30386 ac_cv_lib_una_libuna_base16_stream_copy_from_byte_stream=no 30387fi 30388rm -f core conftest.err conftest.$ac_objext \ 30389 conftest$ac_exeext conftest.$ac_ext 30390LIBS=$ac_check_lib_save_LIBS 30391fi 30392{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base16_stream_copy_from_byte_stream" >&5 30393$as_echo "$ac_cv_lib_una_libuna_base16_stream_copy_from_byte_stream" >&6; } 30394if test "x$ac_cv_lib_una_libuna_base16_stream_copy_from_byte_stream" = xyes; then : 30395 ac_cv_libuna_dummy=yes 30396else 30397 ac_cv_libuna=no 30398fi 30399 30400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base16_stream_with_index_copy_from_byte_stream in -luna" >&5 30401$as_echo_n "checking for libuna_base16_stream_with_index_copy_from_byte_stream in -luna... " >&6; } 30402if ${ac_cv_lib_una_libuna_base16_stream_with_index_copy_from_byte_stream+:} false; then : 30403 $as_echo_n "(cached) " >&6 30404else 30405 ac_check_lib_save_LIBS=$LIBS 30406LIBS="-luna $LIBS" 30407cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30408/* end confdefs.h. */ 30409 30410/* Override any GCC internal prototype to avoid an error. 30411 Use char because int might match the return type of a GCC 30412 builtin and then its argument prototype would still apply. */ 30413#ifdef __cplusplus 30414extern "C" 30415#endif 30416char libuna_base16_stream_with_index_copy_from_byte_stream (); 30417int 30418main () 30419{ 30420return libuna_base16_stream_with_index_copy_from_byte_stream (); 30421 ; 30422 return 0; 30423} 30424_ACEOF 30425if ac_fn_c_try_link "$LINENO"; then : 30426 ac_cv_lib_una_libuna_base16_stream_with_index_copy_from_byte_stream=yes 30427else 30428 ac_cv_lib_una_libuna_base16_stream_with_index_copy_from_byte_stream=no 30429fi 30430rm -f core conftest.err conftest.$ac_objext \ 30431 conftest$ac_exeext conftest.$ac_ext 30432LIBS=$ac_check_lib_save_LIBS 30433fi 30434{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base16_stream_with_index_copy_from_byte_stream" >&5 30435$as_echo "$ac_cv_lib_una_libuna_base16_stream_with_index_copy_from_byte_stream" >&6; } 30436if test "x$ac_cv_lib_una_libuna_base16_stream_with_index_copy_from_byte_stream" = xyes; then : 30437 ac_cv_libuna_dummy=yes 30438else 30439 ac_cv_libuna=no 30440fi 30441 30442 30443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_quintuplet_copy_from_base32_stream in -luna" >&5 30444$as_echo_n "checking for libuna_base32_quintuplet_copy_from_base32_stream in -luna... " >&6; } 30445if ${ac_cv_lib_una_libuna_base32_quintuplet_copy_from_base32_stream+:} false; then : 30446 $as_echo_n "(cached) " >&6 30447else 30448 ac_check_lib_save_LIBS=$LIBS 30449LIBS="-luna $LIBS" 30450cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30451/* end confdefs.h. */ 30452 30453/* Override any GCC internal prototype to avoid an error. 30454 Use char because int might match the return type of a GCC 30455 builtin and then its argument prototype would still apply. */ 30456#ifdef __cplusplus 30457extern "C" 30458#endif 30459char libuna_base32_quintuplet_copy_from_base32_stream (); 30460int 30461main () 30462{ 30463return libuna_base32_quintuplet_copy_from_base32_stream (); 30464 ; 30465 return 0; 30466} 30467_ACEOF 30468if ac_fn_c_try_link "$LINENO"; then : 30469 ac_cv_lib_una_libuna_base32_quintuplet_copy_from_base32_stream=yes 30470else 30471 ac_cv_lib_una_libuna_base32_quintuplet_copy_from_base32_stream=no 30472fi 30473rm -f core conftest.err conftest.$ac_objext \ 30474 conftest$ac_exeext conftest.$ac_ext 30475LIBS=$ac_check_lib_save_LIBS 30476fi 30477{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_quintuplet_copy_from_base32_stream" >&5 30478$as_echo "$ac_cv_lib_una_libuna_base32_quintuplet_copy_from_base32_stream" >&6; } 30479if test "x$ac_cv_lib_una_libuna_base32_quintuplet_copy_from_base32_stream" = xyes; then : 30480 ac_cv_libuna_dummy=yes 30481else 30482 ac_cv_libuna=no 30483fi 30484 30485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_quintuplet_copy_to_base32_stream in -luna" >&5 30486$as_echo_n "checking for libuna_base32_quintuplet_copy_to_base32_stream in -luna... " >&6; } 30487if ${ac_cv_lib_una_libuna_base32_quintuplet_copy_to_base32_stream+:} false; then : 30488 $as_echo_n "(cached) " >&6 30489else 30490 ac_check_lib_save_LIBS=$LIBS 30491LIBS="-luna $LIBS" 30492cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30493/* end confdefs.h. */ 30494 30495/* Override any GCC internal prototype to avoid an error. 30496 Use char because int might match the return type of a GCC 30497 builtin and then its argument prototype would still apply. */ 30498#ifdef __cplusplus 30499extern "C" 30500#endif 30501char libuna_base32_quintuplet_copy_to_base32_stream (); 30502int 30503main () 30504{ 30505return libuna_base32_quintuplet_copy_to_base32_stream (); 30506 ; 30507 return 0; 30508} 30509_ACEOF 30510if ac_fn_c_try_link "$LINENO"; then : 30511 ac_cv_lib_una_libuna_base32_quintuplet_copy_to_base32_stream=yes 30512else 30513 ac_cv_lib_una_libuna_base32_quintuplet_copy_to_base32_stream=no 30514fi 30515rm -f core conftest.err conftest.$ac_objext \ 30516 conftest$ac_exeext conftest.$ac_ext 30517LIBS=$ac_check_lib_save_LIBS 30518fi 30519{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_quintuplet_copy_to_base32_stream" >&5 30520$as_echo "$ac_cv_lib_una_libuna_base32_quintuplet_copy_to_base32_stream" >&6; } 30521if test "x$ac_cv_lib_una_libuna_base32_quintuplet_copy_to_base32_stream" = xyes; then : 30522 ac_cv_libuna_dummy=yes 30523else 30524 ac_cv_libuna=no 30525fi 30526 30527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_quintuplet_copy_from_byte_stream in -luna" >&5 30528$as_echo_n "checking for libuna_base32_quintuplet_copy_from_byte_stream in -luna... " >&6; } 30529if ${ac_cv_lib_una_libuna_base32_quintuplet_copy_from_byte_stream+:} false; then : 30530 $as_echo_n "(cached) " >&6 30531else 30532 ac_check_lib_save_LIBS=$LIBS 30533LIBS="-luna $LIBS" 30534cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30535/* end confdefs.h. */ 30536 30537/* Override any GCC internal prototype to avoid an error. 30538 Use char because int might match the return type of a GCC 30539 builtin and then its argument prototype would still apply. */ 30540#ifdef __cplusplus 30541extern "C" 30542#endif 30543char libuna_base32_quintuplet_copy_from_byte_stream (); 30544int 30545main () 30546{ 30547return libuna_base32_quintuplet_copy_from_byte_stream (); 30548 ; 30549 return 0; 30550} 30551_ACEOF 30552if ac_fn_c_try_link "$LINENO"; then : 30553 ac_cv_lib_una_libuna_base32_quintuplet_copy_from_byte_stream=yes 30554else 30555 ac_cv_lib_una_libuna_base32_quintuplet_copy_from_byte_stream=no 30556fi 30557rm -f core conftest.err conftest.$ac_objext \ 30558 conftest$ac_exeext conftest.$ac_ext 30559LIBS=$ac_check_lib_save_LIBS 30560fi 30561{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_quintuplet_copy_from_byte_stream" >&5 30562$as_echo "$ac_cv_lib_una_libuna_base32_quintuplet_copy_from_byte_stream" >&6; } 30563if test "x$ac_cv_lib_una_libuna_base32_quintuplet_copy_from_byte_stream" = xyes; then : 30564 ac_cv_libuna_dummy=yes 30565else 30566 ac_cv_libuna=no 30567fi 30568 30569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_quintuplet_copy_to_byte_stream in -luna" >&5 30570$as_echo_n "checking for libuna_base32_quintuplet_copy_to_byte_stream in -luna... " >&6; } 30571if ${ac_cv_lib_una_libuna_base32_quintuplet_copy_to_byte_stream+:} false; then : 30572 $as_echo_n "(cached) " >&6 30573else 30574 ac_check_lib_save_LIBS=$LIBS 30575LIBS="-luna $LIBS" 30576cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30577/* end confdefs.h. */ 30578 30579/* Override any GCC internal prototype to avoid an error. 30580 Use char because int might match the return type of a GCC 30581 builtin and then its argument prototype would still apply. */ 30582#ifdef __cplusplus 30583extern "C" 30584#endif 30585char libuna_base32_quintuplet_copy_to_byte_stream (); 30586int 30587main () 30588{ 30589return libuna_base32_quintuplet_copy_to_byte_stream (); 30590 ; 30591 return 0; 30592} 30593_ACEOF 30594if ac_fn_c_try_link "$LINENO"; then : 30595 ac_cv_lib_una_libuna_base32_quintuplet_copy_to_byte_stream=yes 30596else 30597 ac_cv_lib_una_libuna_base32_quintuplet_copy_to_byte_stream=no 30598fi 30599rm -f core conftest.err conftest.$ac_objext \ 30600 conftest$ac_exeext conftest.$ac_ext 30601LIBS=$ac_check_lib_save_LIBS 30602fi 30603{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_quintuplet_copy_to_byte_stream" >&5 30604$as_echo "$ac_cv_lib_una_libuna_base32_quintuplet_copy_to_byte_stream" >&6; } 30605if test "x$ac_cv_lib_una_libuna_base32_quintuplet_copy_to_byte_stream" = xyes; then : 30606 ac_cv_libuna_dummy=yes 30607else 30608 ac_cv_libuna=no 30609fi 30610 30611 30612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_stream_size_to_byte_stream in -luna" >&5 30613$as_echo_n "checking for libuna_base32_stream_size_to_byte_stream in -luna... " >&6; } 30614if ${ac_cv_lib_una_libuna_base32_stream_size_to_byte_stream+:} false; then : 30615 $as_echo_n "(cached) " >&6 30616else 30617 ac_check_lib_save_LIBS=$LIBS 30618LIBS="-luna $LIBS" 30619cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30620/* end confdefs.h. */ 30621 30622/* Override any GCC internal prototype to avoid an error. 30623 Use char because int might match the return type of a GCC 30624 builtin and then its argument prototype would still apply. */ 30625#ifdef __cplusplus 30626extern "C" 30627#endif 30628char libuna_base32_stream_size_to_byte_stream (); 30629int 30630main () 30631{ 30632return libuna_base32_stream_size_to_byte_stream (); 30633 ; 30634 return 0; 30635} 30636_ACEOF 30637if ac_fn_c_try_link "$LINENO"; then : 30638 ac_cv_lib_una_libuna_base32_stream_size_to_byte_stream=yes 30639else 30640 ac_cv_lib_una_libuna_base32_stream_size_to_byte_stream=no 30641fi 30642rm -f core conftest.err conftest.$ac_objext \ 30643 conftest$ac_exeext conftest.$ac_ext 30644LIBS=$ac_check_lib_save_LIBS 30645fi 30646{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_stream_size_to_byte_stream" >&5 30647$as_echo "$ac_cv_lib_una_libuna_base32_stream_size_to_byte_stream" >&6; } 30648if test "x$ac_cv_lib_una_libuna_base32_stream_size_to_byte_stream" = xyes; then : 30649 ac_cv_libuna_dummy=yes 30650else 30651 ac_cv_libuna=no 30652fi 30653 30654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_stream_copy_to_byte_stream in -luna" >&5 30655$as_echo_n "checking for libuna_base32_stream_copy_to_byte_stream in -luna... " >&6; } 30656if ${ac_cv_lib_una_libuna_base32_stream_copy_to_byte_stream+:} false; then : 30657 $as_echo_n "(cached) " >&6 30658else 30659 ac_check_lib_save_LIBS=$LIBS 30660LIBS="-luna $LIBS" 30661cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30662/* end confdefs.h. */ 30663 30664/* Override any GCC internal prototype to avoid an error. 30665 Use char because int might match the return type of a GCC 30666 builtin and then its argument prototype would still apply. */ 30667#ifdef __cplusplus 30668extern "C" 30669#endif 30670char libuna_base32_stream_copy_to_byte_stream (); 30671int 30672main () 30673{ 30674return libuna_base32_stream_copy_to_byte_stream (); 30675 ; 30676 return 0; 30677} 30678_ACEOF 30679if ac_fn_c_try_link "$LINENO"; then : 30680 ac_cv_lib_una_libuna_base32_stream_copy_to_byte_stream=yes 30681else 30682 ac_cv_lib_una_libuna_base32_stream_copy_to_byte_stream=no 30683fi 30684rm -f core conftest.err conftest.$ac_objext \ 30685 conftest$ac_exeext conftest.$ac_ext 30686LIBS=$ac_check_lib_save_LIBS 30687fi 30688{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_stream_copy_to_byte_stream" >&5 30689$as_echo "$ac_cv_lib_una_libuna_base32_stream_copy_to_byte_stream" >&6; } 30690if test "x$ac_cv_lib_una_libuna_base32_stream_copy_to_byte_stream" = xyes; then : 30691 ac_cv_libuna_dummy=yes 30692else 30693 ac_cv_libuna=no 30694fi 30695 30696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_stream_size_from_byte_stream in -luna" >&5 30697$as_echo_n "checking for libuna_base32_stream_size_from_byte_stream in -luna... " >&6; } 30698if ${ac_cv_lib_una_libuna_base32_stream_size_from_byte_stream+:} false; then : 30699 $as_echo_n "(cached) " >&6 30700else 30701 ac_check_lib_save_LIBS=$LIBS 30702LIBS="-luna $LIBS" 30703cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30704/* end confdefs.h. */ 30705 30706/* Override any GCC internal prototype to avoid an error. 30707 Use char because int might match the return type of a GCC 30708 builtin and then its argument prototype would still apply. */ 30709#ifdef __cplusplus 30710extern "C" 30711#endif 30712char libuna_base32_stream_size_from_byte_stream (); 30713int 30714main () 30715{ 30716return libuna_base32_stream_size_from_byte_stream (); 30717 ; 30718 return 0; 30719} 30720_ACEOF 30721if ac_fn_c_try_link "$LINENO"; then : 30722 ac_cv_lib_una_libuna_base32_stream_size_from_byte_stream=yes 30723else 30724 ac_cv_lib_una_libuna_base32_stream_size_from_byte_stream=no 30725fi 30726rm -f core conftest.err conftest.$ac_objext \ 30727 conftest$ac_exeext conftest.$ac_ext 30728LIBS=$ac_check_lib_save_LIBS 30729fi 30730{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_stream_size_from_byte_stream" >&5 30731$as_echo "$ac_cv_lib_una_libuna_base32_stream_size_from_byte_stream" >&6; } 30732if test "x$ac_cv_lib_una_libuna_base32_stream_size_from_byte_stream" = xyes; then : 30733 ac_cv_libuna_dummy=yes 30734else 30735 ac_cv_libuna=no 30736fi 30737 30738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_stream_copy_from_byte_stream in -luna" >&5 30739$as_echo_n "checking for libuna_base32_stream_copy_from_byte_stream in -luna... " >&6; } 30740if ${ac_cv_lib_una_libuna_base32_stream_copy_from_byte_stream+:} false; then : 30741 $as_echo_n "(cached) " >&6 30742else 30743 ac_check_lib_save_LIBS=$LIBS 30744LIBS="-luna $LIBS" 30745cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30746/* end confdefs.h. */ 30747 30748/* Override any GCC internal prototype to avoid an error. 30749 Use char because int might match the return type of a GCC 30750 builtin and then its argument prototype would still apply. */ 30751#ifdef __cplusplus 30752extern "C" 30753#endif 30754char libuna_base32_stream_copy_from_byte_stream (); 30755int 30756main () 30757{ 30758return libuna_base32_stream_copy_from_byte_stream (); 30759 ; 30760 return 0; 30761} 30762_ACEOF 30763if ac_fn_c_try_link "$LINENO"; then : 30764 ac_cv_lib_una_libuna_base32_stream_copy_from_byte_stream=yes 30765else 30766 ac_cv_lib_una_libuna_base32_stream_copy_from_byte_stream=no 30767fi 30768rm -f core conftest.err conftest.$ac_objext \ 30769 conftest$ac_exeext conftest.$ac_ext 30770LIBS=$ac_check_lib_save_LIBS 30771fi 30772{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_stream_copy_from_byte_stream" >&5 30773$as_echo "$ac_cv_lib_una_libuna_base32_stream_copy_from_byte_stream" >&6; } 30774if test "x$ac_cv_lib_una_libuna_base32_stream_copy_from_byte_stream" = xyes; then : 30775 ac_cv_libuna_dummy=yes 30776else 30777 ac_cv_libuna=no 30778fi 30779 30780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_stream_with_index_copy_from_byte_stream in -luna" >&5 30781$as_echo_n "checking for libuna_base32_stream_with_index_copy_from_byte_stream in -luna... " >&6; } 30782if ${ac_cv_lib_una_libuna_base32_stream_with_index_copy_from_byte_stream+:} false; then : 30783 $as_echo_n "(cached) " >&6 30784else 30785 ac_check_lib_save_LIBS=$LIBS 30786LIBS="-luna $LIBS" 30787cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30788/* end confdefs.h. */ 30789 30790/* Override any GCC internal prototype to avoid an error. 30791 Use char because int might match the return type of a GCC 30792 builtin and then its argument prototype would still apply. */ 30793#ifdef __cplusplus 30794extern "C" 30795#endif 30796char libuna_base32_stream_with_index_copy_from_byte_stream (); 30797int 30798main () 30799{ 30800return libuna_base32_stream_with_index_copy_from_byte_stream (); 30801 ; 30802 return 0; 30803} 30804_ACEOF 30805if ac_fn_c_try_link "$LINENO"; then : 30806 ac_cv_lib_una_libuna_base32_stream_with_index_copy_from_byte_stream=yes 30807else 30808 ac_cv_lib_una_libuna_base32_stream_with_index_copy_from_byte_stream=no 30809fi 30810rm -f core conftest.err conftest.$ac_objext \ 30811 conftest$ac_exeext conftest.$ac_ext 30812LIBS=$ac_check_lib_save_LIBS 30813fi 30814{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_stream_with_index_copy_from_byte_stream" >&5 30815$as_echo "$ac_cv_lib_una_libuna_base32_stream_with_index_copy_from_byte_stream" >&6; } 30816if test "x$ac_cv_lib_una_libuna_base32_stream_with_index_copy_from_byte_stream" = xyes; then : 30817 ac_cv_libuna_dummy=yes 30818else 30819 ac_cv_libuna=no 30820fi 30821 30822 30823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_triplet_copy_from_base64_stream in -luna" >&5 30824$as_echo_n "checking for libuna_base64_triplet_copy_from_base64_stream in -luna... " >&6; } 30825if ${ac_cv_lib_una_libuna_base64_triplet_copy_from_base64_stream+:} false; then : 30826 $as_echo_n "(cached) " >&6 30827else 30828 ac_check_lib_save_LIBS=$LIBS 30829LIBS="-luna $LIBS" 30830cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30831/* end confdefs.h. */ 30832 30833/* Override any GCC internal prototype to avoid an error. 30834 Use char because int might match the return type of a GCC 30835 builtin and then its argument prototype would still apply. */ 30836#ifdef __cplusplus 30837extern "C" 30838#endif 30839char libuna_base64_triplet_copy_from_base64_stream (); 30840int 30841main () 30842{ 30843return libuna_base64_triplet_copy_from_base64_stream (); 30844 ; 30845 return 0; 30846} 30847_ACEOF 30848if ac_fn_c_try_link "$LINENO"; then : 30849 ac_cv_lib_una_libuna_base64_triplet_copy_from_base64_stream=yes 30850else 30851 ac_cv_lib_una_libuna_base64_triplet_copy_from_base64_stream=no 30852fi 30853rm -f core conftest.err conftest.$ac_objext \ 30854 conftest$ac_exeext conftest.$ac_ext 30855LIBS=$ac_check_lib_save_LIBS 30856fi 30857{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_triplet_copy_from_base64_stream" >&5 30858$as_echo "$ac_cv_lib_una_libuna_base64_triplet_copy_from_base64_stream" >&6; } 30859if test "x$ac_cv_lib_una_libuna_base64_triplet_copy_from_base64_stream" = xyes; then : 30860 ac_cv_libuna_dummy=yes 30861else 30862 ac_cv_libuna=no 30863fi 30864 30865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_triplet_copy_to_base64_stream in -luna" >&5 30866$as_echo_n "checking for libuna_base64_triplet_copy_to_base64_stream in -luna... " >&6; } 30867if ${ac_cv_lib_una_libuna_base64_triplet_copy_to_base64_stream+:} false; then : 30868 $as_echo_n "(cached) " >&6 30869else 30870 ac_check_lib_save_LIBS=$LIBS 30871LIBS="-luna $LIBS" 30872cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30873/* end confdefs.h. */ 30874 30875/* Override any GCC internal prototype to avoid an error. 30876 Use char because int might match the return type of a GCC 30877 builtin and then its argument prototype would still apply. */ 30878#ifdef __cplusplus 30879extern "C" 30880#endif 30881char libuna_base64_triplet_copy_to_base64_stream (); 30882int 30883main () 30884{ 30885return libuna_base64_triplet_copy_to_base64_stream (); 30886 ; 30887 return 0; 30888} 30889_ACEOF 30890if ac_fn_c_try_link "$LINENO"; then : 30891 ac_cv_lib_una_libuna_base64_triplet_copy_to_base64_stream=yes 30892else 30893 ac_cv_lib_una_libuna_base64_triplet_copy_to_base64_stream=no 30894fi 30895rm -f core conftest.err conftest.$ac_objext \ 30896 conftest$ac_exeext conftest.$ac_ext 30897LIBS=$ac_check_lib_save_LIBS 30898fi 30899{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_triplet_copy_to_base64_stream" >&5 30900$as_echo "$ac_cv_lib_una_libuna_base64_triplet_copy_to_base64_stream" >&6; } 30901if test "x$ac_cv_lib_una_libuna_base64_triplet_copy_to_base64_stream" = xyes; then : 30902 ac_cv_libuna_dummy=yes 30903else 30904 ac_cv_libuna=no 30905fi 30906 30907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_triplet_copy_from_byte_stream in -luna" >&5 30908$as_echo_n "checking for libuna_base64_triplet_copy_from_byte_stream in -luna... " >&6; } 30909if ${ac_cv_lib_una_libuna_base64_triplet_copy_from_byte_stream+:} false; then : 30910 $as_echo_n "(cached) " >&6 30911else 30912 ac_check_lib_save_LIBS=$LIBS 30913LIBS="-luna $LIBS" 30914cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30915/* end confdefs.h. */ 30916 30917/* Override any GCC internal prototype to avoid an error. 30918 Use char because int might match the return type of a GCC 30919 builtin and then its argument prototype would still apply. */ 30920#ifdef __cplusplus 30921extern "C" 30922#endif 30923char libuna_base64_triplet_copy_from_byte_stream (); 30924int 30925main () 30926{ 30927return libuna_base64_triplet_copy_from_byte_stream (); 30928 ; 30929 return 0; 30930} 30931_ACEOF 30932if ac_fn_c_try_link "$LINENO"; then : 30933 ac_cv_lib_una_libuna_base64_triplet_copy_from_byte_stream=yes 30934else 30935 ac_cv_lib_una_libuna_base64_triplet_copy_from_byte_stream=no 30936fi 30937rm -f core conftest.err conftest.$ac_objext \ 30938 conftest$ac_exeext conftest.$ac_ext 30939LIBS=$ac_check_lib_save_LIBS 30940fi 30941{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_triplet_copy_from_byte_stream" >&5 30942$as_echo "$ac_cv_lib_una_libuna_base64_triplet_copy_from_byte_stream" >&6; } 30943if test "x$ac_cv_lib_una_libuna_base64_triplet_copy_from_byte_stream" = xyes; then : 30944 ac_cv_libuna_dummy=yes 30945else 30946 ac_cv_libuna=no 30947fi 30948 30949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_triplet_copy_to_byte_stream in -luna" >&5 30950$as_echo_n "checking for libuna_base64_triplet_copy_to_byte_stream in -luna... " >&6; } 30951if ${ac_cv_lib_una_libuna_base64_triplet_copy_to_byte_stream+:} false; then : 30952 $as_echo_n "(cached) " >&6 30953else 30954 ac_check_lib_save_LIBS=$LIBS 30955LIBS="-luna $LIBS" 30956cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30957/* end confdefs.h. */ 30958 30959/* Override any GCC internal prototype to avoid an error. 30960 Use char because int might match the return type of a GCC 30961 builtin and then its argument prototype would still apply. */ 30962#ifdef __cplusplus 30963extern "C" 30964#endif 30965char libuna_base64_triplet_copy_to_byte_stream (); 30966int 30967main () 30968{ 30969return libuna_base64_triplet_copy_to_byte_stream (); 30970 ; 30971 return 0; 30972} 30973_ACEOF 30974if ac_fn_c_try_link "$LINENO"; then : 30975 ac_cv_lib_una_libuna_base64_triplet_copy_to_byte_stream=yes 30976else 30977 ac_cv_lib_una_libuna_base64_triplet_copy_to_byte_stream=no 30978fi 30979rm -f core conftest.err conftest.$ac_objext \ 30980 conftest$ac_exeext conftest.$ac_ext 30981LIBS=$ac_check_lib_save_LIBS 30982fi 30983{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_triplet_copy_to_byte_stream" >&5 30984$as_echo "$ac_cv_lib_una_libuna_base64_triplet_copy_to_byte_stream" >&6; } 30985if test "x$ac_cv_lib_una_libuna_base64_triplet_copy_to_byte_stream" = xyes; then : 30986 ac_cv_libuna_dummy=yes 30987else 30988 ac_cv_libuna=no 30989fi 30990 30991 30992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_stream_size_to_byte_stream in -luna" >&5 30993$as_echo_n "checking for libuna_base64_stream_size_to_byte_stream in -luna... " >&6; } 30994if ${ac_cv_lib_una_libuna_base64_stream_size_to_byte_stream+:} false; then : 30995 $as_echo_n "(cached) " >&6 30996else 30997 ac_check_lib_save_LIBS=$LIBS 30998LIBS="-luna $LIBS" 30999cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31000/* end confdefs.h. */ 31001 31002/* Override any GCC internal prototype to avoid an error. 31003 Use char because int might match the return type of a GCC 31004 builtin and then its argument prototype would still apply. */ 31005#ifdef __cplusplus 31006extern "C" 31007#endif 31008char libuna_base64_stream_size_to_byte_stream (); 31009int 31010main () 31011{ 31012return libuna_base64_stream_size_to_byte_stream (); 31013 ; 31014 return 0; 31015} 31016_ACEOF 31017if ac_fn_c_try_link "$LINENO"; then : 31018 ac_cv_lib_una_libuna_base64_stream_size_to_byte_stream=yes 31019else 31020 ac_cv_lib_una_libuna_base64_stream_size_to_byte_stream=no 31021fi 31022rm -f core conftest.err conftest.$ac_objext \ 31023 conftest$ac_exeext conftest.$ac_ext 31024LIBS=$ac_check_lib_save_LIBS 31025fi 31026{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_stream_size_to_byte_stream" >&5 31027$as_echo "$ac_cv_lib_una_libuna_base64_stream_size_to_byte_stream" >&6; } 31028if test "x$ac_cv_lib_una_libuna_base64_stream_size_to_byte_stream" = xyes; then : 31029 ac_cv_libuna_dummy=yes 31030else 31031 ac_cv_libuna=no 31032fi 31033 31034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_stream_copy_to_byte_stream in -luna" >&5 31035$as_echo_n "checking for libuna_base64_stream_copy_to_byte_stream in -luna... " >&6; } 31036if ${ac_cv_lib_una_libuna_base64_stream_copy_to_byte_stream+:} false; then : 31037 $as_echo_n "(cached) " >&6 31038else 31039 ac_check_lib_save_LIBS=$LIBS 31040LIBS="-luna $LIBS" 31041cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31042/* end confdefs.h. */ 31043 31044/* Override any GCC internal prototype to avoid an error. 31045 Use char because int might match the return type of a GCC 31046 builtin and then its argument prototype would still apply. */ 31047#ifdef __cplusplus 31048extern "C" 31049#endif 31050char libuna_base64_stream_copy_to_byte_stream (); 31051int 31052main () 31053{ 31054return libuna_base64_stream_copy_to_byte_stream (); 31055 ; 31056 return 0; 31057} 31058_ACEOF 31059if ac_fn_c_try_link "$LINENO"; then : 31060 ac_cv_lib_una_libuna_base64_stream_copy_to_byte_stream=yes 31061else 31062 ac_cv_lib_una_libuna_base64_stream_copy_to_byte_stream=no 31063fi 31064rm -f core conftest.err conftest.$ac_objext \ 31065 conftest$ac_exeext conftest.$ac_ext 31066LIBS=$ac_check_lib_save_LIBS 31067fi 31068{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_stream_copy_to_byte_stream" >&5 31069$as_echo "$ac_cv_lib_una_libuna_base64_stream_copy_to_byte_stream" >&6; } 31070if test "x$ac_cv_lib_una_libuna_base64_stream_copy_to_byte_stream" = xyes; then : 31071 ac_cv_libuna_dummy=yes 31072else 31073 ac_cv_libuna=no 31074fi 31075 31076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_stream_size_from_byte_stream in -luna" >&5 31077$as_echo_n "checking for libuna_base64_stream_size_from_byte_stream in -luna... " >&6; } 31078if ${ac_cv_lib_una_libuna_base64_stream_size_from_byte_stream+:} false; then : 31079 $as_echo_n "(cached) " >&6 31080else 31081 ac_check_lib_save_LIBS=$LIBS 31082LIBS="-luna $LIBS" 31083cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31084/* end confdefs.h. */ 31085 31086/* Override any GCC internal prototype to avoid an error. 31087 Use char because int might match the return type of a GCC 31088 builtin and then its argument prototype would still apply. */ 31089#ifdef __cplusplus 31090extern "C" 31091#endif 31092char libuna_base64_stream_size_from_byte_stream (); 31093int 31094main () 31095{ 31096return libuna_base64_stream_size_from_byte_stream (); 31097 ; 31098 return 0; 31099} 31100_ACEOF 31101if ac_fn_c_try_link "$LINENO"; then : 31102 ac_cv_lib_una_libuna_base64_stream_size_from_byte_stream=yes 31103else 31104 ac_cv_lib_una_libuna_base64_stream_size_from_byte_stream=no 31105fi 31106rm -f core conftest.err conftest.$ac_objext \ 31107 conftest$ac_exeext conftest.$ac_ext 31108LIBS=$ac_check_lib_save_LIBS 31109fi 31110{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_stream_size_from_byte_stream" >&5 31111$as_echo "$ac_cv_lib_una_libuna_base64_stream_size_from_byte_stream" >&6; } 31112if test "x$ac_cv_lib_una_libuna_base64_stream_size_from_byte_stream" = xyes; then : 31113 ac_cv_libuna_dummy=yes 31114else 31115 ac_cv_libuna=no 31116fi 31117 31118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_stream_copy_from_byte_stream in -luna" >&5 31119$as_echo_n "checking for libuna_base64_stream_copy_from_byte_stream in -luna... " >&6; } 31120if ${ac_cv_lib_una_libuna_base64_stream_copy_from_byte_stream+:} false; then : 31121 $as_echo_n "(cached) " >&6 31122else 31123 ac_check_lib_save_LIBS=$LIBS 31124LIBS="-luna $LIBS" 31125cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31126/* end confdefs.h. */ 31127 31128/* Override any GCC internal prototype to avoid an error. 31129 Use char because int might match the return type of a GCC 31130 builtin and then its argument prototype would still apply. */ 31131#ifdef __cplusplus 31132extern "C" 31133#endif 31134char libuna_base64_stream_copy_from_byte_stream (); 31135int 31136main () 31137{ 31138return libuna_base64_stream_copy_from_byte_stream (); 31139 ; 31140 return 0; 31141} 31142_ACEOF 31143if ac_fn_c_try_link "$LINENO"; then : 31144 ac_cv_lib_una_libuna_base64_stream_copy_from_byte_stream=yes 31145else 31146 ac_cv_lib_una_libuna_base64_stream_copy_from_byte_stream=no 31147fi 31148rm -f core conftest.err conftest.$ac_objext \ 31149 conftest$ac_exeext conftest.$ac_ext 31150LIBS=$ac_check_lib_save_LIBS 31151fi 31152{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_stream_copy_from_byte_stream" >&5 31153$as_echo "$ac_cv_lib_una_libuna_base64_stream_copy_from_byte_stream" >&6; } 31154if test "x$ac_cv_lib_una_libuna_base64_stream_copy_from_byte_stream" = xyes; then : 31155 ac_cv_libuna_dummy=yes 31156else 31157 ac_cv_libuna=no 31158fi 31159 31160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_stream_with_index_copy_from_byte_stream in -luna" >&5 31161$as_echo_n "checking for libuna_base64_stream_with_index_copy_from_byte_stream in -luna... " >&6; } 31162if ${ac_cv_lib_una_libuna_base64_stream_with_index_copy_from_byte_stream+:} false; then : 31163 $as_echo_n "(cached) " >&6 31164else 31165 ac_check_lib_save_LIBS=$LIBS 31166LIBS="-luna $LIBS" 31167cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31168/* end confdefs.h. */ 31169 31170/* Override any GCC internal prototype to avoid an error. 31171 Use char because int might match the return type of a GCC 31172 builtin and then its argument prototype would still apply. */ 31173#ifdef __cplusplus 31174extern "C" 31175#endif 31176char libuna_base64_stream_with_index_copy_from_byte_stream (); 31177int 31178main () 31179{ 31180return libuna_base64_stream_with_index_copy_from_byte_stream (); 31181 ; 31182 return 0; 31183} 31184_ACEOF 31185if ac_fn_c_try_link "$LINENO"; then : 31186 ac_cv_lib_una_libuna_base64_stream_with_index_copy_from_byte_stream=yes 31187else 31188 ac_cv_lib_una_libuna_base64_stream_with_index_copy_from_byte_stream=no 31189fi 31190rm -f core conftest.err conftest.$ac_objext \ 31191 conftest$ac_exeext conftest.$ac_ext 31192LIBS=$ac_check_lib_save_LIBS 31193fi 31194{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_stream_with_index_copy_from_byte_stream" >&5 31195$as_echo "$ac_cv_lib_una_libuna_base64_stream_with_index_copy_from_byte_stream" >&6; } 31196if test "x$ac_cv_lib_una_libuna_base64_stream_with_index_copy_from_byte_stream" = xyes; then : 31197 ac_cv_libuna_dummy=yes 31198else 31199 ac_cv_libuna=no 31200fi 31201 31202 31203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_byte_stream_size_from_utf8 in -luna" >&5 31204$as_echo_n "checking for libuna_byte_stream_size_from_utf8 in -luna... " >&6; } 31205if ${ac_cv_lib_una_libuna_byte_stream_size_from_utf8+:} false; then : 31206 $as_echo_n "(cached) " >&6 31207else 31208 ac_check_lib_save_LIBS=$LIBS 31209LIBS="-luna $LIBS" 31210cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31211/* end confdefs.h. */ 31212 31213/* Override any GCC internal prototype to avoid an error. 31214 Use char because int might match the return type of a GCC 31215 builtin and then its argument prototype would still apply. */ 31216#ifdef __cplusplus 31217extern "C" 31218#endif 31219char libuna_byte_stream_size_from_utf8 (); 31220int 31221main () 31222{ 31223return libuna_byte_stream_size_from_utf8 (); 31224 ; 31225 return 0; 31226} 31227_ACEOF 31228if ac_fn_c_try_link "$LINENO"; then : 31229 ac_cv_lib_una_libuna_byte_stream_size_from_utf8=yes 31230else 31231 ac_cv_lib_una_libuna_byte_stream_size_from_utf8=no 31232fi 31233rm -f core conftest.err conftest.$ac_objext \ 31234 conftest$ac_exeext conftest.$ac_ext 31235LIBS=$ac_check_lib_save_LIBS 31236fi 31237{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_byte_stream_size_from_utf8" >&5 31238$as_echo "$ac_cv_lib_una_libuna_byte_stream_size_from_utf8" >&6; } 31239if test "x$ac_cv_lib_una_libuna_byte_stream_size_from_utf8" = xyes; then : 31240 ac_cv_libuna_dummy=yes 31241else 31242 ac_cv_libuna=no 31243fi 31244 31245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_byte_stream_copy_from_utf8 in -luna" >&5 31246$as_echo_n "checking for libuna_byte_stream_copy_from_utf8 in -luna... " >&6; } 31247if ${ac_cv_lib_una_libuna_byte_stream_copy_from_utf8+:} false; then : 31248 $as_echo_n "(cached) " >&6 31249else 31250 ac_check_lib_save_LIBS=$LIBS 31251LIBS="-luna $LIBS" 31252cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31253/* end confdefs.h. */ 31254 31255/* Override any GCC internal prototype to avoid an error. 31256 Use char because int might match the return type of a GCC 31257 builtin and then its argument prototype would still apply. */ 31258#ifdef __cplusplus 31259extern "C" 31260#endif 31261char libuna_byte_stream_copy_from_utf8 (); 31262int 31263main () 31264{ 31265return libuna_byte_stream_copy_from_utf8 (); 31266 ; 31267 return 0; 31268} 31269_ACEOF 31270if ac_fn_c_try_link "$LINENO"; then : 31271 ac_cv_lib_una_libuna_byte_stream_copy_from_utf8=yes 31272else 31273 ac_cv_lib_una_libuna_byte_stream_copy_from_utf8=no 31274fi 31275rm -f core conftest.err conftest.$ac_objext \ 31276 conftest$ac_exeext conftest.$ac_ext 31277LIBS=$ac_check_lib_save_LIBS 31278fi 31279{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_byte_stream_copy_from_utf8" >&5 31280$as_echo "$ac_cv_lib_una_libuna_byte_stream_copy_from_utf8" >&6; } 31281if test "x$ac_cv_lib_una_libuna_byte_stream_copy_from_utf8" = xyes; then : 31282 ac_cv_libuna_dummy=yes 31283else 31284 ac_cv_libuna=no 31285fi 31286 31287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_byte_stream_size_from_utf16 in -luna" >&5 31288$as_echo_n "checking for libuna_byte_stream_size_from_utf16 in -luna... " >&6; } 31289if ${ac_cv_lib_una_libuna_byte_stream_size_from_utf16+:} false; then : 31290 $as_echo_n "(cached) " >&6 31291else 31292 ac_check_lib_save_LIBS=$LIBS 31293LIBS="-luna $LIBS" 31294cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31295/* end confdefs.h. */ 31296 31297/* Override any GCC internal prototype to avoid an error. 31298 Use char because int might match the return type of a GCC 31299 builtin and then its argument prototype would still apply. */ 31300#ifdef __cplusplus 31301extern "C" 31302#endif 31303char libuna_byte_stream_size_from_utf16 (); 31304int 31305main () 31306{ 31307return libuna_byte_stream_size_from_utf16 (); 31308 ; 31309 return 0; 31310} 31311_ACEOF 31312if ac_fn_c_try_link "$LINENO"; then : 31313 ac_cv_lib_una_libuna_byte_stream_size_from_utf16=yes 31314else 31315 ac_cv_lib_una_libuna_byte_stream_size_from_utf16=no 31316fi 31317rm -f core conftest.err conftest.$ac_objext \ 31318 conftest$ac_exeext conftest.$ac_ext 31319LIBS=$ac_check_lib_save_LIBS 31320fi 31321{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_byte_stream_size_from_utf16" >&5 31322$as_echo "$ac_cv_lib_una_libuna_byte_stream_size_from_utf16" >&6; } 31323if test "x$ac_cv_lib_una_libuna_byte_stream_size_from_utf16" = xyes; then : 31324 ac_cv_libuna_dummy=yes 31325else 31326 ac_cv_libuna=no 31327fi 31328 31329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_byte_stream_copy_from_utf16 in -luna" >&5 31330$as_echo_n "checking for libuna_byte_stream_copy_from_utf16 in -luna... " >&6; } 31331if ${ac_cv_lib_una_libuna_byte_stream_copy_from_utf16+:} false; then : 31332 $as_echo_n "(cached) " >&6 31333else 31334 ac_check_lib_save_LIBS=$LIBS 31335LIBS="-luna $LIBS" 31336cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31337/* end confdefs.h. */ 31338 31339/* Override any GCC internal prototype to avoid an error. 31340 Use char because int might match the return type of a GCC 31341 builtin and then its argument prototype would still apply. */ 31342#ifdef __cplusplus 31343extern "C" 31344#endif 31345char libuna_byte_stream_copy_from_utf16 (); 31346int 31347main () 31348{ 31349return libuna_byte_stream_copy_from_utf16 (); 31350 ; 31351 return 0; 31352} 31353_ACEOF 31354if ac_fn_c_try_link "$LINENO"; then : 31355 ac_cv_lib_una_libuna_byte_stream_copy_from_utf16=yes 31356else 31357 ac_cv_lib_una_libuna_byte_stream_copy_from_utf16=no 31358fi 31359rm -f core conftest.err conftest.$ac_objext \ 31360 conftest$ac_exeext conftest.$ac_ext 31361LIBS=$ac_check_lib_save_LIBS 31362fi 31363{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_byte_stream_copy_from_utf16" >&5 31364$as_echo "$ac_cv_lib_una_libuna_byte_stream_copy_from_utf16" >&6; } 31365if test "x$ac_cv_lib_una_libuna_byte_stream_copy_from_utf16" = xyes; then : 31366 ac_cv_libuna_dummy=yes 31367else 31368 ac_cv_libuna=no 31369fi 31370 31371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_byte_stream_size_from_utf32 in -luna" >&5 31372$as_echo_n "checking for libuna_byte_stream_size_from_utf32 in -luna... " >&6; } 31373if ${ac_cv_lib_una_libuna_byte_stream_size_from_utf32+:} false; then : 31374 $as_echo_n "(cached) " >&6 31375else 31376 ac_check_lib_save_LIBS=$LIBS 31377LIBS="-luna $LIBS" 31378cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31379/* end confdefs.h. */ 31380 31381/* Override any GCC internal prototype to avoid an error. 31382 Use char because int might match the return type of a GCC 31383 builtin and then its argument prototype would still apply. */ 31384#ifdef __cplusplus 31385extern "C" 31386#endif 31387char libuna_byte_stream_size_from_utf32 (); 31388int 31389main () 31390{ 31391return libuna_byte_stream_size_from_utf32 (); 31392 ; 31393 return 0; 31394} 31395_ACEOF 31396if ac_fn_c_try_link "$LINENO"; then : 31397 ac_cv_lib_una_libuna_byte_stream_size_from_utf32=yes 31398else 31399 ac_cv_lib_una_libuna_byte_stream_size_from_utf32=no 31400fi 31401rm -f core conftest.err conftest.$ac_objext \ 31402 conftest$ac_exeext conftest.$ac_ext 31403LIBS=$ac_check_lib_save_LIBS 31404fi 31405{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_byte_stream_size_from_utf32" >&5 31406$as_echo "$ac_cv_lib_una_libuna_byte_stream_size_from_utf32" >&6; } 31407if test "x$ac_cv_lib_una_libuna_byte_stream_size_from_utf32" = xyes; then : 31408 ac_cv_libuna_dummy=yes 31409else 31410 ac_cv_libuna=no 31411fi 31412 31413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_byte_stream_copy_from_utf32 in -luna" >&5 31414$as_echo_n "checking for libuna_byte_stream_copy_from_utf32 in -luna... " >&6; } 31415if ${ac_cv_lib_una_libuna_byte_stream_copy_from_utf32+:} false; then : 31416 $as_echo_n "(cached) " >&6 31417else 31418 ac_check_lib_save_LIBS=$LIBS 31419LIBS="-luna $LIBS" 31420cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31421/* end confdefs.h. */ 31422 31423/* Override any GCC internal prototype to avoid an error. 31424 Use char because int might match the return type of a GCC 31425 builtin and then its argument prototype would still apply. */ 31426#ifdef __cplusplus 31427extern "C" 31428#endif 31429char libuna_byte_stream_copy_from_utf32 (); 31430int 31431main () 31432{ 31433return libuna_byte_stream_copy_from_utf32 (); 31434 ; 31435 return 0; 31436} 31437_ACEOF 31438if ac_fn_c_try_link "$LINENO"; then : 31439 ac_cv_lib_una_libuna_byte_stream_copy_from_utf32=yes 31440else 31441 ac_cv_lib_una_libuna_byte_stream_copy_from_utf32=no 31442fi 31443rm -f core conftest.err conftest.$ac_objext \ 31444 conftest$ac_exeext conftest.$ac_ext 31445LIBS=$ac_check_lib_save_LIBS 31446fi 31447{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_byte_stream_copy_from_utf32" >&5 31448$as_echo "$ac_cv_lib_una_libuna_byte_stream_copy_from_utf32" >&6; } 31449if test "x$ac_cv_lib_una_libuna_byte_stream_copy_from_utf32" = xyes; then : 31450 ac_cv_libuna_dummy=yes 31451else 31452 ac_cv_libuna=no 31453fi 31454 31455 31456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_stream_size_from_utf8 in -luna" >&5 31457$as_echo_n "checking for libuna_utf8_stream_size_from_utf8 in -luna... " >&6; } 31458if ${ac_cv_lib_una_libuna_utf8_stream_size_from_utf8+:} false; then : 31459 $as_echo_n "(cached) " >&6 31460else 31461 ac_check_lib_save_LIBS=$LIBS 31462LIBS="-luna $LIBS" 31463cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31464/* end confdefs.h. */ 31465 31466/* Override any GCC internal prototype to avoid an error. 31467 Use char because int might match the return type of a GCC 31468 builtin and then its argument prototype would still apply. */ 31469#ifdef __cplusplus 31470extern "C" 31471#endif 31472char libuna_utf8_stream_size_from_utf8 (); 31473int 31474main () 31475{ 31476return libuna_utf8_stream_size_from_utf8 (); 31477 ; 31478 return 0; 31479} 31480_ACEOF 31481if ac_fn_c_try_link "$LINENO"; then : 31482 ac_cv_lib_una_libuna_utf8_stream_size_from_utf8=yes 31483else 31484 ac_cv_lib_una_libuna_utf8_stream_size_from_utf8=no 31485fi 31486rm -f core conftest.err conftest.$ac_objext \ 31487 conftest$ac_exeext conftest.$ac_ext 31488LIBS=$ac_check_lib_save_LIBS 31489fi 31490{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_stream_size_from_utf8" >&5 31491$as_echo "$ac_cv_lib_una_libuna_utf8_stream_size_from_utf8" >&6; } 31492if test "x$ac_cv_lib_una_libuna_utf8_stream_size_from_utf8" = xyes; then : 31493 ac_cv_libuna_dummy=yes 31494else 31495 ac_cv_libuna=no 31496fi 31497 31498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_stream_copy_from_utf8 in -luna" >&5 31499$as_echo_n "checking for libuna_utf8_stream_copy_from_utf8 in -luna... " >&6; } 31500if ${ac_cv_lib_una_libuna_utf8_stream_copy_from_utf8+:} false; then : 31501 $as_echo_n "(cached) " >&6 31502else 31503 ac_check_lib_save_LIBS=$LIBS 31504LIBS="-luna $LIBS" 31505cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31506/* end confdefs.h. */ 31507 31508/* Override any GCC internal prototype to avoid an error. 31509 Use char because int might match the return type of a GCC 31510 builtin and then its argument prototype would still apply. */ 31511#ifdef __cplusplus 31512extern "C" 31513#endif 31514char libuna_utf8_stream_copy_from_utf8 (); 31515int 31516main () 31517{ 31518return libuna_utf8_stream_copy_from_utf8 (); 31519 ; 31520 return 0; 31521} 31522_ACEOF 31523if ac_fn_c_try_link "$LINENO"; then : 31524 ac_cv_lib_una_libuna_utf8_stream_copy_from_utf8=yes 31525else 31526 ac_cv_lib_una_libuna_utf8_stream_copy_from_utf8=no 31527fi 31528rm -f core conftest.err conftest.$ac_objext \ 31529 conftest$ac_exeext conftest.$ac_ext 31530LIBS=$ac_check_lib_save_LIBS 31531fi 31532{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_stream_copy_from_utf8" >&5 31533$as_echo "$ac_cv_lib_una_libuna_utf8_stream_copy_from_utf8" >&6; } 31534if test "x$ac_cv_lib_una_libuna_utf8_stream_copy_from_utf8" = xyes; then : 31535 ac_cv_libuna_dummy=yes 31536else 31537 ac_cv_libuna=no 31538fi 31539 31540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_stream_size_from_utf16 in -luna" >&5 31541$as_echo_n "checking for libuna_utf8_stream_size_from_utf16 in -luna... " >&6; } 31542if ${ac_cv_lib_una_libuna_utf8_stream_size_from_utf16+:} false; then : 31543 $as_echo_n "(cached) " >&6 31544else 31545 ac_check_lib_save_LIBS=$LIBS 31546LIBS="-luna $LIBS" 31547cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31548/* end confdefs.h. */ 31549 31550/* Override any GCC internal prototype to avoid an error. 31551 Use char because int might match the return type of a GCC 31552 builtin and then its argument prototype would still apply. */ 31553#ifdef __cplusplus 31554extern "C" 31555#endif 31556char libuna_utf8_stream_size_from_utf16 (); 31557int 31558main () 31559{ 31560return libuna_utf8_stream_size_from_utf16 (); 31561 ; 31562 return 0; 31563} 31564_ACEOF 31565if ac_fn_c_try_link "$LINENO"; then : 31566 ac_cv_lib_una_libuna_utf8_stream_size_from_utf16=yes 31567else 31568 ac_cv_lib_una_libuna_utf8_stream_size_from_utf16=no 31569fi 31570rm -f core conftest.err conftest.$ac_objext \ 31571 conftest$ac_exeext conftest.$ac_ext 31572LIBS=$ac_check_lib_save_LIBS 31573fi 31574{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_stream_size_from_utf16" >&5 31575$as_echo "$ac_cv_lib_una_libuna_utf8_stream_size_from_utf16" >&6; } 31576if test "x$ac_cv_lib_una_libuna_utf8_stream_size_from_utf16" = xyes; then : 31577 ac_cv_libuna_dummy=yes 31578else 31579 ac_cv_libuna=no 31580fi 31581 31582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_stream_copy_from_utf16 in -luna" >&5 31583$as_echo_n "checking for libuna_utf8_stream_copy_from_utf16 in -luna... " >&6; } 31584if ${ac_cv_lib_una_libuna_utf8_stream_copy_from_utf16+:} false; then : 31585 $as_echo_n "(cached) " >&6 31586else 31587 ac_check_lib_save_LIBS=$LIBS 31588LIBS="-luna $LIBS" 31589cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31590/* end confdefs.h. */ 31591 31592/* Override any GCC internal prototype to avoid an error. 31593 Use char because int might match the return type of a GCC 31594 builtin and then its argument prototype would still apply. */ 31595#ifdef __cplusplus 31596extern "C" 31597#endif 31598char libuna_utf8_stream_copy_from_utf16 (); 31599int 31600main () 31601{ 31602return libuna_utf8_stream_copy_from_utf16 (); 31603 ; 31604 return 0; 31605} 31606_ACEOF 31607if ac_fn_c_try_link "$LINENO"; then : 31608 ac_cv_lib_una_libuna_utf8_stream_copy_from_utf16=yes 31609else 31610 ac_cv_lib_una_libuna_utf8_stream_copy_from_utf16=no 31611fi 31612rm -f core conftest.err conftest.$ac_objext \ 31613 conftest$ac_exeext conftest.$ac_ext 31614LIBS=$ac_check_lib_save_LIBS 31615fi 31616{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_stream_copy_from_utf16" >&5 31617$as_echo "$ac_cv_lib_una_libuna_utf8_stream_copy_from_utf16" >&6; } 31618if test "x$ac_cv_lib_una_libuna_utf8_stream_copy_from_utf16" = xyes; then : 31619 ac_cv_libuna_dummy=yes 31620else 31621 ac_cv_libuna=no 31622fi 31623 31624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_stream_size_from_utf32 in -luna" >&5 31625$as_echo_n "checking for libuna_utf8_stream_size_from_utf32 in -luna... " >&6; } 31626if ${ac_cv_lib_una_libuna_utf8_stream_size_from_utf32+:} false; then : 31627 $as_echo_n "(cached) " >&6 31628else 31629 ac_check_lib_save_LIBS=$LIBS 31630LIBS="-luna $LIBS" 31631cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31632/* end confdefs.h. */ 31633 31634/* Override any GCC internal prototype to avoid an error. 31635 Use char because int might match the return type of a GCC 31636 builtin and then its argument prototype would still apply. */ 31637#ifdef __cplusplus 31638extern "C" 31639#endif 31640char libuna_utf8_stream_size_from_utf32 (); 31641int 31642main () 31643{ 31644return libuna_utf8_stream_size_from_utf32 (); 31645 ; 31646 return 0; 31647} 31648_ACEOF 31649if ac_fn_c_try_link "$LINENO"; then : 31650 ac_cv_lib_una_libuna_utf8_stream_size_from_utf32=yes 31651else 31652 ac_cv_lib_una_libuna_utf8_stream_size_from_utf32=no 31653fi 31654rm -f core conftest.err conftest.$ac_objext \ 31655 conftest$ac_exeext conftest.$ac_ext 31656LIBS=$ac_check_lib_save_LIBS 31657fi 31658{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_stream_size_from_utf32" >&5 31659$as_echo "$ac_cv_lib_una_libuna_utf8_stream_size_from_utf32" >&6; } 31660if test "x$ac_cv_lib_una_libuna_utf8_stream_size_from_utf32" = xyes; then : 31661 ac_cv_libuna_dummy=yes 31662else 31663 ac_cv_libuna=no 31664fi 31665 31666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_stream_copy_from_utf32 in -luna" >&5 31667$as_echo_n "checking for libuna_utf8_stream_copy_from_utf32 in -luna... " >&6; } 31668if ${ac_cv_lib_una_libuna_utf8_stream_copy_from_utf32+:} false; then : 31669 $as_echo_n "(cached) " >&6 31670else 31671 ac_check_lib_save_LIBS=$LIBS 31672LIBS="-luna $LIBS" 31673cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31674/* end confdefs.h. */ 31675 31676/* Override any GCC internal prototype to avoid an error. 31677 Use char because int might match the return type of a GCC 31678 builtin and then its argument prototype would still apply. */ 31679#ifdef __cplusplus 31680extern "C" 31681#endif 31682char libuna_utf8_stream_copy_from_utf32 (); 31683int 31684main () 31685{ 31686return libuna_utf8_stream_copy_from_utf32 (); 31687 ; 31688 return 0; 31689} 31690_ACEOF 31691if ac_fn_c_try_link "$LINENO"; then : 31692 ac_cv_lib_una_libuna_utf8_stream_copy_from_utf32=yes 31693else 31694 ac_cv_lib_una_libuna_utf8_stream_copy_from_utf32=no 31695fi 31696rm -f core conftest.err conftest.$ac_objext \ 31697 conftest$ac_exeext conftest.$ac_ext 31698LIBS=$ac_check_lib_save_LIBS 31699fi 31700{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_stream_copy_from_utf32" >&5 31701$as_echo "$ac_cv_lib_una_libuna_utf8_stream_copy_from_utf32" >&6; } 31702if test "x$ac_cv_lib_una_libuna_utf8_stream_copy_from_utf32" = xyes; then : 31703 ac_cv_libuna_dummy=yes 31704else 31705 ac_cv_libuna=no 31706fi 31707 31708 31709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_stream_size_from_utf8 in -luna" >&5 31710$as_echo_n "checking for libuna_utf16_stream_size_from_utf8 in -luna... " >&6; } 31711if ${ac_cv_lib_una_libuna_utf16_stream_size_from_utf8+:} false; then : 31712 $as_echo_n "(cached) " >&6 31713else 31714 ac_check_lib_save_LIBS=$LIBS 31715LIBS="-luna $LIBS" 31716cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31717/* end confdefs.h. */ 31718 31719/* Override any GCC internal prototype to avoid an error. 31720 Use char because int might match the return type of a GCC 31721 builtin and then its argument prototype would still apply. */ 31722#ifdef __cplusplus 31723extern "C" 31724#endif 31725char libuna_utf16_stream_size_from_utf8 (); 31726int 31727main () 31728{ 31729return libuna_utf16_stream_size_from_utf8 (); 31730 ; 31731 return 0; 31732} 31733_ACEOF 31734if ac_fn_c_try_link "$LINENO"; then : 31735 ac_cv_lib_una_libuna_utf16_stream_size_from_utf8=yes 31736else 31737 ac_cv_lib_una_libuna_utf16_stream_size_from_utf8=no 31738fi 31739rm -f core conftest.err conftest.$ac_objext \ 31740 conftest$ac_exeext conftest.$ac_ext 31741LIBS=$ac_check_lib_save_LIBS 31742fi 31743{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_stream_size_from_utf8" >&5 31744$as_echo "$ac_cv_lib_una_libuna_utf16_stream_size_from_utf8" >&6; } 31745if test "x$ac_cv_lib_una_libuna_utf16_stream_size_from_utf8" = xyes; then : 31746 ac_cv_libuna_dummy=yes 31747else 31748 ac_cv_libuna=no 31749fi 31750 31751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_stream_copy_from_utf8 in -luna" >&5 31752$as_echo_n "checking for libuna_utf16_stream_copy_from_utf8 in -luna... " >&6; } 31753if ${ac_cv_lib_una_libuna_utf16_stream_copy_from_utf8+:} false; then : 31754 $as_echo_n "(cached) " >&6 31755else 31756 ac_check_lib_save_LIBS=$LIBS 31757LIBS="-luna $LIBS" 31758cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31759/* end confdefs.h. */ 31760 31761/* Override any GCC internal prototype to avoid an error. 31762 Use char because int might match the return type of a GCC 31763 builtin and then its argument prototype would still apply. */ 31764#ifdef __cplusplus 31765extern "C" 31766#endif 31767char libuna_utf16_stream_copy_from_utf8 (); 31768int 31769main () 31770{ 31771return libuna_utf16_stream_copy_from_utf8 (); 31772 ; 31773 return 0; 31774} 31775_ACEOF 31776if ac_fn_c_try_link "$LINENO"; then : 31777 ac_cv_lib_una_libuna_utf16_stream_copy_from_utf8=yes 31778else 31779 ac_cv_lib_una_libuna_utf16_stream_copy_from_utf8=no 31780fi 31781rm -f core conftest.err conftest.$ac_objext \ 31782 conftest$ac_exeext conftest.$ac_ext 31783LIBS=$ac_check_lib_save_LIBS 31784fi 31785{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_stream_copy_from_utf8" >&5 31786$as_echo "$ac_cv_lib_una_libuna_utf16_stream_copy_from_utf8" >&6; } 31787if test "x$ac_cv_lib_una_libuna_utf16_stream_copy_from_utf8" = xyes; then : 31788 ac_cv_libuna_dummy=yes 31789else 31790 ac_cv_libuna=no 31791fi 31792 31793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_stream_size_from_utf16 in -luna" >&5 31794$as_echo_n "checking for libuna_utf16_stream_size_from_utf16 in -luna... " >&6; } 31795if ${ac_cv_lib_una_libuna_utf16_stream_size_from_utf16+:} false; then : 31796 $as_echo_n "(cached) " >&6 31797else 31798 ac_check_lib_save_LIBS=$LIBS 31799LIBS="-luna $LIBS" 31800cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31801/* end confdefs.h. */ 31802 31803/* Override any GCC internal prototype to avoid an error. 31804 Use char because int might match the return type of a GCC 31805 builtin and then its argument prototype would still apply. */ 31806#ifdef __cplusplus 31807extern "C" 31808#endif 31809char libuna_utf16_stream_size_from_utf16 (); 31810int 31811main () 31812{ 31813return libuna_utf16_stream_size_from_utf16 (); 31814 ; 31815 return 0; 31816} 31817_ACEOF 31818if ac_fn_c_try_link "$LINENO"; then : 31819 ac_cv_lib_una_libuna_utf16_stream_size_from_utf16=yes 31820else 31821 ac_cv_lib_una_libuna_utf16_stream_size_from_utf16=no 31822fi 31823rm -f core conftest.err conftest.$ac_objext \ 31824 conftest$ac_exeext conftest.$ac_ext 31825LIBS=$ac_check_lib_save_LIBS 31826fi 31827{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_stream_size_from_utf16" >&5 31828$as_echo "$ac_cv_lib_una_libuna_utf16_stream_size_from_utf16" >&6; } 31829if test "x$ac_cv_lib_una_libuna_utf16_stream_size_from_utf16" = xyes; then : 31830 ac_cv_libuna_dummy=yes 31831else 31832 ac_cv_libuna=no 31833fi 31834 31835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_stream_copy_from_utf16 in -luna" >&5 31836$as_echo_n "checking for libuna_utf16_stream_copy_from_utf16 in -luna... " >&6; } 31837if ${ac_cv_lib_una_libuna_utf16_stream_copy_from_utf16+:} false; then : 31838 $as_echo_n "(cached) " >&6 31839else 31840 ac_check_lib_save_LIBS=$LIBS 31841LIBS="-luna $LIBS" 31842cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31843/* end confdefs.h. */ 31844 31845/* Override any GCC internal prototype to avoid an error. 31846 Use char because int might match the return type of a GCC 31847 builtin and then its argument prototype would still apply. */ 31848#ifdef __cplusplus 31849extern "C" 31850#endif 31851char libuna_utf16_stream_copy_from_utf16 (); 31852int 31853main () 31854{ 31855return libuna_utf16_stream_copy_from_utf16 (); 31856 ; 31857 return 0; 31858} 31859_ACEOF 31860if ac_fn_c_try_link "$LINENO"; then : 31861 ac_cv_lib_una_libuna_utf16_stream_copy_from_utf16=yes 31862else 31863 ac_cv_lib_una_libuna_utf16_stream_copy_from_utf16=no 31864fi 31865rm -f core conftest.err conftest.$ac_objext \ 31866 conftest$ac_exeext conftest.$ac_ext 31867LIBS=$ac_check_lib_save_LIBS 31868fi 31869{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_stream_copy_from_utf16" >&5 31870$as_echo "$ac_cv_lib_una_libuna_utf16_stream_copy_from_utf16" >&6; } 31871if test "x$ac_cv_lib_una_libuna_utf16_stream_copy_from_utf16" = xyes; then : 31872 ac_cv_libuna_dummy=yes 31873else 31874 ac_cv_libuna=no 31875fi 31876 31877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_stream_size_from_utf32 in -luna" >&5 31878$as_echo_n "checking for libuna_utf16_stream_size_from_utf32 in -luna... " >&6; } 31879if ${ac_cv_lib_una_libuna_utf16_stream_size_from_utf32+:} false; then : 31880 $as_echo_n "(cached) " >&6 31881else 31882 ac_check_lib_save_LIBS=$LIBS 31883LIBS="-luna $LIBS" 31884cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31885/* end confdefs.h. */ 31886 31887/* Override any GCC internal prototype to avoid an error. 31888 Use char because int might match the return type of a GCC 31889 builtin and then its argument prototype would still apply. */ 31890#ifdef __cplusplus 31891extern "C" 31892#endif 31893char libuna_utf16_stream_size_from_utf32 (); 31894int 31895main () 31896{ 31897return libuna_utf16_stream_size_from_utf32 (); 31898 ; 31899 return 0; 31900} 31901_ACEOF 31902if ac_fn_c_try_link "$LINENO"; then : 31903 ac_cv_lib_una_libuna_utf16_stream_size_from_utf32=yes 31904else 31905 ac_cv_lib_una_libuna_utf16_stream_size_from_utf32=no 31906fi 31907rm -f core conftest.err conftest.$ac_objext \ 31908 conftest$ac_exeext conftest.$ac_ext 31909LIBS=$ac_check_lib_save_LIBS 31910fi 31911{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_stream_size_from_utf32" >&5 31912$as_echo "$ac_cv_lib_una_libuna_utf16_stream_size_from_utf32" >&6; } 31913if test "x$ac_cv_lib_una_libuna_utf16_stream_size_from_utf32" = xyes; then : 31914 ac_cv_libuna_dummy=yes 31915else 31916 ac_cv_libuna=no 31917fi 31918 31919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_stream_copy_from_utf32 in -luna" >&5 31920$as_echo_n "checking for libuna_utf16_stream_copy_from_utf32 in -luna... " >&6; } 31921if ${ac_cv_lib_una_libuna_utf16_stream_copy_from_utf32+:} false; then : 31922 $as_echo_n "(cached) " >&6 31923else 31924 ac_check_lib_save_LIBS=$LIBS 31925LIBS="-luna $LIBS" 31926cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31927/* end confdefs.h. */ 31928 31929/* Override any GCC internal prototype to avoid an error. 31930 Use char because int might match the return type of a GCC 31931 builtin and then its argument prototype would still apply. */ 31932#ifdef __cplusplus 31933extern "C" 31934#endif 31935char libuna_utf16_stream_copy_from_utf32 (); 31936int 31937main () 31938{ 31939return libuna_utf16_stream_copy_from_utf32 (); 31940 ; 31941 return 0; 31942} 31943_ACEOF 31944if ac_fn_c_try_link "$LINENO"; then : 31945 ac_cv_lib_una_libuna_utf16_stream_copy_from_utf32=yes 31946else 31947 ac_cv_lib_una_libuna_utf16_stream_copy_from_utf32=no 31948fi 31949rm -f core conftest.err conftest.$ac_objext \ 31950 conftest$ac_exeext conftest.$ac_ext 31951LIBS=$ac_check_lib_save_LIBS 31952fi 31953{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_stream_copy_from_utf32" >&5 31954$as_echo "$ac_cv_lib_una_libuna_utf16_stream_copy_from_utf32" >&6; } 31955if test "x$ac_cv_lib_una_libuna_utf16_stream_copy_from_utf32" = xyes; then : 31956 ac_cv_libuna_dummy=yes 31957else 31958 ac_cv_libuna=no 31959fi 31960 31961 31962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_stream_size_from_utf8 in -luna" >&5 31963$as_echo_n "checking for libuna_utf32_stream_size_from_utf8 in -luna... " >&6; } 31964if ${ac_cv_lib_una_libuna_utf32_stream_size_from_utf8+:} false; then : 31965 $as_echo_n "(cached) " >&6 31966else 31967 ac_check_lib_save_LIBS=$LIBS 31968LIBS="-luna $LIBS" 31969cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31970/* end confdefs.h. */ 31971 31972/* Override any GCC internal prototype to avoid an error. 31973 Use char because int might match the return type of a GCC 31974 builtin and then its argument prototype would still apply. */ 31975#ifdef __cplusplus 31976extern "C" 31977#endif 31978char libuna_utf32_stream_size_from_utf8 (); 31979int 31980main () 31981{ 31982return libuna_utf32_stream_size_from_utf8 (); 31983 ; 31984 return 0; 31985} 31986_ACEOF 31987if ac_fn_c_try_link "$LINENO"; then : 31988 ac_cv_lib_una_libuna_utf32_stream_size_from_utf8=yes 31989else 31990 ac_cv_lib_una_libuna_utf32_stream_size_from_utf8=no 31991fi 31992rm -f core conftest.err conftest.$ac_objext \ 31993 conftest$ac_exeext conftest.$ac_ext 31994LIBS=$ac_check_lib_save_LIBS 31995fi 31996{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_stream_size_from_utf8" >&5 31997$as_echo "$ac_cv_lib_una_libuna_utf32_stream_size_from_utf8" >&6; } 31998if test "x$ac_cv_lib_una_libuna_utf32_stream_size_from_utf8" = xyes; then : 31999 ac_cv_libuna_dummy=yes 32000else 32001 ac_cv_libuna=no 32002fi 32003 32004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_stream_copy_from_utf8 in -luna" >&5 32005$as_echo_n "checking for libuna_utf32_stream_copy_from_utf8 in -luna... " >&6; } 32006if ${ac_cv_lib_una_libuna_utf32_stream_copy_from_utf8+:} false; then : 32007 $as_echo_n "(cached) " >&6 32008else 32009 ac_check_lib_save_LIBS=$LIBS 32010LIBS="-luna $LIBS" 32011cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32012/* end confdefs.h. */ 32013 32014/* Override any GCC internal prototype to avoid an error. 32015 Use char because int might match the return type of a GCC 32016 builtin and then its argument prototype would still apply. */ 32017#ifdef __cplusplus 32018extern "C" 32019#endif 32020char libuna_utf32_stream_copy_from_utf8 (); 32021int 32022main () 32023{ 32024return libuna_utf32_stream_copy_from_utf8 (); 32025 ; 32026 return 0; 32027} 32028_ACEOF 32029if ac_fn_c_try_link "$LINENO"; then : 32030 ac_cv_lib_una_libuna_utf32_stream_copy_from_utf8=yes 32031else 32032 ac_cv_lib_una_libuna_utf32_stream_copy_from_utf8=no 32033fi 32034rm -f core conftest.err conftest.$ac_objext \ 32035 conftest$ac_exeext conftest.$ac_ext 32036LIBS=$ac_check_lib_save_LIBS 32037fi 32038{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_stream_copy_from_utf8" >&5 32039$as_echo "$ac_cv_lib_una_libuna_utf32_stream_copy_from_utf8" >&6; } 32040if test "x$ac_cv_lib_una_libuna_utf32_stream_copy_from_utf8" = xyes; then : 32041 ac_cv_libuna_dummy=yes 32042else 32043 ac_cv_libuna=no 32044fi 32045 32046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_stream_size_from_utf16 in -luna" >&5 32047$as_echo_n "checking for libuna_utf32_stream_size_from_utf16 in -luna... " >&6; } 32048if ${ac_cv_lib_una_libuna_utf32_stream_size_from_utf16+:} false; then : 32049 $as_echo_n "(cached) " >&6 32050else 32051 ac_check_lib_save_LIBS=$LIBS 32052LIBS="-luna $LIBS" 32053cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32054/* end confdefs.h. */ 32055 32056/* Override any GCC internal prototype to avoid an error. 32057 Use char because int might match the return type of a GCC 32058 builtin and then its argument prototype would still apply. */ 32059#ifdef __cplusplus 32060extern "C" 32061#endif 32062char libuna_utf32_stream_size_from_utf16 (); 32063int 32064main () 32065{ 32066return libuna_utf32_stream_size_from_utf16 (); 32067 ; 32068 return 0; 32069} 32070_ACEOF 32071if ac_fn_c_try_link "$LINENO"; then : 32072 ac_cv_lib_una_libuna_utf32_stream_size_from_utf16=yes 32073else 32074 ac_cv_lib_una_libuna_utf32_stream_size_from_utf16=no 32075fi 32076rm -f core conftest.err conftest.$ac_objext \ 32077 conftest$ac_exeext conftest.$ac_ext 32078LIBS=$ac_check_lib_save_LIBS 32079fi 32080{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_stream_size_from_utf16" >&5 32081$as_echo "$ac_cv_lib_una_libuna_utf32_stream_size_from_utf16" >&6; } 32082if test "x$ac_cv_lib_una_libuna_utf32_stream_size_from_utf16" = xyes; then : 32083 ac_cv_libuna_dummy=yes 32084else 32085 ac_cv_libuna=no 32086fi 32087 32088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_stream_copy_from_utf16 in -luna" >&5 32089$as_echo_n "checking for libuna_utf32_stream_copy_from_utf16 in -luna... " >&6; } 32090if ${ac_cv_lib_una_libuna_utf32_stream_copy_from_utf16+:} false; then : 32091 $as_echo_n "(cached) " >&6 32092else 32093 ac_check_lib_save_LIBS=$LIBS 32094LIBS="-luna $LIBS" 32095cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32096/* end confdefs.h. */ 32097 32098/* Override any GCC internal prototype to avoid an error. 32099 Use char because int might match the return type of a GCC 32100 builtin and then its argument prototype would still apply. */ 32101#ifdef __cplusplus 32102extern "C" 32103#endif 32104char libuna_utf32_stream_copy_from_utf16 (); 32105int 32106main () 32107{ 32108return libuna_utf32_stream_copy_from_utf16 (); 32109 ; 32110 return 0; 32111} 32112_ACEOF 32113if ac_fn_c_try_link "$LINENO"; then : 32114 ac_cv_lib_una_libuna_utf32_stream_copy_from_utf16=yes 32115else 32116 ac_cv_lib_una_libuna_utf32_stream_copy_from_utf16=no 32117fi 32118rm -f core conftest.err conftest.$ac_objext \ 32119 conftest$ac_exeext conftest.$ac_ext 32120LIBS=$ac_check_lib_save_LIBS 32121fi 32122{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_stream_copy_from_utf16" >&5 32123$as_echo "$ac_cv_lib_una_libuna_utf32_stream_copy_from_utf16" >&6; } 32124if test "x$ac_cv_lib_una_libuna_utf32_stream_copy_from_utf16" = xyes; then : 32125 ac_cv_libuna_dummy=yes 32126else 32127 ac_cv_libuna=no 32128fi 32129 32130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_stream_size_from_utf32 in -luna" >&5 32131$as_echo_n "checking for libuna_utf32_stream_size_from_utf32 in -luna... " >&6; } 32132if ${ac_cv_lib_una_libuna_utf32_stream_size_from_utf32+:} false; then : 32133 $as_echo_n "(cached) " >&6 32134else 32135 ac_check_lib_save_LIBS=$LIBS 32136LIBS="-luna $LIBS" 32137cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32138/* end confdefs.h. */ 32139 32140/* Override any GCC internal prototype to avoid an error. 32141 Use char because int might match the return type of a GCC 32142 builtin and then its argument prototype would still apply. */ 32143#ifdef __cplusplus 32144extern "C" 32145#endif 32146char libuna_utf32_stream_size_from_utf32 (); 32147int 32148main () 32149{ 32150return libuna_utf32_stream_size_from_utf32 (); 32151 ; 32152 return 0; 32153} 32154_ACEOF 32155if ac_fn_c_try_link "$LINENO"; then : 32156 ac_cv_lib_una_libuna_utf32_stream_size_from_utf32=yes 32157else 32158 ac_cv_lib_una_libuna_utf32_stream_size_from_utf32=no 32159fi 32160rm -f core conftest.err conftest.$ac_objext \ 32161 conftest$ac_exeext conftest.$ac_ext 32162LIBS=$ac_check_lib_save_LIBS 32163fi 32164{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_stream_size_from_utf32" >&5 32165$as_echo "$ac_cv_lib_una_libuna_utf32_stream_size_from_utf32" >&6; } 32166if test "x$ac_cv_lib_una_libuna_utf32_stream_size_from_utf32" = xyes; then : 32167 ac_cv_libuna_dummy=yes 32168else 32169 ac_cv_libuna=no 32170fi 32171 32172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_stream_copy_from_utf32 in -luna" >&5 32173$as_echo_n "checking for libuna_utf32_stream_copy_from_utf32 in -luna... " >&6; } 32174if ${ac_cv_lib_una_libuna_utf32_stream_copy_from_utf32+:} false; then : 32175 $as_echo_n "(cached) " >&6 32176else 32177 ac_check_lib_save_LIBS=$LIBS 32178LIBS="-luna $LIBS" 32179cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32180/* end confdefs.h. */ 32181 32182/* Override any GCC internal prototype to avoid an error. 32183 Use char because int might match the return type of a GCC 32184 builtin and then its argument prototype would still apply. */ 32185#ifdef __cplusplus 32186extern "C" 32187#endif 32188char libuna_utf32_stream_copy_from_utf32 (); 32189int 32190main () 32191{ 32192return libuna_utf32_stream_copy_from_utf32 (); 32193 ; 32194 return 0; 32195} 32196_ACEOF 32197if ac_fn_c_try_link "$LINENO"; then : 32198 ac_cv_lib_una_libuna_utf32_stream_copy_from_utf32=yes 32199else 32200 ac_cv_lib_una_libuna_utf32_stream_copy_from_utf32=no 32201fi 32202rm -f core conftest.err conftest.$ac_objext \ 32203 conftest$ac_exeext conftest.$ac_ext 32204LIBS=$ac_check_lib_save_LIBS 32205fi 32206{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_stream_copy_from_utf32" >&5 32207$as_echo "$ac_cv_lib_una_libuna_utf32_stream_copy_from_utf32" >&6; } 32208if test "x$ac_cv_lib_una_libuna_utf32_stream_copy_from_utf32" = xyes; then : 32209 ac_cv_libuna_dummy=yes 32210else 32211 ac_cv_libuna=no 32212fi 32213 32214 32215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_byte_stream in -luna" >&5 32216$as_echo_n "checking for libuna_utf8_string_size_from_byte_stream in -luna... " >&6; } 32217if ${ac_cv_lib_una_libuna_utf8_string_size_from_byte_stream+:} false; then : 32218 $as_echo_n "(cached) " >&6 32219else 32220 ac_check_lib_save_LIBS=$LIBS 32221LIBS="-luna $LIBS" 32222cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32223/* end confdefs.h. */ 32224 32225/* Override any GCC internal prototype to avoid an error. 32226 Use char because int might match the return type of a GCC 32227 builtin and then its argument prototype would still apply. */ 32228#ifdef __cplusplus 32229extern "C" 32230#endif 32231char libuna_utf8_string_size_from_byte_stream (); 32232int 32233main () 32234{ 32235return libuna_utf8_string_size_from_byte_stream (); 32236 ; 32237 return 0; 32238} 32239_ACEOF 32240if ac_fn_c_try_link "$LINENO"; then : 32241 ac_cv_lib_una_libuna_utf8_string_size_from_byte_stream=yes 32242else 32243 ac_cv_lib_una_libuna_utf8_string_size_from_byte_stream=no 32244fi 32245rm -f core conftest.err conftest.$ac_objext \ 32246 conftest$ac_exeext conftest.$ac_ext 32247LIBS=$ac_check_lib_save_LIBS 32248fi 32249{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_byte_stream" >&5 32250$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_byte_stream" >&6; } 32251if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_byte_stream" = xyes; then : 32252 ac_cv_libuna_dummy=yes 32253else 32254 ac_cv_libuna=no 32255fi 32256 32257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_byte_stream in -luna" >&5 32258$as_echo_n "checking for libuna_utf8_string_copy_from_byte_stream in -luna... " >&6; } 32259if ${ac_cv_lib_una_libuna_utf8_string_copy_from_byte_stream+:} false; then : 32260 $as_echo_n "(cached) " >&6 32261else 32262 ac_check_lib_save_LIBS=$LIBS 32263LIBS="-luna $LIBS" 32264cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32265/* end confdefs.h. */ 32266 32267/* Override any GCC internal prototype to avoid an error. 32268 Use char because int might match the return type of a GCC 32269 builtin and then its argument prototype would still apply. */ 32270#ifdef __cplusplus 32271extern "C" 32272#endif 32273char libuna_utf8_string_copy_from_byte_stream (); 32274int 32275main () 32276{ 32277return libuna_utf8_string_copy_from_byte_stream (); 32278 ; 32279 return 0; 32280} 32281_ACEOF 32282if ac_fn_c_try_link "$LINENO"; then : 32283 ac_cv_lib_una_libuna_utf8_string_copy_from_byte_stream=yes 32284else 32285 ac_cv_lib_una_libuna_utf8_string_copy_from_byte_stream=no 32286fi 32287rm -f core conftest.err conftest.$ac_objext \ 32288 conftest$ac_exeext conftest.$ac_ext 32289LIBS=$ac_check_lib_save_LIBS 32290fi 32291{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_byte_stream" >&5 32292$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_byte_stream" >&6; } 32293if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_byte_stream" = xyes; then : 32294 ac_cv_libuna_dummy=yes 32295else 32296 ac_cv_libuna=no 32297fi 32298 32299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_byte_stream in -luna" >&5 32300$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_byte_stream in -luna... " >&6; } 32301if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_byte_stream+:} false; then : 32302 $as_echo_n "(cached) " >&6 32303else 32304 ac_check_lib_save_LIBS=$LIBS 32305LIBS="-luna $LIBS" 32306cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32307/* end confdefs.h. */ 32308 32309/* Override any GCC internal prototype to avoid an error. 32310 Use char because int might match the return type of a GCC 32311 builtin and then its argument prototype would still apply. */ 32312#ifdef __cplusplus 32313extern "C" 32314#endif 32315char libuna_utf8_string_with_index_copy_from_byte_stream (); 32316int 32317main () 32318{ 32319return libuna_utf8_string_with_index_copy_from_byte_stream (); 32320 ; 32321 return 0; 32322} 32323_ACEOF 32324if ac_fn_c_try_link "$LINENO"; then : 32325 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_byte_stream=yes 32326else 32327 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_byte_stream=no 32328fi 32329rm -f core conftest.err conftest.$ac_objext \ 32330 conftest$ac_exeext conftest.$ac_ext 32331LIBS=$ac_check_lib_save_LIBS 32332fi 32333{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_byte_stream" >&5 32334$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_byte_stream" >&6; } 32335if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_byte_stream" = xyes; then : 32336 ac_cv_libuna_dummy=yes 32337else 32338 ac_cv_libuna=no 32339fi 32340 32341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_utf7_stream in -luna" >&5 32342$as_echo_n "checking for libuna_utf8_string_size_from_utf7_stream in -luna... " >&6; } 32343if ${ac_cv_lib_una_libuna_utf8_string_size_from_utf7_stream+:} false; then : 32344 $as_echo_n "(cached) " >&6 32345else 32346 ac_check_lib_save_LIBS=$LIBS 32347LIBS="-luna $LIBS" 32348cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32349/* end confdefs.h. */ 32350 32351/* Override any GCC internal prototype to avoid an error. 32352 Use char because int might match the return type of a GCC 32353 builtin and then its argument prototype would still apply. */ 32354#ifdef __cplusplus 32355extern "C" 32356#endif 32357char libuna_utf8_string_size_from_utf7_stream (); 32358int 32359main () 32360{ 32361return libuna_utf8_string_size_from_utf7_stream (); 32362 ; 32363 return 0; 32364} 32365_ACEOF 32366if ac_fn_c_try_link "$LINENO"; then : 32367 ac_cv_lib_una_libuna_utf8_string_size_from_utf7_stream=yes 32368else 32369 ac_cv_lib_una_libuna_utf8_string_size_from_utf7_stream=no 32370fi 32371rm -f core conftest.err conftest.$ac_objext \ 32372 conftest$ac_exeext conftest.$ac_ext 32373LIBS=$ac_check_lib_save_LIBS 32374fi 32375{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_utf7_stream" >&5 32376$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_utf7_stream" >&6; } 32377if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_utf7_stream" = xyes; then : 32378 ac_cv_libuna_dummy=yes 32379else 32380 ac_cv_libuna=no 32381fi 32382 32383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_utf7_stream in -luna" >&5 32384$as_echo_n "checking for libuna_utf8_string_copy_from_utf7_stream in -luna... " >&6; } 32385if ${ac_cv_lib_una_libuna_utf8_string_copy_from_utf7_stream+:} false; then : 32386 $as_echo_n "(cached) " >&6 32387else 32388 ac_check_lib_save_LIBS=$LIBS 32389LIBS="-luna $LIBS" 32390cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32391/* end confdefs.h. */ 32392 32393/* Override any GCC internal prototype to avoid an error. 32394 Use char because int might match the return type of a GCC 32395 builtin and then its argument prototype would still apply. */ 32396#ifdef __cplusplus 32397extern "C" 32398#endif 32399char libuna_utf8_string_copy_from_utf7_stream (); 32400int 32401main () 32402{ 32403return libuna_utf8_string_copy_from_utf7_stream (); 32404 ; 32405 return 0; 32406} 32407_ACEOF 32408if ac_fn_c_try_link "$LINENO"; then : 32409 ac_cv_lib_una_libuna_utf8_string_copy_from_utf7_stream=yes 32410else 32411 ac_cv_lib_una_libuna_utf8_string_copy_from_utf7_stream=no 32412fi 32413rm -f core conftest.err conftest.$ac_objext \ 32414 conftest$ac_exeext conftest.$ac_ext 32415LIBS=$ac_check_lib_save_LIBS 32416fi 32417{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_utf7_stream" >&5 32418$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_utf7_stream" >&6; } 32419if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_utf7_stream" = xyes; then : 32420 ac_cv_libuna_dummy=yes 32421else 32422 ac_cv_libuna=no 32423fi 32424 32425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_utf7_stream in -luna" >&5 32426$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_utf7_stream in -luna... " >&6; } 32427if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf7_stream+:} false; then : 32428 $as_echo_n "(cached) " >&6 32429else 32430 ac_check_lib_save_LIBS=$LIBS 32431LIBS="-luna $LIBS" 32432cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32433/* end confdefs.h. */ 32434 32435/* Override any GCC internal prototype to avoid an error. 32436 Use char because int might match the return type of a GCC 32437 builtin and then its argument prototype would still apply. */ 32438#ifdef __cplusplus 32439extern "C" 32440#endif 32441char libuna_utf8_string_with_index_copy_from_utf7_stream (); 32442int 32443main () 32444{ 32445return libuna_utf8_string_with_index_copy_from_utf7_stream (); 32446 ; 32447 return 0; 32448} 32449_ACEOF 32450if ac_fn_c_try_link "$LINENO"; then : 32451 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf7_stream=yes 32452else 32453 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf7_stream=no 32454fi 32455rm -f core conftest.err conftest.$ac_objext \ 32456 conftest$ac_exeext conftest.$ac_ext 32457LIBS=$ac_check_lib_save_LIBS 32458fi 32459{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf7_stream" >&5 32460$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf7_stream" >&6; } 32461if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf7_stream" = xyes; then : 32462 ac_cv_libuna_dummy=yes 32463else 32464 ac_cv_libuna=no 32465fi 32466 32467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_utf8_stream in -luna" >&5 32468$as_echo_n "checking for libuna_utf8_string_size_from_utf8_stream in -luna... " >&6; } 32469if ${ac_cv_lib_una_libuna_utf8_string_size_from_utf8_stream+:} false; then : 32470 $as_echo_n "(cached) " >&6 32471else 32472 ac_check_lib_save_LIBS=$LIBS 32473LIBS="-luna $LIBS" 32474cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32475/* end confdefs.h. */ 32476 32477/* Override any GCC internal prototype to avoid an error. 32478 Use char because int might match the return type of a GCC 32479 builtin and then its argument prototype would still apply. */ 32480#ifdef __cplusplus 32481extern "C" 32482#endif 32483char libuna_utf8_string_size_from_utf8_stream (); 32484int 32485main () 32486{ 32487return libuna_utf8_string_size_from_utf8_stream (); 32488 ; 32489 return 0; 32490} 32491_ACEOF 32492if ac_fn_c_try_link "$LINENO"; then : 32493 ac_cv_lib_una_libuna_utf8_string_size_from_utf8_stream=yes 32494else 32495 ac_cv_lib_una_libuna_utf8_string_size_from_utf8_stream=no 32496fi 32497rm -f core conftest.err conftest.$ac_objext \ 32498 conftest$ac_exeext conftest.$ac_ext 32499LIBS=$ac_check_lib_save_LIBS 32500fi 32501{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_utf8_stream" >&5 32502$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_utf8_stream" >&6; } 32503if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_utf8_stream" = xyes; then : 32504 ac_cv_libuna_dummy=yes 32505else 32506 ac_cv_libuna=no 32507fi 32508 32509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_utf8_stream in -luna" >&5 32510$as_echo_n "checking for libuna_utf8_string_copy_from_utf8_stream in -luna... " >&6; } 32511if ${ac_cv_lib_una_libuna_utf8_string_copy_from_utf8_stream+:} false; then : 32512 $as_echo_n "(cached) " >&6 32513else 32514 ac_check_lib_save_LIBS=$LIBS 32515LIBS="-luna $LIBS" 32516cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32517/* end confdefs.h. */ 32518 32519/* Override any GCC internal prototype to avoid an error. 32520 Use char because int might match the return type of a GCC 32521 builtin and then its argument prototype would still apply. */ 32522#ifdef __cplusplus 32523extern "C" 32524#endif 32525char libuna_utf8_string_copy_from_utf8_stream (); 32526int 32527main () 32528{ 32529return libuna_utf8_string_copy_from_utf8_stream (); 32530 ; 32531 return 0; 32532} 32533_ACEOF 32534if ac_fn_c_try_link "$LINENO"; then : 32535 ac_cv_lib_una_libuna_utf8_string_copy_from_utf8_stream=yes 32536else 32537 ac_cv_lib_una_libuna_utf8_string_copy_from_utf8_stream=no 32538fi 32539rm -f core conftest.err conftest.$ac_objext \ 32540 conftest$ac_exeext conftest.$ac_ext 32541LIBS=$ac_check_lib_save_LIBS 32542fi 32543{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_utf8_stream" >&5 32544$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_utf8_stream" >&6; } 32545if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_utf8_stream" = xyes; then : 32546 ac_cv_libuna_dummy=yes 32547else 32548 ac_cv_libuna=no 32549fi 32550 32551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_utf8_stream in -luna" >&5 32552$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_utf8_stream in -luna... " >&6; } 32553if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf8_stream+:} false; then : 32554 $as_echo_n "(cached) " >&6 32555else 32556 ac_check_lib_save_LIBS=$LIBS 32557LIBS="-luna $LIBS" 32558cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32559/* end confdefs.h. */ 32560 32561/* Override any GCC internal prototype to avoid an error. 32562 Use char because int might match the return type of a GCC 32563 builtin and then its argument prototype would still apply. */ 32564#ifdef __cplusplus 32565extern "C" 32566#endif 32567char libuna_utf8_string_with_index_copy_from_utf8_stream (); 32568int 32569main () 32570{ 32571return libuna_utf8_string_with_index_copy_from_utf8_stream (); 32572 ; 32573 return 0; 32574} 32575_ACEOF 32576if ac_fn_c_try_link "$LINENO"; then : 32577 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf8_stream=yes 32578else 32579 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf8_stream=no 32580fi 32581rm -f core conftest.err conftest.$ac_objext \ 32582 conftest$ac_exeext conftest.$ac_ext 32583LIBS=$ac_check_lib_save_LIBS 32584fi 32585{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf8_stream" >&5 32586$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf8_stream" >&6; } 32587if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf8_stream" = xyes; then : 32588 ac_cv_libuna_dummy=yes 32589else 32590 ac_cv_libuna=no 32591fi 32592 32593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_utf16_stream in -luna" >&5 32594$as_echo_n "checking for libuna_utf8_string_size_from_utf16_stream in -luna... " >&6; } 32595if ${ac_cv_lib_una_libuna_utf8_string_size_from_utf16_stream+:} false; then : 32596 $as_echo_n "(cached) " >&6 32597else 32598 ac_check_lib_save_LIBS=$LIBS 32599LIBS="-luna $LIBS" 32600cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32601/* end confdefs.h. */ 32602 32603/* Override any GCC internal prototype to avoid an error. 32604 Use char because int might match the return type of a GCC 32605 builtin and then its argument prototype would still apply. */ 32606#ifdef __cplusplus 32607extern "C" 32608#endif 32609char libuna_utf8_string_size_from_utf16_stream (); 32610int 32611main () 32612{ 32613return libuna_utf8_string_size_from_utf16_stream (); 32614 ; 32615 return 0; 32616} 32617_ACEOF 32618if ac_fn_c_try_link "$LINENO"; then : 32619 ac_cv_lib_una_libuna_utf8_string_size_from_utf16_stream=yes 32620else 32621 ac_cv_lib_una_libuna_utf8_string_size_from_utf16_stream=no 32622fi 32623rm -f core conftest.err conftest.$ac_objext \ 32624 conftest$ac_exeext conftest.$ac_ext 32625LIBS=$ac_check_lib_save_LIBS 32626fi 32627{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_utf16_stream" >&5 32628$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_utf16_stream" >&6; } 32629if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_utf16_stream" = xyes; then : 32630 ac_cv_libuna_dummy=yes 32631else 32632 ac_cv_libuna=no 32633fi 32634 32635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_utf16_stream in -luna" >&5 32636$as_echo_n "checking for libuna_utf8_string_copy_from_utf16_stream in -luna... " >&6; } 32637if ${ac_cv_lib_una_libuna_utf8_string_copy_from_utf16_stream+:} false; then : 32638 $as_echo_n "(cached) " >&6 32639else 32640 ac_check_lib_save_LIBS=$LIBS 32641LIBS="-luna $LIBS" 32642cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32643/* end confdefs.h. */ 32644 32645/* Override any GCC internal prototype to avoid an error. 32646 Use char because int might match the return type of a GCC 32647 builtin and then its argument prototype would still apply. */ 32648#ifdef __cplusplus 32649extern "C" 32650#endif 32651char libuna_utf8_string_copy_from_utf16_stream (); 32652int 32653main () 32654{ 32655return libuna_utf8_string_copy_from_utf16_stream (); 32656 ; 32657 return 0; 32658} 32659_ACEOF 32660if ac_fn_c_try_link "$LINENO"; then : 32661 ac_cv_lib_una_libuna_utf8_string_copy_from_utf16_stream=yes 32662else 32663 ac_cv_lib_una_libuna_utf8_string_copy_from_utf16_stream=no 32664fi 32665rm -f core conftest.err conftest.$ac_objext \ 32666 conftest$ac_exeext conftest.$ac_ext 32667LIBS=$ac_check_lib_save_LIBS 32668fi 32669{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_utf16_stream" >&5 32670$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_utf16_stream" >&6; } 32671if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_utf16_stream" = xyes; then : 32672 ac_cv_libuna_dummy=yes 32673else 32674 ac_cv_libuna=no 32675fi 32676 32677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_utf16_stream in -luna" >&5 32678$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_utf16_stream in -luna... " >&6; } 32679if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16_stream+:} false; then : 32680 $as_echo_n "(cached) " >&6 32681else 32682 ac_check_lib_save_LIBS=$LIBS 32683LIBS="-luna $LIBS" 32684cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32685/* end confdefs.h. */ 32686 32687/* Override any GCC internal prototype to avoid an error. 32688 Use char because int might match the return type of a GCC 32689 builtin and then its argument prototype would still apply. */ 32690#ifdef __cplusplus 32691extern "C" 32692#endif 32693char libuna_utf8_string_with_index_copy_from_utf16_stream (); 32694int 32695main () 32696{ 32697return libuna_utf8_string_with_index_copy_from_utf16_stream (); 32698 ; 32699 return 0; 32700} 32701_ACEOF 32702if ac_fn_c_try_link "$LINENO"; then : 32703 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16_stream=yes 32704else 32705 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16_stream=no 32706fi 32707rm -f core conftest.err conftest.$ac_objext \ 32708 conftest$ac_exeext conftest.$ac_ext 32709LIBS=$ac_check_lib_save_LIBS 32710fi 32711{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16_stream" >&5 32712$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16_stream" >&6; } 32713if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16_stream" = xyes; then : 32714 ac_cv_libuna_dummy=yes 32715else 32716 ac_cv_libuna=no 32717fi 32718 32719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_utf32_stream in -luna" >&5 32720$as_echo_n "checking for libuna_utf8_string_size_from_utf32_stream in -luna... " >&6; } 32721if ${ac_cv_lib_una_libuna_utf8_string_size_from_utf32_stream+:} false; then : 32722 $as_echo_n "(cached) " >&6 32723else 32724 ac_check_lib_save_LIBS=$LIBS 32725LIBS="-luna $LIBS" 32726cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32727/* end confdefs.h. */ 32728 32729/* Override any GCC internal prototype to avoid an error. 32730 Use char because int might match the return type of a GCC 32731 builtin and then its argument prototype would still apply. */ 32732#ifdef __cplusplus 32733extern "C" 32734#endif 32735char libuna_utf8_string_size_from_utf32_stream (); 32736int 32737main () 32738{ 32739return libuna_utf8_string_size_from_utf32_stream (); 32740 ; 32741 return 0; 32742} 32743_ACEOF 32744if ac_fn_c_try_link "$LINENO"; then : 32745 ac_cv_lib_una_libuna_utf8_string_size_from_utf32_stream=yes 32746else 32747 ac_cv_lib_una_libuna_utf8_string_size_from_utf32_stream=no 32748fi 32749rm -f core conftest.err conftest.$ac_objext \ 32750 conftest$ac_exeext conftest.$ac_ext 32751LIBS=$ac_check_lib_save_LIBS 32752fi 32753{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_utf32_stream" >&5 32754$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_utf32_stream" >&6; } 32755if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_utf32_stream" = xyes; then : 32756 ac_cv_libuna_dummy=yes 32757else 32758 ac_cv_libuna=no 32759fi 32760 32761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_utf32_stream in -luna" >&5 32762$as_echo_n "checking for libuna_utf8_string_copy_from_utf32_stream in -luna... " >&6; } 32763if ${ac_cv_lib_una_libuna_utf8_string_copy_from_utf32_stream+:} false; then : 32764 $as_echo_n "(cached) " >&6 32765else 32766 ac_check_lib_save_LIBS=$LIBS 32767LIBS="-luna $LIBS" 32768cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32769/* end confdefs.h. */ 32770 32771/* Override any GCC internal prototype to avoid an error. 32772 Use char because int might match the return type of a GCC 32773 builtin and then its argument prototype would still apply. */ 32774#ifdef __cplusplus 32775extern "C" 32776#endif 32777char libuna_utf8_string_copy_from_utf32_stream (); 32778int 32779main () 32780{ 32781return libuna_utf8_string_copy_from_utf32_stream (); 32782 ; 32783 return 0; 32784} 32785_ACEOF 32786if ac_fn_c_try_link "$LINENO"; then : 32787 ac_cv_lib_una_libuna_utf8_string_copy_from_utf32_stream=yes 32788else 32789 ac_cv_lib_una_libuna_utf8_string_copy_from_utf32_stream=no 32790fi 32791rm -f core conftest.err conftest.$ac_objext \ 32792 conftest$ac_exeext conftest.$ac_ext 32793LIBS=$ac_check_lib_save_LIBS 32794fi 32795{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_utf32_stream" >&5 32796$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_utf32_stream" >&6; } 32797if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_utf32_stream" = xyes; then : 32798 ac_cv_libuna_dummy=yes 32799else 32800 ac_cv_libuna=no 32801fi 32802 32803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_utf32_stream in -luna" >&5 32804$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_utf32_stream in -luna... " >&6; } 32805if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32_stream+:} false; then : 32806 $as_echo_n "(cached) " >&6 32807else 32808 ac_check_lib_save_LIBS=$LIBS 32809LIBS="-luna $LIBS" 32810cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32811/* end confdefs.h. */ 32812 32813/* Override any GCC internal prototype to avoid an error. 32814 Use char because int might match the return type of a GCC 32815 builtin and then its argument prototype would still apply. */ 32816#ifdef __cplusplus 32817extern "C" 32818#endif 32819char libuna_utf8_string_with_index_copy_from_utf32_stream (); 32820int 32821main () 32822{ 32823return libuna_utf8_string_with_index_copy_from_utf32_stream (); 32824 ; 32825 return 0; 32826} 32827_ACEOF 32828if ac_fn_c_try_link "$LINENO"; then : 32829 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32_stream=yes 32830else 32831 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32_stream=no 32832fi 32833rm -f core conftest.err conftest.$ac_objext \ 32834 conftest$ac_exeext conftest.$ac_ext 32835LIBS=$ac_check_lib_save_LIBS 32836fi 32837{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32_stream" >&5 32838$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32_stream" >&6; } 32839if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32_stream" = xyes; then : 32840 ac_cv_libuna_dummy=yes 32841else 32842 ac_cv_libuna=no 32843fi 32844 32845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_utf16 in -luna" >&5 32846$as_echo_n "checking for libuna_utf8_string_size_from_utf16 in -luna... " >&6; } 32847if ${ac_cv_lib_una_libuna_utf8_string_size_from_utf16+:} false; then : 32848 $as_echo_n "(cached) " >&6 32849else 32850 ac_check_lib_save_LIBS=$LIBS 32851LIBS="-luna $LIBS" 32852cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32853/* end confdefs.h. */ 32854 32855/* Override any GCC internal prototype to avoid an error. 32856 Use char because int might match the return type of a GCC 32857 builtin and then its argument prototype would still apply. */ 32858#ifdef __cplusplus 32859extern "C" 32860#endif 32861char libuna_utf8_string_size_from_utf16 (); 32862int 32863main () 32864{ 32865return libuna_utf8_string_size_from_utf16 (); 32866 ; 32867 return 0; 32868} 32869_ACEOF 32870if ac_fn_c_try_link "$LINENO"; then : 32871 ac_cv_lib_una_libuna_utf8_string_size_from_utf16=yes 32872else 32873 ac_cv_lib_una_libuna_utf8_string_size_from_utf16=no 32874fi 32875rm -f core conftest.err conftest.$ac_objext \ 32876 conftest$ac_exeext conftest.$ac_ext 32877LIBS=$ac_check_lib_save_LIBS 32878fi 32879{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_utf16" >&5 32880$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_utf16" >&6; } 32881if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_utf16" = xyes; then : 32882 ac_cv_libuna_dummy=yes 32883else 32884 ac_cv_libuna=no 32885fi 32886 32887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_utf16 in -luna" >&5 32888$as_echo_n "checking for libuna_utf8_string_copy_from_utf16 in -luna... " >&6; } 32889if ${ac_cv_lib_una_libuna_utf8_string_copy_from_utf16+:} false; then : 32890 $as_echo_n "(cached) " >&6 32891else 32892 ac_check_lib_save_LIBS=$LIBS 32893LIBS="-luna $LIBS" 32894cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32895/* end confdefs.h. */ 32896 32897/* Override any GCC internal prototype to avoid an error. 32898 Use char because int might match the return type of a GCC 32899 builtin and then its argument prototype would still apply. */ 32900#ifdef __cplusplus 32901extern "C" 32902#endif 32903char libuna_utf8_string_copy_from_utf16 (); 32904int 32905main () 32906{ 32907return libuna_utf8_string_copy_from_utf16 (); 32908 ; 32909 return 0; 32910} 32911_ACEOF 32912if ac_fn_c_try_link "$LINENO"; then : 32913 ac_cv_lib_una_libuna_utf8_string_copy_from_utf16=yes 32914else 32915 ac_cv_lib_una_libuna_utf8_string_copy_from_utf16=no 32916fi 32917rm -f core conftest.err conftest.$ac_objext \ 32918 conftest$ac_exeext conftest.$ac_ext 32919LIBS=$ac_check_lib_save_LIBS 32920fi 32921{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_utf16" >&5 32922$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_utf16" >&6; } 32923if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_utf16" = xyes; then : 32924 ac_cv_libuna_dummy=yes 32925else 32926 ac_cv_libuna=no 32927fi 32928 32929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_utf16 in -luna" >&5 32930$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_utf16 in -luna... " >&6; } 32931if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16+:} false; then : 32932 $as_echo_n "(cached) " >&6 32933else 32934 ac_check_lib_save_LIBS=$LIBS 32935LIBS="-luna $LIBS" 32936cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32937/* end confdefs.h. */ 32938 32939/* Override any GCC internal prototype to avoid an error. 32940 Use char because int might match the return type of a GCC 32941 builtin and then its argument prototype would still apply. */ 32942#ifdef __cplusplus 32943extern "C" 32944#endif 32945char libuna_utf8_string_with_index_copy_from_utf16 (); 32946int 32947main () 32948{ 32949return libuna_utf8_string_with_index_copy_from_utf16 (); 32950 ; 32951 return 0; 32952} 32953_ACEOF 32954if ac_fn_c_try_link "$LINENO"; then : 32955 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16=yes 32956else 32957 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16=no 32958fi 32959rm -f core conftest.err conftest.$ac_objext \ 32960 conftest$ac_exeext conftest.$ac_ext 32961LIBS=$ac_check_lib_save_LIBS 32962fi 32963{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16" >&5 32964$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16" >&6; } 32965if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16" = xyes; then : 32966 ac_cv_libuna_dummy=yes 32967else 32968 ac_cv_libuna=no 32969fi 32970 32971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_utf32 in -luna" >&5 32972$as_echo_n "checking for libuna_utf8_string_size_from_utf32 in -luna... " >&6; } 32973if ${ac_cv_lib_una_libuna_utf8_string_size_from_utf32+:} false; then : 32974 $as_echo_n "(cached) " >&6 32975else 32976 ac_check_lib_save_LIBS=$LIBS 32977LIBS="-luna $LIBS" 32978cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32979/* end confdefs.h. */ 32980 32981/* Override any GCC internal prototype to avoid an error. 32982 Use char because int might match the return type of a GCC 32983 builtin and then its argument prototype would still apply. */ 32984#ifdef __cplusplus 32985extern "C" 32986#endif 32987char libuna_utf8_string_size_from_utf32 (); 32988int 32989main () 32990{ 32991return libuna_utf8_string_size_from_utf32 (); 32992 ; 32993 return 0; 32994} 32995_ACEOF 32996if ac_fn_c_try_link "$LINENO"; then : 32997 ac_cv_lib_una_libuna_utf8_string_size_from_utf32=yes 32998else 32999 ac_cv_lib_una_libuna_utf8_string_size_from_utf32=no 33000fi 33001rm -f core conftest.err conftest.$ac_objext \ 33002 conftest$ac_exeext conftest.$ac_ext 33003LIBS=$ac_check_lib_save_LIBS 33004fi 33005{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_utf32" >&5 33006$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_utf32" >&6; } 33007if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_utf32" = xyes; then : 33008 ac_cv_libuna_dummy=yes 33009else 33010 ac_cv_libuna=no 33011fi 33012 33013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_utf32 in -luna" >&5 33014$as_echo_n "checking for libuna_utf8_string_copy_from_utf32 in -luna... " >&6; } 33015if ${ac_cv_lib_una_libuna_utf8_string_copy_from_utf32+:} false; then : 33016 $as_echo_n "(cached) " >&6 33017else 33018 ac_check_lib_save_LIBS=$LIBS 33019LIBS="-luna $LIBS" 33020cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33021/* end confdefs.h. */ 33022 33023/* Override any GCC internal prototype to avoid an error. 33024 Use char because int might match the return type of a GCC 33025 builtin and then its argument prototype would still apply. */ 33026#ifdef __cplusplus 33027extern "C" 33028#endif 33029char libuna_utf8_string_copy_from_utf32 (); 33030int 33031main () 33032{ 33033return libuna_utf8_string_copy_from_utf32 (); 33034 ; 33035 return 0; 33036} 33037_ACEOF 33038if ac_fn_c_try_link "$LINENO"; then : 33039 ac_cv_lib_una_libuna_utf8_string_copy_from_utf32=yes 33040else 33041 ac_cv_lib_una_libuna_utf8_string_copy_from_utf32=no 33042fi 33043rm -f core conftest.err conftest.$ac_objext \ 33044 conftest$ac_exeext conftest.$ac_ext 33045LIBS=$ac_check_lib_save_LIBS 33046fi 33047{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_utf32" >&5 33048$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_utf32" >&6; } 33049if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_utf32" = xyes; then : 33050 ac_cv_libuna_dummy=yes 33051else 33052 ac_cv_libuna=no 33053fi 33054 33055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_utf32 in -luna" >&5 33056$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_utf32 in -luna... " >&6; } 33057if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32+:} false; then : 33058 $as_echo_n "(cached) " >&6 33059else 33060 ac_check_lib_save_LIBS=$LIBS 33061LIBS="-luna $LIBS" 33062cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33063/* end confdefs.h. */ 33064 33065/* Override any GCC internal prototype to avoid an error. 33066 Use char because int might match the return type of a GCC 33067 builtin and then its argument prototype would still apply. */ 33068#ifdef __cplusplus 33069extern "C" 33070#endif 33071char libuna_utf8_string_with_index_copy_from_utf32 (); 33072int 33073main () 33074{ 33075return libuna_utf8_string_with_index_copy_from_utf32 (); 33076 ; 33077 return 0; 33078} 33079_ACEOF 33080if ac_fn_c_try_link "$LINENO"; then : 33081 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32=yes 33082else 33083 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32=no 33084fi 33085rm -f core conftest.err conftest.$ac_objext \ 33086 conftest$ac_exeext conftest.$ac_ext 33087LIBS=$ac_check_lib_save_LIBS 33088fi 33089{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32" >&5 33090$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32" >&6; } 33091if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32" = xyes; then : 33092 ac_cv_libuna_dummy=yes 33093else 33094 ac_cv_libuna=no 33095fi 33096 33097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_scsu_stream in -luna" >&5 33098$as_echo_n "checking for libuna_utf8_string_size_from_scsu_stream in -luna... " >&6; } 33099if ${ac_cv_lib_una_libuna_utf8_string_size_from_scsu_stream+:} false; then : 33100 $as_echo_n "(cached) " >&6 33101else 33102 ac_check_lib_save_LIBS=$LIBS 33103LIBS="-luna $LIBS" 33104cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33105/* end confdefs.h. */ 33106 33107/* Override any GCC internal prototype to avoid an error. 33108 Use char because int might match the return type of a GCC 33109 builtin and then its argument prototype would still apply. */ 33110#ifdef __cplusplus 33111extern "C" 33112#endif 33113char libuna_utf8_string_size_from_scsu_stream (); 33114int 33115main () 33116{ 33117return libuna_utf8_string_size_from_scsu_stream (); 33118 ; 33119 return 0; 33120} 33121_ACEOF 33122if ac_fn_c_try_link "$LINENO"; then : 33123 ac_cv_lib_una_libuna_utf8_string_size_from_scsu_stream=yes 33124else 33125 ac_cv_lib_una_libuna_utf8_string_size_from_scsu_stream=no 33126fi 33127rm -f core conftest.err conftest.$ac_objext \ 33128 conftest$ac_exeext conftest.$ac_ext 33129LIBS=$ac_check_lib_save_LIBS 33130fi 33131{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_scsu_stream" >&5 33132$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_scsu_stream" >&6; } 33133if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_scsu_stream" = xyes; then : 33134 ac_cv_libuna_dummy=yes 33135else 33136 ac_cv_libuna=no 33137fi 33138 33139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_scsu_stream in -luna" >&5 33140$as_echo_n "checking for libuna_utf8_string_copy_from_scsu_stream in -luna... " >&6; } 33141if ${ac_cv_lib_una_libuna_utf8_string_copy_from_scsu_stream+:} false; then : 33142 $as_echo_n "(cached) " >&6 33143else 33144 ac_check_lib_save_LIBS=$LIBS 33145LIBS="-luna $LIBS" 33146cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33147/* end confdefs.h. */ 33148 33149/* Override any GCC internal prototype to avoid an error. 33150 Use char because int might match the return type of a GCC 33151 builtin and then its argument prototype would still apply. */ 33152#ifdef __cplusplus 33153extern "C" 33154#endif 33155char libuna_utf8_string_copy_from_scsu_stream (); 33156int 33157main () 33158{ 33159return libuna_utf8_string_copy_from_scsu_stream (); 33160 ; 33161 return 0; 33162} 33163_ACEOF 33164if ac_fn_c_try_link "$LINENO"; then : 33165 ac_cv_lib_una_libuna_utf8_string_copy_from_scsu_stream=yes 33166else 33167 ac_cv_lib_una_libuna_utf8_string_copy_from_scsu_stream=no 33168fi 33169rm -f core conftest.err conftest.$ac_objext \ 33170 conftest$ac_exeext conftest.$ac_ext 33171LIBS=$ac_check_lib_save_LIBS 33172fi 33173{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_scsu_stream" >&5 33174$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_scsu_stream" >&6; } 33175if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_scsu_stream" = xyes; then : 33176 ac_cv_libuna_dummy=yes 33177else 33178 ac_cv_libuna=no 33179fi 33180 33181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_scsu_stream in -luna" >&5 33182$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_scsu_stream in -luna... " >&6; } 33183if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_scsu_stream+:} false; then : 33184 $as_echo_n "(cached) " >&6 33185else 33186 ac_check_lib_save_LIBS=$LIBS 33187LIBS="-luna $LIBS" 33188cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33189/* end confdefs.h. */ 33190 33191/* Override any GCC internal prototype to avoid an error. 33192 Use char because int might match the return type of a GCC 33193 builtin and then its argument prototype would still apply. */ 33194#ifdef __cplusplus 33195extern "C" 33196#endif 33197char libuna_utf8_string_with_index_copy_from_scsu_stream (); 33198int 33199main () 33200{ 33201return libuna_utf8_string_with_index_copy_from_scsu_stream (); 33202 ; 33203 return 0; 33204} 33205_ACEOF 33206if ac_fn_c_try_link "$LINENO"; then : 33207 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_scsu_stream=yes 33208else 33209 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_scsu_stream=no 33210fi 33211rm -f core conftest.err conftest.$ac_objext \ 33212 conftest$ac_exeext conftest.$ac_ext 33213LIBS=$ac_check_lib_save_LIBS 33214fi 33215{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_scsu_stream" >&5 33216$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_scsu_stream" >&6; } 33217if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_scsu_stream" = xyes; then : 33218 ac_cv_libuna_dummy=yes 33219else 33220 ac_cv_libuna=no 33221fi 33222 33223 33224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_byte_stream in -luna" >&5 33225$as_echo_n "checking for libuna_utf16_string_size_from_byte_stream in -luna... " >&6; } 33226if ${ac_cv_lib_una_libuna_utf16_string_size_from_byte_stream+:} false; then : 33227 $as_echo_n "(cached) " >&6 33228else 33229 ac_check_lib_save_LIBS=$LIBS 33230LIBS="-luna $LIBS" 33231cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33232/* end confdefs.h. */ 33233 33234/* Override any GCC internal prototype to avoid an error. 33235 Use char because int might match the return type of a GCC 33236 builtin and then its argument prototype would still apply. */ 33237#ifdef __cplusplus 33238extern "C" 33239#endif 33240char libuna_utf16_string_size_from_byte_stream (); 33241int 33242main () 33243{ 33244return libuna_utf16_string_size_from_byte_stream (); 33245 ; 33246 return 0; 33247} 33248_ACEOF 33249if ac_fn_c_try_link "$LINENO"; then : 33250 ac_cv_lib_una_libuna_utf16_string_size_from_byte_stream=yes 33251else 33252 ac_cv_lib_una_libuna_utf16_string_size_from_byte_stream=no 33253fi 33254rm -f core conftest.err conftest.$ac_objext \ 33255 conftest$ac_exeext conftest.$ac_ext 33256LIBS=$ac_check_lib_save_LIBS 33257fi 33258{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_byte_stream" >&5 33259$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_byte_stream" >&6; } 33260if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_byte_stream" = xyes; then : 33261 ac_cv_libuna_dummy=yes 33262else 33263 ac_cv_libuna=no 33264fi 33265 33266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_byte_stream in -luna" >&5 33267$as_echo_n "checking for libuna_utf16_string_copy_from_byte_stream in -luna... " >&6; } 33268if ${ac_cv_lib_una_libuna_utf16_string_copy_from_byte_stream+:} false; then : 33269 $as_echo_n "(cached) " >&6 33270else 33271 ac_check_lib_save_LIBS=$LIBS 33272LIBS="-luna $LIBS" 33273cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33274/* end confdefs.h. */ 33275 33276/* Override any GCC internal prototype to avoid an error. 33277 Use char because int might match the return type of a GCC 33278 builtin and then its argument prototype would still apply. */ 33279#ifdef __cplusplus 33280extern "C" 33281#endif 33282char libuna_utf16_string_copy_from_byte_stream (); 33283int 33284main () 33285{ 33286return libuna_utf16_string_copy_from_byte_stream (); 33287 ; 33288 return 0; 33289} 33290_ACEOF 33291if ac_fn_c_try_link "$LINENO"; then : 33292 ac_cv_lib_una_libuna_utf16_string_copy_from_byte_stream=yes 33293else 33294 ac_cv_lib_una_libuna_utf16_string_copy_from_byte_stream=no 33295fi 33296rm -f core conftest.err conftest.$ac_objext \ 33297 conftest$ac_exeext conftest.$ac_ext 33298LIBS=$ac_check_lib_save_LIBS 33299fi 33300{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_byte_stream" >&5 33301$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_byte_stream" >&6; } 33302if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_byte_stream" = xyes; then : 33303 ac_cv_libuna_dummy=yes 33304else 33305 ac_cv_libuna=no 33306fi 33307 33308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_byte_stream in -luna" >&5 33309$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_byte_stream in -luna... " >&6; } 33310if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_byte_stream+:} false; then : 33311 $as_echo_n "(cached) " >&6 33312else 33313 ac_check_lib_save_LIBS=$LIBS 33314LIBS="-luna $LIBS" 33315cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33316/* end confdefs.h. */ 33317 33318/* Override any GCC internal prototype to avoid an error. 33319 Use char because int might match the return type of a GCC 33320 builtin and then its argument prototype would still apply. */ 33321#ifdef __cplusplus 33322extern "C" 33323#endif 33324char libuna_utf16_string_with_index_copy_from_byte_stream (); 33325int 33326main () 33327{ 33328return libuna_utf16_string_with_index_copy_from_byte_stream (); 33329 ; 33330 return 0; 33331} 33332_ACEOF 33333if ac_fn_c_try_link "$LINENO"; then : 33334 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_byte_stream=yes 33335else 33336 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_byte_stream=no 33337fi 33338rm -f core conftest.err conftest.$ac_objext \ 33339 conftest$ac_exeext conftest.$ac_ext 33340LIBS=$ac_check_lib_save_LIBS 33341fi 33342{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_byte_stream" >&5 33343$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_byte_stream" >&6; } 33344if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_byte_stream" = xyes; then : 33345 ac_cv_libuna_dummy=yes 33346else 33347 ac_cv_libuna=no 33348fi 33349 33350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_utf7_stream in -luna" >&5 33351$as_echo_n "checking for libuna_utf16_string_size_from_utf7_stream in -luna... " >&6; } 33352if ${ac_cv_lib_una_libuna_utf16_string_size_from_utf7_stream+:} false; then : 33353 $as_echo_n "(cached) " >&6 33354else 33355 ac_check_lib_save_LIBS=$LIBS 33356LIBS="-luna $LIBS" 33357cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33358/* end confdefs.h. */ 33359 33360/* Override any GCC internal prototype to avoid an error. 33361 Use char because int might match the return type of a GCC 33362 builtin and then its argument prototype would still apply. */ 33363#ifdef __cplusplus 33364extern "C" 33365#endif 33366char libuna_utf16_string_size_from_utf7_stream (); 33367int 33368main () 33369{ 33370return libuna_utf16_string_size_from_utf7_stream (); 33371 ; 33372 return 0; 33373} 33374_ACEOF 33375if ac_fn_c_try_link "$LINENO"; then : 33376 ac_cv_lib_una_libuna_utf16_string_size_from_utf7_stream=yes 33377else 33378 ac_cv_lib_una_libuna_utf16_string_size_from_utf7_stream=no 33379fi 33380rm -f core conftest.err conftest.$ac_objext \ 33381 conftest$ac_exeext conftest.$ac_ext 33382LIBS=$ac_check_lib_save_LIBS 33383fi 33384{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_utf7_stream" >&5 33385$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_utf7_stream" >&6; } 33386if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_utf7_stream" = xyes; then : 33387 ac_cv_libuna_dummy=yes 33388else 33389 ac_cv_libuna=no 33390fi 33391 33392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_utf7_stream in -luna" >&5 33393$as_echo_n "checking for libuna_utf16_string_copy_from_utf7_stream in -luna... " >&6; } 33394if ${ac_cv_lib_una_libuna_utf16_string_copy_from_utf7_stream+:} false; then : 33395 $as_echo_n "(cached) " >&6 33396else 33397 ac_check_lib_save_LIBS=$LIBS 33398LIBS="-luna $LIBS" 33399cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33400/* end confdefs.h. */ 33401 33402/* Override any GCC internal prototype to avoid an error. 33403 Use char because int might match the return type of a GCC 33404 builtin and then its argument prototype would still apply. */ 33405#ifdef __cplusplus 33406extern "C" 33407#endif 33408char libuna_utf16_string_copy_from_utf7_stream (); 33409int 33410main () 33411{ 33412return libuna_utf16_string_copy_from_utf7_stream (); 33413 ; 33414 return 0; 33415} 33416_ACEOF 33417if ac_fn_c_try_link "$LINENO"; then : 33418 ac_cv_lib_una_libuna_utf16_string_copy_from_utf7_stream=yes 33419else 33420 ac_cv_lib_una_libuna_utf16_string_copy_from_utf7_stream=no 33421fi 33422rm -f core conftest.err conftest.$ac_objext \ 33423 conftest$ac_exeext conftest.$ac_ext 33424LIBS=$ac_check_lib_save_LIBS 33425fi 33426{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_utf7_stream" >&5 33427$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_utf7_stream" >&6; } 33428if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_utf7_stream" = xyes; then : 33429 ac_cv_libuna_dummy=yes 33430else 33431 ac_cv_libuna=no 33432fi 33433 33434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_utf7_stream in -luna" >&5 33435$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_utf7_stream in -luna... " >&6; } 33436if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf7_stream+:} false; then : 33437 $as_echo_n "(cached) " >&6 33438else 33439 ac_check_lib_save_LIBS=$LIBS 33440LIBS="-luna $LIBS" 33441cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33442/* end confdefs.h. */ 33443 33444/* Override any GCC internal prototype to avoid an error. 33445 Use char because int might match the return type of a GCC 33446 builtin and then its argument prototype would still apply. */ 33447#ifdef __cplusplus 33448extern "C" 33449#endif 33450char libuna_utf16_string_with_index_copy_from_utf7_stream (); 33451int 33452main () 33453{ 33454return libuna_utf16_string_with_index_copy_from_utf7_stream (); 33455 ; 33456 return 0; 33457} 33458_ACEOF 33459if ac_fn_c_try_link "$LINENO"; then : 33460 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf7_stream=yes 33461else 33462 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf7_stream=no 33463fi 33464rm -f core conftest.err conftest.$ac_objext \ 33465 conftest$ac_exeext conftest.$ac_ext 33466LIBS=$ac_check_lib_save_LIBS 33467fi 33468{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf7_stream" >&5 33469$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf7_stream" >&6; } 33470if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf7_stream" = xyes; then : 33471 ac_cv_libuna_dummy=yes 33472else 33473 ac_cv_libuna=no 33474fi 33475 33476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_utf8_stream in -luna" >&5 33477$as_echo_n "checking for libuna_utf16_string_size_from_utf8_stream in -luna... " >&6; } 33478if ${ac_cv_lib_una_libuna_utf16_string_size_from_utf8_stream+:} false; then : 33479 $as_echo_n "(cached) " >&6 33480else 33481 ac_check_lib_save_LIBS=$LIBS 33482LIBS="-luna $LIBS" 33483cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33484/* end confdefs.h. */ 33485 33486/* Override any GCC internal prototype to avoid an error. 33487 Use char because int might match the return type of a GCC 33488 builtin and then its argument prototype would still apply. */ 33489#ifdef __cplusplus 33490extern "C" 33491#endif 33492char libuna_utf16_string_size_from_utf8_stream (); 33493int 33494main () 33495{ 33496return libuna_utf16_string_size_from_utf8_stream (); 33497 ; 33498 return 0; 33499} 33500_ACEOF 33501if ac_fn_c_try_link "$LINENO"; then : 33502 ac_cv_lib_una_libuna_utf16_string_size_from_utf8_stream=yes 33503else 33504 ac_cv_lib_una_libuna_utf16_string_size_from_utf8_stream=no 33505fi 33506rm -f core conftest.err conftest.$ac_objext \ 33507 conftest$ac_exeext conftest.$ac_ext 33508LIBS=$ac_check_lib_save_LIBS 33509fi 33510{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_utf8_stream" >&5 33511$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_utf8_stream" >&6; } 33512if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_utf8_stream" = xyes; then : 33513 ac_cv_libuna_dummy=yes 33514else 33515 ac_cv_libuna=no 33516fi 33517 33518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_utf8_stream in -luna" >&5 33519$as_echo_n "checking for libuna_utf16_string_copy_from_utf8_stream in -luna... " >&6; } 33520if ${ac_cv_lib_una_libuna_utf16_string_copy_from_utf8_stream+:} false; then : 33521 $as_echo_n "(cached) " >&6 33522else 33523 ac_check_lib_save_LIBS=$LIBS 33524LIBS="-luna $LIBS" 33525cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33526/* end confdefs.h. */ 33527 33528/* Override any GCC internal prototype to avoid an error. 33529 Use char because int might match the return type of a GCC 33530 builtin and then its argument prototype would still apply. */ 33531#ifdef __cplusplus 33532extern "C" 33533#endif 33534char libuna_utf16_string_copy_from_utf8_stream (); 33535int 33536main () 33537{ 33538return libuna_utf16_string_copy_from_utf8_stream (); 33539 ; 33540 return 0; 33541} 33542_ACEOF 33543if ac_fn_c_try_link "$LINENO"; then : 33544 ac_cv_lib_una_libuna_utf16_string_copy_from_utf8_stream=yes 33545else 33546 ac_cv_lib_una_libuna_utf16_string_copy_from_utf8_stream=no 33547fi 33548rm -f core conftest.err conftest.$ac_objext \ 33549 conftest$ac_exeext conftest.$ac_ext 33550LIBS=$ac_check_lib_save_LIBS 33551fi 33552{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_utf8_stream" >&5 33553$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_utf8_stream" >&6; } 33554if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_utf8_stream" = xyes; then : 33555 ac_cv_libuna_dummy=yes 33556else 33557 ac_cv_libuna=no 33558fi 33559 33560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_utf8_stream in -luna" >&5 33561$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_utf8_stream in -luna... " >&6; } 33562if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8_stream+:} false; then : 33563 $as_echo_n "(cached) " >&6 33564else 33565 ac_check_lib_save_LIBS=$LIBS 33566LIBS="-luna $LIBS" 33567cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33568/* end confdefs.h. */ 33569 33570/* Override any GCC internal prototype to avoid an error. 33571 Use char because int might match the return type of a GCC 33572 builtin and then its argument prototype would still apply. */ 33573#ifdef __cplusplus 33574extern "C" 33575#endif 33576char libuna_utf16_string_with_index_copy_from_utf8_stream (); 33577int 33578main () 33579{ 33580return libuna_utf16_string_with_index_copy_from_utf8_stream (); 33581 ; 33582 return 0; 33583} 33584_ACEOF 33585if ac_fn_c_try_link "$LINENO"; then : 33586 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8_stream=yes 33587else 33588 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8_stream=no 33589fi 33590rm -f core conftest.err conftest.$ac_objext \ 33591 conftest$ac_exeext conftest.$ac_ext 33592LIBS=$ac_check_lib_save_LIBS 33593fi 33594{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8_stream" >&5 33595$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8_stream" >&6; } 33596if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8_stream" = xyes; then : 33597 ac_cv_libuna_dummy=yes 33598else 33599 ac_cv_libuna=no 33600fi 33601 33602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_utf16_stream in -luna" >&5 33603$as_echo_n "checking for libuna_utf16_string_size_from_utf16_stream in -luna... " >&6; } 33604if ${ac_cv_lib_una_libuna_utf16_string_size_from_utf16_stream+:} false; then : 33605 $as_echo_n "(cached) " >&6 33606else 33607 ac_check_lib_save_LIBS=$LIBS 33608LIBS="-luna $LIBS" 33609cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33610/* end confdefs.h. */ 33611 33612/* Override any GCC internal prototype to avoid an error. 33613 Use char because int might match the return type of a GCC 33614 builtin and then its argument prototype would still apply. */ 33615#ifdef __cplusplus 33616extern "C" 33617#endif 33618char libuna_utf16_string_size_from_utf16_stream (); 33619int 33620main () 33621{ 33622return libuna_utf16_string_size_from_utf16_stream (); 33623 ; 33624 return 0; 33625} 33626_ACEOF 33627if ac_fn_c_try_link "$LINENO"; then : 33628 ac_cv_lib_una_libuna_utf16_string_size_from_utf16_stream=yes 33629else 33630 ac_cv_lib_una_libuna_utf16_string_size_from_utf16_stream=no 33631fi 33632rm -f core conftest.err conftest.$ac_objext \ 33633 conftest$ac_exeext conftest.$ac_ext 33634LIBS=$ac_check_lib_save_LIBS 33635fi 33636{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_utf16_stream" >&5 33637$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_utf16_stream" >&6; } 33638if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_utf16_stream" = xyes; then : 33639 ac_cv_libuna_dummy=yes 33640else 33641 ac_cv_libuna=no 33642fi 33643 33644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_utf16_stream in -luna" >&5 33645$as_echo_n "checking for libuna_utf16_string_copy_from_utf16_stream in -luna... " >&6; } 33646if ${ac_cv_lib_una_libuna_utf16_string_copy_from_utf16_stream+:} false; then : 33647 $as_echo_n "(cached) " >&6 33648else 33649 ac_check_lib_save_LIBS=$LIBS 33650LIBS="-luna $LIBS" 33651cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33652/* end confdefs.h. */ 33653 33654/* Override any GCC internal prototype to avoid an error. 33655 Use char because int might match the return type of a GCC 33656 builtin and then its argument prototype would still apply. */ 33657#ifdef __cplusplus 33658extern "C" 33659#endif 33660char libuna_utf16_string_copy_from_utf16_stream (); 33661int 33662main () 33663{ 33664return libuna_utf16_string_copy_from_utf16_stream (); 33665 ; 33666 return 0; 33667} 33668_ACEOF 33669if ac_fn_c_try_link "$LINENO"; then : 33670 ac_cv_lib_una_libuna_utf16_string_copy_from_utf16_stream=yes 33671else 33672 ac_cv_lib_una_libuna_utf16_string_copy_from_utf16_stream=no 33673fi 33674rm -f core conftest.err conftest.$ac_objext \ 33675 conftest$ac_exeext conftest.$ac_ext 33676LIBS=$ac_check_lib_save_LIBS 33677fi 33678{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_utf16_stream" >&5 33679$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_utf16_stream" >&6; } 33680if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_utf16_stream" = xyes; then : 33681 ac_cv_libuna_dummy=yes 33682else 33683 ac_cv_libuna=no 33684fi 33685 33686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_utf16_stream in -luna" >&5 33687$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_utf16_stream in -luna... " >&6; } 33688if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf16_stream+:} false; then : 33689 $as_echo_n "(cached) " >&6 33690else 33691 ac_check_lib_save_LIBS=$LIBS 33692LIBS="-luna $LIBS" 33693cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33694/* end confdefs.h. */ 33695 33696/* Override any GCC internal prototype to avoid an error. 33697 Use char because int might match the return type of a GCC 33698 builtin and then its argument prototype would still apply. */ 33699#ifdef __cplusplus 33700extern "C" 33701#endif 33702char libuna_utf16_string_with_index_copy_from_utf16_stream (); 33703int 33704main () 33705{ 33706return libuna_utf16_string_with_index_copy_from_utf16_stream (); 33707 ; 33708 return 0; 33709} 33710_ACEOF 33711if ac_fn_c_try_link "$LINENO"; then : 33712 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf16_stream=yes 33713else 33714 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf16_stream=no 33715fi 33716rm -f core conftest.err conftest.$ac_objext \ 33717 conftest$ac_exeext conftest.$ac_ext 33718LIBS=$ac_check_lib_save_LIBS 33719fi 33720{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf16_stream" >&5 33721$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf16_stream" >&6; } 33722if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf16_stream" = xyes; then : 33723 ac_cv_libuna_dummy=yes 33724else 33725 ac_cv_libuna=no 33726fi 33727 33728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_utf32_stream in -luna" >&5 33729$as_echo_n "checking for libuna_utf16_string_size_from_utf32_stream in -luna... " >&6; } 33730if ${ac_cv_lib_una_libuna_utf16_string_size_from_utf32_stream+:} false; then : 33731 $as_echo_n "(cached) " >&6 33732else 33733 ac_check_lib_save_LIBS=$LIBS 33734LIBS="-luna $LIBS" 33735cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33736/* end confdefs.h. */ 33737 33738/* Override any GCC internal prototype to avoid an error. 33739 Use char because int might match the return type of a GCC 33740 builtin and then its argument prototype would still apply. */ 33741#ifdef __cplusplus 33742extern "C" 33743#endif 33744char libuna_utf16_string_size_from_utf32_stream (); 33745int 33746main () 33747{ 33748return libuna_utf16_string_size_from_utf32_stream (); 33749 ; 33750 return 0; 33751} 33752_ACEOF 33753if ac_fn_c_try_link "$LINENO"; then : 33754 ac_cv_lib_una_libuna_utf16_string_size_from_utf32_stream=yes 33755else 33756 ac_cv_lib_una_libuna_utf16_string_size_from_utf32_stream=no 33757fi 33758rm -f core conftest.err conftest.$ac_objext \ 33759 conftest$ac_exeext conftest.$ac_ext 33760LIBS=$ac_check_lib_save_LIBS 33761fi 33762{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_utf32_stream" >&5 33763$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_utf32_stream" >&6; } 33764if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_utf32_stream" = xyes; then : 33765 ac_cv_libuna_dummy=yes 33766else 33767 ac_cv_libuna=no 33768fi 33769 33770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_utf32_stream in -luna" >&5 33771$as_echo_n "checking for libuna_utf16_string_copy_from_utf32_stream in -luna... " >&6; } 33772if ${ac_cv_lib_una_libuna_utf16_string_copy_from_utf32_stream+:} false; then : 33773 $as_echo_n "(cached) " >&6 33774else 33775 ac_check_lib_save_LIBS=$LIBS 33776LIBS="-luna $LIBS" 33777cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33778/* end confdefs.h. */ 33779 33780/* Override any GCC internal prototype to avoid an error. 33781 Use char because int might match the return type of a GCC 33782 builtin and then its argument prototype would still apply. */ 33783#ifdef __cplusplus 33784extern "C" 33785#endif 33786char libuna_utf16_string_copy_from_utf32_stream (); 33787int 33788main () 33789{ 33790return libuna_utf16_string_copy_from_utf32_stream (); 33791 ; 33792 return 0; 33793} 33794_ACEOF 33795if ac_fn_c_try_link "$LINENO"; then : 33796 ac_cv_lib_una_libuna_utf16_string_copy_from_utf32_stream=yes 33797else 33798 ac_cv_lib_una_libuna_utf16_string_copy_from_utf32_stream=no 33799fi 33800rm -f core conftest.err conftest.$ac_objext \ 33801 conftest$ac_exeext conftest.$ac_ext 33802LIBS=$ac_check_lib_save_LIBS 33803fi 33804{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_utf32_stream" >&5 33805$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_utf32_stream" >&6; } 33806if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_utf32_stream" = xyes; then : 33807 ac_cv_libuna_dummy=yes 33808else 33809 ac_cv_libuna=no 33810fi 33811 33812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_utf32_stream in -luna" >&5 33813$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_utf32_stream in -luna... " >&6; } 33814if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32_stream+:} false; then : 33815 $as_echo_n "(cached) " >&6 33816else 33817 ac_check_lib_save_LIBS=$LIBS 33818LIBS="-luna $LIBS" 33819cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33820/* end confdefs.h. */ 33821 33822/* Override any GCC internal prototype to avoid an error. 33823 Use char because int might match the return type of a GCC 33824 builtin and then its argument prototype would still apply. */ 33825#ifdef __cplusplus 33826extern "C" 33827#endif 33828char libuna_utf16_string_with_index_copy_from_utf32_stream (); 33829int 33830main () 33831{ 33832return libuna_utf16_string_with_index_copy_from_utf32_stream (); 33833 ; 33834 return 0; 33835} 33836_ACEOF 33837if ac_fn_c_try_link "$LINENO"; then : 33838 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32_stream=yes 33839else 33840 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32_stream=no 33841fi 33842rm -f core conftest.err conftest.$ac_objext \ 33843 conftest$ac_exeext conftest.$ac_ext 33844LIBS=$ac_check_lib_save_LIBS 33845fi 33846{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32_stream" >&5 33847$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32_stream" >&6; } 33848if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32_stream" = xyes; then : 33849 ac_cv_libuna_dummy=yes 33850else 33851 ac_cv_libuna=no 33852fi 33853 33854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_utf8 in -luna" >&5 33855$as_echo_n "checking for libuna_utf16_string_size_from_utf8 in -luna... " >&6; } 33856if ${ac_cv_lib_una_libuna_utf16_string_size_from_utf8+:} false; then : 33857 $as_echo_n "(cached) " >&6 33858else 33859 ac_check_lib_save_LIBS=$LIBS 33860LIBS="-luna $LIBS" 33861cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33862/* end confdefs.h. */ 33863 33864/* Override any GCC internal prototype to avoid an error. 33865 Use char because int might match the return type of a GCC 33866 builtin and then its argument prototype would still apply. */ 33867#ifdef __cplusplus 33868extern "C" 33869#endif 33870char libuna_utf16_string_size_from_utf8 (); 33871int 33872main () 33873{ 33874return libuna_utf16_string_size_from_utf8 (); 33875 ; 33876 return 0; 33877} 33878_ACEOF 33879if ac_fn_c_try_link "$LINENO"; then : 33880 ac_cv_lib_una_libuna_utf16_string_size_from_utf8=yes 33881else 33882 ac_cv_lib_una_libuna_utf16_string_size_from_utf8=no 33883fi 33884rm -f core conftest.err conftest.$ac_objext \ 33885 conftest$ac_exeext conftest.$ac_ext 33886LIBS=$ac_check_lib_save_LIBS 33887fi 33888{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_utf8" >&5 33889$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_utf8" >&6; } 33890if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_utf8" = xyes; then : 33891 ac_cv_libuna_dummy=yes 33892else 33893 ac_cv_libuna=no 33894fi 33895 33896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_utf8 in -luna" >&5 33897$as_echo_n "checking for libuna_utf16_string_copy_from_utf8 in -luna... " >&6; } 33898if ${ac_cv_lib_una_libuna_utf16_string_copy_from_utf8+:} false; then : 33899 $as_echo_n "(cached) " >&6 33900else 33901 ac_check_lib_save_LIBS=$LIBS 33902LIBS="-luna $LIBS" 33903cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33904/* end confdefs.h. */ 33905 33906/* Override any GCC internal prototype to avoid an error. 33907 Use char because int might match the return type of a GCC 33908 builtin and then its argument prototype would still apply. */ 33909#ifdef __cplusplus 33910extern "C" 33911#endif 33912char libuna_utf16_string_copy_from_utf8 (); 33913int 33914main () 33915{ 33916return libuna_utf16_string_copy_from_utf8 (); 33917 ; 33918 return 0; 33919} 33920_ACEOF 33921if ac_fn_c_try_link "$LINENO"; then : 33922 ac_cv_lib_una_libuna_utf16_string_copy_from_utf8=yes 33923else 33924 ac_cv_lib_una_libuna_utf16_string_copy_from_utf8=no 33925fi 33926rm -f core conftest.err conftest.$ac_objext \ 33927 conftest$ac_exeext conftest.$ac_ext 33928LIBS=$ac_check_lib_save_LIBS 33929fi 33930{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_utf8" >&5 33931$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_utf8" >&6; } 33932if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_utf8" = xyes; then : 33933 ac_cv_libuna_dummy=yes 33934else 33935 ac_cv_libuna=no 33936fi 33937 33938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_utf8 in -luna" >&5 33939$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_utf8 in -luna... " >&6; } 33940if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8+:} false; then : 33941 $as_echo_n "(cached) " >&6 33942else 33943 ac_check_lib_save_LIBS=$LIBS 33944LIBS="-luna $LIBS" 33945cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33946/* end confdefs.h. */ 33947 33948/* Override any GCC internal prototype to avoid an error. 33949 Use char because int might match the return type of a GCC 33950 builtin and then its argument prototype would still apply. */ 33951#ifdef __cplusplus 33952extern "C" 33953#endif 33954char libuna_utf16_string_with_index_copy_from_utf8 (); 33955int 33956main () 33957{ 33958return libuna_utf16_string_with_index_copy_from_utf8 (); 33959 ; 33960 return 0; 33961} 33962_ACEOF 33963if ac_fn_c_try_link "$LINENO"; then : 33964 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8=yes 33965else 33966 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8=no 33967fi 33968rm -f core conftest.err conftest.$ac_objext \ 33969 conftest$ac_exeext conftest.$ac_ext 33970LIBS=$ac_check_lib_save_LIBS 33971fi 33972{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8" >&5 33973$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8" >&6; } 33974if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8" = xyes; then : 33975 ac_cv_libuna_dummy=yes 33976else 33977 ac_cv_libuna=no 33978fi 33979 33980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_utf32 in -luna" >&5 33981$as_echo_n "checking for libuna_utf16_string_size_from_utf32 in -luna... " >&6; } 33982if ${ac_cv_lib_una_libuna_utf16_string_size_from_utf32+:} false; then : 33983 $as_echo_n "(cached) " >&6 33984else 33985 ac_check_lib_save_LIBS=$LIBS 33986LIBS="-luna $LIBS" 33987cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33988/* end confdefs.h. */ 33989 33990/* Override any GCC internal prototype to avoid an error. 33991 Use char because int might match the return type of a GCC 33992 builtin and then its argument prototype would still apply. */ 33993#ifdef __cplusplus 33994extern "C" 33995#endif 33996char libuna_utf16_string_size_from_utf32 (); 33997int 33998main () 33999{ 34000return libuna_utf16_string_size_from_utf32 (); 34001 ; 34002 return 0; 34003} 34004_ACEOF 34005if ac_fn_c_try_link "$LINENO"; then : 34006 ac_cv_lib_una_libuna_utf16_string_size_from_utf32=yes 34007else 34008 ac_cv_lib_una_libuna_utf16_string_size_from_utf32=no 34009fi 34010rm -f core conftest.err conftest.$ac_objext \ 34011 conftest$ac_exeext conftest.$ac_ext 34012LIBS=$ac_check_lib_save_LIBS 34013fi 34014{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_utf32" >&5 34015$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_utf32" >&6; } 34016if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_utf32" = xyes; then : 34017 ac_cv_libuna_dummy=yes 34018else 34019 ac_cv_libuna=no 34020fi 34021 34022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_utf32 in -luna" >&5 34023$as_echo_n "checking for libuna_utf16_string_copy_from_utf32 in -luna... " >&6; } 34024if ${ac_cv_lib_una_libuna_utf16_string_copy_from_utf32+:} false; then : 34025 $as_echo_n "(cached) " >&6 34026else 34027 ac_check_lib_save_LIBS=$LIBS 34028LIBS="-luna $LIBS" 34029cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34030/* end confdefs.h. */ 34031 34032/* Override any GCC internal prototype to avoid an error. 34033 Use char because int might match the return type of a GCC 34034 builtin and then its argument prototype would still apply. */ 34035#ifdef __cplusplus 34036extern "C" 34037#endif 34038char libuna_utf16_string_copy_from_utf32 (); 34039int 34040main () 34041{ 34042return libuna_utf16_string_copy_from_utf32 (); 34043 ; 34044 return 0; 34045} 34046_ACEOF 34047if ac_fn_c_try_link "$LINENO"; then : 34048 ac_cv_lib_una_libuna_utf16_string_copy_from_utf32=yes 34049else 34050 ac_cv_lib_una_libuna_utf16_string_copy_from_utf32=no 34051fi 34052rm -f core conftest.err conftest.$ac_objext \ 34053 conftest$ac_exeext conftest.$ac_ext 34054LIBS=$ac_check_lib_save_LIBS 34055fi 34056{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_utf32" >&5 34057$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_utf32" >&6; } 34058if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_utf32" = xyes; then : 34059 ac_cv_libuna_dummy=yes 34060else 34061 ac_cv_libuna=no 34062fi 34063 34064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_utf32 in -luna" >&5 34065$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_utf32 in -luna... " >&6; } 34066if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32+:} false; then : 34067 $as_echo_n "(cached) " >&6 34068else 34069 ac_check_lib_save_LIBS=$LIBS 34070LIBS="-luna $LIBS" 34071cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34072/* end confdefs.h. */ 34073 34074/* Override any GCC internal prototype to avoid an error. 34075 Use char because int might match the return type of a GCC 34076 builtin and then its argument prototype would still apply. */ 34077#ifdef __cplusplus 34078extern "C" 34079#endif 34080char libuna_utf16_string_with_index_copy_from_utf32 (); 34081int 34082main () 34083{ 34084return libuna_utf16_string_with_index_copy_from_utf32 (); 34085 ; 34086 return 0; 34087} 34088_ACEOF 34089if ac_fn_c_try_link "$LINENO"; then : 34090 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32=yes 34091else 34092 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32=no 34093fi 34094rm -f core conftest.err conftest.$ac_objext \ 34095 conftest$ac_exeext conftest.$ac_ext 34096LIBS=$ac_check_lib_save_LIBS 34097fi 34098{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32" >&5 34099$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32" >&6; } 34100if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32" = xyes; then : 34101 ac_cv_libuna_dummy=yes 34102else 34103 ac_cv_libuna=no 34104fi 34105 34106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_scsu_stream in -luna" >&5 34107$as_echo_n "checking for libuna_utf16_string_size_from_scsu_stream in -luna... " >&6; } 34108if ${ac_cv_lib_una_libuna_utf16_string_size_from_scsu_stream+:} false; then : 34109 $as_echo_n "(cached) " >&6 34110else 34111 ac_check_lib_save_LIBS=$LIBS 34112LIBS="-luna $LIBS" 34113cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34114/* end confdefs.h. */ 34115 34116/* Override any GCC internal prototype to avoid an error. 34117 Use char because int might match the return type of a GCC 34118 builtin and then its argument prototype would still apply. */ 34119#ifdef __cplusplus 34120extern "C" 34121#endif 34122char libuna_utf16_string_size_from_scsu_stream (); 34123int 34124main () 34125{ 34126return libuna_utf16_string_size_from_scsu_stream (); 34127 ; 34128 return 0; 34129} 34130_ACEOF 34131if ac_fn_c_try_link "$LINENO"; then : 34132 ac_cv_lib_una_libuna_utf16_string_size_from_scsu_stream=yes 34133else 34134 ac_cv_lib_una_libuna_utf16_string_size_from_scsu_stream=no 34135fi 34136rm -f core conftest.err conftest.$ac_objext \ 34137 conftest$ac_exeext conftest.$ac_ext 34138LIBS=$ac_check_lib_save_LIBS 34139fi 34140{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_scsu_stream" >&5 34141$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_scsu_stream" >&6; } 34142if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_scsu_stream" = xyes; then : 34143 ac_cv_libuna_dummy=yes 34144else 34145 ac_cv_libuna=no 34146fi 34147 34148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_scsu_stream in -luna" >&5 34149$as_echo_n "checking for libuna_utf16_string_copy_from_scsu_stream in -luna... " >&6; } 34150if ${ac_cv_lib_una_libuna_utf16_string_copy_from_scsu_stream+:} false; then : 34151 $as_echo_n "(cached) " >&6 34152else 34153 ac_check_lib_save_LIBS=$LIBS 34154LIBS="-luna $LIBS" 34155cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34156/* end confdefs.h. */ 34157 34158/* Override any GCC internal prototype to avoid an error. 34159 Use char because int might match the return type of a GCC 34160 builtin and then its argument prototype would still apply. */ 34161#ifdef __cplusplus 34162extern "C" 34163#endif 34164char libuna_utf16_string_copy_from_scsu_stream (); 34165int 34166main () 34167{ 34168return libuna_utf16_string_copy_from_scsu_stream (); 34169 ; 34170 return 0; 34171} 34172_ACEOF 34173if ac_fn_c_try_link "$LINENO"; then : 34174 ac_cv_lib_una_libuna_utf16_string_copy_from_scsu_stream=yes 34175else 34176 ac_cv_lib_una_libuna_utf16_string_copy_from_scsu_stream=no 34177fi 34178rm -f core conftest.err conftest.$ac_objext \ 34179 conftest$ac_exeext conftest.$ac_ext 34180LIBS=$ac_check_lib_save_LIBS 34181fi 34182{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_scsu_stream" >&5 34183$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_scsu_stream" >&6; } 34184if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_scsu_stream" = xyes; then : 34185 ac_cv_libuna_dummy=yes 34186else 34187 ac_cv_libuna=no 34188fi 34189 34190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_scsu_stream in -luna" >&5 34191$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_scsu_stream in -luna... " >&6; } 34192if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_scsu_stream+:} false; then : 34193 $as_echo_n "(cached) " >&6 34194else 34195 ac_check_lib_save_LIBS=$LIBS 34196LIBS="-luna $LIBS" 34197cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34198/* end confdefs.h. */ 34199 34200/* Override any GCC internal prototype to avoid an error. 34201 Use char because int might match the return type of a GCC 34202 builtin and then its argument prototype would still apply. */ 34203#ifdef __cplusplus 34204extern "C" 34205#endif 34206char libuna_utf16_string_with_index_copy_from_scsu_stream (); 34207int 34208main () 34209{ 34210return libuna_utf16_string_with_index_copy_from_scsu_stream (); 34211 ; 34212 return 0; 34213} 34214_ACEOF 34215if ac_fn_c_try_link "$LINENO"; then : 34216 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_scsu_stream=yes 34217else 34218 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_scsu_stream=no 34219fi 34220rm -f core conftest.err conftest.$ac_objext \ 34221 conftest$ac_exeext conftest.$ac_ext 34222LIBS=$ac_check_lib_save_LIBS 34223fi 34224{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_scsu_stream" >&5 34225$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_scsu_stream" >&6; } 34226if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_scsu_stream" = xyes; then : 34227 ac_cv_libuna_dummy=yes 34228else 34229 ac_cv_libuna=no 34230fi 34231 34232 34233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_byte_stream in -luna" >&5 34234$as_echo_n "checking for libuna_utf32_string_size_from_byte_stream in -luna... " >&6; } 34235if ${ac_cv_lib_una_libuna_utf32_string_size_from_byte_stream+:} false; then : 34236 $as_echo_n "(cached) " >&6 34237else 34238 ac_check_lib_save_LIBS=$LIBS 34239LIBS="-luna $LIBS" 34240cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34241/* end confdefs.h. */ 34242 34243/* Override any GCC internal prototype to avoid an error. 34244 Use char because int might match the return type of a GCC 34245 builtin and then its argument prototype would still apply. */ 34246#ifdef __cplusplus 34247extern "C" 34248#endif 34249char libuna_utf32_string_size_from_byte_stream (); 34250int 34251main () 34252{ 34253return libuna_utf32_string_size_from_byte_stream (); 34254 ; 34255 return 0; 34256} 34257_ACEOF 34258if ac_fn_c_try_link "$LINENO"; then : 34259 ac_cv_lib_una_libuna_utf32_string_size_from_byte_stream=yes 34260else 34261 ac_cv_lib_una_libuna_utf32_string_size_from_byte_stream=no 34262fi 34263rm -f core conftest.err conftest.$ac_objext \ 34264 conftest$ac_exeext conftest.$ac_ext 34265LIBS=$ac_check_lib_save_LIBS 34266fi 34267{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_byte_stream" >&5 34268$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_byte_stream" >&6; } 34269if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_byte_stream" = xyes; then : 34270 ac_cv_libuna_dummy=yes 34271else 34272 ac_cv_libuna=no 34273fi 34274 34275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_byte_stream in -luna" >&5 34276$as_echo_n "checking for libuna_utf32_string_copy_from_byte_stream in -luna... " >&6; } 34277if ${ac_cv_lib_una_libuna_utf32_string_copy_from_byte_stream+:} false; then : 34278 $as_echo_n "(cached) " >&6 34279else 34280 ac_check_lib_save_LIBS=$LIBS 34281LIBS="-luna $LIBS" 34282cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34283/* end confdefs.h. */ 34284 34285/* Override any GCC internal prototype to avoid an error. 34286 Use char because int might match the return type of a GCC 34287 builtin and then its argument prototype would still apply. */ 34288#ifdef __cplusplus 34289extern "C" 34290#endif 34291char libuna_utf32_string_copy_from_byte_stream (); 34292int 34293main () 34294{ 34295return libuna_utf32_string_copy_from_byte_stream (); 34296 ; 34297 return 0; 34298} 34299_ACEOF 34300if ac_fn_c_try_link "$LINENO"; then : 34301 ac_cv_lib_una_libuna_utf32_string_copy_from_byte_stream=yes 34302else 34303 ac_cv_lib_una_libuna_utf32_string_copy_from_byte_stream=no 34304fi 34305rm -f core conftest.err conftest.$ac_objext \ 34306 conftest$ac_exeext conftest.$ac_ext 34307LIBS=$ac_check_lib_save_LIBS 34308fi 34309{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_byte_stream" >&5 34310$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_byte_stream" >&6; } 34311if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_byte_stream" = xyes; then : 34312 ac_cv_libuna_dummy=yes 34313else 34314 ac_cv_libuna=no 34315fi 34316 34317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_with_index_copy_from_byte_stream in -luna" >&5 34318$as_echo_n "checking for libuna_utf32_string_with_index_copy_from_byte_stream in -luna... " >&6; } 34319if ${ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_byte_stream+:} false; then : 34320 $as_echo_n "(cached) " >&6 34321else 34322 ac_check_lib_save_LIBS=$LIBS 34323LIBS="-luna $LIBS" 34324cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34325/* end confdefs.h. */ 34326 34327/* Override any GCC internal prototype to avoid an error. 34328 Use char because int might match the return type of a GCC 34329 builtin and then its argument prototype would still apply. */ 34330#ifdef __cplusplus 34331extern "C" 34332#endif 34333char libuna_utf32_string_with_index_copy_from_byte_stream (); 34334int 34335main () 34336{ 34337return libuna_utf32_string_with_index_copy_from_byte_stream (); 34338 ; 34339 return 0; 34340} 34341_ACEOF 34342if ac_fn_c_try_link "$LINENO"; then : 34343 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_byte_stream=yes 34344else 34345 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_byte_stream=no 34346fi 34347rm -f core conftest.err conftest.$ac_objext \ 34348 conftest$ac_exeext conftest.$ac_ext 34349LIBS=$ac_check_lib_save_LIBS 34350fi 34351{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_byte_stream" >&5 34352$as_echo "$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_byte_stream" >&6; } 34353if test "x$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_byte_stream" = xyes; then : 34354 ac_cv_libuna_dummy=yes 34355else 34356 ac_cv_libuna=no 34357fi 34358 34359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_utf7_stream in -luna" >&5 34360$as_echo_n "checking for libuna_utf32_string_size_from_utf7_stream in -luna... " >&6; } 34361if ${ac_cv_lib_una_libuna_utf32_string_size_from_utf7_stream+:} false; then : 34362 $as_echo_n "(cached) " >&6 34363else 34364 ac_check_lib_save_LIBS=$LIBS 34365LIBS="-luna $LIBS" 34366cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34367/* end confdefs.h. */ 34368 34369/* Override any GCC internal prototype to avoid an error. 34370 Use char because int might match the return type of a GCC 34371 builtin and then its argument prototype would still apply. */ 34372#ifdef __cplusplus 34373extern "C" 34374#endif 34375char libuna_utf32_string_size_from_utf7_stream (); 34376int 34377main () 34378{ 34379return libuna_utf32_string_size_from_utf7_stream (); 34380 ; 34381 return 0; 34382} 34383_ACEOF 34384if ac_fn_c_try_link "$LINENO"; then : 34385 ac_cv_lib_una_libuna_utf32_string_size_from_utf7_stream=yes 34386else 34387 ac_cv_lib_una_libuna_utf32_string_size_from_utf7_stream=no 34388fi 34389rm -f core conftest.err conftest.$ac_objext \ 34390 conftest$ac_exeext conftest.$ac_ext 34391LIBS=$ac_check_lib_save_LIBS 34392fi 34393{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_utf7_stream" >&5 34394$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_utf7_stream" >&6; } 34395if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_utf7_stream" = xyes; then : 34396 ac_cv_libuna_dummy=yes 34397else 34398 ac_cv_libuna=no 34399fi 34400 34401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_utf7_stream in -luna" >&5 34402$as_echo_n "checking for libuna_utf32_string_copy_from_utf7_stream in -luna... " >&6; } 34403if ${ac_cv_lib_una_libuna_utf32_string_copy_from_utf7_stream+:} false; then : 34404 $as_echo_n "(cached) " >&6 34405else 34406 ac_check_lib_save_LIBS=$LIBS 34407LIBS="-luna $LIBS" 34408cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34409/* end confdefs.h. */ 34410 34411/* Override any GCC internal prototype to avoid an error. 34412 Use char because int might match the return type of a GCC 34413 builtin and then its argument prototype would still apply. */ 34414#ifdef __cplusplus 34415extern "C" 34416#endif 34417char libuna_utf32_string_copy_from_utf7_stream (); 34418int 34419main () 34420{ 34421return libuna_utf32_string_copy_from_utf7_stream (); 34422 ; 34423 return 0; 34424} 34425_ACEOF 34426if ac_fn_c_try_link "$LINENO"; then : 34427 ac_cv_lib_una_libuna_utf32_string_copy_from_utf7_stream=yes 34428else 34429 ac_cv_lib_una_libuna_utf32_string_copy_from_utf7_stream=no 34430fi 34431rm -f core conftest.err conftest.$ac_objext \ 34432 conftest$ac_exeext conftest.$ac_ext 34433LIBS=$ac_check_lib_save_LIBS 34434fi 34435{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_utf7_stream" >&5 34436$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_utf7_stream" >&6; } 34437if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_utf7_stream" = xyes; then : 34438 ac_cv_libuna_dummy=yes 34439else 34440 ac_cv_libuna=no 34441fi 34442 34443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_with_index_copy_from_utf7_stream in -luna" >&5 34444$as_echo_n "checking for libuna_utf32_string_with_index_copy_from_utf7_stream in -luna... " >&6; } 34445if ${ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf7_stream+:} false; then : 34446 $as_echo_n "(cached) " >&6 34447else 34448 ac_check_lib_save_LIBS=$LIBS 34449LIBS="-luna $LIBS" 34450cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34451/* end confdefs.h. */ 34452 34453/* Override any GCC internal prototype to avoid an error. 34454 Use char because int might match the return type of a GCC 34455 builtin and then its argument prototype would still apply. */ 34456#ifdef __cplusplus 34457extern "C" 34458#endif 34459char libuna_utf32_string_with_index_copy_from_utf7_stream (); 34460int 34461main () 34462{ 34463return libuna_utf32_string_with_index_copy_from_utf7_stream (); 34464 ; 34465 return 0; 34466} 34467_ACEOF 34468if ac_fn_c_try_link "$LINENO"; then : 34469 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf7_stream=yes 34470else 34471 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf7_stream=no 34472fi 34473rm -f core conftest.err conftest.$ac_objext \ 34474 conftest$ac_exeext conftest.$ac_ext 34475LIBS=$ac_check_lib_save_LIBS 34476fi 34477{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf7_stream" >&5 34478$as_echo "$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf7_stream" >&6; } 34479if test "x$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf7_stream" = xyes; then : 34480 ac_cv_libuna_dummy=yes 34481else 34482 ac_cv_libuna=no 34483fi 34484 34485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_utf8_stream in -luna" >&5 34486$as_echo_n "checking for libuna_utf32_string_size_from_utf8_stream in -luna... " >&6; } 34487if ${ac_cv_lib_una_libuna_utf32_string_size_from_utf8_stream+:} false; then : 34488 $as_echo_n "(cached) " >&6 34489else 34490 ac_check_lib_save_LIBS=$LIBS 34491LIBS="-luna $LIBS" 34492cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34493/* end confdefs.h. */ 34494 34495/* Override any GCC internal prototype to avoid an error. 34496 Use char because int might match the return type of a GCC 34497 builtin and then its argument prototype would still apply. */ 34498#ifdef __cplusplus 34499extern "C" 34500#endif 34501char libuna_utf32_string_size_from_utf8_stream (); 34502int 34503main () 34504{ 34505return libuna_utf32_string_size_from_utf8_stream (); 34506 ; 34507 return 0; 34508} 34509_ACEOF 34510if ac_fn_c_try_link "$LINENO"; then : 34511 ac_cv_lib_una_libuna_utf32_string_size_from_utf8_stream=yes 34512else 34513 ac_cv_lib_una_libuna_utf32_string_size_from_utf8_stream=no 34514fi 34515rm -f core conftest.err conftest.$ac_objext \ 34516 conftest$ac_exeext conftest.$ac_ext 34517LIBS=$ac_check_lib_save_LIBS 34518fi 34519{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_utf8_stream" >&5 34520$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_utf8_stream" >&6; } 34521if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_utf8_stream" = xyes; then : 34522 ac_cv_libuna_dummy=yes 34523else 34524 ac_cv_libuna=no 34525fi 34526 34527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_utf8_stream in -luna" >&5 34528$as_echo_n "checking for libuna_utf32_string_copy_from_utf8_stream in -luna... " >&6; } 34529if ${ac_cv_lib_una_libuna_utf32_string_copy_from_utf8_stream+:} false; then : 34530 $as_echo_n "(cached) " >&6 34531else 34532 ac_check_lib_save_LIBS=$LIBS 34533LIBS="-luna $LIBS" 34534cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34535/* end confdefs.h. */ 34536 34537/* Override any GCC internal prototype to avoid an error. 34538 Use char because int might match the return type of a GCC 34539 builtin and then its argument prototype would still apply. */ 34540#ifdef __cplusplus 34541extern "C" 34542#endif 34543char libuna_utf32_string_copy_from_utf8_stream (); 34544int 34545main () 34546{ 34547return libuna_utf32_string_copy_from_utf8_stream (); 34548 ; 34549 return 0; 34550} 34551_ACEOF 34552if ac_fn_c_try_link "$LINENO"; then : 34553 ac_cv_lib_una_libuna_utf32_string_copy_from_utf8_stream=yes 34554else 34555 ac_cv_lib_una_libuna_utf32_string_copy_from_utf8_stream=no 34556fi 34557rm -f core conftest.err conftest.$ac_objext \ 34558 conftest$ac_exeext conftest.$ac_ext 34559LIBS=$ac_check_lib_save_LIBS 34560fi 34561{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_utf8_stream" >&5 34562$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_utf8_stream" >&6; } 34563if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_utf8_stream" = xyes; then : 34564 ac_cv_libuna_dummy=yes 34565else 34566 ac_cv_libuna=no 34567fi 34568 34569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_with_index_copy_from_utf8_stream in -luna" >&5 34570$as_echo_n "checking for libuna_utf32_string_with_index_copy_from_utf8_stream in -luna... " >&6; } 34571if ${ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf8_stream+:} false; then : 34572 $as_echo_n "(cached) " >&6 34573else 34574 ac_check_lib_save_LIBS=$LIBS 34575LIBS="-luna $LIBS" 34576cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34577/* end confdefs.h. */ 34578 34579/* Override any GCC internal prototype to avoid an error. 34580 Use char because int might match the return type of a GCC 34581 builtin and then its argument prototype would still apply. */ 34582#ifdef __cplusplus 34583extern "C" 34584#endif 34585char libuna_utf32_string_with_index_copy_from_utf8_stream (); 34586int 34587main () 34588{ 34589return libuna_utf32_string_with_index_copy_from_utf8_stream (); 34590 ; 34591 return 0; 34592} 34593_ACEOF 34594if ac_fn_c_try_link "$LINENO"; then : 34595 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf8_stream=yes 34596else 34597 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf8_stream=no 34598fi 34599rm -f core conftest.err conftest.$ac_objext \ 34600 conftest$ac_exeext conftest.$ac_ext 34601LIBS=$ac_check_lib_save_LIBS 34602fi 34603{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf8_stream" >&5 34604$as_echo "$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf8_stream" >&6; } 34605if test "x$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf8_stream" = xyes; then : 34606 ac_cv_libuna_dummy=yes 34607else 34608 ac_cv_libuna=no 34609fi 34610 34611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_utf16_stream in -luna" >&5 34612$as_echo_n "checking for libuna_utf32_string_size_from_utf16_stream in -luna... " >&6; } 34613if ${ac_cv_lib_una_libuna_utf32_string_size_from_utf16_stream+:} false; then : 34614 $as_echo_n "(cached) " >&6 34615else 34616 ac_check_lib_save_LIBS=$LIBS 34617LIBS="-luna $LIBS" 34618cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34619/* end confdefs.h. */ 34620 34621/* Override any GCC internal prototype to avoid an error. 34622 Use char because int might match the return type of a GCC 34623 builtin and then its argument prototype would still apply. */ 34624#ifdef __cplusplus 34625extern "C" 34626#endif 34627char libuna_utf32_string_size_from_utf16_stream (); 34628int 34629main () 34630{ 34631return libuna_utf32_string_size_from_utf16_stream (); 34632 ; 34633 return 0; 34634} 34635_ACEOF 34636if ac_fn_c_try_link "$LINENO"; then : 34637 ac_cv_lib_una_libuna_utf32_string_size_from_utf16_stream=yes 34638else 34639 ac_cv_lib_una_libuna_utf32_string_size_from_utf16_stream=no 34640fi 34641rm -f core conftest.err conftest.$ac_objext \ 34642 conftest$ac_exeext conftest.$ac_ext 34643LIBS=$ac_check_lib_save_LIBS 34644fi 34645{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_utf16_stream" >&5 34646$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_utf16_stream" >&6; } 34647if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_utf16_stream" = xyes; then : 34648 ac_cv_libuna_dummy=yes 34649else 34650 ac_cv_libuna=no 34651fi 34652 34653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_utf16_stream in -luna" >&5 34654$as_echo_n "checking for libuna_utf32_string_copy_from_utf16_stream in -luna... " >&6; } 34655if ${ac_cv_lib_una_libuna_utf32_string_copy_from_utf16_stream+:} false; then : 34656 $as_echo_n "(cached) " >&6 34657else 34658 ac_check_lib_save_LIBS=$LIBS 34659LIBS="-luna $LIBS" 34660cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34661/* end confdefs.h. */ 34662 34663/* Override any GCC internal prototype to avoid an error. 34664 Use char because int might match the return type of a GCC 34665 builtin and then its argument prototype would still apply. */ 34666#ifdef __cplusplus 34667extern "C" 34668#endif 34669char libuna_utf32_string_copy_from_utf16_stream (); 34670int 34671main () 34672{ 34673return libuna_utf32_string_copy_from_utf16_stream (); 34674 ; 34675 return 0; 34676} 34677_ACEOF 34678if ac_fn_c_try_link "$LINENO"; then : 34679 ac_cv_lib_una_libuna_utf32_string_copy_from_utf16_stream=yes 34680else 34681 ac_cv_lib_una_libuna_utf32_string_copy_from_utf16_stream=no 34682fi 34683rm -f core conftest.err conftest.$ac_objext \ 34684 conftest$ac_exeext conftest.$ac_ext 34685LIBS=$ac_check_lib_save_LIBS 34686fi 34687{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_utf16_stream" >&5 34688$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_utf16_stream" >&6; } 34689if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_utf16_stream" = xyes; then : 34690 ac_cv_libuna_dummy=yes 34691else 34692 ac_cv_libuna=no 34693fi 34694 34695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_with_index_copy_from_utf16_stream in -luna" >&5 34696$as_echo_n "checking for libuna_utf32_string_with_index_copy_from_utf16_stream in -luna... " >&6; } 34697if ${ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16_stream+:} false; then : 34698 $as_echo_n "(cached) " >&6 34699else 34700 ac_check_lib_save_LIBS=$LIBS 34701LIBS="-luna $LIBS" 34702cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34703/* end confdefs.h. */ 34704 34705/* Override any GCC internal prototype to avoid an error. 34706 Use char because int might match the return type of a GCC 34707 builtin and then its argument prototype would still apply. */ 34708#ifdef __cplusplus 34709extern "C" 34710#endif 34711char libuna_utf32_string_with_index_copy_from_utf16_stream (); 34712int 34713main () 34714{ 34715return libuna_utf32_string_with_index_copy_from_utf16_stream (); 34716 ; 34717 return 0; 34718} 34719_ACEOF 34720if ac_fn_c_try_link "$LINENO"; then : 34721 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16_stream=yes 34722else 34723 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16_stream=no 34724fi 34725rm -f core conftest.err conftest.$ac_objext \ 34726 conftest$ac_exeext conftest.$ac_ext 34727LIBS=$ac_check_lib_save_LIBS 34728fi 34729{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16_stream" >&5 34730$as_echo "$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16_stream" >&6; } 34731if test "x$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16_stream" = xyes; then : 34732 ac_cv_libuna_dummy=yes 34733else 34734 ac_cv_libuna=no 34735fi 34736 34737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_utf32_stream in -luna" >&5 34738$as_echo_n "checking for libuna_utf32_string_size_from_utf32_stream in -luna... " >&6; } 34739if ${ac_cv_lib_una_libuna_utf32_string_size_from_utf32_stream+:} false; then : 34740 $as_echo_n "(cached) " >&6 34741else 34742 ac_check_lib_save_LIBS=$LIBS 34743LIBS="-luna $LIBS" 34744cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34745/* end confdefs.h. */ 34746 34747/* Override any GCC internal prototype to avoid an error. 34748 Use char because int might match the return type of a GCC 34749 builtin and then its argument prototype would still apply. */ 34750#ifdef __cplusplus 34751extern "C" 34752#endif 34753char libuna_utf32_string_size_from_utf32_stream (); 34754int 34755main () 34756{ 34757return libuna_utf32_string_size_from_utf32_stream (); 34758 ; 34759 return 0; 34760} 34761_ACEOF 34762if ac_fn_c_try_link "$LINENO"; then : 34763 ac_cv_lib_una_libuna_utf32_string_size_from_utf32_stream=yes 34764else 34765 ac_cv_lib_una_libuna_utf32_string_size_from_utf32_stream=no 34766fi 34767rm -f core conftest.err conftest.$ac_objext \ 34768 conftest$ac_exeext conftest.$ac_ext 34769LIBS=$ac_check_lib_save_LIBS 34770fi 34771{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_utf32_stream" >&5 34772$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_utf32_stream" >&6; } 34773if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_utf32_stream" = xyes; then : 34774 ac_cv_libuna_dummy=yes 34775else 34776 ac_cv_libuna=no 34777fi 34778 34779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_utf32_stream in -luna" >&5 34780$as_echo_n "checking for libuna_utf32_string_copy_from_utf32_stream in -luna... " >&6; } 34781if ${ac_cv_lib_una_libuna_utf32_string_copy_from_utf32_stream+:} false; then : 34782 $as_echo_n "(cached) " >&6 34783else 34784 ac_check_lib_save_LIBS=$LIBS 34785LIBS="-luna $LIBS" 34786cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34787/* end confdefs.h. */ 34788 34789/* Override any GCC internal prototype to avoid an error. 34790 Use char because int might match the return type of a GCC 34791 builtin and then its argument prototype would still apply. */ 34792#ifdef __cplusplus 34793extern "C" 34794#endif 34795char libuna_utf32_string_copy_from_utf32_stream (); 34796int 34797main () 34798{ 34799return libuna_utf32_string_copy_from_utf32_stream (); 34800 ; 34801 return 0; 34802} 34803_ACEOF 34804if ac_fn_c_try_link "$LINENO"; then : 34805 ac_cv_lib_una_libuna_utf32_string_copy_from_utf32_stream=yes 34806else 34807 ac_cv_lib_una_libuna_utf32_string_copy_from_utf32_stream=no 34808fi 34809rm -f core conftest.err conftest.$ac_objext \ 34810 conftest$ac_exeext conftest.$ac_ext 34811LIBS=$ac_check_lib_save_LIBS 34812fi 34813{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_utf32_stream" >&5 34814$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_utf32_stream" >&6; } 34815if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_utf32_stream" = xyes; then : 34816 ac_cv_libuna_dummy=yes 34817else 34818 ac_cv_libuna=no 34819fi 34820 34821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_with_index_copy_from_utf32_stream in -luna" >&5 34822$as_echo_n "checking for libuna_utf32_string_with_index_copy_from_utf32_stream in -luna... " >&6; } 34823if ${ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf32_stream+:} false; then : 34824 $as_echo_n "(cached) " >&6 34825else 34826 ac_check_lib_save_LIBS=$LIBS 34827LIBS="-luna $LIBS" 34828cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34829/* end confdefs.h. */ 34830 34831/* Override any GCC internal prototype to avoid an error. 34832 Use char because int might match the return type of a GCC 34833 builtin and then its argument prototype would still apply. */ 34834#ifdef __cplusplus 34835extern "C" 34836#endif 34837char libuna_utf32_string_with_index_copy_from_utf32_stream (); 34838int 34839main () 34840{ 34841return libuna_utf32_string_with_index_copy_from_utf32_stream (); 34842 ; 34843 return 0; 34844} 34845_ACEOF 34846if ac_fn_c_try_link "$LINENO"; then : 34847 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf32_stream=yes 34848else 34849 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf32_stream=no 34850fi 34851rm -f core conftest.err conftest.$ac_objext \ 34852 conftest$ac_exeext conftest.$ac_ext 34853LIBS=$ac_check_lib_save_LIBS 34854fi 34855{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf32_stream" >&5 34856$as_echo "$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf32_stream" >&6; } 34857if test "x$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf32_stream" = xyes; then : 34858 ac_cv_libuna_dummy=yes 34859else 34860 ac_cv_libuna=no 34861fi 34862 34863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_utf8 in -luna" >&5 34864$as_echo_n "checking for libuna_utf32_string_size_from_utf8 in -luna... " >&6; } 34865if ${ac_cv_lib_una_libuna_utf32_string_size_from_utf8+:} false; then : 34866 $as_echo_n "(cached) " >&6 34867else 34868 ac_check_lib_save_LIBS=$LIBS 34869LIBS="-luna $LIBS" 34870cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34871/* end confdefs.h. */ 34872 34873/* Override any GCC internal prototype to avoid an error. 34874 Use char because int might match the return type of a GCC 34875 builtin and then its argument prototype would still apply. */ 34876#ifdef __cplusplus 34877extern "C" 34878#endif 34879char libuna_utf32_string_size_from_utf8 (); 34880int 34881main () 34882{ 34883return libuna_utf32_string_size_from_utf8 (); 34884 ; 34885 return 0; 34886} 34887_ACEOF 34888if ac_fn_c_try_link "$LINENO"; then : 34889 ac_cv_lib_una_libuna_utf32_string_size_from_utf8=yes 34890else 34891 ac_cv_lib_una_libuna_utf32_string_size_from_utf8=no 34892fi 34893rm -f core conftest.err conftest.$ac_objext \ 34894 conftest$ac_exeext conftest.$ac_ext 34895LIBS=$ac_check_lib_save_LIBS 34896fi 34897{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_utf8" >&5 34898$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_utf8" >&6; } 34899if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_utf8" = xyes; then : 34900 ac_cv_libuna_dummy=yes 34901else 34902 ac_cv_libuna=no 34903fi 34904 34905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_utf8 in -luna" >&5 34906$as_echo_n "checking for libuna_utf32_string_copy_from_utf8 in -luna... " >&6; } 34907if ${ac_cv_lib_una_libuna_utf32_string_copy_from_utf8+:} false; then : 34908 $as_echo_n "(cached) " >&6 34909else 34910 ac_check_lib_save_LIBS=$LIBS 34911LIBS="-luna $LIBS" 34912cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34913/* end confdefs.h. */ 34914 34915/* Override any GCC internal prototype to avoid an error. 34916 Use char because int might match the return type of a GCC 34917 builtin and then its argument prototype would still apply. */ 34918#ifdef __cplusplus 34919extern "C" 34920#endif 34921char libuna_utf32_string_copy_from_utf8 (); 34922int 34923main () 34924{ 34925return libuna_utf32_string_copy_from_utf8 (); 34926 ; 34927 return 0; 34928} 34929_ACEOF 34930if ac_fn_c_try_link "$LINENO"; then : 34931 ac_cv_lib_una_libuna_utf32_string_copy_from_utf8=yes 34932else 34933 ac_cv_lib_una_libuna_utf32_string_copy_from_utf8=no 34934fi 34935rm -f core conftest.err conftest.$ac_objext \ 34936 conftest$ac_exeext conftest.$ac_ext 34937LIBS=$ac_check_lib_save_LIBS 34938fi 34939{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_utf8" >&5 34940$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_utf8" >&6; } 34941if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_utf8" = xyes; then : 34942 ac_cv_libuna_dummy=yes 34943else 34944 ac_cv_libuna=no 34945fi 34946 34947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ac_cv_libuna_dummy=yes in -llibuna_utf32_string_with_index_copy_from_utf8" >&5 34948$as_echo_n "checking for ac_cv_libuna_dummy=yes in -llibuna_utf32_string_with_index_copy_from_utf8... " >&6; } 34949if ${ac_cv_lib_libuna_utf32_string_with_index_copy_from_utf8_ac_cv_libuna_dummy_yes+:} false; then : 34950 $as_echo_n "(cached) " >&6 34951else 34952 ac_check_lib_save_LIBS=$LIBS 34953LIBS="-llibuna_utf32_string_with_index_copy_from_utf8 $LIBS" 34954cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34955/* end confdefs.h. */ 34956 34957/* Override any GCC internal prototype to avoid an error. 34958 Use char because int might match the return type of a GCC 34959 builtin and then its argument prototype would still apply. */ 34960#ifdef __cplusplus 34961extern "C" 34962#endif 34963char ac_cv_libuna_dummy=yes (); 34964int 34965main () 34966{ 34967return ac_cv_libuna_dummy=yes (); 34968 ; 34969 return 0; 34970} 34971_ACEOF 34972if ac_fn_c_try_link "$LINENO"; then : 34973 ac_cv_lib_libuna_utf32_string_with_index_copy_from_utf8_ac_cv_libuna_dummy_yes=yes 34974else 34975 ac_cv_lib_libuna_utf32_string_with_index_copy_from_utf8_ac_cv_libuna_dummy_yes=no 34976fi 34977rm -f core conftest.err conftest.$ac_objext \ 34978 conftest$ac_exeext conftest.$ac_ext 34979LIBS=$ac_check_lib_save_LIBS 34980fi 34981{ $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 34982$as_echo "$ac_cv_lib_libuna_utf32_string_with_index_copy_from_utf8_ac_cv_libuna_dummy_yes" >&6; } 34983if test "x$ac_cv_lib_libuna_utf32_string_with_index_copy_from_utf8_ac_cv_libuna_dummy_yes" = xyes; then : 34984 ac_cv_libuna=no 34985fi 34986 34987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_utf16 in -luna" >&5 34988$as_echo_n "checking for libuna_utf32_string_size_from_utf16 in -luna... " >&6; } 34989if ${ac_cv_lib_una_libuna_utf32_string_size_from_utf16+:} false; then : 34990 $as_echo_n "(cached) " >&6 34991else 34992 ac_check_lib_save_LIBS=$LIBS 34993LIBS="-luna $LIBS" 34994cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34995/* end confdefs.h. */ 34996 34997/* Override any GCC internal prototype to avoid an error. 34998 Use char because int might match the return type of a GCC 34999 builtin and then its argument prototype would still apply. */ 35000#ifdef __cplusplus 35001extern "C" 35002#endif 35003char libuna_utf32_string_size_from_utf16 (); 35004int 35005main () 35006{ 35007return libuna_utf32_string_size_from_utf16 (); 35008 ; 35009 return 0; 35010} 35011_ACEOF 35012if ac_fn_c_try_link "$LINENO"; then : 35013 ac_cv_lib_una_libuna_utf32_string_size_from_utf16=yes 35014else 35015 ac_cv_lib_una_libuna_utf32_string_size_from_utf16=no 35016fi 35017rm -f core conftest.err conftest.$ac_objext \ 35018 conftest$ac_exeext conftest.$ac_ext 35019LIBS=$ac_check_lib_save_LIBS 35020fi 35021{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_utf16" >&5 35022$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_utf16" >&6; } 35023if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_utf16" = xyes; then : 35024 ac_cv_libuna_dummy=yes 35025else 35026 ac_cv_libuna=no 35027fi 35028 35029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_utf16 in -luna" >&5 35030$as_echo_n "checking for libuna_utf32_string_copy_from_utf16 in -luna... " >&6; } 35031if ${ac_cv_lib_una_libuna_utf32_string_copy_from_utf16+:} false; then : 35032 $as_echo_n "(cached) " >&6 35033else 35034 ac_check_lib_save_LIBS=$LIBS 35035LIBS="-luna $LIBS" 35036cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35037/* end confdefs.h. */ 35038 35039/* Override any GCC internal prototype to avoid an error. 35040 Use char because int might match the return type of a GCC 35041 builtin and then its argument prototype would still apply. */ 35042#ifdef __cplusplus 35043extern "C" 35044#endif 35045char libuna_utf32_string_copy_from_utf16 (); 35046int 35047main () 35048{ 35049return libuna_utf32_string_copy_from_utf16 (); 35050 ; 35051 return 0; 35052} 35053_ACEOF 35054if ac_fn_c_try_link "$LINENO"; then : 35055 ac_cv_lib_una_libuna_utf32_string_copy_from_utf16=yes 35056else 35057 ac_cv_lib_una_libuna_utf32_string_copy_from_utf16=no 35058fi 35059rm -f core conftest.err conftest.$ac_objext \ 35060 conftest$ac_exeext conftest.$ac_ext 35061LIBS=$ac_check_lib_save_LIBS 35062fi 35063{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_utf16" >&5 35064$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_utf16" >&6; } 35065if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_utf16" = xyes; then : 35066 ac_cv_libuna_dummy=yes 35067else 35068 ac_cv_libuna=no 35069fi 35070 35071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_with_index_copy_from_utf16 in -luna" >&5 35072$as_echo_n "checking for libuna_utf32_string_with_index_copy_from_utf16 in -luna... " >&6; } 35073if ${ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16+:} false; then : 35074 $as_echo_n "(cached) " >&6 35075else 35076 ac_check_lib_save_LIBS=$LIBS 35077LIBS="-luna $LIBS" 35078cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35079/* end confdefs.h. */ 35080 35081/* Override any GCC internal prototype to avoid an error. 35082 Use char because int might match the return type of a GCC 35083 builtin and then its argument prototype would still apply. */ 35084#ifdef __cplusplus 35085extern "C" 35086#endif 35087char libuna_utf32_string_with_index_copy_from_utf16 (); 35088int 35089main () 35090{ 35091return libuna_utf32_string_with_index_copy_from_utf16 (); 35092 ; 35093 return 0; 35094} 35095_ACEOF 35096if ac_fn_c_try_link "$LINENO"; then : 35097 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16=yes 35098else 35099 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16=no 35100fi 35101rm -f core conftest.err conftest.$ac_objext \ 35102 conftest$ac_exeext conftest.$ac_ext 35103LIBS=$ac_check_lib_save_LIBS 35104fi 35105{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16" >&5 35106$as_echo "$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16" >&6; } 35107if test "x$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16" = xyes; then : 35108 ac_cv_libuna_dummy=yes 35109else 35110 ac_cv_libuna=no 35111fi 35112 35113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_scsu_stream in -luna" >&5 35114$as_echo_n "checking for libuna_utf32_string_size_from_scsu_stream in -luna... " >&6; } 35115if ${ac_cv_lib_una_libuna_utf32_string_size_from_scsu_stream+:} false; then : 35116 $as_echo_n "(cached) " >&6 35117else 35118 ac_check_lib_save_LIBS=$LIBS 35119LIBS="-luna $LIBS" 35120cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35121/* end confdefs.h. */ 35122 35123/* Override any GCC internal prototype to avoid an error. 35124 Use char because int might match the return type of a GCC 35125 builtin and then its argument prototype would still apply. */ 35126#ifdef __cplusplus 35127extern "C" 35128#endif 35129char libuna_utf32_string_size_from_scsu_stream (); 35130int 35131main () 35132{ 35133return libuna_utf32_string_size_from_scsu_stream (); 35134 ; 35135 return 0; 35136} 35137_ACEOF 35138if ac_fn_c_try_link "$LINENO"; then : 35139 ac_cv_lib_una_libuna_utf32_string_size_from_scsu_stream=yes 35140else 35141 ac_cv_lib_una_libuna_utf32_string_size_from_scsu_stream=no 35142fi 35143rm -f core conftest.err conftest.$ac_objext \ 35144 conftest$ac_exeext conftest.$ac_ext 35145LIBS=$ac_check_lib_save_LIBS 35146fi 35147{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_scsu_stream" >&5 35148$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_scsu_stream" >&6; } 35149if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_scsu_stream" = xyes; then : 35150 ac_cv_libuna_dummy=yes 35151else 35152 ac_cv_libuna=no 35153fi 35154 35155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_scsu_stream in -luna" >&5 35156$as_echo_n "checking for libuna_utf32_string_copy_from_scsu_stream in -luna... " >&6; } 35157if ${ac_cv_lib_una_libuna_utf32_string_copy_from_scsu_stream+:} false; then : 35158 $as_echo_n "(cached) " >&6 35159else 35160 ac_check_lib_save_LIBS=$LIBS 35161LIBS="-luna $LIBS" 35162cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35163/* end confdefs.h. */ 35164 35165/* Override any GCC internal prototype to avoid an error. 35166 Use char because int might match the return type of a GCC 35167 builtin and then its argument prototype would still apply. */ 35168#ifdef __cplusplus 35169extern "C" 35170#endif 35171char libuna_utf32_string_copy_from_scsu_stream (); 35172int 35173main () 35174{ 35175return libuna_utf32_string_copy_from_scsu_stream (); 35176 ; 35177 return 0; 35178} 35179_ACEOF 35180if ac_fn_c_try_link "$LINENO"; then : 35181 ac_cv_lib_una_libuna_utf32_string_copy_from_scsu_stream=yes 35182else 35183 ac_cv_lib_una_libuna_utf32_string_copy_from_scsu_stream=no 35184fi 35185rm -f core conftest.err conftest.$ac_objext \ 35186 conftest$ac_exeext conftest.$ac_ext 35187LIBS=$ac_check_lib_save_LIBS 35188fi 35189{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_scsu_stream" >&5 35190$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_scsu_stream" >&6; } 35191if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_scsu_stream" = xyes; then : 35192 ac_cv_libuna_dummy=yes 35193else 35194 ac_cv_libuna=no 35195fi 35196 35197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_with_index_copy_from_scsu_stream in -luna" >&5 35198$as_echo_n "checking for libuna_utf32_string_with_index_copy_from_scsu_stream in -luna... " >&6; } 35199if ${ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_scsu_stream+:} false; then : 35200 $as_echo_n "(cached) " >&6 35201else 35202 ac_check_lib_save_LIBS=$LIBS 35203LIBS="-luna $LIBS" 35204cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35205/* end confdefs.h. */ 35206 35207/* Override any GCC internal prototype to avoid an error. 35208 Use char because int might match the return type of a GCC 35209 builtin and then its argument prototype would still apply. */ 35210#ifdef __cplusplus 35211extern "C" 35212#endif 35213char libuna_utf32_string_with_index_copy_from_scsu_stream (); 35214int 35215main () 35216{ 35217return libuna_utf32_string_with_index_copy_from_scsu_stream (); 35218 ; 35219 return 0; 35220} 35221_ACEOF 35222if ac_fn_c_try_link "$LINENO"; then : 35223 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_scsu_stream=yes 35224else 35225 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_scsu_stream=no 35226fi 35227rm -f core conftest.err conftest.$ac_objext \ 35228 conftest$ac_exeext conftest.$ac_ext 35229LIBS=$ac_check_lib_save_LIBS 35230fi 35231{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_scsu_stream" >&5 35232$as_echo "$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_scsu_stream" >&6; } 35233if test "x$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_scsu_stream" = xyes; then : 35234 ac_cv_libuna_dummy=yes 35235else 35236 ac_cv_libuna=no 35237fi 35238 35239 35240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if \`LIBUNA_COMPARE_LESS' is defined" >&5 35241$as_echo_n "checking if \`LIBUNA_COMPARE_LESS' is defined... " >&6; } 35242if ${ac_cv_libuna_defines_compare_less+:} false; then : 35243 $as_echo_n "(cached) " >&6 35244else 35245 ac_ext=c 35246ac_cpp='$CPP $CPPFLAGS' 35247ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 35248ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 35249ac_compiler_gnu=$ac_cv_c_compiler_gnu 35250 35251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35252/* end confdefs.h. */ 35253#include <libuna.h> 35254int 35255main () 35256{ 35257int test = LIBUNA_COMPARE_LESS; 35258 35259return( 0 ); 35260 ; 35261 return 0; 35262} 35263_ACEOF 35264if ac_fn_c_try_link "$LINENO"; then : 35265 ac_cv_libuna_defines_compare_less=yes 35266else 35267 ac_cv_libuna_defines_compare_less=no 35268fi 35269rm -f core conftest.err conftest.$ac_objext \ 35270 conftest$ac_exeext conftest.$ac_ext 35271 ac_ext=c 35272ac_cpp='$CPP $CPPFLAGS' 35273ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 35274ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 35275ac_compiler_gnu=$ac_cv_c_compiler_gnu 35276 35277fi 35278{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libuna_defines_compare_less" >&5 35279$as_echo "$ac_cv_libuna_defines_compare_less" >&6; } 35280 35281 if test "x$ac_cv_libuna_defines_compare_less" != xyes; then : 35282 ac_cv_libuna=no 35283fi 35284 35285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if \`LIBUNA_COMPARE_EQUAL' is defined" >&5 35286$as_echo_n "checking if \`LIBUNA_COMPARE_EQUAL' is defined... " >&6; } 35287if ${ac_cv_libuna_defines_compare_equal+:} false; then : 35288 $as_echo_n "(cached) " >&6 35289else 35290 ac_ext=c 35291ac_cpp='$CPP $CPPFLAGS' 35292ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 35293ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 35294ac_compiler_gnu=$ac_cv_c_compiler_gnu 35295 35296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35297/* end confdefs.h. */ 35298#include <libuna.h> 35299int 35300main () 35301{ 35302int test = LIBUNA_COMPARE_EQUAL; 35303 35304return( 0 ); 35305 ; 35306 return 0; 35307} 35308_ACEOF 35309if ac_fn_c_try_link "$LINENO"; then : 35310 ac_cv_libuna_defines_compare_equal=yes 35311else 35312 ac_cv_libuna_defines_compare_equal=no 35313fi 35314rm -f core conftest.err conftest.$ac_objext \ 35315 conftest$ac_exeext conftest.$ac_ext 35316 ac_ext=c 35317ac_cpp='$CPP $CPPFLAGS' 35318ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 35319ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 35320ac_compiler_gnu=$ac_cv_c_compiler_gnu 35321 35322fi 35323{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libuna_defines_compare_equal" >&5 35324$as_echo "$ac_cv_libuna_defines_compare_equal" >&6; } 35325 35326 if test "x$ac_cv_libuna_defines_compare_less" != xyes; then : 35327 ac_cv_libuna=no 35328fi 35329 35330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if \`LIBUNA_COMPARE_GREATER' is defined" >&5 35331$as_echo_n "checking if \`LIBUNA_COMPARE_GREATER' is defined... " >&6; } 35332if ${ac_cv_libuna_defines_compare_greater+:} false; then : 35333 $as_echo_n "(cached) " >&6 35334else 35335 ac_ext=c 35336ac_cpp='$CPP $CPPFLAGS' 35337ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 35338ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 35339ac_compiler_gnu=$ac_cv_c_compiler_gnu 35340 35341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35342/* end confdefs.h. */ 35343#include <libuna.h> 35344int 35345main () 35346{ 35347int test = LIBUNA_COMPARE_GREATER; 35348 35349return( 0 ); 35350 ; 35351 return 0; 35352} 35353_ACEOF 35354if ac_fn_c_try_link "$LINENO"; then : 35355 ac_cv_libuna_defines_compare_greater=yes 35356else 35357 ac_cv_libuna_defines_compare_greater=no 35358fi 35359rm -f core conftest.err conftest.$ac_objext \ 35360 conftest$ac_exeext conftest.$ac_ext 35361 ac_ext=c 35362ac_cpp='$CPP $CPPFLAGS' 35363ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 35364ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 35365ac_compiler_gnu=$ac_cv_c_compiler_gnu 35366 35367fi 35368{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libuna_defines_compare_greater" >&5 35369$as_echo "$ac_cv_libuna_defines_compare_greater" >&6; } 35370 35371 if test "x$ac_cv_libuna_defines_compare_less" != xyes; then : 35372 ac_cv_libuna=no 35373fi 35374 35375 ac_cv_libuna_LIBADD="-luna" 35376fi 35377 35378fi 35379 if test "x$ac_cv_with_libuna" != x && test "x$ac_cv_with_libuna" != xauto-detect && test "x$ac_cv_libuna" != xyes; then : 35380 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 35381$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 35382as_fn_error 1 "unable to find supported libuna in directory: $ac_cv_with_libuna 35383See \`config.log' for more details" "$LINENO" 5; } 35384 35385fi 35386 35387fi 35388 35389 if test "x$ac_cv_libuna" = xyes; then : 35390 35391$as_echo "#define HAVE_LIBUNA 1" >>confdefs.h 35392 35393 35394fi 35395 35396 if test "x$ac_cv_libuna" = xyes; then : 35397 HAVE_LIBUNA=1 35398 35399else 35400 HAVE_LIBUNA=0 35401 35402 35403fi 35404 35405 35406 if test "x$ac_cv_libuna" != xyes; then : 35407 35408 ac_cv_libuna_CPPFLAGS="-I../libuna"; 35409 ac_cv_libuna_LIBADD="../libuna/libuna.la"; 35410 35411 ac_cv_libuna=local 35412 35413 35414 35415$as_echo "#define HAVE_LOCAL_LIBUNA 1" >>confdefs.h 35416 35417 HAVE_LOCAL_LIBUNA=1 35418 35419 35420fi 35421 35422 if test "x$ac_cv_libuna" = xlocal; then 35423 HAVE_LOCAL_LIBUNA_TRUE= 35424 HAVE_LOCAL_LIBUNA_FALSE='#' 35425else 35426 HAVE_LOCAL_LIBUNA_TRUE='#' 35427 HAVE_LOCAL_LIBUNA_FALSE= 35428fi 35429 35430 if test "x$ac_cv_libuna_CPPFLAGS" != "x"; then : 35431 LIBUNA_CPPFLAGS=$ac_cv_libuna_CPPFLAGS 35432 35433 35434fi 35435 if test "x$ac_cv_libuna_LIBADD" != "x"; then : 35436 LIBUNA_LIBADD=$ac_cv_libuna_LIBADD 35437 35438 35439fi 35440 35441 if test "x$ac_cv_libuna" = xyes; then : 35442 ax_libuna_pc_libs_private=-luna 35443 35444 35445fi 35446 35447 if test "x$ac_cv_libuna" = xyes; then : 35448 ax_libuna_spec_requires=libuna 35449 35450 ax_libuna_spec_build_requires=libuna-devel 35451 35452 35453fi 35454 35455 35456 35457 35458# Check whether --with-libcfile was given. 35459if test "${with_libcfile+set}" = set; then : 35460 withval=$with_libcfile; ac_cv_with_libcfile=$withval 35461else 35462 ac_cv_with_libcfile=auto-detect 35463fi 35464 35465 { $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 35466$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; } 35467if ${ac_cv_with_libcfile+:} false; then : 35468 $as_echo_n "(cached) " >&6 35469else 35470 ac_cv_with_libcfile=auto-detect 35471fi 35472{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libcfile" >&5 35473$as_echo "$ac_cv_with_libcfile" >&6; } 35474 35475 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libcfile" = xno; then : 35476 ac_cv_libcfile=no 35477else 35478 ac_cv_libcfile=check 35479 if test "x$ac_cv_with_libcfile" != x && test "x$ac_cv_with_libcfile" != xauto-detect; then : 35480 if test -d "$ac_cv_with_libcfile"; then : 35481 CFLAGS="$CFLAGS -I${ac_cv_with_libcfile}/include" 35482 LDFLAGS="$LDFLAGS -L${ac_cv_with_libcfile}/lib" 35483else 35484 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 35485$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 35486as_fn_error 1 "no such directory: $ac_cv_with_libcfile 35487See \`config.log' for more details" "$LINENO" 5; } 35488 35489fi 35490 35491else 35492 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 35493 35494pkg_failed=no 35495{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile" >&5 35496$as_echo_n "checking for libcfile... " >&6; } 35497 35498if test -n "$libcfile_CFLAGS"; then 35499 pkg_cv_libcfile_CFLAGS="$libcfile_CFLAGS" 35500 elif test -n "$PKG_CONFIG"; then 35501 if test -n "$PKG_CONFIG" && \ 35502 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcfile >= 20160409\""; } >&5 35503 ($PKG_CONFIG --exists --print-errors "libcfile >= 20160409") 2>&5 35504 ac_status=$? 35505 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 35506 test $ac_status = 0; }; then 35507 pkg_cv_libcfile_CFLAGS=`$PKG_CONFIG --cflags "libcfile >= 20160409" 2>/dev/null` 35508 test "x$?" != "x0" && pkg_failed=yes 35509else 35510 pkg_failed=yes 35511fi 35512 else 35513 pkg_failed=untried 35514fi 35515if test -n "$libcfile_LIBS"; then 35516 pkg_cv_libcfile_LIBS="$libcfile_LIBS" 35517 elif test -n "$PKG_CONFIG"; then 35518 if test -n "$PKG_CONFIG" && \ 35519 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcfile >= 20160409\""; } >&5 35520 ($PKG_CONFIG --exists --print-errors "libcfile >= 20160409") 2>&5 35521 ac_status=$? 35522 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 35523 test $ac_status = 0; }; then 35524 pkg_cv_libcfile_LIBS=`$PKG_CONFIG --libs "libcfile >= 20160409" 2>/dev/null` 35525 test "x$?" != "x0" && pkg_failed=yes 35526else 35527 pkg_failed=yes 35528fi 35529 else 35530 pkg_failed=untried 35531fi 35532 35533 35534 35535if test $pkg_failed = yes; then 35536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 35537$as_echo "no" >&6; } 35538 35539if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 35540 _pkg_short_errors_supported=yes 35541else 35542 _pkg_short_errors_supported=no 35543fi 35544 if test $_pkg_short_errors_supported = yes; then 35545 libcfile_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcfile >= 20160409" 2>&1` 35546 else 35547 libcfile_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcfile >= 20160409" 2>&1` 35548 fi 35549 # Put the nasty error message in config.log where it belongs 35550 echo "$libcfile_PKG_ERRORS" >&5 35551 35552 ac_cv_libcfile=check 35553elif test $pkg_failed = untried; then 35554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 35555$as_echo "no" >&6; } 35556 ac_cv_libcfile=check 35557else 35558 libcfile_CFLAGS=$pkg_cv_libcfile_CFLAGS 35559 libcfile_LIBS=$pkg_cv_libcfile_LIBS 35560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 35561$as_echo "yes" >&6; } 35562 ac_cv_libcfile=yes 35563fi 35564 35565fi 35566 if test "x$ac_cv_libcfile" = xyes && test "x$ac_cv_enable_wide_character_type" != xno; then : 35567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libcfile/features.h defines LIBCFILE_HAVE_WIDE_CHARACTER_TYPE as 1" >&5 35568$as_echo_n "checking whether libcfile/features.h defines LIBCFILE_HAVE_WIDE_CHARACTER_TYPE as 1... " >&6; } 35569if ${ac_cv_header_libcfile_features_h_have_wide_character_type+:} false; then : 35570 $as_echo_n "(cached) " >&6 35571else 35572 ac_ext=c 35573ac_cpp='$CPP $CPPFLAGS' 35574ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 35575ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 35576ac_compiler_gnu=$ac_cv_c_compiler_gnu 35577 35578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35579/* end confdefs.h. */ 35580#include <libcfile/features.h> 35581int 35582main () 35583{ 35584#if !defined( LIBCFILE_HAVE_WIDE_CHARACTER_TYPE ) || ( LIBCFILE_HAVE_WIDE_CHARACTER_TYPE != 1 ) 35585#error LIBCFILE_HAVE_WIDE_CHARACTER_TYPE not defined 35586#endif 35587 ; 35588 return 0; 35589} 35590_ACEOF 35591if ac_fn_c_try_compile "$LINENO"; then : 35592 ac_cv_header_libcfile_features_h_have_wide_character_type=yes 35593else 35594 ac_cv_header_libcfile_features_h_have_wide_character_type=no 35595fi 35596rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 35597 ac_ext=c 35598ac_cpp='$CPP $CPPFLAGS' 35599ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 35600ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 35601ac_compiler_gnu=$ac_cv_c_compiler_gnu 35602 35603fi 35604{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_libcfile_features_h_have_wide_character_type" >&5 35605$as_echo "$ac_cv_header_libcfile_features_h_have_wide_character_type" >&6; } 35606 35607 if test "x$ac_cv_header_libcfile_features_h_have_wide_character_type" = xno; then : 35608 ac_cv_libcfile=no 35609fi 35610 35611fi 35612 if test "x$ac_cv_libcfile" = xyes; then : 35613 ac_cv_libcfile_CPPFLAGS="$pkg_cv_libcfile_CFLAGS" 35614 ac_cv_libcfile_LIBADD="$pkg_cv_libcfile_LIBS" 35615fi 35616 35617fi 35618 35619 if test "x$ac_cv_libcfile" = xcheck; then : 35620 for ac_header in libcfile.h 35621do : 35622 ac_fn_c_check_header_mongrel "$LINENO" "libcfile.h" "ac_cv_header_libcfile_h" "$ac_includes_default" 35623if test "x$ac_cv_header_libcfile_h" = xyes; then : 35624 cat >>confdefs.h <<_ACEOF 35625#define HAVE_LIBCFILE_H 1 35626_ACEOF 35627 35628fi 35629 35630done 35631 35632 35633 if test "x$ac_cv_header_libcfile_h" = xno; then : 35634 ac_cv_libcfile=no 35635else 35636 ac_cv_libcfile=yes 35637 35638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_get_version in -lcfile" >&5 35639$as_echo_n "checking for libcfile_get_version in -lcfile... " >&6; } 35640if ${ac_cv_lib_cfile_libcfile_get_version+:} false; then : 35641 $as_echo_n "(cached) " >&6 35642else 35643 ac_check_lib_save_LIBS=$LIBS 35644LIBS="-lcfile $LIBS" 35645cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35646/* end confdefs.h. */ 35647 35648/* Override any GCC internal prototype to avoid an error. 35649 Use char because int might match the return type of a GCC 35650 builtin and then its argument prototype would still apply. */ 35651#ifdef __cplusplus 35652extern "C" 35653#endif 35654char libcfile_get_version (); 35655int 35656main () 35657{ 35658return libcfile_get_version (); 35659 ; 35660 return 0; 35661} 35662_ACEOF 35663if ac_fn_c_try_link "$LINENO"; then : 35664 ac_cv_lib_cfile_libcfile_get_version=yes 35665else 35666 ac_cv_lib_cfile_libcfile_get_version=no 35667fi 35668rm -f core conftest.err conftest.$ac_objext \ 35669 conftest$ac_exeext conftest.$ac_ext 35670LIBS=$ac_check_lib_save_LIBS 35671fi 35672{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_get_version" >&5 35673$as_echo "$ac_cv_lib_cfile_libcfile_get_version" >&6; } 35674if test "x$ac_cv_lib_cfile_libcfile_get_version" = xyes; then : 35675 ac_cv_libcfile_dummy=yes 35676else 35677 ac_cv_libcfile=no 35678fi 35679 35680 35681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_initialize in -lcfile" >&5 35682$as_echo_n "checking for libcfile_file_initialize in -lcfile... " >&6; } 35683if ${ac_cv_lib_cfile_libcfile_file_initialize+:} false; then : 35684 $as_echo_n "(cached) " >&6 35685else 35686 ac_check_lib_save_LIBS=$LIBS 35687LIBS="-lcfile $LIBS" 35688cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35689/* end confdefs.h. */ 35690 35691/* Override any GCC internal prototype to avoid an error. 35692 Use char because int might match the return type of a GCC 35693 builtin and then its argument prototype would still apply. */ 35694#ifdef __cplusplus 35695extern "C" 35696#endif 35697char libcfile_file_initialize (); 35698int 35699main () 35700{ 35701return libcfile_file_initialize (); 35702 ; 35703 return 0; 35704} 35705_ACEOF 35706if ac_fn_c_try_link "$LINENO"; then : 35707 ac_cv_lib_cfile_libcfile_file_initialize=yes 35708else 35709 ac_cv_lib_cfile_libcfile_file_initialize=no 35710fi 35711rm -f core conftest.err conftest.$ac_objext \ 35712 conftest$ac_exeext conftest.$ac_ext 35713LIBS=$ac_check_lib_save_LIBS 35714fi 35715{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_initialize" >&5 35716$as_echo "$ac_cv_lib_cfile_libcfile_file_initialize" >&6; } 35717if test "x$ac_cv_lib_cfile_libcfile_file_initialize" = xyes; then : 35718 ac_cv_libcfile_dummy=yes 35719else 35720 ac_cv_libcfile=no 35721fi 35722 35723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_free in -lcfile" >&5 35724$as_echo_n "checking for libcfile_file_free in -lcfile... " >&6; } 35725if ${ac_cv_lib_cfile_libcfile_file_free+:} false; then : 35726 $as_echo_n "(cached) " >&6 35727else 35728 ac_check_lib_save_LIBS=$LIBS 35729LIBS="-lcfile $LIBS" 35730cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35731/* end confdefs.h. */ 35732 35733/* Override any GCC internal prototype to avoid an error. 35734 Use char because int might match the return type of a GCC 35735 builtin and then its argument prototype would still apply. */ 35736#ifdef __cplusplus 35737extern "C" 35738#endif 35739char libcfile_file_free (); 35740int 35741main () 35742{ 35743return libcfile_file_free (); 35744 ; 35745 return 0; 35746} 35747_ACEOF 35748if ac_fn_c_try_link "$LINENO"; then : 35749 ac_cv_lib_cfile_libcfile_file_free=yes 35750else 35751 ac_cv_lib_cfile_libcfile_file_free=no 35752fi 35753rm -f core conftest.err conftest.$ac_objext \ 35754 conftest$ac_exeext conftest.$ac_ext 35755LIBS=$ac_check_lib_save_LIBS 35756fi 35757{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_free" >&5 35758$as_echo "$ac_cv_lib_cfile_libcfile_file_free" >&6; } 35759if test "x$ac_cv_lib_cfile_libcfile_file_free" = xyes; then : 35760 ac_cv_libcfile_dummy=yes 35761else 35762 ac_cv_libcfile=no 35763fi 35764 35765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_open in -lcfile" >&5 35766$as_echo_n "checking for libcfile_file_open in -lcfile... " >&6; } 35767if ${ac_cv_lib_cfile_libcfile_file_open+:} false; then : 35768 $as_echo_n "(cached) " >&6 35769else 35770 ac_check_lib_save_LIBS=$LIBS 35771LIBS="-lcfile $LIBS" 35772cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35773/* end confdefs.h. */ 35774 35775/* Override any GCC internal prototype to avoid an error. 35776 Use char because int might match the return type of a GCC 35777 builtin and then its argument prototype would still apply. */ 35778#ifdef __cplusplus 35779extern "C" 35780#endif 35781char libcfile_file_open (); 35782int 35783main () 35784{ 35785return libcfile_file_open (); 35786 ; 35787 return 0; 35788} 35789_ACEOF 35790if ac_fn_c_try_link "$LINENO"; then : 35791 ac_cv_lib_cfile_libcfile_file_open=yes 35792else 35793 ac_cv_lib_cfile_libcfile_file_open=no 35794fi 35795rm -f core conftest.err conftest.$ac_objext \ 35796 conftest$ac_exeext conftest.$ac_ext 35797LIBS=$ac_check_lib_save_LIBS 35798fi 35799{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_open" >&5 35800$as_echo "$ac_cv_lib_cfile_libcfile_file_open" >&6; } 35801if test "x$ac_cv_lib_cfile_libcfile_file_open" = xyes; then : 35802 ac_cv_libcfile_dummy=yes 35803else 35804 ac_cv_libcfile=no 35805fi 35806 35807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_open_with_error_code in -lcfile" >&5 35808$as_echo_n "checking for libcfile_file_open_with_error_code in -lcfile... " >&6; } 35809if ${ac_cv_lib_cfile_libcfile_file_open_with_error_code+:} false; then : 35810 $as_echo_n "(cached) " >&6 35811else 35812 ac_check_lib_save_LIBS=$LIBS 35813LIBS="-lcfile $LIBS" 35814cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35815/* end confdefs.h. */ 35816 35817/* Override any GCC internal prototype to avoid an error. 35818 Use char because int might match the return type of a GCC 35819 builtin and then its argument prototype would still apply. */ 35820#ifdef __cplusplus 35821extern "C" 35822#endif 35823char libcfile_file_open_with_error_code (); 35824int 35825main () 35826{ 35827return libcfile_file_open_with_error_code (); 35828 ; 35829 return 0; 35830} 35831_ACEOF 35832if ac_fn_c_try_link "$LINENO"; then : 35833 ac_cv_lib_cfile_libcfile_file_open_with_error_code=yes 35834else 35835 ac_cv_lib_cfile_libcfile_file_open_with_error_code=no 35836fi 35837rm -f core conftest.err conftest.$ac_objext \ 35838 conftest$ac_exeext conftest.$ac_ext 35839LIBS=$ac_check_lib_save_LIBS 35840fi 35841{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_open_with_error_code" >&5 35842$as_echo "$ac_cv_lib_cfile_libcfile_file_open_with_error_code" >&6; } 35843if test "x$ac_cv_lib_cfile_libcfile_file_open_with_error_code" = xyes; then : 35844 ac_cv_libcfile_dummy=yes 35845else 35846 ac_cv_libcfile=no 35847fi 35848 35849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_close in -lcfile" >&5 35850$as_echo_n "checking for libcfile_file_close in -lcfile... " >&6; } 35851if ${ac_cv_lib_cfile_libcfile_file_close+:} false; then : 35852 $as_echo_n "(cached) " >&6 35853else 35854 ac_check_lib_save_LIBS=$LIBS 35855LIBS="-lcfile $LIBS" 35856cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35857/* end confdefs.h. */ 35858 35859/* Override any GCC internal prototype to avoid an error. 35860 Use char because int might match the return type of a GCC 35861 builtin and then its argument prototype would still apply. */ 35862#ifdef __cplusplus 35863extern "C" 35864#endif 35865char libcfile_file_close (); 35866int 35867main () 35868{ 35869return libcfile_file_close (); 35870 ; 35871 return 0; 35872} 35873_ACEOF 35874if ac_fn_c_try_link "$LINENO"; then : 35875 ac_cv_lib_cfile_libcfile_file_close=yes 35876else 35877 ac_cv_lib_cfile_libcfile_file_close=no 35878fi 35879rm -f core conftest.err conftest.$ac_objext \ 35880 conftest$ac_exeext conftest.$ac_ext 35881LIBS=$ac_check_lib_save_LIBS 35882fi 35883{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_close" >&5 35884$as_echo "$ac_cv_lib_cfile_libcfile_file_close" >&6; } 35885if test "x$ac_cv_lib_cfile_libcfile_file_close" = xyes; then : 35886 ac_cv_libcfile_dummy=yes 35887else 35888 ac_cv_libcfile=no 35889fi 35890 35891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_read_buffer in -lcfile" >&5 35892$as_echo_n "checking for libcfile_file_read_buffer in -lcfile... " >&6; } 35893if ${ac_cv_lib_cfile_libcfile_file_read_buffer+:} false; then : 35894 $as_echo_n "(cached) " >&6 35895else 35896 ac_check_lib_save_LIBS=$LIBS 35897LIBS="-lcfile $LIBS" 35898cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35899/* end confdefs.h. */ 35900 35901/* Override any GCC internal prototype to avoid an error. 35902 Use char because int might match the return type of a GCC 35903 builtin and then its argument prototype would still apply. */ 35904#ifdef __cplusplus 35905extern "C" 35906#endif 35907char libcfile_file_read_buffer (); 35908int 35909main () 35910{ 35911return libcfile_file_read_buffer (); 35912 ; 35913 return 0; 35914} 35915_ACEOF 35916if ac_fn_c_try_link "$LINENO"; then : 35917 ac_cv_lib_cfile_libcfile_file_read_buffer=yes 35918else 35919 ac_cv_lib_cfile_libcfile_file_read_buffer=no 35920fi 35921rm -f core conftest.err conftest.$ac_objext \ 35922 conftest$ac_exeext conftest.$ac_ext 35923LIBS=$ac_check_lib_save_LIBS 35924fi 35925{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_read_buffer" >&5 35926$as_echo "$ac_cv_lib_cfile_libcfile_file_read_buffer" >&6; } 35927if test "x$ac_cv_lib_cfile_libcfile_file_read_buffer" = xyes; then : 35928 ac_cv_libcfile_dummy=yes 35929else 35930 ac_cv_libcfile=no 35931fi 35932 35933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_read_buffer_with_error_code in -lcfile" >&5 35934$as_echo_n "checking for libcfile_file_read_buffer_with_error_code in -lcfile... " >&6; } 35935if ${ac_cv_lib_cfile_libcfile_file_read_buffer_with_error_code+:} false; then : 35936 $as_echo_n "(cached) " >&6 35937else 35938 ac_check_lib_save_LIBS=$LIBS 35939LIBS="-lcfile $LIBS" 35940cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35941/* end confdefs.h. */ 35942 35943/* Override any GCC internal prototype to avoid an error. 35944 Use char because int might match the return type of a GCC 35945 builtin and then its argument prototype would still apply. */ 35946#ifdef __cplusplus 35947extern "C" 35948#endif 35949char libcfile_file_read_buffer_with_error_code (); 35950int 35951main () 35952{ 35953return libcfile_file_read_buffer_with_error_code (); 35954 ; 35955 return 0; 35956} 35957_ACEOF 35958if ac_fn_c_try_link "$LINENO"; then : 35959 ac_cv_lib_cfile_libcfile_file_read_buffer_with_error_code=yes 35960else 35961 ac_cv_lib_cfile_libcfile_file_read_buffer_with_error_code=no 35962fi 35963rm -f core conftest.err conftest.$ac_objext \ 35964 conftest$ac_exeext conftest.$ac_ext 35965LIBS=$ac_check_lib_save_LIBS 35966fi 35967{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_read_buffer_with_error_code" >&5 35968$as_echo "$ac_cv_lib_cfile_libcfile_file_read_buffer_with_error_code" >&6; } 35969if test "x$ac_cv_lib_cfile_libcfile_file_read_buffer_with_error_code" = xyes; then : 35970 ac_cv_libcfile_dummy=yes 35971else 35972 ac_cv_libcfile=no 35973fi 35974 35975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_write_buffer in -lcfile" >&5 35976$as_echo_n "checking for libcfile_file_write_buffer in -lcfile... " >&6; } 35977if ${ac_cv_lib_cfile_libcfile_file_write_buffer+:} false; then : 35978 $as_echo_n "(cached) " >&6 35979else 35980 ac_check_lib_save_LIBS=$LIBS 35981LIBS="-lcfile $LIBS" 35982cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35983/* end confdefs.h. */ 35984 35985/* Override any GCC internal prototype to avoid an error. 35986 Use char because int might match the return type of a GCC 35987 builtin and then its argument prototype would still apply. */ 35988#ifdef __cplusplus 35989extern "C" 35990#endif 35991char libcfile_file_write_buffer (); 35992int 35993main () 35994{ 35995return libcfile_file_write_buffer (); 35996 ; 35997 return 0; 35998} 35999_ACEOF 36000if ac_fn_c_try_link "$LINENO"; then : 36001 ac_cv_lib_cfile_libcfile_file_write_buffer=yes 36002else 36003 ac_cv_lib_cfile_libcfile_file_write_buffer=no 36004fi 36005rm -f core conftest.err conftest.$ac_objext \ 36006 conftest$ac_exeext conftest.$ac_ext 36007LIBS=$ac_check_lib_save_LIBS 36008fi 36009{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_write_buffer" >&5 36010$as_echo "$ac_cv_lib_cfile_libcfile_file_write_buffer" >&6; } 36011if test "x$ac_cv_lib_cfile_libcfile_file_write_buffer" = xyes; then : 36012 ac_cv_libcfile_dummy=yes 36013else 36014 ac_cv_libcfile=no 36015fi 36016 36017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_write_buffer_with_error_code in -lcfile" >&5 36018$as_echo_n "checking for libcfile_file_write_buffer_with_error_code in -lcfile... " >&6; } 36019if ${ac_cv_lib_cfile_libcfile_file_write_buffer_with_error_code+:} false; then : 36020 $as_echo_n "(cached) " >&6 36021else 36022 ac_check_lib_save_LIBS=$LIBS 36023LIBS="-lcfile $LIBS" 36024cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36025/* end confdefs.h. */ 36026 36027/* Override any GCC internal prototype to avoid an error. 36028 Use char because int might match the return type of a GCC 36029 builtin and then its argument prototype would still apply. */ 36030#ifdef __cplusplus 36031extern "C" 36032#endif 36033char libcfile_file_write_buffer_with_error_code (); 36034int 36035main () 36036{ 36037return libcfile_file_write_buffer_with_error_code (); 36038 ; 36039 return 0; 36040} 36041_ACEOF 36042if ac_fn_c_try_link "$LINENO"; then : 36043 ac_cv_lib_cfile_libcfile_file_write_buffer_with_error_code=yes 36044else 36045 ac_cv_lib_cfile_libcfile_file_write_buffer_with_error_code=no 36046fi 36047rm -f core conftest.err conftest.$ac_objext \ 36048 conftest$ac_exeext conftest.$ac_ext 36049LIBS=$ac_check_lib_save_LIBS 36050fi 36051{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_write_buffer_with_error_code" >&5 36052$as_echo "$ac_cv_lib_cfile_libcfile_file_write_buffer_with_error_code" >&6; } 36053if test "x$ac_cv_lib_cfile_libcfile_file_write_buffer_with_error_code" = xyes; then : 36054 ac_cv_libcfile_dummy=yes 36055else 36056 ac_cv_libcfile=no 36057fi 36058 36059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_seek_offset in -lcfile" >&5 36060$as_echo_n "checking for libcfile_file_seek_offset in -lcfile... " >&6; } 36061if ${ac_cv_lib_cfile_libcfile_file_seek_offset+:} false; then : 36062 $as_echo_n "(cached) " >&6 36063else 36064 ac_check_lib_save_LIBS=$LIBS 36065LIBS="-lcfile $LIBS" 36066cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36067/* end confdefs.h. */ 36068 36069/* Override any GCC internal prototype to avoid an error. 36070 Use char because int might match the return type of a GCC 36071 builtin and then its argument prototype would still apply. */ 36072#ifdef __cplusplus 36073extern "C" 36074#endif 36075char libcfile_file_seek_offset (); 36076int 36077main () 36078{ 36079return libcfile_file_seek_offset (); 36080 ; 36081 return 0; 36082} 36083_ACEOF 36084if ac_fn_c_try_link "$LINENO"; then : 36085 ac_cv_lib_cfile_libcfile_file_seek_offset=yes 36086else 36087 ac_cv_lib_cfile_libcfile_file_seek_offset=no 36088fi 36089rm -f core conftest.err conftest.$ac_objext \ 36090 conftest$ac_exeext conftest.$ac_ext 36091LIBS=$ac_check_lib_save_LIBS 36092fi 36093{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_seek_offset" >&5 36094$as_echo "$ac_cv_lib_cfile_libcfile_file_seek_offset" >&6; } 36095if test "x$ac_cv_lib_cfile_libcfile_file_seek_offset" = xyes; then : 36096 ac_cv_libcfile_dummy=yes 36097else 36098 ac_cv_libcfile=no 36099fi 36100 36101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_resize in -lcfile" >&5 36102$as_echo_n "checking for libcfile_file_resize in -lcfile... " >&6; } 36103if ${ac_cv_lib_cfile_libcfile_file_resize+:} false; then : 36104 $as_echo_n "(cached) " >&6 36105else 36106 ac_check_lib_save_LIBS=$LIBS 36107LIBS="-lcfile $LIBS" 36108cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36109/* end confdefs.h. */ 36110 36111/* Override any GCC internal prototype to avoid an error. 36112 Use char because int might match the return type of a GCC 36113 builtin and then its argument prototype would still apply. */ 36114#ifdef __cplusplus 36115extern "C" 36116#endif 36117char libcfile_file_resize (); 36118int 36119main () 36120{ 36121return libcfile_file_resize (); 36122 ; 36123 return 0; 36124} 36125_ACEOF 36126if ac_fn_c_try_link "$LINENO"; then : 36127 ac_cv_lib_cfile_libcfile_file_resize=yes 36128else 36129 ac_cv_lib_cfile_libcfile_file_resize=no 36130fi 36131rm -f core conftest.err conftest.$ac_objext \ 36132 conftest$ac_exeext conftest.$ac_ext 36133LIBS=$ac_check_lib_save_LIBS 36134fi 36135{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_resize" >&5 36136$as_echo "$ac_cv_lib_cfile_libcfile_file_resize" >&6; } 36137if test "x$ac_cv_lib_cfile_libcfile_file_resize" = xyes; then : 36138 ac_cv_libcfile_dummy=yes 36139else 36140 ac_cv_libcfile=no 36141fi 36142 36143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_is_open in -lcfile" >&5 36144$as_echo_n "checking for libcfile_file_is_open in -lcfile... " >&6; } 36145if ${ac_cv_lib_cfile_libcfile_file_is_open+:} false; then : 36146 $as_echo_n "(cached) " >&6 36147else 36148 ac_check_lib_save_LIBS=$LIBS 36149LIBS="-lcfile $LIBS" 36150cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36151/* end confdefs.h. */ 36152 36153/* Override any GCC internal prototype to avoid an error. 36154 Use char because int might match the return type of a GCC 36155 builtin and then its argument prototype would still apply. */ 36156#ifdef __cplusplus 36157extern "C" 36158#endif 36159char libcfile_file_is_open (); 36160int 36161main () 36162{ 36163return libcfile_file_is_open (); 36164 ; 36165 return 0; 36166} 36167_ACEOF 36168if ac_fn_c_try_link "$LINENO"; then : 36169 ac_cv_lib_cfile_libcfile_file_is_open=yes 36170else 36171 ac_cv_lib_cfile_libcfile_file_is_open=no 36172fi 36173rm -f core conftest.err conftest.$ac_objext \ 36174 conftest$ac_exeext conftest.$ac_ext 36175LIBS=$ac_check_lib_save_LIBS 36176fi 36177{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_is_open" >&5 36178$as_echo "$ac_cv_lib_cfile_libcfile_file_is_open" >&6; } 36179if test "x$ac_cv_lib_cfile_libcfile_file_is_open" = xyes; then : 36180 ac_cv_libcfile_dummy=yes 36181else 36182 ac_cv_libcfile=no 36183fi 36184 36185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_get_offset in -lcfile" >&5 36186$as_echo_n "checking for libcfile_file_get_offset in -lcfile... " >&6; } 36187if ${ac_cv_lib_cfile_libcfile_file_get_offset+:} false; then : 36188 $as_echo_n "(cached) " >&6 36189else 36190 ac_check_lib_save_LIBS=$LIBS 36191LIBS="-lcfile $LIBS" 36192cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36193/* end confdefs.h. */ 36194 36195/* Override any GCC internal prototype to avoid an error. 36196 Use char because int might match the return type of a GCC 36197 builtin and then its argument prototype would still apply. */ 36198#ifdef __cplusplus 36199extern "C" 36200#endif 36201char libcfile_file_get_offset (); 36202int 36203main () 36204{ 36205return libcfile_file_get_offset (); 36206 ; 36207 return 0; 36208} 36209_ACEOF 36210if ac_fn_c_try_link "$LINENO"; then : 36211 ac_cv_lib_cfile_libcfile_file_get_offset=yes 36212else 36213 ac_cv_lib_cfile_libcfile_file_get_offset=no 36214fi 36215rm -f core conftest.err conftest.$ac_objext \ 36216 conftest$ac_exeext conftest.$ac_ext 36217LIBS=$ac_check_lib_save_LIBS 36218fi 36219{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_get_offset" >&5 36220$as_echo "$ac_cv_lib_cfile_libcfile_file_get_offset" >&6; } 36221if test "x$ac_cv_lib_cfile_libcfile_file_get_offset" = xyes; then : 36222 ac_cv_libcfile_dummy=yes 36223else 36224 ac_cv_libcfile=no 36225fi 36226 36227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_get_size in -lcfile" >&5 36228$as_echo_n "checking for libcfile_file_get_size in -lcfile... " >&6; } 36229if ${ac_cv_lib_cfile_libcfile_file_get_size+:} false; then : 36230 $as_echo_n "(cached) " >&6 36231else 36232 ac_check_lib_save_LIBS=$LIBS 36233LIBS="-lcfile $LIBS" 36234cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36235/* end confdefs.h. */ 36236 36237/* Override any GCC internal prototype to avoid an error. 36238 Use char because int might match the return type of a GCC 36239 builtin and then its argument prototype would still apply. */ 36240#ifdef __cplusplus 36241extern "C" 36242#endif 36243char libcfile_file_get_size (); 36244int 36245main () 36246{ 36247return libcfile_file_get_size (); 36248 ; 36249 return 0; 36250} 36251_ACEOF 36252if ac_fn_c_try_link "$LINENO"; then : 36253 ac_cv_lib_cfile_libcfile_file_get_size=yes 36254else 36255 ac_cv_lib_cfile_libcfile_file_get_size=no 36256fi 36257rm -f core conftest.err conftest.$ac_objext \ 36258 conftest$ac_exeext conftest.$ac_ext 36259LIBS=$ac_check_lib_save_LIBS 36260fi 36261{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_get_size" >&5 36262$as_echo "$ac_cv_lib_cfile_libcfile_file_get_size" >&6; } 36263if test "x$ac_cv_lib_cfile_libcfile_file_get_size" = xyes; then : 36264 ac_cv_libcfile_dummy=yes 36265else 36266 ac_cv_libcfile=no 36267fi 36268 36269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_is_device in -lcfile" >&5 36270$as_echo_n "checking for libcfile_file_is_device in -lcfile... " >&6; } 36271if ${ac_cv_lib_cfile_libcfile_file_is_device+:} false; then : 36272 $as_echo_n "(cached) " >&6 36273else 36274 ac_check_lib_save_LIBS=$LIBS 36275LIBS="-lcfile $LIBS" 36276cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36277/* end confdefs.h. */ 36278 36279/* Override any GCC internal prototype to avoid an error. 36280 Use char because int might match the return type of a GCC 36281 builtin and then its argument prototype would still apply. */ 36282#ifdef __cplusplus 36283extern "C" 36284#endif 36285char libcfile_file_is_device (); 36286int 36287main () 36288{ 36289return libcfile_file_is_device (); 36290 ; 36291 return 0; 36292} 36293_ACEOF 36294if ac_fn_c_try_link "$LINENO"; then : 36295 ac_cv_lib_cfile_libcfile_file_is_device=yes 36296else 36297 ac_cv_lib_cfile_libcfile_file_is_device=no 36298fi 36299rm -f core conftest.err conftest.$ac_objext \ 36300 conftest$ac_exeext conftest.$ac_ext 36301LIBS=$ac_check_lib_save_LIBS 36302fi 36303{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_is_device" >&5 36304$as_echo "$ac_cv_lib_cfile_libcfile_file_is_device" >&6; } 36305if test "x$ac_cv_lib_cfile_libcfile_file_is_device" = xyes; then : 36306 ac_cv_libcfile_dummy=yes 36307else 36308 ac_cv_libcfile=no 36309fi 36310 36311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_io_control_read in -lcfile" >&5 36312$as_echo_n "checking for libcfile_file_io_control_read in -lcfile... " >&6; } 36313if ${ac_cv_lib_cfile_libcfile_file_io_control_read+:} false; then : 36314 $as_echo_n "(cached) " >&6 36315else 36316 ac_check_lib_save_LIBS=$LIBS 36317LIBS="-lcfile $LIBS" 36318cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36319/* end confdefs.h. */ 36320 36321/* Override any GCC internal prototype to avoid an error. 36322 Use char because int might match the return type of a GCC 36323 builtin and then its argument prototype would still apply. */ 36324#ifdef __cplusplus 36325extern "C" 36326#endif 36327char libcfile_file_io_control_read (); 36328int 36329main () 36330{ 36331return libcfile_file_io_control_read (); 36332 ; 36333 return 0; 36334} 36335_ACEOF 36336if ac_fn_c_try_link "$LINENO"; then : 36337 ac_cv_lib_cfile_libcfile_file_io_control_read=yes 36338else 36339 ac_cv_lib_cfile_libcfile_file_io_control_read=no 36340fi 36341rm -f core conftest.err conftest.$ac_objext \ 36342 conftest$ac_exeext conftest.$ac_ext 36343LIBS=$ac_check_lib_save_LIBS 36344fi 36345{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_io_control_read" >&5 36346$as_echo "$ac_cv_lib_cfile_libcfile_file_io_control_read" >&6; } 36347if test "x$ac_cv_lib_cfile_libcfile_file_io_control_read" = xyes; then : 36348 ac_cv_libcfile_dummy=yes 36349else 36350 ac_cv_libcfile=no 36351fi 36352 36353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_io_control_read_with_error_code in -lcfile" >&5 36354$as_echo_n "checking for libcfile_file_io_control_read_with_error_code in -lcfile... " >&6; } 36355if ${ac_cv_lib_cfile_libcfile_file_io_control_read_with_error_code+:} false; then : 36356 $as_echo_n "(cached) " >&6 36357else 36358 ac_check_lib_save_LIBS=$LIBS 36359LIBS="-lcfile $LIBS" 36360cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36361/* end confdefs.h. */ 36362 36363/* Override any GCC internal prototype to avoid an error. 36364 Use char because int might match the return type of a GCC 36365 builtin and then its argument prototype would still apply. */ 36366#ifdef __cplusplus 36367extern "C" 36368#endif 36369char libcfile_file_io_control_read_with_error_code (); 36370int 36371main () 36372{ 36373return libcfile_file_io_control_read_with_error_code (); 36374 ; 36375 return 0; 36376} 36377_ACEOF 36378if ac_fn_c_try_link "$LINENO"; then : 36379 ac_cv_lib_cfile_libcfile_file_io_control_read_with_error_code=yes 36380else 36381 ac_cv_lib_cfile_libcfile_file_io_control_read_with_error_code=no 36382fi 36383rm -f core conftest.err conftest.$ac_objext \ 36384 conftest$ac_exeext conftest.$ac_ext 36385LIBS=$ac_check_lib_save_LIBS 36386fi 36387{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_io_control_read_with_error_code" >&5 36388$as_echo "$ac_cv_lib_cfile_libcfile_file_io_control_read_with_error_code" >&6; } 36389if test "x$ac_cv_lib_cfile_libcfile_file_io_control_read_with_error_code" = xyes; then : 36390 ac_cv_libcfile_dummy=yes 36391else 36392 ac_cv_libcfile=no 36393fi 36394 36395 36396 if test "x$ac_cv_enable_wide_character_type" != xno; then : 36397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_open_wide in -lcfile" >&5 36398$as_echo_n "checking for libcfile_file_open_wide in -lcfile... " >&6; } 36399if ${ac_cv_lib_cfile_libcfile_file_open_wide+:} false; then : 36400 $as_echo_n "(cached) " >&6 36401else 36402 ac_check_lib_save_LIBS=$LIBS 36403LIBS="-lcfile $LIBS" 36404cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36405/* end confdefs.h. */ 36406 36407/* Override any GCC internal prototype to avoid an error. 36408 Use char because int might match the return type of a GCC 36409 builtin and then its argument prototype would still apply. */ 36410#ifdef __cplusplus 36411extern "C" 36412#endif 36413char libcfile_file_open_wide (); 36414int 36415main () 36416{ 36417return libcfile_file_open_wide (); 36418 ; 36419 return 0; 36420} 36421_ACEOF 36422if ac_fn_c_try_link "$LINENO"; then : 36423 ac_cv_lib_cfile_libcfile_file_open_wide=yes 36424else 36425 ac_cv_lib_cfile_libcfile_file_open_wide=no 36426fi 36427rm -f core conftest.err conftest.$ac_objext \ 36428 conftest$ac_exeext conftest.$ac_ext 36429LIBS=$ac_check_lib_save_LIBS 36430fi 36431{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_open_wide" >&5 36432$as_echo "$ac_cv_lib_cfile_libcfile_file_open_wide" >&6; } 36433if test "x$ac_cv_lib_cfile_libcfile_file_open_wide" = xyes; then : 36434 ac_cv_libcfile_dummy=yes 36435else 36436 ac_cv_libcfile=no 36437fi 36438 36439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_open_wide_with_error_code in -lcfile" >&5 36440$as_echo_n "checking for libcfile_file_open_wide_with_error_code in -lcfile... " >&6; } 36441if ${ac_cv_lib_cfile_libcfile_file_open_wide_with_error_code+:} false; then : 36442 $as_echo_n "(cached) " >&6 36443else 36444 ac_check_lib_save_LIBS=$LIBS 36445LIBS="-lcfile $LIBS" 36446cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36447/* end confdefs.h. */ 36448 36449/* Override any GCC internal prototype to avoid an error. 36450 Use char because int might match the return type of a GCC 36451 builtin and then its argument prototype would still apply. */ 36452#ifdef __cplusplus 36453extern "C" 36454#endif 36455char libcfile_file_open_wide_with_error_code (); 36456int 36457main () 36458{ 36459return libcfile_file_open_wide_with_error_code (); 36460 ; 36461 return 0; 36462} 36463_ACEOF 36464if ac_fn_c_try_link "$LINENO"; then : 36465 ac_cv_lib_cfile_libcfile_file_open_wide_with_error_code=yes 36466else 36467 ac_cv_lib_cfile_libcfile_file_open_wide_with_error_code=no 36468fi 36469rm -f core conftest.err conftest.$ac_objext \ 36470 conftest$ac_exeext conftest.$ac_ext 36471LIBS=$ac_check_lib_save_LIBS 36472fi 36473{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_open_wide_with_error_code" >&5 36474$as_echo "$ac_cv_lib_cfile_libcfile_file_open_wide_with_error_code" >&6; } 36475if test "x$ac_cv_lib_cfile_libcfile_file_open_wide_with_error_code" = xyes; then : 36476 ac_cv_libcfile_dummy=yes 36477else 36478 ac_cv_libcfile=no 36479fi 36480 36481 36482fi 36483 36484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_exists in -lcfile" >&5 36485$as_echo_n "checking for libcfile_file_exists in -lcfile... " >&6; } 36486if ${ac_cv_lib_cfile_libcfile_file_exists+:} false; then : 36487 $as_echo_n "(cached) " >&6 36488else 36489 ac_check_lib_save_LIBS=$LIBS 36490LIBS="-lcfile $LIBS" 36491cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36492/* end confdefs.h. */ 36493 36494/* Override any GCC internal prototype to avoid an error. 36495 Use char because int might match the return type of a GCC 36496 builtin and then its argument prototype would still apply. */ 36497#ifdef __cplusplus 36498extern "C" 36499#endif 36500char libcfile_file_exists (); 36501int 36502main () 36503{ 36504return libcfile_file_exists (); 36505 ; 36506 return 0; 36507} 36508_ACEOF 36509if ac_fn_c_try_link "$LINENO"; then : 36510 ac_cv_lib_cfile_libcfile_file_exists=yes 36511else 36512 ac_cv_lib_cfile_libcfile_file_exists=no 36513fi 36514rm -f core conftest.err conftest.$ac_objext \ 36515 conftest$ac_exeext conftest.$ac_ext 36516LIBS=$ac_check_lib_save_LIBS 36517fi 36518{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_exists" >&5 36519$as_echo "$ac_cv_lib_cfile_libcfile_file_exists" >&6; } 36520if test "x$ac_cv_lib_cfile_libcfile_file_exists" = xyes; then : 36521 ac_cv_libcfile_dummy=yes 36522else 36523 ac_cv_libcfile=no 36524fi 36525 36526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_remove in -lcfile" >&5 36527$as_echo_n "checking for libcfile_file_remove in -lcfile... " >&6; } 36528if ${ac_cv_lib_cfile_libcfile_file_remove+:} false; then : 36529 $as_echo_n "(cached) " >&6 36530else 36531 ac_check_lib_save_LIBS=$LIBS 36532LIBS="-lcfile $LIBS" 36533cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36534/* end confdefs.h. */ 36535 36536/* Override any GCC internal prototype to avoid an error. 36537 Use char because int might match the return type of a GCC 36538 builtin and then its argument prototype would still apply. */ 36539#ifdef __cplusplus 36540extern "C" 36541#endif 36542char libcfile_file_remove (); 36543int 36544main () 36545{ 36546return libcfile_file_remove (); 36547 ; 36548 return 0; 36549} 36550_ACEOF 36551if ac_fn_c_try_link "$LINENO"; then : 36552 ac_cv_lib_cfile_libcfile_file_remove=yes 36553else 36554 ac_cv_lib_cfile_libcfile_file_remove=no 36555fi 36556rm -f core conftest.err conftest.$ac_objext \ 36557 conftest$ac_exeext conftest.$ac_ext 36558LIBS=$ac_check_lib_save_LIBS 36559fi 36560{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_remove" >&5 36561$as_echo "$ac_cv_lib_cfile_libcfile_file_remove" >&6; } 36562if test "x$ac_cv_lib_cfile_libcfile_file_remove" = xyes; then : 36563 ac_cv_libcfile_dummy=yes 36564else 36565 ac_cv_libcfile=no 36566fi 36567 36568 36569 if test "x$ac_cv_enable_wide_character_type" != xno; then : 36570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_exists_wide in -lcfile" >&5 36571$as_echo_n "checking for libcfile_file_exists_wide in -lcfile... " >&6; } 36572if ${ac_cv_lib_cfile_libcfile_file_exists_wide+:} false; then : 36573 $as_echo_n "(cached) " >&6 36574else 36575 ac_check_lib_save_LIBS=$LIBS 36576LIBS="-lcfile $LIBS" 36577cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36578/* end confdefs.h. */ 36579 36580/* Override any GCC internal prototype to avoid an error. 36581 Use char because int might match the return type of a GCC 36582 builtin and then its argument prototype would still apply. */ 36583#ifdef __cplusplus 36584extern "C" 36585#endif 36586char libcfile_file_exists_wide (); 36587int 36588main () 36589{ 36590return libcfile_file_exists_wide (); 36591 ; 36592 return 0; 36593} 36594_ACEOF 36595if ac_fn_c_try_link "$LINENO"; then : 36596 ac_cv_lib_cfile_libcfile_file_exists_wide=yes 36597else 36598 ac_cv_lib_cfile_libcfile_file_exists_wide=no 36599fi 36600rm -f core conftest.err conftest.$ac_objext \ 36601 conftest$ac_exeext conftest.$ac_ext 36602LIBS=$ac_check_lib_save_LIBS 36603fi 36604{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_exists_wide" >&5 36605$as_echo "$ac_cv_lib_cfile_libcfile_file_exists_wide" >&6; } 36606if test "x$ac_cv_lib_cfile_libcfile_file_exists_wide" = xyes; then : 36607 ac_cv_libcfile_dummy=yes 36608else 36609 ac_cv_libcfile=no 36610fi 36611 36612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_remove_wide in -lcfile" >&5 36613$as_echo_n "checking for libcfile_file_remove_wide in -lcfile... " >&6; } 36614if ${ac_cv_lib_cfile_libcfile_file_remove_wide+:} false; then : 36615 $as_echo_n "(cached) " >&6 36616else 36617 ac_check_lib_save_LIBS=$LIBS 36618LIBS="-lcfile $LIBS" 36619cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36620/* end confdefs.h. */ 36621 36622/* Override any GCC internal prototype to avoid an error. 36623 Use char because int might match the return type of a GCC 36624 builtin and then its argument prototype would still apply. */ 36625#ifdef __cplusplus 36626extern "C" 36627#endif 36628char libcfile_file_remove_wide (); 36629int 36630main () 36631{ 36632return libcfile_file_remove_wide (); 36633 ; 36634 return 0; 36635} 36636_ACEOF 36637if ac_fn_c_try_link "$LINENO"; then : 36638 ac_cv_lib_cfile_libcfile_file_remove_wide=yes 36639else 36640 ac_cv_lib_cfile_libcfile_file_remove_wide=no 36641fi 36642rm -f core conftest.err conftest.$ac_objext \ 36643 conftest$ac_exeext conftest.$ac_ext 36644LIBS=$ac_check_lib_save_LIBS 36645fi 36646{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_remove_wide" >&5 36647$as_echo "$ac_cv_lib_cfile_libcfile_file_remove_wide" >&6; } 36648if test "x$ac_cv_lib_cfile_libcfile_file_remove_wide" = xyes; then : 36649 ac_cv_libcfile_dummy=yes 36650else 36651 ac_cv_libcfile=no 36652fi 36653 36654 36655fi 36656 36657 ac_cv_libcfile_LIBADD="-lcfile" 36658fi 36659 36660fi 36661 if test "x$ac_cv_with_libcfile" != x && test "x$ac_cv_with_libcfile" != xauto-detect && test "x$ac_cv_libcfile" != xyes; then : 36662 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36663$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36664as_fn_error 1 "unable to find supported libcfile in directory: $ac_cv_with_libcfile 36665See \`config.log' for more details" "$LINENO" 5; } 36666 36667fi 36668 36669fi 36670 36671 if test "x$ac_cv_libcfile" = xyes; then : 36672 36673$as_echo "#define HAVE_LIBCFILE 1" >>confdefs.h 36674 36675 36676fi 36677 36678 if test "x$ac_cv_libcfile" = xyes; then : 36679 HAVE_LIBCFILE=1 36680 36681else 36682 HAVE_LIBCFILE=0 36683 36684 36685fi 36686 36687 36688 if test "x$ac_cv_libcfile" != xyes; then : 36689 for ac_header in errno.h stdio.h sys/stat.h 36690do : 36691 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 36692ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 36693if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 36694 cat >>confdefs.h <<_ACEOF 36695#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 36696_ACEOF 36697 36698fi 36699 36700done 36701 36702 36703 for ac_header in cygwin/fs.h fcntl.h linux/fs.h sys/disk.h sys/disklabel.h sys/ioctl.h unistd.h 36704do : 36705 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 36706ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 36707if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 36708 cat >>confdefs.h <<_ACEOF 36709#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 36710_ACEOF 36711 36712fi 36713 36714done 36715 36716 36717 for ac_func in close fstat ftruncate ioctl lseek open read write 36718do : 36719 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 36720ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 36721if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 36722 cat >>confdefs.h <<_ACEOF 36723#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 36724_ACEOF 36725 36726fi 36727done 36728 36729 36730 if test "x$ac_cv_func_close" != xyes; then : 36731 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36732$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36733as_fn_error 1 "Missing function: close 36734See \`config.log' for more details" "$LINENO" 5; } 36735 36736fi 36737 36738 for ac_func in posix_fadvise 36739do : 36740 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise" 36741if test "x$ac_cv_func_posix_fadvise" = xyes; then : 36742 cat >>confdefs.h <<_ACEOF 36743#define HAVE_POSIX_FADVISE 1 36744_ACEOF 36745 36746fi 36747done 36748 36749 36750 if test "x$ac_cv_func_posix_fadvise" = xyes; then : 36751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether posix_fadvise can be linked" >&5 36752$as_echo_n "checking whether posix_fadvise can be linked... " >&6; } 36753 36754 SAVE_CFLAGS="$CFLAGS" 36755 CFLAGS="$CFLAGS -Wall -Werror" 36756 ac_ext=c 36757ac_cpp='$CPP $CPPFLAGS' 36758ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 36759ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 36760ac_compiler_gnu=$ac_cv_c_compiler_gnu 36761 36762 36763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36764/* end confdefs.h. */ 36765#include <fcntl.h> 36766int 36767main () 36768{ 36769#if !defined( POSIX_FADV_SEQUENTIAL ) 36770#define POSIX_FADV_SEQUENTIAL 2 36771#endif 36772posix_fadvise( 0, 0, 0, POSIX_FADV_SEQUENTIAL ) 36773 ; 36774 return 0; 36775} 36776_ACEOF 36777if ac_fn_c_try_link "$LINENO"; then : 36778 ac_cv_func_posix_fadvise=yes 36779else 36780 ac_cv_func_posix_fadvise=no 36781fi 36782rm -f core conftest.err conftest.$ac_objext \ 36783 conftest$ac_exeext conftest.$ac_ext 36784 36785 ac_ext=c 36786ac_cpp='$CPP $CPPFLAGS' 36787ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 36788ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 36789ac_compiler_gnu=$ac_cv_c_compiler_gnu 36790 36791 CFLAGS="$SAVE_CFLAGS" 36792 36793 if test "x$ac_cv_func_posix_fadvise" = xyes; then : 36794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 36795$as_echo "yes" >&6; } 36796 36797$as_echo "#define HAVE_POSIX_FADVISE 1" >>confdefs.h 36798 36799else 36800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 36801$as_echo "no" >&6; } 36802fi 36803 36804fi 36805 36806 36807 if test "x$ac_cv_func_fstat" != xyes; then : 36808 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36809$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36810as_fn_error 1 "Missing function: fstat 36811See \`config.log' for more details" "$LINENO" 5; } 36812 36813fi 36814 36815 if test "x$ac_cv_func_ftruncate" != xyes; then : 36816 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36817$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36818as_fn_error 1 "Missing function: ftruncate 36819See \`config.log' for more details" "$LINENO" 5; } 36820 36821fi 36822 36823 if test x"$ac_cv_enable_winapi" = xno; then : 36824 if test "x$ac_cv_func_ioctl" != xyes; then : 36825 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36826$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36827as_fn_error 1 "Missing function: ioctl 36828See \`config.log' for more details" "$LINENO" 5; } 36829 36830fi 36831 36832fi 36833 36834 if test "x$ac_cv_func_lseek" != xyes; then : 36835 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36836$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36837as_fn_error 1 "Missing function: lseek 36838See \`config.log' for more details" "$LINENO" 5; } 36839 36840fi 36841 36842 if test "x$ac_cv_func_open" != xyes; then : 36843 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36844$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36845as_fn_error 1 "Missing function: open 36846See \`config.log' for more details" "$LINENO" 5; } 36847 36848fi 36849 36850 if test "x$ac_cv_func_read" != xyes; then : 36851 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36852$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36853as_fn_error 1 "Missing function: read 36854See \`config.log' for more details" "$LINENO" 5; } 36855 36856fi 36857 36858 if test "x$ac_cv_func_write" != 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: write 36862See \`config.log' for more details" "$LINENO" 5; } 36863 36864fi 36865 36866 for ac_func in stat unlink 36867do : 36868 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 36869ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 36870if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 36871 cat >>confdefs.h <<_ACEOF 36872#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 36873_ACEOF 36874 36875fi 36876done 36877 36878 36879 if test "x$ac_cv_func_stat" != xyes; then : 36880 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36881$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36882as_fn_error 1 "Missing function: stat 36883See \`config.log' for more details" "$LINENO" 5; } 36884 36885fi 36886 36887 if test "x$ac_cv_func_unlink" != xyes; then : 36888 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36889$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36890as_fn_error 1 "Missing function: unlink 36891See \`config.log' for more details" "$LINENO" 5; } 36892 36893fi 36894 36895 ac_cv_libcfile_CPPFLAGS="-I../libcfile"; 36896 ac_cv_libcfile_LIBADD="../libcfile/libcfile.la"; 36897 36898 ac_cv_libcfile=local 36899 36900 36901 36902$as_echo "#define HAVE_LOCAL_LIBCFILE 1" >>confdefs.h 36903 36904 HAVE_LOCAL_LIBCFILE=1 36905 36906 36907fi 36908 36909 if test "x$ac_cv_libcfile" = xlocal; then 36910 HAVE_LOCAL_LIBCFILE_TRUE= 36911 HAVE_LOCAL_LIBCFILE_FALSE='#' 36912else 36913 HAVE_LOCAL_LIBCFILE_TRUE='#' 36914 HAVE_LOCAL_LIBCFILE_FALSE= 36915fi 36916 36917 if test "x$ac_cv_libcfile_CPPFLAGS" != "x"; then : 36918 LIBCFILE_CPPFLAGS=$ac_cv_libcfile_CPPFLAGS 36919 36920 36921fi 36922 if test "x$ac_cv_libcfile_LIBADD" != "x"; then : 36923 LIBCFILE_LIBADD=$ac_cv_libcfile_LIBADD 36924 36925 36926fi 36927 36928 if test "x$ac_cv_libcfile" = xyes; then : 36929 ax_libcfile_pc_libs_private=-lcfile 36930 36931 36932fi 36933 36934 if test "x$ac_cv_libcfile" = xyes; then : 36935 ax_libcfile_spec_requires=libcfile 36936 36937 ax_libcfile_spec_build_requires=libcfile-devel 36938 36939 36940fi 36941 36942 36943 36944 36945# Check whether --with-libcpath was given. 36946if test "${with_libcpath+set}" = set; then : 36947 withval=$with_libcpath; ac_cv_with_libcpath=$withval 36948else 36949 ac_cv_with_libcpath=auto-detect 36950fi 36951 36952 { $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 36953$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; } 36954if ${ac_cv_with_libcpath+:} false; then : 36955 $as_echo_n "(cached) " >&6 36956else 36957 ac_cv_with_libcpath=auto-detect 36958fi 36959{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libcpath" >&5 36960$as_echo "$ac_cv_with_libcpath" >&6; } 36961 36962 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libcpath" = xno; then : 36963 ac_cv_libcpath=no 36964else 36965 ac_cv_libcpath=check 36966 if test "x$ac_cv_with_libcpath" != x && test "x$ac_cv_with_libcpath" != xauto-detect; then : 36967 if test -d "$ac_cv_with_libcpath"; then : 36968 CFLAGS="$CFLAGS -I${ac_cv_with_libcpath}/include" 36969 LDFLAGS="$LDFLAGS -L${ac_cv_with_libcpath}/lib" 36970else 36971 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36972$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36973as_fn_error 1 "no such directory: $ac_cv_with_libcpath 36974See \`config.log' for more details" "$LINENO" 5; } 36975 36976fi 36977 36978else 36979 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 36980 36981pkg_failed=no 36982{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath" >&5 36983$as_echo_n "checking for libcpath... " >&6; } 36984 36985if test -n "$libcpath_CFLAGS"; then 36986 pkg_cv_libcpath_CFLAGS="$libcpath_CFLAGS" 36987 elif test -n "$PKG_CONFIG"; then 36988 if test -n "$PKG_CONFIG" && \ 36989 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcpath >= 20180716\""; } >&5 36990 ($PKG_CONFIG --exists --print-errors "libcpath >= 20180716") 2>&5 36991 ac_status=$? 36992 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 36993 test $ac_status = 0; }; then 36994 pkg_cv_libcpath_CFLAGS=`$PKG_CONFIG --cflags "libcpath >= 20180716" 2>/dev/null` 36995 test "x$?" != "x0" && pkg_failed=yes 36996else 36997 pkg_failed=yes 36998fi 36999 else 37000 pkg_failed=untried 37001fi 37002if test -n "$libcpath_LIBS"; then 37003 pkg_cv_libcpath_LIBS="$libcpath_LIBS" 37004 elif test -n "$PKG_CONFIG"; then 37005 if test -n "$PKG_CONFIG" && \ 37006 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcpath >= 20180716\""; } >&5 37007 ($PKG_CONFIG --exists --print-errors "libcpath >= 20180716") 2>&5 37008 ac_status=$? 37009 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 37010 test $ac_status = 0; }; then 37011 pkg_cv_libcpath_LIBS=`$PKG_CONFIG --libs "libcpath >= 20180716" 2>/dev/null` 37012 test "x$?" != "x0" && pkg_failed=yes 37013else 37014 pkg_failed=yes 37015fi 37016 else 37017 pkg_failed=untried 37018fi 37019 37020 37021 37022if test $pkg_failed = yes; then 37023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 37024$as_echo "no" >&6; } 37025 37026if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 37027 _pkg_short_errors_supported=yes 37028else 37029 _pkg_short_errors_supported=no 37030fi 37031 if test $_pkg_short_errors_supported = yes; then 37032 libcpath_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcpath >= 20180716" 2>&1` 37033 else 37034 libcpath_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcpath >= 20180716" 2>&1` 37035 fi 37036 # Put the nasty error message in config.log where it belongs 37037 echo "$libcpath_PKG_ERRORS" >&5 37038 37039 ac_cv_libcpath=check 37040elif test $pkg_failed = untried; then 37041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 37042$as_echo "no" >&6; } 37043 ac_cv_libcpath=check 37044else 37045 libcpath_CFLAGS=$pkg_cv_libcpath_CFLAGS 37046 libcpath_LIBS=$pkg_cv_libcpath_LIBS 37047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 37048$as_echo "yes" >&6; } 37049 ac_cv_libcpath=yes 37050fi 37051 37052fi 37053 if test "x$ac_cv_libcpath" = xyes && test "x$ac_cv_enable_wide_character_type" != xno; then : 37054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libcpath/features.h defines LIBCPATH_HAVE_WIDE_CHARACTER_TYPE as 1" >&5 37055$as_echo_n "checking whether libcpath/features.h defines LIBCPATH_HAVE_WIDE_CHARACTER_TYPE as 1... " >&6; } 37056if ${ac_cv_header_libcpath_features_h_have_wide_character_type+:} false; then : 37057 $as_echo_n "(cached) " >&6 37058else 37059 ac_ext=c 37060ac_cpp='$CPP $CPPFLAGS' 37061ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 37062ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 37063ac_compiler_gnu=$ac_cv_c_compiler_gnu 37064 37065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37066/* end confdefs.h. */ 37067#include <libcpath/features.h> 37068int 37069main () 37070{ 37071#if !defined( LIBCPATH_HAVE_WIDE_CHARACTER_TYPE ) || ( LIBCPATH_HAVE_WIDE_CHARACTER_TYPE != 1 ) 37072#error LIBCPATH_HAVE_WIDE_CHARACTER_TYPE not defined 37073#endif 37074 ; 37075 return 0; 37076} 37077_ACEOF 37078if ac_fn_c_try_compile "$LINENO"; then : 37079 ac_cv_header_libcpath_features_h_have_wide_character_type=yes 37080else 37081 ac_cv_header_libcpath_features_h_have_wide_character_type=no 37082fi 37083rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 37084 ac_ext=c 37085ac_cpp='$CPP $CPPFLAGS' 37086ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 37087ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 37088ac_compiler_gnu=$ac_cv_c_compiler_gnu 37089 37090fi 37091{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_libcpath_features_h_have_wide_character_type" >&5 37092$as_echo "$ac_cv_header_libcpath_features_h_have_wide_character_type" >&6; } 37093 37094 if test "x$ac_cv_header_libcpath_features_h_have_wide_character_type" = xno; then : 37095 ac_cv_libcpath=no 37096fi 37097 37098fi 37099 if test "x$ac_cv_libcpath" = xyes; then : 37100 ac_cv_libcpath_CPPFLAGS="$pkg_cv_libcpath_CFLAGS" 37101 ac_cv_libcpath_LIBADD="$pkg_cv_libcpath_LIBS" 37102fi 37103 37104fi 37105 37106 if test "x$ac_cv_libcpath" = xcheck; then : 37107 for ac_header in libcpath.h 37108do : 37109 ac_fn_c_check_header_mongrel "$LINENO" "libcpath.h" "ac_cv_header_libcpath_h" "$ac_includes_default" 37110if test "x$ac_cv_header_libcpath_h" = xyes; then : 37111 cat >>confdefs.h <<_ACEOF 37112#define HAVE_LIBCPATH_H 1 37113_ACEOF 37114 37115fi 37116 37117done 37118 37119 37120 if test "x$ac_cv_header_libcpath_h" = xno; then : 37121 ac_cv_libcpath=no 37122else 37123 ac_cv_libcpath=yes 37124 37125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_get_version in -lcpath" >&5 37126$as_echo_n "checking for libcpath_get_version in -lcpath... " >&6; } 37127if ${ac_cv_lib_cpath_libcpath_get_version+:} false; then : 37128 $as_echo_n "(cached) " >&6 37129else 37130 ac_check_lib_save_LIBS=$LIBS 37131LIBS="-lcpath $LIBS" 37132cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37133/* end confdefs.h. */ 37134 37135/* Override any GCC internal prototype to avoid an error. 37136 Use char because int might match the return type of a GCC 37137 builtin and then its argument prototype would still apply. */ 37138#ifdef __cplusplus 37139extern "C" 37140#endif 37141char libcpath_get_version (); 37142int 37143main () 37144{ 37145return libcpath_get_version (); 37146 ; 37147 return 0; 37148} 37149_ACEOF 37150if ac_fn_c_try_link "$LINENO"; then : 37151 ac_cv_lib_cpath_libcpath_get_version=yes 37152else 37153 ac_cv_lib_cpath_libcpath_get_version=no 37154fi 37155rm -f core conftest.err conftest.$ac_objext \ 37156 conftest$ac_exeext conftest.$ac_ext 37157LIBS=$ac_check_lib_save_LIBS 37158fi 37159{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_get_version" >&5 37160$as_echo "$ac_cv_lib_cpath_libcpath_get_version" >&6; } 37161if test "x$ac_cv_lib_cpath_libcpath_get_version" = xyes; then : 37162 ac_cv_libcpath_dummy=yes 37163else 37164 ac_cv_libcpath=no 37165fi 37166 37167 37168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_change_directory in -lcpath" >&5 37169$as_echo_n "checking for libcpath_path_change_directory in -lcpath... " >&6; } 37170if ${ac_cv_lib_cpath_libcpath_path_change_directory+:} false; then : 37171 $as_echo_n "(cached) " >&6 37172else 37173 ac_check_lib_save_LIBS=$LIBS 37174LIBS="-lcpath $LIBS" 37175cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37176/* end confdefs.h. */ 37177 37178/* Override any GCC internal prototype to avoid an error. 37179 Use char because int might match the return type of a GCC 37180 builtin and then its argument prototype would still apply. */ 37181#ifdef __cplusplus 37182extern "C" 37183#endif 37184char libcpath_path_change_directory (); 37185int 37186main () 37187{ 37188return libcpath_path_change_directory (); 37189 ; 37190 return 0; 37191} 37192_ACEOF 37193if ac_fn_c_try_link "$LINENO"; then : 37194 ac_cv_lib_cpath_libcpath_path_change_directory=yes 37195else 37196 ac_cv_lib_cpath_libcpath_path_change_directory=no 37197fi 37198rm -f core conftest.err conftest.$ac_objext \ 37199 conftest$ac_exeext conftest.$ac_ext 37200LIBS=$ac_check_lib_save_LIBS 37201fi 37202{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_change_directory" >&5 37203$as_echo "$ac_cv_lib_cpath_libcpath_path_change_directory" >&6; } 37204if test "x$ac_cv_lib_cpath_libcpath_path_change_directory" = xyes; then : 37205 ac_cv_libcpath_dummy=yes 37206else 37207 ac_cv_libcpath=no 37208fi 37209 37210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_current_working_directory in -lcpath" >&5 37211$as_echo_n "checking for libcpath_path_get_current_working_directory in -lcpath... " >&6; } 37212if ${ac_cv_lib_cpath_libcpath_path_get_current_working_directory+:} false; then : 37213 $as_echo_n "(cached) " >&6 37214else 37215 ac_check_lib_save_LIBS=$LIBS 37216LIBS="-lcpath $LIBS" 37217cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37218/* end confdefs.h. */ 37219 37220/* Override any GCC internal prototype to avoid an error. 37221 Use char because int might match the return type of a GCC 37222 builtin and then its argument prototype would still apply. */ 37223#ifdef __cplusplus 37224extern "C" 37225#endif 37226char libcpath_path_get_current_working_directory (); 37227int 37228main () 37229{ 37230return libcpath_path_get_current_working_directory (); 37231 ; 37232 return 0; 37233} 37234_ACEOF 37235if ac_fn_c_try_link "$LINENO"; then : 37236 ac_cv_lib_cpath_libcpath_path_get_current_working_directory=yes 37237else 37238 ac_cv_lib_cpath_libcpath_path_get_current_working_directory=no 37239fi 37240rm -f core conftest.err conftest.$ac_objext \ 37241 conftest$ac_exeext conftest.$ac_ext 37242LIBS=$ac_check_lib_save_LIBS 37243fi 37244{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_current_working_directory" >&5 37245$as_echo "$ac_cv_lib_cpath_libcpath_path_get_current_working_directory" >&6; } 37246if test "x$ac_cv_lib_cpath_libcpath_path_get_current_working_directory" = xyes; then : 37247 ac_cv_libcpath_dummy=yes 37248else 37249 ac_cv_libcpath=no 37250fi 37251 37252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_full_path in -lcpath" >&5 37253$as_echo_n "checking for libcpath_path_get_full_path in -lcpath... " >&6; } 37254if ${ac_cv_lib_cpath_libcpath_path_get_full_path+:} false; then : 37255 $as_echo_n "(cached) " >&6 37256else 37257 ac_check_lib_save_LIBS=$LIBS 37258LIBS="-lcpath $LIBS" 37259cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37260/* end confdefs.h. */ 37261 37262/* Override any GCC internal prototype to avoid an error. 37263 Use char because int might match the return type of a GCC 37264 builtin and then its argument prototype would still apply. */ 37265#ifdef __cplusplus 37266extern "C" 37267#endif 37268char libcpath_path_get_full_path (); 37269int 37270main () 37271{ 37272return libcpath_path_get_full_path (); 37273 ; 37274 return 0; 37275} 37276_ACEOF 37277if ac_fn_c_try_link "$LINENO"; then : 37278 ac_cv_lib_cpath_libcpath_path_get_full_path=yes 37279else 37280 ac_cv_lib_cpath_libcpath_path_get_full_path=no 37281fi 37282rm -f core conftest.err conftest.$ac_objext \ 37283 conftest$ac_exeext conftest.$ac_ext 37284LIBS=$ac_check_lib_save_LIBS 37285fi 37286{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_full_path" >&5 37287$as_echo "$ac_cv_lib_cpath_libcpath_path_get_full_path" >&6; } 37288if test "x$ac_cv_lib_cpath_libcpath_path_get_full_path" = xyes; then : 37289 ac_cv_libcpath_dummy=yes 37290else 37291 ac_cv_libcpath=no 37292fi 37293 37294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_sanitized_filename in -lcpath" >&5 37295$as_echo_n "checking for libcpath_path_get_sanitized_filename in -lcpath... " >&6; } 37296if ${ac_cv_lib_cpath_libcpath_path_get_sanitized_filename+:} false; then : 37297 $as_echo_n "(cached) " >&6 37298else 37299 ac_check_lib_save_LIBS=$LIBS 37300LIBS="-lcpath $LIBS" 37301cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37302/* end confdefs.h. */ 37303 37304/* Override any GCC internal prototype to avoid an error. 37305 Use char because int might match the return type of a GCC 37306 builtin and then its argument prototype would still apply. */ 37307#ifdef __cplusplus 37308extern "C" 37309#endif 37310char libcpath_path_get_sanitized_filename (); 37311int 37312main () 37313{ 37314return libcpath_path_get_sanitized_filename (); 37315 ; 37316 return 0; 37317} 37318_ACEOF 37319if ac_fn_c_try_link "$LINENO"; then : 37320 ac_cv_lib_cpath_libcpath_path_get_sanitized_filename=yes 37321else 37322 ac_cv_lib_cpath_libcpath_path_get_sanitized_filename=no 37323fi 37324rm -f core conftest.err conftest.$ac_objext \ 37325 conftest$ac_exeext conftest.$ac_ext 37326LIBS=$ac_check_lib_save_LIBS 37327fi 37328{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_sanitized_filename" >&5 37329$as_echo "$ac_cv_lib_cpath_libcpath_path_get_sanitized_filename" >&6; } 37330if test "x$ac_cv_lib_cpath_libcpath_path_get_sanitized_filename" = xyes; then : 37331 ac_cv_libcpath_dummy=yes 37332else 37333 ac_cv_libcpath=no 37334fi 37335 37336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_sanitized_path in -lcpath" >&5 37337$as_echo_n "checking for libcpath_path_get_sanitized_path in -lcpath... " >&6; } 37338if ${ac_cv_lib_cpath_libcpath_path_get_sanitized_path+:} false; then : 37339 $as_echo_n "(cached) " >&6 37340else 37341 ac_check_lib_save_LIBS=$LIBS 37342LIBS="-lcpath $LIBS" 37343cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37344/* end confdefs.h. */ 37345 37346/* Override any GCC internal prototype to avoid an error. 37347 Use char because int might match the return type of a GCC 37348 builtin and then its argument prototype would still apply. */ 37349#ifdef __cplusplus 37350extern "C" 37351#endif 37352char libcpath_path_get_sanitized_path (); 37353int 37354main () 37355{ 37356return libcpath_path_get_sanitized_path (); 37357 ; 37358 return 0; 37359} 37360_ACEOF 37361if ac_fn_c_try_link "$LINENO"; then : 37362 ac_cv_lib_cpath_libcpath_path_get_sanitized_path=yes 37363else 37364 ac_cv_lib_cpath_libcpath_path_get_sanitized_path=no 37365fi 37366rm -f core conftest.err conftest.$ac_objext \ 37367 conftest$ac_exeext conftest.$ac_ext 37368LIBS=$ac_check_lib_save_LIBS 37369fi 37370{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_sanitized_path" >&5 37371$as_echo "$ac_cv_lib_cpath_libcpath_path_get_sanitized_path" >&6; } 37372if test "x$ac_cv_lib_cpath_libcpath_path_get_sanitized_path" = xyes; then : 37373 ac_cv_libcpath_dummy=yes 37374else 37375 ac_cv_libcpath=no 37376fi 37377 37378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_join in -lcpath" >&5 37379$as_echo_n "checking for libcpath_path_join in -lcpath... " >&6; } 37380if ${ac_cv_lib_cpath_libcpath_path_join+:} false; then : 37381 $as_echo_n "(cached) " >&6 37382else 37383 ac_check_lib_save_LIBS=$LIBS 37384LIBS="-lcpath $LIBS" 37385cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37386/* end confdefs.h. */ 37387 37388/* Override any GCC internal prototype to avoid an error. 37389 Use char because int might match the return type of a GCC 37390 builtin and then its argument prototype would still apply. */ 37391#ifdef __cplusplus 37392extern "C" 37393#endif 37394char libcpath_path_join (); 37395int 37396main () 37397{ 37398return libcpath_path_join (); 37399 ; 37400 return 0; 37401} 37402_ACEOF 37403if ac_fn_c_try_link "$LINENO"; then : 37404 ac_cv_lib_cpath_libcpath_path_join=yes 37405else 37406 ac_cv_lib_cpath_libcpath_path_join=no 37407fi 37408rm -f core conftest.err conftest.$ac_objext \ 37409 conftest$ac_exeext conftest.$ac_ext 37410LIBS=$ac_check_lib_save_LIBS 37411fi 37412{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_join" >&5 37413$as_echo "$ac_cv_lib_cpath_libcpath_path_join" >&6; } 37414if test "x$ac_cv_lib_cpath_libcpath_path_join" = xyes; then : 37415 ac_cv_libcpath_dummy=yes 37416else 37417 ac_cv_libcpath=no 37418fi 37419 37420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_make_directory in -lcpath" >&5 37421$as_echo_n "checking for libcpath_path_make_directory in -lcpath... " >&6; } 37422if ${ac_cv_lib_cpath_libcpath_path_make_directory+:} false; then : 37423 $as_echo_n "(cached) " >&6 37424else 37425 ac_check_lib_save_LIBS=$LIBS 37426LIBS="-lcpath $LIBS" 37427cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37428/* end confdefs.h. */ 37429 37430/* Override any GCC internal prototype to avoid an error. 37431 Use char because int might match the return type of a GCC 37432 builtin and then its argument prototype would still apply. */ 37433#ifdef __cplusplus 37434extern "C" 37435#endif 37436char libcpath_path_make_directory (); 37437int 37438main () 37439{ 37440return libcpath_path_make_directory (); 37441 ; 37442 return 0; 37443} 37444_ACEOF 37445if ac_fn_c_try_link "$LINENO"; then : 37446 ac_cv_lib_cpath_libcpath_path_make_directory=yes 37447else 37448 ac_cv_lib_cpath_libcpath_path_make_directory=no 37449fi 37450rm -f core conftest.err conftest.$ac_objext \ 37451 conftest$ac_exeext conftest.$ac_ext 37452LIBS=$ac_check_lib_save_LIBS 37453fi 37454{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_make_directory" >&5 37455$as_echo "$ac_cv_lib_cpath_libcpath_path_make_directory" >&6; } 37456if test "x$ac_cv_lib_cpath_libcpath_path_make_directory" = xyes; then : 37457 ac_cv_libcpath_dummy=yes 37458else 37459 ac_cv_libcpath=no 37460fi 37461 37462 37463 if test "x$ac_cv_enable_wide_character_type" != xno; then : 37464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_change_directory_wide in -lcpath" >&5 37465$as_echo_n "checking for libcpath_path_change_directory_wide in -lcpath... " >&6; } 37466if ${ac_cv_lib_cpath_libcpath_path_change_directory_wide+:} false; then : 37467 $as_echo_n "(cached) " >&6 37468else 37469 ac_check_lib_save_LIBS=$LIBS 37470LIBS="-lcpath $LIBS" 37471cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37472/* end confdefs.h. */ 37473 37474/* Override any GCC internal prototype to avoid an error. 37475 Use char because int might match the return type of a GCC 37476 builtin and then its argument prototype would still apply. */ 37477#ifdef __cplusplus 37478extern "C" 37479#endif 37480char libcpath_path_change_directory_wide (); 37481int 37482main () 37483{ 37484return libcpath_path_change_directory_wide (); 37485 ; 37486 return 0; 37487} 37488_ACEOF 37489if ac_fn_c_try_link "$LINENO"; then : 37490 ac_cv_lib_cpath_libcpath_path_change_directory_wide=yes 37491else 37492 ac_cv_lib_cpath_libcpath_path_change_directory_wide=no 37493fi 37494rm -f core conftest.err conftest.$ac_objext \ 37495 conftest$ac_exeext conftest.$ac_ext 37496LIBS=$ac_check_lib_save_LIBS 37497fi 37498{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_change_directory_wide" >&5 37499$as_echo "$ac_cv_lib_cpath_libcpath_path_change_directory_wide" >&6; } 37500if test "x$ac_cv_lib_cpath_libcpath_path_change_directory_wide" = xyes; then : 37501 ac_cv_libcpath_dummy=yes 37502else 37503 ac_cv_libcpath=no 37504fi 37505 37506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_current_working_directory_wide in -lcpath" >&5 37507$as_echo_n "checking for libcpath_path_get_current_working_directory_wide in -lcpath... " >&6; } 37508if ${ac_cv_lib_cpath_libcpath_path_get_current_working_directory_wide+:} false; then : 37509 $as_echo_n "(cached) " >&6 37510else 37511 ac_check_lib_save_LIBS=$LIBS 37512LIBS="-lcpath $LIBS" 37513cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37514/* end confdefs.h. */ 37515 37516/* Override any GCC internal prototype to avoid an error. 37517 Use char because int might match the return type of a GCC 37518 builtin and then its argument prototype would still apply. */ 37519#ifdef __cplusplus 37520extern "C" 37521#endif 37522char libcpath_path_get_current_working_directory_wide (); 37523int 37524main () 37525{ 37526return libcpath_path_get_current_working_directory_wide (); 37527 ; 37528 return 0; 37529} 37530_ACEOF 37531if ac_fn_c_try_link "$LINENO"; then : 37532 ac_cv_lib_cpath_libcpath_path_get_current_working_directory_wide=yes 37533else 37534 ac_cv_lib_cpath_libcpath_path_get_current_working_directory_wide=no 37535fi 37536rm -f core conftest.err conftest.$ac_objext \ 37537 conftest$ac_exeext conftest.$ac_ext 37538LIBS=$ac_check_lib_save_LIBS 37539fi 37540{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_current_working_directory_wide" >&5 37541$as_echo "$ac_cv_lib_cpath_libcpath_path_get_current_working_directory_wide" >&6; } 37542if test "x$ac_cv_lib_cpath_libcpath_path_get_current_working_directory_wide" = xyes; then : 37543 ac_cv_libcpath_dummy=yes 37544else 37545 ac_cv_libcpath=no 37546fi 37547 37548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_full_path_wide in -lcpath" >&5 37549$as_echo_n "checking for libcpath_path_get_full_path_wide in -lcpath... " >&6; } 37550if ${ac_cv_lib_cpath_libcpath_path_get_full_path_wide+:} false; then : 37551 $as_echo_n "(cached) " >&6 37552else 37553 ac_check_lib_save_LIBS=$LIBS 37554LIBS="-lcpath $LIBS" 37555cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37556/* end confdefs.h. */ 37557 37558/* Override any GCC internal prototype to avoid an error. 37559 Use char because int might match the return type of a GCC 37560 builtin and then its argument prototype would still apply. */ 37561#ifdef __cplusplus 37562extern "C" 37563#endif 37564char libcpath_path_get_full_path_wide (); 37565int 37566main () 37567{ 37568return libcpath_path_get_full_path_wide (); 37569 ; 37570 return 0; 37571} 37572_ACEOF 37573if ac_fn_c_try_link "$LINENO"; then : 37574 ac_cv_lib_cpath_libcpath_path_get_full_path_wide=yes 37575else 37576 ac_cv_lib_cpath_libcpath_path_get_full_path_wide=no 37577fi 37578rm -f core conftest.err conftest.$ac_objext \ 37579 conftest$ac_exeext conftest.$ac_ext 37580LIBS=$ac_check_lib_save_LIBS 37581fi 37582{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_full_path_wide" >&5 37583$as_echo "$ac_cv_lib_cpath_libcpath_path_get_full_path_wide" >&6; } 37584if test "x$ac_cv_lib_cpath_libcpath_path_get_full_path_wide" = xyes; then : 37585 ac_cv_libcpath_dummy=yes 37586else 37587 ac_cv_libcpath=no 37588fi 37589 37590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_sanitized_filename_wide in -lcpath" >&5 37591$as_echo_n "checking for libcpath_path_get_sanitized_filename_wide in -lcpath... " >&6; } 37592if ${ac_cv_lib_cpath_libcpath_path_get_sanitized_filename_wide+:} false; then : 37593 $as_echo_n "(cached) " >&6 37594else 37595 ac_check_lib_save_LIBS=$LIBS 37596LIBS="-lcpath $LIBS" 37597cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37598/* end confdefs.h. */ 37599 37600/* Override any GCC internal prototype to avoid an error. 37601 Use char because int might match the return type of a GCC 37602 builtin and then its argument prototype would still apply. */ 37603#ifdef __cplusplus 37604extern "C" 37605#endif 37606char libcpath_path_get_sanitized_filename_wide (); 37607int 37608main () 37609{ 37610return libcpath_path_get_sanitized_filename_wide (); 37611 ; 37612 return 0; 37613} 37614_ACEOF 37615if ac_fn_c_try_link "$LINENO"; then : 37616 ac_cv_lib_cpath_libcpath_path_get_sanitized_filename_wide=yes 37617else 37618 ac_cv_lib_cpath_libcpath_path_get_sanitized_filename_wide=no 37619fi 37620rm -f core conftest.err conftest.$ac_objext \ 37621 conftest$ac_exeext conftest.$ac_ext 37622LIBS=$ac_check_lib_save_LIBS 37623fi 37624{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_sanitized_filename_wide" >&5 37625$as_echo "$ac_cv_lib_cpath_libcpath_path_get_sanitized_filename_wide" >&6; } 37626if test "x$ac_cv_lib_cpath_libcpath_path_get_sanitized_filename_wide" = xyes; then : 37627 ac_cv_libcpath_dummy=yes 37628else 37629 ac_cv_libcpath=no 37630fi 37631 37632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_sanitized_path_wide in -lcpath" >&5 37633$as_echo_n "checking for libcpath_path_get_sanitized_path_wide in -lcpath... " >&6; } 37634if ${ac_cv_lib_cpath_libcpath_path_get_sanitized_path_wide+:} false; then : 37635 $as_echo_n "(cached) " >&6 37636else 37637 ac_check_lib_save_LIBS=$LIBS 37638LIBS="-lcpath $LIBS" 37639cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37640/* end confdefs.h. */ 37641 37642/* Override any GCC internal prototype to avoid an error. 37643 Use char because int might match the return type of a GCC 37644 builtin and then its argument prototype would still apply. */ 37645#ifdef __cplusplus 37646extern "C" 37647#endif 37648char libcpath_path_get_sanitized_path_wide (); 37649int 37650main () 37651{ 37652return libcpath_path_get_sanitized_path_wide (); 37653 ; 37654 return 0; 37655} 37656_ACEOF 37657if ac_fn_c_try_link "$LINENO"; then : 37658 ac_cv_lib_cpath_libcpath_path_get_sanitized_path_wide=yes 37659else 37660 ac_cv_lib_cpath_libcpath_path_get_sanitized_path_wide=no 37661fi 37662rm -f core conftest.err conftest.$ac_objext \ 37663 conftest$ac_exeext conftest.$ac_ext 37664LIBS=$ac_check_lib_save_LIBS 37665fi 37666{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_sanitized_path_wide" >&5 37667$as_echo "$ac_cv_lib_cpath_libcpath_path_get_sanitized_path_wide" >&6; } 37668if test "x$ac_cv_lib_cpath_libcpath_path_get_sanitized_path_wide" = xyes; then : 37669 ac_cv_libcpath_dummy=yes 37670else 37671 ac_cv_libcpath=no 37672fi 37673 37674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_join_wide in -lcpath" >&5 37675$as_echo_n "checking for libcpath_path_join_wide in -lcpath... " >&6; } 37676if ${ac_cv_lib_cpath_libcpath_path_join_wide+:} false; then : 37677 $as_echo_n "(cached) " >&6 37678else 37679 ac_check_lib_save_LIBS=$LIBS 37680LIBS="-lcpath $LIBS" 37681cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37682/* end confdefs.h. */ 37683 37684/* Override any GCC internal prototype to avoid an error. 37685 Use char because int might match the return type of a GCC 37686 builtin and then its argument prototype would still apply. */ 37687#ifdef __cplusplus 37688extern "C" 37689#endif 37690char libcpath_path_join_wide (); 37691int 37692main () 37693{ 37694return libcpath_path_join_wide (); 37695 ; 37696 return 0; 37697} 37698_ACEOF 37699if ac_fn_c_try_link "$LINENO"; then : 37700 ac_cv_lib_cpath_libcpath_path_join_wide=yes 37701else 37702 ac_cv_lib_cpath_libcpath_path_join_wide=no 37703fi 37704rm -f core conftest.err conftest.$ac_objext \ 37705 conftest$ac_exeext conftest.$ac_ext 37706LIBS=$ac_check_lib_save_LIBS 37707fi 37708{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_join_wide" >&5 37709$as_echo "$ac_cv_lib_cpath_libcpath_path_join_wide" >&6; } 37710if test "x$ac_cv_lib_cpath_libcpath_path_join_wide" = xyes; then : 37711 ac_cv_libcpath_dummy=yes 37712else 37713 ac_cv_libcpath=no 37714fi 37715 37716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_make_directory_wide in -lcpath" >&5 37717$as_echo_n "checking for libcpath_path_make_directory_wide in -lcpath... " >&6; } 37718if ${ac_cv_lib_cpath_libcpath_path_make_directory_wide+:} false; then : 37719 $as_echo_n "(cached) " >&6 37720else 37721 ac_check_lib_save_LIBS=$LIBS 37722LIBS="-lcpath $LIBS" 37723cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37724/* end confdefs.h. */ 37725 37726/* Override any GCC internal prototype to avoid an error. 37727 Use char because int might match the return type of a GCC 37728 builtin and then its argument prototype would still apply. */ 37729#ifdef __cplusplus 37730extern "C" 37731#endif 37732char libcpath_path_make_directory_wide (); 37733int 37734main () 37735{ 37736return libcpath_path_make_directory_wide (); 37737 ; 37738 return 0; 37739} 37740_ACEOF 37741if ac_fn_c_try_link "$LINENO"; then : 37742 ac_cv_lib_cpath_libcpath_path_make_directory_wide=yes 37743else 37744 ac_cv_lib_cpath_libcpath_path_make_directory_wide=no 37745fi 37746rm -f core conftest.err conftest.$ac_objext \ 37747 conftest$ac_exeext conftest.$ac_ext 37748LIBS=$ac_check_lib_save_LIBS 37749fi 37750{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_make_directory_wide" >&5 37751$as_echo "$ac_cv_lib_cpath_libcpath_path_make_directory_wide" >&6; } 37752if test "x$ac_cv_lib_cpath_libcpath_path_make_directory_wide" = xyes; then : 37753 ac_cv_libcpath_dummy=yes 37754else 37755 ac_cv_libcpath=no 37756fi 37757 37758 37759fi 37760 37761 ac_cv_libcpath_LIBADD="-lcpath" 37762fi 37763 37764fi 37765 if test "x$ac_cv_with_libcpath" != x && test "x$ac_cv_with_libcpath" != xauto-detect && test "x$ac_cv_libcpath" != xyes; then : 37766 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 37767$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 37768as_fn_error 1 "unable to find supported libcpath in directory: $ac_cv_with_libcpath 37769See \`config.log' for more details" "$LINENO" 5; } 37770 37771fi 37772 37773fi 37774 37775 if test "x$ac_cv_libcpath" = xyes; then : 37776 37777$as_echo "#define HAVE_LIBCPATH 1" >>confdefs.h 37778 37779 37780fi 37781 37782 if test "x$ac_cv_libcpath" = xyes; then : 37783 HAVE_LIBCPATH=1 37784 37785else 37786 HAVE_LIBCPATH=0 37787 37788 37789fi 37790 37791 37792 if test "x$ac_cv_libcpath" != xyes; then : 37793 for ac_header in errno.h sys/stat.h sys/syslimits.h 37794do : 37795 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 37796ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 37797if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 37798 cat >>confdefs.h <<_ACEOF 37799#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 37800_ACEOF 37801 37802fi 37803 37804done 37805 37806 37807 for ac_func in chdir getcwd 37808do : 37809 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 37810ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 37811if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 37812 cat >>confdefs.h <<_ACEOF 37813#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 37814_ACEOF 37815 37816fi 37817done 37818 37819 37820 if test "x$ac_cv_func_chdir" != xyes; then : 37821 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 37822$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 37823as_fn_error 1 "Missing functions: chdir 37824See \`config.log' for more details" "$LINENO" 5; } 37825 37826fi 37827 37828 if test "x$ac_cv_func_getcwd" != xyes; then : 37829 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 37830$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 37831as_fn_error 1 "Missing functions: getcwd 37832See \`config.log' for more details" "$LINENO" 5; } 37833 37834fi 37835 37836 for ac_func in mkdir 37837do : 37838 ac_fn_c_check_func "$LINENO" "mkdir" "ac_cv_func_mkdir" 37839if test "x$ac_cv_func_mkdir" = xyes; then : 37840 cat >>confdefs.h <<_ACEOF 37841#define HAVE_MKDIR 1 37842_ACEOF 37843 37844fi 37845done 37846 37847 37848 if test "x$ac_cv_func_mkdir" = xyes; then : 37849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to use mkdir" >&5 37850$as_echo_n "checking how to use mkdir... " >&6; } 37851 37852 SAVE_CFLAGS="$CFLAGS" 37853 CFLAGS="$CFLAGS -Wall -Werror" 37854 ac_ext=c 37855ac_cpp='$CPP $CPPFLAGS' 37856ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 37857ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 37858ac_compiler_gnu=$ac_cv_c_compiler_gnu 37859 37860 37861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37862/* end confdefs.h. */ 37863#include <sys/stat.h> 37864#include <sys/types.h> 37865int 37866main () 37867{ 37868mkdir( "", 0 ) 37869 ; 37870 return 0; 37871} 37872_ACEOF 37873if ac_fn_c_try_link "$LINENO"; then : 37874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: with additional mode argument" >&5 37875$as_echo "with additional mode argument" >&6; } 37876 ac_cv_cv_mkdir_mode=yes 37877else 37878 ac_cv_cv_mkdir_mode=no 37879fi 37880rm -f core conftest.err conftest.$ac_objext \ 37881 conftest$ac_exeext conftest.$ac_ext 37882 37883 if test "x$ac_cv_cv_mkdir_mode" = xno; then : 37884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37885/* end confdefs.h. */ 37886#include <io.h> 37887int 37888main () 37889{ 37890mkdir( "" ) 37891 ; 37892 return 0; 37893} 37894_ACEOF 37895if ac_fn_c_try_link "$LINENO"; then : 37896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: with single argument" >&5 37897$as_echo "with single argument" >&6; } 37898 ac_cv_cv_mkdir=yes 37899else 37900 ac_cv_cv_mkdir=no 37901fi 37902rm -f core conftest.err conftest.$ac_objext \ 37903 conftest$ac_exeext conftest.$ac_ext 37904 37905fi 37906 37907 ac_ext=c 37908ac_cpp='$CPP $CPPFLAGS' 37909ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 37910ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 37911ac_compiler_gnu=$ac_cv_c_compiler_gnu 37912 37913 CFLAGS="$SAVE_CFLAGS" 37914 37915 if test "x$ac_cv_cv_mkdir_mode" = xno && test "x$ac_cv_cv_mkdir" = xno; then : 37916 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unknown" >&5 37917$as_echo "$as_me: WARNING: unknown" >&2;} 37918 ac_cv_func_mkdir=no 37919fi 37920 37921 if test "x$ac_cv_func_mkdir" = xyes; then : 37922 37923$as_echo "#define HAVE_MKDIR 1" >>confdefs.h 37924 37925 37926fi 37927 37928 if test "x$ac_cv_cv_mkdir_mode" = xyes; then : 37929 37930$as_echo "#define HAVE_MKDIR_MODE 1" >>confdefs.h 37931 37932 37933fi 37934 37935fi 37936 37937 if test "x$ac_cv_func_mkdir" = xno; then : 37938 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 37939$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 37940as_fn_error 1 "Missing function: mkdir 37941See \`config.log' for more details" "$LINENO" 5; } 37942 37943fi 37944 37945 37946 ac_cv_libcpath_CPPFLAGS="-I../libcpath"; 37947 ac_cv_libcpath_LIBADD="../libcpath/libcpath.la"; 37948 37949 ac_cv_libcpath=local 37950 37951 37952 37953$as_echo "#define HAVE_LOCAL_LIBCPATH 1" >>confdefs.h 37954 37955 HAVE_LOCAL_LIBCPATH=1 37956 37957 37958fi 37959 37960 if test "x$ac_cv_libcpath" = xlocal; then 37961 HAVE_LOCAL_LIBCPATH_TRUE= 37962 HAVE_LOCAL_LIBCPATH_FALSE='#' 37963else 37964 HAVE_LOCAL_LIBCPATH_TRUE='#' 37965 HAVE_LOCAL_LIBCPATH_FALSE= 37966fi 37967 37968 if test "x$ac_cv_libcpath_CPPFLAGS" != "x"; then : 37969 LIBCPATH_CPPFLAGS=$ac_cv_libcpath_CPPFLAGS 37970 37971 37972fi 37973 if test "x$ac_cv_libcpath_LIBADD" != "x"; then : 37974 LIBCPATH_LIBADD=$ac_cv_libcpath_LIBADD 37975 37976 37977fi 37978 37979 if test "x$ac_cv_libcpath" = xyes; then : 37980 ax_libcpath_pc_libs_private=-lcpath 37981 37982 37983fi 37984 37985 if test "x$ac_cv_libcpath" = xyes; then : 37986 ax_libcpath_spec_requires=libcpath 37987 37988 ax_libcpath_spec_build_requires=libcpath-devel 37989 37990 37991fi 37992 37993 37994 37995 37996# Check whether --with-libbfio was given. 37997if test "${with_libbfio+set}" = set; then : 37998 withval=$with_libbfio; ac_cv_with_libbfio=$withval 37999else 38000 ac_cv_with_libbfio=auto-detect 38001fi 38002 38003 { $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 38004$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; } 38005if ${ac_cv_with_libbfio+:} false; then : 38006 $as_echo_n "(cached) " >&6 38007else 38008 ac_cv_with_libbfio=auto-detect 38009fi 38010{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libbfio" >&5 38011$as_echo "$ac_cv_with_libbfio" >&6; } 38012 38013 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libbfio" = xno; then : 38014 ac_cv_libbfio=no 38015else 38016 ac_cv_libbfio=check 38017 if test "x$ac_cv_with_libbfio" != x && test "x$ac_cv_with_libbfio" != xauto-detect; then : 38018 if test -d "$ac_cv_with_libbfio"; then : 38019 CFLAGS="$CFLAGS -I${ac_cv_with_libbfio}/include" 38020 LDFLAGS="$LDFLAGS -L${ac_cv_with_libbfio}/lib" 38021else 38022 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 38023$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 38024as_fn_error 1 "no such directory: $ac_cv_with_libbfio 38025See \`config.log' for more details" "$LINENO" 5; } 38026 38027fi 38028 38029else 38030 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 38031 38032pkg_failed=no 38033{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio" >&5 38034$as_echo_n "checking for libbfio... " >&6; } 38035 38036if test -n "$libbfio_CFLAGS"; then 38037 pkg_cv_libbfio_CFLAGS="$libbfio_CFLAGS" 38038 elif test -n "$PKG_CONFIG"; then 38039 if test -n "$PKG_CONFIG" && \ 38040 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libbfio >= 20201125\""; } >&5 38041 ($PKG_CONFIG --exists --print-errors "libbfio >= 20201125") 2>&5 38042 ac_status=$? 38043 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 38044 test $ac_status = 0; }; then 38045 pkg_cv_libbfio_CFLAGS=`$PKG_CONFIG --cflags "libbfio >= 20201125" 2>/dev/null` 38046 test "x$?" != "x0" && pkg_failed=yes 38047else 38048 pkg_failed=yes 38049fi 38050 else 38051 pkg_failed=untried 38052fi 38053if test -n "$libbfio_LIBS"; then 38054 pkg_cv_libbfio_LIBS="$libbfio_LIBS" 38055 elif test -n "$PKG_CONFIG"; then 38056 if test -n "$PKG_CONFIG" && \ 38057 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libbfio >= 20201125\""; } >&5 38058 ($PKG_CONFIG --exists --print-errors "libbfio >= 20201125") 2>&5 38059 ac_status=$? 38060 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 38061 test $ac_status = 0; }; then 38062 pkg_cv_libbfio_LIBS=`$PKG_CONFIG --libs "libbfio >= 20201125" 2>/dev/null` 38063 test "x$?" != "x0" && pkg_failed=yes 38064else 38065 pkg_failed=yes 38066fi 38067 else 38068 pkg_failed=untried 38069fi 38070 38071 38072 38073if test $pkg_failed = yes; then 38074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 38075$as_echo "no" >&6; } 38076 38077if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 38078 _pkg_short_errors_supported=yes 38079else 38080 _pkg_short_errors_supported=no 38081fi 38082 if test $_pkg_short_errors_supported = yes; then 38083 libbfio_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libbfio >= 20201125" 2>&1` 38084 else 38085 libbfio_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libbfio >= 20201125" 2>&1` 38086 fi 38087 # Put the nasty error message in config.log where it belongs 38088 echo "$libbfio_PKG_ERRORS" >&5 38089 38090 ac_cv_libbfio=check 38091elif test $pkg_failed = untried; then 38092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 38093$as_echo "no" >&6; } 38094 ac_cv_libbfio=check 38095else 38096 libbfio_CFLAGS=$pkg_cv_libbfio_CFLAGS 38097 libbfio_LIBS=$pkg_cv_libbfio_LIBS 38098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 38099$as_echo "yes" >&6; } 38100 ac_cv_libbfio=yes 38101fi 38102 38103fi 38104 if test "x$ac_cv_libbfio" = xyes && test "x$ac_cv_enable_wide_character_type" != xno; then : 38105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libbfio/features.h defines LIBBFIO_HAVE_WIDE_CHARACTER_TYPE as 1" >&5 38106$as_echo_n "checking whether libbfio/features.h defines LIBBFIO_HAVE_WIDE_CHARACTER_TYPE as 1... " >&6; } 38107if ${ac_cv_header_libbfio_features_h_have_wide_character_type+:} false; then : 38108 $as_echo_n "(cached) " >&6 38109else 38110 ac_ext=c 38111ac_cpp='$CPP $CPPFLAGS' 38112ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 38113ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 38114ac_compiler_gnu=$ac_cv_c_compiler_gnu 38115 38116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38117/* end confdefs.h. */ 38118#include <libbfio/features.h> 38119int 38120main () 38121{ 38122#if !defined( LIBBFIO_HAVE_WIDE_CHARACTER_TYPE ) || ( LIBBFIO_HAVE_WIDE_CHARACTER_TYPE != 1 ) 38123#error LIBBFIO_HAVE_WIDE_CHARACTER_TYPE not defined 38124#endif 38125 ; 38126 return 0; 38127} 38128_ACEOF 38129if ac_fn_c_try_compile "$LINENO"; then : 38130 ac_cv_header_libbfio_features_h_have_wide_character_type=yes 38131else 38132 ac_cv_header_libbfio_features_h_have_wide_character_type=no 38133fi 38134rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 38135 ac_ext=c 38136ac_cpp='$CPP $CPPFLAGS' 38137ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 38138ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 38139ac_compiler_gnu=$ac_cv_c_compiler_gnu 38140 38141fi 38142{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_libbfio_features_h_have_wide_character_type" >&5 38143$as_echo "$ac_cv_header_libbfio_features_h_have_wide_character_type" >&6; } 38144 38145 if test "x$ac_cv_header_libbfio_features_h_have_wide_character_type" = xno; then : 38146 ac_cv_libbfio=no 38147fi 38148 38149fi 38150 if test "x$ac_cv_libbfio" = xyes; then : 38151 ac_cv_libbfio_CPPFLAGS="$pkg_cv_libbfio_CFLAGS" 38152 ac_cv_libbfio_LIBADD="$pkg_cv_libbfio_LIBS" 38153fi 38154 38155fi 38156 38157 if test "x$ac_cv_libbfio" = xcheck; then : 38158 for ac_header in libbfio.h 38159do : 38160 ac_fn_c_check_header_mongrel "$LINENO" "libbfio.h" "ac_cv_header_libbfio_h" "$ac_includes_default" 38161if test "x$ac_cv_header_libbfio_h" = xyes; then : 38162 cat >>confdefs.h <<_ACEOF 38163#define HAVE_LIBBFIO_H 1 38164_ACEOF 38165 38166fi 38167 38168done 38169 38170 38171 if test "x$ac_cv_header_libbfio_h" = xno; then : 38172 ac_cv_libbfio=no 38173else 38174 ac_cv_libbfio=yes 38175 38176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_get_version in -lbfio" >&5 38177$as_echo_n "checking for libbfio_get_version in -lbfio... " >&6; } 38178if ${ac_cv_lib_bfio_libbfio_get_version+:} false; then : 38179 $as_echo_n "(cached) " >&6 38180else 38181 ac_check_lib_save_LIBS=$LIBS 38182LIBS="-lbfio $LIBS" 38183cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38184/* end confdefs.h. */ 38185 38186/* Override any GCC internal prototype to avoid an error. 38187 Use char because int might match the return type of a GCC 38188 builtin and then its argument prototype would still apply. */ 38189#ifdef __cplusplus 38190extern "C" 38191#endif 38192char libbfio_get_version (); 38193int 38194main () 38195{ 38196return libbfio_get_version (); 38197 ; 38198 return 0; 38199} 38200_ACEOF 38201if ac_fn_c_try_link "$LINENO"; then : 38202 ac_cv_lib_bfio_libbfio_get_version=yes 38203else 38204 ac_cv_lib_bfio_libbfio_get_version=no 38205fi 38206rm -f core conftest.err conftest.$ac_objext \ 38207 conftest$ac_exeext conftest.$ac_ext 38208LIBS=$ac_check_lib_save_LIBS 38209fi 38210{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_get_version" >&5 38211$as_echo "$ac_cv_lib_bfio_libbfio_get_version" >&6; } 38212if test "x$ac_cv_lib_bfio_libbfio_get_version" = xyes; then : 38213 ac_cv_libbfio_dummy=yes 38214else 38215 ac_cv_libbfio=no 38216fi 38217 38218 38219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_free in -lbfio" >&5 38220$as_echo_n "checking for libbfio_handle_free in -lbfio... " >&6; } 38221if ${ac_cv_lib_bfio_libbfio_handle_free+:} false; then : 38222 $as_echo_n "(cached) " >&6 38223else 38224 ac_check_lib_save_LIBS=$LIBS 38225LIBS="-lbfio $LIBS" 38226cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38227/* end confdefs.h. */ 38228 38229/* Override any GCC internal prototype to avoid an error. 38230 Use char because int might match the return type of a GCC 38231 builtin and then its argument prototype would still apply. */ 38232#ifdef __cplusplus 38233extern "C" 38234#endif 38235char libbfio_handle_free (); 38236int 38237main () 38238{ 38239return libbfio_handle_free (); 38240 ; 38241 return 0; 38242} 38243_ACEOF 38244if ac_fn_c_try_link "$LINENO"; then : 38245 ac_cv_lib_bfio_libbfio_handle_free=yes 38246else 38247 ac_cv_lib_bfio_libbfio_handle_free=no 38248fi 38249rm -f core conftest.err conftest.$ac_objext \ 38250 conftest$ac_exeext conftest.$ac_ext 38251LIBS=$ac_check_lib_save_LIBS 38252fi 38253{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_free" >&5 38254$as_echo "$ac_cv_lib_bfio_libbfio_handle_free" >&6; } 38255if test "x$ac_cv_lib_bfio_libbfio_handle_free" = xyes; then : 38256 ac_cv_libbfio_dummy=yes 38257else 38258 ac_cv_libbfio=no 38259fi 38260 38261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_open in -lbfio" >&5 38262$as_echo_n "checking for libbfio_handle_open in -lbfio... " >&6; } 38263if ${ac_cv_lib_bfio_libbfio_handle_open+:} false; then : 38264 $as_echo_n "(cached) " >&6 38265else 38266 ac_check_lib_save_LIBS=$LIBS 38267LIBS="-lbfio $LIBS" 38268cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38269/* end confdefs.h. */ 38270 38271/* Override any GCC internal prototype to avoid an error. 38272 Use char because int might match the return type of a GCC 38273 builtin and then its argument prototype would still apply. */ 38274#ifdef __cplusplus 38275extern "C" 38276#endif 38277char libbfio_handle_open (); 38278int 38279main () 38280{ 38281return libbfio_handle_open (); 38282 ; 38283 return 0; 38284} 38285_ACEOF 38286if ac_fn_c_try_link "$LINENO"; then : 38287 ac_cv_lib_bfio_libbfio_handle_open=yes 38288else 38289 ac_cv_lib_bfio_libbfio_handle_open=no 38290fi 38291rm -f core conftest.err conftest.$ac_objext \ 38292 conftest$ac_exeext conftest.$ac_ext 38293LIBS=$ac_check_lib_save_LIBS 38294fi 38295{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_open" >&5 38296$as_echo "$ac_cv_lib_bfio_libbfio_handle_open" >&6; } 38297if test "x$ac_cv_lib_bfio_libbfio_handle_open" = xyes; then : 38298 ac_cv_libbfio_dummy=yes 38299else 38300 ac_cv_libbfio=no 38301fi 38302 38303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_close in -lbfio" >&5 38304$as_echo_n "checking for libbfio_handle_close in -lbfio... " >&6; } 38305if ${ac_cv_lib_bfio_libbfio_handle_close+:} false; then : 38306 $as_echo_n "(cached) " >&6 38307else 38308 ac_check_lib_save_LIBS=$LIBS 38309LIBS="-lbfio $LIBS" 38310cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38311/* end confdefs.h. */ 38312 38313/* Override any GCC internal prototype to avoid an error. 38314 Use char because int might match the return type of a GCC 38315 builtin and then its argument prototype would still apply. */ 38316#ifdef __cplusplus 38317extern "C" 38318#endif 38319char libbfio_handle_close (); 38320int 38321main () 38322{ 38323return libbfio_handle_close (); 38324 ; 38325 return 0; 38326} 38327_ACEOF 38328if ac_fn_c_try_link "$LINENO"; then : 38329 ac_cv_lib_bfio_libbfio_handle_close=yes 38330else 38331 ac_cv_lib_bfio_libbfio_handle_close=no 38332fi 38333rm -f core conftest.err conftest.$ac_objext \ 38334 conftest$ac_exeext conftest.$ac_ext 38335LIBS=$ac_check_lib_save_LIBS 38336fi 38337{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_close" >&5 38338$as_echo "$ac_cv_lib_bfio_libbfio_handle_close" >&6; } 38339if test "x$ac_cv_lib_bfio_libbfio_handle_close" = xyes; then : 38340 ac_cv_libbfio_dummy=yes 38341else 38342 ac_cv_libbfio=no 38343fi 38344 38345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_exists in -lbfio" >&5 38346$as_echo_n "checking for libbfio_handle_exists in -lbfio... " >&6; } 38347if ${ac_cv_lib_bfio_libbfio_handle_exists+:} false; then : 38348 $as_echo_n "(cached) " >&6 38349else 38350 ac_check_lib_save_LIBS=$LIBS 38351LIBS="-lbfio $LIBS" 38352cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38353/* end confdefs.h. */ 38354 38355/* Override any GCC internal prototype to avoid an error. 38356 Use char because int might match the return type of a GCC 38357 builtin and then its argument prototype would still apply. */ 38358#ifdef __cplusplus 38359extern "C" 38360#endif 38361char libbfio_handle_exists (); 38362int 38363main () 38364{ 38365return libbfio_handle_exists (); 38366 ; 38367 return 0; 38368} 38369_ACEOF 38370if ac_fn_c_try_link "$LINENO"; then : 38371 ac_cv_lib_bfio_libbfio_handle_exists=yes 38372else 38373 ac_cv_lib_bfio_libbfio_handle_exists=no 38374fi 38375rm -f core conftest.err conftest.$ac_objext \ 38376 conftest$ac_exeext conftest.$ac_ext 38377LIBS=$ac_check_lib_save_LIBS 38378fi 38379{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_exists" >&5 38380$as_echo "$ac_cv_lib_bfio_libbfio_handle_exists" >&6; } 38381if test "x$ac_cv_lib_bfio_libbfio_handle_exists" = xyes; then : 38382 ac_cv_libbfio_dummy=yes 38383else 38384 ac_cv_libbfio=no 38385fi 38386 38387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_read_buffer in -lbfio" >&5 38388$as_echo_n "checking for libbfio_handle_read_buffer in -lbfio... " >&6; } 38389if ${ac_cv_lib_bfio_libbfio_handle_read_buffer+:} false; then : 38390 $as_echo_n "(cached) " >&6 38391else 38392 ac_check_lib_save_LIBS=$LIBS 38393LIBS="-lbfio $LIBS" 38394cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38395/* end confdefs.h. */ 38396 38397/* Override any GCC internal prototype to avoid an error. 38398 Use char because int might match the return type of a GCC 38399 builtin and then its argument prototype would still apply. */ 38400#ifdef __cplusplus 38401extern "C" 38402#endif 38403char libbfio_handle_read_buffer (); 38404int 38405main () 38406{ 38407return libbfio_handle_read_buffer (); 38408 ; 38409 return 0; 38410} 38411_ACEOF 38412if ac_fn_c_try_link "$LINENO"; then : 38413 ac_cv_lib_bfio_libbfio_handle_read_buffer=yes 38414else 38415 ac_cv_lib_bfio_libbfio_handle_read_buffer=no 38416fi 38417rm -f core conftest.err conftest.$ac_objext \ 38418 conftest$ac_exeext conftest.$ac_ext 38419LIBS=$ac_check_lib_save_LIBS 38420fi 38421{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_read_buffer" >&5 38422$as_echo "$ac_cv_lib_bfio_libbfio_handle_read_buffer" >&6; } 38423if test "x$ac_cv_lib_bfio_libbfio_handle_read_buffer" = xyes; then : 38424 ac_cv_libbfio_dummy=yes 38425else 38426 ac_cv_libbfio=no 38427fi 38428 38429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_read_buffer_at_offset in -lbfio" >&5 38430$as_echo_n "checking for libbfio_handle_read_buffer_at_offset in -lbfio... " >&6; } 38431if ${ac_cv_lib_bfio_libbfio_handle_read_buffer_at_offset+:} false; then : 38432 $as_echo_n "(cached) " >&6 38433else 38434 ac_check_lib_save_LIBS=$LIBS 38435LIBS="-lbfio $LIBS" 38436cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38437/* end confdefs.h. */ 38438 38439/* Override any GCC internal prototype to avoid an error. 38440 Use char because int might match the return type of a GCC 38441 builtin and then its argument prototype would still apply. */ 38442#ifdef __cplusplus 38443extern "C" 38444#endif 38445char libbfio_handle_read_buffer_at_offset (); 38446int 38447main () 38448{ 38449return libbfio_handle_read_buffer_at_offset (); 38450 ; 38451 return 0; 38452} 38453_ACEOF 38454if ac_fn_c_try_link "$LINENO"; then : 38455 ac_cv_lib_bfio_libbfio_handle_read_buffer_at_offset=yes 38456else 38457 ac_cv_lib_bfio_libbfio_handle_read_buffer_at_offset=no 38458fi 38459rm -f core conftest.err conftest.$ac_objext \ 38460 conftest$ac_exeext conftest.$ac_ext 38461LIBS=$ac_check_lib_save_LIBS 38462fi 38463{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_read_buffer_at_offset" >&5 38464$as_echo "$ac_cv_lib_bfio_libbfio_handle_read_buffer_at_offset" >&6; } 38465if test "x$ac_cv_lib_bfio_libbfio_handle_read_buffer_at_offset" = xyes; then : 38466 ac_cv_libbfio_dummy=yes 38467else 38468 ac_cv_libbfio=no 38469fi 38470 38471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_write_buffer in -lbfio" >&5 38472$as_echo_n "checking for libbfio_handle_write_buffer in -lbfio... " >&6; } 38473if ${ac_cv_lib_bfio_libbfio_handle_write_buffer+:} false; then : 38474 $as_echo_n "(cached) " >&6 38475else 38476 ac_check_lib_save_LIBS=$LIBS 38477LIBS="-lbfio $LIBS" 38478cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38479/* end confdefs.h. */ 38480 38481/* Override any GCC internal prototype to avoid an error. 38482 Use char because int might match the return type of a GCC 38483 builtin and then its argument prototype would still apply. */ 38484#ifdef __cplusplus 38485extern "C" 38486#endif 38487char libbfio_handle_write_buffer (); 38488int 38489main () 38490{ 38491return libbfio_handle_write_buffer (); 38492 ; 38493 return 0; 38494} 38495_ACEOF 38496if ac_fn_c_try_link "$LINENO"; then : 38497 ac_cv_lib_bfio_libbfio_handle_write_buffer=yes 38498else 38499 ac_cv_lib_bfio_libbfio_handle_write_buffer=no 38500fi 38501rm -f core conftest.err conftest.$ac_objext \ 38502 conftest$ac_exeext conftest.$ac_ext 38503LIBS=$ac_check_lib_save_LIBS 38504fi 38505{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_write_buffer" >&5 38506$as_echo "$ac_cv_lib_bfio_libbfio_handle_write_buffer" >&6; } 38507if test "x$ac_cv_lib_bfio_libbfio_handle_write_buffer" = xyes; then : 38508 ac_cv_libbfio_dummy=yes 38509else 38510 ac_cv_libbfio=no 38511fi 38512 38513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_write_buffer_at_offset in -lbfio" >&5 38514$as_echo_n "checking for libbfio_handle_write_buffer_at_offset in -lbfio... " >&6; } 38515if ${ac_cv_lib_bfio_libbfio_handle_write_buffer_at_offset+:} false; then : 38516 $as_echo_n "(cached) " >&6 38517else 38518 ac_check_lib_save_LIBS=$LIBS 38519LIBS="-lbfio $LIBS" 38520cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38521/* end confdefs.h. */ 38522 38523/* Override any GCC internal prototype to avoid an error. 38524 Use char because int might match the return type of a GCC 38525 builtin and then its argument prototype would still apply. */ 38526#ifdef __cplusplus 38527extern "C" 38528#endif 38529char libbfio_handle_write_buffer_at_offset (); 38530int 38531main () 38532{ 38533return libbfio_handle_write_buffer_at_offset (); 38534 ; 38535 return 0; 38536} 38537_ACEOF 38538if ac_fn_c_try_link "$LINENO"; then : 38539 ac_cv_lib_bfio_libbfio_handle_write_buffer_at_offset=yes 38540else 38541 ac_cv_lib_bfio_libbfio_handle_write_buffer_at_offset=no 38542fi 38543rm -f core conftest.err conftest.$ac_objext \ 38544 conftest$ac_exeext conftest.$ac_ext 38545LIBS=$ac_check_lib_save_LIBS 38546fi 38547{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_write_buffer_at_offset" >&5 38548$as_echo "$ac_cv_lib_bfio_libbfio_handle_write_buffer_at_offset" >&6; } 38549if test "x$ac_cv_lib_bfio_libbfio_handle_write_buffer_at_offset" = xyes; then : 38550 ac_cv_libbfio_dummy=yes 38551else 38552 ac_cv_libbfio=no 38553fi 38554 38555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_seek_offset in -lbfio" >&5 38556$as_echo_n "checking for libbfio_handle_seek_offset in -lbfio... " >&6; } 38557if ${ac_cv_lib_bfio_libbfio_handle_seek_offset+:} false; then : 38558 $as_echo_n "(cached) " >&6 38559else 38560 ac_check_lib_save_LIBS=$LIBS 38561LIBS="-lbfio $LIBS" 38562cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38563/* end confdefs.h. */ 38564 38565/* Override any GCC internal prototype to avoid an error. 38566 Use char because int might match the return type of a GCC 38567 builtin and then its argument prototype would still apply. */ 38568#ifdef __cplusplus 38569extern "C" 38570#endif 38571char libbfio_handle_seek_offset (); 38572int 38573main () 38574{ 38575return libbfio_handle_seek_offset (); 38576 ; 38577 return 0; 38578} 38579_ACEOF 38580if ac_fn_c_try_link "$LINENO"; then : 38581 ac_cv_lib_bfio_libbfio_handle_seek_offset=yes 38582else 38583 ac_cv_lib_bfio_libbfio_handle_seek_offset=no 38584fi 38585rm -f core conftest.err conftest.$ac_objext \ 38586 conftest$ac_exeext conftest.$ac_ext 38587LIBS=$ac_check_lib_save_LIBS 38588fi 38589{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_seek_offset" >&5 38590$as_echo "$ac_cv_lib_bfio_libbfio_handle_seek_offset" >&6; } 38591if test "x$ac_cv_lib_bfio_libbfio_handle_seek_offset" = xyes; then : 38592 ac_cv_libbfio_dummy=yes 38593else 38594 ac_cv_libbfio=no 38595fi 38596 38597 38598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_is_open in -lbfio" >&5 38599$as_echo_n "checking for libbfio_handle_is_open in -lbfio... " >&6; } 38600if ${ac_cv_lib_bfio_libbfio_handle_is_open+:} false; then : 38601 $as_echo_n "(cached) " >&6 38602else 38603 ac_check_lib_save_LIBS=$LIBS 38604LIBS="-lbfio $LIBS" 38605cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38606/* end confdefs.h. */ 38607 38608/* Override any GCC internal prototype to avoid an error. 38609 Use char because int might match the return type of a GCC 38610 builtin and then its argument prototype would still apply. */ 38611#ifdef __cplusplus 38612extern "C" 38613#endif 38614char libbfio_handle_is_open (); 38615int 38616main () 38617{ 38618return libbfio_handle_is_open (); 38619 ; 38620 return 0; 38621} 38622_ACEOF 38623if ac_fn_c_try_link "$LINENO"; then : 38624 ac_cv_lib_bfio_libbfio_handle_is_open=yes 38625else 38626 ac_cv_lib_bfio_libbfio_handle_is_open=no 38627fi 38628rm -f core conftest.err conftest.$ac_objext \ 38629 conftest$ac_exeext conftest.$ac_ext 38630LIBS=$ac_check_lib_save_LIBS 38631fi 38632{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_is_open" >&5 38633$as_echo "$ac_cv_lib_bfio_libbfio_handle_is_open" >&6; } 38634if test "x$ac_cv_lib_bfio_libbfio_handle_is_open" = xyes; then : 38635 ac_cv_libbfio_dummy=yes 38636else 38637 ac_cv_libbfio=no 38638fi 38639 38640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_get_offset in -lbfio" >&5 38641$as_echo_n "checking for libbfio_handle_get_offset in -lbfio... " >&6; } 38642if ${ac_cv_lib_bfio_libbfio_handle_get_offset+:} false; then : 38643 $as_echo_n "(cached) " >&6 38644else 38645 ac_check_lib_save_LIBS=$LIBS 38646LIBS="-lbfio $LIBS" 38647cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38648/* end confdefs.h. */ 38649 38650/* Override any GCC internal prototype to avoid an error. 38651 Use char because int might match the return type of a GCC 38652 builtin and then its argument prototype would still apply. */ 38653#ifdef __cplusplus 38654extern "C" 38655#endif 38656char libbfio_handle_get_offset (); 38657int 38658main () 38659{ 38660return libbfio_handle_get_offset (); 38661 ; 38662 return 0; 38663} 38664_ACEOF 38665if ac_fn_c_try_link "$LINENO"; then : 38666 ac_cv_lib_bfio_libbfio_handle_get_offset=yes 38667else 38668 ac_cv_lib_bfio_libbfio_handle_get_offset=no 38669fi 38670rm -f core conftest.err conftest.$ac_objext \ 38671 conftest$ac_exeext conftest.$ac_ext 38672LIBS=$ac_check_lib_save_LIBS 38673fi 38674{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_get_offset" >&5 38675$as_echo "$ac_cv_lib_bfio_libbfio_handle_get_offset" >&6; } 38676if test "x$ac_cv_lib_bfio_libbfio_handle_get_offset" = xyes; then : 38677 ac_cv_libbfio_dummy=yes 38678else 38679 ac_cv_libbfio=no 38680fi 38681 38682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_get_size in -lbfio" >&5 38683$as_echo_n "checking for libbfio_handle_get_size in -lbfio... " >&6; } 38684if ${ac_cv_lib_bfio_libbfio_handle_get_size+:} false; then : 38685 $as_echo_n "(cached) " >&6 38686else 38687 ac_check_lib_save_LIBS=$LIBS 38688LIBS="-lbfio $LIBS" 38689cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38690/* end confdefs.h. */ 38691 38692/* Override any GCC internal prototype to avoid an error. 38693 Use char because int might match the return type of a GCC 38694 builtin and then its argument prototype would still apply. */ 38695#ifdef __cplusplus 38696extern "C" 38697#endif 38698char libbfio_handle_get_size (); 38699int 38700main () 38701{ 38702return libbfio_handle_get_size (); 38703 ; 38704 return 0; 38705} 38706_ACEOF 38707if ac_fn_c_try_link "$LINENO"; then : 38708 ac_cv_lib_bfio_libbfio_handle_get_size=yes 38709else 38710 ac_cv_lib_bfio_libbfio_handle_get_size=no 38711fi 38712rm -f core conftest.err conftest.$ac_objext \ 38713 conftest$ac_exeext conftest.$ac_ext 38714LIBS=$ac_check_lib_save_LIBS 38715fi 38716{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_get_size" >&5 38717$as_echo "$ac_cv_lib_bfio_libbfio_handle_get_size" >&6; } 38718if test "x$ac_cv_lib_bfio_libbfio_handle_get_size" = xyes; then : 38719 ac_cv_libbfio_dummy=yes 38720else 38721 ac_cv_libbfio=no 38722fi 38723 38724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_set_track_offsets_read in -lbfio" >&5 38725$as_echo_n "checking for libbfio_handle_set_track_offsets_read in -lbfio... " >&6; } 38726if ${ac_cv_lib_bfio_libbfio_handle_set_track_offsets_read+:} false; then : 38727 $as_echo_n "(cached) " >&6 38728else 38729 ac_check_lib_save_LIBS=$LIBS 38730LIBS="-lbfio $LIBS" 38731cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38732/* end confdefs.h. */ 38733 38734/* Override any GCC internal prototype to avoid an error. 38735 Use char because int might match the return type of a GCC 38736 builtin and then its argument prototype would still apply. */ 38737#ifdef __cplusplus 38738extern "C" 38739#endif 38740char libbfio_handle_set_track_offsets_read (); 38741int 38742main () 38743{ 38744return libbfio_handle_set_track_offsets_read (); 38745 ; 38746 return 0; 38747} 38748_ACEOF 38749if ac_fn_c_try_link "$LINENO"; then : 38750 ac_cv_lib_bfio_libbfio_handle_set_track_offsets_read=yes 38751else 38752 ac_cv_lib_bfio_libbfio_handle_set_track_offsets_read=no 38753fi 38754rm -f core conftest.err conftest.$ac_objext \ 38755 conftest$ac_exeext conftest.$ac_ext 38756LIBS=$ac_check_lib_save_LIBS 38757fi 38758{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_set_track_offsets_read" >&5 38759$as_echo "$ac_cv_lib_bfio_libbfio_handle_set_track_offsets_read" >&6; } 38760if test "x$ac_cv_lib_bfio_libbfio_handle_set_track_offsets_read" = xyes; then : 38761 ac_cv_libbfio_dummy=yes 38762else 38763 ac_cv_libbfio=no 38764fi 38765 38766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_get_number_of_offsets_read in -lbfio" >&5 38767$as_echo_n "checking for libbfio_handle_get_number_of_offsets_read in -lbfio... " >&6; } 38768if ${ac_cv_lib_bfio_libbfio_handle_get_number_of_offsets_read+:} false; then : 38769 $as_echo_n "(cached) " >&6 38770else 38771 ac_check_lib_save_LIBS=$LIBS 38772LIBS="-lbfio $LIBS" 38773cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38774/* end confdefs.h. */ 38775 38776/* Override any GCC internal prototype to avoid an error. 38777 Use char because int might match the return type of a GCC 38778 builtin and then its argument prototype would still apply. */ 38779#ifdef __cplusplus 38780extern "C" 38781#endif 38782char libbfio_handle_get_number_of_offsets_read (); 38783int 38784main () 38785{ 38786return libbfio_handle_get_number_of_offsets_read (); 38787 ; 38788 return 0; 38789} 38790_ACEOF 38791if ac_fn_c_try_link "$LINENO"; then : 38792 ac_cv_lib_bfio_libbfio_handle_get_number_of_offsets_read=yes 38793else 38794 ac_cv_lib_bfio_libbfio_handle_get_number_of_offsets_read=no 38795fi 38796rm -f core conftest.err conftest.$ac_objext \ 38797 conftest$ac_exeext conftest.$ac_ext 38798LIBS=$ac_check_lib_save_LIBS 38799fi 38800{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_get_number_of_offsets_read" >&5 38801$as_echo "$ac_cv_lib_bfio_libbfio_handle_get_number_of_offsets_read" >&6; } 38802if test "x$ac_cv_lib_bfio_libbfio_handle_get_number_of_offsets_read" = xyes; then : 38803 ac_cv_libbfio_dummy=yes 38804else 38805 ac_cv_libbfio=no 38806fi 38807 38808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_get_offset_read in -lbfio" >&5 38809$as_echo_n "checking for libbfio_handle_get_offset_read in -lbfio... " >&6; } 38810if ${ac_cv_lib_bfio_libbfio_handle_get_offset_read+:} false; then : 38811 $as_echo_n "(cached) " >&6 38812else 38813 ac_check_lib_save_LIBS=$LIBS 38814LIBS="-lbfio $LIBS" 38815cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38816/* end confdefs.h. */ 38817 38818/* Override any GCC internal prototype to avoid an error. 38819 Use char because int might match the return type of a GCC 38820 builtin and then its argument prototype would still apply. */ 38821#ifdef __cplusplus 38822extern "C" 38823#endif 38824char libbfio_handle_get_offset_read (); 38825int 38826main () 38827{ 38828return libbfio_handle_get_offset_read (); 38829 ; 38830 return 0; 38831} 38832_ACEOF 38833if ac_fn_c_try_link "$LINENO"; then : 38834 ac_cv_lib_bfio_libbfio_handle_get_offset_read=yes 38835else 38836 ac_cv_lib_bfio_libbfio_handle_get_offset_read=no 38837fi 38838rm -f core conftest.err conftest.$ac_objext \ 38839 conftest$ac_exeext conftest.$ac_ext 38840LIBS=$ac_check_lib_save_LIBS 38841fi 38842{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_get_offset_read" >&5 38843$as_echo "$ac_cv_lib_bfio_libbfio_handle_get_offset_read" >&6; } 38844if test "x$ac_cv_lib_bfio_libbfio_handle_get_offset_read" = xyes; then : 38845 ac_cv_libbfio_dummy=yes 38846else 38847 ac_cv_libbfio=no 38848fi 38849 38850 38851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_initialize in -lbfio" >&5 38852$as_echo_n "checking for libbfio_file_initialize in -lbfio... " >&6; } 38853if ${ac_cv_lib_bfio_libbfio_file_initialize+:} false; then : 38854 $as_echo_n "(cached) " >&6 38855else 38856 ac_check_lib_save_LIBS=$LIBS 38857LIBS="-lbfio $LIBS" 38858cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38859/* end confdefs.h. */ 38860 38861/* Override any GCC internal prototype to avoid an error. 38862 Use char because int might match the return type of a GCC 38863 builtin and then its argument prototype would still apply. */ 38864#ifdef __cplusplus 38865extern "C" 38866#endif 38867char libbfio_file_initialize (); 38868int 38869main () 38870{ 38871return libbfio_file_initialize (); 38872 ; 38873 return 0; 38874} 38875_ACEOF 38876if ac_fn_c_try_link "$LINENO"; then : 38877 ac_cv_lib_bfio_libbfio_file_initialize=yes 38878else 38879 ac_cv_lib_bfio_libbfio_file_initialize=no 38880fi 38881rm -f core conftest.err conftest.$ac_objext \ 38882 conftest$ac_exeext conftest.$ac_ext 38883LIBS=$ac_check_lib_save_LIBS 38884fi 38885{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_initialize" >&5 38886$as_echo "$ac_cv_lib_bfio_libbfio_file_initialize" >&6; } 38887if test "x$ac_cv_lib_bfio_libbfio_file_initialize" = xyes; then : 38888 ac_cv_libbfio_dummy=yes 38889else 38890 ac_cv_libbfio=no 38891fi 38892 38893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_get_name_size in -lbfio" >&5 38894$as_echo_n "checking for libbfio_file_get_name_size in -lbfio... " >&6; } 38895if ${ac_cv_lib_bfio_libbfio_file_get_name_size+:} false; then : 38896 $as_echo_n "(cached) " >&6 38897else 38898 ac_check_lib_save_LIBS=$LIBS 38899LIBS="-lbfio $LIBS" 38900cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38901/* end confdefs.h. */ 38902 38903/* Override any GCC internal prototype to avoid an error. 38904 Use char because int might match the return type of a GCC 38905 builtin and then its argument prototype would still apply. */ 38906#ifdef __cplusplus 38907extern "C" 38908#endif 38909char libbfio_file_get_name_size (); 38910int 38911main () 38912{ 38913return libbfio_file_get_name_size (); 38914 ; 38915 return 0; 38916} 38917_ACEOF 38918if ac_fn_c_try_link "$LINENO"; then : 38919 ac_cv_lib_bfio_libbfio_file_get_name_size=yes 38920else 38921 ac_cv_lib_bfio_libbfio_file_get_name_size=no 38922fi 38923rm -f core conftest.err conftest.$ac_objext \ 38924 conftest$ac_exeext conftest.$ac_ext 38925LIBS=$ac_check_lib_save_LIBS 38926fi 38927{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_get_name_size" >&5 38928$as_echo "$ac_cv_lib_bfio_libbfio_file_get_name_size" >&6; } 38929if test "x$ac_cv_lib_bfio_libbfio_file_get_name_size" = xyes; then : 38930 ac_cv_libbfio_dummy=yes 38931else 38932 ac_cv_libbfio=no 38933fi 38934 38935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_get_name in -lbfio" >&5 38936$as_echo_n "checking for libbfio_file_get_name in -lbfio... " >&6; } 38937if ${ac_cv_lib_bfio_libbfio_file_get_name+:} false; then : 38938 $as_echo_n "(cached) " >&6 38939else 38940 ac_check_lib_save_LIBS=$LIBS 38941LIBS="-lbfio $LIBS" 38942cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38943/* end confdefs.h. */ 38944 38945/* Override any GCC internal prototype to avoid an error. 38946 Use char because int might match the return type of a GCC 38947 builtin and then its argument prototype would still apply. */ 38948#ifdef __cplusplus 38949extern "C" 38950#endif 38951char libbfio_file_get_name (); 38952int 38953main () 38954{ 38955return libbfio_file_get_name (); 38956 ; 38957 return 0; 38958} 38959_ACEOF 38960if ac_fn_c_try_link "$LINENO"; then : 38961 ac_cv_lib_bfio_libbfio_file_get_name=yes 38962else 38963 ac_cv_lib_bfio_libbfio_file_get_name=no 38964fi 38965rm -f core conftest.err conftest.$ac_objext \ 38966 conftest$ac_exeext conftest.$ac_ext 38967LIBS=$ac_check_lib_save_LIBS 38968fi 38969{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_get_name" >&5 38970$as_echo "$ac_cv_lib_bfio_libbfio_file_get_name" >&6; } 38971if test "x$ac_cv_lib_bfio_libbfio_file_get_name" = xyes; then : 38972 ac_cv_libbfio_dummy=yes 38973else 38974 ac_cv_libbfio=no 38975fi 38976 38977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_set_name in -lbfio" >&5 38978$as_echo_n "checking for libbfio_file_set_name in -lbfio... " >&6; } 38979if ${ac_cv_lib_bfio_libbfio_file_set_name+:} false; then : 38980 $as_echo_n "(cached) " >&6 38981else 38982 ac_check_lib_save_LIBS=$LIBS 38983LIBS="-lbfio $LIBS" 38984cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38985/* end confdefs.h. */ 38986 38987/* Override any GCC internal prototype to avoid an error. 38988 Use char because int might match the return type of a GCC 38989 builtin and then its argument prototype would still apply. */ 38990#ifdef __cplusplus 38991extern "C" 38992#endif 38993char libbfio_file_set_name (); 38994int 38995main () 38996{ 38997return libbfio_file_set_name (); 38998 ; 38999 return 0; 39000} 39001_ACEOF 39002if ac_fn_c_try_link "$LINENO"; then : 39003 ac_cv_lib_bfio_libbfio_file_set_name=yes 39004else 39005 ac_cv_lib_bfio_libbfio_file_set_name=no 39006fi 39007rm -f core conftest.err conftest.$ac_objext \ 39008 conftest$ac_exeext conftest.$ac_ext 39009LIBS=$ac_check_lib_save_LIBS 39010fi 39011{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_set_name" >&5 39012$as_echo "$ac_cv_lib_bfio_libbfio_file_set_name" >&6; } 39013if test "x$ac_cv_lib_bfio_libbfio_file_set_name" = xyes; then : 39014 ac_cv_libbfio_dummy=yes 39015else 39016 ac_cv_libbfio=no 39017fi 39018 39019 39020 if test "x$ac_cv_enable_wide_character_type" != xno; then : 39021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_get_name_size_wide in -lbfio" >&5 39022$as_echo_n "checking for libbfio_file_get_name_size_wide in -lbfio... " >&6; } 39023if ${ac_cv_lib_bfio_libbfio_file_get_name_size_wide+:} false; then : 39024 $as_echo_n "(cached) " >&6 39025else 39026 ac_check_lib_save_LIBS=$LIBS 39027LIBS="-lbfio $LIBS" 39028cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39029/* end confdefs.h. */ 39030 39031/* Override any GCC internal prototype to avoid an error. 39032 Use char because int might match the return type of a GCC 39033 builtin and then its argument prototype would still apply. */ 39034#ifdef __cplusplus 39035extern "C" 39036#endif 39037char libbfio_file_get_name_size_wide (); 39038int 39039main () 39040{ 39041return libbfio_file_get_name_size_wide (); 39042 ; 39043 return 0; 39044} 39045_ACEOF 39046if ac_fn_c_try_link "$LINENO"; then : 39047 ac_cv_lib_bfio_libbfio_file_get_name_size_wide=yes 39048else 39049 ac_cv_lib_bfio_libbfio_file_get_name_size_wide=no 39050fi 39051rm -f core conftest.err conftest.$ac_objext \ 39052 conftest$ac_exeext conftest.$ac_ext 39053LIBS=$ac_check_lib_save_LIBS 39054fi 39055{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_get_name_size_wide" >&5 39056$as_echo "$ac_cv_lib_bfio_libbfio_file_get_name_size_wide" >&6; } 39057if test "x$ac_cv_lib_bfio_libbfio_file_get_name_size_wide" = xyes; then : 39058 ac_cv_libbfio_dummy=yes 39059else 39060 ac_cv_libbfio=no 39061fi 39062 39063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_get_name_wide in -lbfio" >&5 39064$as_echo_n "checking for libbfio_file_get_name_wide in -lbfio... " >&6; } 39065if ${ac_cv_lib_bfio_libbfio_file_get_name_wide+:} false; then : 39066 $as_echo_n "(cached) " >&6 39067else 39068 ac_check_lib_save_LIBS=$LIBS 39069LIBS="-lbfio $LIBS" 39070cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39071/* end confdefs.h. */ 39072 39073/* Override any GCC internal prototype to avoid an error. 39074 Use char because int might match the return type of a GCC 39075 builtin and then its argument prototype would still apply. */ 39076#ifdef __cplusplus 39077extern "C" 39078#endif 39079char libbfio_file_get_name_wide (); 39080int 39081main () 39082{ 39083return libbfio_file_get_name_wide (); 39084 ; 39085 return 0; 39086} 39087_ACEOF 39088if ac_fn_c_try_link "$LINENO"; then : 39089 ac_cv_lib_bfio_libbfio_file_get_name_wide=yes 39090else 39091 ac_cv_lib_bfio_libbfio_file_get_name_wide=no 39092fi 39093rm -f core conftest.err conftest.$ac_objext \ 39094 conftest$ac_exeext conftest.$ac_ext 39095LIBS=$ac_check_lib_save_LIBS 39096fi 39097{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_get_name_wide" >&5 39098$as_echo "$ac_cv_lib_bfio_libbfio_file_get_name_wide" >&6; } 39099if test "x$ac_cv_lib_bfio_libbfio_file_get_name_wide" = xyes; then : 39100 ac_cv_libbfio_dummy=yes 39101else 39102 ac_cv_libbfio=no 39103fi 39104 39105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_set_name_wide in -lbfio" >&5 39106$as_echo_n "checking for libbfio_file_set_name_wide in -lbfio... " >&6; } 39107if ${ac_cv_lib_bfio_libbfio_file_set_name_wide+:} false; then : 39108 $as_echo_n "(cached) " >&6 39109else 39110 ac_check_lib_save_LIBS=$LIBS 39111LIBS="-lbfio $LIBS" 39112cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39113/* end confdefs.h. */ 39114 39115/* Override any GCC internal prototype to avoid an error. 39116 Use char because int might match the return type of a GCC 39117 builtin and then its argument prototype would still apply. */ 39118#ifdef __cplusplus 39119extern "C" 39120#endif 39121char libbfio_file_set_name_wide (); 39122int 39123main () 39124{ 39125return libbfio_file_set_name_wide (); 39126 ; 39127 return 0; 39128} 39129_ACEOF 39130if ac_fn_c_try_link "$LINENO"; then : 39131 ac_cv_lib_bfio_libbfio_file_set_name_wide=yes 39132else 39133 ac_cv_lib_bfio_libbfio_file_set_name_wide=no 39134fi 39135rm -f core conftest.err conftest.$ac_objext \ 39136 conftest$ac_exeext conftest.$ac_ext 39137LIBS=$ac_check_lib_save_LIBS 39138fi 39139{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_set_name_wide" >&5 39140$as_echo "$ac_cv_lib_bfio_libbfio_file_set_name_wide" >&6; } 39141if test "x$ac_cv_lib_bfio_libbfio_file_set_name_wide" = xyes; then : 39142 ac_cv_libbfio_dummy=yes 39143else 39144 ac_cv_libbfio=no 39145fi 39146 39147 39148fi 39149 39150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_initialize in -lbfio" >&5 39151$as_echo_n "checking for libbfio_pool_initialize in -lbfio... " >&6; } 39152if ${ac_cv_lib_bfio_libbfio_pool_initialize+:} false; then : 39153 $as_echo_n "(cached) " >&6 39154else 39155 ac_check_lib_save_LIBS=$LIBS 39156LIBS="-lbfio $LIBS" 39157cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39158/* end confdefs.h. */ 39159 39160/* Override any GCC internal prototype to avoid an error. 39161 Use char because int might match the return type of a GCC 39162 builtin and then its argument prototype would still apply. */ 39163#ifdef __cplusplus 39164extern "C" 39165#endif 39166char libbfio_pool_initialize (); 39167int 39168main () 39169{ 39170return libbfio_pool_initialize (); 39171 ; 39172 return 0; 39173} 39174_ACEOF 39175if ac_fn_c_try_link "$LINENO"; then : 39176 ac_cv_lib_bfio_libbfio_pool_initialize=yes 39177else 39178 ac_cv_lib_bfio_libbfio_pool_initialize=no 39179fi 39180rm -f core conftest.err conftest.$ac_objext \ 39181 conftest$ac_exeext conftest.$ac_ext 39182LIBS=$ac_check_lib_save_LIBS 39183fi 39184{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_initialize" >&5 39185$as_echo "$ac_cv_lib_bfio_libbfio_pool_initialize" >&6; } 39186if test "x$ac_cv_lib_bfio_libbfio_pool_initialize" = xyes; then : 39187 ac_cv_libbfio_dummy=yes 39188else 39189 ac_cv_libbfio=no 39190fi 39191 39192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_free in -lbfio" >&5 39193$as_echo_n "checking for libbfio_pool_free in -lbfio... " >&6; } 39194if ${ac_cv_lib_bfio_libbfio_pool_free+:} false; then : 39195 $as_echo_n "(cached) " >&6 39196else 39197 ac_check_lib_save_LIBS=$LIBS 39198LIBS="-lbfio $LIBS" 39199cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39200/* end confdefs.h. */ 39201 39202/* Override any GCC internal prototype to avoid an error. 39203 Use char because int might match the return type of a GCC 39204 builtin and then its argument prototype would still apply. */ 39205#ifdef __cplusplus 39206extern "C" 39207#endif 39208char libbfio_pool_free (); 39209int 39210main () 39211{ 39212return libbfio_pool_free (); 39213 ; 39214 return 0; 39215} 39216_ACEOF 39217if ac_fn_c_try_link "$LINENO"; then : 39218 ac_cv_lib_bfio_libbfio_pool_free=yes 39219else 39220 ac_cv_lib_bfio_libbfio_pool_free=no 39221fi 39222rm -f core conftest.err conftest.$ac_objext \ 39223 conftest$ac_exeext conftest.$ac_ext 39224LIBS=$ac_check_lib_save_LIBS 39225fi 39226{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_free" >&5 39227$as_echo "$ac_cv_lib_bfio_libbfio_pool_free" >&6; } 39228if test "x$ac_cv_lib_bfio_libbfio_pool_free" = xyes; then : 39229 ac_cv_libbfio_dummy=yes 39230else 39231 ac_cv_libbfio=no 39232fi 39233 39234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_clone in -lbfio" >&5 39235$as_echo_n "checking for libbfio_pool_clone in -lbfio... " >&6; } 39236if ${ac_cv_lib_bfio_libbfio_pool_clone+:} false; then : 39237 $as_echo_n "(cached) " >&6 39238else 39239 ac_check_lib_save_LIBS=$LIBS 39240LIBS="-lbfio $LIBS" 39241cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39242/* end confdefs.h. */ 39243 39244/* Override any GCC internal prototype to avoid an error. 39245 Use char because int might match the return type of a GCC 39246 builtin and then its argument prototype would still apply. */ 39247#ifdef __cplusplus 39248extern "C" 39249#endif 39250char libbfio_pool_clone (); 39251int 39252main () 39253{ 39254return libbfio_pool_clone (); 39255 ; 39256 return 0; 39257} 39258_ACEOF 39259if ac_fn_c_try_link "$LINENO"; then : 39260 ac_cv_lib_bfio_libbfio_pool_clone=yes 39261else 39262 ac_cv_lib_bfio_libbfio_pool_clone=no 39263fi 39264rm -f core conftest.err conftest.$ac_objext \ 39265 conftest$ac_exeext conftest.$ac_ext 39266LIBS=$ac_check_lib_save_LIBS 39267fi 39268{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_clone" >&5 39269$as_echo "$ac_cv_lib_bfio_libbfio_pool_clone" >&6; } 39270if test "x$ac_cv_lib_bfio_libbfio_pool_clone" = xyes; then : 39271 ac_cv_libbfio_dummy=yes 39272else 39273 ac_cv_libbfio=no 39274fi 39275 39276 39277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_get_number_of_handles in -lbfio" >&5 39278$as_echo_n "checking for libbfio_pool_get_number_of_handles in -lbfio... " >&6; } 39279if ${ac_cv_lib_bfio_libbfio_pool_get_number_of_handles+:} false; then : 39280 $as_echo_n "(cached) " >&6 39281else 39282 ac_check_lib_save_LIBS=$LIBS 39283LIBS="-lbfio $LIBS" 39284cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39285/* end confdefs.h. */ 39286 39287/* Override any GCC internal prototype to avoid an error. 39288 Use char because int might match the return type of a GCC 39289 builtin and then its argument prototype would still apply. */ 39290#ifdef __cplusplus 39291extern "C" 39292#endif 39293char libbfio_pool_get_number_of_handles (); 39294int 39295main () 39296{ 39297return libbfio_pool_get_number_of_handles (); 39298 ; 39299 return 0; 39300} 39301_ACEOF 39302if ac_fn_c_try_link "$LINENO"; then : 39303 ac_cv_lib_bfio_libbfio_pool_get_number_of_handles=yes 39304else 39305 ac_cv_lib_bfio_libbfio_pool_get_number_of_handles=no 39306fi 39307rm -f core conftest.err conftest.$ac_objext \ 39308 conftest$ac_exeext conftest.$ac_ext 39309LIBS=$ac_check_lib_save_LIBS 39310fi 39311{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_get_number_of_handles" >&5 39312$as_echo "$ac_cv_lib_bfio_libbfio_pool_get_number_of_handles" >&6; } 39313if test "x$ac_cv_lib_bfio_libbfio_pool_get_number_of_handles" = xyes; then : 39314 ac_cv_libbfio_dummy=yes 39315else 39316 ac_cv_libbfio=no 39317fi 39318 39319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_get_handle in -lbfio" >&5 39320$as_echo_n "checking for libbfio_pool_get_handle in -lbfio... " >&6; } 39321if ${ac_cv_lib_bfio_libbfio_pool_get_handle+:} false; then : 39322 $as_echo_n "(cached) " >&6 39323else 39324 ac_check_lib_save_LIBS=$LIBS 39325LIBS="-lbfio $LIBS" 39326cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39327/* end confdefs.h. */ 39328 39329/* Override any GCC internal prototype to avoid an error. 39330 Use char because int might match the return type of a GCC 39331 builtin and then its argument prototype would still apply. */ 39332#ifdef __cplusplus 39333extern "C" 39334#endif 39335char libbfio_pool_get_handle (); 39336int 39337main () 39338{ 39339return libbfio_pool_get_handle (); 39340 ; 39341 return 0; 39342} 39343_ACEOF 39344if ac_fn_c_try_link "$LINENO"; then : 39345 ac_cv_lib_bfio_libbfio_pool_get_handle=yes 39346else 39347 ac_cv_lib_bfio_libbfio_pool_get_handle=no 39348fi 39349rm -f core conftest.err conftest.$ac_objext \ 39350 conftest$ac_exeext conftest.$ac_ext 39351LIBS=$ac_check_lib_save_LIBS 39352fi 39353{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_get_handle" >&5 39354$as_echo "$ac_cv_lib_bfio_libbfio_pool_get_handle" >&6; } 39355if test "x$ac_cv_lib_bfio_libbfio_pool_get_handle" = xyes; then : 39356 ac_cv_libbfio_dummy=yes 39357else 39358 ac_cv_libbfio=no 39359fi 39360 39361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_set_handle in -lbfio" >&5 39362$as_echo_n "checking for libbfio_pool_set_handle in -lbfio... " >&6; } 39363if ${ac_cv_lib_bfio_libbfio_pool_set_handle+:} false; then : 39364 $as_echo_n "(cached) " >&6 39365else 39366 ac_check_lib_save_LIBS=$LIBS 39367LIBS="-lbfio $LIBS" 39368cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39369/* end confdefs.h. */ 39370 39371/* Override any GCC internal prototype to avoid an error. 39372 Use char because int might match the return type of a GCC 39373 builtin and then its argument prototype would still apply. */ 39374#ifdef __cplusplus 39375extern "C" 39376#endif 39377char libbfio_pool_set_handle (); 39378int 39379main () 39380{ 39381return libbfio_pool_set_handle (); 39382 ; 39383 return 0; 39384} 39385_ACEOF 39386if ac_fn_c_try_link "$LINENO"; then : 39387 ac_cv_lib_bfio_libbfio_pool_set_handle=yes 39388else 39389 ac_cv_lib_bfio_libbfio_pool_set_handle=no 39390fi 39391rm -f core conftest.err conftest.$ac_objext \ 39392 conftest$ac_exeext conftest.$ac_ext 39393LIBS=$ac_check_lib_save_LIBS 39394fi 39395{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_set_handle" >&5 39396$as_echo "$ac_cv_lib_bfio_libbfio_pool_set_handle" >&6; } 39397if test "x$ac_cv_lib_bfio_libbfio_pool_set_handle" = xyes; then : 39398 ac_cv_libbfio_dummy=yes 39399else 39400 ac_cv_libbfio=no 39401fi 39402 39403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_append_handle in -lbfio" >&5 39404$as_echo_n "checking for libbfio_pool_append_handle in -lbfio... " >&6; } 39405if ${ac_cv_lib_bfio_libbfio_pool_append_handle+:} false; then : 39406 $as_echo_n "(cached) " >&6 39407else 39408 ac_check_lib_save_LIBS=$LIBS 39409LIBS="-lbfio $LIBS" 39410cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39411/* end confdefs.h. */ 39412 39413/* Override any GCC internal prototype to avoid an error. 39414 Use char because int might match the return type of a GCC 39415 builtin and then its argument prototype would still apply. */ 39416#ifdef __cplusplus 39417extern "C" 39418#endif 39419char libbfio_pool_append_handle (); 39420int 39421main () 39422{ 39423return libbfio_pool_append_handle (); 39424 ; 39425 return 0; 39426} 39427_ACEOF 39428if ac_fn_c_try_link "$LINENO"; then : 39429 ac_cv_lib_bfio_libbfio_pool_append_handle=yes 39430else 39431 ac_cv_lib_bfio_libbfio_pool_append_handle=no 39432fi 39433rm -f core conftest.err conftest.$ac_objext \ 39434 conftest$ac_exeext conftest.$ac_ext 39435LIBS=$ac_check_lib_save_LIBS 39436fi 39437{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_append_handle" >&5 39438$as_echo "$ac_cv_lib_bfio_libbfio_pool_append_handle" >&6; } 39439if test "x$ac_cv_lib_bfio_libbfio_pool_append_handle" = xyes; then : 39440 ac_cv_libbfio_dummy=yes 39441else 39442 ac_cv_libbfio=no 39443fi 39444 39445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_remove_handle in -lbfio" >&5 39446$as_echo_n "checking for libbfio_pool_remove_handle in -lbfio... " >&6; } 39447if ${ac_cv_lib_bfio_libbfio_pool_remove_handle+:} false; then : 39448 $as_echo_n "(cached) " >&6 39449else 39450 ac_check_lib_save_LIBS=$LIBS 39451LIBS="-lbfio $LIBS" 39452cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39453/* end confdefs.h. */ 39454 39455/* Override any GCC internal prototype to avoid an error. 39456 Use char because int might match the return type of a GCC 39457 builtin and then its argument prototype would still apply. */ 39458#ifdef __cplusplus 39459extern "C" 39460#endif 39461char libbfio_pool_remove_handle (); 39462int 39463main () 39464{ 39465return libbfio_pool_remove_handle (); 39466 ; 39467 return 0; 39468} 39469_ACEOF 39470if ac_fn_c_try_link "$LINENO"; then : 39471 ac_cv_lib_bfio_libbfio_pool_remove_handle=yes 39472else 39473 ac_cv_lib_bfio_libbfio_pool_remove_handle=no 39474fi 39475rm -f core conftest.err conftest.$ac_objext \ 39476 conftest$ac_exeext conftest.$ac_ext 39477LIBS=$ac_check_lib_save_LIBS 39478fi 39479{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_remove_handle" >&5 39480$as_echo "$ac_cv_lib_bfio_libbfio_pool_remove_handle" >&6; } 39481if test "x$ac_cv_lib_bfio_libbfio_pool_remove_handle" = xyes; then : 39482 ac_cv_libbfio_dummy=yes 39483else 39484 ac_cv_libbfio=no 39485fi 39486 39487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_get_maximum_number_of_open_handles in -lbfio" >&5 39488$as_echo_n "checking for libbfio_pool_get_maximum_number_of_open_handles in -lbfio... " >&6; } 39489if ${ac_cv_lib_bfio_libbfio_pool_get_maximum_number_of_open_handles+:} false; then : 39490 $as_echo_n "(cached) " >&6 39491else 39492 ac_check_lib_save_LIBS=$LIBS 39493LIBS="-lbfio $LIBS" 39494cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39495/* end confdefs.h. */ 39496 39497/* Override any GCC internal prototype to avoid an error. 39498 Use char because int might match the return type of a GCC 39499 builtin and then its argument prototype would still apply. */ 39500#ifdef __cplusplus 39501extern "C" 39502#endif 39503char libbfio_pool_get_maximum_number_of_open_handles (); 39504int 39505main () 39506{ 39507return libbfio_pool_get_maximum_number_of_open_handles (); 39508 ; 39509 return 0; 39510} 39511_ACEOF 39512if ac_fn_c_try_link "$LINENO"; then : 39513 ac_cv_lib_bfio_libbfio_pool_get_maximum_number_of_open_handles=yes 39514else 39515 ac_cv_lib_bfio_libbfio_pool_get_maximum_number_of_open_handles=no 39516fi 39517rm -f core conftest.err conftest.$ac_objext \ 39518 conftest$ac_exeext conftest.$ac_ext 39519LIBS=$ac_check_lib_save_LIBS 39520fi 39521{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_get_maximum_number_of_open_handles" >&5 39522$as_echo "$ac_cv_lib_bfio_libbfio_pool_get_maximum_number_of_open_handles" >&6; } 39523if test "x$ac_cv_lib_bfio_libbfio_pool_get_maximum_number_of_open_handles" = xyes; then : 39524 ac_cv_libbfio_dummy=yes 39525else 39526 ac_cv_libbfio=no 39527fi 39528 39529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_set_maximum_number_of_open_handles in -lbfio" >&5 39530$as_echo_n "checking for libbfio_pool_set_maximum_number_of_open_handles in -lbfio... " >&6; } 39531if ${ac_cv_lib_bfio_libbfio_pool_set_maximum_number_of_open_handles+:} false; then : 39532 $as_echo_n "(cached) " >&6 39533else 39534 ac_check_lib_save_LIBS=$LIBS 39535LIBS="-lbfio $LIBS" 39536cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39537/* end confdefs.h. */ 39538 39539/* Override any GCC internal prototype to avoid an error. 39540 Use char because int might match the return type of a GCC 39541 builtin and then its argument prototype would still apply. */ 39542#ifdef __cplusplus 39543extern "C" 39544#endif 39545char libbfio_pool_set_maximum_number_of_open_handles (); 39546int 39547main () 39548{ 39549return libbfio_pool_set_maximum_number_of_open_handles (); 39550 ; 39551 return 0; 39552} 39553_ACEOF 39554if ac_fn_c_try_link "$LINENO"; then : 39555 ac_cv_lib_bfio_libbfio_pool_set_maximum_number_of_open_handles=yes 39556else 39557 ac_cv_lib_bfio_libbfio_pool_set_maximum_number_of_open_handles=no 39558fi 39559rm -f core conftest.err conftest.$ac_objext \ 39560 conftest$ac_exeext conftest.$ac_ext 39561LIBS=$ac_check_lib_save_LIBS 39562fi 39563{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_set_maximum_number_of_open_handles" >&5 39564$as_echo "$ac_cv_lib_bfio_libbfio_pool_set_maximum_number_of_open_handles" >&6; } 39565if test "x$ac_cv_lib_bfio_libbfio_pool_set_maximum_number_of_open_handles" = xyes; then : 39566 ac_cv_libbfio_dummy=yes 39567else 39568 ac_cv_libbfio=no 39569fi 39570 39571 39572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_open in -lbfio" >&5 39573$as_echo_n "checking for libbfio_pool_open in -lbfio... " >&6; } 39574if ${ac_cv_lib_bfio_libbfio_pool_open+:} false; then : 39575 $as_echo_n "(cached) " >&6 39576else 39577 ac_check_lib_save_LIBS=$LIBS 39578LIBS="-lbfio $LIBS" 39579cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39580/* end confdefs.h. */ 39581 39582/* Override any GCC internal prototype to avoid an error. 39583 Use char because int might match the return type of a GCC 39584 builtin and then its argument prototype would still apply. */ 39585#ifdef __cplusplus 39586extern "C" 39587#endif 39588char libbfio_pool_open (); 39589int 39590main () 39591{ 39592return libbfio_pool_open (); 39593 ; 39594 return 0; 39595} 39596_ACEOF 39597if ac_fn_c_try_link "$LINENO"; then : 39598 ac_cv_lib_bfio_libbfio_pool_open=yes 39599else 39600 ac_cv_lib_bfio_libbfio_pool_open=no 39601fi 39602rm -f core conftest.err conftest.$ac_objext \ 39603 conftest$ac_exeext conftest.$ac_ext 39604LIBS=$ac_check_lib_save_LIBS 39605fi 39606{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_open" >&5 39607$as_echo "$ac_cv_lib_bfio_libbfio_pool_open" >&6; } 39608if test "x$ac_cv_lib_bfio_libbfio_pool_open" = xyes; then : 39609 ac_cv_libbfio_dummy=yes 39610else 39611 ac_cv_libbfio=no 39612fi 39613 39614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_reopen in -lbfio" >&5 39615$as_echo_n "checking for libbfio_pool_reopen in -lbfio... " >&6; } 39616if ${ac_cv_lib_bfio_libbfio_pool_reopen+:} false; then : 39617 $as_echo_n "(cached) " >&6 39618else 39619 ac_check_lib_save_LIBS=$LIBS 39620LIBS="-lbfio $LIBS" 39621cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39622/* end confdefs.h. */ 39623 39624/* Override any GCC internal prototype to avoid an error. 39625 Use char because int might match the return type of a GCC 39626 builtin and then its argument prototype would still apply. */ 39627#ifdef __cplusplus 39628extern "C" 39629#endif 39630char libbfio_pool_reopen (); 39631int 39632main () 39633{ 39634return libbfio_pool_reopen (); 39635 ; 39636 return 0; 39637} 39638_ACEOF 39639if ac_fn_c_try_link "$LINENO"; then : 39640 ac_cv_lib_bfio_libbfio_pool_reopen=yes 39641else 39642 ac_cv_lib_bfio_libbfio_pool_reopen=no 39643fi 39644rm -f core conftest.err conftest.$ac_objext \ 39645 conftest$ac_exeext conftest.$ac_ext 39646LIBS=$ac_check_lib_save_LIBS 39647fi 39648{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_reopen" >&5 39649$as_echo "$ac_cv_lib_bfio_libbfio_pool_reopen" >&6; } 39650if test "x$ac_cv_lib_bfio_libbfio_pool_reopen" = xyes; then : 39651 ac_cv_libbfio_dummy=yes 39652else 39653 ac_cv_libbfio=no 39654fi 39655 39656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_close in -lbfio" >&5 39657$as_echo_n "checking for libbfio_pool_close in -lbfio... " >&6; } 39658if ${ac_cv_lib_bfio_libbfio_pool_close+:} false; then : 39659 $as_echo_n "(cached) " >&6 39660else 39661 ac_check_lib_save_LIBS=$LIBS 39662LIBS="-lbfio $LIBS" 39663cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39664/* end confdefs.h. */ 39665 39666/* Override any GCC internal prototype to avoid an error. 39667 Use char because int might match the return type of a GCC 39668 builtin and then its argument prototype would still apply. */ 39669#ifdef __cplusplus 39670extern "C" 39671#endif 39672char libbfio_pool_close (); 39673int 39674main () 39675{ 39676return libbfio_pool_close (); 39677 ; 39678 return 0; 39679} 39680_ACEOF 39681if ac_fn_c_try_link "$LINENO"; then : 39682 ac_cv_lib_bfio_libbfio_pool_close=yes 39683else 39684 ac_cv_lib_bfio_libbfio_pool_close=no 39685fi 39686rm -f core conftest.err conftest.$ac_objext \ 39687 conftest$ac_exeext conftest.$ac_ext 39688LIBS=$ac_check_lib_save_LIBS 39689fi 39690{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_close" >&5 39691$as_echo "$ac_cv_lib_bfio_libbfio_pool_close" >&6; } 39692if test "x$ac_cv_lib_bfio_libbfio_pool_close" = xyes; then : 39693 ac_cv_libbfio_dummy=yes 39694else 39695 ac_cv_libbfio=no 39696fi 39697 39698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_close_all in -lbfio" >&5 39699$as_echo_n "checking for libbfio_pool_close_all in -lbfio... " >&6; } 39700if ${ac_cv_lib_bfio_libbfio_pool_close_all+:} false; then : 39701 $as_echo_n "(cached) " >&6 39702else 39703 ac_check_lib_save_LIBS=$LIBS 39704LIBS="-lbfio $LIBS" 39705cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39706/* end confdefs.h. */ 39707 39708/* Override any GCC internal prototype to avoid an error. 39709 Use char because int might match the return type of a GCC 39710 builtin and then its argument prototype would still apply. */ 39711#ifdef __cplusplus 39712extern "C" 39713#endif 39714char libbfio_pool_close_all (); 39715int 39716main () 39717{ 39718return libbfio_pool_close_all (); 39719 ; 39720 return 0; 39721} 39722_ACEOF 39723if ac_fn_c_try_link "$LINENO"; then : 39724 ac_cv_lib_bfio_libbfio_pool_close_all=yes 39725else 39726 ac_cv_lib_bfio_libbfio_pool_close_all=no 39727fi 39728rm -f core conftest.err conftest.$ac_objext \ 39729 conftest$ac_exeext conftest.$ac_ext 39730LIBS=$ac_check_lib_save_LIBS 39731fi 39732{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_close_all" >&5 39733$as_echo "$ac_cv_lib_bfio_libbfio_pool_close_all" >&6; } 39734if test "x$ac_cv_lib_bfio_libbfio_pool_close_all" = xyes; then : 39735 ac_cv_libbfio_dummy=yes 39736else 39737 ac_cv_libbfio=no 39738fi 39739 39740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_read_buffer in -lbfio" >&5 39741$as_echo_n "checking for libbfio_pool_read_buffer in -lbfio... " >&6; } 39742if ${ac_cv_lib_bfio_libbfio_pool_read_buffer+:} false; then : 39743 $as_echo_n "(cached) " >&6 39744else 39745 ac_check_lib_save_LIBS=$LIBS 39746LIBS="-lbfio $LIBS" 39747cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39748/* end confdefs.h. */ 39749 39750/* Override any GCC internal prototype to avoid an error. 39751 Use char because int might match the return type of a GCC 39752 builtin and then its argument prototype would still apply. */ 39753#ifdef __cplusplus 39754extern "C" 39755#endif 39756char libbfio_pool_read_buffer (); 39757int 39758main () 39759{ 39760return libbfio_pool_read_buffer (); 39761 ; 39762 return 0; 39763} 39764_ACEOF 39765if ac_fn_c_try_link "$LINENO"; then : 39766 ac_cv_lib_bfio_libbfio_pool_read_buffer=yes 39767else 39768 ac_cv_lib_bfio_libbfio_pool_read_buffer=no 39769fi 39770rm -f core conftest.err conftest.$ac_objext \ 39771 conftest$ac_exeext conftest.$ac_ext 39772LIBS=$ac_check_lib_save_LIBS 39773fi 39774{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_read_buffer" >&5 39775$as_echo "$ac_cv_lib_bfio_libbfio_pool_read_buffer" >&6; } 39776if test "x$ac_cv_lib_bfio_libbfio_pool_read_buffer" = xyes; then : 39777 ac_cv_libbfio_dummy=yes 39778else 39779 ac_cv_libbfio=no 39780fi 39781 39782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_read_buffer_at_offset in -lbfio" >&5 39783$as_echo_n "checking for libbfio_pool_read_buffer_at_offset in -lbfio... " >&6; } 39784if ${ac_cv_lib_bfio_libbfio_pool_read_buffer_at_offset+:} false; then : 39785 $as_echo_n "(cached) " >&6 39786else 39787 ac_check_lib_save_LIBS=$LIBS 39788LIBS="-lbfio $LIBS" 39789cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39790/* end confdefs.h. */ 39791 39792/* Override any GCC internal prototype to avoid an error. 39793 Use char because int might match the return type of a GCC 39794 builtin and then its argument prototype would still apply. */ 39795#ifdef __cplusplus 39796extern "C" 39797#endif 39798char libbfio_pool_read_buffer_at_offset (); 39799int 39800main () 39801{ 39802return libbfio_pool_read_buffer_at_offset (); 39803 ; 39804 return 0; 39805} 39806_ACEOF 39807if ac_fn_c_try_link "$LINENO"; then : 39808 ac_cv_lib_bfio_libbfio_pool_read_buffer_at_offset=yes 39809else 39810 ac_cv_lib_bfio_libbfio_pool_read_buffer_at_offset=no 39811fi 39812rm -f core conftest.err conftest.$ac_objext \ 39813 conftest$ac_exeext conftest.$ac_ext 39814LIBS=$ac_check_lib_save_LIBS 39815fi 39816{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_read_buffer_at_offset" >&5 39817$as_echo "$ac_cv_lib_bfio_libbfio_pool_read_buffer_at_offset" >&6; } 39818if test "x$ac_cv_lib_bfio_libbfio_pool_read_buffer_at_offset" = xyes; then : 39819 ac_cv_libbfio_dummy=yes 39820else 39821 ac_cv_libbfio=no 39822fi 39823 39824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_write_buffer in -lbfio" >&5 39825$as_echo_n "checking for libbfio_pool_write_buffer in -lbfio... " >&6; } 39826if ${ac_cv_lib_bfio_libbfio_pool_write_buffer+:} false; then : 39827 $as_echo_n "(cached) " >&6 39828else 39829 ac_check_lib_save_LIBS=$LIBS 39830LIBS="-lbfio $LIBS" 39831cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39832/* end confdefs.h. */ 39833 39834/* Override any GCC internal prototype to avoid an error. 39835 Use char because int might match the return type of a GCC 39836 builtin and then its argument prototype would still apply. */ 39837#ifdef __cplusplus 39838extern "C" 39839#endif 39840char libbfio_pool_write_buffer (); 39841int 39842main () 39843{ 39844return libbfio_pool_write_buffer (); 39845 ; 39846 return 0; 39847} 39848_ACEOF 39849if ac_fn_c_try_link "$LINENO"; then : 39850 ac_cv_lib_bfio_libbfio_pool_write_buffer=yes 39851else 39852 ac_cv_lib_bfio_libbfio_pool_write_buffer=no 39853fi 39854rm -f core conftest.err conftest.$ac_objext \ 39855 conftest$ac_exeext conftest.$ac_ext 39856LIBS=$ac_check_lib_save_LIBS 39857fi 39858{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_write_buffer" >&5 39859$as_echo "$ac_cv_lib_bfio_libbfio_pool_write_buffer" >&6; } 39860if test "x$ac_cv_lib_bfio_libbfio_pool_write_buffer" = xyes; then : 39861 ac_cv_libbfio_dummy=yes 39862else 39863 ac_cv_libbfio=no 39864fi 39865 39866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_write_buffer_at_offset in -lbfio" >&5 39867$as_echo_n "checking for libbfio_pool_write_buffer_at_offset in -lbfio... " >&6; } 39868if ${ac_cv_lib_bfio_libbfio_pool_write_buffer_at_offset+:} false; then : 39869 $as_echo_n "(cached) " >&6 39870else 39871 ac_check_lib_save_LIBS=$LIBS 39872LIBS="-lbfio $LIBS" 39873cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39874/* end confdefs.h. */ 39875 39876/* Override any GCC internal prototype to avoid an error. 39877 Use char because int might match the return type of a GCC 39878 builtin and then its argument prototype would still apply. */ 39879#ifdef __cplusplus 39880extern "C" 39881#endif 39882char libbfio_pool_write_buffer_at_offset (); 39883int 39884main () 39885{ 39886return libbfio_pool_write_buffer_at_offset (); 39887 ; 39888 return 0; 39889} 39890_ACEOF 39891if ac_fn_c_try_link "$LINENO"; then : 39892 ac_cv_lib_bfio_libbfio_pool_write_buffer_at_offset=yes 39893else 39894 ac_cv_lib_bfio_libbfio_pool_write_buffer_at_offset=no 39895fi 39896rm -f core conftest.err conftest.$ac_objext \ 39897 conftest$ac_exeext conftest.$ac_ext 39898LIBS=$ac_check_lib_save_LIBS 39899fi 39900{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_write_buffer_at_offset" >&5 39901$as_echo "$ac_cv_lib_bfio_libbfio_pool_write_buffer_at_offset" >&6; } 39902if test "x$ac_cv_lib_bfio_libbfio_pool_write_buffer_at_offset" = xyes; then : 39903 ac_cv_libbfio_dummy=yes 39904else 39905 ac_cv_libbfio=no 39906fi 39907 39908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_seek_offset in -lbfio" >&5 39909$as_echo_n "checking for libbfio_pool_seek_offset in -lbfio... " >&6; } 39910if ${ac_cv_lib_bfio_libbfio_pool_seek_offset+:} false; then : 39911 $as_echo_n "(cached) " >&6 39912else 39913 ac_check_lib_save_LIBS=$LIBS 39914LIBS="-lbfio $LIBS" 39915cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39916/* end confdefs.h. */ 39917 39918/* Override any GCC internal prototype to avoid an error. 39919 Use char because int might match the return type of a GCC 39920 builtin and then its argument prototype would still apply. */ 39921#ifdef __cplusplus 39922extern "C" 39923#endif 39924char libbfio_pool_seek_offset (); 39925int 39926main () 39927{ 39928return libbfio_pool_seek_offset (); 39929 ; 39930 return 0; 39931} 39932_ACEOF 39933if ac_fn_c_try_link "$LINENO"; then : 39934 ac_cv_lib_bfio_libbfio_pool_seek_offset=yes 39935else 39936 ac_cv_lib_bfio_libbfio_pool_seek_offset=no 39937fi 39938rm -f core conftest.err conftest.$ac_objext \ 39939 conftest$ac_exeext conftest.$ac_ext 39940LIBS=$ac_check_lib_save_LIBS 39941fi 39942{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_seek_offset" >&5 39943$as_echo "$ac_cv_lib_bfio_libbfio_pool_seek_offset" >&6; } 39944if test "x$ac_cv_lib_bfio_libbfio_pool_seek_offset" = xyes; then : 39945 ac_cv_libbfio_dummy=yes 39946else 39947 ac_cv_libbfio=no 39948fi 39949 39950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_get_offset in -lbfio" >&5 39951$as_echo_n "checking for libbfio_pool_get_offset in -lbfio... " >&6; } 39952if ${ac_cv_lib_bfio_libbfio_pool_get_offset+:} false; then : 39953 $as_echo_n "(cached) " >&6 39954else 39955 ac_check_lib_save_LIBS=$LIBS 39956LIBS="-lbfio $LIBS" 39957cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39958/* end confdefs.h. */ 39959 39960/* Override any GCC internal prototype to avoid an error. 39961 Use char because int might match the return type of a GCC 39962 builtin and then its argument prototype would still apply. */ 39963#ifdef __cplusplus 39964extern "C" 39965#endif 39966char libbfio_pool_get_offset (); 39967int 39968main () 39969{ 39970return libbfio_pool_get_offset (); 39971 ; 39972 return 0; 39973} 39974_ACEOF 39975if ac_fn_c_try_link "$LINENO"; then : 39976 ac_cv_lib_bfio_libbfio_pool_get_offset=yes 39977else 39978 ac_cv_lib_bfio_libbfio_pool_get_offset=no 39979fi 39980rm -f core conftest.err conftest.$ac_objext \ 39981 conftest$ac_exeext conftest.$ac_ext 39982LIBS=$ac_check_lib_save_LIBS 39983fi 39984{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_get_offset" >&5 39985$as_echo "$ac_cv_lib_bfio_libbfio_pool_get_offset" >&6; } 39986if test "x$ac_cv_lib_bfio_libbfio_pool_get_offset" = xyes; then : 39987 ac_cv_libbfio_dummy=yes 39988else 39989 ac_cv_libbfio=no 39990fi 39991 39992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_get_size in -lbfio" >&5 39993$as_echo_n "checking for libbfio_pool_get_size in -lbfio... " >&6; } 39994if ${ac_cv_lib_bfio_libbfio_pool_get_size+:} false; then : 39995 $as_echo_n "(cached) " >&6 39996else 39997 ac_check_lib_save_LIBS=$LIBS 39998LIBS="-lbfio $LIBS" 39999cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40000/* end confdefs.h. */ 40001 40002/* Override any GCC internal prototype to avoid an error. 40003 Use char because int might match the return type of a GCC 40004 builtin and then its argument prototype would still apply. */ 40005#ifdef __cplusplus 40006extern "C" 40007#endif 40008char libbfio_pool_get_size (); 40009int 40010main () 40011{ 40012return libbfio_pool_get_size (); 40013 ; 40014 return 0; 40015} 40016_ACEOF 40017if ac_fn_c_try_link "$LINENO"; then : 40018 ac_cv_lib_bfio_libbfio_pool_get_size=yes 40019else 40020 ac_cv_lib_bfio_libbfio_pool_get_size=no 40021fi 40022rm -f core conftest.err conftest.$ac_objext \ 40023 conftest$ac_exeext conftest.$ac_ext 40024LIBS=$ac_check_lib_save_LIBS 40025fi 40026{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_get_size" >&5 40027$as_echo "$ac_cv_lib_bfio_libbfio_pool_get_size" >&6; } 40028if test "x$ac_cv_lib_bfio_libbfio_pool_get_size" = xyes; then : 40029 ac_cv_libbfio_dummy=yes 40030else 40031 ac_cv_libbfio=no 40032fi 40033 40034 40035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_pool_open in -lbfio" >&5 40036$as_echo_n "checking for libbfio_file_pool_open in -lbfio... " >&6; } 40037if ${ac_cv_lib_bfio_libbfio_file_pool_open+:} false; then : 40038 $as_echo_n "(cached) " >&6 40039else 40040 ac_check_lib_save_LIBS=$LIBS 40041LIBS="-lbfio $LIBS" 40042cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40043/* end confdefs.h. */ 40044 40045/* Override any GCC internal prototype to avoid an error. 40046 Use char because int might match the return type of a GCC 40047 builtin and then its argument prototype would still apply. */ 40048#ifdef __cplusplus 40049extern "C" 40050#endif 40051char libbfio_file_pool_open (); 40052int 40053main () 40054{ 40055return libbfio_file_pool_open (); 40056 ; 40057 return 0; 40058} 40059_ACEOF 40060if ac_fn_c_try_link "$LINENO"; then : 40061 ac_cv_lib_bfio_libbfio_file_pool_open=yes 40062else 40063 ac_cv_lib_bfio_libbfio_file_pool_open=no 40064fi 40065rm -f core conftest.err conftest.$ac_objext \ 40066 conftest$ac_exeext conftest.$ac_ext 40067LIBS=$ac_check_lib_save_LIBS 40068fi 40069{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_pool_open" >&5 40070$as_echo "$ac_cv_lib_bfio_libbfio_file_pool_open" >&6; } 40071if test "x$ac_cv_lib_bfio_libbfio_file_pool_open" = xyes; then : 40072 ac_cv_libbfio_dummy=yes 40073else 40074 ac_cv_libbfio=no 40075fi 40076 40077 40078 if test "x$ac_cv_enable_wide_character_type" != xno; then : 40079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_pool_open_wide in -lbfio" >&5 40080$as_echo_n "checking for libbfio_file_pool_open_wide in -lbfio... " >&6; } 40081if ${ac_cv_lib_bfio_libbfio_file_pool_open_wide+:} false; then : 40082 $as_echo_n "(cached) " >&6 40083else 40084 ac_check_lib_save_LIBS=$LIBS 40085LIBS="-lbfio $LIBS" 40086cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40087/* end confdefs.h. */ 40088 40089/* Override any GCC internal prototype to avoid an error. 40090 Use char because int might match the return type of a GCC 40091 builtin and then its argument prototype would still apply. */ 40092#ifdef __cplusplus 40093extern "C" 40094#endif 40095char libbfio_file_pool_open_wide (); 40096int 40097main () 40098{ 40099return libbfio_file_pool_open_wide (); 40100 ; 40101 return 0; 40102} 40103_ACEOF 40104if ac_fn_c_try_link "$LINENO"; then : 40105 ac_cv_lib_bfio_libbfio_file_pool_open_wide=yes 40106else 40107 ac_cv_lib_bfio_libbfio_file_pool_open_wide=no 40108fi 40109rm -f core conftest.err conftest.$ac_objext \ 40110 conftest$ac_exeext conftest.$ac_ext 40111LIBS=$ac_check_lib_save_LIBS 40112fi 40113{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_pool_open_wide" >&5 40114$as_echo "$ac_cv_lib_bfio_libbfio_file_pool_open_wide" >&6; } 40115if test "x$ac_cv_lib_bfio_libbfio_file_pool_open_wide" = xyes; then : 40116 ac_cv_libbfio_dummy=yes 40117else 40118 ac_cv_libbfio=no 40119fi 40120 40121 40122fi 40123 40124 ac_cv_libbfio_LIBADD="-lbfio" 40125fi 40126 40127fi 40128 if test "x$ac_cv_with_libbfio" != x && test "x$ac_cv_with_libbfio" != xauto-detect && test "x$ac_cv_libbfio" != xyes; then : 40129 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 40130$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 40131as_fn_error 1 "unable to find supported libbfio in directory: $ac_cv_with_libbfio 40132See \`config.log' for more details" "$LINENO" 5; } 40133 40134fi 40135 40136fi 40137 40138 if test "x$ac_cv_libbfio" = xyes; then : 40139 40140$as_echo "#define HAVE_LIBBFIO 1" >>confdefs.h 40141 40142 40143fi 40144 40145 if test "x$ac_cv_libbfio" = xyes; then : 40146 HAVE_LIBBFIO=1 40147 40148else 40149 HAVE_LIBBFIO=0 40150 40151 40152fi 40153 40154 40155 if test "x$ac_cv_libbfio" != xyes; then : 40156 40157 ac_cv_libbfio_CPPFLAGS="-I../libbfio"; 40158 ac_cv_libbfio_LIBADD="../libbfio/libbfio.la"; 40159 40160 ac_cv_libbfio=local 40161 40162 40163 40164$as_echo "#define HAVE_LOCAL_LIBBFIO 1" >>confdefs.h 40165 40166 HAVE_LOCAL_LIBBFIO=1 40167 40168 40169fi 40170 40171 if test "x$ac_cv_libbfio" = xlocal; then 40172 HAVE_LOCAL_LIBBFIO_TRUE= 40173 HAVE_LOCAL_LIBBFIO_FALSE='#' 40174else 40175 HAVE_LOCAL_LIBBFIO_TRUE='#' 40176 HAVE_LOCAL_LIBBFIO_FALSE= 40177fi 40178 40179 if test "x$ac_cv_libbfio_CPPFLAGS" != "x"; then : 40180 LIBBFIO_CPPFLAGS=$ac_cv_libbfio_CPPFLAGS 40181 40182 40183fi 40184 if test "x$ac_cv_libbfio_LIBADD" != "x"; then : 40185 LIBBFIO_LIBADD=$ac_cv_libbfio_LIBADD 40186 40187 40188fi 40189 40190 if test "x$ac_cv_libbfio" = xyes; then : 40191 ax_libbfio_pc_libs_private=-lbfio 40192 40193 40194fi 40195 40196 if test "x$ac_cv_libbfio" = xyes; then : 40197 ax_libbfio_spec_requires=libbfio 40198 40199 ax_libbfio_spec_build_requires=libbfio-devel 40200 40201 40202fi 40203 40204 40205 40206 40207# Check whether --with-libfdatetime was given. 40208if test "${with_libfdatetime+set}" = set; then : 40209 withval=$with_libfdatetime; ac_cv_with_libfdatetime=$withval 40210else 40211 ac_cv_with_libfdatetime=auto-detect 40212fi 40213 40214 { $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 40215$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; } 40216if ${ac_cv_with_libfdatetime+:} false; then : 40217 $as_echo_n "(cached) " >&6 40218else 40219 ac_cv_with_libfdatetime=auto-detect 40220fi 40221{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libfdatetime" >&5 40222$as_echo "$ac_cv_with_libfdatetime" >&6; } 40223 40224 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libfdatetime" = xno; then : 40225 ac_cv_libfdatetime=no 40226else 40227 ac_cv_libfdatetime=check 40228 if test "x$ac_cv_with_libfdatetime" != x && test "x$ac_cv_with_libfdatetime" != xauto-detect; then : 40229 if test -d "$ac_cv_with_libfdatetime"; then : 40230 CFLAGS="$CFLAGS -I${ac_cv_with_libfdatetime}/include" 40231 LDFLAGS="$LDFLAGS -L${ac_cv_with_libfdatetime}/lib" 40232else 40233 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 40234$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 40235as_fn_error 1 "no such directory: $ac_cv_with_libfdatetime 40236See \`config.log' for more details" "$LINENO" 5; } 40237 40238fi 40239 40240else 40241 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 40242 40243pkg_failed=no 40244{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime" >&5 40245$as_echo_n "checking for libfdatetime... " >&6; } 40246 40247if test -n "$libfdatetime_CFLAGS"; then 40248 pkg_cv_libfdatetime_CFLAGS="$libfdatetime_CFLAGS" 40249 elif test -n "$PKG_CONFIG"; then 40250 if test -n "$PKG_CONFIG" && \ 40251 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfdatetime >= 20180910\""; } >&5 40252 ($PKG_CONFIG --exists --print-errors "libfdatetime >= 20180910") 2>&5 40253 ac_status=$? 40254 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 40255 test $ac_status = 0; }; then 40256 pkg_cv_libfdatetime_CFLAGS=`$PKG_CONFIG --cflags "libfdatetime >= 20180910" 2>/dev/null` 40257 test "x$?" != "x0" && pkg_failed=yes 40258else 40259 pkg_failed=yes 40260fi 40261 else 40262 pkg_failed=untried 40263fi 40264if test -n "$libfdatetime_LIBS"; then 40265 pkg_cv_libfdatetime_LIBS="$libfdatetime_LIBS" 40266 elif test -n "$PKG_CONFIG"; then 40267 if test -n "$PKG_CONFIG" && \ 40268 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfdatetime >= 20180910\""; } >&5 40269 ($PKG_CONFIG --exists --print-errors "libfdatetime >= 20180910") 2>&5 40270 ac_status=$? 40271 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 40272 test $ac_status = 0; }; then 40273 pkg_cv_libfdatetime_LIBS=`$PKG_CONFIG --libs "libfdatetime >= 20180910" 2>/dev/null` 40274 test "x$?" != "x0" && pkg_failed=yes 40275else 40276 pkg_failed=yes 40277fi 40278 else 40279 pkg_failed=untried 40280fi 40281 40282 40283 40284if test $pkg_failed = yes; then 40285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 40286$as_echo "no" >&6; } 40287 40288if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 40289 _pkg_short_errors_supported=yes 40290else 40291 _pkg_short_errors_supported=no 40292fi 40293 if test $_pkg_short_errors_supported = yes; then 40294 libfdatetime_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libfdatetime >= 20180910" 2>&1` 40295 else 40296 libfdatetime_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libfdatetime >= 20180910" 2>&1` 40297 fi 40298 # Put the nasty error message in config.log where it belongs 40299 echo "$libfdatetime_PKG_ERRORS" >&5 40300 40301 ac_cv_libfdatetime=check 40302elif test $pkg_failed = untried; then 40303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 40304$as_echo "no" >&6; } 40305 ac_cv_libfdatetime=check 40306else 40307 libfdatetime_CFLAGS=$pkg_cv_libfdatetime_CFLAGS 40308 libfdatetime_LIBS=$pkg_cv_libfdatetime_LIBS 40309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 40310$as_echo "yes" >&6; } 40311 ac_cv_libfdatetime=yes 40312fi 40313 40314fi 40315 if test "x$ac_cv_libfdatetime" = xyes; then : 40316 ac_cv_libfdatetime_CPPFLAGS="$pkg_cv_libfdatetime_CFLAGS" 40317 ac_cv_libfdatetime_LIBADD="$pkg_cv_libfdatetime_LIBS" 40318fi 40319 40320fi 40321 40322 if test "x$ac_cv_libfdatetime" = xcheck; then : 40323 for ac_header in libfdatetime.h 40324do : 40325 ac_fn_c_check_header_mongrel "$LINENO" "libfdatetime.h" "ac_cv_header_libfdatetime_h" "$ac_includes_default" 40326if test "x$ac_cv_header_libfdatetime_h" = xyes; then : 40327 cat >>confdefs.h <<_ACEOF 40328#define HAVE_LIBFDATETIME_H 1 40329_ACEOF 40330 40331fi 40332 40333done 40334 40335 40336 if test "x$ac_cv_header_libfdatetime_h" = xno; then : 40337 ac_cv_libfdatetime=no 40338else 40339 ac_cv_libfdatetime=yes 40340 40341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_get_version in -lfdatetime" >&5 40342$as_echo_n "checking for libfdatetime_get_version in -lfdatetime... " >&6; } 40343if ${ac_cv_lib_fdatetime_libfdatetime_get_version+:} false; then : 40344 $as_echo_n "(cached) " >&6 40345else 40346 ac_check_lib_save_LIBS=$LIBS 40347LIBS="-lfdatetime $LIBS" 40348cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40349/* end confdefs.h. */ 40350 40351/* Override any GCC internal prototype to avoid an error. 40352 Use char because int might match the return type of a GCC 40353 builtin and then its argument prototype would still apply. */ 40354#ifdef __cplusplus 40355extern "C" 40356#endif 40357char libfdatetime_get_version (); 40358int 40359main () 40360{ 40361return libfdatetime_get_version (); 40362 ; 40363 return 0; 40364} 40365_ACEOF 40366if ac_fn_c_try_link "$LINENO"; then : 40367 ac_cv_lib_fdatetime_libfdatetime_get_version=yes 40368else 40369 ac_cv_lib_fdatetime_libfdatetime_get_version=no 40370fi 40371rm -f core conftest.err conftest.$ac_objext \ 40372 conftest$ac_exeext conftest.$ac_ext 40373LIBS=$ac_check_lib_save_LIBS 40374fi 40375{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_get_version" >&5 40376$as_echo "$ac_cv_lib_fdatetime_libfdatetime_get_version" >&6; } 40377if test "x$ac_cv_lib_fdatetime_libfdatetime_get_version" = xyes; then : 40378 ac_cv_libfdatetime_dummy=yes 40379else 40380 ac_cv_libfdatetime=no 40381fi 40382 40383 40384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_fat_date_time_initialize in -lfdatetime" >&5 40385$as_echo_n "checking for libfdatetime_fat_date_time_initialize in -lfdatetime... " >&6; } 40386if ${ac_cv_lib_fdatetime_libfdatetime_fat_date_time_initialize+:} false; then : 40387 $as_echo_n "(cached) " >&6 40388else 40389 ac_check_lib_save_LIBS=$LIBS 40390LIBS="-lfdatetime $LIBS" 40391cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40392/* end confdefs.h. */ 40393 40394/* Override any GCC internal prototype to avoid an error. 40395 Use char because int might match the return type of a GCC 40396 builtin and then its argument prototype would still apply. */ 40397#ifdef __cplusplus 40398extern "C" 40399#endif 40400char libfdatetime_fat_date_time_initialize (); 40401int 40402main () 40403{ 40404return libfdatetime_fat_date_time_initialize (); 40405 ; 40406 return 0; 40407} 40408_ACEOF 40409if ac_fn_c_try_link "$LINENO"; then : 40410 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_initialize=yes 40411else 40412 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_initialize=no 40413fi 40414rm -f core conftest.err conftest.$ac_objext \ 40415 conftest$ac_exeext conftest.$ac_ext 40416LIBS=$ac_check_lib_save_LIBS 40417fi 40418{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_fat_date_time_initialize" >&5 40419$as_echo "$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_initialize" >&6; } 40420if test "x$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_initialize" = xyes; then : 40421 ac_cv_libfdatetime_dummy=yes 40422else 40423 ac_cv_libfdatetime=no 40424fi 40425 40426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_fat_date_time_free in -lfdatetime" >&5 40427$as_echo_n "checking for libfdatetime_fat_date_time_free in -lfdatetime... " >&6; } 40428if ${ac_cv_lib_fdatetime_libfdatetime_fat_date_time_free+:} false; then : 40429 $as_echo_n "(cached) " >&6 40430else 40431 ac_check_lib_save_LIBS=$LIBS 40432LIBS="-lfdatetime $LIBS" 40433cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40434/* end confdefs.h. */ 40435 40436/* Override any GCC internal prototype to avoid an error. 40437 Use char because int might match the return type of a GCC 40438 builtin and then its argument prototype would still apply. */ 40439#ifdef __cplusplus 40440extern "C" 40441#endif 40442char libfdatetime_fat_date_time_free (); 40443int 40444main () 40445{ 40446return libfdatetime_fat_date_time_free (); 40447 ; 40448 return 0; 40449} 40450_ACEOF 40451if ac_fn_c_try_link "$LINENO"; then : 40452 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_free=yes 40453else 40454 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_free=no 40455fi 40456rm -f core conftest.err conftest.$ac_objext \ 40457 conftest$ac_exeext conftest.$ac_ext 40458LIBS=$ac_check_lib_save_LIBS 40459fi 40460{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_fat_date_time_free" >&5 40461$as_echo "$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_free" >&6; } 40462if test "x$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_free" = xyes; then : 40463 ac_cv_libfdatetime_dummy=yes 40464else 40465 ac_cv_libfdatetime=no 40466fi 40467 40468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_fat_date_time_copy_from_byte_stream in -lfdatetime" >&5 40469$as_echo_n "checking for libfdatetime_fat_date_time_copy_from_byte_stream in -lfdatetime... " >&6; } 40470if ${ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_from_byte_stream+:} false; then : 40471 $as_echo_n "(cached) " >&6 40472else 40473 ac_check_lib_save_LIBS=$LIBS 40474LIBS="-lfdatetime $LIBS" 40475cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40476/* end confdefs.h. */ 40477 40478/* Override any GCC internal prototype to avoid an error. 40479 Use char because int might match the return type of a GCC 40480 builtin and then its argument prototype would still apply. */ 40481#ifdef __cplusplus 40482extern "C" 40483#endif 40484char libfdatetime_fat_date_time_copy_from_byte_stream (); 40485int 40486main () 40487{ 40488return libfdatetime_fat_date_time_copy_from_byte_stream (); 40489 ; 40490 return 0; 40491} 40492_ACEOF 40493if ac_fn_c_try_link "$LINENO"; then : 40494 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_from_byte_stream=yes 40495else 40496 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_from_byte_stream=no 40497fi 40498rm -f core conftest.err conftest.$ac_objext \ 40499 conftest$ac_exeext conftest.$ac_ext 40500LIBS=$ac_check_lib_save_LIBS 40501fi 40502{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_from_byte_stream" >&5 40503$as_echo "$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_from_byte_stream" >&6; } 40504if test "x$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_from_byte_stream" = xyes; then : 40505 ac_cv_libfdatetime_dummy=yes 40506else 40507 ac_cv_libfdatetime=no 40508fi 40509 40510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_fat_date_time_copy_from_32bit in -lfdatetime" >&5 40511$as_echo_n "checking for libfdatetime_fat_date_time_copy_from_32bit in -lfdatetime... " >&6; } 40512if ${ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_from_32bit+:} false; then : 40513 $as_echo_n "(cached) " >&6 40514else 40515 ac_check_lib_save_LIBS=$LIBS 40516LIBS="-lfdatetime $LIBS" 40517cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40518/* end confdefs.h. */ 40519 40520/* Override any GCC internal prototype to avoid an error. 40521 Use char because int might match the return type of a GCC 40522 builtin and then its argument prototype would still apply. */ 40523#ifdef __cplusplus 40524extern "C" 40525#endif 40526char libfdatetime_fat_date_time_copy_from_32bit (); 40527int 40528main () 40529{ 40530return libfdatetime_fat_date_time_copy_from_32bit (); 40531 ; 40532 return 0; 40533} 40534_ACEOF 40535if ac_fn_c_try_link "$LINENO"; then : 40536 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_from_32bit=yes 40537else 40538 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_from_32bit=no 40539fi 40540rm -f core conftest.err conftest.$ac_objext \ 40541 conftest$ac_exeext conftest.$ac_ext 40542LIBS=$ac_check_lib_save_LIBS 40543fi 40544{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_from_32bit" >&5 40545$as_echo "$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_from_32bit" >&6; } 40546if test "x$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_from_32bit" = xyes; then : 40547 ac_cv_libfdatetime_dummy=yes 40548else 40549 ac_cv_libfdatetime=no 40550fi 40551 40552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_fat_date_time_copy_to_32bit in -lfdatetime" >&5 40553$as_echo_n "checking for libfdatetime_fat_date_time_copy_to_32bit in -lfdatetime... " >&6; } 40554if ${ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_32bit+:} false; then : 40555 $as_echo_n "(cached) " >&6 40556else 40557 ac_check_lib_save_LIBS=$LIBS 40558LIBS="-lfdatetime $LIBS" 40559cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40560/* end confdefs.h. */ 40561 40562/* Override any GCC internal prototype to avoid an error. 40563 Use char because int might match the return type of a GCC 40564 builtin and then its argument prototype would still apply. */ 40565#ifdef __cplusplus 40566extern "C" 40567#endif 40568char libfdatetime_fat_date_time_copy_to_32bit (); 40569int 40570main () 40571{ 40572return libfdatetime_fat_date_time_copy_to_32bit (); 40573 ; 40574 return 0; 40575} 40576_ACEOF 40577if ac_fn_c_try_link "$LINENO"; then : 40578 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_32bit=yes 40579else 40580 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_32bit=no 40581fi 40582rm -f core conftest.err conftest.$ac_objext \ 40583 conftest$ac_exeext conftest.$ac_ext 40584LIBS=$ac_check_lib_save_LIBS 40585fi 40586{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_32bit" >&5 40587$as_echo "$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_32bit" >&6; } 40588if test "x$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_32bit" = xyes; then : 40589 ac_cv_libfdatetime_dummy=yes 40590else 40591 ac_cv_libfdatetime=no 40592fi 40593 40594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_fat_date_time_copy_to_utf8_string in -lfdatetime" >&5 40595$as_echo_n "checking for libfdatetime_fat_date_time_copy_to_utf8_string in -lfdatetime... " >&6; } 40596if ${ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf8_string+:} false; then : 40597 $as_echo_n "(cached) " >&6 40598else 40599 ac_check_lib_save_LIBS=$LIBS 40600LIBS="-lfdatetime $LIBS" 40601cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40602/* end confdefs.h. */ 40603 40604/* Override any GCC internal prototype to avoid an error. 40605 Use char because int might match the return type of a GCC 40606 builtin and then its argument prototype would still apply. */ 40607#ifdef __cplusplus 40608extern "C" 40609#endif 40610char libfdatetime_fat_date_time_copy_to_utf8_string (); 40611int 40612main () 40613{ 40614return libfdatetime_fat_date_time_copy_to_utf8_string (); 40615 ; 40616 return 0; 40617} 40618_ACEOF 40619if ac_fn_c_try_link "$LINENO"; then : 40620 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf8_string=yes 40621else 40622 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf8_string=no 40623fi 40624rm -f core conftest.err conftest.$ac_objext \ 40625 conftest$ac_exeext conftest.$ac_ext 40626LIBS=$ac_check_lib_save_LIBS 40627fi 40628{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf8_string" >&5 40629$as_echo "$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf8_string" >&6; } 40630if test "x$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf8_string" = xyes; then : 40631 ac_cv_libfdatetime_dummy=yes 40632else 40633 ac_cv_libfdatetime=no 40634fi 40635 40636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_fat_date_time_copy_to_utf8_string_with_index in -lfdatetime" >&5 40637$as_echo_n "checking for libfdatetime_fat_date_time_copy_to_utf8_string_with_index in -lfdatetime... " >&6; } 40638if ${ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf8_string_with_index+:} false; then : 40639 $as_echo_n "(cached) " >&6 40640else 40641 ac_check_lib_save_LIBS=$LIBS 40642LIBS="-lfdatetime $LIBS" 40643cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40644/* end confdefs.h. */ 40645 40646/* Override any GCC internal prototype to avoid an error. 40647 Use char because int might match the return type of a GCC 40648 builtin and then its argument prototype would still apply. */ 40649#ifdef __cplusplus 40650extern "C" 40651#endif 40652char libfdatetime_fat_date_time_copy_to_utf8_string_with_index (); 40653int 40654main () 40655{ 40656return libfdatetime_fat_date_time_copy_to_utf8_string_with_index (); 40657 ; 40658 return 0; 40659} 40660_ACEOF 40661if ac_fn_c_try_link "$LINENO"; then : 40662 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf8_string_with_index=yes 40663else 40664 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf8_string_with_index=no 40665fi 40666rm -f core conftest.err conftest.$ac_objext \ 40667 conftest$ac_exeext conftest.$ac_ext 40668LIBS=$ac_check_lib_save_LIBS 40669fi 40670{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf8_string_with_index" >&5 40671$as_echo "$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf8_string_with_index" >&6; } 40672if test "x$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf8_string_with_index" = xyes; then : 40673 ac_cv_libfdatetime_dummy=yes 40674else 40675 ac_cv_libfdatetime=no 40676fi 40677 40678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_fat_date_time_copy_to_utf16_string in -lfdatetime" >&5 40679$as_echo_n "checking for libfdatetime_fat_date_time_copy_to_utf16_string in -lfdatetime... " >&6; } 40680if ${ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf16_string+:} false; then : 40681 $as_echo_n "(cached) " >&6 40682else 40683 ac_check_lib_save_LIBS=$LIBS 40684LIBS="-lfdatetime $LIBS" 40685cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40686/* end confdefs.h. */ 40687 40688/* Override any GCC internal prototype to avoid an error. 40689 Use char because int might match the return type of a GCC 40690 builtin and then its argument prototype would still apply. */ 40691#ifdef __cplusplus 40692extern "C" 40693#endif 40694char libfdatetime_fat_date_time_copy_to_utf16_string (); 40695int 40696main () 40697{ 40698return libfdatetime_fat_date_time_copy_to_utf16_string (); 40699 ; 40700 return 0; 40701} 40702_ACEOF 40703if ac_fn_c_try_link "$LINENO"; then : 40704 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf16_string=yes 40705else 40706 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf16_string=no 40707fi 40708rm -f core conftest.err conftest.$ac_objext \ 40709 conftest$ac_exeext conftest.$ac_ext 40710LIBS=$ac_check_lib_save_LIBS 40711fi 40712{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf16_string" >&5 40713$as_echo "$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf16_string" >&6; } 40714if test "x$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf16_string" = xyes; then : 40715 ac_cv_libfdatetime_dummy=yes 40716else 40717 ac_cv_libfdatetime=no 40718fi 40719 40720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_fat_date_time_copy_to_utf16_string_with_index in -lfdatetime" >&5 40721$as_echo_n "checking for libfdatetime_fat_date_time_copy_to_utf16_string_with_index in -lfdatetime... " >&6; } 40722if ${ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf16_string_with_index+:} false; then : 40723 $as_echo_n "(cached) " >&6 40724else 40725 ac_check_lib_save_LIBS=$LIBS 40726LIBS="-lfdatetime $LIBS" 40727cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40728/* end confdefs.h. */ 40729 40730/* Override any GCC internal prototype to avoid an error. 40731 Use char because int might match the return type of a GCC 40732 builtin and then its argument prototype would still apply. */ 40733#ifdef __cplusplus 40734extern "C" 40735#endif 40736char libfdatetime_fat_date_time_copy_to_utf16_string_with_index (); 40737int 40738main () 40739{ 40740return libfdatetime_fat_date_time_copy_to_utf16_string_with_index (); 40741 ; 40742 return 0; 40743} 40744_ACEOF 40745if ac_fn_c_try_link "$LINENO"; then : 40746 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf16_string_with_index=yes 40747else 40748 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf16_string_with_index=no 40749fi 40750rm -f core conftest.err conftest.$ac_objext \ 40751 conftest$ac_exeext conftest.$ac_ext 40752LIBS=$ac_check_lib_save_LIBS 40753fi 40754{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf16_string_with_index" >&5 40755$as_echo "$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf16_string_with_index" >&6; } 40756if test "x$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf16_string_with_index" = xyes; then : 40757 ac_cv_libfdatetime_dummy=yes 40758else 40759 ac_cv_libfdatetime=no 40760fi 40761 40762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_fat_date_time_copy_to_utf32_string in -lfdatetime" >&5 40763$as_echo_n "checking for libfdatetime_fat_date_time_copy_to_utf32_string in -lfdatetime... " >&6; } 40764if ${ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf32_string+:} false; then : 40765 $as_echo_n "(cached) " >&6 40766else 40767 ac_check_lib_save_LIBS=$LIBS 40768LIBS="-lfdatetime $LIBS" 40769cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40770/* end confdefs.h. */ 40771 40772/* Override any GCC internal prototype to avoid an error. 40773 Use char because int might match the return type of a GCC 40774 builtin and then its argument prototype would still apply. */ 40775#ifdef __cplusplus 40776extern "C" 40777#endif 40778char libfdatetime_fat_date_time_copy_to_utf32_string (); 40779int 40780main () 40781{ 40782return libfdatetime_fat_date_time_copy_to_utf32_string (); 40783 ; 40784 return 0; 40785} 40786_ACEOF 40787if ac_fn_c_try_link "$LINENO"; then : 40788 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf32_string=yes 40789else 40790 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf32_string=no 40791fi 40792rm -f core conftest.err conftest.$ac_objext \ 40793 conftest$ac_exeext conftest.$ac_ext 40794LIBS=$ac_check_lib_save_LIBS 40795fi 40796{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf32_string" >&5 40797$as_echo "$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf32_string" >&6; } 40798if test "x$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf32_string" = xyes; then : 40799 ac_cv_libfdatetime_dummy=yes 40800else 40801 ac_cv_libfdatetime=no 40802fi 40803 40804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_fat_date_time_copy_to_utf32_string_with_index in -lfdatetime" >&5 40805$as_echo_n "checking for libfdatetime_fat_date_time_copy_to_utf32_string_with_index in -lfdatetime... " >&6; } 40806if ${ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf32_string_with_index+:} false; then : 40807 $as_echo_n "(cached) " >&6 40808else 40809 ac_check_lib_save_LIBS=$LIBS 40810LIBS="-lfdatetime $LIBS" 40811cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40812/* end confdefs.h. */ 40813 40814/* Override any GCC internal prototype to avoid an error. 40815 Use char because int might match the return type of a GCC 40816 builtin and then its argument prototype would still apply. */ 40817#ifdef __cplusplus 40818extern "C" 40819#endif 40820char libfdatetime_fat_date_time_copy_to_utf32_string_with_index (); 40821int 40822main () 40823{ 40824return libfdatetime_fat_date_time_copy_to_utf32_string_with_index (); 40825 ; 40826 return 0; 40827} 40828_ACEOF 40829if ac_fn_c_try_link "$LINENO"; then : 40830 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf32_string_with_index=yes 40831else 40832 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf32_string_with_index=no 40833fi 40834rm -f core conftest.err conftest.$ac_objext \ 40835 conftest$ac_exeext conftest.$ac_ext 40836LIBS=$ac_check_lib_save_LIBS 40837fi 40838{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf32_string_with_index" >&5 40839$as_echo "$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf32_string_with_index" >&6; } 40840if test "x$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf32_string_with_index" = xyes; then : 40841 ac_cv_libfdatetime_dummy=yes 40842else 40843 ac_cv_libfdatetime=no 40844fi 40845 40846 40847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_filetime_initialize in -lfdatetime" >&5 40848$as_echo_n "checking for libfdatetime_filetime_initialize in -lfdatetime... " >&6; } 40849if ${ac_cv_lib_fdatetime_libfdatetime_filetime_initialize+:} false; then : 40850 $as_echo_n "(cached) " >&6 40851else 40852 ac_check_lib_save_LIBS=$LIBS 40853LIBS="-lfdatetime $LIBS" 40854cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40855/* end confdefs.h. */ 40856 40857/* Override any GCC internal prototype to avoid an error. 40858 Use char because int might match the return type of a GCC 40859 builtin and then its argument prototype would still apply. */ 40860#ifdef __cplusplus 40861extern "C" 40862#endif 40863char libfdatetime_filetime_initialize (); 40864int 40865main () 40866{ 40867return libfdatetime_filetime_initialize (); 40868 ; 40869 return 0; 40870} 40871_ACEOF 40872if ac_fn_c_try_link "$LINENO"; then : 40873 ac_cv_lib_fdatetime_libfdatetime_filetime_initialize=yes 40874else 40875 ac_cv_lib_fdatetime_libfdatetime_filetime_initialize=no 40876fi 40877rm -f core conftest.err conftest.$ac_objext \ 40878 conftest$ac_exeext conftest.$ac_ext 40879LIBS=$ac_check_lib_save_LIBS 40880fi 40881{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_filetime_initialize" >&5 40882$as_echo "$ac_cv_lib_fdatetime_libfdatetime_filetime_initialize" >&6; } 40883if test "x$ac_cv_lib_fdatetime_libfdatetime_filetime_initialize" = xyes; then : 40884 ac_cv_libfdatetime_dummy=yes 40885else 40886 ac_cv_libfdatetime=no 40887fi 40888 40889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_filetime_free in -lfdatetime" >&5 40890$as_echo_n "checking for libfdatetime_filetime_free in -lfdatetime... " >&6; } 40891if ${ac_cv_lib_fdatetime_libfdatetime_filetime_free+:} false; then : 40892 $as_echo_n "(cached) " >&6 40893else 40894 ac_check_lib_save_LIBS=$LIBS 40895LIBS="-lfdatetime $LIBS" 40896cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40897/* end confdefs.h. */ 40898 40899/* Override any GCC internal prototype to avoid an error. 40900 Use char because int might match the return type of a GCC 40901 builtin and then its argument prototype would still apply. */ 40902#ifdef __cplusplus 40903extern "C" 40904#endif 40905char libfdatetime_filetime_free (); 40906int 40907main () 40908{ 40909return libfdatetime_filetime_free (); 40910 ; 40911 return 0; 40912} 40913_ACEOF 40914if ac_fn_c_try_link "$LINENO"; then : 40915 ac_cv_lib_fdatetime_libfdatetime_filetime_free=yes 40916else 40917 ac_cv_lib_fdatetime_libfdatetime_filetime_free=no 40918fi 40919rm -f core conftest.err conftest.$ac_objext \ 40920 conftest$ac_exeext conftest.$ac_ext 40921LIBS=$ac_check_lib_save_LIBS 40922fi 40923{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_filetime_free" >&5 40924$as_echo "$ac_cv_lib_fdatetime_libfdatetime_filetime_free" >&6; } 40925if test "x$ac_cv_lib_fdatetime_libfdatetime_filetime_free" = xyes; then : 40926 ac_cv_libfdatetime_dummy=yes 40927else 40928 ac_cv_libfdatetime=no 40929fi 40930 40931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_filetime_copy_from_byte_stream in -lfdatetime" >&5 40932$as_echo_n "checking for libfdatetime_filetime_copy_from_byte_stream in -lfdatetime... " >&6; } 40933if ${ac_cv_lib_fdatetime_libfdatetime_filetime_copy_from_byte_stream+:} false; then : 40934 $as_echo_n "(cached) " >&6 40935else 40936 ac_check_lib_save_LIBS=$LIBS 40937LIBS="-lfdatetime $LIBS" 40938cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40939/* end confdefs.h. */ 40940 40941/* Override any GCC internal prototype to avoid an error. 40942 Use char because int might match the return type of a GCC 40943 builtin and then its argument prototype would still apply. */ 40944#ifdef __cplusplus 40945extern "C" 40946#endif 40947char libfdatetime_filetime_copy_from_byte_stream (); 40948int 40949main () 40950{ 40951return libfdatetime_filetime_copy_from_byte_stream (); 40952 ; 40953 return 0; 40954} 40955_ACEOF 40956if ac_fn_c_try_link "$LINENO"; then : 40957 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_from_byte_stream=yes 40958else 40959 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_from_byte_stream=no 40960fi 40961rm -f core conftest.err conftest.$ac_objext \ 40962 conftest$ac_exeext conftest.$ac_ext 40963LIBS=$ac_check_lib_save_LIBS 40964fi 40965{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_filetime_copy_from_byte_stream" >&5 40966$as_echo "$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_from_byte_stream" >&6; } 40967if test "x$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_from_byte_stream" = xyes; then : 40968 ac_cv_libfdatetime_dummy=yes 40969else 40970 ac_cv_libfdatetime=no 40971fi 40972 40973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_filetime_copy_from_64bit in -lfdatetime" >&5 40974$as_echo_n "checking for libfdatetime_filetime_copy_from_64bit in -lfdatetime... " >&6; } 40975if ${ac_cv_lib_fdatetime_libfdatetime_filetime_copy_from_64bit+:} false; then : 40976 $as_echo_n "(cached) " >&6 40977else 40978 ac_check_lib_save_LIBS=$LIBS 40979LIBS="-lfdatetime $LIBS" 40980cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40981/* end confdefs.h. */ 40982 40983/* Override any GCC internal prototype to avoid an error. 40984 Use char because int might match the return type of a GCC 40985 builtin and then its argument prototype would still apply. */ 40986#ifdef __cplusplus 40987extern "C" 40988#endif 40989char libfdatetime_filetime_copy_from_64bit (); 40990int 40991main () 40992{ 40993return libfdatetime_filetime_copy_from_64bit (); 40994 ; 40995 return 0; 40996} 40997_ACEOF 40998if ac_fn_c_try_link "$LINENO"; then : 40999 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_from_64bit=yes 41000else 41001 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_from_64bit=no 41002fi 41003rm -f core conftest.err conftest.$ac_objext \ 41004 conftest$ac_exeext conftest.$ac_ext 41005LIBS=$ac_check_lib_save_LIBS 41006fi 41007{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_filetime_copy_from_64bit" >&5 41008$as_echo "$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_from_64bit" >&6; } 41009if test "x$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_from_64bit" = xyes; then : 41010 ac_cv_libfdatetime_dummy=yes 41011else 41012 ac_cv_libfdatetime=no 41013fi 41014 41015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_filetime_copy_to_64bit in -lfdatetime" >&5 41016$as_echo_n "checking for libfdatetime_filetime_copy_to_64bit in -lfdatetime... " >&6; } 41017if ${ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_64bit+:} false; then : 41018 $as_echo_n "(cached) " >&6 41019else 41020 ac_check_lib_save_LIBS=$LIBS 41021LIBS="-lfdatetime $LIBS" 41022cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41023/* end confdefs.h. */ 41024 41025/* Override any GCC internal prototype to avoid an error. 41026 Use char because int might match the return type of a GCC 41027 builtin and then its argument prototype would still apply. */ 41028#ifdef __cplusplus 41029extern "C" 41030#endif 41031char libfdatetime_filetime_copy_to_64bit (); 41032int 41033main () 41034{ 41035return libfdatetime_filetime_copy_to_64bit (); 41036 ; 41037 return 0; 41038} 41039_ACEOF 41040if ac_fn_c_try_link "$LINENO"; then : 41041 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_64bit=yes 41042else 41043 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_64bit=no 41044fi 41045rm -f core conftest.err conftest.$ac_objext \ 41046 conftest$ac_exeext conftest.$ac_ext 41047LIBS=$ac_check_lib_save_LIBS 41048fi 41049{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_64bit" >&5 41050$as_echo "$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_64bit" >&6; } 41051if test "x$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_64bit" = xyes; then : 41052 ac_cv_libfdatetime_dummy=yes 41053else 41054 ac_cv_libfdatetime=no 41055fi 41056 41057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_filetime_copy_to_utf8_string in -lfdatetime" >&5 41058$as_echo_n "checking for libfdatetime_filetime_copy_to_utf8_string in -lfdatetime... " >&6; } 41059if ${ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf8_string+:} false; then : 41060 $as_echo_n "(cached) " >&6 41061else 41062 ac_check_lib_save_LIBS=$LIBS 41063LIBS="-lfdatetime $LIBS" 41064cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41065/* end confdefs.h. */ 41066 41067/* Override any GCC internal prototype to avoid an error. 41068 Use char because int might match the return type of a GCC 41069 builtin and then its argument prototype would still apply. */ 41070#ifdef __cplusplus 41071extern "C" 41072#endif 41073char libfdatetime_filetime_copy_to_utf8_string (); 41074int 41075main () 41076{ 41077return libfdatetime_filetime_copy_to_utf8_string (); 41078 ; 41079 return 0; 41080} 41081_ACEOF 41082if ac_fn_c_try_link "$LINENO"; then : 41083 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf8_string=yes 41084else 41085 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf8_string=no 41086fi 41087rm -f core conftest.err conftest.$ac_objext \ 41088 conftest$ac_exeext conftest.$ac_ext 41089LIBS=$ac_check_lib_save_LIBS 41090fi 41091{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf8_string" >&5 41092$as_echo "$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf8_string" >&6; } 41093if test "x$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf8_string" = xyes; then : 41094 ac_cv_libfdatetime_dummy=yes 41095else 41096 ac_cv_libfdatetime=no 41097fi 41098 41099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_filetime_copy_to_utf8_string_with_index in -lfdatetime" >&5 41100$as_echo_n "checking for libfdatetime_filetime_copy_to_utf8_string_with_index in -lfdatetime... " >&6; } 41101if ${ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf8_string_with_index+:} false; then : 41102 $as_echo_n "(cached) " >&6 41103else 41104 ac_check_lib_save_LIBS=$LIBS 41105LIBS="-lfdatetime $LIBS" 41106cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41107/* end confdefs.h. */ 41108 41109/* Override any GCC internal prototype to avoid an error. 41110 Use char because int might match the return type of a GCC 41111 builtin and then its argument prototype would still apply. */ 41112#ifdef __cplusplus 41113extern "C" 41114#endif 41115char libfdatetime_filetime_copy_to_utf8_string_with_index (); 41116int 41117main () 41118{ 41119return libfdatetime_filetime_copy_to_utf8_string_with_index (); 41120 ; 41121 return 0; 41122} 41123_ACEOF 41124if ac_fn_c_try_link "$LINENO"; then : 41125 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf8_string_with_index=yes 41126else 41127 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf8_string_with_index=no 41128fi 41129rm -f core conftest.err conftest.$ac_objext \ 41130 conftest$ac_exeext conftest.$ac_ext 41131LIBS=$ac_check_lib_save_LIBS 41132fi 41133{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf8_string_with_index" >&5 41134$as_echo "$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf8_string_with_index" >&6; } 41135if test "x$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf8_string_with_index" = xyes; then : 41136 ac_cv_libfdatetime_dummy=yes 41137else 41138 ac_cv_libfdatetime=no 41139fi 41140 41141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_filetime_copy_to_utf16_string in -lfdatetime" >&5 41142$as_echo_n "checking for libfdatetime_filetime_copy_to_utf16_string in -lfdatetime... " >&6; } 41143if ${ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf16_string+:} false; then : 41144 $as_echo_n "(cached) " >&6 41145else 41146 ac_check_lib_save_LIBS=$LIBS 41147LIBS="-lfdatetime $LIBS" 41148cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41149/* end confdefs.h. */ 41150 41151/* Override any GCC internal prototype to avoid an error. 41152 Use char because int might match the return type of a GCC 41153 builtin and then its argument prototype would still apply. */ 41154#ifdef __cplusplus 41155extern "C" 41156#endif 41157char libfdatetime_filetime_copy_to_utf16_string (); 41158int 41159main () 41160{ 41161return libfdatetime_filetime_copy_to_utf16_string (); 41162 ; 41163 return 0; 41164} 41165_ACEOF 41166if ac_fn_c_try_link "$LINENO"; then : 41167 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf16_string=yes 41168else 41169 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf16_string=no 41170fi 41171rm -f core conftest.err conftest.$ac_objext \ 41172 conftest$ac_exeext conftest.$ac_ext 41173LIBS=$ac_check_lib_save_LIBS 41174fi 41175{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf16_string" >&5 41176$as_echo "$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf16_string" >&6; } 41177if test "x$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf16_string" = xyes; then : 41178 ac_cv_libfdatetime_dummy=yes 41179else 41180 ac_cv_libfdatetime=no 41181fi 41182 41183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_filetime_copy_to_utf16_string_with_index in -lfdatetime" >&5 41184$as_echo_n "checking for libfdatetime_filetime_copy_to_utf16_string_with_index in -lfdatetime... " >&6; } 41185if ${ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf16_string_with_index+:} false; then : 41186 $as_echo_n "(cached) " >&6 41187else 41188 ac_check_lib_save_LIBS=$LIBS 41189LIBS="-lfdatetime $LIBS" 41190cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41191/* end confdefs.h. */ 41192 41193/* Override any GCC internal prototype to avoid an error. 41194 Use char because int might match the return type of a GCC 41195 builtin and then its argument prototype would still apply. */ 41196#ifdef __cplusplus 41197extern "C" 41198#endif 41199char libfdatetime_filetime_copy_to_utf16_string_with_index (); 41200int 41201main () 41202{ 41203return libfdatetime_filetime_copy_to_utf16_string_with_index (); 41204 ; 41205 return 0; 41206} 41207_ACEOF 41208if ac_fn_c_try_link "$LINENO"; then : 41209 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf16_string_with_index=yes 41210else 41211 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf16_string_with_index=no 41212fi 41213rm -f core conftest.err conftest.$ac_objext \ 41214 conftest$ac_exeext conftest.$ac_ext 41215LIBS=$ac_check_lib_save_LIBS 41216fi 41217{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf16_string_with_index" >&5 41218$as_echo "$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf16_string_with_index" >&6; } 41219if test "x$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf16_string_with_index" = xyes; then : 41220 ac_cv_libfdatetime_dummy=yes 41221else 41222 ac_cv_libfdatetime=no 41223fi 41224 41225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_filetime_copy_to_utf32_string in -lfdatetime" >&5 41226$as_echo_n "checking for libfdatetime_filetime_copy_to_utf32_string in -lfdatetime... " >&6; } 41227if ${ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf32_string+:} false; then : 41228 $as_echo_n "(cached) " >&6 41229else 41230 ac_check_lib_save_LIBS=$LIBS 41231LIBS="-lfdatetime $LIBS" 41232cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41233/* end confdefs.h. */ 41234 41235/* Override any GCC internal prototype to avoid an error. 41236 Use char because int might match the return type of a GCC 41237 builtin and then its argument prototype would still apply. */ 41238#ifdef __cplusplus 41239extern "C" 41240#endif 41241char libfdatetime_filetime_copy_to_utf32_string (); 41242int 41243main () 41244{ 41245return libfdatetime_filetime_copy_to_utf32_string (); 41246 ; 41247 return 0; 41248} 41249_ACEOF 41250if ac_fn_c_try_link "$LINENO"; then : 41251 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf32_string=yes 41252else 41253 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf32_string=no 41254fi 41255rm -f core conftest.err conftest.$ac_objext \ 41256 conftest$ac_exeext conftest.$ac_ext 41257LIBS=$ac_check_lib_save_LIBS 41258fi 41259{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf32_string" >&5 41260$as_echo "$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf32_string" >&6; } 41261if test "x$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf32_string" = xyes; then : 41262 ac_cv_libfdatetime_dummy=yes 41263else 41264 ac_cv_libfdatetime=no 41265fi 41266 41267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_filetime_copy_to_utf32_string_with_index in -lfdatetime" >&5 41268$as_echo_n "checking for libfdatetime_filetime_copy_to_utf32_string_with_index in -lfdatetime... " >&6; } 41269if ${ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf32_string_with_index+:} false; then : 41270 $as_echo_n "(cached) " >&6 41271else 41272 ac_check_lib_save_LIBS=$LIBS 41273LIBS="-lfdatetime $LIBS" 41274cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41275/* end confdefs.h. */ 41276 41277/* Override any GCC internal prototype to avoid an error. 41278 Use char because int might match the return type of a GCC 41279 builtin and then its argument prototype would still apply. */ 41280#ifdef __cplusplus 41281extern "C" 41282#endif 41283char libfdatetime_filetime_copy_to_utf32_string_with_index (); 41284int 41285main () 41286{ 41287return libfdatetime_filetime_copy_to_utf32_string_with_index (); 41288 ; 41289 return 0; 41290} 41291_ACEOF 41292if ac_fn_c_try_link "$LINENO"; then : 41293 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf32_string_with_index=yes 41294else 41295 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf32_string_with_index=no 41296fi 41297rm -f core conftest.err conftest.$ac_objext \ 41298 conftest$ac_exeext conftest.$ac_ext 41299LIBS=$ac_check_lib_save_LIBS 41300fi 41301{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf32_string_with_index" >&5 41302$as_echo "$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf32_string_with_index" >&6; } 41303if test "x$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf32_string_with_index" = xyes; then : 41304 ac_cv_libfdatetime_dummy=yes 41305else 41306 ac_cv_libfdatetime=no 41307fi 41308 41309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_filetime_add in -lfdatetime" >&5 41310$as_echo_n "checking for libfdatetime_filetime_add in -lfdatetime... " >&6; } 41311if ${ac_cv_lib_fdatetime_libfdatetime_filetime_add+:} false; then : 41312 $as_echo_n "(cached) " >&6 41313else 41314 ac_check_lib_save_LIBS=$LIBS 41315LIBS="-lfdatetime $LIBS" 41316cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41317/* end confdefs.h. */ 41318 41319/* Override any GCC internal prototype to avoid an error. 41320 Use char because int might match the return type of a GCC 41321 builtin and then its argument prototype would still apply. */ 41322#ifdef __cplusplus 41323extern "C" 41324#endif 41325char libfdatetime_filetime_add (); 41326int 41327main () 41328{ 41329return libfdatetime_filetime_add (); 41330 ; 41331 return 0; 41332} 41333_ACEOF 41334if ac_fn_c_try_link "$LINENO"; then : 41335 ac_cv_lib_fdatetime_libfdatetime_filetime_add=yes 41336else 41337 ac_cv_lib_fdatetime_libfdatetime_filetime_add=no 41338fi 41339rm -f core conftest.err conftest.$ac_objext \ 41340 conftest$ac_exeext conftest.$ac_ext 41341LIBS=$ac_check_lib_save_LIBS 41342fi 41343{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_filetime_add" >&5 41344$as_echo "$ac_cv_lib_fdatetime_libfdatetime_filetime_add" >&6; } 41345if test "x$ac_cv_lib_fdatetime_libfdatetime_filetime_add" = xyes; then : 41346 ac_cv_libfdatetime_dummy=yes 41347else 41348 ac_cv_libfdatetime=no 41349fi 41350 41351 41352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_floatingtime_initialize in -lfdatetime" >&5 41353$as_echo_n "checking for libfdatetime_floatingtime_initialize in -lfdatetime... " >&6; } 41354if ${ac_cv_lib_fdatetime_libfdatetime_floatingtime_initialize+:} false; then : 41355 $as_echo_n "(cached) " >&6 41356else 41357 ac_check_lib_save_LIBS=$LIBS 41358LIBS="-lfdatetime $LIBS" 41359cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41360/* end confdefs.h. */ 41361 41362/* Override any GCC internal prototype to avoid an error. 41363 Use char because int might match the return type of a GCC 41364 builtin and then its argument prototype would still apply. */ 41365#ifdef __cplusplus 41366extern "C" 41367#endif 41368char libfdatetime_floatingtime_initialize (); 41369int 41370main () 41371{ 41372return libfdatetime_floatingtime_initialize (); 41373 ; 41374 return 0; 41375} 41376_ACEOF 41377if ac_fn_c_try_link "$LINENO"; then : 41378 ac_cv_lib_fdatetime_libfdatetime_floatingtime_initialize=yes 41379else 41380 ac_cv_lib_fdatetime_libfdatetime_floatingtime_initialize=no 41381fi 41382rm -f core conftest.err conftest.$ac_objext \ 41383 conftest$ac_exeext conftest.$ac_ext 41384LIBS=$ac_check_lib_save_LIBS 41385fi 41386{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_floatingtime_initialize" >&5 41387$as_echo "$ac_cv_lib_fdatetime_libfdatetime_floatingtime_initialize" >&6; } 41388if test "x$ac_cv_lib_fdatetime_libfdatetime_floatingtime_initialize" = xyes; then : 41389 ac_cv_libfdatetime_dummy=yes 41390else 41391 ac_cv_libfdatetime=no 41392fi 41393 41394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_floatingtime_free in -lfdatetime" >&5 41395$as_echo_n "checking for libfdatetime_floatingtime_free in -lfdatetime... " >&6; } 41396if ${ac_cv_lib_fdatetime_libfdatetime_floatingtime_free+:} false; then : 41397 $as_echo_n "(cached) " >&6 41398else 41399 ac_check_lib_save_LIBS=$LIBS 41400LIBS="-lfdatetime $LIBS" 41401cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41402/* end confdefs.h. */ 41403 41404/* Override any GCC internal prototype to avoid an error. 41405 Use char because int might match the return type of a GCC 41406 builtin and then its argument prototype would still apply. */ 41407#ifdef __cplusplus 41408extern "C" 41409#endif 41410char libfdatetime_floatingtime_free (); 41411int 41412main () 41413{ 41414return libfdatetime_floatingtime_free (); 41415 ; 41416 return 0; 41417} 41418_ACEOF 41419if ac_fn_c_try_link "$LINENO"; then : 41420 ac_cv_lib_fdatetime_libfdatetime_floatingtime_free=yes 41421else 41422 ac_cv_lib_fdatetime_libfdatetime_floatingtime_free=no 41423fi 41424rm -f core conftest.err conftest.$ac_objext \ 41425 conftest$ac_exeext conftest.$ac_ext 41426LIBS=$ac_check_lib_save_LIBS 41427fi 41428{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_floatingtime_free" >&5 41429$as_echo "$ac_cv_lib_fdatetime_libfdatetime_floatingtime_free" >&6; } 41430if test "x$ac_cv_lib_fdatetime_libfdatetime_floatingtime_free" = xyes; then : 41431 ac_cv_libfdatetime_dummy=yes 41432else 41433 ac_cv_libfdatetime=no 41434fi 41435 41436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_floatingtime_copy_from_byte_stream in -lfdatetime" >&5 41437$as_echo_n "checking for libfdatetime_floatingtime_copy_from_byte_stream in -lfdatetime... " >&6; } 41438if ${ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_from_byte_stream+:} false; then : 41439 $as_echo_n "(cached) " >&6 41440else 41441 ac_check_lib_save_LIBS=$LIBS 41442LIBS="-lfdatetime $LIBS" 41443cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41444/* end confdefs.h. */ 41445 41446/* Override any GCC internal prototype to avoid an error. 41447 Use char because int might match the return type of a GCC 41448 builtin and then its argument prototype would still apply. */ 41449#ifdef __cplusplus 41450extern "C" 41451#endif 41452char libfdatetime_floatingtime_copy_from_byte_stream (); 41453int 41454main () 41455{ 41456return libfdatetime_floatingtime_copy_from_byte_stream (); 41457 ; 41458 return 0; 41459} 41460_ACEOF 41461if ac_fn_c_try_link "$LINENO"; then : 41462 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_from_byte_stream=yes 41463else 41464 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_from_byte_stream=no 41465fi 41466rm -f core conftest.err conftest.$ac_objext \ 41467 conftest$ac_exeext conftest.$ac_ext 41468LIBS=$ac_check_lib_save_LIBS 41469fi 41470{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_from_byte_stream" >&5 41471$as_echo "$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_from_byte_stream" >&6; } 41472if test "x$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_from_byte_stream" = xyes; then : 41473 ac_cv_libfdatetime_dummy=yes 41474else 41475 ac_cv_libfdatetime=no 41476fi 41477 41478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_floatingtime_copy_from_64bit in -lfdatetime" >&5 41479$as_echo_n "checking for libfdatetime_floatingtime_copy_from_64bit in -lfdatetime... " >&6; } 41480if ${ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_from_64bit+:} false; then : 41481 $as_echo_n "(cached) " >&6 41482else 41483 ac_check_lib_save_LIBS=$LIBS 41484LIBS="-lfdatetime $LIBS" 41485cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41486/* end confdefs.h. */ 41487 41488/* Override any GCC internal prototype to avoid an error. 41489 Use char because int might match the return type of a GCC 41490 builtin and then its argument prototype would still apply. */ 41491#ifdef __cplusplus 41492extern "C" 41493#endif 41494char libfdatetime_floatingtime_copy_from_64bit (); 41495int 41496main () 41497{ 41498return libfdatetime_floatingtime_copy_from_64bit (); 41499 ; 41500 return 0; 41501} 41502_ACEOF 41503if ac_fn_c_try_link "$LINENO"; then : 41504 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_from_64bit=yes 41505else 41506 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_from_64bit=no 41507fi 41508rm -f core conftest.err conftest.$ac_objext \ 41509 conftest$ac_exeext conftest.$ac_ext 41510LIBS=$ac_check_lib_save_LIBS 41511fi 41512{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_from_64bit" >&5 41513$as_echo "$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_from_64bit" >&6; } 41514if test "x$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_from_64bit" = xyes; then : 41515 ac_cv_libfdatetime_dummy=yes 41516else 41517 ac_cv_libfdatetime=no 41518fi 41519 41520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_floatingtime_copy_to_64bit in -lfdatetime" >&5 41521$as_echo_n "checking for libfdatetime_floatingtime_copy_to_64bit in -lfdatetime... " >&6; } 41522if ${ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_64bit+:} false; then : 41523 $as_echo_n "(cached) " >&6 41524else 41525 ac_check_lib_save_LIBS=$LIBS 41526LIBS="-lfdatetime $LIBS" 41527cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41528/* end confdefs.h. */ 41529 41530/* Override any GCC internal prototype to avoid an error. 41531 Use char because int might match the return type of a GCC 41532 builtin and then its argument prototype would still apply. */ 41533#ifdef __cplusplus 41534extern "C" 41535#endif 41536char libfdatetime_floatingtime_copy_to_64bit (); 41537int 41538main () 41539{ 41540return libfdatetime_floatingtime_copy_to_64bit (); 41541 ; 41542 return 0; 41543} 41544_ACEOF 41545if ac_fn_c_try_link "$LINENO"; then : 41546 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_64bit=yes 41547else 41548 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_64bit=no 41549fi 41550rm -f core conftest.err conftest.$ac_objext \ 41551 conftest$ac_exeext conftest.$ac_ext 41552LIBS=$ac_check_lib_save_LIBS 41553fi 41554{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_64bit" >&5 41555$as_echo "$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_64bit" >&6; } 41556if test "x$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_64bit" = xyes; then : 41557 ac_cv_libfdatetime_dummy=yes 41558else 41559 ac_cv_libfdatetime=no 41560fi 41561 41562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_floatingtime_copy_to_utf8_string in -lfdatetime" >&5 41563$as_echo_n "checking for libfdatetime_floatingtime_copy_to_utf8_string in -lfdatetime... " >&6; } 41564if ${ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf8_string+:} false; then : 41565 $as_echo_n "(cached) " >&6 41566else 41567 ac_check_lib_save_LIBS=$LIBS 41568LIBS="-lfdatetime $LIBS" 41569cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41570/* end confdefs.h. */ 41571 41572/* Override any GCC internal prototype to avoid an error. 41573 Use char because int might match the return type of a GCC 41574 builtin and then its argument prototype would still apply. */ 41575#ifdef __cplusplus 41576extern "C" 41577#endif 41578char libfdatetime_floatingtime_copy_to_utf8_string (); 41579int 41580main () 41581{ 41582return libfdatetime_floatingtime_copy_to_utf8_string (); 41583 ; 41584 return 0; 41585} 41586_ACEOF 41587if ac_fn_c_try_link "$LINENO"; then : 41588 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf8_string=yes 41589else 41590 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf8_string=no 41591fi 41592rm -f core conftest.err conftest.$ac_objext \ 41593 conftest$ac_exeext conftest.$ac_ext 41594LIBS=$ac_check_lib_save_LIBS 41595fi 41596{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf8_string" >&5 41597$as_echo "$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf8_string" >&6; } 41598if test "x$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf8_string" = xyes; then : 41599 ac_cv_libfdatetime_dummy=yes 41600else 41601 ac_cv_libfdatetime=no 41602fi 41603 41604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_floatingtime_copy_to_utf8_string_with_index in -lfdatetime" >&5 41605$as_echo_n "checking for libfdatetime_floatingtime_copy_to_utf8_string_with_index in -lfdatetime... " >&6; } 41606if ${ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf8_string_with_index+:} false; then : 41607 $as_echo_n "(cached) " >&6 41608else 41609 ac_check_lib_save_LIBS=$LIBS 41610LIBS="-lfdatetime $LIBS" 41611cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41612/* end confdefs.h. */ 41613 41614/* Override any GCC internal prototype to avoid an error. 41615 Use char because int might match the return type of a GCC 41616 builtin and then its argument prototype would still apply. */ 41617#ifdef __cplusplus 41618extern "C" 41619#endif 41620char libfdatetime_floatingtime_copy_to_utf8_string_with_index (); 41621int 41622main () 41623{ 41624return libfdatetime_floatingtime_copy_to_utf8_string_with_index (); 41625 ; 41626 return 0; 41627} 41628_ACEOF 41629if ac_fn_c_try_link "$LINENO"; then : 41630 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf8_string_with_index=yes 41631else 41632 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf8_string_with_index=no 41633fi 41634rm -f core conftest.err conftest.$ac_objext \ 41635 conftest$ac_exeext conftest.$ac_ext 41636LIBS=$ac_check_lib_save_LIBS 41637fi 41638{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf8_string_with_index" >&5 41639$as_echo "$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf8_string_with_index" >&6; } 41640if test "x$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf8_string_with_index" = xyes; then : 41641 ac_cv_libfdatetime_dummy=yes 41642else 41643 ac_cv_libfdatetime=no 41644fi 41645 41646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_floatingtime_copy_to_utf16_string in -lfdatetime" >&5 41647$as_echo_n "checking for libfdatetime_floatingtime_copy_to_utf16_string in -lfdatetime... " >&6; } 41648if ${ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf16_string+:} false; then : 41649 $as_echo_n "(cached) " >&6 41650else 41651 ac_check_lib_save_LIBS=$LIBS 41652LIBS="-lfdatetime $LIBS" 41653cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41654/* end confdefs.h. */ 41655 41656/* Override any GCC internal prototype to avoid an error. 41657 Use char because int might match the return type of a GCC 41658 builtin and then its argument prototype would still apply. */ 41659#ifdef __cplusplus 41660extern "C" 41661#endif 41662char libfdatetime_floatingtime_copy_to_utf16_string (); 41663int 41664main () 41665{ 41666return libfdatetime_floatingtime_copy_to_utf16_string (); 41667 ; 41668 return 0; 41669} 41670_ACEOF 41671if ac_fn_c_try_link "$LINENO"; then : 41672 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf16_string=yes 41673else 41674 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf16_string=no 41675fi 41676rm -f core conftest.err conftest.$ac_objext \ 41677 conftest$ac_exeext conftest.$ac_ext 41678LIBS=$ac_check_lib_save_LIBS 41679fi 41680{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf16_string" >&5 41681$as_echo "$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf16_string" >&6; } 41682if test "x$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf16_string" = xyes; then : 41683 ac_cv_libfdatetime_dummy=yes 41684else 41685 ac_cv_libfdatetime=no 41686fi 41687 41688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_floatingtime_copy_to_utf16_string_with_index in -lfdatetime" >&5 41689$as_echo_n "checking for libfdatetime_floatingtime_copy_to_utf16_string_with_index in -lfdatetime... " >&6; } 41690if ${ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf16_string_with_index+:} false; then : 41691 $as_echo_n "(cached) " >&6 41692else 41693 ac_check_lib_save_LIBS=$LIBS 41694LIBS="-lfdatetime $LIBS" 41695cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41696/* end confdefs.h. */ 41697 41698/* Override any GCC internal prototype to avoid an error. 41699 Use char because int might match the return type of a GCC 41700 builtin and then its argument prototype would still apply. */ 41701#ifdef __cplusplus 41702extern "C" 41703#endif 41704char libfdatetime_floatingtime_copy_to_utf16_string_with_index (); 41705int 41706main () 41707{ 41708return libfdatetime_floatingtime_copy_to_utf16_string_with_index (); 41709 ; 41710 return 0; 41711} 41712_ACEOF 41713if ac_fn_c_try_link "$LINENO"; then : 41714 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf16_string_with_index=yes 41715else 41716 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf16_string_with_index=no 41717fi 41718rm -f core conftest.err conftest.$ac_objext \ 41719 conftest$ac_exeext conftest.$ac_ext 41720LIBS=$ac_check_lib_save_LIBS 41721fi 41722{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf16_string_with_index" >&5 41723$as_echo "$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf16_string_with_index" >&6; } 41724if test "x$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf16_string_with_index" = xyes; then : 41725 ac_cv_libfdatetime_dummy=yes 41726else 41727 ac_cv_libfdatetime=no 41728fi 41729 41730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_floatingtime_copy_to_utf32_string in -lfdatetime" >&5 41731$as_echo_n "checking for libfdatetime_floatingtime_copy_to_utf32_string in -lfdatetime... " >&6; } 41732if ${ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf32_string+:} false; then : 41733 $as_echo_n "(cached) " >&6 41734else 41735 ac_check_lib_save_LIBS=$LIBS 41736LIBS="-lfdatetime $LIBS" 41737cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41738/* end confdefs.h. */ 41739 41740/* Override any GCC internal prototype to avoid an error. 41741 Use char because int might match the return type of a GCC 41742 builtin and then its argument prototype would still apply. */ 41743#ifdef __cplusplus 41744extern "C" 41745#endif 41746char libfdatetime_floatingtime_copy_to_utf32_string (); 41747int 41748main () 41749{ 41750return libfdatetime_floatingtime_copy_to_utf32_string (); 41751 ; 41752 return 0; 41753} 41754_ACEOF 41755if ac_fn_c_try_link "$LINENO"; then : 41756 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf32_string=yes 41757else 41758 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf32_string=no 41759fi 41760rm -f core conftest.err conftest.$ac_objext \ 41761 conftest$ac_exeext conftest.$ac_ext 41762LIBS=$ac_check_lib_save_LIBS 41763fi 41764{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf32_string" >&5 41765$as_echo "$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf32_string" >&6; } 41766if test "x$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf32_string" = xyes; then : 41767 ac_cv_libfdatetime_dummy=yes 41768else 41769 ac_cv_libfdatetime=no 41770fi 41771 41772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_floatingtime_copy_to_utf32_string_with_index in -lfdatetime" >&5 41773$as_echo_n "checking for libfdatetime_floatingtime_copy_to_utf32_string_with_index in -lfdatetime... " >&6; } 41774if ${ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf32_string_with_index+:} false; then : 41775 $as_echo_n "(cached) " >&6 41776else 41777 ac_check_lib_save_LIBS=$LIBS 41778LIBS="-lfdatetime $LIBS" 41779cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41780/* end confdefs.h. */ 41781 41782/* Override any GCC internal prototype to avoid an error. 41783 Use char because int might match the return type of a GCC 41784 builtin and then its argument prototype would still apply. */ 41785#ifdef __cplusplus 41786extern "C" 41787#endif 41788char libfdatetime_floatingtime_copy_to_utf32_string_with_index (); 41789int 41790main () 41791{ 41792return libfdatetime_floatingtime_copy_to_utf32_string_with_index (); 41793 ; 41794 return 0; 41795} 41796_ACEOF 41797if ac_fn_c_try_link "$LINENO"; then : 41798 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf32_string_with_index=yes 41799else 41800 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf32_string_with_index=no 41801fi 41802rm -f core conftest.err conftest.$ac_objext \ 41803 conftest$ac_exeext conftest.$ac_ext 41804LIBS=$ac_check_lib_save_LIBS 41805fi 41806{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf32_string_with_index" >&5 41807$as_echo "$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf32_string_with_index" >&6; } 41808if test "x$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf32_string_with_index" = xyes; then : 41809 ac_cv_libfdatetime_dummy=yes 41810else 41811 ac_cv_libfdatetime=no 41812fi 41813 41814 41815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_hfs_time_initialize in -lfdatetime" >&5 41816$as_echo_n "checking for libfdatetime_hfs_time_initialize in -lfdatetime... " >&6; } 41817if ${ac_cv_lib_fdatetime_libfdatetime_hfs_time_initialize+:} false; then : 41818 $as_echo_n "(cached) " >&6 41819else 41820 ac_check_lib_save_LIBS=$LIBS 41821LIBS="-lfdatetime $LIBS" 41822cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41823/* end confdefs.h. */ 41824 41825/* Override any GCC internal prototype to avoid an error. 41826 Use char because int might match the return type of a GCC 41827 builtin and then its argument prototype would still apply. */ 41828#ifdef __cplusplus 41829extern "C" 41830#endif 41831char libfdatetime_hfs_time_initialize (); 41832int 41833main () 41834{ 41835return libfdatetime_hfs_time_initialize (); 41836 ; 41837 return 0; 41838} 41839_ACEOF 41840if ac_fn_c_try_link "$LINENO"; then : 41841 ac_cv_lib_fdatetime_libfdatetime_hfs_time_initialize=yes 41842else 41843 ac_cv_lib_fdatetime_libfdatetime_hfs_time_initialize=no 41844fi 41845rm -f core conftest.err conftest.$ac_objext \ 41846 conftest$ac_exeext conftest.$ac_ext 41847LIBS=$ac_check_lib_save_LIBS 41848fi 41849{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_hfs_time_initialize" >&5 41850$as_echo "$ac_cv_lib_fdatetime_libfdatetime_hfs_time_initialize" >&6; } 41851if test "x$ac_cv_lib_fdatetime_libfdatetime_hfs_time_initialize" = xyes; then : 41852 ac_cv_libfdatetime_dummy=yes 41853else 41854 ac_cv_libfdatetime=no 41855fi 41856 41857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_hfs_time_free in -lfdatetime" >&5 41858$as_echo_n "checking for libfdatetime_hfs_time_free in -lfdatetime... " >&6; } 41859if ${ac_cv_lib_fdatetime_libfdatetime_hfs_time_free+:} false; then : 41860 $as_echo_n "(cached) " >&6 41861else 41862 ac_check_lib_save_LIBS=$LIBS 41863LIBS="-lfdatetime $LIBS" 41864cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41865/* end confdefs.h. */ 41866 41867/* Override any GCC internal prototype to avoid an error. 41868 Use char because int might match the return type of a GCC 41869 builtin and then its argument prototype would still apply. */ 41870#ifdef __cplusplus 41871extern "C" 41872#endif 41873char libfdatetime_hfs_time_free (); 41874int 41875main () 41876{ 41877return libfdatetime_hfs_time_free (); 41878 ; 41879 return 0; 41880} 41881_ACEOF 41882if ac_fn_c_try_link "$LINENO"; then : 41883 ac_cv_lib_fdatetime_libfdatetime_hfs_time_free=yes 41884else 41885 ac_cv_lib_fdatetime_libfdatetime_hfs_time_free=no 41886fi 41887rm -f core conftest.err conftest.$ac_objext \ 41888 conftest$ac_exeext conftest.$ac_ext 41889LIBS=$ac_check_lib_save_LIBS 41890fi 41891{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_hfs_time_free" >&5 41892$as_echo "$ac_cv_lib_fdatetime_libfdatetime_hfs_time_free" >&6; } 41893if test "x$ac_cv_lib_fdatetime_libfdatetime_hfs_time_free" = xyes; then : 41894 ac_cv_libfdatetime_dummy=yes 41895else 41896 ac_cv_libfdatetime=no 41897fi 41898 41899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_hfs_time_copy_from_byte_stream in -lfdatetime" >&5 41900$as_echo_n "checking for libfdatetime_hfs_time_copy_from_byte_stream in -lfdatetime... " >&6; } 41901if ${ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_from_byte_stream+:} false; then : 41902 $as_echo_n "(cached) " >&6 41903else 41904 ac_check_lib_save_LIBS=$LIBS 41905LIBS="-lfdatetime $LIBS" 41906cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41907/* end confdefs.h. */ 41908 41909/* Override any GCC internal prototype to avoid an error. 41910 Use char because int might match the return type of a GCC 41911 builtin and then its argument prototype would still apply. */ 41912#ifdef __cplusplus 41913extern "C" 41914#endif 41915char libfdatetime_hfs_time_copy_from_byte_stream (); 41916int 41917main () 41918{ 41919return libfdatetime_hfs_time_copy_from_byte_stream (); 41920 ; 41921 return 0; 41922} 41923_ACEOF 41924if ac_fn_c_try_link "$LINENO"; then : 41925 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_from_byte_stream=yes 41926else 41927 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_from_byte_stream=no 41928fi 41929rm -f core conftest.err conftest.$ac_objext \ 41930 conftest$ac_exeext conftest.$ac_ext 41931LIBS=$ac_check_lib_save_LIBS 41932fi 41933{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_from_byte_stream" >&5 41934$as_echo "$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_from_byte_stream" >&6; } 41935if test "x$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_from_byte_stream" = xyes; then : 41936 ac_cv_libfdatetime_dummy=yes 41937else 41938 ac_cv_libfdatetime=no 41939fi 41940 41941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_hfs_time_copy_from_32bit in -lfdatetime" >&5 41942$as_echo_n "checking for libfdatetime_hfs_time_copy_from_32bit in -lfdatetime... " >&6; } 41943if ${ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_from_32bit+:} false; then : 41944 $as_echo_n "(cached) " >&6 41945else 41946 ac_check_lib_save_LIBS=$LIBS 41947LIBS="-lfdatetime $LIBS" 41948cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41949/* end confdefs.h. */ 41950 41951/* Override any GCC internal prototype to avoid an error. 41952 Use char because int might match the return type of a GCC 41953 builtin and then its argument prototype would still apply. */ 41954#ifdef __cplusplus 41955extern "C" 41956#endif 41957char libfdatetime_hfs_time_copy_from_32bit (); 41958int 41959main () 41960{ 41961return libfdatetime_hfs_time_copy_from_32bit (); 41962 ; 41963 return 0; 41964} 41965_ACEOF 41966if ac_fn_c_try_link "$LINENO"; then : 41967 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_from_32bit=yes 41968else 41969 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_from_32bit=no 41970fi 41971rm -f core conftest.err conftest.$ac_objext \ 41972 conftest$ac_exeext conftest.$ac_ext 41973LIBS=$ac_check_lib_save_LIBS 41974fi 41975{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_from_32bit" >&5 41976$as_echo "$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_from_32bit" >&6; } 41977if test "x$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_from_32bit" = xyes; then : 41978 ac_cv_libfdatetime_dummy=yes 41979else 41980 ac_cv_libfdatetime=no 41981fi 41982 41983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_hfs_time_copy_to_32bit in -lfdatetime" >&5 41984$as_echo_n "checking for libfdatetime_hfs_time_copy_to_32bit in -lfdatetime... " >&6; } 41985if ${ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_32bit+:} false; then : 41986 $as_echo_n "(cached) " >&6 41987else 41988 ac_check_lib_save_LIBS=$LIBS 41989LIBS="-lfdatetime $LIBS" 41990cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41991/* end confdefs.h. */ 41992 41993/* Override any GCC internal prototype to avoid an error. 41994 Use char because int might match the return type of a GCC 41995 builtin and then its argument prototype would still apply. */ 41996#ifdef __cplusplus 41997extern "C" 41998#endif 41999char libfdatetime_hfs_time_copy_to_32bit (); 42000int 42001main () 42002{ 42003return libfdatetime_hfs_time_copy_to_32bit (); 42004 ; 42005 return 0; 42006} 42007_ACEOF 42008if ac_fn_c_try_link "$LINENO"; then : 42009 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_32bit=yes 42010else 42011 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_32bit=no 42012fi 42013rm -f core conftest.err conftest.$ac_objext \ 42014 conftest$ac_exeext conftest.$ac_ext 42015LIBS=$ac_check_lib_save_LIBS 42016fi 42017{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_32bit" >&5 42018$as_echo "$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_32bit" >&6; } 42019if test "x$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_32bit" = xyes; then : 42020 ac_cv_libfdatetime_dummy=yes 42021else 42022 ac_cv_libfdatetime=no 42023fi 42024 42025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_hfs_time_copy_to_utf8_string in -lfdatetime" >&5 42026$as_echo_n "checking for libfdatetime_hfs_time_copy_to_utf8_string in -lfdatetime... " >&6; } 42027if ${ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf8_string+:} false; then : 42028 $as_echo_n "(cached) " >&6 42029else 42030 ac_check_lib_save_LIBS=$LIBS 42031LIBS="-lfdatetime $LIBS" 42032cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42033/* end confdefs.h. */ 42034 42035/* Override any GCC internal prototype to avoid an error. 42036 Use char because int might match the return type of a GCC 42037 builtin and then its argument prototype would still apply. */ 42038#ifdef __cplusplus 42039extern "C" 42040#endif 42041char libfdatetime_hfs_time_copy_to_utf8_string (); 42042int 42043main () 42044{ 42045return libfdatetime_hfs_time_copy_to_utf8_string (); 42046 ; 42047 return 0; 42048} 42049_ACEOF 42050if ac_fn_c_try_link "$LINENO"; then : 42051 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf8_string=yes 42052else 42053 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf8_string=no 42054fi 42055rm -f core conftest.err conftest.$ac_objext \ 42056 conftest$ac_exeext conftest.$ac_ext 42057LIBS=$ac_check_lib_save_LIBS 42058fi 42059{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf8_string" >&5 42060$as_echo "$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf8_string" >&6; } 42061if test "x$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf8_string" = xyes; then : 42062 ac_cv_libfdatetime_dummy=yes 42063else 42064 ac_cv_libfdatetime=no 42065fi 42066 42067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_hfs_time_copy_to_utf8_string_with_index in -lfdatetime" >&5 42068$as_echo_n "checking for libfdatetime_hfs_time_copy_to_utf8_string_with_index in -lfdatetime... " >&6; } 42069if ${ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf8_string_with_index+:} false; then : 42070 $as_echo_n "(cached) " >&6 42071else 42072 ac_check_lib_save_LIBS=$LIBS 42073LIBS="-lfdatetime $LIBS" 42074cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42075/* end confdefs.h. */ 42076 42077/* Override any GCC internal prototype to avoid an error. 42078 Use char because int might match the return type of a GCC 42079 builtin and then its argument prototype would still apply. */ 42080#ifdef __cplusplus 42081extern "C" 42082#endif 42083char libfdatetime_hfs_time_copy_to_utf8_string_with_index (); 42084int 42085main () 42086{ 42087return libfdatetime_hfs_time_copy_to_utf8_string_with_index (); 42088 ; 42089 return 0; 42090} 42091_ACEOF 42092if ac_fn_c_try_link "$LINENO"; then : 42093 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf8_string_with_index=yes 42094else 42095 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf8_string_with_index=no 42096fi 42097rm -f core conftest.err conftest.$ac_objext \ 42098 conftest$ac_exeext conftest.$ac_ext 42099LIBS=$ac_check_lib_save_LIBS 42100fi 42101{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf8_string_with_index" >&5 42102$as_echo "$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf8_string_with_index" >&6; } 42103if test "x$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf8_string_with_index" = xyes; then : 42104 ac_cv_libfdatetime_dummy=yes 42105else 42106 ac_cv_libfdatetime=no 42107fi 42108 42109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_hfs_time_copy_to_utf16_string in -lfdatetime" >&5 42110$as_echo_n "checking for libfdatetime_hfs_time_copy_to_utf16_string in -lfdatetime... " >&6; } 42111if ${ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf16_string+:} false; then : 42112 $as_echo_n "(cached) " >&6 42113else 42114 ac_check_lib_save_LIBS=$LIBS 42115LIBS="-lfdatetime $LIBS" 42116cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42117/* end confdefs.h. */ 42118 42119/* Override any GCC internal prototype to avoid an error. 42120 Use char because int might match the return type of a GCC 42121 builtin and then its argument prototype would still apply. */ 42122#ifdef __cplusplus 42123extern "C" 42124#endif 42125char libfdatetime_hfs_time_copy_to_utf16_string (); 42126int 42127main () 42128{ 42129return libfdatetime_hfs_time_copy_to_utf16_string (); 42130 ; 42131 return 0; 42132} 42133_ACEOF 42134if ac_fn_c_try_link "$LINENO"; then : 42135 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf16_string=yes 42136else 42137 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf16_string=no 42138fi 42139rm -f core conftest.err conftest.$ac_objext \ 42140 conftest$ac_exeext conftest.$ac_ext 42141LIBS=$ac_check_lib_save_LIBS 42142fi 42143{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf16_string" >&5 42144$as_echo "$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf16_string" >&6; } 42145if test "x$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf16_string" = xyes; then : 42146 ac_cv_libfdatetime_dummy=yes 42147else 42148 ac_cv_libfdatetime=no 42149fi 42150 42151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_hfs_time_copy_to_utf16_string_with_index in -lfdatetime" >&5 42152$as_echo_n "checking for libfdatetime_hfs_time_copy_to_utf16_string_with_index in -lfdatetime... " >&6; } 42153if ${ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf16_string_with_index+:} false; then : 42154 $as_echo_n "(cached) " >&6 42155else 42156 ac_check_lib_save_LIBS=$LIBS 42157LIBS="-lfdatetime $LIBS" 42158cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42159/* end confdefs.h. */ 42160 42161/* Override any GCC internal prototype to avoid an error. 42162 Use char because int might match the return type of a GCC 42163 builtin and then its argument prototype would still apply. */ 42164#ifdef __cplusplus 42165extern "C" 42166#endif 42167char libfdatetime_hfs_time_copy_to_utf16_string_with_index (); 42168int 42169main () 42170{ 42171return libfdatetime_hfs_time_copy_to_utf16_string_with_index (); 42172 ; 42173 return 0; 42174} 42175_ACEOF 42176if ac_fn_c_try_link "$LINENO"; then : 42177 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf16_string_with_index=yes 42178else 42179 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf16_string_with_index=no 42180fi 42181rm -f core conftest.err conftest.$ac_objext \ 42182 conftest$ac_exeext conftest.$ac_ext 42183LIBS=$ac_check_lib_save_LIBS 42184fi 42185{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf16_string_with_index" >&5 42186$as_echo "$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf16_string_with_index" >&6; } 42187if test "x$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf16_string_with_index" = xyes; then : 42188 ac_cv_libfdatetime_dummy=yes 42189else 42190 ac_cv_libfdatetime=no 42191fi 42192 42193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_hfs_time_copy_to_utf32_string in -lfdatetime" >&5 42194$as_echo_n "checking for libfdatetime_hfs_time_copy_to_utf32_string in -lfdatetime... " >&6; } 42195if ${ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf32_string+:} false; then : 42196 $as_echo_n "(cached) " >&6 42197else 42198 ac_check_lib_save_LIBS=$LIBS 42199LIBS="-lfdatetime $LIBS" 42200cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42201/* end confdefs.h. */ 42202 42203/* Override any GCC internal prototype to avoid an error. 42204 Use char because int might match the return type of a GCC 42205 builtin and then its argument prototype would still apply. */ 42206#ifdef __cplusplus 42207extern "C" 42208#endif 42209char libfdatetime_hfs_time_copy_to_utf32_string (); 42210int 42211main () 42212{ 42213return libfdatetime_hfs_time_copy_to_utf32_string (); 42214 ; 42215 return 0; 42216} 42217_ACEOF 42218if ac_fn_c_try_link "$LINENO"; then : 42219 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf32_string=yes 42220else 42221 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf32_string=no 42222fi 42223rm -f core conftest.err conftest.$ac_objext \ 42224 conftest$ac_exeext conftest.$ac_ext 42225LIBS=$ac_check_lib_save_LIBS 42226fi 42227{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf32_string" >&5 42228$as_echo "$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf32_string" >&6; } 42229if test "x$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf32_string" = xyes; then : 42230 ac_cv_libfdatetime_dummy=yes 42231else 42232 ac_cv_libfdatetime=no 42233fi 42234 42235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_hfs_time_copy_to_utf32_string_with_index in -lfdatetime" >&5 42236$as_echo_n "checking for libfdatetime_hfs_time_copy_to_utf32_string_with_index in -lfdatetime... " >&6; } 42237if ${ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf32_string_with_index+:} false; then : 42238 $as_echo_n "(cached) " >&6 42239else 42240 ac_check_lib_save_LIBS=$LIBS 42241LIBS="-lfdatetime $LIBS" 42242cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42243/* end confdefs.h. */ 42244 42245/* Override any GCC internal prototype to avoid an error. 42246 Use char because int might match the return type of a GCC 42247 builtin and then its argument prototype would still apply. */ 42248#ifdef __cplusplus 42249extern "C" 42250#endif 42251char libfdatetime_hfs_time_copy_to_utf32_string_with_index (); 42252int 42253main () 42254{ 42255return libfdatetime_hfs_time_copy_to_utf32_string_with_index (); 42256 ; 42257 return 0; 42258} 42259_ACEOF 42260if ac_fn_c_try_link "$LINENO"; then : 42261 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf32_string_with_index=yes 42262else 42263 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf32_string_with_index=no 42264fi 42265rm -f core conftest.err conftest.$ac_objext \ 42266 conftest$ac_exeext conftest.$ac_ext 42267LIBS=$ac_check_lib_save_LIBS 42268fi 42269{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf32_string_with_index" >&5 42270$as_echo "$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf32_string_with_index" >&6; } 42271if test "x$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf32_string_with_index" = xyes; then : 42272 ac_cv_libfdatetime_dummy=yes 42273else 42274 ac_cv_libfdatetime=no 42275fi 42276 42277 42278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_nsf_timedate_initialize in -lfdatetime" >&5 42279$as_echo_n "checking for libfdatetime_nsf_timedate_initialize in -lfdatetime... " >&6; } 42280if ${ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_initialize+:} false; then : 42281 $as_echo_n "(cached) " >&6 42282else 42283 ac_check_lib_save_LIBS=$LIBS 42284LIBS="-lfdatetime $LIBS" 42285cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42286/* end confdefs.h. */ 42287 42288/* Override any GCC internal prototype to avoid an error. 42289 Use char because int might match the return type of a GCC 42290 builtin and then its argument prototype would still apply. */ 42291#ifdef __cplusplus 42292extern "C" 42293#endif 42294char libfdatetime_nsf_timedate_initialize (); 42295int 42296main () 42297{ 42298return libfdatetime_nsf_timedate_initialize (); 42299 ; 42300 return 0; 42301} 42302_ACEOF 42303if ac_fn_c_try_link "$LINENO"; then : 42304 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_initialize=yes 42305else 42306 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_initialize=no 42307fi 42308rm -f core conftest.err conftest.$ac_objext \ 42309 conftest$ac_exeext conftest.$ac_ext 42310LIBS=$ac_check_lib_save_LIBS 42311fi 42312{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_initialize" >&5 42313$as_echo "$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_initialize" >&6; } 42314if test "x$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_initialize" = xyes; then : 42315 ac_cv_libfdatetime_dummy=yes 42316else 42317 ac_cv_libfdatetime=no 42318fi 42319 42320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_nsf_timedate_free in -lfdatetime" >&5 42321$as_echo_n "checking for libfdatetime_nsf_timedate_free in -lfdatetime... " >&6; } 42322if ${ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_free+:} false; then : 42323 $as_echo_n "(cached) " >&6 42324else 42325 ac_check_lib_save_LIBS=$LIBS 42326LIBS="-lfdatetime $LIBS" 42327cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42328/* end confdefs.h. */ 42329 42330/* Override any GCC internal prototype to avoid an error. 42331 Use char because int might match the return type of a GCC 42332 builtin and then its argument prototype would still apply. */ 42333#ifdef __cplusplus 42334extern "C" 42335#endif 42336char libfdatetime_nsf_timedate_free (); 42337int 42338main () 42339{ 42340return libfdatetime_nsf_timedate_free (); 42341 ; 42342 return 0; 42343} 42344_ACEOF 42345if ac_fn_c_try_link "$LINENO"; then : 42346 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_free=yes 42347else 42348 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_free=no 42349fi 42350rm -f core conftest.err conftest.$ac_objext \ 42351 conftest$ac_exeext conftest.$ac_ext 42352LIBS=$ac_check_lib_save_LIBS 42353fi 42354{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_free" >&5 42355$as_echo "$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_free" >&6; } 42356if test "x$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_free" = xyes; then : 42357 ac_cv_libfdatetime_dummy=yes 42358else 42359 ac_cv_libfdatetime=no 42360fi 42361 42362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_nsf_timedate_copy_from_byte_stream in -lfdatetime" >&5 42363$as_echo_n "checking for libfdatetime_nsf_timedate_copy_from_byte_stream in -lfdatetime... " >&6; } 42364if ${ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_from_byte_stream+:} false; then : 42365 $as_echo_n "(cached) " >&6 42366else 42367 ac_check_lib_save_LIBS=$LIBS 42368LIBS="-lfdatetime $LIBS" 42369cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42370/* end confdefs.h. */ 42371 42372/* Override any GCC internal prototype to avoid an error. 42373 Use char because int might match the return type of a GCC 42374 builtin and then its argument prototype would still apply. */ 42375#ifdef __cplusplus 42376extern "C" 42377#endif 42378char libfdatetime_nsf_timedate_copy_from_byte_stream (); 42379int 42380main () 42381{ 42382return libfdatetime_nsf_timedate_copy_from_byte_stream (); 42383 ; 42384 return 0; 42385} 42386_ACEOF 42387if ac_fn_c_try_link "$LINENO"; then : 42388 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_from_byte_stream=yes 42389else 42390 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_from_byte_stream=no 42391fi 42392rm -f core conftest.err conftest.$ac_objext \ 42393 conftest$ac_exeext conftest.$ac_ext 42394LIBS=$ac_check_lib_save_LIBS 42395fi 42396{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_from_byte_stream" >&5 42397$as_echo "$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_from_byte_stream" >&6; } 42398if test "x$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_from_byte_stream" = xyes; then : 42399 ac_cv_libfdatetime_dummy=yes 42400else 42401 ac_cv_libfdatetime=no 42402fi 42403 42404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_nsf_timedate_copy_from_64bit in -lfdatetime" >&5 42405$as_echo_n "checking for libfdatetime_nsf_timedate_copy_from_64bit in -lfdatetime... " >&6; } 42406if ${ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_from_64bit+:} false; then : 42407 $as_echo_n "(cached) " >&6 42408else 42409 ac_check_lib_save_LIBS=$LIBS 42410LIBS="-lfdatetime $LIBS" 42411cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42412/* end confdefs.h. */ 42413 42414/* Override any GCC internal prototype to avoid an error. 42415 Use char because int might match the return type of a GCC 42416 builtin and then its argument prototype would still apply. */ 42417#ifdef __cplusplus 42418extern "C" 42419#endif 42420char libfdatetime_nsf_timedate_copy_from_64bit (); 42421int 42422main () 42423{ 42424return libfdatetime_nsf_timedate_copy_from_64bit (); 42425 ; 42426 return 0; 42427} 42428_ACEOF 42429if ac_fn_c_try_link "$LINENO"; then : 42430 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_from_64bit=yes 42431else 42432 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_from_64bit=no 42433fi 42434rm -f core conftest.err conftest.$ac_objext \ 42435 conftest$ac_exeext conftest.$ac_ext 42436LIBS=$ac_check_lib_save_LIBS 42437fi 42438{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_from_64bit" >&5 42439$as_echo "$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_from_64bit" >&6; } 42440if test "x$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_from_64bit" = xyes; then : 42441 ac_cv_libfdatetime_dummy=yes 42442else 42443 ac_cv_libfdatetime=no 42444fi 42445 42446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_nsf_timedate_copy_to_64bit in -lfdatetime" >&5 42447$as_echo_n "checking for libfdatetime_nsf_timedate_copy_to_64bit in -lfdatetime... " >&6; } 42448if ${ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_64bit+:} false; then : 42449 $as_echo_n "(cached) " >&6 42450else 42451 ac_check_lib_save_LIBS=$LIBS 42452LIBS="-lfdatetime $LIBS" 42453cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42454/* end confdefs.h. */ 42455 42456/* Override any GCC internal prototype to avoid an error. 42457 Use char because int might match the return type of a GCC 42458 builtin and then its argument prototype would still apply. */ 42459#ifdef __cplusplus 42460extern "C" 42461#endif 42462char libfdatetime_nsf_timedate_copy_to_64bit (); 42463int 42464main () 42465{ 42466return libfdatetime_nsf_timedate_copy_to_64bit (); 42467 ; 42468 return 0; 42469} 42470_ACEOF 42471if ac_fn_c_try_link "$LINENO"; then : 42472 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_64bit=yes 42473else 42474 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_64bit=no 42475fi 42476rm -f core conftest.err conftest.$ac_objext \ 42477 conftest$ac_exeext conftest.$ac_ext 42478LIBS=$ac_check_lib_save_LIBS 42479fi 42480{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_64bit" >&5 42481$as_echo "$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_64bit" >&6; } 42482if test "x$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_64bit" = xyes; then : 42483 ac_cv_libfdatetime_dummy=yes 42484else 42485 ac_cv_libfdatetime=no 42486fi 42487 42488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_nsf_timedate_copy_to_utf8_string in -lfdatetime" >&5 42489$as_echo_n "checking for libfdatetime_nsf_timedate_copy_to_utf8_string in -lfdatetime... " >&6; } 42490if ${ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf8_string+:} false; then : 42491 $as_echo_n "(cached) " >&6 42492else 42493 ac_check_lib_save_LIBS=$LIBS 42494LIBS="-lfdatetime $LIBS" 42495cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42496/* end confdefs.h. */ 42497 42498/* Override any GCC internal prototype to avoid an error. 42499 Use char because int might match the return type of a GCC 42500 builtin and then its argument prototype would still apply. */ 42501#ifdef __cplusplus 42502extern "C" 42503#endif 42504char libfdatetime_nsf_timedate_copy_to_utf8_string (); 42505int 42506main () 42507{ 42508return libfdatetime_nsf_timedate_copy_to_utf8_string (); 42509 ; 42510 return 0; 42511} 42512_ACEOF 42513if ac_fn_c_try_link "$LINENO"; then : 42514 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf8_string=yes 42515else 42516 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf8_string=no 42517fi 42518rm -f core conftest.err conftest.$ac_objext \ 42519 conftest$ac_exeext conftest.$ac_ext 42520LIBS=$ac_check_lib_save_LIBS 42521fi 42522{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf8_string" >&5 42523$as_echo "$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf8_string" >&6; } 42524if test "x$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf8_string" = xyes; then : 42525 ac_cv_libfdatetime_dummy=yes 42526else 42527 ac_cv_libfdatetime=no 42528fi 42529 42530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_nsf_timedate_copy_to_utf8_string_with_index in -lfdatetime" >&5 42531$as_echo_n "checking for libfdatetime_nsf_timedate_copy_to_utf8_string_with_index in -lfdatetime... " >&6; } 42532if ${ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf8_string_with_index+:} false; then : 42533 $as_echo_n "(cached) " >&6 42534else 42535 ac_check_lib_save_LIBS=$LIBS 42536LIBS="-lfdatetime $LIBS" 42537cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42538/* end confdefs.h. */ 42539 42540/* Override any GCC internal prototype to avoid an error. 42541 Use char because int might match the return type of a GCC 42542 builtin and then its argument prototype would still apply. */ 42543#ifdef __cplusplus 42544extern "C" 42545#endif 42546char libfdatetime_nsf_timedate_copy_to_utf8_string_with_index (); 42547int 42548main () 42549{ 42550return libfdatetime_nsf_timedate_copy_to_utf8_string_with_index (); 42551 ; 42552 return 0; 42553} 42554_ACEOF 42555if ac_fn_c_try_link "$LINENO"; then : 42556 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf8_string_with_index=yes 42557else 42558 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf8_string_with_index=no 42559fi 42560rm -f core conftest.err conftest.$ac_objext \ 42561 conftest$ac_exeext conftest.$ac_ext 42562LIBS=$ac_check_lib_save_LIBS 42563fi 42564{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf8_string_with_index" >&5 42565$as_echo "$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf8_string_with_index" >&6; } 42566if test "x$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf8_string_with_index" = xyes; then : 42567 ac_cv_libfdatetime_dummy=yes 42568else 42569 ac_cv_libfdatetime=no 42570fi 42571 42572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_nsf_timedate_copy_to_utf16_string in -lfdatetime" >&5 42573$as_echo_n "checking for libfdatetime_nsf_timedate_copy_to_utf16_string in -lfdatetime... " >&6; } 42574if ${ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf16_string+:} false; then : 42575 $as_echo_n "(cached) " >&6 42576else 42577 ac_check_lib_save_LIBS=$LIBS 42578LIBS="-lfdatetime $LIBS" 42579cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42580/* end confdefs.h. */ 42581 42582/* Override any GCC internal prototype to avoid an error. 42583 Use char because int might match the return type of a GCC 42584 builtin and then its argument prototype would still apply. */ 42585#ifdef __cplusplus 42586extern "C" 42587#endif 42588char libfdatetime_nsf_timedate_copy_to_utf16_string (); 42589int 42590main () 42591{ 42592return libfdatetime_nsf_timedate_copy_to_utf16_string (); 42593 ; 42594 return 0; 42595} 42596_ACEOF 42597if ac_fn_c_try_link "$LINENO"; then : 42598 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf16_string=yes 42599else 42600 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf16_string=no 42601fi 42602rm -f core conftest.err conftest.$ac_objext \ 42603 conftest$ac_exeext conftest.$ac_ext 42604LIBS=$ac_check_lib_save_LIBS 42605fi 42606{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf16_string" >&5 42607$as_echo "$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf16_string" >&6; } 42608if test "x$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf16_string" = xyes; then : 42609 ac_cv_libfdatetime_dummy=yes 42610else 42611 ac_cv_libfdatetime=no 42612fi 42613 42614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_nsf_timedate_copy_to_utf16_string_with_index in -lfdatetime" >&5 42615$as_echo_n "checking for libfdatetime_nsf_timedate_copy_to_utf16_string_with_index in -lfdatetime... " >&6; } 42616if ${ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf16_string_with_index+:} false; then : 42617 $as_echo_n "(cached) " >&6 42618else 42619 ac_check_lib_save_LIBS=$LIBS 42620LIBS="-lfdatetime $LIBS" 42621cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42622/* end confdefs.h. */ 42623 42624/* Override any GCC internal prototype to avoid an error. 42625 Use char because int might match the return type of a GCC 42626 builtin and then its argument prototype would still apply. */ 42627#ifdef __cplusplus 42628extern "C" 42629#endif 42630char libfdatetime_nsf_timedate_copy_to_utf16_string_with_index (); 42631int 42632main () 42633{ 42634return libfdatetime_nsf_timedate_copy_to_utf16_string_with_index (); 42635 ; 42636 return 0; 42637} 42638_ACEOF 42639if ac_fn_c_try_link "$LINENO"; then : 42640 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf16_string_with_index=yes 42641else 42642 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf16_string_with_index=no 42643fi 42644rm -f core conftest.err conftest.$ac_objext \ 42645 conftest$ac_exeext conftest.$ac_ext 42646LIBS=$ac_check_lib_save_LIBS 42647fi 42648{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf16_string_with_index" >&5 42649$as_echo "$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf16_string_with_index" >&6; } 42650if test "x$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf16_string_with_index" = xyes; then : 42651 ac_cv_libfdatetime_dummy=yes 42652else 42653 ac_cv_libfdatetime=no 42654fi 42655 42656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_nsf_timedate_copy_to_utf32_string in -lfdatetime" >&5 42657$as_echo_n "checking for libfdatetime_nsf_timedate_copy_to_utf32_string in -lfdatetime... " >&6; } 42658if ${ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf32_string+:} false; then : 42659 $as_echo_n "(cached) " >&6 42660else 42661 ac_check_lib_save_LIBS=$LIBS 42662LIBS="-lfdatetime $LIBS" 42663cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42664/* end confdefs.h. */ 42665 42666/* Override any GCC internal prototype to avoid an error. 42667 Use char because int might match the return type of a GCC 42668 builtin and then its argument prototype would still apply. */ 42669#ifdef __cplusplus 42670extern "C" 42671#endif 42672char libfdatetime_nsf_timedate_copy_to_utf32_string (); 42673int 42674main () 42675{ 42676return libfdatetime_nsf_timedate_copy_to_utf32_string (); 42677 ; 42678 return 0; 42679} 42680_ACEOF 42681if ac_fn_c_try_link "$LINENO"; then : 42682 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf32_string=yes 42683else 42684 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf32_string=no 42685fi 42686rm -f core conftest.err conftest.$ac_objext \ 42687 conftest$ac_exeext conftest.$ac_ext 42688LIBS=$ac_check_lib_save_LIBS 42689fi 42690{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf32_string" >&5 42691$as_echo "$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf32_string" >&6; } 42692if test "x$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf32_string" = xyes; then : 42693 ac_cv_libfdatetime_dummy=yes 42694else 42695 ac_cv_libfdatetime=no 42696fi 42697 42698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_nsf_timedate_copy_to_utf32_string_with_index in -lfdatetime" >&5 42699$as_echo_n "checking for libfdatetime_nsf_timedate_copy_to_utf32_string_with_index in -lfdatetime... " >&6; } 42700if ${ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf32_string_with_index+:} false; then : 42701 $as_echo_n "(cached) " >&6 42702else 42703 ac_check_lib_save_LIBS=$LIBS 42704LIBS="-lfdatetime $LIBS" 42705cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42706/* end confdefs.h. */ 42707 42708/* Override any GCC internal prototype to avoid an error. 42709 Use char because int might match the return type of a GCC 42710 builtin and then its argument prototype would still apply. */ 42711#ifdef __cplusplus 42712extern "C" 42713#endif 42714char libfdatetime_nsf_timedate_copy_to_utf32_string_with_index (); 42715int 42716main () 42717{ 42718return libfdatetime_nsf_timedate_copy_to_utf32_string_with_index (); 42719 ; 42720 return 0; 42721} 42722_ACEOF 42723if ac_fn_c_try_link "$LINENO"; then : 42724 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf32_string_with_index=yes 42725else 42726 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf32_string_with_index=no 42727fi 42728rm -f core conftest.err conftest.$ac_objext \ 42729 conftest$ac_exeext conftest.$ac_ext 42730LIBS=$ac_check_lib_save_LIBS 42731fi 42732{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf32_string_with_index" >&5 42733$as_echo "$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf32_string_with_index" >&6; } 42734if test "x$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf32_string_with_index" = xyes; then : 42735 ac_cv_libfdatetime_dummy=yes 42736else 42737 ac_cv_libfdatetime=no 42738fi 42739 42740 42741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_initialize in -lfdatetime" >&5 42742$as_echo_n "checking for libfdatetime_posix_time_initialize in -lfdatetime... " >&6; } 42743if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_initialize+:} false; then : 42744 $as_echo_n "(cached) " >&6 42745else 42746 ac_check_lib_save_LIBS=$LIBS 42747LIBS="-lfdatetime $LIBS" 42748cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42749/* end confdefs.h. */ 42750 42751/* Override any GCC internal prototype to avoid an error. 42752 Use char because int might match the return type of a GCC 42753 builtin and then its argument prototype would still apply. */ 42754#ifdef __cplusplus 42755extern "C" 42756#endif 42757char libfdatetime_posix_time_initialize (); 42758int 42759main () 42760{ 42761return libfdatetime_posix_time_initialize (); 42762 ; 42763 return 0; 42764} 42765_ACEOF 42766if ac_fn_c_try_link "$LINENO"; then : 42767 ac_cv_lib_fdatetime_libfdatetime_posix_time_initialize=yes 42768else 42769 ac_cv_lib_fdatetime_libfdatetime_posix_time_initialize=no 42770fi 42771rm -f core conftest.err conftest.$ac_objext \ 42772 conftest$ac_exeext conftest.$ac_ext 42773LIBS=$ac_check_lib_save_LIBS 42774fi 42775{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_posix_time_initialize" >&5 42776$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_initialize" >&6; } 42777if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_initialize" = xyes; then : 42778 ac_cv_libfdatetime_dummy=yes 42779else 42780 ac_cv_libfdatetime=no 42781fi 42782 42783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_free in -lfdatetime" >&5 42784$as_echo_n "checking for libfdatetime_posix_time_free in -lfdatetime... " >&6; } 42785if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_free+:} false; then : 42786 $as_echo_n "(cached) " >&6 42787else 42788 ac_check_lib_save_LIBS=$LIBS 42789LIBS="-lfdatetime $LIBS" 42790cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42791/* end confdefs.h. */ 42792 42793/* Override any GCC internal prototype to avoid an error. 42794 Use char because int might match the return type of a GCC 42795 builtin and then its argument prototype would still apply. */ 42796#ifdef __cplusplus 42797extern "C" 42798#endif 42799char libfdatetime_posix_time_free (); 42800int 42801main () 42802{ 42803return libfdatetime_posix_time_free (); 42804 ; 42805 return 0; 42806} 42807_ACEOF 42808if ac_fn_c_try_link "$LINENO"; then : 42809 ac_cv_lib_fdatetime_libfdatetime_posix_time_free=yes 42810else 42811 ac_cv_lib_fdatetime_libfdatetime_posix_time_free=no 42812fi 42813rm -f core conftest.err conftest.$ac_objext \ 42814 conftest$ac_exeext conftest.$ac_ext 42815LIBS=$ac_check_lib_save_LIBS 42816fi 42817{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_posix_time_free" >&5 42818$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_free" >&6; } 42819if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_free" = xyes; then : 42820 ac_cv_libfdatetime_dummy=yes 42821else 42822 ac_cv_libfdatetime=no 42823fi 42824 42825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_copy_from_byte_stream in -lfdatetime" >&5 42826$as_echo_n "checking for libfdatetime_posix_time_copy_from_byte_stream in -lfdatetime... " >&6; } 42827if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_byte_stream+:} false; then : 42828 $as_echo_n "(cached) " >&6 42829else 42830 ac_check_lib_save_LIBS=$LIBS 42831LIBS="-lfdatetime $LIBS" 42832cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42833/* end confdefs.h. */ 42834 42835/* Override any GCC internal prototype to avoid an error. 42836 Use char because int might match the return type of a GCC 42837 builtin and then its argument prototype would still apply. */ 42838#ifdef __cplusplus 42839extern "C" 42840#endif 42841char libfdatetime_posix_time_copy_from_byte_stream (); 42842int 42843main () 42844{ 42845return libfdatetime_posix_time_copy_from_byte_stream (); 42846 ; 42847 return 0; 42848} 42849_ACEOF 42850if ac_fn_c_try_link "$LINENO"; then : 42851 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_byte_stream=yes 42852else 42853 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_byte_stream=no 42854fi 42855rm -f core conftest.err conftest.$ac_objext \ 42856 conftest$ac_exeext conftest.$ac_ext 42857LIBS=$ac_check_lib_save_LIBS 42858fi 42859{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_byte_stream" >&5 42860$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_byte_stream" >&6; } 42861if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_byte_stream" = xyes; then : 42862 ac_cv_libfdatetime_dummy=yes 42863else 42864 ac_cv_libfdatetime=no 42865fi 42866 42867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_copy_from_32bit in -lfdatetime" >&5 42868$as_echo_n "checking for libfdatetime_posix_time_copy_from_32bit in -lfdatetime... " >&6; } 42869if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_32bit+:} false; then : 42870 $as_echo_n "(cached) " >&6 42871else 42872 ac_check_lib_save_LIBS=$LIBS 42873LIBS="-lfdatetime $LIBS" 42874cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42875/* end confdefs.h. */ 42876 42877/* Override any GCC internal prototype to avoid an error. 42878 Use char because int might match the return type of a GCC 42879 builtin and then its argument prototype would still apply. */ 42880#ifdef __cplusplus 42881extern "C" 42882#endif 42883char libfdatetime_posix_time_copy_from_32bit (); 42884int 42885main () 42886{ 42887return libfdatetime_posix_time_copy_from_32bit (); 42888 ; 42889 return 0; 42890} 42891_ACEOF 42892if ac_fn_c_try_link "$LINENO"; then : 42893 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_32bit=yes 42894else 42895 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_32bit=no 42896fi 42897rm -f core conftest.err conftest.$ac_objext \ 42898 conftest$ac_exeext conftest.$ac_ext 42899LIBS=$ac_check_lib_save_LIBS 42900fi 42901{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_32bit" >&5 42902$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_32bit" >&6; } 42903if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_32bit" = xyes; then : 42904 ac_cv_libfdatetime_dummy=yes 42905else 42906 ac_cv_libfdatetime=no 42907fi 42908 42909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_copy_to_32bit in -lfdatetime" >&5 42910$as_echo_n "checking for libfdatetime_posix_time_copy_to_32bit in -lfdatetime... " >&6; } 42911if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_32bit+:} false; then : 42912 $as_echo_n "(cached) " >&6 42913else 42914 ac_check_lib_save_LIBS=$LIBS 42915LIBS="-lfdatetime $LIBS" 42916cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42917/* end confdefs.h. */ 42918 42919/* Override any GCC internal prototype to avoid an error. 42920 Use char because int might match the return type of a GCC 42921 builtin and then its argument prototype would still apply. */ 42922#ifdef __cplusplus 42923extern "C" 42924#endif 42925char libfdatetime_posix_time_copy_to_32bit (); 42926int 42927main () 42928{ 42929return libfdatetime_posix_time_copy_to_32bit (); 42930 ; 42931 return 0; 42932} 42933_ACEOF 42934if ac_fn_c_try_link "$LINENO"; then : 42935 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_32bit=yes 42936else 42937 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_32bit=no 42938fi 42939rm -f core conftest.err conftest.$ac_objext \ 42940 conftest$ac_exeext conftest.$ac_ext 42941LIBS=$ac_check_lib_save_LIBS 42942fi 42943{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_32bit" >&5 42944$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_32bit" >&6; } 42945if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_32bit" = xyes; then : 42946 ac_cv_libfdatetime_dummy=yes 42947else 42948 ac_cv_libfdatetime=no 42949fi 42950 42951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_copy_from_64bit in -lfdatetime" >&5 42952$as_echo_n "checking for libfdatetime_posix_time_copy_from_64bit in -lfdatetime... " >&6; } 42953if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_64bit+:} false; then : 42954 $as_echo_n "(cached) " >&6 42955else 42956 ac_check_lib_save_LIBS=$LIBS 42957LIBS="-lfdatetime $LIBS" 42958cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42959/* end confdefs.h. */ 42960 42961/* Override any GCC internal prototype to avoid an error. 42962 Use char because int might match the return type of a GCC 42963 builtin and then its argument prototype would still apply. */ 42964#ifdef __cplusplus 42965extern "C" 42966#endif 42967char libfdatetime_posix_time_copy_from_64bit (); 42968int 42969main () 42970{ 42971return libfdatetime_posix_time_copy_from_64bit (); 42972 ; 42973 return 0; 42974} 42975_ACEOF 42976if ac_fn_c_try_link "$LINENO"; then : 42977 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_64bit=yes 42978else 42979 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_64bit=no 42980fi 42981rm -f core conftest.err conftest.$ac_objext \ 42982 conftest$ac_exeext conftest.$ac_ext 42983LIBS=$ac_check_lib_save_LIBS 42984fi 42985{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_64bit" >&5 42986$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_64bit" >&6; } 42987if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_64bit" = xyes; then : 42988 ac_cv_libfdatetime_dummy=yes 42989else 42990 ac_cv_libfdatetime=no 42991fi 42992 42993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_copy_to_64bit in -lfdatetime" >&5 42994$as_echo_n "checking for libfdatetime_posix_time_copy_to_64bit in -lfdatetime... " >&6; } 42995if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_64bit+:} false; then : 42996 $as_echo_n "(cached) " >&6 42997else 42998 ac_check_lib_save_LIBS=$LIBS 42999LIBS="-lfdatetime $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 libfdatetime_posix_time_copy_to_64bit (); 43010int 43011main () 43012{ 43013return libfdatetime_posix_time_copy_to_64bit (); 43014 ; 43015 return 0; 43016} 43017_ACEOF 43018if ac_fn_c_try_link "$LINENO"; then : 43019 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_64bit=yes 43020else 43021 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_64bit=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_fdatetime_libfdatetime_posix_time_copy_to_64bit" >&5 43028$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_64bit" >&6; } 43029if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_64bit" = xyes; then : 43030 ac_cv_libfdatetime_dummy=yes 43031else 43032 ac_cv_libfdatetime=no 43033fi 43034 43035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_copy_to_utf8_string in -lfdatetime" >&5 43036$as_echo_n "checking for libfdatetime_posix_time_copy_to_utf8_string in -lfdatetime... " >&6; } 43037if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf8_string+:} false; then : 43038 $as_echo_n "(cached) " >&6 43039else 43040 ac_check_lib_save_LIBS=$LIBS 43041LIBS="-lfdatetime $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 libfdatetime_posix_time_copy_to_utf8_string (); 43052int 43053main () 43054{ 43055return libfdatetime_posix_time_copy_to_utf8_string (); 43056 ; 43057 return 0; 43058} 43059_ACEOF 43060if ac_fn_c_try_link "$LINENO"; then : 43061 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf8_string=yes 43062else 43063 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf8_string=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_fdatetime_libfdatetime_posix_time_copy_to_utf8_string" >&5 43070$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf8_string" >&6; } 43071if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf8_string" = xyes; then : 43072 ac_cv_libfdatetime_dummy=yes 43073else 43074 ac_cv_libfdatetime=no 43075fi 43076 43077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_copy_to_utf8_string_with_index in -lfdatetime" >&5 43078$as_echo_n "checking for libfdatetime_posix_time_copy_to_utf8_string_with_index in -lfdatetime... " >&6; } 43079if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf8_string_with_index+:} false; then : 43080 $as_echo_n "(cached) " >&6 43081else 43082 ac_check_lib_save_LIBS=$LIBS 43083LIBS="-lfdatetime $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 libfdatetime_posix_time_copy_to_utf8_string_with_index (); 43094int 43095main () 43096{ 43097return libfdatetime_posix_time_copy_to_utf8_string_with_index (); 43098 ; 43099 return 0; 43100} 43101_ACEOF 43102if ac_fn_c_try_link "$LINENO"; then : 43103 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf8_string_with_index=yes 43104else 43105 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf8_string_with_index=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_fdatetime_libfdatetime_posix_time_copy_to_utf8_string_with_index" >&5 43112$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf8_string_with_index" >&6; } 43113if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf8_string_with_index" = xyes; then : 43114 ac_cv_libfdatetime_dummy=yes 43115else 43116 ac_cv_libfdatetime=no 43117fi 43118 43119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_copy_to_utf16_string in -lfdatetime" >&5 43120$as_echo_n "checking for libfdatetime_posix_time_copy_to_utf16_string in -lfdatetime... " >&6; } 43121if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf16_string+:} false; then : 43122 $as_echo_n "(cached) " >&6 43123else 43124 ac_check_lib_save_LIBS=$LIBS 43125LIBS="-lfdatetime $LIBS" 43126cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43127/* end confdefs.h. */ 43128 43129/* Override any GCC internal prototype to avoid an error. 43130 Use char because int might match the return type of a GCC 43131 builtin and then its argument prototype would still apply. */ 43132#ifdef __cplusplus 43133extern "C" 43134#endif 43135char libfdatetime_posix_time_copy_to_utf16_string (); 43136int 43137main () 43138{ 43139return libfdatetime_posix_time_copy_to_utf16_string (); 43140 ; 43141 return 0; 43142} 43143_ACEOF 43144if ac_fn_c_try_link "$LINENO"; then : 43145 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf16_string=yes 43146else 43147 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf16_string=no 43148fi 43149rm -f core conftest.err conftest.$ac_objext \ 43150 conftest$ac_exeext conftest.$ac_ext 43151LIBS=$ac_check_lib_save_LIBS 43152fi 43153{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf16_string" >&5 43154$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf16_string" >&6; } 43155if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf16_string" = xyes; then : 43156 ac_cv_libfdatetime_dummy=yes 43157else 43158 ac_cv_libfdatetime=no 43159fi 43160 43161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_copy_to_utf16_string_with_index in -lfdatetime" >&5 43162$as_echo_n "checking for libfdatetime_posix_time_copy_to_utf16_string_with_index in -lfdatetime... " >&6; } 43163if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf16_string_with_index+:} false; then : 43164 $as_echo_n "(cached) " >&6 43165else 43166 ac_check_lib_save_LIBS=$LIBS 43167LIBS="-lfdatetime $LIBS" 43168cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43169/* end confdefs.h. */ 43170 43171/* Override any GCC internal prototype to avoid an error. 43172 Use char because int might match the return type of a GCC 43173 builtin and then its argument prototype would still apply. */ 43174#ifdef __cplusplus 43175extern "C" 43176#endif 43177char libfdatetime_posix_time_copy_to_utf16_string_with_index (); 43178int 43179main () 43180{ 43181return libfdatetime_posix_time_copy_to_utf16_string_with_index (); 43182 ; 43183 return 0; 43184} 43185_ACEOF 43186if ac_fn_c_try_link "$LINENO"; then : 43187 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf16_string_with_index=yes 43188else 43189 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf16_string_with_index=no 43190fi 43191rm -f core conftest.err conftest.$ac_objext \ 43192 conftest$ac_exeext conftest.$ac_ext 43193LIBS=$ac_check_lib_save_LIBS 43194fi 43195{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf16_string_with_index" >&5 43196$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf16_string_with_index" >&6; } 43197if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf16_string_with_index" = xyes; then : 43198 ac_cv_libfdatetime_dummy=yes 43199else 43200 ac_cv_libfdatetime=no 43201fi 43202 43203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_copy_to_utf32_string in -lfdatetime" >&5 43204$as_echo_n "checking for libfdatetime_posix_time_copy_to_utf32_string in -lfdatetime... " >&6; } 43205if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf32_string+:} false; then : 43206 $as_echo_n "(cached) " >&6 43207else 43208 ac_check_lib_save_LIBS=$LIBS 43209LIBS="-lfdatetime $LIBS" 43210cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43211/* end confdefs.h. */ 43212 43213/* Override any GCC internal prototype to avoid an error. 43214 Use char because int might match the return type of a GCC 43215 builtin and then its argument prototype would still apply. */ 43216#ifdef __cplusplus 43217extern "C" 43218#endif 43219char libfdatetime_posix_time_copy_to_utf32_string (); 43220int 43221main () 43222{ 43223return libfdatetime_posix_time_copy_to_utf32_string (); 43224 ; 43225 return 0; 43226} 43227_ACEOF 43228if ac_fn_c_try_link "$LINENO"; then : 43229 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf32_string=yes 43230else 43231 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf32_string=no 43232fi 43233rm -f core conftest.err conftest.$ac_objext \ 43234 conftest$ac_exeext conftest.$ac_ext 43235LIBS=$ac_check_lib_save_LIBS 43236fi 43237{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf32_string" >&5 43238$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf32_string" >&6; } 43239if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf32_string" = xyes; then : 43240 ac_cv_libfdatetime_dummy=yes 43241else 43242 ac_cv_libfdatetime=no 43243fi 43244 43245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_copy_to_utf32_string_with_index in -lfdatetime" >&5 43246$as_echo_n "checking for libfdatetime_posix_time_copy_to_utf32_string_with_index in -lfdatetime... " >&6; } 43247if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf32_string_with_index+:} false; then : 43248 $as_echo_n "(cached) " >&6 43249else 43250 ac_check_lib_save_LIBS=$LIBS 43251LIBS="-lfdatetime $LIBS" 43252cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43253/* end confdefs.h. */ 43254 43255/* Override any GCC internal prototype to avoid an error. 43256 Use char because int might match the return type of a GCC 43257 builtin and then its argument prototype would still apply. */ 43258#ifdef __cplusplus 43259extern "C" 43260#endif 43261char libfdatetime_posix_time_copy_to_utf32_string_with_index (); 43262int 43263main () 43264{ 43265return libfdatetime_posix_time_copy_to_utf32_string_with_index (); 43266 ; 43267 return 0; 43268} 43269_ACEOF 43270if ac_fn_c_try_link "$LINENO"; then : 43271 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf32_string_with_index=yes 43272else 43273 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf32_string_with_index=no 43274fi 43275rm -f core conftest.err conftest.$ac_objext \ 43276 conftest$ac_exeext conftest.$ac_ext 43277LIBS=$ac_check_lib_save_LIBS 43278fi 43279{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf32_string_with_index" >&5 43280$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf32_string_with_index" >&6; } 43281if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf32_string_with_index" = xyes; then : 43282 ac_cv_libfdatetime_dummy=yes 43283else 43284 ac_cv_libfdatetime=no 43285fi 43286 43287 43288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_systemetime_initialize in -lfdatetime" >&5 43289$as_echo_n "checking for libfdatetime_systemetime_initialize in -lfdatetime... " >&6; } 43290if ${ac_cv_lib_fdatetime_libfdatetime_systemetime_initialize+:} false; then : 43291 $as_echo_n "(cached) " >&6 43292else 43293 ac_check_lib_save_LIBS=$LIBS 43294LIBS="-lfdatetime $LIBS" 43295cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43296/* end confdefs.h. */ 43297 43298/* Override any GCC internal prototype to avoid an error. 43299 Use char because int might match the return type of a GCC 43300 builtin and then its argument prototype would still apply. */ 43301#ifdef __cplusplus 43302extern "C" 43303#endif 43304char libfdatetime_systemetime_initialize (); 43305int 43306main () 43307{ 43308return libfdatetime_systemetime_initialize (); 43309 ; 43310 return 0; 43311} 43312_ACEOF 43313if ac_fn_c_try_link "$LINENO"; then : 43314 ac_cv_lib_fdatetime_libfdatetime_systemetime_initialize=yes 43315else 43316 ac_cv_lib_fdatetime_libfdatetime_systemetime_initialize=no 43317fi 43318rm -f core conftest.err conftest.$ac_objext \ 43319 conftest$ac_exeext conftest.$ac_ext 43320LIBS=$ac_check_lib_save_LIBS 43321fi 43322{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_systemetime_initialize" >&5 43323$as_echo "$ac_cv_lib_fdatetime_libfdatetime_systemetime_initialize" >&6; } 43324if test "x$ac_cv_lib_fdatetime_libfdatetime_systemetime_initialize" = xyes; then : 43325 ac_cv_libfdatetime_dummy=yes 43326else 43327 ac_cv_libfdatetime=no 43328fi 43329 43330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_systemetime_free in -lfdatetime" >&5 43331$as_echo_n "checking for libfdatetime_systemetime_free in -lfdatetime... " >&6; } 43332if ${ac_cv_lib_fdatetime_libfdatetime_systemetime_free+:} false; then : 43333 $as_echo_n "(cached) " >&6 43334else 43335 ac_check_lib_save_LIBS=$LIBS 43336LIBS="-lfdatetime $LIBS" 43337cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43338/* end confdefs.h. */ 43339 43340/* Override any GCC internal prototype to avoid an error. 43341 Use char because int might match the return type of a GCC 43342 builtin and then its argument prototype would still apply. */ 43343#ifdef __cplusplus 43344extern "C" 43345#endif 43346char libfdatetime_systemetime_free (); 43347int 43348main () 43349{ 43350return libfdatetime_systemetime_free (); 43351 ; 43352 return 0; 43353} 43354_ACEOF 43355if ac_fn_c_try_link "$LINENO"; then : 43356 ac_cv_lib_fdatetime_libfdatetime_systemetime_free=yes 43357else 43358 ac_cv_lib_fdatetime_libfdatetime_systemetime_free=no 43359fi 43360rm -f core conftest.err conftest.$ac_objext \ 43361 conftest$ac_exeext conftest.$ac_ext 43362LIBS=$ac_check_lib_save_LIBS 43363fi 43364{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_systemetime_free" >&5 43365$as_echo "$ac_cv_lib_fdatetime_libfdatetime_systemetime_free" >&6; } 43366if test "x$ac_cv_lib_fdatetime_libfdatetime_systemetime_free" = xyes; then : 43367 ac_cv_libfdatetime_dummy=yes 43368else 43369 ac_cv_libfdatetime=no 43370fi 43371 43372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_systemetime_copy_from_byte_stream in -lfdatetime" >&5 43373$as_echo_n "checking for libfdatetime_systemetime_copy_from_byte_stream in -lfdatetime... " >&6; } 43374if ${ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_from_byte_stream+:} false; then : 43375 $as_echo_n "(cached) " >&6 43376else 43377 ac_check_lib_save_LIBS=$LIBS 43378LIBS="-lfdatetime $LIBS" 43379cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43380/* end confdefs.h. */ 43381 43382/* Override any GCC internal prototype to avoid an error. 43383 Use char because int might match the return type of a GCC 43384 builtin and then its argument prototype would still apply. */ 43385#ifdef __cplusplus 43386extern "C" 43387#endif 43388char libfdatetime_systemetime_copy_from_byte_stream (); 43389int 43390main () 43391{ 43392return libfdatetime_systemetime_copy_from_byte_stream (); 43393 ; 43394 return 0; 43395} 43396_ACEOF 43397if ac_fn_c_try_link "$LINENO"; then : 43398 ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_from_byte_stream=yes 43399else 43400 ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_from_byte_stream=no 43401fi 43402rm -f core conftest.err conftest.$ac_objext \ 43403 conftest$ac_exeext conftest.$ac_ext 43404LIBS=$ac_check_lib_save_LIBS 43405fi 43406{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_from_byte_stream" >&5 43407$as_echo "$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_from_byte_stream" >&6; } 43408if test "x$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_from_byte_stream" = xyes; then : 43409 ac_cv_libfdatetime_dummy=yes 43410else 43411 ac_cv_libfdatetime=no 43412fi 43413 43414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_systemetime_copy_to_utf8_string in -lfdatetime" >&5 43415$as_echo_n "checking for libfdatetime_systemetime_copy_to_utf8_string in -lfdatetime... " >&6; } 43416if ${ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf8_string+:} false; then : 43417 $as_echo_n "(cached) " >&6 43418else 43419 ac_check_lib_save_LIBS=$LIBS 43420LIBS="-lfdatetime $LIBS" 43421cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43422/* end confdefs.h. */ 43423 43424/* Override any GCC internal prototype to avoid an error. 43425 Use char because int might match the return type of a GCC 43426 builtin and then its argument prototype would still apply. */ 43427#ifdef __cplusplus 43428extern "C" 43429#endif 43430char libfdatetime_systemetime_copy_to_utf8_string (); 43431int 43432main () 43433{ 43434return libfdatetime_systemetime_copy_to_utf8_string (); 43435 ; 43436 return 0; 43437} 43438_ACEOF 43439if ac_fn_c_try_link "$LINENO"; then : 43440 ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf8_string=yes 43441else 43442 ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf8_string=no 43443fi 43444rm -f core conftest.err conftest.$ac_objext \ 43445 conftest$ac_exeext conftest.$ac_ext 43446LIBS=$ac_check_lib_save_LIBS 43447fi 43448{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf8_string" >&5 43449$as_echo "$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf8_string" >&6; } 43450if test "x$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf8_string" = xyes; then : 43451 ac_cv_libfdatetime_dummy=yes 43452else 43453 ac_cv_libfdatetime=no 43454fi 43455 43456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_systemetime_copy_to_utf8_string_with_index in -lfdatetime" >&5 43457$as_echo_n "checking for libfdatetime_systemetime_copy_to_utf8_string_with_index in -lfdatetime... " >&6; } 43458if ${ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf8_string_with_index+:} false; then : 43459 $as_echo_n "(cached) " >&6 43460else 43461 ac_check_lib_save_LIBS=$LIBS 43462LIBS="-lfdatetime $LIBS" 43463cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43464/* end confdefs.h. */ 43465 43466/* Override any GCC internal prototype to avoid an error. 43467 Use char because int might match the return type of a GCC 43468 builtin and then its argument prototype would still apply. */ 43469#ifdef __cplusplus 43470extern "C" 43471#endif 43472char libfdatetime_systemetime_copy_to_utf8_string_with_index (); 43473int 43474main () 43475{ 43476return libfdatetime_systemetime_copy_to_utf8_string_with_index (); 43477 ; 43478 return 0; 43479} 43480_ACEOF 43481if ac_fn_c_try_link "$LINENO"; then : 43482 ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf8_string_with_index=yes 43483else 43484 ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf8_string_with_index=no 43485fi 43486rm -f core conftest.err conftest.$ac_objext \ 43487 conftest$ac_exeext conftest.$ac_ext 43488LIBS=$ac_check_lib_save_LIBS 43489fi 43490{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf8_string_with_index" >&5 43491$as_echo "$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf8_string_with_index" >&6; } 43492if test "x$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf8_string_with_index" = xyes; then : 43493 ac_cv_libfdatetime_dummy=yes 43494else 43495 ac_cv_libfdatetime=no 43496fi 43497 43498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_systemetime_copy_to_utf16_string in -lfdatetime" >&5 43499$as_echo_n "checking for libfdatetime_systemetime_copy_to_utf16_string in -lfdatetime... " >&6; } 43500if ${ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf16_string+:} false; then : 43501 $as_echo_n "(cached) " >&6 43502else 43503 ac_check_lib_save_LIBS=$LIBS 43504LIBS="-lfdatetime $LIBS" 43505cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43506/* end confdefs.h. */ 43507 43508/* Override any GCC internal prototype to avoid an error. 43509 Use char because int might match the return type of a GCC 43510 builtin and then its argument prototype would still apply. */ 43511#ifdef __cplusplus 43512extern "C" 43513#endif 43514char libfdatetime_systemetime_copy_to_utf16_string (); 43515int 43516main () 43517{ 43518return libfdatetime_systemetime_copy_to_utf16_string (); 43519 ; 43520 return 0; 43521} 43522_ACEOF 43523if ac_fn_c_try_link "$LINENO"; then : 43524 ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf16_string=yes 43525else 43526 ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf16_string=no 43527fi 43528rm -f core conftest.err conftest.$ac_objext \ 43529 conftest$ac_exeext conftest.$ac_ext 43530LIBS=$ac_check_lib_save_LIBS 43531fi 43532{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf16_string" >&5 43533$as_echo "$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf16_string" >&6; } 43534if test "x$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf16_string" = xyes; then : 43535 ac_cv_libfdatetime_dummy=yes 43536else 43537 ac_cv_libfdatetime=no 43538fi 43539 43540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_systemetime_copy_to_utf16_string_with_index in -lfdatetime" >&5 43541$as_echo_n "checking for libfdatetime_systemetime_copy_to_utf16_string_with_index in -lfdatetime... " >&6; } 43542if ${ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf16_string_with_index+:} false; then : 43543 $as_echo_n "(cached) " >&6 43544else 43545 ac_check_lib_save_LIBS=$LIBS 43546LIBS="-lfdatetime $LIBS" 43547cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43548/* end confdefs.h. */ 43549 43550/* Override any GCC internal prototype to avoid an error. 43551 Use char because int might match the return type of a GCC 43552 builtin and then its argument prototype would still apply. */ 43553#ifdef __cplusplus 43554extern "C" 43555#endif 43556char libfdatetime_systemetime_copy_to_utf16_string_with_index (); 43557int 43558main () 43559{ 43560return libfdatetime_systemetime_copy_to_utf16_string_with_index (); 43561 ; 43562 return 0; 43563} 43564_ACEOF 43565if ac_fn_c_try_link "$LINENO"; then : 43566 ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf16_string_with_index=yes 43567else 43568 ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf16_string_with_index=no 43569fi 43570rm -f core conftest.err conftest.$ac_objext \ 43571 conftest$ac_exeext conftest.$ac_ext 43572LIBS=$ac_check_lib_save_LIBS 43573fi 43574{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf16_string_with_index" >&5 43575$as_echo "$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf16_string_with_index" >&6; } 43576if test "x$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf16_string_with_index" = xyes; then : 43577 ac_cv_libfdatetime_dummy=yes 43578else 43579 ac_cv_libfdatetime=no 43580fi 43581 43582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_systemetime_copy_to_utf32_string in -lfdatetime" >&5 43583$as_echo_n "checking for libfdatetime_systemetime_copy_to_utf32_string in -lfdatetime... " >&6; } 43584if ${ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf32_string+:} false; then : 43585 $as_echo_n "(cached) " >&6 43586else 43587 ac_check_lib_save_LIBS=$LIBS 43588LIBS="-lfdatetime $LIBS" 43589cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43590/* end confdefs.h. */ 43591 43592/* Override any GCC internal prototype to avoid an error. 43593 Use char because int might match the return type of a GCC 43594 builtin and then its argument prototype would still apply. */ 43595#ifdef __cplusplus 43596extern "C" 43597#endif 43598char libfdatetime_systemetime_copy_to_utf32_string (); 43599int 43600main () 43601{ 43602return libfdatetime_systemetime_copy_to_utf32_string (); 43603 ; 43604 return 0; 43605} 43606_ACEOF 43607if ac_fn_c_try_link "$LINENO"; then : 43608 ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf32_string=yes 43609else 43610 ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf32_string=no 43611fi 43612rm -f core conftest.err conftest.$ac_objext \ 43613 conftest$ac_exeext conftest.$ac_ext 43614LIBS=$ac_check_lib_save_LIBS 43615fi 43616{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf32_string" >&5 43617$as_echo "$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf32_string" >&6; } 43618if test "x$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf32_string" = xyes; then : 43619 ac_cv_libfdatetime_dummy=yes 43620else 43621 ac_cv_libfdatetime=no 43622fi 43623 43624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_systemetime_copy_to_utf32_string_with_index in -lfdatetime" >&5 43625$as_echo_n "checking for libfdatetime_systemetime_copy_to_utf32_string_with_index in -lfdatetime... " >&6; } 43626if ${ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf32_string_with_index+:} false; then : 43627 $as_echo_n "(cached) " >&6 43628else 43629 ac_check_lib_save_LIBS=$LIBS 43630LIBS="-lfdatetime $LIBS" 43631cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43632/* end confdefs.h. */ 43633 43634/* Override any GCC internal prototype to avoid an error. 43635 Use char because int might match the return type of a GCC 43636 builtin and then its argument prototype would still apply. */ 43637#ifdef __cplusplus 43638extern "C" 43639#endif 43640char libfdatetime_systemetime_copy_to_utf32_string_with_index (); 43641int 43642main () 43643{ 43644return libfdatetime_systemetime_copy_to_utf32_string_with_index (); 43645 ; 43646 return 0; 43647} 43648_ACEOF 43649if ac_fn_c_try_link "$LINENO"; then : 43650 ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf32_string_with_index=yes 43651else 43652 ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf32_string_with_index=no 43653fi 43654rm -f core conftest.err conftest.$ac_objext \ 43655 conftest$ac_exeext conftest.$ac_ext 43656LIBS=$ac_check_lib_save_LIBS 43657fi 43658{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf32_string_with_index" >&5 43659$as_echo "$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf32_string_with_index" >&6; } 43660if test "x$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf32_string_with_index" = xyes; then : 43661 ac_cv_libfdatetime_dummy=yes 43662else 43663 ac_cv_libfdatetime=no 43664fi 43665 43666 43667 ac_cv_libfdatetime_LIBADD="-lfdatetime" 43668fi 43669 43670fi 43671 if test "x$ac_cv_with_libfdatetime" != x && test "x$ac_cv_with_libfdatetime" != xauto-detect && test "x$ac_cv_libfdatetime" != xyes; then : 43672 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 43673$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 43674as_fn_error 1 "unable to find supported libfdatetime in directory: $ac_cv_with_libfdatetime 43675See \`config.log' for more details" "$LINENO" 5; } 43676 43677fi 43678 43679fi 43680 43681 if test "x$ac_cv_libfdatetime" = xyes; then : 43682 43683$as_echo "#define HAVE_LIBFDATETIME 1" >>confdefs.h 43684 43685 43686fi 43687 43688 if test "x$ac_cv_libfdatetime" = xyes; then : 43689 HAVE_LIBFDATETIME=1 43690 43691else 43692 HAVE_LIBFDATETIME=0 43693 43694 43695fi 43696 43697 43698 if test "x$ac_cv_libfdatetime" != xyes; then : 43699 43700 ac_cv_libfdatetime_CPPFLAGS="-I../libfdatetime"; 43701 ac_cv_libfdatetime_LIBADD="../libfdatetime/libfdatetime.la"; 43702 43703 ac_cv_libfdatetime=local 43704 43705 43706 43707$as_echo "#define HAVE_LOCAL_LIBFDATETIME 1" >>confdefs.h 43708 43709 HAVE_LOCAL_LIBFDATETIME=1 43710 43711 43712fi 43713 43714 if test "x$ac_cv_libfdatetime" = xlocal; then 43715 HAVE_LOCAL_LIBFDATETIME_TRUE= 43716 HAVE_LOCAL_LIBFDATETIME_FALSE='#' 43717else 43718 HAVE_LOCAL_LIBFDATETIME_TRUE='#' 43719 HAVE_LOCAL_LIBFDATETIME_FALSE= 43720fi 43721 43722 if test "x$ac_cv_libfdatetime_CPPFLAGS" != "x"; then : 43723 LIBFDATETIME_CPPFLAGS=$ac_cv_libfdatetime_CPPFLAGS 43724 43725 43726fi 43727 if test "x$ac_cv_libfdatetime_LIBADD" != "x"; then : 43728 LIBFDATETIME_LIBADD=$ac_cv_libfdatetime_LIBADD 43729 43730 43731fi 43732 43733 if test "x$ac_cv_libfdatetime" = xyes; then : 43734 ax_libfdatetime_pc_libs_private=-lfdatetime 43735 43736 43737fi 43738 43739 if test "x$ac_cv_libfdatetime" = xyes; then : 43740 ax_libfdatetime_spec_requires=libfdatetime 43741 43742 ax_libfdatetime_spec_build_requires=libfdatetime-devel 43743 43744 43745fi 43746 43747 43748 43749 43750# Check whether --with-libfguid was given. 43751if test "${with_libfguid+set}" = set; then : 43752 withval=$with_libfguid; ac_cv_with_libfguid=$withval 43753else 43754 ac_cv_with_libfguid=auto-detect 43755fi 43756 43757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use search for libfguid in includedir and libdir or in the specified DIR, or no if to use local version" >&5 43758$as_echo_n "checking whether to use search for libfguid in includedir and libdir or in the specified DIR, or no if to use local version... " >&6; } 43759if ${ac_cv_with_libfguid+:} false; then : 43760 $as_echo_n "(cached) " >&6 43761else 43762 ac_cv_with_libfguid=auto-detect 43763fi 43764{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libfguid" >&5 43765$as_echo "$ac_cv_with_libfguid" >&6; } 43766 43767 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libfguid" = xno; then : 43768 ac_cv_libfguid=no 43769else 43770 ac_cv_libfguid=check 43771 if test "x$ac_cv_with_libfguid" != x && test "x$ac_cv_with_libfguid" != xauto-detect; then : 43772 if test -d "$ac_cv_with_libfguid"; then : 43773 CFLAGS="$CFLAGS -I${ac_cv_with_libfguid}/include" 43774 LDFLAGS="$LDFLAGS -L${ac_cv_with_libfguid}/lib" 43775else 43776 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 43777$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 43778as_fn_error 1 "no such directory: $ac_cv_with_libfguid 43779See \`config.log' for more details" "$LINENO" 5; } 43780 43781fi 43782 43783else 43784 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 43785 43786pkg_failed=no 43787{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid" >&5 43788$as_echo_n "checking for libfguid... " >&6; } 43789 43790if test -n "$libfguid_CFLAGS"; then 43791 pkg_cv_libfguid_CFLAGS="$libfguid_CFLAGS" 43792 elif test -n "$PKG_CONFIG"; then 43793 if test -n "$PKG_CONFIG" && \ 43794 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfguid >= 20120426\""; } >&5 43795 ($PKG_CONFIG --exists --print-errors "libfguid >= 20120426") 2>&5 43796 ac_status=$? 43797 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 43798 test $ac_status = 0; }; then 43799 pkg_cv_libfguid_CFLAGS=`$PKG_CONFIG --cflags "libfguid >= 20120426" 2>/dev/null` 43800 test "x$?" != "x0" && pkg_failed=yes 43801else 43802 pkg_failed=yes 43803fi 43804 else 43805 pkg_failed=untried 43806fi 43807if test -n "$libfguid_LIBS"; then 43808 pkg_cv_libfguid_LIBS="$libfguid_LIBS" 43809 elif test -n "$PKG_CONFIG"; then 43810 if test -n "$PKG_CONFIG" && \ 43811 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfguid >= 20120426\""; } >&5 43812 ($PKG_CONFIG --exists --print-errors "libfguid >= 20120426") 2>&5 43813 ac_status=$? 43814 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 43815 test $ac_status = 0; }; then 43816 pkg_cv_libfguid_LIBS=`$PKG_CONFIG --libs "libfguid >= 20120426" 2>/dev/null` 43817 test "x$?" != "x0" && pkg_failed=yes 43818else 43819 pkg_failed=yes 43820fi 43821 else 43822 pkg_failed=untried 43823fi 43824 43825 43826 43827if test $pkg_failed = yes; then 43828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 43829$as_echo "no" >&6; } 43830 43831if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 43832 _pkg_short_errors_supported=yes 43833else 43834 _pkg_short_errors_supported=no 43835fi 43836 if test $_pkg_short_errors_supported = yes; then 43837 libfguid_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libfguid >= 20120426" 2>&1` 43838 else 43839 libfguid_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libfguid >= 20120426" 2>&1` 43840 fi 43841 # Put the nasty error message in config.log where it belongs 43842 echo "$libfguid_PKG_ERRORS" >&5 43843 43844 ac_cv_libfguid=check 43845elif test $pkg_failed = untried; then 43846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 43847$as_echo "no" >&6; } 43848 ac_cv_libfguid=check 43849else 43850 libfguid_CFLAGS=$pkg_cv_libfguid_CFLAGS 43851 libfguid_LIBS=$pkg_cv_libfguid_LIBS 43852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 43853$as_echo "yes" >&6; } 43854 ac_cv_libfguid=yes 43855fi 43856 43857fi 43858 if test "x$ac_cv_libfguid" = xyes; then : 43859 ac_cv_libfguid_CPPFLAGS="$pkg_cv_libfguid_CFLAGS" 43860 ac_cv_libfguid_LIBADD="$pkg_cv_libfguid_LIBS" 43861fi 43862 43863fi 43864 43865 if test "x$ac_cv_libfguid" = xcheck; then : 43866 for ac_header in libfguid.h 43867do : 43868 ac_fn_c_check_header_mongrel "$LINENO" "libfguid.h" "ac_cv_header_libfguid_h" "$ac_includes_default" 43869if test "x$ac_cv_header_libfguid_h" = xyes; then : 43870 cat >>confdefs.h <<_ACEOF 43871#define HAVE_LIBFGUID_H 1 43872_ACEOF 43873 43874fi 43875 43876done 43877 43878 43879 if test "x$ac_cv_header_libfguid_h" = xno; then : 43880 ac_cv_libfguid=no 43881else 43882 ac_cv_libfguid=yes 43883 43884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid_get_version in -lfguid" >&5 43885$as_echo_n "checking for libfguid_get_version in -lfguid... " >&6; } 43886if ${ac_cv_lib_fguid_libfguid_get_version+:} false; then : 43887 $as_echo_n "(cached) " >&6 43888else 43889 ac_check_lib_save_LIBS=$LIBS 43890LIBS="-lfguid $LIBS" 43891cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43892/* end confdefs.h. */ 43893 43894/* Override any GCC internal prototype to avoid an error. 43895 Use char because int might match the return type of a GCC 43896 builtin and then its argument prototype would still apply. */ 43897#ifdef __cplusplus 43898extern "C" 43899#endif 43900char libfguid_get_version (); 43901int 43902main () 43903{ 43904return libfguid_get_version (); 43905 ; 43906 return 0; 43907} 43908_ACEOF 43909if ac_fn_c_try_link "$LINENO"; then : 43910 ac_cv_lib_fguid_libfguid_get_version=yes 43911else 43912 ac_cv_lib_fguid_libfguid_get_version=no 43913fi 43914rm -f core conftest.err conftest.$ac_objext \ 43915 conftest$ac_exeext conftest.$ac_ext 43916LIBS=$ac_check_lib_save_LIBS 43917fi 43918{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fguid_libfguid_get_version" >&5 43919$as_echo "$ac_cv_lib_fguid_libfguid_get_version" >&6; } 43920if test "x$ac_cv_lib_fguid_libfguid_get_version" = xyes; then : 43921 ac_cv_libfguid_dummy=yes 43922else 43923 ac_cv_libfguid=no 43924fi 43925 43926 43927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid_identifier_initialize in -lfguid" >&5 43928$as_echo_n "checking for libfguid_identifier_initialize in -lfguid... " >&6; } 43929if ${ac_cv_lib_fguid_libfguid_identifier_initialize+:} false; then : 43930 $as_echo_n "(cached) " >&6 43931else 43932 ac_check_lib_save_LIBS=$LIBS 43933LIBS="-lfguid $LIBS" 43934cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43935/* end confdefs.h. */ 43936 43937/* Override any GCC internal prototype to avoid an error. 43938 Use char because int might match the return type of a GCC 43939 builtin and then its argument prototype would still apply. */ 43940#ifdef __cplusplus 43941extern "C" 43942#endif 43943char libfguid_identifier_initialize (); 43944int 43945main () 43946{ 43947return libfguid_identifier_initialize (); 43948 ; 43949 return 0; 43950} 43951_ACEOF 43952if ac_fn_c_try_link "$LINENO"; then : 43953 ac_cv_lib_fguid_libfguid_identifier_initialize=yes 43954else 43955 ac_cv_lib_fguid_libfguid_identifier_initialize=no 43956fi 43957rm -f core conftest.err conftest.$ac_objext \ 43958 conftest$ac_exeext conftest.$ac_ext 43959LIBS=$ac_check_lib_save_LIBS 43960fi 43961{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fguid_libfguid_identifier_initialize" >&5 43962$as_echo "$ac_cv_lib_fguid_libfguid_identifier_initialize" >&6; } 43963if test "x$ac_cv_lib_fguid_libfguid_identifier_initialize" = xyes; then : 43964 ac_cv_libfguid_dummy=yes 43965else 43966 ac_cv_libfguid=no 43967fi 43968 43969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid_identifier_free in -lfguid" >&5 43970$as_echo_n "checking for libfguid_identifier_free in -lfguid... " >&6; } 43971if ${ac_cv_lib_fguid_libfguid_identifier_free+:} false; then : 43972 $as_echo_n "(cached) " >&6 43973else 43974 ac_check_lib_save_LIBS=$LIBS 43975LIBS="-lfguid $LIBS" 43976cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43977/* end confdefs.h. */ 43978 43979/* Override any GCC internal prototype to avoid an error. 43980 Use char because int might match the return type of a GCC 43981 builtin and then its argument prototype would still apply. */ 43982#ifdef __cplusplus 43983extern "C" 43984#endif 43985char libfguid_identifier_free (); 43986int 43987main () 43988{ 43989return libfguid_identifier_free (); 43990 ; 43991 return 0; 43992} 43993_ACEOF 43994if ac_fn_c_try_link "$LINENO"; then : 43995 ac_cv_lib_fguid_libfguid_identifier_free=yes 43996else 43997 ac_cv_lib_fguid_libfguid_identifier_free=no 43998fi 43999rm -f core conftest.err conftest.$ac_objext \ 44000 conftest$ac_exeext conftest.$ac_ext 44001LIBS=$ac_check_lib_save_LIBS 44002fi 44003{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fguid_libfguid_identifier_free" >&5 44004$as_echo "$ac_cv_lib_fguid_libfguid_identifier_free" >&6; } 44005if test "x$ac_cv_lib_fguid_libfguid_identifier_free" = xyes; then : 44006 ac_cv_libfguid_dummy=yes 44007else 44008 ac_cv_libfguid=no 44009fi 44010 44011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid_identifier_copy_from_byte_stream in -lfguid" >&5 44012$as_echo_n "checking for libfguid_identifier_copy_from_byte_stream in -lfguid... " >&6; } 44013if ${ac_cv_lib_fguid_libfguid_identifier_copy_from_byte_stream+:} false; then : 44014 $as_echo_n "(cached) " >&6 44015else 44016 ac_check_lib_save_LIBS=$LIBS 44017LIBS="-lfguid $LIBS" 44018cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44019/* end confdefs.h. */ 44020 44021/* Override any GCC internal prototype to avoid an error. 44022 Use char because int might match the return type of a GCC 44023 builtin and then its argument prototype would still apply. */ 44024#ifdef __cplusplus 44025extern "C" 44026#endif 44027char libfguid_identifier_copy_from_byte_stream (); 44028int 44029main () 44030{ 44031return libfguid_identifier_copy_from_byte_stream (); 44032 ; 44033 return 0; 44034} 44035_ACEOF 44036if ac_fn_c_try_link "$LINENO"; then : 44037 ac_cv_lib_fguid_libfguid_identifier_copy_from_byte_stream=yes 44038else 44039 ac_cv_lib_fguid_libfguid_identifier_copy_from_byte_stream=no 44040fi 44041rm -f core conftest.err conftest.$ac_objext \ 44042 conftest$ac_exeext conftest.$ac_ext 44043LIBS=$ac_check_lib_save_LIBS 44044fi 44045{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fguid_libfguid_identifier_copy_from_byte_stream" >&5 44046$as_echo "$ac_cv_lib_fguid_libfguid_identifier_copy_from_byte_stream" >&6; } 44047if test "x$ac_cv_lib_fguid_libfguid_identifier_copy_from_byte_stream" = xyes; then : 44048 ac_cv_libfguid_dummy=yes 44049else 44050 ac_cv_libfguid=no 44051fi 44052 44053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid_identifier_get_string_size in -lfguid" >&5 44054$as_echo_n "checking for libfguid_identifier_get_string_size in -lfguid... " >&6; } 44055if ${ac_cv_lib_fguid_libfguid_identifier_get_string_size+:} false; then : 44056 $as_echo_n "(cached) " >&6 44057else 44058 ac_check_lib_save_LIBS=$LIBS 44059LIBS="-lfguid $LIBS" 44060cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44061/* end confdefs.h. */ 44062 44063/* Override any GCC internal prototype to avoid an error. 44064 Use char because int might match the return type of a GCC 44065 builtin and then its argument prototype would still apply. */ 44066#ifdef __cplusplus 44067extern "C" 44068#endif 44069char libfguid_identifier_get_string_size (); 44070int 44071main () 44072{ 44073return libfguid_identifier_get_string_size (); 44074 ; 44075 return 0; 44076} 44077_ACEOF 44078if ac_fn_c_try_link "$LINENO"; then : 44079 ac_cv_lib_fguid_libfguid_identifier_get_string_size=yes 44080else 44081 ac_cv_lib_fguid_libfguid_identifier_get_string_size=no 44082fi 44083rm -f core conftest.err conftest.$ac_objext \ 44084 conftest$ac_exeext conftest.$ac_ext 44085LIBS=$ac_check_lib_save_LIBS 44086fi 44087{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fguid_libfguid_identifier_get_string_size" >&5 44088$as_echo "$ac_cv_lib_fguid_libfguid_identifier_get_string_size" >&6; } 44089if test "x$ac_cv_lib_fguid_libfguid_identifier_get_string_size" = xyes; then : 44090 ac_cv_libfguid_dummy=yes 44091else 44092 ac_cv_libfguid=no 44093fi 44094 44095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid_identifier_copy_to_utf8_string in -lfguid" >&5 44096$as_echo_n "checking for libfguid_identifier_copy_to_utf8_string in -lfguid... " >&6; } 44097if ${ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string+:} false; then : 44098 $as_echo_n "(cached) " >&6 44099else 44100 ac_check_lib_save_LIBS=$LIBS 44101LIBS="-lfguid $LIBS" 44102cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44103/* end confdefs.h. */ 44104 44105/* Override any GCC internal prototype to avoid an error. 44106 Use char because int might match the return type of a GCC 44107 builtin and then its argument prototype would still apply. */ 44108#ifdef __cplusplus 44109extern "C" 44110#endif 44111char libfguid_identifier_copy_to_utf8_string (); 44112int 44113main () 44114{ 44115return libfguid_identifier_copy_to_utf8_string (); 44116 ; 44117 return 0; 44118} 44119_ACEOF 44120if ac_fn_c_try_link "$LINENO"; then : 44121 ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string=yes 44122else 44123 ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string=no 44124fi 44125rm -f core conftest.err conftest.$ac_objext \ 44126 conftest$ac_exeext conftest.$ac_ext 44127LIBS=$ac_check_lib_save_LIBS 44128fi 44129{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string" >&5 44130$as_echo "$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string" >&6; } 44131if test "x$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string" = xyes; then : 44132 ac_cv_libfguid_dummy=yes 44133else 44134 ac_cv_libfguid=no 44135fi 44136 44137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid_identifier_copy_to_utf8_string_with_index in -lfguid" >&5 44138$as_echo_n "checking for libfguid_identifier_copy_to_utf8_string_with_index in -lfguid... " >&6; } 44139if ${ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string_with_index+:} false; then : 44140 $as_echo_n "(cached) " >&6 44141else 44142 ac_check_lib_save_LIBS=$LIBS 44143LIBS="-lfguid $LIBS" 44144cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44145/* end confdefs.h. */ 44146 44147/* Override any GCC internal prototype to avoid an error. 44148 Use char because int might match the return type of a GCC 44149 builtin and then its argument prototype would still apply. */ 44150#ifdef __cplusplus 44151extern "C" 44152#endif 44153char libfguid_identifier_copy_to_utf8_string_with_index (); 44154int 44155main () 44156{ 44157return libfguid_identifier_copy_to_utf8_string_with_index (); 44158 ; 44159 return 0; 44160} 44161_ACEOF 44162if ac_fn_c_try_link "$LINENO"; then : 44163 ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string_with_index=yes 44164else 44165 ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string_with_index=no 44166fi 44167rm -f core conftest.err conftest.$ac_objext \ 44168 conftest$ac_exeext conftest.$ac_ext 44169LIBS=$ac_check_lib_save_LIBS 44170fi 44171{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string_with_index" >&5 44172$as_echo "$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string_with_index" >&6; } 44173if test "x$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string_with_index" = xyes; then : 44174 ac_cv_libfguid_dummy=yes 44175else 44176 ac_cv_libfguid=no 44177fi 44178 44179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid_identifier_copy_to_utf16_string in -lfguid" >&5 44180$as_echo_n "checking for libfguid_identifier_copy_to_utf16_string in -lfguid... " >&6; } 44181if ${ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string+:} false; then : 44182 $as_echo_n "(cached) " >&6 44183else 44184 ac_check_lib_save_LIBS=$LIBS 44185LIBS="-lfguid $LIBS" 44186cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44187/* end confdefs.h. */ 44188 44189/* Override any GCC internal prototype to avoid an error. 44190 Use char because int might match the return type of a GCC 44191 builtin and then its argument prototype would still apply. */ 44192#ifdef __cplusplus 44193extern "C" 44194#endif 44195char libfguid_identifier_copy_to_utf16_string (); 44196int 44197main () 44198{ 44199return libfguid_identifier_copy_to_utf16_string (); 44200 ; 44201 return 0; 44202} 44203_ACEOF 44204if ac_fn_c_try_link "$LINENO"; then : 44205 ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string=yes 44206else 44207 ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string=no 44208fi 44209rm -f core conftest.err conftest.$ac_objext \ 44210 conftest$ac_exeext conftest.$ac_ext 44211LIBS=$ac_check_lib_save_LIBS 44212fi 44213{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string" >&5 44214$as_echo "$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string" >&6; } 44215if test "x$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string" = xyes; then : 44216 ac_cv_libfguid_dummy=yes 44217else 44218 ac_cv_libfguid=no 44219fi 44220 44221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid_identifier_copy_to_utf16_string_with_index in -lfguid" >&5 44222$as_echo_n "checking for libfguid_identifier_copy_to_utf16_string_with_index in -lfguid... " >&6; } 44223if ${ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string_with_index+:} false; then : 44224 $as_echo_n "(cached) " >&6 44225else 44226 ac_check_lib_save_LIBS=$LIBS 44227LIBS="-lfguid $LIBS" 44228cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44229/* end confdefs.h. */ 44230 44231/* Override any GCC internal prototype to avoid an error. 44232 Use char because int might match the return type of a GCC 44233 builtin and then its argument prototype would still apply. */ 44234#ifdef __cplusplus 44235extern "C" 44236#endif 44237char libfguid_identifier_copy_to_utf16_string_with_index (); 44238int 44239main () 44240{ 44241return libfguid_identifier_copy_to_utf16_string_with_index (); 44242 ; 44243 return 0; 44244} 44245_ACEOF 44246if ac_fn_c_try_link "$LINENO"; then : 44247 ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string_with_index=yes 44248else 44249 ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string_with_index=no 44250fi 44251rm -f core conftest.err conftest.$ac_objext \ 44252 conftest$ac_exeext conftest.$ac_ext 44253LIBS=$ac_check_lib_save_LIBS 44254fi 44255{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string_with_index" >&5 44256$as_echo "$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string_with_index" >&6; } 44257if test "x$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string_with_index" = xyes; then : 44258 ac_cv_libfguid_dummy=yes 44259else 44260 ac_cv_libfguid=no 44261fi 44262 44263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid_identifier_copy_to_utf32_string in -lfguid" >&5 44264$as_echo_n "checking for libfguid_identifier_copy_to_utf32_string in -lfguid... " >&6; } 44265if ${ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string+:} false; then : 44266 $as_echo_n "(cached) " >&6 44267else 44268 ac_check_lib_save_LIBS=$LIBS 44269LIBS="-lfguid $LIBS" 44270cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44271/* end confdefs.h. */ 44272 44273/* Override any GCC internal prototype to avoid an error. 44274 Use char because int might match the return type of a GCC 44275 builtin and then its argument prototype would still apply. */ 44276#ifdef __cplusplus 44277extern "C" 44278#endif 44279char libfguid_identifier_copy_to_utf32_string (); 44280int 44281main () 44282{ 44283return libfguid_identifier_copy_to_utf32_string (); 44284 ; 44285 return 0; 44286} 44287_ACEOF 44288if ac_fn_c_try_link "$LINENO"; then : 44289 ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string=yes 44290else 44291 ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string=no 44292fi 44293rm -f core conftest.err conftest.$ac_objext \ 44294 conftest$ac_exeext conftest.$ac_ext 44295LIBS=$ac_check_lib_save_LIBS 44296fi 44297{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string" >&5 44298$as_echo "$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string" >&6; } 44299if test "x$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string" = xyes; then : 44300 ac_cv_libfguid_dummy=yes 44301else 44302 ac_cv_libfguid=no 44303fi 44304 44305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid_identifier_copy_to_utf32_string_with_index in -lfguid" >&5 44306$as_echo_n "checking for libfguid_identifier_copy_to_utf32_string_with_index in -lfguid... " >&6; } 44307if ${ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string_with_index+:} false; then : 44308 $as_echo_n "(cached) " >&6 44309else 44310 ac_check_lib_save_LIBS=$LIBS 44311LIBS="-lfguid $LIBS" 44312cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44313/* end confdefs.h. */ 44314 44315/* Override any GCC internal prototype to avoid an error. 44316 Use char because int might match the return type of a GCC 44317 builtin and then its argument prototype would still apply. */ 44318#ifdef __cplusplus 44319extern "C" 44320#endif 44321char libfguid_identifier_copy_to_utf32_string_with_index (); 44322int 44323main () 44324{ 44325return libfguid_identifier_copy_to_utf32_string_with_index (); 44326 ; 44327 return 0; 44328} 44329_ACEOF 44330if ac_fn_c_try_link "$LINENO"; then : 44331 ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string_with_index=yes 44332else 44333 ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string_with_index=no 44334fi 44335rm -f core conftest.err conftest.$ac_objext \ 44336 conftest$ac_exeext conftest.$ac_ext 44337LIBS=$ac_check_lib_save_LIBS 44338fi 44339{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string_with_index" >&5 44340$as_echo "$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string_with_index" >&6; } 44341if test "x$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string_with_index" = xyes; then : 44342 ac_cv_libfguid_dummy=yes 44343else 44344 ac_cv_libfguid=no 44345fi 44346 44347 44348 ac_cv_libfguid_LIBADD="-lfguid" 44349fi 44350 44351fi 44352 if test "x$ac_cv_with_libfguid" != x && test "x$ac_cv_with_libfguid" != xauto-detect && test "x$ac_cv_libfguid" != xyes; then : 44353 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 44354$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 44355as_fn_error 1 "unable to find supported libfguid in directory: $ac_cv_with_libfguid 44356See \`config.log' for more details" "$LINENO" 5; } 44357 44358fi 44359 44360fi 44361 44362 if test "x$ac_cv_libfguid" = xyes; then : 44363 44364$as_echo "#define HAVE_LIBFGUID 1" >>confdefs.h 44365 44366 44367fi 44368 44369 if test "x$ac_cv_libfguid" = xyes; then : 44370 HAVE_LIBFGUID=1 44371 44372else 44373 HAVE_LIBFGUID=0 44374 44375 44376fi 44377 44378 44379 if test "x$ac_cv_libfguid" != xyes; then : 44380 44381 ac_cv_libfguid_CPPFLAGS="-I../libfguid"; 44382 ac_cv_libfguid_LIBADD="../libfguid/libfguid.la"; 44383 44384 ac_cv_libfguid=local 44385 44386 44387 44388$as_echo "#define HAVE_LOCAL_LIBFGUID 1" >>confdefs.h 44389 44390 HAVE_LOCAL_LIBFGUID=1 44391 44392 44393fi 44394 44395 if test "x$ac_cv_libfguid" = xlocal; then 44396 HAVE_LOCAL_LIBFGUID_TRUE= 44397 HAVE_LOCAL_LIBFGUID_FALSE='#' 44398else 44399 HAVE_LOCAL_LIBFGUID_TRUE='#' 44400 HAVE_LOCAL_LIBFGUID_FALSE= 44401fi 44402 44403 if test "x$ac_cv_libfguid_CPPFLAGS" != "x"; then : 44404 LIBFGUID_CPPFLAGS=$ac_cv_libfguid_CPPFLAGS 44405 44406 44407fi 44408 if test "x$ac_cv_libfguid_LIBADD" != "x"; then : 44409 LIBFGUID_LIBADD=$ac_cv_libfguid_LIBADD 44410 44411 44412fi 44413 44414 if test "x$ac_cv_libfguid" = xyes; then : 44415 ax_libfguid_pc_libs_private=-lfguid 44416 44417 44418fi 44419 44420 if test "x$ac_cv_libfguid" = xyes; then : 44421 ax_libfguid_spec_requires=libfguid 44422 44423 ax_libfguid_spec_build_requires=libfguid-devel 44424 44425 44426fi 44427 44428 44429 44430 44431# Check whether --with-libfole was given. 44432if test "${with_libfole+set}" = set; then : 44433 withval=$with_libfole; ac_cv_with_libfole=$withval 44434else 44435 ac_cv_with_libfole=auto-detect 44436fi 44437 44438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use search for libfole in includedir and libdir or in the specified DIR, or no if to use local version" >&5 44439$as_echo_n "checking whether to use search for libfole in includedir and libdir or in the specified DIR, or no if to use local version... " >&6; } 44440if ${ac_cv_with_libfole+:} false; then : 44441 $as_echo_n "(cached) " >&6 44442else 44443 ac_cv_with_libfole=auto-detect 44444fi 44445{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libfole" >&5 44446$as_echo "$ac_cv_with_libfole" >&6; } 44447 44448 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libfole" = xno; then : 44449 ac_cv_libfole=no 44450else 44451 ac_cv_libfole=check 44452 if test "x$ac_cv_with_libfole" != x && test "x$ac_cv_with_libfole" != xauto-detect; then : 44453 if test -d "$ac_cv_with_libfole"; then : 44454 CFLAGS="$CFLAGS -I${ac_cv_with_libfole}/include" 44455 LDFLAGS="$LDFLAGS -L${ac_cv_with_libfole}/lib" 44456else 44457 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 44458$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 44459as_fn_error 1 "no such directory: $ac_cv_with_libfole 44460See \`config.log' for more details" "$LINENO" 5; } 44461 44462fi 44463 44464else 44465 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 44466 44467pkg_failed=no 44468{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfole" >&5 44469$as_echo_n "checking for libfole... " >&6; } 44470 44471if test -n "$libfole_CFLAGS"; then 44472 pkg_cv_libfole_CFLAGS="$libfole_CFLAGS" 44473 elif test -n "$PKG_CONFIG"; then 44474 if test -n "$PKG_CONFIG" && \ 44475 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfole >= 20120426\""; } >&5 44476 ($PKG_CONFIG --exists --print-errors "libfole >= 20120426") 2>&5 44477 ac_status=$? 44478 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 44479 test $ac_status = 0; }; then 44480 pkg_cv_libfole_CFLAGS=`$PKG_CONFIG --cflags "libfole >= 20120426" 2>/dev/null` 44481 test "x$?" != "x0" && pkg_failed=yes 44482else 44483 pkg_failed=yes 44484fi 44485 else 44486 pkg_failed=untried 44487fi 44488if test -n "$libfole_LIBS"; then 44489 pkg_cv_libfole_LIBS="$libfole_LIBS" 44490 elif test -n "$PKG_CONFIG"; then 44491 if test -n "$PKG_CONFIG" && \ 44492 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfole >= 20120426\""; } >&5 44493 ($PKG_CONFIG --exists --print-errors "libfole >= 20120426") 2>&5 44494 ac_status=$? 44495 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 44496 test $ac_status = 0; }; then 44497 pkg_cv_libfole_LIBS=`$PKG_CONFIG --libs "libfole >= 20120426" 2>/dev/null` 44498 test "x$?" != "x0" && pkg_failed=yes 44499else 44500 pkg_failed=yes 44501fi 44502 else 44503 pkg_failed=untried 44504fi 44505 44506 44507 44508if test $pkg_failed = yes; then 44509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 44510$as_echo "no" >&6; } 44511 44512if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 44513 _pkg_short_errors_supported=yes 44514else 44515 _pkg_short_errors_supported=no 44516fi 44517 if test $_pkg_short_errors_supported = yes; then 44518 libfole_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libfole >= 20120426" 2>&1` 44519 else 44520 libfole_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libfole >= 20120426" 2>&1` 44521 fi 44522 # Put the nasty error message in config.log where it belongs 44523 echo "$libfole_PKG_ERRORS" >&5 44524 44525 ac_cv_libfole=check 44526elif test $pkg_failed = untried; then 44527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 44528$as_echo "no" >&6; } 44529 ac_cv_libfole=check 44530else 44531 libfole_CFLAGS=$pkg_cv_libfole_CFLAGS 44532 libfole_LIBS=$pkg_cv_libfole_LIBS 44533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 44534$as_echo "yes" >&6; } 44535 ac_cv_libfole=yes 44536fi 44537 44538fi 44539 if test "x$ac_cv_libfole" = xyes; then : 44540 ac_cv_libfole_CPPFLAGS="$pkg_cv_libfole_CFLAGS" 44541 ac_cv_libfole_LIBADD="$pkg_cv_libfole_LIBS" 44542fi 44543 44544fi 44545 44546 if test "x$ac_cv_libfole" = xcheck; then : 44547 for ac_header in libfole.h 44548do : 44549 ac_fn_c_check_header_mongrel "$LINENO" "libfole.h" "ac_cv_header_libfole_h" "$ac_includes_default" 44550if test "x$ac_cv_header_libfole_h" = xyes; then : 44551 cat >>confdefs.h <<_ACEOF 44552#define HAVE_LIBFOLE_H 1 44553_ACEOF 44554 44555fi 44556 44557done 44558 44559 44560 if test "x$ac_cv_header_libfole_h" = xno; then : 44561 ac_cv_libfole=no 44562else 44563 ac_cv_libfole=yes 44564 44565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfole_get_version in -lfole" >&5 44566$as_echo_n "checking for libfole_get_version in -lfole... " >&6; } 44567if ${ac_cv_lib_fole_libfole_get_version+:} false; then : 44568 $as_echo_n "(cached) " >&6 44569else 44570 ac_check_lib_save_LIBS=$LIBS 44571LIBS="-lfole $LIBS" 44572cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44573/* end confdefs.h. */ 44574 44575/* Override any GCC internal prototype to avoid an error. 44576 Use char because int might match the return type of a GCC 44577 builtin and then its argument prototype would still apply. */ 44578#ifdef __cplusplus 44579extern "C" 44580#endif 44581char libfole_get_version (); 44582int 44583main () 44584{ 44585return libfole_get_version (); 44586 ; 44587 return 0; 44588} 44589_ACEOF 44590if ac_fn_c_try_link "$LINENO"; then : 44591 ac_cv_lib_fole_libfole_get_version=yes 44592else 44593 ac_cv_lib_fole_libfole_get_version=no 44594fi 44595rm -f core conftest.err conftest.$ac_objext \ 44596 conftest$ac_exeext conftest.$ac_ext 44597LIBS=$ac_check_lib_save_LIBS 44598fi 44599{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fole_libfole_get_version" >&5 44600$as_echo "$ac_cv_lib_fole_libfole_get_version" >&6; } 44601if test "x$ac_cv_lib_fole_libfole_get_version" = xyes; then : 44602 ac_cv_libfole_dummy=yes 44603else 44604 ac_cv_libfole=no 44605fi 44606 44607 44608 44609 ac_cv_libfole_LIBADD="-lfole" 44610fi 44611 44612fi 44613 if test "x$ac_cv_with_libfole" != x && test "x$ac_cv_with_libfole" != xauto-detect && test "x$ac_cv_libfole" != xyes; then : 44614 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 44615$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 44616as_fn_error 1 "unable to find supported libfole in directory: $ac_cv_with_libfole 44617See \`config.log' for more details" "$LINENO" 5; } 44618 44619fi 44620 44621fi 44622 44623 if test "x$ac_cv_libfole" = xyes; then : 44624 44625$as_echo "#define HAVE_LIBFOLE 1" >>confdefs.h 44626 44627 44628fi 44629 44630 if test "x$ac_cv_libfole" = xyes; then : 44631 HAVE_LIBFOLE=1 44632 44633else 44634 HAVE_LIBFOLE=0 44635 44636 44637fi 44638 44639 44640 if test "x$ac_cv_libfole" != xyes; then : 44641 44642 ac_cv_libfole_CPPFLAGS="-I../libfole"; 44643 ac_cv_libfole_LIBADD="../libfole/libfole.la"; 44644 44645 ac_cv_libfole=local 44646 44647 44648 44649$as_echo "#define HAVE_LOCAL_LIBFOLE 1" >>confdefs.h 44650 44651 HAVE_LOCAL_LIBFOLE=1 44652 44653 44654fi 44655 44656 if test "x$ac_cv_libfole" = xlocal; then 44657 HAVE_LOCAL_LIBFOLE_TRUE= 44658 HAVE_LOCAL_LIBFOLE_FALSE='#' 44659else 44660 HAVE_LOCAL_LIBFOLE_TRUE='#' 44661 HAVE_LOCAL_LIBFOLE_FALSE= 44662fi 44663 44664 if test "x$ac_cv_libfole_CPPFLAGS" != "x"; then : 44665 LIBFOLE_CPPFLAGS=$ac_cv_libfole_CPPFLAGS 44666 44667 44668fi 44669 if test "x$ac_cv_libfole_LIBADD" != "x"; then : 44670 LIBFOLE_LIBADD=$ac_cv_libfole_LIBADD 44671 44672 44673fi 44674 44675 if test "x$ac_cv_libfole" = xyes; then : 44676 ax_libfole_pc_libs_private=-lfole 44677 44678 44679fi 44680 44681 if test "x$ac_cv_libfole" = xyes; then : 44682 ax_libfole_spec_requires=libfole 44683 44684 ax_libfole_spec_build_requires=libfole-devel 44685 44686 44687fi 44688 44689 44690 44691 44692# Check whether --with-libfvalue was given. 44693if test "${with_libfvalue+set}" = set; then : 44694 withval=$with_libfvalue; ac_cv_with_libfvalue=$withval 44695else 44696 ac_cv_with_libfvalue=auto-detect 44697fi 44698 44699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use search for libfvalue in includedir and libdir or in the specified DIR, or no if to use local version" >&5 44700$as_echo_n "checking whether to use search for libfvalue in includedir and libdir or in the specified DIR, or no if to use local version... " >&6; } 44701if ${ac_cv_with_libfvalue+:} false; then : 44702 $as_echo_n "(cached) " >&6 44703else 44704 ac_cv_with_libfvalue=auto-detect 44705fi 44706{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libfvalue" >&5 44707$as_echo "$ac_cv_with_libfvalue" >&6; } 44708 44709 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libfvalue" = xno; then : 44710 ac_cv_libfvalue=no 44711else 44712 ac_cv_libfvalue=check 44713 if test "x$ac_cv_with_libfvalue" != x && test "x$ac_cv_with_libfvalue" != xauto-detect; then : 44714 if test -d "$ac_cv_with_libfvalue"; then : 44715 CFLAGS="$CFLAGS -I${ac_cv_with_libfvalue}/include" 44716 LDFLAGS="$LDFLAGS -L${ac_cv_with_libfvalue}/lib" 44717else 44718 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 44719$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 44720as_fn_error 1 "no such directory: $ac_cv_with_libfvalue 44721See \`config.log' for more details" "$LINENO" 5; } 44722 44723fi 44724 44725else 44726 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 44727 44728pkg_failed=no 44729{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue" >&5 44730$as_echo_n "checking for libfvalue... " >&6; } 44731 44732if test -n "$libfvalue_CFLAGS"; then 44733 pkg_cv_libfvalue_CFLAGS="$libfvalue_CFLAGS" 44734 elif test -n "$PKG_CONFIG"; then 44735 if test -n "$PKG_CONFIG" && \ 44736 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfvalue >= 20200711\""; } >&5 44737 ($PKG_CONFIG --exists --print-errors "libfvalue >= 20200711") 2>&5 44738 ac_status=$? 44739 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 44740 test $ac_status = 0; }; then 44741 pkg_cv_libfvalue_CFLAGS=`$PKG_CONFIG --cflags "libfvalue >= 20200711" 2>/dev/null` 44742 test "x$?" != "x0" && pkg_failed=yes 44743else 44744 pkg_failed=yes 44745fi 44746 else 44747 pkg_failed=untried 44748fi 44749if test -n "$libfvalue_LIBS"; then 44750 pkg_cv_libfvalue_LIBS="$libfvalue_LIBS" 44751 elif test -n "$PKG_CONFIG"; then 44752 if test -n "$PKG_CONFIG" && \ 44753 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfvalue >= 20200711\""; } >&5 44754 ($PKG_CONFIG --exists --print-errors "libfvalue >= 20200711") 2>&5 44755 ac_status=$? 44756 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 44757 test $ac_status = 0; }; then 44758 pkg_cv_libfvalue_LIBS=`$PKG_CONFIG --libs "libfvalue >= 20200711" 2>/dev/null` 44759 test "x$?" != "x0" && pkg_failed=yes 44760else 44761 pkg_failed=yes 44762fi 44763 else 44764 pkg_failed=untried 44765fi 44766 44767 44768 44769if test $pkg_failed = yes; then 44770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 44771$as_echo "no" >&6; } 44772 44773if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 44774 _pkg_short_errors_supported=yes 44775else 44776 _pkg_short_errors_supported=no 44777fi 44778 if test $_pkg_short_errors_supported = yes; then 44779 libfvalue_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libfvalue >= 20200711" 2>&1` 44780 else 44781 libfvalue_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libfvalue >= 20200711" 2>&1` 44782 fi 44783 # Put the nasty error message in config.log where it belongs 44784 echo "$libfvalue_PKG_ERRORS" >&5 44785 44786 ac_cv_libfvalue=check 44787elif test $pkg_failed = untried; then 44788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 44789$as_echo "no" >&6; } 44790 ac_cv_libfvalue=check 44791else 44792 libfvalue_CFLAGS=$pkg_cv_libfvalue_CFLAGS 44793 libfvalue_LIBS=$pkg_cv_libfvalue_LIBS 44794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 44795$as_echo "yes" >&6; } 44796 ac_cv_libfvalue=yes 44797fi 44798 44799fi 44800 if test "x$ac_cv_libfvalue" = xyes; then : 44801 ac_cv_libfvalue_CPPFLAGS="$pkg_cv_libfvalue_CFLAGS" 44802 ac_cv_libfvalue_LIBADD="$pkg_cv_libfvalue_LIBS" 44803fi 44804 44805fi 44806 44807 if test "x$ac_cv_libfvalue" = xcheck; then : 44808 for ac_header in libfvalue.h 44809do : 44810 ac_fn_c_check_header_mongrel "$LINENO" "libfvalue.h" "ac_cv_header_libfvalue_h" "$ac_includes_default" 44811if test "x$ac_cv_header_libfvalue_h" = xyes; then : 44812 cat >>confdefs.h <<_ACEOF 44813#define HAVE_LIBFVALUE_H 1 44814_ACEOF 44815 44816fi 44817 44818done 44819 44820 44821 if test "x$ac_cv_header_libfvalue_h" = xno; then : 44822 ac_cv_libfvalue=no 44823else 44824 ac_cv_libfvalue=yes 44825 44826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_get_version in -lfvalue" >&5 44827$as_echo_n "checking for libfvalue_get_version in -lfvalue... " >&6; } 44828if ${ac_cv_lib_fvalue_libfvalue_get_version+:} false; then : 44829 $as_echo_n "(cached) " >&6 44830else 44831 ac_check_lib_save_LIBS=$LIBS 44832LIBS="-lfvalue $LIBS" 44833cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44834/* end confdefs.h. */ 44835 44836/* Override any GCC internal prototype to avoid an error. 44837 Use char because int might match the return type of a GCC 44838 builtin and then its argument prototype would still apply. */ 44839#ifdef __cplusplus 44840extern "C" 44841#endif 44842char libfvalue_get_version (); 44843int 44844main () 44845{ 44846return libfvalue_get_version (); 44847 ; 44848 return 0; 44849} 44850_ACEOF 44851if ac_fn_c_try_link "$LINENO"; then : 44852 ac_cv_lib_fvalue_libfvalue_get_version=yes 44853else 44854 ac_cv_lib_fvalue_libfvalue_get_version=no 44855fi 44856rm -f core conftest.err conftest.$ac_objext \ 44857 conftest$ac_exeext conftest.$ac_ext 44858LIBS=$ac_check_lib_save_LIBS 44859fi 44860{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_get_version" >&5 44861$as_echo "$ac_cv_lib_fvalue_libfvalue_get_version" >&6; } 44862if test "x$ac_cv_lib_fvalue_libfvalue_get_version" = xyes; then : 44863 ac_cv_libfvalue_dummy=yes 44864else 44865 ac_cv_libfvalue=no 44866fi 44867 44868 44869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_data_handle_initialize in -lfvalue" >&5 44870$as_echo_n "checking for libfvalue_data_handle_initialize in -lfvalue... " >&6; } 44871if ${ac_cv_lib_fvalue_libfvalue_data_handle_initialize+:} false; then : 44872 $as_echo_n "(cached) " >&6 44873else 44874 ac_check_lib_save_LIBS=$LIBS 44875LIBS="-lfvalue $LIBS" 44876cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44877/* end confdefs.h. */ 44878 44879/* Override any GCC internal prototype to avoid an error. 44880 Use char because int might match the return type of a GCC 44881 builtin and then its argument prototype would still apply. */ 44882#ifdef __cplusplus 44883extern "C" 44884#endif 44885char libfvalue_data_handle_initialize (); 44886int 44887main () 44888{ 44889return libfvalue_data_handle_initialize (); 44890 ; 44891 return 0; 44892} 44893_ACEOF 44894if ac_fn_c_try_link "$LINENO"; then : 44895 ac_cv_lib_fvalue_libfvalue_data_handle_initialize=yes 44896else 44897 ac_cv_lib_fvalue_libfvalue_data_handle_initialize=no 44898fi 44899rm -f core conftest.err conftest.$ac_objext \ 44900 conftest$ac_exeext conftest.$ac_ext 44901LIBS=$ac_check_lib_save_LIBS 44902fi 44903{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_data_handle_initialize" >&5 44904$as_echo "$ac_cv_lib_fvalue_libfvalue_data_handle_initialize" >&6; } 44905if test "x$ac_cv_lib_fvalue_libfvalue_data_handle_initialize" = xyes; then : 44906 ac_cv_libfvalue_dummy=yes 44907else 44908 ac_cv_libfvalue=no 44909fi 44910 44911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_data_handle_free in -lfvalue" >&5 44912$as_echo_n "checking for libfvalue_data_handle_free in -lfvalue... " >&6; } 44913if ${ac_cv_lib_fvalue_libfvalue_data_handle_free+:} false; then : 44914 $as_echo_n "(cached) " >&6 44915else 44916 ac_check_lib_save_LIBS=$LIBS 44917LIBS="-lfvalue $LIBS" 44918cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44919/* end confdefs.h. */ 44920 44921/* Override any GCC internal prototype to avoid an error. 44922 Use char because int might match the return type of a GCC 44923 builtin and then its argument prototype would still apply. */ 44924#ifdef __cplusplus 44925extern "C" 44926#endif 44927char libfvalue_data_handle_free (); 44928int 44929main () 44930{ 44931return libfvalue_data_handle_free (); 44932 ; 44933 return 0; 44934} 44935_ACEOF 44936if ac_fn_c_try_link "$LINENO"; then : 44937 ac_cv_lib_fvalue_libfvalue_data_handle_free=yes 44938else 44939 ac_cv_lib_fvalue_libfvalue_data_handle_free=no 44940fi 44941rm -f core conftest.err conftest.$ac_objext \ 44942 conftest$ac_exeext conftest.$ac_ext 44943LIBS=$ac_check_lib_save_LIBS 44944fi 44945{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_data_handle_free" >&5 44946$as_echo "$ac_cv_lib_fvalue_libfvalue_data_handle_free" >&6; } 44947if test "x$ac_cv_lib_fvalue_libfvalue_data_handle_free" = xyes; then : 44948 ac_cv_libfvalue_dummy=yes 44949else 44950 ac_cv_libfvalue=no 44951fi 44952 44953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_data_handle_clone in -lfvalue" >&5 44954$as_echo_n "checking for libfvalue_data_handle_clone in -lfvalue... " >&6; } 44955if ${ac_cv_lib_fvalue_libfvalue_data_handle_clone+:} false; then : 44956 $as_echo_n "(cached) " >&6 44957else 44958 ac_check_lib_save_LIBS=$LIBS 44959LIBS="-lfvalue $LIBS" 44960cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44961/* end confdefs.h. */ 44962 44963/* Override any GCC internal prototype to avoid an error. 44964 Use char because int might match the return type of a GCC 44965 builtin and then its argument prototype would still apply. */ 44966#ifdef __cplusplus 44967extern "C" 44968#endif 44969char libfvalue_data_handle_clone (); 44970int 44971main () 44972{ 44973return libfvalue_data_handle_clone (); 44974 ; 44975 return 0; 44976} 44977_ACEOF 44978if ac_fn_c_try_link "$LINENO"; then : 44979 ac_cv_lib_fvalue_libfvalue_data_handle_clone=yes 44980else 44981 ac_cv_lib_fvalue_libfvalue_data_handle_clone=no 44982fi 44983rm -f core conftest.err conftest.$ac_objext \ 44984 conftest$ac_exeext conftest.$ac_ext 44985LIBS=$ac_check_lib_save_LIBS 44986fi 44987{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_data_handle_clone" >&5 44988$as_echo "$ac_cv_lib_fvalue_libfvalue_data_handle_clone" >&6; } 44989if test "x$ac_cv_lib_fvalue_libfvalue_data_handle_clone" = xyes; then : 44990 ac_cv_libfvalue_dummy=yes 44991else 44992 ac_cv_libfvalue=no 44993fi 44994 44995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_data_handle_clear in -lfvalue" >&5 44996$as_echo_n "checking for libfvalue_data_handle_clear in -lfvalue... " >&6; } 44997if ${ac_cv_lib_fvalue_libfvalue_data_handle_clear+:} false; then : 44998 $as_echo_n "(cached) " >&6 44999else 45000 ac_check_lib_save_LIBS=$LIBS 45001LIBS="-lfvalue $LIBS" 45002cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45003/* end confdefs.h. */ 45004 45005/* Override any GCC internal prototype to avoid an error. 45006 Use char because int might match the return type of a GCC 45007 builtin and then its argument prototype would still apply. */ 45008#ifdef __cplusplus 45009extern "C" 45010#endif 45011char libfvalue_data_handle_clear (); 45012int 45013main () 45014{ 45015return libfvalue_data_handle_clear (); 45016 ; 45017 return 0; 45018} 45019_ACEOF 45020if ac_fn_c_try_link "$LINENO"; then : 45021 ac_cv_lib_fvalue_libfvalue_data_handle_clear=yes 45022else 45023 ac_cv_lib_fvalue_libfvalue_data_handle_clear=no 45024fi 45025rm -f core conftest.err conftest.$ac_objext \ 45026 conftest$ac_exeext conftest.$ac_ext 45027LIBS=$ac_check_lib_save_LIBS 45028fi 45029{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_data_handle_clear" >&5 45030$as_echo "$ac_cv_lib_fvalue_libfvalue_data_handle_clear" >&6; } 45031if test "x$ac_cv_lib_fvalue_libfvalue_data_handle_clear" = xyes; then : 45032 ac_cv_libfvalue_dummy=yes 45033else 45034 ac_cv_libfvalue=no 45035fi 45036 45037 45038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_data_handle_get_data in -lfvalue" >&5 45039$as_echo_n "checking for libfvalue_data_handle_get_data in -lfvalue... " >&6; } 45040if ${ac_cv_lib_fvalue_libfvalue_data_handle_get_data+:} false; then : 45041 $as_echo_n "(cached) " >&6 45042else 45043 ac_check_lib_save_LIBS=$LIBS 45044LIBS="-lfvalue $LIBS" 45045cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45046/* end confdefs.h. */ 45047 45048/* Override any GCC internal prototype to avoid an error. 45049 Use char because int might match the return type of a GCC 45050 builtin and then its argument prototype would still apply. */ 45051#ifdef __cplusplus 45052extern "C" 45053#endif 45054char libfvalue_data_handle_get_data (); 45055int 45056main () 45057{ 45058return libfvalue_data_handle_get_data (); 45059 ; 45060 return 0; 45061} 45062_ACEOF 45063if ac_fn_c_try_link "$LINENO"; then : 45064 ac_cv_lib_fvalue_libfvalue_data_handle_get_data=yes 45065else 45066 ac_cv_lib_fvalue_libfvalue_data_handle_get_data=no 45067fi 45068rm -f core conftest.err conftest.$ac_objext \ 45069 conftest$ac_exeext conftest.$ac_ext 45070LIBS=$ac_check_lib_save_LIBS 45071fi 45072{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_data_handle_get_data" >&5 45073$as_echo "$ac_cv_lib_fvalue_libfvalue_data_handle_get_data" >&6; } 45074if test "x$ac_cv_lib_fvalue_libfvalue_data_handle_get_data" = xyes; then : 45075 ac_cv_libfvalue_dummy=yes 45076else 45077 ac_cv_libfvalue=no 45078fi 45079 45080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_data_handle_set_data in -lfvalue" >&5 45081$as_echo_n "checking for libfvalue_data_handle_set_data in -lfvalue... " >&6; } 45082if ${ac_cv_lib_fvalue_libfvalue_data_handle_set_data+:} false; then : 45083 $as_echo_n "(cached) " >&6 45084else 45085 ac_check_lib_save_LIBS=$LIBS 45086LIBS="-lfvalue $LIBS" 45087cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45088/* end confdefs.h. */ 45089 45090/* Override any GCC internal prototype to avoid an error. 45091 Use char because int might match the return type of a GCC 45092 builtin and then its argument prototype would still apply. */ 45093#ifdef __cplusplus 45094extern "C" 45095#endif 45096char libfvalue_data_handle_set_data (); 45097int 45098main () 45099{ 45100return libfvalue_data_handle_set_data (); 45101 ; 45102 return 0; 45103} 45104_ACEOF 45105if ac_fn_c_try_link "$LINENO"; then : 45106 ac_cv_lib_fvalue_libfvalue_data_handle_set_data=yes 45107else 45108 ac_cv_lib_fvalue_libfvalue_data_handle_set_data=no 45109fi 45110rm -f core conftest.err conftest.$ac_objext \ 45111 conftest$ac_exeext conftest.$ac_ext 45112LIBS=$ac_check_lib_save_LIBS 45113fi 45114{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_data_handle_set_data" >&5 45115$as_echo "$ac_cv_lib_fvalue_libfvalue_data_handle_set_data" >&6; } 45116if test "x$ac_cv_lib_fvalue_libfvalue_data_handle_set_data" = xyes; then : 45117 ac_cv_libfvalue_dummy=yes 45118else 45119 ac_cv_libfvalue=no 45120fi 45121 45122 45123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_data_handle_get_data_flags in -lfvalue" >&5 45124$as_echo_n "checking for libfvalue_data_handle_get_data_flags in -lfvalue... " >&6; } 45125if ${ac_cv_lib_fvalue_libfvalue_data_handle_get_data_flags+:} false; then : 45126 $as_echo_n "(cached) " >&6 45127else 45128 ac_check_lib_save_LIBS=$LIBS 45129LIBS="-lfvalue $LIBS" 45130cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45131/* end confdefs.h. */ 45132 45133/* Override any GCC internal prototype to avoid an error. 45134 Use char because int might match the return type of a GCC 45135 builtin and then its argument prototype would still apply. */ 45136#ifdef __cplusplus 45137extern "C" 45138#endif 45139char libfvalue_data_handle_get_data_flags (); 45140int 45141main () 45142{ 45143return libfvalue_data_handle_get_data_flags (); 45144 ; 45145 return 0; 45146} 45147_ACEOF 45148if ac_fn_c_try_link "$LINENO"; then : 45149 ac_cv_lib_fvalue_libfvalue_data_handle_get_data_flags=yes 45150else 45151 ac_cv_lib_fvalue_libfvalue_data_handle_get_data_flags=no 45152fi 45153rm -f core conftest.err conftest.$ac_objext \ 45154 conftest$ac_exeext conftest.$ac_ext 45155LIBS=$ac_check_lib_save_LIBS 45156fi 45157{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_data_handle_get_data_flags" >&5 45158$as_echo "$ac_cv_lib_fvalue_libfvalue_data_handle_get_data_flags" >&6; } 45159if test "x$ac_cv_lib_fvalue_libfvalue_data_handle_get_data_flags" = xyes; then : 45160 ac_cv_libfvalue_dummy=yes 45161else 45162 ac_cv_libfvalue=no 45163fi 45164 45165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_data_handle_set_data_flags in -lfvalue" >&5 45166$as_echo_n "checking for libfvalue_data_handle_set_data_flags in -lfvalue... " >&6; } 45167if ${ac_cv_lib_fvalue_libfvalue_data_handle_set_data_flags+:} false; then : 45168 $as_echo_n "(cached) " >&6 45169else 45170 ac_check_lib_save_LIBS=$LIBS 45171LIBS="-lfvalue $LIBS" 45172cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45173/* end confdefs.h. */ 45174 45175/* Override any GCC internal prototype to avoid an error. 45176 Use char because int might match the return type of a GCC 45177 builtin and then its argument prototype would still apply. */ 45178#ifdef __cplusplus 45179extern "C" 45180#endif 45181char libfvalue_data_handle_set_data_flags (); 45182int 45183main () 45184{ 45185return libfvalue_data_handle_set_data_flags (); 45186 ; 45187 return 0; 45188} 45189_ACEOF 45190if ac_fn_c_try_link "$LINENO"; then : 45191 ac_cv_lib_fvalue_libfvalue_data_handle_set_data_flags=yes 45192else 45193 ac_cv_lib_fvalue_libfvalue_data_handle_set_data_flags=no 45194fi 45195rm -f core conftest.err conftest.$ac_objext \ 45196 conftest$ac_exeext conftest.$ac_ext 45197LIBS=$ac_check_lib_save_LIBS 45198fi 45199{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_data_handle_set_data_flags" >&5 45200$as_echo "$ac_cv_lib_fvalue_libfvalue_data_handle_set_data_flags" >&6; } 45201if test "x$ac_cv_lib_fvalue_libfvalue_data_handle_set_data_flags" = xyes; then : 45202 ac_cv_libfvalue_dummy=yes 45203else 45204 ac_cv_libfvalue=no 45205fi 45206 45207 45208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_data_handle_get_number_of_value_entries in -lfvalue" >&5 45209$as_echo_n "checking for libfvalue_data_handle_get_number_of_value_entries in -lfvalue... " >&6; } 45210if ${ac_cv_lib_fvalue_libfvalue_data_handle_get_number_of_value_entries+:} false; then : 45211 $as_echo_n "(cached) " >&6 45212else 45213 ac_check_lib_save_LIBS=$LIBS 45214LIBS="-lfvalue $LIBS" 45215cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45216/* end confdefs.h. */ 45217 45218/* Override any GCC internal prototype to avoid an error. 45219 Use char because int might match the return type of a GCC 45220 builtin and then its argument prototype would still apply. */ 45221#ifdef __cplusplus 45222extern "C" 45223#endif 45224char libfvalue_data_handle_get_number_of_value_entries (); 45225int 45226main () 45227{ 45228return libfvalue_data_handle_get_number_of_value_entries (); 45229 ; 45230 return 0; 45231} 45232_ACEOF 45233if ac_fn_c_try_link "$LINENO"; then : 45234 ac_cv_lib_fvalue_libfvalue_data_handle_get_number_of_value_entries=yes 45235else 45236 ac_cv_lib_fvalue_libfvalue_data_handle_get_number_of_value_entries=no 45237fi 45238rm -f core conftest.err conftest.$ac_objext \ 45239 conftest$ac_exeext conftest.$ac_ext 45240LIBS=$ac_check_lib_save_LIBS 45241fi 45242{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_data_handle_get_number_of_value_entries" >&5 45243$as_echo "$ac_cv_lib_fvalue_libfvalue_data_handle_get_number_of_value_entries" >&6; } 45244if test "x$ac_cv_lib_fvalue_libfvalue_data_handle_get_number_of_value_entries" = xyes; then : 45245 ac_cv_libfvalue_dummy=yes 45246else 45247 ac_cv_libfvalue=no 45248fi 45249 45250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_data_handle_get_value_entry in -lfvalue" >&5 45251$as_echo_n "checking for libfvalue_data_handle_get_value_entry in -lfvalue... " >&6; } 45252if ${ac_cv_lib_fvalue_libfvalue_data_handle_get_value_entry+:} false; then : 45253 $as_echo_n "(cached) " >&6 45254else 45255 ac_check_lib_save_LIBS=$LIBS 45256LIBS="-lfvalue $LIBS" 45257cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45258/* end confdefs.h. */ 45259 45260/* Override any GCC internal prototype to avoid an error. 45261 Use char because int might match the return type of a GCC 45262 builtin and then its argument prototype would still apply. */ 45263#ifdef __cplusplus 45264extern "C" 45265#endif 45266char libfvalue_data_handle_get_value_entry (); 45267int 45268main () 45269{ 45270return libfvalue_data_handle_get_value_entry (); 45271 ; 45272 return 0; 45273} 45274_ACEOF 45275if ac_fn_c_try_link "$LINENO"; then : 45276 ac_cv_lib_fvalue_libfvalue_data_handle_get_value_entry=yes 45277else 45278 ac_cv_lib_fvalue_libfvalue_data_handle_get_value_entry=no 45279fi 45280rm -f core conftest.err conftest.$ac_objext \ 45281 conftest$ac_exeext conftest.$ac_ext 45282LIBS=$ac_check_lib_save_LIBS 45283fi 45284{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_data_handle_get_value_entry" >&5 45285$as_echo "$ac_cv_lib_fvalue_libfvalue_data_handle_get_value_entry" >&6; } 45286if test "x$ac_cv_lib_fvalue_libfvalue_data_handle_get_value_entry" = xyes; then : 45287 ac_cv_libfvalue_dummy=yes 45288else 45289 ac_cv_libfvalue=no 45290fi 45291 45292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_data_handle_set_value_entry in -lfvalue" >&5 45293$as_echo_n "checking for libfvalue_data_handle_set_value_entry in -lfvalue... " >&6; } 45294if ${ac_cv_lib_fvalue_libfvalue_data_handle_set_value_entry+:} false; then : 45295 $as_echo_n "(cached) " >&6 45296else 45297 ac_check_lib_save_LIBS=$LIBS 45298LIBS="-lfvalue $LIBS" 45299cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45300/* end confdefs.h. */ 45301 45302/* Override any GCC internal prototype to avoid an error. 45303 Use char because int might match the return type of a GCC 45304 builtin and then its argument prototype would still apply. */ 45305#ifdef __cplusplus 45306extern "C" 45307#endif 45308char libfvalue_data_handle_set_value_entry (); 45309int 45310main () 45311{ 45312return libfvalue_data_handle_set_value_entry (); 45313 ; 45314 return 0; 45315} 45316_ACEOF 45317if ac_fn_c_try_link "$LINENO"; then : 45318 ac_cv_lib_fvalue_libfvalue_data_handle_set_value_entry=yes 45319else 45320 ac_cv_lib_fvalue_libfvalue_data_handle_set_value_entry=no 45321fi 45322rm -f core conftest.err conftest.$ac_objext \ 45323 conftest$ac_exeext conftest.$ac_ext 45324LIBS=$ac_check_lib_save_LIBS 45325fi 45326{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_data_handle_set_value_entry" >&5 45327$as_echo "$ac_cv_lib_fvalue_libfvalue_data_handle_set_value_entry" >&6; } 45328if test "x$ac_cv_lib_fvalue_libfvalue_data_handle_set_value_entry" = xyes; then : 45329 ac_cv_libfvalue_dummy=yes 45330else 45331 ac_cv_libfvalue=no 45332fi 45333 45334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_data_handle_append_value_entry in -lfvalue" >&5 45335$as_echo_n "checking for libfvalue_data_handle_append_value_entry in -lfvalue... " >&6; } 45336if ${ac_cv_lib_fvalue_libfvalue_data_handle_append_value_entry+:} false; then : 45337 $as_echo_n "(cached) " >&6 45338else 45339 ac_check_lib_save_LIBS=$LIBS 45340LIBS="-lfvalue $LIBS" 45341cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45342/* end confdefs.h. */ 45343 45344/* Override any GCC internal prototype to avoid an error. 45345 Use char because int might match the return type of a GCC 45346 builtin and then its argument prototype would still apply. */ 45347#ifdef __cplusplus 45348extern "C" 45349#endif 45350char libfvalue_data_handle_append_value_entry (); 45351int 45352main () 45353{ 45354return libfvalue_data_handle_append_value_entry (); 45355 ; 45356 return 0; 45357} 45358_ACEOF 45359if ac_fn_c_try_link "$LINENO"; then : 45360 ac_cv_lib_fvalue_libfvalue_data_handle_append_value_entry=yes 45361else 45362 ac_cv_lib_fvalue_libfvalue_data_handle_append_value_entry=no 45363fi 45364rm -f core conftest.err conftest.$ac_objext \ 45365 conftest$ac_exeext conftest.$ac_ext 45366LIBS=$ac_check_lib_save_LIBS 45367fi 45368{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_data_handle_append_value_entry" >&5 45369$as_echo "$ac_cv_lib_fvalue_libfvalue_data_handle_append_value_entry" >&6; } 45370if test "x$ac_cv_lib_fvalue_libfvalue_data_handle_append_value_entry" = xyes; then : 45371 ac_cv_libfvalue_dummy=yes 45372else 45373 ac_cv_libfvalue=no 45374fi 45375 45376 45377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_string_size_from_integer in -lfvalue" >&5 45378$as_echo_n "checking for libfvalue_string_size_from_integer in -lfvalue... " >&6; } 45379if ${ac_cv_lib_fvalue_libfvalue_string_size_from_integer+:} false; then : 45380 $as_echo_n "(cached) " >&6 45381else 45382 ac_check_lib_save_LIBS=$LIBS 45383LIBS="-lfvalue $LIBS" 45384cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45385/* end confdefs.h. */ 45386 45387/* Override any GCC internal prototype to avoid an error. 45388 Use char because int might match the return type of a GCC 45389 builtin and then its argument prototype would still apply. */ 45390#ifdef __cplusplus 45391extern "C" 45392#endif 45393char libfvalue_string_size_from_integer (); 45394int 45395main () 45396{ 45397return libfvalue_string_size_from_integer (); 45398 ; 45399 return 0; 45400} 45401_ACEOF 45402if ac_fn_c_try_link "$LINENO"; then : 45403 ac_cv_lib_fvalue_libfvalue_string_size_from_integer=yes 45404else 45405 ac_cv_lib_fvalue_libfvalue_string_size_from_integer=no 45406fi 45407rm -f core conftest.err conftest.$ac_objext \ 45408 conftest$ac_exeext conftest.$ac_ext 45409LIBS=$ac_check_lib_save_LIBS 45410fi 45411{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_string_size_from_integer" >&5 45412$as_echo "$ac_cv_lib_fvalue_libfvalue_string_size_from_integer" >&6; } 45413if test "x$ac_cv_lib_fvalue_libfvalue_string_size_from_integer" = xyes; then : 45414 ac_cv_libfvalue_dummy=yes 45415else 45416 ac_cv_libfvalue=no 45417fi 45418 45419 45420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_utf8_string_copy_from_integer in -lfvalue" >&5 45421$as_echo_n "checking for libfvalue_utf8_string_copy_from_integer in -lfvalue... " >&6; } 45422if ${ac_cv_lib_fvalue_libfvalue_utf8_string_copy_from_integer+:} false; then : 45423 $as_echo_n "(cached) " >&6 45424else 45425 ac_check_lib_save_LIBS=$LIBS 45426LIBS="-lfvalue $LIBS" 45427cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45428/* end confdefs.h. */ 45429 45430/* Override any GCC internal prototype to avoid an error. 45431 Use char because int might match the return type of a GCC 45432 builtin and then its argument prototype would still apply. */ 45433#ifdef __cplusplus 45434extern "C" 45435#endif 45436char libfvalue_utf8_string_copy_from_integer (); 45437int 45438main () 45439{ 45440return libfvalue_utf8_string_copy_from_integer (); 45441 ; 45442 return 0; 45443} 45444_ACEOF 45445if ac_fn_c_try_link "$LINENO"; then : 45446 ac_cv_lib_fvalue_libfvalue_utf8_string_copy_from_integer=yes 45447else 45448 ac_cv_lib_fvalue_libfvalue_utf8_string_copy_from_integer=no 45449fi 45450rm -f core conftest.err conftest.$ac_objext \ 45451 conftest$ac_exeext conftest.$ac_ext 45452LIBS=$ac_check_lib_save_LIBS 45453fi 45454{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_utf8_string_copy_from_integer" >&5 45455$as_echo "$ac_cv_lib_fvalue_libfvalue_utf8_string_copy_from_integer" >&6; } 45456if test "x$ac_cv_lib_fvalue_libfvalue_utf8_string_copy_from_integer" = xyes; then : 45457 ac_cv_libfvalue_dummy=yes 45458else 45459 ac_cv_libfvalue=no 45460fi 45461 45462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_utf8_string_with_index_copy_from_integer in -lfvalue" >&5 45463$as_echo_n "checking for libfvalue_utf8_string_with_index_copy_from_integer in -lfvalue... " >&6; } 45464if ${ac_cv_lib_fvalue_libfvalue_utf8_string_with_index_copy_from_integer+:} false; then : 45465 $as_echo_n "(cached) " >&6 45466else 45467 ac_check_lib_save_LIBS=$LIBS 45468LIBS="-lfvalue $LIBS" 45469cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45470/* end confdefs.h. */ 45471 45472/* Override any GCC internal prototype to avoid an error. 45473 Use char because int might match the return type of a GCC 45474 builtin and then its argument prototype would still apply. */ 45475#ifdef __cplusplus 45476extern "C" 45477#endif 45478char libfvalue_utf8_string_with_index_copy_from_integer (); 45479int 45480main () 45481{ 45482return libfvalue_utf8_string_with_index_copy_from_integer (); 45483 ; 45484 return 0; 45485} 45486_ACEOF 45487if ac_fn_c_try_link "$LINENO"; then : 45488 ac_cv_lib_fvalue_libfvalue_utf8_string_with_index_copy_from_integer=yes 45489else 45490 ac_cv_lib_fvalue_libfvalue_utf8_string_with_index_copy_from_integer=no 45491fi 45492rm -f core conftest.err conftest.$ac_objext \ 45493 conftest$ac_exeext conftest.$ac_ext 45494LIBS=$ac_check_lib_save_LIBS 45495fi 45496{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_utf8_string_with_index_copy_from_integer" >&5 45497$as_echo "$ac_cv_lib_fvalue_libfvalue_utf8_string_with_index_copy_from_integer" >&6; } 45498if test "x$ac_cv_lib_fvalue_libfvalue_utf8_string_with_index_copy_from_integer" = xyes; then : 45499 ac_cv_libfvalue_dummy=yes 45500else 45501 ac_cv_libfvalue=no 45502fi 45503 45504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_utf8_string_copy_to_integer in -lfvalue" >&5 45505$as_echo_n "checking for libfvalue_utf8_string_copy_to_integer in -lfvalue... " >&6; } 45506if ${ac_cv_lib_fvalue_libfvalue_utf8_string_copy_to_integer+:} false; then : 45507 $as_echo_n "(cached) " >&6 45508else 45509 ac_check_lib_save_LIBS=$LIBS 45510LIBS="-lfvalue $LIBS" 45511cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45512/* end confdefs.h. */ 45513 45514/* Override any GCC internal prototype to avoid an error. 45515 Use char because int might match the return type of a GCC 45516 builtin and then its argument prototype would still apply. */ 45517#ifdef __cplusplus 45518extern "C" 45519#endif 45520char libfvalue_utf8_string_copy_to_integer (); 45521int 45522main () 45523{ 45524return libfvalue_utf8_string_copy_to_integer (); 45525 ; 45526 return 0; 45527} 45528_ACEOF 45529if ac_fn_c_try_link "$LINENO"; then : 45530 ac_cv_lib_fvalue_libfvalue_utf8_string_copy_to_integer=yes 45531else 45532 ac_cv_lib_fvalue_libfvalue_utf8_string_copy_to_integer=no 45533fi 45534rm -f core conftest.err conftest.$ac_objext \ 45535 conftest$ac_exeext conftest.$ac_ext 45536LIBS=$ac_check_lib_save_LIBS 45537fi 45538{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_utf8_string_copy_to_integer" >&5 45539$as_echo "$ac_cv_lib_fvalue_libfvalue_utf8_string_copy_to_integer" >&6; } 45540if test "x$ac_cv_lib_fvalue_libfvalue_utf8_string_copy_to_integer" = xyes; then : 45541 ac_cv_libfvalue_dummy=yes 45542else 45543 ac_cv_libfvalue=no 45544fi 45545 45546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_utf8_string_with_index_copy_to_integer in -lfvalue" >&5 45547$as_echo_n "checking for libfvalue_utf8_string_with_index_copy_to_integer in -lfvalue... " >&6; } 45548if ${ac_cv_lib_fvalue_libfvalue_utf8_string_with_index_copy_to_integer+:} false; then : 45549 $as_echo_n "(cached) " >&6 45550else 45551 ac_check_lib_save_LIBS=$LIBS 45552LIBS="-lfvalue $LIBS" 45553cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45554/* end confdefs.h. */ 45555 45556/* Override any GCC internal prototype to avoid an error. 45557 Use char because int might match the return type of a GCC 45558 builtin and then its argument prototype would still apply. */ 45559#ifdef __cplusplus 45560extern "C" 45561#endif 45562char libfvalue_utf8_string_with_index_copy_to_integer (); 45563int 45564main () 45565{ 45566return libfvalue_utf8_string_with_index_copy_to_integer (); 45567 ; 45568 return 0; 45569} 45570_ACEOF 45571if ac_fn_c_try_link "$LINENO"; then : 45572 ac_cv_lib_fvalue_libfvalue_utf8_string_with_index_copy_to_integer=yes 45573else 45574 ac_cv_lib_fvalue_libfvalue_utf8_string_with_index_copy_to_integer=no 45575fi 45576rm -f core conftest.err conftest.$ac_objext \ 45577 conftest$ac_exeext conftest.$ac_ext 45578LIBS=$ac_check_lib_save_LIBS 45579fi 45580{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_utf8_string_with_index_copy_to_integer" >&5 45581$as_echo "$ac_cv_lib_fvalue_libfvalue_utf8_string_with_index_copy_to_integer" >&6; } 45582if test "x$ac_cv_lib_fvalue_libfvalue_utf8_string_with_index_copy_to_integer" = xyes; then : 45583 ac_cv_libfvalue_dummy=yes 45584else 45585 ac_cv_libfvalue=no 45586fi 45587 45588 45589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_utf16_string_copy_from_integer in -lfvalue" >&5 45590$as_echo_n "checking for libfvalue_utf16_string_copy_from_integer in -lfvalue... " >&6; } 45591if ${ac_cv_lib_fvalue_libfvalue_utf16_string_copy_from_integer+:} false; then : 45592 $as_echo_n "(cached) " >&6 45593else 45594 ac_check_lib_save_LIBS=$LIBS 45595LIBS="-lfvalue $LIBS" 45596cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45597/* end confdefs.h. */ 45598 45599/* Override any GCC internal prototype to avoid an error. 45600 Use char because int might match the return type of a GCC 45601 builtin and then its argument prototype would still apply. */ 45602#ifdef __cplusplus 45603extern "C" 45604#endif 45605char libfvalue_utf16_string_copy_from_integer (); 45606int 45607main () 45608{ 45609return libfvalue_utf16_string_copy_from_integer (); 45610 ; 45611 return 0; 45612} 45613_ACEOF 45614if ac_fn_c_try_link "$LINENO"; then : 45615 ac_cv_lib_fvalue_libfvalue_utf16_string_copy_from_integer=yes 45616else 45617 ac_cv_lib_fvalue_libfvalue_utf16_string_copy_from_integer=no 45618fi 45619rm -f core conftest.err conftest.$ac_objext \ 45620 conftest$ac_exeext conftest.$ac_ext 45621LIBS=$ac_check_lib_save_LIBS 45622fi 45623{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_utf16_string_copy_from_integer" >&5 45624$as_echo "$ac_cv_lib_fvalue_libfvalue_utf16_string_copy_from_integer" >&6; } 45625if test "x$ac_cv_lib_fvalue_libfvalue_utf16_string_copy_from_integer" = xyes; then : 45626 ac_cv_libfvalue_dummy=yes 45627else 45628 ac_cv_libfvalue=no 45629fi 45630 45631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_utf16_string_with_index_copy_from_integer in -lfvalue" >&5 45632$as_echo_n "checking for libfvalue_utf16_string_with_index_copy_from_integer in -lfvalue... " >&6; } 45633if ${ac_cv_lib_fvalue_libfvalue_utf16_string_with_index_copy_from_integer+:} false; then : 45634 $as_echo_n "(cached) " >&6 45635else 45636 ac_check_lib_save_LIBS=$LIBS 45637LIBS="-lfvalue $LIBS" 45638cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45639/* end confdefs.h. */ 45640 45641/* Override any GCC internal prototype to avoid an error. 45642 Use char because int might match the return type of a GCC 45643 builtin and then its argument prototype would still apply. */ 45644#ifdef __cplusplus 45645extern "C" 45646#endif 45647char libfvalue_utf16_string_with_index_copy_from_integer (); 45648int 45649main () 45650{ 45651return libfvalue_utf16_string_with_index_copy_from_integer (); 45652 ; 45653 return 0; 45654} 45655_ACEOF 45656if ac_fn_c_try_link "$LINENO"; then : 45657 ac_cv_lib_fvalue_libfvalue_utf16_string_with_index_copy_from_integer=yes 45658else 45659 ac_cv_lib_fvalue_libfvalue_utf16_string_with_index_copy_from_integer=no 45660fi 45661rm -f core conftest.err conftest.$ac_objext \ 45662 conftest$ac_exeext conftest.$ac_ext 45663LIBS=$ac_check_lib_save_LIBS 45664fi 45665{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_utf16_string_with_index_copy_from_integer" >&5 45666$as_echo "$ac_cv_lib_fvalue_libfvalue_utf16_string_with_index_copy_from_integer" >&6; } 45667if test "x$ac_cv_lib_fvalue_libfvalue_utf16_string_with_index_copy_from_integer" = xyes; then : 45668 ac_cv_libfvalue_dummy=yes 45669else 45670 ac_cv_libfvalue=no 45671fi 45672 45673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_utf16_string_copy_to_integer in -lfvalue" >&5 45674$as_echo_n "checking for libfvalue_utf16_string_copy_to_integer in -lfvalue... " >&6; } 45675if ${ac_cv_lib_fvalue_libfvalue_utf16_string_copy_to_integer+:} false; then : 45676 $as_echo_n "(cached) " >&6 45677else 45678 ac_check_lib_save_LIBS=$LIBS 45679LIBS="-lfvalue $LIBS" 45680cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45681/* end confdefs.h. */ 45682 45683/* Override any GCC internal prototype to avoid an error. 45684 Use char because int might match the return type of a GCC 45685 builtin and then its argument prototype would still apply. */ 45686#ifdef __cplusplus 45687extern "C" 45688#endif 45689char libfvalue_utf16_string_copy_to_integer (); 45690int 45691main () 45692{ 45693return libfvalue_utf16_string_copy_to_integer (); 45694 ; 45695 return 0; 45696} 45697_ACEOF 45698if ac_fn_c_try_link "$LINENO"; then : 45699 ac_cv_lib_fvalue_libfvalue_utf16_string_copy_to_integer=yes 45700else 45701 ac_cv_lib_fvalue_libfvalue_utf16_string_copy_to_integer=no 45702fi 45703rm -f core conftest.err conftest.$ac_objext \ 45704 conftest$ac_exeext conftest.$ac_ext 45705LIBS=$ac_check_lib_save_LIBS 45706fi 45707{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_utf16_string_copy_to_integer" >&5 45708$as_echo "$ac_cv_lib_fvalue_libfvalue_utf16_string_copy_to_integer" >&6; } 45709if test "x$ac_cv_lib_fvalue_libfvalue_utf16_string_copy_to_integer" = xyes; then : 45710 ac_cv_libfvalue_dummy=yes 45711else 45712 ac_cv_libfvalue=no 45713fi 45714 45715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_utf16_string_with_index_copy_to_integer in -lfvalue" >&5 45716$as_echo_n "checking for libfvalue_utf16_string_with_index_copy_to_integer in -lfvalue... " >&6; } 45717if ${ac_cv_lib_fvalue_libfvalue_utf16_string_with_index_copy_to_integer+:} false; then : 45718 $as_echo_n "(cached) " >&6 45719else 45720 ac_check_lib_save_LIBS=$LIBS 45721LIBS="-lfvalue $LIBS" 45722cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45723/* end confdefs.h. */ 45724 45725/* Override any GCC internal prototype to avoid an error. 45726 Use char because int might match the return type of a GCC 45727 builtin and then its argument prototype would still apply. */ 45728#ifdef __cplusplus 45729extern "C" 45730#endif 45731char libfvalue_utf16_string_with_index_copy_to_integer (); 45732int 45733main () 45734{ 45735return libfvalue_utf16_string_with_index_copy_to_integer (); 45736 ; 45737 return 0; 45738} 45739_ACEOF 45740if ac_fn_c_try_link "$LINENO"; then : 45741 ac_cv_lib_fvalue_libfvalue_utf16_string_with_index_copy_to_integer=yes 45742else 45743 ac_cv_lib_fvalue_libfvalue_utf16_string_with_index_copy_to_integer=no 45744fi 45745rm -f core conftest.err conftest.$ac_objext \ 45746 conftest$ac_exeext conftest.$ac_ext 45747LIBS=$ac_check_lib_save_LIBS 45748fi 45749{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_utf16_string_with_index_copy_to_integer" >&5 45750$as_echo "$ac_cv_lib_fvalue_libfvalue_utf16_string_with_index_copy_to_integer" >&6; } 45751if test "x$ac_cv_lib_fvalue_libfvalue_utf16_string_with_index_copy_to_integer" = xyes; then : 45752 ac_cv_libfvalue_dummy=yes 45753else 45754 ac_cv_libfvalue=no 45755fi 45756 45757 45758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_utf32_string_copy_from_integer in -lfvalue" >&5 45759$as_echo_n "checking for libfvalue_utf32_string_copy_from_integer in -lfvalue... " >&6; } 45760if ${ac_cv_lib_fvalue_libfvalue_utf32_string_copy_from_integer+:} false; then : 45761 $as_echo_n "(cached) " >&6 45762else 45763 ac_check_lib_save_LIBS=$LIBS 45764LIBS="-lfvalue $LIBS" 45765cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45766/* end confdefs.h. */ 45767 45768/* Override any GCC internal prototype to avoid an error. 45769 Use char because int might match the return type of a GCC 45770 builtin and then its argument prototype would still apply. */ 45771#ifdef __cplusplus 45772extern "C" 45773#endif 45774char libfvalue_utf32_string_copy_from_integer (); 45775int 45776main () 45777{ 45778return libfvalue_utf32_string_copy_from_integer (); 45779 ; 45780 return 0; 45781} 45782_ACEOF 45783if ac_fn_c_try_link "$LINENO"; then : 45784 ac_cv_lib_fvalue_libfvalue_utf32_string_copy_from_integer=yes 45785else 45786 ac_cv_lib_fvalue_libfvalue_utf32_string_copy_from_integer=no 45787fi 45788rm -f core conftest.err conftest.$ac_objext \ 45789 conftest$ac_exeext conftest.$ac_ext 45790LIBS=$ac_check_lib_save_LIBS 45791fi 45792{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_utf32_string_copy_from_integer" >&5 45793$as_echo "$ac_cv_lib_fvalue_libfvalue_utf32_string_copy_from_integer" >&6; } 45794if test "x$ac_cv_lib_fvalue_libfvalue_utf32_string_copy_from_integer" = xyes; then : 45795 ac_cv_libfvalue_dummy=yes 45796else 45797 ac_cv_libfvalue=no 45798fi 45799 45800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_utf32_string_with_index_copy_from_integer in -lfvalue" >&5 45801$as_echo_n "checking for libfvalue_utf32_string_with_index_copy_from_integer in -lfvalue... " >&6; } 45802if ${ac_cv_lib_fvalue_libfvalue_utf32_string_with_index_copy_from_integer+:} false; then : 45803 $as_echo_n "(cached) " >&6 45804else 45805 ac_check_lib_save_LIBS=$LIBS 45806LIBS="-lfvalue $LIBS" 45807cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45808/* end confdefs.h. */ 45809 45810/* Override any GCC internal prototype to avoid an error. 45811 Use char because int might match the return type of a GCC 45812 builtin and then its argument prototype would still apply. */ 45813#ifdef __cplusplus 45814extern "C" 45815#endif 45816char libfvalue_utf32_string_with_index_copy_from_integer (); 45817int 45818main () 45819{ 45820return libfvalue_utf32_string_with_index_copy_from_integer (); 45821 ; 45822 return 0; 45823} 45824_ACEOF 45825if ac_fn_c_try_link "$LINENO"; then : 45826 ac_cv_lib_fvalue_libfvalue_utf32_string_with_index_copy_from_integer=yes 45827else 45828 ac_cv_lib_fvalue_libfvalue_utf32_string_with_index_copy_from_integer=no 45829fi 45830rm -f core conftest.err conftest.$ac_objext \ 45831 conftest$ac_exeext conftest.$ac_ext 45832LIBS=$ac_check_lib_save_LIBS 45833fi 45834{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_utf32_string_with_index_copy_from_integer" >&5 45835$as_echo "$ac_cv_lib_fvalue_libfvalue_utf32_string_with_index_copy_from_integer" >&6; } 45836if test "x$ac_cv_lib_fvalue_libfvalue_utf32_string_with_index_copy_from_integer" = xyes; then : 45837 ac_cv_libfvalue_dummy=yes 45838else 45839 ac_cv_libfvalue=no 45840fi 45841 45842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_utf32_string_copy_to_integer in -lfvalue" >&5 45843$as_echo_n "checking for libfvalue_utf32_string_copy_to_integer in -lfvalue... " >&6; } 45844if ${ac_cv_lib_fvalue_libfvalue_utf32_string_copy_to_integer+:} false; then : 45845 $as_echo_n "(cached) " >&6 45846else 45847 ac_check_lib_save_LIBS=$LIBS 45848LIBS="-lfvalue $LIBS" 45849cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45850/* end confdefs.h. */ 45851 45852/* Override any GCC internal prototype to avoid an error. 45853 Use char because int might match the return type of a GCC 45854 builtin and then its argument prototype would still apply. */ 45855#ifdef __cplusplus 45856extern "C" 45857#endif 45858char libfvalue_utf32_string_copy_to_integer (); 45859int 45860main () 45861{ 45862return libfvalue_utf32_string_copy_to_integer (); 45863 ; 45864 return 0; 45865} 45866_ACEOF 45867if ac_fn_c_try_link "$LINENO"; then : 45868 ac_cv_lib_fvalue_libfvalue_utf32_string_copy_to_integer=yes 45869else 45870 ac_cv_lib_fvalue_libfvalue_utf32_string_copy_to_integer=no 45871fi 45872rm -f core conftest.err conftest.$ac_objext \ 45873 conftest$ac_exeext conftest.$ac_ext 45874LIBS=$ac_check_lib_save_LIBS 45875fi 45876{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_utf32_string_copy_to_integer" >&5 45877$as_echo "$ac_cv_lib_fvalue_libfvalue_utf32_string_copy_to_integer" >&6; } 45878if test "x$ac_cv_lib_fvalue_libfvalue_utf32_string_copy_to_integer" = xyes; then : 45879 ac_cv_libfvalue_dummy=yes 45880else 45881 ac_cv_libfvalue=no 45882fi 45883 45884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_utf32_string_with_index_copy_to_integer in -lfvalue" >&5 45885$as_echo_n "checking for libfvalue_utf32_string_with_index_copy_to_integer in -lfvalue... " >&6; } 45886if ${ac_cv_lib_fvalue_libfvalue_utf32_string_with_index_copy_to_integer+:} false; then : 45887 $as_echo_n "(cached) " >&6 45888else 45889 ac_check_lib_save_LIBS=$LIBS 45890LIBS="-lfvalue $LIBS" 45891cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45892/* end confdefs.h. */ 45893 45894/* Override any GCC internal prototype to avoid an error. 45895 Use char because int might match the return type of a GCC 45896 builtin and then its argument prototype would still apply. */ 45897#ifdef __cplusplus 45898extern "C" 45899#endif 45900char libfvalue_utf32_string_with_index_copy_to_integer (); 45901int 45902main () 45903{ 45904return libfvalue_utf32_string_with_index_copy_to_integer (); 45905 ; 45906 return 0; 45907} 45908_ACEOF 45909if ac_fn_c_try_link "$LINENO"; then : 45910 ac_cv_lib_fvalue_libfvalue_utf32_string_with_index_copy_to_integer=yes 45911else 45912 ac_cv_lib_fvalue_libfvalue_utf32_string_with_index_copy_to_integer=no 45913fi 45914rm -f core conftest.err conftest.$ac_objext \ 45915 conftest$ac_exeext conftest.$ac_ext 45916LIBS=$ac_check_lib_save_LIBS 45917fi 45918{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_utf32_string_with_index_copy_to_integer" >&5 45919$as_echo "$ac_cv_lib_fvalue_libfvalue_utf32_string_with_index_copy_to_integer" >&6; } 45920if test "x$ac_cv_lib_fvalue_libfvalue_utf32_string_with_index_copy_to_integer" = xyes; then : 45921 ac_cv_libfvalue_dummy=yes 45922else 45923 ac_cv_libfvalue=no 45924fi 45925 45926 45927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_utf8_string_split in -lfvalue" >&5 45928$as_echo_n "checking for libfvalue_utf8_string_split in -lfvalue... " >&6; } 45929if ${ac_cv_lib_fvalue_libfvalue_utf8_string_split+:} false; then : 45930 $as_echo_n "(cached) " >&6 45931else 45932 ac_check_lib_save_LIBS=$LIBS 45933LIBS="-lfvalue $LIBS" 45934cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45935/* end confdefs.h. */ 45936 45937/* Override any GCC internal prototype to avoid an error. 45938 Use char because int might match the return type of a GCC 45939 builtin and then its argument prototype would still apply. */ 45940#ifdef __cplusplus 45941extern "C" 45942#endif 45943char libfvalue_utf8_string_split (); 45944int 45945main () 45946{ 45947return libfvalue_utf8_string_split (); 45948 ; 45949 return 0; 45950} 45951_ACEOF 45952if ac_fn_c_try_link "$LINENO"; then : 45953 ac_cv_lib_fvalue_libfvalue_utf8_string_split=yes 45954else 45955 ac_cv_lib_fvalue_libfvalue_utf8_string_split=no 45956fi 45957rm -f core conftest.err conftest.$ac_objext \ 45958 conftest$ac_exeext conftest.$ac_ext 45959LIBS=$ac_check_lib_save_LIBS 45960fi 45961{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_utf8_string_split" >&5 45962$as_echo "$ac_cv_lib_fvalue_libfvalue_utf8_string_split" >&6; } 45963if test "x$ac_cv_lib_fvalue_libfvalue_utf8_string_split" = xyes; then : 45964 ac_cv_libfvalue_dummy=yes 45965else 45966 ac_cv_libfvalue=no 45967fi 45968 45969 45970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_utf16_string_split in -lfvalue" >&5 45971$as_echo_n "checking for libfvalue_utf16_string_split in -lfvalue... " >&6; } 45972if ${ac_cv_lib_fvalue_libfvalue_utf16_string_split+:} false; then : 45973 $as_echo_n "(cached) " >&6 45974else 45975 ac_check_lib_save_LIBS=$LIBS 45976LIBS="-lfvalue $LIBS" 45977cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45978/* end confdefs.h. */ 45979 45980/* Override any GCC internal prototype to avoid an error. 45981 Use char because int might match the return type of a GCC 45982 builtin and then its argument prototype would still apply. */ 45983#ifdef __cplusplus 45984extern "C" 45985#endif 45986char libfvalue_utf16_string_split (); 45987int 45988main () 45989{ 45990return libfvalue_utf16_string_split (); 45991 ; 45992 return 0; 45993} 45994_ACEOF 45995if ac_fn_c_try_link "$LINENO"; then : 45996 ac_cv_lib_fvalue_libfvalue_utf16_string_split=yes 45997else 45998 ac_cv_lib_fvalue_libfvalue_utf16_string_split=no 45999fi 46000rm -f core conftest.err conftest.$ac_objext \ 46001 conftest$ac_exeext conftest.$ac_ext 46002LIBS=$ac_check_lib_save_LIBS 46003fi 46004{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_utf16_string_split" >&5 46005$as_echo "$ac_cv_lib_fvalue_libfvalue_utf16_string_split" >&6; } 46006if test "x$ac_cv_lib_fvalue_libfvalue_utf16_string_split" = xyes; then : 46007 ac_cv_libfvalue_dummy=yes 46008else 46009 ac_cv_libfvalue=no 46010fi 46011 46012 46013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_split_utf8_string_free in -lfvalue" >&5 46014$as_echo_n "checking for libfvalue_split_utf8_string_free in -lfvalue... " >&6; } 46015if ${ac_cv_lib_fvalue_libfvalue_split_utf8_string_free+:} false; then : 46016 $as_echo_n "(cached) " >&6 46017else 46018 ac_check_lib_save_LIBS=$LIBS 46019LIBS="-lfvalue $LIBS" 46020cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46021/* end confdefs.h. */ 46022 46023/* Override any GCC internal prototype to avoid an error. 46024 Use char because int might match the return type of a GCC 46025 builtin and then its argument prototype would still apply. */ 46026#ifdef __cplusplus 46027extern "C" 46028#endif 46029char libfvalue_split_utf8_string_free (); 46030int 46031main () 46032{ 46033return libfvalue_split_utf8_string_free (); 46034 ; 46035 return 0; 46036} 46037_ACEOF 46038if ac_fn_c_try_link "$LINENO"; then : 46039 ac_cv_lib_fvalue_libfvalue_split_utf8_string_free=yes 46040else 46041 ac_cv_lib_fvalue_libfvalue_split_utf8_string_free=no 46042fi 46043rm -f core conftest.err conftest.$ac_objext \ 46044 conftest$ac_exeext conftest.$ac_ext 46045LIBS=$ac_check_lib_save_LIBS 46046fi 46047{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_split_utf8_string_free" >&5 46048$as_echo "$ac_cv_lib_fvalue_libfvalue_split_utf8_string_free" >&6; } 46049if test "x$ac_cv_lib_fvalue_libfvalue_split_utf8_string_free" = xyes; then : 46050 ac_cv_libfvalue_dummy=yes 46051else 46052 ac_cv_libfvalue=no 46053fi 46054 46055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_split_utf8_string_get_string in -lfvalue" >&5 46056$as_echo_n "checking for libfvalue_split_utf8_string_get_string in -lfvalue... " >&6; } 46057if ${ac_cv_lib_fvalue_libfvalue_split_utf8_string_get_string+:} false; then : 46058 $as_echo_n "(cached) " >&6 46059else 46060 ac_check_lib_save_LIBS=$LIBS 46061LIBS="-lfvalue $LIBS" 46062cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46063/* end confdefs.h. */ 46064 46065/* Override any GCC internal prototype to avoid an error. 46066 Use char because int might match the return type of a GCC 46067 builtin and then its argument prototype would still apply. */ 46068#ifdef __cplusplus 46069extern "C" 46070#endif 46071char libfvalue_split_utf8_string_get_string (); 46072int 46073main () 46074{ 46075return libfvalue_split_utf8_string_get_string (); 46076 ; 46077 return 0; 46078} 46079_ACEOF 46080if ac_fn_c_try_link "$LINENO"; then : 46081 ac_cv_lib_fvalue_libfvalue_split_utf8_string_get_string=yes 46082else 46083 ac_cv_lib_fvalue_libfvalue_split_utf8_string_get_string=no 46084fi 46085rm -f core conftest.err conftest.$ac_objext \ 46086 conftest$ac_exeext conftest.$ac_ext 46087LIBS=$ac_check_lib_save_LIBS 46088fi 46089{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_split_utf8_string_get_string" >&5 46090$as_echo "$ac_cv_lib_fvalue_libfvalue_split_utf8_string_get_string" >&6; } 46091if test "x$ac_cv_lib_fvalue_libfvalue_split_utf8_string_get_string" = xyes; then : 46092 ac_cv_libfvalue_dummy=yes 46093else 46094 ac_cv_libfvalue=no 46095fi 46096 46097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_split_utf8_string_get_number_of_segments in -lfvalue" >&5 46098$as_echo_n "checking for libfvalue_split_utf8_string_get_number_of_segments in -lfvalue... " >&6; } 46099if ${ac_cv_lib_fvalue_libfvalue_split_utf8_string_get_number_of_segments+:} false; then : 46100 $as_echo_n "(cached) " >&6 46101else 46102 ac_check_lib_save_LIBS=$LIBS 46103LIBS="-lfvalue $LIBS" 46104cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46105/* end confdefs.h. */ 46106 46107/* Override any GCC internal prototype to avoid an error. 46108 Use char because int might match the return type of a GCC 46109 builtin and then its argument prototype would still apply. */ 46110#ifdef __cplusplus 46111extern "C" 46112#endif 46113char libfvalue_split_utf8_string_get_number_of_segments (); 46114int 46115main () 46116{ 46117return libfvalue_split_utf8_string_get_number_of_segments (); 46118 ; 46119 return 0; 46120} 46121_ACEOF 46122if ac_fn_c_try_link "$LINENO"; then : 46123 ac_cv_lib_fvalue_libfvalue_split_utf8_string_get_number_of_segments=yes 46124else 46125 ac_cv_lib_fvalue_libfvalue_split_utf8_string_get_number_of_segments=no 46126fi 46127rm -f core conftest.err conftest.$ac_objext \ 46128 conftest$ac_exeext conftest.$ac_ext 46129LIBS=$ac_check_lib_save_LIBS 46130fi 46131{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_split_utf8_string_get_number_of_segments" >&5 46132$as_echo "$ac_cv_lib_fvalue_libfvalue_split_utf8_string_get_number_of_segments" >&6; } 46133if test "x$ac_cv_lib_fvalue_libfvalue_split_utf8_string_get_number_of_segments" = xyes; then : 46134 ac_cv_libfvalue_dummy=yes 46135else 46136 ac_cv_libfvalue=no 46137fi 46138 46139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_split_utf8_string_get_segment_by_index in -lfvalue" >&5 46140$as_echo_n "checking for libfvalue_split_utf8_string_get_segment_by_index in -lfvalue... " >&6; } 46141if ${ac_cv_lib_fvalue_libfvalue_split_utf8_string_get_segment_by_index+:} false; then : 46142 $as_echo_n "(cached) " >&6 46143else 46144 ac_check_lib_save_LIBS=$LIBS 46145LIBS="-lfvalue $LIBS" 46146cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46147/* end confdefs.h. */ 46148 46149/* Override any GCC internal prototype to avoid an error. 46150 Use char because int might match the return type of a GCC 46151 builtin and then its argument prototype would still apply. */ 46152#ifdef __cplusplus 46153extern "C" 46154#endif 46155char libfvalue_split_utf8_string_get_segment_by_index (); 46156int 46157main () 46158{ 46159return libfvalue_split_utf8_string_get_segment_by_index (); 46160 ; 46161 return 0; 46162} 46163_ACEOF 46164if ac_fn_c_try_link "$LINENO"; then : 46165 ac_cv_lib_fvalue_libfvalue_split_utf8_string_get_segment_by_index=yes 46166else 46167 ac_cv_lib_fvalue_libfvalue_split_utf8_string_get_segment_by_index=no 46168fi 46169rm -f core conftest.err conftest.$ac_objext \ 46170 conftest$ac_exeext conftest.$ac_ext 46171LIBS=$ac_check_lib_save_LIBS 46172fi 46173{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_split_utf8_string_get_segment_by_index" >&5 46174$as_echo "$ac_cv_lib_fvalue_libfvalue_split_utf8_string_get_segment_by_index" >&6; } 46175if test "x$ac_cv_lib_fvalue_libfvalue_split_utf8_string_get_segment_by_index" = xyes; then : 46176 ac_cv_libfvalue_dummy=yes 46177else 46178 ac_cv_libfvalue=no 46179fi 46180 46181 46182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_split_utf16_string_free in -lfvalue" >&5 46183$as_echo_n "checking for libfvalue_split_utf16_string_free in -lfvalue... " >&6; } 46184if ${ac_cv_lib_fvalue_libfvalue_split_utf16_string_free+:} false; then : 46185 $as_echo_n "(cached) " >&6 46186else 46187 ac_check_lib_save_LIBS=$LIBS 46188LIBS="-lfvalue $LIBS" 46189cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46190/* end confdefs.h. */ 46191 46192/* Override any GCC internal prototype to avoid an error. 46193 Use char because int might match the return type of a GCC 46194 builtin and then its argument prototype would still apply. */ 46195#ifdef __cplusplus 46196extern "C" 46197#endif 46198char libfvalue_split_utf16_string_free (); 46199int 46200main () 46201{ 46202return libfvalue_split_utf16_string_free (); 46203 ; 46204 return 0; 46205} 46206_ACEOF 46207if ac_fn_c_try_link "$LINENO"; then : 46208 ac_cv_lib_fvalue_libfvalue_split_utf16_string_free=yes 46209else 46210 ac_cv_lib_fvalue_libfvalue_split_utf16_string_free=no 46211fi 46212rm -f core conftest.err conftest.$ac_objext \ 46213 conftest$ac_exeext conftest.$ac_ext 46214LIBS=$ac_check_lib_save_LIBS 46215fi 46216{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_split_utf16_string_free" >&5 46217$as_echo "$ac_cv_lib_fvalue_libfvalue_split_utf16_string_free" >&6; } 46218if test "x$ac_cv_lib_fvalue_libfvalue_split_utf16_string_free" = xyes; then : 46219 ac_cv_libfvalue_dummy=yes 46220else 46221 ac_cv_libfvalue=no 46222fi 46223 46224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_split_utf16_string_get_string in -lfvalue" >&5 46225$as_echo_n "checking for libfvalue_split_utf16_string_get_string in -lfvalue... " >&6; } 46226if ${ac_cv_lib_fvalue_libfvalue_split_utf16_string_get_string+:} false; then : 46227 $as_echo_n "(cached) " >&6 46228else 46229 ac_check_lib_save_LIBS=$LIBS 46230LIBS="-lfvalue $LIBS" 46231cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46232/* end confdefs.h. */ 46233 46234/* Override any GCC internal prototype to avoid an error. 46235 Use char because int might match the return type of a GCC 46236 builtin and then its argument prototype would still apply. */ 46237#ifdef __cplusplus 46238extern "C" 46239#endif 46240char libfvalue_split_utf16_string_get_string (); 46241int 46242main () 46243{ 46244return libfvalue_split_utf16_string_get_string (); 46245 ; 46246 return 0; 46247} 46248_ACEOF 46249if ac_fn_c_try_link "$LINENO"; then : 46250 ac_cv_lib_fvalue_libfvalue_split_utf16_string_get_string=yes 46251else 46252 ac_cv_lib_fvalue_libfvalue_split_utf16_string_get_string=no 46253fi 46254rm -f core conftest.err conftest.$ac_objext \ 46255 conftest$ac_exeext conftest.$ac_ext 46256LIBS=$ac_check_lib_save_LIBS 46257fi 46258{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_split_utf16_string_get_string" >&5 46259$as_echo "$ac_cv_lib_fvalue_libfvalue_split_utf16_string_get_string" >&6; } 46260if test "x$ac_cv_lib_fvalue_libfvalue_split_utf16_string_get_string" = xyes; then : 46261 ac_cv_libfvalue_dummy=yes 46262else 46263 ac_cv_libfvalue=no 46264fi 46265 46266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_split_utf16_string_get_number_of_segments in -lfvalue" >&5 46267$as_echo_n "checking for libfvalue_split_utf16_string_get_number_of_segments in -lfvalue... " >&6; } 46268if ${ac_cv_lib_fvalue_libfvalue_split_utf16_string_get_number_of_segments+:} false; then : 46269 $as_echo_n "(cached) " >&6 46270else 46271 ac_check_lib_save_LIBS=$LIBS 46272LIBS="-lfvalue $LIBS" 46273cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46274/* end confdefs.h. */ 46275 46276/* Override any GCC internal prototype to avoid an error. 46277 Use char because int might match the return type of a GCC 46278 builtin and then its argument prototype would still apply. */ 46279#ifdef __cplusplus 46280extern "C" 46281#endif 46282char libfvalue_split_utf16_string_get_number_of_segments (); 46283int 46284main () 46285{ 46286return libfvalue_split_utf16_string_get_number_of_segments (); 46287 ; 46288 return 0; 46289} 46290_ACEOF 46291if ac_fn_c_try_link "$LINENO"; then : 46292 ac_cv_lib_fvalue_libfvalue_split_utf16_string_get_number_of_segments=yes 46293else 46294 ac_cv_lib_fvalue_libfvalue_split_utf16_string_get_number_of_segments=no 46295fi 46296rm -f core conftest.err conftest.$ac_objext \ 46297 conftest$ac_exeext conftest.$ac_ext 46298LIBS=$ac_check_lib_save_LIBS 46299fi 46300{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_split_utf16_string_get_number_of_segments" >&5 46301$as_echo "$ac_cv_lib_fvalue_libfvalue_split_utf16_string_get_number_of_segments" >&6; } 46302if test "x$ac_cv_lib_fvalue_libfvalue_split_utf16_string_get_number_of_segments" = xyes; then : 46303 ac_cv_libfvalue_dummy=yes 46304else 46305 ac_cv_libfvalue=no 46306fi 46307 46308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_split_utf16_string_get_segment_by_index in -lfvalue" >&5 46309$as_echo_n "checking for libfvalue_split_utf16_string_get_segment_by_index in -lfvalue... " >&6; } 46310if ${ac_cv_lib_fvalue_libfvalue_split_utf16_string_get_segment_by_index+:} false; then : 46311 $as_echo_n "(cached) " >&6 46312else 46313 ac_check_lib_save_LIBS=$LIBS 46314LIBS="-lfvalue $LIBS" 46315cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46316/* end confdefs.h. */ 46317 46318/* Override any GCC internal prototype to avoid an error. 46319 Use char because int might match the return type of a GCC 46320 builtin and then its argument prototype would still apply. */ 46321#ifdef __cplusplus 46322extern "C" 46323#endif 46324char libfvalue_split_utf16_string_get_segment_by_index (); 46325int 46326main () 46327{ 46328return libfvalue_split_utf16_string_get_segment_by_index (); 46329 ; 46330 return 0; 46331} 46332_ACEOF 46333if ac_fn_c_try_link "$LINENO"; then : 46334 ac_cv_lib_fvalue_libfvalue_split_utf16_string_get_segment_by_index=yes 46335else 46336 ac_cv_lib_fvalue_libfvalue_split_utf16_string_get_segment_by_index=no 46337fi 46338rm -f core conftest.err conftest.$ac_objext \ 46339 conftest$ac_exeext conftest.$ac_ext 46340LIBS=$ac_check_lib_save_LIBS 46341fi 46342{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_split_utf16_string_get_segment_by_index" >&5 46343$as_echo "$ac_cv_lib_fvalue_libfvalue_split_utf16_string_get_segment_by_index" >&6; } 46344if test "x$ac_cv_lib_fvalue_libfvalue_split_utf16_string_get_segment_by_index" = xyes; then : 46345 ac_cv_libfvalue_dummy=yes 46346else 46347 ac_cv_libfvalue=no 46348fi 46349 46350 46351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_table_initialize in -lfvalue" >&5 46352$as_echo_n "checking for libfvalue_table_initialize in -lfvalue... " >&6; } 46353if ${ac_cv_lib_fvalue_libfvalue_table_initialize+:} false; then : 46354 $as_echo_n "(cached) " >&6 46355else 46356 ac_check_lib_save_LIBS=$LIBS 46357LIBS="-lfvalue $LIBS" 46358cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46359/* end confdefs.h. */ 46360 46361/* Override any GCC internal prototype to avoid an error. 46362 Use char because int might match the return type of a GCC 46363 builtin and then its argument prototype would still apply. */ 46364#ifdef __cplusplus 46365extern "C" 46366#endif 46367char libfvalue_table_initialize (); 46368int 46369main () 46370{ 46371return libfvalue_table_initialize (); 46372 ; 46373 return 0; 46374} 46375_ACEOF 46376if ac_fn_c_try_link "$LINENO"; then : 46377 ac_cv_lib_fvalue_libfvalue_table_initialize=yes 46378else 46379 ac_cv_lib_fvalue_libfvalue_table_initialize=no 46380fi 46381rm -f core conftest.err conftest.$ac_objext \ 46382 conftest$ac_exeext conftest.$ac_ext 46383LIBS=$ac_check_lib_save_LIBS 46384fi 46385{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_table_initialize" >&5 46386$as_echo "$ac_cv_lib_fvalue_libfvalue_table_initialize" >&6; } 46387if test "x$ac_cv_lib_fvalue_libfvalue_table_initialize" = xyes; then : 46388 ac_cv_libfvalue_dummy=yes 46389else 46390 ac_cv_libfvalue=no 46391fi 46392 46393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_table_free in -lfvalue" >&5 46394$as_echo_n "checking for libfvalue_table_free in -lfvalue... " >&6; } 46395if ${ac_cv_lib_fvalue_libfvalue_table_free+:} false; then : 46396 $as_echo_n "(cached) " >&6 46397else 46398 ac_check_lib_save_LIBS=$LIBS 46399LIBS="-lfvalue $LIBS" 46400cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46401/* end confdefs.h. */ 46402 46403/* Override any GCC internal prototype to avoid an error. 46404 Use char because int might match the return type of a GCC 46405 builtin and then its argument prototype would still apply. */ 46406#ifdef __cplusplus 46407extern "C" 46408#endif 46409char libfvalue_table_free (); 46410int 46411main () 46412{ 46413return libfvalue_table_free (); 46414 ; 46415 return 0; 46416} 46417_ACEOF 46418if ac_fn_c_try_link "$LINENO"; then : 46419 ac_cv_lib_fvalue_libfvalue_table_free=yes 46420else 46421 ac_cv_lib_fvalue_libfvalue_table_free=no 46422fi 46423rm -f core conftest.err conftest.$ac_objext \ 46424 conftest$ac_exeext conftest.$ac_ext 46425LIBS=$ac_check_lib_save_LIBS 46426fi 46427{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_table_free" >&5 46428$as_echo "$ac_cv_lib_fvalue_libfvalue_table_free" >&6; } 46429if test "x$ac_cv_lib_fvalue_libfvalue_table_free" = xyes; then : 46430 ac_cv_libfvalue_dummy=yes 46431else 46432 ac_cv_libfvalue=no 46433fi 46434 46435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_table_resize in -lfvalue" >&5 46436$as_echo_n "checking for libfvalue_table_resize in -lfvalue... " >&6; } 46437if ${ac_cv_lib_fvalue_libfvalue_table_resize+:} false; then : 46438 $as_echo_n "(cached) " >&6 46439else 46440 ac_check_lib_save_LIBS=$LIBS 46441LIBS="-lfvalue $LIBS" 46442cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46443/* end confdefs.h. */ 46444 46445/* Override any GCC internal prototype to avoid an error. 46446 Use char because int might match the return type of a GCC 46447 builtin and then its argument prototype would still apply. */ 46448#ifdef __cplusplus 46449extern "C" 46450#endif 46451char libfvalue_table_resize (); 46452int 46453main () 46454{ 46455return libfvalue_table_resize (); 46456 ; 46457 return 0; 46458} 46459_ACEOF 46460if ac_fn_c_try_link "$LINENO"; then : 46461 ac_cv_lib_fvalue_libfvalue_table_resize=yes 46462else 46463 ac_cv_lib_fvalue_libfvalue_table_resize=no 46464fi 46465rm -f core conftest.err conftest.$ac_objext \ 46466 conftest$ac_exeext conftest.$ac_ext 46467LIBS=$ac_check_lib_save_LIBS 46468fi 46469{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_table_resize" >&5 46470$as_echo "$ac_cv_lib_fvalue_libfvalue_table_resize" >&6; } 46471if test "x$ac_cv_lib_fvalue_libfvalue_table_resize" = xyes; then : 46472 ac_cv_libfvalue_dummy=yes 46473else 46474 ac_cv_libfvalue=no 46475fi 46476 46477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_table_clone in -lfvalue" >&5 46478$as_echo_n "checking for libfvalue_table_clone in -lfvalue... " >&6; } 46479if ${ac_cv_lib_fvalue_libfvalue_table_clone+:} false; then : 46480 $as_echo_n "(cached) " >&6 46481else 46482 ac_check_lib_save_LIBS=$LIBS 46483LIBS="-lfvalue $LIBS" 46484cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46485/* end confdefs.h. */ 46486 46487/* Override any GCC internal prototype to avoid an error. 46488 Use char because int might match the return type of a GCC 46489 builtin and then its argument prototype would still apply. */ 46490#ifdef __cplusplus 46491extern "C" 46492#endif 46493char libfvalue_table_clone (); 46494int 46495main () 46496{ 46497return libfvalue_table_clone (); 46498 ; 46499 return 0; 46500} 46501_ACEOF 46502if ac_fn_c_try_link "$LINENO"; then : 46503 ac_cv_lib_fvalue_libfvalue_table_clone=yes 46504else 46505 ac_cv_lib_fvalue_libfvalue_table_clone=no 46506fi 46507rm -f core conftest.err conftest.$ac_objext \ 46508 conftest$ac_exeext conftest.$ac_ext 46509LIBS=$ac_check_lib_save_LIBS 46510fi 46511{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_table_clone" >&5 46512$as_echo "$ac_cv_lib_fvalue_libfvalue_table_clone" >&6; } 46513if test "x$ac_cv_lib_fvalue_libfvalue_table_clone" = xyes; then : 46514 ac_cv_libfvalue_dummy=yes 46515else 46516 ac_cv_libfvalue=no 46517fi 46518 46519 46520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_table_get_number_of_values in -lfvalue" >&5 46521$as_echo_n "checking for libfvalue_table_get_number_of_values in -lfvalue... " >&6; } 46522if ${ac_cv_lib_fvalue_libfvalue_table_get_number_of_values+:} false; then : 46523 $as_echo_n "(cached) " >&6 46524else 46525 ac_check_lib_save_LIBS=$LIBS 46526LIBS="-lfvalue $LIBS" 46527cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46528/* end confdefs.h. */ 46529 46530/* Override any GCC internal prototype to avoid an error. 46531 Use char because int might match the return type of a GCC 46532 builtin and then its argument prototype would still apply. */ 46533#ifdef __cplusplus 46534extern "C" 46535#endif 46536char libfvalue_table_get_number_of_values (); 46537int 46538main () 46539{ 46540return libfvalue_table_get_number_of_values (); 46541 ; 46542 return 0; 46543} 46544_ACEOF 46545if ac_fn_c_try_link "$LINENO"; then : 46546 ac_cv_lib_fvalue_libfvalue_table_get_number_of_values=yes 46547else 46548 ac_cv_lib_fvalue_libfvalue_table_get_number_of_values=no 46549fi 46550rm -f core conftest.err conftest.$ac_objext \ 46551 conftest$ac_exeext conftest.$ac_ext 46552LIBS=$ac_check_lib_save_LIBS 46553fi 46554{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_table_get_number_of_values" >&5 46555$as_echo "$ac_cv_lib_fvalue_libfvalue_table_get_number_of_values" >&6; } 46556if test "x$ac_cv_lib_fvalue_libfvalue_table_get_number_of_values" = xyes; then : 46557 ac_cv_libfvalue_dummy=yes 46558else 46559 ac_cv_libfvalue=no 46560fi 46561 46562 46563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_table_get_index_by_identifier in -lfvalue" >&5 46564$as_echo_n "checking for libfvalue_table_get_index_by_identifier in -lfvalue... " >&6; } 46565if ${ac_cv_lib_fvalue_libfvalue_table_get_index_by_identifier+:} false; then : 46566 $as_echo_n "(cached) " >&6 46567else 46568 ac_check_lib_save_LIBS=$LIBS 46569LIBS="-lfvalue $LIBS" 46570cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46571/* end confdefs.h. */ 46572 46573/* Override any GCC internal prototype to avoid an error. 46574 Use char because int might match the return type of a GCC 46575 builtin and then its argument prototype would still apply. */ 46576#ifdef __cplusplus 46577extern "C" 46578#endif 46579char libfvalue_table_get_index_by_identifier (); 46580int 46581main () 46582{ 46583return libfvalue_table_get_index_by_identifier (); 46584 ; 46585 return 0; 46586} 46587_ACEOF 46588if ac_fn_c_try_link "$LINENO"; then : 46589 ac_cv_lib_fvalue_libfvalue_table_get_index_by_identifier=yes 46590else 46591 ac_cv_lib_fvalue_libfvalue_table_get_index_by_identifier=no 46592fi 46593rm -f core conftest.err conftest.$ac_objext \ 46594 conftest$ac_exeext conftest.$ac_ext 46595LIBS=$ac_check_lib_save_LIBS 46596fi 46597{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_table_get_index_by_identifier" >&5 46598$as_echo "$ac_cv_lib_fvalue_libfvalue_table_get_index_by_identifier" >&6; } 46599if test "x$ac_cv_lib_fvalue_libfvalue_table_get_index_by_identifier" = xyes; then : 46600 ac_cv_libfvalue_dummy=yes 46601else 46602 ac_cv_libfvalue=no 46603fi 46604 46605 46606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_table_get_value_by_index in -lfvalue" >&5 46607$as_echo_n "checking for libfvalue_table_get_value_by_index in -lfvalue... " >&6; } 46608if ${ac_cv_lib_fvalue_libfvalue_table_get_value_by_index+:} false; then : 46609 $as_echo_n "(cached) " >&6 46610else 46611 ac_check_lib_save_LIBS=$LIBS 46612LIBS="-lfvalue $LIBS" 46613cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46614/* end confdefs.h. */ 46615 46616/* Override any GCC internal prototype to avoid an error. 46617 Use char because int might match the return type of a GCC 46618 builtin and then its argument prototype would still apply. */ 46619#ifdef __cplusplus 46620extern "C" 46621#endif 46622char libfvalue_table_get_value_by_index (); 46623int 46624main () 46625{ 46626return libfvalue_table_get_value_by_index (); 46627 ; 46628 return 0; 46629} 46630_ACEOF 46631if ac_fn_c_try_link "$LINENO"; then : 46632 ac_cv_lib_fvalue_libfvalue_table_get_value_by_index=yes 46633else 46634 ac_cv_lib_fvalue_libfvalue_table_get_value_by_index=no 46635fi 46636rm -f core conftest.err conftest.$ac_objext \ 46637 conftest$ac_exeext conftest.$ac_ext 46638LIBS=$ac_check_lib_save_LIBS 46639fi 46640{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_table_get_value_by_index" >&5 46641$as_echo "$ac_cv_lib_fvalue_libfvalue_table_get_value_by_index" >&6; } 46642if test "x$ac_cv_lib_fvalue_libfvalue_table_get_value_by_index" = xyes; then : 46643 ac_cv_libfvalue_dummy=yes 46644else 46645 ac_cv_libfvalue=no 46646fi 46647 46648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_table_get_value_by_identifier in -lfvalue" >&5 46649$as_echo_n "checking for libfvalue_table_get_value_by_identifier in -lfvalue... " >&6; } 46650if ${ac_cv_lib_fvalue_libfvalue_table_get_value_by_identifier+:} false; then : 46651 $as_echo_n "(cached) " >&6 46652else 46653 ac_check_lib_save_LIBS=$LIBS 46654LIBS="-lfvalue $LIBS" 46655cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46656/* end confdefs.h. */ 46657 46658/* Override any GCC internal prototype to avoid an error. 46659 Use char because int might match the return type of a GCC 46660 builtin and then its argument prototype would still apply. */ 46661#ifdef __cplusplus 46662extern "C" 46663#endif 46664char libfvalue_table_get_value_by_identifier (); 46665int 46666main () 46667{ 46668return libfvalue_table_get_value_by_identifier (); 46669 ; 46670 return 0; 46671} 46672_ACEOF 46673if ac_fn_c_try_link "$LINENO"; then : 46674 ac_cv_lib_fvalue_libfvalue_table_get_value_by_identifier=yes 46675else 46676 ac_cv_lib_fvalue_libfvalue_table_get_value_by_identifier=no 46677fi 46678rm -f core conftest.err conftest.$ac_objext \ 46679 conftest$ac_exeext conftest.$ac_ext 46680LIBS=$ac_check_lib_save_LIBS 46681fi 46682{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_table_get_value_by_identifier" >&5 46683$as_echo "$ac_cv_lib_fvalue_libfvalue_table_get_value_by_identifier" >&6; } 46684if test "x$ac_cv_lib_fvalue_libfvalue_table_get_value_by_identifier" = xyes; then : 46685 ac_cv_libfvalue_dummy=yes 46686else 46687 ac_cv_libfvalue=no 46688fi 46689 46690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_table_set_value_by_index in -lfvalue" >&5 46691$as_echo_n "checking for libfvalue_table_set_value_by_index in -lfvalue... " >&6; } 46692if ${ac_cv_lib_fvalue_libfvalue_table_set_value_by_index+:} false; then : 46693 $as_echo_n "(cached) " >&6 46694else 46695 ac_check_lib_save_LIBS=$LIBS 46696LIBS="-lfvalue $LIBS" 46697cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46698/* end confdefs.h. */ 46699 46700/* Override any GCC internal prototype to avoid an error. 46701 Use char because int might match the return type of a GCC 46702 builtin and then its argument prototype would still apply. */ 46703#ifdef __cplusplus 46704extern "C" 46705#endif 46706char libfvalue_table_set_value_by_index (); 46707int 46708main () 46709{ 46710return libfvalue_table_set_value_by_index (); 46711 ; 46712 return 0; 46713} 46714_ACEOF 46715if ac_fn_c_try_link "$LINENO"; then : 46716 ac_cv_lib_fvalue_libfvalue_table_set_value_by_index=yes 46717else 46718 ac_cv_lib_fvalue_libfvalue_table_set_value_by_index=no 46719fi 46720rm -f core conftest.err conftest.$ac_objext \ 46721 conftest$ac_exeext conftest.$ac_ext 46722LIBS=$ac_check_lib_save_LIBS 46723fi 46724{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_table_set_value_by_index" >&5 46725$as_echo "$ac_cv_lib_fvalue_libfvalue_table_set_value_by_index" >&6; } 46726if test "x$ac_cv_lib_fvalue_libfvalue_table_set_value_by_index" = xyes; then : 46727 ac_cv_libfvalue_dummy=yes 46728else 46729 ac_cv_libfvalue=no 46730fi 46731 46732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_table_set_value in -lfvalue" >&5 46733$as_echo_n "checking for libfvalue_table_set_value in -lfvalue... " >&6; } 46734if ${ac_cv_lib_fvalue_libfvalue_table_set_value+:} false; then : 46735 $as_echo_n "(cached) " >&6 46736else 46737 ac_check_lib_save_LIBS=$LIBS 46738LIBS="-lfvalue $LIBS" 46739cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46740/* end confdefs.h. */ 46741 46742/* Override any GCC internal prototype to avoid an error. 46743 Use char because int might match the return type of a GCC 46744 builtin and then its argument prototype would still apply. */ 46745#ifdef __cplusplus 46746extern "C" 46747#endif 46748char libfvalue_table_set_value (); 46749int 46750main () 46751{ 46752return libfvalue_table_set_value (); 46753 ; 46754 return 0; 46755} 46756_ACEOF 46757if ac_fn_c_try_link "$LINENO"; then : 46758 ac_cv_lib_fvalue_libfvalue_table_set_value=yes 46759else 46760 ac_cv_lib_fvalue_libfvalue_table_set_value=no 46761fi 46762rm -f core conftest.err conftest.$ac_objext \ 46763 conftest$ac_exeext conftest.$ac_ext 46764LIBS=$ac_check_lib_save_LIBS 46765fi 46766{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_table_set_value" >&5 46767$as_echo "$ac_cv_lib_fvalue_libfvalue_table_set_value" >&6; } 46768if test "x$ac_cv_lib_fvalue_libfvalue_table_set_value" = xyes; then : 46769 ac_cv_libfvalue_dummy=yes 46770else 46771 ac_cv_libfvalue=no 46772fi 46773 46774 46775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_table_copy_from_utf8_xml_string in -lfvalue" >&5 46776$as_echo_n "checking for libfvalue_table_copy_from_utf8_xml_string in -lfvalue... " >&6; } 46777if ${ac_cv_lib_fvalue_libfvalue_table_copy_from_utf8_xml_string+:} false; then : 46778 $as_echo_n "(cached) " >&6 46779else 46780 ac_check_lib_save_LIBS=$LIBS 46781LIBS="-lfvalue $LIBS" 46782cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46783/* end confdefs.h. */ 46784 46785/* Override any GCC internal prototype to avoid an error. 46786 Use char because int might match the return type of a GCC 46787 builtin and then its argument prototype would still apply. */ 46788#ifdef __cplusplus 46789extern "C" 46790#endif 46791char libfvalue_table_copy_from_utf8_xml_string (); 46792int 46793main () 46794{ 46795return libfvalue_table_copy_from_utf8_xml_string (); 46796 ; 46797 return 0; 46798} 46799_ACEOF 46800if ac_fn_c_try_link "$LINENO"; then : 46801 ac_cv_lib_fvalue_libfvalue_table_copy_from_utf8_xml_string=yes 46802else 46803 ac_cv_lib_fvalue_libfvalue_table_copy_from_utf8_xml_string=no 46804fi 46805rm -f core conftest.err conftest.$ac_objext \ 46806 conftest$ac_exeext conftest.$ac_ext 46807LIBS=$ac_check_lib_save_LIBS 46808fi 46809{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_table_copy_from_utf8_xml_string" >&5 46810$as_echo "$ac_cv_lib_fvalue_libfvalue_table_copy_from_utf8_xml_string" >&6; } 46811if test "x$ac_cv_lib_fvalue_libfvalue_table_copy_from_utf8_xml_string" = xyes; then : 46812 ac_cv_libfvalue_dummy=yes 46813else 46814 ac_cv_libfvalue=no 46815fi 46816 46817 46818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_initialize in -lfvalue" >&5 46819$as_echo_n "checking for libfvalue_value_initialize in -lfvalue... " >&6; } 46820if ${ac_cv_lib_fvalue_libfvalue_value_initialize+:} false; then : 46821 $as_echo_n "(cached) " >&6 46822else 46823 ac_check_lib_save_LIBS=$LIBS 46824LIBS="-lfvalue $LIBS" 46825cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46826/* end confdefs.h. */ 46827 46828/* Override any GCC internal prototype to avoid an error. 46829 Use char because int might match the return type of a GCC 46830 builtin and then its argument prototype would still apply. */ 46831#ifdef __cplusplus 46832extern "C" 46833#endif 46834char libfvalue_value_initialize (); 46835int 46836main () 46837{ 46838return libfvalue_value_initialize (); 46839 ; 46840 return 0; 46841} 46842_ACEOF 46843if ac_fn_c_try_link "$LINENO"; then : 46844 ac_cv_lib_fvalue_libfvalue_value_initialize=yes 46845else 46846 ac_cv_lib_fvalue_libfvalue_value_initialize=no 46847fi 46848rm -f core conftest.err conftest.$ac_objext \ 46849 conftest$ac_exeext conftest.$ac_ext 46850LIBS=$ac_check_lib_save_LIBS 46851fi 46852{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_initialize" >&5 46853$as_echo "$ac_cv_lib_fvalue_libfvalue_value_initialize" >&6; } 46854if test "x$ac_cv_lib_fvalue_libfvalue_value_initialize" = xyes; then : 46855 ac_cv_libfvalue_dummy=yes 46856else 46857 ac_cv_libfvalue=no 46858fi 46859 46860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_free in -lfvalue" >&5 46861$as_echo_n "checking for libfvalue_value_free in -lfvalue... " >&6; } 46862if ${ac_cv_lib_fvalue_libfvalue_value_free+:} false; then : 46863 $as_echo_n "(cached) " >&6 46864else 46865 ac_check_lib_save_LIBS=$LIBS 46866LIBS="-lfvalue $LIBS" 46867cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46868/* end confdefs.h. */ 46869 46870/* Override any GCC internal prototype to avoid an error. 46871 Use char because int might match the return type of a GCC 46872 builtin and then its argument prototype would still apply. */ 46873#ifdef __cplusplus 46874extern "C" 46875#endif 46876char libfvalue_value_free (); 46877int 46878main () 46879{ 46880return libfvalue_value_free (); 46881 ; 46882 return 0; 46883} 46884_ACEOF 46885if ac_fn_c_try_link "$LINENO"; then : 46886 ac_cv_lib_fvalue_libfvalue_value_free=yes 46887else 46888 ac_cv_lib_fvalue_libfvalue_value_free=no 46889fi 46890rm -f core conftest.err conftest.$ac_objext \ 46891 conftest$ac_exeext conftest.$ac_ext 46892LIBS=$ac_check_lib_save_LIBS 46893fi 46894{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_free" >&5 46895$as_echo "$ac_cv_lib_fvalue_libfvalue_value_free" >&6; } 46896if test "x$ac_cv_lib_fvalue_libfvalue_value_free" = xyes; then : 46897 ac_cv_libfvalue_dummy=yes 46898else 46899 ac_cv_libfvalue=no 46900fi 46901 46902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_clone in -lfvalue" >&5 46903$as_echo_n "checking for libfvalue_value_clone in -lfvalue... " >&6; } 46904if ${ac_cv_lib_fvalue_libfvalue_value_clone+:} false; then : 46905 $as_echo_n "(cached) " >&6 46906else 46907 ac_check_lib_save_LIBS=$LIBS 46908LIBS="-lfvalue $LIBS" 46909cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46910/* end confdefs.h. */ 46911 46912/* Override any GCC internal prototype to avoid an error. 46913 Use char because int might match the return type of a GCC 46914 builtin and then its argument prototype would still apply. */ 46915#ifdef __cplusplus 46916extern "C" 46917#endif 46918char libfvalue_value_clone (); 46919int 46920main () 46921{ 46922return libfvalue_value_clone (); 46923 ; 46924 return 0; 46925} 46926_ACEOF 46927if ac_fn_c_try_link "$LINENO"; then : 46928 ac_cv_lib_fvalue_libfvalue_value_clone=yes 46929else 46930 ac_cv_lib_fvalue_libfvalue_value_clone=no 46931fi 46932rm -f core conftest.err conftest.$ac_objext \ 46933 conftest$ac_exeext conftest.$ac_ext 46934LIBS=$ac_check_lib_save_LIBS 46935fi 46936{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_clone" >&5 46937$as_echo "$ac_cv_lib_fvalue_libfvalue_value_clone" >&6; } 46938if test "x$ac_cv_lib_fvalue_libfvalue_value_clone" = xyes; then : 46939 ac_cv_libfvalue_dummy=yes 46940else 46941 ac_cv_libfvalue=no 46942fi 46943 46944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_clear in -lfvalue" >&5 46945$as_echo_n "checking for libfvalue_value_clear in -lfvalue... " >&6; } 46946if ${ac_cv_lib_fvalue_libfvalue_value_clear+:} false; then : 46947 $as_echo_n "(cached) " >&6 46948else 46949 ac_check_lib_save_LIBS=$LIBS 46950LIBS="-lfvalue $LIBS" 46951cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46952/* end confdefs.h. */ 46953 46954/* Override any GCC internal prototype to avoid an error. 46955 Use char because int might match the return type of a GCC 46956 builtin and then its argument prototype would still apply. */ 46957#ifdef __cplusplus 46958extern "C" 46959#endif 46960char libfvalue_value_clear (); 46961int 46962main () 46963{ 46964return libfvalue_value_clear (); 46965 ; 46966 return 0; 46967} 46968_ACEOF 46969if ac_fn_c_try_link "$LINENO"; then : 46970 ac_cv_lib_fvalue_libfvalue_value_clear=yes 46971else 46972 ac_cv_lib_fvalue_libfvalue_value_clear=no 46973fi 46974rm -f core conftest.err conftest.$ac_objext \ 46975 conftest$ac_exeext conftest.$ac_ext 46976LIBS=$ac_check_lib_save_LIBS 46977fi 46978{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_clear" >&5 46979$as_echo "$ac_cv_lib_fvalue_libfvalue_value_clear" >&6; } 46980if test "x$ac_cv_lib_fvalue_libfvalue_value_clear" = xyes; then : 46981 ac_cv_libfvalue_dummy=yes 46982else 46983 ac_cv_libfvalue=no 46984fi 46985 46986 46987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_get_type in -lfvalue" >&5 46988$as_echo_n "checking for libfvalue_value_get_type in -lfvalue... " >&6; } 46989if ${ac_cv_lib_fvalue_libfvalue_value_get_type+:} false; then : 46990 $as_echo_n "(cached) " >&6 46991else 46992 ac_check_lib_save_LIBS=$LIBS 46993LIBS="-lfvalue $LIBS" 46994cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46995/* end confdefs.h. */ 46996 46997/* Override any GCC internal prototype to avoid an error. 46998 Use char because int might match the return type of a GCC 46999 builtin and then its argument prototype would still apply. */ 47000#ifdef __cplusplus 47001extern "C" 47002#endif 47003char libfvalue_value_get_type (); 47004int 47005main () 47006{ 47007return libfvalue_value_get_type (); 47008 ; 47009 return 0; 47010} 47011_ACEOF 47012if ac_fn_c_try_link "$LINENO"; then : 47013 ac_cv_lib_fvalue_libfvalue_value_get_type=yes 47014else 47015 ac_cv_lib_fvalue_libfvalue_value_get_type=no 47016fi 47017rm -f core conftest.err conftest.$ac_objext \ 47018 conftest$ac_exeext conftest.$ac_ext 47019LIBS=$ac_check_lib_save_LIBS 47020fi 47021{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_get_type" >&5 47022$as_echo "$ac_cv_lib_fvalue_libfvalue_value_get_type" >&6; } 47023if test "x$ac_cv_lib_fvalue_libfvalue_value_get_type" = xyes; then : 47024 ac_cv_libfvalue_dummy=yes 47025else 47026 ac_cv_libfvalue=no 47027fi 47028 47029 47030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_get_identifier in -lfvalue" >&5 47031$as_echo_n "checking for libfvalue_value_get_identifier in -lfvalue... " >&6; } 47032if ${ac_cv_lib_fvalue_libfvalue_value_get_identifier+:} false; then : 47033 $as_echo_n "(cached) " >&6 47034else 47035 ac_check_lib_save_LIBS=$LIBS 47036LIBS="-lfvalue $LIBS" 47037cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47038/* end confdefs.h. */ 47039 47040/* Override any GCC internal prototype to avoid an error. 47041 Use char because int might match the return type of a GCC 47042 builtin and then its argument prototype would still apply. */ 47043#ifdef __cplusplus 47044extern "C" 47045#endif 47046char libfvalue_value_get_identifier (); 47047int 47048main () 47049{ 47050return libfvalue_value_get_identifier (); 47051 ; 47052 return 0; 47053} 47054_ACEOF 47055if ac_fn_c_try_link "$LINENO"; then : 47056 ac_cv_lib_fvalue_libfvalue_value_get_identifier=yes 47057else 47058 ac_cv_lib_fvalue_libfvalue_value_get_identifier=no 47059fi 47060rm -f core conftest.err conftest.$ac_objext \ 47061 conftest$ac_exeext conftest.$ac_ext 47062LIBS=$ac_check_lib_save_LIBS 47063fi 47064{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_get_identifier" >&5 47065$as_echo "$ac_cv_lib_fvalue_libfvalue_value_get_identifier" >&6; } 47066if test "x$ac_cv_lib_fvalue_libfvalue_value_get_identifier" = xyes; then : 47067 ac_cv_libfvalue_dummy=yes 47068else 47069 ac_cv_libfvalue=no 47070fi 47071 47072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_set_identifier in -lfvalue" >&5 47073$as_echo_n "checking for libfvalue_value_set_identifier in -lfvalue... " >&6; } 47074if ${ac_cv_lib_fvalue_libfvalue_value_set_identifier+:} false; then : 47075 $as_echo_n "(cached) " >&6 47076else 47077 ac_check_lib_save_LIBS=$LIBS 47078LIBS="-lfvalue $LIBS" 47079cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47080/* end confdefs.h. */ 47081 47082/* Override any GCC internal prototype to avoid an error. 47083 Use char because int might match the return type of a GCC 47084 builtin and then its argument prototype would still apply. */ 47085#ifdef __cplusplus 47086extern "C" 47087#endif 47088char libfvalue_value_set_identifier (); 47089int 47090main () 47091{ 47092return libfvalue_value_set_identifier (); 47093 ; 47094 return 0; 47095} 47096_ACEOF 47097if ac_fn_c_try_link "$LINENO"; then : 47098 ac_cv_lib_fvalue_libfvalue_value_set_identifier=yes 47099else 47100 ac_cv_lib_fvalue_libfvalue_value_set_identifier=no 47101fi 47102rm -f core conftest.err conftest.$ac_objext \ 47103 conftest$ac_exeext conftest.$ac_ext 47104LIBS=$ac_check_lib_save_LIBS 47105fi 47106{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_set_identifier" >&5 47107$as_echo "$ac_cv_lib_fvalue_libfvalue_value_set_identifier" >&6; } 47108if test "x$ac_cv_lib_fvalue_libfvalue_value_set_identifier" = xyes; then : 47109 ac_cv_libfvalue_dummy=yes 47110else 47111 ac_cv_libfvalue=no 47112fi 47113 47114 47115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_get_data_handle in -lfvalue" >&5 47116$as_echo_n "checking for libfvalue_value_get_data_handle in -lfvalue... " >&6; } 47117if ${ac_cv_lib_fvalue_libfvalue_value_get_data_handle+:} false; then : 47118 $as_echo_n "(cached) " >&6 47119else 47120 ac_check_lib_save_LIBS=$LIBS 47121LIBS="-lfvalue $LIBS" 47122cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47123/* end confdefs.h. */ 47124 47125/* Override any GCC internal prototype to avoid an error. 47126 Use char because int might match the return type of a GCC 47127 builtin and then its argument prototype would still apply. */ 47128#ifdef __cplusplus 47129extern "C" 47130#endif 47131char libfvalue_value_get_data_handle (); 47132int 47133main () 47134{ 47135return libfvalue_value_get_data_handle (); 47136 ; 47137 return 0; 47138} 47139_ACEOF 47140if ac_fn_c_try_link "$LINENO"; then : 47141 ac_cv_lib_fvalue_libfvalue_value_get_data_handle=yes 47142else 47143 ac_cv_lib_fvalue_libfvalue_value_get_data_handle=no 47144fi 47145rm -f core conftest.err conftest.$ac_objext \ 47146 conftest$ac_exeext conftest.$ac_ext 47147LIBS=$ac_check_lib_save_LIBS 47148fi 47149{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_get_data_handle" >&5 47150$as_echo "$ac_cv_lib_fvalue_libfvalue_value_get_data_handle" >&6; } 47151if test "x$ac_cv_lib_fvalue_libfvalue_value_get_data_handle" = xyes; then : 47152 ac_cv_libfvalue_dummy=yes 47153else 47154 ac_cv_libfvalue=no 47155fi 47156 47157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_has_data in -lfvalue" >&5 47158$as_echo_n "checking for libfvalue_value_has_data in -lfvalue... " >&6; } 47159if ${ac_cv_lib_fvalue_libfvalue_value_has_data+:} false; then : 47160 $as_echo_n "(cached) " >&6 47161else 47162 ac_check_lib_save_LIBS=$LIBS 47163LIBS="-lfvalue $LIBS" 47164cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47165/* end confdefs.h. */ 47166 47167/* Override any GCC internal prototype to avoid an error. 47168 Use char because int might match the return type of a GCC 47169 builtin and then its argument prototype would still apply. */ 47170#ifdef __cplusplus 47171extern "C" 47172#endif 47173char libfvalue_value_has_data (); 47174int 47175main () 47176{ 47177return libfvalue_value_has_data (); 47178 ; 47179 return 0; 47180} 47181_ACEOF 47182if ac_fn_c_try_link "$LINENO"; then : 47183 ac_cv_lib_fvalue_libfvalue_value_has_data=yes 47184else 47185 ac_cv_lib_fvalue_libfvalue_value_has_data=no 47186fi 47187rm -f core conftest.err conftest.$ac_objext \ 47188 conftest$ac_exeext conftest.$ac_ext 47189LIBS=$ac_check_lib_save_LIBS 47190fi 47191{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_has_data" >&5 47192$as_echo "$ac_cv_lib_fvalue_libfvalue_value_has_data" >&6; } 47193if test "x$ac_cv_lib_fvalue_libfvalue_value_has_data" = xyes; then : 47194 ac_cv_libfvalue_dummy=yes 47195else 47196 ac_cv_libfvalue=no 47197fi 47198 47199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_get_data_size in -lfvalue" >&5 47200$as_echo_n "checking for libfvalue_value_get_data_size in -lfvalue... " >&6; } 47201if ${ac_cv_lib_fvalue_libfvalue_value_get_data_size+:} false; then : 47202 $as_echo_n "(cached) " >&6 47203else 47204 ac_check_lib_save_LIBS=$LIBS 47205LIBS="-lfvalue $LIBS" 47206cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47207/* end confdefs.h. */ 47208 47209/* Override any GCC internal prototype to avoid an error. 47210 Use char because int might match the return type of a GCC 47211 builtin and then its argument prototype would still apply. */ 47212#ifdef __cplusplus 47213extern "C" 47214#endif 47215char libfvalue_value_get_data_size (); 47216int 47217main () 47218{ 47219return libfvalue_value_get_data_size (); 47220 ; 47221 return 0; 47222} 47223_ACEOF 47224if ac_fn_c_try_link "$LINENO"; then : 47225 ac_cv_lib_fvalue_libfvalue_value_get_data_size=yes 47226else 47227 ac_cv_lib_fvalue_libfvalue_value_get_data_size=no 47228fi 47229rm -f core conftest.err conftest.$ac_objext \ 47230 conftest$ac_exeext conftest.$ac_ext 47231LIBS=$ac_check_lib_save_LIBS 47232fi 47233{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_get_data_size" >&5 47234$as_echo "$ac_cv_lib_fvalue_libfvalue_value_get_data_size" >&6; } 47235if test "x$ac_cv_lib_fvalue_libfvalue_value_get_data_size" = xyes; then : 47236 ac_cv_libfvalue_dummy=yes 47237else 47238 ac_cv_libfvalue=no 47239fi 47240 47241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_get_data in -lfvalue" >&5 47242$as_echo_n "checking for libfvalue_value_get_data in -lfvalue... " >&6; } 47243if ${ac_cv_lib_fvalue_libfvalue_value_get_data+:} false; then : 47244 $as_echo_n "(cached) " >&6 47245else 47246 ac_check_lib_save_LIBS=$LIBS 47247LIBS="-lfvalue $LIBS" 47248cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47249/* end confdefs.h. */ 47250 47251/* Override any GCC internal prototype to avoid an error. 47252 Use char because int might match the return type of a GCC 47253 builtin and then its argument prototype would still apply. */ 47254#ifdef __cplusplus 47255extern "C" 47256#endif 47257char libfvalue_value_get_data (); 47258int 47259main () 47260{ 47261return libfvalue_value_get_data (); 47262 ; 47263 return 0; 47264} 47265_ACEOF 47266if ac_fn_c_try_link "$LINENO"; then : 47267 ac_cv_lib_fvalue_libfvalue_value_get_data=yes 47268else 47269 ac_cv_lib_fvalue_libfvalue_value_get_data=no 47270fi 47271rm -f core conftest.err conftest.$ac_objext \ 47272 conftest$ac_exeext conftest.$ac_ext 47273LIBS=$ac_check_lib_save_LIBS 47274fi 47275{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_get_data" >&5 47276$as_echo "$ac_cv_lib_fvalue_libfvalue_value_get_data" >&6; } 47277if test "x$ac_cv_lib_fvalue_libfvalue_value_get_data" = xyes; then : 47278 ac_cv_libfvalue_dummy=yes 47279else 47280 ac_cv_libfvalue=no 47281fi 47282 47283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_set_data in -lfvalue" >&5 47284$as_echo_n "checking for libfvalue_value_set_data in -lfvalue... " >&6; } 47285if ${ac_cv_lib_fvalue_libfvalue_value_set_data+:} false; then : 47286 $as_echo_n "(cached) " >&6 47287else 47288 ac_check_lib_save_LIBS=$LIBS 47289LIBS="-lfvalue $LIBS" 47290cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47291/* end confdefs.h. */ 47292 47293/* Override any GCC internal prototype to avoid an error. 47294 Use char because int might match the return type of a GCC 47295 builtin and then its argument prototype would still apply. */ 47296#ifdef __cplusplus 47297extern "C" 47298#endif 47299char libfvalue_value_set_data (); 47300int 47301main () 47302{ 47303return libfvalue_value_set_data (); 47304 ; 47305 return 0; 47306} 47307_ACEOF 47308if ac_fn_c_try_link "$LINENO"; then : 47309 ac_cv_lib_fvalue_libfvalue_value_set_data=yes 47310else 47311 ac_cv_lib_fvalue_libfvalue_value_set_data=no 47312fi 47313rm -f core conftest.err conftest.$ac_objext \ 47314 conftest$ac_exeext conftest.$ac_ext 47315LIBS=$ac_check_lib_save_LIBS 47316fi 47317{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_set_data" >&5 47318$as_echo "$ac_cv_lib_fvalue_libfvalue_value_set_data" >&6; } 47319if test "x$ac_cv_lib_fvalue_libfvalue_value_set_data" = xyes; then : 47320 ac_cv_libfvalue_dummy=yes 47321else 47322 ac_cv_libfvalue=no 47323fi 47324 47325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_data in -lfvalue" >&5 47326$as_echo_n "checking for libfvalue_value_copy_data in -lfvalue... " >&6; } 47327if ${ac_cv_lib_fvalue_libfvalue_value_copy_data+:} false; then : 47328 $as_echo_n "(cached) " >&6 47329else 47330 ac_check_lib_save_LIBS=$LIBS 47331LIBS="-lfvalue $LIBS" 47332cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47333/* end confdefs.h. */ 47334 47335/* Override any GCC internal prototype to avoid an error. 47336 Use char because int might match the return type of a GCC 47337 builtin and then its argument prototype would still apply. */ 47338#ifdef __cplusplus 47339extern "C" 47340#endif 47341char libfvalue_value_copy_data (); 47342int 47343main () 47344{ 47345return libfvalue_value_copy_data (); 47346 ; 47347 return 0; 47348} 47349_ACEOF 47350if ac_fn_c_try_link "$LINENO"; then : 47351 ac_cv_lib_fvalue_libfvalue_value_copy_data=yes 47352else 47353 ac_cv_lib_fvalue_libfvalue_value_copy_data=no 47354fi 47355rm -f core conftest.err conftest.$ac_objext \ 47356 conftest$ac_exeext conftest.$ac_ext 47357LIBS=$ac_check_lib_save_LIBS 47358fi 47359{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_data" >&5 47360$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_data" >&6; } 47361if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_data" = xyes; then : 47362 ac_cv_libfvalue_dummy=yes 47363else 47364 ac_cv_libfvalue=no 47365fi 47366 47367 47368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_get_format_flags in -lfvalue" >&5 47369$as_echo_n "checking for libfvalue_value_get_format_flags in -lfvalue... " >&6; } 47370if ${ac_cv_lib_fvalue_libfvalue_value_get_format_flags+:} false; then : 47371 $as_echo_n "(cached) " >&6 47372else 47373 ac_check_lib_save_LIBS=$LIBS 47374LIBS="-lfvalue $LIBS" 47375cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47376/* end confdefs.h. */ 47377 47378/* Override any GCC internal prototype to avoid an error. 47379 Use char because int might match the return type of a GCC 47380 builtin and then its argument prototype would still apply. */ 47381#ifdef __cplusplus 47382extern "C" 47383#endif 47384char libfvalue_value_get_format_flags (); 47385int 47386main () 47387{ 47388return libfvalue_value_get_format_flags (); 47389 ; 47390 return 0; 47391} 47392_ACEOF 47393if ac_fn_c_try_link "$LINENO"; then : 47394 ac_cv_lib_fvalue_libfvalue_value_get_format_flags=yes 47395else 47396 ac_cv_lib_fvalue_libfvalue_value_get_format_flags=no 47397fi 47398rm -f core conftest.err conftest.$ac_objext \ 47399 conftest$ac_exeext conftest.$ac_ext 47400LIBS=$ac_check_lib_save_LIBS 47401fi 47402{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_get_format_flags" >&5 47403$as_echo "$ac_cv_lib_fvalue_libfvalue_value_get_format_flags" >&6; } 47404if test "x$ac_cv_lib_fvalue_libfvalue_value_get_format_flags" = xyes; then : 47405 ac_cv_libfvalue_dummy=yes 47406else 47407 ac_cv_libfvalue=no 47408fi 47409 47410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_set_format_flags in -lfvalue" >&5 47411$as_echo_n "checking for libfvalue_value_set_format_flags in -lfvalue... " >&6; } 47412if ${ac_cv_lib_fvalue_libfvalue_value_set_format_flags+:} false; then : 47413 $as_echo_n "(cached) " >&6 47414else 47415 ac_check_lib_save_LIBS=$LIBS 47416LIBS="-lfvalue $LIBS" 47417cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47418/* end confdefs.h. */ 47419 47420/* Override any GCC internal prototype to avoid an error. 47421 Use char because int might match the return type of a GCC 47422 builtin and then its argument prototype would still apply. */ 47423#ifdef __cplusplus 47424extern "C" 47425#endif 47426char libfvalue_value_set_format_flags (); 47427int 47428main () 47429{ 47430return libfvalue_value_set_format_flags (); 47431 ; 47432 return 0; 47433} 47434_ACEOF 47435if ac_fn_c_try_link "$LINENO"; then : 47436 ac_cv_lib_fvalue_libfvalue_value_set_format_flags=yes 47437else 47438 ac_cv_lib_fvalue_libfvalue_value_set_format_flags=no 47439fi 47440rm -f core conftest.err conftest.$ac_objext \ 47441 conftest$ac_exeext conftest.$ac_ext 47442LIBS=$ac_check_lib_save_LIBS 47443fi 47444{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_set_format_flags" >&5 47445$as_echo "$ac_cv_lib_fvalue_libfvalue_value_set_format_flags" >&6; } 47446if test "x$ac_cv_lib_fvalue_libfvalue_value_set_format_flags" = xyes; then : 47447 ac_cv_libfvalue_dummy=yes 47448else 47449 ac_cv_libfvalue=no 47450fi 47451 47452 47453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_get_number_of_value_entries in -lfvalue" >&5 47454$as_echo_n "checking for libfvalue_value_get_number_of_value_entries in -lfvalue... " >&6; } 47455if ${ac_cv_lib_fvalue_libfvalue_value_get_number_of_value_entries+:} false; then : 47456 $as_echo_n "(cached) " >&6 47457else 47458 ac_check_lib_save_LIBS=$LIBS 47459LIBS="-lfvalue $LIBS" 47460cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47461/* end confdefs.h. */ 47462 47463/* Override any GCC internal prototype to avoid an error. 47464 Use char because int might match the return type of a GCC 47465 builtin and then its argument prototype would still apply. */ 47466#ifdef __cplusplus 47467extern "C" 47468#endif 47469char libfvalue_value_get_number_of_value_entries (); 47470int 47471main () 47472{ 47473return libfvalue_value_get_number_of_value_entries (); 47474 ; 47475 return 0; 47476} 47477_ACEOF 47478if ac_fn_c_try_link "$LINENO"; then : 47479 ac_cv_lib_fvalue_libfvalue_value_get_number_of_value_entries=yes 47480else 47481 ac_cv_lib_fvalue_libfvalue_value_get_number_of_value_entries=no 47482fi 47483rm -f core conftest.err conftest.$ac_objext \ 47484 conftest$ac_exeext conftest.$ac_ext 47485LIBS=$ac_check_lib_save_LIBS 47486fi 47487{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_get_number_of_value_entries" >&5 47488$as_echo "$ac_cv_lib_fvalue_libfvalue_value_get_number_of_value_entries" >&6; } 47489if test "x$ac_cv_lib_fvalue_libfvalue_value_get_number_of_value_entries" = xyes; then : 47490 ac_cv_libfvalue_dummy=yes 47491else 47492 ac_cv_libfvalue=no 47493fi 47494 47495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_get_value_entry in -lfvalue" >&5 47496$as_echo_n "checking for libfvalue_value_get_value_entry in -lfvalue... " >&6; } 47497if ${ac_cv_lib_fvalue_libfvalue_value_get_value_entry+:} false; then : 47498 $as_echo_n "(cached) " >&6 47499else 47500 ac_check_lib_save_LIBS=$LIBS 47501LIBS="-lfvalue $LIBS" 47502cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47503/* end confdefs.h. */ 47504 47505/* Override any GCC internal prototype to avoid an error. 47506 Use char because int might match the return type of a GCC 47507 builtin and then its argument prototype would still apply. */ 47508#ifdef __cplusplus 47509extern "C" 47510#endif 47511char libfvalue_value_get_value_entry (); 47512int 47513main () 47514{ 47515return libfvalue_value_get_value_entry (); 47516 ; 47517 return 0; 47518} 47519_ACEOF 47520if ac_fn_c_try_link "$LINENO"; then : 47521 ac_cv_lib_fvalue_libfvalue_value_get_value_entry=yes 47522else 47523 ac_cv_lib_fvalue_libfvalue_value_get_value_entry=no 47524fi 47525rm -f core conftest.err conftest.$ac_objext \ 47526 conftest$ac_exeext conftest.$ac_ext 47527LIBS=$ac_check_lib_save_LIBS 47528fi 47529{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_get_value_entry" >&5 47530$as_echo "$ac_cv_lib_fvalue_libfvalue_value_get_value_entry" >&6; } 47531if test "x$ac_cv_lib_fvalue_libfvalue_value_get_value_entry" = xyes; then : 47532 ac_cv_libfvalue_dummy=yes 47533else 47534 ac_cv_libfvalue=no 47535fi 47536 47537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_set_value_entry in -lfvalue" >&5 47538$as_echo_n "checking for libfvalue_value_set_value_entry in -lfvalue... " >&6; } 47539if ${ac_cv_lib_fvalue_libfvalue_value_set_value_entry+:} false; then : 47540 $as_echo_n "(cached) " >&6 47541else 47542 ac_check_lib_save_LIBS=$LIBS 47543LIBS="-lfvalue $LIBS" 47544cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47545/* end confdefs.h. */ 47546 47547/* Override any GCC internal prototype to avoid an error. 47548 Use char because int might match the return type of a GCC 47549 builtin and then its argument prototype would still apply. */ 47550#ifdef __cplusplus 47551extern "C" 47552#endif 47553char libfvalue_value_set_value_entry (); 47554int 47555main () 47556{ 47557return libfvalue_value_set_value_entry (); 47558 ; 47559 return 0; 47560} 47561_ACEOF 47562if ac_fn_c_try_link "$LINENO"; then : 47563 ac_cv_lib_fvalue_libfvalue_value_set_value_entry=yes 47564else 47565 ac_cv_lib_fvalue_libfvalue_value_set_value_entry=no 47566fi 47567rm -f core conftest.err conftest.$ac_objext \ 47568 conftest$ac_exeext conftest.$ac_ext 47569LIBS=$ac_check_lib_save_LIBS 47570fi 47571{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_set_value_entry" >&5 47572$as_echo "$ac_cv_lib_fvalue_libfvalue_value_set_value_entry" >&6; } 47573if test "x$ac_cv_lib_fvalue_libfvalue_value_set_value_entry" = xyes; then : 47574 ac_cv_libfvalue_dummy=yes 47575else 47576 ac_cv_libfvalue=no 47577fi 47578 47579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_append_value_entry in -lfvalue" >&5 47580$as_echo_n "checking for libfvalue_value_append_value_entry in -lfvalue... " >&6; } 47581if ${ac_cv_lib_fvalue_libfvalue_value_append_value_entry+:} false; then : 47582 $as_echo_n "(cached) " >&6 47583else 47584 ac_check_lib_save_LIBS=$LIBS 47585LIBS="-lfvalue $LIBS" 47586cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47587/* end confdefs.h. */ 47588 47589/* Override any GCC internal prototype to avoid an error. 47590 Use char because int might match the return type of a GCC 47591 builtin and then its argument prototype would still apply. */ 47592#ifdef __cplusplus 47593extern "C" 47594#endif 47595char libfvalue_value_append_value_entry (); 47596int 47597main () 47598{ 47599return libfvalue_value_append_value_entry (); 47600 ; 47601 return 0; 47602} 47603_ACEOF 47604if ac_fn_c_try_link "$LINENO"; then : 47605 ac_cv_lib_fvalue_libfvalue_value_append_value_entry=yes 47606else 47607 ac_cv_lib_fvalue_libfvalue_value_append_value_entry=no 47608fi 47609rm -f core conftest.err conftest.$ac_objext \ 47610 conftest$ac_exeext conftest.$ac_ext 47611LIBS=$ac_check_lib_save_LIBS 47612fi 47613{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_append_value_entry" >&5 47614$as_echo "$ac_cv_lib_fvalue_libfvalue_value_append_value_entry" >&6; } 47615if test "x$ac_cv_lib_fvalue_libfvalue_value_append_value_entry" = xyes; then : 47616 ac_cv_libfvalue_dummy=yes 47617else 47618 ac_cv_libfvalue=no 47619fi 47620 47621 47622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_from_boolean in -lfvalue" >&5 47623$as_echo_n "checking for libfvalue_value_copy_from_boolean in -lfvalue... " >&6; } 47624if ${ac_cv_lib_fvalue_libfvalue_value_copy_from_boolean+:} false; then : 47625 $as_echo_n "(cached) " >&6 47626else 47627 ac_check_lib_save_LIBS=$LIBS 47628LIBS="-lfvalue $LIBS" 47629cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47630/* end confdefs.h. */ 47631 47632/* Override any GCC internal prototype to avoid an error. 47633 Use char because int might match the return type of a GCC 47634 builtin and then its argument prototype would still apply. */ 47635#ifdef __cplusplus 47636extern "C" 47637#endif 47638char libfvalue_value_copy_from_boolean (); 47639int 47640main () 47641{ 47642return libfvalue_value_copy_from_boolean (); 47643 ; 47644 return 0; 47645} 47646_ACEOF 47647if ac_fn_c_try_link "$LINENO"; then : 47648 ac_cv_lib_fvalue_libfvalue_value_copy_from_boolean=yes 47649else 47650 ac_cv_lib_fvalue_libfvalue_value_copy_from_boolean=no 47651fi 47652rm -f core conftest.err conftest.$ac_objext \ 47653 conftest$ac_exeext conftest.$ac_ext 47654LIBS=$ac_check_lib_save_LIBS 47655fi 47656{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_from_boolean" >&5 47657$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_from_boolean" >&6; } 47658if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_from_boolean" = xyes; then : 47659 ac_cv_libfvalue_dummy=yes 47660else 47661 ac_cv_libfvalue=no 47662fi 47663 47664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_to_boolean in -lfvalue" >&5 47665$as_echo_n "checking for libfvalue_value_copy_to_boolean in -lfvalue... " >&6; } 47666if ${ac_cv_lib_fvalue_libfvalue_value_copy_to_boolean+:} false; then : 47667 $as_echo_n "(cached) " >&6 47668else 47669 ac_check_lib_save_LIBS=$LIBS 47670LIBS="-lfvalue $LIBS" 47671cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47672/* end confdefs.h. */ 47673 47674/* Override any GCC internal prototype to avoid an error. 47675 Use char because int might match the return type of a GCC 47676 builtin and then its argument prototype would still apply. */ 47677#ifdef __cplusplus 47678extern "C" 47679#endif 47680char libfvalue_value_copy_to_boolean (); 47681int 47682main () 47683{ 47684return libfvalue_value_copy_to_boolean (); 47685 ; 47686 return 0; 47687} 47688_ACEOF 47689if ac_fn_c_try_link "$LINENO"; then : 47690 ac_cv_lib_fvalue_libfvalue_value_copy_to_boolean=yes 47691else 47692 ac_cv_lib_fvalue_libfvalue_value_copy_to_boolean=no 47693fi 47694rm -f core conftest.err conftest.$ac_objext \ 47695 conftest$ac_exeext conftest.$ac_ext 47696LIBS=$ac_check_lib_save_LIBS 47697fi 47698{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_to_boolean" >&5 47699$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_to_boolean" >&6; } 47700if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_to_boolean" = xyes; then : 47701 ac_cv_libfvalue_dummy=yes 47702else 47703 ac_cv_libfvalue=no 47704fi 47705 47706 47707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_from_8bit in -lfvalue" >&5 47708$as_echo_n "checking for libfvalue_value_copy_from_8bit in -lfvalue... " >&6; } 47709if ${ac_cv_lib_fvalue_libfvalue_value_copy_from_8bit+:} false; then : 47710 $as_echo_n "(cached) " >&6 47711else 47712 ac_check_lib_save_LIBS=$LIBS 47713LIBS="-lfvalue $LIBS" 47714cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47715/* end confdefs.h. */ 47716 47717/* Override any GCC internal prototype to avoid an error. 47718 Use char because int might match the return type of a GCC 47719 builtin and then its argument prototype would still apply. */ 47720#ifdef __cplusplus 47721extern "C" 47722#endif 47723char libfvalue_value_copy_from_8bit (); 47724int 47725main () 47726{ 47727return libfvalue_value_copy_from_8bit (); 47728 ; 47729 return 0; 47730} 47731_ACEOF 47732if ac_fn_c_try_link "$LINENO"; then : 47733 ac_cv_lib_fvalue_libfvalue_value_copy_from_8bit=yes 47734else 47735 ac_cv_lib_fvalue_libfvalue_value_copy_from_8bit=no 47736fi 47737rm -f core conftest.err conftest.$ac_objext \ 47738 conftest$ac_exeext conftest.$ac_ext 47739LIBS=$ac_check_lib_save_LIBS 47740fi 47741{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_from_8bit" >&5 47742$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_from_8bit" >&6; } 47743if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_from_8bit" = xyes; then : 47744 ac_cv_libfvalue_dummy=yes 47745else 47746 ac_cv_libfvalue=no 47747fi 47748 47749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_to_8bit in -lfvalue" >&5 47750$as_echo_n "checking for libfvalue_value_copy_to_8bit in -lfvalue... " >&6; } 47751if ${ac_cv_lib_fvalue_libfvalue_value_copy_to_8bit+:} false; then : 47752 $as_echo_n "(cached) " >&6 47753else 47754 ac_check_lib_save_LIBS=$LIBS 47755LIBS="-lfvalue $LIBS" 47756cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47757/* end confdefs.h. */ 47758 47759/* Override any GCC internal prototype to avoid an error. 47760 Use char because int might match the return type of a GCC 47761 builtin and then its argument prototype would still apply. */ 47762#ifdef __cplusplus 47763extern "C" 47764#endif 47765char libfvalue_value_copy_to_8bit (); 47766int 47767main () 47768{ 47769return libfvalue_value_copy_to_8bit (); 47770 ; 47771 return 0; 47772} 47773_ACEOF 47774if ac_fn_c_try_link "$LINENO"; then : 47775 ac_cv_lib_fvalue_libfvalue_value_copy_to_8bit=yes 47776else 47777 ac_cv_lib_fvalue_libfvalue_value_copy_to_8bit=no 47778fi 47779rm -f core conftest.err conftest.$ac_objext \ 47780 conftest$ac_exeext conftest.$ac_ext 47781LIBS=$ac_check_lib_save_LIBS 47782fi 47783{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_to_8bit" >&5 47784$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_to_8bit" >&6; } 47785if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_to_8bit" = xyes; then : 47786 ac_cv_libfvalue_dummy=yes 47787else 47788 ac_cv_libfvalue=no 47789fi 47790 47791 47792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_from_16bit in -lfvalue" >&5 47793$as_echo_n "checking for libfvalue_value_copy_from_16bit in -lfvalue... " >&6; } 47794if ${ac_cv_lib_fvalue_libfvalue_value_copy_from_16bit+:} false; then : 47795 $as_echo_n "(cached) " >&6 47796else 47797 ac_check_lib_save_LIBS=$LIBS 47798LIBS="-lfvalue $LIBS" 47799cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47800/* end confdefs.h. */ 47801 47802/* Override any GCC internal prototype to avoid an error. 47803 Use char because int might match the return type of a GCC 47804 builtin and then its argument prototype would still apply. */ 47805#ifdef __cplusplus 47806extern "C" 47807#endif 47808char libfvalue_value_copy_from_16bit (); 47809int 47810main () 47811{ 47812return libfvalue_value_copy_from_16bit (); 47813 ; 47814 return 0; 47815} 47816_ACEOF 47817if ac_fn_c_try_link "$LINENO"; then : 47818 ac_cv_lib_fvalue_libfvalue_value_copy_from_16bit=yes 47819else 47820 ac_cv_lib_fvalue_libfvalue_value_copy_from_16bit=no 47821fi 47822rm -f core conftest.err conftest.$ac_objext \ 47823 conftest$ac_exeext conftest.$ac_ext 47824LIBS=$ac_check_lib_save_LIBS 47825fi 47826{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_from_16bit" >&5 47827$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_from_16bit" >&6; } 47828if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_from_16bit" = xyes; then : 47829 ac_cv_libfvalue_dummy=yes 47830else 47831 ac_cv_libfvalue=no 47832fi 47833 47834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_to_16bit in -lfvalue" >&5 47835$as_echo_n "checking for libfvalue_value_copy_to_16bit in -lfvalue... " >&6; } 47836if ${ac_cv_lib_fvalue_libfvalue_value_copy_to_16bit+:} false; then : 47837 $as_echo_n "(cached) " >&6 47838else 47839 ac_check_lib_save_LIBS=$LIBS 47840LIBS="-lfvalue $LIBS" 47841cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47842/* end confdefs.h. */ 47843 47844/* Override any GCC internal prototype to avoid an error. 47845 Use char because int might match the return type of a GCC 47846 builtin and then its argument prototype would still apply. */ 47847#ifdef __cplusplus 47848extern "C" 47849#endif 47850char libfvalue_value_copy_to_16bit (); 47851int 47852main () 47853{ 47854return libfvalue_value_copy_to_16bit (); 47855 ; 47856 return 0; 47857} 47858_ACEOF 47859if ac_fn_c_try_link "$LINENO"; then : 47860 ac_cv_lib_fvalue_libfvalue_value_copy_to_16bit=yes 47861else 47862 ac_cv_lib_fvalue_libfvalue_value_copy_to_16bit=no 47863fi 47864rm -f core conftest.err conftest.$ac_objext \ 47865 conftest$ac_exeext conftest.$ac_ext 47866LIBS=$ac_check_lib_save_LIBS 47867fi 47868{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_to_16bit" >&5 47869$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_to_16bit" >&6; } 47870if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_to_16bit" = xyes; then : 47871 ac_cv_libfvalue_dummy=yes 47872else 47873 ac_cv_libfvalue=no 47874fi 47875 47876 47877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_from_32bit in -lfvalue" >&5 47878$as_echo_n "checking for libfvalue_value_copy_from_32bit in -lfvalue... " >&6; } 47879if ${ac_cv_lib_fvalue_libfvalue_value_copy_from_32bit+:} false; then : 47880 $as_echo_n "(cached) " >&6 47881else 47882 ac_check_lib_save_LIBS=$LIBS 47883LIBS="-lfvalue $LIBS" 47884cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47885/* end confdefs.h. */ 47886 47887/* Override any GCC internal prototype to avoid an error. 47888 Use char because int might match the return type of a GCC 47889 builtin and then its argument prototype would still apply. */ 47890#ifdef __cplusplus 47891extern "C" 47892#endif 47893char libfvalue_value_copy_from_32bit (); 47894int 47895main () 47896{ 47897return libfvalue_value_copy_from_32bit (); 47898 ; 47899 return 0; 47900} 47901_ACEOF 47902if ac_fn_c_try_link "$LINENO"; then : 47903 ac_cv_lib_fvalue_libfvalue_value_copy_from_32bit=yes 47904else 47905 ac_cv_lib_fvalue_libfvalue_value_copy_from_32bit=no 47906fi 47907rm -f core conftest.err conftest.$ac_objext \ 47908 conftest$ac_exeext conftest.$ac_ext 47909LIBS=$ac_check_lib_save_LIBS 47910fi 47911{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_from_32bit" >&5 47912$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_from_32bit" >&6; } 47913if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_from_32bit" = xyes; then : 47914 ac_cv_libfvalue_dummy=yes 47915else 47916 ac_cv_libfvalue=no 47917fi 47918 47919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_to_32bit in -lfvalue" >&5 47920$as_echo_n "checking for libfvalue_value_copy_to_32bit in -lfvalue... " >&6; } 47921if ${ac_cv_lib_fvalue_libfvalue_value_copy_to_32bit+:} false; then : 47922 $as_echo_n "(cached) " >&6 47923else 47924 ac_check_lib_save_LIBS=$LIBS 47925LIBS="-lfvalue $LIBS" 47926cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47927/* end confdefs.h. */ 47928 47929/* Override any GCC internal prototype to avoid an error. 47930 Use char because int might match the return type of a GCC 47931 builtin and then its argument prototype would still apply. */ 47932#ifdef __cplusplus 47933extern "C" 47934#endif 47935char libfvalue_value_copy_to_32bit (); 47936int 47937main () 47938{ 47939return libfvalue_value_copy_to_32bit (); 47940 ; 47941 return 0; 47942} 47943_ACEOF 47944if ac_fn_c_try_link "$LINENO"; then : 47945 ac_cv_lib_fvalue_libfvalue_value_copy_to_32bit=yes 47946else 47947 ac_cv_lib_fvalue_libfvalue_value_copy_to_32bit=no 47948fi 47949rm -f core conftest.err conftest.$ac_objext \ 47950 conftest$ac_exeext conftest.$ac_ext 47951LIBS=$ac_check_lib_save_LIBS 47952fi 47953{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_to_32bit" >&5 47954$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_to_32bit" >&6; } 47955if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_to_32bit" = xyes; then : 47956 ac_cv_libfvalue_dummy=yes 47957else 47958 ac_cv_libfvalue=no 47959fi 47960 47961 47962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_from_64bit in -lfvalue" >&5 47963$as_echo_n "checking for libfvalue_value_copy_from_64bit in -lfvalue... " >&6; } 47964if ${ac_cv_lib_fvalue_libfvalue_value_copy_from_64bit+:} false; then : 47965 $as_echo_n "(cached) " >&6 47966else 47967 ac_check_lib_save_LIBS=$LIBS 47968LIBS="-lfvalue $LIBS" 47969cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47970/* end confdefs.h. */ 47971 47972/* Override any GCC internal prototype to avoid an error. 47973 Use char because int might match the return type of a GCC 47974 builtin and then its argument prototype would still apply. */ 47975#ifdef __cplusplus 47976extern "C" 47977#endif 47978char libfvalue_value_copy_from_64bit (); 47979int 47980main () 47981{ 47982return libfvalue_value_copy_from_64bit (); 47983 ; 47984 return 0; 47985} 47986_ACEOF 47987if ac_fn_c_try_link "$LINENO"; then : 47988 ac_cv_lib_fvalue_libfvalue_value_copy_from_64bit=yes 47989else 47990 ac_cv_lib_fvalue_libfvalue_value_copy_from_64bit=no 47991fi 47992rm -f core conftest.err conftest.$ac_objext \ 47993 conftest$ac_exeext conftest.$ac_ext 47994LIBS=$ac_check_lib_save_LIBS 47995fi 47996{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_from_64bit" >&5 47997$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_from_64bit" >&6; } 47998if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_from_64bit" = xyes; then : 47999 ac_cv_libfvalue_dummy=yes 48000else 48001 ac_cv_libfvalue=no 48002fi 48003 48004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_to_64bit in -lfvalue" >&5 48005$as_echo_n "checking for libfvalue_value_copy_to_64bit in -lfvalue... " >&6; } 48006if ${ac_cv_lib_fvalue_libfvalue_value_copy_to_64bit+:} false; then : 48007 $as_echo_n "(cached) " >&6 48008else 48009 ac_check_lib_save_LIBS=$LIBS 48010LIBS="-lfvalue $LIBS" 48011cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48012/* end confdefs.h. */ 48013 48014/* Override any GCC internal prototype to avoid an error. 48015 Use char because int might match the return type of a GCC 48016 builtin and then its argument prototype would still apply. */ 48017#ifdef __cplusplus 48018extern "C" 48019#endif 48020char libfvalue_value_copy_to_64bit (); 48021int 48022main () 48023{ 48024return libfvalue_value_copy_to_64bit (); 48025 ; 48026 return 0; 48027} 48028_ACEOF 48029if ac_fn_c_try_link "$LINENO"; then : 48030 ac_cv_lib_fvalue_libfvalue_value_copy_to_64bit=yes 48031else 48032 ac_cv_lib_fvalue_libfvalue_value_copy_to_64bit=no 48033fi 48034rm -f core conftest.err conftest.$ac_objext \ 48035 conftest$ac_exeext conftest.$ac_ext 48036LIBS=$ac_check_lib_save_LIBS 48037fi 48038{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_to_64bit" >&5 48039$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_to_64bit" >&6; } 48040if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_to_64bit" = xyes; then : 48041 ac_cv_libfvalue_dummy=yes 48042else 48043 ac_cv_libfvalue=no 48044fi 48045 48046 48047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_from_float in -lfvalue" >&5 48048$as_echo_n "checking for libfvalue_value_copy_from_float in -lfvalue... " >&6; } 48049if ${ac_cv_lib_fvalue_libfvalue_value_copy_from_float+:} false; then : 48050 $as_echo_n "(cached) " >&6 48051else 48052 ac_check_lib_save_LIBS=$LIBS 48053LIBS="-lfvalue $LIBS" 48054cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48055/* end confdefs.h. */ 48056 48057/* Override any GCC internal prototype to avoid an error. 48058 Use char because int might match the return type of a GCC 48059 builtin and then its argument prototype would still apply. */ 48060#ifdef __cplusplus 48061extern "C" 48062#endif 48063char libfvalue_value_copy_from_float (); 48064int 48065main () 48066{ 48067return libfvalue_value_copy_from_float (); 48068 ; 48069 return 0; 48070} 48071_ACEOF 48072if ac_fn_c_try_link "$LINENO"; then : 48073 ac_cv_lib_fvalue_libfvalue_value_copy_from_float=yes 48074else 48075 ac_cv_lib_fvalue_libfvalue_value_copy_from_float=no 48076fi 48077rm -f core conftest.err conftest.$ac_objext \ 48078 conftest$ac_exeext conftest.$ac_ext 48079LIBS=$ac_check_lib_save_LIBS 48080fi 48081{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_from_float" >&5 48082$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_from_float" >&6; } 48083if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_from_float" = xyes; then : 48084 ac_cv_libfvalue_dummy=yes 48085else 48086 ac_cv_libfvalue=no 48087fi 48088 48089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_to_float in -lfvalue" >&5 48090$as_echo_n "checking for libfvalue_value_copy_to_float in -lfvalue... " >&6; } 48091if ${ac_cv_lib_fvalue_libfvalue_value_copy_to_float+:} false; then : 48092 $as_echo_n "(cached) " >&6 48093else 48094 ac_check_lib_save_LIBS=$LIBS 48095LIBS="-lfvalue $LIBS" 48096cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48097/* end confdefs.h. */ 48098 48099/* Override any GCC internal prototype to avoid an error. 48100 Use char because int might match the return type of a GCC 48101 builtin and then its argument prototype would still apply. */ 48102#ifdef __cplusplus 48103extern "C" 48104#endif 48105char libfvalue_value_copy_to_float (); 48106int 48107main () 48108{ 48109return libfvalue_value_copy_to_float (); 48110 ; 48111 return 0; 48112} 48113_ACEOF 48114if ac_fn_c_try_link "$LINENO"; then : 48115 ac_cv_lib_fvalue_libfvalue_value_copy_to_float=yes 48116else 48117 ac_cv_lib_fvalue_libfvalue_value_copy_to_float=no 48118fi 48119rm -f core conftest.err conftest.$ac_objext \ 48120 conftest$ac_exeext conftest.$ac_ext 48121LIBS=$ac_check_lib_save_LIBS 48122fi 48123{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_to_float" >&5 48124$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_to_float" >&6; } 48125if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_to_float" = xyes; then : 48126 ac_cv_libfvalue_dummy=yes 48127else 48128 ac_cv_libfvalue=no 48129fi 48130 48131 48132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_from_double in -lfvalue" >&5 48133$as_echo_n "checking for libfvalue_value_copy_from_double in -lfvalue... " >&6; } 48134if ${ac_cv_lib_fvalue_libfvalue_value_copy_from_double+:} false; then : 48135 $as_echo_n "(cached) " >&6 48136else 48137 ac_check_lib_save_LIBS=$LIBS 48138LIBS="-lfvalue $LIBS" 48139cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48140/* end confdefs.h. */ 48141 48142/* Override any GCC internal prototype to avoid an error. 48143 Use char because int might match the return type of a GCC 48144 builtin and then its argument prototype would still apply. */ 48145#ifdef __cplusplus 48146extern "C" 48147#endif 48148char libfvalue_value_copy_from_double (); 48149int 48150main () 48151{ 48152return libfvalue_value_copy_from_double (); 48153 ; 48154 return 0; 48155} 48156_ACEOF 48157if ac_fn_c_try_link "$LINENO"; then : 48158 ac_cv_lib_fvalue_libfvalue_value_copy_from_double=yes 48159else 48160 ac_cv_lib_fvalue_libfvalue_value_copy_from_double=no 48161fi 48162rm -f core conftest.err conftest.$ac_objext \ 48163 conftest$ac_exeext conftest.$ac_ext 48164LIBS=$ac_check_lib_save_LIBS 48165fi 48166{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_from_double" >&5 48167$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_from_double" >&6; } 48168if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_from_double" = xyes; then : 48169 ac_cv_libfvalue_dummy=yes 48170else 48171 ac_cv_libfvalue=no 48172fi 48173 48174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_to_double in -lfvalue" >&5 48175$as_echo_n "checking for libfvalue_value_copy_to_double in -lfvalue... " >&6; } 48176if ${ac_cv_lib_fvalue_libfvalue_value_copy_to_double+:} false; then : 48177 $as_echo_n "(cached) " >&6 48178else 48179 ac_check_lib_save_LIBS=$LIBS 48180LIBS="-lfvalue $LIBS" 48181cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48182/* end confdefs.h. */ 48183 48184/* Override any GCC internal prototype to avoid an error. 48185 Use char because int might match the return type of a GCC 48186 builtin and then its argument prototype would still apply. */ 48187#ifdef __cplusplus 48188extern "C" 48189#endif 48190char libfvalue_value_copy_to_double (); 48191int 48192main () 48193{ 48194return libfvalue_value_copy_to_double (); 48195 ; 48196 return 0; 48197} 48198_ACEOF 48199if ac_fn_c_try_link "$LINENO"; then : 48200 ac_cv_lib_fvalue_libfvalue_value_copy_to_double=yes 48201else 48202 ac_cv_lib_fvalue_libfvalue_value_copy_to_double=no 48203fi 48204rm -f core conftest.err conftest.$ac_objext \ 48205 conftest$ac_exeext conftest.$ac_ext 48206LIBS=$ac_check_lib_save_LIBS 48207fi 48208{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_to_double" >&5 48209$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_to_double" >&6; } 48210if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_to_double" = xyes; then : 48211 ac_cv_libfvalue_dummy=yes 48212else 48213 ac_cv_libfvalue=no 48214fi 48215 48216 48217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_from_utf8_string in -lfvalue" >&5 48218$as_echo_n "checking for libfvalue_value_copy_from_utf8_string in -lfvalue... " >&6; } 48219if ${ac_cv_lib_fvalue_libfvalue_value_copy_from_utf8_string+:} false; then : 48220 $as_echo_n "(cached) " >&6 48221else 48222 ac_check_lib_save_LIBS=$LIBS 48223LIBS="-lfvalue $LIBS" 48224cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48225/* end confdefs.h. */ 48226 48227/* Override any GCC internal prototype to avoid an error. 48228 Use char because int might match the return type of a GCC 48229 builtin and then its argument prototype would still apply. */ 48230#ifdef __cplusplus 48231extern "C" 48232#endif 48233char libfvalue_value_copy_from_utf8_string (); 48234int 48235main () 48236{ 48237return libfvalue_value_copy_from_utf8_string (); 48238 ; 48239 return 0; 48240} 48241_ACEOF 48242if ac_fn_c_try_link "$LINENO"; then : 48243 ac_cv_lib_fvalue_libfvalue_value_copy_from_utf8_string=yes 48244else 48245 ac_cv_lib_fvalue_libfvalue_value_copy_from_utf8_string=no 48246fi 48247rm -f core conftest.err conftest.$ac_objext \ 48248 conftest$ac_exeext conftest.$ac_ext 48249LIBS=$ac_check_lib_save_LIBS 48250fi 48251{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_from_utf8_string" >&5 48252$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_from_utf8_string" >&6; } 48253if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_from_utf8_string" = xyes; then : 48254 ac_cv_libfvalue_dummy=yes 48255else 48256 ac_cv_libfvalue=no 48257fi 48258 48259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_get_utf8_string_size in -lfvalue" >&5 48260$as_echo_n "checking for libfvalue_value_get_utf8_string_size in -lfvalue... " >&6; } 48261if ${ac_cv_lib_fvalue_libfvalue_value_get_utf8_string_size+:} false; then : 48262 $as_echo_n "(cached) " >&6 48263else 48264 ac_check_lib_save_LIBS=$LIBS 48265LIBS="-lfvalue $LIBS" 48266cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48267/* end confdefs.h. */ 48268 48269/* Override any GCC internal prototype to avoid an error. 48270 Use char because int might match the return type of a GCC 48271 builtin and then its argument prototype would still apply. */ 48272#ifdef __cplusplus 48273extern "C" 48274#endif 48275char libfvalue_value_get_utf8_string_size (); 48276int 48277main () 48278{ 48279return libfvalue_value_get_utf8_string_size (); 48280 ; 48281 return 0; 48282} 48283_ACEOF 48284if ac_fn_c_try_link "$LINENO"; then : 48285 ac_cv_lib_fvalue_libfvalue_value_get_utf8_string_size=yes 48286else 48287 ac_cv_lib_fvalue_libfvalue_value_get_utf8_string_size=no 48288fi 48289rm -f core conftest.err conftest.$ac_objext \ 48290 conftest$ac_exeext conftest.$ac_ext 48291LIBS=$ac_check_lib_save_LIBS 48292fi 48293{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_get_utf8_string_size" >&5 48294$as_echo "$ac_cv_lib_fvalue_libfvalue_value_get_utf8_string_size" >&6; } 48295if test "x$ac_cv_lib_fvalue_libfvalue_value_get_utf8_string_size" = xyes; then : 48296 ac_cv_libfvalue_dummy=yes 48297else 48298 ac_cv_libfvalue=no 48299fi 48300 48301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_to_utf8_string in -lfvalue" >&5 48302$as_echo_n "checking for libfvalue_value_copy_to_utf8_string in -lfvalue... " >&6; } 48303if ${ac_cv_lib_fvalue_libfvalue_value_copy_to_utf8_string+:} false; then : 48304 $as_echo_n "(cached) " >&6 48305else 48306 ac_check_lib_save_LIBS=$LIBS 48307LIBS="-lfvalue $LIBS" 48308cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48309/* end confdefs.h. */ 48310 48311/* Override any GCC internal prototype to avoid an error. 48312 Use char because int might match the return type of a GCC 48313 builtin and then its argument prototype would still apply. */ 48314#ifdef __cplusplus 48315extern "C" 48316#endif 48317char libfvalue_value_copy_to_utf8_string (); 48318int 48319main () 48320{ 48321return libfvalue_value_copy_to_utf8_string (); 48322 ; 48323 return 0; 48324} 48325_ACEOF 48326if ac_fn_c_try_link "$LINENO"; then : 48327 ac_cv_lib_fvalue_libfvalue_value_copy_to_utf8_string=yes 48328else 48329 ac_cv_lib_fvalue_libfvalue_value_copy_to_utf8_string=no 48330fi 48331rm -f core conftest.err conftest.$ac_objext \ 48332 conftest$ac_exeext conftest.$ac_ext 48333LIBS=$ac_check_lib_save_LIBS 48334fi 48335{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_to_utf8_string" >&5 48336$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_to_utf8_string" >&6; } 48337if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_to_utf8_string" = xyes; then : 48338 ac_cv_libfvalue_dummy=yes 48339else 48340 ac_cv_libfvalue=no 48341fi 48342 48343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_to_utf8_string_with_index in -lfvalue" >&5 48344$as_echo_n "checking for libfvalue_value_copy_to_utf8_string_with_index in -lfvalue... " >&6; } 48345if ${ac_cv_lib_fvalue_libfvalue_value_copy_to_utf8_string_with_index+:} false; then : 48346 $as_echo_n "(cached) " >&6 48347else 48348 ac_check_lib_save_LIBS=$LIBS 48349LIBS="-lfvalue $LIBS" 48350cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48351/* end confdefs.h. */ 48352 48353/* Override any GCC internal prototype to avoid an error. 48354 Use char because int might match the return type of a GCC 48355 builtin and then its argument prototype would still apply. */ 48356#ifdef __cplusplus 48357extern "C" 48358#endif 48359char libfvalue_value_copy_to_utf8_string_with_index (); 48360int 48361main () 48362{ 48363return libfvalue_value_copy_to_utf8_string_with_index (); 48364 ; 48365 return 0; 48366} 48367_ACEOF 48368if ac_fn_c_try_link "$LINENO"; then : 48369 ac_cv_lib_fvalue_libfvalue_value_copy_to_utf8_string_with_index=yes 48370else 48371 ac_cv_lib_fvalue_libfvalue_value_copy_to_utf8_string_with_index=no 48372fi 48373rm -f core conftest.err conftest.$ac_objext \ 48374 conftest$ac_exeext conftest.$ac_ext 48375LIBS=$ac_check_lib_save_LIBS 48376fi 48377{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_to_utf8_string_with_index" >&5 48378$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_to_utf8_string_with_index" >&6; } 48379if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_to_utf8_string_with_index" = xyes; then : 48380 ac_cv_libfvalue_dummy=yes 48381else 48382 ac_cv_libfvalue=no 48383fi 48384 48385 48386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_from_utf16_string in -lfvalue" >&5 48387$as_echo_n "checking for libfvalue_value_copy_from_utf16_string in -lfvalue... " >&6; } 48388if ${ac_cv_lib_fvalue_libfvalue_value_copy_from_utf16_string+:} false; then : 48389 $as_echo_n "(cached) " >&6 48390else 48391 ac_check_lib_save_LIBS=$LIBS 48392LIBS="-lfvalue $LIBS" 48393cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48394/* end confdefs.h. */ 48395 48396/* Override any GCC internal prototype to avoid an error. 48397 Use char because int might match the return type of a GCC 48398 builtin and then its argument prototype would still apply. */ 48399#ifdef __cplusplus 48400extern "C" 48401#endif 48402char libfvalue_value_copy_from_utf16_string (); 48403int 48404main () 48405{ 48406return libfvalue_value_copy_from_utf16_string (); 48407 ; 48408 return 0; 48409} 48410_ACEOF 48411if ac_fn_c_try_link "$LINENO"; then : 48412 ac_cv_lib_fvalue_libfvalue_value_copy_from_utf16_string=yes 48413else 48414 ac_cv_lib_fvalue_libfvalue_value_copy_from_utf16_string=no 48415fi 48416rm -f core conftest.err conftest.$ac_objext \ 48417 conftest$ac_exeext conftest.$ac_ext 48418LIBS=$ac_check_lib_save_LIBS 48419fi 48420{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_from_utf16_string" >&5 48421$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_from_utf16_string" >&6; } 48422if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_from_utf16_string" = xyes; then : 48423 ac_cv_libfvalue_dummy=yes 48424else 48425 ac_cv_libfvalue=no 48426fi 48427 48428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_get_utf16_string_size in -lfvalue" >&5 48429$as_echo_n "checking for libfvalue_value_get_utf16_string_size in -lfvalue... " >&6; } 48430if ${ac_cv_lib_fvalue_libfvalue_value_get_utf16_string_size+:} false; then : 48431 $as_echo_n "(cached) " >&6 48432else 48433 ac_check_lib_save_LIBS=$LIBS 48434LIBS="-lfvalue $LIBS" 48435cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48436/* end confdefs.h. */ 48437 48438/* Override any GCC internal prototype to avoid an error. 48439 Use char because int might match the return type of a GCC 48440 builtin and then its argument prototype would still apply. */ 48441#ifdef __cplusplus 48442extern "C" 48443#endif 48444char libfvalue_value_get_utf16_string_size (); 48445int 48446main () 48447{ 48448return libfvalue_value_get_utf16_string_size (); 48449 ; 48450 return 0; 48451} 48452_ACEOF 48453if ac_fn_c_try_link "$LINENO"; then : 48454 ac_cv_lib_fvalue_libfvalue_value_get_utf16_string_size=yes 48455else 48456 ac_cv_lib_fvalue_libfvalue_value_get_utf16_string_size=no 48457fi 48458rm -f core conftest.err conftest.$ac_objext \ 48459 conftest$ac_exeext conftest.$ac_ext 48460LIBS=$ac_check_lib_save_LIBS 48461fi 48462{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_get_utf16_string_size" >&5 48463$as_echo "$ac_cv_lib_fvalue_libfvalue_value_get_utf16_string_size" >&6; } 48464if test "x$ac_cv_lib_fvalue_libfvalue_value_get_utf16_string_size" = xyes; then : 48465 ac_cv_libfvalue_dummy=yes 48466else 48467 ac_cv_libfvalue=no 48468fi 48469 48470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_to_utf16_string in -lfvalue" >&5 48471$as_echo_n "checking for libfvalue_value_copy_to_utf16_string in -lfvalue... " >&6; } 48472if ${ac_cv_lib_fvalue_libfvalue_value_copy_to_utf16_string+:} false; then : 48473 $as_echo_n "(cached) " >&6 48474else 48475 ac_check_lib_save_LIBS=$LIBS 48476LIBS="-lfvalue $LIBS" 48477cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48478/* end confdefs.h. */ 48479 48480/* Override any GCC internal prototype to avoid an error. 48481 Use char because int might match the return type of a GCC 48482 builtin and then its argument prototype would still apply. */ 48483#ifdef __cplusplus 48484extern "C" 48485#endif 48486char libfvalue_value_copy_to_utf16_string (); 48487int 48488main () 48489{ 48490return libfvalue_value_copy_to_utf16_string (); 48491 ; 48492 return 0; 48493} 48494_ACEOF 48495if ac_fn_c_try_link "$LINENO"; then : 48496 ac_cv_lib_fvalue_libfvalue_value_copy_to_utf16_string=yes 48497else 48498 ac_cv_lib_fvalue_libfvalue_value_copy_to_utf16_string=no 48499fi 48500rm -f core conftest.err conftest.$ac_objext \ 48501 conftest$ac_exeext conftest.$ac_ext 48502LIBS=$ac_check_lib_save_LIBS 48503fi 48504{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_to_utf16_string" >&5 48505$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_to_utf16_string" >&6; } 48506if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_to_utf16_string" = xyes; then : 48507 ac_cv_libfvalue_dummy=yes 48508else 48509 ac_cv_libfvalue=no 48510fi 48511 48512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_to_utf16_string_with_index in -lfvalue" >&5 48513$as_echo_n "checking for libfvalue_value_copy_to_utf16_string_with_index in -lfvalue... " >&6; } 48514if ${ac_cv_lib_fvalue_libfvalue_value_copy_to_utf16_string_with_index+:} false; then : 48515 $as_echo_n "(cached) " >&6 48516else 48517 ac_check_lib_save_LIBS=$LIBS 48518LIBS="-lfvalue $LIBS" 48519cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48520/* end confdefs.h. */ 48521 48522/* Override any GCC internal prototype to avoid an error. 48523 Use char because int might match the return type of a GCC 48524 builtin and then its argument prototype would still apply. */ 48525#ifdef __cplusplus 48526extern "C" 48527#endif 48528char libfvalue_value_copy_to_utf16_string_with_index (); 48529int 48530main () 48531{ 48532return libfvalue_value_copy_to_utf16_string_with_index (); 48533 ; 48534 return 0; 48535} 48536_ACEOF 48537if ac_fn_c_try_link "$LINENO"; then : 48538 ac_cv_lib_fvalue_libfvalue_value_copy_to_utf16_string_with_index=yes 48539else 48540 ac_cv_lib_fvalue_libfvalue_value_copy_to_utf16_string_with_index=no 48541fi 48542rm -f core conftest.err conftest.$ac_objext \ 48543 conftest$ac_exeext conftest.$ac_ext 48544LIBS=$ac_check_lib_save_LIBS 48545fi 48546{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_to_utf16_string_with_index" >&5 48547$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_to_utf16_string_with_index" >&6; } 48548if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_to_utf16_string_with_index" = xyes; then : 48549 ac_cv_libfvalue_dummy=yes 48550else 48551 ac_cv_libfvalue=no 48552fi 48553 48554 48555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_from_utf32_string in -lfvalue" >&5 48556$as_echo_n "checking for libfvalue_value_copy_from_utf32_string in -lfvalue... " >&6; } 48557if ${ac_cv_lib_fvalue_libfvalue_value_copy_from_utf32_string+:} false; then : 48558 $as_echo_n "(cached) " >&6 48559else 48560 ac_check_lib_save_LIBS=$LIBS 48561LIBS="-lfvalue $LIBS" 48562cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48563/* end confdefs.h. */ 48564 48565/* Override any GCC internal prototype to avoid an error. 48566 Use char because int might match the return type of a GCC 48567 builtin and then its argument prototype would still apply. */ 48568#ifdef __cplusplus 48569extern "C" 48570#endif 48571char libfvalue_value_copy_from_utf32_string (); 48572int 48573main () 48574{ 48575return libfvalue_value_copy_from_utf32_string (); 48576 ; 48577 return 0; 48578} 48579_ACEOF 48580if ac_fn_c_try_link "$LINENO"; then : 48581 ac_cv_lib_fvalue_libfvalue_value_copy_from_utf32_string=yes 48582else 48583 ac_cv_lib_fvalue_libfvalue_value_copy_from_utf32_string=no 48584fi 48585rm -f core conftest.err conftest.$ac_objext \ 48586 conftest$ac_exeext conftest.$ac_ext 48587LIBS=$ac_check_lib_save_LIBS 48588fi 48589{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_from_utf32_string" >&5 48590$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_from_utf32_string" >&6; } 48591if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_from_utf32_string" = xyes; then : 48592 ac_cv_libfvalue_dummy=yes 48593else 48594 ac_cv_libfvalue=no 48595fi 48596 48597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_get_utf32_string_size in -lfvalue" >&5 48598$as_echo_n "checking for libfvalue_value_get_utf32_string_size in -lfvalue... " >&6; } 48599if ${ac_cv_lib_fvalue_libfvalue_value_get_utf32_string_size+:} false; then : 48600 $as_echo_n "(cached) " >&6 48601else 48602 ac_check_lib_save_LIBS=$LIBS 48603LIBS="-lfvalue $LIBS" 48604cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48605/* end confdefs.h. */ 48606 48607/* Override any GCC internal prototype to avoid an error. 48608 Use char because int might match the return type of a GCC 48609 builtin and then its argument prototype would still apply. */ 48610#ifdef __cplusplus 48611extern "C" 48612#endif 48613char libfvalue_value_get_utf32_string_size (); 48614int 48615main () 48616{ 48617return libfvalue_value_get_utf32_string_size (); 48618 ; 48619 return 0; 48620} 48621_ACEOF 48622if ac_fn_c_try_link "$LINENO"; then : 48623 ac_cv_lib_fvalue_libfvalue_value_get_utf32_string_size=yes 48624else 48625 ac_cv_lib_fvalue_libfvalue_value_get_utf32_string_size=no 48626fi 48627rm -f core conftest.err conftest.$ac_objext \ 48628 conftest$ac_exeext conftest.$ac_ext 48629LIBS=$ac_check_lib_save_LIBS 48630fi 48631{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_get_utf32_string_size" >&5 48632$as_echo "$ac_cv_lib_fvalue_libfvalue_value_get_utf32_string_size" >&6; } 48633if test "x$ac_cv_lib_fvalue_libfvalue_value_get_utf32_string_size" = xyes; then : 48634 ac_cv_libfvalue_dummy=yes 48635else 48636 ac_cv_libfvalue=no 48637fi 48638 48639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_to_utf32_string in -lfvalue" >&5 48640$as_echo_n "checking for libfvalue_value_copy_to_utf32_string in -lfvalue... " >&6; } 48641if ${ac_cv_lib_fvalue_libfvalue_value_copy_to_utf32_string+:} false; then : 48642 $as_echo_n "(cached) " >&6 48643else 48644 ac_check_lib_save_LIBS=$LIBS 48645LIBS="-lfvalue $LIBS" 48646cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48647/* end confdefs.h. */ 48648 48649/* Override any GCC internal prototype to avoid an error. 48650 Use char because int might match the return type of a GCC 48651 builtin and then its argument prototype would still apply. */ 48652#ifdef __cplusplus 48653extern "C" 48654#endif 48655char libfvalue_value_copy_to_utf32_string (); 48656int 48657main () 48658{ 48659return libfvalue_value_copy_to_utf32_string (); 48660 ; 48661 return 0; 48662} 48663_ACEOF 48664if ac_fn_c_try_link "$LINENO"; then : 48665 ac_cv_lib_fvalue_libfvalue_value_copy_to_utf32_string=yes 48666else 48667 ac_cv_lib_fvalue_libfvalue_value_copy_to_utf32_string=no 48668fi 48669rm -f core conftest.err conftest.$ac_objext \ 48670 conftest$ac_exeext conftest.$ac_ext 48671LIBS=$ac_check_lib_save_LIBS 48672fi 48673{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_to_utf32_string" >&5 48674$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_to_utf32_string" >&6; } 48675if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_to_utf32_string" = xyes; then : 48676 ac_cv_libfvalue_dummy=yes 48677else 48678 ac_cv_libfvalue=no 48679fi 48680 48681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_to_utf32_string_with_index in -lfvalue" >&5 48682$as_echo_n "checking for libfvalue_value_copy_to_utf32_string_with_index in -lfvalue... " >&6; } 48683if ${ac_cv_lib_fvalue_libfvalue_value_copy_to_utf32_string_with_index+:} false; then : 48684 $as_echo_n "(cached) " >&6 48685else 48686 ac_check_lib_save_LIBS=$LIBS 48687LIBS="-lfvalue $LIBS" 48688cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48689/* end confdefs.h. */ 48690 48691/* Override any GCC internal prototype to avoid an error. 48692 Use char because int might match the return type of a GCC 48693 builtin and then its argument prototype would still apply. */ 48694#ifdef __cplusplus 48695extern "C" 48696#endif 48697char libfvalue_value_copy_to_utf32_string_with_index (); 48698int 48699main () 48700{ 48701return libfvalue_value_copy_to_utf32_string_with_index (); 48702 ; 48703 return 0; 48704} 48705_ACEOF 48706if ac_fn_c_try_link "$LINENO"; then : 48707 ac_cv_lib_fvalue_libfvalue_value_copy_to_utf32_string_with_index=yes 48708else 48709 ac_cv_lib_fvalue_libfvalue_value_copy_to_utf32_string_with_index=no 48710fi 48711rm -f core conftest.err conftest.$ac_objext \ 48712 conftest$ac_exeext conftest.$ac_ext 48713LIBS=$ac_check_lib_save_LIBS 48714fi 48715{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_to_utf32_string_with_index" >&5 48716$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_to_utf32_string_with_index" >&6; } 48717if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_to_utf32_string_with_index" = xyes; then : 48718 ac_cv_libfvalue_dummy=yes 48719else 48720 ac_cv_libfvalue=no 48721fi 48722 48723 48724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_read_from_file_stream in -lfvalue" >&5 48725$as_echo_n "checking for libfvalue_value_read_from_file_stream in -lfvalue... " >&6; } 48726if ${ac_cv_lib_fvalue_libfvalue_value_read_from_file_stream+:} false; then : 48727 $as_echo_n "(cached) " >&6 48728else 48729 ac_check_lib_save_LIBS=$LIBS 48730LIBS="-lfvalue $LIBS" 48731cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48732/* end confdefs.h. */ 48733 48734/* Override any GCC internal prototype to avoid an error. 48735 Use char because int might match the return type of a GCC 48736 builtin and then its argument prototype would still apply. */ 48737#ifdef __cplusplus 48738extern "C" 48739#endif 48740char libfvalue_value_read_from_file_stream (); 48741int 48742main () 48743{ 48744return libfvalue_value_read_from_file_stream (); 48745 ; 48746 return 0; 48747} 48748_ACEOF 48749if ac_fn_c_try_link "$LINENO"; then : 48750 ac_cv_lib_fvalue_libfvalue_value_read_from_file_stream=yes 48751else 48752 ac_cv_lib_fvalue_libfvalue_value_read_from_file_stream=no 48753fi 48754rm -f core conftest.err conftest.$ac_objext \ 48755 conftest$ac_exeext conftest.$ac_ext 48756LIBS=$ac_check_lib_save_LIBS 48757fi 48758{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_read_from_file_stream" >&5 48759$as_echo "$ac_cv_lib_fvalue_libfvalue_value_read_from_file_stream" >&6; } 48760if test "x$ac_cv_lib_fvalue_libfvalue_value_read_from_file_stream" = xyes; then : 48761 ac_cv_libfvalue_dummy=yes 48762else 48763 ac_cv_libfvalue=no 48764fi 48765 48766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_write_to_file_stream in -lfvalue" >&5 48767$as_echo_n "checking for libfvalue_value_write_to_file_stream in -lfvalue... " >&6; } 48768if ${ac_cv_lib_fvalue_libfvalue_value_write_to_file_stream+:} false; then : 48769 $as_echo_n "(cached) " >&6 48770else 48771 ac_check_lib_save_LIBS=$LIBS 48772LIBS="-lfvalue $LIBS" 48773cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48774/* end confdefs.h. */ 48775 48776/* Override any GCC internal prototype to avoid an error. 48777 Use char because int might match the return type of a GCC 48778 builtin and then its argument prototype would still apply. */ 48779#ifdef __cplusplus 48780extern "C" 48781#endif 48782char libfvalue_value_write_to_file_stream (); 48783int 48784main () 48785{ 48786return libfvalue_value_write_to_file_stream (); 48787 ; 48788 return 0; 48789} 48790_ACEOF 48791if ac_fn_c_try_link "$LINENO"; then : 48792 ac_cv_lib_fvalue_libfvalue_value_write_to_file_stream=yes 48793else 48794 ac_cv_lib_fvalue_libfvalue_value_write_to_file_stream=no 48795fi 48796rm -f core conftest.err conftest.$ac_objext \ 48797 conftest$ac_exeext conftest.$ac_ext 48798LIBS=$ac_check_lib_save_LIBS 48799fi 48800{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_write_to_file_stream" >&5 48801$as_echo "$ac_cv_lib_fvalue_libfvalue_value_write_to_file_stream" >&6; } 48802if test "x$ac_cv_lib_fvalue_libfvalue_value_write_to_file_stream" = xyes; then : 48803 ac_cv_libfvalue_dummy=yes 48804else 48805 ac_cv_libfvalue=no 48806fi 48807 48808 48809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_type_initialize in -lfvalue" >&5 48810$as_echo_n "checking for libfvalue_value_type_initialize in -lfvalue... " >&6; } 48811if ${ac_cv_lib_fvalue_libfvalue_value_type_initialize+:} false; then : 48812 $as_echo_n "(cached) " >&6 48813else 48814 ac_check_lib_save_LIBS=$LIBS 48815LIBS="-lfvalue $LIBS" 48816cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48817/* end confdefs.h. */ 48818 48819/* Override any GCC internal prototype to avoid an error. 48820 Use char because int might match the return type of a GCC 48821 builtin and then its argument prototype would still apply. */ 48822#ifdef __cplusplus 48823extern "C" 48824#endif 48825char libfvalue_value_type_initialize (); 48826int 48827main () 48828{ 48829return libfvalue_value_type_initialize (); 48830 ; 48831 return 0; 48832} 48833_ACEOF 48834if ac_fn_c_try_link "$LINENO"; then : 48835 ac_cv_lib_fvalue_libfvalue_value_type_initialize=yes 48836else 48837 ac_cv_lib_fvalue_libfvalue_value_type_initialize=no 48838fi 48839rm -f core conftest.err conftest.$ac_objext \ 48840 conftest$ac_exeext conftest.$ac_ext 48841LIBS=$ac_check_lib_save_LIBS 48842fi 48843{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_type_initialize" >&5 48844$as_echo "$ac_cv_lib_fvalue_libfvalue_value_type_initialize" >&6; } 48845if test "x$ac_cv_lib_fvalue_libfvalue_value_type_initialize" = xyes; then : 48846 ac_cv_libfvalue_dummy=yes 48847else 48848 ac_cv_libfvalue=no 48849fi 48850 48851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_type_initialize_with_data_handle in -lfvalue" >&5 48852$as_echo_n "checking for libfvalue_value_type_initialize_with_data_handle in -lfvalue... " >&6; } 48853if ${ac_cv_lib_fvalue_libfvalue_value_type_initialize_with_data_handle+:} false; then : 48854 $as_echo_n "(cached) " >&6 48855else 48856 ac_check_lib_save_LIBS=$LIBS 48857LIBS="-lfvalue $LIBS" 48858cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48859/* end confdefs.h. */ 48860 48861/* Override any GCC internal prototype to avoid an error. 48862 Use char because int might match the return type of a GCC 48863 builtin and then its argument prototype would still apply. */ 48864#ifdef __cplusplus 48865extern "C" 48866#endif 48867char libfvalue_value_type_initialize_with_data_handle (); 48868int 48869main () 48870{ 48871return libfvalue_value_type_initialize_with_data_handle (); 48872 ; 48873 return 0; 48874} 48875_ACEOF 48876if ac_fn_c_try_link "$LINENO"; then : 48877 ac_cv_lib_fvalue_libfvalue_value_type_initialize_with_data_handle=yes 48878else 48879 ac_cv_lib_fvalue_libfvalue_value_type_initialize_with_data_handle=no 48880fi 48881rm -f core conftest.err conftest.$ac_objext \ 48882 conftest$ac_exeext conftest.$ac_ext 48883LIBS=$ac_check_lib_save_LIBS 48884fi 48885{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_type_initialize_with_data_handle" >&5 48886$as_echo "$ac_cv_lib_fvalue_libfvalue_value_type_initialize_with_data_handle" >&6; } 48887if test "x$ac_cv_lib_fvalue_libfvalue_value_type_initialize_with_data_handle" = xyes; then : 48888 ac_cv_libfvalue_dummy=yes 48889else 48890 ac_cv_libfvalue=no 48891fi 48892 48893 48894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_type_set_data_string in -lfvalue" >&5 48895$as_echo_n "checking for libfvalue_value_type_set_data_string in -lfvalue... " >&6; } 48896if ${ac_cv_lib_fvalue_libfvalue_value_type_set_data_string+:} false; then : 48897 $as_echo_n "(cached) " >&6 48898else 48899 ac_check_lib_save_LIBS=$LIBS 48900LIBS="-lfvalue $LIBS" 48901cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48902/* end confdefs.h. */ 48903 48904/* Override any GCC internal prototype to avoid an error. 48905 Use char because int might match the return type of a GCC 48906 builtin and then its argument prototype would still apply. */ 48907#ifdef __cplusplus 48908extern "C" 48909#endif 48910char libfvalue_value_type_set_data_string (); 48911int 48912main () 48913{ 48914return libfvalue_value_type_set_data_string (); 48915 ; 48916 return 0; 48917} 48918_ACEOF 48919if ac_fn_c_try_link "$LINENO"; then : 48920 ac_cv_lib_fvalue_libfvalue_value_type_set_data_string=yes 48921else 48922 ac_cv_lib_fvalue_libfvalue_value_type_set_data_string=no 48923fi 48924rm -f core conftest.err conftest.$ac_objext \ 48925 conftest$ac_exeext conftest.$ac_ext 48926LIBS=$ac_check_lib_save_LIBS 48927fi 48928{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_type_set_data_string" >&5 48929$as_echo "$ac_cv_lib_fvalue_libfvalue_value_type_set_data_string" >&6; } 48930if test "x$ac_cv_lib_fvalue_libfvalue_value_type_set_data_string" = xyes; then : 48931 ac_cv_libfvalue_dummy=yes 48932else 48933 ac_cv_libfvalue=no 48934fi 48935 48936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_type_append_data_string in -lfvalue" >&5 48937$as_echo_n "checking for libfvalue_value_type_append_data_string in -lfvalue... " >&6; } 48938if ${ac_cv_lib_fvalue_libfvalue_value_type_append_data_string+:} false; then : 48939 $as_echo_n "(cached) " >&6 48940else 48941 ac_check_lib_save_LIBS=$LIBS 48942LIBS="-lfvalue $LIBS" 48943cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48944/* end confdefs.h. */ 48945 48946/* Override any GCC internal prototype to avoid an error. 48947 Use char because int might match the return type of a GCC 48948 builtin and then its argument prototype would still apply. */ 48949#ifdef __cplusplus 48950extern "C" 48951#endif 48952char libfvalue_value_type_append_data_string (); 48953int 48954main () 48955{ 48956return libfvalue_value_type_append_data_string (); 48957 ; 48958 return 0; 48959} 48960_ACEOF 48961if ac_fn_c_try_link "$LINENO"; then : 48962 ac_cv_lib_fvalue_libfvalue_value_type_append_data_string=yes 48963else 48964 ac_cv_lib_fvalue_libfvalue_value_type_append_data_string=no 48965fi 48966rm -f core conftest.err conftest.$ac_objext \ 48967 conftest$ac_exeext conftest.$ac_ext 48968LIBS=$ac_check_lib_save_LIBS 48969fi 48970{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_type_append_data_string" >&5 48971$as_echo "$ac_cv_lib_fvalue_libfvalue_value_type_append_data_string" >&6; } 48972if test "x$ac_cv_lib_fvalue_libfvalue_value_type_append_data_string" = xyes; then : 48973 ac_cv_libfvalue_dummy=yes 48974else 48975 ac_cv_libfvalue=no 48976fi 48977 48978 48979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_type_set_data_strings_array in -lfvalue" >&5 48980$as_echo_n "checking for libfvalue_value_type_set_data_strings_array in -lfvalue... " >&6; } 48981if ${ac_cv_lib_fvalue_libfvalue_value_type_set_data_strings_array+:} false; then : 48982 $as_echo_n "(cached) " >&6 48983else 48984 ac_check_lib_save_LIBS=$LIBS 48985LIBS="-lfvalue $LIBS" 48986cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48987/* end confdefs.h. */ 48988 48989/* Override any GCC internal prototype to avoid an error. 48990 Use char because int might match the return type of a GCC 48991 builtin and then its argument prototype would still apply. */ 48992#ifdef __cplusplus 48993extern "C" 48994#endif 48995char libfvalue_value_type_set_data_strings_array (); 48996int 48997main () 48998{ 48999return libfvalue_value_type_set_data_strings_array (); 49000 ; 49001 return 0; 49002} 49003_ACEOF 49004if ac_fn_c_try_link "$LINENO"; then : 49005 ac_cv_lib_fvalue_libfvalue_value_type_set_data_strings_array=yes 49006else 49007 ac_cv_lib_fvalue_libfvalue_value_type_set_data_strings_array=no 49008fi 49009rm -f core conftest.err conftest.$ac_objext \ 49010 conftest$ac_exeext conftest.$ac_ext 49011LIBS=$ac_check_lib_save_LIBS 49012fi 49013{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_type_set_data_strings_array" >&5 49014$as_echo "$ac_cv_lib_fvalue_libfvalue_value_type_set_data_strings_array" >&6; } 49015if test "x$ac_cv_lib_fvalue_libfvalue_value_type_set_data_strings_array" = xyes; then : 49016 ac_cv_libfvalue_dummy=yes 49017else 49018 ac_cv_libfvalue=no 49019fi 49020 49021 49022 ac_cv_libfvalue_LIBADD="-lfvalue" 49023fi 49024 49025fi 49026 if test "x$ac_cv_with_libfvalue" != x && test "x$ac_cv_with_libfvalue" != xauto-detect && test "x$ac_cv_libfvalue" != xyes; then : 49027 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 49028$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 49029as_fn_error 1 "unable to find supported libfvalue in directory: $ac_cv_with_libfvalue 49030See \`config.log' for more details" "$LINENO" 5; } 49031 49032fi 49033 49034fi 49035 49036 if test "x$ac_cv_libfvalue" = xyes; then : 49037 49038$as_echo "#define HAVE_LIBFVALUE 1" >>confdefs.h 49039 49040 49041fi 49042 49043 if test "x$ac_cv_libfvalue" = xyes; then : 49044 HAVE_LIBFVALUE=1 49045 49046else 49047 HAVE_LIBFVALUE=0 49048 49049 49050fi 49051 49052 49053 if test "x$ac_cv_libfvalue" != xyes; then : 49054 49055 ac_cv_libfvalue_CPPFLAGS="-I../libfvalue"; 49056 ac_cv_libfvalue_LIBADD="../libfvalue/libfvalue.la"; 49057 49058 ac_cv_libfvalue=local 49059 49060 49061 49062$as_echo "#define HAVE_LOCAL_LIBFVALUE 1" >>confdefs.h 49063 49064 HAVE_LOCAL_LIBFVALUE=1 49065 49066 49067fi 49068 49069 if test "x$ac_cv_libfvalue" = xlocal; then 49070 HAVE_LOCAL_LIBFVALUE_TRUE= 49071 HAVE_LOCAL_LIBFVALUE_FALSE='#' 49072else 49073 HAVE_LOCAL_LIBFVALUE_TRUE='#' 49074 HAVE_LOCAL_LIBFVALUE_FALSE= 49075fi 49076 49077 if test "x$ac_cv_libfvalue_CPPFLAGS" != "x"; then : 49078 LIBFVALUE_CPPFLAGS=$ac_cv_libfvalue_CPPFLAGS 49079 49080 49081fi 49082 if test "x$ac_cv_libfvalue_LIBADD" != "x"; then : 49083 LIBFVALUE_LIBADD=$ac_cv_libfvalue_LIBADD 49084 49085 49086fi 49087 49088 if test "x$ac_cv_libfvalue" = xyes; then : 49089 ax_libfvalue_pc_libs_private=-lfvalue 49090 49091 49092fi 49093 49094 if test "x$ac_cv_libfvalue" = xyes; then : 49095 ax_libfvalue_spec_requires=libfvalue 49096 49097 ax_libfvalue_spec_build_requires=libfvalue-devel 49098 49099 49100fi 49101 49102 49103 49104 49105# Check whether --with-libfwps was given. 49106if test "${with_libfwps+set}" = set; then : 49107 withval=$with_libfwps; ac_cv_with_libfwps=$withval 49108else 49109 ac_cv_with_libfwps=auto-detect 49110fi 49111 49112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use search for libfwps in includedir and libdir or in the specified DIR, or no if to use local version" >&5 49113$as_echo_n "checking whether to use search for libfwps in includedir and libdir or in the specified DIR, or no if to use local version... " >&6; } 49114if ${ac_cv_with_libfwps+:} false; then : 49115 $as_echo_n "(cached) " >&6 49116else 49117 ac_cv_with_libfwps=auto-detect 49118fi 49119{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libfwps" >&5 49120$as_echo "$ac_cv_with_libfwps" >&6; } 49121 49122 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libfwps" = xno; then : 49123 ac_cv_libfwps=no 49124else 49125 ac_cv_libfwps=check 49126 if test "x$ac_cv_with_libfwps" != x && test "x$ac_cv_with_libfwps" != xauto-detect; then : 49127 if test -d "$ac_cv_with_libfwps"; then : 49128 CFLAGS="$CFLAGS -I${ac_cv_with_libfwps}/include" 49129 LDFLAGS="$LDFLAGS -L${ac_cv_with_libfwps}/lib" 49130else 49131 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 49132$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 49133as_fn_error 1 "no such directory: $ac_cv_with_libfwps 49134See \`config.log' for more details" "$LINENO" 5; } 49135 49136fi 49137 49138else 49139 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 49140 49141pkg_failed=no 49142{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfwps" >&5 49143$as_echo_n "checking for libfwps... " >&6; } 49144 49145if test -n "$libfwps_CFLAGS"; then 49146 pkg_cv_libfwps_CFLAGS="$libfwps_CFLAGS" 49147 elif test -n "$PKG_CONFIG"; then 49148 if test -n "$PKG_CONFIG" && \ 49149 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfwps >= 20140622\""; } >&5 49150 ($PKG_CONFIG --exists --print-errors "libfwps >= 20140622") 2>&5 49151 ac_status=$? 49152 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 49153 test $ac_status = 0; }; then 49154 pkg_cv_libfwps_CFLAGS=`$PKG_CONFIG --cflags "libfwps >= 20140622" 2>/dev/null` 49155 test "x$?" != "x0" && pkg_failed=yes 49156else 49157 pkg_failed=yes 49158fi 49159 else 49160 pkg_failed=untried 49161fi 49162if test -n "$libfwps_LIBS"; then 49163 pkg_cv_libfwps_LIBS="$libfwps_LIBS" 49164 elif test -n "$PKG_CONFIG"; then 49165 if test -n "$PKG_CONFIG" && \ 49166 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfwps >= 20140622\""; } >&5 49167 ($PKG_CONFIG --exists --print-errors "libfwps >= 20140622") 2>&5 49168 ac_status=$? 49169 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 49170 test $ac_status = 0; }; then 49171 pkg_cv_libfwps_LIBS=`$PKG_CONFIG --libs "libfwps >= 20140622" 2>/dev/null` 49172 test "x$?" != "x0" && pkg_failed=yes 49173else 49174 pkg_failed=yes 49175fi 49176 else 49177 pkg_failed=untried 49178fi 49179 49180 49181 49182if test $pkg_failed = yes; then 49183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 49184$as_echo "no" >&6; } 49185 49186if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 49187 _pkg_short_errors_supported=yes 49188else 49189 _pkg_short_errors_supported=no 49190fi 49191 if test $_pkg_short_errors_supported = yes; then 49192 libfwps_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libfwps >= 20140622" 2>&1` 49193 else 49194 libfwps_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libfwps >= 20140622" 2>&1` 49195 fi 49196 # Put the nasty error message in config.log where it belongs 49197 echo "$libfwps_PKG_ERRORS" >&5 49198 49199 ac_cv_libfwps=check 49200elif test $pkg_failed = untried; then 49201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 49202$as_echo "no" >&6; } 49203 ac_cv_libfwps=check 49204else 49205 libfwps_CFLAGS=$pkg_cv_libfwps_CFLAGS 49206 libfwps_LIBS=$pkg_cv_libfwps_LIBS 49207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 49208$as_echo "yes" >&6; } 49209 ac_cv_libfwps=yes 49210fi 49211 49212fi 49213 if test "x$ac_cv_libfwps" = xyes; then : 49214 ac_cv_libfwps_CPPFLAGS="$pkg_cv_libfwps_CFLAGS" 49215 ac_cv_libfwps_LIBADD="$pkg_cv_libfwps_LIBS" 49216fi 49217 49218fi 49219 49220 if test "x$ac_cv_libfwps" = xcheck; then : 49221 for ac_header in libfwps.h 49222do : 49223 ac_fn_c_check_header_mongrel "$LINENO" "libfwps.h" "ac_cv_header_libfwps_h" "$ac_includes_default" 49224if test "x$ac_cv_header_libfwps_h" = xyes; then : 49225 cat >>confdefs.h <<_ACEOF 49226#define HAVE_LIBFWPS_H 1 49227_ACEOF 49228 49229fi 49230 49231done 49232 49233 49234 if test "x$ac_cv_header_libfwps_h" = xno; then : 49235 ac_cv_libfwps=no 49236else 49237 ac_cv_libfwps=yes 49238 49239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfwps_get_version in -lfwps" >&5 49240$as_echo_n "checking for libfwps_get_version in -lfwps... " >&6; } 49241if ${ac_cv_lib_fwps_libfwps_get_version+:} false; then : 49242 $as_echo_n "(cached) " >&6 49243else 49244 ac_check_lib_save_LIBS=$LIBS 49245LIBS="-lfwps $LIBS" 49246cat confdefs.h - <<_ACEOF >conftest.$ac_ext 49247/* end confdefs.h. */ 49248 49249/* Override any GCC internal prototype to avoid an error. 49250 Use char because int might match the return type of a GCC 49251 builtin and then its argument prototype would still apply. */ 49252#ifdef __cplusplus 49253extern "C" 49254#endif 49255char libfwps_get_version (); 49256int 49257main () 49258{ 49259return libfwps_get_version (); 49260 ; 49261 return 0; 49262} 49263_ACEOF 49264if ac_fn_c_try_link "$LINENO"; then : 49265 ac_cv_lib_fwps_libfwps_get_version=yes 49266else 49267 ac_cv_lib_fwps_libfwps_get_version=no 49268fi 49269rm -f core conftest.err conftest.$ac_objext \ 49270 conftest$ac_exeext conftest.$ac_ext 49271LIBS=$ac_check_lib_save_LIBS 49272fi 49273{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fwps_libfwps_get_version" >&5 49274$as_echo "$ac_cv_lib_fwps_libfwps_get_version" >&6; } 49275if test "x$ac_cv_lib_fwps_libfwps_get_version" = xyes; then : 49276 ac_cv_libfwps_dummy=yes 49277else 49278 ac_cv_libfwps=no 49279fi 49280 49281 49282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfwps_store_initialize in -lfwps" >&5 49283$as_echo_n "checking for libfwps_store_initialize in -lfwps... " >&6; } 49284if ${ac_cv_lib_fwps_libfwps_store_initialize+:} false; then : 49285 $as_echo_n "(cached) " >&6 49286else 49287 ac_check_lib_save_LIBS=$LIBS 49288LIBS="-lfwps $LIBS" 49289cat confdefs.h - <<_ACEOF >conftest.$ac_ext 49290/* end confdefs.h. */ 49291 49292/* Override any GCC internal prototype to avoid an error. 49293 Use char because int might match the return type of a GCC 49294 builtin and then its argument prototype would still apply. */ 49295#ifdef __cplusplus 49296extern "C" 49297#endif 49298char libfwps_store_initialize (); 49299int 49300main () 49301{ 49302return libfwps_store_initialize (); 49303 ; 49304 return 0; 49305} 49306_ACEOF 49307if ac_fn_c_try_link "$LINENO"; then : 49308 ac_cv_lib_fwps_libfwps_store_initialize=yes 49309else 49310 ac_cv_lib_fwps_libfwps_store_initialize=no 49311fi 49312rm -f core conftest.err conftest.$ac_objext \ 49313 conftest$ac_exeext conftest.$ac_ext 49314LIBS=$ac_check_lib_save_LIBS 49315fi 49316{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fwps_libfwps_store_initialize" >&5 49317$as_echo "$ac_cv_lib_fwps_libfwps_store_initialize" >&6; } 49318if test "x$ac_cv_lib_fwps_libfwps_store_initialize" = xyes; then : 49319 ac_cv_libfwps_dummy=yes 49320else 49321 ac_cv_libfwps=no 49322fi 49323 49324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfwps_store_free in -lfwps" >&5 49325$as_echo_n "checking for libfwps_store_free in -lfwps... " >&6; } 49326if ${ac_cv_lib_fwps_libfwps_store_free+:} false; then : 49327 $as_echo_n "(cached) " >&6 49328else 49329 ac_check_lib_save_LIBS=$LIBS 49330LIBS="-lfwps $LIBS" 49331cat confdefs.h - <<_ACEOF >conftest.$ac_ext 49332/* end confdefs.h. */ 49333 49334/* Override any GCC internal prototype to avoid an error. 49335 Use char because int might match the return type of a GCC 49336 builtin and then its argument prototype would still apply. */ 49337#ifdef __cplusplus 49338extern "C" 49339#endif 49340char libfwps_store_free (); 49341int 49342main () 49343{ 49344return libfwps_store_free (); 49345 ; 49346 return 0; 49347} 49348_ACEOF 49349if ac_fn_c_try_link "$LINENO"; then : 49350 ac_cv_lib_fwps_libfwps_store_free=yes 49351else 49352 ac_cv_lib_fwps_libfwps_store_free=no 49353fi 49354rm -f core conftest.err conftest.$ac_objext \ 49355 conftest$ac_exeext conftest.$ac_ext 49356LIBS=$ac_check_lib_save_LIBS 49357fi 49358{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fwps_libfwps_store_free" >&5 49359$as_echo "$ac_cv_lib_fwps_libfwps_store_free" >&6; } 49360if test "x$ac_cv_lib_fwps_libfwps_store_free" = xyes; then : 49361 ac_cv_libfwps_dummy=yes 49362else 49363 ac_cv_libfwps=no 49364fi 49365 49366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfwps_store_copy_from_byte_stream in -lfwps" >&5 49367$as_echo_n "checking for libfwps_store_copy_from_byte_stream in -lfwps... " >&6; } 49368if ${ac_cv_lib_fwps_libfwps_store_copy_from_byte_stream+:} false; then : 49369 $as_echo_n "(cached) " >&6 49370else 49371 ac_check_lib_save_LIBS=$LIBS 49372LIBS="-lfwps $LIBS" 49373cat confdefs.h - <<_ACEOF >conftest.$ac_ext 49374/* end confdefs.h. */ 49375 49376/* Override any GCC internal prototype to avoid an error. 49377 Use char because int might match the return type of a GCC 49378 builtin and then its argument prototype would still apply. */ 49379#ifdef __cplusplus 49380extern "C" 49381#endif 49382char libfwps_store_copy_from_byte_stream (); 49383int 49384main () 49385{ 49386return libfwps_store_copy_from_byte_stream (); 49387 ; 49388 return 0; 49389} 49390_ACEOF 49391if ac_fn_c_try_link "$LINENO"; then : 49392 ac_cv_lib_fwps_libfwps_store_copy_from_byte_stream=yes 49393else 49394 ac_cv_lib_fwps_libfwps_store_copy_from_byte_stream=no 49395fi 49396rm -f core conftest.err conftest.$ac_objext \ 49397 conftest$ac_exeext conftest.$ac_ext 49398LIBS=$ac_check_lib_save_LIBS 49399fi 49400{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fwps_libfwps_store_copy_from_byte_stream" >&5 49401$as_echo "$ac_cv_lib_fwps_libfwps_store_copy_from_byte_stream" >&6; } 49402if test "x$ac_cv_lib_fwps_libfwps_store_copy_from_byte_stream" = xyes; then : 49403 ac_cv_libfwps_dummy=yes 49404else 49405 ac_cv_libfwps=no 49406fi 49407 49408 49409 ac_cv_libfwps_LIBADD="-lfwps" 49410fi 49411 49412fi 49413 if test "x$ac_cv_with_libfwps" != x && test "x$ac_cv_with_libfwps" != xauto-detect && test "x$ac_cv_libfwps" != xyes; then : 49414 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 49415$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 49416as_fn_error 1 "unable to find supported libfwps in directory: $ac_cv_with_libfwps 49417See \`config.log' for more details" "$LINENO" 5; } 49418 49419fi 49420 49421fi 49422 49423 if test "x$ac_cv_libfwps" = xyes && test "x$ac_cv_enable_debug_output" != xno; then : 49424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfwps_property_identifier_get_description in -lfwps" >&5 49425$as_echo_n "checking for libfwps_property_identifier_get_description in -lfwps... " >&6; } 49426if ${ac_cv_lib_fwps_libfwps_property_identifier_get_description+:} false; then : 49427 $as_echo_n "(cached) " >&6 49428else 49429 ac_check_lib_save_LIBS=$LIBS 49430LIBS="-lfwps $LIBS" 49431cat confdefs.h - <<_ACEOF >conftest.$ac_ext 49432/* end confdefs.h. */ 49433 49434/* Override any GCC internal prototype to avoid an error. 49435 Use char because int might match the return type of a GCC 49436 builtin and then its argument prototype would still apply. */ 49437#ifdef __cplusplus 49438extern "C" 49439#endif 49440char libfwps_property_identifier_get_description (); 49441int 49442main () 49443{ 49444return libfwps_property_identifier_get_description (); 49445 ; 49446 return 0; 49447} 49448_ACEOF 49449if ac_fn_c_try_link "$LINENO"; then : 49450 ac_cv_lib_fwps_libfwps_property_identifier_get_description=yes 49451else 49452 ac_cv_lib_fwps_libfwps_property_identifier_get_description=no 49453fi 49454rm -f core conftest.err conftest.$ac_objext \ 49455 conftest$ac_exeext conftest.$ac_ext 49456LIBS=$ac_check_lib_save_LIBS 49457fi 49458{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fwps_libfwps_property_identifier_get_description" >&5 49459$as_echo "$ac_cv_lib_fwps_libfwps_property_identifier_get_description" >&6; } 49460if test "x$ac_cv_lib_fwps_libfwps_property_identifier_get_description" = xyes; then : 49461 ac_cv_libfwps_dummy=yes 49462else 49463 ac_cv_libfwps=no 49464fi 49465 49466 49467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfwps_property_identifier_get_identifier in -lfwps" >&5 49468$as_echo_n "checking for libfwps_property_identifier_get_identifier in -lfwps... " >&6; } 49469if ${ac_cv_lib_fwps_libfwps_property_identifier_get_identifier+:} false; then : 49470 $as_echo_n "(cached) " >&6 49471else 49472 ac_check_lib_save_LIBS=$LIBS 49473LIBS="-lfwps $LIBS" 49474cat confdefs.h - <<_ACEOF >conftest.$ac_ext 49475/* end confdefs.h. */ 49476 49477/* Override any GCC internal prototype to avoid an error. 49478 Use char because int might match the return type of a GCC 49479 builtin and then its argument prototype would still apply. */ 49480#ifdef __cplusplus 49481extern "C" 49482#endif 49483char libfwps_property_identifier_get_identifier (); 49484int 49485main () 49486{ 49487return libfwps_property_identifier_get_identifier (); 49488 ; 49489 return 0; 49490} 49491_ACEOF 49492if ac_fn_c_try_link "$LINENO"; then : 49493 ac_cv_lib_fwps_libfwps_property_identifier_get_identifier=yes 49494else 49495 ac_cv_lib_fwps_libfwps_property_identifier_get_identifier=no 49496fi 49497rm -f core conftest.err conftest.$ac_objext \ 49498 conftest$ac_exeext conftest.$ac_ext 49499LIBS=$ac_check_lib_save_LIBS 49500fi 49501{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fwps_libfwps_property_identifier_get_identifier" >&5 49502$as_echo "$ac_cv_lib_fwps_libfwps_property_identifier_get_identifier" >&6; } 49503if test "x$ac_cv_lib_fwps_libfwps_property_identifier_get_identifier" = xyes; then : 49504 ac_cv_libfwps_dummy=yes 49505else 49506 ac_cv_libfwps=no 49507fi 49508 49509 49510fi 49511 49512 if test "x$ac_cv_libfwps" = xyes; then : 49513 49514$as_echo "#define HAVE_LIBFWPS 1" >>confdefs.h 49515 49516 49517fi 49518 49519 if test "x$ac_cv_libfwps" = xyes; then : 49520 HAVE_LIBFWPS=1 49521 49522else 49523 HAVE_LIBFWPS=0 49524 49525 49526fi 49527 49528 49529 if test "x$ac_cv_libfwps" != xyes; then : 49530 49531 ac_cv_libfwps_CPPFLAGS="-I../libfwps"; 49532 ac_cv_libfwps_LIBADD="../libfwps/libfwps.la"; 49533 49534 ac_cv_libfwps=local 49535 49536 49537 49538$as_echo "#define HAVE_LOCAL_LIBFWPS 1" >>confdefs.h 49539 49540 HAVE_LOCAL_LIBFWPS=1 49541 49542 49543fi 49544 49545 if test "x$ac_cv_libfwps" = xlocal; then 49546 HAVE_LOCAL_LIBFWPS_TRUE= 49547 HAVE_LOCAL_LIBFWPS_FALSE='#' 49548else 49549 HAVE_LOCAL_LIBFWPS_TRUE='#' 49550 HAVE_LOCAL_LIBFWPS_FALSE= 49551fi 49552 49553 if test "x$ac_cv_libfwps_CPPFLAGS" != "x"; then : 49554 LIBFWPS_CPPFLAGS=$ac_cv_libfwps_CPPFLAGS 49555 49556 49557fi 49558 if test "x$ac_cv_libfwps_LIBADD" != "x"; then : 49559 LIBFWPS_LIBADD=$ac_cv_libfwps_LIBADD 49560 49561 49562fi 49563 49564 if test "x$ac_cv_libfwps" = xyes; then : 49565 ax_libfwps_pc_libs_private=-lfwps 49566 49567 49568fi 49569 49570 if test "x$ac_cv_libfwps" = xyes; then : 49571 ax_libfwps_spec_requires=libfwps 49572 49573 ax_libfwps_spec_build_requires=libfwps-devel 49574 49575 49576fi 49577 49578 49579 for ac_func in bindtextdomain 49580do : 49581 ac_fn_c_check_func "$LINENO" "bindtextdomain" "ac_cv_func_bindtextdomain" 49582if test "x$ac_cv_func_bindtextdomain" = xyes; then : 49583 cat >>confdefs.h <<_ACEOF 49584#define HAVE_BINDTEXTDOMAIN 1 49585_ACEOF 49586 49587fi 49588done 49589 49590 49591 49592 49593 49594# Check whether --with-pyprefix was given. 49595if test "${with_pyprefix+set}" = set; then : 49596 withval=$with_pyprefix; ac_cv_with_pyprefix=$withval 49597else 49598 ac_cv_with_pyprefix=no 49599fi 49600 49601 { $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 49602$as_echo_n "checking whether to use use \`python-config --prefix' to determine the prefix of pythondir instead of --prefix... " >&6; } 49603if ${ac_cv_with_pyprefix+:} false; then : 49604 $as_echo_n "(cached) " >&6 49605else 49606 ac_cv_with_pyprefix=no 49607fi 49608{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_pyprefix" >&5 49609$as_echo "$ac_cv_with_pyprefix" >&6; } 49610 49611 49612 49613 # Check whether --enable-python was given. 49614if test "${enable_python+set}" = set; then : 49615 enableval=$enable_python; ac_cv_enable_python=$enableval 49616else 49617 ac_cv_enable_python=no 49618fi 49619 49620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable build Python bindings" >&5 49621$as_echo_n "checking whether to enable build Python bindings... " >&6; } 49622if ${ac_cv_enable_python+:} false; then : 49623 $as_echo_n "(cached) " >&6 49624else 49625 ac_cv_enable_python=no 49626fi 49627{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_python" >&5 49628$as_echo "$ac_cv_enable_python" >&6; } 49629 49630 49631# Check whether --with-pythondir was given. 49632if test "${with_pythondir+set}" = set; then : 49633 withval=$with_pythondir; ac_cv_with_pythondir=$withval 49634else 49635 ac_cv_with_pythondir=no 49636fi 49637 49638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use use to specify the Python directory (pythondir)" >&5 49639$as_echo_n "checking whether to use use to specify the Python directory (pythondir)... " >&6; } 49640if ${ac_cv_with_pythondir+:} false; then : 49641 $as_echo_n "(cached) " >&6 49642else 49643 ac_cv_with_pythondir=no 49644fi 49645{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_pythondir" >&5 49646$as_echo "$ac_cv_with_pythondir" >&6; } 49647 49648 49649 # Check whether --enable-python2 was given. 49650if test "${enable_python2+set}" = set; then : 49651 enableval=$enable_python2; ac_cv_enable_python2=$enableval 49652else 49653 ac_cv_enable_python2=no 49654fi 49655 49656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable build Python 2 bindings" >&5 49657$as_echo_n "checking whether to enable build Python 2 bindings... " >&6; } 49658if ${ac_cv_enable_python2+:} false; then : 49659 $as_echo_n "(cached) " >&6 49660else 49661 ac_cv_enable_python2=no 49662fi 49663{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_python2" >&5 49664$as_echo "$ac_cv_enable_python2" >&6; } 49665 49666 49667# Check whether --with-pythondir2 was given. 49668if test "${with_pythondir2+set}" = set; then : 49669 withval=$with_pythondir2; ac_cv_with_pythondir2=$withval 49670else 49671 ac_cv_with_pythondir2=no 49672fi 49673 49674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use use to specify the Python 2 directory (pythondir2)" >&5 49675$as_echo_n "checking whether to use use to specify the Python 2 directory (pythondir2)... " >&6; } 49676if ${ac_cv_with_pythondir2+:} false; then : 49677 $as_echo_n "(cached) " >&6 49678else 49679 ac_cv_with_pythondir2=no 49680fi 49681{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_pythondir2" >&5 49682$as_echo "$ac_cv_with_pythondir2" >&6; } 49683 49684 49685 # Check whether --enable-python3 was given. 49686if test "${enable_python3+set}" = set; then : 49687 enableval=$enable_python3; ac_cv_enable_python3=$enableval 49688else 49689 ac_cv_enable_python3=no 49690fi 49691 49692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable build Python 3 bindings" >&5 49693$as_echo_n "checking whether to enable build Python 3 bindings... " >&6; } 49694if ${ac_cv_enable_python3+:} false; then : 49695 $as_echo_n "(cached) " >&6 49696else 49697 ac_cv_enable_python3=no 49698fi 49699{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_python3" >&5 49700$as_echo "$ac_cv_enable_python3" >&6; } 49701 49702 49703# Check whether --with-pythondir3 was given. 49704if test "${with_pythondir3+set}" = set; then : 49705 withval=$with_pythondir3; ac_cv_with_pythondir3=$withval 49706else 49707 ac_cv_with_pythondir3=no 49708fi 49709 49710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use use to specify the Python 3 directory (pythondir3)" >&5 49711$as_echo_n "checking whether to use use to specify the Python 3 directory (pythondir3)... " >&6; } 49712if ${ac_cv_with_pythondir3+:} false; then : 49713 $as_echo_n "(cached) " >&6 49714else 49715 ac_cv_with_pythondir3=no 49716fi 49717{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_pythondir3" >&5 49718$as_echo "$ac_cv_with_pythondir3" >&6; } 49719 49720 if test "x${ac_cv_enable_python}" != xno; then : 49721 if test "x${PYTHON_VERSION}" != x; then : 49722 ax_python_progs="python${PYTHON_VERSION}" 49723else 49724 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" 49725fi 49726 for ac_prog in $ax_python_progs 49727do 49728 # Extract the first word of "$ac_prog", so it can be a program name with args. 49729set dummy $ac_prog; ac_word=$2 49730{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 49731$as_echo_n "checking for $ac_word... " >&6; } 49732if ${ac_cv_prog_PYTHON+:} false; then : 49733 $as_echo_n "(cached) " >&6 49734else 49735 if test -n "$PYTHON"; then 49736 ac_cv_prog_PYTHON="$PYTHON" # Let the user override the test. 49737else 49738as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 49739for as_dir in $PATH 49740do 49741 IFS=$as_save_IFS 49742 test -z "$as_dir" && as_dir=. 49743 for ac_exec_ext in '' $ac_executable_extensions; do 49744 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 49745 ac_cv_prog_PYTHON="$ac_prog" 49746 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 49747 break 2 49748 fi 49749done 49750 done 49751IFS=$as_save_IFS 49752 49753fi 49754fi 49755PYTHON=$ac_cv_prog_PYTHON 49756if test -n "$PYTHON"; then 49757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5 49758$as_echo "$PYTHON" >&6; } 49759else 49760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 49761$as_echo "no" >&6; } 49762fi 49763 49764 49765 test -n "$PYTHON" && break 49766done 49767 49768 if test "x${PYTHON}" != x; then : 49769 ax_prog_python_version=`${PYTHON} -c "import sys; sys.stdout.write(sys.version[:3])" 2>/dev/null`; 49770 ax_prog_python_platform=`${PYTHON} -c "import sys; sys.stdout.write(sys.platform)" 2>/dev/null`; 49771 PYTHON_PLATFORM=$ax_prog_python_platform 49772 49773 49774else 49775 as_fn_error $? "Unable to find python" "$LINENO" 5 49776 49777fi 49778 PYTHON=$PYTHON 49779 49780 49781 if test "x${PYTHON_CONFIG}" = x && test "x${PYTHON_VERSION}" != x; then : 49782 for ac_prog in python${PYTHON_VERSION}-config 49783do 49784 # Extract the first word of "$ac_prog", so it can be a program name with args. 49785set dummy $ac_prog; ac_word=$2 49786{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 49787$as_echo_n "checking for $ac_word... " >&6; } 49788if ${ac_cv_prog_PYTHON_CONFIG+:} false; then : 49789 $as_echo_n "(cached) " >&6 49790else 49791 if test -n "$PYTHON_CONFIG"; then 49792 ac_cv_prog_PYTHON_CONFIG="$PYTHON_CONFIG" # Let the user override the test. 49793else 49794as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 49795for as_dir in $PATH 49796do 49797 IFS=$as_save_IFS 49798 test -z "$as_dir" && as_dir=. 49799 for ac_exec_ext in '' $ac_executable_extensions; do 49800 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 49801 ac_cv_prog_PYTHON_CONFIG="$ac_prog" 49802 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 49803 break 2 49804 fi 49805done 49806 done 49807IFS=$as_save_IFS 49808 49809fi 49810fi 49811PYTHON_CONFIG=$ac_cv_prog_PYTHON_CONFIG 49812if test -n "$PYTHON_CONFIG"; then 49813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_CONFIG" >&5 49814$as_echo "$PYTHON_CONFIG" >&6; } 49815else 49816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 49817$as_echo "no" >&6; } 49818fi 49819 49820 49821 test -n "$PYTHON_CONFIG" && break 49822done 49823 49824 49825fi 49826 if test "x${PYTHON_CONFIG}" = x; then : 49827 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 49828do 49829 # Extract the first word of "$ac_prog", so it can be a program name with args. 49830set dummy $ac_prog; ac_word=$2 49831{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 49832$as_echo_n "checking for $ac_word... " >&6; } 49833if ${ac_cv_prog_PYTHON_CONFIG+:} false; then : 49834 $as_echo_n "(cached) " >&6 49835else 49836 if test -n "$PYTHON_CONFIG"; then 49837 ac_cv_prog_PYTHON_CONFIG="$PYTHON_CONFIG" # Let the user override the test. 49838else 49839as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 49840for as_dir in $PATH 49841do 49842 IFS=$as_save_IFS 49843 test -z "$as_dir" && as_dir=. 49844 for ac_exec_ext in '' $ac_executable_extensions; do 49845 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 49846 ac_cv_prog_PYTHON_CONFIG="$ac_prog" 49847 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 49848 break 2 49849 fi 49850done 49851 done 49852IFS=$as_save_IFS 49853 49854fi 49855fi 49856PYTHON_CONFIG=$ac_cv_prog_PYTHON_CONFIG 49857if test -n "$PYTHON_CONFIG"; then 49858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_CONFIG" >&5 49859$as_echo "$PYTHON_CONFIG" >&6; } 49860else 49861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 49862$as_echo "no" >&6; } 49863fi 49864 49865 49866 test -n "$PYTHON_CONFIG" && break 49867done 49868 49869 49870fi 49871 if test "x${PYTHON_CONFIG}" = x; then : 49872 as_fn_error $? "Unable to find python-config" "$LINENO" 5 49873 49874fi 49875 PYTHON_CONFIG=$PYTHON_CONFIG 49876 49877 49878 49879 if test "x${PYTHON_CONFIG}" != x; then : 49880 PYTHON_INCLUDES=`${PYTHON_CONFIG} --includes 2>/dev/null`; 49881 49882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python includes" >&5 49883$as_echo_n "checking for Python includes... " >&6; } 49884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_INCLUDES" >&5 49885$as_echo "$PYTHON_INCLUDES" >&6; } 49886 49887 PYTHON_LDFLAGS=`${PYTHON_CONFIG} --ldflags 2>/dev/null`; 49888 49889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python libraries" >&5 49890$as_echo_n "checking for Python libraries... " >&6; } 49891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_LDFLAGS" >&5 49892$as_echo "$PYTHON_LDFLAGS" >&6; } 49893 49894 case $host_os in #( 49895 cygwin*) : 49896 PYTHON_LDFLAGS="${PYTHON_LDFLAGS} -no-undefined" ;; #( 49897 *) : 49898 ;; #( 49899 *) : 49900 ;; 49901esac 49902 49903 BACKUP_CPPFLAGS="${CPPFLAGS}" 49904 CPPFLAGS="${CPPFLAGS} ${PYTHON_INCLUDES}" 49905 49906 for ac_header in Python.h 49907do : 49908 ac_fn_c_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default" 49909if test "x$ac_cv_header_Python_h" = xyes; then : 49910 cat >>confdefs.h <<_ACEOF 49911#define HAVE_PYTHON_H 1 49912_ACEOF 49913 ac_cv_header_python_h=yes 49914else 49915 ac_cv_header_python_h=no 49916fi 49917 49918done 49919 49920 49921 CPPFLAGS="${BACKUP_CPPFLAGS}" 49922 49923fi 49924 49925 if test "x${ac_cv_header_python_h}" != xyes; then : 49926 ac_cv_enable_python=no 49927else 49928 ac_cv_enable_python=${ax_prog_python_version} 49929 PYTHON_CPPFLAGS=$PYTHON_INCLUDES 49930 49931 49932 PYTHON_LDFLAGS=$PYTHON_LDFLAGS 49933 49934 49935 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 49936 ax_python_prefix="\${prefix}" 49937else 49938 ax_python_prefix=`${PYTHON_CONFIG} --prefix 2>/dev/null` 49939fi 49940 49941 PYTHON_PREFIX=$ax_python_prefix 49942 49943 49944 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 49945 ax_python_exec_prefix="\${exec_prefix}" 49946else 49947 ax_python_exec_prefix=`${PYTHON_CONFIG} --exec-prefix 2>/dev/null` 49948fi 49949 49950 PYTHON_EXEC_PREFIX=$ax_python_exec_prefix 49951 49952 49953 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`; 49954 49955 if test "x${ac_cv_with_pythondir}" = x || test "x${ac_cv_with_pythondir}" = xno; then : 49956 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 49957 ax_python_pythondir="${ax_python_prefix}/${ax_python_pythondir_suffix}" 49958else 49959 ax_python_pythondir=`${PYTHON} -c "import sys; import distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_python_lib()) " 2>/dev/null` 49960fi 49961else 49962 ax_python_pythondir=$ac_cv_with_pythondir 49963fi 49964 49965 pythondir=$ax_python_pythondir 49966 49967 49968 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`; 49969 ax_python_library_dir=`${PYTHON} -c "import sys; import distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_python_lib(True)) " 2>/dev/null`; 49970 49971 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 49972 ax_python_pyexecdir="${ax_python_exec_prefix}/${ax_python_pyexecdir_suffix}" 49973else 49974 ax_python_pyexecdir=$ax_python_library_dir 49975fi 49976 49977 pyexecdir=$ax_python_pyexecdir 49978 49979 49980 PYTHON_LIBRARY_DIR=$ax_python_pyexecdir_suffix 49981 49982 49983 PYTHON_PACKAGE_DIR=$ax_python_library_dir 49984 49985 49986fi 49987 49988fi 49989 49990 if test "x${ac_cv_enable_python2}" != xno; then : 49991 ax_python2_progs="python2 python2.7 python2.6 python2.5" 49992 for ac_prog in $ax_python2_progs 49993do 49994 # Extract the first word of "$ac_prog", so it can be a program name with args. 49995set dummy $ac_prog; ac_word=$2 49996{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 49997$as_echo_n "checking for $ac_word... " >&6; } 49998if ${ac_cv_prog_PYTHON2+:} false; then : 49999 $as_echo_n "(cached) " >&6 50000else 50001 if test -n "$PYTHON2"; then 50002 ac_cv_prog_PYTHON2="$PYTHON2" # Let the user override the test. 50003else 50004as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 50005for as_dir in $PATH 50006do 50007 IFS=$as_save_IFS 50008 test -z "$as_dir" && as_dir=. 50009 for ac_exec_ext in '' $ac_executable_extensions; do 50010 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 50011 ac_cv_prog_PYTHON2="$ac_prog" 50012 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 50013 break 2 50014 fi 50015done 50016 done 50017IFS=$as_save_IFS 50018 50019fi 50020fi 50021PYTHON2=$ac_cv_prog_PYTHON2 50022if test -n "$PYTHON2"; then 50023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON2" >&5 50024$as_echo "$PYTHON2" >&6; } 50025else 50026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 50027$as_echo "no" >&6; } 50028fi 50029 50030 50031 test -n "$PYTHON2" && break 50032done 50033 50034 if test "x${PYTHON2}" != x; then : 50035 ax_prog_python2_version=`${PYTHON2} -c "import sys; sys.stdout.write(sys.version[:3])" 2>/dev/null`; 50036 PYTHON2_VERSION=$ax_prog_python2_version 50037 50038 50039 ax_prog_python2_platform=`${PYTHON2} -c "import sys; sys.stdout.write(sys.platform)" 2>/dev/null`; 50040 PYTHON2_PLATFORM=$ax_prog_python2_platform 50041 50042 50043else 50044 as_fn_error $? "Unable to find python2" "$LINENO" 5 50045 50046fi 50047 PYTHON2=$PYTHON2 50048 50049 50050 if test "x${PYTHON2_CONFIG}" = x; then : 50051 for ac_prog in python2-config python2.7-config python2.6-config python2.5-config 50052do 50053 # Extract the first word of "$ac_prog", so it can be a program name with args. 50054set dummy $ac_prog; ac_word=$2 50055{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 50056$as_echo_n "checking for $ac_word... " >&6; } 50057if ${ac_cv_prog_PYTHON2_CONFIG+:} false; then : 50058 $as_echo_n "(cached) " >&6 50059else 50060 if test -n "$PYTHON2_CONFIG"; then 50061 ac_cv_prog_PYTHON2_CONFIG="$PYTHON2_CONFIG" # Let the user override the test. 50062else 50063as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 50064for as_dir in $PATH 50065do 50066 IFS=$as_save_IFS 50067 test -z "$as_dir" && as_dir=. 50068 for ac_exec_ext in '' $ac_executable_extensions; do 50069 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 50070 ac_cv_prog_PYTHON2_CONFIG="$ac_prog" 50071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 50072 break 2 50073 fi 50074done 50075 done 50076IFS=$as_save_IFS 50077 50078fi 50079fi 50080PYTHON2_CONFIG=$ac_cv_prog_PYTHON2_CONFIG 50081if test -n "$PYTHON2_CONFIG"; then 50082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON2_CONFIG" >&5 50083$as_echo "$PYTHON2_CONFIG" >&6; } 50084else 50085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 50086$as_echo "no" >&6; } 50087fi 50088 50089 50090 test -n "$PYTHON2_CONFIG" && break 50091done 50092 50093 50094fi 50095 if test "x${PYTHON2_CONFIG}" = x; then : 50096 as_fn_error $? "Unable to find python2-config" "$LINENO" 5 50097 50098fi 50099 PYTHON2_CONFIG=$PYTHON2_CONFIG 50100 50101 50102 50103 if test "x${PYTHON2_CONFIG}" != x; then : 50104 PYTHON2_INCLUDES=`${PYTHON2_CONFIG} --includes 2>/dev/null`; 50105 50106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python verison 2 includes" >&5 50107$as_echo_n "checking for Python verison 2 includes... " >&6; } 50108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON2_INCLUDES" >&5 50109$as_echo "$PYTHON2_INCLUDES" >&6; } 50110 50111 PYTHON2_LDFLAGS=`${PYTHON2_CONFIG} --ldflags 2>/dev/null`; 50112 50113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python 2 libraries" >&5 50114$as_echo_n "checking for Python 2 libraries... " >&6; } 50115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON2_LDFLAGS" >&5 50116$as_echo "$PYTHON2_LDFLAGS" >&6; } 50117 50118 case $host_os in #( 50119 cygwin*) : 50120 PYTHON2_LDFLAGS="${PYTHON2_LDFLAGS} -no-undefined" ;; #( 50121 *) : 50122 ;; #( 50123 *) : 50124 ;; 50125esac 50126 50127 BACKUP_CPPFLAGS="${CPPFLAGS}" 50128 CPPFLAGS="${CPPFLAGS} ${PYTHON2_INCLUDES}" 50129 50130 for ac_header in Python.h 50131do : 50132 ac_fn_c_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default" 50133if test "x$ac_cv_header_Python_h" = xyes; then : 50134 cat >>confdefs.h <<_ACEOF 50135#define HAVE_PYTHON_H 1 50136_ACEOF 50137 ac_cv_header_python2_h=yes 50138else 50139 ac_cv_header_python2_h=no 50140fi 50141 50142done 50143 50144 50145 CPPFLAGS="${BACKUP_CPPFLAGS}" 50146 50147fi 50148 50149 if test "x${ac_cv_header_python2_h}" != xyes; then : 50150 ac_cv_enable_python2=no 50151else 50152 ac_cv_enable_python2=$PYTHON2_VERSION 50153 PYTHON2_CPPFLAGS=$PYTHON2_INCLUDES 50154 50155 50156 PYTHON2_LDFLAGS=$PYTHON2_LDFLAGS 50157 50158 50159 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 50160 ax_python2_prefix="\${prefix}" 50161else 50162 ax_python2_prefix=`${PYTHON2_CONFIG} --prefix 2>/dev/null` 50163fi 50164 50165 PYTHON2_PREFIX=$ax_python2_prefix 50166 50167 50168 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 50169 ax_python2_exec_prefix="\${exec_prefix}" 50170else 50171 ax_python2_exec_prefix=`${PYTHON2_CONFIG} --exec-prefix 2>/dev/null` 50172fi 50173 50174 PYTHON2_EXEC_PREFIX=$ax_python2_exec_prefix 50175 50176 50177 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`; 50178 50179 if test "x${ac_cv_with_pythondir2}" = x || test "x${ac_cv_with_pythondir2}" = xno; then : 50180 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 50181 ax_python2_pythondir="${ax_python_prefix}/${ax_python2_pythondir_suffix}" 50182else 50183 ax_python2_pythondir=`${PYTHON2} -c "import sys; import distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_python_lib()) " 2>/dev/null` 50184fi 50185else 50186 ax_python2_pythondir=$ac_cv_with_pythondir2 50187fi 50188 50189 pythondir2=$ax_python2_pythondir 50190 50191 50192 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`; 50193 ax_python2_library_dir=`${PYTHON2} -c "import sys; import distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_python_lib(True)) " 2>/dev/null`; 50194 50195 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 50196 ax_python2_pyexecdir="${ax_python2_exec_prefix}/${ax_python2_pyexecdir_suffix}" 50197else 50198 ax_python2_pyexecdir=$ax_python2_library_dir 50199fi 50200 50201 pyexecdir2=$ax_python2_pyexecdir 50202 50203 50204 PYTHON2_LIBRARY_DIR=$ax_python2_pyexecdir_suffix 50205 50206 50207 PYTHON2_PACKAGE_DIR=$ax_python2_library_dir 50208 50209 50210fi 50211 50212fi 50213 50214 if test "x${ac_cv_enable_python3}" != xno; then : 50215 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" 50216 for ac_prog in $ax_python3_progs 50217do 50218 # Extract the first word of "$ac_prog", so it can be a program name with args. 50219set dummy $ac_prog; ac_word=$2 50220{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 50221$as_echo_n "checking for $ac_word... " >&6; } 50222if ${ac_cv_prog_PYTHON3+:} false; then : 50223 $as_echo_n "(cached) " >&6 50224else 50225 if test -n "$PYTHON3"; then 50226 ac_cv_prog_PYTHON3="$PYTHON3" # Let the user override the test. 50227else 50228as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 50229for as_dir in $PATH 50230do 50231 IFS=$as_save_IFS 50232 test -z "$as_dir" && as_dir=. 50233 for ac_exec_ext in '' $ac_executable_extensions; do 50234 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 50235 ac_cv_prog_PYTHON3="$ac_prog" 50236 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 50237 break 2 50238 fi 50239done 50240 done 50241IFS=$as_save_IFS 50242 50243fi 50244fi 50245PYTHON3=$ac_cv_prog_PYTHON3 50246if test -n "$PYTHON3"; then 50247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON3" >&5 50248$as_echo "$PYTHON3" >&6; } 50249else 50250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 50251$as_echo "no" >&6; } 50252fi 50253 50254 50255 test -n "$PYTHON3" && break 50256done 50257 50258 if test "x${PYTHON3}" != x; then : 50259 ax_prog_python3_version=`${PYTHON3} -c "import sys; sys.stdout.write(sys.version[:3])" 2>/dev/null`; 50260 PYTHON3_VERSION=$ax_prog_python3_version 50261 50262 50263 ax_prog_python3_platform=`${PYTHON3} -c "import sys; sys.stdout.write(sys.platform)" 2>/dev/null`; 50264 PYTHON3_PLATFORM=$ax_prog_python3_platform 50265 50266 50267else 50268 as_fn_error $? "Unable to find python3" "$LINENO" 5 50269 50270fi 50271 PYTHON3=$PYTHON3 50272 50273 50274 if test "x${PYTHON3_CONFIG}" = x; then : 50275 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 50276do 50277 # Extract the first word of "$ac_prog", so it can be a program name with args. 50278set dummy $ac_prog; ac_word=$2 50279{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 50280$as_echo_n "checking for $ac_word... " >&6; } 50281if ${ac_cv_prog_PYTHON3_CONFIG+:} false; then : 50282 $as_echo_n "(cached) " >&6 50283else 50284 if test -n "$PYTHON3_CONFIG"; then 50285 ac_cv_prog_PYTHON3_CONFIG="$PYTHON3_CONFIG" # Let the user override the test. 50286else 50287as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 50288for as_dir in $PATH 50289do 50290 IFS=$as_save_IFS 50291 test -z "$as_dir" && as_dir=. 50292 for ac_exec_ext in '' $ac_executable_extensions; do 50293 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 50294 ac_cv_prog_PYTHON3_CONFIG="$ac_prog" 50295 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 50296 break 2 50297 fi 50298done 50299 done 50300IFS=$as_save_IFS 50301 50302fi 50303fi 50304PYTHON3_CONFIG=$ac_cv_prog_PYTHON3_CONFIG 50305if test -n "$PYTHON3_CONFIG"; then 50306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON3_CONFIG" >&5 50307$as_echo "$PYTHON3_CONFIG" >&6; } 50308else 50309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 50310$as_echo "no" >&6; } 50311fi 50312 50313 50314 test -n "$PYTHON3_CONFIG" && break 50315done 50316 50317 50318fi 50319 if test "x${PYTHON3_CONFIG}" = x; then : 50320 as_fn_error $? "Unable to find python3-config" "$LINENO" 5 50321 50322fi 50323 PYTHON3_CONFIG=$PYTHON3_CONFIG 50324 50325 50326 50327 if test "x${PYTHON3_CONFIG}" != x; then : 50328 PYTHON3_INCLUDES=`${PYTHON3_CONFIG} --includes 2>/dev/null`; 50329 50330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python verison 3 includes" >&5 50331$as_echo_n "checking for Python verison 3 includes... " >&6; } 50332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON3_INCLUDES" >&5 50333$as_echo "$PYTHON3_INCLUDES" >&6; } 50334 50335 PYTHON3_LDFLAGS=`${PYTHON3_CONFIG} --ldflags 2>/dev/null`; 50336 50337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python 3 libraries" >&5 50338$as_echo_n "checking for Python 3 libraries... " >&6; } 50339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON3_LDFLAGS" >&5 50340$as_echo "$PYTHON3_LDFLAGS" >&6; } 50341 50342 case $host_os in #( 50343 cygwin*) : 50344 PYTHON3_LDFLAGS="${PYTHON3_LDFLAGS} -no-undefined" ;; #( 50345 *) : 50346 ;; #( 50347 *) : 50348 ;; 50349esac 50350 50351 BACKUP_CPPFLAGS="${CPPFLAGS}" 50352 CPPFLAGS="${CPPFLAGS} ${PYTHON3_INCLUDES}" 50353 50354 for ac_header in Python.h 50355do : 50356 ac_fn_c_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default" 50357if test "x$ac_cv_header_Python_h" = xyes; then : 50358 cat >>confdefs.h <<_ACEOF 50359#define HAVE_PYTHON_H 1 50360_ACEOF 50361 ac_cv_header_python3_h=yes 50362else 50363 ac_cv_header_python3_h=no 50364fi 50365 50366done 50367 50368 50369 CPPFLAGS="${BACKUP_CPPFLAGS}" 50370 50371fi 50372 50373 if test "x${ac_cv_header_python3_h}" != xyes; then : 50374 ac_cv_enable_python3=no 50375else 50376 ac_cv_enable_python3=$PYTHON3_VERSION 50377 PYTHON3_CPPFLAGS=$PYTHON3_INCLUDES 50378 50379 50380 PYTHON3_LDFLAGS=$PYTHON3_LDFLAGS 50381 50382 50383 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 50384 ax_python3_prefix="\${prefix}" 50385else 50386 ax_python3_prefix=`${PYTHON3_CONFIG} --prefix 2>/dev/null` 50387fi 50388 50389 PYTHON3_PREFIX=$ax_python3_prefix 50390 50391 50392 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 50393 ax_python3_exec_prefix="\${exec_prefix}" 50394else 50395 ax_python3_exec_prefix=`${PYTHON3_CONFIG} --exec-prefix 2>/dev/null` 50396fi 50397 50398 PYTHON3_EXEC_PREFIX=$ax_python3_exec_prefix 50399 50400 50401 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`; 50402 50403 if test "x${ac_cv_with_pythondir3}" = x || test "x${ac_cv_with_pythondir3}" = xno; then : 50404 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 50405 ax_python3_pythondir="${ax_python_prefix}/${ax_python3_pythondir_suffix}" 50406else 50407 ax_python3_pythondir=`${PYTHON3} -c "import sys; import distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_python_lib()) " 2>/dev/null` 50408fi 50409else 50410 ax_python3_pythondir=$ac_cv_with_pythondir3 50411fi 50412 50413 pythondir3=$ax_python3_pythondir 50414 50415 50416 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`; 50417 ax_python3_library_dir=`${PYTHON3} -c "import sys; import distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_python_lib(True)) " 2>/dev/null`; 50418 50419 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 50420 ax_python3_pyexecdir="${ax_python3_exec_prefix}/${ax_python3_pyexecdir_suffix}" 50421else 50422 ax_python3_pyexecdir=$ax_python3_library_dir 50423fi 50424 50425 pyexecdir3=$ax_python3_pyexecdir 50426 50427 50428 PYTHON3_LIBRARY_DIR=$ax_python3_pyexecdir_suffix 50429 50430 50431 PYTHON3_PACKAGE_DIR=$ax_python3_library_dir 50432 50433 50434fi 50435 50436fi 50437 50438 if test "x${ac_cv_enable_python}" != xno; then 50439 HAVE_PYTHON_TRUE= 50440 HAVE_PYTHON_FALSE='#' 50441else 50442 HAVE_PYTHON_TRUE='#' 50443 HAVE_PYTHON_FALSE= 50444fi 50445 50446 50447 if test "x${ac_cv_enable_python2}" != xno; then 50448 HAVE_PYTHON2_TRUE= 50449 HAVE_PYTHON2_FALSE='#' 50450else 50451 HAVE_PYTHON2_TRUE='#' 50452 HAVE_PYTHON2_FALSE= 50453fi 50454 50455 50456 if test "x${ac_cv_enable_python3}" != xno; then 50457 HAVE_PYTHON3_TRUE= 50458 HAVE_PYTHON3_FALSE='#' 50459else 50460 HAVE_PYTHON3_TRUE='#' 50461 HAVE_PYTHON3_FALSE= 50462fi 50463 50464 50465 if test "x${ac_cv_enable_python}" != xno || test "x${ac_cv_enable_python2}" != xno || test "x${ac_cv_enable_python3}" != xno; then 50466 HAVE_PYTHON_TESTS_TRUE= 50467 HAVE_PYTHON_TESTS_FALSE='#' 50468else 50469 HAVE_PYTHON_TESTS_TRUE='#' 50470 HAVE_PYTHON_TESTS_FALSE= 50471fi 50472 50473 50474 if test "x${ac_cv_enable_python}" = xno; then : 50475 if test "x${ac_cv_enable_python2}" != xno || test "x${ac_cv_enable_python3}" != xno; then : 50476 if test "x${ac_cv_enable_python2}" != xno; then : 50477 ac_cv_enable_python=${ac_cv_enable_python2} 50478else 50479 ac_cv_enable_python="" 50480fi 50481 if test "x${ac_cv_enable_python3}" != xno; then : 50482 if test "x${ac_cv_enable_python}" != x; then : 50483 ac_cv_enable_python="${ac_cv_enable_python}, " 50484fi 50485 ac_cv_enable_python="${ac_cv_enable_python}${ac_cv_enable_python3}" 50486fi 50487 50488fi 50489 50490fi 50491 50492 50493if test "x${ac_cv_enable_python}" != xno || test "x${ac_cv_enable_python2}" != xno || test "x${ac_cv_enable_python3}" != xno; then : 50494 for ac_header in stdarg.h varargs.h 50495do : 50496 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 50497ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 50498if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 50499 cat >>confdefs.h <<_ACEOF 50500#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 50501_ACEOF 50502 50503fi 50504 50505done 50506 50507 50508 if test "x$ac_cv_header_stdarg_h" != xyes && test "x$ac_cv_header_varargs_h" != xyes; then : 50509 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 50510$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 50511as_fn_error 1 "Missing headers: stdarg.h and varargs.h 50512See \`config.log' for more details" "$LINENO" 5; } 50513 50514fi 50515 50516fi 50517 50518 50519 50520# Check whether --with-libfuse was given. 50521if test "${with_libfuse+set}" = set; then : 50522 withval=$with_libfuse; ac_cv_with_libfuse=$withval 50523else 50524 ac_cv_with_libfuse=auto-detect 50525fi 50526 50527 { $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 50528$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; } 50529if ${ac_cv_with_libfuse+:} false; then : 50530 $as_echo_n "(cached) " >&6 50531else 50532 ac_cv_with_libfuse=auto-detect 50533fi 50534{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libfuse" >&5 50535$as_echo "$ac_cv_with_libfuse" >&6; } 50536 50537 if test "x$ac_cv_with_libfuse" != x && test "x$ac_cv_with_libfuse" != xno && test "x$ac_cv_with_libfuse" != xauto-detect; then : 50538 if test -d "$ac_cv_with_libfuse"; then : 50539 CFLAGS="$CFLAGS -I${ac_cv_with_libfuse}/include" 50540 LDFLAGS="$LDFLAGS -L${ac_cv_with_libfuse}/lib" 50541else 50542 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no such directory: $ac_cv_with_libfuse" >&5 50543$as_echo "$as_me: WARNING: no such directory: $ac_cv_with_libfuse" >&2;} 50544 50545fi 50546 50547fi 50548 50549 if test "x$ac_cv_with_libfuse" = xno; then : 50550 ac_cv_libfuse=no 50551else 50552 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 50553 50554pkg_failed=no 50555{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse" >&5 50556$as_echo_n "checking for fuse... " >&6; } 50557 50558if test -n "$fuse_CFLAGS"; then 50559 pkg_cv_fuse_CFLAGS="$fuse_CFLAGS" 50560 elif test -n "$PKG_CONFIG"; then 50561 if test -n "$PKG_CONFIG" && \ 50562 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fuse >= 2.6\""; } >&5 50563 ($PKG_CONFIG --exists --print-errors "fuse >= 2.6") 2>&5 50564 ac_status=$? 50565 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 50566 test $ac_status = 0; }; then 50567 pkg_cv_fuse_CFLAGS=`$PKG_CONFIG --cflags "fuse >= 2.6" 2>/dev/null` 50568 test "x$?" != "x0" && pkg_failed=yes 50569else 50570 pkg_failed=yes 50571fi 50572 else 50573 pkg_failed=untried 50574fi 50575if test -n "$fuse_LIBS"; then 50576 pkg_cv_fuse_LIBS="$fuse_LIBS" 50577 elif test -n "$PKG_CONFIG"; then 50578 if test -n "$PKG_CONFIG" && \ 50579 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fuse >= 2.6\""; } >&5 50580 ($PKG_CONFIG --exists --print-errors "fuse >= 2.6") 2>&5 50581 ac_status=$? 50582 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 50583 test $ac_status = 0; }; then 50584 pkg_cv_fuse_LIBS=`$PKG_CONFIG --libs "fuse >= 2.6" 2>/dev/null` 50585 test "x$?" != "x0" && pkg_failed=yes 50586else 50587 pkg_failed=yes 50588fi 50589 else 50590 pkg_failed=untried 50591fi 50592 50593 50594 50595if test $pkg_failed = yes; then 50596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 50597$as_echo "no" >&6; } 50598 50599if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 50600 _pkg_short_errors_supported=yes 50601else 50602 _pkg_short_errors_supported=no 50603fi 50604 if test $_pkg_short_errors_supported = yes; then 50605 fuse_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "fuse >= 2.6" 2>&1` 50606 else 50607 fuse_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "fuse >= 2.6" 2>&1` 50608 fi 50609 # Put the nasty error message in config.log where it belongs 50610 echo "$fuse_PKG_ERRORS" >&5 50611 50612 ac_cv_libfuse=no 50613elif test $pkg_failed = untried; then 50614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 50615$as_echo "no" >&6; } 50616 ac_cv_libfuse=no 50617else 50618 fuse_CFLAGS=$pkg_cv_fuse_CFLAGS 50619 fuse_LIBS=$pkg_cv_fuse_LIBS 50620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 50621$as_echo "yes" >&6; } 50622 ac_cv_libfuse=libfuse 50623fi 50624 50625fi 50626 50627 if test "x$ac_cv_libfuse" = xlibfuse; then : 50628 ac_cv_libfuse_CPPFLAGS="$pkg_cv_fuse_CFLAGS" 50629 ac_cv_libfuse_LIBADD="$pkg_cv_fuse_LIBS" 50630else 50631 for ac_header in fuse.h 50632do : 50633 ac_fn_c_check_header_mongrel "$LINENO" "fuse.h" "ac_cv_header_fuse_h" "$ac_includes_default" 50634if test "x$ac_cv_header_fuse_h" = xyes; then : 50635 cat >>confdefs.h <<_ACEOF 50636#define HAVE_FUSE_H 1 50637_ACEOF 50638 ac_cv_header_fuse_h=yes 50639else 50640 ac_cv_header_fuse_h=no 50641fi 50642 50643done 50644 50645 50646 if test "x$ac_cv_header_fuse_h" = xno; then : 50647 { ac_cv_header_fuse_h=; unset ac_cv_header_fuse_h;} 50648 CPPFLAGS="$CPPFLAGS -D_FILE_OFFSET_BITS=64" 50649 for ac_header in fuse.h 50650do : 50651 ac_fn_c_check_header_mongrel "$LINENO" "fuse.h" "ac_cv_header_fuse_h" "$ac_includes_default" 50652if test "x$ac_cv_header_fuse_h" = xyes; then : 50653 cat >>confdefs.h <<_ACEOF 50654#define HAVE_FUSE_H 1 50655_ACEOF 50656 50657fi 50658 50659done 50660 50661 50662fi 50663 50664 if test "x$ac_cv_header_fuse_h" = xno; then : 50665 ac_cv_libfuse=no 50666else 50667 ac_cv_libfuse=libfuse 50668 50669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_daemonize in -lfuse" >&5 50670$as_echo_n "checking for fuse_daemonize in -lfuse... " >&6; } 50671if ${ac_cv_lib_fuse_fuse_daemonize+:} false; then : 50672 $as_echo_n "(cached) " >&6 50673else 50674 ac_check_lib_save_LIBS=$LIBS 50675LIBS="-lfuse $LIBS" 50676cat confdefs.h - <<_ACEOF >conftest.$ac_ext 50677/* end confdefs.h. */ 50678 50679/* Override any GCC internal prototype to avoid an error. 50680 Use char because int might match the return type of a GCC 50681 builtin and then its argument prototype would still apply. */ 50682#ifdef __cplusplus 50683extern "C" 50684#endif 50685char fuse_daemonize (); 50686int 50687main () 50688{ 50689return fuse_daemonize (); 50690 ; 50691 return 0; 50692} 50693_ACEOF 50694if ac_fn_c_try_link "$LINENO"; then : 50695 ac_cv_lib_fuse_fuse_daemonize=yes 50696else 50697 ac_cv_lib_fuse_fuse_daemonize=no 50698fi 50699rm -f core conftest.err conftest.$ac_objext \ 50700 conftest$ac_exeext conftest.$ac_ext 50701LIBS=$ac_check_lib_save_LIBS 50702fi 50703{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fuse_fuse_daemonize" >&5 50704$as_echo "$ac_cv_lib_fuse_fuse_daemonize" >&6; } 50705if test "x$ac_cv_lib_fuse_fuse_daemonize" = xyes; then : 50706 ac_cv_libfuse_dummy=yes 50707else 50708 ac_cv_libfuse=no 50709fi 50710 50711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_destroy in -lfuse" >&5 50712$as_echo_n "checking for fuse_destroy in -lfuse... " >&6; } 50713if ${ac_cv_lib_fuse_fuse_destroy+:} false; then : 50714 $as_echo_n "(cached) " >&6 50715else 50716 ac_check_lib_save_LIBS=$LIBS 50717LIBS="-lfuse $LIBS" 50718cat confdefs.h - <<_ACEOF >conftest.$ac_ext 50719/* end confdefs.h. */ 50720 50721/* Override any GCC internal prototype to avoid an error. 50722 Use char because int might match the return type of a GCC 50723 builtin and then its argument prototype would still apply. */ 50724#ifdef __cplusplus 50725extern "C" 50726#endif 50727char fuse_destroy (); 50728int 50729main () 50730{ 50731return fuse_destroy (); 50732 ; 50733 return 0; 50734} 50735_ACEOF 50736if ac_fn_c_try_link "$LINENO"; then : 50737 ac_cv_lib_fuse_fuse_destroy=yes 50738else 50739 ac_cv_lib_fuse_fuse_destroy=no 50740fi 50741rm -f core conftest.err conftest.$ac_objext \ 50742 conftest$ac_exeext conftest.$ac_ext 50743LIBS=$ac_check_lib_save_LIBS 50744fi 50745{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fuse_fuse_destroy" >&5 50746$as_echo "$ac_cv_lib_fuse_fuse_destroy" >&6; } 50747if test "x$ac_cv_lib_fuse_fuse_destroy" = xyes; then : 50748 ac_cv_libfuse_dummy=yes 50749else 50750 ac_cv_libfuse=no 50751fi 50752 50753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_mount in -lfuse" >&5 50754$as_echo_n "checking for fuse_mount in -lfuse... " >&6; } 50755if ${ac_cv_lib_fuse_fuse_mount+:} false; then : 50756 $as_echo_n "(cached) " >&6 50757else 50758 ac_check_lib_save_LIBS=$LIBS 50759LIBS="-lfuse $LIBS" 50760cat confdefs.h - <<_ACEOF >conftest.$ac_ext 50761/* end confdefs.h. */ 50762 50763/* Override any GCC internal prototype to avoid an error. 50764 Use char because int might match the return type of a GCC 50765 builtin and then its argument prototype would still apply. */ 50766#ifdef __cplusplus 50767extern "C" 50768#endif 50769char fuse_mount (); 50770int 50771main () 50772{ 50773return fuse_mount (); 50774 ; 50775 return 0; 50776} 50777_ACEOF 50778if ac_fn_c_try_link "$LINENO"; then : 50779 ac_cv_lib_fuse_fuse_mount=yes 50780else 50781 ac_cv_lib_fuse_fuse_mount=no 50782fi 50783rm -f core conftest.err conftest.$ac_objext \ 50784 conftest$ac_exeext conftest.$ac_ext 50785LIBS=$ac_check_lib_save_LIBS 50786fi 50787{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fuse_fuse_mount" >&5 50788$as_echo "$ac_cv_lib_fuse_fuse_mount" >&6; } 50789if test "x$ac_cv_lib_fuse_fuse_mount" = xyes; then : 50790 ac_cv_libfuse_dummy=yes 50791else 50792 ac_cv_libfuse=no 50793fi 50794 50795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_new in -lfuse" >&5 50796$as_echo_n "checking for fuse_new in -lfuse... " >&6; } 50797if ${ac_cv_lib_fuse_fuse_new+:} false; then : 50798 $as_echo_n "(cached) " >&6 50799else 50800 ac_check_lib_save_LIBS=$LIBS 50801LIBS="-lfuse $LIBS" 50802cat confdefs.h - <<_ACEOF >conftest.$ac_ext 50803/* end confdefs.h. */ 50804 50805/* Override any GCC internal prototype to avoid an error. 50806 Use char because int might match the return type of a GCC 50807 builtin and then its argument prototype would still apply. */ 50808#ifdef __cplusplus 50809extern "C" 50810#endif 50811char fuse_new (); 50812int 50813main () 50814{ 50815return fuse_new (); 50816 ; 50817 return 0; 50818} 50819_ACEOF 50820if ac_fn_c_try_link "$LINENO"; then : 50821 ac_cv_lib_fuse_fuse_new=yes 50822else 50823 ac_cv_lib_fuse_fuse_new=no 50824fi 50825rm -f core conftest.err conftest.$ac_objext \ 50826 conftest$ac_exeext conftest.$ac_ext 50827LIBS=$ac_check_lib_save_LIBS 50828fi 50829{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fuse_fuse_new" >&5 50830$as_echo "$ac_cv_lib_fuse_fuse_new" >&6; } 50831if test "x$ac_cv_lib_fuse_fuse_new" = xyes; then : 50832 ac_cv_libfuse_dummy=yes 50833else 50834 ac_cv_libfuse=no 50835fi 50836 50837 50838 ac_cv_libfuse_LIBADD="-lfuse"; 50839 50840fi 50841 50842fi 50843 50844 if test "x$ac_cv_with_libfuse" != xno && test "x$ac_cv_header_fuse_h" = xno; then : 50845 CPPFLAGS="$CPPFLAGS -DFUSE_USE_VERSION=26" 50846 for ac_header in osxfuse/fuse.h 50847do : 50848 ac_fn_c_check_header_mongrel "$LINENO" "osxfuse/fuse.h" "ac_cv_header_osxfuse_fuse_h" "$ac_includes_default" 50849if test "x$ac_cv_header_osxfuse_fuse_h" = xyes; then : 50850 cat >>confdefs.h <<_ACEOF 50851#define HAVE_OSXFUSE_FUSE_H 1 50852_ACEOF 50853 50854fi 50855 50856done 50857 50858 50859 if test "x$ac_cv_header_osxfuse_fuse_h" = xno; then : 50860 { ac_cv_header_osxfuse_fuse_h=; unset ac_cv_header_osxfuse_fuse_h;} 50861 CPPFLAGS="$CPPFLAGS -D_FILE_OFFSET_BITS=64" 50862 for ac_header in osxfuse/fuse.h 50863do : 50864 ac_fn_c_check_header_mongrel "$LINENO" "osxfuse/fuse.h" "ac_cv_header_osxfuse_fuse_h" "$ac_includes_default" 50865if test "x$ac_cv_header_osxfuse_fuse_h" = xyes; then : 50866 cat >>confdefs.h <<_ACEOF 50867#define HAVE_OSXFUSE_FUSE_H 1 50868_ACEOF 50869 50870fi 50871 50872done 50873 50874 50875fi 50876 50877 if test "x$ac_cv_header_osxfuse_fuse_h" = xno; then : 50878 ac_cv_libfuse=no 50879else 50880 ac_cv_libfuse=libosxfuse 50881 50882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_daemonize in -losxfuse" >&5 50883$as_echo_n "checking for fuse_daemonize in -losxfuse... " >&6; } 50884if ${ac_cv_lib_osxfuse_fuse_daemonize+:} false; then : 50885 $as_echo_n "(cached) " >&6 50886else 50887 ac_check_lib_save_LIBS=$LIBS 50888LIBS="-losxfuse $LIBS" 50889cat confdefs.h - <<_ACEOF >conftest.$ac_ext 50890/* end confdefs.h. */ 50891 50892/* Override any GCC internal prototype to avoid an error. 50893 Use char because int might match the return type of a GCC 50894 builtin and then its argument prototype would still apply. */ 50895#ifdef __cplusplus 50896extern "C" 50897#endif 50898char fuse_daemonize (); 50899int 50900main () 50901{ 50902return fuse_daemonize (); 50903 ; 50904 return 0; 50905} 50906_ACEOF 50907if ac_fn_c_try_link "$LINENO"; then : 50908 ac_cv_lib_osxfuse_fuse_daemonize=yes 50909else 50910 ac_cv_lib_osxfuse_fuse_daemonize=no 50911fi 50912rm -f core conftest.err conftest.$ac_objext \ 50913 conftest$ac_exeext conftest.$ac_ext 50914LIBS=$ac_check_lib_save_LIBS 50915fi 50916{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_osxfuse_fuse_daemonize" >&5 50917$as_echo "$ac_cv_lib_osxfuse_fuse_daemonize" >&6; } 50918if test "x$ac_cv_lib_osxfuse_fuse_daemonize" = xyes; then : 50919 ac_cv_libfuse_dummy=yes 50920else 50921 ac_cv_libfuse=no 50922fi 50923 50924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_destroy in -losxfuse" >&5 50925$as_echo_n "checking for fuse_destroy in -losxfuse... " >&6; } 50926if ${ac_cv_lib_osxfuse_fuse_destroy+:} false; then : 50927 $as_echo_n "(cached) " >&6 50928else 50929 ac_check_lib_save_LIBS=$LIBS 50930LIBS="-losxfuse $LIBS" 50931cat confdefs.h - <<_ACEOF >conftest.$ac_ext 50932/* end confdefs.h. */ 50933 50934/* Override any GCC internal prototype to avoid an error. 50935 Use char because int might match the return type of a GCC 50936 builtin and then its argument prototype would still apply. */ 50937#ifdef __cplusplus 50938extern "C" 50939#endif 50940char fuse_destroy (); 50941int 50942main () 50943{ 50944return fuse_destroy (); 50945 ; 50946 return 0; 50947} 50948_ACEOF 50949if ac_fn_c_try_link "$LINENO"; then : 50950 ac_cv_lib_osxfuse_fuse_destroy=yes 50951else 50952 ac_cv_lib_osxfuse_fuse_destroy=no 50953fi 50954rm -f core conftest.err conftest.$ac_objext \ 50955 conftest$ac_exeext conftest.$ac_ext 50956LIBS=$ac_check_lib_save_LIBS 50957fi 50958{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_osxfuse_fuse_destroy" >&5 50959$as_echo "$ac_cv_lib_osxfuse_fuse_destroy" >&6; } 50960if test "x$ac_cv_lib_osxfuse_fuse_destroy" = xyes; then : 50961 ac_cv_libfuse_dummy=yes 50962else 50963 ac_cv_libfuse=no 50964fi 50965 50966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_mount in -losxfuse" >&5 50967$as_echo_n "checking for fuse_mount in -losxfuse... " >&6; } 50968if ${ac_cv_lib_osxfuse_fuse_mount+:} false; then : 50969 $as_echo_n "(cached) " >&6 50970else 50971 ac_check_lib_save_LIBS=$LIBS 50972LIBS="-losxfuse $LIBS" 50973cat confdefs.h - <<_ACEOF >conftest.$ac_ext 50974/* end confdefs.h. */ 50975 50976/* Override any GCC internal prototype to avoid an error. 50977 Use char because int might match the return type of a GCC 50978 builtin and then its argument prototype would still apply. */ 50979#ifdef __cplusplus 50980extern "C" 50981#endif 50982char fuse_mount (); 50983int 50984main () 50985{ 50986return fuse_mount (); 50987 ; 50988 return 0; 50989} 50990_ACEOF 50991if ac_fn_c_try_link "$LINENO"; then : 50992 ac_cv_lib_osxfuse_fuse_mount=yes 50993else 50994 ac_cv_lib_osxfuse_fuse_mount=no 50995fi 50996rm -f core conftest.err conftest.$ac_objext \ 50997 conftest$ac_exeext conftest.$ac_ext 50998LIBS=$ac_check_lib_save_LIBS 50999fi 51000{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_osxfuse_fuse_mount" >&5 51001$as_echo "$ac_cv_lib_osxfuse_fuse_mount" >&6; } 51002if test "x$ac_cv_lib_osxfuse_fuse_mount" = xyes; then : 51003 ac_cv_libfuse_dummy=yes 51004else 51005 ac_cv_libfuse=no 51006fi 51007 51008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fuse_new in -losxfuse" >&5 51009$as_echo_n "checking for fuse_new in -losxfuse... " >&6; } 51010if ${ac_cv_lib_osxfuse_fuse_new+:} false; then : 51011 $as_echo_n "(cached) " >&6 51012else 51013 ac_check_lib_save_LIBS=$LIBS 51014LIBS="-losxfuse $LIBS" 51015cat confdefs.h - <<_ACEOF >conftest.$ac_ext 51016/* end confdefs.h. */ 51017 51018/* Override any GCC internal prototype to avoid an error. 51019 Use char because int might match the return type of a GCC 51020 builtin and then its argument prototype would still apply. */ 51021#ifdef __cplusplus 51022extern "C" 51023#endif 51024char fuse_new (); 51025int 51026main () 51027{ 51028return fuse_new (); 51029 ; 51030 return 0; 51031} 51032_ACEOF 51033if ac_fn_c_try_link "$LINENO"; then : 51034 ac_cv_lib_osxfuse_fuse_new=yes 51035else 51036 ac_cv_lib_osxfuse_fuse_new=no 51037fi 51038rm -f core conftest.err conftest.$ac_objext \ 51039 conftest$ac_exeext conftest.$ac_ext 51040LIBS=$ac_check_lib_save_LIBS 51041fi 51042{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_osxfuse_fuse_new" >&5 51043$as_echo "$ac_cv_lib_osxfuse_fuse_new" >&6; } 51044if test "x$ac_cv_lib_osxfuse_fuse_new" = xyes; then : 51045 ac_cv_libfuse_dummy=yes 51046else 51047 ac_cv_libfuse=no 51048fi 51049 51050 51051 ac_cv_libfuse_LIBADD="-losxfuse"; 51052 51053fi 51054 51055fi 51056 51057fi 51058 51059 if test "x$ac_cv_libfuse" = xlibfuse; then : 51060 51061$as_echo "#define HAVE_LIBFUSE 1" >>confdefs.h 51062 51063 51064fi 51065 if test "x$ac_cv_libfuse" = xlibosxfuse; then : 51066 51067$as_echo "#define HAVE_LIBOSXFUSE 1" >>confdefs.h 51068 51069 51070fi 51071 51072 if test "x$ac_cv_libfuse" != xno; then : 51073 HAVE_LIBFUSE=1 51074 51075else 51076 HAVE_LIBFUSE=0 51077 51078 51079fi 51080 51081 51082 if test "x$ac_cv_libfuse_CPPFLAGS" != "x"; then : 51083 LIBFUSE_CPPFLAGS=$ac_cv_libfuse_CPPFLAGS 51084 51085 51086fi 51087 if test "x$ac_cv_libfuse_LIBADD" != "x"; then : 51088 LIBFUSE_LIBADD=$ac_cv_libfuse_LIBADD 51089 51090 51091fi 51092 51093 if test "x$ac_cv_libfuse" = xlibfuse; then : 51094 ax_libfuse_pc_libs_private=-lfuse 51095 51096 51097fi 51098 if test "x$ac_cv_libfuse" = xlibosxfuse; then : 51099 ax_libfuse_pc_libs_private=-losxfuse 51100 51101 51102fi 51103 51104 if test "x$ac_cv_libfuse" = xlibfuse; then : 51105 ax_libfuse_spec_requires=fuse-libs 51106 51107 ax_libfuse_spec_build_requires=fuse-devel 51108 51109 51110fi 51111 51112 51113for ac_header in signal.h sys/signal.h unistd.h 51114do : 51115 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 51116ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 51117if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 51118 cat >>confdefs.h <<_ACEOF 51119#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 51120_ACEOF 51121 51122fi 51123 51124done 51125 51126 51127 for ac_func in close getopt setvbuf 51128do : 51129 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 51130ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 51131if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 51132 cat >>confdefs.h <<_ACEOF 51133#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 51134_ACEOF 51135 51136fi 51137done 51138 51139 51140 if test "x$ac_cv_func_close" != xyes; then : 51141 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 51142$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 51143as_fn_error 1 "Missing function: close 51144See \`config.log' for more details" "$LINENO" 5; } 51145 51146fi 51147 51148 for ac_header in stdarg.h varargs.h 51149do : 51150 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 51151ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 51152if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 51153 cat >>confdefs.h <<_ACEOF 51154#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 51155_ACEOF 51156 51157fi 51158 51159done 51160 51161 51162 if test "x$ac_cv_header_stdarg_h" != xyes && test "x$ac_cv_header_varargs_h" != xyes; then : 51163 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 51164$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 51165as_fn_error 1 "Missing headers: stdarg.h and varargs.h 51166See \`config.log' for more details" "$LINENO" 5; } 51167 51168fi 51169 51170 for ac_header in errno.h 51171do : 51172 ac_fn_c_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default" 51173if test "x$ac_cv_header_errno_h" = xyes; then : 51174 cat >>confdefs.h <<_ACEOF 51175#define HAVE_ERRNO_H 1 51176_ACEOF 51177 51178fi 51179 51180done 51181 51182 51183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5 51184$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; } 51185if ${ac_cv_header_time+:} false; then : 51186 $as_echo_n "(cached) " >&6 51187else 51188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 51189/* end confdefs.h. */ 51190#include <sys/types.h> 51191#include <sys/time.h> 51192#include <time.h> 51193 51194int 51195main () 51196{ 51197if ((struct tm *) 0) 51198return 0; 51199 ; 51200 return 0; 51201} 51202_ACEOF 51203if ac_fn_c_try_compile "$LINENO"; then : 51204 ac_cv_header_time=yes 51205else 51206 ac_cv_header_time=no 51207fi 51208rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 51209fi 51210{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5 51211$as_echo "$ac_cv_header_time" >&6; } 51212if test $ac_cv_header_time = yes; then 51213 51214$as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h 51215 51216fi 51217 51218 51219 if test "x$ac_cv_enable_winapi" = xno; then : 51220 for ac_func in clock_gettime getegid geteuid time 51221do : 51222 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 51223ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 51224if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 51225 cat >>confdefs.h <<_ACEOF 51226#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 51227_ACEOF 51228 51229fi 51230done 51231 51232 51233fi 51234 51235 51236if test "x$enable_shared" = xyes && test "x$ac_cv_enable_static_executables" = xno; then : 51237 case $host in #( 51238 *cygwin* | *mingw* | *msys*) : 51239 51240$as_echo "#define HAVE_DLLMAIN 1" >>confdefs.h 51241 51242 HAVE_DLLMAIN=1 51243 51244 51245 LIBOLECF_DLL_EXPORT="-DLIBOLECF_DLL_EXPORT" 51246 51247 51248 LIBOLECF_DLL_IMPORT="-DLIBOLECF_DLL_IMPORT" 51249 51250 ;; #( 51251 *) : 51252 ;; 51253esac 51254 51255fi 51256 51257 51258for ac_header in dlfcn.h 51259do : 51260 ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default" 51261if test "x$ac_cv_header_dlfcn_h" = xyes; then : 51262 cat >>confdefs.h <<_ACEOF 51263#define HAVE_DLFCN_H 1 51264_ACEOF 51265 51266fi 51267 51268done 51269 51270 51271 for ac_func in fmemopen getopt mkstemp setenv tzset unlink 51272do : 51273 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 51274ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 51275if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 51276 cat >>confdefs.h <<_ACEOF 51277#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 51278_ACEOF 51279 51280fi 51281done 51282 51283 51284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlsym in -ldl" >&5 51285$as_echo_n "checking for dlsym in -ldl... " >&6; } 51286if ${ac_cv_lib_dl_dlsym+:} false; then : 51287 $as_echo_n "(cached) " >&6 51288else 51289 ac_check_lib_save_LIBS=$LIBS 51290LIBS="-ldl $LIBS" 51291cat confdefs.h - <<_ACEOF >conftest.$ac_ext 51292/* end confdefs.h. */ 51293 51294/* Override any GCC internal prototype to avoid an error. 51295 Use char because int might match the return type of a GCC 51296 builtin and then its argument prototype would still apply. */ 51297#ifdef __cplusplus 51298extern "C" 51299#endif 51300char dlsym (); 51301int 51302main () 51303{ 51304return dlsym (); 51305 ; 51306 return 0; 51307} 51308_ACEOF 51309if ac_fn_c_try_link "$LINENO"; then : 51310 ac_cv_lib_dl_dlsym=yes 51311else 51312 ac_cv_lib_dl_dlsym=no 51313fi 51314rm -f core conftest.err conftest.$ac_objext \ 51315 conftest$ac_exeext conftest.$ac_ext 51316LIBS=$ac_check_lib_save_LIBS 51317fi 51318{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlsym" >&5 51319$as_echo "$ac_cv_lib_dl_dlsym" >&6; } 51320if test "x$ac_cv_lib_dl_dlsym" = xyes; then : 51321 cat >>confdefs.h <<_ACEOF 51322#define HAVE_LIBDL 1 51323_ACEOF 51324 51325 LIBS="-ldl $LIBS" 51326 51327fi 51328 51329 51330 if test "x$lt_cv_prog_gnu_ld" = xyes && test "x$ac_cv_lib_dl_dlsym" = xyes; then : 51331 51332$as_echo "#define HAVE_GNU_DL_DLSYM 1" >>confdefs.h 51333 51334 51335fi 51336 51337 if test "x${LIB_FUZZING_ENGINE}" != x; then 51338 HAVE_LIB_FUZZING_ENGINE_TRUE= 51339 HAVE_LIB_FUZZING_ENGINE_FALSE='#' 51340else 51341 HAVE_LIB_FUZZING_ENGINE_TRUE='#' 51342 HAVE_LIB_FUZZING_ENGINE_FALSE= 51343fi 51344 51345 LIB_FUZZING_ENGINE="${LIB_FUZZING_ENGINE}" 51346 51347 51348 51349CFLAGS="$CFLAGS -Wall"; 51350 51351if 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_libfdatetime" = xyes || test "x$ac_cv_libfguid" = xyes || test "x$ac_cv_libfole" = xyes || test "x$ac_cv_libfvalue" = xyes || test "x$ac_cv_libfwps" = xyes; then : 51352 libolecf_spec_requires=Requires: 51353 51354 51355fi 51356 51357if test "x$ac_cv_libfuse" != xno; then : 51358 libolecf_spec_tools_build_requires=BuildRequires: 51359 51360 51361fi 51362 51363DPKG_DATE=`date -R 2> /dev/null` 51364 51365 51366SPEC_DATE=`date +"%a %b %e %Y" 2> /dev/null` 51367 51368 51369ac_config_files="$ac_config_files Makefile" 51370 51371ac_config_files="$ac_config_files include/Makefile" 51372 51373ac_config_files="$ac_config_files common/Makefile" 51374 51375ac_config_files="$ac_config_files libcerror/Makefile" 51376 51377ac_config_files="$ac_config_files libcthreads/Makefile" 51378 51379ac_config_files="$ac_config_files libcdata/Makefile" 51380 51381ac_config_files="$ac_config_files libclocale/Makefile" 51382 51383ac_config_files="$ac_config_files libcnotify/Makefile" 51384 51385ac_config_files="$ac_config_files libcsplit/Makefile" 51386 51387ac_config_files="$ac_config_files libuna/Makefile" 51388 51389ac_config_files="$ac_config_files libcfile/Makefile" 51390 51391ac_config_files="$ac_config_files libcpath/Makefile" 51392 51393ac_config_files="$ac_config_files libbfio/Makefile" 51394 51395ac_config_files="$ac_config_files libfdatetime/Makefile" 51396 51397ac_config_files="$ac_config_files libfguid/Makefile" 51398 51399ac_config_files="$ac_config_files libfole/Makefile" 51400 51401ac_config_files="$ac_config_files libfvalue/Makefile" 51402 51403ac_config_files="$ac_config_files libfwps/Makefile" 51404 51405ac_config_files="$ac_config_files libolecf/Makefile" 51406 51407ac_config_files="$ac_config_files pyolecf/Makefile" 51408 51409ac_config_files="$ac_config_files pyolecf-python2/Makefile" 51410 51411ac_config_files="$ac_config_files pyolecf-python3/Makefile" 51412 51413ac_config_files="$ac_config_files olecftools/Makefile" 51414 51415ac_config_files="$ac_config_files po/Makefile.in" 51416 51417ac_config_files="$ac_config_files po/Makevars" 51418 51419ac_config_files="$ac_config_files manuals/Makefile" 51420 51421ac_config_files="$ac_config_files tests/Makefile" 51422 51423ac_config_files="$ac_config_files ossfuzz/Makefile" 51424 51425ac_config_files="$ac_config_files msvscpp/Makefile" 51426 51427ac_config_files="$ac_config_files include/libolecf.h" 51428 51429ac_config_files="$ac_config_files include/libolecf/definitions.h" 51430 51431ac_config_files="$ac_config_files include/libolecf/features.h" 51432 51433ac_config_files="$ac_config_files include/libolecf/types.h" 51434 51435ac_config_files="$ac_config_files libolecf/libolecf_definitions.h" 51436 51437ac_config_files="$ac_config_files common/types.h" 51438 51439ac_config_files="$ac_config_files dpkg/changelog" 51440 51441ac_config_files="$ac_config_files libolecf/libolecf.rc" 51442 51443ac_config_files="$ac_config_files libolecf.pc" 51444 51445ac_config_files="$ac_config_files libolecf.spec" 51446 51447ac_config_headers="$ac_config_headers common/config.h" 51448 51449 51450cat >confcache <<\_ACEOF 51451# This file is a shell script that caches the results of configure 51452# tests run on this system so they can be shared between configure 51453# scripts and configure runs, see configure's option --config-cache. 51454# It is not useful on other systems. If it contains results you don't 51455# want to keep, you may remove or edit it. 51456# 51457# config.status only pays attention to the cache file if you give it 51458# the --recheck option to rerun configure. 51459# 51460# `ac_cv_env_foo' variables (set or unset) will be overridden when 51461# loading this file, other *unset* `ac_cv_foo' will be assigned the 51462# following values. 51463 51464_ACEOF 51465 51466# The following way of writing the cache mishandles newlines in values, 51467# but we know of no workaround that is simple, portable, and efficient. 51468# So, we kill variables containing newlines. 51469# Ultrix sh set writes to stderr and can't be redirected directly, 51470# and sets the high bit in the cache file unless we assign to the vars. 51471( 51472 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 51473 eval ac_val=\$$ac_var 51474 case $ac_val in #( 51475 *${as_nl}*) 51476 case $ac_var in #( 51477 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 51478$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 51479 esac 51480 case $ac_var in #( 51481 _ | IFS | as_nl) ;; #( 51482 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 51483 *) { eval $ac_var=; unset $ac_var;} ;; 51484 esac ;; 51485 esac 51486 done 51487 51488 (set) 2>&1 | 51489 case $as_nl`(ac_space=' '; set) 2>&1` in #( 51490 *${as_nl}ac_space=\ *) 51491 # `set' does not quote correctly, so add quotes: double-quote 51492 # substitution turns \\\\ into \\, and sed turns \\ into \. 51493 sed -n \ 51494 "s/'/'\\\\''/g; 51495 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 51496 ;; #( 51497 *) 51498 # `set' quotes correctly as required by POSIX, so do not add quotes. 51499 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 51500 ;; 51501 esac | 51502 sort 51503) | 51504 sed ' 51505 /^ac_cv_env_/b end 51506 t clear 51507 :clear 51508 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 51509 t end 51510 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 51511 :end' >>confcache 51512if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 51513 if test -w "$cache_file"; then 51514 if test "x$cache_file" != "x/dev/null"; then 51515 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 51516$as_echo "$as_me: updating cache $cache_file" >&6;} 51517 if test ! -f "$cache_file" || test -h "$cache_file"; then 51518 cat confcache >"$cache_file" 51519 else 51520 case $cache_file in #( 51521 */* | ?:*) 51522 mv -f confcache "$cache_file"$$ && 51523 mv -f "$cache_file"$$ "$cache_file" ;; #( 51524 *) 51525 mv -f confcache "$cache_file" ;; 51526 esac 51527 fi 51528 fi 51529 else 51530 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 51531$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 51532 fi 51533fi 51534rm -f confcache 51535 51536test "x$prefix" = xNONE && prefix=$ac_default_prefix 51537# Let make expand exec_prefix. 51538test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 51539 51540DEFS=-DHAVE_CONFIG_H 51541 51542ac_libobjs= 51543ac_ltlibobjs= 51544U= 51545for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 51546 # 1. Remove the extension, and $U if already installed. 51547 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 51548 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 51549 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 51550 # will be set to the directory where LIBOBJS objects are built. 51551 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 51552 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 51553done 51554LIBOBJS=$ac_libobjs 51555 51556LTLIBOBJS=$ac_ltlibobjs 51557 51558 51559{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 51560$as_echo_n "checking that generated files are newer than configure... " >&6; } 51561 if test -n "$am_sleep_pid"; then 51562 # Hide warnings about reused PIDs. 51563 wait $am_sleep_pid 2>/dev/null 51564 fi 51565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 51566$as_echo "done" >&6; } 51567 if test -n "$EXEEXT"; then 51568 am__EXEEXT_TRUE= 51569 am__EXEEXT_FALSE='#' 51570else 51571 am__EXEEXT_TRUE='#' 51572 am__EXEEXT_FALSE= 51573fi 51574 51575if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 51576 as_fn_error $? "conditional \"AMDEP\" was never defined. 51577Usually this means the macro was only invoked conditionally." "$LINENO" 5 51578fi 51579if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 51580 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 51581Usually this means the macro was only invoked conditionally." "$LINENO" 5 51582fi 51583if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then 51584 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined. 51585Usually this means the macro was only invoked conditionally." "$LINENO" 5 51586fi 51587if test -z "${HAVE_LOCAL_LIBCERROR_TRUE}" && test -z "${HAVE_LOCAL_LIBCERROR_FALSE}"; then 51588 as_fn_error $? "conditional \"HAVE_LOCAL_LIBCERROR\" was never defined. 51589Usually this means the macro was only invoked conditionally." "$LINENO" 5 51590fi 51591if test -z "${HAVE_LOCAL_LIBCTHREADS_TRUE}" && test -z "${HAVE_LOCAL_LIBCTHREADS_FALSE}"; then 51592 as_fn_error $? "conditional \"HAVE_LOCAL_LIBCTHREADS\" was never defined. 51593Usually this means the macro was only invoked conditionally." "$LINENO" 5 51594fi 51595if test -z "${HAVE_LOCAL_LIBCDATA_TRUE}" && test -z "${HAVE_LOCAL_LIBCDATA_FALSE}"; then 51596 as_fn_error $? "conditional \"HAVE_LOCAL_LIBCDATA\" was never defined. 51597Usually this means the macro was only invoked conditionally." "$LINENO" 5 51598fi 51599if test -z "${HAVE_LOCAL_LIBCLOCALE_TRUE}" && test -z "${HAVE_LOCAL_LIBCLOCALE_FALSE}"; then 51600 as_fn_error $? "conditional \"HAVE_LOCAL_LIBCLOCALE\" was never defined. 51601Usually this means the macro was only invoked conditionally." "$LINENO" 5 51602fi 51603if test -z "${HAVE_LOCAL_LIBCNOTIFY_TRUE}" && test -z "${HAVE_LOCAL_LIBCNOTIFY_FALSE}"; then 51604 as_fn_error $? "conditional \"HAVE_LOCAL_LIBCNOTIFY\" was never defined. 51605Usually this means the macro was only invoked conditionally." "$LINENO" 5 51606fi 51607if test -z "${HAVE_LOCAL_LIBCSPLIT_TRUE}" && test -z "${HAVE_LOCAL_LIBCSPLIT_FALSE}"; then 51608 as_fn_error $? "conditional \"HAVE_LOCAL_LIBCSPLIT\" was never defined. 51609Usually this means the macro was only invoked conditionally." "$LINENO" 5 51610fi 51611if test -z "${HAVE_LOCAL_LIBUNA_TRUE}" && test -z "${HAVE_LOCAL_LIBUNA_FALSE}"; then 51612 as_fn_error $? "conditional \"HAVE_LOCAL_LIBUNA\" was never defined. 51613Usually this means the macro was only invoked conditionally." "$LINENO" 5 51614fi 51615if test -z "${HAVE_LOCAL_LIBCFILE_TRUE}" && test -z "${HAVE_LOCAL_LIBCFILE_FALSE}"; then 51616 as_fn_error $? "conditional \"HAVE_LOCAL_LIBCFILE\" was never defined. 51617Usually this means the macro was only invoked conditionally." "$LINENO" 5 51618fi 51619if test -z "${HAVE_LOCAL_LIBCPATH_TRUE}" && test -z "${HAVE_LOCAL_LIBCPATH_FALSE}"; then 51620 as_fn_error $? "conditional \"HAVE_LOCAL_LIBCPATH\" was never defined. 51621Usually this means the macro was only invoked conditionally." "$LINENO" 5 51622fi 51623if test -z "${HAVE_LOCAL_LIBBFIO_TRUE}" && test -z "${HAVE_LOCAL_LIBBFIO_FALSE}"; then 51624 as_fn_error $? "conditional \"HAVE_LOCAL_LIBBFIO\" was never defined. 51625Usually this means the macro was only invoked conditionally." "$LINENO" 5 51626fi 51627if test -z "${HAVE_LOCAL_LIBFDATETIME_TRUE}" && test -z "${HAVE_LOCAL_LIBFDATETIME_FALSE}"; then 51628 as_fn_error $? "conditional \"HAVE_LOCAL_LIBFDATETIME\" was never defined. 51629Usually this means the macro was only invoked conditionally." "$LINENO" 5 51630fi 51631if test -z "${HAVE_LOCAL_LIBFGUID_TRUE}" && test -z "${HAVE_LOCAL_LIBFGUID_FALSE}"; then 51632 as_fn_error $? "conditional \"HAVE_LOCAL_LIBFGUID\" was never defined. 51633Usually this means the macro was only invoked conditionally." "$LINENO" 5 51634fi 51635if test -z "${HAVE_LOCAL_LIBFOLE_TRUE}" && test -z "${HAVE_LOCAL_LIBFOLE_FALSE}"; then 51636 as_fn_error $? "conditional \"HAVE_LOCAL_LIBFOLE\" was never defined. 51637Usually this means the macro was only invoked conditionally." "$LINENO" 5 51638fi 51639if test -z "${HAVE_LOCAL_LIBFVALUE_TRUE}" && test -z "${HAVE_LOCAL_LIBFVALUE_FALSE}"; then 51640 as_fn_error $? "conditional \"HAVE_LOCAL_LIBFVALUE\" was never defined. 51641Usually this means the macro was only invoked conditionally." "$LINENO" 5 51642fi 51643if test -z "${HAVE_LOCAL_LIBFWPS_TRUE}" && test -z "${HAVE_LOCAL_LIBFWPS_FALSE}"; then 51644 as_fn_error $? "conditional \"HAVE_LOCAL_LIBFWPS\" was never defined. 51645Usually this means the macro was only invoked conditionally." "$LINENO" 5 51646fi 51647if test -z "${HAVE_PYTHON_TRUE}" && test -z "${HAVE_PYTHON_FALSE}"; then 51648 as_fn_error $? "conditional \"HAVE_PYTHON\" was never defined. 51649Usually this means the macro was only invoked conditionally." "$LINENO" 5 51650fi 51651if test -z "${HAVE_PYTHON2_TRUE}" && test -z "${HAVE_PYTHON2_FALSE}"; then 51652 as_fn_error $? "conditional \"HAVE_PYTHON2\" was never defined. 51653Usually this means the macro was only invoked conditionally." "$LINENO" 5 51654fi 51655if test -z "${HAVE_PYTHON3_TRUE}" && test -z "${HAVE_PYTHON3_FALSE}"; then 51656 as_fn_error $? "conditional \"HAVE_PYTHON3\" was never defined. 51657Usually this means the macro was only invoked conditionally." "$LINENO" 5 51658fi 51659if test -z "${HAVE_PYTHON_TESTS_TRUE}" && test -z "${HAVE_PYTHON_TESTS_FALSE}"; then 51660 as_fn_error $? "conditional \"HAVE_PYTHON_TESTS\" was never defined. 51661Usually this means the macro was only invoked conditionally." "$LINENO" 5 51662fi 51663if test -z "${HAVE_LIB_FUZZING_ENGINE_TRUE}" && test -z "${HAVE_LIB_FUZZING_ENGINE_FALSE}"; then 51664 as_fn_error $? "conditional \"HAVE_LIB_FUZZING_ENGINE\" was never defined. 51665Usually this means the macro was only invoked conditionally." "$LINENO" 5 51666fi 51667 51668: "${CONFIG_STATUS=./config.status}" 51669ac_write_fail=0 51670ac_clean_files_save=$ac_clean_files 51671ac_clean_files="$ac_clean_files $CONFIG_STATUS" 51672{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 51673$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 51674as_write_fail=0 51675cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 51676#! $SHELL 51677# Generated by $as_me. 51678# Run this file to recreate the current configuration. 51679# Compiler output produced by configure, useful for debugging 51680# configure, is in config.log if it exists. 51681 51682debug=false 51683ac_cs_recheck=false 51684ac_cs_silent=false 51685 51686SHELL=\${CONFIG_SHELL-$SHELL} 51687export SHELL 51688_ASEOF 51689cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 51690## -------------------- ## 51691## M4sh Initialization. ## 51692## -------------------- ## 51693 51694# Be more Bourne compatible 51695DUALCASE=1; export DUALCASE # for MKS sh 51696if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 51697 emulate sh 51698 NULLCMD=: 51699 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 51700 # is contrary to our usage. Disable this feature. 51701 alias -g '${1+"$@"}'='"$@"' 51702 setopt NO_GLOB_SUBST 51703else 51704 case `(set -o) 2>/dev/null` in #( 51705 *posix*) : 51706 set -o posix ;; #( 51707 *) : 51708 ;; 51709esac 51710fi 51711 51712 51713as_nl=' 51714' 51715export as_nl 51716# Printing a long string crashes Solaris 7 /usr/bin/printf. 51717as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 51718as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 51719as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 51720# Prefer a ksh shell builtin over an external printf program on Solaris, 51721# but without wasting forks for bash or zsh. 51722if test -z "$BASH_VERSION$ZSH_VERSION" \ 51723 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 51724 as_echo='print -r --' 51725 as_echo_n='print -rn --' 51726elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 51727 as_echo='printf %s\n' 51728 as_echo_n='printf %s' 51729else 51730 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 51731 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 51732 as_echo_n='/usr/ucb/echo -n' 51733 else 51734 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 51735 as_echo_n_body='eval 51736 arg=$1; 51737 case $arg in #( 51738 *"$as_nl"*) 51739 expr "X$arg" : "X\\(.*\\)$as_nl"; 51740 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 51741 esac; 51742 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 51743 ' 51744 export as_echo_n_body 51745 as_echo_n='sh -c $as_echo_n_body as_echo' 51746 fi 51747 export as_echo_body 51748 as_echo='sh -c $as_echo_body as_echo' 51749fi 51750 51751# The user is always right. 51752if test "${PATH_SEPARATOR+set}" != set; then 51753 PATH_SEPARATOR=: 51754 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 51755 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 51756 PATH_SEPARATOR=';' 51757 } 51758fi 51759 51760 51761# IFS 51762# We need space, tab and new line, in precisely that order. Quoting is 51763# there to prevent editors from complaining about space-tab. 51764# (If _AS_PATH_WALK were called with IFS unset, it would disable word 51765# splitting by setting IFS to empty value.) 51766IFS=" "" $as_nl" 51767 51768# Find who we are. Look in the path if we contain no directory separator. 51769as_myself= 51770case $0 in #(( 51771 *[\\/]* ) as_myself=$0 ;; 51772 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 51773for as_dir in $PATH 51774do 51775 IFS=$as_save_IFS 51776 test -z "$as_dir" && as_dir=. 51777 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 51778 done 51779IFS=$as_save_IFS 51780 51781 ;; 51782esac 51783# We did not find ourselves, most probably we were run as `sh COMMAND' 51784# in which case we are not to be found in the path. 51785if test "x$as_myself" = x; then 51786 as_myself=$0 51787fi 51788if test ! -f "$as_myself"; then 51789 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 51790 exit 1 51791fi 51792 51793# Unset variables that we do not need and which cause bugs (e.g. in 51794# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 51795# suppresses any "Segmentation fault" message there. '((' could 51796# trigger a bug in pdksh 5.2.14. 51797for as_var in BASH_ENV ENV MAIL MAILPATH 51798do eval test x\${$as_var+set} = xset \ 51799 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 51800done 51801PS1='$ ' 51802PS2='> ' 51803PS4='+ ' 51804 51805# NLS nuisances. 51806LC_ALL=C 51807export LC_ALL 51808LANGUAGE=C 51809export LANGUAGE 51810 51811# CDPATH. 51812(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 51813 51814 51815# as_fn_error STATUS ERROR [LINENO LOG_FD] 51816# ---------------------------------------- 51817# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 51818# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 51819# script with STATUS, using 1 if that was 0. 51820as_fn_error () 51821{ 51822 as_status=$1; test $as_status -eq 0 && as_status=1 51823 if test "$4"; then 51824 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 51825 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 51826 fi 51827 $as_echo "$as_me: error: $2" >&2 51828 as_fn_exit $as_status 51829} # as_fn_error 51830 51831 51832# as_fn_set_status STATUS 51833# ----------------------- 51834# Set $? to STATUS, without forking. 51835as_fn_set_status () 51836{ 51837 return $1 51838} # as_fn_set_status 51839 51840# as_fn_exit STATUS 51841# ----------------- 51842# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 51843as_fn_exit () 51844{ 51845 set +e 51846 as_fn_set_status $1 51847 exit $1 51848} # as_fn_exit 51849 51850# as_fn_unset VAR 51851# --------------- 51852# Portably unset VAR. 51853as_fn_unset () 51854{ 51855 { eval $1=; unset $1;} 51856} 51857as_unset=as_fn_unset 51858# as_fn_append VAR VALUE 51859# ---------------------- 51860# Append the text in VALUE to the end of the definition contained in VAR. Take 51861# advantage of any shell optimizations that allow amortized linear growth over 51862# repeated appends, instead of the typical quadratic growth present in naive 51863# implementations. 51864if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 51865 eval 'as_fn_append () 51866 { 51867 eval $1+=\$2 51868 }' 51869else 51870 as_fn_append () 51871 { 51872 eval $1=\$$1\$2 51873 } 51874fi # as_fn_append 51875 51876# as_fn_arith ARG... 51877# ------------------ 51878# Perform arithmetic evaluation on the ARGs, and store the result in the 51879# global $as_val. Take advantage of shells that can avoid forks. The arguments 51880# must be portable across $(()) and expr. 51881if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 51882 eval 'as_fn_arith () 51883 { 51884 as_val=$(( $* )) 51885 }' 51886else 51887 as_fn_arith () 51888 { 51889 as_val=`expr "$@" || test $? -eq 1` 51890 } 51891fi # as_fn_arith 51892 51893 51894if expr a : '\(a\)' >/dev/null 2>&1 && 51895 test "X`expr 00001 : '.*\(...\)'`" = X001; then 51896 as_expr=expr 51897else 51898 as_expr=false 51899fi 51900 51901if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 51902 as_basename=basename 51903else 51904 as_basename=false 51905fi 51906 51907if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 51908 as_dirname=dirname 51909else 51910 as_dirname=false 51911fi 51912 51913as_me=`$as_basename -- "$0" || 51914$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 51915 X"$0" : 'X\(//\)$' \| \ 51916 X"$0" : 'X\(/\)' \| . 2>/dev/null || 51917$as_echo X/"$0" | 51918 sed '/^.*\/\([^/][^/]*\)\/*$/{ 51919 s//\1/ 51920 q 51921 } 51922 /^X\/\(\/\/\)$/{ 51923 s//\1/ 51924 q 51925 } 51926 /^X\/\(\/\).*/{ 51927 s//\1/ 51928 q 51929 } 51930 s/.*/./; q'` 51931 51932# Avoid depending upon Character Ranges. 51933as_cr_letters='abcdefghijklmnopqrstuvwxyz' 51934as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 51935as_cr_Letters=$as_cr_letters$as_cr_LETTERS 51936as_cr_digits='0123456789' 51937as_cr_alnum=$as_cr_Letters$as_cr_digits 51938 51939ECHO_C= ECHO_N= ECHO_T= 51940case `echo -n x` in #((((( 51941-n*) 51942 case `echo 'xy\c'` in 51943 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 51944 xy) ECHO_C='\c';; 51945 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 51946 ECHO_T=' ';; 51947 esac;; 51948*) 51949 ECHO_N='-n';; 51950esac 51951 51952rm -f conf$$ conf$$.exe conf$$.file 51953if test -d conf$$.dir; then 51954 rm -f conf$$.dir/conf$$.file 51955else 51956 rm -f conf$$.dir 51957 mkdir conf$$.dir 2>/dev/null 51958fi 51959if (echo >conf$$.file) 2>/dev/null; then 51960 if ln -s conf$$.file conf$$ 2>/dev/null; then 51961 as_ln_s='ln -s' 51962 # ... but there are two gotchas: 51963 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 51964 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 51965 # In both cases, we have to default to `cp -pR'. 51966 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 51967 as_ln_s='cp -pR' 51968 elif ln conf$$.file conf$$ 2>/dev/null; then 51969 as_ln_s=ln 51970 else 51971 as_ln_s='cp -pR' 51972 fi 51973else 51974 as_ln_s='cp -pR' 51975fi 51976rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 51977rmdir conf$$.dir 2>/dev/null 51978 51979 51980# as_fn_mkdir_p 51981# ------------- 51982# Create "$as_dir" as a directory, including parents if necessary. 51983as_fn_mkdir_p () 51984{ 51985 51986 case $as_dir in #( 51987 -*) as_dir=./$as_dir;; 51988 esac 51989 test -d "$as_dir" || eval $as_mkdir_p || { 51990 as_dirs= 51991 while :; do 51992 case $as_dir in #( 51993 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 51994 *) as_qdir=$as_dir;; 51995 esac 51996 as_dirs="'$as_qdir' $as_dirs" 51997 as_dir=`$as_dirname -- "$as_dir" || 51998$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 51999 X"$as_dir" : 'X\(//\)[^/]' \| \ 52000 X"$as_dir" : 'X\(//\)$' \| \ 52001 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 52002$as_echo X"$as_dir" | 52003 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 52004 s//\1/ 52005 q 52006 } 52007 /^X\(\/\/\)[^/].*/{ 52008 s//\1/ 52009 q 52010 } 52011 /^X\(\/\/\)$/{ 52012 s//\1/ 52013 q 52014 } 52015 /^X\(\/\).*/{ 52016 s//\1/ 52017 q 52018 } 52019 s/.*/./; q'` 52020 test -d "$as_dir" && break 52021 done 52022 test -z "$as_dirs" || eval "mkdir $as_dirs" 52023 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 52024 52025 52026} # as_fn_mkdir_p 52027if mkdir -p . 2>/dev/null; then 52028 as_mkdir_p='mkdir -p "$as_dir"' 52029else 52030 test -d ./-p && rmdir ./-p 52031 as_mkdir_p=false 52032fi 52033 52034 52035# as_fn_executable_p FILE 52036# ----------------------- 52037# Test if FILE is an executable regular file. 52038as_fn_executable_p () 52039{ 52040 test -f "$1" && test -x "$1" 52041} # as_fn_executable_p 52042as_test_x='test -x' 52043as_executable_p=as_fn_executable_p 52044 52045# Sed expression to map a string onto a valid CPP name. 52046as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 52047 52048# Sed expression to map a string onto a valid variable name. 52049as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 52050 52051 52052exec 6>&1 52053## ----------------------------------- ## 52054## Main body of $CONFIG_STATUS script. ## 52055## ----------------------------------- ## 52056_ASEOF 52057test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 52058 52059cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 52060# Save the log message, to keep $0 and so on meaningful, and to 52061# report actual input values of CONFIG_FILES etc. instead of their 52062# values after options handling. 52063ac_log=" 52064This file was extended by libolecf $as_me 20210512, which was 52065generated by GNU Autoconf 2.69. Invocation command line was 52066 52067 CONFIG_FILES = $CONFIG_FILES 52068 CONFIG_HEADERS = $CONFIG_HEADERS 52069 CONFIG_LINKS = $CONFIG_LINKS 52070 CONFIG_COMMANDS = $CONFIG_COMMANDS 52071 $ $0 $@ 52072 52073on `(hostname || uname -n) 2>/dev/null | sed 1q` 52074" 52075 52076_ACEOF 52077 52078case $ac_config_files in *" 52079"*) set x $ac_config_files; shift; ac_config_files=$*;; 52080esac 52081 52082case $ac_config_headers in *" 52083"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 52084esac 52085 52086 52087cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 52088# Files that config.status was made for. 52089config_files="$ac_config_files" 52090config_headers="$ac_config_headers" 52091config_commands="$ac_config_commands" 52092 52093_ACEOF 52094 52095cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 52096ac_cs_usage="\ 52097\`$as_me' instantiates files and other configuration actions 52098from templates according to the current configuration. Unless the files 52099and actions are specified as TAGs, all are instantiated by default. 52100 52101Usage: $0 [OPTION]... [TAG]... 52102 52103 -h, --help print this help, then exit 52104 -V, --version print version number and configuration settings, then exit 52105 --config print configuration, then exit 52106 -q, --quiet, --silent 52107 do not print progress messages 52108 -d, --debug don't remove temporary files 52109 --recheck update $as_me by reconfiguring in the same conditions 52110 --file=FILE[:TEMPLATE] 52111 instantiate the configuration file FILE 52112 --header=FILE[:TEMPLATE] 52113 instantiate the configuration header FILE 52114 52115Configuration files: 52116$config_files 52117 52118Configuration headers: 52119$config_headers 52120 52121Configuration commands: 52122$config_commands 52123 52124Report bugs to <joachim.metz@gmail.com>." 52125 52126_ACEOF 52127cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 52128ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 52129ac_cs_version="\\ 52130libolecf config.status 20210512 52131configured by $0, generated by GNU Autoconf 2.69, 52132 with options \\"\$ac_cs_config\\" 52133 52134Copyright (C) 2012 Free Software Foundation, Inc. 52135This config.status script is free software; the Free Software Foundation 52136gives unlimited permission to copy, distribute and modify it." 52137 52138ac_pwd='$ac_pwd' 52139srcdir='$srcdir' 52140INSTALL='$INSTALL' 52141MKDIR_P='$MKDIR_P' 52142AWK='$AWK' 52143test -n "\$AWK" || AWK=awk 52144_ACEOF 52145 52146cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 52147# The default lists apply if the user does not specify any file. 52148ac_need_defaults=: 52149while test $# != 0 52150do 52151 case $1 in 52152 --*=?*) 52153 ac_option=`expr "X$1" : 'X\([^=]*\)='` 52154 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 52155 ac_shift=: 52156 ;; 52157 --*=) 52158 ac_option=`expr "X$1" : 'X\([^=]*\)='` 52159 ac_optarg= 52160 ac_shift=: 52161 ;; 52162 *) 52163 ac_option=$1 52164 ac_optarg=$2 52165 ac_shift=shift 52166 ;; 52167 esac 52168 52169 case $ac_option in 52170 # Handling of the options. 52171 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 52172 ac_cs_recheck=: ;; 52173 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 52174 $as_echo "$ac_cs_version"; exit ;; 52175 --config | --confi | --conf | --con | --co | --c ) 52176 $as_echo "$ac_cs_config"; exit ;; 52177 --debug | --debu | --deb | --de | --d | -d ) 52178 debug=: ;; 52179 --file | --fil | --fi | --f ) 52180 $ac_shift 52181 case $ac_optarg in 52182 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 52183 '') as_fn_error $? "missing file argument" ;; 52184 esac 52185 as_fn_append CONFIG_FILES " '$ac_optarg'" 52186 ac_need_defaults=false;; 52187 --header | --heade | --head | --hea ) 52188 $ac_shift 52189 case $ac_optarg in 52190 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 52191 esac 52192 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 52193 ac_need_defaults=false;; 52194 --he | --h) 52195 # Conflict between --help and --header 52196 as_fn_error $? "ambiguous option: \`$1' 52197Try \`$0 --help' for more information.";; 52198 --help | --hel | -h ) 52199 $as_echo "$ac_cs_usage"; exit ;; 52200 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 52201 | -silent | --silent | --silen | --sile | --sil | --si | --s) 52202 ac_cs_silent=: ;; 52203 52204 # This is an error. 52205 -*) as_fn_error $? "unrecognized option: \`$1' 52206Try \`$0 --help' for more information." ;; 52207 52208 *) as_fn_append ac_config_targets " $1" 52209 ac_need_defaults=false ;; 52210 52211 esac 52212 shift 52213done 52214 52215ac_configure_extra_args= 52216 52217if $ac_cs_silent; then 52218 exec 6>/dev/null 52219 ac_configure_extra_args="$ac_configure_extra_args --silent" 52220fi 52221 52222_ACEOF 52223cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 52224if \$ac_cs_recheck; then 52225 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 52226 shift 52227 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 52228 CONFIG_SHELL='$SHELL' 52229 export CONFIG_SHELL 52230 exec "\$@" 52231fi 52232 52233_ACEOF 52234cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 52235exec 5>>config.log 52236{ 52237 echo 52238 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 52239## Running $as_me. ## 52240_ASBOX 52241 $as_echo "$ac_log" 52242} >&5 52243 52244_ACEOF 52245cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 52246# 52247# INIT-COMMANDS 52248# 52249AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}" 52250 52251 52252# The HP-UX ksh and POSIX shell print the target directory to stdout 52253# if CDPATH is set. 52254(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 52255 52256sed_quote_subst='$sed_quote_subst' 52257double_quote_subst='$double_quote_subst' 52258delay_variable_subst='$delay_variable_subst' 52259AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`' 52260DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 52261OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 52262macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 52263macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 52264enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 52265enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 52266pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 52267enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 52268shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`' 52269SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 52270ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 52271PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 52272host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 52273host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 52274host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 52275build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 52276build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 52277build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 52278SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 52279Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 52280GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 52281EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 52282FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 52283LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 52284NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 52285LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 52286max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 52287ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 52288exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 52289lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 52290lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 52291lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 52292lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 52293lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 52294reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 52295reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 52296deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 52297file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 52298file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 52299want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 52300sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 52301AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 52302AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 52303archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 52304STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 52305RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 52306old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 52307old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 52308old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 52309lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 52310CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 52311CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 52312compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 52313GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 52314lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 52315lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 52316lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' 52317lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 52318lt_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"`' 52319lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`' 52320nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 52321lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 52322lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`' 52323objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 52324MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 52325lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 52326lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 52327lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 52328lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 52329lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 52330need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 52331MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 52332DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 52333NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 52334LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 52335OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 52336OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 52337libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 52338shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 52339extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 52340archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 52341enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 52342export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 52343whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 52344compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 52345old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 52346old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 52347archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 52348archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 52349module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 52350module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 52351with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 52352allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 52353no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 52354hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 52355hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 52356hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 52357hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 52358hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 52359hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 52360hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 52361inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 52362link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 52363always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 52364export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 52365exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 52366include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 52367prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 52368postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 52369file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 52370variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 52371need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 52372need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 52373version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 52374runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 52375shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 52376shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 52377libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 52378library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 52379soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 52380install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 52381postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 52382postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 52383finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 52384finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 52385hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 52386sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 52387configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`' 52388configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`' 52389hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 52390enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 52391enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 52392enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 52393old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 52394striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 52395compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`' 52396predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`' 52397postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`' 52398predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`' 52399postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`' 52400compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`' 52401LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`' 52402reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`' 52403reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`' 52404old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' 52405compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`' 52406GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`' 52407lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`' 52408lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`' 52409lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`' 52410lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`' 52411lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`' 52412archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`' 52413enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`' 52414export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 52415whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 52416compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`' 52417old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`' 52418old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`' 52419archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' 52420archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' 52421module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`' 52422module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' 52423with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`' 52424allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' 52425no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' 52426hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 52427hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`' 52428hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`' 52429hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`' 52430hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`' 52431hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`' 52432hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`' 52433inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`' 52434link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`' 52435always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`' 52436export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`' 52437exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`' 52438include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`' 52439prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`' 52440postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`' 52441file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`' 52442hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`' 52443compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`' 52444predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`' 52445postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`' 52446predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`' 52447postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`' 52448compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`' 52449 52450LTCC='$LTCC' 52451LTCFLAGS='$LTCFLAGS' 52452compiler='$compiler_DEFAULT' 52453 52454# A function that is used when there is no print builtin or printf. 52455func_fallback_echo () 52456{ 52457 eval 'cat <<_LTECHO_EOF 52458\$1 52459_LTECHO_EOF' 52460} 52461 52462# Quote evaled strings. 52463for var in AS \ 52464DLLTOOL \ 52465OBJDUMP \ 52466SHELL \ 52467ECHO \ 52468PATH_SEPARATOR \ 52469SED \ 52470GREP \ 52471EGREP \ 52472FGREP \ 52473LD \ 52474NM \ 52475LN_S \ 52476lt_SP2NL \ 52477lt_NL2SP \ 52478reload_flag \ 52479deplibs_check_method \ 52480file_magic_cmd \ 52481file_magic_glob \ 52482want_nocaseglob \ 52483sharedlib_from_linklib_cmd \ 52484AR \ 52485AR_FLAGS \ 52486archiver_list_spec \ 52487STRIP \ 52488RANLIB \ 52489CC \ 52490CFLAGS \ 52491compiler \ 52492lt_cv_sys_global_symbol_pipe \ 52493lt_cv_sys_global_symbol_to_cdecl \ 52494lt_cv_sys_global_symbol_to_import \ 52495lt_cv_sys_global_symbol_to_c_name_address \ 52496lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 52497lt_cv_nm_interface \ 52498nm_file_list_spec \ 52499lt_cv_truncate_bin \ 52500lt_prog_compiler_no_builtin_flag \ 52501lt_prog_compiler_pic \ 52502lt_prog_compiler_wl \ 52503lt_prog_compiler_static \ 52504lt_cv_prog_compiler_c_o \ 52505need_locks \ 52506MANIFEST_TOOL \ 52507DSYMUTIL \ 52508NMEDIT \ 52509LIPO \ 52510OTOOL \ 52511OTOOL64 \ 52512shrext_cmds \ 52513export_dynamic_flag_spec \ 52514whole_archive_flag_spec \ 52515compiler_needs_object \ 52516with_gnu_ld \ 52517allow_undefined_flag \ 52518no_undefined_flag \ 52519hardcode_libdir_flag_spec \ 52520hardcode_libdir_separator \ 52521exclude_expsyms \ 52522include_expsyms \ 52523file_list_spec \ 52524variables_saved_for_relink \ 52525libname_spec \ 52526library_names_spec \ 52527soname_spec \ 52528install_override_mode \ 52529finish_eval \ 52530old_striplib \ 52531striplib \ 52532compiler_lib_search_dirs \ 52533predep_objects \ 52534postdep_objects \ 52535predeps \ 52536postdeps \ 52537compiler_lib_search_path \ 52538LD_CXX \ 52539reload_flag_CXX \ 52540compiler_CXX \ 52541lt_prog_compiler_no_builtin_flag_CXX \ 52542lt_prog_compiler_pic_CXX \ 52543lt_prog_compiler_wl_CXX \ 52544lt_prog_compiler_static_CXX \ 52545lt_cv_prog_compiler_c_o_CXX \ 52546export_dynamic_flag_spec_CXX \ 52547whole_archive_flag_spec_CXX \ 52548compiler_needs_object_CXX \ 52549with_gnu_ld_CXX \ 52550allow_undefined_flag_CXX \ 52551no_undefined_flag_CXX \ 52552hardcode_libdir_flag_spec_CXX \ 52553hardcode_libdir_separator_CXX \ 52554exclude_expsyms_CXX \ 52555include_expsyms_CXX \ 52556file_list_spec_CXX \ 52557compiler_lib_search_dirs_CXX \ 52558predep_objects_CXX \ 52559postdep_objects_CXX \ 52560predeps_CXX \ 52561postdeps_CXX \ 52562compiler_lib_search_path_CXX; do 52563 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 52564 *[\\\\\\\`\\"\\\$]*) 52565 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 52566 ;; 52567 *) 52568 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 52569 ;; 52570 esac 52571done 52572 52573# Double-quote double-evaled strings. 52574for var in reload_cmds \ 52575old_postinstall_cmds \ 52576old_postuninstall_cmds \ 52577old_archive_cmds \ 52578extract_expsyms_cmds \ 52579old_archive_from_new_cmds \ 52580old_archive_from_expsyms_cmds \ 52581archive_cmds \ 52582archive_expsym_cmds \ 52583module_cmds \ 52584module_expsym_cmds \ 52585export_symbols_cmds \ 52586prelink_cmds \ 52587postlink_cmds \ 52588postinstall_cmds \ 52589postuninstall_cmds \ 52590finish_cmds \ 52591sys_lib_search_path_spec \ 52592configure_time_dlsearch_path \ 52593configure_time_lt_sys_library_path \ 52594reload_cmds_CXX \ 52595old_archive_cmds_CXX \ 52596old_archive_from_new_cmds_CXX \ 52597old_archive_from_expsyms_cmds_CXX \ 52598archive_cmds_CXX \ 52599archive_expsym_cmds_CXX \ 52600module_cmds_CXX \ 52601module_expsym_cmds_CXX \ 52602export_symbols_cmds_CXX \ 52603prelink_cmds_CXX \ 52604postlink_cmds_CXX; do 52605 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 52606 *[\\\\\\\`\\"\\\$]*) 52607 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 52608 ;; 52609 *) 52610 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 52611 ;; 52612 esac 52613done 52614 52615ac_aux_dir='$ac_aux_dir' 52616 52617# See if we are running on zsh, and set the options that allow our 52618# commands through without removal of \ escapes INIT. 52619if test -n "\${ZSH_VERSION+set}"; then 52620 setopt NO_GLOB_SUBST 52621fi 52622 52623 52624 PACKAGE='$PACKAGE' 52625 VERSION='$VERSION' 52626 RM='$RM' 52627 ofile='$ofile' 52628 52629 52630 52631 52632 52633# Capture the value of obsolete ALL_LINGUAS because we need it to compute 52634 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it 52635 # from automake < 1.5. 52636 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"' 52637 # Capture the value of LINGUAS because we need it to compute CATALOGS. 52638 LINGUAS="${LINGUAS-%UNSET%}" 52639 52640 52641_ACEOF 52642 52643cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 52644 52645# Handling of arguments. 52646for ac_config_target in $ac_config_targets 52647do 52648 case $ac_config_target in 52649 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 52650 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 52651 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;; 52652 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 52653 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;; 52654 "common/Makefile") CONFIG_FILES="$CONFIG_FILES common/Makefile" ;; 52655 "libcerror/Makefile") CONFIG_FILES="$CONFIG_FILES libcerror/Makefile" ;; 52656 "libcthreads/Makefile") CONFIG_FILES="$CONFIG_FILES libcthreads/Makefile" ;; 52657 "libcdata/Makefile") CONFIG_FILES="$CONFIG_FILES libcdata/Makefile" ;; 52658 "libclocale/Makefile") CONFIG_FILES="$CONFIG_FILES libclocale/Makefile" ;; 52659 "libcnotify/Makefile") CONFIG_FILES="$CONFIG_FILES libcnotify/Makefile" ;; 52660 "libcsplit/Makefile") CONFIG_FILES="$CONFIG_FILES libcsplit/Makefile" ;; 52661 "libuna/Makefile") CONFIG_FILES="$CONFIG_FILES libuna/Makefile" ;; 52662 "libcfile/Makefile") CONFIG_FILES="$CONFIG_FILES libcfile/Makefile" ;; 52663 "libcpath/Makefile") CONFIG_FILES="$CONFIG_FILES libcpath/Makefile" ;; 52664 "libbfio/Makefile") CONFIG_FILES="$CONFIG_FILES libbfio/Makefile" ;; 52665 "libfdatetime/Makefile") CONFIG_FILES="$CONFIG_FILES libfdatetime/Makefile" ;; 52666 "libfguid/Makefile") CONFIG_FILES="$CONFIG_FILES libfguid/Makefile" ;; 52667 "libfole/Makefile") CONFIG_FILES="$CONFIG_FILES libfole/Makefile" ;; 52668 "libfvalue/Makefile") CONFIG_FILES="$CONFIG_FILES libfvalue/Makefile" ;; 52669 "libfwps/Makefile") CONFIG_FILES="$CONFIG_FILES libfwps/Makefile" ;; 52670 "libolecf/Makefile") CONFIG_FILES="$CONFIG_FILES libolecf/Makefile" ;; 52671 "pyolecf/Makefile") CONFIG_FILES="$CONFIG_FILES pyolecf/Makefile" ;; 52672 "pyolecf-python2/Makefile") CONFIG_FILES="$CONFIG_FILES pyolecf-python2/Makefile" ;; 52673 "pyolecf-python3/Makefile") CONFIG_FILES="$CONFIG_FILES pyolecf-python3/Makefile" ;; 52674 "olecftools/Makefile") CONFIG_FILES="$CONFIG_FILES olecftools/Makefile" ;; 52675 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; 52676 "po/Makevars") CONFIG_FILES="$CONFIG_FILES po/Makevars" ;; 52677 "manuals/Makefile") CONFIG_FILES="$CONFIG_FILES manuals/Makefile" ;; 52678 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; 52679 "ossfuzz/Makefile") CONFIG_FILES="$CONFIG_FILES ossfuzz/Makefile" ;; 52680 "msvscpp/Makefile") CONFIG_FILES="$CONFIG_FILES msvscpp/Makefile" ;; 52681 "include/libolecf.h") CONFIG_FILES="$CONFIG_FILES include/libolecf.h" ;; 52682 "include/libolecf/definitions.h") CONFIG_FILES="$CONFIG_FILES include/libolecf/definitions.h" ;; 52683 "include/libolecf/features.h") CONFIG_FILES="$CONFIG_FILES include/libolecf/features.h" ;; 52684 "include/libolecf/types.h") CONFIG_FILES="$CONFIG_FILES include/libolecf/types.h" ;; 52685 "libolecf/libolecf_definitions.h") CONFIG_FILES="$CONFIG_FILES libolecf/libolecf_definitions.h" ;; 52686 "common/types.h") CONFIG_FILES="$CONFIG_FILES common/types.h" ;; 52687 "dpkg/changelog") CONFIG_FILES="$CONFIG_FILES dpkg/changelog" ;; 52688 "libolecf/libolecf.rc") CONFIG_FILES="$CONFIG_FILES libolecf/libolecf.rc" ;; 52689 "libolecf.pc") CONFIG_FILES="$CONFIG_FILES libolecf.pc" ;; 52690 "libolecf.spec") CONFIG_FILES="$CONFIG_FILES libolecf.spec" ;; 52691 "common/config.h") CONFIG_HEADERS="$CONFIG_HEADERS common/config.h" ;; 52692 52693 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 52694 esac 52695done 52696 52697 52698# If the user did not use the arguments to specify the items to instantiate, 52699# then the envvar interface is used. Set only those that are not. 52700# We use the long form for the default assignment because of an extremely 52701# bizarre bug on SunOS 4.1.3. 52702if $ac_need_defaults; then 52703 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 52704 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 52705 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 52706fi 52707 52708# Have a temporary directory for convenience. Make it in the build tree 52709# simply because there is no reason against having it here, and in addition, 52710# creating and moving files from /tmp can sometimes cause problems. 52711# Hook for its removal unless debugging. 52712# Note that there is a small window in which the directory will not be cleaned: 52713# after its creation but before its name has been assigned to `$tmp'. 52714$debug || 52715{ 52716 tmp= ac_tmp= 52717 trap 'exit_status=$? 52718 : "${ac_tmp:=$tmp}" 52719 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 52720' 0 52721 trap 'as_fn_exit 1' 1 2 13 15 52722} 52723# Create a (secure) tmp directory for tmp files. 52724 52725{ 52726 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 52727 test -d "$tmp" 52728} || 52729{ 52730 tmp=./conf$$-$RANDOM 52731 (umask 077 && mkdir "$tmp") 52732} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 52733ac_tmp=$tmp 52734 52735# Set up the scripts for CONFIG_FILES section. 52736# No need to generate them if there are no CONFIG_FILES. 52737# This happens for instance with `./config.status config.h'. 52738if test -n "$CONFIG_FILES"; then 52739 52740 52741ac_cr=`echo X | tr X '\015'` 52742# On cygwin, bash can eat \r inside `` if the user requested igncr. 52743# But we know of no other shell where ac_cr would be empty at this 52744# point, so we can use a bashism as a fallback. 52745if test "x$ac_cr" = x; then 52746 eval ac_cr=\$\'\\r\' 52747fi 52748ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 52749if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 52750 ac_cs_awk_cr='\\r' 52751else 52752 ac_cs_awk_cr=$ac_cr 52753fi 52754 52755echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 52756_ACEOF 52757 52758 52759{ 52760 echo "cat >conf$$subs.awk <<_ACEOF" && 52761 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 52762 echo "_ACEOF" 52763} >conf$$subs.sh || 52764 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 52765ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 52766ac_delim='%!_!# ' 52767for ac_last_try in false false false false false :; do 52768 . ./conf$$subs.sh || 52769 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 52770 52771 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 52772 if test $ac_delim_n = $ac_delim_num; then 52773 break 52774 elif $ac_last_try; then 52775 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 52776 else 52777 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 52778 fi 52779done 52780rm -f conf$$subs.sh 52781 52782cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 52783cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 52784_ACEOF 52785sed -n ' 52786h 52787s/^/S["/; s/!.*/"]=/ 52788p 52789g 52790s/^[^!]*!// 52791:repl 52792t repl 52793s/'"$ac_delim"'$// 52794t delim 52795:nl 52796h 52797s/\(.\{148\}\)..*/\1/ 52798t more1 52799s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 52800p 52801n 52802b repl 52803:more1 52804s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 52805p 52806g 52807s/.\{148\}// 52808t nl 52809:delim 52810h 52811s/\(.\{148\}\)..*/\1/ 52812t more2 52813s/["\\]/\\&/g; s/^/"/; s/$/"/ 52814p 52815b 52816:more2 52817s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 52818p 52819g 52820s/.\{148\}// 52821t delim 52822' <conf$$subs.awk | sed ' 52823/^[^""]/{ 52824 N 52825 s/\n// 52826} 52827' >>$CONFIG_STATUS || ac_write_fail=1 52828rm -f conf$$subs.awk 52829cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 52830_ACAWK 52831cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 52832 for (key in S) S_is_set[key] = 1 52833 FS = "" 52834 52835} 52836{ 52837 line = $ 0 52838 nfields = split(line, field, "@") 52839 substed = 0 52840 len = length(field[1]) 52841 for (i = 2; i < nfields; i++) { 52842 key = field[i] 52843 keylen = length(key) 52844 if (S_is_set[key]) { 52845 value = S[key] 52846 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 52847 len += length(value) + length(field[++i]) 52848 substed = 1 52849 } else 52850 len += 1 + keylen 52851 } 52852 52853 print line 52854} 52855 52856_ACAWK 52857_ACEOF 52858cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 52859if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 52860 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 52861else 52862 cat 52863fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 52864 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 52865_ACEOF 52866 52867# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 52868# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 52869# trailing colons and then remove the whole line if VPATH becomes empty 52870# (actually we leave an empty line to preserve line numbers). 52871if test "x$srcdir" = x.; then 52872 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 52873h 52874s/// 52875s/^/:/ 52876s/[ ]*$/:/ 52877s/:\$(srcdir):/:/g 52878s/:\${srcdir}:/:/g 52879s/:@srcdir@:/:/g 52880s/^:*// 52881s/:*$// 52882x 52883s/\(=[ ]*\).*/\1/ 52884G 52885s/\n// 52886s/^[^=]*=[ ]*$// 52887}' 52888fi 52889 52890cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 52891fi # test -n "$CONFIG_FILES" 52892 52893# Set up the scripts for CONFIG_HEADERS section. 52894# No need to generate them if there are no CONFIG_HEADERS. 52895# This happens for instance with `./config.status Makefile'. 52896if test -n "$CONFIG_HEADERS"; then 52897cat >"$ac_tmp/defines.awk" <<\_ACAWK || 52898BEGIN { 52899_ACEOF 52900 52901# Transform confdefs.h into an awk script `defines.awk', embedded as 52902# here-document in config.status, that substitutes the proper values into 52903# config.h.in to produce config.h. 52904 52905# Create a delimiter string that does not exist in confdefs.h, to ease 52906# handling of long lines. 52907ac_delim='%!_!# ' 52908for ac_last_try in false false :; do 52909 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 52910 if test -z "$ac_tt"; then 52911 break 52912 elif $ac_last_try; then 52913 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 52914 else 52915 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 52916 fi 52917done 52918 52919# For the awk script, D is an array of macro values keyed by name, 52920# likewise P contains macro parameters if any. Preserve backslash 52921# newline sequences. 52922 52923ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 52924sed -n ' 52925s/.\{148\}/&'"$ac_delim"'/g 52926t rset 52927:rset 52928s/^[ ]*#[ ]*define[ ][ ]*/ / 52929t def 52930d 52931:def 52932s/\\$// 52933t bsnl 52934s/["\\]/\\&/g 52935s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 52936D["\1"]=" \3"/p 52937s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 52938d 52939:bsnl 52940s/["\\]/\\&/g 52941s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 52942D["\1"]=" \3\\\\\\n"\\/p 52943t cont 52944s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 52945t cont 52946d 52947:cont 52948n 52949s/.\{148\}/&'"$ac_delim"'/g 52950t clear 52951:clear 52952s/\\$// 52953t bsnlc 52954s/["\\]/\\&/g; s/^/"/; s/$/"/p 52955d 52956:bsnlc 52957s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 52958b cont 52959' <confdefs.h | sed ' 52960s/'"$ac_delim"'/"\\\ 52961"/g' >>$CONFIG_STATUS || ac_write_fail=1 52962 52963cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 52964 for (key in D) D_is_set[key] = 1 52965 FS = "" 52966} 52967/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 52968 line = \$ 0 52969 split(line, arg, " ") 52970 if (arg[1] == "#") { 52971 defundef = arg[2] 52972 mac1 = arg[3] 52973 } else { 52974 defundef = substr(arg[1], 2) 52975 mac1 = arg[2] 52976 } 52977 split(mac1, mac2, "(") #) 52978 macro = mac2[1] 52979 prefix = substr(line, 1, index(line, defundef) - 1) 52980 if (D_is_set[macro]) { 52981 # Preserve the white space surrounding the "#". 52982 print prefix "define", macro P[macro] D[macro] 52983 next 52984 } else { 52985 # Replace #undef with comments. This is necessary, for example, 52986 # in the case of _POSIX_SOURCE, which is predefined and required 52987 # on some systems where configure will not decide to define it. 52988 if (defundef == "undef") { 52989 print "/*", prefix defundef, macro, "*/" 52990 next 52991 } 52992 } 52993} 52994{ print } 52995_ACAWK 52996_ACEOF 52997cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 52998 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 52999fi # test -n "$CONFIG_HEADERS" 53000 53001 53002eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 53003shift 53004for ac_tag 53005do 53006 case $ac_tag in 53007 :[FHLC]) ac_mode=$ac_tag; continue;; 53008 esac 53009 case $ac_mode$ac_tag in 53010 :[FHL]*:*);; 53011 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 53012 :[FH]-) ac_tag=-:-;; 53013 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 53014 esac 53015 ac_save_IFS=$IFS 53016 IFS=: 53017 set x $ac_tag 53018 IFS=$ac_save_IFS 53019 shift 53020 ac_file=$1 53021 shift 53022 53023 case $ac_mode in 53024 :L) ac_source=$1;; 53025 :[FH]) 53026 ac_file_inputs= 53027 for ac_f 53028 do 53029 case $ac_f in 53030 -) ac_f="$ac_tmp/stdin";; 53031 *) # Look for the file first in the build tree, then in the source tree 53032 # (if the path is not absolute). The absolute path cannot be DOS-style, 53033 # because $ac_f cannot contain `:'. 53034 test -f "$ac_f" || 53035 case $ac_f in 53036 [\\/$]*) false;; 53037 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 53038 esac || 53039 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 53040 esac 53041 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 53042 as_fn_append ac_file_inputs " '$ac_f'" 53043 done 53044 53045 # Let's still pretend it is `configure' which instantiates (i.e., don't 53046 # use $as_me), people would be surprised to read: 53047 # /* config.h. Generated by config.status. */ 53048 configure_input='Generated from '` 53049 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 53050 `' by configure.' 53051 if test x"$ac_file" != x-; then 53052 configure_input="$ac_file. $configure_input" 53053 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 53054$as_echo "$as_me: creating $ac_file" >&6;} 53055 fi 53056 # Neutralize special characters interpreted by sed in replacement strings. 53057 case $configure_input in #( 53058 *\&* | *\|* | *\\* ) 53059 ac_sed_conf_input=`$as_echo "$configure_input" | 53060 sed 's/[\\\\&|]/\\\\&/g'`;; #( 53061 *) ac_sed_conf_input=$configure_input;; 53062 esac 53063 53064 case $ac_tag in 53065 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 53066 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 53067 esac 53068 ;; 53069 esac 53070 53071 ac_dir=`$as_dirname -- "$ac_file" || 53072$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 53073 X"$ac_file" : 'X\(//\)[^/]' \| \ 53074 X"$ac_file" : 'X\(//\)$' \| \ 53075 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 53076$as_echo X"$ac_file" | 53077 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 53078 s//\1/ 53079 q 53080 } 53081 /^X\(\/\/\)[^/].*/{ 53082 s//\1/ 53083 q 53084 } 53085 /^X\(\/\/\)$/{ 53086 s//\1/ 53087 q 53088 } 53089 /^X\(\/\).*/{ 53090 s//\1/ 53091 q 53092 } 53093 s/.*/./; q'` 53094 as_dir="$ac_dir"; as_fn_mkdir_p 53095 ac_builddir=. 53096 53097case "$ac_dir" in 53098.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 53099*) 53100 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 53101 # A ".." for each directory in $ac_dir_suffix. 53102 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 53103 case $ac_top_builddir_sub in 53104 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 53105 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 53106 esac ;; 53107esac 53108ac_abs_top_builddir=$ac_pwd 53109ac_abs_builddir=$ac_pwd$ac_dir_suffix 53110# for backward compatibility: 53111ac_top_builddir=$ac_top_build_prefix 53112 53113case $srcdir in 53114 .) # We are building in place. 53115 ac_srcdir=. 53116 ac_top_srcdir=$ac_top_builddir_sub 53117 ac_abs_top_srcdir=$ac_pwd ;; 53118 [\\/]* | ?:[\\/]* ) # Absolute name. 53119 ac_srcdir=$srcdir$ac_dir_suffix; 53120 ac_top_srcdir=$srcdir 53121 ac_abs_top_srcdir=$srcdir ;; 53122 *) # Relative name. 53123 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 53124 ac_top_srcdir=$ac_top_build_prefix$srcdir 53125 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 53126esac 53127ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 53128 53129 53130 case $ac_mode in 53131 :F) 53132 # 53133 # CONFIG_FILE 53134 # 53135 53136 case $INSTALL in 53137 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 53138 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 53139 esac 53140 ac_MKDIR_P=$MKDIR_P 53141 case $MKDIR_P in 53142 [\\/$]* | ?:[\\/]* ) ;; 53143 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 53144 esac 53145_ACEOF 53146 53147cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 53148# If the template does not know about datarootdir, expand it. 53149# FIXME: This hack should be removed a few years after 2.60. 53150ac_datarootdir_hack=; ac_datarootdir_seen= 53151ac_sed_dataroot=' 53152/datarootdir/ { 53153 p 53154 q 53155} 53156/@datadir@/p 53157/@docdir@/p 53158/@infodir@/p 53159/@localedir@/p 53160/@mandir@/p' 53161case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 53162*datarootdir*) ac_datarootdir_seen=yes;; 53163*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 53164 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 53165$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 53166_ACEOF 53167cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 53168 ac_datarootdir_hack=' 53169 s&@datadir@&$datadir&g 53170 s&@docdir@&$docdir&g 53171 s&@infodir@&$infodir&g 53172 s&@localedir@&$localedir&g 53173 s&@mandir@&$mandir&g 53174 s&\\\${datarootdir}&$datarootdir&g' ;; 53175esac 53176_ACEOF 53177 53178# Neutralize VPATH when `$srcdir' = `.'. 53179# Shell code in configure.ac might set extrasub. 53180# FIXME: do we really want to maintain this feature? 53181cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 53182ac_sed_extra="$ac_vpsub 53183$extrasub 53184_ACEOF 53185cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 53186:t 53187/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 53188s|@configure_input@|$ac_sed_conf_input|;t t 53189s&@top_builddir@&$ac_top_builddir_sub&;t t 53190s&@top_build_prefix@&$ac_top_build_prefix&;t t 53191s&@srcdir@&$ac_srcdir&;t t 53192s&@abs_srcdir@&$ac_abs_srcdir&;t t 53193s&@top_srcdir@&$ac_top_srcdir&;t t 53194s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 53195s&@builddir@&$ac_builddir&;t t 53196s&@abs_builddir@&$ac_abs_builddir&;t t 53197s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 53198s&@INSTALL@&$ac_INSTALL&;t t 53199s&@MKDIR_P@&$ac_MKDIR_P&;t t 53200$ac_datarootdir_hack 53201" 53202eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 53203 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 53204 53205test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 53206 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 53207 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 53208 "$ac_tmp/out"`; test -z "$ac_out"; } && 53209 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 53210which seems to be undefined. Please make sure it is defined" >&5 53211$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 53212which seems to be undefined. Please make sure it is defined" >&2;} 53213 53214 rm -f "$ac_tmp/stdin" 53215 case $ac_file in 53216 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 53217 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 53218 esac \ 53219 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 53220 ;; 53221 :H) 53222 # 53223 # CONFIG_HEADER 53224 # 53225 if test x"$ac_file" != x-; then 53226 { 53227 $as_echo "/* $configure_input */" \ 53228 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 53229 } >"$ac_tmp/config.h" \ 53230 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 53231 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 53232 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 53233$as_echo "$as_me: $ac_file is unchanged" >&6;} 53234 else 53235 rm -f "$ac_file" 53236 mv "$ac_tmp/config.h" "$ac_file" \ 53237 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 53238 fi 53239 else 53240 $as_echo "/* $configure_input */" \ 53241 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 53242 || as_fn_error $? "could not create -" "$LINENO" 5 53243 fi 53244# Compute "$ac_file"'s index in $config_headers. 53245_am_arg="$ac_file" 53246_am_stamp_count=1 53247for _am_header in $config_headers :; do 53248 case $_am_header in 53249 $_am_arg | $_am_arg:* ) 53250 break ;; 53251 * ) 53252 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 53253 esac 53254done 53255echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 53256$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 53257 X"$_am_arg" : 'X\(//\)[^/]' \| \ 53258 X"$_am_arg" : 'X\(//\)$' \| \ 53259 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 53260$as_echo X"$_am_arg" | 53261 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 53262 s//\1/ 53263 q 53264 } 53265 /^X\(\/\/\)[^/].*/{ 53266 s//\1/ 53267 q 53268 } 53269 /^X\(\/\/\)$/{ 53270 s//\1/ 53271 q 53272 } 53273 /^X\(\/\).*/{ 53274 s//\1/ 53275 q 53276 } 53277 s/.*/./; q'`/stamp-h$_am_stamp_count 53278 ;; 53279 53280 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 53281$as_echo "$as_me: executing $ac_file commands" >&6;} 53282 ;; 53283 esac 53284 53285 53286 case $ac_file$ac_mode in 53287 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 53288 # Older Autoconf quotes --file arguments for eval, but not when files 53289 # are listed without --file. Let's play safe and only enable the eval 53290 # if we detect the quoting. 53291 # TODO: see whether this extra hack can be removed once we start 53292 # requiring Autoconf 2.70 or later. 53293 case $CONFIG_FILES in #( 53294 *\'*) : 53295 eval set x "$CONFIG_FILES" ;; #( 53296 *) : 53297 set x $CONFIG_FILES ;; #( 53298 *) : 53299 ;; 53300esac 53301 shift 53302 # Used to flag and report bootstrapping failures. 53303 am_rc=0 53304 for am_mf 53305 do 53306 # Strip MF so we end up with the name of the file. 53307 am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'` 53308 # Check whether this is an Automake generated Makefile which includes 53309 # dependency-tracking related rules and includes. 53310 # Grep'ing the whole file directly is not great: AIX grep has a line 53311 # limit of 2048, but all sed's we know have understand at least 4000. 53312 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \ 53313 || continue 53314 am_dirpart=`$as_dirname -- "$am_mf" || 53315$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 53316 X"$am_mf" : 'X\(//\)[^/]' \| \ 53317 X"$am_mf" : 'X\(//\)$' \| \ 53318 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || 53319$as_echo X"$am_mf" | 53320 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 53321 s//\1/ 53322 q 53323 } 53324 /^X\(\/\/\)[^/].*/{ 53325 s//\1/ 53326 q 53327 } 53328 /^X\(\/\/\)$/{ 53329 s//\1/ 53330 q 53331 } 53332 /^X\(\/\).*/{ 53333 s//\1/ 53334 q 53335 } 53336 s/.*/./; q'` 53337 am_filepart=`$as_basename -- "$am_mf" || 53338$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \ 53339 X"$am_mf" : 'X\(//\)$' \| \ 53340 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || 53341$as_echo X/"$am_mf" | 53342 sed '/^.*\/\([^/][^/]*\)\/*$/{ 53343 s//\1/ 53344 q 53345 } 53346 /^X\/\(\/\/\)$/{ 53347 s//\1/ 53348 q 53349 } 53350 /^X\/\(\/\).*/{ 53351 s//\1/ 53352 q 53353 } 53354 s/.*/./; q'` 53355 { echo "$as_me:$LINENO: cd "$am_dirpart" \ 53356 && sed -e '/# am--include-marker/d' "$am_filepart" \ 53357 | $MAKE -f - am--depfiles" >&5 53358 (cd "$am_dirpart" \ 53359 && sed -e '/# am--include-marker/d' "$am_filepart" \ 53360 | $MAKE -f - am--depfiles) >&5 2>&5 53361 ac_status=$? 53362 echo "$as_me:$LINENO: \$? = $ac_status" >&5 53363 (exit $ac_status); } || am_rc=$? 53364 done 53365 if test $am_rc -ne 0; then 53366 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 53367$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 53368as_fn_error $? "Something went wrong bootstrapping makefile fragments 53369 for automatic dependency tracking. If GNU make was not used, consider 53370 re-running the configure script with MAKE=\"gmake\" (or whatever is 53371 necessary). You can also try re-running configure with the 53372 '--disable-dependency-tracking' option to at least be able to build 53373 the package (albeit without support for automatic dependency tracking). 53374See \`config.log' for more details" "$LINENO" 5; } 53375 fi 53376 { am_dirpart=; unset am_dirpart;} 53377 { am_filepart=; unset am_filepart;} 53378 { am_mf=; unset am_mf;} 53379 { am_rc=; unset am_rc;} 53380 rm -f conftest-deps.mk 53381} 53382 ;; 53383 "libtool":C) 53384 53385 # See if we are running on zsh, and set the options that allow our 53386 # commands through without removal of \ escapes. 53387 if test -n "${ZSH_VERSION+set}"; then 53388 setopt NO_GLOB_SUBST 53389 fi 53390 53391 cfgfile=${ofile}T 53392 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 53393 $RM "$cfgfile" 53394 53395 cat <<_LT_EOF >> "$cfgfile" 53396#! $SHELL 53397# Generated automatically by $as_me ($PACKAGE) $VERSION 53398# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 53399# NOTE: Changes made to this file will be lost: look at ltmain.sh. 53400 53401# Provide generalized library-building support services. 53402# Written by Gordon Matzigkeit, 1996 53403 53404# Copyright (C) 2014 Free Software Foundation, Inc. 53405# This is free software; see the source for copying conditions. There is NO 53406# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 53407 53408# GNU Libtool is free software; you can redistribute it and/or modify 53409# it under the terms of the GNU General Public License as published by 53410# the Free Software Foundation; either version 2 of of the License, or 53411# (at your option) any later version. 53412# 53413# As a special exception to the GNU General Public License, if you 53414# distribute this file as part of a program or library that is built 53415# using GNU Libtool, you may include this file under the same 53416# distribution terms that you use for the rest of that program. 53417# 53418# GNU Libtool is distributed in the hope that it will be useful, but 53419# WITHOUT ANY WARRANTY; without even the implied warranty of 53420# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 53421# GNU General Public License for more details. 53422# 53423# You should have received a copy of the GNU General Public License 53424# along with this program. If not, see <http://www.gnu.org/licenses/>. 53425 53426 53427# The names of the tagged configurations supported by this script. 53428available_tags='CXX ' 53429 53430# Configured defaults for sys_lib_dlsearch_path munging. 53431: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} 53432 53433# ### BEGIN LIBTOOL CONFIG 53434 53435# Assembler program. 53436AS=$lt_AS 53437 53438# DLL creation program. 53439DLLTOOL=$lt_DLLTOOL 53440 53441# Object dumper program. 53442OBJDUMP=$lt_OBJDUMP 53443 53444# Which release of libtool.m4 was used? 53445macro_version=$macro_version 53446macro_revision=$macro_revision 53447 53448# Whether or not to build shared libraries. 53449build_libtool_libs=$enable_shared 53450 53451# Whether or not to build static libraries. 53452build_old_libs=$enable_static 53453 53454# What type of objects to build. 53455pic_mode=$pic_mode 53456 53457# Whether or not to optimize for fast installation. 53458fast_install=$enable_fast_install 53459 53460# Shared archive member basename,for filename based shared library versioning on AIX. 53461shared_archive_member_spec=$shared_archive_member_spec 53462 53463# Shell to use when invoking shell scripts. 53464SHELL=$lt_SHELL 53465 53466# An echo program that protects backslashes. 53467ECHO=$lt_ECHO 53468 53469# The PATH separator for the build system. 53470PATH_SEPARATOR=$lt_PATH_SEPARATOR 53471 53472# The host system. 53473host_alias=$host_alias 53474host=$host 53475host_os=$host_os 53476 53477# The build system. 53478build_alias=$build_alias 53479build=$build 53480build_os=$build_os 53481 53482# A sed program that does not truncate output. 53483SED=$lt_SED 53484 53485# Sed that helps us avoid accidentally triggering echo(1) options like -n. 53486Xsed="\$SED -e 1s/^X//" 53487 53488# A grep program that handles long lines. 53489GREP=$lt_GREP 53490 53491# An ERE matcher. 53492EGREP=$lt_EGREP 53493 53494# A literal string matcher. 53495FGREP=$lt_FGREP 53496 53497# A BSD- or MS-compatible name lister. 53498NM=$lt_NM 53499 53500# Whether we need soft or hard links. 53501LN_S=$lt_LN_S 53502 53503# What is the maximum length of a command? 53504max_cmd_len=$max_cmd_len 53505 53506# Object file suffix (normally "o"). 53507objext=$ac_objext 53508 53509# Executable file suffix (normally ""). 53510exeext=$exeext 53511 53512# whether the shell understands "unset". 53513lt_unset=$lt_unset 53514 53515# turn spaces into newlines. 53516SP2NL=$lt_lt_SP2NL 53517 53518# turn newlines into spaces. 53519NL2SP=$lt_lt_NL2SP 53520 53521# convert \$build file names to \$host format. 53522to_host_file_cmd=$lt_cv_to_host_file_cmd 53523 53524# convert \$build files to toolchain format. 53525to_tool_file_cmd=$lt_cv_to_tool_file_cmd 53526 53527# Method to check whether dependent libraries are shared objects. 53528deplibs_check_method=$lt_deplibs_check_method 53529 53530# Command to use when deplibs_check_method = "file_magic". 53531file_magic_cmd=$lt_file_magic_cmd 53532 53533# How to find potential files when deplibs_check_method = "file_magic". 53534file_magic_glob=$lt_file_magic_glob 53535 53536# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 53537want_nocaseglob=$lt_want_nocaseglob 53538 53539# Command to associate shared and link libraries. 53540sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 53541 53542# The archiver. 53543AR=$lt_AR 53544 53545# Flags to create an archive. 53546AR_FLAGS=$lt_AR_FLAGS 53547 53548# How to feed a file listing to the archiver. 53549archiver_list_spec=$lt_archiver_list_spec 53550 53551# A symbol stripping program. 53552STRIP=$lt_STRIP 53553 53554# Commands used to install an old-style archive. 53555RANLIB=$lt_RANLIB 53556old_postinstall_cmds=$lt_old_postinstall_cmds 53557old_postuninstall_cmds=$lt_old_postuninstall_cmds 53558 53559# Whether to use a lock for old archive extraction. 53560lock_old_archive_extraction=$lock_old_archive_extraction 53561 53562# A C compiler. 53563LTCC=$lt_CC 53564 53565# LTCC compiler flags. 53566LTCFLAGS=$lt_CFLAGS 53567 53568# Take the output of nm and produce a listing of raw symbols and C names. 53569global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 53570 53571# Transform the output of nm in a proper C declaration. 53572global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 53573 53574# Transform the output of nm into a list of symbols to manually relocate. 53575global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import 53576 53577# Transform the output of nm in a C name address pair. 53578global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 53579 53580# Transform the output of nm in a C name address pair when lib prefix is needed. 53581global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 53582 53583# The name lister interface. 53584nm_interface=$lt_lt_cv_nm_interface 53585 53586# Specify filename containing input files for \$NM. 53587nm_file_list_spec=$lt_nm_file_list_spec 53588 53589# The root where to search for dependent libraries,and where our libraries should be installed. 53590lt_sysroot=$lt_sysroot 53591 53592# Command to truncate a binary pipe. 53593lt_truncate_bin=$lt_lt_cv_truncate_bin 53594 53595# The name of the directory that contains temporary libtool files. 53596objdir=$objdir 53597 53598# Used to examine libraries when file_magic_cmd begins with "file". 53599MAGIC_CMD=$MAGIC_CMD 53600 53601# Must we lock files when doing compilation? 53602need_locks=$lt_need_locks 53603 53604# Manifest tool. 53605MANIFEST_TOOL=$lt_MANIFEST_TOOL 53606 53607# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 53608DSYMUTIL=$lt_DSYMUTIL 53609 53610# Tool to change global to local symbols on Mac OS X. 53611NMEDIT=$lt_NMEDIT 53612 53613# Tool to manipulate fat objects and archives on Mac OS X. 53614LIPO=$lt_LIPO 53615 53616# ldd/readelf like tool for Mach-O binaries on Mac OS X. 53617OTOOL=$lt_OTOOL 53618 53619# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 53620OTOOL64=$lt_OTOOL64 53621 53622# Old archive suffix (normally "a"). 53623libext=$libext 53624 53625# Shared library suffix (normally ".so"). 53626shrext_cmds=$lt_shrext_cmds 53627 53628# The commands to extract the exported symbol list from a shared archive. 53629extract_expsyms_cmds=$lt_extract_expsyms_cmds 53630 53631# Variables whose values should be saved in libtool wrapper scripts and 53632# restored at link time. 53633variables_saved_for_relink=$lt_variables_saved_for_relink 53634 53635# Do we need the "lib" prefix for modules? 53636need_lib_prefix=$need_lib_prefix 53637 53638# Do we need a version for libraries? 53639need_version=$need_version 53640 53641# Library versioning type. 53642version_type=$version_type 53643 53644# Shared library runtime path variable. 53645runpath_var=$runpath_var 53646 53647# Shared library path variable. 53648shlibpath_var=$shlibpath_var 53649 53650# Is shlibpath searched before the hard-coded library search path? 53651shlibpath_overrides_runpath=$shlibpath_overrides_runpath 53652 53653# Format of library name prefix. 53654libname_spec=$lt_libname_spec 53655 53656# List of archive names. First name is the real one, the rest are links. 53657# The last name is the one that the linker finds with -lNAME 53658library_names_spec=$lt_library_names_spec 53659 53660# The coded name of the library, if different from the real name. 53661soname_spec=$lt_soname_spec 53662 53663# Permission mode override for installation of shared libraries. 53664install_override_mode=$lt_install_override_mode 53665 53666# Command to use after installation of a shared archive. 53667postinstall_cmds=$lt_postinstall_cmds 53668 53669# Command to use after uninstallation of a shared archive. 53670postuninstall_cmds=$lt_postuninstall_cmds 53671 53672# Commands used to finish a libtool library installation in a directory. 53673finish_cmds=$lt_finish_cmds 53674 53675# As "finish_cmds", except a single script fragment to be evaled but 53676# not shown. 53677finish_eval=$lt_finish_eval 53678 53679# Whether we should hardcode library paths into libraries. 53680hardcode_into_libs=$hardcode_into_libs 53681 53682# Compile-time system search path for libraries. 53683sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 53684 53685# Detected run-time system search path for libraries. 53686sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path 53687 53688# Explicit LT_SYS_LIBRARY_PATH set during ./configure time. 53689configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path 53690 53691# Whether dlopen is supported. 53692dlopen_support=$enable_dlopen 53693 53694# Whether dlopen of programs is supported. 53695dlopen_self=$enable_dlopen_self 53696 53697# Whether dlopen of statically linked programs is supported. 53698dlopen_self_static=$enable_dlopen_self_static 53699 53700# Commands to strip libraries. 53701old_striplib=$lt_old_striplib 53702striplib=$lt_striplib 53703 53704 53705# The linker used to build libraries. 53706LD=$lt_LD 53707 53708# How to create reloadable object files. 53709reload_flag=$lt_reload_flag 53710reload_cmds=$lt_reload_cmds 53711 53712# Commands used to build an old-style archive. 53713old_archive_cmds=$lt_old_archive_cmds 53714 53715# A language specific compiler. 53716CC=$lt_compiler 53717 53718# Is the compiler the GNU compiler? 53719with_gcc=$GCC 53720 53721# Compiler flag to turn off builtin functions. 53722no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 53723 53724# Additional compiler flags for building library objects. 53725pic_flag=$lt_lt_prog_compiler_pic 53726 53727# How to pass a linker flag through the compiler. 53728wl=$lt_lt_prog_compiler_wl 53729 53730# Compiler flag to prevent dynamic linking. 53731link_static_flag=$lt_lt_prog_compiler_static 53732 53733# Does compiler simultaneously support -c and -o options? 53734compiler_c_o=$lt_lt_cv_prog_compiler_c_o 53735 53736# Whether or not to add -lc for building shared libraries. 53737build_libtool_need_lc=$archive_cmds_need_lc 53738 53739# Whether or not to disallow shared libs when runtime libs are static. 53740allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 53741 53742# Compiler flag to allow reflexive dlopens. 53743export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 53744 53745# Compiler flag to generate shared objects directly from archives. 53746whole_archive_flag_spec=$lt_whole_archive_flag_spec 53747 53748# Whether the compiler copes with passing no objects directly. 53749compiler_needs_object=$lt_compiler_needs_object 53750 53751# Create an old-style archive from a shared archive. 53752old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 53753 53754# Create a temporary old-style archive to link instead of a shared archive. 53755old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 53756 53757# Commands used to build a shared archive. 53758archive_cmds=$lt_archive_cmds 53759archive_expsym_cmds=$lt_archive_expsym_cmds 53760 53761# Commands used to build a loadable module if different from building 53762# a shared archive. 53763module_cmds=$lt_module_cmds 53764module_expsym_cmds=$lt_module_expsym_cmds 53765 53766# Whether we are building with GNU ld or not. 53767with_gnu_ld=$lt_with_gnu_ld 53768 53769# Flag that allows shared libraries with undefined symbols to be built. 53770allow_undefined_flag=$lt_allow_undefined_flag 53771 53772# Flag that enforces no undefined symbols. 53773no_undefined_flag=$lt_no_undefined_flag 53774 53775# Flag to hardcode \$libdir into a binary during linking. 53776# This must work even if \$libdir does not exist 53777hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 53778 53779# Whether we need a single "-rpath" flag with a separated argument. 53780hardcode_libdir_separator=$lt_hardcode_libdir_separator 53781 53782# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 53783# DIR into the resulting binary. 53784hardcode_direct=$hardcode_direct 53785 53786# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 53787# DIR into the resulting binary and the resulting library dependency is 53788# "absolute",i.e impossible to change by setting \$shlibpath_var if the 53789# library is relocated. 53790hardcode_direct_absolute=$hardcode_direct_absolute 53791 53792# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 53793# into the resulting binary. 53794hardcode_minus_L=$hardcode_minus_L 53795 53796# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 53797# into the resulting binary. 53798hardcode_shlibpath_var=$hardcode_shlibpath_var 53799 53800# Set to "yes" if building a shared library automatically hardcodes DIR 53801# into the library and all subsequent libraries and executables linked 53802# against it. 53803hardcode_automatic=$hardcode_automatic 53804 53805# Set to yes if linker adds runtime paths of dependent libraries 53806# to runtime path list. 53807inherit_rpath=$inherit_rpath 53808 53809# Whether libtool must link a program against all its dependency libraries. 53810link_all_deplibs=$link_all_deplibs 53811 53812# Set to "yes" if exported symbols are required. 53813always_export_symbols=$always_export_symbols 53814 53815# The commands to list exported symbols. 53816export_symbols_cmds=$lt_export_symbols_cmds 53817 53818# Symbols that should not be listed in the preloaded symbols. 53819exclude_expsyms=$lt_exclude_expsyms 53820 53821# Symbols that must always be exported. 53822include_expsyms=$lt_include_expsyms 53823 53824# Commands necessary for linking programs (against libraries) with templates. 53825prelink_cmds=$lt_prelink_cmds 53826 53827# Commands necessary for finishing linking programs. 53828postlink_cmds=$lt_postlink_cmds 53829 53830# Specify filename containing input files. 53831file_list_spec=$lt_file_list_spec 53832 53833# How to hardcode a shared library path into an executable. 53834hardcode_action=$hardcode_action 53835 53836# The directories searched by this compiler when creating a shared library. 53837compiler_lib_search_dirs=$lt_compiler_lib_search_dirs 53838 53839# Dependencies to place before and after the objects being linked to 53840# create a shared library. 53841predep_objects=$lt_predep_objects 53842postdep_objects=$lt_postdep_objects 53843predeps=$lt_predeps 53844postdeps=$lt_postdeps 53845 53846# The library search path used internally by the compiler when linking 53847# a shared library. 53848compiler_lib_search_path=$lt_compiler_lib_search_path 53849 53850# ### END LIBTOOL CONFIG 53851 53852_LT_EOF 53853 53854 cat <<'_LT_EOF' >> "$cfgfile" 53855 53856# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE 53857 53858# func_munge_path_list VARIABLE PATH 53859# ----------------------------------- 53860# VARIABLE is name of variable containing _space_ separated list of 53861# directories to be munged by the contents of PATH, which is string 53862# having a format: 53863# "DIR[:DIR]:" 53864# string "DIR[ DIR]" will be prepended to VARIABLE 53865# ":DIR[:DIR]" 53866# string "DIR[ DIR]" will be appended to VARIABLE 53867# "DIRP[:DIRP]::[DIRA:]DIRA" 53868# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 53869# "DIRA[ DIRA]" will be appended to VARIABLE 53870# "DIR[:DIR]" 53871# VARIABLE will be replaced by "DIR[ DIR]" 53872func_munge_path_list () 53873{ 53874 case x$2 in 53875 x) 53876 ;; 53877 *:) 53878 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 53879 ;; 53880 x:*) 53881 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 53882 ;; 53883 *::*) 53884 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 53885 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 53886 ;; 53887 *) 53888 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 53889 ;; 53890 esac 53891} 53892 53893 53894# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 53895func_cc_basename () 53896{ 53897 for cc_temp in $*""; do 53898 case $cc_temp in 53899 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 53900 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 53901 \-*) ;; 53902 *) break;; 53903 esac 53904 done 53905 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 53906} 53907 53908 53909# ### END FUNCTIONS SHARED WITH CONFIGURE 53910 53911_LT_EOF 53912 53913 case $host_os in 53914 aix3*) 53915 cat <<\_LT_EOF >> "$cfgfile" 53916# AIX sometimes has problems with the GCC collect2 program. For some 53917# reason, if we set the COLLECT_NAMES environment variable, the problems 53918# vanish in a puff of smoke. 53919if test set != "${COLLECT_NAMES+set}"; then 53920 COLLECT_NAMES= 53921 export COLLECT_NAMES 53922fi 53923_LT_EOF 53924 ;; 53925 esac 53926 53927 53928ltmain=$ac_aux_dir/ltmain.sh 53929 53930 53931 # We use sed instead of cat because bash on DJGPP gets confused if 53932 # if finds mixed CR/LF and LF-only lines. Since sed operates in 53933 # text mode, it properly converts lines to CR/LF. This bash problem 53934 # is reportedly fixed, but why not run on old versions too? 53935 sed '$q' "$ltmain" >> "$cfgfile" \ 53936 || (rm -f "$cfgfile"; exit 1) 53937 53938 mv -f "$cfgfile" "$ofile" || 53939 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 53940 chmod +x "$ofile" 53941 53942 53943 cat <<_LT_EOF >> "$ofile" 53944 53945# ### BEGIN LIBTOOL TAG CONFIG: CXX 53946 53947# The linker used to build libraries. 53948LD=$lt_LD_CXX 53949 53950# How to create reloadable object files. 53951reload_flag=$lt_reload_flag_CXX 53952reload_cmds=$lt_reload_cmds_CXX 53953 53954# Commands used to build an old-style archive. 53955old_archive_cmds=$lt_old_archive_cmds_CXX 53956 53957# A language specific compiler. 53958CC=$lt_compiler_CXX 53959 53960# Is the compiler the GNU compiler? 53961with_gcc=$GCC_CXX 53962 53963# Compiler flag to turn off builtin functions. 53964no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX 53965 53966# Additional compiler flags for building library objects. 53967pic_flag=$lt_lt_prog_compiler_pic_CXX 53968 53969# How to pass a linker flag through the compiler. 53970wl=$lt_lt_prog_compiler_wl_CXX 53971 53972# Compiler flag to prevent dynamic linking. 53973link_static_flag=$lt_lt_prog_compiler_static_CXX 53974 53975# Does compiler simultaneously support -c and -o options? 53976compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX 53977 53978# Whether or not to add -lc for building shared libraries. 53979build_libtool_need_lc=$archive_cmds_need_lc_CXX 53980 53981# Whether or not to disallow shared libs when runtime libs are static. 53982allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX 53983 53984# Compiler flag to allow reflexive dlopens. 53985export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX 53986 53987# Compiler flag to generate shared objects directly from archives. 53988whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX 53989 53990# Whether the compiler copes with passing no objects directly. 53991compiler_needs_object=$lt_compiler_needs_object_CXX 53992 53993# Create an old-style archive from a shared archive. 53994old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX 53995 53996# Create a temporary old-style archive to link instead of a shared archive. 53997old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX 53998 53999# Commands used to build a shared archive. 54000archive_cmds=$lt_archive_cmds_CXX 54001archive_expsym_cmds=$lt_archive_expsym_cmds_CXX 54002 54003# Commands used to build a loadable module if different from building 54004# a shared archive. 54005module_cmds=$lt_module_cmds_CXX 54006module_expsym_cmds=$lt_module_expsym_cmds_CXX 54007 54008# Whether we are building with GNU ld or not. 54009with_gnu_ld=$lt_with_gnu_ld_CXX 54010 54011# Flag that allows shared libraries with undefined symbols to be built. 54012allow_undefined_flag=$lt_allow_undefined_flag_CXX 54013 54014# Flag that enforces no undefined symbols. 54015no_undefined_flag=$lt_no_undefined_flag_CXX 54016 54017# Flag to hardcode \$libdir into a binary during linking. 54018# This must work even if \$libdir does not exist 54019hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX 54020 54021# Whether we need a single "-rpath" flag with a separated argument. 54022hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX 54023 54024# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 54025# DIR into the resulting binary. 54026hardcode_direct=$hardcode_direct_CXX 54027 54028# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 54029# DIR into the resulting binary and the resulting library dependency is 54030# "absolute",i.e impossible to change by setting \$shlibpath_var if the 54031# library is relocated. 54032hardcode_direct_absolute=$hardcode_direct_absolute_CXX 54033 54034# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 54035# into the resulting binary. 54036hardcode_minus_L=$hardcode_minus_L_CXX 54037 54038# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 54039# into the resulting binary. 54040hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX 54041 54042# Set to "yes" if building a shared library automatically hardcodes DIR 54043# into the library and all subsequent libraries and executables linked 54044# against it. 54045hardcode_automatic=$hardcode_automatic_CXX 54046 54047# Set to yes if linker adds runtime paths of dependent libraries 54048# to runtime path list. 54049inherit_rpath=$inherit_rpath_CXX 54050 54051# Whether libtool must link a program against all its dependency libraries. 54052link_all_deplibs=$link_all_deplibs_CXX 54053 54054# Set to "yes" if exported symbols are required. 54055always_export_symbols=$always_export_symbols_CXX 54056 54057# The commands to list exported symbols. 54058export_symbols_cmds=$lt_export_symbols_cmds_CXX 54059 54060# Symbols that should not be listed in the preloaded symbols. 54061exclude_expsyms=$lt_exclude_expsyms_CXX 54062 54063# Symbols that must always be exported. 54064include_expsyms=$lt_include_expsyms_CXX 54065 54066# Commands necessary for linking programs (against libraries) with templates. 54067prelink_cmds=$lt_prelink_cmds_CXX 54068 54069# Commands necessary for finishing linking programs. 54070postlink_cmds=$lt_postlink_cmds_CXX 54071 54072# Specify filename containing input files. 54073file_list_spec=$lt_file_list_spec_CXX 54074 54075# How to hardcode a shared library path into an executable. 54076hardcode_action=$hardcode_action_CXX 54077 54078# The directories searched by this compiler when creating a shared library. 54079compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX 54080 54081# Dependencies to place before and after the objects being linked to 54082# create a shared library. 54083predep_objects=$lt_predep_objects_CXX 54084postdep_objects=$lt_postdep_objects_CXX 54085predeps=$lt_predeps_CXX 54086postdeps=$lt_postdeps_CXX 54087 54088# The library search path used internally by the compiler when linking 54089# a shared library. 54090compiler_lib_search_path=$lt_compiler_lib_search_path_CXX 54091 54092# ### END LIBTOOL TAG CONFIG: CXX 54093_LT_EOF 54094 54095 ;; 54096 "po-directories":C) 54097 for ac_file in $CONFIG_FILES; do 54098 # Support "outfile[:infile[:infile...]]" 54099 case "$ac_file" in 54100 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; 54101 esac 54102 # PO directories have a Makefile.in generated from Makefile.in.in. 54103 case "$ac_file" in */Makefile.in) 54104 # Adjust a relative srcdir. 54105 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` 54106 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`" 54107 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` 54108 # In autoconf-2.13 it is called $ac_given_srcdir. 54109 # In autoconf-2.50 it is called $srcdir. 54110 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" 54111 case "$ac_given_srcdir" in 54112 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; 54113 /*) top_srcdir="$ac_given_srcdir" ;; 54114 *) top_srcdir="$ac_dots$ac_given_srcdir" ;; 54115 esac 54116 # Treat a directory as a PO directory if and only if it has a 54117 # POTFILES.in file. This allows packages to have multiple PO 54118 # directories under different names or in different locations. 54119 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then 54120 rm -f "$ac_dir/POTFILES" 54121 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" 54122 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" 54123 POMAKEFILEDEPS="POTFILES.in" 54124 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend 54125 # on $ac_dir but don't depend on user-specified configuration 54126 # parameters. 54127 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then 54128 # The LINGUAS file contains the set of available languages. 54129 if test -n "$OBSOLETE_ALL_LINGUAS"; then 54130 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" 54131 fi 54132 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"` 54133 # Hide the ALL_LINGUAS assigment from automake < 1.5. 54134 eval 'ALL_LINGUAS''=$ALL_LINGUAS_' 54135 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" 54136 else 54137 # The set of available languages was given in configure.in. 54138 # Hide the ALL_LINGUAS assigment from automake < 1.5. 54139 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' 54140 fi 54141 # Compute POFILES 54142 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) 54143 # Compute UPDATEPOFILES 54144 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) 54145 # Compute DUMMYPOFILES 54146 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) 54147 # Compute GMOFILES 54148 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) 54149 case "$ac_given_srcdir" in 54150 .) srcdirpre= ;; 54151 *) srcdirpre='$(srcdir)/' ;; 54152 esac 54153 POFILES= 54154 UPDATEPOFILES= 54155 DUMMYPOFILES= 54156 GMOFILES= 54157 for lang in $ALL_LINGUAS; do 54158 POFILES="$POFILES $srcdirpre$lang.po" 54159 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" 54160 DUMMYPOFILES="$DUMMYPOFILES $lang.nop" 54161 GMOFILES="$GMOFILES $srcdirpre$lang.gmo" 54162 done 54163 # CATALOGS depends on both $ac_dir and the user's LINGUAS 54164 # environment variable. 54165 INST_LINGUAS= 54166 if test -n "$ALL_LINGUAS"; then 54167 for presentlang in $ALL_LINGUAS; do 54168 useit=no 54169 if test "%UNSET%" != "$LINGUAS"; then 54170 desiredlanguages="$LINGUAS" 54171 else 54172 desiredlanguages="$ALL_LINGUAS" 54173 fi 54174 for desiredlang in $desiredlanguages; do 54175 # Use the presentlang catalog if desiredlang is 54176 # a. equal to presentlang, or 54177 # b. a variant of presentlang (because in this case, 54178 # presentlang can be used as a fallback for messages 54179 # which are not translated in the desiredlang catalog). 54180 case "$desiredlang" in 54181 "$presentlang"*) useit=yes;; 54182 esac 54183 done 54184 if test $useit = yes; then 54185 INST_LINGUAS="$INST_LINGUAS $presentlang" 54186 fi 54187 done 54188 fi 54189 CATALOGS= 54190 if test -n "$INST_LINGUAS"; then 54191 for lang in $INST_LINGUAS; do 54192 CATALOGS="$CATALOGS $lang.gmo" 54193 done 54194 fi 54195 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" 54196 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" 54197 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do 54198 if test -f "$f"; then 54199 case "$f" in 54200 *.orig | *.bak | *~) ;; 54201 *) cat "$f" >> "$ac_dir/Makefile" ;; 54202 esac 54203 fi 54204 done 54205 fi 54206 ;; 54207 esac 54208 done ;; 54209 54210 esac 54211done # for ac_tag 54212 54213 54214as_fn_exit 0 54215_ACEOF 54216ac_clean_files=$ac_clean_files_save 54217 54218test $ac_write_fail = 0 || 54219 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 54220 54221 54222# configure is writing to config.log, and then calls config.status. 54223# config.status does its own redirection, appending to config.log. 54224# Unfortunately, on DOS this fails, as config.log is still kept open 54225# by configure, so config.status won't be able to write to it; its 54226# output is simply discarded. So we exec the FD to /dev/null, 54227# effectively closing config.log, so it can be properly (re)opened and 54228# appended to by config.status. When coming back to configure, we 54229# need to make the FD available again. 54230if test "$no_create" != yes; then 54231 ac_cs_success=: 54232 ac_config_status_args= 54233 test "$silent" = yes && 54234 ac_config_status_args="$ac_config_status_args --quiet" 54235 exec 5>/dev/null 54236 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 54237 exec 5>>config.log 54238 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 54239 # would make configure fail if this is the last instruction. 54240 $ac_cs_success || as_fn_exit 1 54241fi 54242if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 54243 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 54244$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 54245fi 54246 54247 54248{ $as_echo "$as_me:${as_lineno-$LINENO}: 54249Building: 54250 libcerror support: $ac_cv_libcerror 54251 libcthreads support: $ac_cv_libcthreads 54252 libcdata support: $ac_cv_libcdata 54253 libclocale support: $ac_cv_libclocale 54254 libcnotify support: $ac_cv_libcnotify 54255 libcsplit support: $ac_cv_libcsplit 54256 libuna support: $ac_cv_libuna 54257 libcfile support: $ac_cv_libcfile 54258 libcpath support: $ac_cv_libcpath 54259 libbfio support: $ac_cv_libbfio 54260 libfdatetime support: $ac_cv_libfdatetime 54261 libfguid support: $ac_cv_libfguid 54262 libfole support: $ac_cv_libfole 54263 libfvalue support: $ac_cv_libfvalue 54264 libfwps support: $ac_cv_libfwps 54265 FUSE support: $ac_cv_libfuse 54266 54267Features: 54268 Multi-threading support: $ac_cv_libcthreads_multi_threading 54269 Wide character type support: $ac_cv_enable_wide_character_type 54270 olecftools are build as static executables: $ac_cv_enable_static_executables 54271 Python (pyolecf) support: $ac_cv_enable_python 54272 Verbose output: $ac_cv_enable_verbose_output 54273 Debug output: $ac_cv_enable_debug_output 54274" >&5 54275$as_echo "$as_me: 54276Building: 54277 libcerror support: $ac_cv_libcerror 54278 libcthreads support: $ac_cv_libcthreads 54279 libcdata support: $ac_cv_libcdata 54280 libclocale support: $ac_cv_libclocale 54281 libcnotify support: $ac_cv_libcnotify 54282 libcsplit support: $ac_cv_libcsplit 54283 libuna support: $ac_cv_libuna 54284 libcfile support: $ac_cv_libcfile 54285 libcpath support: $ac_cv_libcpath 54286 libbfio support: $ac_cv_libbfio 54287 libfdatetime support: $ac_cv_libfdatetime 54288 libfguid support: $ac_cv_libfguid 54289 libfole support: $ac_cv_libfole 54290 libfvalue support: $ac_cv_libfvalue 54291 libfwps support: $ac_cv_libfwps 54292 FUSE support: $ac_cv_libfuse 54293 54294Features: 54295 Multi-threading support: $ac_cv_libcthreads_multi_threading 54296 Wide character type support: $ac_cv_enable_wide_character_type 54297 olecftools are build as static executables: $ac_cv_enable_static_executables 54298 Python (pyolecf) support: $ac_cv_enable_python 54299 Verbose output: $ac_cv_enable_verbose_output 54300 Debug output: $ac_cv_enable_debug_output 54301" >&6;}; 54302 54303