1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69 for libmsiecf 20210420. 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='libmsiecf' 592PACKAGE_TARNAME='libmsiecf' 593PACKAGE_VERSION='20210420' 594PACKAGE_STRING='libmsiecf 20210420' 595PACKAGE_BUGREPORT='joachim.metz@gmail.com' 596PACKAGE_URL='' 597 598ac_unique_file="include/libmsiecf.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 642libmsiecf_spec_requires 643LIB_FUZZING_ENGINE 644HAVE_LIB_FUZZING_ENGINE_FALSE 645HAVE_LIB_FUZZING_ENGINE_TRUE 646LIBMSIECF_DLL_IMPORT 647LIBMSIECF_DLL_EXPORT 648HAVE_DLLMAIN 649HAVE_PYTHON_TESTS_FALSE 650HAVE_PYTHON_TESTS_TRUE 651HAVE_PYTHON3_FALSE 652HAVE_PYTHON3_TRUE 653HAVE_PYTHON2_FALSE 654HAVE_PYTHON2_TRUE 655HAVE_PYTHON_FALSE 656HAVE_PYTHON_TRUE 657PYTHON3_PACKAGE_DIR 658PYTHON3_LIBRARY_DIR 659pyexecdir3 660pythondir3 661PYTHON3_EXEC_PREFIX 662PYTHON3_PREFIX 663PYTHON3_LDFLAGS 664PYTHON3_CPPFLAGS 665PYTHON3_CONFIG 666PYTHON3_PLATFORM 667PYTHON3_VERSION 668PYTHON3 669PYTHON2_PACKAGE_DIR 670PYTHON2_LIBRARY_DIR 671pyexecdir2 672pythondir2 673PYTHON2_EXEC_PREFIX 674PYTHON2_PREFIX 675PYTHON2_LDFLAGS 676PYTHON2_CPPFLAGS 677PYTHON2_CONFIG 678PYTHON2_PLATFORM 679PYTHON2_VERSION 680PYTHON2 681PYTHON_PACKAGE_DIR 682PYTHON_LIBRARY_DIR 683pyexecdir 684pythondir 685PYTHON_EXEC_PREFIX 686PYTHON_PREFIX 687PYTHON_LDFLAGS 688PYTHON_CPPFLAGS 689PYTHON_CONFIG 690PYTHON_PLATFORM 691PYTHON 692ax_libfvalue_spec_build_requires 693ax_libfvalue_spec_requires 694ax_libfvalue_pc_libs_private 695LIBFVALUE_LIBADD 696LIBFVALUE_CPPFLAGS 697HAVE_LOCAL_LIBFVALUE_FALSE 698HAVE_LOCAL_LIBFVALUE_TRUE 699HAVE_LOCAL_LIBFVALUE 700HAVE_LIBFVALUE 701libfvalue_LIBS 702libfvalue_CFLAGS 703ax_libfole_spec_build_requires 704ax_libfole_spec_requires 705ax_libfole_pc_libs_private 706LIBFOLE_LIBADD 707LIBFOLE_CPPFLAGS 708HAVE_LOCAL_LIBFOLE_FALSE 709HAVE_LOCAL_LIBFOLE_TRUE 710HAVE_LOCAL_LIBFOLE 711HAVE_LIBFOLE 712libfole_LIBS 713libfole_CFLAGS 714ax_libfguid_spec_build_requires 715ax_libfguid_spec_requires 716ax_libfguid_pc_libs_private 717LIBFGUID_LIBADD 718LIBFGUID_CPPFLAGS 719HAVE_LOCAL_LIBFGUID_FALSE 720HAVE_LOCAL_LIBFGUID_TRUE 721HAVE_LOCAL_LIBFGUID 722HAVE_LIBFGUID 723libfguid_LIBS 724libfguid_CFLAGS 725ax_libfdatetime_spec_build_requires 726ax_libfdatetime_spec_requires 727ax_libfdatetime_pc_libs_private 728LIBFDATETIME_LIBADD 729LIBFDATETIME_CPPFLAGS 730HAVE_LOCAL_LIBFDATETIME_FALSE 731HAVE_LOCAL_LIBFDATETIME_TRUE 732HAVE_LOCAL_LIBFDATETIME 733HAVE_LIBFDATETIME 734libfdatetime_LIBS 735libfdatetime_CFLAGS 736ax_libbfio_spec_build_requires 737ax_libbfio_spec_requires 738ax_libbfio_pc_libs_private 739LIBBFIO_LIBADD 740LIBBFIO_CPPFLAGS 741HAVE_LOCAL_LIBBFIO_FALSE 742HAVE_LOCAL_LIBBFIO_TRUE 743HAVE_LOCAL_LIBBFIO 744HAVE_LIBBFIO 745libbfio_LIBS 746libbfio_CFLAGS 747ax_libcpath_spec_build_requires 748ax_libcpath_spec_requires 749ax_libcpath_pc_libs_private 750LIBCPATH_LIBADD 751LIBCPATH_CPPFLAGS 752HAVE_LOCAL_LIBCPATH_FALSE 753HAVE_LOCAL_LIBCPATH_TRUE 754HAVE_LOCAL_LIBCPATH 755HAVE_LIBCPATH 756libcpath_LIBS 757libcpath_CFLAGS 758ax_libcfile_spec_build_requires 759ax_libcfile_spec_requires 760ax_libcfile_pc_libs_private 761LIBCFILE_LIBADD 762LIBCFILE_CPPFLAGS 763HAVE_LOCAL_LIBCFILE_FALSE 764HAVE_LOCAL_LIBCFILE_TRUE 765HAVE_LOCAL_LIBCFILE 766HAVE_LIBCFILE 767libcfile_LIBS 768libcfile_CFLAGS 769ax_libuna_spec_build_requires 770ax_libuna_spec_requires 771ax_libuna_pc_libs_private 772LIBUNA_LIBADD 773LIBUNA_CPPFLAGS 774HAVE_LOCAL_LIBUNA_FALSE 775HAVE_LOCAL_LIBUNA_TRUE 776HAVE_LOCAL_LIBUNA 777HAVE_LIBUNA 778libuna_LIBS 779libuna_CFLAGS 780ax_libcsplit_spec_build_requires 781ax_libcsplit_spec_requires 782ax_libcsplit_pc_libs_private 783LIBCSPLIT_LIBADD 784LIBCSPLIT_CPPFLAGS 785HAVE_LOCAL_LIBCSPLIT_FALSE 786HAVE_LOCAL_LIBCSPLIT_TRUE 787HAVE_LOCAL_LIBCSPLIT 788HAVE_LIBCSPLIT 789libcsplit_LIBS 790libcsplit_CFLAGS 791ax_libcnotify_spec_build_requires 792ax_libcnotify_spec_requires 793ax_libcnotify_pc_libs_private 794LIBCNOTIFY_LIBADD 795LIBCNOTIFY_CPPFLAGS 796HAVE_LOCAL_LIBCNOTIFY_FALSE 797HAVE_LOCAL_LIBCNOTIFY_TRUE 798HAVE_LOCAL_LIBCNOTIFY 799HAVE_LIBCNOTIFY 800libcnotify_LIBS 801libcnotify_CFLAGS 802ax_libclocale_spec_build_requires 803ax_libclocale_spec_requires 804ax_libclocale_pc_libs_private 805LIBCLOCALE_LIBADD 806LIBCLOCALE_CPPFLAGS 807HAVE_LOCAL_LIBCLOCALE_FALSE 808HAVE_LOCAL_LIBCLOCALE_TRUE 809HAVE_LOCAL_LIBCLOCALE 810HAVE_LIBCLOCALE 811libclocale_LIBS 812libclocale_CFLAGS 813ax_libcdata_spec_build_requires 814ax_libcdata_spec_requires 815ax_libcdata_pc_libs_private 816LIBCDATA_LIBADD 817LIBCDATA_CPPFLAGS 818HAVE_LOCAL_LIBCDATA_FALSE 819HAVE_LOCAL_LIBCDATA_TRUE 820HAVE_LOCAL_LIBCDATA 821HAVE_LIBCDATA 822libcdata_LIBS 823libcdata_CFLAGS 824ax_libcthreads_spec_build_requires 825ax_libcthreads_spec_requires 826ax_libcthreads_pc_libs_private 827HAVE_MULTI_THREAD_SUPPORT 828LIBCTHREADS_LIBADD 829LIBCTHREADS_CPPFLAGS 830HAVE_LOCAL_LIBCTHREADS_FALSE 831HAVE_LOCAL_LIBCTHREADS_TRUE 832HAVE_LOCAL_LIBCTHREADS 833ax_pthread_pc_libs_private 834PTHREAD_LIBADD 835PTHREAD_CPPFLAGS 836HAVE_PTHREAD 837HAVE_LIBCTHREADS 838libcthreads_LIBS 839libcthreads_CFLAGS 840ax_libcerror_spec_build_requires 841ax_libcerror_spec_requires 842ax_libcerror_pc_libs_private 843LIBCERROR_LIBADD 844LIBCERROR_CPPFLAGS 845HAVE_LOCAL_LIBCERROR_FALSE 846HAVE_LOCAL_LIBCERROR_TRUE 847HAVE_LOCAL_LIBCERROR 848HAVE_LIBCERROR 849libcerror_LIBS 850libcerror_CFLAGS 851PKG_CONFIG_LIBDIR 852PKG_CONFIG_PATH 853PKG_CONFIG 854HAVE_OFF64_T 855HAVE_SSIZE64_T 856HAVE_SIZE64_T 857HAVE_SSIZE32_T 858HAVE_SIZE32_T 859HAVE_WCHAR_H 860HAVE_STDINT_H 861HAVE_INTTYPES_H 862HAVE_SYS_TYPES_H 863HAVE_WIDE_CHARACTER_TYPE 864STATIC_LDFLAGS 865POSUB 866LTLIBINTL 867LIBINTL 868INTLLIBS 869LTLIBICONV 870LIBICONV 871INTL_MACOSX_LIBS 872XGETTEXT_EXTRA_OPTIONS 873MSGMERGE 874XGETTEXT_015 875XGETTEXT 876GMSGFMT_015 877MSGFMT_015 878GMSGFMT 879MSGFMT 880GETTEXT_MACRO_VERSION 881USE_NLS 882PKGCONFIG 883LIBTOOL_DEPS 884CXXCPP 885LT_SYS_LIBRARY_PATH 886OTOOL64 887OTOOL 888LIPO 889NMEDIT 890DSYMUTIL 891MANIFEST_TOOL 892RANLIB 893ac_ct_AR 894AR 895LN_S 896NM 897ac_ct_DUMPBIN 898DUMPBIN 899LD 900FGREP 901SED 902LIBTOOL 903am__fastdepCXX_FALSE 904am__fastdepCXX_TRUE 905CXXDEPMODE 906ac_ct_CXX 907CXXFLAGS 908CXX 909EGREP 910GREP 911CPP 912am__fastdepCC_FALSE 913am__fastdepCC_TRUE 914CCDEPMODE 915am__nodep 916AMDEPBACKSLASH 917AMDEP_FALSE 918AMDEP_TRUE 919am__include 920DEPDIR 921OBJEXT 922EXEEXT 923ac_ct_CC 924CPPFLAGS 925LDFLAGS 926CFLAGS 927CC 928OBJDUMP 929DLLTOOL 930AS 931host_os 932host_vendor 933host_cpu 934host 935build_os 936build_vendor 937build_cpu 938build 939AM_BACKSLASH 940AM_DEFAULT_VERBOSITY 941AM_DEFAULT_V 942AM_V 943am__untar 944am__tar 945AMTAR 946am__leading_dot 947SET_MAKE 948AWK 949mkdir_p 950MKDIR_P 951INSTALL_STRIP_PROGRAM 952STRIP 953install_sh 954MAKEINFO 955AUTOHEADER 956AUTOMAKE 957AUTOCONF 958ACLOCAL 959VERSION 960PACKAGE 961CYGPATH_W 962am__isrc 963INSTALL_DATA 964INSTALL_SCRIPT 965INSTALL_PROGRAM 966target_alias 967host_alias 968build_alias 969LIBS 970ECHO_T 971ECHO_N 972ECHO_C 973DEFS 974mandir 975localedir 976libdir 977psdir 978pdfdir 979dvidir 980htmldir 981infodir 982docdir 983oldincludedir 984includedir 985localstatedir 986sharedstatedir 987sysconfdir 988datadir 989datarootdir 990libexecdir 991sbindir 992bindir 993program_transform_name 994prefix 995exec_prefix 996PACKAGE_URL 997PACKAGE_BUGREPORT 998PACKAGE_STRING 999PACKAGE_VERSION 1000PACKAGE_TARNAME 1001PACKAGE_NAME 1002PATH_SEPARATOR 1003SHELL 1004am__quote' 1005ac_subst_files='' 1006ac_user_opts=' 1007enable_option_checking 1008enable_silent_rules 1009enable_dependency_tracking 1010enable_shared 1011enable_static 1012with_pic 1013enable_fast_install 1014with_aix_soname 1015with_gnu_ld 1016with_sysroot 1017enable_libtool_lock 1018enable_nls 1019enable_rpath 1020with_libiconv_prefix 1021with_libintl_prefix 1022enable_largefile 1023enable_shared_libs 1024enable_static_executables 1025enable_winapi 1026enable_wide_character_type 1027enable_verbose_output 1028enable_debug_output 1029with_libcerror 1030enable_multi_threading_support 1031with_libcthreads 1032with_pthread 1033with_libcdata 1034with_libclocale 1035with_libcnotify 1036with_libcsplit 1037with_libuna 1038with_libcfile 1039with_libcpath 1040with_libbfio 1041with_libfdatetime 1042with_libfguid 1043with_libfole 1044with_libfvalue 1045with_pyprefix 1046enable_python 1047with_pythondir 1048enable_python2 1049with_pythondir2 1050enable_python3 1051with_pythondir3 1052' 1053 ac_precious_vars='build_alias 1054host_alias 1055target_alias 1056CC 1057CFLAGS 1058LDFLAGS 1059LIBS 1060CPPFLAGS 1061CPP 1062CXX 1063CXXFLAGS 1064CCC 1065LT_SYS_LIBRARY_PATH 1066CXXCPP 1067PKG_CONFIG 1068PKG_CONFIG_PATH 1069PKG_CONFIG_LIBDIR 1070libcerror_CFLAGS 1071libcerror_LIBS 1072libcthreads_CFLAGS 1073libcthreads_LIBS 1074libcdata_CFLAGS 1075libcdata_LIBS 1076libclocale_CFLAGS 1077libclocale_LIBS 1078libcnotify_CFLAGS 1079libcnotify_LIBS 1080libcsplit_CFLAGS 1081libcsplit_LIBS 1082libuna_CFLAGS 1083libuna_LIBS 1084libcfile_CFLAGS 1085libcfile_LIBS 1086libcpath_CFLAGS 1087libcpath_LIBS 1088libbfio_CFLAGS 1089libbfio_LIBS 1090libfdatetime_CFLAGS 1091libfdatetime_LIBS 1092libfguid_CFLAGS 1093libfguid_LIBS 1094libfole_CFLAGS 1095libfole_LIBS 1096libfvalue_CFLAGS 1097libfvalue_LIBS' 1098 1099 1100# Initialize some variables set by options. 1101ac_init_help= 1102ac_init_version=false 1103ac_unrecognized_opts= 1104ac_unrecognized_sep= 1105# The variables have the same names as the options, with 1106# dashes changed to underlines. 1107cache_file=/dev/null 1108exec_prefix=NONE 1109no_create= 1110no_recursion= 1111prefix=NONE 1112program_prefix=NONE 1113program_suffix=NONE 1114program_transform_name=s,x,x, 1115silent= 1116site= 1117srcdir= 1118verbose= 1119x_includes=NONE 1120x_libraries=NONE 1121 1122# Installation directory options. 1123# These are left unexpanded so users can "make install exec_prefix=/foo" 1124# and all the variables that are supposed to be based on exec_prefix 1125# by default will actually change. 1126# Use braces instead of parens because sh, perl, etc. also accept them. 1127# (The list follows the same order as the GNU Coding Standards.) 1128bindir='${exec_prefix}/bin' 1129sbindir='${exec_prefix}/sbin' 1130libexecdir='${exec_prefix}/libexec' 1131datarootdir='${prefix}/share' 1132datadir='${datarootdir}' 1133sysconfdir='${prefix}/etc' 1134sharedstatedir='${prefix}/com' 1135localstatedir='${prefix}/var' 1136includedir='${prefix}/include' 1137oldincludedir='/usr/include' 1138docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 1139infodir='${datarootdir}/info' 1140htmldir='${docdir}' 1141dvidir='${docdir}' 1142pdfdir='${docdir}' 1143psdir='${docdir}' 1144libdir='${exec_prefix}/lib' 1145localedir='${datarootdir}/locale' 1146mandir='${datarootdir}/man' 1147 1148ac_prev= 1149ac_dashdash= 1150for ac_option 1151do 1152 # If the previous option needs an argument, assign it. 1153 if test -n "$ac_prev"; then 1154 eval $ac_prev=\$ac_option 1155 ac_prev= 1156 continue 1157 fi 1158 1159 case $ac_option in 1160 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 1161 *=) ac_optarg= ;; 1162 *) ac_optarg=yes ;; 1163 esac 1164 1165 # Accept the important Cygnus configure options, so we can diagnose typos. 1166 1167 case $ac_dashdash$ac_option in 1168 --) 1169 ac_dashdash=yes ;; 1170 1171 -bindir | --bindir | --bindi | --bind | --bin | --bi) 1172 ac_prev=bindir ;; 1173 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 1174 bindir=$ac_optarg ;; 1175 1176 -build | --build | --buil | --bui | --bu) 1177 ac_prev=build_alias ;; 1178 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 1179 build_alias=$ac_optarg ;; 1180 1181 -cache-file | --cache-file | --cache-fil | --cache-fi \ 1182 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 1183 ac_prev=cache_file ;; 1184 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 1185 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 1186 cache_file=$ac_optarg ;; 1187 1188 --config-cache | -C) 1189 cache_file=config.cache ;; 1190 1191 -datadir | --datadir | --datadi | --datad) 1192 ac_prev=datadir ;; 1193 -datadir=* | --datadir=* | --datadi=* | --datad=*) 1194 datadir=$ac_optarg ;; 1195 1196 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 1197 | --dataroo | --dataro | --datar) 1198 ac_prev=datarootdir ;; 1199 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 1200 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 1201 datarootdir=$ac_optarg ;; 1202 1203 -disable-* | --disable-*) 1204 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 1205 # Reject names that are not valid shell variable names. 1206 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1207 as_fn_error $? "invalid feature name: $ac_useropt" 1208 ac_useropt_orig=$ac_useropt 1209 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1210 case $ac_user_opts in 1211 *" 1212"enable_$ac_useropt" 1213"*) ;; 1214 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 1215 ac_unrecognized_sep=', ';; 1216 esac 1217 eval enable_$ac_useropt=no ;; 1218 1219 -docdir | --docdir | --docdi | --doc | --do) 1220 ac_prev=docdir ;; 1221 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 1222 docdir=$ac_optarg ;; 1223 1224 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 1225 ac_prev=dvidir ;; 1226 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 1227 dvidir=$ac_optarg ;; 1228 1229 -enable-* | --enable-*) 1230 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 1231 # Reject names that are not valid shell variable names. 1232 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1233 as_fn_error $? "invalid feature name: $ac_useropt" 1234 ac_useropt_orig=$ac_useropt 1235 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1236 case $ac_user_opts in 1237 *" 1238"enable_$ac_useropt" 1239"*) ;; 1240 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 1241 ac_unrecognized_sep=', ';; 1242 esac 1243 eval enable_$ac_useropt=\$ac_optarg ;; 1244 1245 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 1246 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 1247 | --exec | --exe | --ex) 1248 ac_prev=exec_prefix ;; 1249 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 1250 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 1251 | --exec=* | --exe=* | --ex=*) 1252 exec_prefix=$ac_optarg ;; 1253 1254 -gas | --gas | --ga | --g) 1255 # Obsolete; use --with-gas. 1256 with_gas=yes ;; 1257 1258 -help | --help | --hel | --he | -h) 1259 ac_init_help=long ;; 1260 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 1261 ac_init_help=recursive ;; 1262 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 1263 ac_init_help=short ;; 1264 1265 -host | --host | --hos | --ho) 1266 ac_prev=host_alias ;; 1267 -host=* | --host=* | --hos=* | --ho=*) 1268 host_alias=$ac_optarg ;; 1269 1270 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1271 ac_prev=htmldir ;; 1272 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1273 | --ht=*) 1274 htmldir=$ac_optarg ;; 1275 1276 -includedir | --includedir | --includedi | --included | --include \ 1277 | --includ | --inclu | --incl | --inc) 1278 ac_prev=includedir ;; 1279 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1280 | --includ=* | --inclu=* | --incl=* | --inc=*) 1281 includedir=$ac_optarg ;; 1282 1283 -infodir | --infodir | --infodi | --infod | --info | --inf) 1284 ac_prev=infodir ;; 1285 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1286 infodir=$ac_optarg ;; 1287 1288 -libdir | --libdir | --libdi | --libd) 1289 ac_prev=libdir ;; 1290 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1291 libdir=$ac_optarg ;; 1292 1293 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1294 | --libexe | --libex | --libe) 1295 ac_prev=libexecdir ;; 1296 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1297 | --libexe=* | --libex=* | --libe=*) 1298 libexecdir=$ac_optarg ;; 1299 1300 -localedir | --localedir | --localedi | --localed | --locale) 1301 ac_prev=localedir ;; 1302 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1303 localedir=$ac_optarg ;; 1304 1305 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1306 | --localstate | --localstat | --localsta | --localst | --locals) 1307 ac_prev=localstatedir ;; 1308 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1309 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1310 localstatedir=$ac_optarg ;; 1311 1312 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1313 ac_prev=mandir ;; 1314 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1315 mandir=$ac_optarg ;; 1316 1317 -nfp | --nfp | --nf) 1318 # Obsolete; use --without-fp. 1319 with_fp=no ;; 1320 1321 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1322 | --no-cr | --no-c | -n) 1323 no_create=yes ;; 1324 1325 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1326 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1327 no_recursion=yes ;; 1328 1329 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1330 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1331 | --oldin | --oldi | --old | --ol | --o) 1332 ac_prev=oldincludedir ;; 1333 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1334 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1335 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1336 oldincludedir=$ac_optarg ;; 1337 1338 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1339 ac_prev=prefix ;; 1340 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1341 prefix=$ac_optarg ;; 1342 1343 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1344 | --program-pre | --program-pr | --program-p) 1345 ac_prev=program_prefix ;; 1346 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1347 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1348 program_prefix=$ac_optarg ;; 1349 1350 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1351 | --program-suf | --program-su | --program-s) 1352 ac_prev=program_suffix ;; 1353 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1354 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1355 program_suffix=$ac_optarg ;; 1356 1357 -program-transform-name | --program-transform-name \ 1358 | --program-transform-nam | --program-transform-na \ 1359 | --program-transform-n | --program-transform- \ 1360 | --program-transform | --program-transfor \ 1361 | --program-transfo | --program-transf \ 1362 | --program-trans | --program-tran \ 1363 | --progr-tra | --program-tr | --program-t) 1364 ac_prev=program_transform_name ;; 1365 -program-transform-name=* | --program-transform-name=* \ 1366 | --program-transform-nam=* | --program-transform-na=* \ 1367 | --program-transform-n=* | --program-transform-=* \ 1368 | --program-transform=* | --program-transfor=* \ 1369 | --program-transfo=* | --program-transf=* \ 1370 | --program-trans=* | --program-tran=* \ 1371 | --progr-tra=* | --program-tr=* | --program-t=*) 1372 program_transform_name=$ac_optarg ;; 1373 1374 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1375 ac_prev=pdfdir ;; 1376 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1377 pdfdir=$ac_optarg ;; 1378 1379 -psdir | --psdir | --psdi | --psd | --ps) 1380 ac_prev=psdir ;; 1381 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1382 psdir=$ac_optarg ;; 1383 1384 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1385 | -silent | --silent | --silen | --sile | --sil) 1386 silent=yes ;; 1387 1388 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1389 ac_prev=sbindir ;; 1390 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1391 | --sbi=* | --sb=*) 1392 sbindir=$ac_optarg ;; 1393 1394 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1395 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1396 | --sharedst | --shareds | --shared | --share | --shar \ 1397 | --sha | --sh) 1398 ac_prev=sharedstatedir ;; 1399 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1400 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1401 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1402 | --sha=* | --sh=*) 1403 sharedstatedir=$ac_optarg ;; 1404 1405 -site | --site | --sit) 1406 ac_prev=site ;; 1407 -site=* | --site=* | --sit=*) 1408 site=$ac_optarg ;; 1409 1410 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1411 ac_prev=srcdir ;; 1412 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1413 srcdir=$ac_optarg ;; 1414 1415 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1416 | --syscon | --sysco | --sysc | --sys | --sy) 1417 ac_prev=sysconfdir ;; 1418 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1419 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1420 sysconfdir=$ac_optarg ;; 1421 1422 -target | --target | --targe | --targ | --tar | --ta | --t) 1423 ac_prev=target_alias ;; 1424 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1425 target_alias=$ac_optarg ;; 1426 1427 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1428 verbose=yes ;; 1429 1430 -version | --version | --versio | --versi | --vers | -V) 1431 ac_init_version=: ;; 1432 1433 -with-* | --with-*) 1434 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1435 # Reject names that are not valid shell variable names. 1436 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1437 as_fn_error $? "invalid package name: $ac_useropt" 1438 ac_useropt_orig=$ac_useropt 1439 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1440 case $ac_user_opts in 1441 *" 1442"with_$ac_useropt" 1443"*) ;; 1444 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1445 ac_unrecognized_sep=', ';; 1446 esac 1447 eval with_$ac_useropt=\$ac_optarg ;; 1448 1449 -without-* | --without-*) 1450 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1451 # Reject names that are not valid shell variable names. 1452 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1453 as_fn_error $? "invalid package name: $ac_useropt" 1454 ac_useropt_orig=$ac_useropt 1455 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1456 case $ac_user_opts in 1457 *" 1458"with_$ac_useropt" 1459"*) ;; 1460 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1461 ac_unrecognized_sep=', ';; 1462 esac 1463 eval with_$ac_useropt=no ;; 1464 1465 --x) 1466 # Obsolete; use --with-x. 1467 with_x=yes ;; 1468 1469 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1470 | --x-incl | --x-inc | --x-in | --x-i) 1471 ac_prev=x_includes ;; 1472 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1473 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1474 x_includes=$ac_optarg ;; 1475 1476 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1477 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1478 ac_prev=x_libraries ;; 1479 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1480 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1481 x_libraries=$ac_optarg ;; 1482 1483 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1484Try \`$0 --help' for more information" 1485 ;; 1486 1487 *=*) 1488 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1489 # Reject names that are not valid shell variable names. 1490 case $ac_envvar in #( 1491 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1492 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1493 esac 1494 eval $ac_envvar=\$ac_optarg 1495 export $ac_envvar ;; 1496 1497 *) 1498 # FIXME: should be removed in autoconf 3.0. 1499 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1500 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1501 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1502 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1503 ;; 1504 1505 esac 1506done 1507 1508if test -n "$ac_prev"; then 1509 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1510 as_fn_error $? "missing argument to $ac_option" 1511fi 1512 1513if test -n "$ac_unrecognized_opts"; then 1514 case $enable_option_checking in 1515 no) ;; 1516 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1517 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1518 esac 1519fi 1520 1521# Check all directory arguments for consistency. 1522for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1523 datadir sysconfdir sharedstatedir localstatedir includedir \ 1524 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1525 libdir localedir mandir 1526do 1527 eval ac_val=\$$ac_var 1528 # Remove trailing slashes. 1529 case $ac_val in 1530 */ ) 1531 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1532 eval $ac_var=\$ac_val;; 1533 esac 1534 # Be sure to have absolute directory names. 1535 case $ac_val in 1536 [\\/$]* | ?:[\\/]* ) continue;; 1537 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1538 esac 1539 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1540done 1541 1542# There might be people who depend on the old broken behavior: `$host' 1543# used to hold the argument of --host etc. 1544# FIXME: To remove some day. 1545build=$build_alias 1546host=$host_alias 1547target=$target_alias 1548 1549# FIXME: To remove some day. 1550if test "x$host_alias" != x; then 1551 if test "x$build_alias" = x; then 1552 cross_compiling=maybe 1553 elif test "x$build_alias" != "x$host_alias"; then 1554 cross_compiling=yes 1555 fi 1556fi 1557 1558ac_tool_prefix= 1559test -n "$host_alias" && ac_tool_prefix=$host_alias- 1560 1561test "$silent" = yes && exec 6>/dev/null 1562 1563 1564ac_pwd=`pwd` && test -n "$ac_pwd" && 1565ac_ls_di=`ls -di .` && 1566ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1567 as_fn_error $? "working directory cannot be determined" 1568test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1569 as_fn_error $? "pwd does not report name of working directory" 1570 1571 1572# Find the source files, if location was not specified. 1573if test -z "$srcdir"; then 1574 ac_srcdir_defaulted=yes 1575 # Try the directory containing this script, then the parent directory. 1576 ac_confdir=`$as_dirname -- "$as_myself" || 1577$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1578 X"$as_myself" : 'X\(//\)[^/]' \| \ 1579 X"$as_myself" : 'X\(//\)$' \| \ 1580 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1581$as_echo X"$as_myself" | 1582 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1583 s//\1/ 1584 q 1585 } 1586 /^X\(\/\/\)[^/].*/{ 1587 s//\1/ 1588 q 1589 } 1590 /^X\(\/\/\)$/{ 1591 s//\1/ 1592 q 1593 } 1594 /^X\(\/\).*/{ 1595 s//\1/ 1596 q 1597 } 1598 s/.*/./; q'` 1599 srcdir=$ac_confdir 1600 if test ! -r "$srcdir/$ac_unique_file"; then 1601 srcdir=.. 1602 fi 1603else 1604 ac_srcdir_defaulted=no 1605fi 1606if test ! -r "$srcdir/$ac_unique_file"; then 1607 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1608 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1609fi 1610ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1611ac_abs_confdir=`( 1612 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1613 pwd)` 1614# When building in place, set srcdir=. 1615if test "$ac_abs_confdir" = "$ac_pwd"; then 1616 srcdir=. 1617fi 1618# Remove unnecessary trailing slashes from srcdir. 1619# Double slashes in file names in object file debugging info 1620# mess up M-x gdb in Emacs. 1621case $srcdir in 1622*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1623esac 1624for ac_var in $ac_precious_vars; do 1625 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1626 eval ac_env_${ac_var}_value=\$${ac_var} 1627 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1628 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1629done 1630 1631# 1632# Report the --help message. 1633# 1634if test "$ac_init_help" = "long"; then 1635 # Omit some internal or obsolete options to make the list less imposing. 1636 # This message is too long to be a string in the A/UX 3.1 sh. 1637 cat <<_ACEOF 1638\`configure' configures libmsiecf 20210420 to adapt to many kinds of systems. 1639 1640Usage: $0 [OPTION]... [VAR=VALUE]... 1641 1642To assign environment variables (e.g., CC, CFLAGS...), specify them as 1643VAR=VALUE. See below for descriptions of some of the useful variables. 1644 1645Defaults for the options are specified in brackets. 1646 1647Configuration: 1648 -h, --help display this help and exit 1649 --help=short display options specific to this package 1650 --help=recursive display the short help of all the included packages 1651 -V, --version display version information and exit 1652 -q, --quiet, --silent do not print \`checking ...' messages 1653 --cache-file=FILE cache test results in FILE [disabled] 1654 -C, --config-cache alias for \`--cache-file=config.cache' 1655 -n, --no-create do not create output files 1656 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1657 1658Installation directories: 1659 --prefix=PREFIX install architecture-independent files in PREFIX 1660 [$ac_default_prefix] 1661 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1662 [PREFIX] 1663 1664By default, \`make install' will install all the files in 1665\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1666an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1667for instance \`--prefix=\$HOME'. 1668 1669For better control, use the options below. 1670 1671Fine tuning of the installation directories: 1672 --bindir=DIR user executables [EPREFIX/bin] 1673 --sbindir=DIR system admin executables [EPREFIX/sbin] 1674 --libexecdir=DIR program executables [EPREFIX/libexec] 1675 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1676 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1677 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1678 --libdir=DIR object code libraries [EPREFIX/lib] 1679 --includedir=DIR C header files [PREFIX/include] 1680 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1681 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1682 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1683 --infodir=DIR info documentation [DATAROOTDIR/info] 1684 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1685 --mandir=DIR man documentation [DATAROOTDIR/man] 1686 --docdir=DIR documentation root [DATAROOTDIR/doc/libmsiecf] 1687 --htmldir=DIR html documentation [DOCDIR] 1688 --dvidir=DIR dvi documentation [DOCDIR] 1689 --pdfdir=DIR pdf documentation [DOCDIR] 1690 --psdir=DIR ps documentation [DOCDIR] 1691_ACEOF 1692 1693 cat <<\_ACEOF 1694 1695Program names: 1696 --program-prefix=PREFIX prepend PREFIX to installed program names 1697 --program-suffix=SUFFIX append SUFFIX to installed program names 1698 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1699 1700System types: 1701 --build=BUILD configure for building on BUILD [guessed] 1702 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1703_ACEOF 1704fi 1705 1706if test -n "$ac_init_help"; then 1707 case $ac_init_help in 1708 short | recursive ) echo "Configuration of libmsiecf 20210420:";; 1709 esac 1710 cat <<\_ACEOF 1711 1712Optional Features: 1713 --disable-option-checking ignore unrecognized --enable/--with options 1714 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1715 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1716 --enable-silent-rules less verbose build output (undo: "make V=1") 1717 --disable-silent-rules verbose build output (undo: "make V=0") 1718 --enable-dependency-tracking 1719 do not reject slow dependency extractors 1720 --disable-dependency-tracking 1721 speeds up one-time build 1722 --enable-shared[=PKGS] build shared libraries [default=yes] 1723 --enable-static[=PKGS] build static libraries [default=yes] 1724 --enable-fast-install[=PKGS] 1725 optimize for fast installation [default=yes] 1726 --disable-libtool-lock avoid locking (might break parallel builds) 1727 --disable-nls do not use Native Language Support 1728 --disable-rpath do not hardcode runtime library paths 1729 --disable-largefile omit support for large files 1730 --disable-shared-libs disable shared library support 1731 --enable-static-executables 1732 build static executables (binaries) [default=no] 1733 --enable-winapi enable WINAPI support for cross-compilation 1734 [default=auto-detect] 1735 --enable-wide-character-type 1736 enable wide character type support [default=no] 1737 --enable-verbose-output enable verbose output [default=no] 1738 --enable-debug-output enable debug output [default=no] 1739 --enable-multi-threading-support 1740 enable multi-threading support [default=yes] 1741 --enable-python build Python bindings [default=no] 1742 --enable-python2 build Python 2 bindings [default=no] 1743 --enable-python3 build Python 3 bindings [default=no] 1744 1745Optional Packages: 1746 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1747 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1748 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use 1749 both] 1750 --with-aix-soname=aix|svr4|both 1751 shared library versioning (aka "SONAME") variant to 1752 provide on AIX, [default=aix]. 1753 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1754 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the 1755 compiler's sysroot if not specified). 1756 --with-gnu-ld assume the C compiler uses GNU ld default=no 1757 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib 1758 --without-libiconv-prefix don't search for libiconv in includedir and libdir 1759 --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib 1760 --without-libintl-prefix don't search for libintl in includedir and libdir 1761 --with-libcerror[=DIR] search for libcerror in includedir and libdir or in 1762 the specified DIR, or no if to use local version 1763 [default=auto-detect] 1764 --with-libcthreads[=DIR] 1765 search for libcthreads in includedir and libdir or 1766 in the specified DIR, or no if to use local version 1767 [default=auto-detect] 1768 --with-pthread[=DIR] search for pthread in includedir and libdir or in 1769 the specified DIR, or no if not to use pthread 1770 [default=auto-detect] 1771 --with-libcdata[=DIR] search for libcdata in includedir and libdir or in 1772 the specified DIR, or no if to use local version 1773 [default=auto-detect] 1774 --with-libclocale[=DIR] search for libclocale in includedir and libdir or in 1775 the specified DIR, or no if to use local version 1776 [default=auto-detect] 1777 --with-libcnotify[=DIR] search for libcnotify in includedir and libdir or in 1778 the specified DIR, or no if to use local version 1779 [default=auto-detect] 1780 --with-libcsplit[=DIR] search for libcsplit in includedir and libdir or in 1781 the specified DIR, or no if to use local version 1782 [default=auto-detect] 1783 --with-libuna[=DIR] search for libuna in includedir and libdir or in the 1784 specified DIR, or no if to use local version 1785 [default=auto-detect] 1786 --with-libcfile[=DIR] search for libcfile in includedir and libdir or in 1787 the specified DIR, or no if to use local version 1788 [default=auto-detect] 1789 --with-libcpath[=DIR] search for libcpath in includedir and libdir or in 1790 the specified DIR, or no if to use local version 1791 [default=auto-detect] 1792 --with-libbfio[=DIR] search for libbfio in includedir and libdir or in 1793 the specified DIR, or no if to use local version 1794 [default=auto-detect] 1795 --with-libfdatetime[=DIR] 1796 search for libfdatetime in includedir and libdir or 1797 in the specified DIR, or no if to use local version 1798 [default=auto-detect] 1799 --with-libfguid[=DIR] search for libfguid in includedir and libdir or in 1800 the specified DIR, or no if to use local version 1801 [default=auto-detect] 1802 --with-libfole[=DIR] search for libfole in includedir and libdir or in 1803 the specified DIR, or no if to use local version 1804 [default=auto-detect] 1805 --with-libfvalue[=DIR] search for libfvalue in includedir and libdir or in 1806 the specified DIR, or no if to use local version 1807 [default=auto-detect] 1808 --with-pyprefix[=no] use `python-config --prefix' to determine the prefix 1809 of pythondir instead of --prefix [default=no] 1810 --with-pythondir[=no] use to specify the Python directory (pythondir) 1811 [default=no] 1812 --with-pythondir2[=no] use to specify the Python 2 directory (pythondir2) 1813 [default=no] 1814 --with-pythondir3[=no] use to specify the Python 3 directory (pythondir3) 1815 [default=no] 1816 1817Some influential environment variables: 1818 CC C compiler command 1819 CFLAGS C compiler flags 1820 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1821 nonstandard directory <lib dir> 1822 LIBS libraries to pass to the linker, e.g. -l<library> 1823 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1824 you have headers in a nonstandard directory <include dir> 1825 CPP C preprocessor 1826 CXX C++ compiler command 1827 CXXFLAGS C++ compiler flags 1828 LT_SYS_LIBRARY_PATH 1829 User-defined run-time library search path. 1830 CXXCPP C++ preprocessor 1831 PKG_CONFIG path to pkg-config utility 1832 PKG_CONFIG_PATH 1833 directories to add to pkg-config's search path 1834 PKG_CONFIG_LIBDIR 1835 path overriding pkg-config's built-in search path 1836 libcerror_CFLAGS 1837 C compiler flags for libcerror, overriding pkg-config 1838 libcerror_LIBS 1839 linker flags for libcerror, overriding pkg-config 1840 libcthreads_CFLAGS 1841 C compiler flags for libcthreads, overriding pkg-config 1842 libcthreads_LIBS 1843 linker flags for libcthreads, overriding pkg-config 1844 libcdata_CFLAGS 1845 C compiler flags for libcdata, overriding pkg-config 1846 libcdata_LIBS 1847 linker flags for libcdata, overriding pkg-config 1848 libclocale_CFLAGS 1849 C compiler flags for libclocale, overriding pkg-config 1850 libclocale_LIBS 1851 linker flags for libclocale, overriding pkg-config 1852 libcnotify_CFLAGS 1853 C compiler flags for libcnotify, overriding pkg-config 1854 libcnotify_LIBS 1855 linker flags for libcnotify, overriding pkg-config 1856 libcsplit_CFLAGS 1857 C compiler flags for libcsplit, overriding pkg-config 1858 libcsplit_LIBS 1859 linker flags for libcsplit, overriding pkg-config 1860 libuna_CFLAGS 1861 C compiler flags for libuna, overriding pkg-config 1862 libuna_LIBS linker flags for libuna, overriding pkg-config 1863 libcfile_CFLAGS 1864 C compiler flags for libcfile, overriding pkg-config 1865 libcfile_LIBS 1866 linker flags for libcfile, overriding pkg-config 1867 libcpath_CFLAGS 1868 C compiler flags for libcpath, overriding pkg-config 1869 libcpath_LIBS 1870 linker flags for libcpath, overriding pkg-config 1871 libbfio_CFLAGS 1872 C compiler flags for libbfio, overriding pkg-config 1873 libbfio_LIBS 1874 linker flags for libbfio, overriding pkg-config 1875 libfdatetime_CFLAGS 1876 C compiler flags for libfdatetime, overriding pkg-config 1877 libfdatetime_LIBS 1878 linker flags for libfdatetime, overriding pkg-config 1879 libfguid_CFLAGS 1880 C compiler flags for libfguid, overriding pkg-config 1881 libfguid_LIBS 1882 linker flags for libfguid, overriding pkg-config 1883 libfole_CFLAGS 1884 C compiler flags for libfole, overriding pkg-config 1885 libfole_LIBS 1886 linker flags for libfole, overriding pkg-config 1887 libfvalue_CFLAGS 1888 C compiler flags for libfvalue, overriding pkg-config 1889 libfvalue_LIBS 1890 linker flags for libfvalue, overriding pkg-config 1891 1892Use these variables to override the choices made by `configure' or to help 1893it to find libraries and programs with nonstandard names/locations. 1894 1895Report bugs to <joachim.metz@gmail.com>. 1896_ACEOF 1897ac_status=$? 1898fi 1899 1900if test "$ac_init_help" = "recursive"; then 1901 # If there are subdirs, report their specific --help. 1902 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1903 test -d "$ac_dir" || 1904 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1905 continue 1906 ac_builddir=. 1907 1908case "$ac_dir" in 1909.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1910*) 1911 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1912 # A ".." for each directory in $ac_dir_suffix. 1913 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1914 case $ac_top_builddir_sub in 1915 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1916 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1917 esac ;; 1918esac 1919ac_abs_top_builddir=$ac_pwd 1920ac_abs_builddir=$ac_pwd$ac_dir_suffix 1921# for backward compatibility: 1922ac_top_builddir=$ac_top_build_prefix 1923 1924case $srcdir in 1925 .) # We are building in place. 1926 ac_srcdir=. 1927 ac_top_srcdir=$ac_top_builddir_sub 1928 ac_abs_top_srcdir=$ac_pwd ;; 1929 [\\/]* | ?:[\\/]* ) # Absolute name. 1930 ac_srcdir=$srcdir$ac_dir_suffix; 1931 ac_top_srcdir=$srcdir 1932 ac_abs_top_srcdir=$srcdir ;; 1933 *) # Relative name. 1934 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1935 ac_top_srcdir=$ac_top_build_prefix$srcdir 1936 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1937esac 1938ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1939 1940 cd "$ac_dir" || { ac_status=$?; continue; } 1941 # Check for guested configure. 1942 if test -f "$ac_srcdir/configure.gnu"; then 1943 echo && 1944 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1945 elif test -f "$ac_srcdir/configure"; then 1946 echo && 1947 $SHELL "$ac_srcdir/configure" --help=recursive 1948 else 1949 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1950 fi || ac_status=$? 1951 cd "$ac_pwd" || { ac_status=$?; break; } 1952 done 1953fi 1954 1955test -n "$ac_init_help" && exit $ac_status 1956if $ac_init_version; then 1957 cat <<\_ACEOF 1958libmsiecf configure 20210420 1959generated by GNU Autoconf 2.69 1960 1961Copyright (C) 2012 Free Software Foundation, Inc. 1962This configure script is free software; the Free Software Foundation 1963gives unlimited permission to copy, distribute and modify it. 1964_ACEOF 1965 exit 1966fi 1967 1968## ------------------------ ## 1969## Autoconf initialization. ## 1970## ------------------------ ## 1971 1972# ac_fn_c_try_compile LINENO 1973# -------------------------- 1974# Try to compile conftest.$ac_ext, and return whether this succeeded. 1975ac_fn_c_try_compile () 1976{ 1977 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1978 rm -f conftest.$ac_objext 1979 if { { ac_try="$ac_compile" 1980case "(($ac_try" in 1981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1982 *) ac_try_echo=$ac_try;; 1983esac 1984eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1985$as_echo "$ac_try_echo"; } >&5 1986 (eval "$ac_compile") 2>conftest.err 1987 ac_status=$? 1988 if test -s conftest.err; then 1989 grep -v '^ *+' conftest.err >conftest.er1 1990 cat conftest.er1 >&5 1991 mv -f conftest.er1 conftest.err 1992 fi 1993 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1994 test $ac_status = 0; } && { 1995 test -z "$ac_c_werror_flag" || 1996 test ! -s conftest.err 1997 } && test -s conftest.$ac_objext; then : 1998 ac_retval=0 1999else 2000 $as_echo "$as_me: failed program was:" >&5 2001sed 's/^/| /' conftest.$ac_ext >&5 2002 2003 ac_retval=1 2004fi 2005 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2006 as_fn_set_status $ac_retval 2007 2008} # ac_fn_c_try_compile 2009 2010# ac_fn_c_try_cpp LINENO 2011# ---------------------- 2012# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 2013ac_fn_c_try_cpp () 2014{ 2015 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2016 if { { ac_try="$ac_cpp conftest.$ac_ext" 2017case "(($ac_try" in 2018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2019 *) ac_try_echo=$ac_try;; 2020esac 2021eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2022$as_echo "$ac_try_echo"; } >&5 2023 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 2024 ac_status=$? 2025 if test -s conftest.err; then 2026 grep -v '^ *+' conftest.err >conftest.er1 2027 cat conftest.er1 >&5 2028 mv -f conftest.er1 conftest.err 2029 fi 2030 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2031 test $ac_status = 0; } > conftest.i && { 2032 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 2033 test ! -s conftest.err 2034 }; then : 2035 ac_retval=0 2036else 2037 $as_echo "$as_me: failed program was:" >&5 2038sed 's/^/| /' conftest.$ac_ext >&5 2039 2040 ac_retval=1 2041fi 2042 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2043 as_fn_set_status $ac_retval 2044 2045} # ac_fn_c_try_cpp 2046 2047# ac_fn_cxx_try_compile LINENO 2048# ---------------------------- 2049# Try to compile conftest.$ac_ext, and return whether this succeeded. 2050ac_fn_cxx_try_compile () 2051{ 2052 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2053 rm -f conftest.$ac_objext 2054 if { { ac_try="$ac_compile" 2055case "(($ac_try" in 2056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2057 *) ac_try_echo=$ac_try;; 2058esac 2059eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2060$as_echo "$ac_try_echo"; } >&5 2061 (eval "$ac_compile") 2>conftest.err 2062 ac_status=$? 2063 if test -s conftest.err; then 2064 grep -v '^ *+' conftest.err >conftest.er1 2065 cat conftest.er1 >&5 2066 mv -f conftest.er1 conftest.err 2067 fi 2068 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2069 test $ac_status = 0; } && { 2070 test -z "$ac_cxx_werror_flag" || 2071 test ! -s conftest.err 2072 } && test -s conftest.$ac_objext; then : 2073 ac_retval=0 2074else 2075 $as_echo "$as_me: failed program was:" >&5 2076sed 's/^/| /' conftest.$ac_ext >&5 2077 2078 ac_retval=1 2079fi 2080 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2081 as_fn_set_status $ac_retval 2082 2083} # ac_fn_cxx_try_compile 2084 2085# ac_fn_c_try_link LINENO 2086# ----------------------- 2087# Try to link conftest.$ac_ext, and return whether this succeeded. 2088ac_fn_c_try_link () 2089{ 2090 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2091 rm -f conftest.$ac_objext conftest$ac_exeext 2092 if { { ac_try="$ac_link" 2093case "(($ac_try" in 2094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2095 *) ac_try_echo=$ac_try;; 2096esac 2097eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2098$as_echo "$ac_try_echo"; } >&5 2099 (eval "$ac_link") 2>conftest.err 2100 ac_status=$? 2101 if test -s conftest.err; then 2102 grep -v '^ *+' conftest.err >conftest.er1 2103 cat conftest.er1 >&5 2104 mv -f conftest.er1 conftest.err 2105 fi 2106 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2107 test $ac_status = 0; } && { 2108 test -z "$ac_c_werror_flag" || 2109 test ! -s conftest.err 2110 } && test -s conftest$ac_exeext && { 2111 test "$cross_compiling" = yes || 2112 test -x conftest$ac_exeext 2113 }; then : 2114 ac_retval=0 2115else 2116 $as_echo "$as_me: failed program was:" >&5 2117sed 's/^/| /' conftest.$ac_ext >&5 2118 2119 ac_retval=1 2120fi 2121 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 2122 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 2123 # interfere with the next link command; also delete a directory that is 2124 # left behind by Apple's compiler. We do this before executing the actions. 2125 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2126 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2127 as_fn_set_status $ac_retval 2128 2129} # ac_fn_c_try_link 2130 2131# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 2132# ------------------------------------------------------- 2133# Tests whether HEADER exists and can be compiled using the include files in 2134# INCLUDES, setting the cache variable VAR accordingly. 2135ac_fn_c_check_header_compile () 2136{ 2137 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2139$as_echo_n "checking for $2... " >&6; } 2140if eval \${$3+:} false; then : 2141 $as_echo_n "(cached) " >&6 2142else 2143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2144/* end confdefs.h. */ 2145$4 2146#include <$2> 2147_ACEOF 2148if ac_fn_c_try_compile "$LINENO"; then : 2149 eval "$3=yes" 2150else 2151 eval "$3=no" 2152fi 2153rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2154fi 2155eval ac_res=\$$3 2156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2157$as_echo "$ac_res" >&6; } 2158 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2159 2160} # ac_fn_c_check_header_compile 2161 2162# ac_fn_c_try_run LINENO 2163# ---------------------- 2164# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 2165# that executables *can* be run. 2166ac_fn_c_try_run () 2167{ 2168 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2169 if { { ac_try="$ac_link" 2170case "(($ac_try" in 2171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2172 *) ac_try_echo=$ac_try;; 2173esac 2174eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2175$as_echo "$ac_try_echo"; } >&5 2176 (eval "$ac_link") 2>&5 2177 ac_status=$? 2178 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2179 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 2180 { { case "(($ac_try" in 2181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2182 *) ac_try_echo=$ac_try;; 2183esac 2184eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2185$as_echo "$ac_try_echo"; } >&5 2186 (eval "$ac_try") 2>&5 2187 ac_status=$? 2188 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2189 test $ac_status = 0; }; }; then : 2190 ac_retval=0 2191else 2192 $as_echo "$as_me: program exited with status $ac_status" >&5 2193 $as_echo "$as_me: failed program was:" >&5 2194sed 's/^/| /' conftest.$ac_ext >&5 2195 2196 ac_retval=$ac_status 2197fi 2198 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2199 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2200 as_fn_set_status $ac_retval 2201 2202} # ac_fn_c_try_run 2203 2204# ac_fn_c_check_func LINENO FUNC VAR 2205# ---------------------------------- 2206# Tests whether FUNC exists, setting the cache variable VAR accordingly 2207ac_fn_c_check_func () 2208{ 2209 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2211$as_echo_n "checking for $2... " >&6; } 2212if eval \${$3+:} false; then : 2213 $as_echo_n "(cached) " >&6 2214else 2215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2216/* end confdefs.h. */ 2217/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 2218 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 2219#define $2 innocuous_$2 2220 2221/* System header to define __stub macros and hopefully few prototypes, 2222 which can conflict with char $2 (); below. 2223 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 2224 <limits.h> exists even on freestanding compilers. */ 2225 2226#ifdef __STDC__ 2227# include <limits.h> 2228#else 2229# include <assert.h> 2230#endif 2231 2232#undef $2 2233 2234/* Override any GCC internal prototype to avoid an error. 2235 Use char because int might match the return type of a GCC 2236 builtin and then its argument prototype would still apply. */ 2237#ifdef __cplusplus 2238extern "C" 2239#endif 2240char $2 (); 2241/* The GNU C library defines this for functions which it implements 2242 to always fail with ENOSYS. Some functions are actually named 2243 something starting with __ and the normal name is an alias. */ 2244#if defined __stub_$2 || defined __stub___$2 2245choke me 2246#endif 2247 2248int 2249main () 2250{ 2251return $2 (); 2252 ; 2253 return 0; 2254} 2255_ACEOF 2256if ac_fn_c_try_link "$LINENO"; then : 2257 eval "$3=yes" 2258else 2259 eval "$3=no" 2260fi 2261rm -f core conftest.err conftest.$ac_objext \ 2262 conftest$ac_exeext conftest.$ac_ext 2263fi 2264eval ac_res=\$$3 2265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2266$as_echo "$ac_res" >&6; } 2267 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2268 2269} # ac_fn_c_check_func 2270 2271# ac_fn_cxx_try_cpp LINENO 2272# ------------------------ 2273# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 2274ac_fn_cxx_try_cpp () 2275{ 2276 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2277 if { { ac_try="$ac_cpp conftest.$ac_ext" 2278case "(($ac_try" in 2279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2280 *) ac_try_echo=$ac_try;; 2281esac 2282eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2283$as_echo "$ac_try_echo"; } >&5 2284 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 2285 ac_status=$? 2286 if test -s conftest.err; then 2287 grep -v '^ *+' conftest.err >conftest.er1 2288 cat conftest.er1 >&5 2289 mv -f conftest.er1 conftest.err 2290 fi 2291 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2292 test $ac_status = 0; } > conftest.i && { 2293 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 2294 test ! -s conftest.err 2295 }; then : 2296 ac_retval=0 2297else 2298 $as_echo "$as_me: failed program was:" >&5 2299sed 's/^/| /' conftest.$ac_ext >&5 2300 2301 ac_retval=1 2302fi 2303 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2304 as_fn_set_status $ac_retval 2305 2306} # ac_fn_cxx_try_cpp 2307 2308# ac_fn_cxx_try_link LINENO 2309# ------------------------- 2310# Try to link conftest.$ac_ext, and return whether this succeeded. 2311ac_fn_cxx_try_link () 2312{ 2313 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2314 rm -f conftest.$ac_objext conftest$ac_exeext 2315 if { { ac_try="$ac_link" 2316case "(($ac_try" in 2317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2318 *) ac_try_echo=$ac_try;; 2319esac 2320eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2321$as_echo "$ac_try_echo"; } >&5 2322 (eval "$ac_link") 2>conftest.err 2323 ac_status=$? 2324 if test -s conftest.err; then 2325 grep -v '^ *+' conftest.err >conftest.er1 2326 cat conftest.er1 >&5 2327 mv -f conftest.er1 conftest.err 2328 fi 2329 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2330 test $ac_status = 0; } && { 2331 test -z "$ac_cxx_werror_flag" || 2332 test ! -s conftest.err 2333 } && test -s conftest$ac_exeext && { 2334 test "$cross_compiling" = yes || 2335 test -x conftest$ac_exeext 2336 }; then : 2337 ac_retval=0 2338else 2339 $as_echo "$as_me: failed program was:" >&5 2340sed 's/^/| /' conftest.$ac_ext >&5 2341 2342 ac_retval=1 2343fi 2344 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 2345 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 2346 # interfere with the next link command; also delete a directory that is 2347 # left behind by Apple's compiler. We do this before executing the actions. 2348 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 2349 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2350 as_fn_set_status $ac_retval 2351 2352} # ac_fn_cxx_try_link 2353 2354# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 2355# ------------------------------------------------------- 2356# Tests whether HEADER exists, giving a warning if it cannot be compiled using 2357# the include files in INCLUDES and setting the cache variable VAR 2358# accordingly. 2359ac_fn_c_check_header_mongrel () 2360{ 2361 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2362 if eval \${$3+:} false; then : 2363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2364$as_echo_n "checking for $2... " >&6; } 2365if eval \${$3+:} false; then : 2366 $as_echo_n "(cached) " >&6 2367fi 2368eval ac_res=\$$3 2369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2370$as_echo "$ac_res" >&6; } 2371else 2372 # Is the header compilable? 2373{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 2374$as_echo_n "checking $2 usability... " >&6; } 2375cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2376/* end confdefs.h. */ 2377$4 2378#include <$2> 2379_ACEOF 2380if ac_fn_c_try_compile "$LINENO"; then : 2381 ac_header_compiler=yes 2382else 2383 ac_header_compiler=no 2384fi 2385rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2386{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 2387$as_echo "$ac_header_compiler" >&6; } 2388 2389# Is the header present? 2390{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 2391$as_echo_n "checking $2 presence... " >&6; } 2392cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2393/* end confdefs.h. */ 2394#include <$2> 2395_ACEOF 2396if ac_fn_c_try_cpp "$LINENO"; then : 2397 ac_header_preproc=yes 2398else 2399 ac_header_preproc=no 2400fi 2401rm -f conftest.err conftest.i conftest.$ac_ext 2402{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 2403$as_echo "$ac_header_preproc" >&6; } 2404 2405# So? What about this header? 2406case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 2407 yes:no: ) 2408 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 2409$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 2410 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2411$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2412 ;; 2413 no:yes:* ) 2414 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 2415$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 2416 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 2417$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 2418 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 2419$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 2420 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 2421$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 2422 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 2423$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 2424( $as_echo "## ------------------------------------- ## 2425## Report this to joachim.metz@gmail.com ## 2426## ------------------------------------- ##" 2427 ) | sed "s/^/$as_me: WARNING: /" >&2 2428 ;; 2429esac 2430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2431$as_echo_n "checking for $2... " >&6; } 2432if eval \${$3+:} false; then : 2433 $as_echo_n "(cached) " >&6 2434else 2435 eval "$3=\$ac_header_compiler" 2436fi 2437eval ac_res=\$$3 2438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2439$as_echo "$ac_res" >&6; } 2440fi 2441 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2442 2443} # ac_fn_c_check_header_mongrel 2444 2445# ac_fn_c_check_type LINENO TYPE VAR INCLUDES 2446# ------------------------------------------- 2447# Tests whether TYPE exists after having included INCLUDES, setting cache 2448# variable VAR accordingly. 2449ac_fn_c_check_type () 2450{ 2451 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2453$as_echo_n "checking for $2... " >&6; } 2454if eval \${$3+:} false; then : 2455 $as_echo_n "(cached) " >&6 2456else 2457 eval "$3=no" 2458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2459/* end confdefs.h. */ 2460$4 2461int 2462main () 2463{ 2464if (sizeof ($2)) 2465 return 0; 2466 ; 2467 return 0; 2468} 2469_ACEOF 2470if ac_fn_c_try_compile "$LINENO"; then : 2471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2472/* end confdefs.h. */ 2473$4 2474int 2475main () 2476{ 2477if (sizeof (($2))) 2478 return 0; 2479 ; 2480 return 0; 2481} 2482_ACEOF 2483if ac_fn_c_try_compile "$LINENO"; then : 2484 2485else 2486 eval "$3=yes" 2487fi 2488rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2489fi 2490rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2491fi 2492eval ac_res=\$$3 2493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2494$as_echo "$ac_res" >&6; } 2495 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2496 2497} # ac_fn_c_check_type 2498 2499# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES 2500# -------------------------------------------- 2501# Tries to find the compile-time value of EXPR in a program that includes 2502# INCLUDES, setting VAR accordingly. Returns whether the value could be 2503# computed 2504ac_fn_c_compute_int () 2505{ 2506 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2507 if test "$cross_compiling" = yes; then 2508 # Depending upon the size, compute the lo and hi bounds. 2509cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2510/* end confdefs.h. */ 2511$4 2512int 2513main () 2514{ 2515static int test_array [1 - 2 * !(($2) >= 0)]; 2516test_array [0] = 0; 2517return test_array [0]; 2518 2519 ; 2520 return 0; 2521} 2522_ACEOF 2523if ac_fn_c_try_compile "$LINENO"; then : 2524 ac_lo=0 ac_mid=0 2525 while :; do 2526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2527/* end confdefs.h. */ 2528$4 2529int 2530main () 2531{ 2532static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 2533test_array [0] = 0; 2534return test_array [0]; 2535 2536 ; 2537 return 0; 2538} 2539_ACEOF 2540if ac_fn_c_try_compile "$LINENO"; then : 2541 ac_hi=$ac_mid; break 2542else 2543 as_fn_arith $ac_mid + 1 && ac_lo=$as_val 2544 if test $ac_lo -le $ac_mid; then 2545 ac_lo= ac_hi= 2546 break 2547 fi 2548 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val 2549fi 2550rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2551 done 2552else 2553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2554/* end confdefs.h. */ 2555$4 2556int 2557main () 2558{ 2559static int test_array [1 - 2 * !(($2) < 0)]; 2560test_array [0] = 0; 2561return test_array [0]; 2562 2563 ; 2564 return 0; 2565} 2566_ACEOF 2567if ac_fn_c_try_compile "$LINENO"; then : 2568 ac_hi=-1 ac_mid=-1 2569 while :; do 2570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2571/* end confdefs.h. */ 2572$4 2573int 2574main () 2575{ 2576static int test_array [1 - 2 * !(($2) >= $ac_mid)]; 2577test_array [0] = 0; 2578return test_array [0]; 2579 2580 ; 2581 return 0; 2582} 2583_ACEOF 2584if ac_fn_c_try_compile "$LINENO"; then : 2585 ac_lo=$ac_mid; break 2586else 2587 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val 2588 if test $ac_mid -le $ac_hi; then 2589 ac_lo= ac_hi= 2590 break 2591 fi 2592 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val 2593fi 2594rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2595 done 2596else 2597 ac_lo= ac_hi= 2598fi 2599rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2600fi 2601rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2602# Binary search between lo and hi bounds. 2603while test "x$ac_lo" != "x$ac_hi"; do 2604 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val 2605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2606/* end confdefs.h. */ 2607$4 2608int 2609main () 2610{ 2611static int test_array [1 - 2 * !(($2) <= $ac_mid)]; 2612test_array [0] = 0; 2613return test_array [0]; 2614 2615 ; 2616 return 0; 2617} 2618_ACEOF 2619if ac_fn_c_try_compile "$LINENO"; then : 2620 ac_hi=$ac_mid 2621else 2622 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val 2623fi 2624rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2625done 2626case $ac_lo in #(( 2627?*) eval "$3=\$ac_lo"; ac_retval=0 ;; 2628'') ac_retval=1 ;; 2629esac 2630 else 2631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2632/* end confdefs.h. */ 2633$4 2634static long int longval () { return $2; } 2635static unsigned long int ulongval () { return $2; } 2636#include <stdio.h> 2637#include <stdlib.h> 2638int 2639main () 2640{ 2641 2642 FILE *f = fopen ("conftest.val", "w"); 2643 if (! f) 2644 return 1; 2645 if (($2) < 0) 2646 { 2647 long int i = longval (); 2648 if (i != ($2)) 2649 return 1; 2650 fprintf (f, "%ld", i); 2651 } 2652 else 2653 { 2654 unsigned long int i = ulongval (); 2655 if (i != ($2)) 2656 return 1; 2657 fprintf (f, "%lu", i); 2658 } 2659 /* Do not output a trailing newline, as this causes \r\n confusion 2660 on some platforms. */ 2661 return ferror (f) || fclose (f) != 0; 2662 2663 ; 2664 return 0; 2665} 2666_ACEOF 2667if ac_fn_c_try_run "$LINENO"; then : 2668 echo >>conftest.val; read $3 <conftest.val; ac_retval=0 2669else 2670 ac_retval=1 2671fi 2672rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 2673 conftest.$ac_objext conftest.beam conftest.$ac_ext 2674rm -f conftest.val 2675 2676 fi 2677 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2678 as_fn_set_status $ac_retval 2679 2680} # ac_fn_c_compute_int 2681 2682# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES 2683# --------------------------------------------- 2684# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR 2685# accordingly. 2686ac_fn_c_check_decl () 2687{ 2688 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2689 as_decl_name=`echo $2|sed 's/ *(.*//'` 2690 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` 2691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 2692$as_echo_n "checking whether $as_decl_name is declared... " >&6; } 2693if eval \${$3+:} false; then : 2694 $as_echo_n "(cached) " >&6 2695else 2696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2697/* end confdefs.h. */ 2698$4 2699int 2700main () 2701{ 2702#ifndef $as_decl_name 2703#ifdef __cplusplus 2704 (void) $as_decl_use; 2705#else 2706 (void) $as_decl_name; 2707#endif 2708#endif 2709 2710 ; 2711 return 0; 2712} 2713_ACEOF 2714if ac_fn_c_try_compile "$LINENO"; then : 2715 eval "$3=yes" 2716else 2717 eval "$3=no" 2718fi 2719rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2720fi 2721eval ac_res=\$$3 2722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2723$as_echo "$ac_res" >&6; } 2724 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2725 2726} # ac_fn_c_check_decl 2727cat >config.log <<_ACEOF 2728This file contains any messages produced by compilers while 2729running configure, to aid debugging if configure makes a mistake. 2730 2731It was created by libmsiecf $as_me 20210420, which was 2732generated by GNU Autoconf 2.69. Invocation command line was 2733 2734 $ $0 $@ 2735 2736_ACEOF 2737exec 5>>config.log 2738{ 2739cat <<_ASUNAME 2740## --------- ## 2741## Platform. ## 2742## --------- ## 2743 2744hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 2745uname -m = `(uname -m) 2>/dev/null || echo unknown` 2746uname -r = `(uname -r) 2>/dev/null || echo unknown` 2747uname -s = `(uname -s) 2>/dev/null || echo unknown` 2748uname -v = `(uname -v) 2>/dev/null || echo unknown` 2749 2750/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 2751/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 2752 2753/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 2754/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 2755/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 2756/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 2757/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 2758/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 2759/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 2760 2761_ASUNAME 2762 2763as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2764for as_dir in $PATH 2765do 2766 IFS=$as_save_IFS 2767 test -z "$as_dir" && as_dir=. 2768 $as_echo "PATH: $as_dir" 2769 done 2770IFS=$as_save_IFS 2771 2772} >&5 2773 2774cat >&5 <<_ACEOF 2775 2776 2777## ----------- ## 2778## Core tests. ## 2779## ----------- ## 2780 2781_ACEOF 2782 2783 2784# Keep a trace of the command line. 2785# Strip out --no-create and --no-recursion so they do not pile up. 2786# Strip out --silent because we don't want to record it for future runs. 2787# Also quote any args containing shell meta-characters. 2788# Make two passes to allow for proper duplicate-argument suppression. 2789ac_configure_args= 2790ac_configure_args0= 2791ac_configure_args1= 2792ac_must_keep_next=false 2793for ac_pass in 1 2 2794do 2795 for ac_arg 2796 do 2797 case $ac_arg in 2798 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2799 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2800 | -silent | --silent | --silen | --sile | --sil) 2801 continue ;; 2802 *\'*) 2803 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2804 esac 2805 case $ac_pass in 2806 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2807 2) 2808 as_fn_append ac_configure_args1 " '$ac_arg'" 2809 if test $ac_must_keep_next = true; then 2810 ac_must_keep_next=false # Got value, back to normal. 2811 else 2812 case $ac_arg in 2813 *=* | --config-cache | -C | -disable-* | --disable-* \ 2814 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2815 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2816 | -with-* | --with-* | -without-* | --without-* | --x) 2817 case "$ac_configure_args0 " in 2818 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2819 esac 2820 ;; 2821 -* ) ac_must_keep_next=true ;; 2822 esac 2823 fi 2824 as_fn_append ac_configure_args " '$ac_arg'" 2825 ;; 2826 esac 2827 done 2828done 2829{ ac_configure_args0=; unset ac_configure_args0;} 2830{ ac_configure_args1=; unset ac_configure_args1;} 2831 2832# When interrupted or exit'd, cleanup temporary files, and complete 2833# config.log. We remove comments because anyway the quotes in there 2834# would cause problems or look ugly. 2835# WARNING: Use '\'' to represent an apostrophe within the trap. 2836# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2837trap 'exit_status=$? 2838 # Save into config.log some information that might help in debugging. 2839 { 2840 echo 2841 2842 $as_echo "## ---------------- ## 2843## Cache variables. ## 2844## ---------------- ##" 2845 echo 2846 # The following way of writing the cache mishandles newlines in values, 2847( 2848 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2849 eval ac_val=\$$ac_var 2850 case $ac_val in #( 2851 *${as_nl}*) 2852 case $ac_var in #( 2853 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2854$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2855 esac 2856 case $ac_var in #( 2857 _ | IFS | as_nl) ;; #( 2858 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2859 *) { eval $ac_var=; unset $ac_var;} ;; 2860 esac ;; 2861 esac 2862 done 2863 (set) 2>&1 | 2864 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2865 *${as_nl}ac_space=\ *) 2866 sed -n \ 2867 "s/'\''/'\''\\\\'\'''\''/g; 2868 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2869 ;; #( 2870 *) 2871 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2872 ;; 2873 esac | 2874 sort 2875) 2876 echo 2877 2878 $as_echo "## ----------------- ## 2879## Output variables. ## 2880## ----------------- ##" 2881 echo 2882 for ac_var in $ac_subst_vars 2883 do 2884 eval ac_val=\$$ac_var 2885 case $ac_val in 2886 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2887 esac 2888 $as_echo "$ac_var='\''$ac_val'\''" 2889 done | sort 2890 echo 2891 2892 if test -n "$ac_subst_files"; then 2893 $as_echo "## ------------------- ## 2894## File substitutions. ## 2895## ------------------- ##" 2896 echo 2897 for ac_var in $ac_subst_files 2898 do 2899 eval ac_val=\$$ac_var 2900 case $ac_val in 2901 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2902 esac 2903 $as_echo "$ac_var='\''$ac_val'\''" 2904 done | sort 2905 echo 2906 fi 2907 2908 if test -s confdefs.h; then 2909 $as_echo "## ----------- ## 2910## confdefs.h. ## 2911## ----------- ##" 2912 echo 2913 cat confdefs.h 2914 echo 2915 fi 2916 test "$ac_signal" != 0 && 2917 $as_echo "$as_me: caught signal $ac_signal" 2918 $as_echo "$as_me: exit $exit_status" 2919 } >&5 2920 rm -f core *.core core.conftest.* && 2921 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2922 exit $exit_status 2923' 0 2924for ac_signal in 1 2 13 15; do 2925 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2926done 2927ac_signal=0 2928 2929# confdefs.h avoids OS command line length limits that DEFS can exceed. 2930rm -f -r conftest* confdefs.h 2931 2932$as_echo "/* confdefs.h */" > confdefs.h 2933 2934# Predefined preprocessor variables. 2935 2936cat >>confdefs.h <<_ACEOF 2937#define PACKAGE_NAME "$PACKAGE_NAME" 2938_ACEOF 2939 2940cat >>confdefs.h <<_ACEOF 2941#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2942_ACEOF 2943 2944cat >>confdefs.h <<_ACEOF 2945#define PACKAGE_VERSION "$PACKAGE_VERSION" 2946_ACEOF 2947 2948cat >>confdefs.h <<_ACEOF 2949#define PACKAGE_STRING "$PACKAGE_STRING" 2950_ACEOF 2951 2952cat >>confdefs.h <<_ACEOF 2953#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2954_ACEOF 2955 2956cat >>confdefs.h <<_ACEOF 2957#define PACKAGE_URL "$PACKAGE_URL" 2958_ACEOF 2959 2960 2961# Let the site file select an alternate cache file if it wants to. 2962# Prefer an explicitly selected file to automatically selected ones. 2963ac_site_file1=NONE 2964ac_site_file2=NONE 2965if test -n "$CONFIG_SITE"; then 2966 # We do not want a PATH search for config.site. 2967 case $CONFIG_SITE in #(( 2968 -*) ac_site_file1=./$CONFIG_SITE;; 2969 */*) ac_site_file1=$CONFIG_SITE;; 2970 *) ac_site_file1=./$CONFIG_SITE;; 2971 esac 2972elif test "x$prefix" != xNONE; then 2973 ac_site_file1=$prefix/share/config.site 2974 ac_site_file2=$prefix/etc/config.site 2975else 2976 ac_site_file1=$ac_default_prefix/share/config.site 2977 ac_site_file2=$ac_default_prefix/etc/config.site 2978fi 2979for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2980do 2981 test "x$ac_site_file" = xNONE && continue 2982 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2983 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2984$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2985 sed 's/^/| /' "$ac_site_file" >&5 2986 . "$ac_site_file" \ 2987 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2988$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2989as_fn_error $? "failed to load site script $ac_site_file 2990See \`config.log' for more details" "$LINENO" 5; } 2991 fi 2992done 2993 2994if test -r "$cache_file"; then 2995 # Some versions of bash will fail to source /dev/null (special files 2996 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2997 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2998 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2999$as_echo "$as_me: loading cache $cache_file" >&6;} 3000 case $cache_file in 3001 [\\/]* | ?:[\\/]* ) . "$cache_file";; 3002 *) . "./$cache_file";; 3003 esac 3004 fi 3005else 3006 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 3007$as_echo "$as_me: creating cache $cache_file" >&6;} 3008 >$cache_file 3009fi 3010 3011gt_needs="$gt_needs " 3012# Check that the precious variables saved in the cache have kept the same 3013# value. 3014ac_cache_corrupted=false 3015for ac_var in $ac_precious_vars; do 3016 eval ac_old_set=\$ac_cv_env_${ac_var}_set 3017 eval ac_new_set=\$ac_env_${ac_var}_set 3018 eval ac_old_val=\$ac_cv_env_${ac_var}_value 3019 eval ac_new_val=\$ac_env_${ac_var}_value 3020 case $ac_old_set,$ac_new_set in 3021 set,) 3022 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 3023$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 3024 ac_cache_corrupted=: ;; 3025 ,set) 3026 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 3027$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 3028 ac_cache_corrupted=: ;; 3029 ,);; 3030 *) 3031 if test "x$ac_old_val" != "x$ac_new_val"; then 3032 # differences in whitespace do not lead to failure. 3033 ac_old_val_w=`echo x $ac_old_val` 3034 ac_new_val_w=`echo x $ac_new_val` 3035 if test "$ac_old_val_w" != "$ac_new_val_w"; then 3036 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 3037$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 3038 ac_cache_corrupted=: 3039 else 3040 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 3041$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 3042 eval $ac_var=\$ac_old_val 3043 fi 3044 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 3045$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 3046 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 3047$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 3048 fi;; 3049 esac 3050 # Pass precious variables to config.status. 3051 if test "$ac_new_set" = set; then 3052 case $ac_new_val in 3053 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 3054 *) ac_arg=$ac_var=$ac_new_val ;; 3055 esac 3056 case " $ac_configure_args " in 3057 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 3058 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 3059 esac 3060 fi 3061done 3062if $ac_cache_corrupted; then 3063 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3064$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3065 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 3066$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 3067 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 3068fi 3069## -------------------- ## 3070## Main body of script. ## 3071## -------------------- ## 3072 3073ac_ext=c 3074ac_cpp='$CPP $CPPFLAGS' 3075ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3076ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3077ac_compiler_gnu=$ac_cv_c_compiler_gnu 3078 3079 3080 3081 3082 3083am__api_version='1.16' 3084 3085ac_aux_dir= 3086for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 3087 if test -f "$ac_dir/install-sh"; then 3088 ac_aux_dir=$ac_dir 3089 ac_install_sh="$ac_aux_dir/install-sh -c" 3090 break 3091 elif test -f "$ac_dir/install.sh"; then 3092 ac_aux_dir=$ac_dir 3093 ac_install_sh="$ac_aux_dir/install.sh -c" 3094 break 3095 elif test -f "$ac_dir/shtool"; then 3096 ac_aux_dir=$ac_dir 3097 ac_install_sh="$ac_aux_dir/shtool install -c" 3098 break 3099 fi 3100done 3101if test -z "$ac_aux_dir"; then 3102 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 3103fi 3104 3105# These three variables are undocumented and unsupported, 3106# and are intended to be withdrawn in a future Autoconf release. 3107# They can cause serious problems if a builder's source tree is in a directory 3108# whose full name contains unusual characters. 3109ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 3110ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 3111ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 3112 3113 3114# Find a good install program. We prefer a C program (faster), 3115# so one script is as good as another. But avoid the broken or 3116# incompatible versions: 3117# SysV /etc/install, /usr/sbin/install 3118# SunOS /usr/etc/install 3119# IRIX /sbin/install 3120# AIX /bin/install 3121# AmigaOS /C/install, which installs bootblocks on floppy discs 3122# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 3123# AFS /usr/afsws/bin/install, which mishandles nonexistent args 3124# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 3125# OS/2's system install, which has a completely different semantic 3126# ./install, which can be erroneously created by make from ./install.sh. 3127# Reject install programs that cannot install multiple files. 3128{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 3129$as_echo_n "checking for a BSD-compatible install... " >&6; } 3130if test -z "$INSTALL"; then 3131if ${ac_cv_path_install+:} false; then : 3132 $as_echo_n "(cached) " >&6 3133else 3134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3135for as_dir in $PATH 3136do 3137 IFS=$as_save_IFS 3138 test -z "$as_dir" && as_dir=. 3139 # Account for people who put trailing slashes in PATH elements. 3140case $as_dir/ in #(( 3141 ./ | .// | /[cC]/* | \ 3142 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 3143 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 3144 /usr/ucb/* ) ;; 3145 *) 3146 # OSF1 and SCO ODT 3.0 have their own names for install. 3147 # Don't use installbsd from OSF since it installs stuff as root 3148 # by default. 3149 for ac_prog in ginstall scoinst install; do 3150 for ac_exec_ext in '' $ac_executable_extensions; do 3151 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 3152 if test $ac_prog = install && 3153 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3154 # AIX install. It has an incompatible calling convention. 3155 : 3156 elif test $ac_prog = install && 3157 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 3158 # program-specific install script used by HP pwplus--don't use. 3159 : 3160 else 3161 rm -rf conftest.one conftest.two conftest.dir 3162 echo one > conftest.one 3163 echo two > conftest.two 3164 mkdir conftest.dir 3165 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 3166 test -s conftest.one && test -s conftest.two && 3167 test -s conftest.dir/conftest.one && 3168 test -s conftest.dir/conftest.two 3169 then 3170 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 3171 break 3 3172 fi 3173 fi 3174 fi 3175 done 3176 done 3177 ;; 3178esac 3179 3180 done 3181IFS=$as_save_IFS 3182 3183rm -rf conftest.one conftest.two conftest.dir 3184 3185fi 3186 if test "${ac_cv_path_install+set}" = set; then 3187 INSTALL=$ac_cv_path_install 3188 else 3189 # As a last resort, use the slow shell script. Don't cache a 3190 # value for INSTALL within a source directory, because that will 3191 # break other packages using the cache if that directory is 3192 # removed, or if the value is a relative name. 3193 INSTALL=$ac_install_sh 3194 fi 3195fi 3196{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 3197$as_echo "$INSTALL" >&6; } 3198 3199# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 3200# It thinks the first close brace ends the variable substitution. 3201test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 3202 3203test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 3204 3205test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 3206 3207{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 3208$as_echo_n "checking whether build environment is sane... " >&6; } 3209# Reject unsafe characters in $srcdir or the absolute working directory 3210# name. Accept space and tab only in the latter. 3211am_lf=' 3212' 3213case `pwd` in 3214 *[\\\"\#\$\&\'\`$am_lf]*) 3215 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 3216esac 3217case $srcdir in 3218 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 3219 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 3220esac 3221 3222# Do 'set' in a subshell so we don't clobber the current shell's 3223# arguments. Must try -L first in case configure is actually a 3224# symlink; some systems play weird games with the mod time of symlinks 3225# (eg FreeBSD returns the mod time of the symlink's containing 3226# directory). 3227if ( 3228 am_has_slept=no 3229 for am_try in 1 2; do 3230 echo "timestamp, slept: $am_has_slept" > conftest.file 3231 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 3232 if test "$*" = "X"; then 3233 # -L didn't work. 3234 set X `ls -t "$srcdir/configure" conftest.file` 3235 fi 3236 if test "$*" != "X $srcdir/configure conftest.file" \ 3237 && test "$*" != "X conftest.file $srcdir/configure"; then 3238 3239 # If neither matched, then we have a broken ls. This can happen 3240 # if, for instance, CONFIG_SHELL is bash and it inherits a 3241 # broken ls alias from the environment. This has actually 3242 # happened. Such a system could not be considered "sane". 3243 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 3244 alias in your environment" "$LINENO" 5 3245 fi 3246 if test "$2" = conftest.file || test $am_try -eq 2; then 3247 break 3248 fi 3249 # Just in case. 3250 sleep 1 3251 am_has_slept=yes 3252 done 3253 test "$2" = conftest.file 3254 ) 3255then 3256 # Ok. 3257 : 3258else 3259 as_fn_error $? "newly created file is older than distributed files! 3260Check your system clock" "$LINENO" 5 3261fi 3262{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3263$as_echo "yes" >&6; } 3264# If we didn't sleep, we still need to ensure time stamps of config.status and 3265# generated files are strictly newer. 3266am_sleep_pid= 3267if grep 'slept: no' conftest.file >/dev/null 2>&1; then 3268 ( sleep 1 ) & 3269 am_sleep_pid=$! 3270fi 3271 3272rm -f conftest.file 3273 3274test "$program_prefix" != NONE && 3275 program_transform_name="s&^&$program_prefix&;$program_transform_name" 3276# Use a double $ so make ignores it. 3277test "$program_suffix" != NONE && 3278 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 3279# Double any \ or $. 3280# By default was `s,x,x', remove it if useless. 3281ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 3282program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 3283 3284# Expand $ac_aux_dir to an absolute path. 3285am_aux_dir=`cd "$ac_aux_dir" && pwd` 3286 3287if test x"${MISSING+set}" != xset; then 3288 case $am_aux_dir in 3289 *\ * | *\ *) 3290 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 3291 *) 3292 MISSING="\${SHELL} $am_aux_dir/missing" ;; 3293 esac 3294fi 3295# Use eval to expand $SHELL 3296if eval "$MISSING --is-lightweight"; then 3297 am_missing_run="$MISSING " 3298else 3299 am_missing_run= 3300 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 3301$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 3302fi 3303 3304if test x"${install_sh+set}" != xset; then 3305 case $am_aux_dir in 3306 *\ * | *\ *) 3307 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 3308 *) 3309 install_sh="\${SHELL} $am_aux_dir/install-sh" 3310 esac 3311fi 3312 3313# Installed binaries are usually stripped using 'strip' when the user 3314# run "make install-strip". However 'strip' might not be the right 3315# tool to use in cross-compilation environments, therefore Automake 3316# will honor the 'STRIP' environment variable to overrule this program. 3317if test "$cross_compiling" != no; then 3318 if test -n "$ac_tool_prefix"; then 3319 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 3320set dummy ${ac_tool_prefix}strip; ac_word=$2 3321{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3322$as_echo_n "checking for $ac_word... " >&6; } 3323if ${ac_cv_prog_STRIP+:} false; then : 3324 $as_echo_n "(cached) " >&6 3325else 3326 if test -n "$STRIP"; then 3327 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 3328else 3329as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3330for as_dir in $PATH 3331do 3332 IFS=$as_save_IFS 3333 test -z "$as_dir" && as_dir=. 3334 for ac_exec_ext in '' $ac_executable_extensions; do 3335 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3336 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 3337 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3338 break 2 3339 fi 3340done 3341 done 3342IFS=$as_save_IFS 3343 3344fi 3345fi 3346STRIP=$ac_cv_prog_STRIP 3347if test -n "$STRIP"; then 3348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 3349$as_echo "$STRIP" >&6; } 3350else 3351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3352$as_echo "no" >&6; } 3353fi 3354 3355 3356fi 3357if test -z "$ac_cv_prog_STRIP"; then 3358 ac_ct_STRIP=$STRIP 3359 # Extract the first word of "strip", so it can be a program name with args. 3360set dummy strip; ac_word=$2 3361{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3362$as_echo_n "checking for $ac_word... " >&6; } 3363if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 3364 $as_echo_n "(cached) " >&6 3365else 3366 if test -n "$ac_ct_STRIP"; then 3367 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 3368else 3369as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3370for as_dir in $PATH 3371do 3372 IFS=$as_save_IFS 3373 test -z "$as_dir" && as_dir=. 3374 for ac_exec_ext in '' $ac_executable_extensions; do 3375 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3376 ac_cv_prog_ac_ct_STRIP="strip" 3377 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3378 break 2 3379 fi 3380done 3381 done 3382IFS=$as_save_IFS 3383 3384fi 3385fi 3386ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 3387if test -n "$ac_ct_STRIP"; then 3388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 3389$as_echo "$ac_ct_STRIP" >&6; } 3390else 3391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3392$as_echo "no" >&6; } 3393fi 3394 3395 if test "x$ac_ct_STRIP" = x; then 3396 STRIP=":" 3397 else 3398 case $cross_compiling:$ac_tool_warned in 3399yes:) 3400{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3401$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3402ac_tool_warned=yes ;; 3403esac 3404 STRIP=$ac_ct_STRIP 3405 fi 3406else 3407 STRIP="$ac_cv_prog_STRIP" 3408fi 3409 3410fi 3411INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 3412 3413{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 3414$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 3415if test -z "$MKDIR_P"; then 3416 if ${ac_cv_path_mkdir+:} false; then : 3417 $as_echo_n "(cached) " >&6 3418else 3419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3420for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 3421do 3422 IFS=$as_save_IFS 3423 test -z "$as_dir" && as_dir=. 3424 for ac_prog in mkdir gmkdir; do 3425 for ac_exec_ext in '' $ac_executable_extensions; do 3426 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 3427 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 3428 'mkdir (GNU coreutils) '* | \ 3429 'mkdir (coreutils) '* | \ 3430 'mkdir (fileutils) '4.1*) 3431 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 3432 break 3;; 3433 esac 3434 done 3435 done 3436 done 3437IFS=$as_save_IFS 3438 3439fi 3440 3441 test -d ./--version && rmdir ./--version 3442 if test "${ac_cv_path_mkdir+set}" = set; then 3443 MKDIR_P="$ac_cv_path_mkdir -p" 3444 else 3445 # As a last resort, use the slow shell script. Don't cache a 3446 # value for MKDIR_P within a source directory, because that will 3447 # break other packages using the cache if that directory is 3448 # removed, or if the value is a relative name. 3449 MKDIR_P="$ac_install_sh -d" 3450 fi 3451fi 3452{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 3453$as_echo "$MKDIR_P" >&6; } 3454 3455for ac_prog in gawk mawk nawk awk 3456do 3457 # Extract the first word of "$ac_prog", so it can be a program name with args. 3458set dummy $ac_prog; ac_word=$2 3459{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3460$as_echo_n "checking for $ac_word... " >&6; } 3461if ${ac_cv_prog_AWK+:} false; then : 3462 $as_echo_n "(cached) " >&6 3463else 3464 if test -n "$AWK"; then 3465 ac_cv_prog_AWK="$AWK" # Let the user override the test. 3466else 3467as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3468for as_dir in $PATH 3469do 3470 IFS=$as_save_IFS 3471 test -z "$as_dir" && as_dir=. 3472 for ac_exec_ext in '' $ac_executable_extensions; do 3473 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3474 ac_cv_prog_AWK="$ac_prog" 3475 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3476 break 2 3477 fi 3478done 3479 done 3480IFS=$as_save_IFS 3481 3482fi 3483fi 3484AWK=$ac_cv_prog_AWK 3485if test -n "$AWK"; then 3486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 3487$as_echo "$AWK" >&6; } 3488else 3489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3490$as_echo "no" >&6; } 3491fi 3492 3493 3494 test -n "$AWK" && break 3495done 3496 3497{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3498$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 3499set x ${MAKE-make} 3500ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 3501if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 3502 $as_echo_n "(cached) " >&6 3503else 3504 cat >conftest.make <<\_ACEOF 3505SHELL = /bin/sh 3506all: 3507 @echo '@@@%%%=$(MAKE)=@@@%%%' 3508_ACEOF 3509# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 3510case `${MAKE-make} -f conftest.make 2>/dev/null` in 3511 *@@@%%%=?*=@@@%%%*) 3512 eval ac_cv_prog_make_${ac_make}_set=yes;; 3513 *) 3514 eval ac_cv_prog_make_${ac_make}_set=no;; 3515esac 3516rm -f conftest.make 3517fi 3518if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 3519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3520$as_echo "yes" >&6; } 3521 SET_MAKE= 3522else 3523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3524$as_echo "no" >&6; } 3525 SET_MAKE="MAKE=${MAKE-make}" 3526fi 3527 3528rm -rf .tst 2>/dev/null 3529mkdir .tst 2>/dev/null 3530if test -d .tst; then 3531 am__leading_dot=. 3532else 3533 am__leading_dot=_ 3534fi 3535rmdir .tst 2>/dev/null 3536 3537# Check whether --enable-silent-rules was given. 3538if test "${enable_silent_rules+set}" = set; then : 3539 enableval=$enable_silent_rules; 3540fi 3541 3542case $enable_silent_rules in # ((( 3543 yes) AM_DEFAULT_VERBOSITY=0;; 3544 no) AM_DEFAULT_VERBOSITY=1;; 3545 *) AM_DEFAULT_VERBOSITY=1;; 3546esac 3547am_make=${MAKE-make} 3548{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 3549$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 3550if ${am_cv_make_support_nested_variables+:} false; then : 3551 $as_echo_n "(cached) " >&6 3552else 3553 if $as_echo 'TRUE=$(BAR$(V)) 3554BAR0=false 3555BAR1=true 3556V=1 3557am__doit: 3558 @$(TRUE) 3559.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 3560 am_cv_make_support_nested_variables=yes 3561else 3562 am_cv_make_support_nested_variables=no 3563fi 3564fi 3565{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 3566$as_echo "$am_cv_make_support_nested_variables" >&6; } 3567if test $am_cv_make_support_nested_variables = yes; then 3568 AM_V='$(V)' 3569 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 3570else 3571 AM_V=$AM_DEFAULT_VERBOSITY 3572 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 3573fi 3574AM_BACKSLASH='\' 3575 3576if test "`cd $srcdir && pwd`" != "`pwd`"; then 3577 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 3578 # is not polluted with repeated "-I." 3579 am__isrc=' -I$(srcdir)' 3580 # test to see if srcdir already configured 3581 if test -f $srcdir/config.status; then 3582 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 3583 fi 3584fi 3585 3586# test whether we have cygpath 3587if test -z "$CYGPATH_W"; then 3588 if (cygpath --version) >/dev/null 2>/dev/null; then 3589 CYGPATH_W='cygpath -w' 3590 else 3591 CYGPATH_W=echo 3592 fi 3593fi 3594 3595 3596# Define the identity of the package. 3597 PACKAGE='libmsiecf' 3598 VERSION='20210420' 3599 3600 3601cat >>confdefs.h <<_ACEOF 3602#define PACKAGE "$PACKAGE" 3603_ACEOF 3604 3605 3606cat >>confdefs.h <<_ACEOF 3607#define VERSION "$VERSION" 3608_ACEOF 3609 3610# Some tools Automake needs. 3611 3612ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 3613 3614 3615AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 3616 3617 3618AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 3619 3620 3621AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 3622 3623 3624MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 3625 3626# For better backward compatibility. To be removed once Automake 1.9.x 3627# dies out for good. For more background, see: 3628# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 3629# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 3630mkdir_p='$(MKDIR_P)' 3631 3632# We need awk for the "check" target (and possibly the TAP driver). The 3633# system "awk" is bad on some platforms. 3634# Always define AMTAR for backward compatibility. Yes, it's still used 3635# in the wild :-( We should find a proper way to deprecate it ... 3636AMTAR='$${TAR-tar}' 3637 3638 3639# We'll loop over all known methods to create a tar archive until one works. 3640_am_tools='gnutar plaintar pax cpio none' 3641 3642# The POSIX 1988 'ustar' format is defined with fixed-size fields. 3643 # There is notably a 21 bits limit for the UID and the GID. In fact, 3644 # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343 3645 # and bug#13588). 3646 am_max_uid=2097151 # 2^21 - 1 3647 am_max_gid=$am_max_uid 3648 # The $UID and $GID variables are not portable, so we need to resort 3649 # to the POSIX-mandated id(1) utility. Errors in the 'id' calls 3650 # below are definitely unexpected, so allow the users to see them 3651 # (that is, avoid stderr redirection). 3652 am_uid=`id -u || echo unknown` 3653 am_gid=`id -g || echo unknown` 3654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5 3655$as_echo_n "checking whether UID '$am_uid' is supported by ustar format... " >&6; } 3656 if test $am_uid -le $am_max_uid; then 3657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3658$as_echo "yes" >&6; } 3659 else 3660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3661$as_echo "no" >&6; } 3662 _am_tools=none 3663 fi 3664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5 3665$as_echo_n "checking whether GID '$am_gid' is supported by ustar format... " >&6; } 3666 if test $am_gid -le $am_max_gid; then 3667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3668$as_echo "yes" >&6; } 3669 else 3670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3671$as_echo "no" >&6; } 3672 _am_tools=none 3673 fi 3674 3675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5 3676$as_echo_n "checking how to create a ustar tar archive... " >&6; } 3677 3678 # Go ahead even if we have the value already cached. We do so because we 3679 # need to set the values for the 'am__tar' and 'am__untar' variables. 3680 _am_tools=${am_cv_prog_tar_ustar-$_am_tools} 3681 3682 for _am_tool in $_am_tools; do 3683 case $_am_tool in 3684 gnutar) 3685 for _am_tar in tar gnutar gtar; do 3686 { echo "$as_me:$LINENO: $_am_tar --version" >&5 3687 ($_am_tar --version) >&5 2>&5 3688 ac_status=$? 3689 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3690 (exit $ac_status); } && break 3691 done 3692 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"' 3693 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"' 3694 am__untar="$_am_tar -xf -" 3695 ;; 3696 plaintar) 3697 # Must skip GNU tar: if it does not support --format= it doesn't create 3698 # ustar tarball either. 3699 (tar --version) >/dev/null 2>&1 && continue 3700 am__tar='tar chf - "$$tardir"' 3701 am__tar_='tar chf - "$tardir"' 3702 am__untar='tar xf -' 3703 ;; 3704 pax) 3705 am__tar='pax -L -x ustar -w "$$tardir"' 3706 am__tar_='pax -L -x ustar -w "$tardir"' 3707 am__untar='pax -r' 3708 ;; 3709 cpio) 3710 am__tar='find "$$tardir" -print | cpio -o -H ustar -L' 3711 am__tar_='find "$tardir" -print | cpio -o -H ustar -L' 3712 am__untar='cpio -i -H ustar -d' 3713 ;; 3714 none) 3715 am__tar=false 3716 am__tar_=false 3717 am__untar=false 3718 ;; 3719 esac 3720 3721 # If the value was cached, stop now. We just wanted to have am__tar 3722 # and am__untar set. 3723 test -n "${am_cv_prog_tar_ustar}" && break 3724 3725 # tar/untar a dummy directory, and stop if the command works. 3726 rm -rf conftest.dir 3727 mkdir conftest.dir 3728 echo GrepMe > conftest.dir/file 3729 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5 3730 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5 3731 ac_status=$? 3732 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3733 (exit $ac_status); } 3734 rm -rf conftest.dir 3735 if test -s conftest.tar; then 3736 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5 3737 ($am__untar <conftest.tar) >&5 2>&5 3738 ac_status=$? 3739 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3740 (exit $ac_status); } 3741 { echo "$as_me:$LINENO: cat conftest.dir/file" >&5 3742 (cat conftest.dir/file) >&5 2>&5 3743 ac_status=$? 3744 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3745 (exit $ac_status); } 3746 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break 3747 fi 3748 done 3749 rm -rf conftest.dir 3750 3751 if ${am_cv_prog_tar_ustar+:} false; then : 3752 $as_echo_n "(cached) " >&6 3753else 3754 am_cv_prog_tar_ustar=$_am_tool 3755fi 3756 3757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5 3758$as_echo "$am_cv_prog_tar_ustar" >&6; } 3759 3760 3761 3762 3763 3764 3765# POSIX will say in a future version that running "rm -f" with no argument 3766# is OK; and we want to be able to make that assumption in our Makefile 3767# recipes. So use an aggressive probe to check that the usage we want is 3768# actually supported "in the wild" to an acceptable degree. 3769# See automake bug#10828. 3770# To make any issue more visible, cause the running configure to be aborted 3771# by default if the 'rm' program in use doesn't match our expectations; the 3772# user can still override this though. 3773if rm -f && rm -fr && rm -rf; then : OK; else 3774 cat >&2 <<'END' 3775Oops! 3776 3777Your 'rm' program seems unable to run without file operands specified 3778on the command line, even when the '-f' option is present. This is contrary 3779to the behaviour of most rm programs out there, and not conforming with 3780the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 3781 3782Please tell bug-automake@gnu.org about your system, including the value 3783of your $PATH and any error possibly output before this message. This 3784can help us improve future automake versions. 3785 3786END 3787 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 3788 echo 'Configuration will proceed anyway, since you have set the' >&2 3789 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 3790 echo >&2 3791 else 3792 cat >&2 <<'END' 3793Aborting the configuration process, to ensure you take notice of the issue. 3794 3795You can download and install GNU coreutils to get an 'rm' implementation 3796that behaves properly: <https://www.gnu.org/software/coreutils/>. 3797 3798If you want to complete the configuration process using your problematic 3799'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 3800to "yes", and re-run configure. 3801 3802END 3803 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 3804 fi 3805fi 3806 3807 3808 3809 3810# Make sure we can run config.sub. 3811$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 3812 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 3813 3814{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 3815$as_echo_n "checking build system type... " >&6; } 3816if ${ac_cv_build+:} false; then : 3817 $as_echo_n "(cached) " >&6 3818else 3819 ac_build_alias=$build_alias 3820test "x$ac_build_alias" = x && 3821 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 3822test "x$ac_build_alias" = x && 3823 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 3824ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 3825 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 3826 3827fi 3828{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 3829$as_echo "$ac_cv_build" >&6; } 3830case $ac_cv_build in 3831*-*-*) ;; 3832*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 3833esac 3834build=$ac_cv_build 3835ac_save_IFS=$IFS; IFS='-' 3836set x $ac_cv_build 3837shift 3838build_cpu=$1 3839build_vendor=$2 3840shift; shift 3841# Remember, the first character of IFS is used to create $*, 3842# except with old shells: 3843build_os=$* 3844IFS=$ac_save_IFS 3845case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 3846 3847 3848{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 3849$as_echo_n "checking host system type... " >&6; } 3850if ${ac_cv_host+:} false; then : 3851 $as_echo_n "(cached) " >&6 3852else 3853 if test "x$host_alias" = x; then 3854 ac_cv_host=$ac_cv_build 3855else 3856 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 3857 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 3858fi 3859 3860fi 3861{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 3862$as_echo "$ac_cv_host" >&6; } 3863case $ac_cv_host in 3864*-*-*) ;; 3865*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 3866esac 3867host=$ac_cv_host 3868ac_save_IFS=$IFS; IFS='-' 3869set x $ac_cv_host 3870shift 3871host_cpu=$1 3872host_vendor=$2 3873shift; shift 3874# Remember, the first character of IFS is used to create $*, 3875# except with old shells: 3876host_os=$* 3877IFS=$ac_save_IFS 3878case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 3879 3880 3881 3882enable_win32_dll=yes 3883 3884case $host in 3885*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*) 3886 if test -n "$ac_tool_prefix"; then 3887 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. 3888set dummy ${ac_tool_prefix}as; ac_word=$2 3889{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3890$as_echo_n "checking for $ac_word... " >&6; } 3891if ${ac_cv_prog_AS+:} false; then : 3892 $as_echo_n "(cached) " >&6 3893else 3894 if test -n "$AS"; then 3895 ac_cv_prog_AS="$AS" # Let the user override the test. 3896else 3897as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3898for as_dir in $PATH 3899do 3900 IFS=$as_save_IFS 3901 test -z "$as_dir" && as_dir=. 3902 for ac_exec_ext in '' $ac_executable_extensions; do 3903 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3904 ac_cv_prog_AS="${ac_tool_prefix}as" 3905 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3906 break 2 3907 fi 3908done 3909 done 3910IFS=$as_save_IFS 3911 3912fi 3913fi 3914AS=$ac_cv_prog_AS 3915if test -n "$AS"; then 3916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5 3917$as_echo "$AS" >&6; } 3918else 3919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3920$as_echo "no" >&6; } 3921fi 3922 3923 3924fi 3925if test -z "$ac_cv_prog_AS"; then 3926 ac_ct_AS=$AS 3927 # Extract the first word of "as", so it can be a program name with args. 3928set dummy as; ac_word=$2 3929{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3930$as_echo_n "checking for $ac_word... " >&6; } 3931if ${ac_cv_prog_ac_ct_AS+:} false; then : 3932 $as_echo_n "(cached) " >&6 3933else 3934 if test -n "$ac_ct_AS"; then 3935 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test. 3936else 3937as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3938for as_dir in $PATH 3939do 3940 IFS=$as_save_IFS 3941 test -z "$as_dir" && as_dir=. 3942 for ac_exec_ext in '' $ac_executable_extensions; do 3943 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3944 ac_cv_prog_ac_ct_AS="as" 3945 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3946 break 2 3947 fi 3948done 3949 done 3950IFS=$as_save_IFS 3951 3952fi 3953fi 3954ac_ct_AS=$ac_cv_prog_ac_ct_AS 3955if test -n "$ac_ct_AS"; then 3956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5 3957$as_echo "$ac_ct_AS" >&6; } 3958else 3959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3960$as_echo "no" >&6; } 3961fi 3962 3963 if test "x$ac_ct_AS" = x; then 3964 AS="false" 3965 else 3966 case $cross_compiling:$ac_tool_warned in 3967yes:) 3968{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3969$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3970ac_tool_warned=yes ;; 3971esac 3972 AS=$ac_ct_AS 3973 fi 3974else 3975 AS="$ac_cv_prog_AS" 3976fi 3977 3978 if test -n "$ac_tool_prefix"; then 3979 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 3980set dummy ${ac_tool_prefix}dlltool; ac_word=$2 3981{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3982$as_echo_n "checking for $ac_word... " >&6; } 3983if ${ac_cv_prog_DLLTOOL+:} false; then : 3984 $as_echo_n "(cached) " >&6 3985else 3986 if test -n "$DLLTOOL"; then 3987 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 3988else 3989as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3990for as_dir in $PATH 3991do 3992 IFS=$as_save_IFS 3993 test -z "$as_dir" && as_dir=. 3994 for ac_exec_ext in '' $ac_executable_extensions; do 3995 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3996 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 3997 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3998 break 2 3999 fi 4000done 4001 done 4002IFS=$as_save_IFS 4003 4004fi 4005fi 4006DLLTOOL=$ac_cv_prog_DLLTOOL 4007if test -n "$DLLTOOL"; then 4008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 4009$as_echo "$DLLTOOL" >&6; } 4010else 4011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4012$as_echo "no" >&6; } 4013fi 4014 4015 4016fi 4017if test -z "$ac_cv_prog_DLLTOOL"; then 4018 ac_ct_DLLTOOL=$DLLTOOL 4019 # Extract the first word of "dlltool", so it can be a program name with args. 4020set dummy dlltool; ac_word=$2 4021{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4022$as_echo_n "checking for $ac_word... " >&6; } 4023if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 4024 $as_echo_n "(cached) " >&6 4025else 4026 if test -n "$ac_ct_DLLTOOL"; then 4027 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 4028else 4029as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4030for as_dir in $PATH 4031do 4032 IFS=$as_save_IFS 4033 test -z "$as_dir" && as_dir=. 4034 for ac_exec_ext in '' $ac_executable_extensions; do 4035 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4036 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 4037 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4038 break 2 4039 fi 4040done 4041 done 4042IFS=$as_save_IFS 4043 4044fi 4045fi 4046ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 4047if test -n "$ac_ct_DLLTOOL"; then 4048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 4049$as_echo "$ac_ct_DLLTOOL" >&6; } 4050else 4051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4052$as_echo "no" >&6; } 4053fi 4054 4055 if test "x$ac_ct_DLLTOOL" = x; then 4056 DLLTOOL="false" 4057 else 4058 case $cross_compiling:$ac_tool_warned in 4059yes:) 4060{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4061$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4062ac_tool_warned=yes ;; 4063esac 4064 DLLTOOL=$ac_ct_DLLTOOL 4065 fi 4066else 4067 DLLTOOL="$ac_cv_prog_DLLTOOL" 4068fi 4069 4070 if test -n "$ac_tool_prefix"; then 4071 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 4072set dummy ${ac_tool_prefix}objdump; ac_word=$2 4073{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4074$as_echo_n "checking for $ac_word... " >&6; } 4075if ${ac_cv_prog_OBJDUMP+:} false; then : 4076 $as_echo_n "(cached) " >&6 4077else 4078 if test -n "$OBJDUMP"; then 4079 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 4080else 4081as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4082for as_dir in $PATH 4083do 4084 IFS=$as_save_IFS 4085 test -z "$as_dir" && as_dir=. 4086 for ac_exec_ext in '' $ac_executable_extensions; do 4087 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4088 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 4089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4090 break 2 4091 fi 4092done 4093 done 4094IFS=$as_save_IFS 4095 4096fi 4097fi 4098OBJDUMP=$ac_cv_prog_OBJDUMP 4099if test -n "$OBJDUMP"; then 4100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 4101$as_echo "$OBJDUMP" >&6; } 4102else 4103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4104$as_echo "no" >&6; } 4105fi 4106 4107 4108fi 4109if test -z "$ac_cv_prog_OBJDUMP"; then 4110 ac_ct_OBJDUMP=$OBJDUMP 4111 # Extract the first word of "objdump", so it can be a program name with args. 4112set dummy objdump; ac_word=$2 4113{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4114$as_echo_n "checking for $ac_word... " >&6; } 4115if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 4116 $as_echo_n "(cached) " >&6 4117else 4118 if test -n "$ac_ct_OBJDUMP"; then 4119 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 4120else 4121as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4122for as_dir in $PATH 4123do 4124 IFS=$as_save_IFS 4125 test -z "$as_dir" && as_dir=. 4126 for ac_exec_ext in '' $ac_executable_extensions; do 4127 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4128 ac_cv_prog_ac_ct_OBJDUMP="objdump" 4129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4130 break 2 4131 fi 4132done 4133 done 4134IFS=$as_save_IFS 4135 4136fi 4137fi 4138ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 4139if test -n "$ac_ct_OBJDUMP"; then 4140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 4141$as_echo "$ac_ct_OBJDUMP" >&6; } 4142else 4143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4144$as_echo "no" >&6; } 4145fi 4146 4147 if test "x$ac_ct_OBJDUMP" = x; then 4148 OBJDUMP="false" 4149 else 4150 case $cross_compiling:$ac_tool_warned in 4151yes:) 4152{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4153$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4154ac_tool_warned=yes ;; 4155esac 4156 OBJDUMP=$ac_ct_OBJDUMP 4157 fi 4158else 4159 OBJDUMP="$ac_cv_prog_OBJDUMP" 4160fi 4161 4162 ;; 4163esac 4164 4165test -z "$AS" && AS=as 4166 4167 4168 4169 4170 4171test -z "$DLLTOOL" && DLLTOOL=dlltool 4172 4173 4174 4175 4176 4177test -z "$OBJDUMP" && OBJDUMP=objdump 4178 4179 4180 4181 4182 4183 4184 4185 4186ac_ext=c 4187ac_cpp='$CPP $CPPFLAGS' 4188ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4189ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4190ac_compiler_gnu=$ac_cv_c_compiler_gnu 4191if test -n "$ac_tool_prefix"; then 4192 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 4193set dummy ${ac_tool_prefix}gcc; ac_word=$2 4194{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4195$as_echo_n "checking for $ac_word... " >&6; } 4196if ${ac_cv_prog_CC+:} false; then : 4197 $as_echo_n "(cached) " >&6 4198else 4199 if test -n "$CC"; then 4200 ac_cv_prog_CC="$CC" # Let the user override the test. 4201else 4202as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4203for as_dir in $PATH 4204do 4205 IFS=$as_save_IFS 4206 test -z "$as_dir" && as_dir=. 4207 for ac_exec_ext in '' $ac_executable_extensions; do 4208 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4209 ac_cv_prog_CC="${ac_tool_prefix}gcc" 4210 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4211 break 2 4212 fi 4213done 4214 done 4215IFS=$as_save_IFS 4216 4217fi 4218fi 4219CC=$ac_cv_prog_CC 4220if test -n "$CC"; then 4221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4222$as_echo "$CC" >&6; } 4223else 4224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4225$as_echo "no" >&6; } 4226fi 4227 4228 4229fi 4230if test -z "$ac_cv_prog_CC"; then 4231 ac_ct_CC=$CC 4232 # Extract the first word of "gcc", so it can be a program name with args. 4233set dummy gcc; ac_word=$2 4234{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4235$as_echo_n "checking for $ac_word... " >&6; } 4236if ${ac_cv_prog_ac_ct_CC+:} false; then : 4237 $as_echo_n "(cached) " >&6 4238else 4239 if test -n "$ac_ct_CC"; then 4240 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 4241else 4242as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4243for as_dir in $PATH 4244do 4245 IFS=$as_save_IFS 4246 test -z "$as_dir" && as_dir=. 4247 for ac_exec_ext in '' $ac_executable_extensions; do 4248 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4249 ac_cv_prog_ac_ct_CC="gcc" 4250 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4251 break 2 4252 fi 4253done 4254 done 4255IFS=$as_save_IFS 4256 4257fi 4258fi 4259ac_ct_CC=$ac_cv_prog_ac_ct_CC 4260if test -n "$ac_ct_CC"; then 4261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 4262$as_echo "$ac_ct_CC" >&6; } 4263else 4264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4265$as_echo "no" >&6; } 4266fi 4267 4268 if test "x$ac_ct_CC" = x; then 4269 CC="" 4270 else 4271 case $cross_compiling:$ac_tool_warned in 4272yes:) 4273{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4274$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4275ac_tool_warned=yes ;; 4276esac 4277 CC=$ac_ct_CC 4278 fi 4279else 4280 CC="$ac_cv_prog_CC" 4281fi 4282 4283if test -z "$CC"; then 4284 if test -n "$ac_tool_prefix"; then 4285 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 4286set dummy ${ac_tool_prefix}cc; ac_word=$2 4287{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4288$as_echo_n "checking for $ac_word... " >&6; } 4289if ${ac_cv_prog_CC+:} false; then : 4290 $as_echo_n "(cached) " >&6 4291else 4292 if test -n "$CC"; then 4293 ac_cv_prog_CC="$CC" # Let the user override the test. 4294else 4295as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4296for as_dir in $PATH 4297do 4298 IFS=$as_save_IFS 4299 test -z "$as_dir" && as_dir=. 4300 for ac_exec_ext in '' $ac_executable_extensions; do 4301 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4302 ac_cv_prog_CC="${ac_tool_prefix}cc" 4303 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4304 break 2 4305 fi 4306done 4307 done 4308IFS=$as_save_IFS 4309 4310fi 4311fi 4312CC=$ac_cv_prog_CC 4313if test -n "$CC"; then 4314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4315$as_echo "$CC" >&6; } 4316else 4317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4318$as_echo "no" >&6; } 4319fi 4320 4321 4322 fi 4323fi 4324if test -z "$CC"; then 4325 # Extract the first word of "cc", so it can be a program name with args. 4326set dummy cc; ac_word=$2 4327{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4328$as_echo_n "checking for $ac_word... " >&6; } 4329if ${ac_cv_prog_CC+:} false; then : 4330 $as_echo_n "(cached) " >&6 4331else 4332 if test -n "$CC"; then 4333 ac_cv_prog_CC="$CC" # Let the user override the test. 4334else 4335 ac_prog_rejected=no 4336as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4337for as_dir in $PATH 4338do 4339 IFS=$as_save_IFS 4340 test -z "$as_dir" && as_dir=. 4341 for ac_exec_ext in '' $ac_executable_extensions; do 4342 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4343 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 4344 ac_prog_rejected=yes 4345 continue 4346 fi 4347 ac_cv_prog_CC="cc" 4348 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4349 break 2 4350 fi 4351done 4352 done 4353IFS=$as_save_IFS 4354 4355if test $ac_prog_rejected = yes; then 4356 # We found a bogon in the path, so make sure we never use it. 4357 set dummy $ac_cv_prog_CC 4358 shift 4359 if test $# != 0; then 4360 # We chose a different compiler from the bogus one. 4361 # However, it has the same basename, so the bogon will be chosen 4362 # first if we set CC to just the basename; use the full file name. 4363 shift 4364 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 4365 fi 4366fi 4367fi 4368fi 4369CC=$ac_cv_prog_CC 4370if test -n "$CC"; then 4371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4372$as_echo "$CC" >&6; } 4373else 4374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4375$as_echo "no" >&6; } 4376fi 4377 4378 4379fi 4380if test -z "$CC"; then 4381 if test -n "$ac_tool_prefix"; then 4382 for ac_prog in cl.exe 4383 do 4384 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4385set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4386{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4387$as_echo_n "checking for $ac_word... " >&6; } 4388if ${ac_cv_prog_CC+:} false; then : 4389 $as_echo_n "(cached) " >&6 4390else 4391 if test -n "$CC"; then 4392 ac_cv_prog_CC="$CC" # Let the user override the test. 4393else 4394as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4395for as_dir in $PATH 4396do 4397 IFS=$as_save_IFS 4398 test -z "$as_dir" && as_dir=. 4399 for ac_exec_ext in '' $ac_executable_extensions; do 4400 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4401 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 4402 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4403 break 2 4404 fi 4405done 4406 done 4407IFS=$as_save_IFS 4408 4409fi 4410fi 4411CC=$ac_cv_prog_CC 4412if test -n "$CC"; then 4413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4414$as_echo "$CC" >&6; } 4415else 4416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4417$as_echo "no" >&6; } 4418fi 4419 4420 4421 test -n "$CC" && break 4422 done 4423fi 4424if test -z "$CC"; then 4425 ac_ct_CC=$CC 4426 for ac_prog in cl.exe 4427do 4428 # Extract the first word of "$ac_prog", so it can be a program name with args. 4429set dummy $ac_prog; ac_word=$2 4430{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4431$as_echo_n "checking for $ac_word... " >&6; } 4432if ${ac_cv_prog_ac_ct_CC+:} false; then : 4433 $as_echo_n "(cached) " >&6 4434else 4435 if test -n "$ac_ct_CC"; then 4436 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 4437else 4438as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4439for as_dir in $PATH 4440do 4441 IFS=$as_save_IFS 4442 test -z "$as_dir" && as_dir=. 4443 for ac_exec_ext in '' $ac_executable_extensions; do 4444 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4445 ac_cv_prog_ac_ct_CC="$ac_prog" 4446 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4447 break 2 4448 fi 4449done 4450 done 4451IFS=$as_save_IFS 4452 4453fi 4454fi 4455ac_ct_CC=$ac_cv_prog_ac_ct_CC 4456if test -n "$ac_ct_CC"; then 4457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 4458$as_echo "$ac_ct_CC" >&6; } 4459else 4460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4461$as_echo "no" >&6; } 4462fi 4463 4464 4465 test -n "$ac_ct_CC" && break 4466done 4467 4468 if test "x$ac_ct_CC" = x; then 4469 CC="" 4470 else 4471 case $cross_compiling:$ac_tool_warned in 4472yes:) 4473{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4474$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4475ac_tool_warned=yes ;; 4476esac 4477 CC=$ac_ct_CC 4478 fi 4479fi 4480 4481fi 4482 4483 4484test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4485$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4486as_fn_error $? "no acceptable C compiler found in \$PATH 4487See \`config.log' for more details" "$LINENO" 5; } 4488 4489# Provide some information about the compiler. 4490$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 4491set X $ac_compile 4492ac_compiler=$2 4493for ac_option in --version -v -V -qversion; do 4494 { { ac_try="$ac_compiler $ac_option >&5" 4495case "(($ac_try" in 4496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4497 *) ac_try_echo=$ac_try;; 4498esac 4499eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4500$as_echo "$ac_try_echo"; } >&5 4501 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 4502 ac_status=$? 4503 if test -s conftest.err; then 4504 sed '10a\ 4505... rest of stderr output deleted ... 4506 10q' conftest.err >conftest.er1 4507 cat conftest.er1 >&5 4508 fi 4509 rm -f conftest.er1 conftest.err 4510 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4511 test $ac_status = 0; } 4512done 4513 4514cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4515/* end confdefs.h. */ 4516 4517int 4518main () 4519{ 4520 4521 ; 4522 return 0; 4523} 4524_ACEOF 4525ac_clean_files_save=$ac_clean_files 4526ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 4527# Try to create an executable without -o first, disregard a.out. 4528# It will help us diagnose broken compilers, and finding out an intuition 4529# of exeext. 4530{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 4531$as_echo_n "checking whether the C compiler works... " >&6; } 4532ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 4533 4534# The possible output files: 4535ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 4536 4537ac_rmfiles= 4538for ac_file in $ac_files 4539do 4540 case $ac_file in 4541 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 4542 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 4543 esac 4544done 4545rm -f $ac_rmfiles 4546 4547if { { ac_try="$ac_link_default" 4548case "(($ac_try" in 4549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4550 *) ac_try_echo=$ac_try;; 4551esac 4552eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4553$as_echo "$ac_try_echo"; } >&5 4554 (eval "$ac_link_default") 2>&5 4555 ac_status=$? 4556 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4557 test $ac_status = 0; }; then : 4558 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 4559# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 4560# in a Makefile. We should not override ac_cv_exeext if it was cached, 4561# so that the user can short-circuit this test for compilers unknown to 4562# Autoconf. 4563for ac_file in $ac_files '' 4564do 4565 test -f "$ac_file" || continue 4566 case $ac_file in 4567 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 4568 ;; 4569 [ab].out ) 4570 # We found the default executable, but exeext='' is most 4571 # certainly right. 4572 break;; 4573 *.* ) 4574 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 4575 then :; else 4576 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 4577 fi 4578 # We set ac_cv_exeext here because the later test for it is not 4579 # safe: cross compilers may not add the suffix if given an `-o' 4580 # argument, so we may need to know it at that point already. 4581 # Even if this section looks crufty: it has the advantage of 4582 # actually working. 4583 break;; 4584 * ) 4585 break;; 4586 esac 4587done 4588test "$ac_cv_exeext" = no && ac_cv_exeext= 4589 4590else 4591 ac_file='' 4592fi 4593if test -z "$ac_file"; then : 4594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4595$as_echo "no" >&6; } 4596$as_echo "$as_me: failed program was:" >&5 4597sed 's/^/| /' conftest.$ac_ext >&5 4598 4599{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4600$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4601as_fn_error 77 "C compiler cannot create executables 4602See \`config.log' for more details" "$LINENO" 5; } 4603else 4604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4605$as_echo "yes" >&6; } 4606fi 4607{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 4608$as_echo_n "checking for C compiler default output file name... " >&6; } 4609{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 4610$as_echo "$ac_file" >&6; } 4611ac_exeext=$ac_cv_exeext 4612 4613rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 4614ac_clean_files=$ac_clean_files_save 4615{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 4616$as_echo_n "checking for suffix of executables... " >&6; } 4617if { { ac_try="$ac_link" 4618case "(($ac_try" in 4619 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4620 *) ac_try_echo=$ac_try;; 4621esac 4622eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4623$as_echo "$ac_try_echo"; } >&5 4624 (eval "$ac_link") 2>&5 4625 ac_status=$? 4626 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4627 test $ac_status = 0; }; then : 4628 # If both `conftest.exe' and `conftest' are `present' (well, observable) 4629# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 4630# work properly (i.e., refer to `conftest.exe'), while it won't with 4631# `rm'. 4632for ac_file in conftest.exe conftest conftest.*; do 4633 test -f "$ac_file" || continue 4634 case $ac_file in 4635 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 4636 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 4637 break;; 4638 * ) break;; 4639 esac 4640done 4641else 4642 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4643$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4644as_fn_error $? "cannot compute suffix of executables: cannot compile and link 4645See \`config.log' for more details" "$LINENO" 5; } 4646fi 4647rm -f conftest conftest$ac_cv_exeext 4648{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 4649$as_echo "$ac_cv_exeext" >&6; } 4650 4651rm -f conftest.$ac_ext 4652EXEEXT=$ac_cv_exeext 4653ac_exeext=$EXEEXT 4654cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4655/* end confdefs.h. */ 4656#include <stdio.h> 4657int 4658main () 4659{ 4660FILE *f = fopen ("conftest.out", "w"); 4661 return ferror (f) || fclose (f) != 0; 4662 4663 ; 4664 return 0; 4665} 4666_ACEOF 4667ac_clean_files="$ac_clean_files conftest.out" 4668# Check that the compiler produces executables we can run. If not, either 4669# the compiler is broken, or we cross compile. 4670{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 4671$as_echo_n "checking whether we are cross compiling... " >&6; } 4672if test "$cross_compiling" != yes; then 4673 { { ac_try="$ac_link" 4674case "(($ac_try" in 4675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4676 *) ac_try_echo=$ac_try;; 4677esac 4678eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4679$as_echo "$ac_try_echo"; } >&5 4680 (eval "$ac_link") 2>&5 4681 ac_status=$? 4682 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4683 test $ac_status = 0; } 4684 if { ac_try='./conftest$ac_cv_exeext' 4685 { { case "(($ac_try" in 4686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4687 *) ac_try_echo=$ac_try;; 4688esac 4689eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4690$as_echo "$ac_try_echo"; } >&5 4691 (eval "$ac_try") 2>&5 4692 ac_status=$? 4693 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4694 test $ac_status = 0; }; }; then 4695 cross_compiling=no 4696 else 4697 if test "$cross_compiling" = maybe; then 4698 cross_compiling=yes 4699 else 4700 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4701$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4702as_fn_error $? "cannot run C compiled programs. 4703If you meant to cross compile, use \`--host'. 4704See \`config.log' for more details" "$LINENO" 5; } 4705 fi 4706 fi 4707fi 4708{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 4709$as_echo "$cross_compiling" >&6; } 4710 4711rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 4712ac_clean_files=$ac_clean_files_save 4713{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 4714$as_echo_n "checking for suffix of object files... " >&6; } 4715if ${ac_cv_objext+:} false; then : 4716 $as_echo_n "(cached) " >&6 4717else 4718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4719/* end confdefs.h. */ 4720 4721int 4722main () 4723{ 4724 4725 ; 4726 return 0; 4727} 4728_ACEOF 4729rm -f conftest.o conftest.obj 4730if { { ac_try="$ac_compile" 4731case "(($ac_try" in 4732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4733 *) ac_try_echo=$ac_try;; 4734esac 4735eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4736$as_echo "$ac_try_echo"; } >&5 4737 (eval "$ac_compile") 2>&5 4738 ac_status=$? 4739 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4740 test $ac_status = 0; }; then : 4741 for ac_file in conftest.o conftest.obj conftest.*; do 4742 test -f "$ac_file" || continue; 4743 case $ac_file in 4744 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 4745 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 4746 break;; 4747 esac 4748done 4749else 4750 $as_echo "$as_me: failed program was:" >&5 4751sed 's/^/| /' conftest.$ac_ext >&5 4752 4753{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4754$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4755as_fn_error $? "cannot compute suffix of object files: cannot compile 4756See \`config.log' for more details" "$LINENO" 5; } 4757fi 4758rm -f conftest.$ac_cv_objext conftest.$ac_ext 4759fi 4760{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 4761$as_echo "$ac_cv_objext" >&6; } 4762OBJEXT=$ac_cv_objext 4763ac_objext=$OBJEXT 4764{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 4765$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 4766if ${ac_cv_c_compiler_gnu+:} false; then : 4767 $as_echo_n "(cached) " >&6 4768else 4769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4770/* end confdefs.h. */ 4771 4772int 4773main () 4774{ 4775#ifndef __GNUC__ 4776 choke me 4777#endif 4778 4779 ; 4780 return 0; 4781} 4782_ACEOF 4783if ac_fn_c_try_compile "$LINENO"; then : 4784 ac_compiler_gnu=yes 4785else 4786 ac_compiler_gnu=no 4787fi 4788rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4789ac_cv_c_compiler_gnu=$ac_compiler_gnu 4790 4791fi 4792{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 4793$as_echo "$ac_cv_c_compiler_gnu" >&6; } 4794if test $ac_compiler_gnu = yes; then 4795 GCC=yes 4796else 4797 GCC= 4798fi 4799ac_test_CFLAGS=${CFLAGS+set} 4800ac_save_CFLAGS=$CFLAGS 4801{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 4802$as_echo_n "checking whether $CC accepts -g... " >&6; } 4803if ${ac_cv_prog_cc_g+:} false; then : 4804 $as_echo_n "(cached) " >&6 4805else 4806 ac_save_c_werror_flag=$ac_c_werror_flag 4807 ac_c_werror_flag=yes 4808 ac_cv_prog_cc_g=no 4809 CFLAGS="-g" 4810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4811/* end confdefs.h. */ 4812 4813int 4814main () 4815{ 4816 4817 ; 4818 return 0; 4819} 4820_ACEOF 4821if ac_fn_c_try_compile "$LINENO"; then : 4822 ac_cv_prog_cc_g=yes 4823else 4824 CFLAGS="" 4825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4826/* end confdefs.h. */ 4827 4828int 4829main () 4830{ 4831 4832 ; 4833 return 0; 4834} 4835_ACEOF 4836if ac_fn_c_try_compile "$LINENO"; then : 4837 4838else 4839 ac_c_werror_flag=$ac_save_c_werror_flag 4840 CFLAGS="-g" 4841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4842/* end confdefs.h. */ 4843 4844int 4845main () 4846{ 4847 4848 ; 4849 return 0; 4850} 4851_ACEOF 4852if ac_fn_c_try_compile "$LINENO"; then : 4853 ac_cv_prog_cc_g=yes 4854fi 4855rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4856fi 4857rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4858fi 4859rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4860 ac_c_werror_flag=$ac_save_c_werror_flag 4861fi 4862{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 4863$as_echo "$ac_cv_prog_cc_g" >&6; } 4864if test "$ac_test_CFLAGS" = set; then 4865 CFLAGS=$ac_save_CFLAGS 4866elif test $ac_cv_prog_cc_g = yes; then 4867 if test "$GCC" = yes; then 4868 CFLAGS="-g -O2" 4869 else 4870 CFLAGS="-g" 4871 fi 4872else 4873 if test "$GCC" = yes; then 4874 CFLAGS="-O2" 4875 else 4876 CFLAGS= 4877 fi 4878fi 4879{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 4880$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 4881if ${ac_cv_prog_cc_c89+:} false; then : 4882 $as_echo_n "(cached) " >&6 4883else 4884 ac_cv_prog_cc_c89=no 4885ac_save_CC=$CC 4886cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4887/* end confdefs.h. */ 4888#include <stdarg.h> 4889#include <stdio.h> 4890struct stat; 4891/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 4892struct buf { int x; }; 4893FILE * (*rcsopen) (struct buf *, struct stat *, int); 4894static char *e (p, i) 4895 char **p; 4896 int i; 4897{ 4898 return p[i]; 4899} 4900static char *f (char * (*g) (char **, int), char **p, ...) 4901{ 4902 char *s; 4903 va_list v; 4904 va_start (v,p); 4905 s = g (p, va_arg (v,int)); 4906 va_end (v); 4907 return s; 4908} 4909 4910/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 4911 function prototypes and stuff, but not '\xHH' hex character constants. 4912 These don't provoke an error unfortunately, instead are silently treated 4913 as 'x'. The following induces an error, until -std is added to get 4914 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 4915 array size at least. It's necessary to write '\x00'==0 to get something 4916 that's true only with -std. */ 4917int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 4918 4919/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 4920 inside strings and character constants. */ 4921#define FOO(x) 'x' 4922int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 4923 4924int test (int i, double x); 4925struct s1 {int (*f) (int a);}; 4926struct s2 {int (*f) (double a);}; 4927int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 4928int argc; 4929char **argv; 4930int 4931main () 4932{ 4933return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 4934 ; 4935 return 0; 4936} 4937_ACEOF 4938for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 4939 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 4940do 4941 CC="$ac_save_CC $ac_arg" 4942 if ac_fn_c_try_compile "$LINENO"; then : 4943 ac_cv_prog_cc_c89=$ac_arg 4944fi 4945rm -f core conftest.err conftest.$ac_objext 4946 test "x$ac_cv_prog_cc_c89" != "xno" && break 4947done 4948rm -f conftest.$ac_ext 4949CC=$ac_save_CC 4950 4951fi 4952# AC_CACHE_VAL 4953case "x$ac_cv_prog_cc_c89" in 4954 x) 4955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4956$as_echo "none needed" >&6; } ;; 4957 xno) 4958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4959$as_echo "unsupported" >&6; } ;; 4960 *) 4961 CC="$CC $ac_cv_prog_cc_c89" 4962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 4963$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 4964esac 4965if test "x$ac_cv_prog_cc_c89" != xno; then : 4966 4967fi 4968 4969ac_ext=c 4970ac_cpp='$CPP $CPPFLAGS' 4971ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4972ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4973ac_compiler_gnu=$ac_cv_c_compiler_gnu 4974 4975ac_ext=c 4976ac_cpp='$CPP $CPPFLAGS' 4977ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4978ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4979ac_compiler_gnu=$ac_cv_c_compiler_gnu 4980{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 4981$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 4982if ${am_cv_prog_cc_c_o+:} false; then : 4983 $as_echo_n "(cached) " >&6 4984else 4985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4986/* end confdefs.h. */ 4987 4988int 4989main () 4990{ 4991 4992 ; 4993 return 0; 4994} 4995_ACEOF 4996 # Make sure it works both with $CC and with simple cc. 4997 # Following AC_PROG_CC_C_O, we do the test twice because some 4998 # compilers refuse to overwrite an existing .o file with -o, 4999 # though they will create one. 5000 am_cv_prog_cc_c_o=yes 5001 for am_i in 1 2; do 5002 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 5003 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 5004 ac_status=$? 5005 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5006 (exit $ac_status); } \ 5007 && test -f conftest2.$ac_objext; then 5008 : OK 5009 else 5010 am_cv_prog_cc_c_o=no 5011 break 5012 fi 5013 done 5014 rm -f core conftest* 5015 unset am_i 5016fi 5017{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 5018$as_echo "$am_cv_prog_cc_c_o" >&6; } 5019if test "$am_cv_prog_cc_c_o" != yes; then 5020 # Losing compiler, so override with the script. 5021 # FIXME: It is wrong to rewrite CC. 5022 # But if we don't then we get into trouble of one sort or another. 5023 # A longer-term fix would be to have automake use am__CC in this case, 5024 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 5025 CC="$am_aux_dir/compile $CC" 5026fi 5027ac_ext=c 5028ac_cpp='$CPP $CPPFLAGS' 5029ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5030ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5031ac_compiler_gnu=$ac_cv_c_compiler_gnu 5032 5033DEPDIR="${am__leading_dot}deps" 5034 5035ac_config_commands="$ac_config_commands depfiles" 5036 5037{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5 5038$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; } 5039cat > confinc.mk << 'END' 5040am__doit: 5041 @echo this is the am__doit target >confinc.out 5042.PHONY: am__doit 5043END 5044am__include="#" 5045am__quote= 5046# BSD make does it like this. 5047echo '.include "confinc.mk" # ignored' > confmf.BSD 5048# Other make implementations (GNU, Solaris 10, AIX) do it like this. 5049echo 'include confinc.mk # ignored' > confmf.GNU 5050_am_result=no 5051for s in GNU BSD; do 5052 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5 5053 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5 5054 ac_status=$? 5055 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5056 (exit $ac_status); } 5057 case $?:`cat confinc.out 2>/dev/null` in #( 5058 '0:this is the am__doit target') : 5059 case $s in #( 5060 BSD) : 5061 am__include='.include' am__quote='"' ;; #( 5062 *) : 5063 am__include='include' am__quote='' ;; 5064esac ;; #( 5065 *) : 5066 ;; 5067esac 5068 if test "$am__include" != "#"; then 5069 _am_result="yes ($s style)" 5070 break 5071 fi 5072done 5073rm -f confinc.* confmf.* 5074{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5 5075$as_echo "${_am_result}" >&6; } 5076 5077# Check whether --enable-dependency-tracking was given. 5078if test "${enable_dependency_tracking+set}" = set; then : 5079 enableval=$enable_dependency_tracking; 5080fi 5081 5082if test "x$enable_dependency_tracking" != xno; then 5083 am_depcomp="$ac_aux_dir/depcomp" 5084 AMDEPBACKSLASH='\' 5085 am__nodep='_no' 5086fi 5087 if test "x$enable_dependency_tracking" != xno; then 5088 AMDEP_TRUE= 5089 AMDEP_FALSE='#' 5090else 5091 AMDEP_TRUE='#' 5092 AMDEP_FALSE= 5093fi 5094 5095 5096 5097depcc="$CC" am_compiler_list= 5098 5099{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 5100$as_echo_n "checking dependency style of $depcc... " >&6; } 5101if ${am_cv_CC_dependencies_compiler_type+:} false; then : 5102 $as_echo_n "(cached) " >&6 5103else 5104 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 5105 # We make a subdir and do the tests there. Otherwise we can end up 5106 # making bogus files that we don't know about and never remove. For 5107 # instance it was reported that on HP-UX the gcc test will end up 5108 # making a dummy file named 'D' -- because '-MD' means "put the output 5109 # in D". 5110 rm -rf conftest.dir 5111 mkdir conftest.dir 5112 # Copy depcomp to subdir because otherwise we won't find it if we're 5113 # using a relative directory. 5114 cp "$am_depcomp" conftest.dir 5115 cd conftest.dir 5116 # We will build objects and dependencies in a subdirectory because 5117 # it helps to detect inapplicable dependency modes. For instance 5118 # both Tru64's cc and ICC support -MD to output dependencies as a 5119 # side effect of compilation, but ICC will put the dependencies in 5120 # the current directory while Tru64 will put them in the object 5121 # directory. 5122 mkdir sub 5123 5124 am_cv_CC_dependencies_compiler_type=none 5125 if test "$am_compiler_list" = ""; then 5126 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 5127 fi 5128 am__universal=false 5129 case " $depcc " in #( 5130 *\ -arch\ *\ -arch\ *) am__universal=true ;; 5131 esac 5132 5133 for depmode in $am_compiler_list; do 5134 # Setup a source with many dependencies, because some compilers 5135 # like to wrap large dependency lists on column 80 (with \), and 5136 # we should not choose a depcomp mode which is confused by this. 5137 # 5138 # We need to recreate these files for each test, as the compiler may 5139 # overwrite some of them when testing with obscure command lines. 5140 # This happens at least with the AIX C compiler. 5141 : > sub/conftest.c 5142 for i in 1 2 3 4 5 6; do 5143 echo '#include "conftst'$i'.h"' >> sub/conftest.c 5144 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 5145 # Solaris 10 /bin/sh. 5146 echo '/* dummy */' > sub/conftst$i.h 5147 done 5148 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 5149 5150 # We check with '-c' and '-o' for the sake of the "dashmstdout" 5151 # mode. It turns out that the SunPro C++ compiler does not properly 5152 # handle '-M -o', and we need to detect this. Also, some Intel 5153 # versions had trouble with output in subdirs. 5154 am__obj=sub/conftest.${OBJEXT-o} 5155 am__minus_obj="-o $am__obj" 5156 case $depmode in 5157 gcc) 5158 # This depmode causes a compiler race in universal mode. 5159 test "$am__universal" = false || continue 5160 ;; 5161 nosideeffect) 5162 # After this tag, mechanisms are not by side-effect, so they'll 5163 # only be used when explicitly requested. 5164 if test "x$enable_dependency_tracking" = xyes; then 5165 continue 5166 else 5167 break 5168 fi 5169 ;; 5170 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 5171 # This compiler won't grok '-c -o', but also, the minuso test has 5172 # not run yet. These depmodes are late enough in the game, and 5173 # so weak that their functioning should not be impacted. 5174 am__obj=conftest.${OBJEXT-o} 5175 am__minus_obj= 5176 ;; 5177 none) break ;; 5178 esac 5179 if depmode=$depmode \ 5180 source=sub/conftest.c object=$am__obj \ 5181 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 5182 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 5183 >/dev/null 2>conftest.err && 5184 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 5185 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 5186 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 5187 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 5188 # icc doesn't choke on unknown options, it will just issue warnings 5189 # or remarks (even with -Werror). So we grep stderr for any message 5190 # that says an option was ignored or not supported. 5191 # When given -MP, icc 7.0 and 7.1 complain thusly: 5192 # icc: Command line warning: ignoring option '-M'; no argument required 5193 # The diagnosis changed in icc 8.0: 5194 # icc: Command line remark: option '-MP' not supported 5195 if (grep 'ignoring option' conftest.err || 5196 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 5197 am_cv_CC_dependencies_compiler_type=$depmode 5198 break 5199 fi 5200 fi 5201 done 5202 5203 cd .. 5204 rm -rf conftest.dir 5205else 5206 am_cv_CC_dependencies_compiler_type=none 5207fi 5208 5209fi 5210{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 5211$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 5212CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 5213 5214 if 5215 test "x$enable_dependency_tracking" != xno \ 5216 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 5217 am__fastdepCC_TRUE= 5218 am__fastdepCC_FALSE='#' 5219else 5220 am__fastdepCC_TRUE='#' 5221 am__fastdepCC_FALSE= 5222fi 5223 5224 5225 5226ac_ext=c 5227ac_cpp='$CPP $CPPFLAGS' 5228ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5229ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5230ac_compiler_gnu=$ac_cv_c_compiler_gnu 5231{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 5232$as_echo_n "checking how to run the C preprocessor... " >&6; } 5233# On Suns, sometimes $CPP names a directory. 5234if test -n "$CPP" && test -d "$CPP"; then 5235 CPP= 5236fi 5237if test -z "$CPP"; then 5238 if ${ac_cv_prog_CPP+:} false; then : 5239 $as_echo_n "(cached) " >&6 5240else 5241 # Double quotes because CPP needs to be expanded 5242 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 5243 do 5244 ac_preproc_ok=false 5245for ac_c_preproc_warn_flag in '' yes 5246do 5247 # Use a header file that comes with gcc, so configuring glibc 5248 # with a fresh cross-compiler works. 5249 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 5250 # <limits.h> exists even on freestanding compilers. 5251 # On the NeXT, cc -E runs the code through the compiler's parser, 5252 # not just through cpp. "Syntax error" is here to catch this case. 5253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5254/* end confdefs.h. */ 5255#ifdef __STDC__ 5256# include <limits.h> 5257#else 5258# include <assert.h> 5259#endif 5260 Syntax error 5261_ACEOF 5262if ac_fn_c_try_cpp "$LINENO"; then : 5263 5264else 5265 # Broken: fails on valid input. 5266continue 5267fi 5268rm -f conftest.err conftest.i conftest.$ac_ext 5269 5270 # OK, works on sane cases. Now check whether nonexistent headers 5271 # can be detected and how. 5272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5273/* end confdefs.h. */ 5274#include <ac_nonexistent.h> 5275_ACEOF 5276if ac_fn_c_try_cpp "$LINENO"; then : 5277 # Broken: success on invalid input. 5278continue 5279else 5280 # Passes both tests. 5281ac_preproc_ok=: 5282break 5283fi 5284rm -f conftest.err conftest.i conftest.$ac_ext 5285 5286done 5287# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 5288rm -f conftest.i conftest.err conftest.$ac_ext 5289if $ac_preproc_ok; then : 5290 break 5291fi 5292 5293 done 5294 ac_cv_prog_CPP=$CPP 5295 5296fi 5297 CPP=$ac_cv_prog_CPP 5298else 5299 ac_cv_prog_CPP=$CPP 5300fi 5301{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 5302$as_echo "$CPP" >&6; } 5303ac_preproc_ok=false 5304for ac_c_preproc_warn_flag in '' yes 5305do 5306 # Use a header file that comes with gcc, so configuring glibc 5307 # with a fresh cross-compiler works. 5308 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 5309 # <limits.h> exists even on freestanding compilers. 5310 # On the NeXT, cc -E runs the code through the compiler's parser, 5311 # not just through cpp. "Syntax error" is here to catch this case. 5312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5313/* end confdefs.h. */ 5314#ifdef __STDC__ 5315# include <limits.h> 5316#else 5317# include <assert.h> 5318#endif 5319 Syntax error 5320_ACEOF 5321if ac_fn_c_try_cpp "$LINENO"; then : 5322 5323else 5324 # Broken: fails on valid input. 5325continue 5326fi 5327rm -f conftest.err conftest.i conftest.$ac_ext 5328 5329 # OK, works on sane cases. Now check whether nonexistent headers 5330 # can be detected and how. 5331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5332/* end confdefs.h. */ 5333#include <ac_nonexistent.h> 5334_ACEOF 5335if ac_fn_c_try_cpp "$LINENO"; then : 5336 # Broken: success on invalid input. 5337continue 5338else 5339 # Passes both tests. 5340ac_preproc_ok=: 5341break 5342fi 5343rm -f conftest.err conftest.i conftest.$ac_ext 5344 5345done 5346# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 5347rm -f conftest.i conftest.err conftest.$ac_ext 5348if $ac_preproc_ok; then : 5349 5350else 5351 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5352$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 5353as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 5354See \`config.log' for more details" "$LINENO" 5; } 5355fi 5356 5357ac_ext=c 5358ac_cpp='$CPP $CPPFLAGS' 5359ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5360ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5361ac_compiler_gnu=$ac_cv_c_compiler_gnu 5362 5363 5364{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 5365$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 5366if ${ac_cv_path_GREP+:} false; then : 5367 $as_echo_n "(cached) " >&6 5368else 5369 if test -z "$GREP"; then 5370 ac_path_GREP_found=false 5371 # Loop through the user's path and test for each of PROGNAME-LIST 5372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5373for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5374do 5375 IFS=$as_save_IFS 5376 test -z "$as_dir" && as_dir=. 5377 for ac_prog in grep ggrep; do 5378 for ac_exec_ext in '' $ac_executable_extensions; do 5379 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 5380 as_fn_executable_p "$ac_path_GREP" || continue 5381# Check for GNU ac_path_GREP and select it if it is found. 5382 # Check for GNU $ac_path_GREP 5383case `"$ac_path_GREP" --version 2>&1` in 5384*GNU*) 5385 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 5386*) 5387 ac_count=0 5388 $as_echo_n 0123456789 >"conftest.in" 5389 while : 5390 do 5391 cat "conftest.in" "conftest.in" >"conftest.tmp" 5392 mv "conftest.tmp" "conftest.in" 5393 cp "conftest.in" "conftest.nl" 5394 $as_echo 'GREP' >> "conftest.nl" 5395 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 5396 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5397 as_fn_arith $ac_count + 1 && ac_count=$as_val 5398 if test $ac_count -gt ${ac_path_GREP_max-0}; then 5399 # Best one so far, save it but keep looking for a better one 5400 ac_cv_path_GREP="$ac_path_GREP" 5401 ac_path_GREP_max=$ac_count 5402 fi 5403 # 10*(2^10) chars as input seems more than enough 5404 test $ac_count -gt 10 && break 5405 done 5406 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5407esac 5408 5409 $ac_path_GREP_found && break 3 5410 done 5411 done 5412 done 5413IFS=$as_save_IFS 5414 if test -z "$ac_cv_path_GREP"; then 5415 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5416 fi 5417else 5418 ac_cv_path_GREP=$GREP 5419fi 5420 5421fi 5422{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 5423$as_echo "$ac_cv_path_GREP" >&6; } 5424 GREP="$ac_cv_path_GREP" 5425 5426 5427{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 5428$as_echo_n "checking for egrep... " >&6; } 5429if ${ac_cv_path_EGREP+:} false; then : 5430 $as_echo_n "(cached) " >&6 5431else 5432 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 5433 then ac_cv_path_EGREP="$GREP -E" 5434 else 5435 if test -z "$EGREP"; then 5436 ac_path_EGREP_found=false 5437 # Loop through the user's path and test for each of PROGNAME-LIST 5438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5439for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5440do 5441 IFS=$as_save_IFS 5442 test -z "$as_dir" && as_dir=. 5443 for ac_prog in egrep; do 5444 for ac_exec_ext in '' $ac_executable_extensions; do 5445 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 5446 as_fn_executable_p "$ac_path_EGREP" || continue 5447# Check for GNU ac_path_EGREP and select it if it is found. 5448 # Check for GNU $ac_path_EGREP 5449case `"$ac_path_EGREP" --version 2>&1` in 5450*GNU*) 5451 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 5452*) 5453 ac_count=0 5454 $as_echo_n 0123456789 >"conftest.in" 5455 while : 5456 do 5457 cat "conftest.in" "conftest.in" >"conftest.tmp" 5458 mv "conftest.tmp" "conftest.in" 5459 cp "conftest.in" "conftest.nl" 5460 $as_echo 'EGREP' >> "conftest.nl" 5461 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 5462 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5463 as_fn_arith $ac_count + 1 && ac_count=$as_val 5464 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 5465 # Best one so far, save it but keep looking for a better one 5466 ac_cv_path_EGREP="$ac_path_EGREP" 5467 ac_path_EGREP_max=$ac_count 5468 fi 5469 # 10*(2^10) chars as input seems more than enough 5470 test $ac_count -gt 10 && break 5471 done 5472 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5473esac 5474 5475 $ac_path_EGREP_found && break 3 5476 done 5477 done 5478 done 5479IFS=$as_save_IFS 5480 if test -z "$ac_cv_path_EGREP"; then 5481 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5482 fi 5483else 5484 ac_cv_path_EGREP=$EGREP 5485fi 5486 5487 fi 5488fi 5489{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 5490$as_echo "$ac_cv_path_EGREP" >&6; } 5491 EGREP="$ac_cv_path_EGREP" 5492 5493 5494if test $ac_cv_c_compiler_gnu = yes; then 5495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5 5496$as_echo_n "checking whether $CC needs -traditional... " >&6; } 5497if ${ac_cv_prog_gcc_traditional+:} false; then : 5498 $as_echo_n "(cached) " >&6 5499else 5500 ac_pattern="Autoconf.*'x'" 5501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5502/* end confdefs.h. */ 5503#include <sgtty.h> 5504Autoconf TIOCGETP 5505_ACEOF 5506if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5507 $EGREP "$ac_pattern" >/dev/null 2>&1; then : 5508 ac_cv_prog_gcc_traditional=yes 5509else 5510 ac_cv_prog_gcc_traditional=no 5511fi 5512rm -f conftest* 5513 5514 5515 if test $ac_cv_prog_gcc_traditional = no; then 5516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5517/* end confdefs.h. */ 5518#include <termio.h> 5519Autoconf TCGETA 5520_ACEOF 5521if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5522 $EGREP "$ac_pattern" >/dev/null 2>&1; then : 5523 ac_cv_prog_gcc_traditional=yes 5524fi 5525rm -f conftest* 5526 5527 fi 5528fi 5529{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5 5530$as_echo "$ac_cv_prog_gcc_traditional" >&6; } 5531 if test $ac_cv_prog_gcc_traditional = yes; then 5532 CC="$CC -traditional" 5533 fi 5534fi 5535 5536ac_ext=cpp 5537ac_cpp='$CXXCPP $CPPFLAGS' 5538ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5539ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5540ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 5541if test -z "$CXX"; then 5542 if test -n "$CCC"; then 5543 CXX=$CCC 5544 else 5545 if test -n "$ac_tool_prefix"; then 5546 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 5547 do 5548 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5549set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5550{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5551$as_echo_n "checking for $ac_word... " >&6; } 5552if ${ac_cv_prog_CXX+:} false; then : 5553 $as_echo_n "(cached) " >&6 5554else 5555 if test -n "$CXX"; then 5556 ac_cv_prog_CXX="$CXX" # Let the user override the test. 5557else 5558as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5559for as_dir in $PATH 5560do 5561 IFS=$as_save_IFS 5562 test -z "$as_dir" && as_dir=. 5563 for ac_exec_ext in '' $ac_executable_extensions; do 5564 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5565 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 5566 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5567 break 2 5568 fi 5569done 5570 done 5571IFS=$as_save_IFS 5572 5573fi 5574fi 5575CXX=$ac_cv_prog_CXX 5576if test -n "$CXX"; then 5577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 5578$as_echo "$CXX" >&6; } 5579else 5580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5581$as_echo "no" >&6; } 5582fi 5583 5584 5585 test -n "$CXX" && break 5586 done 5587fi 5588if test -z "$CXX"; then 5589 ac_ct_CXX=$CXX 5590 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 5591do 5592 # Extract the first word of "$ac_prog", so it can be a program name with args. 5593set dummy $ac_prog; ac_word=$2 5594{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5595$as_echo_n "checking for $ac_word... " >&6; } 5596if ${ac_cv_prog_ac_ct_CXX+:} false; then : 5597 $as_echo_n "(cached) " >&6 5598else 5599 if test -n "$ac_ct_CXX"; then 5600 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 5601else 5602as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5603for as_dir in $PATH 5604do 5605 IFS=$as_save_IFS 5606 test -z "$as_dir" && as_dir=. 5607 for ac_exec_ext in '' $ac_executable_extensions; do 5608 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5609 ac_cv_prog_ac_ct_CXX="$ac_prog" 5610 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5611 break 2 5612 fi 5613done 5614 done 5615IFS=$as_save_IFS 5616 5617fi 5618fi 5619ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 5620if test -n "$ac_ct_CXX"; then 5621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 5622$as_echo "$ac_ct_CXX" >&6; } 5623else 5624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5625$as_echo "no" >&6; } 5626fi 5627 5628 5629 test -n "$ac_ct_CXX" && break 5630done 5631 5632 if test "x$ac_ct_CXX" = x; then 5633 CXX="g++" 5634 else 5635 case $cross_compiling:$ac_tool_warned in 5636yes:) 5637{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5638$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5639ac_tool_warned=yes ;; 5640esac 5641 CXX=$ac_ct_CXX 5642 fi 5643fi 5644 5645 fi 5646fi 5647# Provide some information about the compiler. 5648$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 5649set X $ac_compile 5650ac_compiler=$2 5651for ac_option in --version -v -V -qversion; do 5652 { { ac_try="$ac_compiler $ac_option >&5" 5653case "(($ac_try" in 5654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5655 *) ac_try_echo=$ac_try;; 5656esac 5657eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 5658$as_echo "$ac_try_echo"; } >&5 5659 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 5660 ac_status=$? 5661 if test -s conftest.err; then 5662 sed '10a\ 5663... rest of stderr output deleted ... 5664 10q' conftest.err >conftest.er1 5665 cat conftest.er1 >&5 5666 fi 5667 rm -f conftest.er1 conftest.err 5668 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5669 test $ac_status = 0; } 5670done 5671 5672{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 5673$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 5674if ${ac_cv_cxx_compiler_gnu+:} false; then : 5675 $as_echo_n "(cached) " >&6 5676else 5677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5678/* end confdefs.h. */ 5679 5680int 5681main () 5682{ 5683#ifndef __GNUC__ 5684 choke me 5685#endif 5686 5687 ; 5688 return 0; 5689} 5690_ACEOF 5691if ac_fn_cxx_try_compile "$LINENO"; then : 5692 ac_compiler_gnu=yes 5693else 5694 ac_compiler_gnu=no 5695fi 5696rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5697ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 5698 5699fi 5700{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 5701$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 5702if test $ac_compiler_gnu = yes; then 5703 GXX=yes 5704else 5705 GXX= 5706fi 5707ac_test_CXXFLAGS=${CXXFLAGS+set} 5708ac_save_CXXFLAGS=$CXXFLAGS 5709{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 5710$as_echo_n "checking whether $CXX accepts -g... " >&6; } 5711if ${ac_cv_prog_cxx_g+:} false; then : 5712 $as_echo_n "(cached) " >&6 5713else 5714 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 5715 ac_cxx_werror_flag=yes 5716 ac_cv_prog_cxx_g=no 5717 CXXFLAGS="-g" 5718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5719/* end confdefs.h. */ 5720 5721int 5722main () 5723{ 5724 5725 ; 5726 return 0; 5727} 5728_ACEOF 5729if ac_fn_cxx_try_compile "$LINENO"; then : 5730 ac_cv_prog_cxx_g=yes 5731else 5732 CXXFLAGS="" 5733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5734/* end confdefs.h. */ 5735 5736int 5737main () 5738{ 5739 5740 ; 5741 return 0; 5742} 5743_ACEOF 5744if ac_fn_cxx_try_compile "$LINENO"; then : 5745 5746else 5747 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 5748 CXXFLAGS="-g" 5749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5750/* end confdefs.h. */ 5751 5752int 5753main () 5754{ 5755 5756 ; 5757 return 0; 5758} 5759_ACEOF 5760if ac_fn_cxx_try_compile "$LINENO"; then : 5761 ac_cv_prog_cxx_g=yes 5762fi 5763rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5764fi 5765rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5766fi 5767rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5768 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 5769fi 5770{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 5771$as_echo "$ac_cv_prog_cxx_g" >&6; } 5772if test "$ac_test_CXXFLAGS" = set; then 5773 CXXFLAGS=$ac_save_CXXFLAGS 5774elif test $ac_cv_prog_cxx_g = yes; then 5775 if test "$GXX" = yes; then 5776 CXXFLAGS="-g -O2" 5777 else 5778 CXXFLAGS="-g" 5779 fi 5780else 5781 if test "$GXX" = yes; then 5782 CXXFLAGS="-O2" 5783 else 5784 CXXFLAGS= 5785 fi 5786fi 5787ac_ext=c 5788ac_cpp='$CPP $CPPFLAGS' 5789ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5790ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5791ac_compiler_gnu=$ac_cv_c_compiler_gnu 5792 5793depcc="$CXX" am_compiler_list= 5794 5795{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 5796$as_echo_n "checking dependency style of $depcc... " >&6; } 5797if ${am_cv_CXX_dependencies_compiler_type+:} false; then : 5798 $as_echo_n "(cached) " >&6 5799else 5800 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 5801 # We make a subdir and do the tests there. Otherwise we can end up 5802 # making bogus files that we don't know about and never remove. For 5803 # instance it was reported that on HP-UX the gcc test will end up 5804 # making a dummy file named 'D' -- because '-MD' means "put the output 5805 # in D". 5806 rm -rf conftest.dir 5807 mkdir conftest.dir 5808 # Copy depcomp to subdir because otherwise we won't find it if we're 5809 # using a relative directory. 5810 cp "$am_depcomp" conftest.dir 5811 cd conftest.dir 5812 # We will build objects and dependencies in a subdirectory because 5813 # it helps to detect inapplicable dependency modes. For instance 5814 # both Tru64's cc and ICC support -MD to output dependencies as a 5815 # side effect of compilation, but ICC will put the dependencies in 5816 # the current directory while Tru64 will put them in the object 5817 # directory. 5818 mkdir sub 5819 5820 am_cv_CXX_dependencies_compiler_type=none 5821 if test "$am_compiler_list" = ""; then 5822 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 5823 fi 5824 am__universal=false 5825 case " $depcc " in #( 5826 *\ -arch\ *\ -arch\ *) am__universal=true ;; 5827 esac 5828 5829 for depmode in $am_compiler_list; do 5830 # Setup a source with many dependencies, because some compilers 5831 # like to wrap large dependency lists on column 80 (with \), and 5832 # we should not choose a depcomp mode which is confused by this. 5833 # 5834 # We need to recreate these files for each test, as the compiler may 5835 # overwrite some of them when testing with obscure command lines. 5836 # This happens at least with the AIX C compiler. 5837 : > sub/conftest.c 5838 for i in 1 2 3 4 5 6; do 5839 echo '#include "conftst'$i'.h"' >> sub/conftest.c 5840 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 5841 # Solaris 10 /bin/sh. 5842 echo '/* dummy */' > sub/conftst$i.h 5843 done 5844 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 5845 5846 # We check with '-c' and '-o' for the sake of the "dashmstdout" 5847 # mode. It turns out that the SunPro C++ compiler does not properly 5848 # handle '-M -o', and we need to detect this. Also, some Intel 5849 # versions had trouble with output in subdirs. 5850 am__obj=sub/conftest.${OBJEXT-o} 5851 am__minus_obj="-o $am__obj" 5852 case $depmode in 5853 gcc) 5854 # This depmode causes a compiler race in universal mode. 5855 test "$am__universal" = false || continue 5856 ;; 5857 nosideeffect) 5858 # After this tag, mechanisms are not by side-effect, so they'll 5859 # only be used when explicitly requested. 5860 if test "x$enable_dependency_tracking" = xyes; then 5861 continue 5862 else 5863 break 5864 fi 5865 ;; 5866 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 5867 # This compiler won't grok '-c -o', but also, the minuso test has 5868 # not run yet. These depmodes are late enough in the game, and 5869 # so weak that their functioning should not be impacted. 5870 am__obj=conftest.${OBJEXT-o} 5871 am__minus_obj= 5872 ;; 5873 none) break ;; 5874 esac 5875 if depmode=$depmode \ 5876 source=sub/conftest.c object=$am__obj \ 5877 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 5878 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 5879 >/dev/null 2>conftest.err && 5880 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 5881 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 5882 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 5883 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 5884 # icc doesn't choke on unknown options, it will just issue warnings 5885 # or remarks (even with -Werror). So we grep stderr for any message 5886 # that says an option was ignored or not supported. 5887 # When given -MP, icc 7.0 and 7.1 complain thusly: 5888 # icc: Command line warning: ignoring option '-M'; no argument required 5889 # The diagnosis changed in icc 8.0: 5890 # icc: Command line remark: option '-MP' not supported 5891 if (grep 'ignoring option' conftest.err || 5892 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 5893 am_cv_CXX_dependencies_compiler_type=$depmode 5894 break 5895 fi 5896 fi 5897 done 5898 5899 cd .. 5900 rm -rf conftest.dir 5901else 5902 am_cv_CXX_dependencies_compiler_type=none 5903fi 5904 5905fi 5906{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 5907$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } 5908CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type 5909 5910 if 5911 test "x$enable_dependency_tracking" != xno \ 5912 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then 5913 am__fastdepCXX_TRUE= 5914 am__fastdepCXX_FALSE='#' 5915else 5916 am__fastdepCXX_TRUE='#' 5917 am__fastdepCXX_FALSE= 5918fi 5919 5920 5921{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 5922$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 5923set x ${MAKE-make} 5924ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 5925if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 5926 $as_echo_n "(cached) " >&6 5927else 5928 cat >conftest.make <<\_ACEOF 5929SHELL = /bin/sh 5930all: 5931 @echo '@@@%%%=$(MAKE)=@@@%%%' 5932_ACEOF 5933# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 5934case `${MAKE-make} -f conftest.make 2>/dev/null` in 5935 *@@@%%%=?*=@@@%%%*) 5936 eval ac_cv_prog_make_${ac_make}_set=yes;; 5937 *) 5938 eval ac_cv_prog_make_${ac_make}_set=no;; 5939esac 5940rm -f conftest.make 5941fi 5942if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 5943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5944$as_echo "yes" >&6; } 5945 SET_MAKE= 5946else 5947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5948$as_echo "no" >&6; } 5949 SET_MAKE="MAKE=${MAKE-make}" 5950fi 5951 5952 5953 5954case `pwd` in 5955 *\ * | *\ *) 5956 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 5957$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 5958esac 5959 5960 5961 5962macro_version='2.4.6' 5963macro_revision='2.4.6' 5964 5965 5966 5967 5968 5969 5970 5971 5972 5973 5974 5975 5976 5977ltmain=$ac_aux_dir/ltmain.sh 5978 5979# Backslashify metacharacters that are still active within 5980# double-quoted strings. 5981sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 5982 5983# Same as above, but do not quote variable references. 5984double_quote_subst='s/\(["`\\]\)/\\\1/g' 5985 5986# Sed substitution to delay expansion of an escaped shell variable in a 5987# double_quote_subst'ed string. 5988delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 5989 5990# Sed substitution to delay expansion of an escaped single quote. 5991delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 5992 5993# Sed substitution to avoid accidental globbing in evaled expressions 5994no_glob_subst='s/\*/\\\*/g' 5995 5996ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 5997ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 5998ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 5999 6000{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 6001$as_echo_n "checking how to print strings... " >&6; } 6002# Test print first, because it will be a builtin if present. 6003if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 6004 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 6005 ECHO='print -r --' 6006elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 6007 ECHO='printf %s\n' 6008else 6009 # Use this function as a fallback that always works. 6010 func_fallback_echo () 6011 { 6012 eval 'cat <<_LTECHO_EOF 6013$1 6014_LTECHO_EOF' 6015 } 6016 ECHO='func_fallback_echo' 6017fi 6018 6019# func_echo_all arg... 6020# Invoke $ECHO with all args, space-separated. 6021func_echo_all () 6022{ 6023 $ECHO "" 6024} 6025 6026case $ECHO in 6027 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 6028$as_echo "printf" >&6; } ;; 6029 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 6030$as_echo "print -r" >&6; } ;; 6031 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 6032$as_echo "cat" >&6; } ;; 6033esac 6034 6035 6036 6037 6038 6039 6040 6041 6042 6043 6044 6045 6046 6047 6048{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 6049$as_echo_n "checking for a sed that does not truncate output... " >&6; } 6050if ${ac_cv_path_SED+:} false; then : 6051 $as_echo_n "(cached) " >&6 6052else 6053 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 6054 for ac_i in 1 2 3 4 5 6 7; do 6055 ac_script="$ac_script$as_nl$ac_script" 6056 done 6057 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 6058 { ac_script=; unset ac_script;} 6059 if test -z "$SED"; then 6060 ac_path_SED_found=false 6061 # Loop through the user's path and test for each of PROGNAME-LIST 6062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6063for as_dir in $PATH 6064do 6065 IFS=$as_save_IFS 6066 test -z "$as_dir" && as_dir=. 6067 for ac_prog in sed gsed; do 6068 for ac_exec_ext in '' $ac_executable_extensions; do 6069 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 6070 as_fn_executable_p "$ac_path_SED" || continue 6071# Check for GNU ac_path_SED and select it if it is found. 6072 # Check for GNU $ac_path_SED 6073case `"$ac_path_SED" --version 2>&1` in 6074*GNU*) 6075 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 6076*) 6077 ac_count=0 6078 $as_echo_n 0123456789 >"conftest.in" 6079 while : 6080 do 6081 cat "conftest.in" "conftest.in" >"conftest.tmp" 6082 mv "conftest.tmp" "conftest.in" 6083 cp "conftest.in" "conftest.nl" 6084 $as_echo '' >> "conftest.nl" 6085 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 6086 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 6087 as_fn_arith $ac_count + 1 && ac_count=$as_val 6088 if test $ac_count -gt ${ac_path_SED_max-0}; then 6089 # Best one so far, save it but keep looking for a better one 6090 ac_cv_path_SED="$ac_path_SED" 6091 ac_path_SED_max=$ac_count 6092 fi 6093 # 10*(2^10) chars as input seems more than enough 6094 test $ac_count -gt 10 && break 6095 done 6096 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 6097esac 6098 6099 $ac_path_SED_found && break 3 6100 done 6101 done 6102 done 6103IFS=$as_save_IFS 6104 if test -z "$ac_cv_path_SED"; then 6105 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 6106 fi 6107else 6108 ac_cv_path_SED=$SED 6109fi 6110 6111fi 6112{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 6113$as_echo "$ac_cv_path_SED" >&6; } 6114 SED="$ac_cv_path_SED" 6115 rm -f conftest.sed 6116 6117test -z "$SED" && SED=sed 6118Xsed="$SED -e 1s/^X//" 6119 6120 6121 6122 6123 6124 6125 6126 6127 6128 6129 6130{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 6131$as_echo_n "checking for fgrep... " >&6; } 6132if ${ac_cv_path_FGREP+:} false; then : 6133 $as_echo_n "(cached) " >&6 6134else 6135 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 6136 then ac_cv_path_FGREP="$GREP -F" 6137 else 6138 if test -z "$FGREP"; then 6139 ac_path_FGREP_found=false 6140 # Loop through the user's path and test for each of PROGNAME-LIST 6141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6142for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 6143do 6144 IFS=$as_save_IFS 6145 test -z "$as_dir" && as_dir=. 6146 for ac_prog in fgrep; do 6147 for ac_exec_ext in '' $ac_executable_extensions; do 6148 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 6149 as_fn_executable_p "$ac_path_FGREP" || continue 6150# Check for GNU ac_path_FGREP and select it if it is found. 6151 # Check for GNU $ac_path_FGREP 6152case `"$ac_path_FGREP" --version 2>&1` in 6153*GNU*) 6154 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 6155*) 6156 ac_count=0 6157 $as_echo_n 0123456789 >"conftest.in" 6158 while : 6159 do 6160 cat "conftest.in" "conftest.in" >"conftest.tmp" 6161 mv "conftest.tmp" "conftest.in" 6162 cp "conftest.in" "conftest.nl" 6163 $as_echo 'FGREP' >> "conftest.nl" 6164 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 6165 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 6166 as_fn_arith $ac_count + 1 && ac_count=$as_val 6167 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 6168 # Best one so far, save it but keep looking for a better one 6169 ac_cv_path_FGREP="$ac_path_FGREP" 6170 ac_path_FGREP_max=$ac_count 6171 fi 6172 # 10*(2^10) chars as input seems more than enough 6173 test $ac_count -gt 10 && break 6174 done 6175 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 6176esac 6177 6178 $ac_path_FGREP_found && break 3 6179 done 6180 done 6181 done 6182IFS=$as_save_IFS 6183 if test -z "$ac_cv_path_FGREP"; then 6184 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 6185 fi 6186else 6187 ac_cv_path_FGREP=$FGREP 6188fi 6189 6190 fi 6191fi 6192{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 6193$as_echo "$ac_cv_path_FGREP" >&6; } 6194 FGREP="$ac_cv_path_FGREP" 6195 6196 6197test -z "$GREP" && GREP=grep 6198 6199 6200 6201 6202 6203 6204 6205 6206 6207 6208 6209 6210 6211 6212 6213 6214 6215 6216 6217# Check whether --with-gnu-ld was given. 6218if test "${with_gnu_ld+set}" = set; then : 6219 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes 6220else 6221 with_gnu_ld=no 6222fi 6223 6224ac_prog=ld 6225if test yes = "$GCC"; then 6226 # Check if gcc -print-prog-name=ld gives a path. 6227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 6228$as_echo_n "checking for ld used by $CC... " >&6; } 6229 case $host in 6230 *-*-mingw*) 6231 # gcc leaves a trailing carriage return, which upsets mingw 6232 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 6233 *) 6234 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 6235 esac 6236 case $ac_prog in 6237 # Accept absolute paths. 6238 [\\/]* | ?:[\\/]*) 6239 re_direlt='/[^/][^/]*/\.\./' 6240 # Canonicalize the pathname of ld 6241 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 6242 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 6243 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 6244 done 6245 test -z "$LD" && LD=$ac_prog 6246 ;; 6247 "") 6248 # If it fails, then pretend we aren't using GCC. 6249 ac_prog=ld 6250 ;; 6251 *) 6252 # If it is relative, then search for the first ld in PATH. 6253 with_gnu_ld=unknown 6254 ;; 6255 esac 6256elif test yes = "$with_gnu_ld"; then 6257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 6258$as_echo_n "checking for GNU ld... " >&6; } 6259else 6260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 6261$as_echo_n "checking for non-GNU ld... " >&6; } 6262fi 6263if ${lt_cv_path_LD+:} false; then : 6264 $as_echo_n "(cached) " >&6 6265else 6266 if test -z "$LD"; then 6267 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 6268 for ac_dir in $PATH; do 6269 IFS=$lt_save_ifs 6270 test -z "$ac_dir" && ac_dir=. 6271 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 6272 lt_cv_path_LD=$ac_dir/$ac_prog 6273 # Check to see if the program is GNU ld. I'd rather use --version, 6274 # but apparently some variants of GNU ld only accept -v. 6275 # Break only if it was the GNU/non-GNU ld that we prefer. 6276 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 6277 *GNU* | *'with BFD'*) 6278 test no != "$with_gnu_ld" && break 6279 ;; 6280 *) 6281 test yes != "$with_gnu_ld" && break 6282 ;; 6283 esac 6284 fi 6285 done 6286 IFS=$lt_save_ifs 6287else 6288 lt_cv_path_LD=$LD # Let the user override the test with a path. 6289fi 6290fi 6291 6292LD=$lt_cv_path_LD 6293if test -n "$LD"; then 6294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 6295$as_echo "$LD" >&6; } 6296else 6297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6298$as_echo "no" >&6; } 6299fi 6300test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 6301{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 6302$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 6303if ${lt_cv_prog_gnu_ld+:} false; then : 6304 $as_echo_n "(cached) " >&6 6305else 6306 # I'd rather use --version here, but apparently some GNU lds only accept -v. 6307case `$LD -v 2>&1 </dev/null` in 6308*GNU* | *'with BFD'*) 6309 lt_cv_prog_gnu_ld=yes 6310 ;; 6311*) 6312 lt_cv_prog_gnu_ld=no 6313 ;; 6314esac 6315fi 6316{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 6317$as_echo "$lt_cv_prog_gnu_ld" >&6; } 6318with_gnu_ld=$lt_cv_prog_gnu_ld 6319 6320 6321 6322 6323 6324 6325 6326 6327 6328{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 6329$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 6330if ${lt_cv_path_NM+:} false; then : 6331 $as_echo_n "(cached) " >&6 6332else 6333 if test -n "$NM"; then 6334 # Let the user override the test. 6335 lt_cv_path_NM=$NM 6336else 6337 lt_nm_to_check=${ac_tool_prefix}nm 6338 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 6339 lt_nm_to_check="$lt_nm_to_check nm" 6340 fi 6341 for lt_tmp_nm in $lt_nm_to_check; do 6342 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 6343 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 6344 IFS=$lt_save_ifs 6345 test -z "$ac_dir" && ac_dir=. 6346 tmp_nm=$ac_dir/$lt_tmp_nm 6347 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then 6348 # Check to see if the nm accepts a BSD-compat flag. 6349 # Adding the 'sed 1q' prevents false positives on HP-UX, which says: 6350 # nm: unknown option "B" ignored 6351 # Tru64's nm complains that /dev/null is an invalid object file 6352 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty 6353 case $build_os in 6354 mingw*) lt_bad_file=conftest.nm/nofile ;; 6355 *) lt_bad_file=/dev/null ;; 6356 esac 6357 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in 6358 *$lt_bad_file* | *'Invalid file or object type'*) 6359 lt_cv_path_NM="$tmp_nm -B" 6360 break 2 6361 ;; 6362 *) 6363 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 6364 */dev/null*) 6365 lt_cv_path_NM="$tmp_nm -p" 6366 break 2 6367 ;; 6368 *) 6369 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 6370 continue # so that we can try to find one that supports BSD flags 6371 ;; 6372 esac 6373 ;; 6374 esac 6375 fi 6376 done 6377 IFS=$lt_save_ifs 6378 done 6379 : ${lt_cv_path_NM=no} 6380fi 6381fi 6382{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 6383$as_echo "$lt_cv_path_NM" >&6; } 6384if test no != "$lt_cv_path_NM"; then 6385 NM=$lt_cv_path_NM 6386else 6387 # Didn't find any BSD compatible name lister, look for dumpbin. 6388 if test -n "$DUMPBIN"; then : 6389 # Let the user override the test. 6390 else 6391 if test -n "$ac_tool_prefix"; then 6392 for ac_prog in dumpbin "link -dump" 6393 do 6394 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 6395set dummy $ac_tool_prefix$ac_prog; ac_word=$2 6396{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6397$as_echo_n "checking for $ac_word... " >&6; } 6398if ${ac_cv_prog_DUMPBIN+:} false; then : 6399 $as_echo_n "(cached) " >&6 6400else 6401 if test -n "$DUMPBIN"; then 6402 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 6403else 6404as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6405for as_dir in $PATH 6406do 6407 IFS=$as_save_IFS 6408 test -z "$as_dir" && as_dir=. 6409 for ac_exec_ext in '' $ac_executable_extensions; do 6410 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6411 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 6412 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6413 break 2 6414 fi 6415done 6416 done 6417IFS=$as_save_IFS 6418 6419fi 6420fi 6421DUMPBIN=$ac_cv_prog_DUMPBIN 6422if test -n "$DUMPBIN"; then 6423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 6424$as_echo "$DUMPBIN" >&6; } 6425else 6426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6427$as_echo "no" >&6; } 6428fi 6429 6430 6431 test -n "$DUMPBIN" && break 6432 done 6433fi 6434if test -z "$DUMPBIN"; then 6435 ac_ct_DUMPBIN=$DUMPBIN 6436 for ac_prog in dumpbin "link -dump" 6437do 6438 # Extract the first word of "$ac_prog", so it can be a program name with args. 6439set dummy $ac_prog; ac_word=$2 6440{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6441$as_echo_n "checking for $ac_word... " >&6; } 6442if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 6443 $as_echo_n "(cached) " >&6 6444else 6445 if test -n "$ac_ct_DUMPBIN"; then 6446 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 6447else 6448as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6449for as_dir in $PATH 6450do 6451 IFS=$as_save_IFS 6452 test -z "$as_dir" && as_dir=. 6453 for ac_exec_ext in '' $ac_executable_extensions; do 6454 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6455 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 6456 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6457 break 2 6458 fi 6459done 6460 done 6461IFS=$as_save_IFS 6462 6463fi 6464fi 6465ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 6466if test -n "$ac_ct_DUMPBIN"; then 6467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 6468$as_echo "$ac_ct_DUMPBIN" >&6; } 6469else 6470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6471$as_echo "no" >&6; } 6472fi 6473 6474 6475 test -n "$ac_ct_DUMPBIN" && break 6476done 6477 6478 if test "x$ac_ct_DUMPBIN" = x; then 6479 DUMPBIN=":" 6480 else 6481 case $cross_compiling:$ac_tool_warned in 6482yes:) 6483{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6484$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6485ac_tool_warned=yes ;; 6486esac 6487 DUMPBIN=$ac_ct_DUMPBIN 6488 fi 6489fi 6490 6491 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in 6492 *COFF*) 6493 DUMPBIN="$DUMPBIN -symbols -headers" 6494 ;; 6495 *) 6496 DUMPBIN=: 6497 ;; 6498 esac 6499 fi 6500 6501 if test : != "$DUMPBIN"; then 6502 NM=$DUMPBIN 6503 fi 6504fi 6505test -z "$NM" && NM=nm 6506 6507 6508 6509 6510 6511 6512{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 6513$as_echo_n "checking the name lister ($NM) interface... " >&6; } 6514if ${lt_cv_nm_interface+:} false; then : 6515 $as_echo_n "(cached) " >&6 6516else 6517 lt_cv_nm_interface="BSD nm" 6518 echo "int some_variable = 0;" > conftest.$ac_ext 6519 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 6520 (eval "$ac_compile" 2>conftest.err) 6521 cat conftest.err >&5 6522 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 6523 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 6524 cat conftest.err >&5 6525 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 6526 cat conftest.out >&5 6527 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 6528 lt_cv_nm_interface="MS dumpbin" 6529 fi 6530 rm -f conftest* 6531fi 6532{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 6533$as_echo "$lt_cv_nm_interface" >&6; } 6534 6535{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 6536$as_echo_n "checking whether ln -s works... " >&6; } 6537LN_S=$as_ln_s 6538if test "$LN_S" = "ln -s"; then 6539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6540$as_echo "yes" >&6; } 6541else 6542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 6543$as_echo "no, using $LN_S" >&6; } 6544fi 6545 6546# find the maximum length of command line arguments 6547{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 6548$as_echo_n "checking the maximum length of command line arguments... " >&6; } 6549if ${lt_cv_sys_max_cmd_len+:} false; then : 6550 $as_echo_n "(cached) " >&6 6551else 6552 i=0 6553 teststring=ABCD 6554 6555 case $build_os in 6556 msdosdjgpp*) 6557 # On DJGPP, this test can blow up pretty badly due to problems in libc 6558 # (any single argument exceeding 2000 bytes causes a buffer overrun 6559 # during glob expansion). Even if it were fixed, the result of this 6560 # check would be larger than it should be. 6561 lt_cv_sys_max_cmd_len=12288; # 12K is about right 6562 ;; 6563 6564 gnu*) 6565 # Under GNU Hurd, this test is not required because there is 6566 # no limit to the length of command line arguments. 6567 # Libtool will interpret -1 as no limit whatsoever 6568 lt_cv_sys_max_cmd_len=-1; 6569 ;; 6570 6571 cygwin* | mingw* | cegcc*) 6572 # On Win9x/ME, this test blows up -- it succeeds, but takes 6573 # about 5 minutes as the teststring grows exponentially. 6574 # Worse, since 9x/ME are not pre-emptively multitasking, 6575 # you end up with a "frozen" computer, even though with patience 6576 # the test eventually succeeds (with a max line length of 256k). 6577 # Instead, let's just punt: use the minimum linelength reported by 6578 # all of the supported platforms: 8192 (on NT/2K/XP). 6579 lt_cv_sys_max_cmd_len=8192; 6580 ;; 6581 6582 mint*) 6583 # On MiNT this can take a long time and run out of memory. 6584 lt_cv_sys_max_cmd_len=8192; 6585 ;; 6586 6587 amigaos*) 6588 # On AmigaOS with pdksh, this test takes hours, literally. 6589 # So we just punt and use a minimum line length of 8192. 6590 lt_cv_sys_max_cmd_len=8192; 6591 ;; 6592 6593 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*) 6594 # This has been around since 386BSD, at least. Likely further. 6595 if test -x /sbin/sysctl; then 6596 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 6597 elif test -x /usr/sbin/sysctl; then 6598 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 6599 else 6600 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 6601 fi 6602 # And add a safety zone 6603 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 6604 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 6605 ;; 6606 6607 interix*) 6608 # We know the value 262144 and hardcode it with a safety zone (like BSD) 6609 lt_cv_sys_max_cmd_len=196608 6610 ;; 6611 6612 os2*) 6613 # The test takes a long time on OS/2. 6614 lt_cv_sys_max_cmd_len=8192 6615 ;; 6616 6617 osf*) 6618 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 6619 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 6620 # nice to cause kernel panics so lets avoid the loop below. 6621 # First set a reasonable default. 6622 lt_cv_sys_max_cmd_len=16384 6623 # 6624 if test -x /sbin/sysconfig; then 6625 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 6626 *1*) lt_cv_sys_max_cmd_len=-1 ;; 6627 esac 6628 fi 6629 ;; 6630 sco3.2v5*) 6631 lt_cv_sys_max_cmd_len=102400 6632 ;; 6633 sysv5* | sco5v6* | sysv4.2uw2*) 6634 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 6635 if test -n "$kargmax"; then 6636 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 6637 else 6638 lt_cv_sys_max_cmd_len=32768 6639 fi 6640 ;; 6641 *) 6642 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 6643 if test -n "$lt_cv_sys_max_cmd_len" && \ 6644 test undefined != "$lt_cv_sys_max_cmd_len"; then 6645 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 6646 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 6647 else 6648 # Make teststring a little bigger before we do anything with it. 6649 # a 1K string should be a reasonable start. 6650 for i in 1 2 3 4 5 6 7 8; do 6651 teststring=$teststring$teststring 6652 done 6653 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 6654 # If test is not a shell built-in, we'll probably end up computing a 6655 # maximum length that is only half of the actual maximum length, but 6656 # we can't tell. 6657 while { test X`env echo "$teststring$teststring" 2>/dev/null` \ 6658 = "X$teststring$teststring"; } >/dev/null 2>&1 && 6659 test 17 != "$i" # 1/2 MB should be enough 6660 do 6661 i=`expr $i + 1` 6662 teststring=$teststring$teststring 6663 done 6664 # Only check the string length outside the loop. 6665 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 6666 teststring= 6667 # Add a significant safety factor because C++ compilers can tack on 6668 # massive amounts of additional arguments before passing them to the 6669 # linker. It appears as though 1/2 is a usable value. 6670 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 6671 fi 6672 ;; 6673 esac 6674 6675fi 6676 6677if test -n "$lt_cv_sys_max_cmd_len"; then 6678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 6679$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 6680else 6681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 6682$as_echo "none" >&6; } 6683fi 6684max_cmd_len=$lt_cv_sys_max_cmd_len 6685 6686 6687 6688 6689 6690 6691: ${CP="cp -f"} 6692: ${MV="mv -f"} 6693: ${RM="rm -f"} 6694 6695if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 6696 lt_unset=unset 6697else 6698 lt_unset=false 6699fi 6700 6701 6702 6703 6704 6705# test EBCDIC or ASCII 6706case `echo X|tr X '\101'` in 6707 A) # ASCII based system 6708 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 6709 lt_SP2NL='tr \040 \012' 6710 lt_NL2SP='tr \015\012 \040\040' 6711 ;; 6712 *) # EBCDIC based system 6713 lt_SP2NL='tr \100 \n' 6714 lt_NL2SP='tr \r\n \100\100' 6715 ;; 6716esac 6717 6718 6719 6720 6721 6722 6723 6724 6725 6726{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 6727$as_echo_n "checking how to convert $build file names to $host format... " >&6; } 6728if ${lt_cv_to_host_file_cmd+:} false; then : 6729 $as_echo_n "(cached) " >&6 6730else 6731 case $host in 6732 *-*-mingw* ) 6733 case $build in 6734 *-*-mingw* ) # actually msys 6735 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 6736 ;; 6737 *-*-cygwin* ) 6738 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 6739 ;; 6740 * ) # otherwise, assume *nix 6741 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 6742 ;; 6743 esac 6744 ;; 6745 *-*-cygwin* ) 6746 case $build in 6747 *-*-mingw* ) # actually msys 6748 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 6749 ;; 6750 *-*-cygwin* ) 6751 lt_cv_to_host_file_cmd=func_convert_file_noop 6752 ;; 6753 * ) # otherwise, assume *nix 6754 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 6755 ;; 6756 esac 6757 ;; 6758 * ) # unhandled hosts (and "normal" native builds) 6759 lt_cv_to_host_file_cmd=func_convert_file_noop 6760 ;; 6761esac 6762 6763fi 6764 6765to_host_file_cmd=$lt_cv_to_host_file_cmd 6766{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 6767$as_echo "$lt_cv_to_host_file_cmd" >&6; } 6768 6769 6770 6771 6772 6773{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 6774$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 6775if ${lt_cv_to_tool_file_cmd+:} false; then : 6776 $as_echo_n "(cached) " >&6 6777else 6778 #assume ordinary cross tools, or native build. 6779lt_cv_to_tool_file_cmd=func_convert_file_noop 6780case $host in 6781 *-*-mingw* ) 6782 case $build in 6783 *-*-mingw* ) # actually msys 6784 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 6785 ;; 6786 esac 6787 ;; 6788esac 6789 6790fi 6791 6792to_tool_file_cmd=$lt_cv_to_tool_file_cmd 6793{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 6794$as_echo "$lt_cv_to_tool_file_cmd" >&6; } 6795 6796 6797 6798 6799 6800{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 6801$as_echo_n "checking for $LD option to reload object files... " >&6; } 6802if ${lt_cv_ld_reload_flag+:} false; then : 6803 $as_echo_n "(cached) " >&6 6804else 6805 lt_cv_ld_reload_flag='-r' 6806fi 6807{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 6808$as_echo "$lt_cv_ld_reload_flag" >&6; } 6809reload_flag=$lt_cv_ld_reload_flag 6810case $reload_flag in 6811"" | " "*) ;; 6812*) reload_flag=" $reload_flag" ;; 6813esac 6814reload_cmds='$LD$reload_flag -o $output$reload_objs' 6815case $host_os in 6816 cygwin* | mingw* | pw32* | cegcc*) 6817 if test yes != "$GCC"; then 6818 reload_cmds=false 6819 fi 6820 ;; 6821 darwin*) 6822 if test yes = "$GCC"; then 6823 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs' 6824 else 6825 reload_cmds='$LD$reload_flag -o $output$reload_objs' 6826 fi 6827 ;; 6828esac 6829 6830 6831 6832 6833 6834 6835 6836 6837 6838if test -n "$ac_tool_prefix"; then 6839 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 6840set dummy ${ac_tool_prefix}objdump; ac_word=$2 6841{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6842$as_echo_n "checking for $ac_word... " >&6; } 6843if ${ac_cv_prog_OBJDUMP+:} false; then : 6844 $as_echo_n "(cached) " >&6 6845else 6846 if test -n "$OBJDUMP"; then 6847 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 6848else 6849as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6850for as_dir in $PATH 6851do 6852 IFS=$as_save_IFS 6853 test -z "$as_dir" && as_dir=. 6854 for ac_exec_ext in '' $ac_executable_extensions; do 6855 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6856 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 6857 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6858 break 2 6859 fi 6860done 6861 done 6862IFS=$as_save_IFS 6863 6864fi 6865fi 6866OBJDUMP=$ac_cv_prog_OBJDUMP 6867if test -n "$OBJDUMP"; then 6868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 6869$as_echo "$OBJDUMP" >&6; } 6870else 6871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6872$as_echo "no" >&6; } 6873fi 6874 6875 6876fi 6877if test -z "$ac_cv_prog_OBJDUMP"; then 6878 ac_ct_OBJDUMP=$OBJDUMP 6879 # Extract the first word of "objdump", so it can be a program name with args. 6880set dummy objdump; ac_word=$2 6881{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6882$as_echo_n "checking for $ac_word... " >&6; } 6883if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 6884 $as_echo_n "(cached) " >&6 6885else 6886 if test -n "$ac_ct_OBJDUMP"; then 6887 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 6888else 6889as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6890for as_dir in $PATH 6891do 6892 IFS=$as_save_IFS 6893 test -z "$as_dir" && as_dir=. 6894 for ac_exec_ext in '' $ac_executable_extensions; do 6895 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6896 ac_cv_prog_ac_ct_OBJDUMP="objdump" 6897 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6898 break 2 6899 fi 6900done 6901 done 6902IFS=$as_save_IFS 6903 6904fi 6905fi 6906ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 6907if test -n "$ac_ct_OBJDUMP"; then 6908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 6909$as_echo "$ac_ct_OBJDUMP" >&6; } 6910else 6911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6912$as_echo "no" >&6; } 6913fi 6914 6915 if test "x$ac_ct_OBJDUMP" = x; then 6916 OBJDUMP="false" 6917 else 6918 case $cross_compiling:$ac_tool_warned in 6919yes:) 6920{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6921$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6922ac_tool_warned=yes ;; 6923esac 6924 OBJDUMP=$ac_ct_OBJDUMP 6925 fi 6926else 6927 OBJDUMP="$ac_cv_prog_OBJDUMP" 6928fi 6929 6930test -z "$OBJDUMP" && OBJDUMP=objdump 6931 6932 6933 6934 6935 6936 6937{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 6938$as_echo_n "checking how to recognize dependent libraries... " >&6; } 6939if ${lt_cv_deplibs_check_method+:} false; then : 6940 $as_echo_n "(cached) " >&6 6941else 6942 lt_cv_file_magic_cmd='$MAGIC_CMD' 6943lt_cv_file_magic_test_file= 6944lt_cv_deplibs_check_method='unknown' 6945# Need to set the preceding variable on all platforms that support 6946# interlibrary dependencies. 6947# 'none' -- dependencies not supported. 6948# 'unknown' -- same as none, but documents that we really don't know. 6949# 'pass_all' -- all dependencies passed with no checks. 6950# 'test_compile' -- check by making test program. 6951# 'file_magic [[regex]]' -- check by looking for files in library path 6952# that responds to the $file_magic_cmd with a given extended regex. 6953# If you have 'file' or equivalent on your system and you're not sure 6954# whether 'pass_all' will *always* work, you probably want this one. 6955 6956case $host_os in 6957aix[4-9]*) 6958 lt_cv_deplibs_check_method=pass_all 6959 ;; 6960 6961beos*) 6962 lt_cv_deplibs_check_method=pass_all 6963 ;; 6964 6965bsdi[45]*) 6966 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 6967 lt_cv_file_magic_cmd='/usr/bin/file -L' 6968 lt_cv_file_magic_test_file=/shlib/libc.so 6969 ;; 6970 6971cygwin*) 6972 # func_win32_libid is a shell function defined in ltmain.sh 6973 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 6974 lt_cv_file_magic_cmd='func_win32_libid' 6975 ;; 6976 6977mingw* | pw32*) 6978 # Base MSYS/MinGW do not provide the 'file' command needed by 6979 # func_win32_libid shell function, so use a weaker test based on 'objdump', 6980 # unless we find 'file', for example because we are cross-compiling. 6981 if ( file / ) >/dev/null 2>&1; then 6982 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 6983 lt_cv_file_magic_cmd='func_win32_libid' 6984 else 6985 # Keep this pattern in sync with the one in func_win32_libid. 6986 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 6987 lt_cv_file_magic_cmd='$OBJDUMP -f' 6988 fi 6989 ;; 6990 6991cegcc*) 6992 # use the weaker test based on 'objdump'. See mingw*. 6993 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 6994 lt_cv_file_magic_cmd='$OBJDUMP -f' 6995 ;; 6996 6997darwin* | rhapsody*) 6998 lt_cv_deplibs_check_method=pass_all 6999 ;; 7000 7001freebsd* | dragonfly*) 7002 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 7003 case $host_cpu in 7004 i*86 ) 7005 # Not sure whether the presence of OpenBSD here was a mistake. 7006 # Let's accept both of them until this is cleared up. 7007 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 7008 lt_cv_file_magic_cmd=/usr/bin/file 7009 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 7010 ;; 7011 esac 7012 else 7013 lt_cv_deplibs_check_method=pass_all 7014 fi 7015 ;; 7016 7017haiku*) 7018 lt_cv_deplibs_check_method=pass_all 7019 ;; 7020 7021hpux10.20* | hpux11*) 7022 lt_cv_file_magic_cmd=/usr/bin/file 7023 case $host_cpu in 7024 ia64*) 7025 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 7026 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 7027 ;; 7028 hppa*64*) 7029 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]' 7030 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 7031 ;; 7032 *) 7033 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 7034 lt_cv_file_magic_test_file=/usr/lib/libc.sl 7035 ;; 7036 esac 7037 ;; 7038 7039interix[3-9]*) 7040 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 7041 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 7042 ;; 7043 7044irix5* | irix6* | nonstopux*) 7045 case $LD in 7046 *-32|*"-32 ") libmagic=32-bit;; 7047 *-n32|*"-n32 ") libmagic=N32;; 7048 *-64|*"-64 ") libmagic=64-bit;; 7049 *) libmagic=never-match;; 7050 esac 7051 lt_cv_deplibs_check_method=pass_all 7052 ;; 7053 7054# This must be glibc/ELF. 7055linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 7056 lt_cv_deplibs_check_method=pass_all 7057 ;; 7058 7059netbsd*) 7060 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 7061 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 7062 else 7063 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 7064 fi 7065 ;; 7066 7067newos6*) 7068 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 7069 lt_cv_file_magic_cmd=/usr/bin/file 7070 lt_cv_file_magic_test_file=/usr/lib/libnls.so 7071 ;; 7072 7073*nto* | *qnx*) 7074 lt_cv_deplibs_check_method=pass_all 7075 ;; 7076 7077openbsd* | bitrig*) 7078 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 7079 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 7080 else 7081 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 7082 fi 7083 ;; 7084 7085osf3* | osf4* | osf5*) 7086 lt_cv_deplibs_check_method=pass_all 7087 ;; 7088 7089rdos*) 7090 lt_cv_deplibs_check_method=pass_all 7091 ;; 7092 7093solaris*) 7094 lt_cv_deplibs_check_method=pass_all 7095 ;; 7096 7097sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 7098 lt_cv_deplibs_check_method=pass_all 7099 ;; 7100 7101sysv4 | sysv4.3*) 7102 case $host_vendor in 7103 motorola) 7104 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]' 7105 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 7106 ;; 7107 ncr) 7108 lt_cv_deplibs_check_method=pass_all 7109 ;; 7110 sequent) 7111 lt_cv_file_magic_cmd='/bin/file' 7112 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 7113 ;; 7114 sni) 7115 lt_cv_file_magic_cmd='/bin/file' 7116 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 7117 lt_cv_file_magic_test_file=/lib/libc.so 7118 ;; 7119 siemens) 7120 lt_cv_deplibs_check_method=pass_all 7121 ;; 7122 pc) 7123 lt_cv_deplibs_check_method=pass_all 7124 ;; 7125 esac 7126 ;; 7127 7128tpf*) 7129 lt_cv_deplibs_check_method=pass_all 7130 ;; 7131os2*) 7132 lt_cv_deplibs_check_method=pass_all 7133 ;; 7134esac 7135 7136fi 7137{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 7138$as_echo "$lt_cv_deplibs_check_method" >&6; } 7139 7140file_magic_glob= 7141want_nocaseglob=no 7142if test "$build" = "$host"; then 7143 case $host_os in 7144 mingw* | pw32*) 7145 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then 7146 want_nocaseglob=yes 7147 else 7148 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` 7149 fi 7150 ;; 7151 esac 7152fi 7153 7154file_magic_cmd=$lt_cv_file_magic_cmd 7155deplibs_check_method=$lt_cv_deplibs_check_method 7156test -z "$deplibs_check_method" && deplibs_check_method=unknown 7157 7158 7159 7160 7161 7162 7163 7164 7165 7166 7167 7168 7169 7170 7171 7172 7173 7174 7175 7176 7177 7178 7179if test -n "$ac_tool_prefix"; then 7180 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 7181set dummy ${ac_tool_prefix}dlltool; ac_word=$2 7182{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7183$as_echo_n "checking for $ac_word... " >&6; } 7184if ${ac_cv_prog_DLLTOOL+:} false; then : 7185 $as_echo_n "(cached) " >&6 7186else 7187 if test -n "$DLLTOOL"; then 7188 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 7189else 7190as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7191for as_dir in $PATH 7192do 7193 IFS=$as_save_IFS 7194 test -z "$as_dir" && as_dir=. 7195 for ac_exec_ext in '' $ac_executable_extensions; do 7196 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7197 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 7198 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7199 break 2 7200 fi 7201done 7202 done 7203IFS=$as_save_IFS 7204 7205fi 7206fi 7207DLLTOOL=$ac_cv_prog_DLLTOOL 7208if test -n "$DLLTOOL"; then 7209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 7210$as_echo "$DLLTOOL" >&6; } 7211else 7212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7213$as_echo "no" >&6; } 7214fi 7215 7216 7217fi 7218if test -z "$ac_cv_prog_DLLTOOL"; then 7219 ac_ct_DLLTOOL=$DLLTOOL 7220 # Extract the first word of "dlltool", so it can be a program name with args. 7221set dummy dlltool; ac_word=$2 7222{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7223$as_echo_n "checking for $ac_word... " >&6; } 7224if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 7225 $as_echo_n "(cached) " >&6 7226else 7227 if test -n "$ac_ct_DLLTOOL"; then 7228 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 7229else 7230as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7231for as_dir in $PATH 7232do 7233 IFS=$as_save_IFS 7234 test -z "$as_dir" && as_dir=. 7235 for ac_exec_ext in '' $ac_executable_extensions; do 7236 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7237 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 7238 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7239 break 2 7240 fi 7241done 7242 done 7243IFS=$as_save_IFS 7244 7245fi 7246fi 7247ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 7248if test -n "$ac_ct_DLLTOOL"; then 7249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 7250$as_echo "$ac_ct_DLLTOOL" >&6; } 7251else 7252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7253$as_echo "no" >&6; } 7254fi 7255 7256 if test "x$ac_ct_DLLTOOL" = x; then 7257 DLLTOOL="false" 7258 else 7259 case $cross_compiling:$ac_tool_warned in 7260yes:) 7261{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7262$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7263ac_tool_warned=yes ;; 7264esac 7265 DLLTOOL=$ac_ct_DLLTOOL 7266 fi 7267else 7268 DLLTOOL="$ac_cv_prog_DLLTOOL" 7269fi 7270 7271test -z "$DLLTOOL" && DLLTOOL=dlltool 7272 7273 7274 7275 7276 7277 7278 7279{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 7280$as_echo_n "checking how to associate runtime and link libraries... " >&6; } 7281if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 7282 $as_echo_n "(cached) " >&6 7283else 7284 lt_cv_sharedlib_from_linklib_cmd='unknown' 7285 7286case $host_os in 7287cygwin* | mingw* | pw32* | cegcc*) 7288 # two different shell functions defined in ltmain.sh; 7289 # decide which one to use based on capabilities of $DLLTOOL 7290 case `$DLLTOOL --help 2>&1` in 7291 *--identify-strict*) 7292 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 7293 ;; 7294 *) 7295 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 7296 ;; 7297 esac 7298 ;; 7299*) 7300 # fallback: assume linklib IS sharedlib 7301 lt_cv_sharedlib_from_linklib_cmd=$ECHO 7302 ;; 7303esac 7304 7305fi 7306{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 7307$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 7308sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 7309test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 7310 7311 7312 7313 7314 7315 7316 7317if test -n "$ac_tool_prefix"; then 7318 for ac_prog in ar 7319 do 7320 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 7321set dummy $ac_tool_prefix$ac_prog; ac_word=$2 7322{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7323$as_echo_n "checking for $ac_word... " >&6; } 7324if ${ac_cv_prog_AR+:} false; then : 7325 $as_echo_n "(cached) " >&6 7326else 7327 if test -n "$AR"; then 7328 ac_cv_prog_AR="$AR" # Let the user override the test. 7329else 7330as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7331for as_dir in $PATH 7332do 7333 IFS=$as_save_IFS 7334 test -z "$as_dir" && as_dir=. 7335 for ac_exec_ext in '' $ac_executable_extensions; do 7336 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7337 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 7338 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7339 break 2 7340 fi 7341done 7342 done 7343IFS=$as_save_IFS 7344 7345fi 7346fi 7347AR=$ac_cv_prog_AR 7348if test -n "$AR"; then 7349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 7350$as_echo "$AR" >&6; } 7351else 7352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7353$as_echo "no" >&6; } 7354fi 7355 7356 7357 test -n "$AR" && break 7358 done 7359fi 7360if test -z "$AR"; then 7361 ac_ct_AR=$AR 7362 for ac_prog in ar 7363do 7364 # Extract the first word of "$ac_prog", so it can be a program name with args. 7365set dummy $ac_prog; ac_word=$2 7366{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7367$as_echo_n "checking for $ac_word... " >&6; } 7368if ${ac_cv_prog_ac_ct_AR+:} false; then : 7369 $as_echo_n "(cached) " >&6 7370else 7371 if test -n "$ac_ct_AR"; then 7372 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 7373else 7374as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7375for as_dir in $PATH 7376do 7377 IFS=$as_save_IFS 7378 test -z "$as_dir" && as_dir=. 7379 for ac_exec_ext in '' $ac_executable_extensions; do 7380 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7381 ac_cv_prog_ac_ct_AR="$ac_prog" 7382 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7383 break 2 7384 fi 7385done 7386 done 7387IFS=$as_save_IFS 7388 7389fi 7390fi 7391ac_ct_AR=$ac_cv_prog_ac_ct_AR 7392if test -n "$ac_ct_AR"; then 7393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 7394$as_echo "$ac_ct_AR" >&6; } 7395else 7396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7397$as_echo "no" >&6; } 7398fi 7399 7400 7401 test -n "$ac_ct_AR" && break 7402done 7403 7404 if test "x$ac_ct_AR" = x; then 7405 AR="false" 7406 else 7407 case $cross_compiling:$ac_tool_warned in 7408yes:) 7409{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7410$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7411ac_tool_warned=yes ;; 7412esac 7413 AR=$ac_ct_AR 7414 fi 7415fi 7416 7417: ${AR=ar} 7418: ${AR_FLAGS=cru} 7419 7420 7421 7422 7423 7424 7425 7426 7427 7428 7429 7430{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 7431$as_echo_n "checking for archiver @FILE support... " >&6; } 7432if ${lt_cv_ar_at_file+:} false; then : 7433 $as_echo_n "(cached) " >&6 7434else 7435 lt_cv_ar_at_file=no 7436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7437/* end confdefs.h. */ 7438 7439int 7440main () 7441{ 7442 7443 ; 7444 return 0; 7445} 7446_ACEOF 7447if ac_fn_c_try_compile "$LINENO"; then : 7448 echo conftest.$ac_objext > conftest.lst 7449 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 7450 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 7451 (eval $lt_ar_try) 2>&5 7452 ac_status=$? 7453 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7454 test $ac_status = 0; } 7455 if test 0 -eq "$ac_status"; then 7456 # Ensure the archiver fails upon bogus file names. 7457 rm -f conftest.$ac_objext libconftest.a 7458 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 7459 (eval $lt_ar_try) 2>&5 7460 ac_status=$? 7461 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7462 test $ac_status = 0; } 7463 if test 0 -ne "$ac_status"; then 7464 lt_cv_ar_at_file=@ 7465 fi 7466 fi 7467 rm -f conftest.* libconftest.a 7468 7469fi 7470rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7471 7472fi 7473{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 7474$as_echo "$lt_cv_ar_at_file" >&6; } 7475 7476if test no = "$lt_cv_ar_at_file"; then 7477 archiver_list_spec= 7478else 7479 archiver_list_spec=$lt_cv_ar_at_file 7480fi 7481 7482 7483 7484 7485 7486 7487 7488if test -n "$ac_tool_prefix"; then 7489 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 7490set dummy ${ac_tool_prefix}strip; ac_word=$2 7491{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7492$as_echo_n "checking for $ac_word... " >&6; } 7493if ${ac_cv_prog_STRIP+:} false; then : 7494 $as_echo_n "(cached) " >&6 7495else 7496 if test -n "$STRIP"; then 7497 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 7498else 7499as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7500for as_dir in $PATH 7501do 7502 IFS=$as_save_IFS 7503 test -z "$as_dir" && as_dir=. 7504 for ac_exec_ext in '' $ac_executable_extensions; do 7505 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7506 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 7507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7508 break 2 7509 fi 7510done 7511 done 7512IFS=$as_save_IFS 7513 7514fi 7515fi 7516STRIP=$ac_cv_prog_STRIP 7517if test -n "$STRIP"; then 7518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 7519$as_echo "$STRIP" >&6; } 7520else 7521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7522$as_echo "no" >&6; } 7523fi 7524 7525 7526fi 7527if test -z "$ac_cv_prog_STRIP"; then 7528 ac_ct_STRIP=$STRIP 7529 # Extract the first word of "strip", so it can be a program name with args. 7530set dummy strip; ac_word=$2 7531{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7532$as_echo_n "checking for $ac_word... " >&6; } 7533if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 7534 $as_echo_n "(cached) " >&6 7535else 7536 if test -n "$ac_ct_STRIP"; then 7537 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 7538else 7539as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7540for as_dir in $PATH 7541do 7542 IFS=$as_save_IFS 7543 test -z "$as_dir" && as_dir=. 7544 for ac_exec_ext in '' $ac_executable_extensions; do 7545 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7546 ac_cv_prog_ac_ct_STRIP="strip" 7547 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7548 break 2 7549 fi 7550done 7551 done 7552IFS=$as_save_IFS 7553 7554fi 7555fi 7556ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 7557if test -n "$ac_ct_STRIP"; then 7558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 7559$as_echo "$ac_ct_STRIP" >&6; } 7560else 7561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7562$as_echo "no" >&6; } 7563fi 7564 7565 if test "x$ac_ct_STRIP" = x; then 7566 STRIP=":" 7567 else 7568 case $cross_compiling:$ac_tool_warned in 7569yes:) 7570{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7571$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7572ac_tool_warned=yes ;; 7573esac 7574 STRIP=$ac_ct_STRIP 7575 fi 7576else 7577 STRIP="$ac_cv_prog_STRIP" 7578fi 7579 7580test -z "$STRIP" && STRIP=: 7581 7582 7583 7584 7585 7586 7587if test -n "$ac_tool_prefix"; then 7588 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 7589set dummy ${ac_tool_prefix}ranlib; ac_word=$2 7590{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7591$as_echo_n "checking for $ac_word... " >&6; } 7592if ${ac_cv_prog_RANLIB+:} false; then : 7593 $as_echo_n "(cached) " >&6 7594else 7595 if test -n "$RANLIB"; then 7596 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 7597else 7598as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7599for as_dir in $PATH 7600do 7601 IFS=$as_save_IFS 7602 test -z "$as_dir" && as_dir=. 7603 for ac_exec_ext in '' $ac_executable_extensions; do 7604 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7605 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 7606 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7607 break 2 7608 fi 7609done 7610 done 7611IFS=$as_save_IFS 7612 7613fi 7614fi 7615RANLIB=$ac_cv_prog_RANLIB 7616if test -n "$RANLIB"; then 7617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 7618$as_echo "$RANLIB" >&6; } 7619else 7620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7621$as_echo "no" >&6; } 7622fi 7623 7624 7625fi 7626if test -z "$ac_cv_prog_RANLIB"; then 7627 ac_ct_RANLIB=$RANLIB 7628 # Extract the first word of "ranlib", so it can be a program name with args. 7629set dummy ranlib; ac_word=$2 7630{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7631$as_echo_n "checking for $ac_word... " >&6; } 7632if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 7633 $as_echo_n "(cached) " >&6 7634else 7635 if test -n "$ac_ct_RANLIB"; then 7636 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 7637else 7638as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7639for as_dir in $PATH 7640do 7641 IFS=$as_save_IFS 7642 test -z "$as_dir" && as_dir=. 7643 for ac_exec_ext in '' $ac_executable_extensions; do 7644 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7645 ac_cv_prog_ac_ct_RANLIB="ranlib" 7646 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7647 break 2 7648 fi 7649done 7650 done 7651IFS=$as_save_IFS 7652 7653fi 7654fi 7655ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 7656if test -n "$ac_ct_RANLIB"; then 7657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 7658$as_echo "$ac_ct_RANLIB" >&6; } 7659else 7660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7661$as_echo "no" >&6; } 7662fi 7663 7664 if test "x$ac_ct_RANLIB" = x; then 7665 RANLIB=":" 7666 else 7667 case $cross_compiling:$ac_tool_warned in 7668yes:) 7669{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7670$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7671ac_tool_warned=yes ;; 7672esac 7673 RANLIB=$ac_ct_RANLIB 7674 fi 7675else 7676 RANLIB="$ac_cv_prog_RANLIB" 7677fi 7678 7679test -z "$RANLIB" && RANLIB=: 7680 7681 7682 7683 7684 7685 7686# Determine commands to create old-style static archives. 7687old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 7688old_postinstall_cmds='chmod 644 $oldlib' 7689old_postuninstall_cmds= 7690 7691if test -n "$RANLIB"; then 7692 case $host_os in 7693 bitrig* | openbsd*) 7694 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" 7695 ;; 7696 *) 7697 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" 7698 ;; 7699 esac 7700 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" 7701fi 7702 7703case $host_os in 7704 darwin*) 7705 lock_old_archive_extraction=yes ;; 7706 *) 7707 lock_old_archive_extraction=no ;; 7708esac 7709 7710 7711 7712 7713 7714 7715 7716 7717 7718 7719 7720 7721 7722 7723 7724 7725 7726 7727 7728 7729 7730 7731 7732 7733 7734 7735 7736 7737 7738 7739 7740 7741 7742 7743 7744 7745 7746 7747 7748# If no C compiler was specified, use CC. 7749LTCC=${LTCC-"$CC"} 7750 7751# If no C compiler flags were specified, use CFLAGS. 7752LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 7753 7754# Allow CC to be a program name with arguments. 7755compiler=$CC 7756 7757 7758# Check for command to grab the raw symbol name followed by C symbol from nm. 7759{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 7760$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 7761if ${lt_cv_sys_global_symbol_pipe+:} false; then : 7762 $as_echo_n "(cached) " >&6 7763else 7764 7765# These are sane defaults that work on at least a few old systems. 7766# [They come from Ultrix. What could be older than Ultrix?!! ;)] 7767 7768# Character class describing NM global symbol codes. 7769symcode='[BCDEGRST]' 7770 7771# Regexp to match symbols that can be accessed directly from C. 7772sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 7773 7774# Define system-specific variables. 7775case $host_os in 7776aix*) 7777 symcode='[BCDT]' 7778 ;; 7779cygwin* | mingw* | pw32* | cegcc*) 7780 symcode='[ABCDGISTW]' 7781 ;; 7782hpux*) 7783 if test ia64 = "$host_cpu"; then 7784 symcode='[ABCDEGRST]' 7785 fi 7786 ;; 7787irix* | nonstopux*) 7788 symcode='[BCDEGRST]' 7789 ;; 7790osf*) 7791 symcode='[BCDEGQRST]' 7792 ;; 7793solaris*) 7794 symcode='[BDRT]' 7795 ;; 7796sco3.2v5*) 7797 symcode='[DT]' 7798 ;; 7799sysv4.2uw2*) 7800 symcode='[DT]' 7801 ;; 7802sysv5* | sco5v6* | unixware* | OpenUNIX*) 7803 symcode='[ABDT]' 7804 ;; 7805sysv4) 7806 symcode='[DFNSTU]' 7807 ;; 7808esac 7809 7810# If we're using GNU nm, then use its standard symbol codes. 7811case `$NM -V 2>&1` in 7812*GNU* | *'with BFD'*) 7813 symcode='[ABCDGIRSTW]' ;; 7814esac 7815 7816if test "$lt_cv_nm_interface" = "MS dumpbin"; then 7817 # Gets list of data symbols to import. 7818 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'" 7819 # Adjust the below global symbol transforms to fixup imported variables. 7820 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'" 7821 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'" 7822 lt_c_name_lib_hook="\ 7823 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\ 7824 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'" 7825else 7826 # Disable hooks by default. 7827 lt_cv_sys_global_symbol_to_import= 7828 lt_cdecl_hook= 7829 lt_c_name_hook= 7830 lt_c_name_lib_hook= 7831fi 7832 7833# Transform an extracted symbol line into a proper C declaration. 7834# Some systems (esp. on ia64) link data and code symbols differently, 7835# so use this general approach. 7836lt_cv_sys_global_symbol_to_cdecl="sed -n"\ 7837$lt_cdecl_hook\ 7838" -e 's/^T .* \(.*\)$/extern int \1();/p'"\ 7839" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" 7840 7841# Transform an extracted symbol line into symbol name and symbol address 7842lt_cv_sys_global_symbol_to_c_name_address="sed -n"\ 7843$lt_c_name_hook\ 7844" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 7845" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'" 7846 7847# Transform an extracted symbol line into symbol name with lib prefix and 7848# symbol address. 7849lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\ 7850$lt_c_name_lib_hook\ 7851" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 7852" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\ 7853" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'" 7854 7855# Handle CRLF in mingw tool chain 7856opt_cr= 7857case $build_os in 7858mingw*) 7859 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 7860 ;; 7861esac 7862 7863# Try without a prefix underscore, then with it. 7864for ac_symprfx in "" "_"; do 7865 7866 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 7867 symxfrm="\\1 $ac_symprfx\\2 \\2" 7868 7869 # Write the raw and C identifiers. 7870 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 7871 # Fake it for dumpbin and say T for any non-static function, 7872 # D for any global variable and I for any imported variable. 7873 # Also find C++ and __fastcall symbols from MSVC++, 7874 # which start with @ or ?. 7875 lt_cv_sys_global_symbol_pipe="$AWK '"\ 7876" {last_section=section; section=\$ 3};"\ 7877" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ 7878" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 7879" /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\ 7880" /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\ 7881" /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\ 7882" \$ 0!~/External *\|/{next};"\ 7883" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 7884" {if(hide[section]) next};"\ 7885" {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\ 7886" {split(\$ 0,a,/\||\r/); split(a[2],s)};"\ 7887" s[1]~/^[@?]/{print f,s[1],s[1]; next};"\ 7888" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\ 7889" ' prfx=^$ac_symprfx" 7890 else 7891 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 7892 fi 7893 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 7894 7895 # Check to see that the pipe works correctly. 7896 pipe_works=no 7897 7898 rm -f conftest* 7899 cat > conftest.$ac_ext <<_LT_EOF 7900#ifdef __cplusplus 7901extern "C" { 7902#endif 7903char nm_test_var; 7904void nm_test_func(void); 7905void nm_test_func(void){} 7906#ifdef __cplusplus 7907} 7908#endif 7909int main(){nm_test_var='a';nm_test_func();return(0);} 7910_LT_EOF 7911 7912 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7913 (eval $ac_compile) 2>&5 7914 ac_status=$? 7915 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7916 test $ac_status = 0; }; then 7917 # Now try to grab the symbols. 7918 nlist=conftest.nm 7919 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 7920 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 7921 ac_status=$? 7922 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7923 test $ac_status = 0; } && test -s "$nlist"; then 7924 # Try sorting and uniquifying the output. 7925 if sort "$nlist" | uniq > "$nlist"T; then 7926 mv -f "$nlist"T "$nlist" 7927 else 7928 rm -f "$nlist"T 7929 fi 7930 7931 # Make sure that we snagged all the symbols we need. 7932 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 7933 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 7934 cat <<_LT_EOF > conftest.$ac_ext 7935/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 7936#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE 7937/* DATA imports from DLLs on WIN32 can't be const, because runtime 7938 relocations are performed -- see ld's documentation on pseudo-relocs. */ 7939# define LT_DLSYM_CONST 7940#elif defined __osf__ 7941/* This system does not cope well with relocations in const data. */ 7942# define LT_DLSYM_CONST 7943#else 7944# define LT_DLSYM_CONST const 7945#endif 7946 7947#ifdef __cplusplus 7948extern "C" { 7949#endif 7950 7951_LT_EOF 7952 # Now generate the symbol file. 7953 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 7954 7955 cat <<_LT_EOF >> conftest.$ac_ext 7956 7957/* The mapping between symbol names and symbols. */ 7958LT_DLSYM_CONST struct { 7959 const char *name; 7960 void *address; 7961} 7962lt__PROGRAM__LTX_preloaded_symbols[] = 7963{ 7964 { "@PROGRAM@", (void *) 0 }, 7965_LT_EOF 7966 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 7967 cat <<\_LT_EOF >> conftest.$ac_ext 7968 {0, (void *) 0} 7969}; 7970 7971/* This works around a problem in FreeBSD linker */ 7972#ifdef FREEBSD_WORKAROUND 7973static const void *lt_preloaded_setup() { 7974 return lt__PROGRAM__LTX_preloaded_symbols; 7975} 7976#endif 7977 7978#ifdef __cplusplus 7979} 7980#endif 7981_LT_EOF 7982 # Now try linking the two files. 7983 mv conftest.$ac_objext conftstm.$ac_objext 7984 lt_globsym_save_LIBS=$LIBS 7985 lt_globsym_save_CFLAGS=$CFLAGS 7986 LIBS=conftstm.$ac_objext 7987 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 7988 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 7989 (eval $ac_link) 2>&5 7990 ac_status=$? 7991 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7992 test $ac_status = 0; } && test -s conftest$ac_exeext; then 7993 pipe_works=yes 7994 fi 7995 LIBS=$lt_globsym_save_LIBS 7996 CFLAGS=$lt_globsym_save_CFLAGS 7997 else 7998 echo "cannot find nm_test_func in $nlist" >&5 7999 fi 8000 else 8001 echo "cannot find nm_test_var in $nlist" >&5 8002 fi 8003 else 8004 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 8005 fi 8006 else 8007 echo "$progname: failed program was:" >&5 8008 cat conftest.$ac_ext >&5 8009 fi 8010 rm -rf conftest* conftst* 8011 8012 # Do not use the global_symbol_pipe unless it works. 8013 if test yes = "$pipe_works"; then 8014 break 8015 else 8016 lt_cv_sys_global_symbol_pipe= 8017 fi 8018done 8019 8020fi 8021 8022if test -z "$lt_cv_sys_global_symbol_pipe"; then 8023 lt_cv_sys_global_symbol_to_cdecl= 8024fi 8025if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 8026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 8027$as_echo "failed" >&6; } 8028else 8029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 8030$as_echo "ok" >&6; } 8031fi 8032 8033# Response file support. 8034if test "$lt_cv_nm_interface" = "MS dumpbin"; then 8035 nm_file_list_spec='@' 8036elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then 8037 nm_file_list_spec='@' 8038fi 8039 8040 8041 8042 8043 8044 8045 8046 8047 8048 8049 8050 8051 8052 8053 8054 8055 8056 8057 8058 8059 8060 8061 8062 8063 8064 8065 8066 8067 8068 8069 8070 8071 8072 8073 8074 8075 8076{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 8077$as_echo_n "checking for sysroot... " >&6; } 8078 8079# Check whether --with-sysroot was given. 8080if test "${with_sysroot+set}" = set; then : 8081 withval=$with_sysroot; 8082else 8083 with_sysroot=no 8084fi 8085 8086 8087lt_sysroot= 8088case $with_sysroot in #( 8089 yes) 8090 if test yes = "$GCC"; then 8091 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 8092 fi 8093 ;; #( 8094 /*) 8095 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 8096 ;; #( 8097 no|'') 8098 ;; #( 8099 *) 8100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5 8101$as_echo "$with_sysroot" >&6; } 8102 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 8103 ;; 8104esac 8105 8106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 8107$as_echo "${lt_sysroot:-no}" >&6; } 8108 8109 8110 8111 8112 8113{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5 8114$as_echo_n "checking for a working dd... " >&6; } 8115if ${ac_cv_path_lt_DD+:} false; then : 8116 $as_echo_n "(cached) " >&6 8117else 8118 printf 0123456789abcdef0123456789abcdef >conftest.i 8119cat conftest.i conftest.i >conftest2.i 8120: ${lt_DD:=$DD} 8121if test -z "$lt_DD"; then 8122 ac_path_lt_DD_found=false 8123 # Loop through the user's path and test for each of PROGNAME-LIST 8124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8125for as_dir in $PATH 8126do 8127 IFS=$as_save_IFS 8128 test -z "$as_dir" && as_dir=. 8129 for ac_prog in dd; do 8130 for ac_exec_ext in '' $ac_executable_extensions; do 8131 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext" 8132 as_fn_executable_p "$ac_path_lt_DD" || continue 8133if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 8134 cmp -s conftest.i conftest.out \ 8135 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=: 8136fi 8137 $ac_path_lt_DD_found && break 3 8138 done 8139 done 8140 done 8141IFS=$as_save_IFS 8142 if test -z "$ac_cv_path_lt_DD"; then 8143 : 8144 fi 8145else 8146 ac_cv_path_lt_DD=$lt_DD 8147fi 8148 8149rm -f conftest.i conftest2.i conftest.out 8150fi 8151{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5 8152$as_echo "$ac_cv_path_lt_DD" >&6; } 8153 8154 8155{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5 8156$as_echo_n "checking how to truncate binary pipes... " >&6; } 8157if ${lt_cv_truncate_bin+:} false; then : 8158 $as_echo_n "(cached) " >&6 8159else 8160 printf 0123456789abcdef0123456789abcdef >conftest.i 8161cat conftest.i conftest.i >conftest2.i 8162lt_cv_truncate_bin= 8163if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 8164 cmp -s conftest.i conftest.out \ 8165 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1" 8166fi 8167rm -f conftest.i conftest2.i conftest.out 8168test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" 8169fi 8170{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5 8171$as_echo "$lt_cv_truncate_bin" >&6; } 8172 8173 8174 8175 8176 8177 8178 8179# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 8180func_cc_basename () 8181{ 8182 for cc_temp in $*""; do 8183 case $cc_temp in 8184 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 8185 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 8186 \-*) ;; 8187 *) break;; 8188 esac 8189 done 8190 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 8191} 8192 8193# Check whether --enable-libtool-lock was given. 8194if test "${enable_libtool_lock+set}" = set; then : 8195 enableval=$enable_libtool_lock; 8196fi 8197 8198test no = "$enable_libtool_lock" || enable_libtool_lock=yes 8199 8200# Some flags need to be propagated to the compiler or linker for good 8201# libtool support. 8202case $host in 8203ia64-*-hpux*) 8204 # Find out what ABI is being produced by ac_compile, and set mode 8205 # options accordingly. 8206 echo 'int i;' > conftest.$ac_ext 8207 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8208 (eval $ac_compile) 2>&5 8209 ac_status=$? 8210 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8211 test $ac_status = 0; }; then 8212 case `/usr/bin/file conftest.$ac_objext` in 8213 *ELF-32*) 8214 HPUX_IA64_MODE=32 8215 ;; 8216 *ELF-64*) 8217 HPUX_IA64_MODE=64 8218 ;; 8219 esac 8220 fi 8221 rm -rf conftest* 8222 ;; 8223*-*-irix6*) 8224 # Find out what ABI is being produced by ac_compile, and set linker 8225 # options accordingly. 8226 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 8227 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8228 (eval $ac_compile) 2>&5 8229 ac_status=$? 8230 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8231 test $ac_status = 0; }; then 8232 if test yes = "$lt_cv_prog_gnu_ld"; then 8233 case `/usr/bin/file conftest.$ac_objext` in 8234 *32-bit*) 8235 LD="${LD-ld} -melf32bsmip" 8236 ;; 8237 *N32*) 8238 LD="${LD-ld} -melf32bmipn32" 8239 ;; 8240 *64-bit*) 8241 LD="${LD-ld} -melf64bmip" 8242 ;; 8243 esac 8244 else 8245 case `/usr/bin/file conftest.$ac_objext` in 8246 *32-bit*) 8247 LD="${LD-ld} -32" 8248 ;; 8249 *N32*) 8250 LD="${LD-ld} -n32" 8251 ;; 8252 *64-bit*) 8253 LD="${LD-ld} -64" 8254 ;; 8255 esac 8256 fi 8257 fi 8258 rm -rf conftest* 8259 ;; 8260 8261mips64*-*linux*) 8262 # Find out what ABI is being produced by ac_compile, and set linker 8263 # options accordingly. 8264 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 8265 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8266 (eval $ac_compile) 2>&5 8267 ac_status=$? 8268 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8269 test $ac_status = 0; }; then 8270 emul=elf 8271 case `/usr/bin/file conftest.$ac_objext` in 8272 *32-bit*) 8273 emul="${emul}32" 8274 ;; 8275 *64-bit*) 8276 emul="${emul}64" 8277 ;; 8278 esac 8279 case `/usr/bin/file conftest.$ac_objext` in 8280 *MSB*) 8281 emul="${emul}btsmip" 8282 ;; 8283 *LSB*) 8284 emul="${emul}ltsmip" 8285 ;; 8286 esac 8287 case `/usr/bin/file conftest.$ac_objext` in 8288 *N32*) 8289 emul="${emul}n32" 8290 ;; 8291 esac 8292 LD="${LD-ld} -m $emul" 8293 fi 8294 rm -rf conftest* 8295 ;; 8296 8297x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ 8298s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 8299 # Find out what ABI is being produced by ac_compile, and set linker 8300 # options accordingly. Note that the listed cases only cover the 8301 # situations where additional linker options are needed (such as when 8302 # doing 32-bit compilation for a host where ld defaults to 64-bit, or 8303 # vice versa); the common cases where no linker options are needed do 8304 # not appear in the list. 8305 echo 'int i;' > conftest.$ac_ext 8306 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8307 (eval $ac_compile) 2>&5 8308 ac_status=$? 8309 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8310 test $ac_status = 0; }; then 8311 case `/usr/bin/file conftest.o` in 8312 *32-bit*) 8313 case $host in 8314 x86_64-*kfreebsd*-gnu) 8315 LD="${LD-ld} -m elf_i386_fbsd" 8316 ;; 8317 x86_64-*linux*) 8318 case `/usr/bin/file conftest.o` in 8319 *x86-64*) 8320 LD="${LD-ld} -m elf32_x86_64" 8321 ;; 8322 *) 8323 LD="${LD-ld} -m elf_i386" 8324 ;; 8325 esac 8326 ;; 8327 powerpc64le-*linux*) 8328 LD="${LD-ld} -m elf32lppclinux" 8329 ;; 8330 powerpc64-*linux*) 8331 LD="${LD-ld} -m elf32ppclinux" 8332 ;; 8333 s390x-*linux*) 8334 LD="${LD-ld} -m elf_s390" 8335 ;; 8336 sparc64-*linux*) 8337 LD="${LD-ld} -m elf32_sparc" 8338 ;; 8339 esac 8340 ;; 8341 *64-bit*) 8342 case $host in 8343 x86_64-*kfreebsd*-gnu) 8344 LD="${LD-ld} -m elf_x86_64_fbsd" 8345 ;; 8346 x86_64-*linux*) 8347 LD="${LD-ld} -m elf_x86_64" 8348 ;; 8349 powerpcle-*linux*) 8350 LD="${LD-ld} -m elf64lppc" 8351 ;; 8352 powerpc-*linux*) 8353 LD="${LD-ld} -m elf64ppc" 8354 ;; 8355 s390*-*linux*|s390*-*tpf*) 8356 LD="${LD-ld} -m elf64_s390" 8357 ;; 8358 sparc*-*linux*) 8359 LD="${LD-ld} -m elf64_sparc" 8360 ;; 8361 esac 8362 ;; 8363 esac 8364 fi 8365 rm -rf conftest* 8366 ;; 8367 8368*-*-sco3.2v5*) 8369 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 8370 SAVE_CFLAGS=$CFLAGS 8371 CFLAGS="$CFLAGS -belf" 8372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 8373$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 8374if ${lt_cv_cc_needs_belf+:} false; then : 8375 $as_echo_n "(cached) " >&6 8376else 8377 ac_ext=c 8378ac_cpp='$CPP $CPPFLAGS' 8379ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8380ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8381ac_compiler_gnu=$ac_cv_c_compiler_gnu 8382 8383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8384/* end confdefs.h. */ 8385 8386int 8387main () 8388{ 8389 8390 ; 8391 return 0; 8392} 8393_ACEOF 8394if ac_fn_c_try_link "$LINENO"; then : 8395 lt_cv_cc_needs_belf=yes 8396else 8397 lt_cv_cc_needs_belf=no 8398fi 8399rm -f core conftest.err conftest.$ac_objext \ 8400 conftest$ac_exeext conftest.$ac_ext 8401 ac_ext=c 8402ac_cpp='$CPP $CPPFLAGS' 8403ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8404ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8405ac_compiler_gnu=$ac_cv_c_compiler_gnu 8406 8407fi 8408{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 8409$as_echo "$lt_cv_cc_needs_belf" >&6; } 8410 if test yes != "$lt_cv_cc_needs_belf"; then 8411 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 8412 CFLAGS=$SAVE_CFLAGS 8413 fi 8414 ;; 8415*-*solaris*) 8416 # Find out what ABI is being produced by ac_compile, and set linker 8417 # options accordingly. 8418 echo 'int i;' > conftest.$ac_ext 8419 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8420 (eval $ac_compile) 2>&5 8421 ac_status=$? 8422 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8423 test $ac_status = 0; }; then 8424 case `/usr/bin/file conftest.o` in 8425 *64-bit*) 8426 case $lt_cv_prog_gnu_ld in 8427 yes*) 8428 case $host in 8429 i?86-*-solaris*|x86_64-*-solaris*) 8430 LD="${LD-ld} -m elf_x86_64" 8431 ;; 8432 sparc*-*-solaris*) 8433 LD="${LD-ld} -m elf64_sparc" 8434 ;; 8435 esac 8436 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. 8437 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then 8438 LD=${LD-ld}_sol2 8439 fi 8440 ;; 8441 *) 8442 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 8443 LD="${LD-ld} -64" 8444 fi 8445 ;; 8446 esac 8447 ;; 8448 esac 8449 fi 8450 rm -rf conftest* 8451 ;; 8452esac 8453 8454need_locks=$enable_libtool_lock 8455 8456if test -n "$ac_tool_prefix"; then 8457 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 8458set dummy ${ac_tool_prefix}mt; ac_word=$2 8459{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8460$as_echo_n "checking for $ac_word... " >&6; } 8461if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : 8462 $as_echo_n "(cached) " >&6 8463else 8464 if test -n "$MANIFEST_TOOL"; then 8465 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 8466else 8467as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8468for as_dir in $PATH 8469do 8470 IFS=$as_save_IFS 8471 test -z "$as_dir" && as_dir=. 8472 for ac_exec_ext in '' $ac_executable_extensions; do 8473 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8474 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 8475 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8476 break 2 8477 fi 8478done 8479 done 8480IFS=$as_save_IFS 8481 8482fi 8483fi 8484MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 8485if test -n "$MANIFEST_TOOL"; then 8486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 8487$as_echo "$MANIFEST_TOOL" >&6; } 8488else 8489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8490$as_echo "no" >&6; } 8491fi 8492 8493 8494fi 8495if test -z "$ac_cv_prog_MANIFEST_TOOL"; then 8496 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 8497 # Extract the first word of "mt", so it can be a program name with args. 8498set dummy mt; ac_word=$2 8499{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8500$as_echo_n "checking for $ac_word... " >&6; } 8501if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : 8502 $as_echo_n "(cached) " >&6 8503else 8504 if test -n "$ac_ct_MANIFEST_TOOL"; then 8505 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 8506else 8507as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8508for as_dir in $PATH 8509do 8510 IFS=$as_save_IFS 8511 test -z "$as_dir" && as_dir=. 8512 for ac_exec_ext in '' $ac_executable_extensions; do 8513 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8514 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 8515 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8516 break 2 8517 fi 8518done 8519 done 8520IFS=$as_save_IFS 8521 8522fi 8523fi 8524ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 8525if test -n "$ac_ct_MANIFEST_TOOL"; then 8526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 8527$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } 8528else 8529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8530$as_echo "no" >&6; } 8531fi 8532 8533 if test "x$ac_ct_MANIFEST_TOOL" = x; then 8534 MANIFEST_TOOL=":" 8535 else 8536 case $cross_compiling:$ac_tool_warned in 8537yes:) 8538{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8539$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8540ac_tool_warned=yes ;; 8541esac 8542 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL 8543 fi 8544else 8545 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" 8546fi 8547 8548test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 8549{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 8550$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 8551if ${lt_cv_path_mainfest_tool+:} false; then : 8552 $as_echo_n "(cached) " >&6 8553else 8554 lt_cv_path_mainfest_tool=no 8555 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 8556 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out 8557 cat conftest.err >&5 8558 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 8559 lt_cv_path_mainfest_tool=yes 8560 fi 8561 rm -f conftest* 8562fi 8563{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 8564$as_echo "$lt_cv_path_mainfest_tool" >&6; } 8565if test yes != "$lt_cv_path_mainfest_tool"; then 8566 MANIFEST_TOOL=: 8567fi 8568 8569 8570 8571 8572 8573 8574 case $host_os in 8575 rhapsody* | darwin*) 8576 if test -n "$ac_tool_prefix"; then 8577 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 8578set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 8579{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8580$as_echo_n "checking for $ac_word... " >&6; } 8581if ${ac_cv_prog_DSYMUTIL+:} false; then : 8582 $as_echo_n "(cached) " >&6 8583else 8584 if test -n "$DSYMUTIL"; then 8585 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 8586else 8587as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8588for as_dir in $PATH 8589do 8590 IFS=$as_save_IFS 8591 test -z "$as_dir" && as_dir=. 8592 for ac_exec_ext in '' $ac_executable_extensions; do 8593 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8594 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 8595 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8596 break 2 8597 fi 8598done 8599 done 8600IFS=$as_save_IFS 8601 8602fi 8603fi 8604DSYMUTIL=$ac_cv_prog_DSYMUTIL 8605if test -n "$DSYMUTIL"; then 8606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 8607$as_echo "$DSYMUTIL" >&6; } 8608else 8609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8610$as_echo "no" >&6; } 8611fi 8612 8613 8614fi 8615if test -z "$ac_cv_prog_DSYMUTIL"; then 8616 ac_ct_DSYMUTIL=$DSYMUTIL 8617 # Extract the first word of "dsymutil", so it can be a program name with args. 8618set dummy dsymutil; ac_word=$2 8619{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8620$as_echo_n "checking for $ac_word... " >&6; } 8621if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : 8622 $as_echo_n "(cached) " >&6 8623else 8624 if test -n "$ac_ct_DSYMUTIL"; then 8625 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 8626else 8627as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8628for as_dir in $PATH 8629do 8630 IFS=$as_save_IFS 8631 test -z "$as_dir" && as_dir=. 8632 for ac_exec_ext in '' $ac_executable_extensions; do 8633 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8634 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 8635 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8636 break 2 8637 fi 8638done 8639 done 8640IFS=$as_save_IFS 8641 8642fi 8643fi 8644ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 8645if test -n "$ac_ct_DSYMUTIL"; then 8646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 8647$as_echo "$ac_ct_DSYMUTIL" >&6; } 8648else 8649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8650$as_echo "no" >&6; } 8651fi 8652 8653 if test "x$ac_ct_DSYMUTIL" = x; then 8654 DSYMUTIL=":" 8655 else 8656 case $cross_compiling:$ac_tool_warned in 8657yes:) 8658{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8659$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8660ac_tool_warned=yes ;; 8661esac 8662 DSYMUTIL=$ac_ct_DSYMUTIL 8663 fi 8664else 8665 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 8666fi 8667 8668 if test -n "$ac_tool_prefix"; then 8669 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 8670set dummy ${ac_tool_prefix}nmedit; ac_word=$2 8671{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8672$as_echo_n "checking for $ac_word... " >&6; } 8673if ${ac_cv_prog_NMEDIT+:} false; then : 8674 $as_echo_n "(cached) " >&6 8675else 8676 if test -n "$NMEDIT"; then 8677 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 8678else 8679as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8680for as_dir in $PATH 8681do 8682 IFS=$as_save_IFS 8683 test -z "$as_dir" && as_dir=. 8684 for ac_exec_ext in '' $ac_executable_extensions; do 8685 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8686 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 8687 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8688 break 2 8689 fi 8690done 8691 done 8692IFS=$as_save_IFS 8693 8694fi 8695fi 8696NMEDIT=$ac_cv_prog_NMEDIT 8697if test -n "$NMEDIT"; then 8698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 8699$as_echo "$NMEDIT" >&6; } 8700else 8701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8702$as_echo "no" >&6; } 8703fi 8704 8705 8706fi 8707if test -z "$ac_cv_prog_NMEDIT"; then 8708 ac_ct_NMEDIT=$NMEDIT 8709 # Extract the first word of "nmedit", so it can be a program name with args. 8710set dummy nmedit; ac_word=$2 8711{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8712$as_echo_n "checking for $ac_word... " >&6; } 8713if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : 8714 $as_echo_n "(cached) " >&6 8715else 8716 if test -n "$ac_ct_NMEDIT"; then 8717 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 8718else 8719as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8720for as_dir in $PATH 8721do 8722 IFS=$as_save_IFS 8723 test -z "$as_dir" && as_dir=. 8724 for ac_exec_ext in '' $ac_executable_extensions; do 8725 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8726 ac_cv_prog_ac_ct_NMEDIT="nmedit" 8727 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8728 break 2 8729 fi 8730done 8731 done 8732IFS=$as_save_IFS 8733 8734fi 8735fi 8736ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 8737if test -n "$ac_ct_NMEDIT"; then 8738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 8739$as_echo "$ac_ct_NMEDIT" >&6; } 8740else 8741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8742$as_echo "no" >&6; } 8743fi 8744 8745 if test "x$ac_ct_NMEDIT" = x; then 8746 NMEDIT=":" 8747 else 8748 case $cross_compiling:$ac_tool_warned in 8749yes:) 8750{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8751$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8752ac_tool_warned=yes ;; 8753esac 8754 NMEDIT=$ac_ct_NMEDIT 8755 fi 8756else 8757 NMEDIT="$ac_cv_prog_NMEDIT" 8758fi 8759 8760 if test -n "$ac_tool_prefix"; then 8761 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 8762set dummy ${ac_tool_prefix}lipo; ac_word=$2 8763{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8764$as_echo_n "checking for $ac_word... " >&6; } 8765if ${ac_cv_prog_LIPO+:} false; then : 8766 $as_echo_n "(cached) " >&6 8767else 8768 if test -n "$LIPO"; then 8769 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 8770else 8771as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8772for as_dir in $PATH 8773do 8774 IFS=$as_save_IFS 8775 test -z "$as_dir" && as_dir=. 8776 for ac_exec_ext in '' $ac_executable_extensions; do 8777 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8778 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 8779 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8780 break 2 8781 fi 8782done 8783 done 8784IFS=$as_save_IFS 8785 8786fi 8787fi 8788LIPO=$ac_cv_prog_LIPO 8789if test -n "$LIPO"; then 8790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 8791$as_echo "$LIPO" >&6; } 8792else 8793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8794$as_echo "no" >&6; } 8795fi 8796 8797 8798fi 8799if test -z "$ac_cv_prog_LIPO"; then 8800 ac_ct_LIPO=$LIPO 8801 # Extract the first word of "lipo", so it can be a program name with args. 8802set dummy lipo; ac_word=$2 8803{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8804$as_echo_n "checking for $ac_word... " >&6; } 8805if ${ac_cv_prog_ac_ct_LIPO+:} false; then : 8806 $as_echo_n "(cached) " >&6 8807else 8808 if test -n "$ac_ct_LIPO"; then 8809 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 8810else 8811as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8812for as_dir in $PATH 8813do 8814 IFS=$as_save_IFS 8815 test -z "$as_dir" && as_dir=. 8816 for ac_exec_ext in '' $ac_executable_extensions; do 8817 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8818 ac_cv_prog_ac_ct_LIPO="lipo" 8819 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8820 break 2 8821 fi 8822done 8823 done 8824IFS=$as_save_IFS 8825 8826fi 8827fi 8828ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 8829if test -n "$ac_ct_LIPO"; then 8830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 8831$as_echo "$ac_ct_LIPO" >&6; } 8832else 8833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8834$as_echo "no" >&6; } 8835fi 8836 8837 if test "x$ac_ct_LIPO" = x; then 8838 LIPO=":" 8839 else 8840 case $cross_compiling:$ac_tool_warned in 8841yes:) 8842{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8843$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8844ac_tool_warned=yes ;; 8845esac 8846 LIPO=$ac_ct_LIPO 8847 fi 8848else 8849 LIPO="$ac_cv_prog_LIPO" 8850fi 8851 8852 if test -n "$ac_tool_prefix"; then 8853 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 8854set dummy ${ac_tool_prefix}otool; ac_word=$2 8855{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8856$as_echo_n "checking for $ac_word... " >&6; } 8857if ${ac_cv_prog_OTOOL+:} false; then : 8858 $as_echo_n "(cached) " >&6 8859else 8860 if test -n "$OTOOL"; then 8861 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 8862else 8863as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8864for as_dir in $PATH 8865do 8866 IFS=$as_save_IFS 8867 test -z "$as_dir" && as_dir=. 8868 for ac_exec_ext in '' $ac_executable_extensions; do 8869 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8870 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 8871 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8872 break 2 8873 fi 8874done 8875 done 8876IFS=$as_save_IFS 8877 8878fi 8879fi 8880OTOOL=$ac_cv_prog_OTOOL 8881if test -n "$OTOOL"; then 8882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 8883$as_echo "$OTOOL" >&6; } 8884else 8885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8886$as_echo "no" >&6; } 8887fi 8888 8889 8890fi 8891if test -z "$ac_cv_prog_OTOOL"; then 8892 ac_ct_OTOOL=$OTOOL 8893 # Extract the first word of "otool", so it can be a program name with args. 8894set dummy otool; ac_word=$2 8895{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8896$as_echo_n "checking for $ac_word... " >&6; } 8897if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : 8898 $as_echo_n "(cached) " >&6 8899else 8900 if test -n "$ac_ct_OTOOL"; then 8901 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 8902else 8903as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8904for as_dir in $PATH 8905do 8906 IFS=$as_save_IFS 8907 test -z "$as_dir" && as_dir=. 8908 for ac_exec_ext in '' $ac_executable_extensions; do 8909 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8910 ac_cv_prog_ac_ct_OTOOL="otool" 8911 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8912 break 2 8913 fi 8914done 8915 done 8916IFS=$as_save_IFS 8917 8918fi 8919fi 8920ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 8921if test -n "$ac_ct_OTOOL"; then 8922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 8923$as_echo "$ac_ct_OTOOL" >&6; } 8924else 8925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8926$as_echo "no" >&6; } 8927fi 8928 8929 if test "x$ac_ct_OTOOL" = x; then 8930 OTOOL=":" 8931 else 8932 case $cross_compiling:$ac_tool_warned in 8933yes:) 8934{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8935$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8936ac_tool_warned=yes ;; 8937esac 8938 OTOOL=$ac_ct_OTOOL 8939 fi 8940else 8941 OTOOL="$ac_cv_prog_OTOOL" 8942fi 8943 8944 if test -n "$ac_tool_prefix"; then 8945 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 8946set dummy ${ac_tool_prefix}otool64; ac_word=$2 8947{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8948$as_echo_n "checking for $ac_word... " >&6; } 8949if ${ac_cv_prog_OTOOL64+:} false; then : 8950 $as_echo_n "(cached) " >&6 8951else 8952 if test -n "$OTOOL64"; then 8953 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 8954else 8955as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8956for as_dir in $PATH 8957do 8958 IFS=$as_save_IFS 8959 test -z "$as_dir" && as_dir=. 8960 for ac_exec_ext in '' $ac_executable_extensions; do 8961 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8962 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 8963 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8964 break 2 8965 fi 8966done 8967 done 8968IFS=$as_save_IFS 8969 8970fi 8971fi 8972OTOOL64=$ac_cv_prog_OTOOL64 8973if test -n "$OTOOL64"; then 8974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 8975$as_echo "$OTOOL64" >&6; } 8976else 8977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8978$as_echo "no" >&6; } 8979fi 8980 8981 8982fi 8983if test -z "$ac_cv_prog_OTOOL64"; then 8984 ac_ct_OTOOL64=$OTOOL64 8985 # Extract the first word of "otool64", so it can be a program name with args. 8986set dummy otool64; ac_word=$2 8987{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8988$as_echo_n "checking for $ac_word... " >&6; } 8989if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : 8990 $as_echo_n "(cached) " >&6 8991else 8992 if test -n "$ac_ct_OTOOL64"; then 8993 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 8994else 8995as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8996for as_dir in $PATH 8997do 8998 IFS=$as_save_IFS 8999 test -z "$as_dir" && as_dir=. 9000 for ac_exec_ext in '' $ac_executable_extensions; do 9001 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9002 ac_cv_prog_ac_ct_OTOOL64="otool64" 9003 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9004 break 2 9005 fi 9006done 9007 done 9008IFS=$as_save_IFS 9009 9010fi 9011fi 9012ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 9013if test -n "$ac_ct_OTOOL64"; then 9014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 9015$as_echo "$ac_ct_OTOOL64" >&6; } 9016else 9017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9018$as_echo "no" >&6; } 9019fi 9020 9021 if test "x$ac_ct_OTOOL64" = x; then 9022 OTOOL64=":" 9023 else 9024 case $cross_compiling:$ac_tool_warned in 9025yes:) 9026{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 9027$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 9028ac_tool_warned=yes ;; 9029esac 9030 OTOOL64=$ac_ct_OTOOL64 9031 fi 9032else 9033 OTOOL64="$ac_cv_prog_OTOOL64" 9034fi 9035 9036 9037 9038 9039 9040 9041 9042 9043 9044 9045 9046 9047 9048 9049 9050 9051 9052 9053 9054 9055 9056 9057 9058 9059 9060 9061 9062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 9063$as_echo_n "checking for -single_module linker flag... " >&6; } 9064if ${lt_cv_apple_cc_single_mod+:} false; then : 9065 $as_echo_n "(cached) " >&6 9066else 9067 lt_cv_apple_cc_single_mod=no 9068 if test -z "$LT_MULTI_MODULE"; then 9069 # By default we will add the -single_module flag. You can override 9070 # by either setting the environment variable LT_MULTI_MODULE 9071 # non-empty at configure time, or by adding -multi_module to the 9072 # link flags. 9073 rm -rf libconftest.dylib* 9074 echo "int foo(void){return 1;}" > conftest.c 9075 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 9076-dynamiclib -Wl,-single_module conftest.c" >&5 9077 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 9078 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 9079 _lt_result=$? 9080 # If there is a non-empty error log, and "single_module" 9081 # appears in it, assume the flag caused a linker warning 9082 if test -s conftest.err && $GREP single_module conftest.err; then 9083 cat conftest.err >&5 9084 # Otherwise, if the output was created with a 0 exit code from 9085 # the compiler, it worked. 9086 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then 9087 lt_cv_apple_cc_single_mod=yes 9088 else 9089 cat conftest.err >&5 9090 fi 9091 rm -rf libconftest.dylib* 9092 rm -f conftest.* 9093 fi 9094fi 9095{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 9096$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 9097 9098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 9099$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 9100if ${lt_cv_ld_exported_symbols_list+:} false; then : 9101 $as_echo_n "(cached) " >&6 9102else 9103 lt_cv_ld_exported_symbols_list=no 9104 save_LDFLAGS=$LDFLAGS 9105 echo "_main" > conftest.sym 9106 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 9107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9108/* end confdefs.h. */ 9109 9110int 9111main () 9112{ 9113 9114 ; 9115 return 0; 9116} 9117_ACEOF 9118if ac_fn_c_try_link "$LINENO"; then : 9119 lt_cv_ld_exported_symbols_list=yes 9120else 9121 lt_cv_ld_exported_symbols_list=no 9122fi 9123rm -f core conftest.err conftest.$ac_objext \ 9124 conftest$ac_exeext conftest.$ac_ext 9125 LDFLAGS=$save_LDFLAGS 9126 9127fi 9128{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 9129$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 9130 9131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 9132$as_echo_n "checking for -force_load linker flag... " >&6; } 9133if ${lt_cv_ld_force_load+:} false; then : 9134 $as_echo_n "(cached) " >&6 9135else 9136 lt_cv_ld_force_load=no 9137 cat > conftest.c << _LT_EOF 9138int forced_loaded() { return 2;} 9139_LT_EOF 9140 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 9141 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 9142 echo "$AR cru libconftest.a conftest.o" >&5 9143 $AR cru libconftest.a conftest.o 2>&5 9144 echo "$RANLIB libconftest.a" >&5 9145 $RANLIB libconftest.a 2>&5 9146 cat > conftest.c << _LT_EOF 9147int main() { return 0;} 9148_LT_EOF 9149 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 9150 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 9151 _lt_result=$? 9152 if test -s conftest.err && $GREP force_load conftest.err; then 9153 cat conftest.err >&5 9154 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then 9155 lt_cv_ld_force_load=yes 9156 else 9157 cat conftest.err >&5 9158 fi 9159 rm -f conftest.err libconftest.a conftest conftest.c 9160 rm -rf conftest.dSYM 9161 9162fi 9163{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 9164$as_echo "$lt_cv_ld_force_load" >&6; } 9165 case $host_os in 9166 rhapsody* | darwin1.[012]) 9167 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; 9168 darwin1.*) 9169 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 9170 darwin*) # darwin 5.x on 9171 # if running on 10.5 or later, the deployment target defaults 9172 # to the OS version, if on x86, and 10.4, the deployment 9173 # target defaults to 10.4. Don't you love it? 9174 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 9175 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 9176 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 9177 10.[012][,.]*) 9178 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 9179 10.*) 9180 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 9181 esac 9182 ;; 9183 esac 9184 if test yes = "$lt_cv_apple_cc_single_mod"; then 9185 _lt_dar_single_mod='$single_module' 9186 fi 9187 if test yes = "$lt_cv_ld_exported_symbols_list"; then 9188 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym' 9189 else 9190 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib' 9191 fi 9192 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then 9193 _lt_dsymutil='~$DSYMUTIL $lib || :' 9194 else 9195 _lt_dsymutil= 9196 fi 9197 ;; 9198 esac 9199 9200# func_munge_path_list VARIABLE PATH 9201# ----------------------------------- 9202# VARIABLE is name of variable containing _space_ separated list of 9203# directories to be munged by the contents of PATH, which is string 9204# having a format: 9205# "DIR[:DIR]:" 9206# string "DIR[ DIR]" will be prepended to VARIABLE 9207# ":DIR[:DIR]" 9208# string "DIR[ DIR]" will be appended to VARIABLE 9209# "DIRP[:DIRP]::[DIRA:]DIRA" 9210# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 9211# "DIRA[ DIRA]" will be appended to VARIABLE 9212# "DIR[:DIR]" 9213# VARIABLE will be replaced by "DIR[ DIR]" 9214func_munge_path_list () 9215{ 9216 case x$2 in 9217 x) 9218 ;; 9219 *:) 9220 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 9221 ;; 9222 x:*) 9223 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 9224 ;; 9225 *::*) 9226 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 9227 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 9228 ;; 9229 *) 9230 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 9231 ;; 9232 esac 9233} 9234 9235{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 9236$as_echo_n "checking for ANSI C header files... " >&6; } 9237if ${ac_cv_header_stdc+:} false; then : 9238 $as_echo_n "(cached) " >&6 9239else 9240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9241/* end confdefs.h. */ 9242#include <stdlib.h> 9243#include <stdarg.h> 9244#include <string.h> 9245#include <float.h> 9246 9247int 9248main () 9249{ 9250 9251 ; 9252 return 0; 9253} 9254_ACEOF 9255if ac_fn_c_try_compile "$LINENO"; then : 9256 ac_cv_header_stdc=yes 9257else 9258 ac_cv_header_stdc=no 9259fi 9260rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9261 9262if test $ac_cv_header_stdc = yes; then 9263 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 9264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9265/* end confdefs.h. */ 9266#include <string.h> 9267 9268_ACEOF 9269if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 9270 $EGREP "memchr" >/dev/null 2>&1; then : 9271 9272else 9273 ac_cv_header_stdc=no 9274fi 9275rm -f conftest* 9276 9277fi 9278 9279if test $ac_cv_header_stdc = yes; then 9280 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 9281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9282/* end confdefs.h. */ 9283#include <stdlib.h> 9284 9285_ACEOF 9286if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 9287 $EGREP "free" >/dev/null 2>&1; then : 9288 9289else 9290 ac_cv_header_stdc=no 9291fi 9292rm -f conftest* 9293 9294fi 9295 9296if test $ac_cv_header_stdc = yes; then 9297 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 9298 if test "$cross_compiling" = yes; then : 9299 : 9300else 9301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9302/* end confdefs.h. */ 9303#include <ctype.h> 9304#include <stdlib.h> 9305#if ((' ' & 0x0FF) == 0x020) 9306# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 9307# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 9308#else 9309# define ISLOWER(c) \ 9310 (('a' <= (c) && (c) <= 'i') \ 9311 || ('j' <= (c) && (c) <= 'r') \ 9312 || ('s' <= (c) && (c) <= 'z')) 9313# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 9314#endif 9315 9316#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 9317int 9318main () 9319{ 9320 int i; 9321 for (i = 0; i < 256; i++) 9322 if (XOR (islower (i), ISLOWER (i)) 9323 || toupper (i) != TOUPPER (i)) 9324 return 2; 9325 return 0; 9326} 9327_ACEOF 9328if ac_fn_c_try_run "$LINENO"; then : 9329 9330else 9331 ac_cv_header_stdc=no 9332fi 9333rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 9334 conftest.$ac_objext conftest.beam conftest.$ac_ext 9335fi 9336 9337fi 9338fi 9339{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 9340$as_echo "$ac_cv_header_stdc" >&6; } 9341if test $ac_cv_header_stdc = yes; then 9342 9343$as_echo "#define STDC_HEADERS 1" >>confdefs.h 9344 9345fi 9346 9347# On IRIX 5.3, sys/types and inttypes.h are conflicting. 9348for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 9349 inttypes.h stdint.h unistd.h 9350do : 9351 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 9352ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 9353" 9354if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 9355 cat >>confdefs.h <<_ACEOF 9356#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 9357_ACEOF 9358 9359fi 9360 9361done 9362 9363 9364for ac_header in dlfcn.h 9365do : 9366 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 9367" 9368if test "x$ac_cv_header_dlfcn_h" = xyes; then : 9369 cat >>confdefs.h <<_ACEOF 9370#define HAVE_DLFCN_H 1 9371_ACEOF 9372 9373fi 9374 9375done 9376 9377 9378 9379 9380func_stripname_cnf () 9381{ 9382 case $2 in 9383 .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;; 9384 *) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;; 9385 esac 9386} # func_stripname_cnf 9387 9388 9389 9390 9391 9392# Set options 9393 9394 9395 9396 enable_dlopen=no 9397 9398 9399 9400 # Check whether --enable-shared was given. 9401if test "${enable_shared+set}" = set; then : 9402 enableval=$enable_shared; p=${PACKAGE-default} 9403 case $enableval in 9404 yes) enable_shared=yes ;; 9405 no) enable_shared=no ;; 9406 *) 9407 enable_shared=no 9408 # Look at the argument we got. We use all the common list separators. 9409 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 9410 for pkg in $enableval; do 9411 IFS=$lt_save_ifs 9412 if test "X$pkg" = "X$p"; then 9413 enable_shared=yes 9414 fi 9415 done 9416 IFS=$lt_save_ifs 9417 ;; 9418 esac 9419else 9420 enable_shared=yes 9421fi 9422 9423 9424 9425 9426 9427 9428 9429 9430 9431 # Check whether --enable-static was given. 9432if test "${enable_static+set}" = set; then : 9433 enableval=$enable_static; p=${PACKAGE-default} 9434 case $enableval in 9435 yes) enable_static=yes ;; 9436 no) enable_static=no ;; 9437 *) 9438 enable_static=no 9439 # Look at the argument we got. We use all the common list separators. 9440 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 9441 for pkg in $enableval; do 9442 IFS=$lt_save_ifs 9443 if test "X$pkg" = "X$p"; then 9444 enable_static=yes 9445 fi 9446 done 9447 IFS=$lt_save_ifs 9448 ;; 9449 esac 9450else 9451 enable_static=yes 9452fi 9453 9454 9455 9456 9457 9458 9459 9460 9461 9462 9463# Check whether --with-pic was given. 9464if test "${with_pic+set}" = set; then : 9465 withval=$with_pic; lt_p=${PACKAGE-default} 9466 case $withval in 9467 yes|no) pic_mode=$withval ;; 9468 *) 9469 pic_mode=default 9470 # Look at the argument we got. We use all the common list separators. 9471 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 9472 for lt_pkg in $withval; do 9473 IFS=$lt_save_ifs 9474 if test "X$lt_pkg" = "X$lt_p"; then 9475 pic_mode=yes 9476 fi 9477 done 9478 IFS=$lt_save_ifs 9479 ;; 9480 esac 9481else 9482 pic_mode=default 9483fi 9484 9485 9486 9487 9488 9489 9490 9491 9492 # Check whether --enable-fast-install was given. 9493if test "${enable_fast_install+set}" = set; then : 9494 enableval=$enable_fast_install; p=${PACKAGE-default} 9495 case $enableval in 9496 yes) enable_fast_install=yes ;; 9497 no) enable_fast_install=no ;; 9498 *) 9499 enable_fast_install=no 9500 # Look at the argument we got. We use all the common list separators. 9501 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 9502 for pkg in $enableval; do 9503 IFS=$lt_save_ifs 9504 if test "X$pkg" = "X$p"; then 9505 enable_fast_install=yes 9506 fi 9507 done 9508 IFS=$lt_save_ifs 9509 ;; 9510 esac 9511else 9512 enable_fast_install=yes 9513fi 9514 9515 9516 9517 9518 9519 9520 9521 9522 shared_archive_member_spec= 9523case $host,$enable_shared in 9524power*-*-aix[5-9]*,yes) 9525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5 9526$as_echo_n "checking which variant of shared library versioning to provide... " >&6; } 9527 9528# Check whether --with-aix-soname was given. 9529if test "${with_aix_soname+set}" = set; then : 9530 withval=$with_aix_soname; case $withval in 9531 aix|svr4|both) 9532 ;; 9533 *) 9534 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5 9535 ;; 9536 esac 9537 lt_cv_with_aix_soname=$with_aix_soname 9538else 9539 if ${lt_cv_with_aix_soname+:} false; then : 9540 $as_echo_n "(cached) " >&6 9541else 9542 lt_cv_with_aix_soname=aix 9543fi 9544 9545 with_aix_soname=$lt_cv_with_aix_soname 9546fi 9547 9548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5 9549$as_echo "$with_aix_soname" >&6; } 9550 if test aix != "$with_aix_soname"; then 9551 # For the AIX way of multilib, we name the shared archive member 9552 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', 9553 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File. 9554 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag, 9555 # the AIX toolchain works better with OBJECT_MODE set (default 32). 9556 if test 64 = "${OBJECT_MODE-32}"; then 9557 shared_archive_member_spec=shr_64 9558 else 9559 shared_archive_member_spec=shr 9560 fi 9561 fi 9562 ;; 9563*) 9564 with_aix_soname=aix 9565 ;; 9566esac 9567 9568 9569 9570 9571 9572 9573 9574 9575 9576 9577# This can be used to rebuild libtool when needed 9578LIBTOOL_DEPS=$ltmain 9579 9580# Always use our own libtool. 9581LIBTOOL='$(SHELL) $(top_builddir)/libtool' 9582 9583 9584 9585 9586 9587 9588 9589 9590 9591 9592 9593 9594 9595 9596 9597 9598 9599 9600 9601 9602 9603 9604 9605 9606 9607 9608 9609 9610 9611 9612test -z "$LN_S" && LN_S="ln -s" 9613 9614 9615 9616 9617 9618 9619 9620 9621 9622 9623 9624 9625 9626 9627if test -n "${ZSH_VERSION+set}"; then 9628 setopt NO_GLOB_SUBST 9629fi 9630 9631{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 9632$as_echo_n "checking for objdir... " >&6; } 9633if ${lt_cv_objdir+:} false; then : 9634 $as_echo_n "(cached) " >&6 9635else 9636 rm -f .libs 2>/dev/null 9637mkdir .libs 2>/dev/null 9638if test -d .libs; then 9639 lt_cv_objdir=.libs 9640else 9641 # MS-DOS does not allow filenames that begin with a dot. 9642 lt_cv_objdir=_libs 9643fi 9644rmdir .libs 2>/dev/null 9645fi 9646{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 9647$as_echo "$lt_cv_objdir" >&6; } 9648objdir=$lt_cv_objdir 9649 9650 9651 9652 9653 9654cat >>confdefs.h <<_ACEOF 9655#define LT_OBJDIR "$lt_cv_objdir/" 9656_ACEOF 9657 9658 9659 9660 9661case $host_os in 9662aix3*) 9663 # AIX sometimes has problems with the GCC collect2 program. For some 9664 # reason, if we set the COLLECT_NAMES environment variable, the problems 9665 # vanish in a puff of smoke. 9666 if test set != "${COLLECT_NAMES+set}"; then 9667 COLLECT_NAMES= 9668 export COLLECT_NAMES 9669 fi 9670 ;; 9671esac 9672 9673# Global variables: 9674ofile=libtool 9675can_build_shared=yes 9676 9677# All known linkers require a '.a' archive for static linking (except MSVC, 9678# which needs '.lib'). 9679libext=a 9680 9681with_gnu_ld=$lt_cv_prog_gnu_ld 9682 9683old_CC=$CC 9684old_CFLAGS=$CFLAGS 9685 9686# Set sane defaults for various variables 9687test -z "$CC" && CC=cc 9688test -z "$LTCC" && LTCC=$CC 9689test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 9690test -z "$LD" && LD=ld 9691test -z "$ac_objext" && ac_objext=o 9692 9693func_cc_basename $compiler 9694cc_basename=$func_cc_basename_result 9695 9696 9697# Only perform the check for file, if the check method requires it 9698test -z "$MAGIC_CMD" && MAGIC_CMD=file 9699case $deplibs_check_method in 9700file_magic*) 9701 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 9702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 9703$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 9704if ${lt_cv_path_MAGIC_CMD+:} false; then : 9705 $as_echo_n "(cached) " >&6 9706else 9707 case $MAGIC_CMD in 9708[\\/*] | ?:[\\/]*) 9709 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 9710 ;; 9711*) 9712 lt_save_MAGIC_CMD=$MAGIC_CMD 9713 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 9714 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 9715 for ac_dir in $ac_dummy; do 9716 IFS=$lt_save_ifs 9717 test -z "$ac_dir" && ac_dir=. 9718 if test -f "$ac_dir/${ac_tool_prefix}file"; then 9719 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file" 9720 if test -n "$file_magic_test_file"; then 9721 case $deplibs_check_method in 9722 "file_magic "*) 9723 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 9724 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 9725 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 9726 $EGREP "$file_magic_regex" > /dev/null; then 9727 : 9728 else 9729 cat <<_LT_EOF 1>&2 9730 9731*** Warning: the command libtool uses to detect shared libraries, 9732*** $file_magic_cmd, produces output that libtool cannot recognize. 9733*** The result is that libtool may fail to recognize shared libraries 9734*** as such. This will affect the creation of libtool libraries that 9735*** depend on shared libraries, but programs linked with such libtool 9736*** libraries will work regardless of this problem. Nevertheless, you 9737*** may want to report the problem to your system manager and/or to 9738*** bug-libtool@gnu.org 9739 9740_LT_EOF 9741 fi ;; 9742 esac 9743 fi 9744 break 9745 fi 9746 done 9747 IFS=$lt_save_ifs 9748 MAGIC_CMD=$lt_save_MAGIC_CMD 9749 ;; 9750esac 9751fi 9752 9753MAGIC_CMD=$lt_cv_path_MAGIC_CMD 9754if test -n "$MAGIC_CMD"; then 9755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 9756$as_echo "$MAGIC_CMD" >&6; } 9757else 9758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9759$as_echo "no" >&6; } 9760fi 9761 9762 9763 9764 9765 9766if test -z "$lt_cv_path_MAGIC_CMD"; then 9767 if test -n "$ac_tool_prefix"; then 9768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 9769$as_echo_n "checking for file... " >&6; } 9770if ${lt_cv_path_MAGIC_CMD+:} false; then : 9771 $as_echo_n "(cached) " >&6 9772else 9773 case $MAGIC_CMD in 9774[\\/*] | ?:[\\/]*) 9775 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 9776 ;; 9777*) 9778 lt_save_MAGIC_CMD=$MAGIC_CMD 9779 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 9780 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 9781 for ac_dir in $ac_dummy; do 9782 IFS=$lt_save_ifs 9783 test -z "$ac_dir" && ac_dir=. 9784 if test -f "$ac_dir/file"; then 9785 lt_cv_path_MAGIC_CMD=$ac_dir/"file" 9786 if test -n "$file_magic_test_file"; then 9787 case $deplibs_check_method in 9788 "file_magic "*) 9789 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 9790 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 9791 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 9792 $EGREP "$file_magic_regex" > /dev/null; then 9793 : 9794 else 9795 cat <<_LT_EOF 1>&2 9796 9797*** Warning: the command libtool uses to detect shared libraries, 9798*** $file_magic_cmd, produces output that libtool cannot recognize. 9799*** The result is that libtool may fail to recognize shared libraries 9800*** as such. This will affect the creation of libtool libraries that 9801*** depend on shared libraries, but programs linked with such libtool 9802*** libraries will work regardless of this problem. Nevertheless, you 9803*** may want to report the problem to your system manager and/or to 9804*** bug-libtool@gnu.org 9805 9806_LT_EOF 9807 fi ;; 9808 esac 9809 fi 9810 break 9811 fi 9812 done 9813 IFS=$lt_save_ifs 9814 MAGIC_CMD=$lt_save_MAGIC_CMD 9815 ;; 9816esac 9817fi 9818 9819MAGIC_CMD=$lt_cv_path_MAGIC_CMD 9820if test -n "$MAGIC_CMD"; then 9821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 9822$as_echo "$MAGIC_CMD" >&6; } 9823else 9824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9825$as_echo "no" >&6; } 9826fi 9827 9828 9829 else 9830 MAGIC_CMD=: 9831 fi 9832fi 9833 9834 fi 9835 ;; 9836esac 9837 9838# Use C for the default configuration in the libtool script 9839 9840lt_save_CC=$CC 9841ac_ext=c 9842ac_cpp='$CPP $CPPFLAGS' 9843ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 9844ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 9845ac_compiler_gnu=$ac_cv_c_compiler_gnu 9846 9847 9848# Source file extension for C test sources. 9849ac_ext=c 9850 9851# Object file extension for compiled C test sources. 9852objext=o 9853objext=$objext 9854 9855# Code to be used in simple compile tests 9856lt_simple_compile_test_code="int some_variable = 0;" 9857 9858# Code to be used in simple link tests 9859lt_simple_link_test_code='int main(){return(0);}' 9860 9861 9862 9863 9864 9865 9866 9867# If no C compiler was specified, use CC. 9868LTCC=${LTCC-"$CC"} 9869 9870# If no C compiler flags were specified, use CFLAGS. 9871LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 9872 9873# Allow CC to be a program name with arguments. 9874compiler=$CC 9875 9876# Save the default compiler, since it gets overwritten when the other 9877# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 9878compiler_DEFAULT=$CC 9879 9880# save warnings/boilerplate of simple test code 9881ac_outfile=conftest.$ac_objext 9882echo "$lt_simple_compile_test_code" >conftest.$ac_ext 9883eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 9884_lt_compiler_boilerplate=`cat conftest.err` 9885$RM conftest* 9886 9887ac_outfile=conftest.$ac_objext 9888echo "$lt_simple_link_test_code" >conftest.$ac_ext 9889eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 9890_lt_linker_boilerplate=`cat conftest.err` 9891$RM -r conftest* 9892 9893 9894## CAVEAT EMPTOR: 9895## There is no encapsulation within the following macros, do not change 9896## the running order or otherwise move them around unless you know exactly 9897## what you are doing... 9898if test -n "$compiler"; then 9899 9900lt_prog_compiler_no_builtin_flag= 9901 9902if test yes = "$GCC"; then 9903 case $cc_basename in 9904 nvcc*) 9905 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 9906 *) 9907 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 9908 esac 9909 9910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 9911$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 9912if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 9913 $as_echo_n "(cached) " >&6 9914else 9915 lt_cv_prog_compiler_rtti_exceptions=no 9916 ac_outfile=conftest.$ac_objext 9917 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9918 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment 9919 # Insert the option either (1) after the last *FLAGS variable, or 9920 # (2) before a word containing "conftest.", or (3) at the end. 9921 # Note that $ac_compile itself does not contain backslashes and begins 9922 # with a dollar sign (not a hyphen), so the echo should work correctly. 9923 # The option is referenced via a variable to avoid confusing sed. 9924 lt_compile=`echo "$ac_compile" | $SED \ 9925 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9926 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9927 -e 's:$: $lt_compiler_flag:'` 9928 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9929 (eval "$lt_compile" 2>conftest.err) 9930 ac_status=$? 9931 cat conftest.err >&5 9932 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9933 if (exit $ac_status) && test -s "$ac_outfile"; then 9934 # The compiler can only warn and ignore the option if not recognized 9935 # So say no if there are warnings other than the usual output. 9936 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 9937 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9938 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 9939 lt_cv_prog_compiler_rtti_exceptions=yes 9940 fi 9941 fi 9942 $RM conftest* 9943 9944fi 9945{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 9946$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 9947 9948if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then 9949 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 9950else 9951 : 9952fi 9953 9954fi 9955 9956 9957 9958 9959 9960 9961 lt_prog_compiler_wl= 9962lt_prog_compiler_pic= 9963lt_prog_compiler_static= 9964 9965 9966 if test yes = "$GCC"; then 9967 lt_prog_compiler_wl='-Wl,' 9968 lt_prog_compiler_static='-static' 9969 9970 case $host_os in 9971 aix*) 9972 # All AIX code is PIC. 9973 if test ia64 = "$host_cpu"; then 9974 # AIX 5 now supports IA64 processor 9975 lt_prog_compiler_static='-Bstatic' 9976 fi 9977 lt_prog_compiler_pic='-fPIC' 9978 ;; 9979 9980 amigaos*) 9981 case $host_cpu in 9982 powerpc) 9983 # see comment about AmigaOS4 .so support 9984 lt_prog_compiler_pic='-fPIC' 9985 ;; 9986 m68k) 9987 # FIXME: we need at least 68020 code to build shared libraries, but 9988 # adding the '-m68020' flag to GCC prevents building anything better, 9989 # like '-m68040'. 9990 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 9991 ;; 9992 esac 9993 ;; 9994 9995 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 9996 # PIC is the default for these OSes. 9997 ;; 9998 9999 mingw* | cygwin* | pw32* | os2* | cegcc*) 10000 # This hack is so that the source file can tell whether it is being 10001 # built for inclusion in a dll (and should export symbols for example). 10002 # Although the cygwin gcc ignores -fPIC, still need this for old-style 10003 # (--disable-auto-import) libraries 10004 lt_prog_compiler_pic='-DDLL_EXPORT' 10005 case $host_os in 10006 os2*) 10007 lt_prog_compiler_static='$wl-static' 10008 ;; 10009 esac 10010 ;; 10011 10012 darwin* | rhapsody*) 10013 # PIC is the default on this platform 10014 # Common symbols not allowed in MH_DYLIB files 10015 lt_prog_compiler_pic='-fno-common' 10016 ;; 10017 10018 haiku*) 10019 # PIC is the default for Haiku. 10020 # The "-static" flag exists, but is broken. 10021 lt_prog_compiler_static= 10022 ;; 10023 10024 hpux*) 10025 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 10026 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 10027 # sets the default TLS model and affects inlining. 10028 case $host_cpu in 10029 hppa*64*) 10030 # +Z the default 10031 ;; 10032 *) 10033 lt_prog_compiler_pic='-fPIC' 10034 ;; 10035 esac 10036 ;; 10037 10038 interix[3-9]*) 10039 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 10040 # Instead, we relocate shared libraries at runtime. 10041 ;; 10042 10043 msdosdjgpp*) 10044 # Just because we use GCC doesn't mean we suddenly get shared libraries 10045 # on systems that don't support them. 10046 lt_prog_compiler_can_build_shared=no 10047 enable_shared=no 10048 ;; 10049 10050 *nto* | *qnx*) 10051 # QNX uses GNU C++, but need to define -shared option too, otherwise 10052 # it will coredump. 10053 lt_prog_compiler_pic='-fPIC -shared' 10054 ;; 10055 10056 sysv4*MP*) 10057 if test -d /usr/nec; then 10058 lt_prog_compiler_pic=-Kconform_pic 10059 fi 10060 ;; 10061 10062 *) 10063 lt_prog_compiler_pic='-fPIC' 10064 ;; 10065 esac 10066 10067 case $cc_basename in 10068 nvcc*) # Cuda Compiler Driver 2.2 10069 lt_prog_compiler_wl='-Xlinker ' 10070 if test -n "$lt_prog_compiler_pic"; then 10071 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" 10072 fi 10073 ;; 10074 esac 10075 else 10076 # PORTME Check for flag to pass linker flags through the system compiler. 10077 case $host_os in 10078 aix*) 10079 lt_prog_compiler_wl='-Wl,' 10080 if test ia64 = "$host_cpu"; then 10081 # AIX 5 now supports IA64 processor 10082 lt_prog_compiler_static='-Bstatic' 10083 else 10084 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 10085 fi 10086 ;; 10087 10088 darwin* | rhapsody*) 10089 # PIC is the default on this platform 10090 # Common symbols not allowed in MH_DYLIB files 10091 lt_prog_compiler_pic='-fno-common' 10092 case $cc_basename in 10093 nagfor*) 10094 # NAG Fortran compiler 10095 lt_prog_compiler_wl='-Wl,-Wl,,' 10096 lt_prog_compiler_pic='-PIC' 10097 lt_prog_compiler_static='-Bstatic' 10098 ;; 10099 esac 10100 ;; 10101 10102 mingw* | cygwin* | pw32* | os2* | cegcc*) 10103 # This hack is so that the source file can tell whether it is being 10104 # built for inclusion in a dll (and should export symbols for example). 10105 lt_prog_compiler_pic='-DDLL_EXPORT' 10106 case $host_os in 10107 os2*) 10108 lt_prog_compiler_static='$wl-static' 10109 ;; 10110 esac 10111 ;; 10112 10113 hpux9* | hpux10* | hpux11*) 10114 lt_prog_compiler_wl='-Wl,' 10115 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 10116 # not for PA HP-UX. 10117 case $host_cpu in 10118 hppa*64*|ia64*) 10119 # +Z the default 10120 ;; 10121 *) 10122 lt_prog_compiler_pic='+Z' 10123 ;; 10124 esac 10125 # Is there a better lt_prog_compiler_static that works with the bundled CC? 10126 lt_prog_compiler_static='$wl-a ${wl}archive' 10127 ;; 10128 10129 irix5* | irix6* | nonstopux*) 10130 lt_prog_compiler_wl='-Wl,' 10131 # PIC (with -KPIC) is the default. 10132 lt_prog_compiler_static='-non_shared' 10133 ;; 10134 10135 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 10136 case $cc_basename in 10137 # old Intel for x86_64, which still supported -KPIC. 10138 ecc*) 10139 lt_prog_compiler_wl='-Wl,' 10140 lt_prog_compiler_pic='-KPIC' 10141 lt_prog_compiler_static='-static' 10142 ;; 10143 # icc used to be incompatible with GCC. 10144 # ICC 10 doesn't accept -KPIC any more. 10145 icc* | ifort*) 10146 lt_prog_compiler_wl='-Wl,' 10147 lt_prog_compiler_pic='-fPIC' 10148 lt_prog_compiler_static='-static' 10149 ;; 10150 # Lahey Fortran 8.1. 10151 lf95*) 10152 lt_prog_compiler_wl='-Wl,' 10153 lt_prog_compiler_pic='--shared' 10154 lt_prog_compiler_static='--static' 10155 ;; 10156 nagfor*) 10157 # NAG Fortran compiler 10158 lt_prog_compiler_wl='-Wl,-Wl,,' 10159 lt_prog_compiler_pic='-PIC' 10160 lt_prog_compiler_static='-Bstatic' 10161 ;; 10162 tcc*) 10163 # Fabrice Bellard et al's Tiny C Compiler 10164 lt_prog_compiler_wl='-Wl,' 10165 lt_prog_compiler_pic='-fPIC' 10166 lt_prog_compiler_static='-static' 10167 ;; 10168 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 10169 # Portland Group compilers (*not* the Pentium gcc compiler, 10170 # which looks to be a dead project) 10171 lt_prog_compiler_wl='-Wl,' 10172 lt_prog_compiler_pic='-fpic' 10173 lt_prog_compiler_static='-Bstatic' 10174 ;; 10175 ccc*) 10176 lt_prog_compiler_wl='-Wl,' 10177 # All Alpha code is PIC. 10178 lt_prog_compiler_static='-non_shared' 10179 ;; 10180 xl* | bgxl* | bgf* | mpixl*) 10181 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 10182 lt_prog_compiler_wl='-Wl,' 10183 lt_prog_compiler_pic='-qpic' 10184 lt_prog_compiler_static='-qstaticlink' 10185 ;; 10186 *) 10187 case `$CC -V 2>&1 | sed 5q` in 10188 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) 10189 # Sun Fortran 8.3 passes all unrecognized flags to the linker 10190 lt_prog_compiler_pic='-KPIC' 10191 lt_prog_compiler_static='-Bstatic' 10192 lt_prog_compiler_wl='' 10193 ;; 10194 *Sun\ F* | *Sun*Fortran*) 10195 lt_prog_compiler_pic='-KPIC' 10196 lt_prog_compiler_static='-Bstatic' 10197 lt_prog_compiler_wl='-Qoption ld ' 10198 ;; 10199 *Sun\ C*) 10200 # Sun C 5.9 10201 lt_prog_compiler_pic='-KPIC' 10202 lt_prog_compiler_static='-Bstatic' 10203 lt_prog_compiler_wl='-Wl,' 10204 ;; 10205 *Intel*\ [CF]*Compiler*) 10206 lt_prog_compiler_wl='-Wl,' 10207 lt_prog_compiler_pic='-fPIC' 10208 lt_prog_compiler_static='-static' 10209 ;; 10210 *Portland\ Group*) 10211 lt_prog_compiler_wl='-Wl,' 10212 lt_prog_compiler_pic='-fpic' 10213 lt_prog_compiler_static='-Bstatic' 10214 ;; 10215 esac 10216 ;; 10217 esac 10218 ;; 10219 10220 newsos6) 10221 lt_prog_compiler_pic='-KPIC' 10222 lt_prog_compiler_static='-Bstatic' 10223 ;; 10224 10225 *nto* | *qnx*) 10226 # QNX uses GNU C++, but need to define -shared option too, otherwise 10227 # it will coredump. 10228 lt_prog_compiler_pic='-fPIC -shared' 10229 ;; 10230 10231 osf3* | osf4* | osf5*) 10232 lt_prog_compiler_wl='-Wl,' 10233 # All OSF/1 code is PIC. 10234 lt_prog_compiler_static='-non_shared' 10235 ;; 10236 10237 rdos*) 10238 lt_prog_compiler_static='-non_shared' 10239 ;; 10240 10241 solaris*) 10242 lt_prog_compiler_pic='-KPIC' 10243 lt_prog_compiler_static='-Bstatic' 10244 case $cc_basename in 10245 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 10246 lt_prog_compiler_wl='-Qoption ld ';; 10247 *) 10248 lt_prog_compiler_wl='-Wl,';; 10249 esac 10250 ;; 10251 10252 sunos4*) 10253 lt_prog_compiler_wl='-Qoption ld ' 10254 lt_prog_compiler_pic='-PIC' 10255 lt_prog_compiler_static='-Bstatic' 10256 ;; 10257 10258 sysv4 | sysv4.2uw2* | sysv4.3*) 10259 lt_prog_compiler_wl='-Wl,' 10260 lt_prog_compiler_pic='-KPIC' 10261 lt_prog_compiler_static='-Bstatic' 10262 ;; 10263 10264 sysv4*MP*) 10265 if test -d /usr/nec; then 10266 lt_prog_compiler_pic='-Kconform_pic' 10267 lt_prog_compiler_static='-Bstatic' 10268 fi 10269 ;; 10270 10271 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 10272 lt_prog_compiler_wl='-Wl,' 10273 lt_prog_compiler_pic='-KPIC' 10274 lt_prog_compiler_static='-Bstatic' 10275 ;; 10276 10277 unicos*) 10278 lt_prog_compiler_wl='-Wl,' 10279 lt_prog_compiler_can_build_shared=no 10280 ;; 10281 10282 uts4*) 10283 lt_prog_compiler_pic='-pic' 10284 lt_prog_compiler_static='-Bstatic' 10285 ;; 10286 10287 *) 10288 lt_prog_compiler_can_build_shared=no 10289 ;; 10290 esac 10291 fi 10292 10293case $host_os in 10294 # For platforms that do not support PIC, -DPIC is meaningless: 10295 *djgpp*) 10296 lt_prog_compiler_pic= 10297 ;; 10298 *) 10299 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 10300 ;; 10301esac 10302 10303{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 10304$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 10305if ${lt_cv_prog_compiler_pic+:} false; then : 10306 $as_echo_n "(cached) " >&6 10307else 10308 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 10309fi 10310{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 10311$as_echo "$lt_cv_prog_compiler_pic" >&6; } 10312lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 10313 10314# 10315# Check to make sure the PIC flag actually works. 10316# 10317if test -n "$lt_prog_compiler_pic"; then 10318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 10319$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 10320if ${lt_cv_prog_compiler_pic_works+:} false; then : 10321 $as_echo_n "(cached) " >&6 10322else 10323 lt_cv_prog_compiler_pic_works=no 10324 ac_outfile=conftest.$ac_objext 10325 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10326 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment 10327 # Insert the option either (1) after the last *FLAGS variable, or 10328 # (2) before a word containing "conftest.", or (3) at the end. 10329 # Note that $ac_compile itself does not contain backslashes and begins 10330 # with a dollar sign (not a hyphen), so the echo should work correctly. 10331 # The option is referenced via a variable to avoid confusing sed. 10332 lt_compile=`echo "$ac_compile" | $SED \ 10333 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 10334 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 10335 -e 's:$: $lt_compiler_flag:'` 10336 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 10337 (eval "$lt_compile" 2>conftest.err) 10338 ac_status=$? 10339 cat conftest.err >&5 10340 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10341 if (exit $ac_status) && test -s "$ac_outfile"; then 10342 # The compiler can only warn and ignore the option if not recognized 10343 # So say no if there are warnings other than the usual output. 10344 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 10345 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 10346 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 10347 lt_cv_prog_compiler_pic_works=yes 10348 fi 10349 fi 10350 $RM conftest* 10351 10352fi 10353{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 10354$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 10355 10356if test yes = "$lt_cv_prog_compiler_pic_works"; then 10357 case $lt_prog_compiler_pic in 10358 "" | " "*) ;; 10359 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 10360 esac 10361else 10362 lt_prog_compiler_pic= 10363 lt_prog_compiler_can_build_shared=no 10364fi 10365 10366fi 10367 10368 10369 10370 10371 10372 10373 10374 10375 10376 10377 10378# 10379# Check to make sure the static flag actually works. 10380# 10381wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 10382{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 10383$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 10384if ${lt_cv_prog_compiler_static_works+:} false; then : 10385 $as_echo_n "(cached) " >&6 10386else 10387 lt_cv_prog_compiler_static_works=no 10388 save_LDFLAGS=$LDFLAGS 10389 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 10390 echo "$lt_simple_link_test_code" > conftest.$ac_ext 10391 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 10392 # The linker can only warn and ignore the option if not recognized 10393 # So say no if there are warnings 10394 if test -s conftest.err; then 10395 # Append any errors to the config.log. 10396 cat conftest.err 1>&5 10397 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 10398 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 10399 if diff conftest.exp conftest.er2 >/dev/null; then 10400 lt_cv_prog_compiler_static_works=yes 10401 fi 10402 else 10403 lt_cv_prog_compiler_static_works=yes 10404 fi 10405 fi 10406 $RM -r conftest* 10407 LDFLAGS=$save_LDFLAGS 10408 10409fi 10410{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 10411$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 10412 10413if test yes = "$lt_cv_prog_compiler_static_works"; then 10414 : 10415else 10416 lt_prog_compiler_static= 10417fi 10418 10419 10420 10421 10422 10423 10424 10425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 10426$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 10427if ${lt_cv_prog_compiler_c_o+:} false; then : 10428 $as_echo_n "(cached) " >&6 10429else 10430 lt_cv_prog_compiler_c_o=no 10431 $RM -r conftest 2>/dev/null 10432 mkdir conftest 10433 cd conftest 10434 mkdir out 10435 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10436 10437 lt_compiler_flag="-o out/conftest2.$ac_objext" 10438 # Insert the option either (1) after the last *FLAGS variable, or 10439 # (2) before a word containing "conftest.", or (3) at the end. 10440 # Note that $ac_compile itself does not contain backslashes and begins 10441 # with a dollar sign (not a hyphen), so the echo should work correctly. 10442 lt_compile=`echo "$ac_compile" | $SED \ 10443 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 10444 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 10445 -e 's:$: $lt_compiler_flag:'` 10446 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 10447 (eval "$lt_compile" 2>out/conftest.err) 10448 ac_status=$? 10449 cat out/conftest.err >&5 10450 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10451 if (exit $ac_status) && test -s out/conftest2.$ac_objext 10452 then 10453 # The compiler can only warn and ignore the option if not recognized 10454 # So say no if there are warnings 10455 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 10456 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 10457 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 10458 lt_cv_prog_compiler_c_o=yes 10459 fi 10460 fi 10461 chmod u+w . 2>&5 10462 $RM conftest* 10463 # SGI C++ compiler will create directory out/ii_files/ for 10464 # template instantiation 10465 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 10466 $RM out/* && rmdir out 10467 cd .. 10468 $RM -r conftest 10469 $RM conftest* 10470 10471fi 10472{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 10473$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 10474 10475 10476 10477 10478 10479 10480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 10481$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 10482if ${lt_cv_prog_compiler_c_o+:} false; then : 10483 $as_echo_n "(cached) " >&6 10484else 10485 lt_cv_prog_compiler_c_o=no 10486 $RM -r conftest 2>/dev/null 10487 mkdir conftest 10488 cd conftest 10489 mkdir out 10490 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10491 10492 lt_compiler_flag="-o out/conftest2.$ac_objext" 10493 # Insert the option either (1) after the last *FLAGS variable, or 10494 # (2) before a word containing "conftest.", or (3) at the end. 10495 # Note that $ac_compile itself does not contain backslashes and begins 10496 # with a dollar sign (not a hyphen), so the echo should work correctly. 10497 lt_compile=`echo "$ac_compile" | $SED \ 10498 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 10499 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 10500 -e 's:$: $lt_compiler_flag:'` 10501 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 10502 (eval "$lt_compile" 2>out/conftest.err) 10503 ac_status=$? 10504 cat out/conftest.err >&5 10505 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10506 if (exit $ac_status) && test -s out/conftest2.$ac_objext 10507 then 10508 # The compiler can only warn and ignore the option if not recognized 10509 # So say no if there are warnings 10510 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 10511 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 10512 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 10513 lt_cv_prog_compiler_c_o=yes 10514 fi 10515 fi 10516 chmod u+w . 2>&5 10517 $RM conftest* 10518 # SGI C++ compiler will create directory out/ii_files/ for 10519 # template instantiation 10520 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 10521 $RM out/* && rmdir out 10522 cd .. 10523 $RM -r conftest 10524 $RM conftest* 10525 10526fi 10527{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 10528$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 10529 10530 10531 10532 10533hard_links=nottested 10534if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then 10535 # do not overwrite the value of need_locks provided by the user 10536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 10537$as_echo_n "checking if we can lock with hard links... " >&6; } 10538 hard_links=yes 10539 $RM conftest* 10540 ln conftest.a conftest.b 2>/dev/null && hard_links=no 10541 touch conftest.a 10542 ln conftest.a conftest.b 2>&5 || hard_links=no 10543 ln conftest.a conftest.b 2>/dev/null && hard_links=no 10544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 10545$as_echo "$hard_links" >&6; } 10546 if test no = "$hard_links"; then 10547 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 10548$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} 10549 need_locks=warn 10550 fi 10551else 10552 need_locks=no 10553fi 10554 10555 10556 10557 10558 10559 10560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 10561$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 10562 10563 runpath_var= 10564 allow_undefined_flag= 10565 always_export_symbols=no 10566 archive_cmds= 10567 archive_expsym_cmds= 10568 compiler_needs_object=no 10569 enable_shared_with_static_runtimes=no 10570 export_dynamic_flag_spec= 10571 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 10572 hardcode_automatic=no 10573 hardcode_direct=no 10574 hardcode_direct_absolute=no 10575 hardcode_libdir_flag_spec= 10576 hardcode_libdir_separator= 10577 hardcode_minus_L=no 10578 hardcode_shlibpath_var=unsupported 10579 inherit_rpath=no 10580 link_all_deplibs=unknown 10581 module_cmds= 10582 module_expsym_cmds= 10583 old_archive_from_new_cmds= 10584 old_archive_from_expsyms_cmds= 10585 thread_safe_flag_spec= 10586 whole_archive_flag_spec= 10587 # include_expsyms should be a list of space-separated symbols to be *always* 10588 # included in the symbol list 10589 include_expsyms= 10590 # exclude_expsyms can be an extended regexp of symbols to exclude 10591 # it will be wrapped by ' (' and ')$', so one must not match beginning or 10592 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc', 10593 # as well as any symbol that contains 'd'. 10594 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 10595 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 10596 # platforms (ab)use it in PIC code, but their linkers get confused if 10597 # the symbol is explicitly referenced. Since portable code cannot 10598 # rely on this symbol name, it's probably fine to never include it in 10599 # preloaded symbol tables. 10600 # Exclude shared library initialization/finalization symbols. 10601 extract_expsyms_cmds= 10602 10603 case $host_os in 10604 cygwin* | mingw* | pw32* | cegcc*) 10605 # FIXME: the MSVC++ port hasn't been tested in a loooong time 10606 # When not using gcc, we currently assume that we are using 10607 # Microsoft Visual C++. 10608 if test yes != "$GCC"; then 10609 with_gnu_ld=no 10610 fi 10611 ;; 10612 interix*) 10613 # we just hope/assume this is gcc and not c89 (= MSVC++) 10614 with_gnu_ld=yes 10615 ;; 10616 openbsd* | bitrig*) 10617 with_gnu_ld=no 10618 ;; 10619 esac 10620 10621 ld_shlibs=yes 10622 10623 # On some targets, GNU ld is compatible enough with the native linker 10624 # that we're better off using the native interface for both. 10625 lt_use_gnu_ld_interface=no 10626 if test yes = "$with_gnu_ld"; then 10627 case $host_os in 10628 aix*) 10629 # The AIX port of GNU ld has always aspired to compatibility 10630 # with the native linker. However, as the warning in the GNU ld 10631 # block says, versions before 2.19.5* couldn't really create working 10632 # shared libraries, regardless of the interface used. 10633 case `$LD -v 2>&1` in 10634 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 10635 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 10636 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 10637 *) 10638 lt_use_gnu_ld_interface=yes 10639 ;; 10640 esac 10641 ;; 10642 *) 10643 lt_use_gnu_ld_interface=yes 10644 ;; 10645 esac 10646 fi 10647 10648 if test yes = "$lt_use_gnu_ld_interface"; then 10649 # If archive_cmds runs LD, not CC, wlarc should be empty 10650 wlarc='$wl' 10651 10652 # Set some defaults for GNU ld with shared library support. These 10653 # are reset later if shared libraries are not supported. Putting them 10654 # here allows them to be overridden if necessary. 10655 runpath_var=LD_RUN_PATH 10656 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10657 export_dynamic_flag_spec='$wl--export-dynamic' 10658 # ancient GNU ld didn't support --whole-archive et. al. 10659 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 10660 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 10661 else 10662 whole_archive_flag_spec= 10663 fi 10664 supports_anon_versioning=no 10665 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in 10666 *GNU\ gold*) supports_anon_versioning=yes ;; 10667 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 10668 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 10669 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 10670 *\ 2.11.*) ;; # other 2.11 versions 10671 *) supports_anon_versioning=yes ;; 10672 esac 10673 10674 # See if GNU ld supports shared libraries. 10675 case $host_os in 10676 aix[3-9]*) 10677 # On AIX/PPC, the GNU linker is very broken 10678 if test ia64 != "$host_cpu"; then 10679 ld_shlibs=no 10680 cat <<_LT_EOF 1>&2 10681 10682*** Warning: the GNU linker, at least up to release 2.19, is reported 10683*** to be unable to reliably create shared libraries on AIX. 10684*** Therefore, libtool is disabling shared libraries support. If you 10685*** really care for shared libraries, you may want to install binutils 10686*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 10687*** You will then need to restart the configuration process. 10688 10689_LT_EOF 10690 fi 10691 ;; 10692 10693 amigaos*) 10694 case $host_cpu in 10695 powerpc) 10696 # see comment about AmigaOS4 .so support 10697 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10698 archive_expsym_cmds='' 10699 ;; 10700 m68k) 10701 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)' 10702 hardcode_libdir_flag_spec='-L$libdir' 10703 hardcode_minus_L=yes 10704 ;; 10705 esac 10706 ;; 10707 10708 beos*) 10709 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10710 allow_undefined_flag=unsupported 10711 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 10712 # support --undefined. This deserves some investigation. FIXME 10713 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10714 else 10715 ld_shlibs=no 10716 fi 10717 ;; 10718 10719 cygwin* | mingw* | pw32* | cegcc*) 10720 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 10721 # as there is no search path for DLLs. 10722 hardcode_libdir_flag_spec='-L$libdir' 10723 export_dynamic_flag_spec='$wl--export-all-symbols' 10724 allow_undefined_flag=unsupported 10725 always_export_symbols=no 10726 enable_shared_with_static_runtimes=yes 10727 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' 10728 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 10729 10730 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 10731 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 10732 # If the export-symbols file already is a .def file, use it as 10733 # is; otherwise, prepend EXPORTS... 10734 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 10735 cp $export_symbols $output_objdir/$soname.def; 10736 else 10737 echo EXPORTS > $output_objdir/$soname.def; 10738 cat $export_symbols >> $output_objdir/$soname.def; 10739 fi~ 10740 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 10741 else 10742 ld_shlibs=no 10743 fi 10744 ;; 10745 10746 haiku*) 10747 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10748 link_all_deplibs=yes 10749 ;; 10750 10751 os2*) 10752 hardcode_libdir_flag_spec='-L$libdir' 10753 hardcode_minus_L=yes 10754 allow_undefined_flag=unsupported 10755 shrext_cmds=.dll 10756 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10757 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10758 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10759 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10760 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 10761 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10762 emximp -o $lib $output_objdir/$libname.def' 10763 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10764 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10765 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10766 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10767 prefix_cmds="$SED"~ 10768 if test EXPORTS = "`$SED 1q $export_symbols`"; then 10769 prefix_cmds="$prefix_cmds -e 1d"; 10770 fi~ 10771 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 10772 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 10773 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10774 emximp -o $lib $output_objdir/$libname.def' 10775 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 10776 enable_shared_with_static_runtimes=yes 10777 ;; 10778 10779 interix[3-9]*) 10780 hardcode_direct=no 10781 hardcode_shlibpath_var=no 10782 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 10783 export_dynamic_flag_spec='$wl-E' 10784 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 10785 # Instead, shared libraries are loaded at an image base (0x10000000 by 10786 # default) and relocated if they conflict, which is a slow very memory 10787 # consuming and fragmenting process. To avoid this, we pick a random, 10788 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 10789 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 10790 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 10791 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' 10792 ;; 10793 10794 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 10795 tmp_diet=no 10796 if test linux-dietlibc = "$host_os"; then 10797 case $cc_basename in 10798 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 10799 esac 10800 fi 10801 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 10802 && test no = "$tmp_diet" 10803 then 10804 tmp_addflag=' $pic_flag' 10805 tmp_sharedflag='-shared' 10806 case $cc_basename,$host_cpu in 10807 pgcc*) # Portland Group C compiler 10808 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' 10809 tmp_addflag=' $pic_flag' 10810 ;; 10811 pgf77* | pgf90* | pgf95* | pgfortran*) 10812 # Portland Group f77 and f90 compilers 10813 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' 10814 tmp_addflag=' $pic_flag -Mnomain' ;; 10815 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 10816 tmp_addflag=' -i_dynamic' ;; 10817 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 10818 tmp_addflag=' -i_dynamic -nofor_main' ;; 10819 ifc* | ifort*) # Intel Fortran compiler 10820 tmp_addflag=' -nofor_main' ;; 10821 lf95*) # Lahey Fortran 8.1 10822 whole_archive_flag_spec= 10823 tmp_sharedflag='--shared' ;; 10824 nagfor*) # NAGFOR 5.3 10825 tmp_sharedflag='-Wl,-shared' ;; 10826 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 10827 tmp_sharedflag='-qmkshrobj' 10828 tmp_addflag= ;; 10829 nvcc*) # Cuda Compiler Driver 2.2 10830 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' 10831 compiler_needs_object=yes 10832 ;; 10833 esac 10834 case `$CC -V 2>&1 | sed 5q` in 10835 *Sun\ C*) # Sun C 5.9 10836 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' 10837 compiler_needs_object=yes 10838 tmp_sharedflag='-G' ;; 10839 *Sun\ F*) # Sun Fortran 8.3 10840 tmp_sharedflag='-G' ;; 10841 esac 10842 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10843 10844 if test yes = "$supports_anon_versioning"; then 10845 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 10846 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 10847 echo "local: *; };" >> $output_objdir/$libname.ver~ 10848 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' 10849 fi 10850 10851 case $cc_basename in 10852 tcc*) 10853 export_dynamic_flag_spec='-rdynamic' 10854 ;; 10855 xlf* | bgf* | bgxlf* | mpixlf*) 10856 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 10857 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 10858 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10859 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 10860 if test yes = "$supports_anon_versioning"; then 10861 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 10862 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 10863 echo "local: *; };" >> $output_objdir/$libname.ver~ 10864 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 10865 fi 10866 ;; 10867 esac 10868 else 10869 ld_shlibs=no 10870 fi 10871 ;; 10872 10873 netbsd*) 10874 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10875 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 10876 wlarc= 10877 else 10878 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10879 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 10880 fi 10881 ;; 10882 10883 solaris*) 10884 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 10885 ld_shlibs=no 10886 cat <<_LT_EOF 1>&2 10887 10888*** Warning: The releases 2.8.* of the GNU linker cannot reliably 10889*** create shared libraries on Solaris systems. Therefore, libtool 10890*** is disabling shared libraries support. We urge you to upgrade GNU 10891*** binutils to release 2.9.1 or newer. Another option is to modify 10892*** your PATH or compiler configuration so that the native linker is 10893*** used, and then restart. 10894 10895_LT_EOF 10896 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10897 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10898 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 10899 else 10900 ld_shlibs=no 10901 fi 10902 ;; 10903 10904 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 10905 case `$LD -v 2>&1` in 10906 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 10907 ld_shlibs=no 10908 cat <<_LT_EOF 1>&2 10909 10910*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot 10911*** reliably create shared libraries on SCO systems. Therefore, libtool 10912*** is disabling shared libraries support. We urge you to upgrade GNU 10913*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 10914*** your PATH or compiler configuration so that the native linker is 10915*** used, and then restart. 10916 10917_LT_EOF 10918 ;; 10919 *) 10920 # For security reasons, it is highly recommended that you always 10921 # use absolute paths for naming shared libraries, and exclude the 10922 # DT_RUNPATH tag from executables and libraries. But doing so 10923 # requires that you compile everything twice, which is a pain. 10924 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10925 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10926 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10927 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 10928 else 10929 ld_shlibs=no 10930 fi 10931 ;; 10932 esac 10933 ;; 10934 10935 sunos4*) 10936 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 10937 wlarc= 10938 hardcode_direct=yes 10939 hardcode_shlibpath_var=no 10940 ;; 10941 10942 *) 10943 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10944 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10945 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 10946 else 10947 ld_shlibs=no 10948 fi 10949 ;; 10950 esac 10951 10952 if test no = "$ld_shlibs"; then 10953 runpath_var= 10954 hardcode_libdir_flag_spec= 10955 export_dynamic_flag_spec= 10956 whole_archive_flag_spec= 10957 fi 10958 else 10959 # PORTME fill in a description of your system's linker (not GNU ld) 10960 case $host_os in 10961 aix3*) 10962 allow_undefined_flag=unsupported 10963 always_export_symbols=yes 10964 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' 10965 # Note: this linker hardcodes the directories in LIBPATH if there 10966 # are no directories specified by -L. 10967 hardcode_minus_L=yes 10968 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then 10969 # Neither direct hardcoding nor static linking is supported with a 10970 # broken collect2. 10971 hardcode_direct=unsupported 10972 fi 10973 ;; 10974 10975 aix[4-9]*) 10976 if test ia64 = "$host_cpu"; then 10977 # On IA64, the linker does run time linking by default, so we don't 10978 # have to do anything special. 10979 aix_use_runtimelinking=no 10980 exp_sym_flag='-Bexport' 10981 no_entry_flag= 10982 else 10983 # If we're using GNU nm, then we don't want the "-C" option. 10984 # -C means demangle to GNU nm, but means don't demangle to AIX nm. 10985 # Without the "-l" option, or with the "-B" option, AIX nm treats 10986 # weak defined symbols like other global defined symbols, whereas 10987 # GNU nm marks them as "W". 10988 # While the 'weak' keyword is ignored in the Export File, we need 10989 # it in the Import File for the 'aix-soname' feature, so we have 10990 # to replace the "-B" option with "-P" for AIX nm. 10991 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 10992 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' 10993 else 10994 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' 10995 fi 10996 aix_use_runtimelinking=no 10997 10998 # Test if we are trying to use run time linking or normal 10999 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 11000 # have runtime linking enabled, and use it for executables. 11001 # For shared libraries, we enable/disable runtime linking 11002 # depending on the kind of the shared library created - 11003 # when "with_aix_soname,aix_use_runtimelinking" is: 11004 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables 11005 # "aix,yes" lib.so shared, rtl:yes, for executables 11006 # lib.a static archive 11007 # "both,no" lib.so.V(shr.o) shared, rtl:yes 11008 # lib.a(lib.so.V) shared, rtl:no, for executables 11009 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables 11010 # lib.a(lib.so.V) shared, rtl:no 11011 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables 11012 # lib.a static archive 11013 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 11014 for ld_flag in $LDFLAGS; do 11015 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then 11016 aix_use_runtimelinking=yes 11017 break 11018 fi 11019 done 11020 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then 11021 # With aix-soname=svr4, we create the lib.so.V shared archives only, 11022 # so we don't have lib.a shared libs to link our executables. 11023 # We have to force runtime linking in this case. 11024 aix_use_runtimelinking=yes 11025 LDFLAGS="$LDFLAGS -Wl,-brtl" 11026 fi 11027 ;; 11028 esac 11029 11030 exp_sym_flag='-bexport' 11031 no_entry_flag='-bnoentry' 11032 fi 11033 11034 # When large executables or shared objects are built, AIX ld can 11035 # have problems creating the table of contents. If linking a library 11036 # or program results in "error TOC overflow" add -mminimal-toc to 11037 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 11038 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 11039 11040 archive_cmds='' 11041 hardcode_direct=yes 11042 hardcode_direct_absolute=yes 11043 hardcode_libdir_separator=':' 11044 link_all_deplibs=yes 11045 file_list_spec='$wl-f,' 11046 case $with_aix_soname,$aix_use_runtimelinking in 11047 aix,*) ;; # traditional, no import file 11048 svr4,* | *,yes) # use import file 11049 # The Import File defines what to hardcode. 11050 hardcode_direct=no 11051 hardcode_direct_absolute=no 11052 ;; 11053 esac 11054 11055 if test yes = "$GCC"; then 11056 case $host_os in aix4.[012]|aix4.[012].*) 11057 # We only want to do this on AIX 4.2 and lower, the check 11058 # below for broken collect2 doesn't work under 4.3+ 11059 collect2name=`$CC -print-prog-name=collect2` 11060 if test -f "$collect2name" && 11061 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 11062 then 11063 # We have reworked collect2 11064 : 11065 else 11066 # We have old collect2 11067 hardcode_direct=unsupported 11068 # It fails to find uninstalled libraries when the uninstalled 11069 # path is not listed in the libpath. Setting hardcode_minus_L 11070 # to unsupported forces relinking 11071 hardcode_minus_L=yes 11072 hardcode_libdir_flag_spec='-L$libdir' 11073 hardcode_libdir_separator= 11074 fi 11075 ;; 11076 esac 11077 shared_flag='-shared' 11078 if test yes = "$aix_use_runtimelinking"; then 11079 shared_flag="$shared_flag "'$wl-G' 11080 fi 11081 # Need to ensure runtime linking is disabled for the traditional 11082 # shared library, or the linker may eventually find shared libraries 11083 # /with/ Import File - we do not want to mix them. 11084 shared_flag_aix='-shared' 11085 shared_flag_svr4='-shared $wl-G' 11086 else 11087 # not using gcc 11088 if test ia64 = "$host_cpu"; then 11089 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 11090 # chokes on -Wl,-G. The following line is correct: 11091 shared_flag='-G' 11092 else 11093 if test yes = "$aix_use_runtimelinking"; then 11094 shared_flag='$wl-G' 11095 else 11096 shared_flag='$wl-bM:SRE' 11097 fi 11098 shared_flag_aix='$wl-bM:SRE' 11099 shared_flag_svr4='$wl-G' 11100 fi 11101 fi 11102 11103 export_dynamic_flag_spec='$wl-bexpall' 11104 # It seems that -bexpall does not export symbols beginning with 11105 # underscore (_), so it is better to generate a list of symbols to export. 11106 always_export_symbols=yes 11107 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then 11108 # Warning - without using the other runtime loading flags (-brtl), 11109 # -berok will link without error, but may produce a broken library. 11110 allow_undefined_flag='-berok' 11111 # Determine the default libpath from the value encoded in an 11112 # empty executable. 11113 if test set = "${lt_cv_aix_libpath+set}"; then 11114 aix_libpath=$lt_cv_aix_libpath 11115else 11116 if ${lt_cv_aix_libpath_+:} false; then : 11117 $as_echo_n "(cached) " >&6 11118else 11119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11120/* end confdefs.h. */ 11121 11122int 11123main () 11124{ 11125 11126 ; 11127 return 0; 11128} 11129_ACEOF 11130if ac_fn_c_try_link "$LINENO"; then : 11131 11132 lt_aix_libpath_sed=' 11133 /Import File Strings/,/^$/ { 11134 /^0/ { 11135 s/^0 *\([^ ]*\) *$/\1/ 11136 p 11137 } 11138 }' 11139 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 11140 # Check for a 64-bit object if we didn't find anything. 11141 if test -z "$lt_cv_aix_libpath_"; then 11142 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 11143 fi 11144fi 11145rm -f core conftest.err conftest.$ac_objext \ 11146 conftest$ac_exeext conftest.$ac_ext 11147 if test -z "$lt_cv_aix_libpath_"; then 11148 lt_cv_aix_libpath_=/usr/lib:/lib 11149 fi 11150 11151fi 11152 11153 aix_libpath=$lt_cv_aix_libpath_ 11154fi 11155 11156 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 11157 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 11158 else 11159 if test ia64 = "$host_cpu"; then 11160 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib' 11161 allow_undefined_flag="-z nodefs" 11162 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" 11163 else 11164 # Determine the default libpath from the value encoded in an 11165 # empty executable. 11166 if test set = "${lt_cv_aix_libpath+set}"; then 11167 aix_libpath=$lt_cv_aix_libpath 11168else 11169 if ${lt_cv_aix_libpath_+:} false; then : 11170 $as_echo_n "(cached) " >&6 11171else 11172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11173/* end confdefs.h. */ 11174 11175int 11176main () 11177{ 11178 11179 ; 11180 return 0; 11181} 11182_ACEOF 11183if ac_fn_c_try_link "$LINENO"; then : 11184 11185 lt_aix_libpath_sed=' 11186 /Import File Strings/,/^$/ { 11187 /^0/ { 11188 s/^0 *\([^ ]*\) *$/\1/ 11189 p 11190 } 11191 }' 11192 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 11193 # Check for a 64-bit object if we didn't find anything. 11194 if test -z "$lt_cv_aix_libpath_"; then 11195 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 11196 fi 11197fi 11198rm -f core conftest.err conftest.$ac_objext \ 11199 conftest$ac_exeext conftest.$ac_ext 11200 if test -z "$lt_cv_aix_libpath_"; then 11201 lt_cv_aix_libpath_=/usr/lib:/lib 11202 fi 11203 11204fi 11205 11206 aix_libpath=$lt_cv_aix_libpath_ 11207fi 11208 11209 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 11210 # Warning - without using the other run time loading flags, 11211 # -berok will link without error, but may produce a broken library. 11212 no_undefined_flag=' $wl-bernotok' 11213 allow_undefined_flag=' $wl-berok' 11214 if test yes = "$with_gnu_ld"; then 11215 # We only use this code for GNU lds that support --whole-archive. 11216 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive' 11217 else 11218 # Exported symbols can be pulled into shared objects from archives 11219 whole_archive_flag_spec='$convenience' 11220 fi 11221 archive_cmds_need_lc=yes 11222 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' 11223 # -brtl affects multiple linker settings, -berok does not and is overridden later 11224 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' 11225 if test svr4 != "$with_aix_soname"; then 11226 # This is similar to how AIX traditionally builds its shared libraries. 11227 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' 11228 fi 11229 if test aix != "$with_aix_soname"; then 11230 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' 11231 else 11232 # used by -dlpreopen to get the symbols 11233 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir' 11234 fi 11235 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d' 11236 fi 11237 fi 11238 ;; 11239 11240 amigaos*) 11241 case $host_cpu in 11242 powerpc) 11243 # see comment about AmigaOS4 .so support 11244 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 11245 archive_expsym_cmds='' 11246 ;; 11247 m68k) 11248 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)' 11249 hardcode_libdir_flag_spec='-L$libdir' 11250 hardcode_minus_L=yes 11251 ;; 11252 esac 11253 ;; 11254 11255 bsdi[45]*) 11256 export_dynamic_flag_spec=-rdynamic 11257 ;; 11258 11259 cygwin* | mingw* | pw32* | cegcc*) 11260 # When not using gcc, we currently assume that we are using 11261 # Microsoft Visual C++. 11262 # hardcode_libdir_flag_spec is actually meaningless, as there is 11263 # no search path for DLLs. 11264 case $cc_basename in 11265 cl*) 11266 # Native MSVC 11267 hardcode_libdir_flag_spec=' ' 11268 allow_undefined_flag=unsupported 11269 always_export_symbols=yes 11270 file_list_spec='@' 11271 # Tell ltmain to make .lib files, not .a files. 11272 libext=lib 11273 # Tell ltmain to make .dll files, not .so files. 11274 shrext_cmds=.dll 11275 # FIXME: Setting linknames here is a bad hack. 11276 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' 11277 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 11278 cp "$export_symbols" "$output_objdir/$soname.def"; 11279 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; 11280 else 11281 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; 11282 fi~ 11283 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 11284 linknames=' 11285 # The linker will not automatically build a static lib if we build a DLL. 11286 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 11287 enable_shared_with_static_runtimes=yes 11288 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 11289 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 11290 # Don't use ranlib 11291 old_postinstall_cmds='chmod 644 $oldlib' 11292 postlink_cmds='lt_outputfile="@OUTPUT@"~ 11293 lt_tool_outputfile="@TOOL_OUTPUT@"~ 11294 case $lt_outputfile in 11295 *.exe|*.EXE) ;; 11296 *) 11297 lt_outputfile=$lt_outputfile.exe 11298 lt_tool_outputfile=$lt_tool_outputfile.exe 11299 ;; 11300 esac~ 11301 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then 11302 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 11303 $RM "$lt_outputfile.manifest"; 11304 fi' 11305 ;; 11306 *) 11307 # Assume MSVC wrapper 11308 hardcode_libdir_flag_spec=' ' 11309 allow_undefined_flag=unsupported 11310 # Tell ltmain to make .lib files, not .a files. 11311 libext=lib 11312 # Tell ltmain to make .dll files, not .so files. 11313 shrext_cmds=.dll 11314 # FIXME: Setting linknames here is a bad hack. 11315 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 11316 # The linker will automatically build a .lib file if we build a DLL. 11317 old_archive_from_new_cmds='true' 11318 # FIXME: Should let the user specify the lib program. 11319 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 11320 enable_shared_with_static_runtimes=yes 11321 ;; 11322 esac 11323 ;; 11324 11325 darwin* | rhapsody*) 11326 11327 11328 archive_cmds_need_lc=no 11329 hardcode_direct=no 11330 hardcode_automatic=yes 11331 hardcode_shlibpath_var=unsupported 11332 if test yes = "$lt_cv_ld_force_load"; then 11333 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\"`' 11334 11335 else 11336 whole_archive_flag_spec='' 11337 fi 11338 link_all_deplibs=yes 11339 allow_undefined_flag=$_lt_dar_allow_undefined 11340 case $cc_basename in 11341 ifort*|nagfor*) _lt_dar_can_shared=yes ;; 11342 *) _lt_dar_can_shared=$GCC ;; 11343 esac 11344 if test yes = "$_lt_dar_can_shared"; then 11345 output_verbose_link_cmd=func_echo_all 11346 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" 11347 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" 11348 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" 11349 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" 11350 11351 else 11352 ld_shlibs=no 11353 fi 11354 11355 ;; 11356 11357 dgux*) 11358 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11359 hardcode_libdir_flag_spec='-L$libdir' 11360 hardcode_shlibpath_var=no 11361 ;; 11362 11363 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 11364 # support. Future versions do this automatically, but an explicit c++rt0.o 11365 # does not break anything, and helps significantly (at the cost of a little 11366 # extra space). 11367 freebsd2.2*) 11368 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 11369 hardcode_libdir_flag_spec='-R$libdir' 11370 hardcode_direct=yes 11371 hardcode_shlibpath_var=no 11372 ;; 11373 11374 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 11375 freebsd2.*) 11376 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 11377 hardcode_direct=yes 11378 hardcode_minus_L=yes 11379 hardcode_shlibpath_var=no 11380 ;; 11381 11382 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 11383 freebsd* | dragonfly*) 11384 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 11385 hardcode_libdir_flag_spec='-R$libdir' 11386 hardcode_direct=yes 11387 hardcode_shlibpath_var=no 11388 ;; 11389 11390 hpux9*) 11391 if test yes = "$GCC"; then 11392 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' 11393 else 11394 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' 11395 fi 11396 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 11397 hardcode_libdir_separator=: 11398 hardcode_direct=yes 11399 11400 # hardcode_minus_L: Not really in the search PATH, 11401 # but as the default location of the library. 11402 hardcode_minus_L=yes 11403 export_dynamic_flag_spec='$wl-E' 11404 ;; 11405 11406 hpux10*) 11407 if test yes,no = "$GCC,$with_gnu_ld"; then 11408 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 11409 else 11410 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 11411 fi 11412 if test no = "$with_gnu_ld"; then 11413 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 11414 hardcode_libdir_separator=: 11415 hardcode_direct=yes 11416 hardcode_direct_absolute=yes 11417 export_dynamic_flag_spec='$wl-E' 11418 # hardcode_minus_L: Not really in the search PATH, 11419 # but as the default location of the library. 11420 hardcode_minus_L=yes 11421 fi 11422 ;; 11423 11424 hpux11*) 11425 if test yes,no = "$GCC,$with_gnu_ld"; then 11426 case $host_cpu in 11427 hppa*64*) 11428 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 11429 ;; 11430 ia64*) 11431 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 11432 ;; 11433 *) 11434 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 11435 ;; 11436 esac 11437 else 11438 case $host_cpu in 11439 hppa*64*) 11440 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 11441 ;; 11442 ia64*) 11443 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 11444 ;; 11445 *) 11446 11447 # Older versions of the 11.00 compiler do not understand -b yet 11448 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 11449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 11450$as_echo_n "checking if $CC understands -b... " >&6; } 11451if ${lt_cv_prog_compiler__b+:} false; then : 11452 $as_echo_n "(cached) " >&6 11453else 11454 lt_cv_prog_compiler__b=no 11455 save_LDFLAGS=$LDFLAGS 11456 LDFLAGS="$LDFLAGS -b" 11457 echo "$lt_simple_link_test_code" > conftest.$ac_ext 11458 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 11459 # The linker can only warn and ignore the option if not recognized 11460 # So say no if there are warnings 11461 if test -s conftest.err; then 11462 # Append any errors to the config.log. 11463 cat conftest.err 1>&5 11464 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 11465 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 11466 if diff conftest.exp conftest.er2 >/dev/null; then 11467 lt_cv_prog_compiler__b=yes 11468 fi 11469 else 11470 lt_cv_prog_compiler__b=yes 11471 fi 11472 fi 11473 $RM -r conftest* 11474 LDFLAGS=$save_LDFLAGS 11475 11476fi 11477{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 11478$as_echo "$lt_cv_prog_compiler__b" >&6; } 11479 11480if test yes = "$lt_cv_prog_compiler__b"; then 11481 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 11482else 11483 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 11484fi 11485 11486 ;; 11487 esac 11488 fi 11489 if test no = "$with_gnu_ld"; then 11490 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 11491 hardcode_libdir_separator=: 11492 11493 case $host_cpu in 11494 hppa*64*|ia64*) 11495 hardcode_direct=no 11496 hardcode_shlibpath_var=no 11497 ;; 11498 *) 11499 hardcode_direct=yes 11500 hardcode_direct_absolute=yes 11501 export_dynamic_flag_spec='$wl-E' 11502 11503 # hardcode_minus_L: Not really in the search PATH, 11504 # but as the default location of the library. 11505 hardcode_minus_L=yes 11506 ;; 11507 esac 11508 fi 11509 ;; 11510 11511 irix5* | irix6* | nonstopux*) 11512 if test yes = "$GCC"; then 11513 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' 11514 # Try to use the -exported_symbol ld option, if it does not 11515 # work, assume that -exports_file does not work either and 11516 # implicitly export all symbols. 11517 # This should be the same for all languages, so no per-tag cache variable. 11518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 11519$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 11520if ${lt_cv_irix_exported_symbol+:} false; then : 11521 $as_echo_n "(cached) " >&6 11522else 11523 save_LDFLAGS=$LDFLAGS 11524 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null" 11525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11526/* end confdefs.h. */ 11527int foo (void) { return 0; } 11528_ACEOF 11529if ac_fn_c_try_link "$LINENO"; then : 11530 lt_cv_irix_exported_symbol=yes 11531else 11532 lt_cv_irix_exported_symbol=no 11533fi 11534rm -f core conftest.err conftest.$ac_objext \ 11535 conftest$ac_exeext conftest.$ac_ext 11536 LDFLAGS=$save_LDFLAGS 11537fi 11538{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 11539$as_echo "$lt_cv_irix_exported_symbol" >&6; } 11540 if test yes = "$lt_cv_irix_exported_symbol"; then 11541 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' 11542 fi 11543 else 11544 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' 11545 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' 11546 fi 11547 archive_cmds_need_lc='no' 11548 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 11549 hardcode_libdir_separator=: 11550 inherit_rpath=yes 11551 link_all_deplibs=yes 11552 ;; 11553 11554 linux*) 11555 case $cc_basename in 11556 tcc*) 11557 # Fabrice Bellard et al's Tiny C Compiler 11558 ld_shlibs=yes 11559 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 11560 ;; 11561 esac 11562 ;; 11563 11564 netbsd*) 11565 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 11566 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 11567 else 11568 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 11569 fi 11570 hardcode_libdir_flag_spec='-R$libdir' 11571 hardcode_direct=yes 11572 hardcode_shlibpath_var=no 11573 ;; 11574 11575 newsos6) 11576 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11577 hardcode_direct=yes 11578 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 11579 hardcode_libdir_separator=: 11580 hardcode_shlibpath_var=no 11581 ;; 11582 11583 *nto* | *qnx*) 11584 ;; 11585 11586 openbsd* | bitrig*) 11587 if test -f /usr/libexec/ld.so; then 11588 hardcode_direct=yes 11589 hardcode_shlibpath_var=no 11590 hardcode_direct_absolute=yes 11591 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 11592 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 11593 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols' 11594 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 11595 export_dynamic_flag_spec='$wl-E' 11596 else 11597 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 11598 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 11599 fi 11600 else 11601 ld_shlibs=no 11602 fi 11603 ;; 11604 11605 os2*) 11606 hardcode_libdir_flag_spec='-L$libdir' 11607 hardcode_minus_L=yes 11608 allow_undefined_flag=unsupported 11609 shrext_cmds=.dll 11610 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 11611 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 11612 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 11613 $ECHO EXPORTS >> $output_objdir/$libname.def~ 11614 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 11615 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 11616 emximp -o $lib $output_objdir/$libname.def' 11617 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 11618 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 11619 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 11620 $ECHO EXPORTS >> $output_objdir/$libname.def~ 11621 prefix_cmds="$SED"~ 11622 if test EXPORTS = "`$SED 1q $export_symbols`"; then 11623 prefix_cmds="$prefix_cmds -e 1d"; 11624 fi~ 11625 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 11626 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 11627 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 11628 emximp -o $lib $output_objdir/$libname.def' 11629 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 11630 enable_shared_with_static_runtimes=yes 11631 ;; 11632 11633 osf3*) 11634 if test yes = "$GCC"; then 11635 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 11636 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' 11637 else 11638 allow_undefined_flag=' -expect_unresolved \*' 11639 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' 11640 fi 11641 archive_cmds_need_lc='no' 11642 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 11643 hardcode_libdir_separator=: 11644 ;; 11645 11646 osf4* | osf5*) # as osf3* with the addition of -msym flag 11647 if test yes = "$GCC"; then 11648 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 11649 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' 11650 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 11651 else 11652 allow_undefined_flag=' -expect_unresolved \*' 11653 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' 11654 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~ 11655 $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' 11656 11657 # Both c and cxx compiler support -rpath directly 11658 hardcode_libdir_flag_spec='-rpath $libdir' 11659 fi 11660 archive_cmds_need_lc='no' 11661 hardcode_libdir_separator=: 11662 ;; 11663 11664 solaris*) 11665 no_undefined_flag=' -z defs' 11666 if test yes = "$GCC"; then 11667 wlarc='$wl' 11668 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 11669 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 11670 $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' 11671 else 11672 case `$CC -V 2>&1` in 11673 *"Compilers 5.0"*) 11674 wlarc='' 11675 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags' 11676 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 11677 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 11678 ;; 11679 *) 11680 wlarc='$wl' 11681 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags' 11682 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 11683 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 11684 ;; 11685 esac 11686 fi 11687 hardcode_libdir_flag_spec='-R$libdir' 11688 hardcode_shlibpath_var=no 11689 case $host_os in 11690 solaris2.[0-5] | solaris2.[0-5].*) ;; 11691 *) 11692 # The compiler driver will combine and reorder linker options, 11693 # but understands '-z linker_flag'. GCC discards it without '$wl', 11694 # but is careful enough not to reorder. 11695 # Supported since Solaris 2.6 (maybe 2.5.1?) 11696 if test yes = "$GCC"; then 11697 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' 11698 else 11699 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 11700 fi 11701 ;; 11702 esac 11703 link_all_deplibs=yes 11704 ;; 11705 11706 sunos4*) 11707 if test sequent = "$host_vendor"; then 11708 # Use $CC to link under sequent, because it throws in some extra .o 11709 # files that make .init and .fini sections work. 11710 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags' 11711 else 11712 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 11713 fi 11714 hardcode_libdir_flag_spec='-L$libdir' 11715 hardcode_direct=yes 11716 hardcode_minus_L=yes 11717 hardcode_shlibpath_var=no 11718 ;; 11719 11720 sysv4) 11721 case $host_vendor in 11722 sni) 11723 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11724 hardcode_direct=yes # is this really true??? 11725 ;; 11726 siemens) 11727 ## LD is ld it makes a PLAMLIB 11728 ## CC just makes a GrossModule. 11729 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 11730 reload_cmds='$CC -r -o $output$reload_objs' 11731 hardcode_direct=no 11732 ;; 11733 motorola) 11734 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11735 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 11736 ;; 11737 esac 11738 runpath_var='LD_RUN_PATH' 11739 hardcode_shlibpath_var=no 11740 ;; 11741 11742 sysv4.3*) 11743 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11744 hardcode_shlibpath_var=no 11745 export_dynamic_flag_spec='-Bexport' 11746 ;; 11747 11748 sysv4*MP*) 11749 if test -d /usr/nec; then 11750 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11751 hardcode_shlibpath_var=no 11752 runpath_var=LD_RUN_PATH 11753 hardcode_runpath_var=yes 11754 ld_shlibs=yes 11755 fi 11756 ;; 11757 11758 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 11759 no_undefined_flag='$wl-z,text' 11760 archive_cmds_need_lc=no 11761 hardcode_shlibpath_var=no 11762 runpath_var='LD_RUN_PATH' 11763 11764 if test yes = "$GCC"; then 11765 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11766 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11767 else 11768 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11769 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11770 fi 11771 ;; 11772 11773 sysv5* | sco3.2v5* | sco5v6*) 11774 # Note: We CANNOT use -z defs as we might desire, because we do not 11775 # link with -lc, and that would cause any symbols used from libc to 11776 # always be unresolved, which means just about no library would 11777 # ever link correctly. If we're not using GNU ld we use -z text 11778 # though, which does catch some bad symbols but isn't as heavy-handed 11779 # as -z defs. 11780 no_undefined_flag='$wl-z,text' 11781 allow_undefined_flag='$wl-z,nodefs' 11782 archive_cmds_need_lc=no 11783 hardcode_shlibpath_var=no 11784 hardcode_libdir_flag_spec='$wl-R,$libdir' 11785 hardcode_libdir_separator=':' 11786 link_all_deplibs=yes 11787 export_dynamic_flag_spec='$wl-Bexport' 11788 runpath_var='LD_RUN_PATH' 11789 11790 if test yes = "$GCC"; then 11791 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11792 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11793 else 11794 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11795 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11796 fi 11797 ;; 11798 11799 uts4*) 11800 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11801 hardcode_libdir_flag_spec='-L$libdir' 11802 hardcode_shlibpath_var=no 11803 ;; 11804 11805 *) 11806 ld_shlibs=no 11807 ;; 11808 esac 11809 11810 if test sni = "$host_vendor"; then 11811 case $host in 11812 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 11813 export_dynamic_flag_spec='$wl-Blargedynsym' 11814 ;; 11815 esac 11816 fi 11817 fi 11818 11819{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 11820$as_echo "$ld_shlibs" >&6; } 11821test no = "$ld_shlibs" && can_build_shared=no 11822 11823with_gnu_ld=$with_gnu_ld 11824 11825 11826 11827 11828 11829 11830 11831 11832 11833 11834 11835 11836 11837 11838 11839# 11840# Do we need to explicitly link libc? 11841# 11842case "x$archive_cmds_need_lc" in 11843x|xyes) 11844 # Assume -lc should be added 11845 archive_cmds_need_lc=yes 11846 11847 if test yes,yes = "$GCC,$enable_shared"; then 11848 case $archive_cmds in 11849 *'~'*) 11850 # FIXME: we may have to deal with multi-command sequences. 11851 ;; 11852 '$CC '*) 11853 # Test whether the compiler implicitly links with -lc since on some 11854 # systems, -lgcc has to come before -lc. If gcc already passes -lc 11855 # to ld, don't add -lc before -lgcc. 11856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 11857$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 11858if ${lt_cv_archive_cmds_need_lc+:} false; then : 11859 $as_echo_n "(cached) " >&6 11860else 11861 $RM conftest* 11862 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 11863 11864 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 11865 (eval $ac_compile) 2>&5 11866 ac_status=$? 11867 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11868 test $ac_status = 0; } 2>conftest.err; then 11869 soname=conftest 11870 lib=conftest 11871 libobjs=conftest.$ac_objext 11872 deplibs= 11873 wl=$lt_prog_compiler_wl 11874 pic_flag=$lt_prog_compiler_pic 11875 compiler_flags=-v 11876 linker_flags=-v 11877 verstring= 11878 output_objdir=. 11879 libname=conftest 11880 lt_save_allow_undefined_flag=$allow_undefined_flag 11881 allow_undefined_flag= 11882 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 11883 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 11884 ac_status=$? 11885 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11886 test $ac_status = 0; } 11887 then 11888 lt_cv_archive_cmds_need_lc=no 11889 else 11890 lt_cv_archive_cmds_need_lc=yes 11891 fi 11892 allow_undefined_flag=$lt_save_allow_undefined_flag 11893 else 11894 cat conftest.err 1>&5 11895 fi 11896 $RM conftest* 11897 11898fi 11899{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 11900$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 11901 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 11902 ;; 11903 esac 11904 fi 11905 ;; 11906esac 11907 11908 11909 11910 11911 11912 11913 11914 11915 11916 11917 11918 11919 11920 11921 11922 11923 11924 11925 11926 11927 11928 11929 11930 11931 11932 11933 11934 11935 11936 11937 11938 11939 11940 11941 11942 11943 11944 11945 11946 11947 11948 11949 11950 11951 11952 11953 11954 11955 11956 11957 11958 11959 11960 11961 11962 11963 11964 11965 11966 11967 11968 11969 11970 11971 11972 11973 11974 11975 11976 11977 11978 11979 11980 11981 11982 11983 11984 11985 11986 11987 11988 11989 11990 11991 11992 11993 11994 11995 11996 11997 11998 11999 12000 12001 12002 12003 12004 12005 12006 12007 12008 12009 12010 12011 12012 12013 12014 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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 12060$as_echo_n "checking dynamic linker characteristics... " >&6; } 12061 12062if test yes = "$GCC"; then 12063 case $host_os in 12064 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;; 12065 *) lt_awk_arg='/^libraries:/' ;; 12066 esac 12067 case $host_os in 12068 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;; 12069 *) lt_sed_strip_eq='s|=/|/|g' ;; 12070 esac 12071 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 12072 case $lt_search_path_spec in 12073 *\;*) 12074 # if the path contains ";" then we assume it to be the separator 12075 # otherwise default to the standard path separator (i.e. ":") - it is 12076 # assumed that no part of a normal pathname contains ";" but that should 12077 # okay in the real world where ";" in dirpaths is itself problematic. 12078 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 12079 ;; 12080 *) 12081 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 12082 ;; 12083 esac 12084 # Ok, now we have the path, separated by spaces, we can step through it 12085 # and add multilib dir if necessary... 12086 lt_tmp_lt_search_path_spec= 12087 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 12088 # ...but if some path component already ends with the multilib dir we assume 12089 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer). 12090 case "$lt_multi_os_dir; $lt_search_path_spec " in 12091 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*) 12092 lt_multi_os_dir= 12093 ;; 12094 esac 12095 for lt_sys_path in $lt_search_path_spec; do 12096 if test -d "$lt_sys_path$lt_multi_os_dir"; then 12097 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir" 12098 elif test -n "$lt_multi_os_dir"; then 12099 test -d "$lt_sys_path" && \ 12100 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 12101 fi 12102 done 12103 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 12104BEGIN {RS = " "; FS = "/|\n";} { 12105 lt_foo = ""; 12106 lt_count = 0; 12107 for (lt_i = NF; lt_i > 0; lt_i--) { 12108 if ($lt_i != "" && $lt_i != ".") { 12109 if ($lt_i == "..") { 12110 lt_count++; 12111 } else { 12112 if (lt_count == 0) { 12113 lt_foo = "/" $lt_i lt_foo; 12114 } else { 12115 lt_count--; 12116 } 12117 } 12118 } 12119 } 12120 if (lt_foo != "") { lt_freq[lt_foo]++; } 12121 if (lt_freq[lt_foo] == 1) { print lt_foo; } 12122}'` 12123 # AWK program above erroneously prepends '/' to C:/dos/paths 12124 # for these hosts. 12125 case $host_os in 12126 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 12127 $SED 's|/\([A-Za-z]:\)|\1|g'` ;; 12128 esac 12129 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 12130else 12131 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 12132fi 12133library_names_spec= 12134libname_spec='lib$name' 12135soname_spec= 12136shrext_cmds=.so 12137postinstall_cmds= 12138postuninstall_cmds= 12139finish_cmds= 12140finish_eval= 12141shlibpath_var= 12142shlibpath_overrides_runpath=unknown 12143version_type=none 12144dynamic_linker="$host_os ld.so" 12145sys_lib_dlsearch_path_spec="/lib /usr/lib" 12146need_lib_prefix=unknown 12147hardcode_into_libs=no 12148 12149# when you set need_version to no, make sure it does not cause -set_version 12150# flags to be left without arguments 12151need_version=unknown 12152 12153 12154 12155case $host_os in 12156aix3*) 12157 version_type=linux # correct to gnu/linux during the next big refactor 12158 library_names_spec='$libname$release$shared_ext$versuffix $libname.a' 12159 shlibpath_var=LIBPATH 12160 12161 # AIX 3 has no versioning support, so we append a major version to the name. 12162 soname_spec='$libname$release$shared_ext$major' 12163 ;; 12164 12165aix[4-9]*) 12166 version_type=linux # correct to gnu/linux during the next big refactor 12167 need_lib_prefix=no 12168 need_version=no 12169 hardcode_into_libs=yes 12170 if test ia64 = "$host_cpu"; then 12171 # AIX 5 supports IA64 12172 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' 12173 shlibpath_var=LD_LIBRARY_PATH 12174 else 12175 # With GCC up to 2.95.x, collect2 would create an import file 12176 # for dependence libraries. The import file would start with 12177 # the line '#! .'. This would cause the generated library to 12178 # depend on '.', always an invalid library. This was fixed in 12179 # development snapshots of GCC prior to 3.0. 12180 case $host_os in 12181 aix4 | aix4.[01] | aix4.[01].*) 12182 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 12183 echo ' yes ' 12184 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then 12185 : 12186 else 12187 can_build_shared=no 12188 fi 12189 ;; 12190 esac 12191 # Using Import Files as archive members, it is possible to support 12192 # filename-based versioning of shared library archives on AIX. While 12193 # this would work for both with and without runtime linking, it will 12194 # prevent static linking of such archives. So we do filename-based 12195 # shared library versioning with .so extension only, which is used 12196 # when both runtime linking and shared linking is enabled. 12197 # Unfortunately, runtime linking may impact performance, so we do 12198 # not want this to be the default eventually. Also, we use the 12199 # versioned .so libs for executables only if there is the -brtl 12200 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. 12201 # To allow for filename-based versioning support, we need to create 12202 # libNAME.so.V as an archive file, containing: 12203 # *) an Import File, referring to the versioned filename of the 12204 # archive as well as the shared archive member, telling the 12205 # bitwidth (32 or 64) of that shared object, and providing the 12206 # list of exported symbols of that shared object, eventually 12207 # decorated with the 'weak' keyword 12208 # *) the shared object with the F_LOADONLY flag set, to really avoid 12209 # it being seen by the linker. 12210 # At run time we better use the real file rather than another symlink, 12211 # but for link time we create the symlink libNAME.so -> libNAME.so.V 12212 12213 case $with_aix_soname,$aix_use_runtimelinking in 12214 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct 12215 # soname into executable. Probably we can add versioning support to 12216 # collect2, so additional links can be useful in future. 12217 aix,yes) # traditional libtool 12218 dynamic_linker='AIX unversionable lib.so' 12219 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 12220 # instead of lib<name>.a to let people know that these are not 12221 # typical AIX shared libraries. 12222 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12223 ;; 12224 aix,no) # traditional AIX only 12225 dynamic_linker='AIX lib.a(lib.so.V)' 12226 # We preserve .a as extension for shared libraries through AIX4.2 12227 # and later when we are not doing run time linking. 12228 library_names_spec='$libname$release.a $libname.a' 12229 soname_spec='$libname$release$shared_ext$major' 12230 ;; 12231 svr4,*) # full svr4 only 12232 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" 12233 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 12234 # We do not specify a path in Import Files, so LIBPATH fires. 12235 shlibpath_overrides_runpath=yes 12236 ;; 12237 *,yes) # both, prefer svr4 12238 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" 12239 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 12240 # unpreferred sharedlib libNAME.a needs extra handling 12241 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"' 12242 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"' 12243 # We do not specify a path in Import Files, so LIBPATH fires. 12244 shlibpath_overrides_runpath=yes 12245 ;; 12246 *,no) # both, prefer aix 12247 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" 12248 library_names_spec='$libname$release.a $libname.a' 12249 soname_spec='$libname$release$shared_ext$major' 12250 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling 12251 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)' 12252 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"' 12253 ;; 12254 esac 12255 shlibpath_var=LIBPATH 12256 fi 12257 ;; 12258 12259amigaos*) 12260 case $host_cpu in 12261 powerpc) 12262 # Since July 2007 AmigaOS4 officially supports .so libraries. 12263 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 12264 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12265 ;; 12266 m68k) 12267 library_names_spec='$libname.ixlibrary $libname.a' 12268 # Create ${libname}_ixlibrary.a entries in /sys/libs. 12269 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' 12270 ;; 12271 esac 12272 ;; 12273 12274beos*) 12275 library_names_spec='$libname$shared_ext' 12276 dynamic_linker="$host_os ld.so" 12277 shlibpath_var=LIBRARY_PATH 12278 ;; 12279 12280bsdi[45]*) 12281 version_type=linux # correct to gnu/linux during the next big refactor 12282 need_version=no 12283 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12284 soname_spec='$libname$release$shared_ext$major' 12285 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 12286 shlibpath_var=LD_LIBRARY_PATH 12287 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 12288 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 12289 # the default ld.so.conf also contains /usr/contrib/lib and 12290 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 12291 # libtool to hard-code these into programs 12292 ;; 12293 12294cygwin* | mingw* | pw32* | cegcc*) 12295 version_type=windows 12296 shrext_cmds=.dll 12297 need_version=no 12298 need_lib_prefix=no 12299 12300 case $GCC,$cc_basename in 12301 yes,*) 12302 # gcc 12303 library_names_spec='$libname.dll.a' 12304 # DLL is installed to $(libdir)/../bin by postinstall_cmds 12305 postinstall_cmds='base_file=`basename \$file`~ 12306 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 12307 dldir=$destdir/`dirname \$dlpath`~ 12308 test -d \$dldir || mkdir -p \$dldir~ 12309 $install_prog $dir/$dlname \$dldir/$dlname~ 12310 chmod a+x \$dldir/$dlname~ 12311 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 12312 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 12313 fi' 12314 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 12315 dlpath=$dir/\$dldll~ 12316 $RM \$dlpath' 12317 shlibpath_overrides_runpath=yes 12318 12319 case $host_os in 12320 cygwin*) 12321 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 12322 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 12323 12324 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 12325 ;; 12326 mingw* | cegcc*) 12327 # MinGW DLLs use traditional 'lib' prefix 12328 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 12329 ;; 12330 pw32*) 12331 # pw32 DLLs use 'pw' prefix rather than 'lib' 12332 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 12333 ;; 12334 esac 12335 dynamic_linker='Win32 ld.exe' 12336 ;; 12337 12338 *,cl*) 12339 # Native MSVC 12340 libname_spec='$name' 12341 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 12342 library_names_spec='$libname.dll.lib' 12343 12344 case $build_os in 12345 mingw*) 12346 sys_lib_search_path_spec= 12347 lt_save_ifs=$IFS 12348 IFS=';' 12349 for lt_path in $LIB 12350 do 12351 IFS=$lt_save_ifs 12352 # Let DOS variable expansion print the short 8.3 style file name. 12353 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 12354 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 12355 done 12356 IFS=$lt_save_ifs 12357 # Convert to MSYS style. 12358 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 12359 ;; 12360 cygwin*) 12361 # Convert to unix form, then to dos form, then back to unix form 12362 # but this time dos style (no spaces!) so that the unix form looks 12363 # like /cygdrive/c/PROGRA~1:/cygdr... 12364 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 12365 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 12366 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 12367 ;; 12368 *) 12369 sys_lib_search_path_spec=$LIB 12370 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 12371 # It is most probably a Windows format PATH. 12372 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 12373 else 12374 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 12375 fi 12376 # FIXME: find the short name or the path components, as spaces are 12377 # common. (e.g. "Program Files" -> "PROGRA~1") 12378 ;; 12379 esac 12380 12381 # DLL is installed to $(libdir)/../bin by postinstall_cmds 12382 postinstall_cmds='base_file=`basename \$file`~ 12383 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 12384 dldir=$destdir/`dirname \$dlpath`~ 12385 test -d \$dldir || mkdir -p \$dldir~ 12386 $install_prog $dir/$dlname \$dldir/$dlname' 12387 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 12388 dlpath=$dir/\$dldll~ 12389 $RM \$dlpath' 12390 shlibpath_overrides_runpath=yes 12391 dynamic_linker='Win32 link.exe' 12392 ;; 12393 12394 *) 12395 # Assume MSVC wrapper 12396 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' 12397 dynamic_linker='Win32 ld.exe' 12398 ;; 12399 esac 12400 # FIXME: first we should search . and the directory the executable is in 12401 shlibpath_var=PATH 12402 ;; 12403 12404darwin* | rhapsody*) 12405 dynamic_linker="$host_os dyld" 12406 version_type=darwin 12407 need_lib_prefix=no 12408 need_version=no 12409 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' 12410 soname_spec='$libname$release$major$shared_ext' 12411 shlibpath_overrides_runpath=yes 12412 shlibpath_var=DYLD_LIBRARY_PATH 12413 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 12414 12415 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 12416 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 12417 ;; 12418 12419dgux*) 12420 version_type=linux # correct to gnu/linux during the next big refactor 12421 need_lib_prefix=no 12422 need_version=no 12423 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12424 soname_spec='$libname$release$shared_ext$major' 12425 shlibpath_var=LD_LIBRARY_PATH 12426 ;; 12427 12428freebsd* | dragonfly*) 12429 # DragonFly does not have aout. When/if they implement a new 12430 # versioning mechanism, adjust this. 12431 if test -x /usr/bin/objformat; then 12432 objformat=`/usr/bin/objformat` 12433 else 12434 case $host_os in 12435 freebsd[23].*) objformat=aout ;; 12436 *) objformat=elf ;; 12437 esac 12438 fi 12439 version_type=freebsd-$objformat 12440 case $version_type in 12441 freebsd-elf*) 12442 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12443 soname_spec='$libname$release$shared_ext$major' 12444 need_version=no 12445 need_lib_prefix=no 12446 ;; 12447 freebsd-*) 12448 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 12449 need_version=yes 12450 ;; 12451 esac 12452 shlibpath_var=LD_LIBRARY_PATH 12453 case $host_os in 12454 freebsd2.*) 12455 shlibpath_overrides_runpath=yes 12456 ;; 12457 freebsd3.[01]* | freebsdelf3.[01]*) 12458 shlibpath_overrides_runpath=yes 12459 hardcode_into_libs=yes 12460 ;; 12461 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 12462 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 12463 shlibpath_overrides_runpath=no 12464 hardcode_into_libs=yes 12465 ;; 12466 *) # from 4.6 on, and DragonFly 12467 shlibpath_overrides_runpath=yes 12468 hardcode_into_libs=yes 12469 ;; 12470 esac 12471 ;; 12472 12473haiku*) 12474 version_type=linux # correct to gnu/linux during the next big refactor 12475 need_lib_prefix=no 12476 need_version=no 12477 dynamic_linker="$host_os runtime_loader" 12478 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12479 soname_spec='$libname$release$shared_ext$major' 12480 shlibpath_var=LIBRARY_PATH 12481 shlibpath_overrides_runpath=no 12482 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 12483 hardcode_into_libs=yes 12484 ;; 12485 12486hpux9* | hpux10* | hpux11*) 12487 # Give a soname corresponding to the major version so that dld.sl refuses to 12488 # link against other versions. 12489 version_type=sunos 12490 need_lib_prefix=no 12491 need_version=no 12492 case $host_cpu in 12493 ia64*) 12494 shrext_cmds='.so' 12495 hardcode_into_libs=yes 12496 dynamic_linker="$host_os dld.so" 12497 shlibpath_var=LD_LIBRARY_PATH 12498 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 12499 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12500 soname_spec='$libname$release$shared_ext$major' 12501 if test 32 = "$HPUX_IA64_MODE"; then 12502 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 12503 sys_lib_dlsearch_path_spec=/usr/lib/hpux32 12504 else 12505 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 12506 sys_lib_dlsearch_path_spec=/usr/lib/hpux64 12507 fi 12508 ;; 12509 hppa*64*) 12510 shrext_cmds='.sl' 12511 hardcode_into_libs=yes 12512 dynamic_linker="$host_os dld.sl" 12513 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 12514 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 12515 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12516 soname_spec='$libname$release$shared_ext$major' 12517 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 12518 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 12519 ;; 12520 *) 12521 shrext_cmds='.sl' 12522 dynamic_linker="$host_os dld.sl" 12523 shlibpath_var=SHLIB_PATH 12524 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 12525 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12526 soname_spec='$libname$release$shared_ext$major' 12527 ;; 12528 esac 12529 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 12530 postinstall_cmds='chmod 555 $lib' 12531 # or fails outright, so override atomically: 12532 install_override_mode=555 12533 ;; 12534 12535interix[3-9]*) 12536 version_type=linux # correct to gnu/linux during the next big refactor 12537 need_lib_prefix=no 12538 need_version=no 12539 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12540 soname_spec='$libname$release$shared_ext$major' 12541 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 12542 shlibpath_var=LD_LIBRARY_PATH 12543 shlibpath_overrides_runpath=no 12544 hardcode_into_libs=yes 12545 ;; 12546 12547irix5* | irix6* | nonstopux*) 12548 case $host_os in 12549 nonstopux*) version_type=nonstopux ;; 12550 *) 12551 if test yes = "$lt_cv_prog_gnu_ld"; then 12552 version_type=linux # correct to gnu/linux during the next big refactor 12553 else 12554 version_type=irix 12555 fi ;; 12556 esac 12557 need_lib_prefix=no 12558 need_version=no 12559 soname_spec='$libname$release$shared_ext$major' 12560 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' 12561 case $host_os in 12562 irix5* | nonstopux*) 12563 libsuff= shlibsuff= 12564 ;; 12565 *) 12566 case $LD in # libtool.m4 will add one of these switches to LD 12567 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 12568 libsuff= shlibsuff= libmagic=32-bit;; 12569 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 12570 libsuff=32 shlibsuff=N32 libmagic=N32;; 12571 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 12572 libsuff=64 shlibsuff=64 libmagic=64-bit;; 12573 *) libsuff= shlibsuff= libmagic=never-match;; 12574 esac 12575 ;; 12576 esac 12577 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 12578 shlibpath_overrides_runpath=no 12579 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" 12580 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" 12581 hardcode_into_libs=yes 12582 ;; 12583 12584# No shared lib support for Linux oldld, aout, or coff. 12585linux*oldld* | linux*aout* | linux*coff*) 12586 dynamic_linker=no 12587 ;; 12588 12589linux*android*) 12590 version_type=none # Android doesn't support versioned libraries. 12591 need_lib_prefix=no 12592 need_version=no 12593 library_names_spec='$libname$release$shared_ext' 12594 soname_spec='$libname$release$shared_ext' 12595 finish_cmds= 12596 shlibpath_var=LD_LIBRARY_PATH 12597 shlibpath_overrides_runpath=yes 12598 12599 # This implies no fast_install, which is unacceptable. 12600 # Some rework will be needed to allow for fast_install 12601 # before this can be enabled. 12602 hardcode_into_libs=yes 12603 12604 dynamic_linker='Android linker' 12605 # Don't embed -rpath directories since the linker doesn't support them. 12606 hardcode_libdir_flag_spec='-L$libdir' 12607 ;; 12608 12609# This must be glibc/ELF. 12610linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 12611 version_type=linux # correct to gnu/linux during the next big refactor 12612 need_lib_prefix=no 12613 need_version=no 12614 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12615 soname_spec='$libname$release$shared_ext$major' 12616 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 12617 shlibpath_var=LD_LIBRARY_PATH 12618 shlibpath_overrides_runpath=no 12619 12620 # Some binutils ld are patched to set DT_RUNPATH 12621 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 12622 $as_echo_n "(cached) " >&6 12623else 12624 lt_cv_shlibpath_overrides_runpath=no 12625 save_LDFLAGS=$LDFLAGS 12626 save_libdir=$libdir 12627 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 12628 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 12629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12630/* end confdefs.h. */ 12631 12632int 12633main () 12634{ 12635 12636 ; 12637 return 0; 12638} 12639_ACEOF 12640if ac_fn_c_try_link "$LINENO"; then : 12641 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 12642 lt_cv_shlibpath_overrides_runpath=yes 12643fi 12644fi 12645rm -f core conftest.err conftest.$ac_objext \ 12646 conftest$ac_exeext conftest.$ac_ext 12647 LDFLAGS=$save_LDFLAGS 12648 libdir=$save_libdir 12649 12650fi 12651 12652 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 12653 12654 # This implies no fast_install, which is unacceptable. 12655 # Some rework will be needed to allow for fast_install 12656 # before this can be enabled. 12657 hardcode_into_libs=yes 12658 12659 # Add ABI-specific directories to the system library path. 12660 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" 12661 12662 # Ideally, we could use ldconfig to report *all* directores which are 12663 # searched for libraries, however this is still not possible. Aside from not 12664 # being certain /sbin/ldconfig is available, command 12665 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, 12666 # even though it is searched at run-time. Try to do the best guess by 12667 # appending ld.so.conf contents (and includes) to the search path. 12668 if test -f /etc/ld.so.conf; then 12669 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' ' '` 12670 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" 12671 fi 12672 12673 # We used to test for /lib/ld.so.1 and disable shared libraries on 12674 # powerpc, because MkLinux only supported shared libraries with the 12675 # GNU dynamic linker. Since this was broken with cross compilers, 12676 # most powerpc-linux boxes support dynamic linking these days and 12677 # people can always --disable-shared, the test was removed, and we 12678 # assume the GNU/Linux dynamic linker is in use. 12679 dynamic_linker='GNU/Linux ld.so' 12680 ;; 12681 12682netbsd*) 12683 version_type=sunos 12684 need_lib_prefix=no 12685 need_version=no 12686 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 12687 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 12688 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 12689 dynamic_linker='NetBSD (a.out) ld.so' 12690 else 12691 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12692 soname_spec='$libname$release$shared_ext$major' 12693 dynamic_linker='NetBSD ld.elf_so' 12694 fi 12695 shlibpath_var=LD_LIBRARY_PATH 12696 shlibpath_overrides_runpath=yes 12697 hardcode_into_libs=yes 12698 ;; 12699 12700newsos6) 12701 version_type=linux # correct to gnu/linux during the next big refactor 12702 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12703 shlibpath_var=LD_LIBRARY_PATH 12704 shlibpath_overrides_runpath=yes 12705 ;; 12706 12707*nto* | *qnx*) 12708 version_type=qnx 12709 need_lib_prefix=no 12710 need_version=no 12711 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12712 soname_spec='$libname$release$shared_ext$major' 12713 shlibpath_var=LD_LIBRARY_PATH 12714 shlibpath_overrides_runpath=no 12715 hardcode_into_libs=yes 12716 dynamic_linker='ldqnx.so' 12717 ;; 12718 12719openbsd* | bitrig*) 12720 version_type=sunos 12721 sys_lib_dlsearch_path_spec=/usr/lib 12722 need_lib_prefix=no 12723 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 12724 need_version=no 12725 else 12726 need_version=yes 12727 fi 12728 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 12729 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 12730 shlibpath_var=LD_LIBRARY_PATH 12731 shlibpath_overrides_runpath=yes 12732 ;; 12733 12734os2*) 12735 libname_spec='$name' 12736 version_type=windows 12737 shrext_cmds=.dll 12738 need_version=no 12739 need_lib_prefix=no 12740 # OS/2 can only load a DLL with a base name of 8 characters or less. 12741 soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; 12742 v=$($ECHO $release$versuffix | tr -d .-); 12743 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); 12744 $ECHO $n$v`$shared_ext' 12745 library_names_spec='${libname}_dll.$libext' 12746 dynamic_linker='OS/2 ld.exe' 12747 shlibpath_var=BEGINLIBPATH 12748 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 12749 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 12750 postinstall_cmds='base_file=`basename \$file`~ 12751 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ 12752 dldir=$destdir/`dirname \$dlpath`~ 12753 test -d \$dldir || mkdir -p \$dldir~ 12754 $install_prog $dir/$dlname \$dldir/$dlname~ 12755 chmod a+x \$dldir/$dlname~ 12756 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 12757 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 12758 fi' 12759 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ 12760 dlpath=$dir/\$dldll~ 12761 $RM \$dlpath' 12762 ;; 12763 12764osf3* | osf4* | osf5*) 12765 version_type=osf 12766 need_lib_prefix=no 12767 need_version=no 12768 soname_spec='$libname$release$shared_ext$major' 12769 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12770 shlibpath_var=LD_LIBRARY_PATH 12771 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 12772 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 12773 ;; 12774 12775rdos*) 12776 dynamic_linker=no 12777 ;; 12778 12779solaris*) 12780 version_type=linux # correct to gnu/linux during the next big refactor 12781 need_lib_prefix=no 12782 need_version=no 12783 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12784 soname_spec='$libname$release$shared_ext$major' 12785 shlibpath_var=LD_LIBRARY_PATH 12786 shlibpath_overrides_runpath=yes 12787 hardcode_into_libs=yes 12788 # ldd complains unless libraries are executable 12789 postinstall_cmds='chmod +x $lib' 12790 ;; 12791 12792sunos4*) 12793 version_type=sunos 12794 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 12795 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 12796 shlibpath_var=LD_LIBRARY_PATH 12797 shlibpath_overrides_runpath=yes 12798 if test yes = "$with_gnu_ld"; then 12799 need_lib_prefix=no 12800 fi 12801 need_version=yes 12802 ;; 12803 12804sysv4 | sysv4.3*) 12805 version_type=linux # correct to gnu/linux during the next big refactor 12806 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12807 soname_spec='$libname$release$shared_ext$major' 12808 shlibpath_var=LD_LIBRARY_PATH 12809 case $host_vendor in 12810 sni) 12811 shlibpath_overrides_runpath=no 12812 need_lib_prefix=no 12813 runpath_var=LD_RUN_PATH 12814 ;; 12815 siemens) 12816 need_lib_prefix=no 12817 ;; 12818 motorola) 12819 need_lib_prefix=no 12820 need_version=no 12821 shlibpath_overrides_runpath=no 12822 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 12823 ;; 12824 esac 12825 ;; 12826 12827sysv4*MP*) 12828 if test -d /usr/nec; then 12829 version_type=linux # correct to gnu/linux during the next big refactor 12830 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' 12831 soname_spec='$libname$shared_ext.$major' 12832 shlibpath_var=LD_LIBRARY_PATH 12833 fi 12834 ;; 12835 12836sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 12837 version_type=sco 12838 need_lib_prefix=no 12839 need_version=no 12840 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' 12841 soname_spec='$libname$release$shared_ext$major' 12842 shlibpath_var=LD_LIBRARY_PATH 12843 shlibpath_overrides_runpath=yes 12844 hardcode_into_libs=yes 12845 if test yes = "$with_gnu_ld"; then 12846 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 12847 else 12848 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 12849 case $host_os in 12850 sco3.2v5*) 12851 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 12852 ;; 12853 esac 12854 fi 12855 sys_lib_dlsearch_path_spec='/usr/lib' 12856 ;; 12857 12858tpf*) 12859 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 12860 version_type=linux # correct to gnu/linux during the next big refactor 12861 need_lib_prefix=no 12862 need_version=no 12863 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12864 shlibpath_var=LD_LIBRARY_PATH 12865 shlibpath_overrides_runpath=no 12866 hardcode_into_libs=yes 12867 ;; 12868 12869uts4*) 12870 version_type=linux # correct to gnu/linux during the next big refactor 12871 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12872 soname_spec='$libname$release$shared_ext$major' 12873 shlibpath_var=LD_LIBRARY_PATH 12874 ;; 12875 12876*) 12877 dynamic_linker=no 12878 ;; 12879esac 12880{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 12881$as_echo "$dynamic_linker" >&6; } 12882test no = "$dynamic_linker" && can_build_shared=no 12883 12884variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 12885if test yes = "$GCC"; then 12886 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 12887fi 12888 12889if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then 12890 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec 12891fi 12892 12893if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then 12894 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec 12895fi 12896 12897# remember unaugmented sys_lib_dlsearch_path content for libtool script decls... 12898configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec 12899 12900# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code 12901func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" 12902 12903# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool 12904configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH 12905 12906 12907 12908 12909 12910 12911 12912 12913 12914 12915 12916 12917 12918 12919 12920 12921 12922 12923 12924 12925 12926 12927 12928 12929 12930 12931 12932 12933 12934 12935 12936 12937 12938 12939 12940 12941 12942 12943 12944 12945 12946 12947 12948 12949 12950 12951 12952 12953 12954 12955 12956 12957 12958 12959 12960 12961 12962 12963 12964 12965 12966 12967 12968 12969 12970 12971 12972 12973 12974 12975 12976 12977 12978 12979 12980 12981 12982 12983 12984 12985 12986 12987 12988 12989 12990 12991 12992 12993 12994 12995 12996 12997 12998 12999 13000 13001 13002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 13003$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 13004hardcode_action= 13005if test -n "$hardcode_libdir_flag_spec" || 13006 test -n "$runpath_var" || 13007 test yes = "$hardcode_automatic"; then 13008 13009 # We can hardcode non-existent directories. 13010 if test no != "$hardcode_direct" && 13011 # If the only mechanism to avoid hardcoding is shlibpath_var, we 13012 # have to relink, otherwise we might link with an installed library 13013 # when we should be linking with a yet-to-be-installed one 13014 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" && 13015 test no != "$hardcode_minus_L"; then 13016 # Linking always hardcodes the temporary library directory. 13017 hardcode_action=relink 13018 else 13019 # We can link without hardcoding, and we can hardcode nonexisting dirs. 13020 hardcode_action=immediate 13021 fi 13022else 13023 # We cannot hardcode anything, or else we can only hardcode existing 13024 # directories. 13025 hardcode_action=unsupported 13026fi 13027{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 13028$as_echo "$hardcode_action" >&6; } 13029 13030if test relink = "$hardcode_action" || 13031 test yes = "$inherit_rpath"; then 13032 # Fast installation is not supported 13033 enable_fast_install=no 13034elif test yes = "$shlibpath_overrides_runpath" || 13035 test no = "$enable_shared"; then 13036 # Fast installation is not necessary 13037 enable_fast_install=needless 13038fi 13039 13040 13041 13042 13043 13044 13045 if test yes != "$enable_dlopen"; then 13046 enable_dlopen=unknown 13047 enable_dlopen_self=unknown 13048 enable_dlopen_self_static=unknown 13049else 13050 lt_cv_dlopen=no 13051 lt_cv_dlopen_libs= 13052 13053 case $host_os in 13054 beos*) 13055 lt_cv_dlopen=load_add_on 13056 lt_cv_dlopen_libs= 13057 lt_cv_dlopen_self=yes 13058 ;; 13059 13060 mingw* | pw32* | cegcc*) 13061 lt_cv_dlopen=LoadLibrary 13062 lt_cv_dlopen_libs= 13063 ;; 13064 13065 cygwin*) 13066 lt_cv_dlopen=dlopen 13067 lt_cv_dlopen_libs= 13068 ;; 13069 13070 darwin*) 13071 # if libdl is installed we need to link against it 13072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 13073$as_echo_n "checking for dlopen in -ldl... " >&6; } 13074if ${ac_cv_lib_dl_dlopen+:} false; then : 13075 $as_echo_n "(cached) " >&6 13076else 13077 ac_check_lib_save_LIBS=$LIBS 13078LIBS="-ldl $LIBS" 13079cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13080/* end confdefs.h. */ 13081 13082/* Override any GCC internal prototype to avoid an error. 13083 Use char because int might match the return type of a GCC 13084 builtin and then its argument prototype would still apply. */ 13085#ifdef __cplusplus 13086extern "C" 13087#endif 13088char dlopen (); 13089int 13090main () 13091{ 13092return dlopen (); 13093 ; 13094 return 0; 13095} 13096_ACEOF 13097if ac_fn_c_try_link "$LINENO"; then : 13098 ac_cv_lib_dl_dlopen=yes 13099else 13100 ac_cv_lib_dl_dlopen=no 13101fi 13102rm -f core conftest.err conftest.$ac_objext \ 13103 conftest$ac_exeext conftest.$ac_ext 13104LIBS=$ac_check_lib_save_LIBS 13105fi 13106{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 13107$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 13108if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 13109 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 13110else 13111 13112 lt_cv_dlopen=dyld 13113 lt_cv_dlopen_libs= 13114 lt_cv_dlopen_self=yes 13115 13116fi 13117 13118 ;; 13119 13120 tpf*) 13121 # Don't try to run any link tests for TPF. We know it's impossible 13122 # because TPF is a cross-compiler, and we know how we open DSOs. 13123 lt_cv_dlopen=dlopen 13124 lt_cv_dlopen_libs= 13125 lt_cv_dlopen_self=no 13126 ;; 13127 13128 *) 13129 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 13130if test "x$ac_cv_func_shl_load" = xyes; then : 13131 lt_cv_dlopen=shl_load 13132else 13133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 13134$as_echo_n "checking for shl_load in -ldld... " >&6; } 13135if ${ac_cv_lib_dld_shl_load+:} false; then : 13136 $as_echo_n "(cached) " >&6 13137else 13138 ac_check_lib_save_LIBS=$LIBS 13139LIBS="-ldld $LIBS" 13140cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13141/* end confdefs.h. */ 13142 13143/* Override any GCC internal prototype to avoid an error. 13144 Use char because int might match the return type of a GCC 13145 builtin and then its argument prototype would still apply. */ 13146#ifdef __cplusplus 13147extern "C" 13148#endif 13149char shl_load (); 13150int 13151main () 13152{ 13153return shl_load (); 13154 ; 13155 return 0; 13156} 13157_ACEOF 13158if ac_fn_c_try_link "$LINENO"; then : 13159 ac_cv_lib_dld_shl_load=yes 13160else 13161 ac_cv_lib_dld_shl_load=no 13162fi 13163rm -f core conftest.err conftest.$ac_objext \ 13164 conftest$ac_exeext conftest.$ac_ext 13165LIBS=$ac_check_lib_save_LIBS 13166fi 13167{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 13168$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 13169if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 13170 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld 13171else 13172 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 13173if test "x$ac_cv_func_dlopen" = xyes; then : 13174 lt_cv_dlopen=dlopen 13175else 13176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 13177$as_echo_n "checking for dlopen in -ldl... " >&6; } 13178if ${ac_cv_lib_dl_dlopen+:} false; then : 13179 $as_echo_n "(cached) " >&6 13180else 13181 ac_check_lib_save_LIBS=$LIBS 13182LIBS="-ldl $LIBS" 13183cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13184/* end confdefs.h. */ 13185 13186/* Override any GCC internal prototype to avoid an error. 13187 Use char because int might match the return type of a GCC 13188 builtin and then its argument prototype would still apply. */ 13189#ifdef __cplusplus 13190extern "C" 13191#endif 13192char dlopen (); 13193int 13194main () 13195{ 13196return dlopen (); 13197 ; 13198 return 0; 13199} 13200_ACEOF 13201if ac_fn_c_try_link "$LINENO"; then : 13202 ac_cv_lib_dl_dlopen=yes 13203else 13204 ac_cv_lib_dl_dlopen=no 13205fi 13206rm -f core conftest.err conftest.$ac_objext \ 13207 conftest$ac_exeext conftest.$ac_ext 13208LIBS=$ac_check_lib_save_LIBS 13209fi 13210{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 13211$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 13212if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 13213 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 13214else 13215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 13216$as_echo_n "checking for dlopen in -lsvld... " >&6; } 13217if ${ac_cv_lib_svld_dlopen+:} false; then : 13218 $as_echo_n "(cached) " >&6 13219else 13220 ac_check_lib_save_LIBS=$LIBS 13221LIBS="-lsvld $LIBS" 13222cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13223/* end confdefs.h. */ 13224 13225/* Override any GCC internal prototype to avoid an error. 13226 Use char because int might match the return type of a GCC 13227 builtin and then its argument prototype would still apply. */ 13228#ifdef __cplusplus 13229extern "C" 13230#endif 13231char dlopen (); 13232int 13233main () 13234{ 13235return dlopen (); 13236 ; 13237 return 0; 13238} 13239_ACEOF 13240if ac_fn_c_try_link "$LINENO"; then : 13241 ac_cv_lib_svld_dlopen=yes 13242else 13243 ac_cv_lib_svld_dlopen=no 13244fi 13245rm -f core conftest.err conftest.$ac_objext \ 13246 conftest$ac_exeext conftest.$ac_ext 13247LIBS=$ac_check_lib_save_LIBS 13248fi 13249{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 13250$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 13251if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 13252 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld 13253else 13254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 13255$as_echo_n "checking for dld_link in -ldld... " >&6; } 13256if ${ac_cv_lib_dld_dld_link+:} false; then : 13257 $as_echo_n "(cached) " >&6 13258else 13259 ac_check_lib_save_LIBS=$LIBS 13260LIBS="-ldld $LIBS" 13261cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13262/* end confdefs.h. */ 13263 13264/* Override any GCC internal prototype to avoid an error. 13265 Use char because int might match the return type of a GCC 13266 builtin and then its argument prototype would still apply. */ 13267#ifdef __cplusplus 13268extern "C" 13269#endif 13270char dld_link (); 13271int 13272main () 13273{ 13274return dld_link (); 13275 ; 13276 return 0; 13277} 13278_ACEOF 13279if ac_fn_c_try_link "$LINENO"; then : 13280 ac_cv_lib_dld_dld_link=yes 13281else 13282 ac_cv_lib_dld_dld_link=no 13283fi 13284rm -f core conftest.err conftest.$ac_objext \ 13285 conftest$ac_exeext conftest.$ac_ext 13286LIBS=$ac_check_lib_save_LIBS 13287fi 13288{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 13289$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 13290if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 13291 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld 13292fi 13293 13294 13295fi 13296 13297 13298fi 13299 13300 13301fi 13302 13303 13304fi 13305 13306 13307fi 13308 13309 ;; 13310 esac 13311 13312 if test no = "$lt_cv_dlopen"; then 13313 enable_dlopen=no 13314 else 13315 enable_dlopen=yes 13316 fi 13317 13318 case $lt_cv_dlopen in 13319 dlopen) 13320 save_CPPFLAGS=$CPPFLAGS 13321 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 13322 13323 save_LDFLAGS=$LDFLAGS 13324 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 13325 13326 save_LIBS=$LIBS 13327 LIBS="$lt_cv_dlopen_libs $LIBS" 13328 13329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 13330$as_echo_n "checking whether a program can dlopen itself... " >&6; } 13331if ${lt_cv_dlopen_self+:} false; then : 13332 $as_echo_n "(cached) " >&6 13333else 13334 if test yes = "$cross_compiling"; then : 13335 lt_cv_dlopen_self=cross 13336else 13337 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 13338 lt_status=$lt_dlunknown 13339 cat > conftest.$ac_ext <<_LT_EOF 13340#line $LINENO "configure" 13341#include "confdefs.h" 13342 13343#if HAVE_DLFCN_H 13344#include <dlfcn.h> 13345#endif 13346 13347#include <stdio.h> 13348 13349#ifdef RTLD_GLOBAL 13350# define LT_DLGLOBAL RTLD_GLOBAL 13351#else 13352# ifdef DL_GLOBAL 13353# define LT_DLGLOBAL DL_GLOBAL 13354# else 13355# define LT_DLGLOBAL 0 13356# endif 13357#endif 13358 13359/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 13360 find out it does not work in some platform. */ 13361#ifndef LT_DLLAZY_OR_NOW 13362# ifdef RTLD_LAZY 13363# define LT_DLLAZY_OR_NOW RTLD_LAZY 13364# else 13365# ifdef DL_LAZY 13366# define LT_DLLAZY_OR_NOW DL_LAZY 13367# else 13368# ifdef RTLD_NOW 13369# define LT_DLLAZY_OR_NOW RTLD_NOW 13370# else 13371# ifdef DL_NOW 13372# define LT_DLLAZY_OR_NOW DL_NOW 13373# else 13374# define LT_DLLAZY_OR_NOW 0 13375# endif 13376# endif 13377# endif 13378# endif 13379#endif 13380 13381/* When -fvisibility=hidden is used, assume the code has been annotated 13382 correspondingly for the symbols needed. */ 13383#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 13384int fnord () __attribute__((visibility("default"))); 13385#endif 13386 13387int fnord () { return 42; } 13388int main () 13389{ 13390 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 13391 int status = $lt_dlunknown; 13392 13393 if (self) 13394 { 13395 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 13396 else 13397 { 13398 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 13399 else puts (dlerror ()); 13400 } 13401 /* dlclose (self); */ 13402 } 13403 else 13404 puts (dlerror ()); 13405 13406 return status; 13407} 13408_LT_EOF 13409 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 13410 (eval $ac_link) 2>&5 13411 ac_status=$? 13412 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13413 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 13414 (./conftest; exit; ) >&5 2>/dev/null 13415 lt_status=$? 13416 case x$lt_status in 13417 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 13418 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 13419 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 13420 esac 13421 else : 13422 # compilation failed 13423 lt_cv_dlopen_self=no 13424 fi 13425fi 13426rm -fr conftest* 13427 13428 13429fi 13430{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 13431$as_echo "$lt_cv_dlopen_self" >&6; } 13432 13433 if test yes = "$lt_cv_dlopen_self"; then 13434 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 13435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 13436$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 13437if ${lt_cv_dlopen_self_static+:} false; then : 13438 $as_echo_n "(cached) " >&6 13439else 13440 if test yes = "$cross_compiling"; then : 13441 lt_cv_dlopen_self_static=cross 13442else 13443 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 13444 lt_status=$lt_dlunknown 13445 cat > conftest.$ac_ext <<_LT_EOF 13446#line $LINENO "configure" 13447#include "confdefs.h" 13448 13449#if HAVE_DLFCN_H 13450#include <dlfcn.h> 13451#endif 13452 13453#include <stdio.h> 13454 13455#ifdef RTLD_GLOBAL 13456# define LT_DLGLOBAL RTLD_GLOBAL 13457#else 13458# ifdef DL_GLOBAL 13459# define LT_DLGLOBAL DL_GLOBAL 13460# else 13461# define LT_DLGLOBAL 0 13462# endif 13463#endif 13464 13465/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 13466 find out it does not work in some platform. */ 13467#ifndef LT_DLLAZY_OR_NOW 13468# ifdef RTLD_LAZY 13469# define LT_DLLAZY_OR_NOW RTLD_LAZY 13470# else 13471# ifdef DL_LAZY 13472# define LT_DLLAZY_OR_NOW DL_LAZY 13473# else 13474# ifdef RTLD_NOW 13475# define LT_DLLAZY_OR_NOW RTLD_NOW 13476# else 13477# ifdef DL_NOW 13478# define LT_DLLAZY_OR_NOW DL_NOW 13479# else 13480# define LT_DLLAZY_OR_NOW 0 13481# endif 13482# endif 13483# endif 13484# endif 13485#endif 13486 13487/* When -fvisibility=hidden is used, assume the code has been annotated 13488 correspondingly for the symbols needed. */ 13489#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 13490int fnord () __attribute__((visibility("default"))); 13491#endif 13492 13493int fnord () { return 42; } 13494int main () 13495{ 13496 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 13497 int status = $lt_dlunknown; 13498 13499 if (self) 13500 { 13501 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 13502 else 13503 { 13504 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 13505 else puts (dlerror ()); 13506 } 13507 /* dlclose (self); */ 13508 } 13509 else 13510 puts (dlerror ()); 13511 13512 return status; 13513} 13514_LT_EOF 13515 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 13516 (eval $ac_link) 2>&5 13517 ac_status=$? 13518 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13519 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 13520 (./conftest; exit; ) >&5 2>/dev/null 13521 lt_status=$? 13522 case x$lt_status in 13523 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 13524 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 13525 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 13526 esac 13527 else : 13528 # compilation failed 13529 lt_cv_dlopen_self_static=no 13530 fi 13531fi 13532rm -fr conftest* 13533 13534 13535fi 13536{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 13537$as_echo "$lt_cv_dlopen_self_static" >&6; } 13538 fi 13539 13540 CPPFLAGS=$save_CPPFLAGS 13541 LDFLAGS=$save_LDFLAGS 13542 LIBS=$save_LIBS 13543 ;; 13544 esac 13545 13546 case $lt_cv_dlopen_self in 13547 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 13548 *) enable_dlopen_self=unknown ;; 13549 esac 13550 13551 case $lt_cv_dlopen_self_static in 13552 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 13553 *) enable_dlopen_self_static=unknown ;; 13554 esac 13555fi 13556 13557 13558 13559 13560 13561 13562 13563 13564 13565 13566 13567 13568 13569 13570 13571 13572 13573striplib= 13574old_striplib= 13575{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 13576$as_echo_n "checking whether stripping libraries is possible... " >&6; } 13577if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 13578 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 13579 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 13580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13581$as_echo "yes" >&6; } 13582else 13583# FIXME - insert some real tests, host_os isn't really good enough 13584 case $host_os in 13585 darwin*) 13586 if test -n "$STRIP"; then 13587 striplib="$STRIP -x" 13588 old_striplib="$STRIP -S" 13589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13590$as_echo "yes" >&6; } 13591 else 13592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13593$as_echo "no" >&6; } 13594 fi 13595 ;; 13596 *) 13597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13598$as_echo "no" >&6; } 13599 ;; 13600 esac 13601fi 13602 13603 13604 13605 13606 13607 13608 13609 13610 13611 13612 13613 13614 # Report what library types will actually be built 13615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 13616$as_echo_n "checking if libtool supports shared libraries... " >&6; } 13617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 13618$as_echo "$can_build_shared" >&6; } 13619 13620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 13621$as_echo_n "checking whether to build shared libraries... " >&6; } 13622 test no = "$can_build_shared" && enable_shared=no 13623 13624 # On AIX, shared libraries and static libraries use the same namespace, and 13625 # are all built from PIC. 13626 case $host_os in 13627 aix3*) 13628 test yes = "$enable_shared" && enable_static=no 13629 if test -n "$RANLIB"; then 13630 archive_cmds="$archive_cmds~\$RANLIB \$lib" 13631 postinstall_cmds='$RANLIB $lib' 13632 fi 13633 ;; 13634 13635 aix[4-9]*) 13636 if test ia64 != "$host_cpu"; then 13637 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in 13638 yes,aix,yes) ;; # shared object as lib.so file only 13639 yes,svr4,*) ;; # shared object as lib.so archive member only 13640 yes,*) enable_static=no ;; # shared object in lib.a archive as well 13641 esac 13642 fi 13643 ;; 13644 esac 13645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 13646$as_echo "$enable_shared" >&6; } 13647 13648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 13649$as_echo_n "checking whether to build static libraries... " >&6; } 13650 # Make sure either enable_shared or enable_static is yes. 13651 test yes = "$enable_shared" || enable_static=yes 13652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 13653$as_echo "$enable_static" >&6; } 13654 13655 13656 13657 13658fi 13659ac_ext=c 13660ac_cpp='$CPP $CPPFLAGS' 13661ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13662ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13663ac_compiler_gnu=$ac_cv_c_compiler_gnu 13664 13665CC=$lt_save_CC 13666 13667 if test -n "$CXX" && ( test no != "$CXX" && 13668 ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) || 13669 (test g++ != "$CXX"))); then 13670 ac_ext=cpp 13671ac_cpp='$CXXCPP $CPPFLAGS' 13672ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13673ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13674ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 13675{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 13676$as_echo_n "checking how to run the C++ preprocessor... " >&6; } 13677if test -z "$CXXCPP"; then 13678 if ${ac_cv_prog_CXXCPP+:} false; then : 13679 $as_echo_n "(cached) " >&6 13680else 13681 # Double quotes because CXXCPP needs to be expanded 13682 for CXXCPP in "$CXX -E" "/lib/cpp" 13683 do 13684 ac_preproc_ok=false 13685for ac_cxx_preproc_warn_flag in '' yes 13686do 13687 # Use a header file that comes with gcc, so configuring glibc 13688 # with a fresh cross-compiler works. 13689 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 13690 # <limits.h> exists even on freestanding compilers. 13691 # On the NeXT, cc -E runs the code through the compiler's parser, 13692 # not just through cpp. "Syntax error" is here to catch this case. 13693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13694/* end confdefs.h. */ 13695#ifdef __STDC__ 13696# include <limits.h> 13697#else 13698# include <assert.h> 13699#endif 13700 Syntax error 13701_ACEOF 13702if ac_fn_cxx_try_cpp "$LINENO"; then : 13703 13704else 13705 # Broken: fails on valid input. 13706continue 13707fi 13708rm -f conftest.err conftest.i conftest.$ac_ext 13709 13710 # OK, works on sane cases. Now check whether nonexistent headers 13711 # can be detected and how. 13712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13713/* end confdefs.h. */ 13714#include <ac_nonexistent.h> 13715_ACEOF 13716if ac_fn_cxx_try_cpp "$LINENO"; then : 13717 # Broken: success on invalid input. 13718continue 13719else 13720 # Passes both tests. 13721ac_preproc_ok=: 13722break 13723fi 13724rm -f conftest.err conftest.i conftest.$ac_ext 13725 13726done 13727# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 13728rm -f conftest.i conftest.err conftest.$ac_ext 13729if $ac_preproc_ok; then : 13730 break 13731fi 13732 13733 done 13734 ac_cv_prog_CXXCPP=$CXXCPP 13735 13736fi 13737 CXXCPP=$ac_cv_prog_CXXCPP 13738else 13739 ac_cv_prog_CXXCPP=$CXXCPP 13740fi 13741{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 13742$as_echo "$CXXCPP" >&6; } 13743ac_preproc_ok=false 13744for ac_cxx_preproc_warn_flag in '' yes 13745do 13746 # Use a header file that comes with gcc, so configuring glibc 13747 # with a fresh cross-compiler works. 13748 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 13749 # <limits.h> exists even on freestanding compilers. 13750 # On the NeXT, cc -E runs the code through the compiler's parser, 13751 # not just through cpp. "Syntax error" is here to catch this case. 13752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13753/* end confdefs.h. */ 13754#ifdef __STDC__ 13755# include <limits.h> 13756#else 13757# include <assert.h> 13758#endif 13759 Syntax error 13760_ACEOF 13761if ac_fn_cxx_try_cpp "$LINENO"; then : 13762 13763else 13764 # Broken: fails on valid input. 13765continue 13766fi 13767rm -f conftest.err conftest.i conftest.$ac_ext 13768 13769 # OK, works on sane cases. Now check whether nonexistent headers 13770 # can be detected and how. 13771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13772/* end confdefs.h. */ 13773#include <ac_nonexistent.h> 13774_ACEOF 13775if ac_fn_cxx_try_cpp "$LINENO"; then : 13776 # Broken: success on invalid input. 13777continue 13778else 13779 # Passes both tests. 13780ac_preproc_ok=: 13781break 13782fi 13783rm -f conftest.err conftest.i conftest.$ac_ext 13784 13785done 13786# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 13787rm -f conftest.i conftest.err conftest.$ac_ext 13788if $ac_preproc_ok; then : 13789 13790else 13791 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 13792$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 13793as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check 13794See \`config.log' for more details" "$LINENO" 5; } 13795fi 13796 13797ac_ext=c 13798ac_cpp='$CPP $CPPFLAGS' 13799ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13800ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13801ac_compiler_gnu=$ac_cv_c_compiler_gnu 13802 13803else 13804 _lt_caught_CXX_error=yes 13805fi 13806 13807ac_ext=cpp 13808ac_cpp='$CXXCPP $CPPFLAGS' 13809ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13810ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13811ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 13812 13813archive_cmds_need_lc_CXX=no 13814allow_undefined_flag_CXX= 13815always_export_symbols_CXX=no 13816archive_expsym_cmds_CXX= 13817compiler_needs_object_CXX=no 13818export_dynamic_flag_spec_CXX= 13819hardcode_direct_CXX=no 13820hardcode_direct_absolute_CXX=no 13821hardcode_libdir_flag_spec_CXX= 13822hardcode_libdir_separator_CXX= 13823hardcode_minus_L_CXX=no 13824hardcode_shlibpath_var_CXX=unsupported 13825hardcode_automatic_CXX=no 13826inherit_rpath_CXX=no 13827module_cmds_CXX= 13828module_expsym_cmds_CXX= 13829link_all_deplibs_CXX=unknown 13830old_archive_cmds_CXX=$old_archive_cmds 13831reload_flag_CXX=$reload_flag 13832reload_cmds_CXX=$reload_cmds 13833no_undefined_flag_CXX= 13834whole_archive_flag_spec_CXX= 13835enable_shared_with_static_runtimes_CXX=no 13836 13837# Source file extension for C++ test sources. 13838ac_ext=cpp 13839 13840# Object file extension for compiled C++ test sources. 13841objext=o 13842objext_CXX=$objext 13843 13844# No sense in running all these tests if we already determined that 13845# the CXX compiler isn't working. Some variables (like enable_shared) 13846# are currently assumed to apply to all compilers on this platform, 13847# and will be corrupted by setting them based on a non-working compiler. 13848if test yes != "$_lt_caught_CXX_error"; then 13849 # Code to be used in simple compile tests 13850 lt_simple_compile_test_code="int some_variable = 0;" 13851 13852 # Code to be used in simple link tests 13853 lt_simple_link_test_code='int main(int, char *[]) { return(0); }' 13854 13855 # ltmain only uses $CC for tagged configurations so make sure $CC is set. 13856 13857 13858 13859 13860 13861 13862# If no C compiler was specified, use CC. 13863LTCC=${LTCC-"$CC"} 13864 13865# If no C compiler flags were specified, use CFLAGS. 13866LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 13867 13868# Allow CC to be a program name with arguments. 13869compiler=$CC 13870 13871 13872 # save warnings/boilerplate of simple test code 13873 ac_outfile=conftest.$ac_objext 13874echo "$lt_simple_compile_test_code" >conftest.$ac_ext 13875eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 13876_lt_compiler_boilerplate=`cat conftest.err` 13877$RM conftest* 13878 13879 ac_outfile=conftest.$ac_objext 13880echo "$lt_simple_link_test_code" >conftest.$ac_ext 13881eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 13882_lt_linker_boilerplate=`cat conftest.err` 13883$RM -r conftest* 13884 13885 13886 # Allow CC to be a program name with arguments. 13887 lt_save_CC=$CC 13888 lt_save_CFLAGS=$CFLAGS 13889 lt_save_LD=$LD 13890 lt_save_GCC=$GCC 13891 GCC=$GXX 13892 lt_save_with_gnu_ld=$with_gnu_ld 13893 lt_save_path_LD=$lt_cv_path_LD 13894 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then 13895 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx 13896 else 13897 $as_unset lt_cv_prog_gnu_ld 13898 fi 13899 if test -n "${lt_cv_path_LDCXX+set}"; then 13900 lt_cv_path_LD=$lt_cv_path_LDCXX 13901 else 13902 $as_unset lt_cv_path_LD 13903 fi 13904 test -z "${LDCXX+set}" || LD=$LDCXX 13905 CC=${CXX-"c++"} 13906 CFLAGS=$CXXFLAGS 13907 compiler=$CC 13908 compiler_CXX=$CC 13909 func_cc_basename $compiler 13910cc_basename=$func_cc_basename_result 13911 13912 13913 if test -n "$compiler"; then 13914 # We don't want -fno-exception when compiling C++ code, so set the 13915 # no_builtin_flag separately 13916 if test yes = "$GXX"; then 13917 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin' 13918 else 13919 lt_prog_compiler_no_builtin_flag_CXX= 13920 fi 13921 13922 if test yes = "$GXX"; then 13923 # Set up default GNU C++ configuration 13924 13925 13926 13927# Check whether --with-gnu-ld was given. 13928if test "${with_gnu_ld+set}" = set; then : 13929 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes 13930else 13931 with_gnu_ld=no 13932fi 13933 13934ac_prog=ld 13935if test yes = "$GCC"; then 13936 # Check if gcc -print-prog-name=ld gives a path. 13937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 13938$as_echo_n "checking for ld used by $CC... " >&6; } 13939 case $host in 13940 *-*-mingw*) 13941 # gcc leaves a trailing carriage return, which upsets mingw 13942 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 13943 *) 13944 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 13945 esac 13946 case $ac_prog in 13947 # Accept absolute paths. 13948 [\\/]* | ?:[\\/]*) 13949 re_direlt='/[^/][^/]*/\.\./' 13950 # Canonicalize the pathname of ld 13951 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 13952 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 13953 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 13954 done 13955 test -z "$LD" && LD=$ac_prog 13956 ;; 13957 "") 13958 # If it fails, then pretend we aren't using GCC. 13959 ac_prog=ld 13960 ;; 13961 *) 13962 # If it is relative, then search for the first ld in PATH. 13963 with_gnu_ld=unknown 13964 ;; 13965 esac 13966elif test yes = "$with_gnu_ld"; then 13967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 13968$as_echo_n "checking for GNU ld... " >&6; } 13969else 13970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 13971$as_echo_n "checking for non-GNU ld... " >&6; } 13972fi 13973if ${lt_cv_path_LD+:} false; then : 13974 $as_echo_n "(cached) " >&6 13975else 13976 if test -z "$LD"; then 13977 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 13978 for ac_dir in $PATH; do 13979 IFS=$lt_save_ifs 13980 test -z "$ac_dir" && ac_dir=. 13981 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 13982 lt_cv_path_LD=$ac_dir/$ac_prog 13983 # Check to see if the program is GNU ld. I'd rather use --version, 13984 # but apparently some variants of GNU ld only accept -v. 13985 # Break only if it was the GNU/non-GNU ld that we prefer. 13986 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 13987 *GNU* | *'with BFD'*) 13988 test no != "$with_gnu_ld" && break 13989 ;; 13990 *) 13991 test yes != "$with_gnu_ld" && break 13992 ;; 13993 esac 13994 fi 13995 done 13996 IFS=$lt_save_ifs 13997else 13998 lt_cv_path_LD=$LD # Let the user override the test with a path. 13999fi 14000fi 14001 14002LD=$lt_cv_path_LD 14003if test -n "$LD"; then 14004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 14005$as_echo "$LD" >&6; } 14006else 14007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14008$as_echo "no" >&6; } 14009fi 14010test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 14011{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 14012$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 14013if ${lt_cv_prog_gnu_ld+:} false; then : 14014 $as_echo_n "(cached) " >&6 14015else 14016 # I'd rather use --version here, but apparently some GNU lds only accept -v. 14017case `$LD -v 2>&1 </dev/null` in 14018*GNU* | *'with BFD'*) 14019 lt_cv_prog_gnu_ld=yes 14020 ;; 14021*) 14022 lt_cv_prog_gnu_ld=no 14023 ;; 14024esac 14025fi 14026{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 14027$as_echo "$lt_cv_prog_gnu_ld" >&6; } 14028with_gnu_ld=$lt_cv_prog_gnu_ld 14029 14030 14031 14032 14033 14034 14035 14036 # Check if GNU C++ uses GNU ld as the underlying linker, since the 14037 # archiving commands below assume that GNU ld is being used. 14038 if test yes = "$with_gnu_ld"; then 14039 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 14040 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' 14041 14042 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 14043 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 14044 14045 # If archive_cmds runs LD, not CC, wlarc should be empty 14046 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to 14047 # investigate it a little bit more. (MM) 14048 wlarc='$wl' 14049 14050 # ancient GNU ld didn't support --whole-archive et. al. 14051 if eval "`$CC -print-prog-name=ld` --help 2>&1" | 14052 $GREP 'no-whole-archive' > /dev/null; then 14053 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 14054 else 14055 whole_archive_flag_spec_CXX= 14056 fi 14057 else 14058 with_gnu_ld=no 14059 wlarc= 14060 14061 # A generic and very simple default shared library creation 14062 # command for GNU C++ for the case where it uses the native 14063 # linker, instead of GNU ld. If possible, this setting should 14064 # overridden to take advantage of the native linker features on 14065 # the platform it is being used on. 14066 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 14067 fi 14068 14069 # Commands to make compiler produce verbose output that lists 14070 # what "hidden" libraries, object files and flags are used when 14071 # linking a shared library. 14072 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 14073 14074 else 14075 GXX=no 14076 with_gnu_ld=no 14077 wlarc= 14078 fi 14079 14080 # PORTME: fill in a description of your system's C++ link characteristics 14081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 14082$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 14083 ld_shlibs_CXX=yes 14084 case $host_os in 14085 aix3*) 14086 # FIXME: insert proper C++ library support 14087 ld_shlibs_CXX=no 14088 ;; 14089 aix[4-9]*) 14090 if test ia64 = "$host_cpu"; then 14091 # On IA64, the linker does run time linking by default, so we don't 14092 # have to do anything special. 14093 aix_use_runtimelinking=no 14094 exp_sym_flag='-Bexport' 14095 no_entry_flag= 14096 else 14097 aix_use_runtimelinking=no 14098 14099 # Test if we are trying to use run time linking or normal 14100 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 14101 # have runtime linking enabled, and use it for executables. 14102 # For shared libraries, we enable/disable runtime linking 14103 # depending on the kind of the shared library created - 14104 # when "with_aix_soname,aix_use_runtimelinking" is: 14105 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables 14106 # "aix,yes" lib.so shared, rtl:yes, for executables 14107 # lib.a static archive 14108 # "both,no" lib.so.V(shr.o) shared, rtl:yes 14109 # lib.a(lib.so.V) shared, rtl:no, for executables 14110 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables 14111 # lib.a(lib.so.V) shared, rtl:no 14112 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables 14113 # lib.a static archive 14114 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 14115 for ld_flag in $LDFLAGS; do 14116 case $ld_flag in 14117 *-brtl*) 14118 aix_use_runtimelinking=yes 14119 break 14120 ;; 14121 esac 14122 done 14123 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then 14124 # With aix-soname=svr4, we create the lib.so.V shared archives only, 14125 # so we don't have lib.a shared libs to link our executables. 14126 # We have to force runtime linking in this case. 14127 aix_use_runtimelinking=yes 14128 LDFLAGS="$LDFLAGS -Wl,-brtl" 14129 fi 14130 ;; 14131 esac 14132 14133 exp_sym_flag='-bexport' 14134 no_entry_flag='-bnoentry' 14135 fi 14136 14137 # When large executables or shared objects are built, AIX ld can 14138 # have problems creating the table of contents. If linking a library 14139 # or program results in "error TOC overflow" add -mminimal-toc to 14140 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 14141 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 14142 14143 archive_cmds_CXX='' 14144 hardcode_direct_CXX=yes 14145 hardcode_direct_absolute_CXX=yes 14146 hardcode_libdir_separator_CXX=':' 14147 link_all_deplibs_CXX=yes 14148 file_list_spec_CXX='$wl-f,' 14149 case $with_aix_soname,$aix_use_runtimelinking in 14150 aix,*) ;; # no import file 14151 svr4,* | *,yes) # use import file 14152 # The Import File defines what to hardcode. 14153 hardcode_direct_CXX=no 14154 hardcode_direct_absolute_CXX=no 14155 ;; 14156 esac 14157 14158 if test yes = "$GXX"; then 14159 case $host_os in aix4.[012]|aix4.[012].*) 14160 # We only want to do this on AIX 4.2 and lower, the check 14161 # below for broken collect2 doesn't work under 4.3+ 14162 collect2name=`$CC -print-prog-name=collect2` 14163 if test -f "$collect2name" && 14164 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 14165 then 14166 # We have reworked collect2 14167 : 14168 else 14169 # We have old collect2 14170 hardcode_direct_CXX=unsupported 14171 # It fails to find uninstalled libraries when the uninstalled 14172 # path is not listed in the libpath. Setting hardcode_minus_L 14173 # to unsupported forces relinking 14174 hardcode_minus_L_CXX=yes 14175 hardcode_libdir_flag_spec_CXX='-L$libdir' 14176 hardcode_libdir_separator_CXX= 14177 fi 14178 esac 14179 shared_flag='-shared' 14180 if test yes = "$aix_use_runtimelinking"; then 14181 shared_flag=$shared_flag' $wl-G' 14182 fi 14183 # Need to ensure runtime linking is disabled for the traditional 14184 # shared library, or the linker may eventually find shared libraries 14185 # /with/ Import File - we do not want to mix them. 14186 shared_flag_aix='-shared' 14187 shared_flag_svr4='-shared $wl-G' 14188 else 14189 # not using gcc 14190 if test ia64 = "$host_cpu"; then 14191 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 14192 # chokes on -Wl,-G. The following line is correct: 14193 shared_flag='-G' 14194 else 14195 if test yes = "$aix_use_runtimelinking"; then 14196 shared_flag='$wl-G' 14197 else 14198 shared_flag='$wl-bM:SRE' 14199 fi 14200 shared_flag_aix='$wl-bM:SRE' 14201 shared_flag_svr4='$wl-G' 14202 fi 14203 fi 14204 14205 export_dynamic_flag_spec_CXX='$wl-bexpall' 14206 # It seems that -bexpall does not export symbols beginning with 14207 # underscore (_), so it is better to generate a list of symbols to 14208 # export. 14209 always_export_symbols_CXX=yes 14210 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then 14211 # Warning - without using the other runtime loading flags (-brtl), 14212 # -berok will link without error, but may produce a broken library. 14213 # The "-G" linker flag allows undefined symbols. 14214 no_undefined_flag_CXX='-bernotok' 14215 # Determine the default libpath from the value encoded in an empty 14216 # executable. 14217 if test set = "${lt_cv_aix_libpath+set}"; then 14218 aix_libpath=$lt_cv_aix_libpath 14219else 14220 if ${lt_cv_aix_libpath__CXX+:} false; then : 14221 $as_echo_n "(cached) " >&6 14222else 14223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14224/* end confdefs.h. */ 14225 14226int 14227main () 14228{ 14229 14230 ; 14231 return 0; 14232} 14233_ACEOF 14234if ac_fn_cxx_try_link "$LINENO"; then : 14235 14236 lt_aix_libpath_sed=' 14237 /Import File Strings/,/^$/ { 14238 /^0/ { 14239 s/^0 *\([^ ]*\) *$/\1/ 14240 p 14241 } 14242 }' 14243 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 14244 # Check for a 64-bit object if we didn't find anything. 14245 if test -z "$lt_cv_aix_libpath__CXX"; then 14246 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 14247 fi 14248fi 14249rm -f core conftest.err conftest.$ac_objext \ 14250 conftest$ac_exeext conftest.$ac_ext 14251 if test -z "$lt_cv_aix_libpath__CXX"; then 14252 lt_cv_aix_libpath__CXX=/usr/lib:/lib 14253 fi 14254 14255fi 14256 14257 aix_libpath=$lt_cv_aix_libpath__CXX 14258fi 14259 14260 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath" 14261 14262 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 14263 else 14264 if test ia64 = "$host_cpu"; then 14265 hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib' 14266 allow_undefined_flag_CXX="-z nodefs" 14267 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" 14268 else 14269 # Determine the default libpath from the value encoded in an 14270 # empty executable. 14271 if test set = "${lt_cv_aix_libpath+set}"; then 14272 aix_libpath=$lt_cv_aix_libpath 14273else 14274 if ${lt_cv_aix_libpath__CXX+:} false; then : 14275 $as_echo_n "(cached) " >&6 14276else 14277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14278/* end confdefs.h. */ 14279 14280int 14281main () 14282{ 14283 14284 ; 14285 return 0; 14286} 14287_ACEOF 14288if ac_fn_cxx_try_link "$LINENO"; then : 14289 14290 lt_aix_libpath_sed=' 14291 /Import File Strings/,/^$/ { 14292 /^0/ { 14293 s/^0 *\([^ ]*\) *$/\1/ 14294 p 14295 } 14296 }' 14297 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 14298 # Check for a 64-bit object if we didn't find anything. 14299 if test -z "$lt_cv_aix_libpath__CXX"; then 14300 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 14301 fi 14302fi 14303rm -f core conftest.err conftest.$ac_objext \ 14304 conftest$ac_exeext conftest.$ac_ext 14305 if test -z "$lt_cv_aix_libpath__CXX"; then 14306 lt_cv_aix_libpath__CXX=/usr/lib:/lib 14307 fi 14308 14309fi 14310 14311 aix_libpath=$lt_cv_aix_libpath__CXX 14312fi 14313 14314 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath" 14315 # Warning - without using the other run time loading flags, 14316 # -berok will link without error, but may produce a broken library. 14317 no_undefined_flag_CXX=' $wl-bernotok' 14318 allow_undefined_flag_CXX=' $wl-berok' 14319 if test yes = "$with_gnu_ld"; then 14320 # We only use this code for GNU lds that support --whole-archive. 14321 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive' 14322 else 14323 # Exported symbols can be pulled into shared objects from archives 14324 whole_archive_flag_spec_CXX='$convenience' 14325 fi 14326 archive_cmds_need_lc_CXX=yes 14327 archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' 14328 # -brtl affects multiple linker settings, -berok does not and is overridden later 14329 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' 14330 if test svr4 != "$with_aix_soname"; then 14331 # This is similar to how AIX traditionally builds its shared 14332 # libraries. Need -bnortl late, we may have -brtl in LDFLAGS. 14333 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' 14334 fi 14335 if test aix != "$with_aix_soname"; then 14336 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' 14337 else 14338 # used by -dlpreopen to get the symbols 14339 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV $output_objdir/$realname.d/$soname $output_objdir' 14340 fi 14341 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d' 14342 fi 14343 fi 14344 ;; 14345 14346 beos*) 14347 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 14348 allow_undefined_flag_CXX=unsupported 14349 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 14350 # support --undefined. This deserves some investigation. FIXME 14351 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 14352 else 14353 ld_shlibs_CXX=no 14354 fi 14355 ;; 14356 14357 chorus*) 14358 case $cc_basename in 14359 *) 14360 # FIXME: insert proper C++ library support 14361 ld_shlibs_CXX=no 14362 ;; 14363 esac 14364 ;; 14365 14366 cygwin* | mingw* | pw32* | cegcc*) 14367 case $GXX,$cc_basename in 14368 ,cl* | no,cl*) 14369 # Native MSVC 14370 # hardcode_libdir_flag_spec is actually meaningless, as there is 14371 # no search path for DLLs. 14372 hardcode_libdir_flag_spec_CXX=' ' 14373 allow_undefined_flag_CXX=unsupported 14374 always_export_symbols_CXX=yes 14375 file_list_spec_CXX='@' 14376 # Tell ltmain to make .lib files, not .a files. 14377 libext=lib 14378 # Tell ltmain to make .dll files, not .so files. 14379 shrext_cmds=.dll 14380 # FIXME: Setting linknames here is a bad hack. 14381 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' 14382 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 14383 cp "$export_symbols" "$output_objdir/$soname.def"; 14384 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; 14385 else 14386 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; 14387 fi~ 14388 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 14389 linknames=' 14390 # The linker will not automatically build a static lib if we build a DLL. 14391 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true' 14392 enable_shared_with_static_runtimes_CXX=yes 14393 # Don't use ranlib 14394 old_postinstall_cmds_CXX='chmod 644 $oldlib' 14395 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~ 14396 lt_tool_outputfile="@TOOL_OUTPUT@"~ 14397 case $lt_outputfile in 14398 *.exe|*.EXE) ;; 14399 *) 14400 lt_outputfile=$lt_outputfile.exe 14401 lt_tool_outputfile=$lt_tool_outputfile.exe 14402 ;; 14403 esac~ 14404 func_to_tool_file "$lt_outputfile"~ 14405 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then 14406 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 14407 $RM "$lt_outputfile.manifest"; 14408 fi' 14409 ;; 14410 *) 14411 # g++ 14412 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, 14413 # as there is no search path for DLLs. 14414 hardcode_libdir_flag_spec_CXX='-L$libdir' 14415 export_dynamic_flag_spec_CXX='$wl--export-all-symbols' 14416 allow_undefined_flag_CXX=unsupported 14417 always_export_symbols_CXX=no 14418 enable_shared_with_static_runtimes_CXX=yes 14419 14420 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 14421 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' 14422 # If the export-symbols file already is a .def file, use it as 14423 # is; otherwise, prepend EXPORTS... 14424 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 14425 cp $export_symbols $output_objdir/$soname.def; 14426 else 14427 echo EXPORTS > $output_objdir/$soname.def; 14428 cat $export_symbols >> $output_objdir/$soname.def; 14429 fi~ 14430 $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' 14431 else 14432 ld_shlibs_CXX=no 14433 fi 14434 ;; 14435 esac 14436 ;; 14437 darwin* | rhapsody*) 14438 14439 14440 archive_cmds_need_lc_CXX=no 14441 hardcode_direct_CXX=no 14442 hardcode_automatic_CXX=yes 14443 hardcode_shlibpath_var_CXX=unsupported 14444 if test yes = "$lt_cv_ld_force_load"; then 14445 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\"`' 14446 14447 else 14448 whole_archive_flag_spec_CXX='' 14449 fi 14450 link_all_deplibs_CXX=yes 14451 allow_undefined_flag_CXX=$_lt_dar_allow_undefined 14452 case $cc_basename in 14453 ifort*|nagfor*) _lt_dar_can_shared=yes ;; 14454 *) _lt_dar_can_shared=$GCC ;; 14455 esac 14456 if test yes = "$_lt_dar_can_shared"; then 14457 output_verbose_link_cmd=func_echo_all 14458 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" 14459 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" 14460 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" 14461 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" 14462 if test yes != "$lt_cv_apple_cc_single_mod"; then 14463 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" 14464 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" 14465 fi 14466 14467 else 14468 ld_shlibs_CXX=no 14469 fi 14470 14471 ;; 14472 14473 os2*) 14474 hardcode_libdir_flag_spec_CXX='-L$libdir' 14475 hardcode_minus_L_CXX=yes 14476 allow_undefined_flag_CXX=unsupported 14477 shrext_cmds=.dll 14478 archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 14479 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 14480 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 14481 $ECHO EXPORTS >> $output_objdir/$libname.def~ 14482 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 14483 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 14484 emximp -o $lib $output_objdir/$libname.def' 14485 archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 14486 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 14487 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 14488 $ECHO EXPORTS >> $output_objdir/$libname.def~ 14489 prefix_cmds="$SED"~ 14490 if test EXPORTS = "`$SED 1q $export_symbols`"; then 14491 prefix_cmds="$prefix_cmds -e 1d"; 14492 fi~ 14493 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 14494 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 14495 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 14496 emximp -o $lib $output_objdir/$libname.def' 14497 old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 14498 enable_shared_with_static_runtimes_CXX=yes 14499 ;; 14500 14501 dgux*) 14502 case $cc_basename in 14503 ec++*) 14504 # FIXME: insert proper C++ library support 14505 ld_shlibs_CXX=no 14506 ;; 14507 ghcx*) 14508 # Green Hills C++ Compiler 14509 # FIXME: insert proper C++ library support 14510 ld_shlibs_CXX=no 14511 ;; 14512 *) 14513 # FIXME: insert proper C++ library support 14514 ld_shlibs_CXX=no 14515 ;; 14516 esac 14517 ;; 14518 14519 freebsd2.*) 14520 # C++ shared libraries reported to be fairly broken before 14521 # switch to ELF 14522 ld_shlibs_CXX=no 14523 ;; 14524 14525 freebsd-elf*) 14526 archive_cmds_need_lc_CXX=no 14527 ;; 14528 14529 freebsd* | dragonfly*) 14530 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF 14531 # conventions 14532 ld_shlibs_CXX=yes 14533 ;; 14534 14535 haiku*) 14536 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 14537 link_all_deplibs_CXX=yes 14538 ;; 14539 14540 hpux9*) 14541 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir' 14542 hardcode_libdir_separator_CXX=: 14543 export_dynamic_flag_spec_CXX='$wl-E' 14544 hardcode_direct_CXX=yes 14545 hardcode_minus_L_CXX=yes # Not in the search PATH, 14546 # but as the default 14547 # location of the library. 14548 14549 case $cc_basename in 14550 CC*) 14551 # FIXME: insert proper C++ library support 14552 ld_shlibs_CXX=no 14553 ;; 14554 aCC*) 14555 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' 14556 # Commands to make compiler produce verbose output that lists 14557 # what "hidden" libraries, object files and flags are used when 14558 # linking a shared library. 14559 # 14560 # There doesn't appear to be a way to prevent this compiler from 14561 # explicitly linking system object files so we need to strip them 14562 # from the output so that they don't get included in the library 14563 # dependencies. 14564 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"' 14565 ;; 14566 *) 14567 if test yes = "$GXX"; then 14568 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' 14569 else 14570 # FIXME: insert proper C++ library support 14571 ld_shlibs_CXX=no 14572 fi 14573 ;; 14574 esac 14575 ;; 14576 14577 hpux10*|hpux11*) 14578 if test no = "$with_gnu_ld"; then 14579 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir' 14580 hardcode_libdir_separator_CXX=: 14581 14582 case $host_cpu in 14583 hppa*64*|ia64*) 14584 ;; 14585 *) 14586 export_dynamic_flag_spec_CXX='$wl-E' 14587 ;; 14588 esac 14589 fi 14590 case $host_cpu in 14591 hppa*64*|ia64*) 14592 hardcode_direct_CXX=no 14593 hardcode_shlibpath_var_CXX=no 14594 ;; 14595 *) 14596 hardcode_direct_CXX=yes 14597 hardcode_direct_absolute_CXX=yes 14598 hardcode_minus_L_CXX=yes # Not in the search PATH, 14599 # but as the default 14600 # location of the library. 14601 ;; 14602 esac 14603 14604 case $cc_basename in 14605 CC*) 14606 # FIXME: insert proper C++ library support 14607 ld_shlibs_CXX=no 14608 ;; 14609 aCC*) 14610 case $host_cpu in 14611 hppa*64*) 14612 archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14613 ;; 14614 ia64*) 14615 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14616 ;; 14617 *) 14618 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14619 ;; 14620 esac 14621 # Commands to make compiler produce verbose output that lists 14622 # what "hidden" libraries, object files and flags are used when 14623 # linking a shared library. 14624 # 14625 # There doesn't appear to be a way to prevent this compiler from 14626 # explicitly linking system object files so we need to strip them 14627 # from the output so that they don't get included in the library 14628 # dependencies. 14629 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"' 14630 ;; 14631 *) 14632 if test yes = "$GXX"; then 14633 if test no = "$with_gnu_ld"; then 14634 case $host_cpu in 14635 hppa*64*) 14636 archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14637 ;; 14638 ia64*) 14639 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14640 ;; 14641 *) 14642 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' 14643 ;; 14644 esac 14645 fi 14646 else 14647 # FIXME: insert proper C++ library support 14648 ld_shlibs_CXX=no 14649 fi 14650 ;; 14651 esac 14652 ;; 14653 14654 interix[3-9]*) 14655 hardcode_direct_CXX=no 14656 hardcode_shlibpath_var_CXX=no 14657 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 14658 export_dynamic_flag_spec_CXX='$wl-E' 14659 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 14660 # Instead, shared libraries are loaded at an image base (0x10000000 by 14661 # default) and relocated if they conflict, which is a slow very memory 14662 # consuming and fragmenting process. To avoid this, we pick a random, 14663 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 14664 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 14665 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' 14666 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' 14667 ;; 14668 irix5* | irix6*) 14669 case $cc_basename in 14670 CC*) 14671 # SGI C++ 14672 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' 14673 14674 # Archives containing C++ object files must be created using 14675 # "CC -ar", where "CC" is the IRIX C++ compiler. This is 14676 # necessary to make sure instantiated templates are included 14677 # in the archive. 14678 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs' 14679 ;; 14680 *) 14681 if test yes = "$GXX"; then 14682 if test no = "$with_gnu_ld"; then 14683 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' 14684 else 14685 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' 14686 fi 14687 fi 14688 link_all_deplibs_CXX=yes 14689 ;; 14690 esac 14691 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 14692 hardcode_libdir_separator_CXX=: 14693 inherit_rpath_CXX=yes 14694 ;; 14695 14696 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 14697 case $cc_basename in 14698 KCC*) 14699 # Kuck and Associates, Inc. (KAI) C++ Compiler 14700 14701 # KCC will only create a shared library if the output file 14702 # ends with ".so" (or ".sl" for HP-UX), so rename the library 14703 # to its proper name (with version) after linking. 14704 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' 14705 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' 14706 # Commands to make compiler produce verbose output that lists 14707 # what "hidden" libraries, object files and flags are used when 14708 # linking a shared library. 14709 # 14710 # There doesn't appear to be a way to prevent this compiler from 14711 # explicitly linking system object files so we need to strip them 14712 # from the output so that they don't get included in the library 14713 # dependencies. 14714 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"' 14715 14716 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 14717 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 14718 14719 # Archives containing C++ object files must be created using 14720 # "CC -Bstatic", where "CC" is the KAI C++ compiler. 14721 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' 14722 ;; 14723 icpc* | ecpc* ) 14724 # Intel C++ 14725 with_gnu_ld=yes 14726 # version 8.0 and above of icpc choke on multiply defined symbols 14727 # if we add $predep_objects and $postdep_objects, however 7.1 and 14728 # earlier do not add the objects themselves. 14729 case `$CC -V 2>&1` in 14730 *"Version 7."*) 14731 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 14732 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' 14733 ;; 14734 *) # Version 8.0 or newer 14735 tmp_idyn= 14736 case $host_cpu in 14737 ia64*) tmp_idyn=' -i_dynamic';; 14738 esac 14739 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 14740 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' 14741 ;; 14742 esac 14743 archive_cmds_need_lc_CXX=no 14744 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 14745 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 14746 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive' 14747 ;; 14748 pgCC* | pgcpp*) 14749 # Portland Group C++ compiler 14750 case `$CC -V` in 14751 *pgCC\ [1-5].* | *pgcpp\ [1-5].*) 14752 prelink_cmds_CXX='tpldir=Template.dir~ 14753 rm -rf $tpldir~ 14754 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~ 14755 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"' 14756 old_archive_cmds_CXX='tpldir=Template.dir~ 14757 rm -rf $tpldir~ 14758 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~ 14759 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~ 14760 $RANLIB $oldlib' 14761 archive_cmds_CXX='tpldir=Template.dir~ 14762 rm -rf $tpldir~ 14763 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ 14764 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 14765 archive_expsym_cmds_CXX='tpldir=Template.dir~ 14766 rm -rf $tpldir~ 14767 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ 14768 $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' 14769 ;; 14770 *) # Version 6 and above use weak symbols 14771 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 14772 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' 14773 ;; 14774 esac 14775 14776 hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir' 14777 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 14778 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' 14779 ;; 14780 cxx*) 14781 # Compaq C++ 14782 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib' 14783 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' 14784 14785 runpath_var=LD_RUN_PATH 14786 hardcode_libdir_flag_spec_CXX='-rpath $libdir' 14787 hardcode_libdir_separator_CXX=: 14788 14789 # Commands to make compiler produce verbose output that lists 14790 # what "hidden" libraries, object files and flags are used when 14791 # linking a shared library. 14792 # 14793 # There doesn't appear to be a way to prevent this compiler from 14794 # explicitly linking system object files so we need to strip them 14795 # from the output so that they don't get included in the library 14796 # dependencies. 14797 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' 14798 ;; 14799 xl* | mpixl* | bgxl*) 14800 # IBM XL 8.0 on PPC, with GNU ld 14801 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 14802 export_dynamic_flag_spec_CXX='$wl--export-dynamic' 14803 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 14804 if test yes = "$supports_anon_versioning"; then 14805 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~ 14806 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 14807 echo "local: *; };" >> $output_objdir/$libname.ver~ 14808 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' 14809 fi 14810 ;; 14811 *) 14812 case `$CC -V 2>&1 | sed 5q` in 14813 *Sun\ C*) 14814 # Sun C++ 5.9 14815 no_undefined_flag_CXX=' -zdefs' 14816 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 14817 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' 14818 hardcode_libdir_flag_spec_CXX='-R$libdir' 14819 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' 14820 compiler_needs_object_CXX=yes 14821 14822 # Not sure whether something based on 14823 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 14824 # would be better. 14825 output_verbose_link_cmd='func_echo_all' 14826 14827 # Archives containing C++ object files must be created using 14828 # "CC -xar", where "CC" is the Sun C++ compiler. This is 14829 # necessary to make sure instantiated templates are included 14830 # in the archive. 14831 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' 14832 ;; 14833 esac 14834 ;; 14835 esac 14836 ;; 14837 14838 lynxos*) 14839 # FIXME: insert proper C++ library support 14840 ld_shlibs_CXX=no 14841 ;; 14842 14843 m88k*) 14844 # FIXME: insert proper C++ library support 14845 ld_shlibs_CXX=no 14846 ;; 14847 14848 mvs*) 14849 case $cc_basename in 14850 cxx*) 14851 # FIXME: insert proper C++ library support 14852 ld_shlibs_CXX=no 14853 ;; 14854 *) 14855 # FIXME: insert proper C++ library support 14856 ld_shlibs_CXX=no 14857 ;; 14858 esac 14859 ;; 14860 14861 netbsd*) 14862 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 14863 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' 14864 wlarc= 14865 hardcode_libdir_flag_spec_CXX='-R$libdir' 14866 hardcode_direct_CXX=yes 14867 hardcode_shlibpath_var_CXX=no 14868 fi 14869 # Workaround some broken pre-1.5 toolchains 14870 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' 14871 ;; 14872 14873 *nto* | *qnx*) 14874 ld_shlibs_CXX=yes 14875 ;; 14876 14877 openbsd* | bitrig*) 14878 if test -f /usr/libexec/ld.so; then 14879 hardcode_direct_CXX=yes 14880 hardcode_shlibpath_var_CXX=no 14881 hardcode_direct_absolute_CXX=yes 14882 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' 14883 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 14884 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then 14885 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib' 14886 export_dynamic_flag_spec_CXX='$wl-E' 14887 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 14888 fi 14889 output_verbose_link_cmd=func_echo_all 14890 else 14891 ld_shlibs_CXX=no 14892 fi 14893 ;; 14894 14895 osf3* | osf4* | osf5*) 14896 case $cc_basename in 14897 KCC*) 14898 # Kuck and Associates, Inc. (KAI) C++ Compiler 14899 14900 # KCC will only create a shared library if the output file 14901 # ends with ".so" (or ".sl" for HP-UX), so rename the library 14902 # to its proper name (with version) after linking. 14903 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' 14904 14905 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir' 14906 hardcode_libdir_separator_CXX=: 14907 14908 # Archives containing C++ object files must be created using 14909 # the KAI C++ compiler. 14910 case $host in 14911 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;; 14912 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;; 14913 esac 14914 ;; 14915 RCC*) 14916 # Rational C++ 2.4.1 14917 # FIXME: insert proper C++ library support 14918 ld_shlibs_CXX=no 14919 ;; 14920 cxx*) 14921 case $host in 14922 osf3*) 14923 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*' 14924 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' 14925 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 14926 ;; 14927 *) 14928 allow_undefined_flag_CXX=' -expect_unresolved \*' 14929 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' 14930 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ 14931 echo "-hidden">> $lib.exp~ 14932 $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~ 14933 $RM $lib.exp' 14934 hardcode_libdir_flag_spec_CXX='-rpath $libdir' 14935 ;; 14936 esac 14937 14938 hardcode_libdir_separator_CXX=: 14939 14940 # Commands to make compiler produce verbose output that lists 14941 # what "hidden" libraries, object files and flags are used when 14942 # linking a shared library. 14943 # 14944 # There doesn't appear to be a way to prevent this compiler from 14945 # explicitly linking system object files so we need to strip them 14946 # from the output so that they don't get included in the library 14947 # dependencies. 14948 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"' 14949 ;; 14950 *) 14951 if test yes,no = "$GXX,$with_gnu_ld"; then 14952 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*' 14953 case $host in 14954 osf3*) 14955 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' 14956 ;; 14957 *) 14958 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' 14959 ;; 14960 esac 14961 14962 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir' 14963 hardcode_libdir_separator_CXX=: 14964 14965 # Commands to make compiler produce verbose output that lists 14966 # what "hidden" libraries, object files and flags are used when 14967 # linking a shared library. 14968 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 14969 14970 else 14971 # FIXME: insert proper C++ library support 14972 ld_shlibs_CXX=no 14973 fi 14974 ;; 14975 esac 14976 ;; 14977 14978 psos*) 14979 # FIXME: insert proper C++ library support 14980 ld_shlibs_CXX=no 14981 ;; 14982 14983 sunos4*) 14984 case $cc_basename in 14985 CC*) 14986 # Sun C++ 4.x 14987 # FIXME: insert proper C++ library support 14988 ld_shlibs_CXX=no 14989 ;; 14990 lcc*) 14991 # Lucid 14992 # FIXME: insert proper C++ library support 14993 ld_shlibs_CXX=no 14994 ;; 14995 *) 14996 # FIXME: insert proper C++ library support 14997 ld_shlibs_CXX=no 14998 ;; 14999 esac 15000 ;; 15001 15002 solaris*) 15003 case $cc_basename in 15004 CC* | sunCC*) 15005 # Sun C++ 4.2, 5.x and Centerline C++ 15006 archive_cmds_need_lc_CXX=yes 15007 no_undefined_flag_CXX=' -zdefs' 15008 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' 15009 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 15010 $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' 15011 15012 hardcode_libdir_flag_spec_CXX='-R$libdir' 15013 hardcode_shlibpath_var_CXX=no 15014 case $host_os in 15015 solaris2.[0-5] | solaris2.[0-5].*) ;; 15016 *) 15017 # The compiler driver will combine and reorder linker options, 15018 # but understands '-z linker_flag'. 15019 # Supported since Solaris 2.6 (maybe 2.5.1?) 15020 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract' 15021 ;; 15022 esac 15023 link_all_deplibs_CXX=yes 15024 15025 output_verbose_link_cmd='func_echo_all' 15026 15027 # Archives containing C++ object files must be created using 15028 # "CC -xar", where "CC" is the Sun C++ compiler. This is 15029 # necessary to make sure instantiated templates are included 15030 # in the archive. 15031 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' 15032 ;; 15033 gcx*) 15034 # Green Hills C++ Compiler 15035 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' 15036 15037 # The C++ compiler must be used to create the archive. 15038 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs' 15039 ;; 15040 *) 15041 # GNU C++ compiler with Solaris linker 15042 if test yes,no = "$GXX,$with_gnu_ld"; then 15043 no_undefined_flag_CXX=' $wl-z ${wl}defs' 15044 if $CC --version | $GREP -v '^2\.7' > /dev/null; then 15045 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' 15046 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 15047 $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' 15048 15049 # Commands to make compiler produce verbose output that lists 15050 # what "hidden" libraries, object files and flags are used when 15051 # linking a shared library. 15052 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 15053 else 15054 # g++ 2.7 appears to require '-G' NOT '-shared' on this 15055 # platform. 15056 archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib' 15057 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 15058 $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' 15059 15060 # Commands to make compiler produce verbose output that lists 15061 # what "hidden" libraries, object files and flags are used when 15062 # linking a shared library. 15063 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' 15064 fi 15065 15066 hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir' 15067 case $host_os in 15068 solaris2.[0-5] | solaris2.[0-5].*) ;; 15069 *) 15070 whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' 15071 ;; 15072 esac 15073 fi 15074 ;; 15075 esac 15076 ;; 15077 15078 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 15079 no_undefined_flag_CXX='$wl-z,text' 15080 archive_cmds_need_lc_CXX=no 15081 hardcode_shlibpath_var_CXX=no 15082 runpath_var='LD_RUN_PATH' 15083 15084 case $cc_basename in 15085 CC*) 15086 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15087 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15088 ;; 15089 *) 15090 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15091 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15092 ;; 15093 esac 15094 ;; 15095 15096 sysv5* | sco3.2v5* | sco5v6*) 15097 # Note: We CANNOT use -z defs as we might desire, because we do not 15098 # link with -lc, and that would cause any symbols used from libc to 15099 # always be unresolved, which means just about no library would 15100 # ever link correctly. If we're not using GNU ld we use -z text 15101 # though, which does catch some bad symbols but isn't as heavy-handed 15102 # as -z defs. 15103 no_undefined_flag_CXX='$wl-z,text' 15104 allow_undefined_flag_CXX='$wl-z,nodefs' 15105 archive_cmds_need_lc_CXX=no 15106 hardcode_shlibpath_var_CXX=no 15107 hardcode_libdir_flag_spec_CXX='$wl-R,$libdir' 15108 hardcode_libdir_separator_CXX=':' 15109 link_all_deplibs_CXX=yes 15110 export_dynamic_flag_spec_CXX='$wl-Bexport' 15111 runpath_var='LD_RUN_PATH' 15112 15113 case $cc_basename in 15114 CC*) 15115 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15116 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15117 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~ 15118 '"$old_archive_cmds_CXX" 15119 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~ 15120 '"$reload_cmds_CXX" 15121 ;; 15122 *) 15123 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15124 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 15125 ;; 15126 esac 15127 ;; 15128 15129 tandem*) 15130 case $cc_basename in 15131 NCC*) 15132 # NonStop-UX NCC 3.20 15133 # FIXME: insert proper C++ library support 15134 ld_shlibs_CXX=no 15135 ;; 15136 *) 15137 # FIXME: insert proper C++ library support 15138 ld_shlibs_CXX=no 15139 ;; 15140 esac 15141 ;; 15142 15143 vxworks*) 15144 # FIXME: insert proper C++ library support 15145 ld_shlibs_CXX=no 15146 ;; 15147 15148 *) 15149 # FIXME: insert proper C++ library support 15150 ld_shlibs_CXX=no 15151 ;; 15152 esac 15153 15154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 15155$as_echo "$ld_shlibs_CXX" >&6; } 15156 test no = "$ld_shlibs_CXX" && can_build_shared=no 15157 15158 GCC_CXX=$GXX 15159 LD_CXX=$LD 15160 15161 ## CAVEAT EMPTOR: 15162 ## There is no encapsulation within the following macros, do not change 15163 ## the running order or otherwise move them around unless you know exactly 15164 ## what you are doing... 15165 # Dependencies to place before and after the object being linked: 15166predep_objects_CXX= 15167postdep_objects_CXX= 15168predeps_CXX= 15169postdeps_CXX= 15170compiler_lib_search_path_CXX= 15171 15172cat > conftest.$ac_ext <<_LT_EOF 15173class Foo 15174{ 15175public: 15176 Foo (void) { a = 0; } 15177private: 15178 int a; 15179}; 15180_LT_EOF 15181 15182 15183_lt_libdeps_save_CFLAGS=$CFLAGS 15184case "$CC $CFLAGS " in #( 15185*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;; 15186*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;; 15187*\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;; 15188esac 15189 15190if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 15191 (eval $ac_compile) 2>&5 15192 ac_status=$? 15193 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15194 test $ac_status = 0; }; then 15195 # Parse the compiler output and extract the necessary 15196 # objects, libraries and library flags. 15197 15198 # Sentinel used to keep track of whether or not we are before 15199 # the conftest object file. 15200 pre_test_object_deps_done=no 15201 15202 for p in `eval "$output_verbose_link_cmd"`; do 15203 case $prev$p in 15204 15205 -L* | -R* | -l*) 15206 # Some compilers place space between "-{L,R}" and the path. 15207 # Remove the space. 15208 if test x-L = "$p" || 15209 test x-R = "$p"; then 15210 prev=$p 15211 continue 15212 fi 15213 15214 # Expand the sysroot to ease extracting the directories later. 15215 if test -z "$prev"; then 15216 case $p in 15217 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;; 15218 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;; 15219 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;; 15220 esac 15221 fi 15222 case $p in 15223 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;; 15224 esac 15225 if test no = "$pre_test_object_deps_done"; then 15226 case $prev in 15227 -L | -R) 15228 # Internal compiler library paths should come after those 15229 # provided the user. The postdeps already come after the 15230 # user supplied libs so there is no need to process them. 15231 if test -z "$compiler_lib_search_path_CXX"; then 15232 compiler_lib_search_path_CXX=$prev$p 15233 else 15234 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p" 15235 fi 15236 ;; 15237 # The "-l" case would never come before the object being 15238 # linked, so don't bother handling this case. 15239 esac 15240 else 15241 if test -z "$postdeps_CXX"; then 15242 postdeps_CXX=$prev$p 15243 else 15244 postdeps_CXX="${postdeps_CXX} $prev$p" 15245 fi 15246 fi 15247 prev= 15248 ;; 15249 15250 *.lto.$objext) ;; # Ignore GCC LTO objects 15251 *.$objext) 15252 # This assumes that the test object file only shows up 15253 # once in the compiler output. 15254 if test "$p" = "conftest.$objext"; then 15255 pre_test_object_deps_done=yes 15256 continue 15257 fi 15258 15259 if test no = "$pre_test_object_deps_done"; then 15260 if test -z "$predep_objects_CXX"; then 15261 predep_objects_CXX=$p 15262 else 15263 predep_objects_CXX="$predep_objects_CXX $p" 15264 fi 15265 else 15266 if test -z "$postdep_objects_CXX"; then 15267 postdep_objects_CXX=$p 15268 else 15269 postdep_objects_CXX="$postdep_objects_CXX $p" 15270 fi 15271 fi 15272 ;; 15273 15274 *) ;; # Ignore the rest. 15275 15276 esac 15277 done 15278 15279 # Clean up. 15280 rm -f a.out a.exe 15281else 15282 echo "libtool.m4: error: problem compiling CXX test program" 15283fi 15284 15285$RM -f confest.$objext 15286CFLAGS=$_lt_libdeps_save_CFLAGS 15287 15288# PORTME: override above test on systems where it is broken 15289case $host_os in 15290interix[3-9]*) 15291 # Interix 3.5 installs completely hosed .la files for C++, so rather than 15292 # hack all around it, let's just trust "g++" to DTRT. 15293 predep_objects_CXX= 15294 postdep_objects_CXX= 15295 postdeps_CXX= 15296 ;; 15297esac 15298 15299 15300case " $postdeps_CXX " in 15301*" -lc "*) archive_cmds_need_lc_CXX=no ;; 15302esac 15303 compiler_lib_search_dirs_CXX= 15304if test -n "${compiler_lib_search_path_CXX}"; then 15305 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'` 15306fi 15307 15308 15309 15310 15311 15312 15313 15314 15315 15316 15317 15318 15319 15320 15321 15322 15323 15324 15325 15326 15327 15328 15329 15330 15331 15332 15333 15334 15335 15336 15337 15338 lt_prog_compiler_wl_CXX= 15339lt_prog_compiler_pic_CXX= 15340lt_prog_compiler_static_CXX= 15341 15342 15343 # C++ specific cases for pic, static, wl, etc. 15344 if test yes = "$GXX"; then 15345 lt_prog_compiler_wl_CXX='-Wl,' 15346 lt_prog_compiler_static_CXX='-static' 15347 15348 case $host_os in 15349 aix*) 15350 # All AIX code is PIC. 15351 if test ia64 = "$host_cpu"; then 15352 # AIX 5 now supports IA64 processor 15353 lt_prog_compiler_static_CXX='-Bstatic' 15354 fi 15355 lt_prog_compiler_pic_CXX='-fPIC' 15356 ;; 15357 15358 amigaos*) 15359 case $host_cpu in 15360 powerpc) 15361 # see comment about AmigaOS4 .so support 15362 lt_prog_compiler_pic_CXX='-fPIC' 15363 ;; 15364 m68k) 15365 # FIXME: we need at least 68020 code to build shared libraries, but 15366 # adding the '-m68020' flag to GCC prevents building anything better, 15367 # like '-m68040'. 15368 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4' 15369 ;; 15370 esac 15371 ;; 15372 15373 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 15374 # PIC is the default for these OSes. 15375 ;; 15376 mingw* | cygwin* | os2* | pw32* | cegcc*) 15377 # This hack is so that the source file can tell whether it is being 15378 # built for inclusion in a dll (and should export symbols for example). 15379 # Although the cygwin gcc ignores -fPIC, still need this for old-style 15380 # (--disable-auto-import) libraries 15381 lt_prog_compiler_pic_CXX='-DDLL_EXPORT' 15382 case $host_os in 15383 os2*) 15384 lt_prog_compiler_static_CXX='$wl-static' 15385 ;; 15386 esac 15387 ;; 15388 darwin* | rhapsody*) 15389 # PIC is the default on this platform 15390 # Common symbols not allowed in MH_DYLIB files 15391 lt_prog_compiler_pic_CXX='-fno-common' 15392 ;; 15393 *djgpp*) 15394 # DJGPP does not support shared libraries at all 15395 lt_prog_compiler_pic_CXX= 15396 ;; 15397 haiku*) 15398 # PIC is the default for Haiku. 15399 # The "-static" flag exists, but is broken. 15400 lt_prog_compiler_static_CXX= 15401 ;; 15402 interix[3-9]*) 15403 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 15404 # Instead, we relocate shared libraries at runtime. 15405 ;; 15406 sysv4*MP*) 15407 if test -d /usr/nec; then 15408 lt_prog_compiler_pic_CXX=-Kconform_pic 15409 fi 15410 ;; 15411 hpux*) 15412 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 15413 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 15414 # sets the default TLS model and affects inlining. 15415 case $host_cpu in 15416 hppa*64*) 15417 ;; 15418 *) 15419 lt_prog_compiler_pic_CXX='-fPIC' 15420 ;; 15421 esac 15422 ;; 15423 *qnx* | *nto*) 15424 # QNX uses GNU C++, but need to define -shared option too, otherwise 15425 # it will coredump. 15426 lt_prog_compiler_pic_CXX='-fPIC -shared' 15427 ;; 15428 *) 15429 lt_prog_compiler_pic_CXX='-fPIC' 15430 ;; 15431 esac 15432 else 15433 case $host_os in 15434 aix[4-9]*) 15435 # All AIX code is PIC. 15436 if test ia64 = "$host_cpu"; then 15437 # AIX 5 now supports IA64 processor 15438 lt_prog_compiler_static_CXX='-Bstatic' 15439 else 15440 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp' 15441 fi 15442 ;; 15443 chorus*) 15444 case $cc_basename in 15445 cxch68*) 15446 # Green Hills C++ Compiler 15447 # _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" 15448 ;; 15449 esac 15450 ;; 15451 mingw* | cygwin* | os2* | pw32* | cegcc*) 15452 # This hack is so that the source file can tell whether it is being 15453 # built for inclusion in a dll (and should export symbols for example). 15454 lt_prog_compiler_pic_CXX='-DDLL_EXPORT' 15455 ;; 15456 dgux*) 15457 case $cc_basename in 15458 ec++*) 15459 lt_prog_compiler_pic_CXX='-KPIC' 15460 ;; 15461 ghcx*) 15462 # Green Hills C++ Compiler 15463 lt_prog_compiler_pic_CXX='-pic' 15464 ;; 15465 *) 15466 ;; 15467 esac 15468 ;; 15469 freebsd* | dragonfly*) 15470 # FreeBSD uses GNU C++ 15471 ;; 15472 hpux9* | hpux10* | hpux11*) 15473 case $cc_basename in 15474 CC*) 15475 lt_prog_compiler_wl_CXX='-Wl,' 15476 lt_prog_compiler_static_CXX='$wl-a ${wl}archive' 15477 if test ia64 != "$host_cpu"; then 15478 lt_prog_compiler_pic_CXX='+Z' 15479 fi 15480 ;; 15481 aCC*) 15482 lt_prog_compiler_wl_CXX='-Wl,' 15483 lt_prog_compiler_static_CXX='$wl-a ${wl}archive' 15484 case $host_cpu in 15485 hppa*64*|ia64*) 15486 # +Z the default 15487 ;; 15488 *) 15489 lt_prog_compiler_pic_CXX='+Z' 15490 ;; 15491 esac 15492 ;; 15493 *) 15494 ;; 15495 esac 15496 ;; 15497 interix*) 15498 # This is c89, which is MS Visual C++ (no shared libs) 15499 # Anyone wants to do a port? 15500 ;; 15501 irix5* | irix6* | nonstopux*) 15502 case $cc_basename in 15503 CC*) 15504 lt_prog_compiler_wl_CXX='-Wl,' 15505 lt_prog_compiler_static_CXX='-non_shared' 15506 # CC pic flag -KPIC is the default. 15507 ;; 15508 *) 15509 ;; 15510 esac 15511 ;; 15512 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 15513 case $cc_basename in 15514 KCC*) 15515 # KAI C++ Compiler 15516 lt_prog_compiler_wl_CXX='--backend -Wl,' 15517 lt_prog_compiler_pic_CXX='-fPIC' 15518 ;; 15519 ecpc* ) 15520 # old Intel C++ for x86_64, which still supported -KPIC. 15521 lt_prog_compiler_wl_CXX='-Wl,' 15522 lt_prog_compiler_pic_CXX='-KPIC' 15523 lt_prog_compiler_static_CXX='-static' 15524 ;; 15525 icpc* ) 15526 # Intel C++, used to be incompatible with GCC. 15527 # ICC 10 doesn't accept -KPIC any more. 15528 lt_prog_compiler_wl_CXX='-Wl,' 15529 lt_prog_compiler_pic_CXX='-fPIC' 15530 lt_prog_compiler_static_CXX='-static' 15531 ;; 15532 pgCC* | pgcpp*) 15533 # Portland Group C++ compiler 15534 lt_prog_compiler_wl_CXX='-Wl,' 15535 lt_prog_compiler_pic_CXX='-fpic' 15536 lt_prog_compiler_static_CXX='-Bstatic' 15537 ;; 15538 cxx*) 15539 # Compaq C++ 15540 # Make sure the PIC flag is empty. It appears that all Alpha 15541 # Linux and Compaq Tru64 Unix objects are PIC. 15542 lt_prog_compiler_pic_CXX= 15543 lt_prog_compiler_static_CXX='-non_shared' 15544 ;; 15545 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*) 15546 # IBM XL 8.0, 9.0 on PPC and BlueGene 15547 lt_prog_compiler_wl_CXX='-Wl,' 15548 lt_prog_compiler_pic_CXX='-qpic' 15549 lt_prog_compiler_static_CXX='-qstaticlink' 15550 ;; 15551 *) 15552 case `$CC -V 2>&1 | sed 5q` in 15553 *Sun\ C*) 15554 # Sun C++ 5.9 15555 lt_prog_compiler_pic_CXX='-KPIC' 15556 lt_prog_compiler_static_CXX='-Bstatic' 15557 lt_prog_compiler_wl_CXX='-Qoption ld ' 15558 ;; 15559 esac 15560 ;; 15561 esac 15562 ;; 15563 lynxos*) 15564 ;; 15565 m88k*) 15566 ;; 15567 mvs*) 15568 case $cc_basename in 15569 cxx*) 15570 lt_prog_compiler_pic_CXX='-W c,exportall' 15571 ;; 15572 *) 15573 ;; 15574 esac 15575 ;; 15576 netbsd*) 15577 ;; 15578 *qnx* | *nto*) 15579 # QNX uses GNU C++, but need to define -shared option too, otherwise 15580 # it will coredump. 15581 lt_prog_compiler_pic_CXX='-fPIC -shared' 15582 ;; 15583 osf3* | osf4* | osf5*) 15584 case $cc_basename in 15585 KCC*) 15586 lt_prog_compiler_wl_CXX='--backend -Wl,' 15587 ;; 15588 RCC*) 15589 # Rational C++ 2.4.1 15590 lt_prog_compiler_pic_CXX='-pic' 15591 ;; 15592 cxx*) 15593 # Digital/Compaq C++ 15594 lt_prog_compiler_wl_CXX='-Wl,' 15595 # Make sure the PIC flag is empty. It appears that all Alpha 15596 # Linux and Compaq Tru64 Unix objects are PIC. 15597 lt_prog_compiler_pic_CXX= 15598 lt_prog_compiler_static_CXX='-non_shared' 15599 ;; 15600 *) 15601 ;; 15602 esac 15603 ;; 15604 psos*) 15605 ;; 15606 solaris*) 15607 case $cc_basename in 15608 CC* | sunCC*) 15609 # Sun C++ 4.2, 5.x and Centerline C++ 15610 lt_prog_compiler_pic_CXX='-KPIC' 15611 lt_prog_compiler_static_CXX='-Bstatic' 15612 lt_prog_compiler_wl_CXX='-Qoption ld ' 15613 ;; 15614 gcx*) 15615 # Green Hills C++ Compiler 15616 lt_prog_compiler_pic_CXX='-PIC' 15617 ;; 15618 *) 15619 ;; 15620 esac 15621 ;; 15622 sunos4*) 15623 case $cc_basename in 15624 CC*) 15625 # Sun C++ 4.x 15626 lt_prog_compiler_pic_CXX='-pic' 15627 lt_prog_compiler_static_CXX='-Bstatic' 15628 ;; 15629 lcc*) 15630 # Lucid 15631 lt_prog_compiler_pic_CXX='-pic' 15632 ;; 15633 *) 15634 ;; 15635 esac 15636 ;; 15637 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 15638 case $cc_basename in 15639 CC*) 15640 lt_prog_compiler_wl_CXX='-Wl,' 15641 lt_prog_compiler_pic_CXX='-KPIC' 15642 lt_prog_compiler_static_CXX='-Bstatic' 15643 ;; 15644 esac 15645 ;; 15646 tandem*) 15647 case $cc_basename in 15648 NCC*) 15649 # NonStop-UX NCC 3.20 15650 lt_prog_compiler_pic_CXX='-KPIC' 15651 ;; 15652 *) 15653 ;; 15654 esac 15655 ;; 15656 vxworks*) 15657 ;; 15658 *) 15659 lt_prog_compiler_can_build_shared_CXX=no 15660 ;; 15661 esac 15662 fi 15663 15664case $host_os in 15665 # For platforms that do not support PIC, -DPIC is meaningless: 15666 *djgpp*) 15667 lt_prog_compiler_pic_CXX= 15668 ;; 15669 *) 15670 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" 15671 ;; 15672esac 15673 15674{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 15675$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 15676if ${lt_cv_prog_compiler_pic_CXX+:} false; then : 15677 $as_echo_n "(cached) " >&6 15678else 15679 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX 15680fi 15681{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5 15682$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; } 15683lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX 15684 15685# 15686# Check to make sure the PIC flag actually works. 15687# 15688if test -n "$lt_prog_compiler_pic_CXX"; then 15689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 15690$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; } 15691if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then : 15692 $as_echo_n "(cached) " >&6 15693else 15694 lt_cv_prog_compiler_pic_works_CXX=no 15695 ac_outfile=conftest.$ac_objext 15696 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 15697 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" ## exclude from sc_useless_quotes_in_assignment 15698 # Insert the option either (1) after the last *FLAGS variable, or 15699 # (2) before a word containing "conftest.", or (3) at the end. 15700 # Note that $ac_compile itself does not contain backslashes and begins 15701 # with a dollar sign (not a hyphen), so the echo should work correctly. 15702 # The option is referenced via a variable to avoid confusing sed. 15703 lt_compile=`echo "$ac_compile" | $SED \ 15704 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 15705 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 15706 -e 's:$: $lt_compiler_flag:'` 15707 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 15708 (eval "$lt_compile" 2>conftest.err) 15709 ac_status=$? 15710 cat conftest.err >&5 15711 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15712 if (exit $ac_status) && test -s "$ac_outfile"; then 15713 # The compiler can only warn and ignore the option if not recognized 15714 # So say no if there are warnings other than the usual output. 15715 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 15716 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 15717 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 15718 lt_cv_prog_compiler_pic_works_CXX=yes 15719 fi 15720 fi 15721 $RM conftest* 15722 15723fi 15724{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5 15725$as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; } 15726 15727if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then 15728 case $lt_prog_compiler_pic_CXX in 15729 "" | " "*) ;; 15730 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;; 15731 esac 15732else 15733 lt_prog_compiler_pic_CXX= 15734 lt_prog_compiler_can_build_shared_CXX=no 15735fi 15736 15737fi 15738 15739 15740 15741 15742 15743# 15744# Check to make sure the static flag actually works. 15745# 15746wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\" 15747{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 15748$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 15749if ${lt_cv_prog_compiler_static_works_CXX+:} false; then : 15750 $as_echo_n "(cached) " >&6 15751else 15752 lt_cv_prog_compiler_static_works_CXX=no 15753 save_LDFLAGS=$LDFLAGS 15754 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 15755 echo "$lt_simple_link_test_code" > conftest.$ac_ext 15756 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 15757 # The linker can only warn and ignore the option if not recognized 15758 # So say no if there are warnings 15759 if test -s conftest.err; then 15760 # Append any errors to the config.log. 15761 cat conftest.err 1>&5 15762 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 15763 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 15764 if diff conftest.exp conftest.er2 >/dev/null; then 15765 lt_cv_prog_compiler_static_works_CXX=yes 15766 fi 15767 else 15768 lt_cv_prog_compiler_static_works_CXX=yes 15769 fi 15770 fi 15771 $RM -r conftest* 15772 LDFLAGS=$save_LDFLAGS 15773 15774fi 15775{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5 15776$as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; } 15777 15778if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then 15779 : 15780else 15781 lt_prog_compiler_static_CXX= 15782fi 15783 15784 15785 15786 15787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 15788$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 15789if ${lt_cv_prog_compiler_c_o_CXX+:} false; then : 15790 $as_echo_n "(cached) " >&6 15791else 15792 lt_cv_prog_compiler_c_o_CXX=no 15793 $RM -r conftest 2>/dev/null 15794 mkdir conftest 15795 cd conftest 15796 mkdir out 15797 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 15798 15799 lt_compiler_flag="-o out/conftest2.$ac_objext" 15800 # Insert the option either (1) after the last *FLAGS variable, or 15801 # (2) before a word containing "conftest.", or (3) at the end. 15802 # Note that $ac_compile itself does not contain backslashes and begins 15803 # with a dollar sign (not a hyphen), so the echo should work correctly. 15804 lt_compile=`echo "$ac_compile" | $SED \ 15805 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 15806 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 15807 -e 's:$: $lt_compiler_flag:'` 15808 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 15809 (eval "$lt_compile" 2>out/conftest.err) 15810 ac_status=$? 15811 cat out/conftest.err >&5 15812 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15813 if (exit $ac_status) && test -s out/conftest2.$ac_objext 15814 then 15815 # The compiler can only warn and ignore the option if not recognized 15816 # So say no if there are warnings 15817 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 15818 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 15819 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 15820 lt_cv_prog_compiler_c_o_CXX=yes 15821 fi 15822 fi 15823 chmod u+w . 2>&5 15824 $RM conftest* 15825 # SGI C++ compiler will create directory out/ii_files/ for 15826 # template instantiation 15827 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 15828 $RM out/* && rmdir out 15829 cd .. 15830 $RM -r conftest 15831 $RM conftest* 15832 15833fi 15834{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 15835$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } 15836 15837 15838 15839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 15840$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 15841if ${lt_cv_prog_compiler_c_o_CXX+:} false; then : 15842 $as_echo_n "(cached) " >&6 15843else 15844 lt_cv_prog_compiler_c_o_CXX=no 15845 $RM -r conftest 2>/dev/null 15846 mkdir conftest 15847 cd conftest 15848 mkdir out 15849 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 15850 15851 lt_compiler_flag="-o out/conftest2.$ac_objext" 15852 # Insert the option either (1) after the last *FLAGS variable, or 15853 # (2) before a word containing "conftest.", or (3) at the end. 15854 # Note that $ac_compile itself does not contain backslashes and begins 15855 # with a dollar sign (not a hyphen), so the echo should work correctly. 15856 lt_compile=`echo "$ac_compile" | $SED \ 15857 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 15858 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 15859 -e 's:$: $lt_compiler_flag:'` 15860 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 15861 (eval "$lt_compile" 2>out/conftest.err) 15862 ac_status=$? 15863 cat out/conftest.err >&5 15864 echo "$as_me:$LINENO: \$? = $ac_status" >&5 15865 if (exit $ac_status) && test -s out/conftest2.$ac_objext 15866 then 15867 # The compiler can only warn and ignore the option if not recognized 15868 # So say no if there are warnings 15869 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 15870 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 15871 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 15872 lt_cv_prog_compiler_c_o_CXX=yes 15873 fi 15874 fi 15875 chmod u+w . 2>&5 15876 $RM conftest* 15877 # SGI C++ compiler will create directory out/ii_files/ for 15878 # template instantiation 15879 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 15880 $RM out/* && rmdir out 15881 cd .. 15882 $RM -r conftest 15883 $RM conftest* 15884 15885fi 15886{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 15887$as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } 15888 15889 15890 15891 15892hard_links=nottested 15893if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then 15894 # do not overwrite the value of need_locks provided by the user 15895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 15896$as_echo_n "checking if we can lock with hard links... " >&6; } 15897 hard_links=yes 15898 $RM conftest* 15899 ln conftest.a conftest.b 2>/dev/null && hard_links=no 15900 touch conftest.a 15901 ln conftest.a conftest.b 2>&5 || hard_links=no 15902 ln conftest.a conftest.b 2>/dev/null && hard_links=no 15903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 15904$as_echo "$hard_links" >&6; } 15905 if test no = "$hard_links"; then 15906 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 15907$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} 15908 need_locks=warn 15909 fi 15910else 15911 need_locks=no 15912fi 15913 15914 15915 15916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 15917$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 15918 15919 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 15920 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 15921 case $host_os in 15922 aix[4-9]*) 15923 # If we're using GNU nm, then we don't want the "-C" option. 15924 # -C means demangle to GNU nm, but means don't demangle to AIX nm. 15925 # Without the "-l" option, or with the "-B" option, AIX nm treats 15926 # weak defined symbols like other global defined symbols, whereas 15927 # GNU nm marks them as "W". 15928 # While the 'weak' keyword is ignored in the Export File, we need 15929 # it in the Import File for the 'aix-soname' feature, so we have 15930 # to replace the "-B" option with "-P" for AIX nm. 15931 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 15932 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' 15933 else 15934 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' 15935 fi 15936 ;; 15937 pw32*) 15938 export_symbols_cmds_CXX=$ltdll_cmds 15939 ;; 15940 cygwin* | mingw* | cegcc*) 15941 case $cc_basename in 15942 cl*) 15943 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 15944 ;; 15945 *) 15946 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' 15947 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 15948 ;; 15949 esac 15950 ;; 15951 *) 15952 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 15953 ;; 15954 esac 15955 15956{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 15957$as_echo "$ld_shlibs_CXX" >&6; } 15958test no = "$ld_shlibs_CXX" && can_build_shared=no 15959 15960with_gnu_ld_CXX=$with_gnu_ld 15961 15962 15963 15964 15965 15966 15967# 15968# Do we need to explicitly link libc? 15969# 15970case "x$archive_cmds_need_lc_CXX" in 15971x|xyes) 15972 # Assume -lc should be added 15973 archive_cmds_need_lc_CXX=yes 15974 15975 if test yes,yes = "$GCC,$enable_shared"; then 15976 case $archive_cmds_CXX in 15977 *'~'*) 15978 # FIXME: we may have to deal with multi-command sequences. 15979 ;; 15980 '$CC '*) 15981 # Test whether the compiler implicitly links with -lc since on some 15982 # systems, -lgcc has to come before -lc. If gcc already passes -lc 15983 # to ld, don't add -lc before -lgcc. 15984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 15985$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 15986if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then : 15987 $as_echo_n "(cached) " >&6 15988else 15989 $RM conftest* 15990 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 15991 15992 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 15993 (eval $ac_compile) 2>&5 15994 ac_status=$? 15995 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 15996 test $ac_status = 0; } 2>conftest.err; then 15997 soname=conftest 15998 lib=conftest 15999 libobjs=conftest.$ac_objext 16000 deplibs= 16001 wl=$lt_prog_compiler_wl_CXX 16002 pic_flag=$lt_prog_compiler_pic_CXX 16003 compiler_flags=-v 16004 linker_flags=-v 16005 verstring= 16006 output_objdir=. 16007 libname=conftest 16008 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX 16009 allow_undefined_flag_CXX= 16010 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 16011 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 16012 ac_status=$? 16013 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16014 test $ac_status = 0; } 16015 then 16016 lt_cv_archive_cmds_need_lc_CXX=no 16017 else 16018 lt_cv_archive_cmds_need_lc_CXX=yes 16019 fi 16020 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag 16021 else 16022 cat conftest.err 1>&5 16023 fi 16024 $RM conftest* 16025 16026fi 16027{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5 16028$as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; } 16029 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX 16030 ;; 16031 esac 16032 fi 16033 ;; 16034esac 16035 16036 16037 16038 16039 16040 16041 16042 16043 16044 16045 16046 16047 16048 16049 16050 16051 16052 16053 16054 16055 16056 16057 16058 16059 16060 16061 16062 16063 16064 16065 16066 16067 16068 16069 16070 16071 16072 16073 16074 16075 16076 16077 16078 16079 16080 16081 16082 16083 16084 16085 16086 16087 16088 16089 16090 16091 16092 16093 16094 16095 16096 16097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 16098$as_echo_n "checking dynamic linker characteristics... " >&6; } 16099 16100library_names_spec= 16101libname_spec='lib$name' 16102soname_spec= 16103shrext_cmds=.so 16104postinstall_cmds= 16105postuninstall_cmds= 16106finish_cmds= 16107finish_eval= 16108shlibpath_var= 16109shlibpath_overrides_runpath=unknown 16110version_type=none 16111dynamic_linker="$host_os ld.so" 16112sys_lib_dlsearch_path_spec="/lib /usr/lib" 16113need_lib_prefix=unknown 16114hardcode_into_libs=no 16115 16116# when you set need_version to no, make sure it does not cause -set_version 16117# flags to be left without arguments 16118need_version=unknown 16119 16120 16121 16122case $host_os in 16123aix3*) 16124 version_type=linux # correct to gnu/linux during the next big refactor 16125 library_names_spec='$libname$release$shared_ext$versuffix $libname.a' 16126 shlibpath_var=LIBPATH 16127 16128 # AIX 3 has no versioning support, so we append a major version to the name. 16129 soname_spec='$libname$release$shared_ext$major' 16130 ;; 16131 16132aix[4-9]*) 16133 version_type=linux # correct to gnu/linux during the next big refactor 16134 need_lib_prefix=no 16135 need_version=no 16136 hardcode_into_libs=yes 16137 if test ia64 = "$host_cpu"; then 16138 # AIX 5 supports IA64 16139 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' 16140 shlibpath_var=LD_LIBRARY_PATH 16141 else 16142 # With GCC up to 2.95.x, collect2 would create an import file 16143 # for dependence libraries. The import file would start with 16144 # the line '#! .'. This would cause the generated library to 16145 # depend on '.', always an invalid library. This was fixed in 16146 # development snapshots of GCC prior to 3.0. 16147 case $host_os in 16148 aix4 | aix4.[01] | aix4.[01].*) 16149 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 16150 echo ' yes ' 16151 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then 16152 : 16153 else 16154 can_build_shared=no 16155 fi 16156 ;; 16157 esac 16158 # Using Import Files as archive members, it is possible to support 16159 # filename-based versioning of shared library archives on AIX. While 16160 # this would work for both with and without runtime linking, it will 16161 # prevent static linking of such archives. So we do filename-based 16162 # shared library versioning with .so extension only, which is used 16163 # when both runtime linking and shared linking is enabled. 16164 # Unfortunately, runtime linking may impact performance, so we do 16165 # not want this to be the default eventually. Also, we use the 16166 # versioned .so libs for executables only if there is the -brtl 16167 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. 16168 # To allow for filename-based versioning support, we need to create 16169 # libNAME.so.V as an archive file, containing: 16170 # *) an Import File, referring to the versioned filename of the 16171 # archive as well as the shared archive member, telling the 16172 # bitwidth (32 or 64) of that shared object, and providing the 16173 # list of exported symbols of that shared object, eventually 16174 # decorated with the 'weak' keyword 16175 # *) the shared object with the F_LOADONLY flag set, to really avoid 16176 # it being seen by the linker. 16177 # At run time we better use the real file rather than another symlink, 16178 # but for link time we create the symlink libNAME.so -> libNAME.so.V 16179 16180 case $with_aix_soname,$aix_use_runtimelinking in 16181 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct 16182 # soname into executable. Probably we can add versioning support to 16183 # collect2, so additional links can be useful in future. 16184 aix,yes) # traditional libtool 16185 dynamic_linker='AIX unversionable lib.so' 16186 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 16187 # instead of lib<name>.a to let people know that these are not 16188 # typical AIX shared libraries. 16189 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16190 ;; 16191 aix,no) # traditional AIX only 16192 dynamic_linker='AIX lib.a(lib.so.V)' 16193 # We preserve .a as extension for shared libraries through AIX4.2 16194 # and later when we are not doing run time linking. 16195 library_names_spec='$libname$release.a $libname.a' 16196 soname_spec='$libname$release$shared_ext$major' 16197 ;; 16198 svr4,*) # full svr4 only 16199 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" 16200 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 16201 # We do not specify a path in Import Files, so LIBPATH fires. 16202 shlibpath_overrides_runpath=yes 16203 ;; 16204 *,yes) # both, prefer svr4 16205 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" 16206 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 16207 # unpreferred sharedlib libNAME.a needs extra handling 16208 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"' 16209 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"' 16210 # We do not specify a path in Import Files, so LIBPATH fires. 16211 shlibpath_overrides_runpath=yes 16212 ;; 16213 *,no) # both, prefer aix 16214 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" 16215 library_names_spec='$libname$release.a $libname.a' 16216 soname_spec='$libname$release$shared_ext$major' 16217 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling 16218 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)' 16219 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"' 16220 ;; 16221 esac 16222 shlibpath_var=LIBPATH 16223 fi 16224 ;; 16225 16226amigaos*) 16227 case $host_cpu in 16228 powerpc) 16229 # Since July 2007 AmigaOS4 officially supports .so libraries. 16230 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 16231 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16232 ;; 16233 m68k) 16234 library_names_spec='$libname.ixlibrary $libname.a' 16235 # Create ${libname}_ixlibrary.a entries in /sys/libs. 16236 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' 16237 ;; 16238 esac 16239 ;; 16240 16241beos*) 16242 library_names_spec='$libname$shared_ext' 16243 dynamic_linker="$host_os ld.so" 16244 shlibpath_var=LIBRARY_PATH 16245 ;; 16246 16247bsdi[45]*) 16248 version_type=linux # correct to gnu/linux during the next big refactor 16249 need_version=no 16250 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16251 soname_spec='$libname$release$shared_ext$major' 16252 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 16253 shlibpath_var=LD_LIBRARY_PATH 16254 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 16255 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 16256 # the default ld.so.conf also contains /usr/contrib/lib and 16257 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 16258 # libtool to hard-code these into programs 16259 ;; 16260 16261cygwin* | mingw* | pw32* | cegcc*) 16262 version_type=windows 16263 shrext_cmds=.dll 16264 need_version=no 16265 need_lib_prefix=no 16266 16267 case $GCC,$cc_basename in 16268 yes,*) 16269 # gcc 16270 library_names_spec='$libname.dll.a' 16271 # DLL is installed to $(libdir)/../bin by postinstall_cmds 16272 postinstall_cmds='base_file=`basename \$file`~ 16273 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 16274 dldir=$destdir/`dirname \$dlpath`~ 16275 test -d \$dldir || mkdir -p \$dldir~ 16276 $install_prog $dir/$dlname \$dldir/$dlname~ 16277 chmod a+x \$dldir/$dlname~ 16278 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 16279 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 16280 fi' 16281 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 16282 dlpath=$dir/\$dldll~ 16283 $RM \$dlpath' 16284 shlibpath_overrides_runpath=yes 16285 16286 case $host_os in 16287 cygwin*) 16288 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 16289 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 16290 16291 ;; 16292 mingw* | cegcc*) 16293 # MinGW DLLs use traditional 'lib' prefix 16294 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 16295 ;; 16296 pw32*) 16297 # pw32 DLLs use 'pw' prefix rather than 'lib' 16298 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 16299 ;; 16300 esac 16301 dynamic_linker='Win32 ld.exe' 16302 ;; 16303 16304 *,cl*) 16305 # Native MSVC 16306 libname_spec='$name' 16307 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 16308 library_names_spec='$libname.dll.lib' 16309 16310 case $build_os in 16311 mingw*) 16312 sys_lib_search_path_spec= 16313 lt_save_ifs=$IFS 16314 IFS=';' 16315 for lt_path in $LIB 16316 do 16317 IFS=$lt_save_ifs 16318 # Let DOS variable expansion print the short 8.3 style file name. 16319 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 16320 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 16321 done 16322 IFS=$lt_save_ifs 16323 # Convert to MSYS style. 16324 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 16325 ;; 16326 cygwin*) 16327 # Convert to unix form, then to dos form, then back to unix form 16328 # but this time dos style (no spaces!) so that the unix form looks 16329 # like /cygdrive/c/PROGRA~1:/cygdr... 16330 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 16331 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 16332 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 16333 ;; 16334 *) 16335 sys_lib_search_path_spec=$LIB 16336 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 16337 # It is most probably a Windows format PATH. 16338 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 16339 else 16340 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 16341 fi 16342 # FIXME: find the short name or the path components, as spaces are 16343 # common. (e.g. "Program Files" -> "PROGRA~1") 16344 ;; 16345 esac 16346 16347 # DLL is installed to $(libdir)/../bin by postinstall_cmds 16348 postinstall_cmds='base_file=`basename \$file`~ 16349 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 16350 dldir=$destdir/`dirname \$dlpath`~ 16351 test -d \$dldir || mkdir -p \$dldir~ 16352 $install_prog $dir/$dlname \$dldir/$dlname' 16353 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 16354 dlpath=$dir/\$dldll~ 16355 $RM \$dlpath' 16356 shlibpath_overrides_runpath=yes 16357 dynamic_linker='Win32 link.exe' 16358 ;; 16359 16360 *) 16361 # Assume MSVC wrapper 16362 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' 16363 dynamic_linker='Win32 ld.exe' 16364 ;; 16365 esac 16366 # FIXME: first we should search . and the directory the executable is in 16367 shlibpath_var=PATH 16368 ;; 16369 16370darwin* | rhapsody*) 16371 dynamic_linker="$host_os dyld" 16372 version_type=darwin 16373 need_lib_prefix=no 16374 need_version=no 16375 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' 16376 soname_spec='$libname$release$major$shared_ext' 16377 shlibpath_overrides_runpath=yes 16378 shlibpath_var=DYLD_LIBRARY_PATH 16379 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 16380 16381 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 16382 ;; 16383 16384dgux*) 16385 version_type=linux # correct to gnu/linux during the next big refactor 16386 need_lib_prefix=no 16387 need_version=no 16388 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16389 soname_spec='$libname$release$shared_ext$major' 16390 shlibpath_var=LD_LIBRARY_PATH 16391 ;; 16392 16393freebsd* | dragonfly*) 16394 # DragonFly does not have aout. When/if they implement a new 16395 # versioning mechanism, adjust this. 16396 if test -x /usr/bin/objformat; then 16397 objformat=`/usr/bin/objformat` 16398 else 16399 case $host_os in 16400 freebsd[23].*) objformat=aout ;; 16401 *) objformat=elf ;; 16402 esac 16403 fi 16404 version_type=freebsd-$objformat 16405 case $version_type in 16406 freebsd-elf*) 16407 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16408 soname_spec='$libname$release$shared_ext$major' 16409 need_version=no 16410 need_lib_prefix=no 16411 ;; 16412 freebsd-*) 16413 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 16414 need_version=yes 16415 ;; 16416 esac 16417 shlibpath_var=LD_LIBRARY_PATH 16418 case $host_os in 16419 freebsd2.*) 16420 shlibpath_overrides_runpath=yes 16421 ;; 16422 freebsd3.[01]* | freebsdelf3.[01]*) 16423 shlibpath_overrides_runpath=yes 16424 hardcode_into_libs=yes 16425 ;; 16426 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 16427 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 16428 shlibpath_overrides_runpath=no 16429 hardcode_into_libs=yes 16430 ;; 16431 *) # from 4.6 on, and DragonFly 16432 shlibpath_overrides_runpath=yes 16433 hardcode_into_libs=yes 16434 ;; 16435 esac 16436 ;; 16437 16438haiku*) 16439 version_type=linux # correct to gnu/linux during the next big refactor 16440 need_lib_prefix=no 16441 need_version=no 16442 dynamic_linker="$host_os runtime_loader" 16443 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16444 soname_spec='$libname$release$shared_ext$major' 16445 shlibpath_var=LIBRARY_PATH 16446 shlibpath_overrides_runpath=no 16447 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 16448 hardcode_into_libs=yes 16449 ;; 16450 16451hpux9* | hpux10* | hpux11*) 16452 # Give a soname corresponding to the major version so that dld.sl refuses to 16453 # link against other versions. 16454 version_type=sunos 16455 need_lib_prefix=no 16456 need_version=no 16457 case $host_cpu in 16458 ia64*) 16459 shrext_cmds='.so' 16460 hardcode_into_libs=yes 16461 dynamic_linker="$host_os dld.so" 16462 shlibpath_var=LD_LIBRARY_PATH 16463 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 16464 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16465 soname_spec='$libname$release$shared_ext$major' 16466 if test 32 = "$HPUX_IA64_MODE"; then 16467 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 16468 sys_lib_dlsearch_path_spec=/usr/lib/hpux32 16469 else 16470 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 16471 sys_lib_dlsearch_path_spec=/usr/lib/hpux64 16472 fi 16473 ;; 16474 hppa*64*) 16475 shrext_cmds='.sl' 16476 hardcode_into_libs=yes 16477 dynamic_linker="$host_os dld.sl" 16478 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 16479 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 16480 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16481 soname_spec='$libname$release$shared_ext$major' 16482 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 16483 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 16484 ;; 16485 *) 16486 shrext_cmds='.sl' 16487 dynamic_linker="$host_os dld.sl" 16488 shlibpath_var=SHLIB_PATH 16489 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 16490 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16491 soname_spec='$libname$release$shared_ext$major' 16492 ;; 16493 esac 16494 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 16495 postinstall_cmds='chmod 555 $lib' 16496 # or fails outright, so override atomically: 16497 install_override_mode=555 16498 ;; 16499 16500interix[3-9]*) 16501 version_type=linux # correct to gnu/linux during the next big refactor 16502 need_lib_prefix=no 16503 need_version=no 16504 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16505 soname_spec='$libname$release$shared_ext$major' 16506 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 16507 shlibpath_var=LD_LIBRARY_PATH 16508 shlibpath_overrides_runpath=no 16509 hardcode_into_libs=yes 16510 ;; 16511 16512irix5* | irix6* | nonstopux*) 16513 case $host_os in 16514 nonstopux*) version_type=nonstopux ;; 16515 *) 16516 if test yes = "$lt_cv_prog_gnu_ld"; then 16517 version_type=linux # correct to gnu/linux during the next big refactor 16518 else 16519 version_type=irix 16520 fi ;; 16521 esac 16522 need_lib_prefix=no 16523 need_version=no 16524 soname_spec='$libname$release$shared_ext$major' 16525 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' 16526 case $host_os in 16527 irix5* | nonstopux*) 16528 libsuff= shlibsuff= 16529 ;; 16530 *) 16531 case $LD in # libtool.m4 will add one of these switches to LD 16532 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 16533 libsuff= shlibsuff= libmagic=32-bit;; 16534 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 16535 libsuff=32 shlibsuff=N32 libmagic=N32;; 16536 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 16537 libsuff=64 shlibsuff=64 libmagic=64-bit;; 16538 *) libsuff= shlibsuff= libmagic=never-match;; 16539 esac 16540 ;; 16541 esac 16542 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 16543 shlibpath_overrides_runpath=no 16544 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" 16545 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" 16546 hardcode_into_libs=yes 16547 ;; 16548 16549# No shared lib support for Linux oldld, aout, or coff. 16550linux*oldld* | linux*aout* | linux*coff*) 16551 dynamic_linker=no 16552 ;; 16553 16554linux*android*) 16555 version_type=none # Android doesn't support versioned libraries. 16556 need_lib_prefix=no 16557 need_version=no 16558 library_names_spec='$libname$release$shared_ext' 16559 soname_spec='$libname$release$shared_ext' 16560 finish_cmds= 16561 shlibpath_var=LD_LIBRARY_PATH 16562 shlibpath_overrides_runpath=yes 16563 16564 # This implies no fast_install, which is unacceptable. 16565 # Some rework will be needed to allow for fast_install 16566 # before this can be enabled. 16567 hardcode_into_libs=yes 16568 16569 dynamic_linker='Android linker' 16570 # Don't embed -rpath directories since the linker doesn't support them. 16571 hardcode_libdir_flag_spec_CXX='-L$libdir' 16572 ;; 16573 16574# This must be glibc/ELF. 16575linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 16576 version_type=linux # correct to gnu/linux during the next big refactor 16577 need_lib_prefix=no 16578 need_version=no 16579 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16580 soname_spec='$libname$release$shared_ext$major' 16581 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 16582 shlibpath_var=LD_LIBRARY_PATH 16583 shlibpath_overrides_runpath=no 16584 16585 # Some binutils ld are patched to set DT_RUNPATH 16586 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 16587 $as_echo_n "(cached) " >&6 16588else 16589 lt_cv_shlibpath_overrides_runpath=no 16590 save_LDFLAGS=$LDFLAGS 16591 save_libdir=$libdir 16592 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \ 16593 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\"" 16594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 16595/* end confdefs.h. */ 16596 16597int 16598main () 16599{ 16600 16601 ; 16602 return 0; 16603} 16604_ACEOF 16605if ac_fn_cxx_try_link "$LINENO"; then : 16606 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 16607 lt_cv_shlibpath_overrides_runpath=yes 16608fi 16609fi 16610rm -f core conftest.err conftest.$ac_objext \ 16611 conftest$ac_exeext conftest.$ac_ext 16612 LDFLAGS=$save_LDFLAGS 16613 libdir=$save_libdir 16614 16615fi 16616 16617 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 16618 16619 # This implies no fast_install, which is unacceptable. 16620 # Some rework will be needed to allow for fast_install 16621 # before this can be enabled. 16622 hardcode_into_libs=yes 16623 16624 # Add ABI-specific directories to the system library path. 16625 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib" 16626 16627 # Ideally, we could use ldconfig to report *all* directores which are 16628 # searched for libraries, however this is still not possible. Aside from not 16629 # being certain /sbin/ldconfig is available, command 16630 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, 16631 # even though it is searched at run-time. Try to do the best guess by 16632 # appending ld.so.conf contents (and includes) to the search path. 16633 if test -f /etc/ld.so.conf; then 16634 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' ' '` 16635 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra" 16636 fi 16637 16638 # We used to test for /lib/ld.so.1 and disable shared libraries on 16639 # powerpc, because MkLinux only supported shared libraries with the 16640 # GNU dynamic linker. Since this was broken with cross compilers, 16641 # most powerpc-linux boxes support dynamic linking these days and 16642 # people can always --disable-shared, the test was removed, and we 16643 # assume the GNU/Linux dynamic linker is in use. 16644 dynamic_linker='GNU/Linux ld.so' 16645 ;; 16646 16647netbsd*) 16648 version_type=sunos 16649 need_lib_prefix=no 16650 need_version=no 16651 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 16652 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 16653 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 16654 dynamic_linker='NetBSD (a.out) ld.so' 16655 else 16656 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16657 soname_spec='$libname$release$shared_ext$major' 16658 dynamic_linker='NetBSD ld.elf_so' 16659 fi 16660 shlibpath_var=LD_LIBRARY_PATH 16661 shlibpath_overrides_runpath=yes 16662 hardcode_into_libs=yes 16663 ;; 16664 16665newsos6) 16666 version_type=linux # correct to gnu/linux during the next big refactor 16667 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16668 shlibpath_var=LD_LIBRARY_PATH 16669 shlibpath_overrides_runpath=yes 16670 ;; 16671 16672*nto* | *qnx*) 16673 version_type=qnx 16674 need_lib_prefix=no 16675 need_version=no 16676 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16677 soname_spec='$libname$release$shared_ext$major' 16678 shlibpath_var=LD_LIBRARY_PATH 16679 shlibpath_overrides_runpath=no 16680 hardcode_into_libs=yes 16681 dynamic_linker='ldqnx.so' 16682 ;; 16683 16684openbsd* | bitrig*) 16685 version_type=sunos 16686 sys_lib_dlsearch_path_spec=/usr/lib 16687 need_lib_prefix=no 16688 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 16689 need_version=no 16690 else 16691 need_version=yes 16692 fi 16693 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 16694 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 16695 shlibpath_var=LD_LIBRARY_PATH 16696 shlibpath_overrides_runpath=yes 16697 ;; 16698 16699os2*) 16700 libname_spec='$name' 16701 version_type=windows 16702 shrext_cmds=.dll 16703 need_version=no 16704 need_lib_prefix=no 16705 # OS/2 can only load a DLL with a base name of 8 characters or less. 16706 soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; 16707 v=$($ECHO $release$versuffix | tr -d .-); 16708 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); 16709 $ECHO $n$v`$shared_ext' 16710 library_names_spec='${libname}_dll.$libext' 16711 dynamic_linker='OS/2 ld.exe' 16712 shlibpath_var=BEGINLIBPATH 16713 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 16714 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 16715 postinstall_cmds='base_file=`basename \$file`~ 16716 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ 16717 dldir=$destdir/`dirname \$dlpath`~ 16718 test -d \$dldir || mkdir -p \$dldir~ 16719 $install_prog $dir/$dlname \$dldir/$dlname~ 16720 chmod a+x \$dldir/$dlname~ 16721 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 16722 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 16723 fi' 16724 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ 16725 dlpath=$dir/\$dldll~ 16726 $RM \$dlpath' 16727 ;; 16728 16729osf3* | osf4* | osf5*) 16730 version_type=osf 16731 need_lib_prefix=no 16732 need_version=no 16733 soname_spec='$libname$release$shared_ext$major' 16734 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16735 shlibpath_var=LD_LIBRARY_PATH 16736 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 16737 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 16738 ;; 16739 16740rdos*) 16741 dynamic_linker=no 16742 ;; 16743 16744solaris*) 16745 version_type=linux # correct to gnu/linux during the next big refactor 16746 need_lib_prefix=no 16747 need_version=no 16748 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16749 soname_spec='$libname$release$shared_ext$major' 16750 shlibpath_var=LD_LIBRARY_PATH 16751 shlibpath_overrides_runpath=yes 16752 hardcode_into_libs=yes 16753 # ldd complains unless libraries are executable 16754 postinstall_cmds='chmod +x $lib' 16755 ;; 16756 16757sunos4*) 16758 version_type=sunos 16759 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 16760 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 16761 shlibpath_var=LD_LIBRARY_PATH 16762 shlibpath_overrides_runpath=yes 16763 if test yes = "$with_gnu_ld"; then 16764 need_lib_prefix=no 16765 fi 16766 need_version=yes 16767 ;; 16768 16769sysv4 | sysv4.3*) 16770 version_type=linux # correct to gnu/linux during the next big refactor 16771 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16772 soname_spec='$libname$release$shared_ext$major' 16773 shlibpath_var=LD_LIBRARY_PATH 16774 case $host_vendor in 16775 sni) 16776 shlibpath_overrides_runpath=no 16777 need_lib_prefix=no 16778 runpath_var=LD_RUN_PATH 16779 ;; 16780 siemens) 16781 need_lib_prefix=no 16782 ;; 16783 motorola) 16784 need_lib_prefix=no 16785 need_version=no 16786 shlibpath_overrides_runpath=no 16787 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 16788 ;; 16789 esac 16790 ;; 16791 16792sysv4*MP*) 16793 if test -d /usr/nec; then 16794 version_type=linux # correct to gnu/linux during the next big refactor 16795 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' 16796 soname_spec='$libname$shared_ext.$major' 16797 shlibpath_var=LD_LIBRARY_PATH 16798 fi 16799 ;; 16800 16801sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 16802 version_type=sco 16803 need_lib_prefix=no 16804 need_version=no 16805 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' 16806 soname_spec='$libname$release$shared_ext$major' 16807 shlibpath_var=LD_LIBRARY_PATH 16808 shlibpath_overrides_runpath=yes 16809 hardcode_into_libs=yes 16810 if test yes = "$with_gnu_ld"; then 16811 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 16812 else 16813 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 16814 case $host_os in 16815 sco3.2v5*) 16816 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 16817 ;; 16818 esac 16819 fi 16820 sys_lib_dlsearch_path_spec='/usr/lib' 16821 ;; 16822 16823tpf*) 16824 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 16825 version_type=linux # correct to gnu/linux during the next big refactor 16826 need_lib_prefix=no 16827 need_version=no 16828 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16829 shlibpath_var=LD_LIBRARY_PATH 16830 shlibpath_overrides_runpath=no 16831 hardcode_into_libs=yes 16832 ;; 16833 16834uts4*) 16835 version_type=linux # correct to gnu/linux during the next big refactor 16836 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 16837 soname_spec='$libname$release$shared_ext$major' 16838 shlibpath_var=LD_LIBRARY_PATH 16839 ;; 16840 16841*) 16842 dynamic_linker=no 16843 ;; 16844esac 16845{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 16846$as_echo "$dynamic_linker" >&6; } 16847test no = "$dynamic_linker" && can_build_shared=no 16848 16849variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 16850if test yes = "$GCC"; then 16851 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 16852fi 16853 16854if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then 16855 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec 16856fi 16857 16858if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then 16859 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec 16860fi 16861 16862# remember unaugmented sys_lib_dlsearch_path content for libtool script decls... 16863configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec 16864 16865# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code 16866func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" 16867 16868# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool 16869configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH 16870 16871 16872 16873 16874 16875 16876 16877 16878 16879 16880 16881 16882 16883 16884 16885 16886 16887 16888 16889 16890 16891 16892 16893 16894 16895 16896 16897 16898 16899 16900 16901 16902 16903 16904 16905 16906 16907 16908 16909 16910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 16911$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 16912hardcode_action_CXX= 16913if test -n "$hardcode_libdir_flag_spec_CXX" || 16914 test -n "$runpath_var_CXX" || 16915 test yes = "$hardcode_automatic_CXX"; then 16916 16917 # We can hardcode non-existent directories. 16918 if test no != "$hardcode_direct_CXX" && 16919 # If the only mechanism to avoid hardcoding is shlibpath_var, we 16920 # have to relink, otherwise we might link with an installed library 16921 # when we should be linking with a yet-to-be-installed one 16922 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" && 16923 test no != "$hardcode_minus_L_CXX"; then 16924 # Linking always hardcodes the temporary library directory. 16925 hardcode_action_CXX=relink 16926 else 16927 # We can link without hardcoding, and we can hardcode nonexisting dirs. 16928 hardcode_action_CXX=immediate 16929 fi 16930else 16931 # We cannot hardcode anything, or else we can only hardcode existing 16932 # directories. 16933 hardcode_action_CXX=unsupported 16934fi 16935{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5 16936$as_echo "$hardcode_action_CXX" >&6; } 16937 16938if test relink = "$hardcode_action_CXX" || 16939 test yes = "$inherit_rpath_CXX"; then 16940 # Fast installation is not supported 16941 enable_fast_install=no 16942elif test yes = "$shlibpath_overrides_runpath" || 16943 test no = "$enable_shared"; then 16944 # Fast installation is not necessary 16945 enable_fast_install=needless 16946fi 16947 16948 16949 16950 16951 16952 16953 16954 fi # test -n "$compiler" 16955 16956 CC=$lt_save_CC 16957 CFLAGS=$lt_save_CFLAGS 16958 LDCXX=$LD 16959 LD=$lt_save_LD 16960 GCC=$lt_save_GCC 16961 with_gnu_ld=$lt_save_with_gnu_ld 16962 lt_cv_path_LDCXX=$lt_cv_path_LD 16963 lt_cv_path_LD=$lt_save_path_LD 16964 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld 16965 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld 16966fi # test yes != "$_lt_caught_CXX_error" 16967 16968ac_ext=c 16969ac_cpp='$CPP $CPPFLAGS' 16970ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 16971ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 16972ac_compiler_gnu=$ac_cv_c_compiler_gnu 16973 16974 16975 16976 16977 16978 16979 16980 16981 16982 16983 16984 16985 16986 16987 16988 ac_config_commands="$ac_config_commands libtool" 16989 16990 16991 16992 16993# Only expand once: 16994 16995 16996 16997 16998# Extract the first word of "pkg-config", so it can be a program name with args. 16999set dummy pkg-config; ac_word=$2 17000{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 17001$as_echo_n "checking for $ac_word... " >&6; } 17002if ${ac_cv_path_PKGCONFIG+:} false; then : 17003 $as_echo_n "(cached) " >&6 17004else 17005 case $PKGCONFIG in 17006 [\\/]* | ?:[\\/]*) 17007 ac_cv_path_PKGCONFIG="$PKGCONFIG" # Let the user override the test with a path. 17008 ;; 17009 *) 17010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 17011for as_dir in $PATH 17012do 17013 IFS=$as_save_IFS 17014 test -z "$as_dir" && as_dir=. 17015 for ac_exec_ext in '' $ac_executable_extensions; do 17016 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 17017 ac_cv_path_PKGCONFIG="$as_dir/$ac_word$ac_exec_ext" 17018 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 17019 break 2 17020 fi 17021done 17022 done 17023IFS=$as_save_IFS 17024 17025 ;; 17026esac 17027fi 17028PKGCONFIG=$ac_cv_path_PKGCONFIG 17029if test -n "$PKGCONFIG"; then 17030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKGCONFIG" >&5 17031$as_echo "$PKGCONFIG" >&6; } 17032else 17033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17034$as_echo "no" >&6; } 17035fi 17036 17037 17038 17039 17040mkdir_p="$MKDIR_P" 17041case $mkdir_p in 17042 [\\/$]* | ?:[\\/]*) ;; 17043 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 17044esac 17045 17046 17047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 17048$as_echo_n "checking whether NLS is requested... " >&6; } 17049 # Check whether --enable-nls was given. 17050if test "${enable_nls+set}" = set; then : 17051 enableval=$enable_nls; USE_NLS=$enableval 17052else 17053 USE_NLS=yes 17054fi 17055 17056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 17057$as_echo "$USE_NLS" >&6; } 17058 17059 17060 17061 17062 GETTEXT_MACRO_VERSION=0.18 17063 17064 17065 17066 17067# Prepare PATH_SEPARATOR. 17068# The user is always right. 17069if test "${PATH_SEPARATOR+set}" != set; then 17070 echo "#! /bin/sh" >conf$$.sh 17071 echo "exit 0" >>conf$$.sh 17072 chmod +x conf$$.sh 17073 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 17074 PATH_SEPARATOR=';' 17075 else 17076 PATH_SEPARATOR=: 17077 fi 17078 rm -f conf$$.sh 17079fi 17080 17081# Find out how to test for executable files. Don't use a zero-byte file, 17082# as systems may use methods other than mode bits to determine executability. 17083cat >conf$$.file <<_ASEOF 17084#! /bin/sh 17085exit 0 17086_ASEOF 17087chmod +x conf$$.file 17088if test -x conf$$.file >/dev/null 2>&1; then 17089 ac_executable_p="test -x" 17090else 17091 ac_executable_p="test -f" 17092fi 17093rm -f conf$$.file 17094 17095# Extract the first word of "msgfmt", so it can be a program name with args. 17096set dummy msgfmt; ac_word=$2 17097{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 17098$as_echo_n "checking for $ac_word... " >&6; } 17099if ${ac_cv_path_MSGFMT+:} false; then : 17100 $as_echo_n "(cached) " >&6 17101else 17102 case "$MSGFMT" in 17103 [\\/]* | ?:[\\/]*) 17104 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 17105 ;; 17106 *) 17107 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 17108 for ac_dir in $PATH; do 17109 IFS="$ac_save_IFS" 17110 test -z "$ac_dir" && ac_dir=. 17111 for ac_exec_ext in '' $ac_executable_extensions; do 17112 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 17113 echo "$as_me: trying $ac_dir/$ac_word..." >&5 17114 if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 && 17115 (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then 17116 ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext" 17117 break 2 17118 fi 17119 fi 17120 done 17121 done 17122 IFS="$ac_save_IFS" 17123 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":" 17124 ;; 17125esac 17126fi 17127MSGFMT="$ac_cv_path_MSGFMT" 17128if test "$MSGFMT" != ":"; then 17129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 17130$as_echo "$MSGFMT" >&6; } 17131else 17132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17133$as_echo "no" >&6; } 17134fi 17135 17136 # Extract the first word of "gmsgfmt", so it can be a program name with args. 17137set dummy gmsgfmt; ac_word=$2 17138{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 17139$as_echo_n "checking for $ac_word... " >&6; } 17140if ${ac_cv_path_GMSGFMT+:} false; then : 17141 $as_echo_n "(cached) " >&6 17142else 17143 case $GMSGFMT in 17144 [\\/]* | ?:[\\/]*) 17145 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 17146 ;; 17147 *) 17148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 17149for as_dir in $PATH 17150do 17151 IFS=$as_save_IFS 17152 test -z "$as_dir" && as_dir=. 17153 for ac_exec_ext in '' $ac_executable_extensions; do 17154 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 17155 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" 17156 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 17157 break 2 17158 fi 17159done 17160 done 17161IFS=$as_save_IFS 17162 17163 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" 17164 ;; 17165esac 17166fi 17167GMSGFMT=$ac_cv_path_GMSGFMT 17168if test -n "$GMSGFMT"; then 17169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 17170$as_echo "$GMSGFMT" >&6; } 17171else 17172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17173$as_echo "no" >&6; } 17174fi 17175 17176 17177 17178 case `$MSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in 17179 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) MSGFMT_015=: ;; 17180 *) MSGFMT_015=$MSGFMT ;; 17181 esac 17182 17183 case `$GMSGFMT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in 17184 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) GMSGFMT_015=: ;; 17185 *) GMSGFMT_015=$GMSGFMT ;; 17186 esac 17187 17188 17189 17190# Prepare PATH_SEPARATOR. 17191# The user is always right. 17192if test "${PATH_SEPARATOR+set}" != set; then 17193 echo "#! /bin/sh" >conf$$.sh 17194 echo "exit 0" >>conf$$.sh 17195 chmod +x conf$$.sh 17196 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 17197 PATH_SEPARATOR=';' 17198 else 17199 PATH_SEPARATOR=: 17200 fi 17201 rm -f conf$$.sh 17202fi 17203 17204# Find out how to test for executable files. Don't use a zero-byte file, 17205# as systems may use methods other than mode bits to determine executability. 17206cat >conf$$.file <<_ASEOF 17207#! /bin/sh 17208exit 0 17209_ASEOF 17210chmod +x conf$$.file 17211if test -x conf$$.file >/dev/null 2>&1; then 17212 ac_executable_p="test -x" 17213else 17214 ac_executable_p="test -f" 17215fi 17216rm -f conf$$.file 17217 17218# Extract the first word of "xgettext", so it can be a program name with args. 17219set dummy xgettext; ac_word=$2 17220{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 17221$as_echo_n "checking for $ac_word... " >&6; } 17222if ${ac_cv_path_XGETTEXT+:} false; then : 17223 $as_echo_n "(cached) " >&6 17224else 17225 case "$XGETTEXT" in 17226 [\\/]* | ?:[\\/]*) 17227 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 17228 ;; 17229 *) 17230 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 17231 for ac_dir in $PATH; do 17232 IFS="$ac_save_IFS" 17233 test -z "$ac_dir" && ac_dir=. 17234 for ac_exec_ext in '' $ac_executable_extensions; do 17235 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 17236 echo "$as_me: trying $ac_dir/$ac_word..." >&5 17237 if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 && 17238 (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 17239 ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext" 17240 break 2 17241 fi 17242 fi 17243 done 17244 done 17245 IFS="$ac_save_IFS" 17246 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" 17247 ;; 17248esac 17249fi 17250XGETTEXT="$ac_cv_path_XGETTEXT" 17251if test "$XGETTEXT" != ":"; then 17252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 17253$as_echo "$XGETTEXT" >&6; } 17254else 17255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17256$as_echo "no" >&6; } 17257fi 17258 17259 rm -f messages.po 17260 17261 case `$XGETTEXT --version | sed 1q | sed -e 's,^[^0-9]*,,'` in 17262 '' | 0.[0-9] | 0.[0-9].* | 0.1[0-4] | 0.1[0-4].*) XGETTEXT_015=: ;; 17263 *) XGETTEXT_015=$XGETTEXT ;; 17264 esac 17265 17266 17267 17268# Prepare PATH_SEPARATOR. 17269# The user is always right. 17270if test "${PATH_SEPARATOR+set}" != set; then 17271 echo "#! /bin/sh" >conf$$.sh 17272 echo "exit 0" >>conf$$.sh 17273 chmod +x conf$$.sh 17274 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 17275 PATH_SEPARATOR=';' 17276 else 17277 PATH_SEPARATOR=: 17278 fi 17279 rm -f conf$$.sh 17280fi 17281 17282# Find out how to test for executable files. Don't use a zero-byte file, 17283# as systems may use methods other than mode bits to determine executability. 17284cat >conf$$.file <<_ASEOF 17285#! /bin/sh 17286exit 0 17287_ASEOF 17288chmod +x conf$$.file 17289if test -x conf$$.file >/dev/null 2>&1; then 17290 ac_executable_p="test -x" 17291else 17292 ac_executable_p="test -f" 17293fi 17294rm -f conf$$.file 17295 17296# Extract the first word of "msgmerge", so it can be a program name with args. 17297set dummy msgmerge; ac_word=$2 17298{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 17299$as_echo_n "checking for $ac_word... " >&6; } 17300if ${ac_cv_path_MSGMERGE+:} false; then : 17301 $as_echo_n "(cached) " >&6 17302else 17303 case "$MSGMERGE" in 17304 [\\/]* | ?:[\\/]*) 17305 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. 17306 ;; 17307 *) 17308 ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR 17309 for ac_dir in $PATH; do 17310 IFS="$ac_save_IFS" 17311 test -z "$ac_dir" && ac_dir=. 17312 for ac_exec_ext in '' $ac_executable_extensions; do 17313 if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then 17314 echo "$as_me: trying $ac_dir/$ac_word..." >&5 17315 if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then 17316 ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext" 17317 break 2 17318 fi 17319 fi 17320 done 17321 done 17322 IFS="$ac_save_IFS" 17323 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":" 17324 ;; 17325esac 17326fi 17327MSGMERGE="$ac_cv_path_MSGMERGE" 17328if test "$MSGMERGE" != ":"; then 17329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 17330$as_echo "$MSGMERGE" >&6; } 17331else 17332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17333$as_echo "no" >&6; } 17334fi 17335 17336 17337 test -n "$localedir" || localedir='${datadir}/locale' 17338 17339 17340 test -n "${XGETTEXT_EXTRA_OPTIONS+set}" || XGETTEXT_EXTRA_OPTIONS= 17341 17342 17343 ac_config_commands="$ac_config_commands po-directories" 17344 17345 17346 17347 if test "X$prefix" = "XNONE"; then 17348 acl_final_prefix="$ac_default_prefix" 17349 else 17350 acl_final_prefix="$prefix" 17351 fi 17352 if test "X$exec_prefix" = "XNONE"; then 17353 acl_final_exec_prefix='${prefix}' 17354 else 17355 acl_final_exec_prefix="$exec_prefix" 17356 fi 17357 acl_save_prefix="$prefix" 17358 prefix="$acl_final_prefix" 17359 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" 17360 prefix="$acl_save_prefix" 17361 17362 17363# Check whether --with-gnu-ld was given. 17364if test "${with_gnu_ld+set}" = set; then : 17365 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 17366else 17367 with_gnu_ld=no 17368fi 17369 17370# Prepare PATH_SEPARATOR. 17371# The user is always right. 17372if test "${PATH_SEPARATOR+set}" != set; then 17373 echo "#! /bin/sh" >conf$$.sh 17374 echo "exit 0" >>conf$$.sh 17375 chmod +x conf$$.sh 17376 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 17377 PATH_SEPARATOR=';' 17378 else 17379 PATH_SEPARATOR=: 17380 fi 17381 rm -f conf$$.sh 17382fi 17383ac_prog=ld 17384if test "$GCC" = yes; then 17385 # Check if gcc -print-prog-name=ld gives a path. 17386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5 17387$as_echo_n "checking for ld used by GCC... " >&6; } 17388 case $host in 17389 *-*-mingw*) 17390 # gcc leaves a trailing carriage return which upsets mingw 17391 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 17392 *) 17393 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 17394 esac 17395 case $ac_prog in 17396 # Accept absolute paths. 17397 [\\/]* | [A-Za-z]:[\\/]*) 17398 re_direlt='/[^/][^/]*/\.\./' 17399 # Canonicalize the path of ld 17400 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` 17401 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do 17402 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` 17403 done 17404 test -z "$LD" && LD="$ac_prog" 17405 ;; 17406 "") 17407 # If it fails, then pretend we aren't using GCC. 17408 ac_prog=ld 17409 ;; 17410 *) 17411 # If it is relative, then search for the first ld in PATH. 17412 with_gnu_ld=unknown 17413 ;; 17414 esac 17415elif test "$with_gnu_ld" = yes; then 17416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 17417$as_echo_n "checking for GNU ld... " >&6; } 17418else 17419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 17420$as_echo_n "checking for non-GNU ld... " >&6; } 17421fi 17422if ${acl_cv_path_LD+:} false; then : 17423 $as_echo_n "(cached) " >&6 17424else 17425 if test -z "$LD"; then 17426 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" 17427 for ac_dir in $PATH; do 17428 test -z "$ac_dir" && ac_dir=. 17429 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 17430 acl_cv_path_LD="$ac_dir/$ac_prog" 17431 # Check to see if the program is GNU ld. I'd rather use --version, 17432 # but apparently some GNU ld's only accept -v. 17433 # Break only if it was the GNU/non-GNU ld that we prefer. 17434 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in 17435 *GNU* | *'with BFD'*) 17436 test "$with_gnu_ld" != no && break ;; 17437 *) 17438 test "$with_gnu_ld" != yes && break ;; 17439 esac 17440 fi 17441 done 17442 IFS="$ac_save_ifs" 17443else 17444 acl_cv_path_LD="$LD" # Let the user override the test with a path. 17445fi 17446fi 17447 17448LD="$acl_cv_path_LD" 17449if test -n "$LD"; then 17450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 17451$as_echo "$LD" >&6; } 17452else 17453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17454$as_echo "no" >&6; } 17455fi 17456test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 17457{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 17458$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 17459if ${acl_cv_prog_gnu_ld+:} false; then : 17460 $as_echo_n "(cached) " >&6 17461else 17462 # I'd rather use --version here, but apparently some GNU ld's only accept -v. 17463case `$LD -v 2>&1 </dev/null` in 17464*GNU* | *'with BFD'*) 17465 acl_cv_prog_gnu_ld=yes ;; 17466*) 17467 acl_cv_prog_gnu_ld=no ;; 17468esac 17469fi 17470{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5 17471$as_echo "$acl_cv_prog_gnu_ld" >&6; } 17472with_gnu_ld=$acl_cv_prog_gnu_ld 17473 17474 17475 17476 17477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5 17478$as_echo_n "checking for shared library run path origin... " >&6; } 17479if ${acl_cv_rpath+:} false; then : 17480 $as_echo_n "(cached) " >&6 17481else 17482 17483 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ 17484 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh 17485 . ./conftest.sh 17486 rm -f ./conftest.sh 17487 acl_cv_rpath=done 17488 17489fi 17490{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5 17491$as_echo "$acl_cv_rpath" >&6; } 17492 wl="$acl_cv_wl" 17493 acl_libext="$acl_cv_libext" 17494 acl_shlibext="$acl_cv_shlibext" 17495 acl_libname_spec="$acl_cv_libname_spec" 17496 acl_library_names_spec="$acl_cv_library_names_spec" 17497 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" 17498 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" 17499 acl_hardcode_direct="$acl_cv_hardcode_direct" 17500 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L" 17501 # Check whether --enable-rpath was given. 17502if test "${enable_rpath+set}" = set; then : 17503 enableval=$enable_rpath; : 17504else 17505 enable_rpath=yes 17506fi 17507 17508 17509 17510 17511 acl_libdirstem=lib 17512 acl_libdirstem2= 17513 case "$host_os" in 17514 solaris*) 17515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5 17516$as_echo_n "checking for 64-bit host... " >&6; } 17517if ${gl_cv_solaris_64bit+:} false; then : 17518 $as_echo_n "(cached) " >&6 17519else 17520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17521/* end confdefs.h. */ 17522 17523#ifdef _LP64 17524sixtyfour bits 17525#endif 17526 17527_ACEOF 17528if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 17529 $EGREP "sixtyfour bits" >/dev/null 2>&1; then : 17530 gl_cv_solaris_64bit=yes 17531else 17532 gl_cv_solaris_64bit=no 17533fi 17534rm -f conftest* 17535 17536 17537fi 17538{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5 17539$as_echo "$gl_cv_solaris_64bit" >&6; } 17540 if test $gl_cv_solaris_64bit = yes; then 17541 acl_libdirstem=lib/64 17542 case "$host_cpu" in 17543 sparc*) acl_libdirstem2=lib/sparcv9 ;; 17544 i*86 | x86_64) acl_libdirstem2=lib/amd64 ;; 17545 esac 17546 fi 17547 ;; 17548 *) 17549 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'` 17550 if test -n "$searchpath"; then 17551 acl_save_IFS="${IFS= }"; IFS=":" 17552 for searchdir in $searchpath; do 17553 if test -d "$searchdir"; then 17554 case "$searchdir" in 17555 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;; 17556 */../ | */.. ) 17557 # Better ignore directories of this form. They are misleading. 17558 ;; 17559 *) searchdir=`cd "$searchdir" && pwd` 17560 case "$searchdir" in 17561 */lib64 ) acl_libdirstem=lib64 ;; 17562 esac ;; 17563 esac 17564 fi 17565 done 17566 IFS="$acl_save_IFS" 17567 fi 17568 ;; 17569 esac 17570 test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem" 17571 17572 17573 17574 17575 17576 17577 17578 17579 17580 17581 17582 17583 use_additional=yes 17584 17585 acl_save_prefix="$prefix" 17586 prefix="$acl_final_prefix" 17587 acl_save_exec_prefix="$exec_prefix" 17588 exec_prefix="$acl_final_exec_prefix" 17589 17590 eval additional_includedir=\"$includedir\" 17591 eval additional_libdir=\"$libdir\" 17592 17593 exec_prefix="$acl_save_exec_prefix" 17594 prefix="$acl_save_prefix" 17595 17596 17597# Check whether --with-libiconv-prefix was given. 17598if test "${with_libiconv_prefix+set}" = set; then : 17599 withval=$with_libiconv_prefix; 17600 if test "X$withval" = "Xno"; then 17601 use_additional=no 17602 else 17603 if test "X$withval" = "X"; then 17604 17605 acl_save_prefix="$prefix" 17606 prefix="$acl_final_prefix" 17607 acl_save_exec_prefix="$exec_prefix" 17608 exec_prefix="$acl_final_exec_prefix" 17609 17610 eval additional_includedir=\"$includedir\" 17611 eval additional_libdir=\"$libdir\" 17612 17613 exec_prefix="$acl_save_exec_prefix" 17614 prefix="$acl_save_prefix" 17615 17616 else 17617 additional_includedir="$withval/include" 17618 additional_libdir="$withval/$acl_libdirstem" 17619 if test "$acl_libdirstem2" != "$acl_libdirstem" \ 17620 && ! test -d "$withval/$acl_libdirstem"; then 17621 additional_libdir="$withval/$acl_libdirstem2" 17622 fi 17623 fi 17624 fi 17625 17626fi 17627 17628 LIBICONV= 17629 LTLIBICONV= 17630 INCICONV= 17631 LIBICONV_PREFIX= 17632 HAVE_LIBICONV= 17633 rpathdirs= 17634 ltrpathdirs= 17635 names_already_handled= 17636 names_next_round='iconv ' 17637 while test -n "$names_next_round"; do 17638 names_this_round="$names_next_round" 17639 names_next_round= 17640 for name in $names_this_round; do 17641 already_handled= 17642 for n in $names_already_handled; do 17643 if test "$n" = "$name"; then 17644 already_handled=yes 17645 break 17646 fi 17647 done 17648 if test -z "$already_handled"; then 17649 names_already_handled="$names_already_handled $name" 17650 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` 17651 eval value=\"\$HAVE_LIB$uppername\" 17652 if test -n "$value"; then 17653 if test "$value" = yes; then 17654 eval value=\"\$LIB$uppername\" 17655 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value" 17656 eval value=\"\$LTLIB$uppername\" 17657 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value" 17658 else 17659 : 17660 fi 17661 else 17662 found_dir= 17663 found_la= 17664 found_so= 17665 found_a= 17666 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name 17667 if test -n "$acl_shlibext"; then 17668 shrext=".$acl_shlibext" # typically: shrext=.so 17669 else 17670 shrext= 17671 fi 17672 if test $use_additional = yes; then 17673 dir="$additional_libdir" 17674 if test -n "$acl_shlibext"; then 17675 if test -f "$dir/$libname$shrext"; then 17676 found_dir="$dir" 17677 found_so="$dir/$libname$shrext" 17678 else 17679 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 17680 ver=`(cd "$dir" && \ 17681 for f in "$libname$shrext".*; do echo "$f"; done \ 17682 | sed -e "s,^$libname$shrext\\\\.,," \ 17683 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 17684 | sed 1q ) 2>/dev/null` 17685 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then 17686 found_dir="$dir" 17687 found_so="$dir/$libname$shrext.$ver" 17688 fi 17689 else 17690 eval library_names=\"$acl_library_names_spec\" 17691 for f in $library_names; do 17692 if test -f "$dir/$f"; then 17693 found_dir="$dir" 17694 found_so="$dir/$f" 17695 break 17696 fi 17697 done 17698 fi 17699 fi 17700 fi 17701 if test "X$found_dir" = "X"; then 17702 if test -f "$dir/$libname.$acl_libext"; then 17703 found_dir="$dir" 17704 found_a="$dir/$libname.$acl_libext" 17705 fi 17706 fi 17707 if test "X$found_dir" != "X"; then 17708 if test -f "$dir/$libname.la"; then 17709 found_la="$dir/$libname.la" 17710 fi 17711 fi 17712 fi 17713 if test "X$found_dir" = "X"; then 17714 for x in $LDFLAGS $LTLIBICONV; do 17715 17716 acl_save_prefix="$prefix" 17717 prefix="$acl_final_prefix" 17718 acl_save_exec_prefix="$exec_prefix" 17719 exec_prefix="$acl_final_exec_prefix" 17720 eval x=\"$x\" 17721 exec_prefix="$acl_save_exec_prefix" 17722 prefix="$acl_save_prefix" 17723 17724 case "$x" in 17725 -L*) 17726 dir=`echo "X$x" | sed -e 's/^X-L//'` 17727 if test -n "$acl_shlibext"; then 17728 if test -f "$dir/$libname$shrext"; then 17729 found_dir="$dir" 17730 found_so="$dir/$libname$shrext" 17731 else 17732 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 17733 ver=`(cd "$dir" && \ 17734 for f in "$libname$shrext".*; do echo "$f"; done \ 17735 | sed -e "s,^$libname$shrext\\\\.,," \ 17736 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 17737 | sed 1q ) 2>/dev/null` 17738 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then 17739 found_dir="$dir" 17740 found_so="$dir/$libname$shrext.$ver" 17741 fi 17742 else 17743 eval library_names=\"$acl_library_names_spec\" 17744 for f in $library_names; do 17745 if test -f "$dir/$f"; then 17746 found_dir="$dir" 17747 found_so="$dir/$f" 17748 break 17749 fi 17750 done 17751 fi 17752 fi 17753 fi 17754 if test "X$found_dir" = "X"; then 17755 if test -f "$dir/$libname.$acl_libext"; then 17756 found_dir="$dir" 17757 found_a="$dir/$libname.$acl_libext" 17758 fi 17759 fi 17760 if test "X$found_dir" != "X"; then 17761 if test -f "$dir/$libname.la"; then 17762 found_la="$dir/$libname.la" 17763 fi 17764 fi 17765 ;; 17766 esac 17767 if test "X$found_dir" != "X"; then 17768 break 17769 fi 17770 done 17771 fi 17772 if test "X$found_dir" != "X"; then 17773 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name" 17774 if test "X$found_so" != "X"; then 17775 if test "$enable_rpath" = no \ 17776 || test "X$found_dir" = "X/usr/$acl_libdirstem" \ 17777 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then 17778 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 17779 else 17780 haveit= 17781 for x in $ltrpathdirs; do 17782 if test "X$x" = "X$found_dir"; then 17783 haveit=yes 17784 break 17785 fi 17786 done 17787 if test -z "$haveit"; then 17788 ltrpathdirs="$ltrpathdirs $found_dir" 17789 fi 17790 if test "$acl_hardcode_direct" = yes; then 17791 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 17792 else 17793 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then 17794 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 17795 haveit= 17796 for x in $rpathdirs; do 17797 if test "X$x" = "X$found_dir"; then 17798 haveit=yes 17799 break 17800 fi 17801 done 17802 if test -z "$haveit"; then 17803 rpathdirs="$rpathdirs $found_dir" 17804 fi 17805 else 17806 haveit= 17807 for x in $LDFLAGS $LIBICONV; do 17808 17809 acl_save_prefix="$prefix" 17810 prefix="$acl_final_prefix" 17811 acl_save_exec_prefix="$exec_prefix" 17812 exec_prefix="$acl_final_exec_prefix" 17813 eval x=\"$x\" 17814 exec_prefix="$acl_save_exec_prefix" 17815 prefix="$acl_save_prefix" 17816 17817 if test "X$x" = "X-L$found_dir"; then 17818 haveit=yes 17819 break 17820 fi 17821 done 17822 if test -z "$haveit"; then 17823 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir" 17824 fi 17825 if test "$acl_hardcode_minus_L" != no; then 17826 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 17827 else 17828 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" 17829 fi 17830 fi 17831 fi 17832 fi 17833 else 17834 if test "X$found_a" != "X"; then 17835 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a" 17836 else 17837 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name" 17838 fi 17839 fi 17840 additional_includedir= 17841 case "$found_dir" in 17842 */$acl_libdirstem | */$acl_libdirstem/) 17843 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` 17844 if test "$name" = 'iconv'; then 17845 LIBICONV_PREFIX="$basedir" 17846 fi 17847 additional_includedir="$basedir/include" 17848 ;; 17849 */$acl_libdirstem2 | */$acl_libdirstem2/) 17850 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` 17851 if test "$name" = 'iconv'; then 17852 LIBICONV_PREFIX="$basedir" 17853 fi 17854 additional_includedir="$basedir/include" 17855 ;; 17856 esac 17857 if test "X$additional_includedir" != "X"; then 17858 if test "X$additional_includedir" != "X/usr/include"; then 17859 haveit= 17860 if test "X$additional_includedir" = "X/usr/local/include"; then 17861 if test -n "$GCC"; then 17862 case $host_os in 17863 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 17864 esac 17865 fi 17866 fi 17867 if test -z "$haveit"; then 17868 for x in $CPPFLAGS $INCICONV; do 17869 17870 acl_save_prefix="$prefix" 17871 prefix="$acl_final_prefix" 17872 acl_save_exec_prefix="$exec_prefix" 17873 exec_prefix="$acl_final_exec_prefix" 17874 eval x=\"$x\" 17875 exec_prefix="$acl_save_exec_prefix" 17876 prefix="$acl_save_prefix" 17877 17878 if test "X$x" = "X-I$additional_includedir"; then 17879 haveit=yes 17880 break 17881 fi 17882 done 17883 if test -z "$haveit"; then 17884 if test -d "$additional_includedir"; then 17885 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir" 17886 fi 17887 fi 17888 fi 17889 fi 17890 fi 17891 if test -n "$found_la"; then 17892 save_libdir="$libdir" 17893 case "$found_la" in 17894 */* | *\\*) . "$found_la" ;; 17895 *) . "./$found_la" ;; 17896 esac 17897 libdir="$save_libdir" 17898 for dep in $dependency_libs; do 17899 case "$dep" in 17900 -L*) 17901 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` 17902 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ 17903 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then 17904 haveit= 17905 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ 17906 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then 17907 if test -n "$GCC"; then 17908 case $host_os in 17909 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 17910 esac 17911 fi 17912 fi 17913 if test -z "$haveit"; then 17914 haveit= 17915 for x in $LDFLAGS $LIBICONV; do 17916 17917 acl_save_prefix="$prefix" 17918 prefix="$acl_final_prefix" 17919 acl_save_exec_prefix="$exec_prefix" 17920 exec_prefix="$acl_final_exec_prefix" 17921 eval x=\"$x\" 17922 exec_prefix="$acl_save_exec_prefix" 17923 prefix="$acl_save_prefix" 17924 17925 if test "X$x" = "X-L$additional_libdir"; then 17926 haveit=yes 17927 break 17928 fi 17929 done 17930 if test -z "$haveit"; then 17931 if test -d "$additional_libdir"; then 17932 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir" 17933 fi 17934 fi 17935 haveit= 17936 for x in $LDFLAGS $LTLIBICONV; do 17937 17938 acl_save_prefix="$prefix" 17939 prefix="$acl_final_prefix" 17940 acl_save_exec_prefix="$exec_prefix" 17941 exec_prefix="$acl_final_exec_prefix" 17942 eval x=\"$x\" 17943 exec_prefix="$acl_save_exec_prefix" 17944 prefix="$acl_save_prefix" 17945 17946 if test "X$x" = "X-L$additional_libdir"; then 17947 haveit=yes 17948 break 17949 fi 17950 done 17951 if test -z "$haveit"; then 17952 if test -d "$additional_libdir"; then 17953 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir" 17954 fi 17955 fi 17956 fi 17957 fi 17958 ;; 17959 -R*) 17960 dir=`echo "X$dep" | sed -e 's/^X-R//'` 17961 if test "$enable_rpath" != no; then 17962 haveit= 17963 for x in $rpathdirs; do 17964 if test "X$x" = "X$dir"; then 17965 haveit=yes 17966 break 17967 fi 17968 done 17969 if test -z "$haveit"; then 17970 rpathdirs="$rpathdirs $dir" 17971 fi 17972 haveit= 17973 for x in $ltrpathdirs; do 17974 if test "X$x" = "X$dir"; then 17975 haveit=yes 17976 break 17977 fi 17978 done 17979 if test -z "$haveit"; then 17980 ltrpathdirs="$ltrpathdirs $dir" 17981 fi 17982 fi 17983 ;; 17984 -l*) 17985 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` 17986 ;; 17987 *.la) 17988 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` 17989 ;; 17990 *) 17991 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep" 17992 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep" 17993 ;; 17994 esac 17995 done 17996 fi 17997 else 17998 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" 17999 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name" 18000 fi 18001 fi 18002 fi 18003 done 18004 done 18005 if test "X$rpathdirs" != "X"; then 18006 if test -n "$acl_hardcode_libdir_separator"; then 18007 alldirs= 18008 for found_dir in $rpathdirs; do 18009 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" 18010 done 18011 acl_save_libdir="$libdir" 18012 libdir="$alldirs" 18013 eval flag=\"$acl_hardcode_libdir_flag_spec\" 18014 libdir="$acl_save_libdir" 18015 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" 18016 else 18017 for found_dir in $rpathdirs; do 18018 acl_save_libdir="$libdir" 18019 libdir="$found_dir" 18020 eval flag=\"$acl_hardcode_libdir_flag_spec\" 18021 libdir="$acl_save_libdir" 18022 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" 18023 done 18024 fi 18025 fi 18026 if test "X$ltrpathdirs" != "X"; then 18027 for found_dir in $ltrpathdirs; do 18028 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir" 18029 done 18030 fi 18031 18032 18033 18034 18035 18036 18037 18038 18039 18040 18041 18042 18043 18044 18045 18046 18047 18048 18049 18050 18051 18052 18053 18054 18055 18056 18057 18058 18059 18060 18061 18062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5 18063$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; } 18064if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then : 18065 $as_echo_n "(cached) " >&6 18066else 18067 gt_save_LIBS="$LIBS" 18068 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" 18069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18070/* end confdefs.h. */ 18071#include <CoreFoundation/CFPreferences.h> 18072int 18073main () 18074{ 18075CFPreferencesCopyAppValue(NULL, NULL) 18076 ; 18077 return 0; 18078} 18079_ACEOF 18080if ac_fn_c_try_link "$LINENO"; then : 18081 gt_cv_func_CFPreferencesCopyAppValue=yes 18082else 18083 gt_cv_func_CFPreferencesCopyAppValue=no 18084fi 18085rm -f core conftest.err conftest.$ac_objext \ 18086 conftest$ac_exeext conftest.$ac_ext 18087 LIBS="$gt_save_LIBS" 18088fi 18089{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5 18090$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; } 18091 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then 18092 18093$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h 18094 18095 fi 18096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5 18097$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; } 18098if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then : 18099 $as_echo_n "(cached) " >&6 18100else 18101 gt_save_LIBS="$LIBS" 18102 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" 18103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18104/* end confdefs.h. */ 18105#include <CoreFoundation/CFLocale.h> 18106int 18107main () 18108{ 18109CFLocaleCopyCurrent(); 18110 ; 18111 return 0; 18112} 18113_ACEOF 18114if ac_fn_c_try_link "$LINENO"; then : 18115 gt_cv_func_CFLocaleCopyCurrent=yes 18116else 18117 gt_cv_func_CFLocaleCopyCurrent=no 18118fi 18119rm -f core conftest.err conftest.$ac_objext \ 18120 conftest$ac_exeext conftest.$ac_ext 18121 LIBS="$gt_save_LIBS" 18122fi 18123{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5 18124$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; } 18125 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then 18126 18127$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h 18128 18129 fi 18130 INTL_MACOSX_LIBS= 18131 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then 18132 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation" 18133 fi 18134 18135 18136 18137 18138 18139 18140 LIBINTL= 18141 LTLIBINTL= 18142 POSUB= 18143 18144 case " $gt_needs " in 18145 *" need-formatstring-macros "*) gt_api_version=3 ;; 18146 *" need-ngettext "*) gt_api_version=2 ;; 18147 *) gt_api_version=1 ;; 18148 esac 18149 gt_func_gnugettext_libc="gt_cv_func_gnugettext${gt_api_version}_libc" 18150 gt_func_gnugettext_libintl="gt_cv_func_gnugettext${gt_api_version}_libintl" 18151 18152 if test "$USE_NLS" = "yes"; then 18153 gt_use_preinstalled_gnugettext=no 18154 18155 18156 if test $gt_api_version -ge 3; then 18157 gt_revision_test_code=' 18158#ifndef __GNU_GETTEXT_SUPPORTED_REVISION 18159#define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1) 18160#endif 18161typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1]; 18162' 18163 else 18164 gt_revision_test_code= 18165 fi 18166 if test $gt_api_version -ge 2; then 18167 gt_expression_test_code=' + * ngettext ("", "", 0)' 18168 else 18169 gt_expression_test_code= 18170 fi 18171 18172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5 18173$as_echo_n "checking for GNU gettext in libc... " >&6; } 18174if eval \${$gt_func_gnugettext_libc+:} false; then : 18175 $as_echo_n "(cached) " >&6 18176else 18177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18178/* end confdefs.h. */ 18179#include <libintl.h> 18180$gt_revision_test_code 18181extern int _nl_msg_cat_cntr; 18182extern int *_nl_domain_bindings; 18183int 18184main () 18185{ 18186bindtextdomain ("", ""); 18187return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings 18188 ; 18189 return 0; 18190} 18191_ACEOF 18192if ac_fn_c_try_link "$LINENO"; then : 18193 eval "$gt_func_gnugettext_libc=yes" 18194else 18195 eval "$gt_func_gnugettext_libc=no" 18196fi 18197rm -f core conftest.err conftest.$ac_objext \ 18198 conftest$ac_exeext conftest.$ac_ext 18199fi 18200eval ac_res=\$$gt_func_gnugettext_libc 18201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 18202$as_echo "$ac_res" >&6; } 18203 18204 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then 18205 18206 18207 18208 18209 18210 am_save_CPPFLAGS="$CPPFLAGS" 18211 18212 for element in $INCICONV; do 18213 haveit= 18214 for x in $CPPFLAGS; do 18215 18216 acl_save_prefix="$prefix" 18217 prefix="$acl_final_prefix" 18218 acl_save_exec_prefix="$exec_prefix" 18219 exec_prefix="$acl_final_exec_prefix" 18220 eval x=\"$x\" 18221 exec_prefix="$acl_save_exec_prefix" 18222 prefix="$acl_save_prefix" 18223 18224 if test "X$x" = "X$element"; then 18225 haveit=yes 18226 break 18227 fi 18228 done 18229 if test -z "$haveit"; then 18230 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" 18231 fi 18232 done 18233 18234 18235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 18236$as_echo_n "checking for iconv... " >&6; } 18237if ${am_cv_func_iconv+:} false; then : 18238 $as_echo_n "(cached) " >&6 18239else 18240 18241 am_cv_func_iconv="no, consider installing GNU libiconv" 18242 am_cv_lib_iconv=no 18243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18244/* end confdefs.h. */ 18245#include <stdlib.h> 18246#include <iconv.h> 18247int 18248main () 18249{ 18250iconv_t cd = iconv_open("",""); 18251 iconv(cd,NULL,NULL,NULL,NULL); 18252 iconv_close(cd); 18253 ; 18254 return 0; 18255} 18256_ACEOF 18257if ac_fn_c_try_link "$LINENO"; then : 18258 am_cv_func_iconv=yes 18259fi 18260rm -f core conftest.err conftest.$ac_objext \ 18261 conftest$ac_exeext conftest.$ac_ext 18262 if test "$am_cv_func_iconv" != yes; then 18263 am_save_LIBS="$LIBS" 18264 LIBS="$LIBS $LIBICONV" 18265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18266/* end confdefs.h. */ 18267#include <stdlib.h> 18268#include <iconv.h> 18269int 18270main () 18271{ 18272iconv_t cd = iconv_open("",""); 18273 iconv(cd,NULL,NULL,NULL,NULL); 18274 iconv_close(cd); 18275 ; 18276 return 0; 18277} 18278_ACEOF 18279if ac_fn_c_try_link "$LINENO"; then : 18280 am_cv_lib_iconv=yes 18281 am_cv_func_iconv=yes 18282fi 18283rm -f core conftest.err conftest.$ac_objext \ 18284 conftest$ac_exeext conftest.$ac_ext 18285 LIBS="$am_save_LIBS" 18286 fi 18287 18288fi 18289{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 18290$as_echo "$am_cv_func_iconv" >&6; } 18291 if test "$am_cv_func_iconv" = yes; then 18292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5 18293$as_echo_n "checking for working iconv... " >&6; } 18294if ${am_cv_func_iconv_works+:} false; then : 18295 $as_echo_n "(cached) " >&6 18296else 18297 18298 am_save_LIBS="$LIBS" 18299 if test $am_cv_lib_iconv = yes; then 18300 LIBS="$LIBS $LIBICONV" 18301 fi 18302 if test "$cross_compiling" = yes; then : 18303 case "$host_os" in 18304 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; 18305 *) am_cv_func_iconv_works="guessing yes" ;; 18306 esac 18307else 18308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18309/* end confdefs.h. */ 18310 18311#include <iconv.h> 18312#include <string.h> 18313int main () 18314{ 18315 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful 18316 returns. */ 18317 { 18318 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8"); 18319 if (cd_utf8_to_88591 != (iconv_t)(-1)) 18320 { 18321 static const char input[] = "\342\202\254"; /* EURO SIGN */ 18322 char buf[10]; 18323 const char *inptr = input; 18324 size_t inbytesleft = strlen (input); 18325 char *outptr = buf; 18326 size_t outbytesleft = sizeof (buf); 18327 size_t res = iconv (cd_utf8_to_88591, 18328 (char **) &inptr, &inbytesleft, 18329 &outptr, &outbytesleft); 18330 if (res == 0) 18331 return 1; 18332 } 18333 } 18334 /* Test against Solaris 10 bug: Failures are not distinguishable from 18335 successful returns. */ 18336 { 18337 iconv_t cd_ascii_to_88591 = iconv_open ("ISO8859-1", "646"); 18338 if (cd_ascii_to_88591 != (iconv_t)(-1)) 18339 { 18340 static const char input[] = "\263"; 18341 char buf[10]; 18342 const char *inptr = input; 18343 size_t inbytesleft = strlen (input); 18344 char *outptr = buf; 18345 size_t outbytesleft = sizeof (buf); 18346 size_t res = iconv (cd_ascii_to_88591, 18347 (char **) &inptr, &inbytesleft, 18348 &outptr, &outbytesleft); 18349 if (res == 0) 18350 return 1; 18351 } 18352 } 18353#if 0 /* This bug could be worked around by the caller. */ 18354 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */ 18355 { 18356 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591"); 18357 if (cd_88591_to_utf8 != (iconv_t)(-1)) 18358 { 18359 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; 18360 char buf[50]; 18361 const char *inptr = input; 18362 size_t inbytesleft = strlen (input); 18363 char *outptr = buf; 18364 size_t outbytesleft = sizeof (buf); 18365 size_t res = iconv (cd_88591_to_utf8, 18366 (char **) &inptr, &inbytesleft, 18367 &outptr, &outbytesleft); 18368 if ((int)res > 0) 18369 return 1; 18370 } 18371 } 18372#endif 18373 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is 18374 provided. */ 18375 if (/* Try standardized names. */ 18376 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1) 18377 /* Try IRIX, OSF/1 names. */ 18378 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1) 18379 /* Try AIX names. */ 18380 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1) 18381 /* Try HP-UX names. */ 18382 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1)) 18383 return 1; 18384 return 0; 18385} 18386_ACEOF 18387if ac_fn_c_try_run "$LINENO"; then : 18388 am_cv_func_iconv_works=yes 18389else 18390 am_cv_func_iconv_works=no 18391fi 18392rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 18393 conftest.$ac_objext conftest.beam conftest.$ac_ext 18394fi 18395 18396 LIBS="$am_save_LIBS" 18397 18398fi 18399{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5 18400$as_echo "$am_cv_func_iconv_works" >&6; } 18401 case "$am_cv_func_iconv_works" in 18402 *no) am_func_iconv=no am_cv_lib_iconv=no ;; 18403 *) am_func_iconv=yes ;; 18404 esac 18405 else 18406 am_func_iconv=no am_cv_lib_iconv=no 18407 fi 18408 if test "$am_func_iconv" = yes; then 18409 18410$as_echo "#define HAVE_ICONV 1" >>confdefs.h 18411 18412 fi 18413 if test "$am_cv_lib_iconv" = yes; then 18414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5 18415$as_echo_n "checking how to link with libiconv... " >&6; } 18416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5 18417$as_echo "$LIBICONV" >&6; } 18418 else 18419 CPPFLAGS="$am_save_CPPFLAGS" 18420 LIBICONV= 18421 LTLIBICONV= 18422 fi 18423 18424 18425 18426 18427 18428 18429 18430 18431 18432 18433 18434 use_additional=yes 18435 18436 acl_save_prefix="$prefix" 18437 prefix="$acl_final_prefix" 18438 acl_save_exec_prefix="$exec_prefix" 18439 exec_prefix="$acl_final_exec_prefix" 18440 18441 eval additional_includedir=\"$includedir\" 18442 eval additional_libdir=\"$libdir\" 18443 18444 exec_prefix="$acl_save_exec_prefix" 18445 prefix="$acl_save_prefix" 18446 18447 18448# Check whether --with-libintl-prefix was given. 18449if test "${with_libintl_prefix+set}" = set; then : 18450 withval=$with_libintl_prefix; 18451 if test "X$withval" = "Xno"; then 18452 use_additional=no 18453 else 18454 if test "X$withval" = "X"; then 18455 18456 acl_save_prefix="$prefix" 18457 prefix="$acl_final_prefix" 18458 acl_save_exec_prefix="$exec_prefix" 18459 exec_prefix="$acl_final_exec_prefix" 18460 18461 eval additional_includedir=\"$includedir\" 18462 eval additional_libdir=\"$libdir\" 18463 18464 exec_prefix="$acl_save_exec_prefix" 18465 prefix="$acl_save_prefix" 18466 18467 else 18468 additional_includedir="$withval/include" 18469 additional_libdir="$withval/$acl_libdirstem" 18470 if test "$acl_libdirstem2" != "$acl_libdirstem" \ 18471 && ! test -d "$withval/$acl_libdirstem"; then 18472 additional_libdir="$withval/$acl_libdirstem2" 18473 fi 18474 fi 18475 fi 18476 18477fi 18478 18479 LIBINTL= 18480 LTLIBINTL= 18481 INCINTL= 18482 LIBINTL_PREFIX= 18483 HAVE_LIBINTL= 18484 rpathdirs= 18485 ltrpathdirs= 18486 names_already_handled= 18487 names_next_round='intl ' 18488 while test -n "$names_next_round"; do 18489 names_this_round="$names_next_round" 18490 names_next_round= 18491 for name in $names_this_round; do 18492 already_handled= 18493 for n in $names_already_handled; do 18494 if test "$n" = "$name"; then 18495 already_handled=yes 18496 break 18497 fi 18498 done 18499 if test -z "$already_handled"; then 18500 names_already_handled="$names_already_handled $name" 18501 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` 18502 eval value=\"\$HAVE_LIB$uppername\" 18503 if test -n "$value"; then 18504 if test "$value" = yes; then 18505 eval value=\"\$LIB$uppername\" 18506 test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value" 18507 eval value=\"\$LTLIB$uppername\" 18508 test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value" 18509 else 18510 : 18511 fi 18512 else 18513 found_dir= 18514 found_la= 18515 found_so= 18516 found_a= 18517 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name 18518 if test -n "$acl_shlibext"; then 18519 shrext=".$acl_shlibext" # typically: shrext=.so 18520 else 18521 shrext= 18522 fi 18523 if test $use_additional = yes; then 18524 dir="$additional_libdir" 18525 if test -n "$acl_shlibext"; then 18526 if test -f "$dir/$libname$shrext"; then 18527 found_dir="$dir" 18528 found_so="$dir/$libname$shrext" 18529 else 18530 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 18531 ver=`(cd "$dir" && \ 18532 for f in "$libname$shrext".*; do echo "$f"; done \ 18533 | sed -e "s,^$libname$shrext\\\\.,," \ 18534 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 18535 | sed 1q ) 2>/dev/null` 18536 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then 18537 found_dir="$dir" 18538 found_so="$dir/$libname$shrext.$ver" 18539 fi 18540 else 18541 eval library_names=\"$acl_library_names_spec\" 18542 for f in $library_names; do 18543 if test -f "$dir/$f"; then 18544 found_dir="$dir" 18545 found_so="$dir/$f" 18546 break 18547 fi 18548 done 18549 fi 18550 fi 18551 fi 18552 if test "X$found_dir" = "X"; then 18553 if test -f "$dir/$libname.$acl_libext"; then 18554 found_dir="$dir" 18555 found_a="$dir/$libname.$acl_libext" 18556 fi 18557 fi 18558 if test "X$found_dir" != "X"; then 18559 if test -f "$dir/$libname.la"; then 18560 found_la="$dir/$libname.la" 18561 fi 18562 fi 18563 fi 18564 if test "X$found_dir" = "X"; then 18565 for x in $LDFLAGS $LTLIBINTL; do 18566 18567 acl_save_prefix="$prefix" 18568 prefix="$acl_final_prefix" 18569 acl_save_exec_prefix="$exec_prefix" 18570 exec_prefix="$acl_final_exec_prefix" 18571 eval x=\"$x\" 18572 exec_prefix="$acl_save_exec_prefix" 18573 prefix="$acl_save_prefix" 18574 18575 case "$x" in 18576 -L*) 18577 dir=`echo "X$x" | sed -e 's/^X-L//'` 18578 if test -n "$acl_shlibext"; then 18579 if test -f "$dir/$libname$shrext"; then 18580 found_dir="$dir" 18581 found_so="$dir/$libname$shrext" 18582 else 18583 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 18584 ver=`(cd "$dir" && \ 18585 for f in "$libname$shrext".*; do echo "$f"; done \ 18586 | sed -e "s,^$libname$shrext\\\\.,," \ 18587 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 18588 | sed 1q ) 2>/dev/null` 18589 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then 18590 found_dir="$dir" 18591 found_so="$dir/$libname$shrext.$ver" 18592 fi 18593 else 18594 eval library_names=\"$acl_library_names_spec\" 18595 for f in $library_names; do 18596 if test -f "$dir/$f"; then 18597 found_dir="$dir" 18598 found_so="$dir/$f" 18599 break 18600 fi 18601 done 18602 fi 18603 fi 18604 fi 18605 if test "X$found_dir" = "X"; then 18606 if test -f "$dir/$libname.$acl_libext"; then 18607 found_dir="$dir" 18608 found_a="$dir/$libname.$acl_libext" 18609 fi 18610 fi 18611 if test "X$found_dir" != "X"; then 18612 if test -f "$dir/$libname.la"; then 18613 found_la="$dir/$libname.la" 18614 fi 18615 fi 18616 ;; 18617 esac 18618 if test "X$found_dir" != "X"; then 18619 break 18620 fi 18621 done 18622 fi 18623 if test "X$found_dir" != "X"; then 18624 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name" 18625 if test "X$found_so" != "X"; then 18626 if test "$enable_rpath" = no \ 18627 || test "X$found_dir" = "X/usr/$acl_libdirstem" \ 18628 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then 18629 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 18630 else 18631 haveit= 18632 for x in $ltrpathdirs; do 18633 if test "X$x" = "X$found_dir"; then 18634 haveit=yes 18635 break 18636 fi 18637 done 18638 if test -z "$haveit"; then 18639 ltrpathdirs="$ltrpathdirs $found_dir" 18640 fi 18641 if test "$acl_hardcode_direct" = yes; then 18642 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 18643 else 18644 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then 18645 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 18646 haveit= 18647 for x in $rpathdirs; do 18648 if test "X$x" = "X$found_dir"; then 18649 haveit=yes 18650 break 18651 fi 18652 done 18653 if test -z "$haveit"; then 18654 rpathdirs="$rpathdirs $found_dir" 18655 fi 18656 else 18657 haveit= 18658 for x in $LDFLAGS $LIBINTL; do 18659 18660 acl_save_prefix="$prefix" 18661 prefix="$acl_final_prefix" 18662 acl_save_exec_prefix="$exec_prefix" 18663 exec_prefix="$acl_final_exec_prefix" 18664 eval x=\"$x\" 18665 exec_prefix="$acl_save_exec_prefix" 18666 prefix="$acl_save_prefix" 18667 18668 if test "X$x" = "X-L$found_dir"; then 18669 haveit=yes 18670 break 18671 fi 18672 done 18673 if test -z "$haveit"; then 18674 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir" 18675 fi 18676 if test "$acl_hardcode_minus_L" != no; then 18677 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so" 18678 else 18679 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" 18680 fi 18681 fi 18682 fi 18683 fi 18684 else 18685 if test "X$found_a" != "X"; then 18686 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a" 18687 else 18688 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name" 18689 fi 18690 fi 18691 additional_includedir= 18692 case "$found_dir" in 18693 */$acl_libdirstem | */$acl_libdirstem/) 18694 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` 18695 if test "$name" = 'intl'; then 18696 LIBINTL_PREFIX="$basedir" 18697 fi 18698 additional_includedir="$basedir/include" 18699 ;; 18700 */$acl_libdirstem2 | */$acl_libdirstem2/) 18701 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'` 18702 if test "$name" = 'intl'; then 18703 LIBINTL_PREFIX="$basedir" 18704 fi 18705 additional_includedir="$basedir/include" 18706 ;; 18707 esac 18708 if test "X$additional_includedir" != "X"; then 18709 if test "X$additional_includedir" != "X/usr/include"; then 18710 haveit= 18711 if test "X$additional_includedir" = "X/usr/local/include"; then 18712 if test -n "$GCC"; then 18713 case $host_os in 18714 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 18715 esac 18716 fi 18717 fi 18718 if test -z "$haveit"; then 18719 for x in $CPPFLAGS $INCINTL; do 18720 18721 acl_save_prefix="$prefix" 18722 prefix="$acl_final_prefix" 18723 acl_save_exec_prefix="$exec_prefix" 18724 exec_prefix="$acl_final_exec_prefix" 18725 eval x=\"$x\" 18726 exec_prefix="$acl_save_exec_prefix" 18727 prefix="$acl_save_prefix" 18728 18729 if test "X$x" = "X-I$additional_includedir"; then 18730 haveit=yes 18731 break 18732 fi 18733 done 18734 if test -z "$haveit"; then 18735 if test -d "$additional_includedir"; then 18736 INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir" 18737 fi 18738 fi 18739 fi 18740 fi 18741 fi 18742 if test -n "$found_la"; then 18743 save_libdir="$libdir" 18744 case "$found_la" in 18745 */* | *\\*) . "$found_la" ;; 18746 *) . "./$found_la" ;; 18747 esac 18748 libdir="$save_libdir" 18749 for dep in $dependency_libs; do 18750 case "$dep" in 18751 -L*) 18752 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` 18753 if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \ 18754 && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then 18755 haveit= 18756 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \ 18757 || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then 18758 if test -n "$GCC"; then 18759 case $host_os in 18760 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 18761 esac 18762 fi 18763 fi 18764 if test -z "$haveit"; then 18765 haveit= 18766 for x in $LDFLAGS $LIBINTL; do 18767 18768 acl_save_prefix="$prefix" 18769 prefix="$acl_final_prefix" 18770 acl_save_exec_prefix="$exec_prefix" 18771 exec_prefix="$acl_final_exec_prefix" 18772 eval x=\"$x\" 18773 exec_prefix="$acl_save_exec_prefix" 18774 prefix="$acl_save_prefix" 18775 18776 if test "X$x" = "X-L$additional_libdir"; then 18777 haveit=yes 18778 break 18779 fi 18780 done 18781 if test -z "$haveit"; then 18782 if test -d "$additional_libdir"; then 18783 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir" 18784 fi 18785 fi 18786 haveit= 18787 for x in $LDFLAGS $LTLIBINTL; do 18788 18789 acl_save_prefix="$prefix" 18790 prefix="$acl_final_prefix" 18791 acl_save_exec_prefix="$exec_prefix" 18792 exec_prefix="$acl_final_exec_prefix" 18793 eval x=\"$x\" 18794 exec_prefix="$acl_save_exec_prefix" 18795 prefix="$acl_save_prefix" 18796 18797 if test "X$x" = "X-L$additional_libdir"; then 18798 haveit=yes 18799 break 18800 fi 18801 done 18802 if test -z "$haveit"; then 18803 if test -d "$additional_libdir"; then 18804 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir" 18805 fi 18806 fi 18807 fi 18808 fi 18809 ;; 18810 -R*) 18811 dir=`echo "X$dep" | sed -e 's/^X-R//'` 18812 if test "$enable_rpath" != no; then 18813 haveit= 18814 for x in $rpathdirs; do 18815 if test "X$x" = "X$dir"; then 18816 haveit=yes 18817 break 18818 fi 18819 done 18820 if test -z "$haveit"; then 18821 rpathdirs="$rpathdirs $dir" 18822 fi 18823 haveit= 18824 for x in $ltrpathdirs; do 18825 if test "X$x" = "X$dir"; then 18826 haveit=yes 18827 break 18828 fi 18829 done 18830 if test -z "$haveit"; then 18831 ltrpathdirs="$ltrpathdirs $dir" 18832 fi 18833 fi 18834 ;; 18835 -l*) 18836 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` 18837 ;; 18838 *.la) 18839 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` 18840 ;; 18841 *) 18842 LIBINTL="${LIBINTL}${LIBINTL:+ }$dep" 18843 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep" 18844 ;; 18845 esac 18846 done 18847 fi 18848 else 18849 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name" 18850 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name" 18851 fi 18852 fi 18853 fi 18854 done 18855 done 18856 if test "X$rpathdirs" != "X"; then 18857 if test -n "$acl_hardcode_libdir_separator"; then 18858 alldirs= 18859 for found_dir in $rpathdirs; do 18860 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" 18861 done 18862 acl_save_libdir="$libdir" 18863 libdir="$alldirs" 18864 eval flag=\"$acl_hardcode_libdir_flag_spec\" 18865 libdir="$acl_save_libdir" 18866 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" 18867 else 18868 for found_dir in $rpathdirs; do 18869 acl_save_libdir="$libdir" 18870 libdir="$found_dir" 18871 eval flag=\"$acl_hardcode_libdir_flag_spec\" 18872 libdir="$acl_save_libdir" 18873 LIBINTL="${LIBINTL}${LIBINTL:+ }$flag" 18874 done 18875 fi 18876 fi 18877 if test "X$ltrpathdirs" != "X"; then 18878 for found_dir in $ltrpathdirs; do 18879 LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir" 18880 done 18881 fi 18882 18883 18884 18885 18886 18887 18888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5 18889$as_echo_n "checking for GNU gettext in libintl... " >&6; } 18890if eval \${$gt_func_gnugettext_libintl+:} false; then : 18891 $as_echo_n "(cached) " >&6 18892else 18893 gt_save_CPPFLAGS="$CPPFLAGS" 18894 CPPFLAGS="$CPPFLAGS $INCINTL" 18895 gt_save_LIBS="$LIBS" 18896 LIBS="$LIBS $LIBINTL" 18897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18898/* end confdefs.h. */ 18899#include <libintl.h> 18900$gt_revision_test_code 18901extern int _nl_msg_cat_cntr; 18902extern 18903#ifdef __cplusplus 18904"C" 18905#endif 18906const char *_nl_expand_alias (const char *); 18907int 18908main () 18909{ 18910bindtextdomain ("", ""); 18911return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") 18912 ; 18913 return 0; 18914} 18915_ACEOF 18916if ac_fn_c_try_link "$LINENO"; then : 18917 eval "$gt_func_gnugettext_libintl=yes" 18918else 18919 eval "$gt_func_gnugettext_libintl=no" 18920fi 18921rm -f core conftest.err conftest.$ac_objext \ 18922 conftest$ac_exeext conftest.$ac_ext 18923 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then 18924 LIBS="$LIBS $LIBICONV" 18925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 18926/* end confdefs.h. */ 18927#include <libintl.h> 18928$gt_revision_test_code 18929extern int _nl_msg_cat_cntr; 18930extern 18931#ifdef __cplusplus 18932"C" 18933#endif 18934const char *_nl_expand_alias (const char *); 18935int 18936main () 18937{ 18938bindtextdomain ("", ""); 18939return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("") 18940 ; 18941 return 0; 18942} 18943_ACEOF 18944if ac_fn_c_try_link "$LINENO"; then : 18945 LIBINTL="$LIBINTL $LIBICONV" 18946 LTLIBINTL="$LTLIBINTL $LTLIBICONV" 18947 eval "$gt_func_gnugettext_libintl=yes" 18948 18949fi 18950rm -f core conftest.err conftest.$ac_objext \ 18951 conftest$ac_exeext conftest.$ac_ext 18952 fi 18953 CPPFLAGS="$gt_save_CPPFLAGS" 18954 LIBS="$gt_save_LIBS" 18955fi 18956eval ac_res=\$$gt_func_gnugettext_libintl 18957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 18958$as_echo "$ac_res" >&6; } 18959 fi 18960 18961 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \ 18962 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \ 18963 && test "$PACKAGE" != gettext-runtime \ 18964 && test "$PACKAGE" != gettext-tools; }; then 18965 gt_use_preinstalled_gnugettext=yes 18966 else 18967 LIBINTL= 18968 LTLIBINTL= 18969 INCINTL= 18970 fi 18971 18972 18973 18974 if test -n "$INTL_MACOSX_LIBS"; then 18975 if test "$gt_use_preinstalled_gnugettext" = "yes" \ 18976 || test "$nls_cv_use_gnu_gettext" = "yes"; then 18977 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS" 18978 LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS" 18979 fi 18980 fi 18981 18982 if test "$gt_use_preinstalled_gnugettext" = "yes" \ 18983 || test "$nls_cv_use_gnu_gettext" = "yes"; then 18984 18985$as_echo "#define ENABLE_NLS 1" >>confdefs.h 18986 18987 else 18988 USE_NLS=no 18989 fi 18990 fi 18991 18992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5 18993$as_echo_n "checking whether to use NLS... " >&6; } 18994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 18995$as_echo "$USE_NLS" >&6; } 18996 if test "$USE_NLS" = "yes"; then 18997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5 18998$as_echo_n "checking where the gettext function comes from... " >&6; } 18999 if test "$gt_use_preinstalled_gnugettext" = "yes"; then 19000 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then 19001 gt_source="external libintl" 19002 else 19003 gt_source="libc" 19004 fi 19005 else 19006 gt_source="included intl directory" 19007 fi 19008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5 19009$as_echo "$gt_source" >&6; } 19010 fi 19011 19012 if test "$USE_NLS" = "yes"; then 19013 19014 if test "$gt_use_preinstalled_gnugettext" = "yes"; then 19015 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then 19016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5 19017$as_echo_n "checking how to link with libintl... " >&6; } 19018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5 19019$as_echo "$LIBINTL" >&6; } 19020 19021 for element in $INCINTL; do 19022 haveit= 19023 for x in $CPPFLAGS; do 19024 19025 acl_save_prefix="$prefix" 19026 prefix="$acl_final_prefix" 19027 acl_save_exec_prefix="$exec_prefix" 19028 exec_prefix="$acl_final_exec_prefix" 19029 eval x=\"$x\" 19030 exec_prefix="$acl_save_exec_prefix" 19031 prefix="$acl_save_prefix" 19032 19033 if test "X$x" = "X$element"; then 19034 haveit=yes 19035 break 19036 fi 19037 done 19038 if test -z "$haveit"; then 19039 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" 19040 fi 19041 done 19042 19043 fi 19044 19045 19046$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h 19047 19048 19049$as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h 19050 19051 fi 19052 19053 POSUB=po 19054 fi 19055 19056 19057 19058 INTLLIBS="$LIBINTL" 19059 19060 19061 19062 19063 19064 19065 19066 19067{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 19068$as_echo_n "checking for an ANSI C-conforming const... " >&6; } 19069if ${ac_cv_c_const+:} false; then : 19070 $as_echo_n "(cached) " >&6 19071else 19072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19073/* end confdefs.h. */ 19074 19075int 19076main () 19077{ 19078 19079#ifndef __cplusplus 19080 /* Ultrix mips cc rejects this sort of thing. */ 19081 typedef int charset[2]; 19082 const charset cs = { 0, 0 }; 19083 /* SunOS 4.1.1 cc rejects this. */ 19084 char const *const *pcpcc; 19085 char **ppc; 19086 /* NEC SVR4.0.2 mips cc rejects this. */ 19087 struct point {int x, y;}; 19088 static struct point const zero = {0,0}; 19089 /* AIX XL C 1.02.0.0 rejects this. 19090 It does not let you subtract one const X* pointer from another in 19091 an arm of an if-expression whose if-part is not a constant 19092 expression */ 19093 const char *g = "string"; 19094 pcpcc = &g + (g ? g-g : 0); 19095 /* HPUX 7.0 cc rejects these. */ 19096 ++pcpcc; 19097 ppc = (char**) pcpcc; 19098 pcpcc = (char const *const *) ppc; 19099 { /* SCO 3.2v4 cc rejects this sort of thing. */ 19100 char tx; 19101 char *t = &tx; 19102 char const *s = 0 ? (char *) 0 : (char const *) 0; 19103 19104 *t++ = 0; 19105 if (s) return 0; 19106 } 19107 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ 19108 int x[] = {25, 17}; 19109 const int *foo = &x[0]; 19110 ++foo; 19111 } 19112 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ 19113 typedef const int *iptr; 19114 iptr p = 0; 19115 ++p; 19116 } 19117 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying 19118 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ 19119 struct s { int j; const int *ap[3]; } bx; 19120 struct s *b = &bx; b->j = 5; 19121 } 19122 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ 19123 const int foo = 10; 19124 if (!foo) return 0; 19125 } 19126 return !cs[0] && !zero.x; 19127#endif 19128 19129 ; 19130 return 0; 19131} 19132_ACEOF 19133if ac_fn_c_try_compile "$LINENO"; then : 19134 ac_cv_c_const=yes 19135else 19136 ac_cv_c_const=no 19137fi 19138rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19139fi 19140{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 19141$as_echo "$ac_cv_c_const" >&6; } 19142if test $ac_cv_c_const = no; then 19143 19144$as_echo "#define const /**/" >>confdefs.h 19145 19146fi 19147 19148{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working volatile" >&5 19149$as_echo_n "checking for working volatile... " >&6; } 19150if ${ac_cv_c_volatile+:} false; then : 19151 $as_echo_n "(cached) " >&6 19152else 19153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19154/* end confdefs.h. */ 19155 19156int 19157main () 19158{ 19159 19160volatile int x; 19161int * volatile y = (int *) 0; 19162return !x && !y; 19163 ; 19164 return 0; 19165} 19166_ACEOF 19167if ac_fn_c_try_compile "$LINENO"; then : 19168 ac_cv_c_volatile=yes 19169else 19170 ac_cv_c_volatile=no 19171fi 19172rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19173fi 19174{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_volatile" >&5 19175$as_echo "$ac_cv_c_volatile" >&6; } 19176if test $ac_cv_c_volatile = no; then 19177 19178$as_echo "#define volatile /**/" >>confdefs.h 19179 19180fi 19181 19182 19183# Check whether --enable-largefile was given. 19184if test "${enable_largefile+set}" = set; then : 19185 enableval=$enable_largefile; 19186fi 19187 19188if test "$enable_largefile" != no; then 19189 19190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 19191$as_echo_n "checking for special C compiler options needed for large files... " >&6; } 19192if ${ac_cv_sys_largefile_CC+:} false; then : 19193 $as_echo_n "(cached) " >&6 19194else 19195 ac_cv_sys_largefile_CC=no 19196 if test "$GCC" != yes; then 19197 ac_save_CC=$CC 19198 while :; do 19199 # IRIX 6.2 and later do not support large files by default, 19200 # so use the C compiler's -n32 option if that helps. 19201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19202/* end confdefs.h. */ 19203#include <sys/types.h> 19204 /* Check that off_t can represent 2**63 - 1 correctly. 19205 We can't simply define LARGE_OFF_T to be 9223372036854775807, 19206 since some C++ compilers masquerading as C compilers 19207 incorrectly reject 9223372036854775807. */ 19208#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 19209 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 19210 && LARGE_OFF_T % 2147483647 == 1) 19211 ? 1 : -1]; 19212int 19213main () 19214{ 19215 19216 ; 19217 return 0; 19218} 19219_ACEOF 19220 if ac_fn_c_try_compile "$LINENO"; then : 19221 break 19222fi 19223rm -f core conftest.err conftest.$ac_objext 19224 CC="$CC -n32" 19225 if ac_fn_c_try_compile "$LINENO"; then : 19226 ac_cv_sys_largefile_CC=' -n32'; break 19227fi 19228rm -f core conftest.err conftest.$ac_objext 19229 break 19230 done 19231 CC=$ac_save_CC 19232 rm -f conftest.$ac_ext 19233 fi 19234fi 19235{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5 19236$as_echo "$ac_cv_sys_largefile_CC" >&6; } 19237 if test "$ac_cv_sys_largefile_CC" != no; then 19238 CC=$CC$ac_cv_sys_largefile_CC 19239 fi 19240 19241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 19242$as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } 19243if ${ac_cv_sys_file_offset_bits+:} false; then : 19244 $as_echo_n "(cached) " >&6 19245else 19246 while :; do 19247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19248/* end confdefs.h. */ 19249#include <sys/types.h> 19250 /* Check that off_t can represent 2**63 - 1 correctly. 19251 We can't simply define LARGE_OFF_T to be 9223372036854775807, 19252 since some C++ compilers masquerading as C compilers 19253 incorrectly reject 9223372036854775807. */ 19254#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 19255 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 19256 && LARGE_OFF_T % 2147483647 == 1) 19257 ? 1 : -1]; 19258int 19259main () 19260{ 19261 19262 ; 19263 return 0; 19264} 19265_ACEOF 19266if ac_fn_c_try_compile "$LINENO"; then : 19267 ac_cv_sys_file_offset_bits=no; break 19268fi 19269rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19271/* end confdefs.h. */ 19272#define _FILE_OFFSET_BITS 64 19273#include <sys/types.h> 19274 /* Check that off_t can represent 2**63 - 1 correctly. 19275 We can't simply define LARGE_OFF_T to be 9223372036854775807, 19276 since some C++ compilers masquerading as C compilers 19277 incorrectly reject 9223372036854775807. */ 19278#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 19279 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 19280 && LARGE_OFF_T % 2147483647 == 1) 19281 ? 1 : -1]; 19282int 19283main () 19284{ 19285 19286 ; 19287 return 0; 19288} 19289_ACEOF 19290if ac_fn_c_try_compile "$LINENO"; then : 19291 ac_cv_sys_file_offset_bits=64; break 19292fi 19293rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19294 ac_cv_sys_file_offset_bits=unknown 19295 break 19296done 19297fi 19298{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5 19299$as_echo "$ac_cv_sys_file_offset_bits" >&6; } 19300case $ac_cv_sys_file_offset_bits in #( 19301 no | unknown) ;; 19302 *) 19303cat >>confdefs.h <<_ACEOF 19304#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits 19305_ACEOF 19306;; 19307esac 19308rm -rf conftest* 19309 if test $ac_cv_sys_file_offset_bits = unknown; then 19310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 19311$as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } 19312if ${ac_cv_sys_large_files+:} false; then : 19313 $as_echo_n "(cached) " >&6 19314else 19315 while :; do 19316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19317/* end confdefs.h. */ 19318#include <sys/types.h> 19319 /* Check that off_t can represent 2**63 - 1 correctly. 19320 We can't simply define LARGE_OFF_T to be 9223372036854775807, 19321 since some C++ compilers masquerading as C compilers 19322 incorrectly reject 9223372036854775807. */ 19323#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 19324 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 19325 && LARGE_OFF_T % 2147483647 == 1) 19326 ? 1 : -1]; 19327int 19328main () 19329{ 19330 19331 ; 19332 return 0; 19333} 19334_ACEOF 19335if ac_fn_c_try_compile "$LINENO"; then : 19336 ac_cv_sys_large_files=no; break 19337fi 19338rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 19340/* end confdefs.h. */ 19341#define _LARGE_FILES 1 19342#include <sys/types.h> 19343 /* Check that off_t can represent 2**63 - 1 correctly. 19344 We can't simply define LARGE_OFF_T to be 9223372036854775807, 19345 since some C++ compilers masquerading as C compilers 19346 incorrectly reject 9223372036854775807. */ 19347#define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 19348 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 19349 && LARGE_OFF_T % 2147483647 == 1) 19350 ? 1 : -1]; 19351int 19352main () 19353{ 19354 19355 ; 19356 return 0; 19357} 19358_ACEOF 19359if ac_fn_c_try_compile "$LINENO"; then : 19360 ac_cv_sys_large_files=1; break 19361fi 19362rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 19363 ac_cv_sys_large_files=unknown 19364 break 19365done 19366fi 19367{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5 19368$as_echo "$ac_cv_sys_large_files" >&6; } 19369case $ac_cv_sys_large_files in #( 19370 no | unknown) ;; 19371 *) 19372cat >>confdefs.h <<_ACEOF 19373#define _LARGE_FILES $ac_cv_sys_large_files 19374_ACEOF 19375;; 19376esac 19377rm -rf conftest* 19378 fi 19379 19380 19381fi 19382 19383 19384 19385 19386 # Check whether --enable-shared-libs was given. 19387if test "${enable_shared_libs+set}" = set; then : 19388 enableval=$enable_shared_libs; ac_cv_enable_shared_libs=$enableval 19389else 19390 ac_cv_enable_shared_libs="yes" 19391fi 19392 19393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to disable disable shared library support" >&5 19394$as_echo_n "checking whether to disable disable shared library support... " >&6; } 19395if ${ac_cv_enable_shared_libs+:} false; then : 19396 $as_echo_n "(cached) " >&6 19397else 19398 ac_cv_enable_shared_libs="yes" 19399fi 19400{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_shared_libs" >&5 19401$as_echo "$ac_cv_enable_shared_libs" >&6; } 19402 19403 19404 19405 19406 # Check whether --enable-static-executables was given. 19407if test "${enable_static_executables+set}" = set; then : 19408 enableval=$enable_static_executables; ac_cv_enable_static_executables=$enableval 19409else 19410 ac_cv_enable_static_executables=no 19411fi 19412 19413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable build static executables (binaries)" >&5 19414$as_echo_n "checking whether to enable build static executables (binaries)... " >&6; } 19415if ${ac_cv_enable_static_executables+:} false; then : 19416 $as_echo_n "(cached) " >&6 19417else 19418 ac_cv_enable_static_executables=no 19419fi 19420{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_static_executables" >&5 19421$as_echo "$ac_cv_enable_static_executables" >&6; } 19422 19423 if test "x$ac_cv_enable_static_executables" != xno; then : 19424 STATIC_LDFLAGS="-all-static"; 19425 19426 19427 19428 ac_cv_enable_static_executables=yes 19429 enable_shared=no 19430fi 19431 19432 19433 19434 19435 # Check whether --enable-winapi was given. 19436if test "${enable_winapi+set}" = set; then : 19437 enableval=$enable_winapi; ac_cv_enable_winapi=$enableval 19438else 19439 ac_cv_enable_winapi=auto-detect 19440fi 19441 19442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable enable WINAPI support for cross-compilation" >&5 19443$as_echo_n "checking whether to enable enable WINAPI support for cross-compilation... " >&6; } 19444if ${ac_cv_enable_winapi+:} false; then : 19445 $as_echo_n "(cached) " >&6 19446else 19447 ac_cv_enable_winapi=auto-detect 19448fi 19449{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_winapi" >&5 19450$as_echo "$ac_cv_enable_winapi" >&6; } 19451 19452 if test "x$ac_cv_enable_winapi" = xauto-detect; then : 19453 ac_common_check_winapi_target_string="$target" 19454 19455 if test "x$ac_common_check_winapi_target_string" = x; then : 19456 ac_common_check_winapi_target_string="$host" 19457fi 19458 19459 case $ac_common_check_winapi_target_string in #( 19460 *mingw*) : 19461 { $as_echo "$as_me:${as_lineno-$LINENO}: detected MinGW enabling WINAPI support for cross-compilation" >&5 19462$as_echo "$as_me: detected MinGW enabling WINAPI support for cross-compilation" >&6;} 19463 ac_cv_enable_winapi=yes ;; #( 19464 *msys*) : 19465 { $as_echo "$as_me:${as_lineno-$LINENO}: detected MSYS enabling WINAPI support for cross-compilation" >&5 19466$as_echo "$as_me: detected MSYS enabling WINAPI support for cross-compilation" >&6;} 19467 ac_cv_enable_winapi=yes ;; #( 19468 *) : 19469 ac_cv_enable_winapi=no ;; #( 19470 *) : 19471 ;; 19472esac 19473 19474fi 19475 19476 19477 19478 19479 # Check whether --enable-wide-character-type was given. 19480if test "${enable_wide_character_type+set}" = set; then : 19481 enableval=$enable_wide_character_type; ac_cv_enable_wide_character_type=$enableval 19482else 19483 ac_cv_enable_wide_character_type=no 19484fi 19485 19486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable enable wide character type support" >&5 19487$as_echo_n "checking whether to enable enable wide character type support... " >&6; } 19488if ${ac_cv_enable_wide_character_type+:} false; then : 19489 $as_echo_n "(cached) " >&6 19490else 19491 ac_cv_enable_wide_character_type=no 19492fi 19493{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_wide_character_type" >&5 19494$as_echo "$ac_cv_enable_wide_character_type" >&6; } 19495 19496 19497 19498 19499 # Check whether --enable-verbose-output was given. 19500if test "${enable_verbose_output+set}" = set; then : 19501 enableval=$enable_verbose_output; ac_cv_enable_verbose_output=$enableval 19502else 19503 ac_cv_enable_verbose_output=no 19504fi 19505 19506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable enable verbose output" >&5 19507$as_echo_n "checking whether to enable enable verbose output... " >&6; } 19508if ${ac_cv_enable_verbose_output+:} false; then : 19509 $as_echo_n "(cached) " >&6 19510else 19511 ac_cv_enable_verbose_output=no 19512fi 19513{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_verbose_output" >&5 19514$as_echo "$ac_cv_enable_verbose_output" >&6; } 19515 19516 if test "x$ac_cv_enable_verbose_output" != xno ; then : 19517 19518$as_echo "#define HAVE_VERBOSE_OUTPUT 1" >>confdefs.h 19519 19520 19521 ac_cv_enable_verbose_output=yes 19522fi 19523 19524 19525 19526 19527 # Check whether --enable-debug-output was given. 19528if test "${enable_debug_output+set}" = set; then : 19529 enableval=$enable_debug_output; ac_cv_enable_debug_output=$enableval 19530else 19531 ac_cv_enable_debug_output=no 19532fi 19533 19534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable enable debug output" >&5 19535$as_echo_n "checking whether to enable enable debug output... " >&6; } 19536if ${ac_cv_enable_debug_output+:} false; then : 19537 $as_echo_n "(cached) " >&6 19538else 19539 ac_cv_enable_debug_output=no 19540fi 19541{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_debug_output" >&5 19542$as_echo "$ac_cv_enable_debug_output" >&6; } 19543 19544 if test "x$ac_cv_enable_debug_output" != xno ; then : 19545 19546$as_echo "#define HAVE_DEBUG_OUTPUT 1" >>confdefs.h 19547 19548 19549 ac_cv_enable_debug_output=yes 19550fi 19551 19552 19553if test "x$ac_cv_enable_winapi" = xyes; then : 19554 ac_cv_enable_wide_character_type=yes 19555fi 19556 19557 if test "x$ac_cv_enable_wide_character_type" = xyes; then : 19558 19559$as_echo "#define HAVE_WIDE_CHARACTER_TYPE 1" >>confdefs.h 19560 19561 HAVE_WIDE_CHARACTER_TYPE=1 19562 19563else 19564 HAVE_WIDE_CHARACTER_TYPE=0 19565 19566 19567fi 19568 19569 for ac_header in sys/types.h inttypes.h stdint.h wchar.h 19570do : 19571 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 19572ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 19573if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 19574 cat >>confdefs.h <<_ACEOF 19575#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 19576_ACEOF 19577 19578fi 19579 19580done 19581 19582 19583 if test "x$ac_cv_header_sys_types_h" = xyes; then : 19584 HAVE_SYS_TYPES_H=1 19585 19586else 19587 HAVE_SYS_TYPES_H=0 19588 19589 19590fi 19591 19592 if test "x$ac_cv_header_inttypes_h" = xyes; then : 19593 HAVE_INTTYPES_H=1 19594 19595else 19596 HAVE_INTTYPES_H=0 19597 19598 19599fi 19600 19601 if test "x$ac_cv_header_stdint_h" = xyes; then : 19602 HAVE_STDINT_H=1 19603 19604else 19605 HAVE_STDINT_H=0 19606 19607 19608fi 19609 19610 if test "x$ac_cv_header_wchar_h" = xyes; then : 19611 HAVE_WCHAR_H=1 19612 19613else 19614 HAVE_WCHAR_H=0 19615 19616 19617fi 19618 19619 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default" 19620if test "x$ac_cv_type_mode_t" = xyes; then : 19621 19622else 19623 19624cat >>confdefs.h <<_ACEOF 19625#define mode_t int 19626_ACEOF 19627 19628fi 19629 19630 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default" 19631if test "x$ac_cv_type_off_t" = xyes; then : 19632 19633else 19634 19635cat >>confdefs.h <<_ACEOF 19636#define off_t long int 19637_ACEOF 19638 19639fi 19640 19641 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" 19642if test "x$ac_cv_type_size_t" = xyes; then : 19643 19644else 19645 19646cat >>confdefs.h <<_ACEOF 19647#define size_t unsigned int 19648_ACEOF 19649 19650fi 19651 19652 19653 ac_fn_c_check_type "$LINENO" "size32_t" "ac_cv_type_size32_t" "$ac_includes_default" 19654if test "x$ac_cv_type_size32_t" = xyes; then : 19655 HAVE_SIZE32_T=1 19656 19657else 19658 HAVE_SIZE32_T=0 19659 19660 19661fi 19662 19663 19664 ac_fn_c_check_type "$LINENO" "ssize32_t" "ac_cv_type_ssize32_t" "$ac_includes_default" 19665if test "x$ac_cv_type_ssize32_t" = xyes; then : 19666 HAVE_SSIZE32_T=1 19667 19668else 19669 HAVE_SSIZE32_T=0 19670 19671 19672fi 19673 19674 19675 ac_fn_c_check_type "$LINENO" "size64_t" "ac_cv_type_size64_t" "$ac_includes_default" 19676if test "x$ac_cv_type_size64_t" = xyes; then : 19677 HAVE_SIZE64_T=1 19678 19679else 19680 HAVE_SIZE64_T=0 19681 19682 19683fi 19684 19685 19686 ac_fn_c_check_type "$LINENO" "ssize64_t" "ac_cv_type_ssize64_t" "$ac_includes_default" 19687if test "x$ac_cv_type_ssize64_t" = xyes; then : 19688 HAVE_SSIZE64_T=1 19689 19690else 19691 HAVE_SSIZE64_T=0 19692 19693 19694fi 19695 19696 19697 ac_fn_c_check_type "$LINENO" "off64_t" "ac_cv_type_off64_t" "$ac_includes_default" 19698if test "x$ac_cv_type_off64_t" = xyes; then : 19699 HAVE_OFF64_T=1 19700 19701else 19702 HAVE_OFF64_T=0 19703 19704 19705fi 19706 19707 19708 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default" 19709if test "x$ac_cv_type_ssize_t" = xyes; then : 19710 19711fi 19712 19713 ac_fn_c_check_type "$LINENO" "u64" "ac_cv_type_u64" "$ac_includes_default" 19714if test "x$ac_cv_type_u64" = xyes; then : 19715 19716fi 19717 19718 19719 # The cast to long int works around a bug in the HP C Compiler 19720# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 19721# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 19722# This bug is HP SR number 8606223364. 19723{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5 19724$as_echo_n "checking size of int... " >&6; } 19725if ${ac_cv_sizeof_int+:} false; then : 19726 $as_echo_n "(cached) " >&6 19727else 19728 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then : 19729 19730else 19731 if test "$ac_cv_type_int" = yes; then 19732 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 19733$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 19734as_fn_error 77 "cannot compute sizeof (int) 19735See \`config.log' for more details" "$LINENO" 5; } 19736 else 19737 ac_cv_sizeof_int=0 19738 fi 19739fi 19740 19741fi 19742{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5 19743$as_echo "$ac_cv_sizeof_int" >&6; } 19744 19745 19746 19747cat >>confdefs.h <<_ACEOF 19748#define SIZEOF_INT $ac_cv_sizeof_int 19749_ACEOF 19750 19751 19752 # The cast to long int works around a bug in the HP C Compiler 19753# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 19754# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 19755# This bug is HP SR number 8606223364. 19756{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 19757$as_echo_n "checking size of long... " >&6; } 19758if ${ac_cv_sizeof_long+:} false; then : 19759 $as_echo_n "(cached) " >&6 19760else 19761 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then : 19762 19763else 19764 if test "$ac_cv_type_long" = yes; then 19765 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 19766$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 19767as_fn_error 77 "cannot compute sizeof (long) 19768See \`config.log' for more details" "$LINENO" 5; } 19769 else 19770 ac_cv_sizeof_long=0 19771 fi 19772fi 19773 19774fi 19775{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 19776$as_echo "$ac_cv_sizeof_long" >&6; } 19777 19778 19779 19780cat >>confdefs.h <<_ACEOF 19781#define SIZEOF_LONG $ac_cv_sizeof_long 19782_ACEOF 19783 19784 19785 # The cast to long int works around a bug in the HP C Compiler 19786# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 19787# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 19788# This bug is HP SR number 8606223364. 19789{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of off_t" >&5 19790$as_echo_n "checking size of off_t... " >&6; } 19791if ${ac_cv_sizeof_off_t+:} false; then : 19792 $as_echo_n "(cached) " >&6 19793else 19794 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (off_t))" "ac_cv_sizeof_off_t" "$ac_includes_default"; then : 19795 19796else 19797 if test "$ac_cv_type_off_t" = yes; then 19798 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 19799$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 19800as_fn_error 77 "cannot compute sizeof (off_t) 19801See \`config.log' for more details" "$LINENO" 5; } 19802 else 19803 ac_cv_sizeof_off_t=0 19804 fi 19805fi 19806 19807fi 19808{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_off_t" >&5 19809$as_echo "$ac_cv_sizeof_off_t" >&6; } 19810 19811 19812 19813cat >>confdefs.h <<_ACEOF 19814#define SIZEOF_OFF_T $ac_cv_sizeof_off_t 19815_ACEOF 19816 19817 19818 # The cast to long int works around a bug in the HP C Compiler 19819# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 19820# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 19821# This bug is HP SR number 8606223364. 19822{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5 19823$as_echo_n "checking size of size_t... " >&6; } 19824if ${ac_cv_sizeof_size_t+:} false; then : 19825 $as_echo_n "(cached) " >&6 19826else 19827 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t" "$ac_includes_default"; then : 19828 19829else 19830 if test "$ac_cv_type_size_t" = yes; then 19831 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 19832$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 19833as_fn_error 77 "cannot compute sizeof (size_t) 19834See \`config.log' for more details" "$LINENO" 5; } 19835 else 19836 ac_cv_sizeof_size_t=0 19837 fi 19838fi 19839 19840fi 19841{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5 19842$as_echo "$ac_cv_sizeof_size_t" >&6; } 19843 19844 19845 19846cat >>confdefs.h <<_ACEOF 19847#define SIZEOF_SIZE_T $ac_cv_sizeof_size_t 19848_ACEOF 19849 19850 19851 19852 if test "x$ac_cv_header_wchar_h" = xyes; then : 19853 # The cast to long int works around a bug in the HP C Compiler 19854# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 19855# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 19856# This bug is HP SR number 8606223364. 19857{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of wchar_t" >&5 19858$as_echo_n "checking size of wchar_t... " >&6; } 19859if ${ac_cv_sizeof_wchar_t+:} false; then : 19860 $as_echo_n "(cached) " >&6 19861else 19862 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (wchar_t))" "ac_cv_sizeof_wchar_t" "$ac_includes_default"; then : 19863 19864else 19865 if test "$ac_cv_type_wchar_t" = yes; then 19866 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 19867$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 19868as_fn_error 77 "cannot compute sizeof (wchar_t) 19869See \`config.log' for more details" "$LINENO" 5; } 19870 else 19871 ac_cv_sizeof_wchar_t=0 19872 fi 19873fi 19874 19875fi 19876{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_wchar_t" >&5 19877$as_echo "$ac_cv_sizeof_wchar_t" >&6; } 19878 19879 19880 19881cat >>confdefs.h <<_ACEOF 19882#define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t 19883_ACEOF 19884 19885 19886fi 19887 19888 19889 19890 if test "x$ac_cv_enable_winapi" = xyes; then : 19891 for ac_header in windows.h 19892do : 19893 ac_fn_c_check_header_mongrel "$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default" 19894if test "x$ac_cv_header_windows_h" = xyes; then : 19895 cat >>confdefs.h <<_ACEOF 19896#define HAVE_WINDOWS_H 1 19897_ACEOF 19898 19899fi 19900 19901done 19902 19903 19904 if test "x$ac_cv_header_windows_h" = xno; then : 19905 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 19906$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 19907as_fn_error 1 "Missing header: windows.h header is required to compile with winapi support 19908See \`config.log' for more details" "$LINENO" 5; } 19909 19910fi 19911 19912fi 19913 19914 if test "x$ac_cv_enable_winapi" = xno; then : 19915 for ac_header in libintl.h 19916do : 19917 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default" 19918if test "x$ac_cv_header_libintl_h" = xyes; then : 19919 cat >>confdefs.h <<_ACEOF 19920#define HAVE_LIBINTL_H 1 19921_ACEOF 19922 19923fi 19924 19925done 19926 19927 19928fi 19929 19930 for ac_header in limits.h 19931do : 19932 ac_fn_c_check_header_mongrel "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default" 19933if test "x$ac_cv_header_limits_h" = xyes; then : 19934 cat >>confdefs.h <<_ACEOF 19935#define HAVE_LIMITS_H 1 19936_ACEOF 19937 19938fi 19939 19940done 19941 19942 19943 for ac_header in stdlib.h string.h 19944do : 19945 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 19946ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 19947if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 19948 cat >>confdefs.h <<_ACEOF 19949#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 19950_ACEOF 19951 19952fi 19953 19954done 19955 19956 19957 for ac_header in wchar.h wctype.h 19958do : 19959 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 19960ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 19961if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 19962 cat >>confdefs.h <<_ACEOF 19963#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 19964_ACEOF 19965 19966fi 19967 19968done 19969 19970 19971 for ac_func in fclose feof fgets fopen fread fseeko fseeko64 fwrite vfprintf 19972do : 19973 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 19974ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 19975if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 19976 cat >>confdefs.h <<_ACEOF 19977#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 19978_ACEOF 19979 19980fi 19981done 19982 19983 19984 if test "x$ac_cv_func_fclose" != xyes; then : 19985 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 19986$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 19987as_fn_error 1 "Missing function: fclose 19988See \`config.log' for more details" "$LINENO" 5; } 19989 19990fi 19991 19992 if test "x$ac_cv_func_feof" != xyes; then : 19993 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 19994$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 19995as_fn_error 1 "Missing function: feof 19996See \`config.log' for more details" "$LINENO" 5; } 19997 19998fi 19999 20000 if test "x$ac_cv_func_fgets" != xyes; then : 20001 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20002$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20003as_fn_error 1 "Missing function: fgets 20004See \`config.log' for more details" "$LINENO" 5; } 20005 20006fi 20007 20008 if test "x$ac_cv_func_fopen" != xyes; then : 20009 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20010$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20011as_fn_error 1 "Missing function: fopen 20012See \`config.log' for more details" "$LINENO" 5; } 20013 20014fi 20015 20016 if test "x$ac_cv_func_fread" != xyes; then : 20017 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20018$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20019as_fn_error 1 "Missing function: fread 20020See \`config.log' for more details" "$LINENO" 5; } 20021 20022fi 20023 20024 if test "x$ac_cv_func_fseeko" != xyes && test "x$ac_cv_func_fseeko64" != xyes; then : 20025 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20026$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20027as_fn_error 1 "Missing function: fseeko and fseeko64 20028See \`config.log' for more details" "$LINENO" 5; } 20029 20030fi 20031 20032 if test "x$ac_cv_func_fwrite" != xyes; then : 20033 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20034$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20035as_fn_error 1 "Missing function: fwrite 20036See \`config.log' for more details" "$LINENO" 5; } 20037 20038fi 20039 20040 if test "x$ac_cv_func_vfprintf" != xyes; then : 20041 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20042$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20043as_fn_error 1 "Missing function: vfprintf 20044See \`config.log' for more details" "$LINENO" 5; } 20045 20046fi 20047 20048 if test "x$ac_cv_enable_wide_character_type" != xno; then : 20049 for ac_func in fgetws 20050do : 20051 ac_fn_c_check_func "$LINENO" "fgetws" "ac_cv_func_fgetws" 20052if test "x$ac_cv_func_fgetws" = xyes; then : 20053 cat >>confdefs.h <<_ACEOF 20054#define HAVE_FGETWS 1 20055_ACEOF 20056 20057fi 20058done 20059 20060 20061 if test "x$ac_cv_func_fgetws" != xyes; then : 20062 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20063$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20064as_fn_error 1 "Missing function: fgetws 20065See \`config.log' for more details" "$LINENO" 5; } 20066 20067fi 20068 20069fi 20070 20071 for ac_func in free malloc memcmp memcpy memset realloc 20072do : 20073 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 20074ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 20075if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 20076 cat >>confdefs.h <<_ACEOF 20077#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 20078_ACEOF 20079 20080fi 20081done 20082 20083 20084 if test "x$ac_cv_func_free" != xyes; then : 20085 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20086$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20087as_fn_error 1 "Missing function: free 20088See \`config.log' for more details" "$LINENO" 5; } 20089 20090fi 20091 20092 if test "x$ac_cv_func_malloc" != xyes; then : 20093 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20094$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20095as_fn_error 1 "Missing function: malloc 20096See \`config.log' for more details" "$LINENO" 5; } 20097 20098fi 20099 20100 if test "x$ac_cv_func_memcmp" != xyes; then : 20101 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20102$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20103as_fn_error 1 "Missing function: memcmp 20104See \`config.log' for more details" "$LINENO" 5; } 20105 20106fi 20107 20108 if test "x$ac_cv_func_memcpy" != xyes; then : 20109 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20110$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20111as_fn_error 1 "Missing function: memcpy 20112See \`config.log' for more details" "$LINENO" 5; } 20113 20114fi 20115 20116 if test "x$ac_cv_func_memset" != xyes; then : 20117 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20118$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20119as_fn_error 1 "Missing function: memset 20120See \`config.log' for more details" "$LINENO" 5; } 20121 20122fi 20123 20124 if test "x$ac_cv_func_realloc" != xyes; then : 20125 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20126$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20127as_fn_error 1 "Missing function: realloc 20128See \`config.log' for more details" "$LINENO" 5; } 20129 20130fi 20131 20132 for ac_func in memchr memrchr snprintf sscanf strcasecmp strchr strlen strncasecmp strncmp strncpy strnicmp strrchr strstr vsnprintf 20133do : 20134 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 20135ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 20136if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 20137 cat >>confdefs.h <<_ACEOF 20138#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 20139_ACEOF 20140 20141fi 20142done 20143 20144 20145 if test "x$ac_cv_func_memchr" != xyes && test "x$ac_cv_func_strchr" != xyes; then : 20146 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20147$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20148as_fn_error 1 "Missing functions: memchr and strchr 20149See \`config.log' for more details" "$LINENO" 5; } 20150 20151fi 20152 20153 if test "x$ac_cv_func_memcmp" != xyes && test "x$ac_cv_func_strncmp" != xyes; then : 20154 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20155$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20156as_fn_error 1 "Missing functions: memcmp and strncmp 20157See \`config.log' for more details" "$LINENO" 5; } 20158 20159fi 20160 20161 if test "x$ac_cv_func_memcpy" != xyes && test "x$ac_cv_func_strncpy" != xyes; then : 20162 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20163$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20164as_fn_error 1 "Missing functions: memcpy and strncpy 20165See \`config.log' for more details" "$LINENO" 5; } 20166 20167fi 20168 20169 if test "x$ac_cv_func_memrchr" = xyes; then : 20170 ac_fn_c_check_decl "$LINENO" "memrchr" "ac_cv_have_decl_memrchr" "$ac_includes_default" 20171if test "x$ac_cv_have_decl_memrchr" = xyes; then : 20172 ac_have_decl=1 20173else 20174 ac_have_decl=0 20175fi 20176 20177cat >>confdefs.h <<_ACEOF 20178#define HAVE_DECL_MEMRCHR $ac_have_decl 20179_ACEOF 20180 20181 20182 if test "x$ac_cv_decl_memrchr" != xyes; then : 20183 ac_cv_func_memrchr=no 20184fi 20185 20186fi 20187 20188 if test "x$ac_cv_func_memrchr" != xyes && test "x$ac_cv_func_strrchr" != xyes; then : 20189 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20190$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20191as_fn_error 1 "Missing functions: strrchr and memrchr 20192See \`config.log' for more details" "$LINENO" 5; } 20193 20194fi 20195 20196 if test "x$ac_cv_func_snprintf" != xyes; then : 20197 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20198$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20199as_fn_error 1 "Missing function: snprintf 20200See \`config.log' for more details" "$LINENO" 5; } 20201 20202fi 20203 20204 if test "x$ac_cv_func_sscanf" != xyes; then : 20205 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20206$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20207as_fn_error 1 "Missing function: sscanf 20208See \`config.log' for more details" "$LINENO" 5; } 20209 20210fi 20211 20212 if test "x$ac_cv_func_strlen" != xyes; then : 20213 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20214$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20215as_fn_error 1 "Missing function: strlen 20216See \`config.log' for more details" "$LINENO" 5; } 20217 20218fi 20219 20220 if test "x$ac_cv_func_strcasecmp" != xyes && test "x$ac_cv_func_strncasecmp" != xyes && test "x$ac_cv_func_strnicmp" != xyes; then : 20221 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20222$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20223as_fn_error 1 "Missing functions: strncasecmp, strcasecmp and strnicmp 20224See \`config.log' for more details" "$LINENO" 5; } 20225 20226fi 20227 20228 if test "x$ac_cv_func_strstr" != xyes; then : 20229 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20230$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20231as_fn_error 1 "Missing function: strstr 20232See \`config.log' for more details" "$LINENO" 5; } 20233 20234fi 20235 20236 if test "x$ac_cv_func_vsnprintf" != xyes; then : 20237 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20238$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20239as_fn_error 1 "Missing function: vsnprintf 20240See \`config.log' for more details" "$LINENO" 5; } 20241 20242fi 20243 20244 if test "x$ac_cv_enable_wide_character_type" != xno; then : 20245 for ac_func in swprintf towlower wcscasecmp wcschr wcslen wcsncasecmp wcsncmp wcsncpy wcsnicmp wcsrchr wcsstr wmemchr wmemcmp wmemcpy wmemrchr 20246do : 20247 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 20248ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 20249if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 20250 cat >>confdefs.h <<_ACEOF 20251#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 20252_ACEOF 20253 20254fi 20255done 20256 20257 20258 if test "x$ac_cv_func_swprintf" != xyes; then : 20259 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20260$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20261as_fn_error 1 "Missing function: swprintf 20262See \`config.log' for more details" "$LINENO" 5; } 20263 20264fi 20265 20266 if test "x$ac_cv_func_wmemchr" != xyes && test "x$ac_cv_func_wcschr" != xyes; then : 20267 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20268$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20269as_fn_error 1 "Missing functions: wmemchr and wcschr 20270See \`config.log' for more details" "$LINENO" 5; } 20271 20272fi 20273 20274 if test "x$ac_cv_func_wmemcmp" != xyes && test "x$ac_cv_func_wcsncmp" != xyes; then : 20275 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20276$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20277as_fn_error 1 "Missing functions: wmemcmp and wcsncmp 20278See \`config.log' for more details" "$LINENO" 5; } 20279 20280fi 20281 20282 if test "x$ac_cv_func_wmemcpy" != xyes && test "x$ac_cv_func_wcsncpy" != xyes; then : 20283 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20284$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20285as_fn_error 1 "Missing functions: wmemcpy and wcsncpy 20286See \`config.log' for more details" "$LINENO" 5; } 20287 20288fi 20289 20290 if test "x$ac_cv_func_wmemrchr" != xyes && test "x$ac_cv_func_wcsrchr" != xyes; then : 20291 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20292$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20293as_fn_error 1 "Missing functions: wmemrchr and wcsrchr 20294See \`config.log' for more details" "$LINENO" 5; } 20295 20296fi 20297 20298 if test "x$ac_cv_func_wcslen" != xyes; then : 20299 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20300$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20301as_fn_error 1 "Missing function: wcslen 20302See \`config.log' for more details" "$LINENO" 5; } 20303 20304fi 20305 20306 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 : 20307 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20308$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20309as_fn_error 1 "Missing functions: wcsncasecmp, wcscasecmp, wcsnicmp and towlower 20310See \`config.log' for more details" "$LINENO" 5; } 20311 20312fi 20313 20314 if test "x$ac_cv_func_wcsstr" != xyes; then : 20315 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20316$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20317as_fn_error 1 "Missing function: wcsstr 20318See \`config.log' for more details" "$LINENO" 5; } 20319 20320fi 20321 20322fi 20323 20324 20325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports the conversion specifier \"%jd\"" >&5 20326$as_echo_n "checking whether printf supports the conversion specifier \"%jd\"... " >&6; } 20327 20328 SAVE_CFLAGS="$CFLAGS" 20329 CFLAGS="$CFLAGS -Wall -Werror" 20330 ac_ext=c 20331ac_cpp='$CPP $CPPFLAGS' 20332ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 20333ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 20334ac_compiler_gnu=$ac_cv_c_compiler_gnu 20335 20336 20337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20338/* end confdefs.h. */ 20339#include <stdio.h> 20340int 20341main () 20342{ 20343printf( "%jd" ); 20344 ; 20345 return 0; 20346} 20347_ACEOF 20348if ac_fn_c_try_link "$LINENO"; then : 20349 ac_cv_cv_have_printf_jd=no 20350else 20351 ac_cv_cv_have_printf_jd=yes 20352fi 20353rm -f core conftest.err conftest.$ac_objext \ 20354 conftest$ac_exeext conftest.$ac_ext 20355 20356 if test "x$ac_cv_cv_have_printf_jd" = xyes; then : 20357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20358/* end confdefs.h. */ 20359#include <sys/types.h> 20360#include <stdio.h> 20361int 20362main () 20363{ 20364printf( "%jd", (off_t) 10 ); 20365 ; 20366 return 0; 20367} 20368_ACEOF 20369if ac_fn_c_try_link "$LINENO"; then : 20370 ac_cv_cv_have_printf_jd=yes 20371else 20372 ac_cv_cv_have_printf_jd=no 20373fi 20374rm -f core conftest.err conftest.$ac_objext \ 20375 conftest$ac_exeext conftest.$ac_ext 20376 20377fi 20378 20379 if test "x$ac_cv_cv_have_printf_jd" = xyes; then : 20380 if test "$cross_compiling" = yes; then : 20381 ac_cv_cv_have_printf_jd=undetermined 20382else 20383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20384/* end confdefs.h. */ 20385#include <sys/types.h> 20386#include <stdio.h> 20387int 20388main () 20389{ 20390char string[ 3 ]; 20391if( snprintf( string, 3, "%jd", (off_t) 10 ) < 0 ) return( 1 ); 20392if( ( string[ 0 ] != '1' ) || ( string[ 1 ] != '0' ) ) return( 1 ); 20393 ; 20394 return 0; 20395} 20396_ACEOF 20397if ac_fn_c_try_run "$LINENO"; then : 20398 ac_cv_cv_have_printf_jd=yes 20399else 20400 ac_cv_cv_have_printf_jd=no 20401fi 20402rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 20403 conftest.$ac_objext conftest.beam conftest.$ac_ext 20404fi 20405 20406 20407fi 20408 20409 ac_ext=c 20410ac_cpp='$CPP $CPPFLAGS' 20411ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 20412ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 20413ac_compiler_gnu=$ac_cv_c_compiler_gnu 20414 20415 CFLAGS="$SAVE_CFLAGS" 20416 20417 if test "x$ac_cv_cv_have_printf_jd" = xyes; then : 20418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 20419$as_echo "yes" >&6; } 20420 20421$as_echo "#define HAVE_PRINTF_JD 1" >>confdefs.h 20422 20423else 20424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cv_have_printf_jd" >&5 20425$as_echo "$ac_cv_cv_have_printf_jd" >&6; } 20426 20427fi 20428 20429 20430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether printf supports the conversion specifier \"%zd\"" >&5 20431$as_echo_n "checking whether printf supports the conversion specifier \"%zd\"... " >&6; } 20432 20433 SAVE_CFLAGS="$CFLAGS" 20434 CFLAGS="$CFLAGS -Wall -Werror" 20435 ac_ext=c 20436ac_cpp='$CPP $CPPFLAGS' 20437ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 20438ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 20439ac_compiler_gnu=$ac_cv_c_compiler_gnu 20440 20441 20442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20443/* end confdefs.h. */ 20444#include <stdio.h> 20445int 20446main () 20447{ 20448printf( "%zd" ); 20449 ; 20450 return 0; 20451} 20452_ACEOF 20453if ac_fn_c_try_link "$LINENO"; then : 20454 ac_cv_cv_have_printf_zd=no 20455else 20456 ac_cv_cv_have_printf_zd=yes 20457fi 20458rm -f core conftest.err conftest.$ac_objext \ 20459 conftest$ac_exeext conftest.$ac_ext 20460 20461 if test "x$ac_cv_cv_have_printf_zd" = xyes; then : 20462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20463/* end confdefs.h. */ 20464#include <sys/types.h> 20465#include <stdio.h> 20466int 20467main () 20468{ 20469printf( "%zd", (size_t) 10 ); 20470 ; 20471 return 0; 20472} 20473_ACEOF 20474if ac_fn_c_try_link "$LINENO"; then : 20475 ac_cv_cv_have_printf_zd=yes 20476else 20477 ac_cv_cv_have_printf_zd=no 20478fi 20479rm -f core conftest.err conftest.$ac_objext \ 20480 conftest$ac_exeext conftest.$ac_ext 20481 20482fi 20483 20484 if test "x$ac_cv_cv_have_printf_zd" = xyes; then : 20485 if test "$cross_compiling" = yes; then : 20486 ac_cv_cv_have_printf_zd=undetermined 20487else 20488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20489/* end confdefs.h. */ 20490#include <sys/types.h> 20491#include <stdio.h> 20492int 20493main () 20494{ 20495char string[ 3 ]; 20496if( snprintf( string, 3, "%zd", (size_t) 10 ) < 0 ) return( 1 ); 20497if( ( string[ 0 ] != '1' ) || ( string[ 1 ] != '0' ) ) return( 1 ); 20498 ; 20499 return 0; 20500} 20501_ACEOF 20502if ac_fn_c_try_run "$LINENO"; then : 20503 ac_cv_cv_have_printf_zd=yes 20504else 20505 ac_cv_cv_have_printf_zd=no 20506fi 20507rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 20508 conftest.$ac_objext conftest.beam conftest.$ac_ext 20509fi 20510 20511 20512fi 20513 20514 ac_ext=c 20515ac_cpp='$CPP $CPPFLAGS' 20516ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 20517ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 20518ac_compiler_gnu=$ac_cv_c_compiler_gnu 20519 20520 CFLAGS="$SAVE_CFLAGS" 20521 20522 if test "x$ac_cv_cv_have_printf_zd" = xyes; then : 20523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 20524$as_echo "yes" >&6; } 20525 20526$as_echo "#define HAVE_PRINTF_ZD 1" >>confdefs.h 20527 20528else 20529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cv_have_printf_zd" >&5 20530$as_echo "$ac_cv_cv_have_printf_zd" >&6; } 20531 20532fi 20533 20534 20535 20536 20537 20538 20539 20540 20541 20542 20543if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 20544 if test -n "$ac_tool_prefix"; then 20545 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 20546set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 20547{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 20548$as_echo_n "checking for $ac_word... " >&6; } 20549if ${ac_cv_path_PKG_CONFIG+:} false; then : 20550 $as_echo_n "(cached) " >&6 20551else 20552 case $PKG_CONFIG in 20553 [\\/]* | ?:[\\/]*) 20554 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 20555 ;; 20556 *) 20557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 20558for as_dir in $PATH 20559do 20560 IFS=$as_save_IFS 20561 test -z "$as_dir" && as_dir=. 20562 for ac_exec_ext in '' $ac_executable_extensions; do 20563 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 20564 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 20565 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 20566 break 2 20567 fi 20568done 20569 done 20570IFS=$as_save_IFS 20571 20572 ;; 20573esac 20574fi 20575PKG_CONFIG=$ac_cv_path_PKG_CONFIG 20576if test -n "$PKG_CONFIG"; then 20577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 20578$as_echo "$PKG_CONFIG" >&6; } 20579else 20580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 20581$as_echo "no" >&6; } 20582fi 20583 20584 20585fi 20586if test -z "$ac_cv_path_PKG_CONFIG"; then 20587 ac_pt_PKG_CONFIG=$PKG_CONFIG 20588 # Extract the first word of "pkg-config", so it can be a program name with args. 20589set dummy pkg-config; ac_word=$2 20590{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 20591$as_echo_n "checking for $ac_word... " >&6; } 20592if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 20593 $as_echo_n "(cached) " >&6 20594else 20595 case $ac_pt_PKG_CONFIG in 20596 [\\/]* | ?:[\\/]*) 20597 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 20598 ;; 20599 *) 20600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 20601for as_dir in $PATH 20602do 20603 IFS=$as_save_IFS 20604 test -z "$as_dir" && as_dir=. 20605 for ac_exec_ext in '' $ac_executable_extensions; do 20606 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 20607 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 20608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 20609 break 2 20610 fi 20611done 20612 done 20613IFS=$as_save_IFS 20614 20615 ;; 20616esac 20617fi 20618ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 20619if test -n "$ac_pt_PKG_CONFIG"; then 20620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 20621$as_echo "$ac_pt_PKG_CONFIG" >&6; } 20622else 20623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 20624$as_echo "no" >&6; } 20625fi 20626 20627 if test "x$ac_pt_PKG_CONFIG" = x; then 20628 PKG_CONFIG="" 20629 else 20630 case $cross_compiling:$ac_tool_warned in 20631yes:) 20632{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 20633$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 20634ac_tool_warned=yes ;; 20635esac 20636 PKG_CONFIG=$ac_pt_PKG_CONFIG 20637 fi 20638else 20639 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 20640fi 20641 20642fi 20643if test -n "$PKG_CONFIG"; then 20644 _pkg_min_version=0.9.0 20645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 20646$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 20647 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 20648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 20649$as_echo "yes" >&6; } 20650 else 20651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 20652$as_echo "no" >&6; } 20653 PKG_CONFIG="" 20654 fi 20655fi 20656 20657 20658# Check whether --with-libcerror was given. 20659if test "${with_libcerror+set}" = set; then : 20660 withval=$with_libcerror; ac_cv_with_libcerror=$withval 20661else 20662 ac_cv_with_libcerror=auto-detect 20663fi 20664 20665 { $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 20666$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; } 20667if ${ac_cv_with_libcerror+:} false; then : 20668 $as_echo_n "(cached) " >&6 20669else 20670 ac_cv_with_libcerror=auto-detect 20671fi 20672{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libcerror" >&5 20673$as_echo "$ac_cv_with_libcerror" >&6; } 20674 20675 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libcerror" = xno; then : 20676 ac_cv_libcerror=no 20677else 20678 ac_cv_libcerror=check 20679 if test "x$ac_cv_with_libcerror" != x && test "x$ac_cv_with_libcerror" != xauto-detect; then : 20680 if test -d "$ac_cv_with_libcerror"; then : 20681 CFLAGS="$CFLAGS -I${ac_cv_with_libcerror}/include" 20682 LDFLAGS="$LDFLAGS -L${ac_cv_with_libcerror}/lib" 20683else 20684 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 20685$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 20686as_fn_error 1 "no such directory: $ac_cv_with_libcerror 20687See \`config.log' for more details" "$LINENO" 5; } 20688 20689fi 20690 20691else 20692 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 20693 20694pkg_failed=no 20695{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror" >&5 20696$as_echo_n "checking for libcerror... " >&6; } 20697 20698if test -n "$libcerror_CFLAGS"; then 20699 pkg_cv_libcerror_CFLAGS="$libcerror_CFLAGS" 20700 elif test -n "$PKG_CONFIG"; then 20701 if test -n "$PKG_CONFIG" && \ 20702 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcerror >= 20120425\""; } >&5 20703 ($PKG_CONFIG --exists --print-errors "libcerror >= 20120425") 2>&5 20704 ac_status=$? 20705 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 20706 test $ac_status = 0; }; then 20707 pkg_cv_libcerror_CFLAGS=`$PKG_CONFIG --cflags "libcerror >= 20120425" 2>/dev/null` 20708 test "x$?" != "x0" && pkg_failed=yes 20709else 20710 pkg_failed=yes 20711fi 20712 else 20713 pkg_failed=untried 20714fi 20715if test -n "$libcerror_LIBS"; then 20716 pkg_cv_libcerror_LIBS="$libcerror_LIBS" 20717 elif test -n "$PKG_CONFIG"; then 20718 if test -n "$PKG_CONFIG" && \ 20719 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcerror >= 20120425\""; } >&5 20720 ($PKG_CONFIG --exists --print-errors "libcerror >= 20120425") 2>&5 20721 ac_status=$? 20722 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 20723 test $ac_status = 0; }; then 20724 pkg_cv_libcerror_LIBS=`$PKG_CONFIG --libs "libcerror >= 20120425" 2>/dev/null` 20725 test "x$?" != "x0" && pkg_failed=yes 20726else 20727 pkg_failed=yes 20728fi 20729 else 20730 pkg_failed=untried 20731fi 20732 20733 20734 20735if test $pkg_failed = yes; then 20736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 20737$as_echo "no" >&6; } 20738 20739if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 20740 _pkg_short_errors_supported=yes 20741else 20742 _pkg_short_errors_supported=no 20743fi 20744 if test $_pkg_short_errors_supported = yes; then 20745 libcerror_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcerror >= 20120425" 2>&1` 20746 else 20747 libcerror_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcerror >= 20120425" 2>&1` 20748 fi 20749 # Put the nasty error message in config.log where it belongs 20750 echo "$libcerror_PKG_ERRORS" >&5 20751 20752 ac_cv_libcerror=check 20753elif test $pkg_failed = untried; then 20754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 20755$as_echo "no" >&6; } 20756 ac_cv_libcerror=check 20757else 20758 libcerror_CFLAGS=$pkg_cv_libcerror_CFLAGS 20759 libcerror_LIBS=$pkg_cv_libcerror_LIBS 20760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 20761$as_echo "yes" >&6; } 20762 ac_cv_libcerror=yes 20763fi 20764 20765fi 20766 if test "x$ac_cv_libcerror" = xyes; then : 20767 ac_cv_libcerror_CPPFLAGS="$pkg_cv_libcerror_CFLAGS" 20768 ac_cv_libcerror_LIBADD="$pkg_cv_libcerror_LIBS" 20769fi 20770 20771fi 20772 20773 if test "x$ac_cv_libcerror" = xcheck; then : 20774 for ac_header in libcerror.h 20775do : 20776 ac_fn_c_check_header_mongrel "$LINENO" "libcerror.h" "ac_cv_header_libcerror_h" "$ac_includes_default" 20777if test "x$ac_cv_header_libcerror_h" = xyes; then : 20778 cat >>confdefs.h <<_ACEOF 20779#define HAVE_LIBCERROR_H 1 20780_ACEOF 20781 20782fi 20783 20784done 20785 20786 20787 if test "x$ac_cv_header_libcerror_h" = xno; then : 20788 ac_cv_libcerror=no 20789else 20790 ac_cv_libcerror=yes 20791 20792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_get_version in -lcerror" >&5 20793$as_echo_n "checking for libcerror_get_version in -lcerror... " >&6; } 20794if ${ac_cv_lib_cerror_libcerror_get_version+:} false; then : 20795 $as_echo_n "(cached) " >&6 20796else 20797 ac_check_lib_save_LIBS=$LIBS 20798LIBS="-lcerror $LIBS" 20799cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20800/* end confdefs.h. */ 20801 20802/* Override any GCC internal prototype to avoid an error. 20803 Use char because int might match the return type of a GCC 20804 builtin and then its argument prototype would still apply. */ 20805#ifdef __cplusplus 20806extern "C" 20807#endif 20808char libcerror_get_version (); 20809int 20810main () 20811{ 20812return libcerror_get_version (); 20813 ; 20814 return 0; 20815} 20816_ACEOF 20817if ac_fn_c_try_link "$LINENO"; then : 20818 ac_cv_lib_cerror_libcerror_get_version=yes 20819else 20820 ac_cv_lib_cerror_libcerror_get_version=no 20821fi 20822rm -f core conftest.err conftest.$ac_objext \ 20823 conftest$ac_exeext conftest.$ac_ext 20824LIBS=$ac_check_lib_save_LIBS 20825fi 20826{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_get_version" >&5 20827$as_echo "$ac_cv_lib_cerror_libcerror_get_version" >&6; } 20828if test "x$ac_cv_lib_cerror_libcerror_get_version" = xyes; then : 20829 ac_cv_libcerror_dummy=yes 20830else 20831 ac_cv_libcerror=no 20832fi 20833 20834 20835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_error_free in -lcerror" >&5 20836$as_echo_n "checking for libcerror_error_free in -lcerror... " >&6; } 20837if ${ac_cv_lib_cerror_libcerror_error_free+:} false; then : 20838 $as_echo_n "(cached) " >&6 20839else 20840 ac_check_lib_save_LIBS=$LIBS 20841LIBS="-lcerror $LIBS" 20842cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20843/* end confdefs.h. */ 20844 20845/* Override any GCC internal prototype to avoid an error. 20846 Use char because int might match the return type of a GCC 20847 builtin and then its argument prototype would still apply. */ 20848#ifdef __cplusplus 20849extern "C" 20850#endif 20851char libcerror_error_free (); 20852int 20853main () 20854{ 20855return libcerror_error_free (); 20856 ; 20857 return 0; 20858} 20859_ACEOF 20860if ac_fn_c_try_link "$LINENO"; then : 20861 ac_cv_lib_cerror_libcerror_error_free=yes 20862else 20863 ac_cv_lib_cerror_libcerror_error_free=no 20864fi 20865rm -f core conftest.err conftest.$ac_objext \ 20866 conftest$ac_exeext conftest.$ac_ext 20867LIBS=$ac_check_lib_save_LIBS 20868fi 20869{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_error_free" >&5 20870$as_echo "$ac_cv_lib_cerror_libcerror_error_free" >&6; } 20871if test "x$ac_cv_lib_cerror_libcerror_error_free" = xyes; then : 20872 ac_cv_libcerror_dummy=yes 20873else 20874 ac_cv_libcerror=no 20875fi 20876 20877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_error_set in -lcerror" >&5 20878$as_echo_n "checking for libcerror_error_set in -lcerror... " >&6; } 20879if ${ac_cv_lib_cerror_libcerror_error_set+:} false; then : 20880 $as_echo_n "(cached) " >&6 20881else 20882 ac_check_lib_save_LIBS=$LIBS 20883LIBS="-lcerror $LIBS" 20884cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20885/* end confdefs.h. */ 20886 20887/* Override any GCC internal prototype to avoid an error. 20888 Use char because int might match the return type of a GCC 20889 builtin and then its argument prototype would still apply. */ 20890#ifdef __cplusplus 20891extern "C" 20892#endif 20893char libcerror_error_set (); 20894int 20895main () 20896{ 20897return libcerror_error_set (); 20898 ; 20899 return 0; 20900} 20901_ACEOF 20902if ac_fn_c_try_link "$LINENO"; then : 20903 ac_cv_lib_cerror_libcerror_error_set=yes 20904else 20905 ac_cv_lib_cerror_libcerror_error_set=no 20906fi 20907rm -f core conftest.err conftest.$ac_objext \ 20908 conftest$ac_exeext conftest.$ac_ext 20909LIBS=$ac_check_lib_save_LIBS 20910fi 20911{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_error_set" >&5 20912$as_echo "$ac_cv_lib_cerror_libcerror_error_set" >&6; } 20913if test "x$ac_cv_lib_cerror_libcerror_error_set" = xyes; then : 20914 ac_cv_libcerror_dummy=yes 20915else 20916 ac_cv_libcerror=no 20917fi 20918 20919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_error_matches in -lcerror" >&5 20920$as_echo_n "checking for libcerror_error_matches in -lcerror... " >&6; } 20921if ${ac_cv_lib_cerror_libcerror_error_matches+:} false; then : 20922 $as_echo_n "(cached) " >&6 20923else 20924 ac_check_lib_save_LIBS=$LIBS 20925LIBS="-lcerror $LIBS" 20926cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20927/* end confdefs.h. */ 20928 20929/* Override any GCC internal prototype to avoid an error. 20930 Use char because int might match the return type of a GCC 20931 builtin and then its argument prototype would still apply. */ 20932#ifdef __cplusplus 20933extern "C" 20934#endif 20935char libcerror_error_matches (); 20936int 20937main () 20938{ 20939return libcerror_error_matches (); 20940 ; 20941 return 0; 20942} 20943_ACEOF 20944if ac_fn_c_try_link "$LINENO"; then : 20945 ac_cv_lib_cerror_libcerror_error_matches=yes 20946else 20947 ac_cv_lib_cerror_libcerror_error_matches=no 20948fi 20949rm -f core conftest.err conftest.$ac_objext \ 20950 conftest$ac_exeext conftest.$ac_ext 20951LIBS=$ac_check_lib_save_LIBS 20952fi 20953{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_error_matches" >&5 20954$as_echo "$ac_cv_lib_cerror_libcerror_error_matches" >&6; } 20955if test "x$ac_cv_lib_cerror_libcerror_error_matches" = xyes; then : 20956 ac_cv_libcerror_dummy=yes 20957else 20958 ac_cv_libcerror=no 20959fi 20960 20961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_error_fprint in -lcerror" >&5 20962$as_echo_n "checking for libcerror_error_fprint in -lcerror... " >&6; } 20963if ${ac_cv_lib_cerror_libcerror_error_fprint+:} false; then : 20964 $as_echo_n "(cached) " >&6 20965else 20966 ac_check_lib_save_LIBS=$LIBS 20967LIBS="-lcerror $LIBS" 20968cat confdefs.h - <<_ACEOF >conftest.$ac_ext 20969/* end confdefs.h. */ 20970 20971/* Override any GCC internal prototype to avoid an error. 20972 Use char because int might match the return type of a GCC 20973 builtin and then its argument prototype would still apply. */ 20974#ifdef __cplusplus 20975extern "C" 20976#endif 20977char libcerror_error_fprint (); 20978int 20979main () 20980{ 20981return libcerror_error_fprint (); 20982 ; 20983 return 0; 20984} 20985_ACEOF 20986if ac_fn_c_try_link "$LINENO"; then : 20987 ac_cv_lib_cerror_libcerror_error_fprint=yes 20988else 20989 ac_cv_lib_cerror_libcerror_error_fprint=no 20990fi 20991rm -f core conftest.err conftest.$ac_objext \ 20992 conftest$ac_exeext conftest.$ac_ext 20993LIBS=$ac_check_lib_save_LIBS 20994fi 20995{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_error_fprint" >&5 20996$as_echo "$ac_cv_lib_cerror_libcerror_error_fprint" >&6; } 20997if test "x$ac_cv_lib_cerror_libcerror_error_fprint" = xyes; then : 20998 ac_cv_libcerror_dummy=yes 20999else 21000 ac_cv_libcerror=no 21001fi 21002 21003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_error_sprint in -lcerror" >&5 21004$as_echo_n "checking for libcerror_error_sprint in -lcerror... " >&6; } 21005if ${ac_cv_lib_cerror_libcerror_error_sprint+:} false; then : 21006 $as_echo_n "(cached) " >&6 21007else 21008 ac_check_lib_save_LIBS=$LIBS 21009LIBS="-lcerror $LIBS" 21010cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21011/* end confdefs.h. */ 21012 21013/* Override any GCC internal prototype to avoid an error. 21014 Use char because int might match the return type of a GCC 21015 builtin and then its argument prototype would still apply. */ 21016#ifdef __cplusplus 21017extern "C" 21018#endif 21019char libcerror_error_sprint (); 21020int 21021main () 21022{ 21023return libcerror_error_sprint (); 21024 ; 21025 return 0; 21026} 21027_ACEOF 21028if ac_fn_c_try_link "$LINENO"; then : 21029 ac_cv_lib_cerror_libcerror_error_sprint=yes 21030else 21031 ac_cv_lib_cerror_libcerror_error_sprint=no 21032fi 21033rm -f core conftest.err conftest.$ac_objext \ 21034 conftest$ac_exeext conftest.$ac_ext 21035LIBS=$ac_check_lib_save_LIBS 21036fi 21037{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_error_sprint" >&5 21038$as_echo "$ac_cv_lib_cerror_libcerror_error_sprint" >&6; } 21039if test "x$ac_cv_lib_cerror_libcerror_error_sprint" = xyes; then : 21040 ac_cv_libcerror_dummy=yes 21041else 21042 ac_cv_libcerror=no 21043fi 21044 21045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_error_backtrace_fprint in -lcerror" >&5 21046$as_echo_n "checking for libcerror_error_backtrace_fprint in -lcerror... " >&6; } 21047if ${ac_cv_lib_cerror_libcerror_error_backtrace_fprint+:} false; then : 21048 $as_echo_n "(cached) " >&6 21049else 21050 ac_check_lib_save_LIBS=$LIBS 21051LIBS="-lcerror $LIBS" 21052cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21053/* end confdefs.h. */ 21054 21055/* Override any GCC internal prototype to avoid an error. 21056 Use char because int might match the return type of a GCC 21057 builtin and then its argument prototype would still apply. */ 21058#ifdef __cplusplus 21059extern "C" 21060#endif 21061char libcerror_error_backtrace_fprint (); 21062int 21063main () 21064{ 21065return libcerror_error_backtrace_fprint (); 21066 ; 21067 return 0; 21068} 21069_ACEOF 21070if ac_fn_c_try_link "$LINENO"; then : 21071 ac_cv_lib_cerror_libcerror_error_backtrace_fprint=yes 21072else 21073 ac_cv_lib_cerror_libcerror_error_backtrace_fprint=no 21074fi 21075rm -f core conftest.err conftest.$ac_objext \ 21076 conftest$ac_exeext conftest.$ac_ext 21077LIBS=$ac_check_lib_save_LIBS 21078fi 21079{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_error_backtrace_fprint" >&5 21080$as_echo "$ac_cv_lib_cerror_libcerror_error_backtrace_fprint" >&6; } 21081if test "x$ac_cv_lib_cerror_libcerror_error_backtrace_fprint" = xyes; then : 21082 ac_cv_libcerror_dummy=yes 21083else 21084 ac_cv_libcerror=no 21085fi 21086 21087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_error_backtrace_sprint in -lcerror" >&5 21088$as_echo_n "checking for libcerror_error_backtrace_sprint in -lcerror... " >&6; } 21089if ${ac_cv_lib_cerror_libcerror_error_backtrace_sprint+:} false; then : 21090 $as_echo_n "(cached) " >&6 21091else 21092 ac_check_lib_save_LIBS=$LIBS 21093LIBS="-lcerror $LIBS" 21094cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21095/* end confdefs.h. */ 21096 21097/* Override any GCC internal prototype to avoid an error. 21098 Use char because int might match the return type of a GCC 21099 builtin and then its argument prototype would still apply. */ 21100#ifdef __cplusplus 21101extern "C" 21102#endif 21103char libcerror_error_backtrace_sprint (); 21104int 21105main () 21106{ 21107return libcerror_error_backtrace_sprint (); 21108 ; 21109 return 0; 21110} 21111_ACEOF 21112if ac_fn_c_try_link "$LINENO"; then : 21113 ac_cv_lib_cerror_libcerror_error_backtrace_sprint=yes 21114else 21115 ac_cv_lib_cerror_libcerror_error_backtrace_sprint=no 21116fi 21117rm -f core conftest.err conftest.$ac_objext \ 21118 conftest$ac_exeext conftest.$ac_ext 21119LIBS=$ac_check_lib_save_LIBS 21120fi 21121{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_error_backtrace_sprint" >&5 21122$as_echo "$ac_cv_lib_cerror_libcerror_error_backtrace_sprint" >&6; } 21123if test "x$ac_cv_lib_cerror_libcerror_error_backtrace_sprint" = xyes; then : 21124 ac_cv_libcerror_dummy=yes 21125else 21126 ac_cv_libcerror=no 21127fi 21128 21129 21130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcerror_system_set_error in -lcerror" >&5 21131$as_echo_n "checking for libcerror_system_set_error in -lcerror... " >&6; } 21132if ${ac_cv_lib_cerror_libcerror_system_set_error+:} false; then : 21133 $as_echo_n "(cached) " >&6 21134else 21135 ac_check_lib_save_LIBS=$LIBS 21136LIBS="-lcerror $LIBS" 21137cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21138/* end confdefs.h. */ 21139 21140/* Override any GCC internal prototype to avoid an error. 21141 Use char because int might match the return type of a GCC 21142 builtin and then its argument prototype would still apply. */ 21143#ifdef __cplusplus 21144extern "C" 21145#endif 21146char libcerror_system_set_error (); 21147int 21148main () 21149{ 21150return libcerror_system_set_error (); 21151 ; 21152 return 0; 21153} 21154_ACEOF 21155if ac_fn_c_try_link "$LINENO"; then : 21156 ac_cv_lib_cerror_libcerror_system_set_error=yes 21157else 21158 ac_cv_lib_cerror_libcerror_system_set_error=no 21159fi 21160rm -f core conftest.err conftest.$ac_objext \ 21161 conftest$ac_exeext conftest.$ac_ext 21162LIBS=$ac_check_lib_save_LIBS 21163fi 21164{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cerror_libcerror_system_set_error" >&5 21165$as_echo "$ac_cv_lib_cerror_libcerror_system_set_error" >&6; } 21166if test "x$ac_cv_lib_cerror_libcerror_system_set_error" = xyes; then : 21167 ac_cv_libcerror_dummy=yes 21168else 21169 ac_cv_libcerror=no 21170fi 21171 21172 21173 ac_cv_libcerror_LIBADD="-lcerror" 21174fi 21175 21176fi 21177 if test "x$ac_cv_with_libcerror" != x && test "x$ac_cv_with_libcerror" != xauto-detect && test "x$ac_cv_libcerror" != xyes; then : 21178 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 21179$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 21180as_fn_error 1 "unable to find supported libcerror in directory: $ac_cv_with_libcerror 21181See \`config.log' for more details" "$LINENO" 5; } 21182 21183fi 21184 21185fi 21186 21187 if test "x$ac_cv_libcerror" = xyes; then : 21188 21189$as_echo "#define HAVE_LIBCERROR 1" >>confdefs.h 21190 21191 21192fi 21193 21194 if test "x$ac_cv_libcerror" = xyes; then : 21195 HAVE_LIBCERROR=1 21196 21197else 21198 HAVE_LIBCERROR=0 21199 21200 21201fi 21202 21203 21204 if test "x$ac_cv_libcerror" != xyes; then : 21205 for ac_header in stdarg.h varargs.h 21206do : 21207 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 21208ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 21209if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 21210 cat >>confdefs.h <<_ACEOF 21211#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 21212_ACEOF 21213 21214fi 21215 21216done 21217 21218 21219 if test "x$ac_cv_header_stdarg_h" != xyes && test "x$ac_cv_header_varargs_h" != xyes; then : 21220 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 21221$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 21222as_fn_error 1 "Missing headers: stdarg.h and varargs.h 21223See \`config.log' for more details" "$LINENO" 5; } 21224 21225fi 21226 21227 if test "x$ac_cv_enable_wide_character_type" != xno; then : 21228 for ac_func in wcstombs 21229do : 21230 ac_fn_c_check_func "$LINENO" "wcstombs" "ac_cv_func_wcstombs" 21231if test "x$ac_cv_func_wcstombs" = xyes; then : 21232 cat >>confdefs.h <<_ACEOF 21233#define HAVE_WCSTOMBS 1 21234_ACEOF 21235 21236fi 21237done 21238 21239 21240 if test "x$ac_cv_func_wcstombs" != xyes; then : 21241 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 21242$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 21243as_fn_error 1 "Missing function: wcstombs 21244See \`config.log' for more details" "$LINENO" 5; } 21245 21246fi 21247 21248fi 21249 21250 ac_fn_c_check_decl "$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac_includes_default" 21251if test "x$ac_cv_have_decl_strerror_r" = xyes; then : 21252 ac_have_decl=1 21253else 21254 ac_have_decl=0 21255fi 21256 21257cat >>confdefs.h <<_ACEOF 21258#define HAVE_DECL_STRERROR_R $ac_have_decl 21259_ACEOF 21260 21261for ac_func in strerror_r 21262do : 21263 ac_fn_c_check_func "$LINENO" "strerror_r" "ac_cv_func_strerror_r" 21264if test "x$ac_cv_func_strerror_r" = xyes; then : 21265 cat >>confdefs.h <<_ACEOF 21266#define HAVE_STRERROR_R 1 21267_ACEOF 21268 21269fi 21270done 21271 21272{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char *" >&5 21273$as_echo_n "checking whether strerror_r returns char *... " >&6; } 21274if ${ac_cv_func_strerror_r_char_p+:} false; then : 21275 $as_echo_n "(cached) " >&6 21276else 21277 21278 ac_cv_func_strerror_r_char_p=no 21279 if test $ac_cv_have_decl_strerror_r = yes; then 21280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21281/* end confdefs.h. */ 21282$ac_includes_default 21283int 21284main () 21285{ 21286 21287 char buf[100]; 21288 char x = *strerror_r (0, buf, sizeof buf); 21289 char *p = strerror_r (0, buf, sizeof buf); 21290 return !p || x; 21291 21292 ; 21293 return 0; 21294} 21295_ACEOF 21296if ac_fn_c_try_compile "$LINENO"; then : 21297 ac_cv_func_strerror_r_char_p=yes 21298fi 21299rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 21300 else 21301 # strerror_r is not declared. Choose between 21302 # systems that have relatively inaccessible declarations for the 21303 # function. BeOS and DEC UNIX 4.0 fall in this category, but the 21304 # former has a strerror_r that returns char*, while the latter 21305 # has a strerror_r that returns `int'. 21306 # This test should segfault on the DEC system. 21307 if test "$cross_compiling" = yes; then : 21308 : 21309else 21310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21311/* end confdefs.h. */ 21312$ac_includes_default 21313 extern char *strerror_r (); 21314int 21315main () 21316{ 21317char buf[100]; 21318 char x = *strerror_r (0, buf, sizeof buf); 21319 return ! isalpha (x); 21320 ; 21321 return 0; 21322} 21323_ACEOF 21324if ac_fn_c_try_run "$LINENO"; then : 21325 ac_cv_func_strerror_r_char_p=yes 21326fi 21327rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 21328 conftest.$ac_objext conftest.beam conftest.$ac_ext 21329fi 21330 21331 fi 21332 21333fi 21334{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strerror_r_char_p" >&5 21335$as_echo "$ac_cv_func_strerror_r_char_p" >&6; } 21336if test $ac_cv_func_strerror_r_char_p = yes; then 21337 21338$as_echo "#define STRERROR_R_CHAR_P 1" >>confdefs.h 21339 21340fi 21341 21342 21343 if test "x$ac_cv_have_decl_strerror_r" != xyes; then : 21344 for ac_func in strerror 21345do : 21346 ac_fn_c_check_func "$LINENO" "strerror" "ac_cv_func_strerror" 21347if test "x$ac_cv_func_strerror" = xyes; then : 21348 cat >>confdefs.h <<_ACEOF 21349#define HAVE_STRERROR 1 21350_ACEOF 21351 21352fi 21353done 21354 21355 21356 if test "x$ac_cv_func_strerror" != xyes; then : 21357 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 21358$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 21359as_fn_error 1 "Missing functions: strerror_r and strerror 21360See \`config.log' for more details" "$LINENO" 5; } 21361 21362fi 21363 21364fi 21365 21366 ac_cv_libcerror_CPPFLAGS="-I../libcerror"; 21367 ac_cv_libcerror_LIBADD="../libcerror/libcerror.la"; 21368 21369 ac_cv_libcerror=local 21370 21371 21372 21373$as_echo "#define HAVE_LOCAL_LIBCERROR 1" >>confdefs.h 21374 21375 HAVE_LOCAL_LIBCERROR=1 21376 21377 21378fi 21379 21380 if test "x$ac_cv_libcerror" = xlocal; then 21381 HAVE_LOCAL_LIBCERROR_TRUE= 21382 HAVE_LOCAL_LIBCERROR_FALSE='#' 21383else 21384 HAVE_LOCAL_LIBCERROR_TRUE='#' 21385 HAVE_LOCAL_LIBCERROR_FALSE= 21386fi 21387 21388 if test "x$ac_cv_libcerror_CPPFLAGS" != "x"; then : 21389 LIBCERROR_CPPFLAGS=$ac_cv_libcerror_CPPFLAGS 21390 21391 21392fi 21393 if test "x$ac_cv_libcerror_LIBADD" != "x"; then : 21394 LIBCERROR_LIBADD=$ac_cv_libcerror_LIBADD 21395 21396 21397fi 21398 21399 if test "x$ac_cv_libcerror" = xyes; then : 21400 ax_libcerror_pc_libs_private=-lcerror 21401 21402 21403fi 21404 21405 if test "x$ac_cv_libcerror" = xyes; then : 21406 ax_libcerror_spec_requires=libcerror 21407 21408 ax_libcerror_spec_build_requires=libcerror-devel 21409 21410 21411fi 21412 21413 21414 21415 # Check whether --enable-multi-threading-support was given. 21416if test "${enable_multi_threading_support+set}" = set; then : 21417 enableval=$enable_multi_threading_support; ac_cv_enable_multi_threading_support=$enableval 21418else 21419 ac_cv_enable_multi_threading_support=yes 21420fi 21421 21422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable enable multi-threading support" >&5 21423$as_echo_n "checking whether to enable enable multi-threading support... " >&6; } 21424if ${ac_cv_enable_multi_threading_support+:} false; then : 21425 $as_echo_n "(cached) " >&6 21426else 21427 ac_cv_enable_multi_threading_support=yes 21428fi 21429{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_multi_threading_support" >&5 21430$as_echo "$ac_cv_enable_multi_threading_support" >&6; } 21431 21432 21433# Check whether --with-libcthreads was given. 21434if test "${with_libcthreads+set}" = set; then : 21435 withval=$with_libcthreads; ac_cv_with_libcthreads=$withval 21436else 21437 ac_cv_with_libcthreads=auto-detect 21438fi 21439 21440 { $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 21441$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; } 21442if ${ac_cv_with_libcthreads+:} false; then : 21443 $as_echo_n "(cached) " >&6 21444else 21445 ac_cv_with_libcthreads=auto-detect 21446fi 21447{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libcthreads" >&5 21448$as_echo "$ac_cv_with_libcthreads" >&6; } 21449 21450 if test "x$ac_cv_enable_multi_threading_support" = xno; then : 21451 ac_cv_libcthreads="no" 21452 ac_cv_libcthreads_multi_threading="no" 21453else 21454 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libcthreads" = xno; then : 21455 ac_cv_libcthreads=no 21456else 21457 ac_cv_libcthreads=check 21458 if test "x$ac_cv_with_libcthreads" != x && test "x$ac_cv_with_libcthreads" != xauto-detect; then : 21459 if test -d "$ac_cv_with_libcthreads"; then : 21460 CFLAGS="$CFLAGS -I${ac_cv_with_libcthreads}/include" 21461 LDFLAGS="$LDFLAGS -L${ac_cv_with_libcthreads}/lib" 21462else 21463 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 21464$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 21465as_fn_error 1 "no such directory: $ac_cv_with_libcthreads 21466See \`config.log' for more details" "$LINENO" 5; } 21467 21468fi 21469 21470else 21471 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 21472 21473pkg_failed=no 21474{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads" >&5 21475$as_echo_n "checking for libcthreads... " >&6; } 21476 21477if test -n "$libcthreads_CFLAGS"; then 21478 pkg_cv_libcthreads_CFLAGS="$libcthreads_CFLAGS" 21479 elif test -n "$PKG_CONFIG"; then 21480 if test -n "$PKG_CONFIG" && \ 21481 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcthreads >= 20160404\""; } >&5 21482 ($PKG_CONFIG --exists --print-errors "libcthreads >= 20160404") 2>&5 21483 ac_status=$? 21484 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 21485 test $ac_status = 0; }; then 21486 pkg_cv_libcthreads_CFLAGS=`$PKG_CONFIG --cflags "libcthreads >= 20160404" 2>/dev/null` 21487 test "x$?" != "x0" && pkg_failed=yes 21488else 21489 pkg_failed=yes 21490fi 21491 else 21492 pkg_failed=untried 21493fi 21494if test -n "$libcthreads_LIBS"; then 21495 pkg_cv_libcthreads_LIBS="$libcthreads_LIBS" 21496 elif test -n "$PKG_CONFIG"; then 21497 if test -n "$PKG_CONFIG" && \ 21498 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcthreads >= 20160404\""; } >&5 21499 ($PKG_CONFIG --exists --print-errors "libcthreads >= 20160404") 2>&5 21500 ac_status=$? 21501 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 21502 test $ac_status = 0; }; then 21503 pkg_cv_libcthreads_LIBS=`$PKG_CONFIG --libs "libcthreads >= 20160404" 2>/dev/null` 21504 test "x$?" != "x0" && pkg_failed=yes 21505else 21506 pkg_failed=yes 21507fi 21508 else 21509 pkg_failed=untried 21510fi 21511 21512 21513 21514if test $pkg_failed = yes; then 21515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 21516$as_echo "no" >&6; } 21517 21518if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 21519 _pkg_short_errors_supported=yes 21520else 21521 _pkg_short_errors_supported=no 21522fi 21523 if test $_pkg_short_errors_supported = yes; then 21524 libcthreads_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcthreads >= 20160404" 2>&1` 21525 else 21526 libcthreads_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcthreads >= 20160404" 2>&1` 21527 fi 21528 # Put the nasty error message in config.log where it belongs 21529 echo "$libcthreads_PKG_ERRORS" >&5 21530 21531 ac_cv_libcthreads=check 21532elif test $pkg_failed = untried; then 21533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 21534$as_echo "no" >&6; } 21535 ac_cv_libcthreads=check 21536else 21537 libcthreads_CFLAGS=$pkg_cv_libcthreads_CFLAGS 21538 libcthreads_LIBS=$pkg_cv_libcthreads_LIBS 21539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 21540$as_echo "yes" >&6; } 21541 ac_cv_libcthreads=yes 21542fi 21543 21544fi 21545 if test "x$ac_cv_libcthreads" = xyes; then : 21546 ac_cv_libcthreads_CPPFLAGS="$pkg_cv_libcthreads_CFLAGS" 21547 ac_cv_libcthreads_LIBADD="$pkg_cv_libcthreads_LIBS" 21548fi 21549 21550fi 21551 21552 if test "x$ac_cv_libcthreads" = xcheck; then : 21553 for ac_header in libcthreads.h 21554do : 21555 ac_fn_c_check_header_mongrel "$LINENO" "libcthreads.h" "ac_cv_header_libcthreads_h" "$ac_includes_default" 21556if test "x$ac_cv_header_libcthreads_h" = xyes; then : 21557 cat >>confdefs.h <<_ACEOF 21558#define HAVE_LIBCTHREADS_H 1 21559_ACEOF 21560 21561fi 21562 21563done 21564 21565 21566 if test "x$ac_cv_header_libcthreads_h" = xno; then : 21567 ac_cv_libcthreads=no 21568else 21569 ac_cv_libcthreads=yes 21570 21571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_get_version in -lcthreads" >&5 21572$as_echo_n "checking for libcthreads_get_version in -lcthreads... " >&6; } 21573if ${ac_cv_lib_cthreads_libcthreads_get_version+:} false; then : 21574 $as_echo_n "(cached) " >&6 21575else 21576 ac_check_lib_save_LIBS=$LIBS 21577LIBS="-lcthreads $LIBS" 21578cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21579/* end confdefs.h. */ 21580 21581/* Override any GCC internal prototype to avoid an error. 21582 Use char because int might match the return type of a GCC 21583 builtin and then its argument prototype would still apply. */ 21584#ifdef __cplusplus 21585extern "C" 21586#endif 21587char libcthreads_get_version (); 21588int 21589main () 21590{ 21591return libcthreads_get_version (); 21592 ; 21593 return 0; 21594} 21595_ACEOF 21596if ac_fn_c_try_link "$LINENO"; then : 21597 ac_cv_lib_cthreads_libcthreads_get_version=yes 21598else 21599 ac_cv_lib_cthreads_libcthreads_get_version=no 21600fi 21601rm -f core conftest.err conftest.$ac_objext \ 21602 conftest$ac_exeext conftest.$ac_ext 21603LIBS=$ac_check_lib_save_LIBS 21604fi 21605{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_get_version" >&5 21606$as_echo "$ac_cv_lib_cthreads_libcthreads_get_version" >&6; } 21607if test "x$ac_cv_lib_cthreads_libcthreads_get_version" = xyes; then : 21608 ac_cv_libcthreads_dummy=yes 21609else 21610 ac_cv_libcthreads=no 21611fi 21612 21613 21614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_create in -lcthreads" >&5 21615$as_echo_n "checking for libcthreads_thread_create in -lcthreads... " >&6; } 21616if ${ac_cv_lib_cthreads_libcthreads_thread_create+:} false; then : 21617 $as_echo_n "(cached) " >&6 21618else 21619 ac_check_lib_save_LIBS=$LIBS 21620LIBS="-lcthreads $LIBS" 21621cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21622/* end confdefs.h. */ 21623 21624/* Override any GCC internal prototype to avoid an error. 21625 Use char because int might match the return type of a GCC 21626 builtin and then its argument prototype would still apply. */ 21627#ifdef __cplusplus 21628extern "C" 21629#endif 21630char libcthreads_thread_create (); 21631int 21632main () 21633{ 21634return libcthreads_thread_create (); 21635 ; 21636 return 0; 21637} 21638_ACEOF 21639if ac_fn_c_try_link "$LINENO"; then : 21640 ac_cv_lib_cthreads_libcthreads_thread_create=yes 21641else 21642 ac_cv_lib_cthreads_libcthreads_thread_create=no 21643fi 21644rm -f core conftest.err conftest.$ac_objext \ 21645 conftest$ac_exeext conftest.$ac_ext 21646LIBS=$ac_check_lib_save_LIBS 21647fi 21648{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_create" >&5 21649$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_create" >&6; } 21650if test "x$ac_cv_lib_cthreads_libcthreads_thread_create" = xyes; then : 21651 ac_cv_libcthreads_dummy=yes 21652else 21653 ac_cv_libcthreads=no 21654fi 21655 21656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_join in -lcthreads" >&5 21657$as_echo_n "checking for libcthreads_thread_join in -lcthreads... " >&6; } 21658if ${ac_cv_lib_cthreads_libcthreads_thread_join+:} false; then : 21659 $as_echo_n "(cached) " >&6 21660else 21661 ac_check_lib_save_LIBS=$LIBS 21662LIBS="-lcthreads $LIBS" 21663cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21664/* end confdefs.h. */ 21665 21666/* Override any GCC internal prototype to avoid an error. 21667 Use char because int might match the return type of a GCC 21668 builtin and then its argument prototype would still apply. */ 21669#ifdef __cplusplus 21670extern "C" 21671#endif 21672char libcthreads_thread_join (); 21673int 21674main () 21675{ 21676return libcthreads_thread_join (); 21677 ; 21678 return 0; 21679} 21680_ACEOF 21681if ac_fn_c_try_link "$LINENO"; then : 21682 ac_cv_lib_cthreads_libcthreads_thread_join=yes 21683else 21684 ac_cv_lib_cthreads_libcthreads_thread_join=no 21685fi 21686rm -f core conftest.err conftest.$ac_objext \ 21687 conftest$ac_exeext conftest.$ac_ext 21688LIBS=$ac_check_lib_save_LIBS 21689fi 21690{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_join" >&5 21691$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_join" >&6; } 21692if test "x$ac_cv_lib_cthreads_libcthreads_thread_join" = xyes; then : 21693 ac_cv_libcthreads_dummy=yes 21694else 21695 ac_cv_libcthreads=no 21696fi 21697 21698 21699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_attributes_initialize in -lcthreads" >&5 21700$as_echo_n "checking for libcthreads_thread_attributes_initialize in -lcthreads... " >&6; } 21701if ${ac_cv_lib_cthreads_libcthreads_thread_attributes_initialize+:} false; then : 21702 $as_echo_n "(cached) " >&6 21703else 21704 ac_check_lib_save_LIBS=$LIBS 21705LIBS="-lcthreads $LIBS" 21706cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21707/* end confdefs.h. */ 21708 21709/* Override any GCC internal prototype to avoid an error. 21710 Use char because int might match the return type of a GCC 21711 builtin and then its argument prototype would still apply. */ 21712#ifdef __cplusplus 21713extern "C" 21714#endif 21715char libcthreads_thread_attributes_initialize (); 21716int 21717main () 21718{ 21719return libcthreads_thread_attributes_initialize (); 21720 ; 21721 return 0; 21722} 21723_ACEOF 21724if ac_fn_c_try_link "$LINENO"; then : 21725 ac_cv_lib_cthreads_libcthreads_thread_attributes_initialize=yes 21726else 21727 ac_cv_lib_cthreads_libcthreads_thread_attributes_initialize=no 21728fi 21729rm -f core conftest.err conftest.$ac_objext \ 21730 conftest$ac_exeext conftest.$ac_ext 21731LIBS=$ac_check_lib_save_LIBS 21732fi 21733{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_attributes_initialize" >&5 21734$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_attributes_initialize" >&6; } 21735if test "x$ac_cv_lib_cthreads_libcthreads_thread_attributes_initialize" = xyes; then : 21736 ac_cv_libcthreads_dummy=yes 21737else 21738 ac_cv_libcthreads=no 21739fi 21740 21741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_attributes_free in -lcthreads" >&5 21742$as_echo_n "checking for libcthreads_thread_attributes_free in -lcthreads... " >&6; } 21743if ${ac_cv_lib_cthreads_libcthreads_thread_attributes_free+:} false; then : 21744 $as_echo_n "(cached) " >&6 21745else 21746 ac_check_lib_save_LIBS=$LIBS 21747LIBS="-lcthreads $LIBS" 21748cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21749/* end confdefs.h. */ 21750 21751/* Override any GCC internal prototype to avoid an error. 21752 Use char because int might match the return type of a GCC 21753 builtin and then its argument prototype would still apply. */ 21754#ifdef __cplusplus 21755extern "C" 21756#endif 21757char libcthreads_thread_attributes_free (); 21758int 21759main () 21760{ 21761return libcthreads_thread_attributes_free (); 21762 ; 21763 return 0; 21764} 21765_ACEOF 21766if ac_fn_c_try_link "$LINENO"; then : 21767 ac_cv_lib_cthreads_libcthreads_thread_attributes_free=yes 21768else 21769 ac_cv_lib_cthreads_libcthreads_thread_attributes_free=no 21770fi 21771rm -f core conftest.err conftest.$ac_objext \ 21772 conftest$ac_exeext conftest.$ac_ext 21773LIBS=$ac_check_lib_save_LIBS 21774fi 21775{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_attributes_free" >&5 21776$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_attributes_free" >&6; } 21777if test "x$ac_cv_lib_cthreads_libcthreads_thread_attributes_free" = xyes; then : 21778 ac_cv_libcthreads_dummy=yes 21779else 21780 ac_cv_libcthreads=no 21781fi 21782 21783 21784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_condition_initialize in -lcthreads" >&5 21785$as_echo_n "checking for libcthreads_condition_initialize in -lcthreads... " >&6; } 21786if ${ac_cv_lib_cthreads_libcthreads_condition_initialize+:} false; then : 21787 $as_echo_n "(cached) " >&6 21788else 21789 ac_check_lib_save_LIBS=$LIBS 21790LIBS="-lcthreads $LIBS" 21791cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21792/* end confdefs.h. */ 21793 21794/* Override any GCC internal prototype to avoid an error. 21795 Use char because int might match the return type of a GCC 21796 builtin and then its argument prototype would still apply. */ 21797#ifdef __cplusplus 21798extern "C" 21799#endif 21800char libcthreads_condition_initialize (); 21801int 21802main () 21803{ 21804return libcthreads_condition_initialize (); 21805 ; 21806 return 0; 21807} 21808_ACEOF 21809if ac_fn_c_try_link "$LINENO"; then : 21810 ac_cv_lib_cthreads_libcthreads_condition_initialize=yes 21811else 21812 ac_cv_lib_cthreads_libcthreads_condition_initialize=no 21813fi 21814rm -f core conftest.err conftest.$ac_objext \ 21815 conftest$ac_exeext conftest.$ac_ext 21816LIBS=$ac_check_lib_save_LIBS 21817fi 21818{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_condition_initialize" >&5 21819$as_echo "$ac_cv_lib_cthreads_libcthreads_condition_initialize" >&6; } 21820if test "x$ac_cv_lib_cthreads_libcthreads_condition_initialize" = xyes; then : 21821 ac_cv_libcthreads_dummy=yes 21822else 21823 ac_cv_libcthreads=no 21824fi 21825 21826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_condition_free in -lcthreads" >&5 21827$as_echo_n "checking for libcthreads_condition_free in -lcthreads... " >&6; } 21828if ${ac_cv_lib_cthreads_libcthreads_condition_free+:} false; then : 21829 $as_echo_n "(cached) " >&6 21830else 21831 ac_check_lib_save_LIBS=$LIBS 21832LIBS="-lcthreads $LIBS" 21833cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21834/* end confdefs.h. */ 21835 21836/* Override any GCC internal prototype to avoid an error. 21837 Use char because int might match the return type of a GCC 21838 builtin and then its argument prototype would still apply. */ 21839#ifdef __cplusplus 21840extern "C" 21841#endif 21842char libcthreads_condition_free (); 21843int 21844main () 21845{ 21846return libcthreads_condition_free (); 21847 ; 21848 return 0; 21849} 21850_ACEOF 21851if ac_fn_c_try_link "$LINENO"; then : 21852 ac_cv_lib_cthreads_libcthreads_condition_free=yes 21853else 21854 ac_cv_lib_cthreads_libcthreads_condition_free=no 21855fi 21856rm -f core conftest.err conftest.$ac_objext \ 21857 conftest$ac_exeext conftest.$ac_ext 21858LIBS=$ac_check_lib_save_LIBS 21859fi 21860{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_condition_free" >&5 21861$as_echo "$ac_cv_lib_cthreads_libcthreads_condition_free" >&6; } 21862if test "x$ac_cv_lib_cthreads_libcthreads_condition_free" = xyes; then : 21863 ac_cv_libcthreads_dummy=yes 21864else 21865 ac_cv_libcthreads=no 21866fi 21867 21868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_condition_broadcast in -lcthreads" >&5 21869$as_echo_n "checking for libcthreads_condition_broadcast in -lcthreads... " >&6; } 21870if ${ac_cv_lib_cthreads_libcthreads_condition_broadcast+:} false; then : 21871 $as_echo_n "(cached) " >&6 21872else 21873 ac_check_lib_save_LIBS=$LIBS 21874LIBS="-lcthreads $LIBS" 21875cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21876/* end confdefs.h. */ 21877 21878/* Override any GCC internal prototype to avoid an error. 21879 Use char because int might match the return type of a GCC 21880 builtin and then its argument prototype would still apply. */ 21881#ifdef __cplusplus 21882extern "C" 21883#endif 21884char libcthreads_condition_broadcast (); 21885int 21886main () 21887{ 21888return libcthreads_condition_broadcast (); 21889 ; 21890 return 0; 21891} 21892_ACEOF 21893if ac_fn_c_try_link "$LINENO"; then : 21894 ac_cv_lib_cthreads_libcthreads_condition_broadcast=yes 21895else 21896 ac_cv_lib_cthreads_libcthreads_condition_broadcast=no 21897fi 21898rm -f core conftest.err conftest.$ac_objext \ 21899 conftest$ac_exeext conftest.$ac_ext 21900LIBS=$ac_check_lib_save_LIBS 21901fi 21902{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_condition_broadcast" >&5 21903$as_echo "$ac_cv_lib_cthreads_libcthreads_condition_broadcast" >&6; } 21904if test "x$ac_cv_lib_cthreads_libcthreads_condition_broadcast" = xyes; then : 21905 ac_cv_libcthreads_dummy=yes 21906else 21907 ac_cv_libcthreads=no 21908fi 21909 21910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_condition_signal in -lcthreads" >&5 21911$as_echo_n "checking for libcthreads_condition_signal in -lcthreads... " >&6; } 21912if ${ac_cv_lib_cthreads_libcthreads_condition_signal+:} false; then : 21913 $as_echo_n "(cached) " >&6 21914else 21915 ac_check_lib_save_LIBS=$LIBS 21916LIBS="-lcthreads $LIBS" 21917cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21918/* end confdefs.h. */ 21919 21920/* Override any GCC internal prototype to avoid an error. 21921 Use char because int might match the return type of a GCC 21922 builtin and then its argument prototype would still apply. */ 21923#ifdef __cplusplus 21924extern "C" 21925#endif 21926char libcthreads_condition_signal (); 21927int 21928main () 21929{ 21930return libcthreads_condition_signal (); 21931 ; 21932 return 0; 21933} 21934_ACEOF 21935if ac_fn_c_try_link "$LINENO"; then : 21936 ac_cv_lib_cthreads_libcthreads_condition_signal=yes 21937else 21938 ac_cv_lib_cthreads_libcthreads_condition_signal=no 21939fi 21940rm -f core conftest.err conftest.$ac_objext \ 21941 conftest$ac_exeext conftest.$ac_ext 21942LIBS=$ac_check_lib_save_LIBS 21943fi 21944{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_condition_signal" >&5 21945$as_echo "$ac_cv_lib_cthreads_libcthreads_condition_signal" >&6; } 21946if test "x$ac_cv_lib_cthreads_libcthreads_condition_signal" = xyes; then : 21947 ac_cv_libcthreads_dummy=yes 21948else 21949 ac_cv_libcthreads=no 21950fi 21951 21952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_condition_wait in -lcthreads" >&5 21953$as_echo_n "checking for libcthreads_condition_wait in -lcthreads... " >&6; } 21954if ${ac_cv_lib_cthreads_libcthreads_condition_wait+:} false; then : 21955 $as_echo_n "(cached) " >&6 21956else 21957 ac_check_lib_save_LIBS=$LIBS 21958LIBS="-lcthreads $LIBS" 21959cat confdefs.h - <<_ACEOF >conftest.$ac_ext 21960/* end confdefs.h. */ 21961 21962/* Override any GCC internal prototype to avoid an error. 21963 Use char because int might match the return type of a GCC 21964 builtin and then its argument prototype would still apply. */ 21965#ifdef __cplusplus 21966extern "C" 21967#endif 21968char libcthreads_condition_wait (); 21969int 21970main () 21971{ 21972return libcthreads_condition_wait (); 21973 ; 21974 return 0; 21975} 21976_ACEOF 21977if ac_fn_c_try_link "$LINENO"; then : 21978 ac_cv_lib_cthreads_libcthreads_condition_wait=yes 21979else 21980 ac_cv_lib_cthreads_libcthreads_condition_wait=no 21981fi 21982rm -f core conftest.err conftest.$ac_objext \ 21983 conftest$ac_exeext conftest.$ac_ext 21984LIBS=$ac_check_lib_save_LIBS 21985fi 21986{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_condition_wait" >&5 21987$as_echo "$ac_cv_lib_cthreads_libcthreads_condition_wait" >&6; } 21988if test "x$ac_cv_lib_cthreads_libcthreads_condition_wait" = xyes; then : 21989 ac_cv_libcthreads_dummy=yes 21990else 21991 ac_cv_libcthreads=no 21992fi 21993 21994 21995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_lock_initialize in -lcthreads" >&5 21996$as_echo_n "checking for libcthreads_lock_initialize in -lcthreads... " >&6; } 21997if ${ac_cv_lib_cthreads_libcthreads_lock_initialize+:} false; then : 21998 $as_echo_n "(cached) " >&6 21999else 22000 ac_check_lib_save_LIBS=$LIBS 22001LIBS="-lcthreads $LIBS" 22002cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22003/* end confdefs.h. */ 22004 22005/* Override any GCC internal prototype to avoid an error. 22006 Use char because int might match the return type of a GCC 22007 builtin and then its argument prototype would still apply. */ 22008#ifdef __cplusplus 22009extern "C" 22010#endif 22011char libcthreads_lock_initialize (); 22012int 22013main () 22014{ 22015return libcthreads_lock_initialize (); 22016 ; 22017 return 0; 22018} 22019_ACEOF 22020if ac_fn_c_try_link "$LINENO"; then : 22021 ac_cv_lib_cthreads_libcthreads_lock_initialize=yes 22022else 22023 ac_cv_lib_cthreads_libcthreads_lock_initialize=no 22024fi 22025rm -f core conftest.err conftest.$ac_objext \ 22026 conftest$ac_exeext conftest.$ac_ext 22027LIBS=$ac_check_lib_save_LIBS 22028fi 22029{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_lock_initialize" >&5 22030$as_echo "$ac_cv_lib_cthreads_libcthreads_lock_initialize" >&6; } 22031if test "x$ac_cv_lib_cthreads_libcthreads_lock_initialize" = xyes; then : 22032 ac_cv_libcthreads_dummy=yes 22033else 22034 ac_cv_libcthreads=no 22035fi 22036 22037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_lock_free in -lcthreads" >&5 22038$as_echo_n "checking for libcthreads_lock_free in -lcthreads... " >&6; } 22039if ${ac_cv_lib_cthreads_libcthreads_lock_free+:} false; then : 22040 $as_echo_n "(cached) " >&6 22041else 22042 ac_check_lib_save_LIBS=$LIBS 22043LIBS="-lcthreads $LIBS" 22044cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22045/* end confdefs.h. */ 22046 22047/* Override any GCC internal prototype to avoid an error. 22048 Use char because int might match the return type of a GCC 22049 builtin and then its argument prototype would still apply. */ 22050#ifdef __cplusplus 22051extern "C" 22052#endif 22053char libcthreads_lock_free (); 22054int 22055main () 22056{ 22057return libcthreads_lock_free (); 22058 ; 22059 return 0; 22060} 22061_ACEOF 22062if ac_fn_c_try_link "$LINENO"; then : 22063 ac_cv_lib_cthreads_libcthreads_lock_free=yes 22064else 22065 ac_cv_lib_cthreads_libcthreads_lock_free=no 22066fi 22067rm -f core conftest.err conftest.$ac_objext \ 22068 conftest$ac_exeext conftest.$ac_ext 22069LIBS=$ac_check_lib_save_LIBS 22070fi 22071{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_lock_free" >&5 22072$as_echo "$ac_cv_lib_cthreads_libcthreads_lock_free" >&6; } 22073if test "x$ac_cv_lib_cthreads_libcthreads_lock_free" = xyes; then : 22074 ac_cv_libcthreads_dummy=yes 22075else 22076 ac_cv_libcthreads=no 22077fi 22078 22079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_lock_grab in -lcthreads" >&5 22080$as_echo_n "checking for libcthreads_lock_grab in -lcthreads... " >&6; } 22081if ${ac_cv_lib_cthreads_libcthreads_lock_grab+:} false; then : 22082 $as_echo_n "(cached) " >&6 22083else 22084 ac_check_lib_save_LIBS=$LIBS 22085LIBS="-lcthreads $LIBS" 22086cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22087/* end confdefs.h. */ 22088 22089/* Override any GCC internal prototype to avoid an error. 22090 Use char because int might match the return type of a GCC 22091 builtin and then its argument prototype would still apply. */ 22092#ifdef __cplusplus 22093extern "C" 22094#endif 22095char libcthreads_lock_grab (); 22096int 22097main () 22098{ 22099return libcthreads_lock_grab (); 22100 ; 22101 return 0; 22102} 22103_ACEOF 22104if ac_fn_c_try_link "$LINENO"; then : 22105 ac_cv_lib_cthreads_libcthreads_lock_grab=yes 22106else 22107 ac_cv_lib_cthreads_libcthreads_lock_grab=no 22108fi 22109rm -f core conftest.err conftest.$ac_objext \ 22110 conftest$ac_exeext conftest.$ac_ext 22111LIBS=$ac_check_lib_save_LIBS 22112fi 22113{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_lock_grab" >&5 22114$as_echo "$ac_cv_lib_cthreads_libcthreads_lock_grab" >&6; } 22115if test "x$ac_cv_lib_cthreads_libcthreads_lock_grab" = xyes; then : 22116 ac_cv_libcthreads_dummy=yes 22117else 22118 ac_cv_libcthreads=no 22119fi 22120 22121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_lock_release in -lcthreads" >&5 22122$as_echo_n "checking for libcthreads_lock_release in -lcthreads... " >&6; } 22123if ${ac_cv_lib_cthreads_libcthreads_lock_release+:} false; then : 22124 $as_echo_n "(cached) " >&6 22125else 22126 ac_check_lib_save_LIBS=$LIBS 22127LIBS="-lcthreads $LIBS" 22128cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22129/* end confdefs.h. */ 22130 22131/* Override any GCC internal prototype to avoid an error. 22132 Use char because int might match the return type of a GCC 22133 builtin and then its argument prototype would still apply. */ 22134#ifdef __cplusplus 22135extern "C" 22136#endif 22137char libcthreads_lock_release (); 22138int 22139main () 22140{ 22141return libcthreads_lock_release (); 22142 ; 22143 return 0; 22144} 22145_ACEOF 22146if ac_fn_c_try_link "$LINENO"; then : 22147 ac_cv_lib_cthreads_libcthreads_lock_release=yes 22148else 22149 ac_cv_lib_cthreads_libcthreads_lock_release=no 22150fi 22151rm -f core conftest.err conftest.$ac_objext \ 22152 conftest$ac_exeext conftest.$ac_ext 22153LIBS=$ac_check_lib_save_LIBS 22154fi 22155{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_lock_release" >&5 22156$as_echo "$ac_cv_lib_cthreads_libcthreads_lock_release" >&6; } 22157if test "x$ac_cv_lib_cthreads_libcthreads_lock_release" = xyes; then : 22158 ac_cv_libcthreads_dummy=yes 22159else 22160 ac_cv_libcthreads=no 22161fi 22162 22163 22164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_mutex_initialize in -lcthreads" >&5 22165$as_echo_n "checking for libcthreads_mutex_initialize in -lcthreads... " >&6; } 22166if ${ac_cv_lib_cthreads_libcthreads_mutex_initialize+:} false; then : 22167 $as_echo_n "(cached) " >&6 22168else 22169 ac_check_lib_save_LIBS=$LIBS 22170LIBS="-lcthreads $LIBS" 22171cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22172/* end confdefs.h. */ 22173 22174/* Override any GCC internal prototype to avoid an error. 22175 Use char because int might match the return type of a GCC 22176 builtin and then its argument prototype would still apply. */ 22177#ifdef __cplusplus 22178extern "C" 22179#endif 22180char libcthreads_mutex_initialize (); 22181int 22182main () 22183{ 22184return libcthreads_mutex_initialize (); 22185 ; 22186 return 0; 22187} 22188_ACEOF 22189if ac_fn_c_try_link "$LINENO"; then : 22190 ac_cv_lib_cthreads_libcthreads_mutex_initialize=yes 22191else 22192 ac_cv_lib_cthreads_libcthreads_mutex_initialize=no 22193fi 22194rm -f core conftest.err conftest.$ac_objext \ 22195 conftest$ac_exeext conftest.$ac_ext 22196LIBS=$ac_check_lib_save_LIBS 22197fi 22198{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_mutex_initialize" >&5 22199$as_echo "$ac_cv_lib_cthreads_libcthreads_mutex_initialize" >&6; } 22200if test "x$ac_cv_lib_cthreads_libcthreads_mutex_initialize" = xyes; then : 22201 ac_cv_libcthreads_dummy=yes 22202else 22203 ac_cv_libcthreads=no 22204fi 22205 22206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_mutex_free in -lcthreads" >&5 22207$as_echo_n "checking for libcthreads_mutex_free in -lcthreads... " >&6; } 22208if ${ac_cv_lib_cthreads_libcthreads_mutex_free+:} false; then : 22209 $as_echo_n "(cached) " >&6 22210else 22211 ac_check_lib_save_LIBS=$LIBS 22212LIBS="-lcthreads $LIBS" 22213cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22214/* end confdefs.h. */ 22215 22216/* Override any GCC internal prototype to avoid an error. 22217 Use char because int might match the return type of a GCC 22218 builtin and then its argument prototype would still apply. */ 22219#ifdef __cplusplus 22220extern "C" 22221#endif 22222char libcthreads_mutex_free (); 22223int 22224main () 22225{ 22226return libcthreads_mutex_free (); 22227 ; 22228 return 0; 22229} 22230_ACEOF 22231if ac_fn_c_try_link "$LINENO"; then : 22232 ac_cv_lib_cthreads_libcthreads_mutex_free=yes 22233else 22234 ac_cv_lib_cthreads_libcthreads_mutex_free=no 22235fi 22236rm -f core conftest.err conftest.$ac_objext \ 22237 conftest$ac_exeext conftest.$ac_ext 22238LIBS=$ac_check_lib_save_LIBS 22239fi 22240{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_mutex_free" >&5 22241$as_echo "$ac_cv_lib_cthreads_libcthreads_mutex_free" >&6; } 22242if test "x$ac_cv_lib_cthreads_libcthreads_mutex_free" = xyes; then : 22243 ac_cv_libcthreads_dummy=yes 22244else 22245 ac_cv_libcthreads=no 22246fi 22247 22248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_mutex_grab in -lcthreads" >&5 22249$as_echo_n "checking for libcthreads_mutex_grab in -lcthreads... " >&6; } 22250if ${ac_cv_lib_cthreads_libcthreads_mutex_grab+:} false; then : 22251 $as_echo_n "(cached) " >&6 22252else 22253 ac_check_lib_save_LIBS=$LIBS 22254LIBS="-lcthreads $LIBS" 22255cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22256/* end confdefs.h. */ 22257 22258/* Override any GCC internal prototype to avoid an error. 22259 Use char because int might match the return type of a GCC 22260 builtin and then its argument prototype would still apply. */ 22261#ifdef __cplusplus 22262extern "C" 22263#endif 22264char libcthreads_mutex_grab (); 22265int 22266main () 22267{ 22268return libcthreads_mutex_grab (); 22269 ; 22270 return 0; 22271} 22272_ACEOF 22273if ac_fn_c_try_link "$LINENO"; then : 22274 ac_cv_lib_cthreads_libcthreads_mutex_grab=yes 22275else 22276 ac_cv_lib_cthreads_libcthreads_mutex_grab=no 22277fi 22278rm -f core conftest.err conftest.$ac_objext \ 22279 conftest$ac_exeext conftest.$ac_ext 22280LIBS=$ac_check_lib_save_LIBS 22281fi 22282{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_mutex_grab" >&5 22283$as_echo "$ac_cv_lib_cthreads_libcthreads_mutex_grab" >&6; } 22284if test "x$ac_cv_lib_cthreads_libcthreads_mutex_grab" = xyes; then : 22285 ac_cv_libcthreads_dummy=yes 22286else 22287 ac_cv_libcthreads=no 22288fi 22289 22290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_mutex_try_grab in -lcthreads" >&5 22291$as_echo_n "checking for libcthreads_mutex_try_grab in -lcthreads... " >&6; } 22292if ${ac_cv_lib_cthreads_libcthreads_mutex_try_grab+:} false; then : 22293 $as_echo_n "(cached) " >&6 22294else 22295 ac_check_lib_save_LIBS=$LIBS 22296LIBS="-lcthreads $LIBS" 22297cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22298/* end confdefs.h. */ 22299 22300/* Override any GCC internal prototype to avoid an error. 22301 Use char because int might match the return type of a GCC 22302 builtin and then its argument prototype would still apply. */ 22303#ifdef __cplusplus 22304extern "C" 22305#endif 22306char libcthreads_mutex_try_grab (); 22307int 22308main () 22309{ 22310return libcthreads_mutex_try_grab (); 22311 ; 22312 return 0; 22313} 22314_ACEOF 22315if ac_fn_c_try_link "$LINENO"; then : 22316 ac_cv_lib_cthreads_libcthreads_mutex_try_grab=yes 22317else 22318 ac_cv_lib_cthreads_libcthreads_mutex_try_grab=no 22319fi 22320rm -f core conftest.err conftest.$ac_objext \ 22321 conftest$ac_exeext conftest.$ac_ext 22322LIBS=$ac_check_lib_save_LIBS 22323fi 22324{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_mutex_try_grab" >&5 22325$as_echo "$ac_cv_lib_cthreads_libcthreads_mutex_try_grab" >&6; } 22326if test "x$ac_cv_lib_cthreads_libcthreads_mutex_try_grab" = xyes; then : 22327 ac_cv_libcthreads_dummy=yes 22328else 22329 ac_cv_libcthreads=no 22330fi 22331 22332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_mutex_release in -lcthreads" >&5 22333$as_echo_n "checking for libcthreads_mutex_release in -lcthreads... " >&6; } 22334if ${ac_cv_lib_cthreads_libcthreads_mutex_release+:} false; then : 22335 $as_echo_n "(cached) " >&6 22336else 22337 ac_check_lib_save_LIBS=$LIBS 22338LIBS="-lcthreads $LIBS" 22339cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22340/* end confdefs.h. */ 22341 22342/* Override any GCC internal prototype to avoid an error. 22343 Use char because int might match the return type of a GCC 22344 builtin and then its argument prototype would still apply. */ 22345#ifdef __cplusplus 22346extern "C" 22347#endif 22348char libcthreads_mutex_release (); 22349int 22350main () 22351{ 22352return libcthreads_mutex_release (); 22353 ; 22354 return 0; 22355} 22356_ACEOF 22357if ac_fn_c_try_link "$LINENO"; then : 22358 ac_cv_lib_cthreads_libcthreads_mutex_release=yes 22359else 22360 ac_cv_lib_cthreads_libcthreads_mutex_release=no 22361fi 22362rm -f core conftest.err conftest.$ac_objext \ 22363 conftest$ac_exeext conftest.$ac_ext 22364LIBS=$ac_check_lib_save_LIBS 22365fi 22366{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_mutex_release" >&5 22367$as_echo "$ac_cv_lib_cthreads_libcthreads_mutex_release" >&6; } 22368if test "x$ac_cv_lib_cthreads_libcthreads_mutex_release" = xyes; then : 22369 ac_cv_libcthreads_dummy=yes 22370else 22371 ac_cv_libcthreads=no 22372fi 22373 22374 22375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_read_write_lock_initialize in -lcthreads" >&5 22376$as_echo_n "checking for libcthreads_read_write_lock_initialize in -lcthreads... " >&6; } 22377if ${ac_cv_lib_cthreads_libcthreads_read_write_lock_initialize+:} false; then : 22378 $as_echo_n "(cached) " >&6 22379else 22380 ac_check_lib_save_LIBS=$LIBS 22381LIBS="-lcthreads $LIBS" 22382cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22383/* end confdefs.h. */ 22384 22385/* Override any GCC internal prototype to avoid an error. 22386 Use char because int might match the return type of a GCC 22387 builtin and then its argument prototype would still apply. */ 22388#ifdef __cplusplus 22389extern "C" 22390#endif 22391char libcthreads_read_write_lock_initialize (); 22392int 22393main () 22394{ 22395return libcthreads_read_write_lock_initialize (); 22396 ; 22397 return 0; 22398} 22399_ACEOF 22400if ac_fn_c_try_link "$LINENO"; then : 22401 ac_cv_lib_cthreads_libcthreads_read_write_lock_initialize=yes 22402else 22403 ac_cv_lib_cthreads_libcthreads_read_write_lock_initialize=no 22404fi 22405rm -f core conftest.err conftest.$ac_objext \ 22406 conftest$ac_exeext conftest.$ac_ext 22407LIBS=$ac_check_lib_save_LIBS 22408fi 22409{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_read_write_lock_initialize" >&5 22410$as_echo "$ac_cv_lib_cthreads_libcthreads_read_write_lock_initialize" >&6; } 22411if test "x$ac_cv_lib_cthreads_libcthreads_read_write_lock_initialize" = xyes; then : 22412 ac_cv_libcthreads_dummy=yes 22413else 22414 ac_cv_libcthreads=no 22415fi 22416 22417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_read_write_lock_free in -lcthreads" >&5 22418$as_echo_n "checking for libcthreads_read_write_lock_free in -lcthreads... " >&6; } 22419if ${ac_cv_lib_cthreads_libcthreads_read_write_lock_free+:} false; then : 22420 $as_echo_n "(cached) " >&6 22421else 22422 ac_check_lib_save_LIBS=$LIBS 22423LIBS="-lcthreads $LIBS" 22424cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22425/* end confdefs.h. */ 22426 22427/* Override any GCC internal prototype to avoid an error. 22428 Use char because int might match the return type of a GCC 22429 builtin and then its argument prototype would still apply. */ 22430#ifdef __cplusplus 22431extern "C" 22432#endif 22433char libcthreads_read_write_lock_free (); 22434int 22435main () 22436{ 22437return libcthreads_read_write_lock_free (); 22438 ; 22439 return 0; 22440} 22441_ACEOF 22442if ac_fn_c_try_link "$LINENO"; then : 22443 ac_cv_lib_cthreads_libcthreads_read_write_lock_free=yes 22444else 22445 ac_cv_lib_cthreads_libcthreads_read_write_lock_free=no 22446fi 22447rm -f core conftest.err conftest.$ac_objext \ 22448 conftest$ac_exeext conftest.$ac_ext 22449LIBS=$ac_check_lib_save_LIBS 22450fi 22451{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_read_write_lock_free" >&5 22452$as_echo "$ac_cv_lib_cthreads_libcthreads_read_write_lock_free" >&6; } 22453if test "x$ac_cv_lib_cthreads_libcthreads_read_write_lock_free" = xyes; then : 22454 ac_cv_libcthreads_dummy=yes 22455else 22456 ac_cv_libcthreads=no 22457fi 22458 22459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_read_write_lock_grab_for_read in -lcthreads" >&5 22460$as_echo_n "checking for libcthreads_read_write_lock_grab_for_read in -lcthreads... " >&6; } 22461if ${ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_read+:} false; then : 22462 $as_echo_n "(cached) " >&6 22463else 22464 ac_check_lib_save_LIBS=$LIBS 22465LIBS="-lcthreads $LIBS" 22466cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22467/* end confdefs.h. */ 22468 22469/* Override any GCC internal prototype to avoid an error. 22470 Use char because int might match the return type of a GCC 22471 builtin and then its argument prototype would still apply. */ 22472#ifdef __cplusplus 22473extern "C" 22474#endif 22475char libcthreads_read_write_lock_grab_for_read (); 22476int 22477main () 22478{ 22479return libcthreads_read_write_lock_grab_for_read (); 22480 ; 22481 return 0; 22482} 22483_ACEOF 22484if ac_fn_c_try_link "$LINENO"; then : 22485 ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_read=yes 22486else 22487 ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_read=no 22488fi 22489rm -f core conftest.err conftest.$ac_objext \ 22490 conftest$ac_exeext conftest.$ac_ext 22491LIBS=$ac_check_lib_save_LIBS 22492fi 22493{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_read" >&5 22494$as_echo "$ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_read" >&6; } 22495if test "x$ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_read" = xyes; then : 22496 ac_cv_libcthreads_dummy=yes 22497else 22498 ac_cv_libcthreads=no 22499fi 22500 22501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_read_write_lock_grab_for_write in -lcthreads" >&5 22502$as_echo_n "checking for libcthreads_read_write_lock_grab_for_write in -lcthreads... " >&6; } 22503if ${ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_write+:} false; then : 22504 $as_echo_n "(cached) " >&6 22505else 22506 ac_check_lib_save_LIBS=$LIBS 22507LIBS="-lcthreads $LIBS" 22508cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22509/* end confdefs.h. */ 22510 22511/* Override any GCC internal prototype to avoid an error. 22512 Use char because int might match the return type of a GCC 22513 builtin and then its argument prototype would still apply. */ 22514#ifdef __cplusplus 22515extern "C" 22516#endif 22517char libcthreads_read_write_lock_grab_for_write (); 22518int 22519main () 22520{ 22521return libcthreads_read_write_lock_grab_for_write (); 22522 ; 22523 return 0; 22524} 22525_ACEOF 22526if ac_fn_c_try_link "$LINENO"; then : 22527 ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_write=yes 22528else 22529 ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_write=no 22530fi 22531rm -f core conftest.err conftest.$ac_objext \ 22532 conftest$ac_exeext conftest.$ac_ext 22533LIBS=$ac_check_lib_save_LIBS 22534fi 22535{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_write" >&5 22536$as_echo "$ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_write" >&6; } 22537if test "x$ac_cv_lib_cthreads_libcthreads_read_write_lock_grab_for_write" = xyes; then : 22538 ac_cv_libcthreads_dummy=yes 22539else 22540 ac_cv_libcthreads=no 22541fi 22542 22543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_read_write_lock_release_for_read in -lcthreads" >&5 22544$as_echo_n "checking for libcthreads_read_write_lock_release_for_read in -lcthreads... " >&6; } 22545if ${ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_read+:} false; then : 22546 $as_echo_n "(cached) " >&6 22547else 22548 ac_check_lib_save_LIBS=$LIBS 22549LIBS="-lcthreads $LIBS" 22550cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22551/* end confdefs.h. */ 22552 22553/* Override any GCC internal prototype to avoid an error. 22554 Use char because int might match the return type of a GCC 22555 builtin and then its argument prototype would still apply. */ 22556#ifdef __cplusplus 22557extern "C" 22558#endif 22559char libcthreads_read_write_lock_release_for_read (); 22560int 22561main () 22562{ 22563return libcthreads_read_write_lock_release_for_read (); 22564 ; 22565 return 0; 22566} 22567_ACEOF 22568if ac_fn_c_try_link "$LINENO"; then : 22569 ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_read=yes 22570else 22571 ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_read=no 22572fi 22573rm -f core conftest.err conftest.$ac_objext \ 22574 conftest$ac_exeext conftest.$ac_ext 22575LIBS=$ac_check_lib_save_LIBS 22576fi 22577{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_read" >&5 22578$as_echo "$ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_read" >&6; } 22579if test "x$ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_read" = xyes; then : 22580 ac_cv_libcthreads_dummy=yes 22581else 22582 ac_cv_libcthreads=no 22583fi 22584 22585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_read_write_lock_release_for_write in -lcthreads" >&5 22586$as_echo_n "checking for libcthreads_read_write_lock_release_for_write in -lcthreads... " >&6; } 22587if ${ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_write+:} false; then : 22588 $as_echo_n "(cached) " >&6 22589else 22590 ac_check_lib_save_LIBS=$LIBS 22591LIBS="-lcthreads $LIBS" 22592cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22593/* end confdefs.h. */ 22594 22595/* Override any GCC internal prototype to avoid an error. 22596 Use char because int might match the return type of a GCC 22597 builtin and then its argument prototype would still apply. */ 22598#ifdef __cplusplus 22599extern "C" 22600#endif 22601char libcthreads_read_write_lock_release_for_write (); 22602int 22603main () 22604{ 22605return libcthreads_read_write_lock_release_for_write (); 22606 ; 22607 return 0; 22608} 22609_ACEOF 22610if ac_fn_c_try_link "$LINENO"; then : 22611 ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_write=yes 22612else 22613 ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_write=no 22614fi 22615rm -f core conftest.err conftest.$ac_objext \ 22616 conftest$ac_exeext conftest.$ac_ext 22617LIBS=$ac_check_lib_save_LIBS 22618fi 22619{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_write" >&5 22620$as_echo "$ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_write" >&6; } 22621if test "x$ac_cv_lib_cthreads_libcthreads_read_write_lock_release_for_write" = xyes; then : 22622 ac_cv_libcthreads_dummy=yes 22623else 22624 ac_cv_libcthreads=no 22625fi 22626 22627 22628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_queue_initialize in -lcthreads" >&5 22629$as_echo_n "checking for libcthreads_queue_initialize in -lcthreads... " >&6; } 22630if ${ac_cv_lib_cthreads_libcthreads_queue_initialize+:} false; then : 22631 $as_echo_n "(cached) " >&6 22632else 22633 ac_check_lib_save_LIBS=$LIBS 22634LIBS="-lcthreads $LIBS" 22635cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22636/* end confdefs.h. */ 22637 22638/* Override any GCC internal prototype to avoid an error. 22639 Use char because int might match the return type of a GCC 22640 builtin and then its argument prototype would still apply. */ 22641#ifdef __cplusplus 22642extern "C" 22643#endif 22644char libcthreads_queue_initialize (); 22645int 22646main () 22647{ 22648return libcthreads_queue_initialize (); 22649 ; 22650 return 0; 22651} 22652_ACEOF 22653if ac_fn_c_try_link "$LINENO"; then : 22654 ac_cv_lib_cthreads_libcthreads_queue_initialize=yes 22655else 22656 ac_cv_lib_cthreads_libcthreads_queue_initialize=no 22657fi 22658rm -f core conftest.err conftest.$ac_objext \ 22659 conftest$ac_exeext conftest.$ac_ext 22660LIBS=$ac_check_lib_save_LIBS 22661fi 22662{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_queue_initialize" >&5 22663$as_echo "$ac_cv_lib_cthreads_libcthreads_queue_initialize" >&6; } 22664if test "x$ac_cv_lib_cthreads_libcthreads_queue_initialize" = xyes; then : 22665 ac_cv_libcthreads_dummy=yes 22666else 22667 ac_cv_libcthreads=no 22668fi 22669 22670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_queue_free in -lcthreads" >&5 22671$as_echo_n "checking for libcthreads_queue_free in -lcthreads... " >&6; } 22672if ${ac_cv_lib_cthreads_libcthreads_queue_free+:} false; then : 22673 $as_echo_n "(cached) " >&6 22674else 22675 ac_check_lib_save_LIBS=$LIBS 22676LIBS="-lcthreads $LIBS" 22677cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22678/* end confdefs.h. */ 22679 22680/* Override any GCC internal prototype to avoid an error. 22681 Use char because int might match the return type of a GCC 22682 builtin and then its argument prototype would still apply. */ 22683#ifdef __cplusplus 22684extern "C" 22685#endif 22686char libcthreads_queue_free (); 22687int 22688main () 22689{ 22690return libcthreads_queue_free (); 22691 ; 22692 return 0; 22693} 22694_ACEOF 22695if ac_fn_c_try_link "$LINENO"; then : 22696 ac_cv_lib_cthreads_libcthreads_queue_free=yes 22697else 22698 ac_cv_lib_cthreads_libcthreads_queue_free=no 22699fi 22700rm -f core conftest.err conftest.$ac_objext \ 22701 conftest$ac_exeext conftest.$ac_ext 22702LIBS=$ac_check_lib_save_LIBS 22703fi 22704{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_queue_free" >&5 22705$as_echo "$ac_cv_lib_cthreads_libcthreads_queue_free" >&6; } 22706if test "x$ac_cv_lib_cthreads_libcthreads_queue_free" = xyes; then : 22707 ac_cv_libcthreads_dummy=yes 22708else 22709 ac_cv_libcthreads=no 22710fi 22711 22712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_queue_type_pop in -lcthreads" >&5 22713$as_echo_n "checking for libcthreads_queue_type_pop in -lcthreads... " >&6; } 22714if ${ac_cv_lib_cthreads_libcthreads_queue_type_pop+:} false; then : 22715 $as_echo_n "(cached) " >&6 22716else 22717 ac_check_lib_save_LIBS=$LIBS 22718LIBS="-lcthreads $LIBS" 22719cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22720/* end confdefs.h. */ 22721 22722/* Override any GCC internal prototype to avoid an error. 22723 Use char because int might match the return type of a GCC 22724 builtin and then its argument prototype would still apply. */ 22725#ifdef __cplusplus 22726extern "C" 22727#endif 22728char libcthreads_queue_type_pop (); 22729int 22730main () 22731{ 22732return libcthreads_queue_type_pop (); 22733 ; 22734 return 0; 22735} 22736_ACEOF 22737if ac_fn_c_try_link "$LINENO"; then : 22738 ac_cv_lib_cthreads_libcthreads_queue_type_pop=yes 22739else 22740 ac_cv_lib_cthreads_libcthreads_queue_type_pop=no 22741fi 22742rm -f core conftest.err conftest.$ac_objext \ 22743 conftest$ac_exeext conftest.$ac_ext 22744LIBS=$ac_check_lib_save_LIBS 22745fi 22746{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_queue_type_pop" >&5 22747$as_echo "$ac_cv_lib_cthreads_libcthreads_queue_type_pop" >&6; } 22748if test "x$ac_cv_lib_cthreads_libcthreads_queue_type_pop" = xyes; then : 22749 ac_cv_libcthreads_dummy=yes 22750else 22751 ac_cv_libcthreads=no 22752fi 22753 22754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_queue_pop in -lcthreads" >&5 22755$as_echo_n "checking for libcthreads_queue_pop in -lcthreads... " >&6; } 22756if ${ac_cv_lib_cthreads_libcthreads_queue_pop+:} false; then : 22757 $as_echo_n "(cached) " >&6 22758else 22759 ac_check_lib_save_LIBS=$LIBS 22760LIBS="-lcthreads $LIBS" 22761cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22762/* end confdefs.h. */ 22763 22764/* Override any GCC internal prototype to avoid an error. 22765 Use char because int might match the return type of a GCC 22766 builtin and then its argument prototype would still apply. */ 22767#ifdef __cplusplus 22768extern "C" 22769#endif 22770char libcthreads_queue_pop (); 22771int 22772main () 22773{ 22774return libcthreads_queue_pop (); 22775 ; 22776 return 0; 22777} 22778_ACEOF 22779if ac_fn_c_try_link "$LINENO"; then : 22780 ac_cv_lib_cthreads_libcthreads_queue_pop=yes 22781else 22782 ac_cv_lib_cthreads_libcthreads_queue_pop=no 22783fi 22784rm -f core conftest.err conftest.$ac_objext \ 22785 conftest$ac_exeext conftest.$ac_ext 22786LIBS=$ac_check_lib_save_LIBS 22787fi 22788{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_queue_pop" >&5 22789$as_echo "$ac_cv_lib_cthreads_libcthreads_queue_pop" >&6; } 22790if test "x$ac_cv_lib_cthreads_libcthreads_queue_pop" = xyes; then : 22791 ac_cv_libcthreads_dummy=yes 22792else 22793 ac_cv_libcthreads=no 22794fi 22795 22796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_queue_try_push in -lcthreads" >&5 22797$as_echo_n "checking for libcthreads_queue_try_push in -lcthreads... " >&6; } 22798if ${ac_cv_lib_cthreads_libcthreads_queue_try_push+:} false; then : 22799 $as_echo_n "(cached) " >&6 22800else 22801 ac_check_lib_save_LIBS=$LIBS 22802LIBS="-lcthreads $LIBS" 22803cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22804/* end confdefs.h. */ 22805 22806/* Override any GCC internal prototype to avoid an error. 22807 Use char because int might match the return type of a GCC 22808 builtin and then its argument prototype would still apply. */ 22809#ifdef __cplusplus 22810extern "C" 22811#endif 22812char libcthreads_queue_try_push (); 22813int 22814main () 22815{ 22816return libcthreads_queue_try_push (); 22817 ; 22818 return 0; 22819} 22820_ACEOF 22821if ac_fn_c_try_link "$LINENO"; then : 22822 ac_cv_lib_cthreads_libcthreads_queue_try_push=yes 22823else 22824 ac_cv_lib_cthreads_libcthreads_queue_try_push=no 22825fi 22826rm -f core conftest.err conftest.$ac_objext \ 22827 conftest$ac_exeext conftest.$ac_ext 22828LIBS=$ac_check_lib_save_LIBS 22829fi 22830{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_queue_try_push" >&5 22831$as_echo "$ac_cv_lib_cthreads_libcthreads_queue_try_push" >&6; } 22832if test "x$ac_cv_lib_cthreads_libcthreads_queue_try_push" = xyes; then : 22833 ac_cv_libcthreads_dummy=yes 22834else 22835 ac_cv_libcthreads=no 22836fi 22837 22838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_queue_push in -lcthreads" >&5 22839$as_echo_n "checking for libcthreads_queue_push in -lcthreads... " >&6; } 22840if ${ac_cv_lib_cthreads_libcthreads_queue_push+:} false; then : 22841 $as_echo_n "(cached) " >&6 22842else 22843 ac_check_lib_save_LIBS=$LIBS 22844LIBS="-lcthreads $LIBS" 22845cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22846/* end confdefs.h. */ 22847 22848/* Override any GCC internal prototype to avoid an error. 22849 Use char because int might match the return type of a GCC 22850 builtin and then its argument prototype would still apply. */ 22851#ifdef __cplusplus 22852extern "C" 22853#endif 22854char libcthreads_queue_push (); 22855int 22856main () 22857{ 22858return libcthreads_queue_push (); 22859 ; 22860 return 0; 22861} 22862_ACEOF 22863if ac_fn_c_try_link "$LINENO"; then : 22864 ac_cv_lib_cthreads_libcthreads_queue_push=yes 22865else 22866 ac_cv_lib_cthreads_libcthreads_queue_push=no 22867fi 22868rm -f core conftest.err conftest.$ac_objext \ 22869 conftest$ac_exeext conftest.$ac_ext 22870LIBS=$ac_check_lib_save_LIBS 22871fi 22872{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_queue_push" >&5 22873$as_echo "$ac_cv_lib_cthreads_libcthreads_queue_push" >&6; } 22874if test "x$ac_cv_lib_cthreads_libcthreads_queue_push" = xyes; then : 22875 ac_cv_libcthreads_dummy=yes 22876else 22877 ac_cv_libcthreads=no 22878fi 22879 22880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_queue_push_sorted in -lcthreads" >&5 22881$as_echo_n "checking for libcthreads_queue_push_sorted in -lcthreads... " >&6; } 22882if ${ac_cv_lib_cthreads_libcthreads_queue_push_sorted+:} false; then : 22883 $as_echo_n "(cached) " >&6 22884else 22885 ac_check_lib_save_LIBS=$LIBS 22886LIBS="-lcthreads $LIBS" 22887cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22888/* end confdefs.h. */ 22889 22890/* Override any GCC internal prototype to avoid an error. 22891 Use char because int might match the return type of a GCC 22892 builtin and then its argument prototype would still apply. */ 22893#ifdef __cplusplus 22894extern "C" 22895#endif 22896char libcthreads_queue_push_sorted (); 22897int 22898main () 22899{ 22900return libcthreads_queue_push_sorted (); 22901 ; 22902 return 0; 22903} 22904_ACEOF 22905if ac_fn_c_try_link "$LINENO"; then : 22906 ac_cv_lib_cthreads_libcthreads_queue_push_sorted=yes 22907else 22908 ac_cv_lib_cthreads_libcthreads_queue_push_sorted=no 22909fi 22910rm -f core conftest.err conftest.$ac_objext \ 22911 conftest$ac_exeext conftest.$ac_ext 22912LIBS=$ac_check_lib_save_LIBS 22913fi 22914{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_queue_push_sorted" >&5 22915$as_echo "$ac_cv_lib_cthreads_libcthreads_queue_push_sorted" >&6; } 22916if test "x$ac_cv_lib_cthreads_libcthreads_queue_push_sorted" = xyes; then : 22917 ac_cv_libcthreads_dummy=yes 22918else 22919 ac_cv_libcthreads=no 22920fi 22921 22922 22923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_pool_create in -lcthreads" >&5 22924$as_echo_n "checking for libcthreads_thread_pool_create in -lcthreads... " >&6; } 22925if ${ac_cv_lib_cthreads_libcthreads_thread_pool_create+:} false; then : 22926 $as_echo_n "(cached) " >&6 22927else 22928 ac_check_lib_save_LIBS=$LIBS 22929LIBS="-lcthreads $LIBS" 22930cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22931/* end confdefs.h. */ 22932 22933/* Override any GCC internal prototype to avoid an error. 22934 Use char because int might match the return type of a GCC 22935 builtin and then its argument prototype would still apply. */ 22936#ifdef __cplusplus 22937extern "C" 22938#endif 22939char libcthreads_thread_pool_create (); 22940int 22941main () 22942{ 22943return libcthreads_thread_pool_create (); 22944 ; 22945 return 0; 22946} 22947_ACEOF 22948if ac_fn_c_try_link "$LINENO"; then : 22949 ac_cv_lib_cthreads_libcthreads_thread_pool_create=yes 22950else 22951 ac_cv_lib_cthreads_libcthreads_thread_pool_create=no 22952fi 22953rm -f core conftest.err conftest.$ac_objext \ 22954 conftest$ac_exeext conftest.$ac_ext 22955LIBS=$ac_check_lib_save_LIBS 22956fi 22957{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_pool_create" >&5 22958$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_pool_create" >&6; } 22959if test "x$ac_cv_lib_cthreads_libcthreads_thread_pool_create" = xyes; then : 22960 ac_cv_libcthreads_dummy=yes 22961else 22962 ac_cv_libcthreads=no 22963fi 22964 22965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_pool_push in -lcthreads" >&5 22966$as_echo_n "checking for libcthreads_thread_pool_push in -lcthreads... " >&6; } 22967if ${ac_cv_lib_cthreads_libcthreads_thread_pool_push+:} false; then : 22968 $as_echo_n "(cached) " >&6 22969else 22970 ac_check_lib_save_LIBS=$LIBS 22971LIBS="-lcthreads $LIBS" 22972cat confdefs.h - <<_ACEOF >conftest.$ac_ext 22973/* end confdefs.h. */ 22974 22975/* Override any GCC internal prototype to avoid an error. 22976 Use char because int might match the return type of a GCC 22977 builtin and then its argument prototype would still apply. */ 22978#ifdef __cplusplus 22979extern "C" 22980#endif 22981char libcthreads_thread_pool_push (); 22982int 22983main () 22984{ 22985return libcthreads_thread_pool_push (); 22986 ; 22987 return 0; 22988} 22989_ACEOF 22990if ac_fn_c_try_link "$LINENO"; then : 22991 ac_cv_lib_cthreads_libcthreads_thread_pool_push=yes 22992else 22993 ac_cv_lib_cthreads_libcthreads_thread_pool_push=no 22994fi 22995rm -f core conftest.err conftest.$ac_objext \ 22996 conftest$ac_exeext conftest.$ac_ext 22997LIBS=$ac_check_lib_save_LIBS 22998fi 22999{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_pool_push" >&5 23000$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_pool_push" >&6; } 23001if test "x$ac_cv_lib_cthreads_libcthreads_thread_pool_push" = xyes; then : 23002 ac_cv_libcthreads_dummy=yes 23003else 23004 ac_cv_libcthreads=no 23005fi 23006 23007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_pool_push_sorted in -lcthreads" >&5 23008$as_echo_n "checking for libcthreads_thread_pool_push_sorted in -lcthreads... " >&6; } 23009if ${ac_cv_lib_cthreads_libcthreads_thread_pool_push_sorted+:} false; then : 23010 $as_echo_n "(cached) " >&6 23011else 23012 ac_check_lib_save_LIBS=$LIBS 23013LIBS="-lcthreads $LIBS" 23014cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23015/* end confdefs.h. */ 23016 23017/* Override any GCC internal prototype to avoid an error. 23018 Use char because int might match the return type of a GCC 23019 builtin and then its argument prototype would still apply. */ 23020#ifdef __cplusplus 23021extern "C" 23022#endif 23023char libcthreads_thread_pool_push_sorted (); 23024int 23025main () 23026{ 23027return libcthreads_thread_pool_push_sorted (); 23028 ; 23029 return 0; 23030} 23031_ACEOF 23032if ac_fn_c_try_link "$LINENO"; then : 23033 ac_cv_lib_cthreads_libcthreads_thread_pool_push_sorted=yes 23034else 23035 ac_cv_lib_cthreads_libcthreads_thread_pool_push_sorted=no 23036fi 23037rm -f core conftest.err conftest.$ac_objext \ 23038 conftest$ac_exeext conftest.$ac_ext 23039LIBS=$ac_check_lib_save_LIBS 23040fi 23041{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_pool_push_sorted" >&5 23042$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_pool_push_sorted" >&6; } 23043if test "x$ac_cv_lib_cthreads_libcthreads_thread_pool_push_sorted" = xyes; then : 23044 ac_cv_libcthreads_dummy=yes 23045else 23046 ac_cv_libcthreads=no 23047fi 23048 23049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcthreads_thread_pool_join in -lcthreads" >&5 23050$as_echo_n "checking for libcthreads_thread_pool_join in -lcthreads... " >&6; } 23051if ${ac_cv_lib_cthreads_libcthreads_thread_pool_join+:} false; then : 23052 $as_echo_n "(cached) " >&6 23053else 23054 ac_check_lib_save_LIBS=$LIBS 23055LIBS="-lcthreads $LIBS" 23056cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23057/* end confdefs.h. */ 23058 23059/* Override any GCC internal prototype to avoid an error. 23060 Use char because int might match the return type of a GCC 23061 builtin and then its argument prototype would still apply. */ 23062#ifdef __cplusplus 23063extern "C" 23064#endif 23065char libcthreads_thread_pool_join (); 23066int 23067main () 23068{ 23069return libcthreads_thread_pool_join (); 23070 ; 23071 return 0; 23072} 23073_ACEOF 23074if ac_fn_c_try_link "$LINENO"; then : 23075 ac_cv_lib_cthreads_libcthreads_thread_pool_join=yes 23076else 23077 ac_cv_lib_cthreads_libcthreads_thread_pool_join=no 23078fi 23079rm -f core conftest.err conftest.$ac_objext \ 23080 conftest$ac_exeext conftest.$ac_ext 23081LIBS=$ac_check_lib_save_LIBS 23082fi 23083{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cthreads_libcthreads_thread_pool_join" >&5 23084$as_echo "$ac_cv_lib_cthreads_libcthreads_thread_pool_join" >&6; } 23085if test "x$ac_cv_lib_cthreads_libcthreads_thread_pool_join" = xyes; then : 23086 ac_cv_libcthreads_dummy=yes 23087else 23088 ac_cv_libcthreads=no 23089fi 23090 23091 23092 ac_cv_libcthreads_LIBADD="-lcthreads" 23093fi 23094 23095fi 23096 23097 if test "x$ac_cv_with_libcthreads" != x && test "x$ac_cv_with_libcthreads" != xauto-detect && test "x$ac_cv_libcthreads" != xyes; then : 23098 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 23099$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 23100as_fn_error 1 "unable to find supported libcthreads in directory: $ac_cv_with_libcthreads 23101See \`config.log' for more details" "$LINENO" 5; } 23102 23103fi 23104 23105fi 23106 23107 if test "x$ac_cv_libcthreads" = xyes; then : 23108 23109$as_echo "#define HAVE_LIBCTHREADS 1" >>confdefs.h 23110 23111 23112fi 23113 23114 if test "x$ac_cv_libcthreads" = xyes; then : 23115 ac_cv_libcthreads_multi_threading=libcthreads 23116else 23117 ac_cv_libcthreads_multi_threading=no 23118fi 23119 23120 if test "x$ac_cv_libcthreads" = xyes; then : 23121 HAVE_LIBCTHREADS=1 23122 23123else 23124 HAVE_LIBCTHREADS=0 23125 23126 23127fi 23128 23129 23130 if test "x$ac_cv_libcthreads" != xyes; then : 23131 if test "x$ac_cv_enable_winapi" = xno; then : 23132 23133 23134# Check whether --with-pthread was given. 23135if test "${with_pthread+set}" = set; then : 23136 withval=$with_pthread; ac_cv_with_pthread=$withval 23137else 23138 ac_cv_with_pthread=auto-detect 23139fi 23140 23141 { $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 23142$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; } 23143if ${ac_cv_with_pthread+:} false; then : 23144 $as_echo_n "(cached) " >&6 23145else 23146 ac_cv_with_pthread=auto-detect 23147fi 23148{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_pthread" >&5 23149$as_echo "$ac_cv_with_pthread" >&6; } 23150 23151 if test "x$ac_cv_with_pthread" != x && test "x$ac_cv_with_pthread" != xno && test "x$ac_cv_with_pthread" != xauto-detect; then : 23152 if test -d "$ac_cv_with_pthread"; then : 23153 CFLAGS="$CFLAGS -I${ac_cv_with_pthread}/include" 23154 LDFLAGS="$LDFLAGS -L${ac_cv_with_pthread}/lib" 23155else 23156 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no such directory: $ac_cv_with_pthread" >&5 23157$as_echo "$as_me: WARNING: no such directory: $ac_cv_with_pthread" >&2;} 23158 23159fi 23160 23161fi 23162 23163 if test "x$ac_cv_with_pthread" = xno; then : 23164 ac_cv_pthread=no 23165else 23166 for ac_header in pthread.h 23167do : 23168 ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" 23169if test "x$ac_cv_header_pthread_h" = xyes; then : 23170 cat >>confdefs.h <<_ACEOF 23171#define HAVE_PTHREAD_H 1 23172_ACEOF 23173 23174fi 23175 23176done 23177 23178 23179 if test "x$ac_cv_header_pthread_h" = xno; then : 23180 ac_cv_pthread=no 23181else 23182 ac_cv_pthread=pthread 23183 23184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5 23185$as_echo_n "checking for pthread_create in -lpthread... " >&6; } 23186if ${ac_cv_lib_pthread_pthread_create+:} false; then : 23187 $as_echo_n "(cached) " >&6 23188else 23189 ac_check_lib_save_LIBS=$LIBS 23190LIBS="-lpthread $LIBS" 23191cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23192/* end confdefs.h. */ 23193 23194/* Override any GCC internal prototype to avoid an error. 23195 Use char because int might match the return type of a GCC 23196 builtin and then its argument prototype would still apply. */ 23197#ifdef __cplusplus 23198extern "C" 23199#endif 23200char pthread_create (); 23201int 23202main () 23203{ 23204return pthread_create (); 23205 ; 23206 return 0; 23207} 23208_ACEOF 23209if ac_fn_c_try_link "$LINENO"; then : 23210 ac_cv_lib_pthread_pthread_create=yes 23211else 23212 ac_cv_lib_pthread_pthread_create=no 23213fi 23214rm -f core conftest.err conftest.$ac_objext \ 23215 conftest$ac_exeext conftest.$ac_ext 23216LIBS=$ac_check_lib_save_LIBS 23217fi 23218{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5 23219$as_echo "$ac_cv_lib_pthread_pthread_create" >&6; } 23220if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then : 23221 ac_pthread_dummy=yes 23222else 23223 ac_cv_pthread=no 23224fi 23225 23226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_exit in -lpthread" >&5 23227$as_echo_n "checking for pthread_exit in -lpthread... " >&6; } 23228if ${ac_cv_lib_pthread_pthread_exit+:} false; then : 23229 $as_echo_n "(cached) " >&6 23230else 23231 ac_check_lib_save_LIBS=$LIBS 23232LIBS="-lpthread $LIBS" 23233cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23234/* end confdefs.h. */ 23235 23236/* Override any GCC internal prototype to avoid an error. 23237 Use char because int might match the return type of a GCC 23238 builtin and then its argument prototype would still apply. */ 23239#ifdef __cplusplus 23240extern "C" 23241#endif 23242char pthread_exit (); 23243int 23244main () 23245{ 23246return pthread_exit (); 23247 ; 23248 return 0; 23249} 23250_ACEOF 23251if ac_fn_c_try_link "$LINENO"; then : 23252 ac_cv_lib_pthread_pthread_exit=yes 23253else 23254 ac_cv_lib_pthread_pthread_exit=no 23255fi 23256rm -f core conftest.err conftest.$ac_objext \ 23257 conftest$ac_exeext conftest.$ac_ext 23258LIBS=$ac_check_lib_save_LIBS 23259fi 23260{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_exit" >&5 23261$as_echo "$ac_cv_lib_pthread_pthread_exit" >&6; } 23262if test "x$ac_cv_lib_pthread_pthread_exit" = xyes; then : 23263 ac_pthread_dummy=yes 23264else 23265 ac_cv_pthread=no 23266fi 23267 23268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join in -lpthread" >&5 23269$as_echo_n "checking for pthread_join in -lpthread... " >&6; } 23270if ${ac_cv_lib_pthread_pthread_join+:} false; then : 23271 $as_echo_n "(cached) " >&6 23272else 23273 ac_check_lib_save_LIBS=$LIBS 23274LIBS="-lpthread $LIBS" 23275cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23276/* end confdefs.h. */ 23277 23278/* Override any GCC internal prototype to avoid an error. 23279 Use char because int might match the return type of a GCC 23280 builtin and then its argument prototype would still apply. */ 23281#ifdef __cplusplus 23282extern "C" 23283#endif 23284char pthread_join (); 23285int 23286main () 23287{ 23288return pthread_join (); 23289 ; 23290 return 0; 23291} 23292_ACEOF 23293if ac_fn_c_try_link "$LINENO"; then : 23294 ac_cv_lib_pthread_pthread_join=yes 23295else 23296 ac_cv_lib_pthread_pthread_join=no 23297fi 23298rm -f core conftest.err conftest.$ac_objext \ 23299 conftest$ac_exeext conftest.$ac_ext 23300LIBS=$ac_check_lib_save_LIBS 23301fi 23302{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_join" >&5 23303$as_echo "$ac_cv_lib_pthread_pthread_join" >&6; } 23304if test "x$ac_cv_lib_pthread_pthread_join" = xyes; then : 23305 ac_pthread_dummy=yes 23306else 23307 ac_cv_pthread=no 23308fi 23309 23310 23311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_init in -lpthread" >&5 23312$as_echo_n "checking for pthread_cond_init in -lpthread... " >&6; } 23313if ${ac_cv_lib_pthread_pthread_cond_init+:} false; then : 23314 $as_echo_n "(cached) " >&6 23315else 23316 ac_check_lib_save_LIBS=$LIBS 23317LIBS="-lpthread $LIBS" 23318cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23319/* end confdefs.h. */ 23320 23321/* Override any GCC internal prototype to avoid an error. 23322 Use char because int might match the return type of a GCC 23323 builtin and then its argument prototype would still apply. */ 23324#ifdef __cplusplus 23325extern "C" 23326#endif 23327char pthread_cond_init (); 23328int 23329main () 23330{ 23331return pthread_cond_init (); 23332 ; 23333 return 0; 23334} 23335_ACEOF 23336if ac_fn_c_try_link "$LINENO"; then : 23337 ac_cv_lib_pthread_pthread_cond_init=yes 23338else 23339 ac_cv_lib_pthread_pthread_cond_init=no 23340fi 23341rm -f core conftest.err conftest.$ac_objext \ 23342 conftest$ac_exeext conftest.$ac_ext 23343LIBS=$ac_check_lib_save_LIBS 23344fi 23345{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_cond_init" >&5 23346$as_echo "$ac_cv_lib_pthread_pthread_cond_init" >&6; } 23347if test "x$ac_cv_lib_pthread_pthread_cond_init" = xyes; then : 23348 ac_pthread_dummy=yes 23349else 23350 ac_cv_pthread=no 23351fi 23352 23353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_destroy in -lpthread" >&5 23354$as_echo_n "checking for pthread_cond_destroy in -lpthread... " >&6; } 23355if ${ac_cv_lib_pthread_pthread_cond_destroy+:} false; then : 23356 $as_echo_n "(cached) " >&6 23357else 23358 ac_check_lib_save_LIBS=$LIBS 23359LIBS="-lpthread $LIBS" 23360cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23361/* end confdefs.h. */ 23362 23363/* Override any GCC internal prototype to avoid an error. 23364 Use char because int might match the return type of a GCC 23365 builtin and then its argument prototype would still apply. */ 23366#ifdef __cplusplus 23367extern "C" 23368#endif 23369char pthread_cond_destroy (); 23370int 23371main () 23372{ 23373return pthread_cond_destroy (); 23374 ; 23375 return 0; 23376} 23377_ACEOF 23378if ac_fn_c_try_link "$LINENO"; then : 23379 ac_cv_lib_pthread_pthread_cond_destroy=yes 23380else 23381 ac_cv_lib_pthread_pthread_cond_destroy=no 23382fi 23383rm -f core conftest.err conftest.$ac_objext \ 23384 conftest$ac_exeext conftest.$ac_ext 23385LIBS=$ac_check_lib_save_LIBS 23386fi 23387{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_cond_destroy" >&5 23388$as_echo "$ac_cv_lib_pthread_pthread_cond_destroy" >&6; } 23389if test "x$ac_cv_lib_pthread_pthread_cond_destroy" = xyes; then : 23390 ac_pthread_dummy=yes 23391else 23392 ac_cv_pthread=no 23393fi 23394 23395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_broadcast in -lpthread" >&5 23396$as_echo_n "checking for pthread_cond_broadcast in -lpthread... " >&6; } 23397if ${ac_cv_lib_pthread_pthread_cond_broadcast+:} false; then : 23398 $as_echo_n "(cached) " >&6 23399else 23400 ac_check_lib_save_LIBS=$LIBS 23401LIBS="-lpthread $LIBS" 23402cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23403/* end confdefs.h. */ 23404 23405/* Override any GCC internal prototype to avoid an error. 23406 Use char because int might match the return type of a GCC 23407 builtin and then its argument prototype would still apply. */ 23408#ifdef __cplusplus 23409extern "C" 23410#endif 23411char pthread_cond_broadcast (); 23412int 23413main () 23414{ 23415return pthread_cond_broadcast (); 23416 ; 23417 return 0; 23418} 23419_ACEOF 23420if ac_fn_c_try_link "$LINENO"; then : 23421 ac_cv_lib_pthread_pthread_cond_broadcast=yes 23422else 23423 ac_cv_lib_pthread_pthread_cond_broadcast=no 23424fi 23425rm -f core conftest.err conftest.$ac_objext \ 23426 conftest$ac_exeext conftest.$ac_ext 23427LIBS=$ac_check_lib_save_LIBS 23428fi 23429{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_cond_broadcast" >&5 23430$as_echo "$ac_cv_lib_pthread_pthread_cond_broadcast" >&6; } 23431if test "x$ac_cv_lib_pthread_pthread_cond_broadcast" = xyes; then : 23432 ac_pthread_dummy=yes 23433else 23434 ac_cv_pthread=no 23435fi 23436 23437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_signal in -lpthread" >&5 23438$as_echo_n "checking for pthread_cond_signal in -lpthread... " >&6; } 23439if ${ac_cv_lib_pthread_pthread_cond_signal+:} false; then : 23440 $as_echo_n "(cached) " >&6 23441else 23442 ac_check_lib_save_LIBS=$LIBS 23443LIBS="-lpthread $LIBS" 23444cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23445/* end confdefs.h. */ 23446 23447/* Override any GCC internal prototype to avoid an error. 23448 Use char because int might match the return type of a GCC 23449 builtin and then its argument prototype would still apply. */ 23450#ifdef __cplusplus 23451extern "C" 23452#endif 23453char pthread_cond_signal (); 23454int 23455main () 23456{ 23457return pthread_cond_signal (); 23458 ; 23459 return 0; 23460} 23461_ACEOF 23462if ac_fn_c_try_link "$LINENO"; then : 23463 ac_cv_lib_pthread_pthread_cond_signal=yes 23464else 23465 ac_cv_lib_pthread_pthread_cond_signal=no 23466fi 23467rm -f core conftest.err conftest.$ac_objext \ 23468 conftest$ac_exeext conftest.$ac_ext 23469LIBS=$ac_check_lib_save_LIBS 23470fi 23471{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_cond_signal" >&5 23472$as_echo "$ac_cv_lib_pthread_pthread_cond_signal" >&6; } 23473if test "x$ac_cv_lib_pthread_pthread_cond_signal" = xyes; then : 23474 ac_pthread_dummy=yes 23475else 23476 ac_cv_pthread=no 23477fi 23478 23479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_wait in -lpthread" >&5 23480$as_echo_n "checking for pthread_cond_wait in -lpthread... " >&6; } 23481if ${ac_cv_lib_pthread_pthread_cond_wait+:} false; then : 23482 $as_echo_n "(cached) " >&6 23483else 23484 ac_check_lib_save_LIBS=$LIBS 23485LIBS="-lpthread $LIBS" 23486cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23487/* end confdefs.h. */ 23488 23489/* Override any GCC internal prototype to avoid an error. 23490 Use char because int might match the return type of a GCC 23491 builtin and then its argument prototype would still apply. */ 23492#ifdef __cplusplus 23493extern "C" 23494#endif 23495char pthread_cond_wait (); 23496int 23497main () 23498{ 23499return pthread_cond_wait (); 23500 ; 23501 return 0; 23502} 23503_ACEOF 23504if ac_fn_c_try_link "$LINENO"; then : 23505 ac_cv_lib_pthread_pthread_cond_wait=yes 23506else 23507 ac_cv_lib_pthread_pthread_cond_wait=no 23508fi 23509rm -f core conftest.err conftest.$ac_objext \ 23510 conftest$ac_exeext conftest.$ac_ext 23511LIBS=$ac_check_lib_save_LIBS 23512fi 23513{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_cond_wait" >&5 23514$as_echo "$ac_cv_lib_pthread_pthread_cond_wait" >&6; } 23515if test "x$ac_cv_lib_pthread_pthread_cond_wait" = xyes; then : 23516 ac_pthread_dummy=yes 23517else 23518 ac_cv_pthread=no 23519fi 23520 23521 23522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_init in -lpthread" >&5 23523$as_echo_n "checking for pthread_mutex_init in -lpthread... " >&6; } 23524if ${ac_cv_lib_pthread_pthread_mutex_init+:} false; then : 23525 $as_echo_n "(cached) " >&6 23526else 23527 ac_check_lib_save_LIBS=$LIBS 23528LIBS="-lpthread $LIBS" 23529cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23530/* end confdefs.h. */ 23531 23532/* Override any GCC internal prototype to avoid an error. 23533 Use char because int might match the return type of a GCC 23534 builtin and then its argument prototype would still apply. */ 23535#ifdef __cplusplus 23536extern "C" 23537#endif 23538char pthread_mutex_init (); 23539int 23540main () 23541{ 23542return pthread_mutex_init (); 23543 ; 23544 return 0; 23545} 23546_ACEOF 23547if ac_fn_c_try_link "$LINENO"; then : 23548 ac_cv_lib_pthread_pthread_mutex_init=yes 23549else 23550 ac_cv_lib_pthread_pthread_mutex_init=no 23551fi 23552rm -f core conftest.err conftest.$ac_objext \ 23553 conftest$ac_exeext conftest.$ac_ext 23554LIBS=$ac_check_lib_save_LIBS 23555fi 23556{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_mutex_init" >&5 23557$as_echo "$ac_cv_lib_pthread_pthread_mutex_init" >&6; } 23558if test "x$ac_cv_lib_pthread_pthread_mutex_init" = xyes; then : 23559 ac_pthread_dummy=yes 23560else 23561 ac_cv_pthread=no 23562fi 23563 23564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_destroy in -lpthread" >&5 23565$as_echo_n "checking for pthread_mutex_destroy in -lpthread... " >&6; } 23566if ${ac_cv_lib_pthread_pthread_mutex_destroy+:} false; then : 23567 $as_echo_n "(cached) " >&6 23568else 23569 ac_check_lib_save_LIBS=$LIBS 23570LIBS="-lpthread $LIBS" 23571cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23572/* end confdefs.h. */ 23573 23574/* Override any GCC internal prototype to avoid an error. 23575 Use char because int might match the return type of a GCC 23576 builtin and then its argument prototype would still apply. */ 23577#ifdef __cplusplus 23578extern "C" 23579#endif 23580char pthread_mutex_destroy (); 23581int 23582main () 23583{ 23584return pthread_mutex_destroy (); 23585 ; 23586 return 0; 23587} 23588_ACEOF 23589if ac_fn_c_try_link "$LINENO"; then : 23590 ac_cv_lib_pthread_pthread_mutex_destroy=yes 23591else 23592 ac_cv_lib_pthread_pthread_mutex_destroy=no 23593fi 23594rm -f core conftest.err conftest.$ac_objext \ 23595 conftest$ac_exeext conftest.$ac_ext 23596LIBS=$ac_check_lib_save_LIBS 23597fi 23598{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_mutex_destroy" >&5 23599$as_echo "$ac_cv_lib_pthread_pthread_mutex_destroy" >&6; } 23600if test "x$ac_cv_lib_pthread_pthread_mutex_destroy" = xyes; then : 23601 ac_pthread_dummy=yes 23602else 23603 ac_cv_pthread=no 23604fi 23605 23606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_lock in -lpthread" >&5 23607$as_echo_n "checking for pthread_mutex_lock in -lpthread... " >&6; } 23608if ${ac_cv_lib_pthread_pthread_mutex_lock+:} false; then : 23609 $as_echo_n "(cached) " >&6 23610else 23611 ac_check_lib_save_LIBS=$LIBS 23612LIBS="-lpthread $LIBS" 23613cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23614/* end confdefs.h. */ 23615 23616/* Override any GCC internal prototype to avoid an error. 23617 Use char because int might match the return type of a GCC 23618 builtin and then its argument prototype would still apply. */ 23619#ifdef __cplusplus 23620extern "C" 23621#endif 23622char pthread_mutex_lock (); 23623int 23624main () 23625{ 23626return pthread_mutex_lock (); 23627 ; 23628 return 0; 23629} 23630_ACEOF 23631if ac_fn_c_try_link "$LINENO"; then : 23632 ac_cv_lib_pthread_pthread_mutex_lock=yes 23633else 23634 ac_cv_lib_pthread_pthread_mutex_lock=no 23635fi 23636rm -f core conftest.err conftest.$ac_objext \ 23637 conftest$ac_exeext conftest.$ac_ext 23638LIBS=$ac_check_lib_save_LIBS 23639fi 23640{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_mutex_lock" >&5 23641$as_echo "$ac_cv_lib_pthread_pthread_mutex_lock" >&6; } 23642if test "x$ac_cv_lib_pthread_pthread_mutex_lock" = xyes; then : 23643 ac_pthread_dummy=yes 23644else 23645 ac_cv_pthread=no 23646fi 23647 23648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_trylock in -lpthread" >&5 23649$as_echo_n "checking for pthread_mutex_trylock in -lpthread... " >&6; } 23650if ${ac_cv_lib_pthread_pthread_mutex_trylock+:} false; then : 23651 $as_echo_n "(cached) " >&6 23652else 23653 ac_check_lib_save_LIBS=$LIBS 23654LIBS="-lpthread $LIBS" 23655cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23656/* end confdefs.h. */ 23657 23658/* Override any GCC internal prototype to avoid an error. 23659 Use char because int might match the return type of a GCC 23660 builtin and then its argument prototype would still apply. */ 23661#ifdef __cplusplus 23662extern "C" 23663#endif 23664char pthread_mutex_trylock (); 23665int 23666main () 23667{ 23668return pthread_mutex_trylock (); 23669 ; 23670 return 0; 23671} 23672_ACEOF 23673if ac_fn_c_try_link "$LINENO"; then : 23674 ac_cv_lib_pthread_pthread_mutex_trylock=yes 23675else 23676 ac_cv_lib_pthread_pthread_mutex_trylock=no 23677fi 23678rm -f core conftest.err conftest.$ac_objext \ 23679 conftest$ac_exeext conftest.$ac_ext 23680LIBS=$ac_check_lib_save_LIBS 23681fi 23682{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_mutex_trylock" >&5 23683$as_echo "$ac_cv_lib_pthread_pthread_mutex_trylock" >&6; } 23684if test "x$ac_cv_lib_pthread_pthread_mutex_trylock" = xyes; then : 23685 ac_pthread_dummy=yes 23686else 23687 ac_cv_pthread=no 23688fi 23689 23690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_unlock in -lpthread" >&5 23691$as_echo_n "checking for pthread_mutex_unlock in -lpthread... " >&6; } 23692if ${ac_cv_lib_pthread_pthread_mutex_unlock+:} false; then : 23693 $as_echo_n "(cached) " >&6 23694else 23695 ac_check_lib_save_LIBS=$LIBS 23696LIBS="-lpthread $LIBS" 23697cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23698/* end confdefs.h. */ 23699 23700/* Override any GCC internal prototype to avoid an error. 23701 Use char because int might match the return type of a GCC 23702 builtin and then its argument prototype would still apply. */ 23703#ifdef __cplusplus 23704extern "C" 23705#endif 23706char pthread_mutex_unlock (); 23707int 23708main () 23709{ 23710return pthread_mutex_unlock (); 23711 ; 23712 return 0; 23713} 23714_ACEOF 23715if ac_fn_c_try_link "$LINENO"; then : 23716 ac_cv_lib_pthread_pthread_mutex_unlock=yes 23717else 23718 ac_cv_lib_pthread_pthread_mutex_unlock=no 23719fi 23720rm -f core conftest.err conftest.$ac_objext \ 23721 conftest$ac_exeext conftest.$ac_ext 23722LIBS=$ac_check_lib_save_LIBS 23723fi 23724{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_mutex_unlock" >&5 23725$as_echo "$ac_cv_lib_pthread_pthread_mutex_unlock" >&6; } 23726if test "x$ac_cv_lib_pthread_pthread_mutex_unlock" = xyes; then : 23727 ac_pthread_dummy=yes 23728else 23729 ac_cv_pthread=no 23730fi 23731 23732 23733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_init in -lpthread" >&5 23734$as_echo_n "checking for pthread_rwlock_init in -lpthread... " >&6; } 23735if ${ac_cv_lib_pthread_pthread_rwlock_init+:} false; then : 23736 $as_echo_n "(cached) " >&6 23737else 23738 ac_check_lib_save_LIBS=$LIBS 23739LIBS="-lpthread $LIBS" 23740cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23741/* end confdefs.h. */ 23742 23743/* Override any GCC internal prototype to avoid an error. 23744 Use char because int might match the return type of a GCC 23745 builtin and then its argument prototype would still apply. */ 23746#ifdef __cplusplus 23747extern "C" 23748#endif 23749char pthread_rwlock_init (); 23750int 23751main () 23752{ 23753return pthread_rwlock_init (); 23754 ; 23755 return 0; 23756} 23757_ACEOF 23758if ac_fn_c_try_link "$LINENO"; then : 23759 ac_cv_lib_pthread_pthread_rwlock_init=yes 23760else 23761 ac_cv_lib_pthread_pthread_rwlock_init=no 23762fi 23763rm -f core conftest.err conftest.$ac_objext \ 23764 conftest$ac_exeext conftest.$ac_ext 23765LIBS=$ac_check_lib_save_LIBS 23766fi 23767{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_rwlock_init" >&5 23768$as_echo "$ac_cv_lib_pthread_pthread_rwlock_init" >&6; } 23769if test "x$ac_cv_lib_pthread_pthread_rwlock_init" = xyes; then : 23770 ac_pthread_dummy=yes 23771else 23772 ac_cv_pthread=no 23773fi 23774 23775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_destroy in -lpthread" >&5 23776$as_echo_n "checking for pthread_rwlock_destroy in -lpthread... " >&6; } 23777if ${ac_cv_lib_pthread_pthread_rwlock_destroy+:} false; then : 23778 $as_echo_n "(cached) " >&6 23779else 23780 ac_check_lib_save_LIBS=$LIBS 23781LIBS="-lpthread $LIBS" 23782cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23783/* end confdefs.h. */ 23784 23785/* Override any GCC internal prototype to avoid an error. 23786 Use char because int might match the return type of a GCC 23787 builtin and then its argument prototype would still apply. */ 23788#ifdef __cplusplus 23789extern "C" 23790#endif 23791char pthread_rwlock_destroy (); 23792int 23793main () 23794{ 23795return pthread_rwlock_destroy (); 23796 ; 23797 return 0; 23798} 23799_ACEOF 23800if ac_fn_c_try_link "$LINENO"; then : 23801 ac_cv_lib_pthread_pthread_rwlock_destroy=yes 23802else 23803 ac_cv_lib_pthread_pthread_rwlock_destroy=no 23804fi 23805rm -f core conftest.err conftest.$ac_objext \ 23806 conftest$ac_exeext conftest.$ac_ext 23807LIBS=$ac_check_lib_save_LIBS 23808fi 23809{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_rwlock_destroy" >&5 23810$as_echo "$ac_cv_lib_pthread_pthread_rwlock_destroy" >&6; } 23811if test "x$ac_cv_lib_pthread_pthread_rwlock_destroy" = xyes; then : 23812 ac_pthread_dummy=yes 23813else 23814 ac_cv_pthread=no 23815fi 23816 23817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_rdlock in -lpthread" >&5 23818$as_echo_n "checking for pthread_rwlock_rdlock in -lpthread... " >&6; } 23819if ${ac_cv_lib_pthread_pthread_rwlock_rdlock+:} false; then : 23820 $as_echo_n "(cached) " >&6 23821else 23822 ac_check_lib_save_LIBS=$LIBS 23823LIBS="-lpthread $LIBS" 23824cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23825/* end confdefs.h. */ 23826 23827/* Override any GCC internal prototype to avoid an error. 23828 Use char because int might match the return type of a GCC 23829 builtin and then its argument prototype would still apply. */ 23830#ifdef __cplusplus 23831extern "C" 23832#endif 23833char pthread_rwlock_rdlock (); 23834int 23835main () 23836{ 23837return pthread_rwlock_rdlock (); 23838 ; 23839 return 0; 23840} 23841_ACEOF 23842if ac_fn_c_try_link "$LINENO"; then : 23843 ac_cv_lib_pthread_pthread_rwlock_rdlock=yes 23844else 23845 ac_cv_lib_pthread_pthread_rwlock_rdlock=no 23846fi 23847rm -f core conftest.err conftest.$ac_objext \ 23848 conftest$ac_exeext conftest.$ac_ext 23849LIBS=$ac_check_lib_save_LIBS 23850fi 23851{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_rwlock_rdlock" >&5 23852$as_echo "$ac_cv_lib_pthread_pthread_rwlock_rdlock" >&6; } 23853if test "x$ac_cv_lib_pthread_pthread_rwlock_rdlock" = xyes; then : 23854 ac_pthread_dummy=yes 23855else 23856 ac_cv_pthread=no 23857fi 23858 23859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_wrlock in -lpthread" >&5 23860$as_echo_n "checking for pthread_rwlock_wrlock in -lpthread... " >&6; } 23861if ${ac_cv_lib_pthread_pthread_rwlock_wrlock+:} false; then : 23862 $as_echo_n "(cached) " >&6 23863else 23864 ac_check_lib_save_LIBS=$LIBS 23865LIBS="-lpthread $LIBS" 23866cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23867/* end confdefs.h. */ 23868 23869/* Override any GCC internal prototype to avoid an error. 23870 Use char because int might match the return type of a GCC 23871 builtin and then its argument prototype would still apply. */ 23872#ifdef __cplusplus 23873extern "C" 23874#endif 23875char pthread_rwlock_wrlock (); 23876int 23877main () 23878{ 23879return pthread_rwlock_wrlock (); 23880 ; 23881 return 0; 23882} 23883_ACEOF 23884if ac_fn_c_try_link "$LINENO"; then : 23885 ac_cv_lib_pthread_pthread_rwlock_wrlock=yes 23886else 23887 ac_cv_lib_pthread_pthread_rwlock_wrlock=no 23888fi 23889rm -f core conftest.err conftest.$ac_objext \ 23890 conftest$ac_exeext conftest.$ac_ext 23891LIBS=$ac_check_lib_save_LIBS 23892fi 23893{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_rwlock_wrlock" >&5 23894$as_echo "$ac_cv_lib_pthread_pthread_rwlock_wrlock" >&6; } 23895if test "x$ac_cv_lib_pthread_pthread_rwlock_wrlock" = xyes; then : 23896 ac_pthread_dummy=yes 23897else 23898 ac_cv_pthread=no 23899fi 23900 23901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_unlock in -lpthread" >&5 23902$as_echo_n "checking for pthread_rwlock_unlock in -lpthread... " >&6; } 23903if ${ac_cv_lib_pthread_pthread_rwlock_unlock+:} false; then : 23904 $as_echo_n "(cached) " >&6 23905else 23906 ac_check_lib_save_LIBS=$LIBS 23907LIBS="-lpthread $LIBS" 23908cat confdefs.h - <<_ACEOF >conftest.$ac_ext 23909/* end confdefs.h. */ 23910 23911/* Override any GCC internal prototype to avoid an error. 23912 Use char because int might match the return type of a GCC 23913 builtin and then its argument prototype would still apply. */ 23914#ifdef __cplusplus 23915extern "C" 23916#endif 23917char pthread_rwlock_unlock (); 23918int 23919main () 23920{ 23921return pthread_rwlock_unlock (); 23922 ; 23923 return 0; 23924} 23925_ACEOF 23926if ac_fn_c_try_link "$LINENO"; then : 23927 ac_cv_lib_pthread_pthread_rwlock_unlock=yes 23928else 23929 ac_cv_lib_pthread_pthread_rwlock_unlock=no 23930fi 23931rm -f core conftest.err conftest.$ac_objext \ 23932 conftest$ac_exeext conftest.$ac_ext 23933LIBS=$ac_check_lib_save_LIBS 23934fi 23935{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_rwlock_unlock" >&5 23936$as_echo "$ac_cv_lib_pthread_pthread_rwlock_unlock" >&6; } 23937if test "x$ac_cv_lib_pthread_pthread_rwlock_unlock" = xyes; then : 23938 ac_pthread_dummy=yes 23939else 23940 ac_cv_pthread=no 23941fi 23942 23943 23944 ac_cv_pthread_LIBADD="-lpthread"; 23945 23946fi 23947 23948fi 23949 23950 if test "x$ac_cv_pthread" = xpthread; then : 23951 23952$as_echo "#define HAVE_PTHREAD 1" >>confdefs.h 23953 23954 23955fi 23956 23957 if test "x$ac_cv_pthread" != xno; then : 23958 HAVE_PTHREAD=1 23959 23960else 23961 HAVE_PTHREAD=0 23962 23963 23964fi 23965 23966 23967 if test "x$ac_cv_pthread_CPPFLAGS" != "x"; then : 23968 PTHREAD_CPPFLAGS=$ac_cv_pthread_CPPFLAGS 23969 23970 23971fi 23972 if test "x$ac_cv_pthread_LIBADD" != "x"; then : 23973 PTHREAD_LIBADD=$ac_cv_pthread_LIBADD 23974 23975 23976fi 23977 23978 if test "x$ac_cv_pthread" = xpthread; then : 23979 ax_pthread_pc_libs_private=-lpthread 23980 23981 23982fi 23983 23984 ac_cv_libcthreads_multi_threading=$ac_cv_pthread 23985else 23986 ac_cv_libcthreads_multi_threading="winapi" 23987fi 23988 23989 if test "x$ac_cv_libcthreads_multi_threading" != xno; then : 23990 ac_cv_libcthreads_CPPFLAGS="-I../libcthreads"; 23991 ac_cv_libcthreads_LIBADD="../libcthreads/libcthreads.la"; 23992 23993 ac_cv_libcthreads=local 23994else 23995 ac_cv_libcthreads=no 23996fi 23997 23998 23999 24000$as_echo "#define HAVE_LOCAL_LIBCTHREADS 1" >>confdefs.h 24001 24002 HAVE_LOCAL_LIBCTHREADS=1 24003 24004 24005fi 24006 24007fi 24008 24009 if test "x$ac_cv_libcthreads" = xlocal; then 24010 HAVE_LOCAL_LIBCTHREADS_TRUE= 24011 HAVE_LOCAL_LIBCTHREADS_FALSE='#' 24012else 24013 HAVE_LOCAL_LIBCTHREADS_TRUE='#' 24014 HAVE_LOCAL_LIBCTHREADS_FALSE= 24015fi 24016 24017 if test "x$ac_cv_libcthreads_CPPFLAGS" != "x"; then : 24018 LIBCTHREADS_CPPFLAGS=$ac_cv_libcthreads_CPPFLAGS 24019 24020 24021fi 24022 if test "x$ac_cv_libcthreads_LIBADD" != "x"; then : 24023 LIBCTHREADS_LIBADD=$ac_cv_libcthreads_LIBADD 24024 24025 24026fi 24027 24028 if test "x$ac_cv_libcthreads" != xno; then : 24029 24030$as_echo "#define HAVE_MULTI_THREAD_SUPPORT 1" >>confdefs.h 24031 24032 HAVE_MULTI_THREAD_SUPPORT=1 24033 24034else 24035 HAVE_MULTI_THREAD_SUPPORT=0 24036 24037 24038fi 24039 24040 if test "x$ac_cv_libcthreads" = xyes; then : 24041 ax_libcthreads_pc_libs_private=-lcthreads 24042 24043 24044fi 24045 24046 if test "x$ac_cv_libcthreads" = xyes; then : 24047 ax_libcthreads_spec_requires=libcthreads 24048 24049 ax_libcthreads_spec_build_requires=libcthreads-devel 24050 24051 24052fi 24053 24054 24055 24056 24057# Check whether --with-libcdata was given. 24058if test "${with_libcdata+set}" = set; then : 24059 withval=$with_libcdata; ac_cv_with_libcdata=$withval 24060else 24061 ac_cv_with_libcdata=auto-detect 24062fi 24063 24064 { $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 24065$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; } 24066if ${ac_cv_with_libcdata+:} false; then : 24067 $as_echo_n "(cached) " >&6 24068else 24069 ac_cv_with_libcdata=auto-detect 24070fi 24071{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libcdata" >&5 24072$as_echo "$ac_cv_with_libcdata" >&6; } 24073 24074 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libcdata" = xno; then : 24075 ac_cv_libcdata=no 24076else 24077 ac_cv_libcdata=check 24078 if test "x$ac_cv_with_libcdata" != x && test "x$ac_cv_with_libcdata" != xauto-detect; then : 24079 if test -d "$ac_cv_with_libcdata"; then : 24080 CFLAGS="$CFLAGS -I${ac_cv_with_libcdata}/include" 24081 LDFLAGS="$LDFLAGS -L${ac_cv_with_libcdata}/lib" 24082else 24083 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 24084$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 24085as_fn_error 1 "no such directory: $ac_cv_with_libcdata 24086See \`config.log' for more details" "$LINENO" 5; } 24087 24088fi 24089 24090else 24091 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 24092 24093pkg_failed=no 24094{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata" >&5 24095$as_echo_n "checking for libcdata... " >&6; } 24096 24097if test -n "$libcdata_CFLAGS"; then 24098 pkg_cv_libcdata_CFLAGS="$libcdata_CFLAGS" 24099 elif test -n "$PKG_CONFIG"; then 24100 if test -n "$PKG_CONFIG" && \ 24101 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcdata >= 20190112\""; } >&5 24102 ($PKG_CONFIG --exists --print-errors "libcdata >= 20190112") 2>&5 24103 ac_status=$? 24104 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 24105 test $ac_status = 0; }; then 24106 pkg_cv_libcdata_CFLAGS=`$PKG_CONFIG --cflags "libcdata >= 20190112" 2>/dev/null` 24107 test "x$?" != "x0" && pkg_failed=yes 24108else 24109 pkg_failed=yes 24110fi 24111 else 24112 pkg_failed=untried 24113fi 24114if test -n "$libcdata_LIBS"; then 24115 pkg_cv_libcdata_LIBS="$libcdata_LIBS" 24116 elif test -n "$PKG_CONFIG"; then 24117 if test -n "$PKG_CONFIG" && \ 24118 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcdata >= 20190112\""; } >&5 24119 ($PKG_CONFIG --exists --print-errors "libcdata >= 20190112") 2>&5 24120 ac_status=$? 24121 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 24122 test $ac_status = 0; }; then 24123 pkg_cv_libcdata_LIBS=`$PKG_CONFIG --libs "libcdata >= 20190112" 2>/dev/null` 24124 test "x$?" != "x0" && pkg_failed=yes 24125else 24126 pkg_failed=yes 24127fi 24128 else 24129 pkg_failed=untried 24130fi 24131 24132 24133 24134if test $pkg_failed = yes; then 24135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24136$as_echo "no" >&6; } 24137 24138if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 24139 _pkg_short_errors_supported=yes 24140else 24141 _pkg_short_errors_supported=no 24142fi 24143 if test $_pkg_short_errors_supported = yes; then 24144 libcdata_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcdata >= 20190112" 2>&1` 24145 else 24146 libcdata_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcdata >= 20190112" 2>&1` 24147 fi 24148 # Put the nasty error message in config.log where it belongs 24149 echo "$libcdata_PKG_ERRORS" >&5 24150 24151 ac_cv_libcdata=check 24152elif test $pkg_failed = untried; then 24153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 24154$as_echo "no" >&6; } 24155 ac_cv_libcdata=check 24156else 24157 libcdata_CFLAGS=$pkg_cv_libcdata_CFLAGS 24158 libcdata_LIBS=$pkg_cv_libcdata_LIBS 24159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 24160$as_echo "yes" >&6; } 24161 ac_cv_libcdata=yes 24162fi 24163 24164fi 24165 if test "x$ac_cv_libcdata" = xyes; then : 24166 ac_cv_libcdata_CPPFLAGS="$pkg_cv_libcdata_CFLAGS" 24167 ac_cv_libcdata_LIBADD="$pkg_cv_libcdata_LIBS" 24168fi 24169 24170fi 24171 24172 if test "x$ac_cv_libcdata" = xcheck; then : 24173 for ac_header in libcdata.h 24174do : 24175 ac_fn_c_check_header_mongrel "$LINENO" "libcdata.h" "ac_cv_header_libcdata_h" "$ac_includes_default" 24176if test "x$ac_cv_header_libcdata_h" = xyes; then : 24177 cat >>confdefs.h <<_ACEOF 24178#define HAVE_LIBCDATA_H 1 24179_ACEOF 24180 24181fi 24182 24183done 24184 24185 24186 if test "x$ac_cv_header_libcdata_h" = xno; then : 24187 ac_cv_libcdata=no 24188else 24189 ac_cv_libcdata=yes 24190 24191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_get_version in -lcdata" >&5 24192$as_echo_n "checking for libcdata_get_version in -lcdata... " >&6; } 24193if ${ac_cv_lib_cdata_libcdata_get_version+:} false; then : 24194 $as_echo_n "(cached) " >&6 24195else 24196 ac_check_lib_save_LIBS=$LIBS 24197LIBS="-lcdata $LIBS" 24198cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24199/* end confdefs.h. */ 24200 24201/* Override any GCC internal prototype to avoid an error. 24202 Use char because int might match the return type of a GCC 24203 builtin and then its argument prototype would still apply. */ 24204#ifdef __cplusplus 24205extern "C" 24206#endif 24207char libcdata_get_version (); 24208int 24209main () 24210{ 24211return libcdata_get_version (); 24212 ; 24213 return 0; 24214} 24215_ACEOF 24216if ac_fn_c_try_link "$LINENO"; then : 24217 ac_cv_lib_cdata_libcdata_get_version=yes 24218else 24219 ac_cv_lib_cdata_libcdata_get_version=no 24220fi 24221rm -f core conftest.err conftest.$ac_objext \ 24222 conftest$ac_exeext conftest.$ac_ext 24223LIBS=$ac_check_lib_save_LIBS 24224fi 24225{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_get_version" >&5 24226$as_echo "$ac_cv_lib_cdata_libcdata_get_version" >&6; } 24227if test "x$ac_cv_lib_cdata_libcdata_get_version" = xyes; then : 24228 ac_cv_libcdata_dummy=yes 24229else 24230 ac_cv_libcdata=no 24231fi 24232 24233 24234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_initialize in -lcdata" >&5 24235$as_echo_n "checking for libcdata_array_initialize in -lcdata... " >&6; } 24236if ${ac_cv_lib_cdata_libcdata_array_initialize+:} false; then : 24237 $as_echo_n "(cached) " >&6 24238else 24239 ac_check_lib_save_LIBS=$LIBS 24240LIBS="-lcdata $LIBS" 24241cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24242/* end confdefs.h. */ 24243 24244/* Override any GCC internal prototype to avoid an error. 24245 Use char because int might match the return type of a GCC 24246 builtin and then its argument prototype would still apply. */ 24247#ifdef __cplusplus 24248extern "C" 24249#endif 24250char libcdata_array_initialize (); 24251int 24252main () 24253{ 24254return libcdata_array_initialize (); 24255 ; 24256 return 0; 24257} 24258_ACEOF 24259if ac_fn_c_try_link "$LINENO"; then : 24260 ac_cv_lib_cdata_libcdata_array_initialize=yes 24261else 24262 ac_cv_lib_cdata_libcdata_array_initialize=no 24263fi 24264rm -f core conftest.err conftest.$ac_objext \ 24265 conftest$ac_exeext conftest.$ac_ext 24266LIBS=$ac_check_lib_save_LIBS 24267fi 24268{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_initialize" >&5 24269$as_echo "$ac_cv_lib_cdata_libcdata_array_initialize" >&6; } 24270if test "x$ac_cv_lib_cdata_libcdata_array_initialize" = xyes; then : 24271 ac_cv_libcdata_dummy=yes 24272else 24273 ac_cv_libcdata=no 24274fi 24275 24276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_free in -lcdata" >&5 24277$as_echo_n "checking for libcdata_array_free in -lcdata... " >&6; } 24278if ${ac_cv_lib_cdata_libcdata_array_free+:} false; then : 24279 $as_echo_n "(cached) " >&6 24280else 24281 ac_check_lib_save_LIBS=$LIBS 24282LIBS="-lcdata $LIBS" 24283cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24284/* end confdefs.h. */ 24285 24286/* Override any GCC internal prototype to avoid an error. 24287 Use char because int might match the return type of a GCC 24288 builtin and then its argument prototype would still apply. */ 24289#ifdef __cplusplus 24290extern "C" 24291#endif 24292char libcdata_array_free (); 24293int 24294main () 24295{ 24296return libcdata_array_free (); 24297 ; 24298 return 0; 24299} 24300_ACEOF 24301if ac_fn_c_try_link "$LINENO"; then : 24302 ac_cv_lib_cdata_libcdata_array_free=yes 24303else 24304 ac_cv_lib_cdata_libcdata_array_free=no 24305fi 24306rm -f core conftest.err conftest.$ac_objext \ 24307 conftest$ac_exeext conftest.$ac_ext 24308LIBS=$ac_check_lib_save_LIBS 24309fi 24310{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_free" >&5 24311$as_echo "$ac_cv_lib_cdata_libcdata_array_free" >&6; } 24312if test "x$ac_cv_lib_cdata_libcdata_array_free" = xyes; then : 24313 ac_cv_libcdata_dummy=yes 24314else 24315 ac_cv_libcdata=no 24316fi 24317 24318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_empty in -lcdata" >&5 24319$as_echo_n "checking for libcdata_array_empty in -lcdata... " >&6; } 24320if ${ac_cv_lib_cdata_libcdata_array_empty+:} false; then : 24321 $as_echo_n "(cached) " >&6 24322else 24323 ac_check_lib_save_LIBS=$LIBS 24324LIBS="-lcdata $LIBS" 24325cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24326/* end confdefs.h. */ 24327 24328/* Override any GCC internal prototype to avoid an error. 24329 Use char because int might match the return type of a GCC 24330 builtin and then its argument prototype would still apply. */ 24331#ifdef __cplusplus 24332extern "C" 24333#endif 24334char libcdata_array_empty (); 24335int 24336main () 24337{ 24338return libcdata_array_empty (); 24339 ; 24340 return 0; 24341} 24342_ACEOF 24343if ac_fn_c_try_link "$LINENO"; then : 24344 ac_cv_lib_cdata_libcdata_array_empty=yes 24345else 24346 ac_cv_lib_cdata_libcdata_array_empty=no 24347fi 24348rm -f core conftest.err conftest.$ac_objext \ 24349 conftest$ac_exeext conftest.$ac_ext 24350LIBS=$ac_check_lib_save_LIBS 24351fi 24352{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_empty" >&5 24353$as_echo "$ac_cv_lib_cdata_libcdata_array_empty" >&6; } 24354if test "x$ac_cv_lib_cdata_libcdata_array_empty" = xyes; then : 24355 ac_cv_libcdata_dummy=yes 24356else 24357 ac_cv_libcdata=no 24358fi 24359 24360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_clone in -lcdata" >&5 24361$as_echo_n "checking for libcdata_array_clone in -lcdata... " >&6; } 24362if ${ac_cv_lib_cdata_libcdata_array_clone+:} false; then : 24363 $as_echo_n "(cached) " >&6 24364else 24365 ac_check_lib_save_LIBS=$LIBS 24366LIBS="-lcdata $LIBS" 24367cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24368/* end confdefs.h. */ 24369 24370/* Override any GCC internal prototype to avoid an error. 24371 Use char because int might match the return type of a GCC 24372 builtin and then its argument prototype would still apply. */ 24373#ifdef __cplusplus 24374extern "C" 24375#endif 24376char libcdata_array_clone (); 24377int 24378main () 24379{ 24380return libcdata_array_clone (); 24381 ; 24382 return 0; 24383} 24384_ACEOF 24385if ac_fn_c_try_link "$LINENO"; then : 24386 ac_cv_lib_cdata_libcdata_array_clone=yes 24387else 24388 ac_cv_lib_cdata_libcdata_array_clone=no 24389fi 24390rm -f core conftest.err conftest.$ac_objext \ 24391 conftest$ac_exeext conftest.$ac_ext 24392LIBS=$ac_check_lib_save_LIBS 24393fi 24394{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_clone" >&5 24395$as_echo "$ac_cv_lib_cdata_libcdata_array_clone" >&6; } 24396if test "x$ac_cv_lib_cdata_libcdata_array_clone" = xyes; then : 24397 ac_cv_libcdata_dummy=yes 24398else 24399 ac_cv_libcdata=no 24400fi 24401 24402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_resize in -lcdata" >&5 24403$as_echo_n "checking for libcdata_array_resize in -lcdata... " >&6; } 24404if ${ac_cv_lib_cdata_libcdata_array_resize+:} false; then : 24405 $as_echo_n "(cached) " >&6 24406else 24407 ac_check_lib_save_LIBS=$LIBS 24408LIBS="-lcdata $LIBS" 24409cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24410/* end confdefs.h. */ 24411 24412/* Override any GCC internal prototype to avoid an error. 24413 Use char because int might match the return type of a GCC 24414 builtin and then its argument prototype would still apply. */ 24415#ifdef __cplusplus 24416extern "C" 24417#endif 24418char libcdata_array_resize (); 24419int 24420main () 24421{ 24422return libcdata_array_resize (); 24423 ; 24424 return 0; 24425} 24426_ACEOF 24427if ac_fn_c_try_link "$LINENO"; then : 24428 ac_cv_lib_cdata_libcdata_array_resize=yes 24429else 24430 ac_cv_lib_cdata_libcdata_array_resize=no 24431fi 24432rm -f core conftest.err conftest.$ac_objext \ 24433 conftest$ac_exeext conftest.$ac_ext 24434LIBS=$ac_check_lib_save_LIBS 24435fi 24436{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_resize" >&5 24437$as_echo "$ac_cv_lib_cdata_libcdata_array_resize" >&6; } 24438if test "x$ac_cv_lib_cdata_libcdata_array_resize" = xyes; then : 24439 ac_cv_libcdata_dummy=yes 24440else 24441 ac_cv_libcdata=no 24442fi 24443 24444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_reverse in -lcdata" >&5 24445$as_echo_n "checking for libcdata_array_reverse in -lcdata... " >&6; } 24446if ${ac_cv_lib_cdata_libcdata_array_reverse+:} false; then : 24447 $as_echo_n "(cached) " >&6 24448else 24449 ac_check_lib_save_LIBS=$LIBS 24450LIBS="-lcdata $LIBS" 24451cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24452/* end confdefs.h. */ 24453 24454/* Override any GCC internal prototype to avoid an error. 24455 Use char because int might match the return type of a GCC 24456 builtin and then its argument prototype would still apply. */ 24457#ifdef __cplusplus 24458extern "C" 24459#endif 24460char libcdata_array_reverse (); 24461int 24462main () 24463{ 24464return libcdata_array_reverse (); 24465 ; 24466 return 0; 24467} 24468_ACEOF 24469if ac_fn_c_try_link "$LINENO"; then : 24470 ac_cv_lib_cdata_libcdata_array_reverse=yes 24471else 24472 ac_cv_lib_cdata_libcdata_array_reverse=no 24473fi 24474rm -f core conftest.err conftest.$ac_objext \ 24475 conftest$ac_exeext conftest.$ac_ext 24476LIBS=$ac_check_lib_save_LIBS 24477fi 24478{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_reverse" >&5 24479$as_echo "$ac_cv_lib_cdata_libcdata_array_reverse" >&6; } 24480if test "x$ac_cv_lib_cdata_libcdata_array_reverse" = xyes; then : 24481 ac_cv_libcdata_dummy=yes 24482else 24483 ac_cv_libcdata=no 24484fi 24485 24486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_get_number_of_entries in -lcdata" >&5 24487$as_echo_n "checking for libcdata_array_get_number_of_entries in -lcdata... " >&6; } 24488if ${ac_cv_lib_cdata_libcdata_array_get_number_of_entries+:} false; then : 24489 $as_echo_n "(cached) " >&6 24490else 24491 ac_check_lib_save_LIBS=$LIBS 24492LIBS="-lcdata $LIBS" 24493cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24494/* end confdefs.h. */ 24495 24496/* Override any GCC internal prototype to avoid an error. 24497 Use char because int might match the return type of a GCC 24498 builtin and then its argument prototype would still apply. */ 24499#ifdef __cplusplus 24500extern "C" 24501#endif 24502char libcdata_array_get_number_of_entries (); 24503int 24504main () 24505{ 24506return libcdata_array_get_number_of_entries (); 24507 ; 24508 return 0; 24509} 24510_ACEOF 24511if ac_fn_c_try_link "$LINENO"; then : 24512 ac_cv_lib_cdata_libcdata_array_get_number_of_entries=yes 24513else 24514 ac_cv_lib_cdata_libcdata_array_get_number_of_entries=no 24515fi 24516rm -f core conftest.err conftest.$ac_objext \ 24517 conftest$ac_exeext conftest.$ac_ext 24518LIBS=$ac_check_lib_save_LIBS 24519fi 24520{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_get_number_of_entries" >&5 24521$as_echo "$ac_cv_lib_cdata_libcdata_array_get_number_of_entries" >&6; } 24522if test "x$ac_cv_lib_cdata_libcdata_array_get_number_of_entries" = xyes; then : 24523 ac_cv_libcdata_dummy=yes 24524else 24525 ac_cv_libcdata=no 24526fi 24527 24528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_get_entry_by_index in -lcdata" >&5 24529$as_echo_n "checking for libcdata_array_get_entry_by_index in -lcdata... " >&6; } 24530if ${ac_cv_lib_cdata_libcdata_array_get_entry_by_index+:} false; then : 24531 $as_echo_n "(cached) " >&6 24532else 24533 ac_check_lib_save_LIBS=$LIBS 24534LIBS="-lcdata $LIBS" 24535cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24536/* end confdefs.h. */ 24537 24538/* Override any GCC internal prototype to avoid an error. 24539 Use char because int might match the return type of a GCC 24540 builtin and then its argument prototype would still apply. */ 24541#ifdef __cplusplus 24542extern "C" 24543#endif 24544char libcdata_array_get_entry_by_index (); 24545int 24546main () 24547{ 24548return libcdata_array_get_entry_by_index (); 24549 ; 24550 return 0; 24551} 24552_ACEOF 24553if ac_fn_c_try_link "$LINENO"; then : 24554 ac_cv_lib_cdata_libcdata_array_get_entry_by_index=yes 24555else 24556 ac_cv_lib_cdata_libcdata_array_get_entry_by_index=no 24557fi 24558rm -f core conftest.err conftest.$ac_objext \ 24559 conftest$ac_exeext conftest.$ac_ext 24560LIBS=$ac_check_lib_save_LIBS 24561fi 24562{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_get_entry_by_index" >&5 24563$as_echo "$ac_cv_lib_cdata_libcdata_array_get_entry_by_index" >&6; } 24564if test "x$ac_cv_lib_cdata_libcdata_array_get_entry_by_index" = xyes; then : 24565 ac_cv_libcdata_dummy=yes 24566else 24567 ac_cv_libcdata=no 24568fi 24569 24570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_get_entry_by_value in -lcdata" >&5 24571$as_echo_n "checking for libcdata_array_get_entry_by_value in -lcdata... " >&6; } 24572if ${ac_cv_lib_cdata_libcdata_array_get_entry_by_value+:} false; then : 24573 $as_echo_n "(cached) " >&6 24574else 24575 ac_check_lib_save_LIBS=$LIBS 24576LIBS="-lcdata $LIBS" 24577cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24578/* end confdefs.h. */ 24579 24580/* Override any GCC internal prototype to avoid an error. 24581 Use char because int might match the return type of a GCC 24582 builtin and then its argument prototype would still apply. */ 24583#ifdef __cplusplus 24584extern "C" 24585#endif 24586char libcdata_array_get_entry_by_value (); 24587int 24588main () 24589{ 24590return libcdata_array_get_entry_by_value (); 24591 ; 24592 return 0; 24593} 24594_ACEOF 24595if ac_fn_c_try_link "$LINENO"; then : 24596 ac_cv_lib_cdata_libcdata_array_get_entry_by_value=yes 24597else 24598 ac_cv_lib_cdata_libcdata_array_get_entry_by_value=no 24599fi 24600rm -f core conftest.err conftest.$ac_objext \ 24601 conftest$ac_exeext conftest.$ac_ext 24602LIBS=$ac_check_lib_save_LIBS 24603fi 24604{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_get_entry_by_value" >&5 24605$as_echo "$ac_cv_lib_cdata_libcdata_array_get_entry_by_value" >&6; } 24606if test "x$ac_cv_lib_cdata_libcdata_array_get_entry_by_value" = xyes; then : 24607 ac_cv_libcdata_dummy=yes 24608else 24609 ac_cv_libcdata=no 24610fi 24611 24612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_set_entry_by_index in -lcdata" >&5 24613$as_echo_n "checking for libcdata_array_set_entry_by_index in -lcdata... " >&6; } 24614if ${ac_cv_lib_cdata_libcdata_array_set_entry_by_index+:} false; then : 24615 $as_echo_n "(cached) " >&6 24616else 24617 ac_check_lib_save_LIBS=$LIBS 24618LIBS="-lcdata $LIBS" 24619cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24620/* end confdefs.h. */ 24621 24622/* Override any GCC internal prototype to avoid an error. 24623 Use char because int might match the return type of a GCC 24624 builtin and then its argument prototype would still apply. */ 24625#ifdef __cplusplus 24626extern "C" 24627#endif 24628char libcdata_array_set_entry_by_index (); 24629int 24630main () 24631{ 24632return libcdata_array_set_entry_by_index (); 24633 ; 24634 return 0; 24635} 24636_ACEOF 24637if ac_fn_c_try_link "$LINENO"; then : 24638 ac_cv_lib_cdata_libcdata_array_set_entry_by_index=yes 24639else 24640 ac_cv_lib_cdata_libcdata_array_set_entry_by_index=no 24641fi 24642rm -f core conftest.err conftest.$ac_objext \ 24643 conftest$ac_exeext conftest.$ac_ext 24644LIBS=$ac_check_lib_save_LIBS 24645fi 24646{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_set_entry_by_index" >&5 24647$as_echo "$ac_cv_lib_cdata_libcdata_array_set_entry_by_index" >&6; } 24648if test "x$ac_cv_lib_cdata_libcdata_array_set_entry_by_index" = xyes; then : 24649 ac_cv_libcdata_dummy=yes 24650else 24651 ac_cv_libcdata=no 24652fi 24653 24654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_prepend_entry in -lcdata" >&5 24655$as_echo_n "checking for libcdata_array_prepend_entry in -lcdata... " >&6; } 24656if ${ac_cv_lib_cdata_libcdata_array_prepend_entry+:} false; then : 24657 $as_echo_n "(cached) " >&6 24658else 24659 ac_check_lib_save_LIBS=$LIBS 24660LIBS="-lcdata $LIBS" 24661cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24662/* end confdefs.h. */ 24663 24664/* Override any GCC internal prototype to avoid an error. 24665 Use char because int might match the return type of a GCC 24666 builtin and then its argument prototype would still apply. */ 24667#ifdef __cplusplus 24668extern "C" 24669#endif 24670char libcdata_array_prepend_entry (); 24671int 24672main () 24673{ 24674return libcdata_array_prepend_entry (); 24675 ; 24676 return 0; 24677} 24678_ACEOF 24679if ac_fn_c_try_link "$LINENO"; then : 24680 ac_cv_lib_cdata_libcdata_array_prepend_entry=yes 24681else 24682 ac_cv_lib_cdata_libcdata_array_prepend_entry=no 24683fi 24684rm -f core conftest.err conftest.$ac_objext \ 24685 conftest$ac_exeext conftest.$ac_ext 24686LIBS=$ac_check_lib_save_LIBS 24687fi 24688{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_prepend_entry" >&5 24689$as_echo "$ac_cv_lib_cdata_libcdata_array_prepend_entry" >&6; } 24690if test "x$ac_cv_lib_cdata_libcdata_array_prepend_entry" = xyes; then : 24691 ac_cv_libcdata_dummy=yes 24692else 24693 ac_cv_libcdata=no 24694fi 24695 24696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_append_entry in -lcdata" >&5 24697$as_echo_n "checking for libcdata_array_append_entry in -lcdata... " >&6; } 24698if ${ac_cv_lib_cdata_libcdata_array_append_entry+:} false; then : 24699 $as_echo_n "(cached) " >&6 24700else 24701 ac_check_lib_save_LIBS=$LIBS 24702LIBS="-lcdata $LIBS" 24703cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24704/* end confdefs.h. */ 24705 24706/* Override any GCC internal prototype to avoid an error. 24707 Use char because int might match the return type of a GCC 24708 builtin and then its argument prototype would still apply. */ 24709#ifdef __cplusplus 24710extern "C" 24711#endif 24712char libcdata_array_append_entry (); 24713int 24714main () 24715{ 24716return libcdata_array_append_entry (); 24717 ; 24718 return 0; 24719} 24720_ACEOF 24721if ac_fn_c_try_link "$LINENO"; then : 24722 ac_cv_lib_cdata_libcdata_array_append_entry=yes 24723else 24724 ac_cv_lib_cdata_libcdata_array_append_entry=no 24725fi 24726rm -f core conftest.err conftest.$ac_objext \ 24727 conftest$ac_exeext conftest.$ac_ext 24728LIBS=$ac_check_lib_save_LIBS 24729fi 24730{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_append_entry" >&5 24731$as_echo "$ac_cv_lib_cdata_libcdata_array_append_entry" >&6; } 24732if test "x$ac_cv_lib_cdata_libcdata_array_append_entry" = xyes; then : 24733 ac_cv_libcdata_dummy=yes 24734else 24735 ac_cv_libcdata=no 24736fi 24737 24738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_insert_entry in -lcdata" >&5 24739$as_echo_n "checking for libcdata_array_insert_entry in -lcdata... " >&6; } 24740if ${ac_cv_lib_cdata_libcdata_array_insert_entry+:} false; then : 24741 $as_echo_n "(cached) " >&6 24742else 24743 ac_check_lib_save_LIBS=$LIBS 24744LIBS="-lcdata $LIBS" 24745cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24746/* end confdefs.h. */ 24747 24748/* Override any GCC internal prototype to avoid an error. 24749 Use char because int might match the return type of a GCC 24750 builtin and then its argument prototype would still apply. */ 24751#ifdef __cplusplus 24752extern "C" 24753#endif 24754char libcdata_array_insert_entry (); 24755int 24756main () 24757{ 24758return libcdata_array_insert_entry (); 24759 ; 24760 return 0; 24761} 24762_ACEOF 24763if ac_fn_c_try_link "$LINENO"; then : 24764 ac_cv_lib_cdata_libcdata_array_insert_entry=yes 24765else 24766 ac_cv_lib_cdata_libcdata_array_insert_entry=no 24767fi 24768rm -f core conftest.err conftest.$ac_objext \ 24769 conftest$ac_exeext conftest.$ac_ext 24770LIBS=$ac_check_lib_save_LIBS 24771fi 24772{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_insert_entry" >&5 24773$as_echo "$ac_cv_lib_cdata_libcdata_array_insert_entry" >&6; } 24774if test "x$ac_cv_lib_cdata_libcdata_array_insert_entry" = xyes; then : 24775 ac_cv_libcdata_dummy=yes 24776else 24777 ac_cv_libcdata=no 24778fi 24779 24780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_array_remove_entry in -lcdata" >&5 24781$as_echo_n "checking for libcdata_array_remove_entry in -lcdata... " >&6; } 24782if ${ac_cv_lib_cdata_libcdata_array_remove_entry+:} false; then : 24783 $as_echo_n "(cached) " >&6 24784else 24785 ac_check_lib_save_LIBS=$LIBS 24786LIBS="-lcdata $LIBS" 24787cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24788/* end confdefs.h. */ 24789 24790/* Override any GCC internal prototype to avoid an error. 24791 Use char because int might match the return type of a GCC 24792 builtin and then its argument prototype would still apply. */ 24793#ifdef __cplusplus 24794extern "C" 24795#endif 24796char libcdata_array_remove_entry (); 24797int 24798main () 24799{ 24800return libcdata_array_remove_entry (); 24801 ; 24802 return 0; 24803} 24804_ACEOF 24805if ac_fn_c_try_link "$LINENO"; then : 24806 ac_cv_lib_cdata_libcdata_array_remove_entry=yes 24807else 24808 ac_cv_lib_cdata_libcdata_array_remove_entry=no 24809fi 24810rm -f core conftest.err conftest.$ac_objext \ 24811 conftest$ac_exeext conftest.$ac_ext 24812LIBS=$ac_check_lib_save_LIBS 24813fi 24814{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_array_remove_entry" >&5 24815$as_echo "$ac_cv_lib_cdata_libcdata_array_remove_entry" >&6; } 24816if test "x$ac_cv_lib_cdata_libcdata_array_remove_entry" = xyes; then : 24817 ac_cv_libcdata_dummy=yes 24818else 24819 ac_cv_libcdata=no 24820fi 24821 24822 24823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdata_btree_initialize in -lcdata" >&5 24824$as_echo_n "checking for libfdata_btree_initialize in -lcdata... " >&6; } 24825if ${ac_cv_lib_cdata_libfdata_btree_initialize+:} false; then : 24826 $as_echo_n "(cached) " >&6 24827else 24828 ac_check_lib_save_LIBS=$LIBS 24829LIBS="-lcdata $LIBS" 24830cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24831/* end confdefs.h. */ 24832 24833/* Override any GCC internal prototype to avoid an error. 24834 Use char because int might match the return type of a GCC 24835 builtin and then its argument prototype would still apply. */ 24836#ifdef __cplusplus 24837extern "C" 24838#endif 24839char libfdata_btree_initialize (); 24840int 24841main () 24842{ 24843return libfdata_btree_initialize (); 24844 ; 24845 return 0; 24846} 24847_ACEOF 24848if ac_fn_c_try_link "$LINENO"; then : 24849 ac_cv_lib_cdata_libfdata_btree_initialize=yes 24850else 24851 ac_cv_lib_cdata_libfdata_btree_initialize=no 24852fi 24853rm -f core conftest.err conftest.$ac_objext \ 24854 conftest$ac_exeext conftest.$ac_ext 24855LIBS=$ac_check_lib_save_LIBS 24856fi 24857{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libfdata_btree_initialize" >&5 24858$as_echo "$ac_cv_lib_cdata_libfdata_btree_initialize" >&6; } 24859if test "x$ac_cv_lib_cdata_libfdata_btree_initialize" = xyes; then : 24860 ac_cv_libcdata_dummy=yes 24861else 24862 ac_cv_libcdata=no 24863fi 24864 24865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_btree_free in -lcdata" >&5 24866$as_echo_n "checking for libcdata_btree_free in -lcdata... " >&6; } 24867if ${ac_cv_lib_cdata_libcdata_btree_free+:} false; then : 24868 $as_echo_n "(cached) " >&6 24869else 24870 ac_check_lib_save_LIBS=$LIBS 24871LIBS="-lcdata $LIBS" 24872cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24873/* end confdefs.h. */ 24874 24875/* Override any GCC internal prototype to avoid an error. 24876 Use char because int might match the return type of a GCC 24877 builtin and then its argument prototype would still apply. */ 24878#ifdef __cplusplus 24879extern "C" 24880#endif 24881char libcdata_btree_free (); 24882int 24883main () 24884{ 24885return libcdata_btree_free (); 24886 ; 24887 return 0; 24888} 24889_ACEOF 24890if ac_fn_c_try_link "$LINENO"; then : 24891 ac_cv_lib_cdata_libcdata_btree_free=yes 24892else 24893 ac_cv_lib_cdata_libcdata_btree_free=no 24894fi 24895rm -f core conftest.err conftest.$ac_objext \ 24896 conftest$ac_exeext conftest.$ac_ext 24897LIBS=$ac_check_lib_save_LIBS 24898fi 24899{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_btree_free" >&5 24900$as_echo "$ac_cv_lib_cdata_libcdata_btree_free" >&6; } 24901if test "x$ac_cv_lib_cdata_libcdata_btree_free" = xyes; then : 24902 ac_cv_libcdata_dummy=yes 24903else 24904 ac_cv_libcdata=no 24905fi 24906 24907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_btree_get_number_of_values in -lcdata" >&5 24908$as_echo_n "checking for libcdata_btree_get_number_of_values in -lcdata... " >&6; } 24909if ${ac_cv_lib_cdata_libcdata_btree_get_number_of_values+:} false; then : 24910 $as_echo_n "(cached) " >&6 24911else 24912 ac_check_lib_save_LIBS=$LIBS 24913LIBS="-lcdata $LIBS" 24914cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24915/* end confdefs.h. */ 24916 24917/* Override any GCC internal prototype to avoid an error. 24918 Use char because int might match the return type of a GCC 24919 builtin and then its argument prototype would still apply. */ 24920#ifdef __cplusplus 24921extern "C" 24922#endif 24923char libcdata_btree_get_number_of_values (); 24924int 24925main () 24926{ 24927return libcdata_btree_get_number_of_values (); 24928 ; 24929 return 0; 24930} 24931_ACEOF 24932if ac_fn_c_try_link "$LINENO"; then : 24933 ac_cv_lib_cdata_libcdata_btree_get_number_of_values=yes 24934else 24935 ac_cv_lib_cdata_libcdata_btree_get_number_of_values=no 24936fi 24937rm -f core conftest.err conftest.$ac_objext \ 24938 conftest$ac_exeext conftest.$ac_ext 24939LIBS=$ac_check_lib_save_LIBS 24940fi 24941{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_btree_get_number_of_values" >&5 24942$as_echo "$ac_cv_lib_cdata_libcdata_btree_get_number_of_values" >&6; } 24943if test "x$ac_cv_lib_cdata_libcdata_btree_get_number_of_values" = xyes; then : 24944 ac_cv_libcdata_dummy=yes 24945else 24946 ac_cv_libcdata=no 24947fi 24948 24949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_btree_get_value_by_index in -lcdata" >&5 24950$as_echo_n "checking for libcdata_btree_get_value_by_index in -lcdata... " >&6; } 24951if ${ac_cv_lib_cdata_libcdata_btree_get_value_by_index+:} false; then : 24952 $as_echo_n "(cached) " >&6 24953else 24954 ac_check_lib_save_LIBS=$LIBS 24955LIBS="-lcdata $LIBS" 24956cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24957/* end confdefs.h. */ 24958 24959/* Override any GCC internal prototype to avoid an error. 24960 Use char because int might match the return type of a GCC 24961 builtin and then its argument prototype would still apply. */ 24962#ifdef __cplusplus 24963extern "C" 24964#endif 24965char libcdata_btree_get_value_by_index (); 24966int 24967main () 24968{ 24969return libcdata_btree_get_value_by_index (); 24970 ; 24971 return 0; 24972} 24973_ACEOF 24974if ac_fn_c_try_link "$LINENO"; then : 24975 ac_cv_lib_cdata_libcdata_btree_get_value_by_index=yes 24976else 24977 ac_cv_lib_cdata_libcdata_btree_get_value_by_index=no 24978fi 24979rm -f core conftest.err conftest.$ac_objext \ 24980 conftest$ac_exeext conftest.$ac_ext 24981LIBS=$ac_check_lib_save_LIBS 24982fi 24983{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_btree_get_value_by_index" >&5 24984$as_echo "$ac_cv_lib_cdata_libcdata_btree_get_value_by_index" >&6; } 24985if test "x$ac_cv_lib_cdata_libcdata_btree_get_value_by_index" = xyes; then : 24986 ac_cv_libcdata_dummy=yes 24987else 24988 ac_cv_libcdata=no 24989fi 24990 24991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_btree_get_value_by_value in -lcdata" >&5 24992$as_echo_n "checking for libcdata_btree_get_value_by_value in -lcdata... " >&6; } 24993if ${ac_cv_lib_cdata_libcdata_btree_get_value_by_value+:} false; then : 24994 $as_echo_n "(cached) " >&6 24995else 24996 ac_check_lib_save_LIBS=$LIBS 24997LIBS="-lcdata $LIBS" 24998cat confdefs.h - <<_ACEOF >conftest.$ac_ext 24999/* end confdefs.h. */ 25000 25001/* Override any GCC internal prototype to avoid an error. 25002 Use char because int might match the return type of a GCC 25003 builtin and then its argument prototype would still apply. */ 25004#ifdef __cplusplus 25005extern "C" 25006#endif 25007char libcdata_btree_get_value_by_value (); 25008int 25009main () 25010{ 25011return libcdata_btree_get_value_by_value (); 25012 ; 25013 return 0; 25014} 25015_ACEOF 25016if ac_fn_c_try_link "$LINENO"; then : 25017 ac_cv_lib_cdata_libcdata_btree_get_value_by_value=yes 25018else 25019 ac_cv_lib_cdata_libcdata_btree_get_value_by_value=no 25020fi 25021rm -f core conftest.err conftest.$ac_objext \ 25022 conftest$ac_exeext conftest.$ac_ext 25023LIBS=$ac_check_lib_save_LIBS 25024fi 25025{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_btree_get_value_by_value" >&5 25026$as_echo "$ac_cv_lib_cdata_libcdata_btree_get_value_by_value" >&6; } 25027if test "x$ac_cv_lib_cdata_libcdata_btree_get_value_by_value" = xyes; then : 25028 ac_cv_libcdata_dummy=yes 25029else 25030 ac_cv_libcdata=no 25031fi 25032 25033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_btree_insert_value in -lcdata" >&5 25034$as_echo_n "checking for libcdata_btree_insert_value in -lcdata... " >&6; } 25035if ${ac_cv_lib_cdata_libcdata_btree_insert_value+:} false; then : 25036 $as_echo_n "(cached) " >&6 25037else 25038 ac_check_lib_save_LIBS=$LIBS 25039LIBS="-lcdata $LIBS" 25040cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25041/* end confdefs.h. */ 25042 25043/* Override any GCC internal prototype to avoid an error. 25044 Use char because int might match the return type of a GCC 25045 builtin and then its argument prototype would still apply. */ 25046#ifdef __cplusplus 25047extern "C" 25048#endif 25049char libcdata_btree_insert_value (); 25050int 25051main () 25052{ 25053return libcdata_btree_insert_value (); 25054 ; 25055 return 0; 25056} 25057_ACEOF 25058if ac_fn_c_try_link "$LINENO"; then : 25059 ac_cv_lib_cdata_libcdata_btree_insert_value=yes 25060else 25061 ac_cv_lib_cdata_libcdata_btree_insert_value=no 25062fi 25063rm -f core conftest.err conftest.$ac_objext \ 25064 conftest$ac_exeext conftest.$ac_ext 25065LIBS=$ac_check_lib_save_LIBS 25066fi 25067{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_btree_insert_value" >&5 25068$as_echo "$ac_cv_lib_cdata_libcdata_btree_insert_value" >&6; } 25069if test "x$ac_cv_lib_cdata_libcdata_btree_insert_value" = xyes; then : 25070 ac_cv_libcdata_dummy=yes 25071else 25072 ac_cv_libcdata=no 25073fi 25074 25075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_btree_replace_value in -lcdata" >&5 25076$as_echo_n "checking for libcdata_btree_replace_value in -lcdata... " >&6; } 25077if ${ac_cv_lib_cdata_libcdata_btree_replace_value+:} false; then : 25078 $as_echo_n "(cached) " >&6 25079else 25080 ac_check_lib_save_LIBS=$LIBS 25081LIBS="-lcdata $LIBS" 25082cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25083/* end confdefs.h. */ 25084 25085/* Override any GCC internal prototype to avoid an error. 25086 Use char because int might match the return type of a GCC 25087 builtin and then its argument prototype would still apply. */ 25088#ifdef __cplusplus 25089extern "C" 25090#endif 25091char libcdata_btree_replace_value (); 25092int 25093main () 25094{ 25095return libcdata_btree_replace_value (); 25096 ; 25097 return 0; 25098} 25099_ACEOF 25100if ac_fn_c_try_link "$LINENO"; then : 25101 ac_cv_lib_cdata_libcdata_btree_replace_value=yes 25102else 25103 ac_cv_lib_cdata_libcdata_btree_replace_value=no 25104fi 25105rm -f core conftest.err conftest.$ac_objext \ 25106 conftest$ac_exeext conftest.$ac_ext 25107LIBS=$ac_check_lib_save_LIBS 25108fi 25109{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_btree_replace_value" >&5 25110$as_echo "$ac_cv_lib_cdata_libcdata_btree_replace_value" >&6; } 25111if test "x$ac_cv_lib_cdata_libcdata_btree_replace_value" = xyes; then : 25112 ac_cv_libcdata_dummy=yes 25113else 25114 ac_cv_libcdata=no 25115fi 25116 25117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_btree_remove_value in -lcdata" >&5 25118$as_echo_n "checking for libcdata_btree_remove_value in -lcdata... " >&6; } 25119if ${ac_cv_lib_cdata_libcdata_btree_remove_value+:} false; then : 25120 $as_echo_n "(cached) " >&6 25121else 25122 ac_check_lib_save_LIBS=$LIBS 25123LIBS="-lcdata $LIBS" 25124cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25125/* end confdefs.h. */ 25126 25127/* Override any GCC internal prototype to avoid an error. 25128 Use char because int might match the return type of a GCC 25129 builtin and then its argument prototype would still apply. */ 25130#ifdef __cplusplus 25131extern "C" 25132#endif 25133char libcdata_btree_remove_value (); 25134int 25135main () 25136{ 25137return libcdata_btree_remove_value (); 25138 ; 25139 return 0; 25140} 25141_ACEOF 25142if ac_fn_c_try_link "$LINENO"; then : 25143 ac_cv_lib_cdata_libcdata_btree_remove_value=yes 25144else 25145 ac_cv_lib_cdata_libcdata_btree_remove_value=no 25146fi 25147rm -f core conftest.err conftest.$ac_objext \ 25148 conftest$ac_exeext conftest.$ac_ext 25149LIBS=$ac_check_lib_save_LIBS 25150fi 25151{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_btree_remove_value" >&5 25152$as_echo "$ac_cv_lib_cdata_libcdata_btree_remove_value" >&6; } 25153if test "x$ac_cv_lib_cdata_libcdata_btree_remove_value" = xyes; then : 25154 ac_cv_libcdata_dummy=yes 25155else 25156 ac_cv_libcdata=no 25157fi 25158 25159 25160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_initialize in -lcdata" >&5 25161$as_echo_n "checking for libcdata_list_initialize in -lcdata... " >&6; } 25162if ${ac_cv_lib_cdata_libcdata_list_initialize+:} false; then : 25163 $as_echo_n "(cached) " >&6 25164else 25165 ac_check_lib_save_LIBS=$LIBS 25166LIBS="-lcdata $LIBS" 25167cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25168/* end confdefs.h. */ 25169 25170/* Override any GCC internal prototype to avoid an error. 25171 Use char because int might match the return type of a GCC 25172 builtin and then its argument prototype would still apply. */ 25173#ifdef __cplusplus 25174extern "C" 25175#endif 25176char libcdata_list_initialize (); 25177int 25178main () 25179{ 25180return libcdata_list_initialize (); 25181 ; 25182 return 0; 25183} 25184_ACEOF 25185if ac_fn_c_try_link "$LINENO"; then : 25186 ac_cv_lib_cdata_libcdata_list_initialize=yes 25187else 25188 ac_cv_lib_cdata_libcdata_list_initialize=no 25189fi 25190rm -f core conftest.err conftest.$ac_objext \ 25191 conftest$ac_exeext conftest.$ac_ext 25192LIBS=$ac_check_lib_save_LIBS 25193fi 25194{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_initialize" >&5 25195$as_echo "$ac_cv_lib_cdata_libcdata_list_initialize" >&6; } 25196if test "x$ac_cv_lib_cdata_libcdata_list_initialize" = xyes; then : 25197 ac_cv_libcdata_dummy=yes 25198else 25199 ac_cv_libcdata=no 25200fi 25201 25202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_free in -lcdata" >&5 25203$as_echo_n "checking for libcdata_list_free in -lcdata... " >&6; } 25204if ${ac_cv_lib_cdata_libcdata_list_free+:} false; then : 25205 $as_echo_n "(cached) " >&6 25206else 25207 ac_check_lib_save_LIBS=$LIBS 25208LIBS="-lcdata $LIBS" 25209cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25210/* end confdefs.h. */ 25211 25212/* Override any GCC internal prototype to avoid an error. 25213 Use char because int might match the return type of a GCC 25214 builtin and then its argument prototype would still apply. */ 25215#ifdef __cplusplus 25216extern "C" 25217#endif 25218char libcdata_list_free (); 25219int 25220main () 25221{ 25222return libcdata_list_free (); 25223 ; 25224 return 0; 25225} 25226_ACEOF 25227if ac_fn_c_try_link "$LINENO"; then : 25228 ac_cv_lib_cdata_libcdata_list_free=yes 25229else 25230 ac_cv_lib_cdata_libcdata_list_free=no 25231fi 25232rm -f core conftest.err conftest.$ac_objext \ 25233 conftest$ac_exeext conftest.$ac_ext 25234LIBS=$ac_check_lib_save_LIBS 25235fi 25236{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_free" >&5 25237$as_echo "$ac_cv_lib_cdata_libcdata_list_free" >&6; } 25238if test "x$ac_cv_lib_cdata_libcdata_list_free" = xyes; then : 25239 ac_cv_libcdata_dummy=yes 25240else 25241 ac_cv_libcdata=no 25242fi 25243 25244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_empty in -lcdata" >&5 25245$as_echo_n "checking for libcdata_list_empty in -lcdata... " >&6; } 25246if ${ac_cv_lib_cdata_libcdata_list_empty+:} false; then : 25247 $as_echo_n "(cached) " >&6 25248else 25249 ac_check_lib_save_LIBS=$LIBS 25250LIBS="-lcdata $LIBS" 25251cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25252/* end confdefs.h. */ 25253 25254/* Override any GCC internal prototype to avoid an error. 25255 Use char because int might match the return type of a GCC 25256 builtin and then its argument prototype would still apply. */ 25257#ifdef __cplusplus 25258extern "C" 25259#endif 25260char libcdata_list_empty (); 25261int 25262main () 25263{ 25264return libcdata_list_empty (); 25265 ; 25266 return 0; 25267} 25268_ACEOF 25269if ac_fn_c_try_link "$LINENO"; then : 25270 ac_cv_lib_cdata_libcdata_list_empty=yes 25271else 25272 ac_cv_lib_cdata_libcdata_list_empty=no 25273fi 25274rm -f core conftest.err conftest.$ac_objext \ 25275 conftest$ac_exeext conftest.$ac_ext 25276LIBS=$ac_check_lib_save_LIBS 25277fi 25278{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_empty" >&5 25279$as_echo "$ac_cv_lib_cdata_libcdata_list_empty" >&6; } 25280if test "x$ac_cv_lib_cdata_libcdata_list_empty" = xyes; then : 25281 ac_cv_libcdata_dummy=yes 25282else 25283 ac_cv_libcdata=no 25284fi 25285 25286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_clone in -lcdata" >&5 25287$as_echo_n "checking for libcdata_list_clone in -lcdata... " >&6; } 25288if ${ac_cv_lib_cdata_libcdata_list_clone+:} false; then : 25289 $as_echo_n "(cached) " >&6 25290else 25291 ac_check_lib_save_LIBS=$LIBS 25292LIBS="-lcdata $LIBS" 25293cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25294/* end confdefs.h. */ 25295 25296/* Override any GCC internal prototype to avoid an error. 25297 Use char because int might match the return type of a GCC 25298 builtin and then its argument prototype would still apply. */ 25299#ifdef __cplusplus 25300extern "C" 25301#endif 25302char libcdata_list_clone (); 25303int 25304main () 25305{ 25306return libcdata_list_clone (); 25307 ; 25308 return 0; 25309} 25310_ACEOF 25311if ac_fn_c_try_link "$LINENO"; then : 25312 ac_cv_lib_cdata_libcdata_list_clone=yes 25313else 25314 ac_cv_lib_cdata_libcdata_list_clone=no 25315fi 25316rm -f core conftest.err conftest.$ac_objext \ 25317 conftest$ac_exeext conftest.$ac_ext 25318LIBS=$ac_check_lib_save_LIBS 25319fi 25320{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_clone" >&5 25321$as_echo "$ac_cv_lib_cdata_libcdata_list_clone" >&6; } 25322if test "x$ac_cv_lib_cdata_libcdata_list_clone" = xyes; then : 25323 ac_cv_libcdata_dummy=yes 25324else 25325 ac_cv_libcdata=no 25326fi 25327 25328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_get_number_of_elements in -lcdata" >&5 25329$as_echo_n "checking for libcdata_list_get_number_of_elements in -lcdata... " >&6; } 25330if ${ac_cv_lib_cdata_libcdata_list_get_number_of_elements+:} false; then : 25331 $as_echo_n "(cached) " >&6 25332else 25333 ac_check_lib_save_LIBS=$LIBS 25334LIBS="-lcdata $LIBS" 25335cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25336/* end confdefs.h. */ 25337 25338/* Override any GCC internal prototype to avoid an error. 25339 Use char because int might match the return type of a GCC 25340 builtin and then its argument prototype would still apply. */ 25341#ifdef __cplusplus 25342extern "C" 25343#endif 25344char libcdata_list_get_number_of_elements (); 25345int 25346main () 25347{ 25348return libcdata_list_get_number_of_elements (); 25349 ; 25350 return 0; 25351} 25352_ACEOF 25353if ac_fn_c_try_link "$LINENO"; then : 25354 ac_cv_lib_cdata_libcdata_list_get_number_of_elements=yes 25355else 25356 ac_cv_lib_cdata_libcdata_list_get_number_of_elements=no 25357fi 25358rm -f core conftest.err conftest.$ac_objext \ 25359 conftest$ac_exeext conftest.$ac_ext 25360LIBS=$ac_check_lib_save_LIBS 25361fi 25362{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_get_number_of_elements" >&5 25363$as_echo "$ac_cv_lib_cdata_libcdata_list_get_number_of_elements" >&6; } 25364if test "x$ac_cv_lib_cdata_libcdata_list_get_number_of_elements" = xyes; then : 25365 ac_cv_libcdata_dummy=yes 25366else 25367 ac_cv_libcdata=no 25368fi 25369 25370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_get_first_element in -lcdata" >&5 25371$as_echo_n "checking for libcdata_list_get_first_element in -lcdata... " >&6; } 25372if ${ac_cv_lib_cdata_libcdata_list_get_first_element+:} false; then : 25373 $as_echo_n "(cached) " >&6 25374else 25375 ac_check_lib_save_LIBS=$LIBS 25376LIBS="-lcdata $LIBS" 25377cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25378/* end confdefs.h. */ 25379 25380/* Override any GCC internal prototype to avoid an error. 25381 Use char because int might match the return type of a GCC 25382 builtin and then its argument prototype would still apply. */ 25383#ifdef __cplusplus 25384extern "C" 25385#endif 25386char libcdata_list_get_first_element (); 25387int 25388main () 25389{ 25390return libcdata_list_get_first_element (); 25391 ; 25392 return 0; 25393} 25394_ACEOF 25395if ac_fn_c_try_link "$LINENO"; then : 25396 ac_cv_lib_cdata_libcdata_list_get_first_element=yes 25397else 25398 ac_cv_lib_cdata_libcdata_list_get_first_element=no 25399fi 25400rm -f core conftest.err conftest.$ac_objext \ 25401 conftest$ac_exeext conftest.$ac_ext 25402LIBS=$ac_check_lib_save_LIBS 25403fi 25404{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_get_first_element" >&5 25405$as_echo "$ac_cv_lib_cdata_libcdata_list_get_first_element" >&6; } 25406if test "x$ac_cv_lib_cdata_libcdata_list_get_first_element" = xyes; then : 25407 ac_cv_libcdata_dummy=yes 25408else 25409 ac_cv_libcdata=no 25410fi 25411 25412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_get_last_element in -lcdata" >&5 25413$as_echo_n "checking for libcdata_list_get_last_element in -lcdata... " >&6; } 25414if ${ac_cv_lib_cdata_libcdata_list_get_last_element+:} false; then : 25415 $as_echo_n "(cached) " >&6 25416else 25417 ac_check_lib_save_LIBS=$LIBS 25418LIBS="-lcdata $LIBS" 25419cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25420/* end confdefs.h. */ 25421 25422/* Override any GCC internal prototype to avoid an error. 25423 Use char because int might match the return type of a GCC 25424 builtin and then its argument prototype would still apply. */ 25425#ifdef __cplusplus 25426extern "C" 25427#endif 25428char libcdata_list_get_last_element (); 25429int 25430main () 25431{ 25432return libcdata_list_get_last_element (); 25433 ; 25434 return 0; 25435} 25436_ACEOF 25437if ac_fn_c_try_link "$LINENO"; then : 25438 ac_cv_lib_cdata_libcdata_list_get_last_element=yes 25439else 25440 ac_cv_lib_cdata_libcdata_list_get_last_element=no 25441fi 25442rm -f core conftest.err conftest.$ac_objext \ 25443 conftest$ac_exeext conftest.$ac_ext 25444LIBS=$ac_check_lib_save_LIBS 25445fi 25446{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_get_last_element" >&5 25447$as_echo "$ac_cv_lib_cdata_libcdata_list_get_last_element" >&6; } 25448if test "x$ac_cv_lib_cdata_libcdata_list_get_last_element" = xyes; then : 25449 ac_cv_libcdata_dummy=yes 25450else 25451 ac_cv_libcdata=no 25452fi 25453 25454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_get_element_by_index in -lcdata" >&5 25455$as_echo_n "checking for libcdata_list_get_element_by_index in -lcdata... " >&6; } 25456if ${ac_cv_lib_cdata_libcdata_list_get_element_by_index+:} false; then : 25457 $as_echo_n "(cached) " >&6 25458else 25459 ac_check_lib_save_LIBS=$LIBS 25460LIBS="-lcdata $LIBS" 25461cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25462/* end confdefs.h. */ 25463 25464/* Override any GCC internal prototype to avoid an error. 25465 Use char because int might match the return type of a GCC 25466 builtin and then its argument prototype would still apply. */ 25467#ifdef __cplusplus 25468extern "C" 25469#endif 25470char libcdata_list_get_element_by_index (); 25471int 25472main () 25473{ 25474return libcdata_list_get_element_by_index (); 25475 ; 25476 return 0; 25477} 25478_ACEOF 25479if ac_fn_c_try_link "$LINENO"; then : 25480 ac_cv_lib_cdata_libcdata_list_get_element_by_index=yes 25481else 25482 ac_cv_lib_cdata_libcdata_list_get_element_by_index=no 25483fi 25484rm -f core conftest.err conftest.$ac_objext \ 25485 conftest$ac_exeext conftest.$ac_ext 25486LIBS=$ac_check_lib_save_LIBS 25487fi 25488{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_get_element_by_index" >&5 25489$as_echo "$ac_cv_lib_cdata_libcdata_list_get_element_by_index" >&6; } 25490if test "x$ac_cv_lib_cdata_libcdata_list_get_element_by_index" = xyes; then : 25491 ac_cv_libcdata_dummy=yes 25492else 25493 ac_cv_libcdata=no 25494fi 25495 25496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_get_value_by_index in -lcdata" >&5 25497$as_echo_n "checking for libcdata_list_get_value_by_index in -lcdata... " >&6; } 25498if ${ac_cv_lib_cdata_libcdata_list_get_value_by_index+:} false; then : 25499 $as_echo_n "(cached) " >&6 25500else 25501 ac_check_lib_save_LIBS=$LIBS 25502LIBS="-lcdata $LIBS" 25503cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25504/* end confdefs.h. */ 25505 25506/* Override any GCC internal prototype to avoid an error. 25507 Use char because int might match the return type of a GCC 25508 builtin and then its argument prototype would still apply. */ 25509#ifdef __cplusplus 25510extern "C" 25511#endif 25512char libcdata_list_get_value_by_index (); 25513int 25514main () 25515{ 25516return libcdata_list_get_value_by_index (); 25517 ; 25518 return 0; 25519} 25520_ACEOF 25521if ac_fn_c_try_link "$LINENO"; then : 25522 ac_cv_lib_cdata_libcdata_list_get_value_by_index=yes 25523else 25524 ac_cv_lib_cdata_libcdata_list_get_value_by_index=no 25525fi 25526rm -f core conftest.err conftest.$ac_objext \ 25527 conftest$ac_exeext conftest.$ac_ext 25528LIBS=$ac_check_lib_save_LIBS 25529fi 25530{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_get_value_by_index" >&5 25531$as_echo "$ac_cv_lib_cdata_libcdata_list_get_value_by_index" >&6; } 25532if test "x$ac_cv_lib_cdata_libcdata_list_get_value_by_index" = xyes; then : 25533 ac_cv_libcdata_dummy=yes 25534else 25535 ac_cv_libcdata=no 25536fi 25537 25538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_prepend_element in -lcdata" >&5 25539$as_echo_n "checking for libcdata_list_prepend_element in -lcdata... " >&6; } 25540if ${ac_cv_lib_cdata_libcdata_list_prepend_element+:} false; then : 25541 $as_echo_n "(cached) " >&6 25542else 25543 ac_check_lib_save_LIBS=$LIBS 25544LIBS="-lcdata $LIBS" 25545cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25546/* end confdefs.h. */ 25547 25548/* Override any GCC internal prototype to avoid an error. 25549 Use char because int might match the return type of a GCC 25550 builtin and then its argument prototype would still apply. */ 25551#ifdef __cplusplus 25552extern "C" 25553#endif 25554char libcdata_list_prepend_element (); 25555int 25556main () 25557{ 25558return libcdata_list_prepend_element (); 25559 ; 25560 return 0; 25561} 25562_ACEOF 25563if ac_fn_c_try_link "$LINENO"; then : 25564 ac_cv_lib_cdata_libcdata_list_prepend_element=yes 25565else 25566 ac_cv_lib_cdata_libcdata_list_prepend_element=no 25567fi 25568rm -f core conftest.err conftest.$ac_objext \ 25569 conftest$ac_exeext conftest.$ac_ext 25570LIBS=$ac_check_lib_save_LIBS 25571fi 25572{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_prepend_element" >&5 25573$as_echo "$ac_cv_lib_cdata_libcdata_list_prepend_element" >&6; } 25574if test "x$ac_cv_lib_cdata_libcdata_list_prepend_element" = xyes; then : 25575 ac_cv_libcdata_dummy=yes 25576else 25577 ac_cv_libcdata=no 25578fi 25579 25580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_prepend_value in -lcdata" >&5 25581$as_echo_n "checking for libcdata_list_prepend_value in -lcdata... " >&6; } 25582if ${ac_cv_lib_cdata_libcdata_list_prepend_value+:} false; then : 25583 $as_echo_n "(cached) " >&6 25584else 25585 ac_check_lib_save_LIBS=$LIBS 25586LIBS="-lcdata $LIBS" 25587cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25588/* end confdefs.h. */ 25589 25590/* Override any GCC internal prototype to avoid an error. 25591 Use char because int might match the return type of a GCC 25592 builtin and then its argument prototype would still apply. */ 25593#ifdef __cplusplus 25594extern "C" 25595#endif 25596char libcdata_list_prepend_value (); 25597int 25598main () 25599{ 25600return libcdata_list_prepend_value (); 25601 ; 25602 return 0; 25603} 25604_ACEOF 25605if ac_fn_c_try_link "$LINENO"; then : 25606 ac_cv_lib_cdata_libcdata_list_prepend_value=yes 25607else 25608 ac_cv_lib_cdata_libcdata_list_prepend_value=no 25609fi 25610rm -f core conftest.err conftest.$ac_objext \ 25611 conftest$ac_exeext conftest.$ac_ext 25612LIBS=$ac_check_lib_save_LIBS 25613fi 25614{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_prepend_value" >&5 25615$as_echo "$ac_cv_lib_cdata_libcdata_list_prepend_value" >&6; } 25616if test "x$ac_cv_lib_cdata_libcdata_list_prepend_value" = xyes; then : 25617 ac_cv_libcdata_dummy=yes 25618else 25619 ac_cv_libcdata=no 25620fi 25621 25622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_append_element in -lcdata" >&5 25623$as_echo_n "checking for libcdata_list_append_element in -lcdata... " >&6; } 25624if ${ac_cv_lib_cdata_libcdata_list_append_element+:} false; then : 25625 $as_echo_n "(cached) " >&6 25626else 25627 ac_check_lib_save_LIBS=$LIBS 25628LIBS="-lcdata $LIBS" 25629cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25630/* end confdefs.h. */ 25631 25632/* Override any GCC internal prototype to avoid an error. 25633 Use char because int might match the return type of a GCC 25634 builtin and then its argument prototype would still apply. */ 25635#ifdef __cplusplus 25636extern "C" 25637#endif 25638char libcdata_list_append_element (); 25639int 25640main () 25641{ 25642return libcdata_list_append_element (); 25643 ; 25644 return 0; 25645} 25646_ACEOF 25647if ac_fn_c_try_link "$LINENO"; then : 25648 ac_cv_lib_cdata_libcdata_list_append_element=yes 25649else 25650 ac_cv_lib_cdata_libcdata_list_append_element=no 25651fi 25652rm -f core conftest.err conftest.$ac_objext \ 25653 conftest$ac_exeext conftest.$ac_ext 25654LIBS=$ac_check_lib_save_LIBS 25655fi 25656{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_append_element" >&5 25657$as_echo "$ac_cv_lib_cdata_libcdata_list_append_element" >&6; } 25658if test "x$ac_cv_lib_cdata_libcdata_list_append_element" = xyes; then : 25659 ac_cv_libcdata_dummy=yes 25660else 25661 ac_cv_libcdata=no 25662fi 25663 25664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_append_value in -lcdata" >&5 25665$as_echo_n "checking for libcdata_list_append_value in -lcdata... " >&6; } 25666if ${ac_cv_lib_cdata_libcdata_list_append_value+:} false; then : 25667 $as_echo_n "(cached) " >&6 25668else 25669 ac_check_lib_save_LIBS=$LIBS 25670LIBS="-lcdata $LIBS" 25671cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25672/* end confdefs.h. */ 25673 25674/* Override any GCC internal prototype to avoid an error. 25675 Use char because int might match the return type of a GCC 25676 builtin and then its argument prototype would still apply. */ 25677#ifdef __cplusplus 25678extern "C" 25679#endif 25680char libcdata_list_append_value (); 25681int 25682main () 25683{ 25684return libcdata_list_append_value (); 25685 ; 25686 return 0; 25687} 25688_ACEOF 25689if ac_fn_c_try_link "$LINENO"; then : 25690 ac_cv_lib_cdata_libcdata_list_append_value=yes 25691else 25692 ac_cv_lib_cdata_libcdata_list_append_value=no 25693fi 25694rm -f core conftest.err conftest.$ac_objext \ 25695 conftest$ac_exeext conftest.$ac_ext 25696LIBS=$ac_check_lib_save_LIBS 25697fi 25698{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_append_value" >&5 25699$as_echo "$ac_cv_lib_cdata_libcdata_list_append_value" >&6; } 25700if test "x$ac_cv_lib_cdata_libcdata_list_append_value" = xyes; then : 25701 ac_cv_libcdata_dummy=yes 25702else 25703 ac_cv_libcdata=no 25704fi 25705 25706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_insert_element in -lcdata" >&5 25707$as_echo_n "checking for libcdata_list_insert_element in -lcdata... " >&6; } 25708if ${ac_cv_lib_cdata_libcdata_list_insert_element+:} false; then : 25709 $as_echo_n "(cached) " >&6 25710else 25711 ac_check_lib_save_LIBS=$LIBS 25712LIBS="-lcdata $LIBS" 25713cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25714/* end confdefs.h. */ 25715 25716/* Override any GCC internal prototype to avoid an error. 25717 Use char because int might match the return type of a GCC 25718 builtin and then its argument prototype would still apply. */ 25719#ifdef __cplusplus 25720extern "C" 25721#endif 25722char libcdata_list_insert_element (); 25723int 25724main () 25725{ 25726return libcdata_list_insert_element (); 25727 ; 25728 return 0; 25729} 25730_ACEOF 25731if ac_fn_c_try_link "$LINENO"; then : 25732 ac_cv_lib_cdata_libcdata_list_insert_element=yes 25733else 25734 ac_cv_lib_cdata_libcdata_list_insert_element=no 25735fi 25736rm -f core conftest.err conftest.$ac_objext \ 25737 conftest$ac_exeext conftest.$ac_ext 25738LIBS=$ac_check_lib_save_LIBS 25739fi 25740{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_insert_element" >&5 25741$as_echo "$ac_cv_lib_cdata_libcdata_list_insert_element" >&6; } 25742if test "x$ac_cv_lib_cdata_libcdata_list_insert_element" = xyes; then : 25743 ac_cv_libcdata_dummy=yes 25744else 25745 ac_cv_libcdata=no 25746fi 25747 25748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_insert_value in -lcdata" >&5 25749$as_echo_n "checking for libcdata_list_insert_value in -lcdata... " >&6; } 25750if ${ac_cv_lib_cdata_libcdata_list_insert_value+:} false; then : 25751 $as_echo_n "(cached) " >&6 25752else 25753 ac_check_lib_save_LIBS=$LIBS 25754LIBS="-lcdata $LIBS" 25755cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25756/* end confdefs.h. */ 25757 25758/* Override any GCC internal prototype to avoid an error. 25759 Use char because int might match the return type of a GCC 25760 builtin and then its argument prototype would still apply. */ 25761#ifdef __cplusplus 25762extern "C" 25763#endif 25764char libcdata_list_insert_value (); 25765int 25766main () 25767{ 25768return libcdata_list_insert_value (); 25769 ; 25770 return 0; 25771} 25772_ACEOF 25773if ac_fn_c_try_link "$LINENO"; then : 25774 ac_cv_lib_cdata_libcdata_list_insert_value=yes 25775else 25776 ac_cv_lib_cdata_libcdata_list_insert_value=no 25777fi 25778rm -f core conftest.err conftest.$ac_objext \ 25779 conftest$ac_exeext conftest.$ac_ext 25780LIBS=$ac_check_lib_save_LIBS 25781fi 25782{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_insert_value" >&5 25783$as_echo "$ac_cv_lib_cdata_libcdata_list_insert_value" >&6; } 25784if test "x$ac_cv_lib_cdata_libcdata_list_insert_value" = xyes; then : 25785 ac_cv_libcdata_dummy=yes 25786else 25787 ac_cv_libcdata=no 25788fi 25789 25790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_remove_element in -lcdata" >&5 25791$as_echo_n "checking for libcdata_list_remove_element in -lcdata... " >&6; } 25792if ${ac_cv_lib_cdata_libcdata_list_remove_element+:} false; then : 25793 $as_echo_n "(cached) " >&6 25794else 25795 ac_check_lib_save_LIBS=$LIBS 25796LIBS="-lcdata $LIBS" 25797cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25798/* end confdefs.h. */ 25799 25800/* Override any GCC internal prototype to avoid an error. 25801 Use char because int might match the return type of a GCC 25802 builtin and then its argument prototype would still apply. */ 25803#ifdef __cplusplus 25804extern "C" 25805#endif 25806char libcdata_list_remove_element (); 25807int 25808main () 25809{ 25810return libcdata_list_remove_element (); 25811 ; 25812 return 0; 25813} 25814_ACEOF 25815if ac_fn_c_try_link "$LINENO"; then : 25816 ac_cv_lib_cdata_libcdata_list_remove_element=yes 25817else 25818 ac_cv_lib_cdata_libcdata_list_remove_element=no 25819fi 25820rm -f core conftest.err conftest.$ac_objext \ 25821 conftest$ac_exeext conftest.$ac_ext 25822LIBS=$ac_check_lib_save_LIBS 25823fi 25824{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_remove_element" >&5 25825$as_echo "$ac_cv_lib_cdata_libcdata_list_remove_element" >&6; } 25826if test "x$ac_cv_lib_cdata_libcdata_list_remove_element" = xyes; then : 25827 ac_cv_libcdata_dummy=yes 25828else 25829 ac_cv_libcdata=no 25830fi 25831 25832 25833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_initialize in -lcdata" >&5 25834$as_echo_n "checking for libcdata_list_element_initialize in -lcdata... " >&6; } 25835if ${ac_cv_lib_cdata_libcdata_list_element_initialize+:} false; then : 25836 $as_echo_n "(cached) " >&6 25837else 25838 ac_check_lib_save_LIBS=$LIBS 25839LIBS="-lcdata $LIBS" 25840cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25841/* end confdefs.h. */ 25842 25843/* Override any GCC internal prototype to avoid an error. 25844 Use char because int might match the return type of a GCC 25845 builtin and then its argument prototype would still apply. */ 25846#ifdef __cplusplus 25847extern "C" 25848#endif 25849char libcdata_list_element_initialize (); 25850int 25851main () 25852{ 25853return libcdata_list_element_initialize (); 25854 ; 25855 return 0; 25856} 25857_ACEOF 25858if ac_fn_c_try_link "$LINENO"; then : 25859 ac_cv_lib_cdata_libcdata_list_element_initialize=yes 25860else 25861 ac_cv_lib_cdata_libcdata_list_element_initialize=no 25862fi 25863rm -f core conftest.err conftest.$ac_objext \ 25864 conftest$ac_exeext conftest.$ac_ext 25865LIBS=$ac_check_lib_save_LIBS 25866fi 25867{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_initialize" >&5 25868$as_echo "$ac_cv_lib_cdata_libcdata_list_element_initialize" >&6; } 25869if test "x$ac_cv_lib_cdata_libcdata_list_element_initialize" = xyes; then : 25870 ac_cv_libcdata_dummy=yes 25871else 25872 ac_cv_libcdata=no 25873fi 25874 25875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_free in -lcdata" >&5 25876$as_echo_n "checking for libcdata_list_element_free in -lcdata... " >&6; } 25877if ${ac_cv_lib_cdata_libcdata_list_element_free+:} false; then : 25878 $as_echo_n "(cached) " >&6 25879else 25880 ac_check_lib_save_LIBS=$LIBS 25881LIBS="-lcdata $LIBS" 25882cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25883/* end confdefs.h. */ 25884 25885/* Override any GCC internal prototype to avoid an error. 25886 Use char because int might match the return type of a GCC 25887 builtin and then its argument prototype would still apply. */ 25888#ifdef __cplusplus 25889extern "C" 25890#endif 25891char libcdata_list_element_free (); 25892int 25893main () 25894{ 25895return libcdata_list_element_free (); 25896 ; 25897 return 0; 25898} 25899_ACEOF 25900if ac_fn_c_try_link "$LINENO"; then : 25901 ac_cv_lib_cdata_libcdata_list_element_free=yes 25902else 25903 ac_cv_lib_cdata_libcdata_list_element_free=no 25904fi 25905rm -f core conftest.err conftest.$ac_objext \ 25906 conftest$ac_exeext conftest.$ac_ext 25907LIBS=$ac_check_lib_save_LIBS 25908fi 25909{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_free" >&5 25910$as_echo "$ac_cv_lib_cdata_libcdata_list_element_free" >&6; } 25911if test "x$ac_cv_lib_cdata_libcdata_list_element_free" = xyes; then : 25912 ac_cv_libcdata_dummy=yes 25913else 25914 ac_cv_libcdata=no 25915fi 25916 25917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_get_value in -lcdata" >&5 25918$as_echo_n "checking for libcdata_list_element_get_value in -lcdata... " >&6; } 25919if ${ac_cv_lib_cdata_libcdata_list_element_get_value+:} false; then : 25920 $as_echo_n "(cached) " >&6 25921else 25922 ac_check_lib_save_LIBS=$LIBS 25923LIBS="-lcdata $LIBS" 25924cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25925/* end confdefs.h. */ 25926 25927/* Override any GCC internal prototype to avoid an error. 25928 Use char because int might match the return type of a GCC 25929 builtin and then its argument prototype would still apply. */ 25930#ifdef __cplusplus 25931extern "C" 25932#endif 25933char libcdata_list_element_get_value (); 25934int 25935main () 25936{ 25937return libcdata_list_element_get_value (); 25938 ; 25939 return 0; 25940} 25941_ACEOF 25942if ac_fn_c_try_link "$LINENO"; then : 25943 ac_cv_lib_cdata_libcdata_list_element_get_value=yes 25944else 25945 ac_cv_lib_cdata_libcdata_list_element_get_value=no 25946fi 25947rm -f core conftest.err conftest.$ac_objext \ 25948 conftest$ac_exeext conftest.$ac_ext 25949LIBS=$ac_check_lib_save_LIBS 25950fi 25951{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_get_value" >&5 25952$as_echo "$ac_cv_lib_cdata_libcdata_list_element_get_value" >&6; } 25953if test "x$ac_cv_lib_cdata_libcdata_list_element_get_value" = xyes; then : 25954 ac_cv_libcdata_dummy=yes 25955else 25956 ac_cv_libcdata=no 25957fi 25958 25959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_set_value in -lcdata" >&5 25960$as_echo_n "checking for libcdata_list_element_set_value in -lcdata... " >&6; } 25961if ${ac_cv_lib_cdata_libcdata_list_element_set_value+:} false; then : 25962 $as_echo_n "(cached) " >&6 25963else 25964 ac_check_lib_save_LIBS=$LIBS 25965LIBS="-lcdata $LIBS" 25966cat confdefs.h - <<_ACEOF >conftest.$ac_ext 25967/* end confdefs.h. */ 25968 25969/* Override any GCC internal prototype to avoid an error. 25970 Use char because int might match the return type of a GCC 25971 builtin and then its argument prototype would still apply. */ 25972#ifdef __cplusplus 25973extern "C" 25974#endif 25975char libcdata_list_element_set_value (); 25976int 25977main () 25978{ 25979return libcdata_list_element_set_value (); 25980 ; 25981 return 0; 25982} 25983_ACEOF 25984if ac_fn_c_try_link "$LINENO"; then : 25985 ac_cv_lib_cdata_libcdata_list_element_set_value=yes 25986else 25987 ac_cv_lib_cdata_libcdata_list_element_set_value=no 25988fi 25989rm -f core conftest.err conftest.$ac_objext \ 25990 conftest$ac_exeext conftest.$ac_ext 25991LIBS=$ac_check_lib_save_LIBS 25992fi 25993{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_set_value" >&5 25994$as_echo "$ac_cv_lib_cdata_libcdata_list_element_set_value" >&6; } 25995if test "x$ac_cv_lib_cdata_libcdata_list_element_set_value" = xyes; then : 25996 ac_cv_libcdata_dummy=yes 25997else 25998 ac_cv_libcdata=no 25999fi 26000 26001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_get_previous_element in -lcdata" >&5 26002$as_echo_n "checking for libcdata_list_element_get_previous_element in -lcdata... " >&6; } 26003if ${ac_cv_lib_cdata_libcdata_list_element_get_previous_element+:} false; then : 26004 $as_echo_n "(cached) " >&6 26005else 26006 ac_check_lib_save_LIBS=$LIBS 26007LIBS="-lcdata $LIBS" 26008cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26009/* end confdefs.h. */ 26010 26011/* Override any GCC internal prototype to avoid an error. 26012 Use char because int might match the return type of a GCC 26013 builtin and then its argument prototype would still apply. */ 26014#ifdef __cplusplus 26015extern "C" 26016#endif 26017char libcdata_list_element_get_previous_element (); 26018int 26019main () 26020{ 26021return libcdata_list_element_get_previous_element (); 26022 ; 26023 return 0; 26024} 26025_ACEOF 26026if ac_fn_c_try_link "$LINENO"; then : 26027 ac_cv_lib_cdata_libcdata_list_element_get_previous_element=yes 26028else 26029 ac_cv_lib_cdata_libcdata_list_element_get_previous_element=no 26030fi 26031rm -f core conftest.err conftest.$ac_objext \ 26032 conftest$ac_exeext conftest.$ac_ext 26033LIBS=$ac_check_lib_save_LIBS 26034fi 26035{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_get_previous_element" >&5 26036$as_echo "$ac_cv_lib_cdata_libcdata_list_element_get_previous_element" >&6; } 26037if test "x$ac_cv_lib_cdata_libcdata_list_element_get_previous_element" = xyes; then : 26038 ac_cv_libcdata_dummy=yes 26039else 26040 ac_cv_libcdata=no 26041fi 26042 26043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_set_previous_element in -lcdata" >&5 26044$as_echo_n "checking for libcdata_list_element_set_previous_element in -lcdata... " >&6; } 26045if ${ac_cv_lib_cdata_libcdata_list_element_set_previous_element+:} false; then : 26046 $as_echo_n "(cached) " >&6 26047else 26048 ac_check_lib_save_LIBS=$LIBS 26049LIBS="-lcdata $LIBS" 26050cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26051/* end confdefs.h. */ 26052 26053/* Override any GCC internal prototype to avoid an error. 26054 Use char because int might match the return type of a GCC 26055 builtin and then its argument prototype would still apply. */ 26056#ifdef __cplusplus 26057extern "C" 26058#endif 26059char libcdata_list_element_set_previous_element (); 26060int 26061main () 26062{ 26063return libcdata_list_element_set_previous_element (); 26064 ; 26065 return 0; 26066} 26067_ACEOF 26068if ac_fn_c_try_link "$LINENO"; then : 26069 ac_cv_lib_cdata_libcdata_list_element_set_previous_element=yes 26070else 26071 ac_cv_lib_cdata_libcdata_list_element_set_previous_element=no 26072fi 26073rm -f core conftest.err conftest.$ac_objext \ 26074 conftest$ac_exeext conftest.$ac_ext 26075LIBS=$ac_check_lib_save_LIBS 26076fi 26077{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_set_previous_element" >&5 26078$as_echo "$ac_cv_lib_cdata_libcdata_list_element_set_previous_element" >&6; } 26079if test "x$ac_cv_lib_cdata_libcdata_list_element_set_previous_element" = xyes; then : 26080 ac_cv_libcdata_dummy=yes 26081else 26082 ac_cv_libcdata=no 26083fi 26084 26085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_get_next_element in -lcdata" >&5 26086$as_echo_n "checking for libcdata_list_element_get_next_element in -lcdata... " >&6; } 26087if ${ac_cv_lib_cdata_libcdata_list_element_get_next_element+:} false; then : 26088 $as_echo_n "(cached) " >&6 26089else 26090 ac_check_lib_save_LIBS=$LIBS 26091LIBS="-lcdata $LIBS" 26092cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26093/* end confdefs.h. */ 26094 26095/* Override any GCC internal prototype to avoid an error. 26096 Use char because int might match the return type of a GCC 26097 builtin and then its argument prototype would still apply. */ 26098#ifdef __cplusplus 26099extern "C" 26100#endif 26101char libcdata_list_element_get_next_element (); 26102int 26103main () 26104{ 26105return libcdata_list_element_get_next_element (); 26106 ; 26107 return 0; 26108} 26109_ACEOF 26110if ac_fn_c_try_link "$LINENO"; then : 26111 ac_cv_lib_cdata_libcdata_list_element_get_next_element=yes 26112else 26113 ac_cv_lib_cdata_libcdata_list_element_get_next_element=no 26114fi 26115rm -f core conftest.err conftest.$ac_objext \ 26116 conftest$ac_exeext conftest.$ac_ext 26117LIBS=$ac_check_lib_save_LIBS 26118fi 26119{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_get_next_element" >&5 26120$as_echo "$ac_cv_lib_cdata_libcdata_list_element_get_next_element" >&6; } 26121if test "x$ac_cv_lib_cdata_libcdata_list_element_get_next_element" = xyes; then : 26122 ac_cv_libcdata_dummy=yes 26123else 26124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_set_next_element in -lcdata" >&5 26125$as_echo_n "checking for libcdata_list_element_set_next_element in -lcdata... " >&6; } 26126if ${ac_cv_lib_cdata_libcdata_list_element_set_next_element+:} false; then : 26127 $as_echo_n "(cached) " >&6 26128else 26129 ac_check_lib_save_LIBS=$LIBS 26130LIBS="-lcdata $LIBS" 26131cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26132/* end confdefs.h. */ 26133 26134/* Override any GCC internal prototype to avoid an error. 26135 Use char because int might match the return type of a GCC 26136 builtin and then its argument prototype would still apply. */ 26137#ifdef __cplusplus 26138extern "C" 26139#endif 26140char libcdata_list_element_set_next_element (); 26141int 26142main () 26143{ 26144return libcdata_list_element_set_next_element (); 26145 ; 26146 return 0; 26147} 26148_ACEOF 26149if ac_fn_c_try_link "$LINENO"; then : 26150 ac_cv_lib_cdata_libcdata_list_element_set_next_element=yes 26151else 26152 ac_cv_lib_cdata_libcdata_list_element_set_next_element=no 26153fi 26154rm -f core conftest.err conftest.$ac_objext \ 26155 conftest$ac_exeext conftest.$ac_ext 26156LIBS=$ac_check_lib_save_LIBS 26157fi 26158{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_set_next_element" >&5 26159$as_echo "$ac_cv_lib_cdata_libcdata_list_element_set_next_element" >&6; } 26160if test "x$ac_cv_lib_cdata_libcdata_list_element_set_next_element" = xyes; then : 26161 ac_cv_libcdata_dummy=yes 26162else 26163 ac_cv_libcdata=no 26164fi 26165 26166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_get_elements in -lcdata" >&5 26167$as_echo_n "checking for libcdata_list_element_get_elements in -lcdata... " >&6; } 26168if ${ac_cv_lib_cdata_libcdata_list_element_get_elements+:} false; then : 26169 $as_echo_n "(cached) " >&6 26170else 26171 ac_check_lib_save_LIBS=$LIBS 26172LIBS="-lcdata $LIBS" 26173cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26174/* end confdefs.h. */ 26175 26176/* Override any GCC internal prototype to avoid an error. 26177 Use char because int might match the return type of a GCC 26178 builtin and then its argument prototype would still apply. */ 26179#ifdef __cplusplus 26180extern "C" 26181#endif 26182char libcdata_list_element_get_elements (); 26183int 26184main () 26185{ 26186return libcdata_list_element_get_elements (); 26187 ; 26188 return 0; 26189} 26190_ACEOF 26191if ac_fn_c_try_link "$LINENO"; then : 26192 ac_cv_lib_cdata_libcdata_list_element_get_elements=yes 26193else 26194 ac_cv_lib_cdata_libcdata_list_element_get_elements=no 26195fi 26196rm -f core conftest.err conftest.$ac_objext \ 26197 conftest$ac_exeext conftest.$ac_ext 26198LIBS=$ac_check_lib_save_LIBS 26199fi 26200{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_get_elements" >&5 26201$as_echo "$ac_cv_lib_cdata_libcdata_list_element_get_elements" >&6; } 26202if test "x$ac_cv_lib_cdata_libcdata_list_element_get_elements" = xyes; then : 26203 ac_cv_libcdata_dummy=yes 26204else 26205 ac_cv_libcdata=no 26206fi 26207 26208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_list_element_set_elements in -lcdata" >&5 26209$as_echo_n "checking for libcdata_list_element_set_elements in -lcdata... " >&6; } 26210if ${ac_cv_lib_cdata_libcdata_list_element_set_elements+:} false; then : 26211 $as_echo_n "(cached) " >&6 26212else 26213 ac_check_lib_save_LIBS=$LIBS 26214LIBS="-lcdata $LIBS" 26215cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26216/* end confdefs.h. */ 26217 26218/* Override any GCC internal prototype to avoid an error. 26219 Use char because int might match the return type of a GCC 26220 builtin and then its argument prototype would still apply. */ 26221#ifdef __cplusplus 26222extern "C" 26223#endif 26224char libcdata_list_element_set_elements (); 26225int 26226main () 26227{ 26228return libcdata_list_element_set_elements (); 26229 ; 26230 return 0; 26231} 26232_ACEOF 26233if ac_fn_c_try_link "$LINENO"; then : 26234 ac_cv_lib_cdata_libcdata_list_element_set_elements=yes 26235else 26236 ac_cv_lib_cdata_libcdata_list_element_set_elements=no 26237fi 26238rm -f core conftest.err conftest.$ac_objext \ 26239 conftest$ac_exeext conftest.$ac_ext 26240LIBS=$ac_check_lib_save_LIBS 26241fi 26242{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_list_element_set_elements" >&5 26243$as_echo "$ac_cv_lib_cdata_libcdata_list_element_set_elements" >&6; } 26244if test "x$ac_cv_lib_cdata_libcdata_list_element_set_elements" = xyes; then : 26245 ac_cv_libcdata_dummy=yes 26246else 26247 ac_cv_libcdata=no 26248fi 26249 26250 ac_cv_libcdata=no 26251fi 26252 26253 26254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_initialize in -lcdata" >&5 26255$as_echo_n "checking for libcdata_range_list_initialize in -lcdata... " >&6; } 26256if ${ac_cv_lib_cdata_libcdata_range_list_initialize+:} false; then : 26257 $as_echo_n "(cached) " >&6 26258else 26259 ac_check_lib_save_LIBS=$LIBS 26260LIBS="-lcdata $LIBS" 26261cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26262/* end confdefs.h. */ 26263 26264/* Override any GCC internal prototype to avoid an error. 26265 Use char because int might match the return type of a GCC 26266 builtin and then its argument prototype would still apply. */ 26267#ifdef __cplusplus 26268extern "C" 26269#endif 26270char libcdata_range_list_initialize (); 26271int 26272main () 26273{ 26274return libcdata_range_list_initialize (); 26275 ; 26276 return 0; 26277} 26278_ACEOF 26279if ac_fn_c_try_link "$LINENO"; then : 26280 ac_cv_lib_cdata_libcdata_range_list_initialize=yes 26281else 26282 ac_cv_lib_cdata_libcdata_range_list_initialize=no 26283fi 26284rm -f core conftest.err conftest.$ac_objext \ 26285 conftest$ac_exeext conftest.$ac_ext 26286LIBS=$ac_check_lib_save_LIBS 26287fi 26288{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_initialize" >&5 26289$as_echo "$ac_cv_lib_cdata_libcdata_range_list_initialize" >&6; } 26290if test "x$ac_cv_lib_cdata_libcdata_range_list_initialize" = xyes; then : 26291 ac_cv_libcdata_dummy=yes 26292else 26293 ac_cv_libcdata=no 26294fi 26295 26296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_free in -lcdata" >&5 26297$as_echo_n "checking for libcdata_range_list_free in -lcdata... " >&6; } 26298if ${ac_cv_lib_cdata_libcdata_range_list_free+:} false; then : 26299 $as_echo_n "(cached) " >&6 26300else 26301 ac_check_lib_save_LIBS=$LIBS 26302LIBS="-lcdata $LIBS" 26303cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26304/* end confdefs.h. */ 26305 26306/* Override any GCC internal prototype to avoid an error. 26307 Use char because int might match the return type of a GCC 26308 builtin and then its argument prototype would still apply. */ 26309#ifdef __cplusplus 26310extern "C" 26311#endif 26312char libcdata_range_list_free (); 26313int 26314main () 26315{ 26316return libcdata_range_list_free (); 26317 ; 26318 return 0; 26319} 26320_ACEOF 26321if ac_fn_c_try_link "$LINENO"; then : 26322 ac_cv_lib_cdata_libcdata_range_list_free=yes 26323else 26324 ac_cv_lib_cdata_libcdata_range_list_free=no 26325fi 26326rm -f core conftest.err conftest.$ac_objext \ 26327 conftest$ac_exeext conftest.$ac_ext 26328LIBS=$ac_check_lib_save_LIBS 26329fi 26330{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_free" >&5 26331$as_echo "$ac_cv_lib_cdata_libcdata_range_list_free" >&6; } 26332if test "x$ac_cv_lib_cdata_libcdata_range_list_free" = xyes; then : 26333 ac_cv_libcdata_dummy=yes 26334else 26335 ac_cv_libcdata=no 26336fi 26337 26338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_empty in -lcdata" >&5 26339$as_echo_n "checking for libcdata_range_list_empty in -lcdata... " >&6; } 26340if ${ac_cv_lib_cdata_libcdata_range_list_empty+:} false; then : 26341 $as_echo_n "(cached) " >&6 26342else 26343 ac_check_lib_save_LIBS=$LIBS 26344LIBS="-lcdata $LIBS" 26345cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26346/* end confdefs.h. */ 26347 26348/* Override any GCC internal prototype to avoid an error. 26349 Use char because int might match the return type of a GCC 26350 builtin and then its argument prototype would still apply. */ 26351#ifdef __cplusplus 26352extern "C" 26353#endif 26354char libcdata_range_list_empty (); 26355int 26356main () 26357{ 26358return libcdata_range_list_empty (); 26359 ; 26360 return 0; 26361} 26362_ACEOF 26363if ac_fn_c_try_link "$LINENO"; then : 26364 ac_cv_lib_cdata_libcdata_range_list_empty=yes 26365else 26366 ac_cv_lib_cdata_libcdata_range_list_empty=no 26367fi 26368rm -f core conftest.err conftest.$ac_objext \ 26369 conftest$ac_exeext conftest.$ac_ext 26370LIBS=$ac_check_lib_save_LIBS 26371fi 26372{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_empty" >&5 26373$as_echo "$ac_cv_lib_cdata_libcdata_range_list_empty" >&6; } 26374if test "x$ac_cv_lib_cdata_libcdata_range_list_empty" = xyes; then : 26375 ac_cv_libcdata_dummy=yes 26376else 26377 ac_cv_libcdata=no 26378fi 26379 26380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_clone in -lcdata" >&5 26381$as_echo_n "checking for libcdata_range_list_clone in -lcdata... " >&6; } 26382if ${ac_cv_lib_cdata_libcdata_range_list_clone+:} false; then : 26383 $as_echo_n "(cached) " >&6 26384else 26385 ac_check_lib_save_LIBS=$LIBS 26386LIBS="-lcdata $LIBS" 26387cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26388/* end confdefs.h. */ 26389 26390/* Override any GCC internal prototype to avoid an error. 26391 Use char because int might match the return type of a GCC 26392 builtin and then its argument prototype would still apply. */ 26393#ifdef __cplusplus 26394extern "C" 26395#endif 26396char libcdata_range_list_clone (); 26397int 26398main () 26399{ 26400return libcdata_range_list_clone (); 26401 ; 26402 return 0; 26403} 26404_ACEOF 26405if ac_fn_c_try_link "$LINENO"; then : 26406 ac_cv_lib_cdata_libcdata_range_list_clone=yes 26407else 26408 ac_cv_lib_cdata_libcdata_range_list_clone=no 26409fi 26410rm -f core conftest.err conftest.$ac_objext \ 26411 conftest$ac_exeext conftest.$ac_ext 26412LIBS=$ac_check_lib_save_LIBS 26413fi 26414{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_clone" >&5 26415$as_echo "$ac_cv_lib_cdata_libcdata_range_list_clone" >&6; } 26416if test "x$ac_cv_lib_cdata_libcdata_range_list_clone" = xyes; then : 26417 ac_cv_libcdata_dummy=yes 26418else 26419 ac_cv_libcdata=no 26420fi 26421 26422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_get_number_of_elements in -lcdata" >&5 26423$as_echo_n "checking for libcdata_range_list_get_number_of_elements in -lcdata... " >&6; } 26424if ${ac_cv_lib_cdata_libcdata_range_list_get_number_of_elements+:} false; then : 26425 $as_echo_n "(cached) " >&6 26426else 26427 ac_check_lib_save_LIBS=$LIBS 26428LIBS="-lcdata $LIBS" 26429cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26430/* end confdefs.h. */ 26431 26432/* Override any GCC internal prototype to avoid an error. 26433 Use char because int might match the return type of a GCC 26434 builtin and then its argument prototype would still apply. */ 26435#ifdef __cplusplus 26436extern "C" 26437#endif 26438char libcdata_range_list_get_number_of_elements (); 26439int 26440main () 26441{ 26442return libcdata_range_list_get_number_of_elements (); 26443 ; 26444 return 0; 26445} 26446_ACEOF 26447if ac_fn_c_try_link "$LINENO"; then : 26448 ac_cv_lib_cdata_libcdata_range_list_get_number_of_elements=yes 26449else 26450 ac_cv_lib_cdata_libcdata_range_list_get_number_of_elements=no 26451fi 26452rm -f core conftest.err conftest.$ac_objext \ 26453 conftest$ac_exeext conftest.$ac_ext 26454LIBS=$ac_check_lib_save_LIBS 26455fi 26456{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_get_number_of_elements" >&5 26457$as_echo "$ac_cv_lib_cdata_libcdata_range_list_get_number_of_elements" >&6; } 26458if test "x$ac_cv_lib_cdata_libcdata_range_list_get_number_of_elements" = xyes; then : 26459 ac_cv_libcdata_dummy=yes 26460else 26461 ac_cv_libcdata=no 26462fi 26463 26464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_insert_range in -lcdata" >&5 26465$as_echo_n "checking for libcdata_range_list_insert_range in -lcdata... " >&6; } 26466if ${ac_cv_lib_cdata_libcdata_range_list_insert_range+:} false; then : 26467 $as_echo_n "(cached) " >&6 26468else 26469 ac_check_lib_save_LIBS=$LIBS 26470LIBS="-lcdata $LIBS" 26471cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26472/* end confdefs.h. */ 26473 26474/* Override any GCC internal prototype to avoid an error. 26475 Use char because int might match the return type of a GCC 26476 builtin and then its argument prototype would still apply. */ 26477#ifdef __cplusplus 26478extern "C" 26479#endif 26480char libcdata_range_list_insert_range (); 26481int 26482main () 26483{ 26484return libcdata_range_list_insert_range (); 26485 ; 26486 return 0; 26487} 26488_ACEOF 26489if ac_fn_c_try_link "$LINENO"; then : 26490 ac_cv_lib_cdata_libcdata_range_list_insert_range=yes 26491else 26492 ac_cv_lib_cdata_libcdata_range_list_insert_range=no 26493fi 26494rm -f core conftest.err conftest.$ac_objext \ 26495 conftest$ac_exeext conftest.$ac_ext 26496LIBS=$ac_check_lib_save_LIBS 26497fi 26498{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_insert_range" >&5 26499$as_echo "$ac_cv_lib_cdata_libcdata_range_list_insert_range" >&6; } 26500if test "x$ac_cv_lib_cdata_libcdata_range_list_insert_range" = xyes; then : 26501 ac_cv_libcdata_dummy=yes 26502else 26503 ac_cv_libcdata=no 26504fi 26505 26506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_insert_range_list in -lcdata" >&5 26507$as_echo_n "checking for libcdata_range_list_insert_range_list in -lcdata... " >&6; } 26508if ${ac_cv_lib_cdata_libcdata_range_list_insert_range_list+:} false; then : 26509 $as_echo_n "(cached) " >&6 26510else 26511 ac_check_lib_save_LIBS=$LIBS 26512LIBS="-lcdata $LIBS" 26513cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26514/* end confdefs.h. */ 26515 26516/* Override any GCC internal prototype to avoid an error. 26517 Use char because int might match the return type of a GCC 26518 builtin and then its argument prototype would still apply. */ 26519#ifdef __cplusplus 26520extern "C" 26521#endif 26522char libcdata_range_list_insert_range_list (); 26523int 26524main () 26525{ 26526return libcdata_range_list_insert_range_list (); 26527 ; 26528 return 0; 26529} 26530_ACEOF 26531if ac_fn_c_try_link "$LINENO"; then : 26532 ac_cv_lib_cdata_libcdata_range_list_insert_range_list=yes 26533else 26534 ac_cv_lib_cdata_libcdata_range_list_insert_range_list=no 26535fi 26536rm -f core conftest.err conftest.$ac_objext \ 26537 conftest$ac_exeext conftest.$ac_ext 26538LIBS=$ac_check_lib_save_LIBS 26539fi 26540{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_insert_range_list" >&5 26541$as_echo "$ac_cv_lib_cdata_libcdata_range_list_insert_range_list" >&6; } 26542if test "x$ac_cv_lib_cdata_libcdata_range_list_insert_range_list" = xyes; then : 26543 ac_cv_libcdata_dummy=yes 26544else 26545 ac_cv_libcdata=no 26546fi 26547 26548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_remove_range in -lcdata" >&5 26549$as_echo_n "checking for libcdata_range_list_remove_range in -lcdata... " >&6; } 26550if ${ac_cv_lib_cdata_libcdata_range_list_remove_range+:} false; then : 26551 $as_echo_n "(cached) " >&6 26552else 26553 ac_check_lib_save_LIBS=$LIBS 26554LIBS="-lcdata $LIBS" 26555cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26556/* end confdefs.h. */ 26557 26558/* Override any GCC internal prototype to avoid an error. 26559 Use char because int might match the return type of a GCC 26560 builtin and then its argument prototype would still apply. */ 26561#ifdef __cplusplus 26562extern "C" 26563#endif 26564char libcdata_range_list_remove_range (); 26565int 26566main () 26567{ 26568return libcdata_range_list_remove_range (); 26569 ; 26570 return 0; 26571} 26572_ACEOF 26573if ac_fn_c_try_link "$LINENO"; then : 26574 ac_cv_lib_cdata_libcdata_range_list_remove_range=yes 26575else 26576 ac_cv_lib_cdata_libcdata_range_list_remove_range=no 26577fi 26578rm -f core conftest.err conftest.$ac_objext \ 26579 conftest$ac_exeext conftest.$ac_ext 26580LIBS=$ac_check_lib_save_LIBS 26581fi 26582{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_remove_range" >&5 26583$as_echo "$ac_cv_lib_cdata_libcdata_range_list_remove_range" >&6; } 26584if test "x$ac_cv_lib_cdata_libcdata_range_list_remove_range" = xyes; then : 26585 ac_cv_libcdata_dummy=yes 26586else 26587 ac_cv_libcdata=no 26588fi 26589 26590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_get_range_by_index in -lcdata" >&5 26591$as_echo_n "checking for libcdata_range_list_get_range_by_index in -lcdata... " >&6; } 26592if ${ac_cv_lib_cdata_libcdata_range_list_get_range_by_index+:} false; then : 26593 $as_echo_n "(cached) " >&6 26594else 26595 ac_check_lib_save_LIBS=$LIBS 26596LIBS="-lcdata $LIBS" 26597cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26598/* end confdefs.h. */ 26599 26600/* Override any GCC internal prototype to avoid an error. 26601 Use char because int might match the return type of a GCC 26602 builtin and then its argument prototype would still apply. */ 26603#ifdef __cplusplus 26604extern "C" 26605#endif 26606char libcdata_range_list_get_range_by_index (); 26607int 26608main () 26609{ 26610return libcdata_range_list_get_range_by_index (); 26611 ; 26612 return 0; 26613} 26614_ACEOF 26615if ac_fn_c_try_link "$LINENO"; then : 26616 ac_cv_lib_cdata_libcdata_range_list_get_range_by_index=yes 26617else 26618 ac_cv_lib_cdata_libcdata_range_list_get_range_by_index=no 26619fi 26620rm -f core conftest.err conftest.$ac_objext \ 26621 conftest$ac_exeext conftest.$ac_ext 26622LIBS=$ac_check_lib_save_LIBS 26623fi 26624{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_get_range_by_index" >&5 26625$as_echo "$ac_cv_lib_cdata_libcdata_range_list_get_range_by_index" >&6; } 26626if test "x$ac_cv_lib_cdata_libcdata_range_list_get_range_by_index" = xyes; then : 26627 ac_cv_libcdata_dummy=yes 26628else 26629 ac_cv_libcdata=no 26630fi 26631 26632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_get_range_at_offset in -lcdata" >&5 26633$as_echo_n "checking for libcdata_range_list_get_range_at_offset in -lcdata... " >&6; } 26634if ${ac_cv_lib_cdata_libcdata_range_list_get_range_at_offset+:} false; then : 26635 $as_echo_n "(cached) " >&6 26636else 26637 ac_check_lib_save_LIBS=$LIBS 26638LIBS="-lcdata $LIBS" 26639cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26640/* end confdefs.h. */ 26641 26642/* Override any GCC internal prototype to avoid an error. 26643 Use char because int might match the return type of a GCC 26644 builtin and then its argument prototype would still apply. */ 26645#ifdef __cplusplus 26646extern "C" 26647#endif 26648char libcdata_range_list_get_range_at_offset (); 26649int 26650main () 26651{ 26652return libcdata_range_list_get_range_at_offset (); 26653 ; 26654 return 0; 26655} 26656_ACEOF 26657if ac_fn_c_try_link "$LINENO"; then : 26658 ac_cv_lib_cdata_libcdata_range_list_get_range_at_offset=yes 26659else 26660 ac_cv_lib_cdata_libcdata_range_list_get_range_at_offset=no 26661fi 26662rm -f core conftest.err conftest.$ac_objext \ 26663 conftest$ac_exeext conftest.$ac_ext 26664LIBS=$ac_check_lib_save_LIBS 26665fi 26666{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_get_range_at_offset" >&5 26667$as_echo "$ac_cv_lib_cdata_libcdata_range_list_get_range_at_offset" >&6; } 26668if test "x$ac_cv_lib_cdata_libcdata_range_list_get_range_at_offset" = xyes; then : 26669 ac_cv_libcdata_dummy=yes 26670else 26671 ac_cv_libcdata=no 26672fi 26673 26674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_range_is_present in -lcdata" >&5 26675$as_echo_n "checking for libcdata_range_list_range_is_present in -lcdata... " >&6; } 26676if ${ac_cv_lib_cdata_libcdata_range_list_range_is_present+:} false; then : 26677 $as_echo_n "(cached) " >&6 26678else 26679 ac_check_lib_save_LIBS=$LIBS 26680LIBS="-lcdata $LIBS" 26681cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26682/* end confdefs.h. */ 26683 26684/* Override any GCC internal prototype to avoid an error. 26685 Use char because int might match the return type of a GCC 26686 builtin and then its argument prototype would still apply. */ 26687#ifdef __cplusplus 26688extern "C" 26689#endif 26690char libcdata_range_list_range_is_present (); 26691int 26692main () 26693{ 26694return libcdata_range_list_range_is_present (); 26695 ; 26696 return 0; 26697} 26698_ACEOF 26699if ac_fn_c_try_link "$LINENO"; then : 26700 ac_cv_lib_cdata_libcdata_range_list_range_is_present=yes 26701else 26702 ac_cv_lib_cdata_libcdata_range_list_range_is_present=no 26703fi 26704rm -f core conftest.err conftest.$ac_objext \ 26705 conftest$ac_exeext conftest.$ac_ext 26706LIBS=$ac_check_lib_save_LIBS 26707fi 26708{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_range_is_present" >&5 26709$as_echo "$ac_cv_lib_cdata_libcdata_range_list_range_is_present" >&6; } 26710if test "x$ac_cv_lib_cdata_libcdata_range_list_range_is_present" = xyes; then : 26711 ac_cv_libcdata_dummy=yes 26712else 26713 ac_cv_libcdata=no 26714fi 26715 26716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_range_list_get_spanning_range in -lcdata" >&5 26717$as_echo_n "checking for libcdata_range_list_get_spanning_range in -lcdata... " >&6; } 26718if ${ac_cv_lib_cdata_libcdata_range_list_get_spanning_range+:} false; then : 26719 $as_echo_n "(cached) " >&6 26720else 26721 ac_check_lib_save_LIBS=$LIBS 26722LIBS="-lcdata $LIBS" 26723cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26724/* end confdefs.h. */ 26725 26726/* Override any GCC internal prototype to avoid an error. 26727 Use char because int might match the return type of a GCC 26728 builtin and then its argument prototype would still apply. */ 26729#ifdef __cplusplus 26730extern "C" 26731#endif 26732char libcdata_range_list_get_spanning_range (); 26733int 26734main () 26735{ 26736return libcdata_range_list_get_spanning_range (); 26737 ; 26738 return 0; 26739} 26740_ACEOF 26741if ac_fn_c_try_link "$LINENO"; then : 26742 ac_cv_lib_cdata_libcdata_range_list_get_spanning_range=yes 26743else 26744 ac_cv_lib_cdata_libcdata_range_list_get_spanning_range=no 26745fi 26746rm -f core conftest.err conftest.$ac_objext \ 26747 conftest$ac_exeext conftest.$ac_ext 26748LIBS=$ac_check_lib_save_LIBS 26749fi 26750{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_range_list_get_spanning_range" >&5 26751$as_echo "$ac_cv_lib_cdata_libcdata_range_list_get_spanning_range" >&6; } 26752if test "x$ac_cv_lib_cdata_libcdata_range_list_get_spanning_range" = xyes; then : 26753 ac_cv_libcdata_dummy=yes 26754else 26755 ac_cv_libcdata=no 26756fi 26757 26758 26759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_initialize in -lcdata" >&5 26760$as_echo_n "checking for libcdata_tree_node_initialize in -lcdata... " >&6; } 26761if ${ac_cv_lib_cdata_libcdata_tree_node_initialize+:} false; then : 26762 $as_echo_n "(cached) " >&6 26763else 26764 ac_check_lib_save_LIBS=$LIBS 26765LIBS="-lcdata $LIBS" 26766cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26767/* end confdefs.h. */ 26768 26769/* Override any GCC internal prototype to avoid an error. 26770 Use char because int might match the return type of a GCC 26771 builtin and then its argument prototype would still apply. */ 26772#ifdef __cplusplus 26773extern "C" 26774#endif 26775char libcdata_tree_node_initialize (); 26776int 26777main () 26778{ 26779return libcdata_tree_node_initialize (); 26780 ; 26781 return 0; 26782} 26783_ACEOF 26784if ac_fn_c_try_link "$LINENO"; then : 26785 ac_cv_lib_cdata_libcdata_tree_node_initialize=yes 26786else 26787 ac_cv_lib_cdata_libcdata_tree_node_initialize=no 26788fi 26789rm -f core conftest.err conftest.$ac_objext \ 26790 conftest$ac_exeext conftest.$ac_ext 26791LIBS=$ac_check_lib_save_LIBS 26792fi 26793{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_initialize" >&5 26794$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_initialize" >&6; } 26795if test "x$ac_cv_lib_cdata_libcdata_tree_node_initialize" = xyes; then : 26796 ac_cv_libcdata_dummy=yes 26797else 26798 ac_cv_libcdata=no 26799fi 26800 26801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_free in -lcdata" >&5 26802$as_echo_n "checking for libcdata_tree_node_free in -lcdata... " >&6; } 26803if ${ac_cv_lib_cdata_libcdata_tree_node_free+:} false; then : 26804 $as_echo_n "(cached) " >&6 26805else 26806 ac_check_lib_save_LIBS=$LIBS 26807LIBS="-lcdata $LIBS" 26808cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26809/* end confdefs.h. */ 26810 26811/* Override any GCC internal prototype to avoid an error. 26812 Use char because int might match the return type of a GCC 26813 builtin and then its argument prototype would still apply. */ 26814#ifdef __cplusplus 26815extern "C" 26816#endif 26817char libcdata_tree_node_free (); 26818int 26819main () 26820{ 26821return libcdata_tree_node_free (); 26822 ; 26823 return 0; 26824} 26825_ACEOF 26826if ac_fn_c_try_link "$LINENO"; then : 26827 ac_cv_lib_cdata_libcdata_tree_node_free=yes 26828else 26829 ac_cv_lib_cdata_libcdata_tree_node_free=no 26830fi 26831rm -f core conftest.err conftest.$ac_objext \ 26832 conftest$ac_exeext conftest.$ac_ext 26833LIBS=$ac_check_lib_save_LIBS 26834fi 26835{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_free" >&5 26836$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_free" >&6; } 26837if test "x$ac_cv_lib_cdata_libcdata_tree_node_free" = xyes; then : 26838 ac_cv_libcdata_dummy=yes 26839else 26840 ac_cv_libcdata=no 26841fi 26842 26843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_empty in -lcdata" >&5 26844$as_echo_n "checking for libcdata_tree_node_empty in -lcdata... " >&6; } 26845if ${ac_cv_lib_cdata_libcdata_tree_node_empty+:} false; then : 26846 $as_echo_n "(cached) " >&6 26847else 26848 ac_check_lib_save_LIBS=$LIBS 26849LIBS="-lcdata $LIBS" 26850cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26851/* end confdefs.h. */ 26852 26853/* Override any GCC internal prototype to avoid an error. 26854 Use char because int might match the return type of a GCC 26855 builtin and then its argument prototype would still apply. */ 26856#ifdef __cplusplus 26857extern "C" 26858#endif 26859char libcdata_tree_node_empty (); 26860int 26861main () 26862{ 26863return libcdata_tree_node_empty (); 26864 ; 26865 return 0; 26866} 26867_ACEOF 26868if ac_fn_c_try_link "$LINENO"; then : 26869 ac_cv_lib_cdata_libcdata_tree_node_empty=yes 26870else 26871 ac_cv_lib_cdata_libcdata_tree_node_empty=no 26872fi 26873rm -f core conftest.err conftest.$ac_objext \ 26874 conftest$ac_exeext conftest.$ac_ext 26875LIBS=$ac_check_lib_save_LIBS 26876fi 26877{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_empty" >&5 26878$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_empty" >&6; } 26879if test "x$ac_cv_lib_cdata_libcdata_tree_node_empty" = xyes; then : 26880 ac_cv_libcdata_dummy=yes 26881else 26882 ac_cv_libcdata=no 26883fi 26884 26885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_clone in -lcdata" >&5 26886$as_echo_n "checking for libcdata_tree_node_clone in -lcdata... " >&6; } 26887if ${ac_cv_lib_cdata_libcdata_tree_node_clone+:} false; then : 26888 $as_echo_n "(cached) " >&6 26889else 26890 ac_check_lib_save_LIBS=$LIBS 26891LIBS="-lcdata $LIBS" 26892cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26893/* end confdefs.h. */ 26894 26895/* Override any GCC internal prototype to avoid an error. 26896 Use char because int might match the return type of a GCC 26897 builtin and then its argument prototype would still apply. */ 26898#ifdef __cplusplus 26899extern "C" 26900#endif 26901char libcdata_tree_node_clone (); 26902int 26903main () 26904{ 26905return libcdata_tree_node_clone (); 26906 ; 26907 return 0; 26908} 26909_ACEOF 26910if ac_fn_c_try_link "$LINENO"; then : 26911 ac_cv_lib_cdata_libcdata_tree_node_clone=yes 26912else 26913 ac_cv_lib_cdata_libcdata_tree_node_clone=no 26914fi 26915rm -f core conftest.err conftest.$ac_objext \ 26916 conftest$ac_exeext conftest.$ac_ext 26917LIBS=$ac_check_lib_save_LIBS 26918fi 26919{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_clone" >&5 26920$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_clone" >&6; } 26921if test "x$ac_cv_lib_cdata_libcdata_tree_node_clone" = xyes; then : 26922 ac_cv_libcdata_dummy=yes 26923else 26924 ac_cv_libcdata=no 26925fi 26926 26927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_value in -lcdata" >&5 26928$as_echo_n "checking for libcdata_tree_node_get_value in -lcdata... " >&6; } 26929if ${ac_cv_lib_cdata_libcdata_tree_node_get_value+:} false; then : 26930 $as_echo_n "(cached) " >&6 26931else 26932 ac_check_lib_save_LIBS=$LIBS 26933LIBS="-lcdata $LIBS" 26934cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26935/* end confdefs.h. */ 26936 26937/* Override any GCC internal prototype to avoid an error. 26938 Use char because int might match the return type of a GCC 26939 builtin and then its argument prototype would still apply. */ 26940#ifdef __cplusplus 26941extern "C" 26942#endif 26943char libcdata_tree_node_get_value (); 26944int 26945main () 26946{ 26947return libcdata_tree_node_get_value (); 26948 ; 26949 return 0; 26950} 26951_ACEOF 26952if ac_fn_c_try_link "$LINENO"; then : 26953 ac_cv_lib_cdata_libcdata_tree_node_get_value=yes 26954else 26955 ac_cv_lib_cdata_libcdata_tree_node_get_value=no 26956fi 26957rm -f core conftest.err conftest.$ac_objext \ 26958 conftest$ac_exeext conftest.$ac_ext 26959LIBS=$ac_check_lib_save_LIBS 26960fi 26961{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_value" >&5 26962$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_value" >&6; } 26963if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_value" = xyes; then : 26964 ac_cv_libcdata_dummy=yes 26965else 26966 ac_cv_libcdata=no 26967fi 26968 26969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_set_value in -lcdata" >&5 26970$as_echo_n "checking for libcdata_tree_node_set_value in -lcdata... " >&6; } 26971if ${ac_cv_lib_cdata_libcdata_tree_node_set_value+:} false; then : 26972 $as_echo_n "(cached) " >&6 26973else 26974 ac_check_lib_save_LIBS=$LIBS 26975LIBS="-lcdata $LIBS" 26976cat confdefs.h - <<_ACEOF >conftest.$ac_ext 26977/* end confdefs.h. */ 26978 26979/* Override any GCC internal prototype to avoid an error. 26980 Use char because int might match the return type of a GCC 26981 builtin and then its argument prototype would still apply. */ 26982#ifdef __cplusplus 26983extern "C" 26984#endif 26985char libcdata_tree_node_set_value (); 26986int 26987main () 26988{ 26989return libcdata_tree_node_set_value (); 26990 ; 26991 return 0; 26992} 26993_ACEOF 26994if ac_fn_c_try_link "$LINENO"; then : 26995 ac_cv_lib_cdata_libcdata_tree_node_set_value=yes 26996else 26997 ac_cv_lib_cdata_libcdata_tree_node_set_value=no 26998fi 26999rm -f core conftest.err conftest.$ac_objext \ 27000 conftest$ac_exeext conftest.$ac_ext 27001LIBS=$ac_check_lib_save_LIBS 27002fi 27003{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_set_value" >&5 27004$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_set_value" >&6; } 27005if test "x$ac_cv_lib_cdata_libcdata_tree_node_set_value" = xyes; then : 27006 ac_cv_libcdata_dummy=yes 27007else 27008 ac_cv_libcdata=no 27009fi 27010 27011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_parent_node in -lcdata" >&5 27012$as_echo_n "checking for libcdata_tree_node_get_parent_node in -lcdata... " >&6; } 27013if ${ac_cv_lib_cdata_libcdata_tree_node_get_parent_node+:} false; then : 27014 $as_echo_n "(cached) " >&6 27015else 27016 ac_check_lib_save_LIBS=$LIBS 27017LIBS="-lcdata $LIBS" 27018cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27019/* end confdefs.h. */ 27020 27021/* Override any GCC internal prototype to avoid an error. 27022 Use char because int might match the return type of a GCC 27023 builtin and then its argument prototype would still apply. */ 27024#ifdef __cplusplus 27025extern "C" 27026#endif 27027char libcdata_tree_node_get_parent_node (); 27028int 27029main () 27030{ 27031return libcdata_tree_node_get_parent_node (); 27032 ; 27033 return 0; 27034} 27035_ACEOF 27036if ac_fn_c_try_link "$LINENO"; then : 27037 ac_cv_lib_cdata_libcdata_tree_node_get_parent_node=yes 27038else 27039 ac_cv_lib_cdata_libcdata_tree_node_get_parent_node=no 27040fi 27041rm -f core conftest.err conftest.$ac_objext \ 27042 conftest$ac_exeext conftest.$ac_ext 27043LIBS=$ac_check_lib_save_LIBS 27044fi 27045{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_parent_node" >&5 27046$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_parent_node" >&6; } 27047if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_parent_node" = xyes; then : 27048 ac_cv_libcdata_dummy=yes 27049else 27050 ac_cv_libcdata=no 27051fi 27052 27053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_set_parent_node in -lcdata" >&5 27054$as_echo_n "checking for libcdata_tree_node_set_parent_node in -lcdata... " >&6; } 27055if ${ac_cv_lib_cdata_libcdata_tree_node_set_parent_node+:} false; then : 27056 $as_echo_n "(cached) " >&6 27057else 27058 ac_check_lib_save_LIBS=$LIBS 27059LIBS="-lcdata $LIBS" 27060cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27061/* end confdefs.h. */ 27062 27063/* Override any GCC internal prototype to avoid an error. 27064 Use char because int might match the return type of a GCC 27065 builtin and then its argument prototype would still apply. */ 27066#ifdef __cplusplus 27067extern "C" 27068#endif 27069char libcdata_tree_node_set_parent_node (); 27070int 27071main () 27072{ 27073return libcdata_tree_node_set_parent_node (); 27074 ; 27075 return 0; 27076} 27077_ACEOF 27078if ac_fn_c_try_link "$LINENO"; then : 27079 ac_cv_lib_cdata_libcdata_tree_node_set_parent_node=yes 27080else 27081 ac_cv_lib_cdata_libcdata_tree_node_set_parent_node=no 27082fi 27083rm -f core conftest.err conftest.$ac_objext \ 27084 conftest$ac_exeext conftest.$ac_ext 27085LIBS=$ac_check_lib_save_LIBS 27086fi 27087{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_set_parent_node" >&5 27088$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_set_parent_node" >&6; } 27089if test "x$ac_cv_lib_cdata_libcdata_tree_node_set_parent_node" = xyes; then : 27090 ac_cv_libcdata_dummy=yes 27091else 27092 ac_cv_libcdata=no 27093fi 27094 27095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_previous_node in -lcdata" >&5 27096$as_echo_n "checking for libcdata_tree_node_get_previous_node in -lcdata... " >&6; } 27097if ${ac_cv_lib_cdata_libcdata_tree_node_get_previous_node+:} false; then : 27098 $as_echo_n "(cached) " >&6 27099else 27100 ac_check_lib_save_LIBS=$LIBS 27101LIBS="-lcdata $LIBS" 27102cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27103/* end confdefs.h. */ 27104 27105/* Override any GCC internal prototype to avoid an error. 27106 Use char because int might match the return type of a GCC 27107 builtin and then its argument prototype would still apply. */ 27108#ifdef __cplusplus 27109extern "C" 27110#endif 27111char libcdata_tree_node_get_previous_node (); 27112int 27113main () 27114{ 27115return libcdata_tree_node_get_previous_node (); 27116 ; 27117 return 0; 27118} 27119_ACEOF 27120if ac_fn_c_try_link "$LINENO"; then : 27121 ac_cv_lib_cdata_libcdata_tree_node_get_previous_node=yes 27122else 27123 ac_cv_lib_cdata_libcdata_tree_node_get_previous_node=no 27124fi 27125rm -f core conftest.err conftest.$ac_objext \ 27126 conftest$ac_exeext conftest.$ac_ext 27127LIBS=$ac_check_lib_save_LIBS 27128fi 27129{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_previous_node" >&5 27130$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_previous_node" >&6; } 27131if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_previous_node" = xyes; then : 27132 ac_cv_libcdata_dummy=yes 27133else 27134 ac_cv_libcdata=no 27135fi 27136 27137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_set_previous_node in -lcdata" >&5 27138$as_echo_n "checking for libcdata_tree_node_set_previous_node in -lcdata... " >&6; } 27139if ${ac_cv_lib_cdata_libcdata_tree_node_set_previous_node+:} false; then : 27140 $as_echo_n "(cached) " >&6 27141else 27142 ac_check_lib_save_LIBS=$LIBS 27143LIBS="-lcdata $LIBS" 27144cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27145/* end confdefs.h. */ 27146 27147/* Override any GCC internal prototype to avoid an error. 27148 Use char because int might match the return type of a GCC 27149 builtin and then its argument prototype would still apply. */ 27150#ifdef __cplusplus 27151extern "C" 27152#endif 27153char libcdata_tree_node_set_previous_node (); 27154int 27155main () 27156{ 27157return libcdata_tree_node_set_previous_node (); 27158 ; 27159 return 0; 27160} 27161_ACEOF 27162if ac_fn_c_try_link "$LINENO"; then : 27163 ac_cv_lib_cdata_libcdata_tree_node_set_previous_node=yes 27164else 27165 ac_cv_lib_cdata_libcdata_tree_node_set_previous_node=no 27166fi 27167rm -f core conftest.err conftest.$ac_objext \ 27168 conftest$ac_exeext conftest.$ac_ext 27169LIBS=$ac_check_lib_save_LIBS 27170fi 27171{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_set_previous_node" >&5 27172$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_set_previous_node" >&6; } 27173if test "x$ac_cv_lib_cdata_libcdata_tree_node_set_previous_node" = xyes; then : 27174 ac_cv_libcdata_dummy=yes 27175else 27176 ac_cv_libcdata=no 27177fi 27178 27179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_next_node in -lcdata" >&5 27180$as_echo_n "checking for libcdata_tree_node_get_next_node in -lcdata... " >&6; } 27181if ${ac_cv_lib_cdata_libcdata_tree_node_get_next_node+:} false; then : 27182 $as_echo_n "(cached) " >&6 27183else 27184 ac_check_lib_save_LIBS=$LIBS 27185LIBS="-lcdata $LIBS" 27186cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27187/* end confdefs.h. */ 27188 27189/* Override any GCC internal prototype to avoid an error. 27190 Use char because int might match the return type of a GCC 27191 builtin and then its argument prototype would still apply. */ 27192#ifdef __cplusplus 27193extern "C" 27194#endif 27195char libcdata_tree_node_get_next_node (); 27196int 27197main () 27198{ 27199return libcdata_tree_node_get_next_node (); 27200 ; 27201 return 0; 27202} 27203_ACEOF 27204if ac_fn_c_try_link "$LINENO"; then : 27205 ac_cv_lib_cdata_libcdata_tree_node_get_next_node=yes 27206else 27207 ac_cv_lib_cdata_libcdata_tree_node_get_next_node=no 27208fi 27209rm -f core conftest.err conftest.$ac_objext \ 27210 conftest$ac_exeext conftest.$ac_ext 27211LIBS=$ac_check_lib_save_LIBS 27212fi 27213{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_next_node" >&5 27214$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_next_node" >&6; } 27215if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_next_node" = xyes; then : 27216 ac_cv_libcdata_dummy=yes 27217else 27218 ac_cv_libcdata=no 27219fi 27220 27221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_set_next_node in -lcdata" >&5 27222$as_echo_n "checking for libcdata_tree_node_set_next_node in -lcdata... " >&6; } 27223if ${ac_cv_lib_cdata_libcdata_tree_node_set_next_node+:} false; then : 27224 $as_echo_n "(cached) " >&6 27225else 27226 ac_check_lib_save_LIBS=$LIBS 27227LIBS="-lcdata $LIBS" 27228cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27229/* end confdefs.h. */ 27230 27231/* Override any GCC internal prototype to avoid an error. 27232 Use char because int might match the return type of a GCC 27233 builtin and then its argument prototype would still apply. */ 27234#ifdef __cplusplus 27235extern "C" 27236#endif 27237char libcdata_tree_node_set_next_node (); 27238int 27239main () 27240{ 27241return libcdata_tree_node_set_next_node (); 27242 ; 27243 return 0; 27244} 27245_ACEOF 27246if ac_fn_c_try_link "$LINENO"; then : 27247 ac_cv_lib_cdata_libcdata_tree_node_set_next_node=yes 27248else 27249 ac_cv_lib_cdata_libcdata_tree_node_set_next_node=no 27250fi 27251rm -f core conftest.err conftest.$ac_objext \ 27252 conftest$ac_exeext conftest.$ac_ext 27253LIBS=$ac_check_lib_save_LIBS 27254fi 27255{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_set_next_node" >&5 27256$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_set_next_node" >&6; } 27257if test "x$ac_cv_lib_cdata_libcdata_tree_node_set_next_node" = xyes; then : 27258 ac_cv_libcdata_dummy=yes 27259else 27260 ac_cv_libcdata=no 27261fi 27262 27263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_nodes in -lcdata" >&5 27264$as_echo_n "checking for libcdata_tree_node_get_nodes in -lcdata... " >&6; } 27265if ${ac_cv_lib_cdata_libcdata_tree_node_get_nodes+:} false; then : 27266 $as_echo_n "(cached) " >&6 27267else 27268 ac_check_lib_save_LIBS=$LIBS 27269LIBS="-lcdata $LIBS" 27270cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27271/* end confdefs.h. */ 27272 27273/* Override any GCC internal prototype to avoid an error. 27274 Use char because int might match the return type of a GCC 27275 builtin and then its argument prototype would still apply. */ 27276#ifdef __cplusplus 27277extern "C" 27278#endif 27279char libcdata_tree_node_get_nodes (); 27280int 27281main () 27282{ 27283return libcdata_tree_node_get_nodes (); 27284 ; 27285 return 0; 27286} 27287_ACEOF 27288if ac_fn_c_try_link "$LINENO"; then : 27289 ac_cv_lib_cdata_libcdata_tree_node_get_nodes=yes 27290else 27291 ac_cv_lib_cdata_libcdata_tree_node_get_nodes=no 27292fi 27293rm -f core conftest.err conftest.$ac_objext \ 27294 conftest$ac_exeext conftest.$ac_ext 27295LIBS=$ac_check_lib_save_LIBS 27296fi 27297{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_nodes" >&5 27298$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_nodes" >&6; } 27299if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_nodes" = xyes; then : 27300 ac_cv_libcdata_dummy=yes 27301else 27302 ac_cv_libcdata=no 27303fi 27304 27305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_set_nodes in -lcdata" >&5 27306$as_echo_n "checking for libcdata_tree_node_set_nodes in -lcdata... " >&6; } 27307if ${ac_cv_lib_cdata_libcdata_tree_node_set_nodes+:} false; then : 27308 $as_echo_n "(cached) " >&6 27309else 27310 ac_check_lib_save_LIBS=$LIBS 27311LIBS="-lcdata $LIBS" 27312cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27313/* end confdefs.h. */ 27314 27315/* Override any GCC internal prototype to avoid an error. 27316 Use char because int might match the return type of a GCC 27317 builtin and then its argument prototype would still apply. */ 27318#ifdef __cplusplus 27319extern "C" 27320#endif 27321char libcdata_tree_node_set_nodes (); 27322int 27323main () 27324{ 27325return libcdata_tree_node_set_nodes (); 27326 ; 27327 return 0; 27328} 27329_ACEOF 27330if ac_fn_c_try_link "$LINENO"; then : 27331 ac_cv_lib_cdata_libcdata_tree_node_set_nodes=yes 27332else 27333 ac_cv_lib_cdata_libcdata_tree_node_set_nodes=no 27334fi 27335rm -f core conftest.err conftest.$ac_objext \ 27336 conftest$ac_exeext conftest.$ac_ext 27337LIBS=$ac_check_lib_save_LIBS 27338fi 27339{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_set_nodes" >&5 27340$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_set_nodes" >&6; } 27341if test "x$ac_cv_lib_cdata_libcdata_tree_node_set_nodes" = xyes; then : 27342 ac_cv_libcdata_dummy=yes 27343else 27344 ac_cv_libcdata=no 27345fi 27346 27347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_append_node in -lcdata" >&5 27348$as_echo_n "checking for libcdata_tree_node_append_node in -lcdata... " >&6; } 27349if ${ac_cv_lib_cdata_libcdata_tree_node_append_node+:} false; then : 27350 $as_echo_n "(cached) " >&6 27351else 27352 ac_check_lib_save_LIBS=$LIBS 27353LIBS="-lcdata $LIBS" 27354cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27355/* end confdefs.h. */ 27356 27357/* Override any GCC internal prototype to avoid an error. 27358 Use char because int might match the return type of a GCC 27359 builtin and then its argument prototype would still apply. */ 27360#ifdef __cplusplus 27361extern "C" 27362#endif 27363char libcdata_tree_node_append_node (); 27364int 27365main () 27366{ 27367return libcdata_tree_node_append_node (); 27368 ; 27369 return 0; 27370} 27371_ACEOF 27372if ac_fn_c_try_link "$LINENO"; then : 27373 ac_cv_lib_cdata_libcdata_tree_node_append_node=yes 27374else 27375 ac_cv_lib_cdata_libcdata_tree_node_append_node=no 27376fi 27377rm -f core conftest.err conftest.$ac_objext \ 27378 conftest$ac_exeext conftest.$ac_ext 27379LIBS=$ac_check_lib_save_LIBS 27380fi 27381{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_append_node" >&5 27382$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_append_node" >&6; } 27383if test "x$ac_cv_lib_cdata_libcdata_tree_node_append_node" = xyes; then : 27384 ac_cv_libcdata_dummy=yes 27385else 27386 ac_cv_libcdata=no 27387fi 27388 27389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_append_value in -lcdata" >&5 27390$as_echo_n "checking for libcdata_tree_node_append_value in -lcdata... " >&6; } 27391if ${ac_cv_lib_cdata_libcdata_tree_node_append_value+:} false; then : 27392 $as_echo_n "(cached) " >&6 27393else 27394 ac_check_lib_save_LIBS=$LIBS 27395LIBS="-lcdata $LIBS" 27396cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27397/* end confdefs.h. */ 27398 27399/* Override any GCC internal prototype to avoid an error. 27400 Use char because int might match the return type of a GCC 27401 builtin and then its argument prototype would still apply. */ 27402#ifdef __cplusplus 27403extern "C" 27404#endif 27405char libcdata_tree_node_append_value (); 27406int 27407main () 27408{ 27409return libcdata_tree_node_append_value (); 27410 ; 27411 return 0; 27412} 27413_ACEOF 27414if ac_fn_c_try_link "$LINENO"; then : 27415 ac_cv_lib_cdata_libcdata_tree_node_append_value=yes 27416else 27417 ac_cv_lib_cdata_libcdata_tree_node_append_value=no 27418fi 27419rm -f core conftest.err conftest.$ac_objext \ 27420 conftest$ac_exeext conftest.$ac_ext 27421LIBS=$ac_check_lib_save_LIBS 27422fi 27423{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_append_value" >&5 27424$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_append_value" >&6; } 27425if test "x$ac_cv_lib_cdata_libcdata_tree_node_append_value" = xyes; then : 27426 ac_cv_libcdata_dummy=yes 27427else 27428 ac_cv_libcdata=no 27429fi 27430 27431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_insert_node in -lcdata" >&5 27432$as_echo_n "checking for libcdata_tree_node_insert_node in -lcdata... " >&6; } 27433if ${ac_cv_lib_cdata_libcdata_tree_node_insert_node+:} false; then : 27434 $as_echo_n "(cached) " >&6 27435else 27436 ac_check_lib_save_LIBS=$LIBS 27437LIBS="-lcdata $LIBS" 27438cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27439/* end confdefs.h. */ 27440 27441/* Override any GCC internal prototype to avoid an error. 27442 Use char because int might match the return type of a GCC 27443 builtin and then its argument prototype would still apply. */ 27444#ifdef __cplusplus 27445extern "C" 27446#endif 27447char libcdata_tree_node_insert_node (); 27448int 27449main () 27450{ 27451return libcdata_tree_node_insert_node (); 27452 ; 27453 return 0; 27454} 27455_ACEOF 27456if ac_fn_c_try_link "$LINENO"; then : 27457 ac_cv_lib_cdata_libcdata_tree_node_insert_node=yes 27458else 27459 ac_cv_lib_cdata_libcdata_tree_node_insert_node=no 27460fi 27461rm -f core conftest.err conftest.$ac_objext \ 27462 conftest$ac_exeext conftest.$ac_ext 27463LIBS=$ac_check_lib_save_LIBS 27464fi 27465{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_insert_node" >&5 27466$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_insert_node" >&6; } 27467if test "x$ac_cv_lib_cdata_libcdata_tree_node_insert_node" = xyes; then : 27468 ac_cv_libcdata_dummy=yes 27469else 27470 ac_cv_libcdata=no 27471fi 27472 27473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_insert_value in -lcdata" >&5 27474$as_echo_n "checking for libcdata_tree_node_insert_value in -lcdata... " >&6; } 27475if ${ac_cv_lib_cdata_libcdata_tree_node_insert_value+:} false; then : 27476 $as_echo_n "(cached) " >&6 27477else 27478 ac_check_lib_save_LIBS=$LIBS 27479LIBS="-lcdata $LIBS" 27480cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27481/* end confdefs.h. */ 27482 27483/* Override any GCC internal prototype to avoid an error. 27484 Use char because int might match the return type of a GCC 27485 builtin and then its argument prototype would still apply. */ 27486#ifdef __cplusplus 27487extern "C" 27488#endif 27489char libcdata_tree_node_insert_value (); 27490int 27491main () 27492{ 27493return libcdata_tree_node_insert_value (); 27494 ; 27495 return 0; 27496} 27497_ACEOF 27498if ac_fn_c_try_link "$LINENO"; then : 27499 ac_cv_lib_cdata_libcdata_tree_node_insert_value=yes 27500else 27501 ac_cv_lib_cdata_libcdata_tree_node_insert_value=no 27502fi 27503rm -f core conftest.err conftest.$ac_objext \ 27504 conftest$ac_exeext conftest.$ac_ext 27505LIBS=$ac_check_lib_save_LIBS 27506fi 27507{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_insert_value" >&5 27508$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_insert_value" >&6; } 27509if test "x$ac_cv_lib_cdata_libcdata_tree_node_insert_value" = xyes; then : 27510 ac_cv_libcdata_dummy=yes 27511else 27512 ac_cv_libcdata=no 27513fi 27514 27515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_replace_node in -lcdata" >&5 27516$as_echo_n "checking for libcdata_tree_node_replace_node in -lcdata... " >&6; } 27517if ${ac_cv_lib_cdata_libcdata_tree_node_replace_node+:} false; then : 27518 $as_echo_n "(cached) " >&6 27519else 27520 ac_check_lib_save_LIBS=$LIBS 27521LIBS="-lcdata $LIBS" 27522cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27523/* end confdefs.h. */ 27524 27525/* Override any GCC internal prototype to avoid an error. 27526 Use char because int might match the return type of a GCC 27527 builtin and then its argument prototype would still apply. */ 27528#ifdef __cplusplus 27529extern "C" 27530#endif 27531char libcdata_tree_node_replace_node (); 27532int 27533main () 27534{ 27535return libcdata_tree_node_replace_node (); 27536 ; 27537 return 0; 27538} 27539_ACEOF 27540if ac_fn_c_try_link "$LINENO"; then : 27541 ac_cv_lib_cdata_libcdata_tree_node_replace_node=yes 27542else 27543 ac_cv_lib_cdata_libcdata_tree_node_replace_node=no 27544fi 27545rm -f core conftest.err conftest.$ac_objext \ 27546 conftest$ac_exeext conftest.$ac_ext 27547LIBS=$ac_check_lib_save_LIBS 27548fi 27549{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_replace_node" >&5 27550$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_replace_node" >&6; } 27551if test "x$ac_cv_lib_cdata_libcdata_tree_node_replace_node" = xyes; then : 27552 ac_cv_libcdata_dummy=yes 27553else 27554 ac_cv_libcdata=no 27555fi 27556 27557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_remove_node in -lcdata" >&5 27558$as_echo_n "checking for libcdata_tree_node_remove_node in -lcdata... " >&6; } 27559if ${ac_cv_lib_cdata_libcdata_tree_node_remove_node+:} false; then : 27560 $as_echo_n "(cached) " >&6 27561else 27562 ac_check_lib_save_LIBS=$LIBS 27563LIBS="-lcdata $LIBS" 27564cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27565/* end confdefs.h. */ 27566 27567/* Override any GCC internal prototype to avoid an error. 27568 Use char because int might match the return type of a GCC 27569 builtin and then its argument prototype would still apply. */ 27570#ifdef __cplusplus 27571extern "C" 27572#endif 27573char libcdata_tree_node_remove_node (); 27574int 27575main () 27576{ 27577return libcdata_tree_node_remove_node (); 27578 ; 27579 return 0; 27580} 27581_ACEOF 27582if ac_fn_c_try_link "$LINENO"; then : 27583 ac_cv_lib_cdata_libcdata_tree_node_remove_node=yes 27584else 27585 ac_cv_lib_cdata_libcdata_tree_node_remove_node=no 27586fi 27587rm -f core conftest.err conftest.$ac_objext \ 27588 conftest$ac_exeext conftest.$ac_ext 27589LIBS=$ac_check_lib_save_LIBS 27590fi 27591{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_remove_node" >&5 27592$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_remove_node" >&6; } 27593if test "x$ac_cv_lib_cdata_libcdata_tree_node_remove_node" = xyes; then : 27594 ac_cv_libcdata_dummy=yes 27595else 27596 ac_cv_libcdata=no 27597fi 27598 27599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_number_of_sub_nodes in -lcdata" >&5 27600$as_echo_n "checking for libcdata_tree_node_get_number_of_sub_nodes in -lcdata... " >&6; } 27601if ${ac_cv_lib_cdata_libcdata_tree_node_get_number_of_sub_nodes+:} false; then : 27602 $as_echo_n "(cached) " >&6 27603else 27604 ac_check_lib_save_LIBS=$LIBS 27605LIBS="-lcdata $LIBS" 27606cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27607/* end confdefs.h. */ 27608 27609/* Override any GCC internal prototype to avoid an error. 27610 Use char because int might match the return type of a GCC 27611 builtin and then its argument prototype would still apply. */ 27612#ifdef __cplusplus 27613extern "C" 27614#endif 27615char libcdata_tree_node_get_number_of_sub_nodes (); 27616int 27617main () 27618{ 27619return libcdata_tree_node_get_number_of_sub_nodes (); 27620 ; 27621 return 0; 27622} 27623_ACEOF 27624if ac_fn_c_try_link "$LINENO"; then : 27625 ac_cv_lib_cdata_libcdata_tree_node_get_number_of_sub_nodes=yes 27626else 27627 ac_cv_lib_cdata_libcdata_tree_node_get_number_of_sub_nodes=no 27628fi 27629rm -f core conftest.err conftest.$ac_objext \ 27630 conftest$ac_exeext conftest.$ac_ext 27631LIBS=$ac_check_lib_save_LIBS 27632fi 27633{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_number_of_sub_nodes" >&5 27634$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_number_of_sub_nodes" >&6; } 27635if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_number_of_sub_nodes" = xyes; then : 27636 ac_cv_libcdata_dummy=yes 27637else 27638 ac_cv_libcdata=no 27639fi 27640 27641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_sub_node_by_index in -lcdata" >&5 27642$as_echo_n "checking for libcdata_tree_node_get_sub_node_by_index in -lcdata... " >&6; } 27643if ${ac_cv_lib_cdata_libcdata_tree_node_get_sub_node_by_index+:} false; then : 27644 $as_echo_n "(cached) " >&6 27645else 27646 ac_check_lib_save_LIBS=$LIBS 27647LIBS="-lcdata $LIBS" 27648cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27649/* end confdefs.h. */ 27650 27651/* Override any GCC internal prototype to avoid an error. 27652 Use char because int might match the return type of a GCC 27653 builtin and then its argument prototype would still apply. */ 27654#ifdef __cplusplus 27655extern "C" 27656#endif 27657char libcdata_tree_node_get_sub_node_by_index (); 27658int 27659main () 27660{ 27661return libcdata_tree_node_get_sub_node_by_index (); 27662 ; 27663 return 0; 27664} 27665_ACEOF 27666if ac_fn_c_try_link "$LINENO"; then : 27667 ac_cv_lib_cdata_libcdata_tree_node_get_sub_node_by_index=yes 27668else 27669 ac_cv_lib_cdata_libcdata_tree_node_get_sub_node_by_index=no 27670fi 27671rm -f core conftest.err conftest.$ac_objext \ 27672 conftest$ac_exeext conftest.$ac_ext 27673LIBS=$ac_check_lib_save_LIBS 27674fi 27675{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_sub_node_by_index" >&5 27676$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_sub_node_by_index" >&6; } 27677if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_sub_node_by_index" = xyes; then : 27678 ac_cv_libcdata_dummy=yes 27679else 27680 ac_cv_libcdata=no 27681fi 27682 27683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcdata_tree_node_get_leaf_node_list in -lcdata" >&5 27684$as_echo_n "checking for libcdata_tree_node_get_leaf_node_list in -lcdata... " >&6; } 27685if ${ac_cv_lib_cdata_libcdata_tree_node_get_leaf_node_list+:} false; then : 27686 $as_echo_n "(cached) " >&6 27687else 27688 ac_check_lib_save_LIBS=$LIBS 27689LIBS="-lcdata $LIBS" 27690cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27691/* end confdefs.h. */ 27692 27693/* Override any GCC internal prototype to avoid an error. 27694 Use char because int might match the return type of a GCC 27695 builtin and then its argument prototype would still apply. */ 27696#ifdef __cplusplus 27697extern "C" 27698#endif 27699char libcdata_tree_node_get_leaf_node_list (); 27700int 27701main () 27702{ 27703return libcdata_tree_node_get_leaf_node_list (); 27704 ; 27705 return 0; 27706} 27707_ACEOF 27708if ac_fn_c_try_link "$LINENO"; then : 27709 ac_cv_lib_cdata_libcdata_tree_node_get_leaf_node_list=yes 27710else 27711 ac_cv_lib_cdata_libcdata_tree_node_get_leaf_node_list=no 27712fi 27713rm -f core conftest.err conftest.$ac_objext \ 27714 conftest$ac_exeext conftest.$ac_ext 27715LIBS=$ac_check_lib_save_LIBS 27716fi 27717{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdata_libcdata_tree_node_get_leaf_node_list" >&5 27718$as_echo "$ac_cv_lib_cdata_libcdata_tree_node_get_leaf_node_list" >&6; } 27719if test "x$ac_cv_lib_cdata_libcdata_tree_node_get_leaf_node_list" = xyes; then : 27720 ac_cv_libcdata_dummy=yes 27721else 27722 ac_cv_libcdata=no 27723fi 27724 27725 27726 ac_cv_libcdata_LIBADD="-lcdata" 27727fi 27728 27729fi 27730 if test "x$ac_cv_with_libcdata" != x && test "x$ac_cv_with_libcdata" != xauto-detect && test "x$ac_cv_libcdata" != xyes; then : 27731 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 27732$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 27733as_fn_error 1 "unable to find supported libcdata in directory: $ac_cv_with_libcdata 27734See \`config.log' for more details" "$LINENO" 5; } 27735 27736fi 27737 27738fi 27739 27740 if test "x$ac_cv_libcdata" = xyes; then : 27741 27742$as_echo "#define HAVE_LIBCDATA 1" >>confdefs.h 27743 27744 27745fi 27746 27747 if test "x$ac_cv_libcdata" = xyes; then : 27748 HAVE_LIBCDATA=1 27749 27750else 27751 HAVE_LIBCDATA=0 27752 27753 27754fi 27755 27756 27757 if test "x$ac_cv_libcdata" != xyes; then : 27758 27759 ac_cv_libcdata_CPPFLAGS="-I../libcdata"; 27760 ac_cv_libcdata_LIBADD="../libcdata/libcdata.la"; 27761 27762 ac_cv_libcdata=local 27763 27764 27765 27766$as_echo "#define HAVE_LOCAL_LIBCDATA 1" >>confdefs.h 27767 27768 HAVE_LOCAL_LIBCDATA=1 27769 27770 27771fi 27772 27773 if test "x$ac_cv_libcdata" = xlocal; then 27774 HAVE_LOCAL_LIBCDATA_TRUE= 27775 HAVE_LOCAL_LIBCDATA_FALSE='#' 27776else 27777 HAVE_LOCAL_LIBCDATA_TRUE='#' 27778 HAVE_LOCAL_LIBCDATA_FALSE= 27779fi 27780 27781 if test "x$ac_cv_libcdata_CPPFLAGS" != "x"; then : 27782 LIBCDATA_CPPFLAGS=$ac_cv_libcdata_CPPFLAGS 27783 27784 27785fi 27786 if test "x$ac_cv_libcdata_LIBADD" != "x"; then : 27787 LIBCDATA_LIBADD=$ac_cv_libcdata_LIBADD 27788 27789 27790fi 27791 27792 if test "x$ac_cv_libcdata" = xyes; then : 27793 ax_libcdata_pc_libs_private=-lcdata 27794 27795 27796fi 27797 27798 if test "x$ac_cv_libcdata" = xyes; then : 27799 ax_libcdata_spec_requires=libcdata 27800 27801 ax_libcdata_spec_build_requires=libcdata-devel 27802 27803 27804fi 27805 27806 27807 27808 27809# Check whether --with-libclocale was given. 27810if test "${with_libclocale+set}" = set; then : 27811 withval=$with_libclocale; ac_cv_with_libclocale=$withval 27812else 27813 ac_cv_with_libclocale=auto-detect 27814fi 27815 27816 { $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 27817$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; } 27818if ${ac_cv_with_libclocale+:} false; then : 27819 $as_echo_n "(cached) " >&6 27820else 27821 ac_cv_with_libclocale=auto-detect 27822fi 27823{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libclocale" >&5 27824$as_echo "$ac_cv_with_libclocale" >&6; } 27825 27826 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libclocale" = xno; then : 27827 ac_cv_libclocale=no 27828else 27829 ac_cv_libclocale=check 27830 if test "x$ac_cv_with_libclocale" != x && test "x$ac_cv_with_libclocale" != xauto-detect; then : 27831 if test -d "$ac_cv_with_libclocale"; then : 27832 CFLAGS="$CFLAGS -I${ac_cv_with_libclocale}/include" 27833 LDFLAGS="$LDFLAGS -L${ac_cv_with_libclocale}/lib" 27834else 27835 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 27836$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 27837as_fn_error 1 "no such directory: $ac_cv_with_libclocale 27838See \`config.log' for more details" "$LINENO" 5; } 27839 27840fi 27841 27842else 27843 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 27844 27845pkg_failed=no 27846{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale" >&5 27847$as_echo_n "checking for libclocale... " >&6; } 27848 27849if test -n "$libclocale_CFLAGS"; then 27850 pkg_cv_libclocale_CFLAGS="$libclocale_CFLAGS" 27851 elif test -n "$PKG_CONFIG"; then 27852 if test -n "$PKG_CONFIG" && \ 27853 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libclocale >= 20120425\""; } >&5 27854 ($PKG_CONFIG --exists --print-errors "libclocale >= 20120425") 2>&5 27855 ac_status=$? 27856 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 27857 test $ac_status = 0; }; then 27858 pkg_cv_libclocale_CFLAGS=`$PKG_CONFIG --cflags "libclocale >= 20120425" 2>/dev/null` 27859 test "x$?" != "x0" && pkg_failed=yes 27860else 27861 pkg_failed=yes 27862fi 27863 else 27864 pkg_failed=untried 27865fi 27866if test -n "$libclocale_LIBS"; then 27867 pkg_cv_libclocale_LIBS="$libclocale_LIBS" 27868 elif test -n "$PKG_CONFIG"; then 27869 if test -n "$PKG_CONFIG" && \ 27870 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libclocale >= 20120425\""; } >&5 27871 ($PKG_CONFIG --exists --print-errors "libclocale >= 20120425") 2>&5 27872 ac_status=$? 27873 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 27874 test $ac_status = 0; }; then 27875 pkg_cv_libclocale_LIBS=`$PKG_CONFIG --libs "libclocale >= 20120425" 2>/dev/null` 27876 test "x$?" != "x0" && pkg_failed=yes 27877else 27878 pkg_failed=yes 27879fi 27880 else 27881 pkg_failed=untried 27882fi 27883 27884 27885 27886if test $pkg_failed = yes; then 27887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27888$as_echo "no" >&6; } 27889 27890if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 27891 _pkg_short_errors_supported=yes 27892else 27893 _pkg_short_errors_supported=no 27894fi 27895 if test $_pkg_short_errors_supported = yes; then 27896 libclocale_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libclocale >= 20120425" 2>&1` 27897 else 27898 libclocale_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libclocale >= 20120425" 2>&1` 27899 fi 27900 # Put the nasty error message in config.log where it belongs 27901 echo "$libclocale_PKG_ERRORS" >&5 27902 27903 ac_cv_libclocale=check 27904elif test $pkg_failed = untried; then 27905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 27906$as_echo "no" >&6; } 27907 ac_cv_libclocale=check 27908else 27909 libclocale_CFLAGS=$pkg_cv_libclocale_CFLAGS 27910 libclocale_LIBS=$pkg_cv_libclocale_LIBS 27911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 27912$as_echo "yes" >&6; } 27913 ac_cv_libclocale=yes 27914fi 27915 27916fi 27917 if test "x$ac_cv_libclocale" = xyes && test "x$ac_cv_enable_wide_character_type" != xno; then : 27918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libclocale/features.h defines LIBCLOCALE_HAVE_WIDE_CHARACTER_TYPE as 1" >&5 27919$as_echo_n "checking whether libclocale/features.h defines LIBCLOCALE_HAVE_WIDE_CHARACTER_TYPE as 1... " >&6; } 27920if ${ac_cv_header_libclocale_features_h_have_wide_character_type+:} false; then : 27921 $as_echo_n "(cached) " >&6 27922else 27923 ac_ext=c 27924ac_cpp='$CPP $CPPFLAGS' 27925ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 27926ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 27927ac_compiler_gnu=$ac_cv_c_compiler_gnu 27928 27929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27930/* end confdefs.h. */ 27931#include <libclocale/features.h> 27932int 27933main () 27934{ 27935#if !defined( LIBCLOCALE_HAVE_WIDE_CHARACTER_TYPE ) || ( LIBCLOCALE_HAVE_WIDE_CHARACTER_TYPE != 1 ) 27936#error LIBCLOCALE_HAVE_WIDE_CHARACTER_TYPE not defined 27937#endif 27938 ; 27939 return 0; 27940} 27941_ACEOF 27942if ac_fn_c_try_compile "$LINENO"; then : 27943 ac_cv_header_libclocale_features_h_have_wide_character_type=yes 27944else 27945 ac_cv_header_libclocale_features_h_have_wide_character_type=no 27946fi 27947rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 27948 ac_ext=c 27949ac_cpp='$CPP $CPPFLAGS' 27950ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 27951ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 27952ac_compiler_gnu=$ac_cv_c_compiler_gnu 27953 27954fi 27955{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_libclocale_features_h_have_wide_character_type" >&5 27956$as_echo "$ac_cv_header_libclocale_features_h_have_wide_character_type" >&6; } 27957 27958 if test "x$ac_cv_header_libclocale_features_h_have_wide_character_type" = xno; then : 27959 ac_cv_libclocale=no 27960fi 27961 27962fi 27963 if test "x$ac_cv_libclocale" = xyes; then : 27964 ac_cv_libclocale_CPPFLAGS="$pkg_cv_libclocale_CFLAGS" 27965 ac_cv_libclocale_LIBADD="$pkg_cv_libclocale_LIBS" 27966fi 27967 27968fi 27969 27970 if test "x$ac_cv_libclocale" = xcheck; then : 27971 for ac_header in libclocale.h 27972do : 27973 ac_fn_c_check_header_mongrel "$LINENO" "libclocale.h" "ac_cv_header_libclocale_h" "$ac_includes_default" 27974if test "x$ac_cv_header_libclocale_h" = xyes; then : 27975 cat >>confdefs.h <<_ACEOF 27976#define HAVE_LIBCLOCALE_H 1 27977_ACEOF 27978 27979fi 27980 27981done 27982 27983 27984 if test "x$ac_cv_header_libclocale_h" = xno; then : 27985 ac_cv_libclocale=no 27986else 27987 ac_cv_libclocale=yes 27988 27989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_get_version in -lclocale" >&5 27990$as_echo_n "checking for libclocale_get_version in -lclocale... " >&6; } 27991if ${ac_cv_lib_clocale_libclocale_get_version+:} false; then : 27992 $as_echo_n "(cached) " >&6 27993else 27994 ac_check_lib_save_LIBS=$LIBS 27995LIBS="-lclocale $LIBS" 27996cat confdefs.h - <<_ACEOF >conftest.$ac_ext 27997/* end confdefs.h. */ 27998 27999/* Override any GCC internal prototype to avoid an error. 28000 Use char because int might match the return type of a GCC 28001 builtin and then its argument prototype would still apply. */ 28002#ifdef __cplusplus 28003extern "C" 28004#endif 28005char libclocale_get_version (); 28006int 28007main () 28008{ 28009return libclocale_get_version (); 28010 ; 28011 return 0; 28012} 28013_ACEOF 28014if ac_fn_c_try_link "$LINENO"; then : 28015 ac_cv_lib_clocale_libclocale_get_version=yes 28016else 28017 ac_cv_lib_clocale_libclocale_get_version=no 28018fi 28019rm -f core conftest.err conftest.$ac_objext \ 28020 conftest$ac_exeext conftest.$ac_ext 28021LIBS=$ac_check_lib_save_LIBS 28022fi 28023{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_get_version" >&5 28024$as_echo "$ac_cv_lib_clocale_libclocale_get_version" >&6; } 28025if test "x$ac_cv_lib_clocale_libclocale_get_version" = xyes; then : 28026 ac_cv_libclocale_dummy=yes 28027else 28028 ac_cv_libclocale=no 28029fi 28030 28031 28032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_codepage in -lclocale" >&5 28033$as_echo_n "checking for libclocale_codepage in -lclocale... " >&6; } 28034if ${ac_cv_lib_clocale_libclocale_codepage+:} false; then : 28035 $as_echo_n "(cached) " >&6 28036else 28037 ac_check_lib_save_LIBS=$LIBS 28038LIBS="-lclocale $LIBS" 28039cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28040/* end confdefs.h. */ 28041 28042/* Override any GCC internal prototype to avoid an error. 28043 Use char because int might match the return type of a GCC 28044 builtin and then its argument prototype would still apply. */ 28045#ifdef __cplusplus 28046extern "C" 28047#endif 28048char libclocale_codepage (); 28049int 28050main () 28051{ 28052return libclocale_codepage (); 28053 ; 28054 return 0; 28055} 28056_ACEOF 28057if ac_fn_c_try_link "$LINENO"; then : 28058 ac_cv_lib_clocale_libclocale_codepage=yes 28059else 28060 ac_cv_lib_clocale_libclocale_codepage=no 28061fi 28062rm -f core conftest.err conftest.$ac_objext \ 28063 conftest$ac_exeext conftest.$ac_ext 28064LIBS=$ac_check_lib_save_LIBS 28065fi 28066{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_codepage" >&5 28067$as_echo "$ac_cv_lib_clocale_libclocale_codepage" >&6; } 28068if test "x$ac_cv_lib_clocale_libclocale_codepage" = xyes; then : 28069 ac_cv_libclocale_dummy=yes 28070else 28071 ac_cv_libclocale=no 28072fi 28073 28074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_codepage_get in -lclocale" >&5 28075$as_echo_n "checking for libclocale_codepage_get in -lclocale... " >&6; } 28076if ${ac_cv_lib_clocale_libclocale_codepage_get+:} false; then : 28077 $as_echo_n "(cached) " >&6 28078else 28079 ac_check_lib_save_LIBS=$LIBS 28080LIBS="-lclocale $LIBS" 28081cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28082/* end confdefs.h. */ 28083 28084/* Override any GCC internal prototype to avoid an error. 28085 Use char because int might match the return type of a GCC 28086 builtin and then its argument prototype would still apply. */ 28087#ifdef __cplusplus 28088extern "C" 28089#endif 28090char libclocale_codepage_get (); 28091int 28092main () 28093{ 28094return libclocale_codepage_get (); 28095 ; 28096 return 0; 28097} 28098_ACEOF 28099if ac_fn_c_try_link "$LINENO"; then : 28100 ac_cv_lib_clocale_libclocale_codepage_get=yes 28101else 28102 ac_cv_lib_clocale_libclocale_codepage_get=no 28103fi 28104rm -f core conftest.err conftest.$ac_objext \ 28105 conftest$ac_exeext conftest.$ac_ext 28106LIBS=$ac_check_lib_save_LIBS 28107fi 28108{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_codepage_get" >&5 28109$as_echo "$ac_cv_lib_clocale_libclocale_codepage_get" >&6; } 28110if test "x$ac_cv_lib_clocale_libclocale_codepage_get" = xyes; then : 28111 ac_cv_libclocale_dummy=yes 28112else 28113 ac_cv_libclocale=no 28114fi 28115 28116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_codepage_set in -lclocale" >&5 28117$as_echo_n "checking for libclocale_codepage_set in -lclocale... " >&6; } 28118if ${ac_cv_lib_clocale_libclocale_codepage_set+:} false; then : 28119 $as_echo_n "(cached) " >&6 28120else 28121 ac_check_lib_save_LIBS=$LIBS 28122LIBS="-lclocale $LIBS" 28123cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28124/* end confdefs.h. */ 28125 28126/* Override any GCC internal prototype to avoid an error. 28127 Use char because int might match the return type of a GCC 28128 builtin and then its argument prototype would still apply. */ 28129#ifdef __cplusplus 28130extern "C" 28131#endif 28132char libclocale_codepage_set (); 28133int 28134main () 28135{ 28136return libclocale_codepage_set (); 28137 ; 28138 return 0; 28139} 28140_ACEOF 28141if ac_fn_c_try_link "$LINENO"; then : 28142 ac_cv_lib_clocale_libclocale_codepage_set=yes 28143else 28144 ac_cv_lib_clocale_libclocale_codepage_set=no 28145fi 28146rm -f core conftest.err conftest.$ac_objext \ 28147 conftest$ac_exeext conftest.$ac_ext 28148LIBS=$ac_check_lib_save_LIBS 28149fi 28150{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_codepage_set" >&5 28151$as_echo "$ac_cv_lib_clocale_libclocale_codepage_set" >&6; } 28152if test "x$ac_cv_lib_clocale_libclocale_codepage_set" = xyes; then : 28153 ac_cv_libclocale_dummy=yes 28154else 28155 ac_cv_libclocale=no 28156fi 28157 28158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_codepage_copy_from_string in -lclocale" >&5 28159$as_echo_n "checking for libclocale_codepage_copy_from_string in -lclocale... " >&6; } 28160if ${ac_cv_lib_clocale_libclocale_codepage_copy_from_string+:} false; then : 28161 $as_echo_n "(cached) " >&6 28162else 28163 ac_check_lib_save_LIBS=$LIBS 28164LIBS="-lclocale $LIBS" 28165cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28166/* end confdefs.h. */ 28167 28168/* Override any GCC internal prototype to avoid an error. 28169 Use char because int might match the return type of a GCC 28170 builtin and then its argument prototype would still apply. */ 28171#ifdef __cplusplus 28172extern "C" 28173#endif 28174char libclocale_codepage_copy_from_string (); 28175int 28176main () 28177{ 28178return libclocale_codepage_copy_from_string (); 28179 ; 28180 return 0; 28181} 28182_ACEOF 28183if ac_fn_c_try_link "$LINENO"; then : 28184 ac_cv_lib_clocale_libclocale_codepage_copy_from_string=yes 28185else 28186 ac_cv_lib_clocale_libclocale_codepage_copy_from_string=no 28187fi 28188rm -f core conftest.err conftest.$ac_objext \ 28189 conftest$ac_exeext conftest.$ac_ext 28190LIBS=$ac_check_lib_save_LIBS 28191fi 28192{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_codepage_copy_from_string" >&5 28193$as_echo "$ac_cv_lib_clocale_libclocale_codepage_copy_from_string" >&6; } 28194if test "x$ac_cv_lib_clocale_libclocale_codepage_copy_from_string" = xyes; then : 28195 ac_cv_libclocale_dummy=yes 28196else 28197 ac_cv_libclocale=no 28198fi 28199 28200 28201 if test "x$ac_cv_enable_wide_character_type" != xno; then : 28202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_codepage_copy_from_string_wide in -lclocale" >&5 28203$as_echo_n "checking for libclocale_codepage_copy_from_string_wide in -lclocale... " >&6; } 28204if ${ac_cv_lib_clocale_libclocale_codepage_copy_from_string_wide+:} false; then : 28205 $as_echo_n "(cached) " >&6 28206else 28207 ac_check_lib_save_LIBS=$LIBS 28208LIBS="-lclocale $LIBS" 28209cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28210/* end confdefs.h. */ 28211 28212/* Override any GCC internal prototype to avoid an error. 28213 Use char because int might match the return type of a GCC 28214 builtin and then its argument prototype would still apply. */ 28215#ifdef __cplusplus 28216extern "C" 28217#endif 28218char libclocale_codepage_copy_from_string_wide (); 28219int 28220main () 28221{ 28222return libclocale_codepage_copy_from_string_wide (); 28223 ; 28224 return 0; 28225} 28226_ACEOF 28227if ac_fn_c_try_link "$LINENO"; then : 28228 ac_cv_lib_clocale_libclocale_codepage_copy_from_string_wide=yes 28229else 28230 ac_cv_lib_clocale_libclocale_codepage_copy_from_string_wide=no 28231fi 28232rm -f core conftest.err conftest.$ac_objext \ 28233 conftest$ac_exeext conftest.$ac_ext 28234LIBS=$ac_check_lib_save_LIBS 28235fi 28236{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_codepage_copy_from_string_wide" >&5 28237$as_echo "$ac_cv_lib_clocale_libclocale_codepage_copy_from_string_wide" >&6; } 28238if test "x$ac_cv_lib_clocale_libclocale_codepage_copy_from_string_wide" = xyes; then : 28239 ac_cv_libclocale_dummy=yes 28240else 28241 ac_cv_libclocale=no 28242fi 28243 28244 28245fi 28246 28247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_locale_get_codepage in -lclocale" >&5 28248$as_echo_n "checking for libclocale_locale_get_codepage in -lclocale... " >&6; } 28249if ${ac_cv_lib_clocale_libclocale_locale_get_codepage+:} false; then : 28250 $as_echo_n "(cached) " >&6 28251else 28252 ac_check_lib_save_LIBS=$LIBS 28253LIBS="-lclocale $LIBS" 28254cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28255/* end confdefs.h. */ 28256 28257/* Override any GCC internal prototype to avoid an error. 28258 Use char because int might match the return type of a GCC 28259 builtin and then its argument prototype would still apply. */ 28260#ifdef __cplusplus 28261extern "C" 28262#endif 28263char libclocale_locale_get_codepage (); 28264int 28265main () 28266{ 28267return libclocale_locale_get_codepage (); 28268 ; 28269 return 0; 28270} 28271_ACEOF 28272if ac_fn_c_try_link "$LINENO"; then : 28273 ac_cv_lib_clocale_libclocale_locale_get_codepage=yes 28274else 28275 ac_cv_lib_clocale_libclocale_locale_get_codepage=no 28276fi 28277rm -f core conftest.err conftest.$ac_objext \ 28278 conftest$ac_exeext conftest.$ac_ext 28279LIBS=$ac_check_lib_save_LIBS 28280fi 28281{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_locale_get_codepage" >&5 28282$as_echo "$ac_cv_lib_clocale_libclocale_locale_get_codepage" >&6; } 28283if test "x$ac_cv_lib_clocale_libclocale_locale_get_codepage" = xyes; then : 28284 ac_cv_libclocale_dummy=yes 28285else 28286 ac_cv_libclocale=no 28287fi 28288 28289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_locale_get_decimal_point in -lclocale" >&5 28290$as_echo_n "checking for libclocale_locale_get_decimal_point in -lclocale... " >&6; } 28291if ${ac_cv_lib_clocale_libclocale_locale_get_decimal_point+:} false; then : 28292 $as_echo_n "(cached) " >&6 28293else 28294 ac_check_lib_save_LIBS=$LIBS 28295LIBS="-lclocale $LIBS" 28296cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28297/* end confdefs.h. */ 28298 28299/* Override any GCC internal prototype to avoid an error. 28300 Use char because int might match the return type of a GCC 28301 builtin and then its argument prototype would still apply. */ 28302#ifdef __cplusplus 28303extern "C" 28304#endif 28305char libclocale_locale_get_decimal_point (); 28306int 28307main () 28308{ 28309return libclocale_locale_get_decimal_point (); 28310 ; 28311 return 0; 28312} 28313_ACEOF 28314if ac_fn_c_try_link "$LINENO"; then : 28315 ac_cv_lib_clocale_libclocale_locale_get_decimal_point=yes 28316else 28317 ac_cv_lib_clocale_libclocale_locale_get_decimal_point=no 28318fi 28319rm -f core conftest.err conftest.$ac_objext \ 28320 conftest$ac_exeext conftest.$ac_ext 28321LIBS=$ac_check_lib_save_LIBS 28322fi 28323{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_locale_get_decimal_point" >&5 28324$as_echo "$ac_cv_lib_clocale_libclocale_locale_get_decimal_point" >&6; } 28325if test "x$ac_cv_lib_clocale_libclocale_locale_get_decimal_point" = xyes; then : 28326 ac_cv_libclocale_dummy=yes 28327else 28328 ac_cv_libclocale=no 28329fi 28330 28331 28332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libclocale_initialize in -lclocale" >&5 28333$as_echo_n "checking for libclocale_initialize in -lclocale... " >&6; } 28334if ${ac_cv_lib_clocale_libclocale_initialize+:} false; then : 28335 $as_echo_n "(cached) " >&6 28336else 28337 ac_check_lib_save_LIBS=$LIBS 28338LIBS="-lclocale $LIBS" 28339cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28340/* end confdefs.h. */ 28341 28342/* Override any GCC internal prototype to avoid an error. 28343 Use char because int might match the return type of a GCC 28344 builtin and then its argument prototype would still apply. */ 28345#ifdef __cplusplus 28346extern "C" 28347#endif 28348char libclocale_initialize (); 28349int 28350main () 28351{ 28352return libclocale_initialize (); 28353 ; 28354 return 0; 28355} 28356_ACEOF 28357if ac_fn_c_try_link "$LINENO"; then : 28358 ac_cv_lib_clocale_libclocale_initialize=yes 28359else 28360 ac_cv_lib_clocale_libclocale_initialize=no 28361fi 28362rm -f core conftest.err conftest.$ac_objext \ 28363 conftest$ac_exeext conftest.$ac_ext 28364LIBS=$ac_check_lib_save_LIBS 28365fi 28366{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_clocale_libclocale_initialize" >&5 28367$as_echo "$ac_cv_lib_clocale_libclocale_initialize" >&6; } 28368if test "x$ac_cv_lib_clocale_libclocale_initialize" = xyes; then : 28369 ac_cv_libclocale_dummy=yes 28370else 28371 ac_cv_libclocale=no 28372fi 28373 28374 28375 ac_cv_libclocale_LIBADD="-lclocale" 28376fi 28377 28378fi 28379 if test "x$ac_cv_with_libclocale" != x && test "x$ac_cv_with_libclocale" != xauto-detect && test "x$ac_cv_libclocale" != xyes; then : 28380 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 28381$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 28382as_fn_error 1 "unable to find supported libclocale in directory: $ac_cv_with_libclocale 28383See \`config.log' for more details" "$LINENO" 5; } 28384 28385fi 28386 28387fi 28388 28389 if test "x$ac_cv_libclocale" = xyes; then : 28390 28391$as_echo "#define HAVE_LIBCLOCALE 1" >>confdefs.h 28392 28393 28394fi 28395 28396 if test "x$ac_cv_libclocale" = xyes; then : 28397 HAVE_LIBCLOCALE=1 28398 28399else 28400 HAVE_LIBCLOCALE=0 28401 28402 28403fi 28404 28405 28406 if test "x$ac_cv_libclocale" != xyes; then : 28407 for ac_header in langinfo.h locale.h 28408do : 28409 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 28410ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 28411if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 28412 cat >>confdefs.h <<_ACEOF 28413#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 28414_ACEOF 28415 28416fi 28417 28418done 28419 28420 28421 for ac_func in getenv 28422do : 28423 ac_fn_c_check_func "$LINENO" "getenv" "ac_cv_func_getenv" 28424if test "x$ac_cv_func_getenv" = xyes; then : 28425 cat >>confdefs.h <<_ACEOF 28426#define HAVE_GETENV 1 28427_ACEOF 28428 28429fi 28430done 28431 28432 28433 if test "x$ac_cv_func_getenv" != xyes; then : 28434 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 28435$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 28436as_fn_error 1 "Missing function: getenv 28437See \`config.log' for more details" "$LINENO" 5; } 28438 28439fi 28440 28441 if test "x$ac_cv_enable_winapi" = xno; then : 28442 for ac_func in localeconv 28443do : 28444 ac_fn_c_check_func "$LINENO" "localeconv" "ac_cv_func_localeconv" 28445if test "x$ac_cv_func_localeconv" = xyes; then : 28446 cat >>confdefs.h <<_ACEOF 28447#define HAVE_LOCALECONV 1 28448_ACEOF 28449 28450fi 28451done 28452 28453 28454 if test "x$ac_cv_func_localeconv" != xyes; then : 28455 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 28456$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 28457as_fn_error 1 "Missing function: localeconv 28458See \`config.log' for more details" "$LINENO" 5; } 28459 28460fi 28461 28462fi 28463 28464 for ac_func in setlocale 28465do : 28466 ac_fn_c_check_func "$LINENO" "setlocale" "ac_cv_func_setlocale" 28467if test "x$ac_cv_func_setlocale" = xyes; then : 28468 cat >>confdefs.h <<_ACEOF 28469#define HAVE_SETLOCALE 1 28470_ACEOF 28471 28472fi 28473done 28474 28475 28476 if test "x$ac_cv_func_setlocale" != xyes; then : 28477 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 28478$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 28479as_fn_error 1 "Missing function: setlocale 28480See \`config.log' for more details" "$LINENO" 5; } 28481 28482fi 28483 28484 for ac_func in nl_langinfo 28485do : 28486 ac_fn_c_check_func "$LINENO" "nl_langinfo" "ac_cv_func_nl_langinfo" 28487if test "x$ac_cv_func_nl_langinfo" = xyes; then : 28488 cat >>confdefs.h <<_ACEOF 28489#define HAVE_NL_LANGINFO 1 28490_ACEOF 28491 28492fi 28493done 28494 28495 28496 if test "x$ac_cv_func_nl_langinfo" = xyes; then : 28497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nl_langinfo CODESET support" >&5 28498$as_echo_n "checking for nl_langinfo CODESET support... " >&6; } 28499if ${ac_cv_cv_langinfo_codeset+:} false; then : 28500 $as_echo_n "(cached) " >&6 28501else 28502 ac_ext=c 28503ac_cpp='$CPP $CPPFLAGS' 28504ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 28505ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 28506ac_compiler_gnu=$ac_cv_c_compiler_gnu 28507 28508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28509/* end confdefs.h. */ 28510#include <langinfo.h> 28511int 28512main () 28513{ 28514char* charset = nl_langinfo( CODESET ); 28515 ; 28516 return 0; 28517} 28518_ACEOF 28519if ac_fn_c_try_link "$LINENO"; then : 28520 ac_cv_cv_langinfo_codeset=yes 28521else 28522 ac_cv_cv_langinfo_codeset=no 28523fi 28524rm -f core conftest.err conftest.$ac_objext \ 28525 conftest$ac_exeext conftest.$ac_ext 28526 ac_ext=c 28527ac_cpp='$CPP $CPPFLAGS' 28528ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 28529ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 28530ac_compiler_gnu=$ac_cv_c_compiler_gnu 28531 28532fi 28533{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cv_langinfo_codeset" >&5 28534$as_echo "$ac_cv_cv_langinfo_codeset" >&6; } 28535else 28536 ac_cv_cv_langinfo_codeset=no 28537fi 28538 28539 if test "x$ac_cv_cv_langinfo_codeset" = xyes; then : 28540 28541$as_echo "#define HAVE_LANGINFO_CODESET 1" >>confdefs.h 28542 28543 28544fi 28545 28546 28547 ac_cv_libclocale_CPPFLAGS="-I../libclocale"; 28548 ac_cv_libclocale_LIBADD="../libclocale/libclocale.la"; 28549 28550 ac_cv_libclocale=local 28551 28552 28553 28554$as_echo "#define HAVE_LOCAL_LIBCLOCALE 1" >>confdefs.h 28555 28556 HAVE_LOCAL_LIBCLOCALE=1 28557 28558 28559fi 28560 28561 if test "x$ac_cv_libclocale" = xlocal; then 28562 HAVE_LOCAL_LIBCLOCALE_TRUE= 28563 HAVE_LOCAL_LIBCLOCALE_FALSE='#' 28564else 28565 HAVE_LOCAL_LIBCLOCALE_TRUE='#' 28566 HAVE_LOCAL_LIBCLOCALE_FALSE= 28567fi 28568 28569 if test "x$ac_cv_libclocale_CPPFLAGS" != "x"; then : 28570 LIBCLOCALE_CPPFLAGS=$ac_cv_libclocale_CPPFLAGS 28571 28572 28573fi 28574 if test "x$ac_cv_libclocale_LIBADD" != "x"; then : 28575 LIBCLOCALE_LIBADD=$ac_cv_libclocale_LIBADD 28576 28577 28578fi 28579 28580 if test "x$ac_cv_libclocale" = xyes; then : 28581 ax_libclocale_pc_libs_private=-lclocale 28582 28583 28584fi 28585 28586 if test "x$ac_cv_libclocale" = xyes; then : 28587 ax_libclocale_spec_requires=libclocale 28588 28589 ax_libclocale_spec_build_requires=libclocale-devel 28590 28591 28592fi 28593 28594 28595 28596 28597# Check whether --with-libcnotify was given. 28598if test "${with_libcnotify+set}" = set; then : 28599 withval=$with_libcnotify; ac_cv_with_libcnotify=$withval 28600else 28601 ac_cv_with_libcnotify=auto-detect 28602fi 28603 28604 { $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 28605$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; } 28606if ${ac_cv_with_libcnotify+:} false; then : 28607 $as_echo_n "(cached) " >&6 28608else 28609 ac_cv_with_libcnotify=auto-detect 28610fi 28611{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libcnotify" >&5 28612$as_echo "$ac_cv_with_libcnotify" >&6; } 28613 28614 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libcnotify" = xno; then : 28615 ac_cv_libcnotify=no 28616else 28617 ac_cv_libcnotify=check 28618 if test "x$ac_cv_with_libcnotify" != x && test "x$ac_cv_with_libcnotify" != xauto-detect; then : 28619 if test -d "$ac_cv_with_libcnotify"; then : 28620 CFLAGS="$CFLAGS -I${ac_cv_with_libcnotify}/include" 28621 LDFLAGS="$LDFLAGS -L${ac_cv_with_libcnotify}/lib" 28622else 28623 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 28624$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 28625as_fn_error 1 "no such directory: $ac_cv_with_libcnotify 28626See \`config.log' for more details" "$LINENO" 5; } 28627 28628fi 28629 28630else 28631 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 28632 28633pkg_failed=no 28634{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify" >&5 28635$as_echo_n "checking for libcnotify... " >&6; } 28636 28637if test -n "$libcnotify_CFLAGS"; then 28638 pkg_cv_libcnotify_CFLAGS="$libcnotify_CFLAGS" 28639 elif test -n "$PKG_CONFIG"; then 28640 if test -n "$PKG_CONFIG" && \ 28641 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcnotify >= 20120425\""; } >&5 28642 ($PKG_CONFIG --exists --print-errors "libcnotify >= 20120425") 2>&5 28643 ac_status=$? 28644 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 28645 test $ac_status = 0; }; then 28646 pkg_cv_libcnotify_CFLAGS=`$PKG_CONFIG --cflags "libcnotify >= 20120425" 2>/dev/null` 28647 test "x$?" != "x0" && pkg_failed=yes 28648else 28649 pkg_failed=yes 28650fi 28651 else 28652 pkg_failed=untried 28653fi 28654if test -n "$libcnotify_LIBS"; then 28655 pkg_cv_libcnotify_LIBS="$libcnotify_LIBS" 28656 elif test -n "$PKG_CONFIG"; then 28657 if test -n "$PKG_CONFIG" && \ 28658 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcnotify >= 20120425\""; } >&5 28659 ($PKG_CONFIG --exists --print-errors "libcnotify >= 20120425") 2>&5 28660 ac_status=$? 28661 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 28662 test $ac_status = 0; }; then 28663 pkg_cv_libcnotify_LIBS=`$PKG_CONFIG --libs "libcnotify >= 20120425" 2>/dev/null` 28664 test "x$?" != "x0" && pkg_failed=yes 28665else 28666 pkg_failed=yes 28667fi 28668 else 28669 pkg_failed=untried 28670fi 28671 28672 28673 28674if test $pkg_failed = yes; then 28675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 28676$as_echo "no" >&6; } 28677 28678if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 28679 _pkg_short_errors_supported=yes 28680else 28681 _pkg_short_errors_supported=no 28682fi 28683 if test $_pkg_short_errors_supported = yes; then 28684 libcnotify_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcnotify >= 20120425" 2>&1` 28685 else 28686 libcnotify_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcnotify >= 20120425" 2>&1` 28687 fi 28688 # Put the nasty error message in config.log where it belongs 28689 echo "$libcnotify_PKG_ERRORS" >&5 28690 28691 ac_cv_libcnotify=check 28692elif test $pkg_failed = untried; then 28693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 28694$as_echo "no" >&6; } 28695 ac_cv_libcnotify=check 28696else 28697 libcnotify_CFLAGS=$pkg_cv_libcnotify_CFLAGS 28698 libcnotify_LIBS=$pkg_cv_libcnotify_LIBS 28699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 28700$as_echo "yes" >&6; } 28701 ac_cv_libcnotify=yes 28702fi 28703 28704fi 28705 if test "x$ac_cv_libcnotify" = xyes; then : 28706 ac_cv_libcnotify_CPPFLAGS="$pkg_cv_libcnotify_CFLAGS" 28707 ac_cv_libcnotify_LIBADD="$pkg_cv_libcnotify_LIBS" 28708fi 28709 28710fi 28711 28712 if test "x$ac_cv_libcnotify" = xcheck; then : 28713 for ac_header in libcnotify.h 28714do : 28715 ac_fn_c_check_header_mongrel "$LINENO" "libcnotify.h" "ac_cv_header_libcnotify_h" "$ac_includes_default" 28716if test "x$ac_cv_header_libcnotify_h" = xyes; then : 28717 cat >>confdefs.h <<_ACEOF 28718#define HAVE_LIBCNOTIFY_H 1 28719_ACEOF 28720 28721fi 28722 28723done 28724 28725 28726 if test "x$ac_cv_header_libcnotify_h" = xno; then : 28727 ac_cv_libcnotify=no 28728else 28729 ac_cv_libcnotify=yes 28730 28731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_get_version in -lcnotify" >&5 28732$as_echo_n "checking for libcnotify_get_version in -lcnotify... " >&6; } 28733if ${ac_cv_lib_cnotify_libcnotify_get_version+:} false; then : 28734 $as_echo_n "(cached) " >&6 28735else 28736 ac_check_lib_save_LIBS=$LIBS 28737LIBS="-lcnotify $LIBS" 28738cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28739/* end confdefs.h. */ 28740 28741/* Override any GCC internal prototype to avoid an error. 28742 Use char because int might match the return type of a GCC 28743 builtin and then its argument prototype would still apply. */ 28744#ifdef __cplusplus 28745extern "C" 28746#endif 28747char libcnotify_get_version (); 28748int 28749main () 28750{ 28751return libcnotify_get_version (); 28752 ; 28753 return 0; 28754} 28755_ACEOF 28756if ac_fn_c_try_link "$LINENO"; then : 28757 ac_cv_lib_cnotify_libcnotify_get_version=yes 28758else 28759 ac_cv_lib_cnotify_libcnotify_get_version=no 28760fi 28761rm -f core conftest.err conftest.$ac_objext \ 28762 conftest$ac_exeext conftest.$ac_ext 28763LIBS=$ac_check_lib_save_LIBS 28764fi 28765{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_get_version" >&5 28766$as_echo "$ac_cv_lib_cnotify_libcnotify_get_version" >&6; } 28767if test "x$ac_cv_lib_cnotify_libcnotify_get_version" = xyes; then : 28768 ac_cv_libcnotify_dummy=yes 28769else 28770 ac_cv_libcnotify=no 28771fi 28772 28773 28774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_printf in -lcnotify" >&5 28775$as_echo_n "checking for libcnotify_printf in -lcnotify... " >&6; } 28776if ${ac_cv_lib_cnotify_libcnotify_printf+:} false; then : 28777 $as_echo_n "(cached) " >&6 28778else 28779 ac_check_lib_save_LIBS=$LIBS 28780LIBS="-lcnotify $LIBS" 28781cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28782/* end confdefs.h. */ 28783 28784/* Override any GCC internal prototype to avoid an error. 28785 Use char because int might match the return type of a GCC 28786 builtin and then its argument prototype would still apply. */ 28787#ifdef __cplusplus 28788extern "C" 28789#endif 28790char libcnotify_printf (); 28791int 28792main () 28793{ 28794return libcnotify_printf (); 28795 ; 28796 return 0; 28797} 28798_ACEOF 28799if ac_fn_c_try_link "$LINENO"; then : 28800 ac_cv_lib_cnotify_libcnotify_printf=yes 28801else 28802 ac_cv_lib_cnotify_libcnotify_printf=no 28803fi 28804rm -f core conftest.err conftest.$ac_objext \ 28805 conftest$ac_exeext conftest.$ac_ext 28806LIBS=$ac_check_lib_save_LIBS 28807fi 28808{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_printf" >&5 28809$as_echo "$ac_cv_lib_cnotify_libcnotify_printf" >&6; } 28810if test "x$ac_cv_lib_cnotify_libcnotify_printf" = xyes; then : 28811 ac_cv_libcnotify_dummy=yes 28812else 28813 ac_cv_libcnotify=no 28814fi 28815 28816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_print_data in -lcnotify" >&5 28817$as_echo_n "checking for libcnotify_print_data in -lcnotify... " >&6; } 28818if ${ac_cv_lib_cnotify_libcnotify_print_data+:} false; then : 28819 $as_echo_n "(cached) " >&6 28820else 28821 ac_check_lib_save_LIBS=$LIBS 28822LIBS="-lcnotify $LIBS" 28823cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28824/* end confdefs.h. */ 28825 28826/* Override any GCC internal prototype to avoid an error. 28827 Use char because int might match the return type of a GCC 28828 builtin and then its argument prototype would still apply. */ 28829#ifdef __cplusplus 28830extern "C" 28831#endif 28832char libcnotify_print_data (); 28833int 28834main () 28835{ 28836return libcnotify_print_data (); 28837 ; 28838 return 0; 28839} 28840_ACEOF 28841if ac_fn_c_try_link "$LINENO"; then : 28842 ac_cv_lib_cnotify_libcnotify_print_data=yes 28843else 28844 ac_cv_lib_cnotify_libcnotify_print_data=no 28845fi 28846rm -f core conftest.err conftest.$ac_objext \ 28847 conftest$ac_exeext conftest.$ac_ext 28848LIBS=$ac_check_lib_save_LIBS 28849fi 28850{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_print_data" >&5 28851$as_echo "$ac_cv_lib_cnotify_libcnotify_print_data" >&6; } 28852if test "x$ac_cv_lib_cnotify_libcnotify_print_data" = xyes; then : 28853 ac_cv_libcnotify_dummy=yes 28854else 28855 ac_cv_libcnotify=no 28856fi 28857 28858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_print_error_backtrace in -lcnotify" >&5 28859$as_echo_n "checking for libcnotify_print_error_backtrace in -lcnotify... " >&6; } 28860if ${ac_cv_lib_cnotify_libcnotify_print_error_backtrace+:} false; then : 28861 $as_echo_n "(cached) " >&6 28862else 28863 ac_check_lib_save_LIBS=$LIBS 28864LIBS="-lcnotify $LIBS" 28865cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28866/* end confdefs.h. */ 28867 28868/* Override any GCC internal prototype to avoid an error. 28869 Use char because int might match the return type of a GCC 28870 builtin and then its argument prototype would still apply. */ 28871#ifdef __cplusplus 28872extern "C" 28873#endif 28874char libcnotify_print_error_backtrace (); 28875int 28876main () 28877{ 28878return libcnotify_print_error_backtrace (); 28879 ; 28880 return 0; 28881} 28882_ACEOF 28883if ac_fn_c_try_link "$LINENO"; then : 28884 ac_cv_lib_cnotify_libcnotify_print_error_backtrace=yes 28885else 28886 ac_cv_lib_cnotify_libcnotify_print_error_backtrace=no 28887fi 28888rm -f core conftest.err conftest.$ac_objext \ 28889 conftest$ac_exeext conftest.$ac_ext 28890LIBS=$ac_check_lib_save_LIBS 28891fi 28892{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_print_error_backtrace" >&5 28893$as_echo "$ac_cv_lib_cnotify_libcnotify_print_error_backtrace" >&6; } 28894if test "x$ac_cv_lib_cnotify_libcnotify_print_error_backtrace" = xyes; then : 28895 ac_cv_libcnotify_dummy=yes 28896else 28897 ac_cv_libcnotify=no 28898fi 28899 28900 28901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_stream_set in -lcnotify" >&5 28902$as_echo_n "checking for libcnotify_stream_set in -lcnotify... " >&6; } 28903if ${ac_cv_lib_cnotify_libcnotify_stream_set+:} false; then : 28904 $as_echo_n "(cached) " >&6 28905else 28906 ac_check_lib_save_LIBS=$LIBS 28907LIBS="-lcnotify $LIBS" 28908cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28909/* end confdefs.h. */ 28910 28911/* Override any GCC internal prototype to avoid an error. 28912 Use char because int might match the return type of a GCC 28913 builtin and then its argument prototype would still apply. */ 28914#ifdef __cplusplus 28915extern "C" 28916#endif 28917char libcnotify_stream_set (); 28918int 28919main () 28920{ 28921return libcnotify_stream_set (); 28922 ; 28923 return 0; 28924} 28925_ACEOF 28926if ac_fn_c_try_link "$LINENO"; then : 28927 ac_cv_lib_cnotify_libcnotify_stream_set=yes 28928else 28929 ac_cv_lib_cnotify_libcnotify_stream_set=no 28930fi 28931rm -f core conftest.err conftest.$ac_objext \ 28932 conftest$ac_exeext conftest.$ac_ext 28933LIBS=$ac_check_lib_save_LIBS 28934fi 28935{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_stream_set" >&5 28936$as_echo "$ac_cv_lib_cnotify_libcnotify_stream_set" >&6; } 28937if test "x$ac_cv_lib_cnotify_libcnotify_stream_set" = xyes; then : 28938 ac_cv_libcnotify_dummy=yes 28939else 28940 ac_cv_libcnotify=no 28941fi 28942 28943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_stream_open in -lcnotify" >&5 28944$as_echo_n "checking for libcnotify_stream_open in -lcnotify... " >&6; } 28945if ${ac_cv_lib_cnotify_libcnotify_stream_open+:} false; then : 28946 $as_echo_n "(cached) " >&6 28947else 28948 ac_check_lib_save_LIBS=$LIBS 28949LIBS="-lcnotify $LIBS" 28950cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28951/* end confdefs.h. */ 28952 28953/* Override any GCC internal prototype to avoid an error. 28954 Use char because int might match the return type of a GCC 28955 builtin and then its argument prototype would still apply. */ 28956#ifdef __cplusplus 28957extern "C" 28958#endif 28959char libcnotify_stream_open (); 28960int 28961main () 28962{ 28963return libcnotify_stream_open (); 28964 ; 28965 return 0; 28966} 28967_ACEOF 28968if ac_fn_c_try_link "$LINENO"; then : 28969 ac_cv_lib_cnotify_libcnotify_stream_open=yes 28970else 28971 ac_cv_lib_cnotify_libcnotify_stream_open=no 28972fi 28973rm -f core conftest.err conftest.$ac_objext \ 28974 conftest$ac_exeext conftest.$ac_ext 28975LIBS=$ac_check_lib_save_LIBS 28976fi 28977{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_stream_open" >&5 28978$as_echo "$ac_cv_lib_cnotify_libcnotify_stream_open" >&6; } 28979if test "x$ac_cv_lib_cnotify_libcnotify_stream_open" = xyes; then : 28980 ac_cv_libcnotify_dummy=yes 28981else 28982 ac_cv_libcnotify=no 28983fi 28984 28985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_stream_close in -lcnotify" >&5 28986$as_echo_n "checking for libcnotify_stream_close in -lcnotify... " >&6; } 28987if ${ac_cv_lib_cnotify_libcnotify_stream_close+:} false; then : 28988 $as_echo_n "(cached) " >&6 28989else 28990 ac_check_lib_save_LIBS=$LIBS 28991LIBS="-lcnotify $LIBS" 28992cat confdefs.h - <<_ACEOF >conftest.$ac_ext 28993/* end confdefs.h. */ 28994 28995/* Override any GCC internal prototype to avoid an error. 28996 Use char because int might match the return type of a GCC 28997 builtin and then its argument prototype would still apply. */ 28998#ifdef __cplusplus 28999extern "C" 29000#endif 29001char libcnotify_stream_close (); 29002int 29003main () 29004{ 29005return libcnotify_stream_close (); 29006 ; 29007 return 0; 29008} 29009_ACEOF 29010if ac_fn_c_try_link "$LINENO"; then : 29011 ac_cv_lib_cnotify_libcnotify_stream_close=yes 29012else 29013 ac_cv_lib_cnotify_libcnotify_stream_close=no 29014fi 29015rm -f core conftest.err conftest.$ac_objext \ 29016 conftest$ac_exeext conftest.$ac_ext 29017LIBS=$ac_check_lib_save_LIBS 29018fi 29019{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_stream_close" >&5 29020$as_echo "$ac_cv_lib_cnotify_libcnotify_stream_close" >&6; } 29021if test "x$ac_cv_lib_cnotify_libcnotify_stream_close" = xyes; then : 29022 ac_cv_libcnotify_dummy=yes 29023else 29024 ac_cv_libcnotify=no 29025fi 29026 29027 29028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcnotify_verbose_set in -lcnotify" >&5 29029$as_echo_n "checking for libcnotify_verbose_set in -lcnotify... " >&6; } 29030if ${ac_cv_lib_cnotify_libcnotify_verbose_set+:} false; then : 29031 $as_echo_n "(cached) " >&6 29032else 29033 ac_check_lib_save_LIBS=$LIBS 29034LIBS="-lcnotify $LIBS" 29035cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29036/* end confdefs.h. */ 29037 29038/* Override any GCC internal prototype to avoid an error. 29039 Use char because int might match the return type of a GCC 29040 builtin and then its argument prototype would still apply. */ 29041#ifdef __cplusplus 29042extern "C" 29043#endif 29044char libcnotify_verbose_set (); 29045int 29046main () 29047{ 29048return libcnotify_verbose_set (); 29049 ; 29050 return 0; 29051} 29052_ACEOF 29053if ac_fn_c_try_link "$LINENO"; then : 29054 ac_cv_lib_cnotify_libcnotify_verbose_set=yes 29055else 29056 ac_cv_lib_cnotify_libcnotify_verbose_set=no 29057fi 29058rm -f core conftest.err conftest.$ac_objext \ 29059 conftest$ac_exeext conftest.$ac_ext 29060LIBS=$ac_check_lib_save_LIBS 29061fi 29062{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cnotify_libcnotify_verbose_set" >&5 29063$as_echo "$ac_cv_lib_cnotify_libcnotify_verbose_set" >&6; } 29064if test "x$ac_cv_lib_cnotify_libcnotify_verbose_set" = xyes; then : 29065 ac_cv_libcnotify_dummy=yes 29066else 29067 ac_cv_libcnotify=no 29068fi 29069 29070 29071 ac_cv_libcnotify_LIBADD="-lcnotify" 29072fi 29073 29074fi 29075 if test "x$ac_cv_with_libcnotify" != x && test "x$ac_cv_with_libcnotify" != xauto-detect && test "x$ac_cv_libcnotify" != xyes; then : 29076 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 29077$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 29078as_fn_error 1 "unable to find supported libcnotify in directory: $ac_cv_with_libcnotify 29079See \`config.log' for more details" "$LINENO" 5; } 29080 29081fi 29082 29083fi 29084 29085 if test "x$ac_cv_libcnotify" = xyes; then : 29086 29087$as_echo "#define HAVE_LIBCNOTIFY 1" >>confdefs.h 29088 29089 29090fi 29091 29092 if test "x$ac_cv_libcnotify" = xyes; then : 29093 HAVE_LIBCNOTIFY=1 29094 29095else 29096 HAVE_LIBCNOTIFY=0 29097 29098 29099fi 29100 29101 29102 if test "x$ac_cv_libcnotify" != xyes; then : 29103 for ac_header in stdarg.h varargs.h 29104do : 29105 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 29106ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 29107if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 29108 cat >>confdefs.h <<_ACEOF 29109#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 29110_ACEOF 29111 29112fi 29113 29114done 29115 29116 29117 if test "x$ac_cv_header_stdarg_h" != xyes && test "x$ac_cv_header_varargs_h" != xyes; then : 29118 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 29119$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 29120as_fn_error 1 "Missing headers: stdarg.h and varargs.h 29121See \`config.log' for more details" "$LINENO" 5; } 29122 29123fi 29124 29125 for ac_header in errno.h 29126do : 29127 ac_fn_c_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default" 29128if test "x$ac_cv_header_errno_h" = xyes; then : 29129 cat >>confdefs.h <<_ACEOF 29130#define HAVE_ERRNO_H 1 29131_ACEOF 29132 29133fi 29134 29135done 29136 29137 29138 ac_cv_libcnotify_CPPFLAGS="-I../libcnotify"; 29139 ac_cv_libcnotify_LIBADD="../libcnotify/libcnotify.la"; 29140 29141 ac_cv_libcnotify=local 29142 29143 29144 29145$as_echo "#define HAVE_LOCAL_LIBCNOTIFY 1" >>confdefs.h 29146 29147 HAVE_LOCAL_LIBCNOTIFY=1 29148 29149 29150fi 29151 29152 if test "x$ac_cv_libcnotify" = xlocal; then 29153 HAVE_LOCAL_LIBCNOTIFY_TRUE= 29154 HAVE_LOCAL_LIBCNOTIFY_FALSE='#' 29155else 29156 HAVE_LOCAL_LIBCNOTIFY_TRUE='#' 29157 HAVE_LOCAL_LIBCNOTIFY_FALSE= 29158fi 29159 29160 if test "x$ac_cv_libcnotify_CPPFLAGS" != "x"; then : 29161 LIBCNOTIFY_CPPFLAGS=$ac_cv_libcnotify_CPPFLAGS 29162 29163 29164fi 29165 if test "x$ac_cv_libcnotify_LIBADD" != "x"; then : 29166 LIBCNOTIFY_LIBADD=$ac_cv_libcnotify_LIBADD 29167 29168 29169fi 29170 29171 if test "x$ac_cv_libcnotify" = xyes; then : 29172 ax_libcnotify_pc_libs_private=-lcnotify 29173 29174 29175fi 29176 29177 if test "x$ac_cv_libcnotify" = xyes; then : 29178 ax_libcnotify_spec_requires=libcnotify 29179 29180 ax_libcnotify_spec_build_requires=libcnotify-devel 29181 29182 29183fi 29184 29185 29186 29187 29188# Check whether --with-libcsplit was given. 29189if test "${with_libcsplit+set}" = set; then : 29190 withval=$with_libcsplit; ac_cv_with_libcsplit=$withval 29191else 29192 ac_cv_with_libcsplit=auto-detect 29193fi 29194 29195 { $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 29196$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; } 29197if ${ac_cv_with_libcsplit+:} false; then : 29198 $as_echo_n "(cached) " >&6 29199else 29200 ac_cv_with_libcsplit=auto-detect 29201fi 29202{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libcsplit" >&5 29203$as_echo "$ac_cv_with_libcsplit" >&6; } 29204 29205 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libcsplit" = xno; then : 29206 ac_cv_libcsplit=no 29207else 29208 ac_cv_libcsplit=check 29209 if test "x$ac_cv_with_libcsplit" != x && test "x$ac_cv_with_libcsplit" != xauto-detect; then : 29210 if test -d "$ac_cv_with_libcsplit"; then : 29211 CFLAGS="$CFLAGS -I${ac_cv_with_libcsplit}/include" 29212 LDFLAGS="$LDFLAGS -L${ac_cv_with_libcsplit}/lib" 29213else 29214 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 29215$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 29216as_fn_error 1 "no such directory: $ac_cv_with_libcsplit 29217See \`config.log' for more details" "$LINENO" 5; } 29218 29219fi 29220 29221else 29222 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 29223 29224pkg_failed=no 29225{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit" >&5 29226$as_echo_n "checking for libcsplit... " >&6; } 29227 29228if test -n "$libcsplit_CFLAGS"; then 29229 pkg_cv_libcsplit_CFLAGS="$libcsplit_CFLAGS" 29230 elif test -n "$PKG_CONFIG"; then 29231 if test -n "$PKG_CONFIG" && \ 29232 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcsplit >= 20120701\""; } >&5 29233 ($PKG_CONFIG --exists --print-errors "libcsplit >= 20120701") 2>&5 29234 ac_status=$? 29235 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 29236 test $ac_status = 0; }; then 29237 pkg_cv_libcsplit_CFLAGS=`$PKG_CONFIG --cflags "libcsplit >= 20120701" 2>/dev/null` 29238 test "x$?" != "x0" && pkg_failed=yes 29239else 29240 pkg_failed=yes 29241fi 29242 else 29243 pkg_failed=untried 29244fi 29245if test -n "$libcsplit_LIBS"; then 29246 pkg_cv_libcsplit_LIBS="$libcsplit_LIBS" 29247 elif test -n "$PKG_CONFIG"; then 29248 if test -n "$PKG_CONFIG" && \ 29249 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcsplit >= 20120701\""; } >&5 29250 ($PKG_CONFIG --exists --print-errors "libcsplit >= 20120701") 2>&5 29251 ac_status=$? 29252 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 29253 test $ac_status = 0; }; then 29254 pkg_cv_libcsplit_LIBS=`$PKG_CONFIG --libs "libcsplit >= 20120701" 2>/dev/null` 29255 test "x$?" != "x0" && pkg_failed=yes 29256else 29257 pkg_failed=yes 29258fi 29259 else 29260 pkg_failed=untried 29261fi 29262 29263 29264 29265if test $pkg_failed = yes; then 29266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 29267$as_echo "no" >&6; } 29268 29269if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 29270 _pkg_short_errors_supported=yes 29271else 29272 _pkg_short_errors_supported=no 29273fi 29274 if test $_pkg_short_errors_supported = yes; then 29275 libcsplit_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcsplit >= 20120701" 2>&1` 29276 else 29277 libcsplit_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcsplit >= 20120701" 2>&1` 29278 fi 29279 # Put the nasty error message in config.log where it belongs 29280 echo "$libcsplit_PKG_ERRORS" >&5 29281 29282 ac_cv_libcsplit=check 29283elif test $pkg_failed = untried; then 29284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 29285$as_echo "no" >&6; } 29286 ac_cv_libcsplit=check 29287else 29288 libcsplit_CFLAGS=$pkg_cv_libcsplit_CFLAGS 29289 libcsplit_LIBS=$pkg_cv_libcsplit_LIBS 29290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 29291$as_echo "yes" >&6; } 29292 ac_cv_libcsplit=yes 29293fi 29294 29295fi 29296 if test "x$ac_cv_libcsplit" = xyes && test "x$ac_cv_enable_wide_character_type" != xno; then : 29297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libcsplit/features.h defines LIBCSPLIT_HAVE_WIDE_CHARACTER_TYPE as 1" >&5 29298$as_echo_n "checking whether libcsplit/features.h defines LIBCSPLIT_HAVE_WIDE_CHARACTER_TYPE as 1... " >&6; } 29299if ${ac_cv_header_libcsplit_features_h_have_wide_character_type+:} false; then : 29300 $as_echo_n "(cached) " >&6 29301else 29302 ac_ext=c 29303ac_cpp='$CPP $CPPFLAGS' 29304ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 29305ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 29306ac_compiler_gnu=$ac_cv_c_compiler_gnu 29307 29308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29309/* end confdefs.h. */ 29310#include <libcsplit/features.h> 29311int 29312main () 29313{ 29314#if !defined( LIBCSPLIT_HAVE_WIDE_CHARACTER_TYPE ) || ( LIBCSPLIT_HAVE_WIDE_CHARACTER_TYPE != 1 ) 29315#error LIBCSPLIT_HAVE_WIDE_CHARACTER_TYPE not defined 29316#endif 29317 ; 29318 return 0; 29319} 29320_ACEOF 29321if ac_fn_c_try_compile "$LINENO"; then : 29322 ac_cv_header_libcsplit_features_h_have_wide_character_type=yes 29323else 29324 ac_cv_header_libcsplit_features_h_have_wide_character_type=no 29325fi 29326rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 29327 ac_ext=c 29328ac_cpp='$CPP $CPPFLAGS' 29329ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 29330ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 29331ac_compiler_gnu=$ac_cv_c_compiler_gnu 29332 29333fi 29334{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_libcsplit_features_h_have_wide_character_type" >&5 29335$as_echo "$ac_cv_header_libcsplit_features_h_have_wide_character_type" >&6; } 29336 29337 if test "x$ac_cv_header_libcsplit_features_h_have_wide_character_type" = xno; then : 29338 ac_cv_libcsplit=no 29339fi 29340 29341fi 29342 if test "x$ac_cv_libcsplit" = xyes; then : 29343 ac_cv_libcsplit_CPPFLAGS="$pkg_cv_libcsplit_CFLAGS" 29344 ac_cv_libcsplit_LIBADD="$pkg_cv_libcsplit_LIBS" 29345fi 29346 29347fi 29348 29349 if test "x$ac_cv_libcsplit" = xcheck; then : 29350 for ac_header in libcsplit.h 29351do : 29352 ac_fn_c_check_header_mongrel "$LINENO" "libcsplit.h" "ac_cv_header_libcsplit_h" "$ac_includes_default" 29353if test "x$ac_cv_header_libcsplit_h" = xyes; then : 29354 cat >>confdefs.h <<_ACEOF 29355#define HAVE_LIBCSPLIT_H 1 29356_ACEOF 29357 29358fi 29359 29360done 29361 29362 29363 if test "x$ac_cv_header_libcsplit_h" = xno; then : 29364 ac_cv_libcsplit=no 29365else 29366 ac_cv_libcsplit=yes 29367 29368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_get_version in -lcsplit" >&5 29369$as_echo_n "checking for libcsplit_get_version in -lcsplit... " >&6; } 29370if ${ac_cv_lib_csplit_libcsplit_get_version+:} false; then : 29371 $as_echo_n "(cached) " >&6 29372else 29373 ac_check_lib_save_LIBS=$LIBS 29374LIBS="-lcsplit $LIBS" 29375cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29376/* end confdefs.h. */ 29377 29378/* Override any GCC internal prototype to avoid an error. 29379 Use char because int might match the return type of a GCC 29380 builtin and then its argument prototype would still apply. */ 29381#ifdef __cplusplus 29382extern "C" 29383#endif 29384char libcsplit_get_version (); 29385int 29386main () 29387{ 29388return libcsplit_get_version (); 29389 ; 29390 return 0; 29391} 29392_ACEOF 29393if ac_fn_c_try_link "$LINENO"; then : 29394 ac_cv_lib_csplit_libcsplit_get_version=yes 29395else 29396 ac_cv_lib_csplit_libcsplit_get_version=no 29397fi 29398rm -f core conftest.err conftest.$ac_objext \ 29399 conftest$ac_exeext conftest.$ac_ext 29400LIBS=$ac_check_lib_save_LIBS 29401fi 29402{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_get_version" >&5 29403$as_echo "$ac_cv_lib_csplit_libcsplit_get_version" >&6; } 29404if test "x$ac_cv_lib_csplit_libcsplit_get_version" = xyes; then : 29405 ac_cv_libcsplit_dummy=yes 29406else 29407 ac_cv_libcsplit=no 29408fi 29409 29410 29411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_narrow_string_split in -lcsplit" >&5 29412$as_echo_n "checking for libcsplit_narrow_string_split in -lcsplit... " >&6; } 29413if ${ac_cv_lib_csplit_libcsplit_narrow_string_split+:} false; then : 29414 $as_echo_n "(cached) " >&6 29415else 29416 ac_check_lib_save_LIBS=$LIBS 29417LIBS="-lcsplit $LIBS" 29418cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29419/* end confdefs.h. */ 29420 29421/* Override any GCC internal prototype to avoid an error. 29422 Use char because int might match the return type of a GCC 29423 builtin and then its argument prototype would still apply. */ 29424#ifdef __cplusplus 29425extern "C" 29426#endif 29427char libcsplit_narrow_string_split (); 29428int 29429main () 29430{ 29431return libcsplit_narrow_string_split (); 29432 ; 29433 return 0; 29434} 29435_ACEOF 29436if ac_fn_c_try_link "$LINENO"; then : 29437 ac_cv_lib_csplit_libcsplit_narrow_string_split=yes 29438else 29439 ac_cv_lib_csplit_libcsplit_narrow_string_split=no 29440fi 29441rm -f core conftest.err conftest.$ac_objext \ 29442 conftest$ac_exeext conftest.$ac_ext 29443LIBS=$ac_check_lib_save_LIBS 29444fi 29445{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_narrow_string_split" >&5 29446$as_echo "$ac_cv_lib_csplit_libcsplit_narrow_string_split" >&6; } 29447if test "x$ac_cv_lib_csplit_libcsplit_narrow_string_split" = xyes; then : 29448 ac_cv_libcsplit_dummy=yes 29449else 29450 ac_cv_libcsplit=no 29451fi 29452 29453 29454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_narrow_split_string_free in -lcsplit" >&5 29455$as_echo_n "checking for libcsplit_narrow_split_string_free in -lcsplit... " >&6; } 29456if ${ac_cv_lib_csplit_libcsplit_narrow_split_string_free+:} false; then : 29457 $as_echo_n "(cached) " >&6 29458else 29459 ac_check_lib_save_LIBS=$LIBS 29460LIBS="-lcsplit $LIBS" 29461cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29462/* end confdefs.h. */ 29463 29464/* Override any GCC internal prototype to avoid an error. 29465 Use char because int might match the return type of a GCC 29466 builtin and then its argument prototype would still apply. */ 29467#ifdef __cplusplus 29468extern "C" 29469#endif 29470char libcsplit_narrow_split_string_free (); 29471int 29472main () 29473{ 29474return libcsplit_narrow_split_string_free (); 29475 ; 29476 return 0; 29477} 29478_ACEOF 29479if ac_fn_c_try_link "$LINENO"; then : 29480 ac_cv_lib_csplit_libcsplit_narrow_split_string_free=yes 29481else 29482 ac_cv_lib_csplit_libcsplit_narrow_split_string_free=no 29483fi 29484rm -f core conftest.err conftest.$ac_objext \ 29485 conftest$ac_exeext conftest.$ac_ext 29486LIBS=$ac_check_lib_save_LIBS 29487fi 29488{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_narrow_split_string_free" >&5 29489$as_echo "$ac_cv_lib_csplit_libcsplit_narrow_split_string_free" >&6; } 29490if test "x$ac_cv_lib_csplit_libcsplit_narrow_split_string_free" = xyes; then : 29491 ac_cv_libcsplit_dummy=yes 29492else 29493 ac_cv_libcsplit=no 29494fi 29495 29496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_narrow_split_string_get_string in -lcsplit" >&5 29497$as_echo_n "checking for libcsplit_narrow_split_string_get_string in -lcsplit... " >&6; } 29498if ${ac_cv_lib_csplit_libcsplit_narrow_split_string_get_string+:} false; then : 29499 $as_echo_n "(cached) " >&6 29500else 29501 ac_check_lib_save_LIBS=$LIBS 29502LIBS="-lcsplit $LIBS" 29503cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29504/* end confdefs.h. */ 29505 29506/* Override any GCC internal prototype to avoid an error. 29507 Use char because int might match the return type of a GCC 29508 builtin and then its argument prototype would still apply. */ 29509#ifdef __cplusplus 29510extern "C" 29511#endif 29512char libcsplit_narrow_split_string_get_string (); 29513int 29514main () 29515{ 29516return libcsplit_narrow_split_string_get_string (); 29517 ; 29518 return 0; 29519} 29520_ACEOF 29521if ac_fn_c_try_link "$LINENO"; then : 29522 ac_cv_lib_csplit_libcsplit_narrow_split_string_get_string=yes 29523else 29524 ac_cv_lib_csplit_libcsplit_narrow_split_string_get_string=no 29525fi 29526rm -f core conftest.err conftest.$ac_objext \ 29527 conftest$ac_exeext conftest.$ac_ext 29528LIBS=$ac_check_lib_save_LIBS 29529fi 29530{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_narrow_split_string_get_string" >&5 29531$as_echo "$ac_cv_lib_csplit_libcsplit_narrow_split_string_get_string" >&6; } 29532if test "x$ac_cv_lib_csplit_libcsplit_narrow_split_string_get_string" = xyes; then : 29533 ac_cv_libcsplit_dummy=yes 29534else 29535 ac_cv_libcsplit=no 29536fi 29537 29538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_narrow_split_string_get_number_of_segments in -lcsplit" >&5 29539$as_echo_n "checking for libcsplit_narrow_split_string_get_number_of_segments in -lcsplit... " >&6; } 29540if ${ac_cv_lib_csplit_libcsplit_narrow_split_string_get_number_of_segments+:} false; then : 29541 $as_echo_n "(cached) " >&6 29542else 29543 ac_check_lib_save_LIBS=$LIBS 29544LIBS="-lcsplit $LIBS" 29545cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29546/* end confdefs.h. */ 29547 29548/* Override any GCC internal prototype to avoid an error. 29549 Use char because int might match the return type of a GCC 29550 builtin and then its argument prototype would still apply. */ 29551#ifdef __cplusplus 29552extern "C" 29553#endif 29554char libcsplit_narrow_split_string_get_number_of_segments (); 29555int 29556main () 29557{ 29558return libcsplit_narrow_split_string_get_number_of_segments (); 29559 ; 29560 return 0; 29561} 29562_ACEOF 29563if ac_fn_c_try_link "$LINENO"; then : 29564 ac_cv_lib_csplit_libcsplit_narrow_split_string_get_number_of_segments=yes 29565else 29566 ac_cv_lib_csplit_libcsplit_narrow_split_string_get_number_of_segments=no 29567fi 29568rm -f core conftest.err conftest.$ac_objext \ 29569 conftest$ac_exeext conftest.$ac_ext 29570LIBS=$ac_check_lib_save_LIBS 29571fi 29572{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_narrow_split_string_get_number_of_segments" >&5 29573$as_echo "$ac_cv_lib_csplit_libcsplit_narrow_split_string_get_number_of_segments" >&6; } 29574if test "x$ac_cv_lib_csplit_libcsplit_narrow_split_string_get_number_of_segments" = xyes; then : 29575 ac_cv_libcsplit_dummy=yes 29576else 29577 ac_cv_libcsplit=no 29578fi 29579 29580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_narrow_split_string_get_segment_by_index in -lcsplit" >&5 29581$as_echo_n "checking for libcsplit_narrow_split_string_get_segment_by_index in -lcsplit... " >&6; } 29582if ${ac_cv_lib_csplit_libcsplit_narrow_split_string_get_segment_by_index+:} false; then : 29583 $as_echo_n "(cached) " >&6 29584else 29585 ac_check_lib_save_LIBS=$LIBS 29586LIBS="-lcsplit $LIBS" 29587cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29588/* end confdefs.h. */ 29589 29590/* Override any GCC internal prototype to avoid an error. 29591 Use char because int might match the return type of a GCC 29592 builtin and then its argument prototype would still apply. */ 29593#ifdef __cplusplus 29594extern "C" 29595#endif 29596char libcsplit_narrow_split_string_get_segment_by_index (); 29597int 29598main () 29599{ 29600return libcsplit_narrow_split_string_get_segment_by_index (); 29601 ; 29602 return 0; 29603} 29604_ACEOF 29605if ac_fn_c_try_link "$LINENO"; then : 29606 ac_cv_lib_csplit_libcsplit_narrow_split_string_get_segment_by_index=yes 29607else 29608 ac_cv_lib_csplit_libcsplit_narrow_split_string_get_segment_by_index=no 29609fi 29610rm -f core conftest.err conftest.$ac_objext \ 29611 conftest$ac_exeext conftest.$ac_ext 29612LIBS=$ac_check_lib_save_LIBS 29613fi 29614{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_narrow_split_string_get_segment_by_index" >&5 29615$as_echo "$ac_cv_lib_csplit_libcsplit_narrow_split_string_get_segment_by_index" >&6; } 29616if test "x$ac_cv_lib_csplit_libcsplit_narrow_split_string_get_segment_by_index" = xyes; then : 29617 ac_cv_libcsplit_dummy=yes 29618else 29619 ac_cv_libcsplit=no 29620fi 29621 29622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_narrow_split_string_set_segment_by_index in -lcsplit" >&5 29623$as_echo_n "checking for libcsplit_narrow_split_string_set_segment_by_index in -lcsplit... " >&6; } 29624if ${ac_cv_lib_csplit_libcsplit_narrow_split_string_set_segment_by_index+:} false; then : 29625 $as_echo_n "(cached) " >&6 29626else 29627 ac_check_lib_save_LIBS=$LIBS 29628LIBS="-lcsplit $LIBS" 29629cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29630/* end confdefs.h. */ 29631 29632/* Override any GCC internal prototype to avoid an error. 29633 Use char because int might match the return type of a GCC 29634 builtin and then its argument prototype would still apply. */ 29635#ifdef __cplusplus 29636extern "C" 29637#endif 29638char libcsplit_narrow_split_string_set_segment_by_index (); 29639int 29640main () 29641{ 29642return libcsplit_narrow_split_string_set_segment_by_index (); 29643 ; 29644 return 0; 29645} 29646_ACEOF 29647if ac_fn_c_try_link "$LINENO"; then : 29648 ac_cv_lib_csplit_libcsplit_narrow_split_string_set_segment_by_index=yes 29649else 29650 ac_cv_lib_csplit_libcsplit_narrow_split_string_set_segment_by_index=no 29651fi 29652rm -f core conftest.err conftest.$ac_objext \ 29653 conftest$ac_exeext conftest.$ac_ext 29654LIBS=$ac_check_lib_save_LIBS 29655fi 29656{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_narrow_split_string_set_segment_by_index" >&5 29657$as_echo "$ac_cv_lib_csplit_libcsplit_narrow_split_string_set_segment_by_index" >&6; } 29658if test "x$ac_cv_lib_csplit_libcsplit_narrow_split_string_set_segment_by_index" = xyes; then : 29659 ac_cv_libcsplit_dummy=yes 29660else 29661 ac_cv_libcsplit=no 29662fi 29663 29664 29665 if test "x$ac_cv_enable_wide_character_type" != xno; then : 29666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_wide_string_split in -lcsplit" >&5 29667$as_echo_n "checking for libcsplit_wide_string_split in -lcsplit... " >&6; } 29668if ${ac_cv_lib_csplit_libcsplit_wide_string_split+:} false; then : 29669 $as_echo_n "(cached) " >&6 29670else 29671 ac_check_lib_save_LIBS=$LIBS 29672LIBS="-lcsplit $LIBS" 29673cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29674/* end confdefs.h. */ 29675 29676/* Override any GCC internal prototype to avoid an error. 29677 Use char because int might match the return type of a GCC 29678 builtin and then its argument prototype would still apply. */ 29679#ifdef __cplusplus 29680extern "C" 29681#endif 29682char libcsplit_wide_string_split (); 29683int 29684main () 29685{ 29686return libcsplit_wide_string_split (); 29687 ; 29688 return 0; 29689} 29690_ACEOF 29691if ac_fn_c_try_link "$LINENO"; then : 29692 ac_cv_lib_csplit_libcsplit_wide_string_split=yes 29693else 29694 ac_cv_lib_csplit_libcsplit_wide_string_split=no 29695fi 29696rm -f core conftest.err conftest.$ac_objext \ 29697 conftest$ac_exeext conftest.$ac_ext 29698LIBS=$ac_check_lib_save_LIBS 29699fi 29700{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_wide_string_split" >&5 29701$as_echo "$ac_cv_lib_csplit_libcsplit_wide_string_split" >&6; } 29702if test "x$ac_cv_lib_csplit_libcsplit_wide_string_split" = xyes; then : 29703 ac_cv_libcsplit_dummy=yes 29704else 29705 ac_cv_libcsplit=no 29706fi 29707 29708 29709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_wide_split_string_free in -lcsplit" >&5 29710$as_echo_n "checking for libcsplit_wide_split_string_free in -lcsplit... " >&6; } 29711if ${ac_cv_lib_csplit_libcsplit_wide_split_string_free+:} false; then : 29712 $as_echo_n "(cached) " >&6 29713else 29714 ac_check_lib_save_LIBS=$LIBS 29715LIBS="-lcsplit $LIBS" 29716cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29717/* end confdefs.h. */ 29718 29719/* Override any GCC internal prototype to avoid an error. 29720 Use char because int might match the return type of a GCC 29721 builtin and then its argument prototype would still apply. */ 29722#ifdef __cplusplus 29723extern "C" 29724#endif 29725char libcsplit_wide_split_string_free (); 29726int 29727main () 29728{ 29729return libcsplit_wide_split_string_free (); 29730 ; 29731 return 0; 29732} 29733_ACEOF 29734if ac_fn_c_try_link "$LINENO"; then : 29735 ac_cv_lib_csplit_libcsplit_wide_split_string_free=yes 29736else 29737 ac_cv_lib_csplit_libcsplit_wide_split_string_free=no 29738fi 29739rm -f core conftest.err conftest.$ac_objext \ 29740 conftest$ac_exeext conftest.$ac_ext 29741LIBS=$ac_check_lib_save_LIBS 29742fi 29743{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_wide_split_string_free" >&5 29744$as_echo "$ac_cv_lib_csplit_libcsplit_wide_split_string_free" >&6; } 29745if test "x$ac_cv_lib_csplit_libcsplit_wide_split_string_free" = xyes; then : 29746 ac_cv_libcsplit_dummy=yes 29747else 29748 ac_cv_libcsplit=no 29749fi 29750 29751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_wide_split_string_get_string in -lcsplit" >&5 29752$as_echo_n "checking for libcsplit_wide_split_string_get_string in -lcsplit... " >&6; } 29753if ${ac_cv_lib_csplit_libcsplit_wide_split_string_get_string+:} false; then : 29754 $as_echo_n "(cached) " >&6 29755else 29756 ac_check_lib_save_LIBS=$LIBS 29757LIBS="-lcsplit $LIBS" 29758cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29759/* end confdefs.h. */ 29760 29761/* Override any GCC internal prototype to avoid an error. 29762 Use char because int might match the return type of a GCC 29763 builtin and then its argument prototype would still apply. */ 29764#ifdef __cplusplus 29765extern "C" 29766#endif 29767char libcsplit_wide_split_string_get_string (); 29768int 29769main () 29770{ 29771return libcsplit_wide_split_string_get_string (); 29772 ; 29773 return 0; 29774} 29775_ACEOF 29776if ac_fn_c_try_link "$LINENO"; then : 29777 ac_cv_lib_csplit_libcsplit_wide_split_string_get_string=yes 29778else 29779 ac_cv_lib_csplit_libcsplit_wide_split_string_get_string=no 29780fi 29781rm -f core conftest.err conftest.$ac_objext \ 29782 conftest$ac_exeext conftest.$ac_ext 29783LIBS=$ac_check_lib_save_LIBS 29784fi 29785{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_wide_split_string_get_string" >&5 29786$as_echo "$ac_cv_lib_csplit_libcsplit_wide_split_string_get_string" >&6; } 29787if test "x$ac_cv_lib_csplit_libcsplit_wide_split_string_get_string" = xyes; then : 29788 ac_cv_libcsplit_dummy=yes 29789else 29790 ac_cv_libcsplit=no 29791fi 29792 29793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_wide_split_string_get_number_of_segments in -lcsplit" >&5 29794$as_echo_n "checking for libcsplit_wide_split_string_get_number_of_segments in -lcsplit... " >&6; } 29795if ${ac_cv_lib_csplit_libcsplit_wide_split_string_get_number_of_segments+:} false; then : 29796 $as_echo_n "(cached) " >&6 29797else 29798 ac_check_lib_save_LIBS=$LIBS 29799LIBS="-lcsplit $LIBS" 29800cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29801/* end confdefs.h. */ 29802 29803/* Override any GCC internal prototype to avoid an error. 29804 Use char because int might match the return type of a GCC 29805 builtin and then its argument prototype would still apply. */ 29806#ifdef __cplusplus 29807extern "C" 29808#endif 29809char libcsplit_wide_split_string_get_number_of_segments (); 29810int 29811main () 29812{ 29813return libcsplit_wide_split_string_get_number_of_segments (); 29814 ; 29815 return 0; 29816} 29817_ACEOF 29818if ac_fn_c_try_link "$LINENO"; then : 29819 ac_cv_lib_csplit_libcsplit_wide_split_string_get_number_of_segments=yes 29820else 29821 ac_cv_lib_csplit_libcsplit_wide_split_string_get_number_of_segments=no 29822fi 29823rm -f core conftest.err conftest.$ac_objext \ 29824 conftest$ac_exeext conftest.$ac_ext 29825LIBS=$ac_check_lib_save_LIBS 29826fi 29827{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_wide_split_string_get_number_of_segments" >&5 29828$as_echo "$ac_cv_lib_csplit_libcsplit_wide_split_string_get_number_of_segments" >&6; } 29829if test "x$ac_cv_lib_csplit_libcsplit_wide_split_string_get_number_of_segments" = xyes; then : 29830 ac_cv_libcsplit_dummy=yes 29831else 29832 ac_cv_libcsplit=no 29833fi 29834 29835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_wide_split_string_get_segment_by_index in -lcsplit" >&5 29836$as_echo_n "checking for libcsplit_wide_split_string_get_segment_by_index in -lcsplit... " >&6; } 29837if ${ac_cv_lib_csplit_libcsplit_wide_split_string_get_segment_by_index+:} false; then : 29838 $as_echo_n "(cached) " >&6 29839else 29840 ac_check_lib_save_LIBS=$LIBS 29841LIBS="-lcsplit $LIBS" 29842cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29843/* end confdefs.h. */ 29844 29845/* Override any GCC internal prototype to avoid an error. 29846 Use char because int might match the return type of a GCC 29847 builtin and then its argument prototype would still apply. */ 29848#ifdef __cplusplus 29849extern "C" 29850#endif 29851char libcsplit_wide_split_string_get_segment_by_index (); 29852int 29853main () 29854{ 29855return libcsplit_wide_split_string_get_segment_by_index (); 29856 ; 29857 return 0; 29858} 29859_ACEOF 29860if ac_fn_c_try_link "$LINENO"; then : 29861 ac_cv_lib_csplit_libcsplit_wide_split_string_get_segment_by_index=yes 29862else 29863 ac_cv_lib_csplit_libcsplit_wide_split_string_get_segment_by_index=no 29864fi 29865rm -f core conftest.err conftest.$ac_objext \ 29866 conftest$ac_exeext conftest.$ac_ext 29867LIBS=$ac_check_lib_save_LIBS 29868fi 29869{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_wide_split_string_get_segment_by_index" >&5 29870$as_echo "$ac_cv_lib_csplit_libcsplit_wide_split_string_get_segment_by_index" >&6; } 29871if test "x$ac_cv_lib_csplit_libcsplit_wide_split_string_get_segment_by_index" = xyes; then : 29872 ac_cv_libcsplit_dummy=yes 29873else 29874 ac_cv_libcsplit=no 29875fi 29876 29877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcsplit_wide_split_string_set_segment_by_index in -lcsplit" >&5 29878$as_echo_n "checking for libcsplit_wide_split_string_set_segment_by_index in -lcsplit... " >&6; } 29879if ${ac_cv_lib_csplit_libcsplit_wide_split_string_set_segment_by_index+:} false; then : 29880 $as_echo_n "(cached) " >&6 29881else 29882 ac_check_lib_save_LIBS=$LIBS 29883LIBS="-lcsplit $LIBS" 29884cat confdefs.h - <<_ACEOF >conftest.$ac_ext 29885/* end confdefs.h. */ 29886 29887/* Override any GCC internal prototype to avoid an error. 29888 Use char because int might match the return type of a GCC 29889 builtin and then its argument prototype would still apply. */ 29890#ifdef __cplusplus 29891extern "C" 29892#endif 29893char libcsplit_wide_split_string_set_segment_by_index (); 29894int 29895main () 29896{ 29897return libcsplit_wide_split_string_set_segment_by_index (); 29898 ; 29899 return 0; 29900} 29901_ACEOF 29902if ac_fn_c_try_link "$LINENO"; then : 29903 ac_cv_lib_csplit_libcsplit_wide_split_string_set_segment_by_index=yes 29904else 29905 ac_cv_lib_csplit_libcsplit_wide_split_string_set_segment_by_index=no 29906fi 29907rm -f core conftest.err conftest.$ac_objext \ 29908 conftest$ac_exeext conftest.$ac_ext 29909LIBS=$ac_check_lib_save_LIBS 29910fi 29911{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_csplit_libcsplit_wide_split_string_set_segment_by_index" >&5 29912$as_echo "$ac_cv_lib_csplit_libcsplit_wide_split_string_set_segment_by_index" >&6; } 29913if test "x$ac_cv_lib_csplit_libcsplit_wide_split_string_set_segment_by_index" = xyes; then : 29914 ac_cv_libcsplit_dummy=yes 29915else 29916 ac_cv_libcsplit=no 29917fi 29918 29919 29920fi 29921 29922 ac_cv_libcsplit_LIBADD="-lcsplit" 29923fi 29924 29925fi 29926 if test "x$ac_cv_with_libcsplit" != x && test "x$ac_cv_with_libcsplit" != xauto-detect && test "x$ac_cv_libcsplit" != xyes; then : 29927 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 29928$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 29929as_fn_error 1 "unable to find supported libcsplit in directory: $ac_cv_with_libcsplit 29930See \`config.log' for more details" "$LINENO" 5; } 29931 29932fi 29933 29934fi 29935 29936 if test "x$ac_cv_libcsplit" = xyes; then : 29937 29938$as_echo "#define HAVE_LIBCSPLIT 1" >>confdefs.h 29939 29940 29941fi 29942 29943 if test "x$ac_cv_libcsplit" = xyes; then : 29944 HAVE_LIBCSPLIT=1 29945 29946else 29947 HAVE_LIBCSPLIT=0 29948 29949 29950fi 29951 29952 29953 if test "x$ac_cv_libcsplit" != xyes; then : 29954 29955 ac_cv_libcsplit_CPPFLAGS="-I../libcsplit"; 29956 ac_cv_libcsplit_LIBADD="../libcsplit/libcsplit.la"; 29957 29958 ac_cv_libcsplit=local 29959 29960 29961 29962$as_echo "#define HAVE_LOCAL_LIBCSPLIT 1" >>confdefs.h 29963 29964 HAVE_LOCAL_LIBCSPLIT=1 29965 29966 29967fi 29968 29969 if test "x$ac_cv_libcsplit" = xlocal; then 29970 HAVE_LOCAL_LIBCSPLIT_TRUE= 29971 HAVE_LOCAL_LIBCSPLIT_FALSE='#' 29972else 29973 HAVE_LOCAL_LIBCSPLIT_TRUE='#' 29974 HAVE_LOCAL_LIBCSPLIT_FALSE= 29975fi 29976 29977 if test "x$ac_cv_libcsplit_CPPFLAGS" != "x"; then : 29978 LIBCSPLIT_CPPFLAGS=$ac_cv_libcsplit_CPPFLAGS 29979 29980 29981fi 29982 if test "x$ac_cv_libcsplit_LIBADD" != "x"; then : 29983 LIBCSPLIT_LIBADD=$ac_cv_libcsplit_LIBADD 29984 29985 29986fi 29987 29988 if test "x$ac_cv_libcsplit" = xyes; then : 29989 ax_libcsplit_pc_libs_private=-lcsplit 29990 29991 29992fi 29993 29994 if test "x$ac_cv_libcsplit" = xyes; then : 29995 ax_libcsplit_spec_requires=libcsplit 29996 29997 ax_libcsplit_spec_build_requires=libcsplit-devel 29998 29999 30000fi 30001 30002 30003 30004 30005# Check whether --with-libuna was given. 30006if test "${with_libuna+set}" = set; then : 30007 withval=$with_libuna; ac_cv_with_libuna=$withval 30008else 30009 ac_cv_with_libuna=auto-detect 30010fi 30011 30012 { $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 30013$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; } 30014if ${ac_cv_with_libuna+:} false; then : 30015 $as_echo_n "(cached) " >&6 30016else 30017 ac_cv_with_libuna=auto-detect 30018fi 30019{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libuna" >&5 30020$as_echo "$ac_cv_with_libuna" >&6; } 30021 30022 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libuna" = xno; then : 30023 ac_cv_libuna=no 30024else 30025 ac_cv_libuna=check 30026 if test "x$ac_cv_with_libuna" != x && test "x$ac_cv_with_libuna" != xauto-detect; then : 30027 if test -d "$ac_cv_with_libuna"; then : 30028 CFLAGS="$CFLAGS -I${ac_cv_with_libuna}/include" 30029 LDFLAGS="$LDFLAGS -L${ac_cv_with_libuna}/lib" 30030else 30031 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 30032$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 30033as_fn_error 1 "no such directory: $ac_cv_with_libuna 30034See \`config.log' for more details" "$LINENO" 5; } 30035 30036fi 30037 30038else 30039 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 30040 30041pkg_failed=no 30042{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna" >&5 30043$as_echo_n "checking for libuna... " >&6; } 30044 30045if test -n "$libuna_CFLAGS"; then 30046 pkg_cv_libuna_CFLAGS="$libuna_CFLAGS" 30047 elif test -n "$PKG_CONFIG"; then 30048 if test -n "$PKG_CONFIG" && \ 30049 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libuna >= 20200711\""; } >&5 30050 ($PKG_CONFIG --exists --print-errors "libuna >= 20200711") 2>&5 30051 ac_status=$? 30052 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 30053 test $ac_status = 0; }; then 30054 pkg_cv_libuna_CFLAGS=`$PKG_CONFIG --cflags "libuna >= 20200711" 2>/dev/null` 30055 test "x$?" != "x0" && pkg_failed=yes 30056else 30057 pkg_failed=yes 30058fi 30059 else 30060 pkg_failed=untried 30061fi 30062if test -n "$libuna_LIBS"; then 30063 pkg_cv_libuna_LIBS="$libuna_LIBS" 30064 elif test -n "$PKG_CONFIG"; then 30065 if test -n "$PKG_CONFIG" && \ 30066 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libuna >= 20200711\""; } >&5 30067 ($PKG_CONFIG --exists --print-errors "libuna >= 20200711") 2>&5 30068 ac_status=$? 30069 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 30070 test $ac_status = 0; }; then 30071 pkg_cv_libuna_LIBS=`$PKG_CONFIG --libs "libuna >= 20200711" 2>/dev/null` 30072 test "x$?" != "x0" && pkg_failed=yes 30073else 30074 pkg_failed=yes 30075fi 30076 else 30077 pkg_failed=untried 30078fi 30079 30080 30081 30082if test $pkg_failed = yes; then 30083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 30084$as_echo "no" >&6; } 30085 30086if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 30087 _pkg_short_errors_supported=yes 30088else 30089 _pkg_short_errors_supported=no 30090fi 30091 if test $_pkg_short_errors_supported = yes; then 30092 libuna_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libuna >= 20200711" 2>&1` 30093 else 30094 libuna_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libuna >= 20200711" 2>&1` 30095 fi 30096 # Put the nasty error message in config.log where it belongs 30097 echo "$libuna_PKG_ERRORS" >&5 30098 30099 ac_cv_libuna=check 30100elif test $pkg_failed = untried; then 30101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 30102$as_echo "no" >&6; } 30103 ac_cv_libuna=check 30104else 30105 libuna_CFLAGS=$pkg_cv_libuna_CFLAGS 30106 libuna_LIBS=$pkg_cv_libuna_LIBS 30107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 30108$as_echo "yes" >&6; } 30109 ac_cv_libuna=yes 30110fi 30111 30112fi 30113 if test "x$ac_cv_libuna" = xyes; then : 30114 ac_cv_libuna_CPPFLAGS="$pkg_cv_libuna_CFLAGS" 30115 ac_cv_libuna_LIBADD="$pkg_cv_libuna_LIBS" 30116fi 30117 30118fi 30119 30120 if test "x$ac_cv_libuna" = xcheck; then : 30121 for ac_header in libuna.h 30122do : 30123 ac_fn_c_check_header_mongrel "$LINENO" "libuna.h" "ac_cv_header_libuna_h" "$ac_includes_default" 30124if test "x$ac_cv_header_libuna_h" = xyes; then : 30125 cat >>confdefs.h <<_ACEOF 30126#define HAVE_LIBUNA_H 1 30127_ACEOF 30128 30129fi 30130 30131done 30132 30133 30134 if test "x$ac_cv_header_libuna_h" = xno; then : 30135 ac_cv_libuna=no 30136else 30137 ac_cv_libuna=yes 30138 30139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_get_version in -luna" >&5 30140$as_echo_n "checking for libuna_get_version in -luna... " >&6; } 30141if ${ac_cv_lib_una_libuna_get_version+:} false; then : 30142 $as_echo_n "(cached) " >&6 30143else 30144 ac_check_lib_save_LIBS=$LIBS 30145LIBS="-luna $LIBS" 30146cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30147/* end confdefs.h. */ 30148 30149/* Override any GCC internal prototype to avoid an error. 30150 Use char because int might match the return type of a GCC 30151 builtin and then its argument prototype would still apply. */ 30152#ifdef __cplusplus 30153extern "C" 30154#endif 30155char libuna_get_version (); 30156int 30157main () 30158{ 30159return libuna_get_version (); 30160 ; 30161 return 0; 30162} 30163_ACEOF 30164if ac_fn_c_try_link "$LINENO"; then : 30165 ac_cv_lib_una_libuna_get_version=yes 30166else 30167 ac_cv_lib_una_libuna_get_version=no 30168fi 30169rm -f core conftest.err conftest.$ac_objext \ 30170 conftest$ac_exeext conftest.$ac_ext 30171LIBS=$ac_check_lib_save_LIBS 30172fi 30173{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_get_version" >&5 30174$as_echo "$ac_cv_lib_una_libuna_get_version" >&6; } 30175if test "x$ac_cv_lib_una_libuna_get_version" = xyes; then : 30176 ac_cv_libuna_dummy=yes 30177else 30178 ac_cv_libuna=no 30179fi 30180 30181 30182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base16_stream_size_to_byte_stream in -luna" >&5 30183$as_echo_n "checking for libuna_base16_stream_size_to_byte_stream in -luna... " >&6; } 30184if ${ac_cv_lib_una_libuna_base16_stream_size_to_byte_stream+:} false; then : 30185 $as_echo_n "(cached) " >&6 30186else 30187 ac_check_lib_save_LIBS=$LIBS 30188LIBS="-luna $LIBS" 30189cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30190/* end confdefs.h. */ 30191 30192/* Override any GCC internal prototype to avoid an error. 30193 Use char because int might match the return type of a GCC 30194 builtin and then its argument prototype would still apply. */ 30195#ifdef __cplusplus 30196extern "C" 30197#endif 30198char libuna_base16_stream_size_to_byte_stream (); 30199int 30200main () 30201{ 30202return libuna_base16_stream_size_to_byte_stream (); 30203 ; 30204 return 0; 30205} 30206_ACEOF 30207if ac_fn_c_try_link "$LINENO"; then : 30208 ac_cv_lib_una_libuna_base16_stream_size_to_byte_stream=yes 30209else 30210 ac_cv_lib_una_libuna_base16_stream_size_to_byte_stream=no 30211fi 30212rm -f core conftest.err conftest.$ac_objext \ 30213 conftest$ac_exeext conftest.$ac_ext 30214LIBS=$ac_check_lib_save_LIBS 30215fi 30216{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base16_stream_size_to_byte_stream" >&5 30217$as_echo "$ac_cv_lib_una_libuna_base16_stream_size_to_byte_stream" >&6; } 30218if test "x$ac_cv_lib_una_libuna_base16_stream_size_to_byte_stream" = xyes; then : 30219 ac_cv_libuna_dummy=yes 30220else 30221 ac_cv_libuna=no 30222fi 30223 30224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base16_stream_copy_to_byte_stream in -luna" >&5 30225$as_echo_n "checking for libuna_base16_stream_copy_to_byte_stream in -luna... " >&6; } 30226if ${ac_cv_lib_una_libuna_base16_stream_copy_to_byte_stream+:} false; then : 30227 $as_echo_n "(cached) " >&6 30228else 30229 ac_check_lib_save_LIBS=$LIBS 30230LIBS="-luna $LIBS" 30231cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30232/* end confdefs.h. */ 30233 30234/* Override any GCC internal prototype to avoid an error. 30235 Use char because int might match the return type of a GCC 30236 builtin and then its argument prototype would still apply. */ 30237#ifdef __cplusplus 30238extern "C" 30239#endif 30240char libuna_base16_stream_copy_to_byte_stream (); 30241int 30242main () 30243{ 30244return libuna_base16_stream_copy_to_byte_stream (); 30245 ; 30246 return 0; 30247} 30248_ACEOF 30249if ac_fn_c_try_link "$LINENO"; then : 30250 ac_cv_lib_una_libuna_base16_stream_copy_to_byte_stream=yes 30251else 30252 ac_cv_lib_una_libuna_base16_stream_copy_to_byte_stream=no 30253fi 30254rm -f core conftest.err conftest.$ac_objext \ 30255 conftest$ac_exeext conftest.$ac_ext 30256LIBS=$ac_check_lib_save_LIBS 30257fi 30258{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base16_stream_copy_to_byte_stream" >&5 30259$as_echo "$ac_cv_lib_una_libuna_base16_stream_copy_to_byte_stream" >&6; } 30260if test "x$ac_cv_lib_una_libuna_base16_stream_copy_to_byte_stream" = xyes; then : 30261 ac_cv_libuna_dummy=yes 30262else 30263 ac_cv_libuna=no 30264fi 30265 30266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base16_stream_size_from_byte_stream in -luna" >&5 30267$as_echo_n "checking for libuna_base16_stream_size_from_byte_stream in -luna... " >&6; } 30268if ${ac_cv_lib_una_libuna_base16_stream_size_from_byte_stream+:} false; then : 30269 $as_echo_n "(cached) " >&6 30270else 30271 ac_check_lib_save_LIBS=$LIBS 30272LIBS="-luna $LIBS" 30273cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30274/* end confdefs.h. */ 30275 30276/* Override any GCC internal prototype to avoid an error. 30277 Use char because int might match the return type of a GCC 30278 builtin and then its argument prototype would still apply. */ 30279#ifdef __cplusplus 30280extern "C" 30281#endif 30282char libuna_base16_stream_size_from_byte_stream (); 30283int 30284main () 30285{ 30286return libuna_base16_stream_size_from_byte_stream (); 30287 ; 30288 return 0; 30289} 30290_ACEOF 30291if ac_fn_c_try_link "$LINENO"; then : 30292 ac_cv_lib_una_libuna_base16_stream_size_from_byte_stream=yes 30293else 30294 ac_cv_lib_una_libuna_base16_stream_size_from_byte_stream=no 30295fi 30296rm -f core conftest.err conftest.$ac_objext \ 30297 conftest$ac_exeext conftest.$ac_ext 30298LIBS=$ac_check_lib_save_LIBS 30299fi 30300{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base16_stream_size_from_byte_stream" >&5 30301$as_echo "$ac_cv_lib_una_libuna_base16_stream_size_from_byte_stream" >&6; } 30302if test "x$ac_cv_lib_una_libuna_base16_stream_size_from_byte_stream" = xyes; then : 30303 ac_cv_libuna_dummy=yes 30304else 30305 ac_cv_libuna=no 30306fi 30307 30308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base16_stream_copy_from_byte_stream in -luna" >&5 30309$as_echo_n "checking for libuna_base16_stream_copy_from_byte_stream in -luna... " >&6; } 30310if ${ac_cv_lib_una_libuna_base16_stream_copy_from_byte_stream+:} false; then : 30311 $as_echo_n "(cached) " >&6 30312else 30313 ac_check_lib_save_LIBS=$LIBS 30314LIBS="-luna $LIBS" 30315cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30316/* end confdefs.h. */ 30317 30318/* Override any GCC internal prototype to avoid an error. 30319 Use char because int might match the return type of a GCC 30320 builtin and then its argument prototype would still apply. */ 30321#ifdef __cplusplus 30322extern "C" 30323#endif 30324char libuna_base16_stream_copy_from_byte_stream (); 30325int 30326main () 30327{ 30328return libuna_base16_stream_copy_from_byte_stream (); 30329 ; 30330 return 0; 30331} 30332_ACEOF 30333if ac_fn_c_try_link "$LINENO"; then : 30334 ac_cv_lib_una_libuna_base16_stream_copy_from_byte_stream=yes 30335else 30336 ac_cv_lib_una_libuna_base16_stream_copy_from_byte_stream=no 30337fi 30338rm -f core conftest.err conftest.$ac_objext \ 30339 conftest$ac_exeext conftest.$ac_ext 30340LIBS=$ac_check_lib_save_LIBS 30341fi 30342{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base16_stream_copy_from_byte_stream" >&5 30343$as_echo "$ac_cv_lib_una_libuna_base16_stream_copy_from_byte_stream" >&6; } 30344if test "x$ac_cv_lib_una_libuna_base16_stream_copy_from_byte_stream" = xyes; then : 30345 ac_cv_libuna_dummy=yes 30346else 30347 ac_cv_libuna=no 30348fi 30349 30350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base16_stream_with_index_copy_from_byte_stream in -luna" >&5 30351$as_echo_n "checking for libuna_base16_stream_with_index_copy_from_byte_stream in -luna... " >&6; } 30352if ${ac_cv_lib_una_libuna_base16_stream_with_index_copy_from_byte_stream+:} false; then : 30353 $as_echo_n "(cached) " >&6 30354else 30355 ac_check_lib_save_LIBS=$LIBS 30356LIBS="-luna $LIBS" 30357cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30358/* end confdefs.h. */ 30359 30360/* Override any GCC internal prototype to avoid an error. 30361 Use char because int might match the return type of a GCC 30362 builtin and then its argument prototype would still apply. */ 30363#ifdef __cplusplus 30364extern "C" 30365#endif 30366char libuna_base16_stream_with_index_copy_from_byte_stream (); 30367int 30368main () 30369{ 30370return libuna_base16_stream_with_index_copy_from_byte_stream (); 30371 ; 30372 return 0; 30373} 30374_ACEOF 30375if ac_fn_c_try_link "$LINENO"; then : 30376 ac_cv_lib_una_libuna_base16_stream_with_index_copy_from_byte_stream=yes 30377else 30378 ac_cv_lib_una_libuna_base16_stream_with_index_copy_from_byte_stream=no 30379fi 30380rm -f core conftest.err conftest.$ac_objext \ 30381 conftest$ac_exeext conftest.$ac_ext 30382LIBS=$ac_check_lib_save_LIBS 30383fi 30384{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base16_stream_with_index_copy_from_byte_stream" >&5 30385$as_echo "$ac_cv_lib_una_libuna_base16_stream_with_index_copy_from_byte_stream" >&6; } 30386if test "x$ac_cv_lib_una_libuna_base16_stream_with_index_copy_from_byte_stream" = xyes; then : 30387 ac_cv_libuna_dummy=yes 30388else 30389 ac_cv_libuna=no 30390fi 30391 30392 30393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_quintuplet_copy_from_base32_stream in -luna" >&5 30394$as_echo_n "checking for libuna_base32_quintuplet_copy_from_base32_stream in -luna... " >&6; } 30395if ${ac_cv_lib_una_libuna_base32_quintuplet_copy_from_base32_stream+:} false; then : 30396 $as_echo_n "(cached) " >&6 30397else 30398 ac_check_lib_save_LIBS=$LIBS 30399LIBS="-luna $LIBS" 30400cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30401/* end confdefs.h. */ 30402 30403/* Override any GCC internal prototype to avoid an error. 30404 Use char because int might match the return type of a GCC 30405 builtin and then its argument prototype would still apply. */ 30406#ifdef __cplusplus 30407extern "C" 30408#endif 30409char libuna_base32_quintuplet_copy_from_base32_stream (); 30410int 30411main () 30412{ 30413return libuna_base32_quintuplet_copy_from_base32_stream (); 30414 ; 30415 return 0; 30416} 30417_ACEOF 30418if ac_fn_c_try_link "$LINENO"; then : 30419 ac_cv_lib_una_libuna_base32_quintuplet_copy_from_base32_stream=yes 30420else 30421 ac_cv_lib_una_libuna_base32_quintuplet_copy_from_base32_stream=no 30422fi 30423rm -f core conftest.err conftest.$ac_objext \ 30424 conftest$ac_exeext conftest.$ac_ext 30425LIBS=$ac_check_lib_save_LIBS 30426fi 30427{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_quintuplet_copy_from_base32_stream" >&5 30428$as_echo "$ac_cv_lib_una_libuna_base32_quintuplet_copy_from_base32_stream" >&6; } 30429if test "x$ac_cv_lib_una_libuna_base32_quintuplet_copy_from_base32_stream" = xyes; then : 30430 ac_cv_libuna_dummy=yes 30431else 30432 ac_cv_libuna=no 30433fi 30434 30435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_quintuplet_copy_to_base32_stream in -luna" >&5 30436$as_echo_n "checking for libuna_base32_quintuplet_copy_to_base32_stream in -luna... " >&6; } 30437if ${ac_cv_lib_una_libuna_base32_quintuplet_copy_to_base32_stream+:} false; then : 30438 $as_echo_n "(cached) " >&6 30439else 30440 ac_check_lib_save_LIBS=$LIBS 30441LIBS="-luna $LIBS" 30442cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30443/* end confdefs.h. */ 30444 30445/* Override any GCC internal prototype to avoid an error. 30446 Use char because int might match the return type of a GCC 30447 builtin and then its argument prototype would still apply. */ 30448#ifdef __cplusplus 30449extern "C" 30450#endif 30451char libuna_base32_quintuplet_copy_to_base32_stream (); 30452int 30453main () 30454{ 30455return libuna_base32_quintuplet_copy_to_base32_stream (); 30456 ; 30457 return 0; 30458} 30459_ACEOF 30460if ac_fn_c_try_link "$LINENO"; then : 30461 ac_cv_lib_una_libuna_base32_quintuplet_copy_to_base32_stream=yes 30462else 30463 ac_cv_lib_una_libuna_base32_quintuplet_copy_to_base32_stream=no 30464fi 30465rm -f core conftest.err conftest.$ac_objext \ 30466 conftest$ac_exeext conftest.$ac_ext 30467LIBS=$ac_check_lib_save_LIBS 30468fi 30469{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_quintuplet_copy_to_base32_stream" >&5 30470$as_echo "$ac_cv_lib_una_libuna_base32_quintuplet_copy_to_base32_stream" >&6; } 30471if test "x$ac_cv_lib_una_libuna_base32_quintuplet_copy_to_base32_stream" = xyes; then : 30472 ac_cv_libuna_dummy=yes 30473else 30474 ac_cv_libuna=no 30475fi 30476 30477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_quintuplet_copy_from_byte_stream in -luna" >&5 30478$as_echo_n "checking for libuna_base32_quintuplet_copy_from_byte_stream in -luna... " >&6; } 30479if ${ac_cv_lib_una_libuna_base32_quintuplet_copy_from_byte_stream+:} false; then : 30480 $as_echo_n "(cached) " >&6 30481else 30482 ac_check_lib_save_LIBS=$LIBS 30483LIBS="-luna $LIBS" 30484cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30485/* end confdefs.h. */ 30486 30487/* Override any GCC internal prototype to avoid an error. 30488 Use char because int might match the return type of a GCC 30489 builtin and then its argument prototype would still apply. */ 30490#ifdef __cplusplus 30491extern "C" 30492#endif 30493char libuna_base32_quintuplet_copy_from_byte_stream (); 30494int 30495main () 30496{ 30497return libuna_base32_quintuplet_copy_from_byte_stream (); 30498 ; 30499 return 0; 30500} 30501_ACEOF 30502if ac_fn_c_try_link "$LINENO"; then : 30503 ac_cv_lib_una_libuna_base32_quintuplet_copy_from_byte_stream=yes 30504else 30505 ac_cv_lib_una_libuna_base32_quintuplet_copy_from_byte_stream=no 30506fi 30507rm -f core conftest.err conftest.$ac_objext \ 30508 conftest$ac_exeext conftest.$ac_ext 30509LIBS=$ac_check_lib_save_LIBS 30510fi 30511{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_quintuplet_copy_from_byte_stream" >&5 30512$as_echo "$ac_cv_lib_una_libuna_base32_quintuplet_copy_from_byte_stream" >&6; } 30513if test "x$ac_cv_lib_una_libuna_base32_quintuplet_copy_from_byte_stream" = xyes; then : 30514 ac_cv_libuna_dummy=yes 30515else 30516 ac_cv_libuna=no 30517fi 30518 30519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_quintuplet_copy_to_byte_stream in -luna" >&5 30520$as_echo_n "checking for libuna_base32_quintuplet_copy_to_byte_stream in -luna... " >&6; } 30521if ${ac_cv_lib_una_libuna_base32_quintuplet_copy_to_byte_stream+:} false; then : 30522 $as_echo_n "(cached) " >&6 30523else 30524 ac_check_lib_save_LIBS=$LIBS 30525LIBS="-luna $LIBS" 30526cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30527/* end confdefs.h. */ 30528 30529/* Override any GCC internal prototype to avoid an error. 30530 Use char because int might match the return type of a GCC 30531 builtin and then its argument prototype would still apply. */ 30532#ifdef __cplusplus 30533extern "C" 30534#endif 30535char libuna_base32_quintuplet_copy_to_byte_stream (); 30536int 30537main () 30538{ 30539return libuna_base32_quintuplet_copy_to_byte_stream (); 30540 ; 30541 return 0; 30542} 30543_ACEOF 30544if ac_fn_c_try_link "$LINENO"; then : 30545 ac_cv_lib_una_libuna_base32_quintuplet_copy_to_byte_stream=yes 30546else 30547 ac_cv_lib_una_libuna_base32_quintuplet_copy_to_byte_stream=no 30548fi 30549rm -f core conftest.err conftest.$ac_objext \ 30550 conftest$ac_exeext conftest.$ac_ext 30551LIBS=$ac_check_lib_save_LIBS 30552fi 30553{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_quintuplet_copy_to_byte_stream" >&5 30554$as_echo "$ac_cv_lib_una_libuna_base32_quintuplet_copy_to_byte_stream" >&6; } 30555if test "x$ac_cv_lib_una_libuna_base32_quintuplet_copy_to_byte_stream" = xyes; then : 30556 ac_cv_libuna_dummy=yes 30557else 30558 ac_cv_libuna=no 30559fi 30560 30561 30562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_stream_size_to_byte_stream in -luna" >&5 30563$as_echo_n "checking for libuna_base32_stream_size_to_byte_stream in -luna... " >&6; } 30564if ${ac_cv_lib_una_libuna_base32_stream_size_to_byte_stream+:} false; then : 30565 $as_echo_n "(cached) " >&6 30566else 30567 ac_check_lib_save_LIBS=$LIBS 30568LIBS="-luna $LIBS" 30569cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30570/* end confdefs.h. */ 30571 30572/* Override any GCC internal prototype to avoid an error. 30573 Use char because int might match the return type of a GCC 30574 builtin and then its argument prototype would still apply. */ 30575#ifdef __cplusplus 30576extern "C" 30577#endif 30578char libuna_base32_stream_size_to_byte_stream (); 30579int 30580main () 30581{ 30582return libuna_base32_stream_size_to_byte_stream (); 30583 ; 30584 return 0; 30585} 30586_ACEOF 30587if ac_fn_c_try_link "$LINENO"; then : 30588 ac_cv_lib_una_libuna_base32_stream_size_to_byte_stream=yes 30589else 30590 ac_cv_lib_una_libuna_base32_stream_size_to_byte_stream=no 30591fi 30592rm -f core conftest.err conftest.$ac_objext \ 30593 conftest$ac_exeext conftest.$ac_ext 30594LIBS=$ac_check_lib_save_LIBS 30595fi 30596{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_stream_size_to_byte_stream" >&5 30597$as_echo "$ac_cv_lib_una_libuna_base32_stream_size_to_byte_stream" >&6; } 30598if test "x$ac_cv_lib_una_libuna_base32_stream_size_to_byte_stream" = xyes; then : 30599 ac_cv_libuna_dummy=yes 30600else 30601 ac_cv_libuna=no 30602fi 30603 30604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_stream_copy_to_byte_stream in -luna" >&5 30605$as_echo_n "checking for libuna_base32_stream_copy_to_byte_stream in -luna... " >&6; } 30606if ${ac_cv_lib_una_libuna_base32_stream_copy_to_byte_stream+:} false; then : 30607 $as_echo_n "(cached) " >&6 30608else 30609 ac_check_lib_save_LIBS=$LIBS 30610LIBS="-luna $LIBS" 30611cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30612/* end confdefs.h. */ 30613 30614/* Override any GCC internal prototype to avoid an error. 30615 Use char because int might match the return type of a GCC 30616 builtin and then its argument prototype would still apply. */ 30617#ifdef __cplusplus 30618extern "C" 30619#endif 30620char libuna_base32_stream_copy_to_byte_stream (); 30621int 30622main () 30623{ 30624return libuna_base32_stream_copy_to_byte_stream (); 30625 ; 30626 return 0; 30627} 30628_ACEOF 30629if ac_fn_c_try_link "$LINENO"; then : 30630 ac_cv_lib_una_libuna_base32_stream_copy_to_byte_stream=yes 30631else 30632 ac_cv_lib_una_libuna_base32_stream_copy_to_byte_stream=no 30633fi 30634rm -f core conftest.err conftest.$ac_objext \ 30635 conftest$ac_exeext conftest.$ac_ext 30636LIBS=$ac_check_lib_save_LIBS 30637fi 30638{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_stream_copy_to_byte_stream" >&5 30639$as_echo "$ac_cv_lib_una_libuna_base32_stream_copy_to_byte_stream" >&6; } 30640if test "x$ac_cv_lib_una_libuna_base32_stream_copy_to_byte_stream" = xyes; then : 30641 ac_cv_libuna_dummy=yes 30642else 30643 ac_cv_libuna=no 30644fi 30645 30646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_stream_size_from_byte_stream in -luna" >&5 30647$as_echo_n "checking for libuna_base32_stream_size_from_byte_stream in -luna... " >&6; } 30648if ${ac_cv_lib_una_libuna_base32_stream_size_from_byte_stream+:} false; then : 30649 $as_echo_n "(cached) " >&6 30650else 30651 ac_check_lib_save_LIBS=$LIBS 30652LIBS="-luna $LIBS" 30653cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30654/* end confdefs.h. */ 30655 30656/* Override any GCC internal prototype to avoid an error. 30657 Use char because int might match the return type of a GCC 30658 builtin and then its argument prototype would still apply. */ 30659#ifdef __cplusplus 30660extern "C" 30661#endif 30662char libuna_base32_stream_size_from_byte_stream (); 30663int 30664main () 30665{ 30666return libuna_base32_stream_size_from_byte_stream (); 30667 ; 30668 return 0; 30669} 30670_ACEOF 30671if ac_fn_c_try_link "$LINENO"; then : 30672 ac_cv_lib_una_libuna_base32_stream_size_from_byte_stream=yes 30673else 30674 ac_cv_lib_una_libuna_base32_stream_size_from_byte_stream=no 30675fi 30676rm -f core conftest.err conftest.$ac_objext \ 30677 conftest$ac_exeext conftest.$ac_ext 30678LIBS=$ac_check_lib_save_LIBS 30679fi 30680{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_stream_size_from_byte_stream" >&5 30681$as_echo "$ac_cv_lib_una_libuna_base32_stream_size_from_byte_stream" >&6; } 30682if test "x$ac_cv_lib_una_libuna_base32_stream_size_from_byte_stream" = xyes; then : 30683 ac_cv_libuna_dummy=yes 30684else 30685 ac_cv_libuna=no 30686fi 30687 30688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_stream_copy_from_byte_stream in -luna" >&5 30689$as_echo_n "checking for libuna_base32_stream_copy_from_byte_stream in -luna... " >&6; } 30690if ${ac_cv_lib_una_libuna_base32_stream_copy_from_byte_stream+:} false; then : 30691 $as_echo_n "(cached) " >&6 30692else 30693 ac_check_lib_save_LIBS=$LIBS 30694LIBS="-luna $LIBS" 30695cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30696/* end confdefs.h. */ 30697 30698/* Override any GCC internal prototype to avoid an error. 30699 Use char because int might match the return type of a GCC 30700 builtin and then its argument prototype would still apply. */ 30701#ifdef __cplusplus 30702extern "C" 30703#endif 30704char libuna_base32_stream_copy_from_byte_stream (); 30705int 30706main () 30707{ 30708return libuna_base32_stream_copy_from_byte_stream (); 30709 ; 30710 return 0; 30711} 30712_ACEOF 30713if ac_fn_c_try_link "$LINENO"; then : 30714 ac_cv_lib_una_libuna_base32_stream_copy_from_byte_stream=yes 30715else 30716 ac_cv_lib_una_libuna_base32_stream_copy_from_byte_stream=no 30717fi 30718rm -f core conftest.err conftest.$ac_objext \ 30719 conftest$ac_exeext conftest.$ac_ext 30720LIBS=$ac_check_lib_save_LIBS 30721fi 30722{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_stream_copy_from_byte_stream" >&5 30723$as_echo "$ac_cv_lib_una_libuna_base32_stream_copy_from_byte_stream" >&6; } 30724if test "x$ac_cv_lib_una_libuna_base32_stream_copy_from_byte_stream" = xyes; then : 30725 ac_cv_libuna_dummy=yes 30726else 30727 ac_cv_libuna=no 30728fi 30729 30730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base32_stream_with_index_copy_from_byte_stream in -luna" >&5 30731$as_echo_n "checking for libuna_base32_stream_with_index_copy_from_byte_stream in -luna... " >&6; } 30732if ${ac_cv_lib_una_libuna_base32_stream_with_index_copy_from_byte_stream+:} false; then : 30733 $as_echo_n "(cached) " >&6 30734else 30735 ac_check_lib_save_LIBS=$LIBS 30736LIBS="-luna $LIBS" 30737cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30738/* end confdefs.h. */ 30739 30740/* Override any GCC internal prototype to avoid an error. 30741 Use char because int might match the return type of a GCC 30742 builtin and then its argument prototype would still apply. */ 30743#ifdef __cplusplus 30744extern "C" 30745#endif 30746char libuna_base32_stream_with_index_copy_from_byte_stream (); 30747int 30748main () 30749{ 30750return libuna_base32_stream_with_index_copy_from_byte_stream (); 30751 ; 30752 return 0; 30753} 30754_ACEOF 30755if ac_fn_c_try_link "$LINENO"; then : 30756 ac_cv_lib_una_libuna_base32_stream_with_index_copy_from_byte_stream=yes 30757else 30758 ac_cv_lib_una_libuna_base32_stream_with_index_copy_from_byte_stream=no 30759fi 30760rm -f core conftest.err conftest.$ac_objext \ 30761 conftest$ac_exeext conftest.$ac_ext 30762LIBS=$ac_check_lib_save_LIBS 30763fi 30764{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base32_stream_with_index_copy_from_byte_stream" >&5 30765$as_echo "$ac_cv_lib_una_libuna_base32_stream_with_index_copy_from_byte_stream" >&6; } 30766if test "x$ac_cv_lib_una_libuna_base32_stream_with_index_copy_from_byte_stream" = xyes; then : 30767 ac_cv_libuna_dummy=yes 30768else 30769 ac_cv_libuna=no 30770fi 30771 30772 30773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_triplet_copy_from_base64_stream in -luna" >&5 30774$as_echo_n "checking for libuna_base64_triplet_copy_from_base64_stream in -luna... " >&6; } 30775if ${ac_cv_lib_una_libuna_base64_triplet_copy_from_base64_stream+:} false; then : 30776 $as_echo_n "(cached) " >&6 30777else 30778 ac_check_lib_save_LIBS=$LIBS 30779LIBS="-luna $LIBS" 30780cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30781/* end confdefs.h. */ 30782 30783/* Override any GCC internal prototype to avoid an error. 30784 Use char because int might match the return type of a GCC 30785 builtin and then its argument prototype would still apply. */ 30786#ifdef __cplusplus 30787extern "C" 30788#endif 30789char libuna_base64_triplet_copy_from_base64_stream (); 30790int 30791main () 30792{ 30793return libuna_base64_triplet_copy_from_base64_stream (); 30794 ; 30795 return 0; 30796} 30797_ACEOF 30798if ac_fn_c_try_link "$LINENO"; then : 30799 ac_cv_lib_una_libuna_base64_triplet_copy_from_base64_stream=yes 30800else 30801 ac_cv_lib_una_libuna_base64_triplet_copy_from_base64_stream=no 30802fi 30803rm -f core conftest.err conftest.$ac_objext \ 30804 conftest$ac_exeext conftest.$ac_ext 30805LIBS=$ac_check_lib_save_LIBS 30806fi 30807{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_triplet_copy_from_base64_stream" >&5 30808$as_echo "$ac_cv_lib_una_libuna_base64_triplet_copy_from_base64_stream" >&6; } 30809if test "x$ac_cv_lib_una_libuna_base64_triplet_copy_from_base64_stream" = xyes; then : 30810 ac_cv_libuna_dummy=yes 30811else 30812 ac_cv_libuna=no 30813fi 30814 30815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_triplet_copy_to_base64_stream in -luna" >&5 30816$as_echo_n "checking for libuna_base64_triplet_copy_to_base64_stream in -luna... " >&6; } 30817if ${ac_cv_lib_una_libuna_base64_triplet_copy_to_base64_stream+:} false; then : 30818 $as_echo_n "(cached) " >&6 30819else 30820 ac_check_lib_save_LIBS=$LIBS 30821LIBS="-luna $LIBS" 30822cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30823/* end confdefs.h. */ 30824 30825/* Override any GCC internal prototype to avoid an error. 30826 Use char because int might match the return type of a GCC 30827 builtin and then its argument prototype would still apply. */ 30828#ifdef __cplusplus 30829extern "C" 30830#endif 30831char libuna_base64_triplet_copy_to_base64_stream (); 30832int 30833main () 30834{ 30835return libuna_base64_triplet_copy_to_base64_stream (); 30836 ; 30837 return 0; 30838} 30839_ACEOF 30840if ac_fn_c_try_link "$LINENO"; then : 30841 ac_cv_lib_una_libuna_base64_triplet_copy_to_base64_stream=yes 30842else 30843 ac_cv_lib_una_libuna_base64_triplet_copy_to_base64_stream=no 30844fi 30845rm -f core conftest.err conftest.$ac_objext \ 30846 conftest$ac_exeext conftest.$ac_ext 30847LIBS=$ac_check_lib_save_LIBS 30848fi 30849{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_triplet_copy_to_base64_stream" >&5 30850$as_echo "$ac_cv_lib_una_libuna_base64_triplet_copy_to_base64_stream" >&6; } 30851if test "x$ac_cv_lib_una_libuna_base64_triplet_copy_to_base64_stream" = xyes; then : 30852 ac_cv_libuna_dummy=yes 30853else 30854 ac_cv_libuna=no 30855fi 30856 30857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_triplet_copy_from_byte_stream in -luna" >&5 30858$as_echo_n "checking for libuna_base64_triplet_copy_from_byte_stream in -luna... " >&6; } 30859if ${ac_cv_lib_una_libuna_base64_triplet_copy_from_byte_stream+:} false; then : 30860 $as_echo_n "(cached) " >&6 30861else 30862 ac_check_lib_save_LIBS=$LIBS 30863LIBS="-luna $LIBS" 30864cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30865/* end confdefs.h. */ 30866 30867/* Override any GCC internal prototype to avoid an error. 30868 Use char because int might match the return type of a GCC 30869 builtin and then its argument prototype would still apply. */ 30870#ifdef __cplusplus 30871extern "C" 30872#endif 30873char libuna_base64_triplet_copy_from_byte_stream (); 30874int 30875main () 30876{ 30877return libuna_base64_triplet_copy_from_byte_stream (); 30878 ; 30879 return 0; 30880} 30881_ACEOF 30882if ac_fn_c_try_link "$LINENO"; then : 30883 ac_cv_lib_una_libuna_base64_triplet_copy_from_byte_stream=yes 30884else 30885 ac_cv_lib_una_libuna_base64_triplet_copy_from_byte_stream=no 30886fi 30887rm -f core conftest.err conftest.$ac_objext \ 30888 conftest$ac_exeext conftest.$ac_ext 30889LIBS=$ac_check_lib_save_LIBS 30890fi 30891{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_triplet_copy_from_byte_stream" >&5 30892$as_echo "$ac_cv_lib_una_libuna_base64_triplet_copy_from_byte_stream" >&6; } 30893if test "x$ac_cv_lib_una_libuna_base64_triplet_copy_from_byte_stream" = xyes; then : 30894 ac_cv_libuna_dummy=yes 30895else 30896 ac_cv_libuna=no 30897fi 30898 30899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_triplet_copy_to_byte_stream in -luna" >&5 30900$as_echo_n "checking for libuna_base64_triplet_copy_to_byte_stream in -luna... " >&6; } 30901if ${ac_cv_lib_una_libuna_base64_triplet_copy_to_byte_stream+:} false; then : 30902 $as_echo_n "(cached) " >&6 30903else 30904 ac_check_lib_save_LIBS=$LIBS 30905LIBS="-luna $LIBS" 30906cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30907/* end confdefs.h. */ 30908 30909/* Override any GCC internal prototype to avoid an error. 30910 Use char because int might match the return type of a GCC 30911 builtin and then its argument prototype would still apply. */ 30912#ifdef __cplusplus 30913extern "C" 30914#endif 30915char libuna_base64_triplet_copy_to_byte_stream (); 30916int 30917main () 30918{ 30919return libuna_base64_triplet_copy_to_byte_stream (); 30920 ; 30921 return 0; 30922} 30923_ACEOF 30924if ac_fn_c_try_link "$LINENO"; then : 30925 ac_cv_lib_una_libuna_base64_triplet_copy_to_byte_stream=yes 30926else 30927 ac_cv_lib_una_libuna_base64_triplet_copy_to_byte_stream=no 30928fi 30929rm -f core conftest.err conftest.$ac_objext \ 30930 conftest$ac_exeext conftest.$ac_ext 30931LIBS=$ac_check_lib_save_LIBS 30932fi 30933{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_triplet_copy_to_byte_stream" >&5 30934$as_echo "$ac_cv_lib_una_libuna_base64_triplet_copy_to_byte_stream" >&6; } 30935if test "x$ac_cv_lib_una_libuna_base64_triplet_copy_to_byte_stream" = xyes; then : 30936 ac_cv_libuna_dummy=yes 30937else 30938 ac_cv_libuna=no 30939fi 30940 30941 30942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_stream_size_to_byte_stream in -luna" >&5 30943$as_echo_n "checking for libuna_base64_stream_size_to_byte_stream in -luna... " >&6; } 30944if ${ac_cv_lib_una_libuna_base64_stream_size_to_byte_stream+:} false; then : 30945 $as_echo_n "(cached) " >&6 30946else 30947 ac_check_lib_save_LIBS=$LIBS 30948LIBS="-luna $LIBS" 30949cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30950/* end confdefs.h. */ 30951 30952/* Override any GCC internal prototype to avoid an error. 30953 Use char because int might match the return type of a GCC 30954 builtin and then its argument prototype would still apply. */ 30955#ifdef __cplusplus 30956extern "C" 30957#endif 30958char libuna_base64_stream_size_to_byte_stream (); 30959int 30960main () 30961{ 30962return libuna_base64_stream_size_to_byte_stream (); 30963 ; 30964 return 0; 30965} 30966_ACEOF 30967if ac_fn_c_try_link "$LINENO"; then : 30968 ac_cv_lib_una_libuna_base64_stream_size_to_byte_stream=yes 30969else 30970 ac_cv_lib_una_libuna_base64_stream_size_to_byte_stream=no 30971fi 30972rm -f core conftest.err conftest.$ac_objext \ 30973 conftest$ac_exeext conftest.$ac_ext 30974LIBS=$ac_check_lib_save_LIBS 30975fi 30976{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_stream_size_to_byte_stream" >&5 30977$as_echo "$ac_cv_lib_una_libuna_base64_stream_size_to_byte_stream" >&6; } 30978if test "x$ac_cv_lib_una_libuna_base64_stream_size_to_byte_stream" = xyes; then : 30979 ac_cv_libuna_dummy=yes 30980else 30981 ac_cv_libuna=no 30982fi 30983 30984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_stream_copy_to_byte_stream in -luna" >&5 30985$as_echo_n "checking for libuna_base64_stream_copy_to_byte_stream in -luna... " >&6; } 30986if ${ac_cv_lib_una_libuna_base64_stream_copy_to_byte_stream+:} false; then : 30987 $as_echo_n "(cached) " >&6 30988else 30989 ac_check_lib_save_LIBS=$LIBS 30990LIBS="-luna $LIBS" 30991cat confdefs.h - <<_ACEOF >conftest.$ac_ext 30992/* end confdefs.h. */ 30993 30994/* Override any GCC internal prototype to avoid an error. 30995 Use char because int might match the return type of a GCC 30996 builtin and then its argument prototype would still apply. */ 30997#ifdef __cplusplus 30998extern "C" 30999#endif 31000char libuna_base64_stream_copy_to_byte_stream (); 31001int 31002main () 31003{ 31004return libuna_base64_stream_copy_to_byte_stream (); 31005 ; 31006 return 0; 31007} 31008_ACEOF 31009if ac_fn_c_try_link "$LINENO"; then : 31010 ac_cv_lib_una_libuna_base64_stream_copy_to_byte_stream=yes 31011else 31012 ac_cv_lib_una_libuna_base64_stream_copy_to_byte_stream=no 31013fi 31014rm -f core conftest.err conftest.$ac_objext \ 31015 conftest$ac_exeext conftest.$ac_ext 31016LIBS=$ac_check_lib_save_LIBS 31017fi 31018{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_stream_copy_to_byte_stream" >&5 31019$as_echo "$ac_cv_lib_una_libuna_base64_stream_copy_to_byte_stream" >&6; } 31020if test "x$ac_cv_lib_una_libuna_base64_stream_copy_to_byte_stream" = xyes; then : 31021 ac_cv_libuna_dummy=yes 31022else 31023 ac_cv_libuna=no 31024fi 31025 31026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_stream_size_from_byte_stream in -luna" >&5 31027$as_echo_n "checking for libuna_base64_stream_size_from_byte_stream in -luna... " >&6; } 31028if ${ac_cv_lib_una_libuna_base64_stream_size_from_byte_stream+:} false; then : 31029 $as_echo_n "(cached) " >&6 31030else 31031 ac_check_lib_save_LIBS=$LIBS 31032LIBS="-luna $LIBS" 31033cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31034/* end confdefs.h. */ 31035 31036/* Override any GCC internal prototype to avoid an error. 31037 Use char because int might match the return type of a GCC 31038 builtin and then its argument prototype would still apply. */ 31039#ifdef __cplusplus 31040extern "C" 31041#endif 31042char libuna_base64_stream_size_from_byte_stream (); 31043int 31044main () 31045{ 31046return libuna_base64_stream_size_from_byte_stream (); 31047 ; 31048 return 0; 31049} 31050_ACEOF 31051if ac_fn_c_try_link "$LINENO"; then : 31052 ac_cv_lib_una_libuna_base64_stream_size_from_byte_stream=yes 31053else 31054 ac_cv_lib_una_libuna_base64_stream_size_from_byte_stream=no 31055fi 31056rm -f core conftest.err conftest.$ac_objext \ 31057 conftest$ac_exeext conftest.$ac_ext 31058LIBS=$ac_check_lib_save_LIBS 31059fi 31060{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_stream_size_from_byte_stream" >&5 31061$as_echo "$ac_cv_lib_una_libuna_base64_stream_size_from_byte_stream" >&6; } 31062if test "x$ac_cv_lib_una_libuna_base64_stream_size_from_byte_stream" = xyes; then : 31063 ac_cv_libuna_dummy=yes 31064else 31065 ac_cv_libuna=no 31066fi 31067 31068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_stream_copy_from_byte_stream in -luna" >&5 31069$as_echo_n "checking for libuna_base64_stream_copy_from_byte_stream in -luna... " >&6; } 31070if ${ac_cv_lib_una_libuna_base64_stream_copy_from_byte_stream+:} false; then : 31071 $as_echo_n "(cached) " >&6 31072else 31073 ac_check_lib_save_LIBS=$LIBS 31074LIBS="-luna $LIBS" 31075cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31076/* end confdefs.h. */ 31077 31078/* Override any GCC internal prototype to avoid an error. 31079 Use char because int might match the return type of a GCC 31080 builtin and then its argument prototype would still apply. */ 31081#ifdef __cplusplus 31082extern "C" 31083#endif 31084char libuna_base64_stream_copy_from_byte_stream (); 31085int 31086main () 31087{ 31088return libuna_base64_stream_copy_from_byte_stream (); 31089 ; 31090 return 0; 31091} 31092_ACEOF 31093if ac_fn_c_try_link "$LINENO"; then : 31094 ac_cv_lib_una_libuna_base64_stream_copy_from_byte_stream=yes 31095else 31096 ac_cv_lib_una_libuna_base64_stream_copy_from_byte_stream=no 31097fi 31098rm -f core conftest.err conftest.$ac_objext \ 31099 conftest$ac_exeext conftest.$ac_ext 31100LIBS=$ac_check_lib_save_LIBS 31101fi 31102{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_stream_copy_from_byte_stream" >&5 31103$as_echo "$ac_cv_lib_una_libuna_base64_stream_copy_from_byte_stream" >&6; } 31104if test "x$ac_cv_lib_una_libuna_base64_stream_copy_from_byte_stream" = xyes; then : 31105 ac_cv_libuna_dummy=yes 31106else 31107 ac_cv_libuna=no 31108fi 31109 31110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_base64_stream_with_index_copy_from_byte_stream in -luna" >&5 31111$as_echo_n "checking for libuna_base64_stream_with_index_copy_from_byte_stream in -luna... " >&6; } 31112if ${ac_cv_lib_una_libuna_base64_stream_with_index_copy_from_byte_stream+:} false; then : 31113 $as_echo_n "(cached) " >&6 31114else 31115 ac_check_lib_save_LIBS=$LIBS 31116LIBS="-luna $LIBS" 31117cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31118/* end confdefs.h. */ 31119 31120/* Override any GCC internal prototype to avoid an error. 31121 Use char because int might match the return type of a GCC 31122 builtin and then its argument prototype would still apply. */ 31123#ifdef __cplusplus 31124extern "C" 31125#endif 31126char libuna_base64_stream_with_index_copy_from_byte_stream (); 31127int 31128main () 31129{ 31130return libuna_base64_stream_with_index_copy_from_byte_stream (); 31131 ; 31132 return 0; 31133} 31134_ACEOF 31135if ac_fn_c_try_link "$LINENO"; then : 31136 ac_cv_lib_una_libuna_base64_stream_with_index_copy_from_byte_stream=yes 31137else 31138 ac_cv_lib_una_libuna_base64_stream_with_index_copy_from_byte_stream=no 31139fi 31140rm -f core conftest.err conftest.$ac_objext \ 31141 conftest$ac_exeext conftest.$ac_ext 31142LIBS=$ac_check_lib_save_LIBS 31143fi 31144{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_base64_stream_with_index_copy_from_byte_stream" >&5 31145$as_echo "$ac_cv_lib_una_libuna_base64_stream_with_index_copy_from_byte_stream" >&6; } 31146if test "x$ac_cv_lib_una_libuna_base64_stream_with_index_copy_from_byte_stream" = xyes; then : 31147 ac_cv_libuna_dummy=yes 31148else 31149 ac_cv_libuna=no 31150fi 31151 31152 31153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_byte_stream_size_from_utf8 in -luna" >&5 31154$as_echo_n "checking for libuna_byte_stream_size_from_utf8 in -luna... " >&6; } 31155if ${ac_cv_lib_una_libuna_byte_stream_size_from_utf8+:} false; then : 31156 $as_echo_n "(cached) " >&6 31157else 31158 ac_check_lib_save_LIBS=$LIBS 31159LIBS="-luna $LIBS" 31160cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31161/* end confdefs.h. */ 31162 31163/* Override any GCC internal prototype to avoid an error. 31164 Use char because int might match the return type of a GCC 31165 builtin and then its argument prototype would still apply. */ 31166#ifdef __cplusplus 31167extern "C" 31168#endif 31169char libuna_byte_stream_size_from_utf8 (); 31170int 31171main () 31172{ 31173return libuna_byte_stream_size_from_utf8 (); 31174 ; 31175 return 0; 31176} 31177_ACEOF 31178if ac_fn_c_try_link "$LINENO"; then : 31179 ac_cv_lib_una_libuna_byte_stream_size_from_utf8=yes 31180else 31181 ac_cv_lib_una_libuna_byte_stream_size_from_utf8=no 31182fi 31183rm -f core conftest.err conftest.$ac_objext \ 31184 conftest$ac_exeext conftest.$ac_ext 31185LIBS=$ac_check_lib_save_LIBS 31186fi 31187{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_byte_stream_size_from_utf8" >&5 31188$as_echo "$ac_cv_lib_una_libuna_byte_stream_size_from_utf8" >&6; } 31189if test "x$ac_cv_lib_una_libuna_byte_stream_size_from_utf8" = xyes; then : 31190 ac_cv_libuna_dummy=yes 31191else 31192 ac_cv_libuna=no 31193fi 31194 31195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_byte_stream_copy_from_utf8 in -luna" >&5 31196$as_echo_n "checking for libuna_byte_stream_copy_from_utf8 in -luna... " >&6; } 31197if ${ac_cv_lib_una_libuna_byte_stream_copy_from_utf8+:} false; then : 31198 $as_echo_n "(cached) " >&6 31199else 31200 ac_check_lib_save_LIBS=$LIBS 31201LIBS="-luna $LIBS" 31202cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31203/* end confdefs.h. */ 31204 31205/* Override any GCC internal prototype to avoid an error. 31206 Use char because int might match the return type of a GCC 31207 builtin and then its argument prototype would still apply. */ 31208#ifdef __cplusplus 31209extern "C" 31210#endif 31211char libuna_byte_stream_copy_from_utf8 (); 31212int 31213main () 31214{ 31215return libuna_byte_stream_copy_from_utf8 (); 31216 ; 31217 return 0; 31218} 31219_ACEOF 31220if ac_fn_c_try_link "$LINENO"; then : 31221 ac_cv_lib_una_libuna_byte_stream_copy_from_utf8=yes 31222else 31223 ac_cv_lib_una_libuna_byte_stream_copy_from_utf8=no 31224fi 31225rm -f core conftest.err conftest.$ac_objext \ 31226 conftest$ac_exeext conftest.$ac_ext 31227LIBS=$ac_check_lib_save_LIBS 31228fi 31229{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_byte_stream_copy_from_utf8" >&5 31230$as_echo "$ac_cv_lib_una_libuna_byte_stream_copy_from_utf8" >&6; } 31231if test "x$ac_cv_lib_una_libuna_byte_stream_copy_from_utf8" = xyes; then : 31232 ac_cv_libuna_dummy=yes 31233else 31234 ac_cv_libuna=no 31235fi 31236 31237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_byte_stream_size_from_utf16 in -luna" >&5 31238$as_echo_n "checking for libuna_byte_stream_size_from_utf16 in -luna... " >&6; } 31239if ${ac_cv_lib_una_libuna_byte_stream_size_from_utf16+:} false; then : 31240 $as_echo_n "(cached) " >&6 31241else 31242 ac_check_lib_save_LIBS=$LIBS 31243LIBS="-luna $LIBS" 31244cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31245/* end confdefs.h. */ 31246 31247/* Override any GCC internal prototype to avoid an error. 31248 Use char because int might match the return type of a GCC 31249 builtin and then its argument prototype would still apply. */ 31250#ifdef __cplusplus 31251extern "C" 31252#endif 31253char libuna_byte_stream_size_from_utf16 (); 31254int 31255main () 31256{ 31257return libuna_byte_stream_size_from_utf16 (); 31258 ; 31259 return 0; 31260} 31261_ACEOF 31262if ac_fn_c_try_link "$LINENO"; then : 31263 ac_cv_lib_una_libuna_byte_stream_size_from_utf16=yes 31264else 31265 ac_cv_lib_una_libuna_byte_stream_size_from_utf16=no 31266fi 31267rm -f core conftest.err conftest.$ac_objext \ 31268 conftest$ac_exeext conftest.$ac_ext 31269LIBS=$ac_check_lib_save_LIBS 31270fi 31271{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_byte_stream_size_from_utf16" >&5 31272$as_echo "$ac_cv_lib_una_libuna_byte_stream_size_from_utf16" >&6; } 31273if test "x$ac_cv_lib_una_libuna_byte_stream_size_from_utf16" = xyes; then : 31274 ac_cv_libuna_dummy=yes 31275else 31276 ac_cv_libuna=no 31277fi 31278 31279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_byte_stream_copy_from_utf16 in -luna" >&5 31280$as_echo_n "checking for libuna_byte_stream_copy_from_utf16 in -luna... " >&6; } 31281if ${ac_cv_lib_una_libuna_byte_stream_copy_from_utf16+:} false; then : 31282 $as_echo_n "(cached) " >&6 31283else 31284 ac_check_lib_save_LIBS=$LIBS 31285LIBS="-luna $LIBS" 31286cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31287/* end confdefs.h. */ 31288 31289/* Override any GCC internal prototype to avoid an error. 31290 Use char because int might match the return type of a GCC 31291 builtin and then its argument prototype would still apply. */ 31292#ifdef __cplusplus 31293extern "C" 31294#endif 31295char libuna_byte_stream_copy_from_utf16 (); 31296int 31297main () 31298{ 31299return libuna_byte_stream_copy_from_utf16 (); 31300 ; 31301 return 0; 31302} 31303_ACEOF 31304if ac_fn_c_try_link "$LINENO"; then : 31305 ac_cv_lib_una_libuna_byte_stream_copy_from_utf16=yes 31306else 31307 ac_cv_lib_una_libuna_byte_stream_copy_from_utf16=no 31308fi 31309rm -f core conftest.err conftest.$ac_objext \ 31310 conftest$ac_exeext conftest.$ac_ext 31311LIBS=$ac_check_lib_save_LIBS 31312fi 31313{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_byte_stream_copy_from_utf16" >&5 31314$as_echo "$ac_cv_lib_una_libuna_byte_stream_copy_from_utf16" >&6; } 31315if test "x$ac_cv_lib_una_libuna_byte_stream_copy_from_utf16" = xyes; then : 31316 ac_cv_libuna_dummy=yes 31317else 31318 ac_cv_libuna=no 31319fi 31320 31321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_byte_stream_size_from_utf32 in -luna" >&5 31322$as_echo_n "checking for libuna_byte_stream_size_from_utf32 in -luna... " >&6; } 31323if ${ac_cv_lib_una_libuna_byte_stream_size_from_utf32+:} false; then : 31324 $as_echo_n "(cached) " >&6 31325else 31326 ac_check_lib_save_LIBS=$LIBS 31327LIBS="-luna $LIBS" 31328cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31329/* end confdefs.h. */ 31330 31331/* Override any GCC internal prototype to avoid an error. 31332 Use char because int might match the return type of a GCC 31333 builtin and then its argument prototype would still apply. */ 31334#ifdef __cplusplus 31335extern "C" 31336#endif 31337char libuna_byte_stream_size_from_utf32 (); 31338int 31339main () 31340{ 31341return libuna_byte_stream_size_from_utf32 (); 31342 ; 31343 return 0; 31344} 31345_ACEOF 31346if ac_fn_c_try_link "$LINENO"; then : 31347 ac_cv_lib_una_libuna_byte_stream_size_from_utf32=yes 31348else 31349 ac_cv_lib_una_libuna_byte_stream_size_from_utf32=no 31350fi 31351rm -f core conftest.err conftest.$ac_objext \ 31352 conftest$ac_exeext conftest.$ac_ext 31353LIBS=$ac_check_lib_save_LIBS 31354fi 31355{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_byte_stream_size_from_utf32" >&5 31356$as_echo "$ac_cv_lib_una_libuna_byte_stream_size_from_utf32" >&6; } 31357if test "x$ac_cv_lib_una_libuna_byte_stream_size_from_utf32" = xyes; then : 31358 ac_cv_libuna_dummy=yes 31359else 31360 ac_cv_libuna=no 31361fi 31362 31363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_byte_stream_copy_from_utf32 in -luna" >&5 31364$as_echo_n "checking for libuna_byte_stream_copy_from_utf32 in -luna... " >&6; } 31365if ${ac_cv_lib_una_libuna_byte_stream_copy_from_utf32+:} false; then : 31366 $as_echo_n "(cached) " >&6 31367else 31368 ac_check_lib_save_LIBS=$LIBS 31369LIBS="-luna $LIBS" 31370cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31371/* end confdefs.h. */ 31372 31373/* Override any GCC internal prototype to avoid an error. 31374 Use char because int might match the return type of a GCC 31375 builtin and then its argument prototype would still apply. */ 31376#ifdef __cplusplus 31377extern "C" 31378#endif 31379char libuna_byte_stream_copy_from_utf32 (); 31380int 31381main () 31382{ 31383return libuna_byte_stream_copy_from_utf32 (); 31384 ; 31385 return 0; 31386} 31387_ACEOF 31388if ac_fn_c_try_link "$LINENO"; then : 31389 ac_cv_lib_una_libuna_byte_stream_copy_from_utf32=yes 31390else 31391 ac_cv_lib_una_libuna_byte_stream_copy_from_utf32=no 31392fi 31393rm -f core conftest.err conftest.$ac_objext \ 31394 conftest$ac_exeext conftest.$ac_ext 31395LIBS=$ac_check_lib_save_LIBS 31396fi 31397{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_byte_stream_copy_from_utf32" >&5 31398$as_echo "$ac_cv_lib_una_libuna_byte_stream_copy_from_utf32" >&6; } 31399if test "x$ac_cv_lib_una_libuna_byte_stream_copy_from_utf32" = xyes; then : 31400 ac_cv_libuna_dummy=yes 31401else 31402 ac_cv_libuna=no 31403fi 31404 31405 31406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_stream_size_from_utf8 in -luna" >&5 31407$as_echo_n "checking for libuna_utf8_stream_size_from_utf8 in -luna... " >&6; } 31408if ${ac_cv_lib_una_libuna_utf8_stream_size_from_utf8+:} false; then : 31409 $as_echo_n "(cached) " >&6 31410else 31411 ac_check_lib_save_LIBS=$LIBS 31412LIBS="-luna $LIBS" 31413cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31414/* end confdefs.h. */ 31415 31416/* Override any GCC internal prototype to avoid an error. 31417 Use char because int might match the return type of a GCC 31418 builtin and then its argument prototype would still apply. */ 31419#ifdef __cplusplus 31420extern "C" 31421#endif 31422char libuna_utf8_stream_size_from_utf8 (); 31423int 31424main () 31425{ 31426return libuna_utf8_stream_size_from_utf8 (); 31427 ; 31428 return 0; 31429} 31430_ACEOF 31431if ac_fn_c_try_link "$LINENO"; then : 31432 ac_cv_lib_una_libuna_utf8_stream_size_from_utf8=yes 31433else 31434 ac_cv_lib_una_libuna_utf8_stream_size_from_utf8=no 31435fi 31436rm -f core conftest.err conftest.$ac_objext \ 31437 conftest$ac_exeext conftest.$ac_ext 31438LIBS=$ac_check_lib_save_LIBS 31439fi 31440{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_stream_size_from_utf8" >&5 31441$as_echo "$ac_cv_lib_una_libuna_utf8_stream_size_from_utf8" >&6; } 31442if test "x$ac_cv_lib_una_libuna_utf8_stream_size_from_utf8" = xyes; then : 31443 ac_cv_libuna_dummy=yes 31444else 31445 ac_cv_libuna=no 31446fi 31447 31448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_stream_copy_from_utf8 in -luna" >&5 31449$as_echo_n "checking for libuna_utf8_stream_copy_from_utf8 in -luna... " >&6; } 31450if ${ac_cv_lib_una_libuna_utf8_stream_copy_from_utf8+:} false; then : 31451 $as_echo_n "(cached) " >&6 31452else 31453 ac_check_lib_save_LIBS=$LIBS 31454LIBS="-luna $LIBS" 31455cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31456/* end confdefs.h. */ 31457 31458/* Override any GCC internal prototype to avoid an error. 31459 Use char because int might match the return type of a GCC 31460 builtin and then its argument prototype would still apply. */ 31461#ifdef __cplusplus 31462extern "C" 31463#endif 31464char libuna_utf8_stream_copy_from_utf8 (); 31465int 31466main () 31467{ 31468return libuna_utf8_stream_copy_from_utf8 (); 31469 ; 31470 return 0; 31471} 31472_ACEOF 31473if ac_fn_c_try_link "$LINENO"; then : 31474 ac_cv_lib_una_libuna_utf8_stream_copy_from_utf8=yes 31475else 31476 ac_cv_lib_una_libuna_utf8_stream_copy_from_utf8=no 31477fi 31478rm -f core conftest.err conftest.$ac_objext \ 31479 conftest$ac_exeext conftest.$ac_ext 31480LIBS=$ac_check_lib_save_LIBS 31481fi 31482{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_stream_copy_from_utf8" >&5 31483$as_echo "$ac_cv_lib_una_libuna_utf8_stream_copy_from_utf8" >&6; } 31484if test "x$ac_cv_lib_una_libuna_utf8_stream_copy_from_utf8" = xyes; then : 31485 ac_cv_libuna_dummy=yes 31486else 31487 ac_cv_libuna=no 31488fi 31489 31490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_stream_size_from_utf16 in -luna" >&5 31491$as_echo_n "checking for libuna_utf8_stream_size_from_utf16 in -luna... " >&6; } 31492if ${ac_cv_lib_una_libuna_utf8_stream_size_from_utf16+:} false; then : 31493 $as_echo_n "(cached) " >&6 31494else 31495 ac_check_lib_save_LIBS=$LIBS 31496LIBS="-luna $LIBS" 31497cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31498/* end confdefs.h. */ 31499 31500/* Override any GCC internal prototype to avoid an error. 31501 Use char because int might match the return type of a GCC 31502 builtin and then its argument prototype would still apply. */ 31503#ifdef __cplusplus 31504extern "C" 31505#endif 31506char libuna_utf8_stream_size_from_utf16 (); 31507int 31508main () 31509{ 31510return libuna_utf8_stream_size_from_utf16 (); 31511 ; 31512 return 0; 31513} 31514_ACEOF 31515if ac_fn_c_try_link "$LINENO"; then : 31516 ac_cv_lib_una_libuna_utf8_stream_size_from_utf16=yes 31517else 31518 ac_cv_lib_una_libuna_utf8_stream_size_from_utf16=no 31519fi 31520rm -f core conftest.err conftest.$ac_objext \ 31521 conftest$ac_exeext conftest.$ac_ext 31522LIBS=$ac_check_lib_save_LIBS 31523fi 31524{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_stream_size_from_utf16" >&5 31525$as_echo "$ac_cv_lib_una_libuna_utf8_stream_size_from_utf16" >&6; } 31526if test "x$ac_cv_lib_una_libuna_utf8_stream_size_from_utf16" = xyes; then : 31527 ac_cv_libuna_dummy=yes 31528else 31529 ac_cv_libuna=no 31530fi 31531 31532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_stream_copy_from_utf16 in -luna" >&5 31533$as_echo_n "checking for libuna_utf8_stream_copy_from_utf16 in -luna... " >&6; } 31534if ${ac_cv_lib_una_libuna_utf8_stream_copy_from_utf16+:} false; then : 31535 $as_echo_n "(cached) " >&6 31536else 31537 ac_check_lib_save_LIBS=$LIBS 31538LIBS="-luna $LIBS" 31539cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31540/* end confdefs.h. */ 31541 31542/* Override any GCC internal prototype to avoid an error. 31543 Use char because int might match the return type of a GCC 31544 builtin and then its argument prototype would still apply. */ 31545#ifdef __cplusplus 31546extern "C" 31547#endif 31548char libuna_utf8_stream_copy_from_utf16 (); 31549int 31550main () 31551{ 31552return libuna_utf8_stream_copy_from_utf16 (); 31553 ; 31554 return 0; 31555} 31556_ACEOF 31557if ac_fn_c_try_link "$LINENO"; then : 31558 ac_cv_lib_una_libuna_utf8_stream_copy_from_utf16=yes 31559else 31560 ac_cv_lib_una_libuna_utf8_stream_copy_from_utf16=no 31561fi 31562rm -f core conftest.err conftest.$ac_objext \ 31563 conftest$ac_exeext conftest.$ac_ext 31564LIBS=$ac_check_lib_save_LIBS 31565fi 31566{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_stream_copy_from_utf16" >&5 31567$as_echo "$ac_cv_lib_una_libuna_utf8_stream_copy_from_utf16" >&6; } 31568if test "x$ac_cv_lib_una_libuna_utf8_stream_copy_from_utf16" = xyes; then : 31569 ac_cv_libuna_dummy=yes 31570else 31571 ac_cv_libuna=no 31572fi 31573 31574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_stream_size_from_utf32 in -luna" >&5 31575$as_echo_n "checking for libuna_utf8_stream_size_from_utf32 in -luna... " >&6; } 31576if ${ac_cv_lib_una_libuna_utf8_stream_size_from_utf32+:} false; then : 31577 $as_echo_n "(cached) " >&6 31578else 31579 ac_check_lib_save_LIBS=$LIBS 31580LIBS="-luna $LIBS" 31581cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31582/* end confdefs.h. */ 31583 31584/* Override any GCC internal prototype to avoid an error. 31585 Use char because int might match the return type of a GCC 31586 builtin and then its argument prototype would still apply. */ 31587#ifdef __cplusplus 31588extern "C" 31589#endif 31590char libuna_utf8_stream_size_from_utf32 (); 31591int 31592main () 31593{ 31594return libuna_utf8_stream_size_from_utf32 (); 31595 ; 31596 return 0; 31597} 31598_ACEOF 31599if ac_fn_c_try_link "$LINENO"; then : 31600 ac_cv_lib_una_libuna_utf8_stream_size_from_utf32=yes 31601else 31602 ac_cv_lib_una_libuna_utf8_stream_size_from_utf32=no 31603fi 31604rm -f core conftest.err conftest.$ac_objext \ 31605 conftest$ac_exeext conftest.$ac_ext 31606LIBS=$ac_check_lib_save_LIBS 31607fi 31608{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_stream_size_from_utf32" >&5 31609$as_echo "$ac_cv_lib_una_libuna_utf8_stream_size_from_utf32" >&6; } 31610if test "x$ac_cv_lib_una_libuna_utf8_stream_size_from_utf32" = xyes; then : 31611 ac_cv_libuna_dummy=yes 31612else 31613 ac_cv_libuna=no 31614fi 31615 31616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_stream_copy_from_utf32 in -luna" >&5 31617$as_echo_n "checking for libuna_utf8_stream_copy_from_utf32 in -luna... " >&6; } 31618if ${ac_cv_lib_una_libuna_utf8_stream_copy_from_utf32+:} false; then : 31619 $as_echo_n "(cached) " >&6 31620else 31621 ac_check_lib_save_LIBS=$LIBS 31622LIBS="-luna $LIBS" 31623cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31624/* end confdefs.h. */ 31625 31626/* Override any GCC internal prototype to avoid an error. 31627 Use char because int might match the return type of a GCC 31628 builtin and then its argument prototype would still apply. */ 31629#ifdef __cplusplus 31630extern "C" 31631#endif 31632char libuna_utf8_stream_copy_from_utf32 (); 31633int 31634main () 31635{ 31636return libuna_utf8_stream_copy_from_utf32 (); 31637 ; 31638 return 0; 31639} 31640_ACEOF 31641if ac_fn_c_try_link "$LINENO"; then : 31642 ac_cv_lib_una_libuna_utf8_stream_copy_from_utf32=yes 31643else 31644 ac_cv_lib_una_libuna_utf8_stream_copy_from_utf32=no 31645fi 31646rm -f core conftest.err conftest.$ac_objext \ 31647 conftest$ac_exeext conftest.$ac_ext 31648LIBS=$ac_check_lib_save_LIBS 31649fi 31650{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_stream_copy_from_utf32" >&5 31651$as_echo "$ac_cv_lib_una_libuna_utf8_stream_copy_from_utf32" >&6; } 31652if test "x$ac_cv_lib_una_libuna_utf8_stream_copy_from_utf32" = xyes; then : 31653 ac_cv_libuna_dummy=yes 31654else 31655 ac_cv_libuna=no 31656fi 31657 31658 31659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_stream_size_from_utf8 in -luna" >&5 31660$as_echo_n "checking for libuna_utf16_stream_size_from_utf8 in -luna... " >&6; } 31661if ${ac_cv_lib_una_libuna_utf16_stream_size_from_utf8+:} false; then : 31662 $as_echo_n "(cached) " >&6 31663else 31664 ac_check_lib_save_LIBS=$LIBS 31665LIBS="-luna $LIBS" 31666cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31667/* end confdefs.h. */ 31668 31669/* Override any GCC internal prototype to avoid an error. 31670 Use char because int might match the return type of a GCC 31671 builtin and then its argument prototype would still apply. */ 31672#ifdef __cplusplus 31673extern "C" 31674#endif 31675char libuna_utf16_stream_size_from_utf8 (); 31676int 31677main () 31678{ 31679return libuna_utf16_stream_size_from_utf8 (); 31680 ; 31681 return 0; 31682} 31683_ACEOF 31684if ac_fn_c_try_link "$LINENO"; then : 31685 ac_cv_lib_una_libuna_utf16_stream_size_from_utf8=yes 31686else 31687 ac_cv_lib_una_libuna_utf16_stream_size_from_utf8=no 31688fi 31689rm -f core conftest.err conftest.$ac_objext \ 31690 conftest$ac_exeext conftest.$ac_ext 31691LIBS=$ac_check_lib_save_LIBS 31692fi 31693{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_stream_size_from_utf8" >&5 31694$as_echo "$ac_cv_lib_una_libuna_utf16_stream_size_from_utf8" >&6; } 31695if test "x$ac_cv_lib_una_libuna_utf16_stream_size_from_utf8" = xyes; then : 31696 ac_cv_libuna_dummy=yes 31697else 31698 ac_cv_libuna=no 31699fi 31700 31701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_stream_copy_from_utf8 in -luna" >&5 31702$as_echo_n "checking for libuna_utf16_stream_copy_from_utf8 in -luna... " >&6; } 31703if ${ac_cv_lib_una_libuna_utf16_stream_copy_from_utf8+:} false; then : 31704 $as_echo_n "(cached) " >&6 31705else 31706 ac_check_lib_save_LIBS=$LIBS 31707LIBS="-luna $LIBS" 31708cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31709/* end confdefs.h. */ 31710 31711/* Override any GCC internal prototype to avoid an error. 31712 Use char because int might match the return type of a GCC 31713 builtin and then its argument prototype would still apply. */ 31714#ifdef __cplusplus 31715extern "C" 31716#endif 31717char libuna_utf16_stream_copy_from_utf8 (); 31718int 31719main () 31720{ 31721return libuna_utf16_stream_copy_from_utf8 (); 31722 ; 31723 return 0; 31724} 31725_ACEOF 31726if ac_fn_c_try_link "$LINENO"; then : 31727 ac_cv_lib_una_libuna_utf16_stream_copy_from_utf8=yes 31728else 31729 ac_cv_lib_una_libuna_utf16_stream_copy_from_utf8=no 31730fi 31731rm -f core conftest.err conftest.$ac_objext \ 31732 conftest$ac_exeext conftest.$ac_ext 31733LIBS=$ac_check_lib_save_LIBS 31734fi 31735{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_stream_copy_from_utf8" >&5 31736$as_echo "$ac_cv_lib_una_libuna_utf16_stream_copy_from_utf8" >&6; } 31737if test "x$ac_cv_lib_una_libuna_utf16_stream_copy_from_utf8" = xyes; then : 31738 ac_cv_libuna_dummy=yes 31739else 31740 ac_cv_libuna=no 31741fi 31742 31743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_stream_size_from_utf16 in -luna" >&5 31744$as_echo_n "checking for libuna_utf16_stream_size_from_utf16 in -luna... " >&6; } 31745if ${ac_cv_lib_una_libuna_utf16_stream_size_from_utf16+:} false; then : 31746 $as_echo_n "(cached) " >&6 31747else 31748 ac_check_lib_save_LIBS=$LIBS 31749LIBS="-luna $LIBS" 31750cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31751/* end confdefs.h. */ 31752 31753/* Override any GCC internal prototype to avoid an error. 31754 Use char because int might match the return type of a GCC 31755 builtin and then its argument prototype would still apply. */ 31756#ifdef __cplusplus 31757extern "C" 31758#endif 31759char libuna_utf16_stream_size_from_utf16 (); 31760int 31761main () 31762{ 31763return libuna_utf16_stream_size_from_utf16 (); 31764 ; 31765 return 0; 31766} 31767_ACEOF 31768if ac_fn_c_try_link "$LINENO"; then : 31769 ac_cv_lib_una_libuna_utf16_stream_size_from_utf16=yes 31770else 31771 ac_cv_lib_una_libuna_utf16_stream_size_from_utf16=no 31772fi 31773rm -f core conftest.err conftest.$ac_objext \ 31774 conftest$ac_exeext conftest.$ac_ext 31775LIBS=$ac_check_lib_save_LIBS 31776fi 31777{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_stream_size_from_utf16" >&5 31778$as_echo "$ac_cv_lib_una_libuna_utf16_stream_size_from_utf16" >&6; } 31779if test "x$ac_cv_lib_una_libuna_utf16_stream_size_from_utf16" = xyes; then : 31780 ac_cv_libuna_dummy=yes 31781else 31782 ac_cv_libuna=no 31783fi 31784 31785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_stream_copy_from_utf16 in -luna" >&5 31786$as_echo_n "checking for libuna_utf16_stream_copy_from_utf16 in -luna... " >&6; } 31787if ${ac_cv_lib_una_libuna_utf16_stream_copy_from_utf16+:} false; then : 31788 $as_echo_n "(cached) " >&6 31789else 31790 ac_check_lib_save_LIBS=$LIBS 31791LIBS="-luna $LIBS" 31792cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31793/* end confdefs.h. */ 31794 31795/* Override any GCC internal prototype to avoid an error. 31796 Use char because int might match the return type of a GCC 31797 builtin and then its argument prototype would still apply. */ 31798#ifdef __cplusplus 31799extern "C" 31800#endif 31801char libuna_utf16_stream_copy_from_utf16 (); 31802int 31803main () 31804{ 31805return libuna_utf16_stream_copy_from_utf16 (); 31806 ; 31807 return 0; 31808} 31809_ACEOF 31810if ac_fn_c_try_link "$LINENO"; then : 31811 ac_cv_lib_una_libuna_utf16_stream_copy_from_utf16=yes 31812else 31813 ac_cv_lib_una_libuna_utf16_stream_copy_from_utf16=no 31814fi 31815rm -f core conftest.err conftest.$ac_objext \ 31816 conftest$ac_exeext conftest.$ac_ext 31817LIBS=$ac_check_lib_save_LIBS 31818fi 31819{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_stream_copy_from_utf16" >&5 31820$as_echo "$ac_cv_lib_una_libuna_utf16_stream_copy_from_utf16" >&6; } 31821if test "x$ac_cv_lib_una_libuna_utf16_stream_copy_from_utf16" = xyes; then : 31822 ac_cv_libuna_dummy=yes 31823else 31824 ac_cv_libuna=no 31825fi 31826 31827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_stream_size_from_utf32 in -luna" >&5 31828$as_echo_n "checking for libuna_utf16_stream_size_from_utf32 in -luna... " >&6; } 31829if ${ac_cv_lib_una_libuna_utf16_stream_size_from_utf32+:} false; then : 31830 $as_echo_n "(cached) " >&6 31831else 31832 ac_check_lib_save_LIBS=$LIBS 31833LIBS="-luna $LIBS" 31834cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31835/* end confdefs.h. */ 31836 31837/* Override any GCC internal prototype to avoid an error. 31838 Use char because int might match the return type of a GCC 31839 builtin and then its argument prototype would still apply. */ 31840#ifdef __cplusplus 31841extern "C" 31842#endif 31843char libuna_utf16_stream_size_from_utf32 (); 31844int 31845main () 31846{ 31847return libuna_utf16_stream_size_from_utf32 (); 31848 ; 31849 return 0; 31850} 31851_ACEOF 31852if ac_fn_c_try_link "$LINENO"; then : 31853 ac_cv_lib_una_libuna_utf16_stream_size_from_utf32=yes 31854else 31855 ac_cv_lib_una_libuna_utf16_stream_size_from_utf32=no 31856fi 31857rm -f core conftest.err conftest.$ac_objext \ 31858 conftest$ac_exeext conftest.$ac_ext 31859LIBS=$ac_check_lib_save_LIBS 31860fi 31861{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_stream_size_from_utf32" >&5 31862$as_echo "$ac_cv_lib_una_libuna_utf16_stream_size_from_utf32" >&6; } 31863if test "x$ac_cv_lib_una_libuna_utf16_stream_size_from_utf32" = xyes; then : 31864 ac_cv_libuna_dummy=yes 31865else 31866 ac_cv_libuna=no 31867fi 31868 31869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_stream_copy_from_utf32 in -luna" >&5 31870$as_echo_n "checking for libuna_utf16_stream_copy_from_utf32 in -luna... " >&6; } 31871if ${ac_cv_lib_una_libuna_utf16_stream_copy_from_utf32+:} false; then : 31872 $as_echo_n "(cached) " >&6 31873else 31874 ac_check_lib_save_LIBS=$LIBS 31875LIBS="-luna $LIBS" 31876cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31877/* end confdefs.h. */ 31878 31879/* Override any GCC internal prototype to avoid an error. 31880 Use char because int might match the return type of a GCC 31881 builtin and then its argument prototype would still apply. */ 31882#ifdef __cplusplus 31883extern "C" 31884#endif 31885char libuna_utf16_stream_copy_from_utf32 (); 31886int 31887main () 31888{ 31889return libuna_utf16_stream_copy_from_utf32 (); 31890 ; 31891 return 0; 31892} 31893_ACEOF 31894if ac_fn_c_try_link "$LINENO"; then : 31895 ac_cv_lib_una_libuna_utf16_stream_copy_from_utf32=yes 31896else 31897 ac_cv_lib_una_libuna_utf16_stream_copy_from_utf32=no 31898fi 31899rm -f core conftest.err conftest.$ac_objext \ 31900 conftest$ac_exeext conftest.$ac_ext 31901LIBS=$ac_check_lib_save_LIBS 31902fi 31903{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_stream_copy_from_utf32" >&5 31904$as_echo "$ac_cv_lib_una_libuna_utf16_stream_copy_from_utf32" >&6; } 31905if test "x$ac_cv_lib_una_libuna_utf16_stream_copy_from_utf32" = xyes; then : 31906 ac_cv_libuna_dummy=yes 31907else 31908 ac_cv_libuna=no 31909fi 31910 31911 31912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_stream_size_from_utf8 in -luna" >&5 31913$as_echo_n "checking for libuna_utf32_stream_size_from_utf8 in -luna... " >&6; } 31914if ${ac_cv_lib_una_libuna_utf32_stream_size_from_utf8+:} false; then : 31915 $as_echo_n "(cached) " >&6 31916else 31917 ac_check_lib_save_LIBS=$LIBS 31918LIBS="-luna $LIBS" 31919cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31920/* end confdefs.h. */ 31921 31922/* Override any GCC internal prototype to avoid an error. 31923 Use char because int might match the return type of a GCC 31924 builtin and then its argument prototype would still apply. */ 31925#ifdef __cplusplus 31926extern "C" 31927#endif 31928char libuna_utf32_stream_size_from_utf8 (); 31929int 31930main () 31931{ 31932return libuna_utf32_stream_size_from_utf8 (); 31933 ; 31934 return 0; 31935} 31936_ACEOF 31937if ac_fn_c_try_link "$LINENO"; then : 31938 ac_cv_lib_una_libuna_utf32_stream_size_from_utf8=yes 31939else 31940 ac_cv_lib_una_libuna_utf32_stream_size_from_utf8=no 31941fi 31942rm -f core conftest.err conftest.$ac_objext \ 31943 conftest$ac_exeext conftest.$ac_ext 31944LIBS=$ac_check_lib_save_LIBS 31945fi 31946{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_stream_size_from_utf8" >&5 31947$as_echo "$ac_cv_lib_una_libuna_utf32_stream_size_from_utf8" >&6; } 31948if test "x$ac_cv_lib_una_libuna_utf32_stream_size_from_utf8" = xyes; then : 31949 ac_cv_libuna_dummy=yes 31950else 31951 ac_cv_libuna=no 31952fi 31953 31954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_stream_copy_from_utf8 in -luna" >&5 31955$as_echo_n "checking for libuna_utf32_stream_copy_from_utf8 in -luna... " >&6; } 31956if ${ac_cv_lib_una_libuna_utf32_stream_copy_from_utf8+:} false; then : 31957 $as_echo_n "(cached) " >&6 31958else 31959 ac_check_lib_save_LIBS=$LIBS 31960LIBS="-luna $LIBS" 31961cat confdefs.h - <<_ACEOF >conftest.$ac_ext 31962/* end confdefs.h. */ 31963 31964/* Override any GCC internal prototype to avoid an error. 31965 Use char because int might match the return type of a GCC 31966 builtin and then its argument prototype would still apply. */ 31967#ifdef __cplusplus 31968extern "C" 31969#endif 31970char libuna_utf32_stream_copy_from_utf8 (); 31971int 31972main () 31973{ 31974return libuna_utf32_stream_copy_from_utf8 (); 31975 ; 31976 return 0; 31977} 31978_ACEOF 31979if ac_fn_c_try_link "$LINENO"; then : 31980 ac_cv_lib_una_libuna_utf32_stream_copy_from_utf8=yes 31981else 31982 ac_cv_lib_una_libuna_utf32_stream_copy_from_utf8=no 31983fi 31984rm -f core conftest.err conftest.$ac_objext \ 31985 conftest$ac_exeext conftest.$ac_ext 31986LIBS=$ac_check_lib_save_LIBS 31987fi 31988{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_stream_copy_from_utf8" >&5 31989$as_echo "$ac_cv_lib_una_libuna_utf32_stream_copy_from_utf8" >&6; } 31990if test "x$ac_cv_lib_una_libuna_utf32_stream_copy_from_utf8" = xyes; then : 31991 ac_cv_libuna_dummy=yes 31992else 31993 ac_cv_libuna=no 31994fi 31995 31996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_stream_size_from_utf16 in -luna" >&5 31997$as_echo_n "checking for libuna_utf32_stream_size_from_utf16 in -luna... " >&6; } 31998if ${ac_cv_lib_una_libuna_utf32_stream_size_from_utf16+:} false; then : 31999 $as_echo_n "(cached) " >&6 32000else 32001 ac_check_lib_save_LIBS=$LIBS 32002LIBS="-luna $LIBS" 32003cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32004/* end confdefs.h. */ 32005 32006/* Override any GCC internal prototype to avoid an error. 32007 Use char because int might match the return type of a GCC 32008 builtin and then its argument prototype would still apply. */ 32009#ifdef __cplusplus 32010extern "C" 32011#endif 32012char libuna_utf32_stream_size_from_utf16 (); 32013int 32014main () 32015{ 32016return libuna_utf32_stream_size_from_utf16 (); 32017 ; 32018 return 0; 32019} 32020_ACEOF 32021if ac_fn_c_try_link "$LINENO"; then : 32022 ac_cv_lib_una_libuna_utf32_stream_size_from_utf16=yes 32023else 32024 ac_cv_lib_una_libuna_utf32_stream_size_from_utf16=no 32025fi 32026rm -f core conftest.err conftest.$ac_objext \ 32027 conftest$ac_exeext conftest.$ac_ext 32028LIBS=$ac_check_lib_save_LIBS 32029fi 32030{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_stream_size_from_utf16" >&5 32031$as_echo "$ac_cv_lib_una_libuna_utf32_stream_size_from_utf16" >&6; } 32032if test "x$ac_cv_lib_una_libuna_utf32_stream_size_from_utf16" = xyes; then : 32033 ac_cv_libuna_dummy=yes 32034else 32035 ac_cv_libuna=no 32036fi 32037 32038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_stream_copy_from_utf16 in -luna" >&5 32039$as_echo_n "checking for libuna_utf32_stream_copy_from_utf16 in -luna... " >&6; } 32040if ${ac_cv_lib_una_libuna_utf32_stream_copy_from_utf16+:} false; then : 32041 $as_echo_n "(cached) " >&6 32042else 32043 ac_check_lib_save_LIBS=$LIBS 32044LIBS="-luna $LIBS" 32045cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32046/* end confdefs.h. */ 32047 32048/* Override any GCC internal prototype to avoid an error. 32049 Use char because int might match the return type of a GCC 32050 builtin and then its argument prototype would still apply. */ 32051#ifdef __cplusplus 32052extern "C" 32053#endif 32054char libuna_utf32_stream_copy_from_utf16 (); 32055int 32056main () 32057{ 32058return libuna_utf32_stream_copy_from_utf16 (); 32059 ; 32060 return 0; 32061} 32062_ACEOF 32063if ac_fn_c_try_link "$LINENO"; then : 32064 ac_cv_lib_una_libuna_utf32_stream_copy_from_utf16=yes 32065else 32066 ac_cv_lib_una_libuna_utf32_stream_copy_from_utf16=no 32067fi 32068rm -f core conftest.err conftest.$ac_objext \ 32069 conftest$ac_exeext conftest.$ac_ext 32070LIBS=$ac_check_lib_save_LIBS 32071fi 32072{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_stream_copy_from_utf16" >&5 32073$as_echo "$ac_cv_lib_una_libuna_utf32_stream_copy_from_utf16" >&6; } 32074if test "x$ac_cv_lib_una_libuna_utf32_stream_copy_from_utf16" = xyes; then : 32075 ac_cv_libuna_dummy=yes 32076else 32077 ac_cv_libuna=no 32078fi 32079 32080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_stream_size_from_utf32 in -luna" >&5 32081$as_echo_n "checking for libuna_utf32_stream_size_from_utf32 in -luna... " >&6; } 32082if ${ac_cv_lib_una_libuna_utf32_stream_size_from_utf32+:} false; then : 32083 $as_echo_n "(cached) " >&6 32084else 32085 ac_check_lib_save_LIBS=$LIBS 32086LIBS="-luna $LIBS" 32087cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32088/* end confdefs.h. */ 32089 32090/* Override any GCC internal prototype to avoid an error. 32091 Use char because int might match the return type of a GCC 32092 builtin and then its argument prototype would still apply. */ 32093#ifdef __cplusplus 32094extern "C" 32095#endif 32096char libuna_utf32_stream_size_from_utf32 (); 32097int 32098main () 32099{ 32100return libuna_utf32_stream_size_from_utf32 (); 32101 ; 32102 return 0; 32103} 32104_ACEOF 32105if ac_fn_c_try_link "$LINENO"; then : 32106 ac_cv_lib_una_libuna_utf32_stream_size_from_utf32=yes 32107else 32108 ac_cv_lib_una_libuna_utf32_stream_size_from_utf32=no 32109fi 32110rm -f core conftest.err conftest.$ac_objext \ 32111 conftest$ac_exeext conftest.$ac_ext 32112LIBS=$ac_check_lib_save_LIBS 32113fi 32114{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_stream_size_from_utf32" >&5 32115$as_echo "$ac_cv_lib_una_libuna_utf32_stream_size_from_utf32" >&6; } 32116if test "x$ac_cv_lib_una_libuna_utf32_stream_size_from_utf32" = xyes; then : 32117 ac_cv_libuna_dummy=yes 32118else 32119 ac_cv_libuna=no 32120fi 32121 32122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_stream_copy_from_utf32 in -luna" >&5 32123$as_echo_n "checking for libuna_utf32_stream_copy_from_utf32 in -luna... " >&6; } 32124if ${ac_cv_lib_una_libuna_utf32_stream_copy_from_utf32+:} false; then : 32125 $as_echo_n "(cached) " >&6 32126else 32127 ac_check_lib_save_LIBS=$LIBS 32128LIBS="-luna $LIBS" 32129cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32130/* end confdefs.h. */ 32131 32132/* Override any GCC internal prototype to avoid an error. 32133 Use char because int might match the return type of a GCC 32134 builtin and then its argument prototype would still apply. */ 32135#ifdef __cplusplus 32136extern "C" 32137#endif 32138char libuna_utf32_stream_copy_from_utf32 (); 32139int 32140main () 32141{ 32142return libuna_utf32_stream_copy_from_utf32 (); 32143 ; 32144 return 0; 32145} 32146_ACEOF 32147if ac_fn_c_try_link "$LINENO"; then : 32148 ac_cv_lib_una_libuna_utf32_stream_copy_from_utf32=yes 32149else 32150 ac_cv_lib_una_libuna_utf32_stream_copy_from_utf32=no 32151fi 32152rm -f core conftest.err conftest.$ac_objext \ 32153 conftest$ac_exeext conftest.$ac_ext 32154LIBS=$ac_check_lib_save_LIBS 32155fi 32156{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_stream_copy_from_utf32" >&5 32157$as_echo "$ac_cv_lib_una_libuna_utf32_stream_copy_from_utf32" >&6; } 32158if test "x$ac_cv_lib_una_libuna_utf32_stream_copy_from_utf32" = xyes; then : 32159 ac_cv_libuna_dummy=yes 32160else 32161 ac_cv_libuna=no 32162fi 32163 32164 32165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_byte_stream in -luna" >&5 32166$as_echo_n "checking for libuna_utf8_string_size_from_byte_stream in -luna... " >&6; } 32167if ${ac_cv_lib_una_libuna_utf8_string_size_from_byte_stream+:} false; then : 32168 $as_echo_n "(cached) " >&6 32169else 32170 ac_check_lib_save_LIBS=$LIBS 32171LIBS="-luna $LIBS" 32172cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32173/* end confdefs.h. */ 32174 32175/* Override any GCC internal prototype to avoid an error. 32176 Use char because int might match the return type of a GCC 32177 builtin and then its argument prototype would still apply. */ 32178#ifdef __cplusplus 32179extern "C" 32180#endif 32181char libuna_utf8_string_size_from_byte_stream (); 32182int 32183main () 32184{ 32185return libuna_utf8_string_size_from_byte_stream (); 32186 ; 32187 return 0; 32188} 32189_ACEOF 32190if ac_fn_c_try_link "$LINENO"; then : 32191 ac_cv_lib_una_libuna_utf8_string_size_from_byte_stream=yes 32192else 32193 ac_cv_lib_una_libuna_utf8_string_size_from_byte_stream=no 32194fi 32195rm -f core conftest.err conftest.$ac_objext \ 32196 conftest$ac_exeext conftest.$ac_ext 32197LIBS=$ac_check_lib_save_LIBS 32198fi 32199{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_byte_stream" >&5 32200$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_byte_stream" >&6; } 32201if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_byte_stream" = xyes; then : 32202 ac_cv_libuna_dummy=yes 32203else 32204 ac_cv_libuna=no 32205fi 32206 32207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_byte_stream in -luna" >&5 32208$as_echo_n "checking for libuna_utf8_string_copy_from_byte_stream in -luna... " >&6; } 32209if ${ac_cv_lib_una_libuna_utf8_string_copy_from_byte_stream+:} false; then : 32210 $as_echo_n "(cached) " >&6 32211else 32212 ac_check_lib_save_LIBS=$LIBS 32213LIBS="-luna $LIBS" 32214cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32215/* end confdefs.h. */ 32216 32217/* Override any GCC internal prototype to avoid an error. 32218 Use char because int might match the return type of a GCC 32219 builtin and then its argument prototype would still apply. */ 32220#ifdef __cplusplus 32221extern "C" 32222#endif 32223char libuna_utf8_string_copy_from_byte_stream (); 32224int 32225main () 32226{ 32227return libuna_utf8_string_copy_from_byte_stream (); 32228 ; 32229 return 0; 32230} 32231_ACEOF 32232if ac_fn_c_try_link "$LINENO"; then : 32233 ac_cv_lib_una_libuna_utf8_string_copy_from_byte_stream=yes 32234else 32235 ac_cv_lib_una_libuna_utf8_string_copy_from_byte_stream=no 32236fi 32237rm -f core conftest.err conftest.$ac_objext \ 32238 conftest$ac_exeext conftest.$ac_ext 32239LIBS=$ac_check_lib_save_LIBS 32240fi 32241{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_byte_stream" >&5 32242$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_byte_stream" >&6; } 32243if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_byte_stream" = xyes; then : 32244 ac_cv_libuna_dummy=yes 32245else 32246 ac_cv_libuna=no 32247fi 32248 32249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_byte_stream in -luna" >&5 32250$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_byte_stream in -luna... " >&6; } 32251if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_byte_stream+:} false; then : 32252 $as_echo_n "(cached) " >&6 32253else 32254 ac_check_lib_save_LIBS=$LIBS 32255LIBS="-luna $LIBS" 32256cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32257/* end confdefs.h. */ 32258 32259/* Override any GCC internal prototype to avoid an error. 32260 Use char because int might match the return type of a GCC 32261 builtin and then its argument prototype would still apply. */ 32262#ifdef __cplusplus 32263extern "C" 32264#endif 32265char libuna_utf8_string_with_index_copy_from_byte_stream (); 32266int 32267main () 32268{ 32269return libuna_utf8_string_with_index_copy_from_byte_stream (); 32270 ; 32271 return 0; 32272} 32273_ACEOF 32274if ac_fn_c_try_link "$LINENO"; then : 32275 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_byte_stream=yes 32276else 32277 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_byte_stream=no 32278fi 32279rm -f core conftest.err conftest.$ac_objext \ 32280 conftest$ac_exeext conftest.$ac_ext 32281LIBS=$ac_check_lib_save_LIBS 32282fi 32283{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_byte_stream" >&5 32284$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_byte_stream" >&6; } 32285if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_byte_stream" = xyes; then : 32286 ac_cv_libuna_dummy=yes 32287else 32288 ac_cv_libuna=no 32289fi 32290 32291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_utf7_stream in -luna" >&5 32292$as_echo_n "checking for libuna_utf8_string_size_from_utf7_stream in -luna... " >&6; } 32293if ${ac_cv_lib_una_libuna_utf8_string_size_from_utf7_stream+:} false; then : 32294 $as_echo_n "(cached) " >&6 32295else 32296 ac_check_lib_save_LIBS=$LIBS 32297LIBS="-luna $LIBS" 32298cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32299/* end confdefs.h. */ 32300 32301/* Override any GCC internal prototype to avoid an error. 32302 Use char because int might match the return type of a GCC 32303 builtin and then its argument prototype would still apply. */ 32304#ifdef __cplusplus 32305extern "C" 32306#endif 32307char libuna_utf8_string_size_from_utf7_stream (); 32308int 32309main () 32310{ 32311return libuna_utf8_string_size_from_utf7_stream (); 32312 ; 32313 return 0; 32314} 32315_ACEOF 32316if ac_fn_c_try_link "$LINENO"; then : 32317 ac_cv_lib_una_libuna_utf8_string_size_from_utf7_stream=yes 32318else 32319 ac_cv_lib_una_libuna_utf8_string_size_from_utf7_stream=no 32320fi 32321rm -f core conftest.err conftest.$ac_objext \ 32322 conftest$ac_exeext conftest.$ac_ext 32323LIBS=$ac_check_lib_save_LIBS 32324fi 32325{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_utf7_stream" >&5 32326$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_utf7_stream" >&6; } 32327if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_utf7_stream" = xyes; then : 32328 ac_cv_libuna_dummy=yes 32329else 32330 ac_cv_libuna=no 32331fi 32332 32333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_utf7_stream in -luna" >&5 32334$as_echo_n "checking for libuna_utf8_string_copy_from_utf7_stream in -luna... " >&6; } 32335if ${ac_cv_lib_una_libuna_utf8_string_copy_from_utf7_stream+:} false; then : 32336 $as_echo_n "(cached) " >&6 32337else 32338 ac_check_lib_save_LIBS=$LIBS 32339LIBS="-luna $LIBS" 32340cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32341/* end confdefs.h. */ 32342 32343/* Override any GCC internal prototype to avoid an error. 32344 Use char because int might match the return type of a GCC 32345 builtin and then its argument prototype would still apply. */ 32346#ifdef __cplusplus 32347extern "C" 32348#endif 32349char libuna_utf8_string_copy_from_utf7_stream (); 32350int 32351main () 32352{ 32353return libuna_utf8_string_copy_from_utf7_stream (); 32354 ; 32355 return 0; 32356} 32357_ACEOF 32358if ac_fn_c_try_link "$LINENO"; then : 32359 ac_cv_lib_una_libuna_utf8_string_copy_from_utf7_stream=yes 32360else 32361 ac_cv_lib_una_libuna_utf8_string_copy_from_utf7_stream=no 32362fi 32363rm -f core conftest.err conftest.$ac_objext \ 32364 conftest$ac_exeext conftest.$ac_ext 32365LIBS=$ac_check_lib_save_LIBS 32366fi 32367{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_utf7_stream" >&5 32368$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_utf7_stream" >&6; } 32369if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_utf7_stream" = xyes; then : 32370 ac_cv_libuna_dummy=yes 32371else 32372 ac_cv_libuna=no 32373fi 32374 32375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_utf7_stream in -luna" >&5 32376$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_utf7_stream in -luna... " >&6; } 32377if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf7_stream+:} false; then : 32378 $as_echo_n "(cached) " >&6 32379else 32380 ac_check_lib_save_LIBS=$LIBS 32381LIBS="-luna $LIBS" 32382cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32383/* end confdefs.h. */ 32384 32385/* Override any GCC internal prototype to avoid an error. 32386 Use char because int might match the return type of a GCC 32387 builtin and then its argument prototype would still apply. */ 32388#ifdef __cplusplus 32389extern "C" 32390#endif 32391char libuna_utf8_string_with_index_copy_from_utf7_stream (); 32392int 32393main () 32394{ 32395return libuna_utf8_string_with_index_copy_from_utf7_stream (); 32396 ; 32397 return 0; 32398} 32399_ACEOF 32400if ac_fn_c_try_link "$LINENO"; then : 32401 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf7_stream=yes 32402else 32403 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf7_stream=no 32404fi 32405rm -f core conftest.err conftest.$ac_objext \ 32406 conftest$ac_exeext conftest.$ac_ext 32407LIBS=$ac_check_lib_save_LIBS 32408fi 32409{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf7_stream" >&5 32410$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf7_stream" >&6; } 32411if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf7_stream" = xyes; then : 32412 ac_cv_libuna_dummy=yes 32413else 32414 ac_cv_libuna=no 32415fi 32416 32417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_utf8_stream in -luna" >&5 32418$as_echo_n "checking for libuna_utf8_string_size_from_utf8_stream in -luna... " >&6; } 32419if ${ac_cv_lib_una_libuna_utf8_string_size_from_utf8_stream+:} false; then : 32420 $as_echo_n "(cached) " >&6 32421else 32422 ac_check_lib_save_LIBS=$LIBS 32423LIBS="-luna $LIBS" 32424cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32425/* end confdefs.h. */ 32426 32427/* Override any GCC internal prototype to avoid an error. 32428 Use char because int might match the return type of a GCC 32429 builtin and then its argument prototype would still apply. */ 32430#ifdef __cplusplus 32431extern "C" 32432#endif 32433char libuna_utf8_string_size_from_utf8_stream (); 32434int 32435main () 32436{ 32437return libuna_utf8_string_size_from_utf8_stream (); 32438 ; 32439 return 0; 32440} 32441_ACEOF 32442if ac_fn_c_try_link "$LINENO"; then : 32443 ac_cv_lib_una_libuna_utf8_string_size_from_utf8_stream=yes 32444else 32445 ac_cv_lib_una_libuna_utf8_string_size_from_utf8_stream=no 32446fi 32447rm -f core conftest.err conftest.$ac_objext \ 32448 conftest$ac_exeext conftest.$ac_ext 32449LIBS=$ac_check_lib_save_LIBS 32450fi 32451{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_utf8_stream" >&5 32452$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_utf8_stream" >&6; } 32453if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_utf8_stream" = xyes; then : 32454 ac_cv_libuna_dummy=yes 32455else 32456 ac_cv_libuna=no 32457fi 32458 32459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_utf8_stream in -luna" >&5 32460$as_echo_n "checking for libuna_utf8_string_copy_from_utf8_stream in -luna... " >&6; } 32461if ${ac_cv_lib_una_libuna_utf8_string_copy_from_utf8_stream+:} false; then : 32462 $as_echo_n "(cached) " >&6 32463else 32464 ac_check_lib_save_LIBS=$LIBS 32465LIBS="-luna $LIBS" 32466cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32467/* end confdefs.h. */ 32468 32469/* Override any GCC internal prototype to avoid an error. 32470 Use char because int might match the return type of a GCC 32471 builtin and then its argument prototype would still apply. */ 32472#ifdef __cplusplus 32473extern "C" 32474#endif 32475char libuna_utf8_string_copy_from_utf8_stream (); 32476int 32477main () 32478{ 32479return libuna_utf8_string_copy_from_utf8_stream (); 32480 ; 32481 return 0; 32482} 32483_ACEOF 32484if ac_fn_c_try_link "$LINENO"; then : 32485 ac_cv_lib_una_libuna_utf8_string_copy_from_utf8_stream=yes 32486else 32487 ac_cv_lib_una_libuna_utf8_string_copy_from_utf8_stream=no 32488fi 32489rm -f core conftest.err conftest.$ac_objext \ 32490 conftest$ac_exeext conftest.$ac_ext 32491LIBS=$ac_check_lib_save_LIBS 32492fi 32493{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_utf8_stream" >&5 32494$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_utf8_stream" >&6; } 32495if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_utf8_stream" = xyes; then : 32496 ac_cv_libuna_dummy=yes 32497else 32498 ac_cv_libuna=no 32499fi 32500 32501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_utf8_stream in -luna" >&5 32502$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_utf8_stream in -luna... " >&6; } 32503if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf8_stream+:} false; then : 32504 $as_echo_n "(cached) " >&6 32505else 32506 ac_check_lib_save_LIBS=$LIBS 32507LIBS="-luna $LIBS" 32508cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32509/* end confdefs.h. */ 32510 32511/* Override any GCC internal prototype to avoid an error. 32512 Use char because int might match the return type of a GCC 32513 builtin and then its argument prototype would still apply. */ 32514#ifdef __cplusplus 32515extern "C" 32516#endif 32517char libuna_utf8_string_with_index_copy_from_utf8_stream (); 32518int 32519main () 32520{ 32521return libuna_utf8_string_with_index_copy_from_utf8_stream (); 32522 ; 32523 return 0; 32524} 32525_ACEOF 32526if ac_fn_c_try_link "$LINENO"; then : 32527 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf8_stream=yes 32528else 32529 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf8_stream=no 32530fi 32531rm -f core conftest.err conftest.$ac_objext \ 32532 conftest$ac_exeext conftest.$ac_ext 32533LIBS=$ac_check_lib_save_LIBS 32534fi 32535{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf8_stream" >&5 32536$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf8_stream" >&6; } 32537if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf8_stream" = xyes; then : 32538 ac_cv_libuna_dummy=yes 32539else 32540 ac_cv_libuna=no 32541fi 32542 32543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_utf16_stream in -luna" >&5 32544$as_echo_n "checking for libuna_utf8_string_size_from_utf16_stream in -luna... " >&6; } 32545if ${ac_cv_lib_una_libuna_utf8_string_size_from_utf16_stream+:} false; then : 32546 $as_echo_n "(cached) " >&6 32547else 32548 ac_check_lib_save_LIBS=$LIBS 32549LIBS="-luna $LIBS" 32550cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32551/* end confdefs.h. */ 32552 32553/* Override any GCC internal prototype to avoid an error. 32554 Use char because int might match the return type of a GCC 32555 builtin and then its argument prototype would still apply. */ 32556#ifdef __cplusplus 32557extern "C" 32558#endif 32559char libuna_utf8_string_size_from_utf16_stream (); 32560int 32561main () 32562{ 32563return libuna_utf8_string_size_from_utf16_stream (); 32564 ; 32565 return 0; 32566} 32567_ACEOF 32568if ac_fn_c_try_link "$LINENO"; then : 32569 ac_cv_lib_una_libuna_utf8_string_size_from_utf16_stream=yes 32570else 32571 ac_cv_lib_una_libuna_utf8_string_size_from_utf16_stream=no 32572fi 32573rm -f core conftest.err conftest.$ac_objext \ 32574 conftest$ac_exeext conftest.$ac_ext 32575LIBS=$ac_check_lib_save_LIBS 32576fi 32577{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_utf16_stream" >&5 32578$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_utf16_stream" >&6; } 32579if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_utf16_stream" = xyes; then : 32580 ac_cv_libuna_dummy=yes 32581else 32582 ac_cv_libuna=no 32583fi 32584 32585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_utf16_stream in -luna" >&5 32586$as_echo_n "checking for libuna_utf8_string_copy_from_utf16_stream in -luna... " >&6; } 32587if ${ac_cv_lib_una_libuna_utf8_string_copy_from_utf16_stream+:} false; then : 32588 $as_echo_n "(cached) " >&6 32589else 32590 ac_check_lib_save_LIBS=$LIBS 32591LIBS="-luna $LIBS" 32592cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32593/* end confdefs.h. */ 32594 32595/* Override any GCC internal prototype to avoid an error. 32596 Use char because int might match the return type of a GCC 32597 builtin and then its argument prototype would still apply. */ 32598#ifdef __cplusplus 32599extern "C" 32600#endif 32601char libuna_utf8_string_copy_from_utf16_stream (); 32602int 32603main () 32604{ 32605return libuna_utf8_string_copy_from_utf16_stream (); 32606 ; 32607 return 0; 32608} 32609_ACEOF 32610if ac_fn_c_try_link "$LINENO"; then : 32611 ac_cv_lib_una_libuna_utf8_string_copy_from_utf16_stream=yes 32612else 32613 ac_cv_lib_una_libuna_utf8_string_copy_from_utf16_stream=no 32614fi 32615rm -f core conftest.err conftest.$ac_objext \ 32616 conftest$ac_exeext conftest.$ac_ext 32617LIBS=$ac_check_lib_save_LIBS 32618fi 32619{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_utf16_stream" >&5 32620$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_utf16_stream" >&6; } 32621if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_utf16_stream" = xyes; then : 32622 ac_cv_libuna_dummy=yes 32623else 32624 ac_cv_libuna=no 32625fi 32626 32627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_utf16_stream in -luna" >&5 32628$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_utf16_stream in -luna... " >&6; } 32629if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16_stream+:} false; then : 32630 $as_echo_n "(cached) " >&6 32631else 32632 ac_check_lib_save_LIBS=$LIBS 32633LIBS="-luna $LIBS" 32634cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32635/* end confdefs.h. */ 32636 32637/* Override any GCC internal prototype to avoid an error. 32638 Use char because int might match the return type of a GCC 32639 builtin and then its argument prototype would still apply. */ 32640#ifdef __cplusplus 32641extern "C" 32642#endif 32643char libuna_utf8_string_with_index_copy_from_utf16_stream (); 32644int 32645main () 32646{ 32647return libuna_utf8_string_with_index_copy_from_utf16_stream (); 32648 ; 32649 return 0; 32650} 32651_ACEOF 32652if ac_fn_c_try_link "$LINENO"; then : 32653 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16_stream=yes 32654else 32655 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16_stream=no 32656fi 32657rm -f core conftest.err conftest.$ac_objext \ 32658 conftest$ac_exeext conftest.$ac_ext 32659LIBS=$ac_check_lib_save_LIBS 32660fi 32661{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16_stream" >&5 32662$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16_stream" >&6; } 32663if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16_stream" = xyes; then : 32664 ac_cv_libuna_dummy=yes 32665else 32666 ac_cv_libuna=no 32667fi 32668 32669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_utf32_stream in -luna" >&5 32670$as_echo_n "checking for libuna_utf8_string_size_from_utf32_stream in -luna... " >&6; } 32671if ${ac_cv_lib_una_libuna_utf8_string_size_from_utf32_stream+:} false; then : 32672 $as_echo_n "(cached) " >&6 32673else 32674 ac_check_lib_save_LIBS=$LIBS 32675LIBS="-luna $LIBS" 32676cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32677/* end confdefs.h. */ 32678 32679/* Override any GCC internal prototype to avoid an error. 32680 Use char because int might match the return type of a GCC 32681 builtin and then its argument prototype would still apply. */ 32682#ifdef __cplusplus 32683extern "C" 32684#endif 32685char libuna_utf8_string_size_from_utf32_stream (); 32686int 32687main () 32688{ 32689return libuna_utf8_string_size_from_utf32_stream (); 32690 ; 32691 return 0; 32692} 32693_ACEOF 32694if ac_fn_c_try_link "$LINENO"; then : 32695 ac_cv_lib_una_libuna_utf8_string_size_from_utf32_stream=yes 32696else 32697 ac_cv_lib_una_libuna_utf8_string_size_from_utf32_stream=no 32698fi 32699rm -f core conftest.err conftest.$ac_objext \ 32700 conftest$ac_exeext conftest.$ac_ext 32701LIBS=$ac_check_lib_save_LIBS 32702fi 32703{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_utf32_stream" >&5 32704$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_utf32_stream" >&6; } 32705if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_utf32_stream" = xyes; then : 32706 ac_cv_libuna_dummy=yes 32707else 32708 ac_cv_libuna=no 32709fi 32710 32711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_utf32_stream in -luna" >&5 32712$as_echo_n "checking for libuna_utf8_string_copy_from_utf32_stream in -luna... " >&6; } 32713if ${ac_cv_lib_una_libuna_utf8_string_copy_from_utf32_stream+:} false; then : 32714 $as_echo_n "(cached) " >&6 32715else 32716 ac_check_lib_save_LIBS=$LIBS 32717LIBS="-luna $LIBS" 32718cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32719/* end confdefs.h. */ 32720 32721/* Override any GCC internal prototype to avoid an error. 32722 Use char because int might match the return type of a GCC 32723 builtin and then its argument prototype would still apply. */ 32724#ifdef __cplusplus 32725extern "C" 32726#endif 32727char libuna_utf8_string_copy_from_utf32_stream (); 32728int 32729main () 32730{ 32731return libuna_utf8_string_copy_from_utf32_stream (); 32732 ; 32733 return 0; 32734} 32735_ACEOF 32736if ac_fn_c_try_link "$LINENO"; then : 32737 ac_cv_lib_una_libuna_utf8_string_copy_from_utf32_stream=yes 32738else 32739 ac_cv_lib_una_libuna_utf8_string_copy_from_utf32_stream=no 32740fi 32741rm -f core conftest.err conftest.$ac_objext \ 32742 conftest$ac_exeext conftest.$ac_ext 32743LIBS=$ac_check_lib_save_LIBS 32744fi 32745{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_utf32_stream" >&5 32746$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_utf32_stream" >&6; } 32747if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_utf32_stream" = xyes; then : 32748 ac_cv_libuna_dummy=yes 32749else 32750 ac_cv_libuna=no 32751fi 32752 32753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_utf32_stream in -luna" >&5 32754$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_utf32_stream in -luna... " >&6; } 32755if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32_stream+:} false; then : 32756 $as_echo_n "(cached) " >&6 32757else 32758 ac_check_lib_save_LIBS=$LIBS 32759LIBS="-luna $LIBS" 32760cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32761/* end confdefs.h. */ 32762 32763/* Override any GCC internal prototype to avoid an error. 32764 Use char because int might match the return type of a GCC 32765 builtin and then its argument prototype would still apply. */ 32766#ifdef __cplusplus 32767extern "C" 32768#endif 32769char libuna_utf8_string_with_index_copy_from_utf32_stream (); 32770int 32771main () 32772{ 32773return libuna_utf8_string_with_index_copy_from_utf32_stream (); 32774 ; 32775 return 0; 32776} 32777_ACEOF 32778if ac_fn_c_try_link "$LINENO"; then : 32779 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32_stream=yes 32780else 32781 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32_stream=no 32782fi 32783rm -f core conftest.err conftest.$ac_objext \ 32784 conftest$ac_exeext conftest.$ac_ext 32785LIBS=$ac_check_lib_save_LIBS 32786fi 32787{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32_stream" >&5 32788$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32_stream" >&6; } 32789if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32_stream" = xyes; then : 32790 ac_cv_libuna_dummy=yes 32791else 32792 ac_cv_libuna=no 32793fi 32794 32795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_utf16 in -luna" >&5 32796$as_echo_n "checking for libuna_utf8_string_size_from_utf16 in -luna... " >&6; } 32797if ${ac_cv_lib_una_libuna_utf8_string_size_from_utf16+:} false; then : 32798 $as_echo_n "(cached) " >&6 32799else 32800 ac_check_lib_save_LIBS=$LIBS 32801LIBS="-luna $LIBS" 32802cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32803/* end confdefs.h. */ 32804 32805/* Override any GCC internal prototype to avoid an error. 32806 Use char because int might match the return type of a GCC 32807 builtin and then its argument prototype would still apply. */ 32808#ifdef __cplusplus 32809extern "C" 32810#endif 32811char libuna_utf8_string_size_from_utf16 (); 32812int 32813main () 32814{ 32815return libuna_utf8_string_size_from_utf16 (); 32816 ; 32817 return 0; 32818} 32819_ACEOF 32820if ac_fn_c_try_link "$LINENO"; then : 32821 ac_cv_lib_una_libuna_utf8_string_size_from_utf16=yes 32822else 32823 ac_cv_lib_una_libuna_utf8_string_size_from_utf16=no 32824fi 32825rm -f core conftest.err conftest.$ac_objext \ 32826 conftest$ac_exeext conftest.$ac_ext 32827LIBS=$ac_check_lib_save_LIBS 32828fi 32829{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_utf16" >&5 32830$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_utf16" >&6; } 32831if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_utf16" = xyes; then : 32832 ac_cv_libuna_dummy=yes 32833else 32834 ac_cv_libuna=no 32835fi 32836 32837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_utf16 in -luna" >&5 32838$as_echo_n "checking for libuna_utf8_string_copy_from_utf16 in -luna... " >&6; } 32839if ${ac_cv_lib_una_libuna_utf8_string_copy_from_utf16+:} false; then : 32840 $as_echo_n "(cached) " >&6 32841else 32842 ac_check_lib_save_LIBS=$LIBS 32843LIBS="-luna $LIBS" 32844cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32845/* end confdefs.h. */ 32846 32847/* Override any GCC internal prototype to avoid an error. 32848 Use char because int might match the return type of a GCC 32849 builtin and then its argument prototype would still apply. */ 32850#ifdef __cplusplus 32851extern "C" 32852#endif 32853char libuna_utf8_string_copy_from_utf16 (); 32854int 32855main () 32856{ 32857return libuna_utf8_string_copy_from_utf16 (); 32858 ; 32859 return 0; 32860} 32861_ACEOF 32862if ac_fn_c_try_link "$LINENO"; then : 32863 ac_cv_lib_una_libuna_utf8_string_copy_from_utf16=yes 32864else 32865 ac_cv_lib_una_libuna_utf8_string_copy_from_utf16=no 32866fi 32867rm -f core conftest.err conftest.$ac_objext \ 32868 conftest$ac_exeext conftest.$ac_ext 32869LIBS=$ac_check_lib_save_LIBS 32870fi 32871{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_utf16" >&5 32872$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_utf16" >&6; } 32873if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_utf16" = xyes; then : 32874 ac_cv_libuna_dummy=yes 32875else 32876 ac_cv_libuna=no 32877fi 32878 32879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_utf16 in -luna" >&5 32880$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_utf16 in -luna... " >&6; } 32881if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16+:} false; then : 32882 $as_echo_n "(cached) " >&6 32883else 32884 ac_check_lib_save_LIBS=$LIBS 32885LIBS="-luna $LIBS" 32886cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32887/* end confdefs.h. */ 32888 32889/* Override any GCC internal prototype to avoid an error. 32890 Use char because int might match the return type of a GCC 32891 builtin and then its argument prototype would still apply. */ 32892#ifdef __cplusplus 32893extern "C" 32894#endif 32895char libuna_utf8_string_with_index_copy_from_utf16 (); 32896int 32897main () 32898{ 32899return libuna_utf8_string_with_index_copy_from_utf16 (); 32900 ; 32901 return 0; 32902} 32903_ACEOF 32904if ac_fn_c_try_link "$LINENO"; then : 32905 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16=yes 32906else 32907 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16=no 32908fi 32909rm -f core conftest.err conftest.$ac_objext \ 32910 conftest$ac_exeext conftest.$ac_ext 32911LIBS=$ac_check_lib_save_LIBS 32912fi 32913{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16" >&5 32914$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16" >&6; } 32915if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf16" = xyes; then : 32916 ac_cv_libuna_dummy=yes 32917else 32918 ac_cv_libuna=no 32919fi 32920 32921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_utf32 in -luna" >&5 32922$as_echo_n "checking for libuna_utf8_string_size_from_utf32 in -luna... " >&6; } 32923if ${ac_cv_lib_una_libuna_utf8_string_size_from_utf32+:} false; then : 32924 $as_echo_n "(cached) " >&6 32925else 32926 ac_check_lib_save_LIBS=$LIBS 32927LIBS="-luna $LIBS" 32928cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32929/* end confdefs.h. */ 32930 32931/* Override any GCC internal prototype to avoid an error. 32932 Use char because int might match the return type of a GCC 32933 builtin and then its argument prototype would still apply. */ 32934#ifdef __cplusplus 32935extern "C" 32936#endif 32937char libuna_utf8_string_size_from_utf32 (); 32938int 32939main () 32940{ 32941return libuna_utf8_string_size_from_utf32 (); 32942 ; 32943 return 0; 32944} 32945_ACEOF 32946if ac_fn_c_try_link "$LINENO"; then : 32947 ac_cv_lib_una_libuna_utf8_string_size_from_utf32=yes 32948else 32949 ac_cv_lib_una_libuna_utf8_string_size_from_utf32=no 32950fi 32951rm -f core conftest.err conftest.$ac_objext \ 32952 conftest$ac_exeext conftest.$ac_ext 32953LIBS=$ac_check_lib_save_LIBS 32954fi 32955{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_utf32" >&5 32956$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_utf32" >&6; } 32957if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_utf32" = xyes; then : 32958 ac_cv_libuna_dummy=yes 32959else 32960 ac_cv_libuna=no 32961fi 32962 32963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_utf32 in -luna" >&5 32964$as_echo_n "checking for libuna_utf8_string_copy_from_utf32 in -luna... " >&6; } 32965if ${ac_cv_lib_una_libuna_utf8_string_copy_from_utf32+:} false; then : 32966 $as_echo_n "(cached) " >&6 32967else 32968 ac_check_lib_save_LIBS=$LIBS 32969LIBS="-luna $LIBS" 32970cat confdefs.h - <<_ACEOF >conftest.$ac_ext 32971/* end confdefs.h. */ 32972 32973/* Override any GCC internal prototype to avoid an error. 32974 Use char because int might match the return type of a GCC 32975 builtin and then its argument prototype would still apply. */ 32976#ifdef __cplusplus 32977extern "C" 32978#endif 32979char libuna_utf8_string_copy_from_utf32 (); 32980int 32981main () 32982{ 32983return libuna_utf8_string_copy_from_utf32 (); 32984 ; 32985 return 0; 32986} 32987_ACEOF 32988if ac_fn_c_try_link "$LINENO"; then : 32989 ac_cv_lib_una_libuna_utf8_string_copy_from_utf32=yes 32990else 32991 ac_cv_lib_una_libuna_utf8_string_copy_from_utf32=no 32992fi 32993rm -f core conftest.err conftest.$ac_objext \ 32994 conftest$ac_exeext conftest.$ac_ext 32995LIBS=$ac_check_lib_save_LIBS 32996fi 32997{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_utf32" >&5 32998$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_utf32" >&6; } 32999if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_utf32" = xyes; then : 33000 ac_cv_libuna_dummy=yes 33001else 33002 ac_cv_libuna=no 33003fi 33004 33005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_utf32 in -luna" >&5 33006$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_utf32 in -luna... " >&6; } 33007if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32+:} false; then : 33008 $as_echo_n "(cached) " >&6 33009else 33010 ac_check_lib_save_LIBS=$LIBS 33011LIBS="-luna $LIBS" 33012cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33013/* end confdefs.h. */ 33014 33015/* Override any GCC internal prototype to avoid an error. 33016 Use char because int might match the return type of a GCC 33017 builtin and then its argument prototype would still apply. */ 33018#ifdef __cplusplus 33019extern "C" 33020#endif 33021char libuna_utf8_string_with_index_copy_from_utf32 (); 33022int 33023main () 33024{ 33025return libuna_utf8_string_with_index_copy_from_utf32 (); 33026 ; 33027 return 0; 33028} 33029_ACEOF 33030if ac_fn_c_try_link "$LINENO"; then : 33031 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32=yes 33032else 33033 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32=no 33034fi 33035rm -f core conftest.err conftest.$ac_objext \ 33036 conftest$ac_exeext conftest.$ac_ext 33037LIBS=$ac_check_lib_save_LIBS 33038fi 33039{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32" >&5 33040$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32" >&6; } 33041if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_utf32" = xyes; then : 33042 ac_cv_libuna_dummy=yes 33043else 33044 ac_cv_libuna=no 33045fi 33046 33047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_size_from_scsu_stream in -luna" >&5 33048$as_echo_n "checking for libuna_utf8_string_size_from_scsu_stream in -luna... " >&6; } 33049if ${ac_cv_lib_una_libuna_utf8_string_size_from_scsu_stream+:} false; then : 33050 $as_echo_n "(cached) " >&6 33051else 33052 ac_check_lib_save_LIBS=$LIBS 33053LIBS="-luna $LIBS" 33054cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33055/* end confdefs.h. */ 33056 33057/* Override any GCC internal prototype to avoid an error. 33058 Use char because int might match the return type of a GCC 33059 builtin and then its argument prototype would still apply. */ 33060#ifdef __cplusplus 33061extern "C" 33062#endif 33063char libuna_utf8_string_size_from_scsu_stream (); 33064int 33065main () 33066{ 33067return libuna_utf8_string_size_from_scsu_stream (); 33068 ; 33069 return 0; 33070} 33071_ACEOF 33072if ac_fn_c_try_link "$LINENO"; then : 33073 ac_cv_lib_una_libuna_utf8_string_size_from_scsu_stream=yes 33074else 33075 ac_cv_lib_una_libuna_utf8_string_size_from_scsu_stream=no 33076fi 33077rm -f core conftest.err conftest.$ac_objext \ 33078 conftest$ac_exeext conftest.$ac_ext 33079LIBS=$ac_check_lib_save_LIBS 33080fi 33081{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_size_from_scsu_stream" >&5 33082$as_echo "$ac_cv_lib_una_libuna_utf8_string_size_from_scsu_stream" >&6; } 33083if test "x$ac_cv_lib_una_libuna_utf8_string_size_from_scsu_stream" = xyes; then : 33084 ac_cv_libuna_dummy=yes 33085else 33086 ac_cv_libuna=no 33087fi 33088 33089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_copy_from_scsu_stream in -luna" >&5 33090$as_echo_n "checking for libuna_utf8_string_copy_from_scsu_stream in -luna... " >&6; } 33091if ${ac_cv_lib_una_libuna_utf8_string_copy_from_scsu_stream+:} false; then : 33092 $as_echo_n "(cached) " >&6 33093else 33094 ac_check_lib_save_LIBS=$LIBS 33095LIBS="-luna $LIBS" 33096cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33097/* end confdefs.h. */ 33098 33099/* Override any GCC internal prototype to avoid an error. 33100 Use char because int might match the return type of a GCC 33101 builtin and then its argument prototype would still apply. */ 33102#ifdef __cplusplus 33103extern "C" 33104#endif 33105char libuna_utf8_string_copy_from_scsu_stream (); 33106int 33107main () 33108{ 33109return libuna_utf8_string_copy_from_scsu_stream (); 33110 ; 33111 return 0; 33112} 33113_ACEOF 33114if ac_fn_c_try_link "$LINENO"; then : 33115 ac_cv_lib_una_libuna_utf8_string_copy_from_scsu_stream=yes 33116else 33117 ac_cv_lib_una_libuna_utf8_string_copy_from_scsu_stream=no 33118fi 33119rm -f core conftest.err conftest.$ac_objext \ 33120 conftest$ac_exeext conftest.$ac_ext 33121LIBS=$ac_check_lib_save_LIBS 33122fi 33123{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_copy_from_scsu_stream" >&5 33124$as_echo "$ac_cv_lib_una_libuna_utf8_string_copy_from_scsu_stream" >&6; } 33125if test "x$ac_cv_lib_una_libuna_utf8_string_copy_from_scsu_stream" = xyes; then : 33126 ac_cv_libuna_dummy=yes 33127else 33128 ac_cv_libuna=no 33129fi 33130 33131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf8_string_with_index_copy_from_scsu_stream in -luna" >&5 33132$as_echo_n "checking for libuna_utf8_string_with_index_copy_from_scsu_stream in -luna... " >&6; } 33133if ${ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_scsu_stream+:} false; then : 33134 $as_echo_n "(cached) " >&6 33135else 33136 ac_check_lib_save_LIBS=$LIBS 33137LIBS="-luna $LIBS" 33138cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33139/* end confdefs.h. */ 33140 33141/* Override any GCC internal prototype to avoid an error. 33142 Use char because int might match the return type of a GCC 33143 builtin and then its argument prototype would still apply. */ 33144#ifdef __cplusplus 33145extern "C" 33146#endif 33147char libuna_utf8_string_with_index_copy_from_scsu_stream (); 33148int 33149main () 33150{ 33151return libuna_utf8_string_with_index_copy_from_scsu_stream (); 33152 ; 33153 return 0; 33154} 33155_ACEOF 33156if ac_fn_c_try_link "$LINENO"; then : 33157 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_scsu_stream=yes 33158else 33159 ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_scsu_stream=no 33160fi 33161rm -f core conftest.err conftest.$ac_objext \ 33162 conftest$ac_exeext conftest.$ac_ext 33163LIBS=$ac_check_lib_save_LIBS 33164fi 33165{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_scsu_stream" >&5 33166$as_echo "$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_scsu_stream" >&6; } 33167if test "x$ac_cv_lib_una_libuna_utf8_string_with_index_copy_from_scsu_stream" = xyes; then : 33168 ac_cv_libuna_dummy=yes 33169else 33170 ac_cv_libuna=no 33171fi 33172 33173 33174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_byte_stream in -luna" >&5 33175$as_echo_n "checking for libuna_utf16_string_size_from_byte_stream in -luna... " >&6; } 33176if ${ac_cv_lib_una_libuna_utf16_string_size_from_byte_stream+:} false; then : 33177 $as_echo_n "(cached) " >&6 33178else 33179 ac_check_lib_save_LIBS=$LIBS 33180LIBS="-luna $LIBS" 33181cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33182/* end confdefs.h. */ 33183 33184/* Override any GCC internal prototype to avoid an error. 33185 Use char because int might match the return type of a GCC 33186 builtin and then its argument prototype would still apply. */ 33187#ifdef __cplusplus 33188extern "C" 33189#endif 33190char libuna_utf16_string_size_from_byte_stream (); 33191int 33192main () 33193{ 33194return libuna_utf16_string_size_from_byte_stream (); 33195 ; 33196 return 0; 33197} 33198_ACEOF 33199if ac_fn_c_try_link "$LINENO"; then : 33200 ac_cv_lib_una_libuna_utf16_string_size_from_byte_stream=yes 33201else 33202 ac_cv_lib_una_libuna_utf16_string_size_from_byte_stream=no 33203fi 33204rm -f core conftest.err conftest.$ac_objext \ 33205 conftest$ac_exeext conftest.$ac_ext 33206LIBS=$ac_check_lib_save_LIBS 33207fi 33208{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_byte_stream" >&5 33209$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_byte_stream" >&6; } 33210if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_byte_stream" = xyes; then : 33211 ac_cv_libuna_dummy=yes 33212else 33213 ac_cv_libuna=no 33214fi 33215 33216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_byte_stream in -luna" >&5 33217$as_echo_n "checking for libuna_utf16_string_copy_from_byte_stream in -luna... " >&6; } 33218if ${ac_cv_lib_una_libuna_utf16_string_copy_from_byte_stream+:} false; then : 33219 $as_echo_n "(cached) " >&6 33220else 33221 ac_check_lib_save_LIBS=$LIBS 33222LIBS="-luna $LIBS" 33223cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33224/* end confdefs.h. */ 33225 33226/* Override any GCC internal prototype to avoid an error. 33227 Use char because int might match the return type of a GCC 33228 builtin and then its argument prototype would still apply. */ 33229#ifdef __cplusplus 33230extern "C" 33231#endif 33232char libuna_utf16_string_copy_from_byte_stream (); 33233int 33234main () 33235{ 33236return libuna_utf16_string_copy_from_byte_stream (); 33237 ; 33238 return 0; 33239} 33240_ACEOF 33241if ac_fn_c_try_link "$LINENO"; then : 33242 ac_cv_lib_una_libuna_utf16_string_copy_from_byte_stream=yes 33243else 33244 ac_cv_lib_una_libuna_utf16_string_copy_from_byte_stream=no 33245fi 33246rm -f core conftest.err conftest.$ac_objext \ 33247 conftest$ac_exeext conftest.$ac_ext 33248LIBS=$ac_check_lib_save_LIBS 33249fi 33250{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_byte_stream" >&5 33251$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_byte_stream" >&6; } 33252if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_byte_stream" = xyes; then : 33253 ac_cv_libuna_dummy=yes 33254else 33255 ac_cv_libuna=no 33256fi 33257 33258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_byte_stream in -luna" >&5 33259$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_byte_stream in -luna... " >&6; } 33260if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_byte_stream+:} false; then : 33261 $as_echo_n "(cached) " >&6 33262else 33263 ac_check_lib_save_LIBS=$LIBS 33264LIBS="-luna $LIBS" 33265cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33266/* end confdefs.h. */ 33267 33268/* Override any GCC internal prototype to avoid an error. 33269 Use char because int might match the return type of a GCC 33270 builtin and then its argument prototype would still apply. */ 33271#ifdef __cplusplus 33272extern "C" 33273#endif 33274char libuna_utf16_string_with_index_copy_from_byte_stream (); 33275int 33276main () 33277{ 33278return libuna_utf16_string_with_index_copy_from_byte_stream (); 33279 ; 33280 return 0; 33281} 33282_ACEOF 33283if ac_fn_c_try_link "$LINENO"; then : 33284 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_byte_stream=yes 33285else 33286 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_byte_stream=no 33287fi 33288rm -f core conftest.err conftest.$ac_objext \ 33289 conftest$ac_exeext conftest.$ac_ext 33290LIBS=$ac_check_lib_save_LIBS 33291fi 33292{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_byte_stream" >&5 33293$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_byte_stream" >&6; } 33294if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_byte_stream" = xyes; then : 33295 ac_cv_libuna_dummy=yes 33296else 33297 ac_cv_libuna=no 33298fi 33299 33300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_utf7_stream in -luna" >&5 33301$as_echo_n "checking for libuna_utf16_string_size_from_utf7_stream in -luna... " >&6; } 33302if ${ac_cv_lib_una_libuna_utf16_string_size_from_utf7_stream+:} false; then : 33303 $as_echo_n "(cached) " >&6 33304else 33305 ac_check_lib_save_LIBS=$LIBS 33306LIBS="-luna $LIBS" 33307cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33308/* end confdefs.h. */ 33309 33310/* Override any GCC internal prototype to avoid an error. 33311 Use char because int might match the return type of a GCC 33312 builtin and then its argument prototype would still apply. */ 33313#ifdef __cplusplus 33314extern "C" 33315#endif 33316char libuna_utf16_string_size_from_utf7_stream (); 33317int 33318main () 33319{ 33320return libuna_utf16_string_size_from_utf7_stream (); 33321 ; 33322 return 0; 33323} 33324_ACEOF 33325if ac_fn_c_try_link "$LINENO"; then : 33326 ac_cv_lib_una_libuna_utf16_string_size_from_utf7_stream=yes 33327else 33328 ac_cv_lib_una_libuna_utf16_string_size_from_utf7_stream=no 33329fi 33330rm -f core conftest.err conftest.$ac_objext \ 33331 conftest$ac_exeext conftest.$ac_ext 33332LIBS=$ac_check_lib_save_LIBS 33333fi 33334{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_utf7_stream" >&5 33335$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_utf7_stream" >&6; } 33336if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_utf7_stream" = xyes; then : 33337 ac_cv_libuna_dummy=yes 33338else 33339 ac_cv_libuna=no 33340fi 33341 33342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_utf7_stream in -luna" >&5 33343$as_echo_n "checking for libuna_utf16_string_copy_from_utf7_stream in -luna... " >&6; } 33344if ${ac_cv_lib_una_libuna_utf16_string_copy_from_utf7_stream+:} false; then : 33345 $as_echo_n "(cached) " >&6 33346else 33347 ac_check_lib_save_LIBS=$LIBS 33348LIBS="-luna $LIBS" 33349cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33350/* end confdefs.h. */ 33351 33352/* Override any GCC internal prototype to avoid an error. 33353 Use char because int might match the return type of a GCC 33354 builtin and then its argument prototype would still apply. */ 33355#ifdef __cplusplus 33356extern "C" 33357#endif 33358char libuna_utf16_string_copy_from_utf7_stream (); 33359int 33360main () 33361{ 33362return libuna_utf16_string_copy_from_utf7_stream (); 33363 ; 33364 return 0; 33365} 33366_ACEOF 33367if ac_fn_c_try_link "$LINENO"; then : 33368 ac_cv_lib_una_libuna_utf16_string_copy_from_utf7_stream=yes 33369else 33370 ac_cv_lib_una_libuna_utf16_string_copy_from_utf7_stream=no 33371fi 33372rm -f core conftest.err conftest.$ac_objext \ 33373 conftest$ac_exeext conftest.$ac_ext 33374LIBS=$ac_check_lib_save_LIBS 33375fi 33376{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_utf7_stream" >&5 33377$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_utf7_stream" >&6; } 33378if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_utf7_stream" = xyes; then : 33379 ac_cv_libuna_dummy=yes 33380else 33381 ac_cv_libuna=no 33382fi 33383 33384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_utf7_stream in -luna" >&5 33385$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_utf7_stream in -luna... " >&6; } 33386if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf7_stream+:} false; then : 33387 $as_echo_n "(cached) " >&6 33388else 33389 ac_check_lib_save_LIBS=$LIBS 33390LIBS="-luna $LIBS" 33391cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33392/* end confdefs.h. */ 33393 33394/* Override any GCC internal prototype to avoid an error. 33395 Use char because int might match the return type of a GCC 33396 builtin and then its argument prototype would still apply. */ 33397#ifdef __cplusplus 33398extern "C" 33399#endif 33400char libuna_utf16_string_with_index_copy_from_utf7_stream (); 33401int 33402main () 33403{ 33404return libuna_utf16_string_with_index_copy_from_utf7_stream (); 33405 ; 33406 return 0; 33407} 33408_ACEOF 33409if ac_fn_c_try_link "$LINENO"; then : 33410 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf7_stream=yes 33411else 33412 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf7_stream=no 33413fi 33414rm -f core conftest.err conftest.$ac_objext \ 33415 conftest$ac_exeext conftest.$ac_ext 33416LIBS=$ac_check_lib_save_LIBS 33417fi 33418{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf7_stream" >&5 33419$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf7_stream" >&6; } 33420if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf7_stream" = xyes; then : 33421 ac_cv_libuna_dummy=yes 33422else 33423 ac_cv_libuna=no 33424fi 33425 33426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_utf8_stream in -luna" >&5 33427$as_echo_n "checking for libuna_utf16_string_size_from_utf8_stream in -luna... " >&6; } 33428if ${ac_cv_lib_una_libuna_utf16_string_size_from_utf8_stream+:} false; then : 33429 $as_echo_n "(cached) " >&6 33430else 33431 ac_check_lib_save_LIBS=$LIBS 33432LIBS="-luna $LIBS" 33433cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33434/* end confdefs.h. */ 33435 33436/* Override any GCC internal prototype to avoid an error. 33437 Use char because int might match the return type of a GCC 33438 builtin and then its argument prototype would still apply. */ 33439#ifdef __cplusplus 33440extern "C" 33441#endif 33442char libuna_utf16_string_size_from_utf8_stream (); 33443int 33444main () 33445{ 33446return libuna_utf16_string_size_from_utf8_stream (); 33447 ; 33448 return 0; 33449} 33450_ACEOF 33451if ac_fn_c_try_link "$LINENO"; then : 33452 ac_cv_lib_una_libuna_utf16_string_size_from_utf8_stream=yes 33453else 33454 ac_cv_lib_una_libuna_utf16_string_size_from_utf8_stream=no 33455fi 33456rm -f core conftest.err conftest.$ac_objext \ 33457 conftest$ac_exeext conftest.$ac_ext 33458LIBS=$ac_check_lib_save_LIBS 33459fi 33460{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_utf8_stream" >&5 33461$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_utf8_stream" >&6; } 33462if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_utf8_stream" = xyes; then : 33463 ac_cv_libuna_dummy=yes 33464else 33465 ac_cv_libuna=no 33466fi 33467 33468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_utf8_stream in -luna" >&5 33469$as_echo_n "checking for libuna_utf16_string_copy_from_utf8_stream in -luna... " >&6; } 33470if ${ac_cv_lib_una_libuna_utf16_string_copy_from_utf8_stream+:} false; then : 33471 $as_echo_n "(cached) " >&6 33472else 33473 ac_check_lib_save_LIBS=$LIBS 33474LIBS="-luna $LIBS" 33475cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33476/* end confdefs.h. */ 33477 33478/* Override any GCC internal prototype to avoid an error. 33479 Use char because int might match the return type of a GCC 33480 builtin and then its argument prototype would still apply. */ 33481#ifdef __cplusplus 33482extern "C" 33483#endif 33484char libuna_utf16_string_copy_from_utf8_stream (); 33485int 33486main () 33487{ 33488return libuna_utf16_string_copy_from_utf8_stream (); 33489 ; 33490 return 0; 33491} 33492_ACEOF 33493if ac_fn_c_try_link "$LINENO"; then : 33494 ac_cv_lib_una_libuna_utf16_string_copy_from_utf8_stream=yes 33495else 33496 ac_cv_lib_una_libuna_utf16_string_copy_from_utf8_stream=no 33497fi 33498rm -f core conftest.err conftest.$ac_objext \ 33499 conftest$ac_exeext conftest.$ac_ext 33500LIBS=$ac_check_lib_save_LIBS 33501fi 33502{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_utf8_stream" >&5 33503$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_utf8_stream" >&6; } 33504if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_utf8_stream" = xyes; then : 33505 ac_cv_libuna_dummy=yes 33506else 33507 ac_cv_libuna=no 33508fi 33509 33510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_utf8_stream in -luna" >&5 33511$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_utf8_stream in -luna... " >&6; } 33512if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8_stream+:} false; then : 33513 $as_echo_n "(cached) " >&6 33514else 33515 ac_check_lib_save_LIBS=$LIBS 33516LIBS="-luna $LIBS" 33517cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33518/* end confdefs.h. */ 33519 33520/* Override any GCC internal prototype to avoid an error. 33521 Use char because int might match the return type of a GCC 33522 builtin and then its argument prototype would still apply. */ 33523#ifdef __cplusplus 33524extern "C" 33525#endif 33526char libuna_utf16_string_with_index_copy_from_utf8_stream (); 33527int 33528main () 33529{ 33530return libuna_utf16_string_with_index_copy_from_utf8_stream (); 33531 ; 33532 return 0; 33533} 33534_ACEOF 33535if ac_fn_c_try_link "$LINENO"; then : 33536 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8_stream=yes 33537else 33538 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8_stream=no 33539fi 33540rm -f core conftest.err conftest.$ac_objext \ 33541 conftest$ac_exeext conftest.$ac_ext 33542LIBS=$ac_check_lib_save_LIBS 33543fi 33544{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8_stream" >&5 33545$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8_stream" >&6; } 33546if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8_stream" = xyes; then : 33547 ac_cv_libuna_dummy=yes 33548else 33549 ac_cv_libuna=no 33550fi 33551 33552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_utf16_stream in -luna" >&5 33553$as_echo_n "checking for libuna_utf16_string_size_from_utf16_stream in -luna... " >&6; } 33554if ${ac_cv_lib_una_libuna_utf16_string_size_from_utf16_stream+:} false; then : 33555 $as_echo_n "(cached) " >&6 33556else 33557 ac_check_lib_save_LIBS=$LIBS 33558LIBS="-luna $LIBS" 33559cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33560/* end confdefs.h. */ 33561 33562/* Override any GCC internal prototype to avoid an error. 33563 Use char because int might match the return type of a GCC 33564 builtin and then its argument prototype would still apply. */ 33565#ifdef __cplusplus 33566extern "C" 33567#endif 33568char libuna_utf16_string_size_from_utf16_stream (); 33569int 33570main () 33571{ 33572return libuna_utf16_string_size_from_utf16_stream (); 33573 ; 33574 return 0; 33575} 33576_ACEOF 33577if ac_fn_c_try_link "$LINENO"; then : 33578 ac_cv_lib_una_libuna_utf16_string_size_from_utf16_stream=yes 33579else 33580 ac_cv_lib_una_libuna_utf16_string_size_from_utf16_stream=no 33581fi 33582rm -f core conftest.err conftest.$ac_objext \ 33583 conftest$ac_exeext conftest.$ac_ext 33584LIBS=$ac_check_lib_save_LIBS 33585fi 33586{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_utf16_stream" >&5 33587$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_utf16_stream" >&6; } 33588if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_utf16_stream" = xyes; then : 33589 ac_cv_libuna_dummy=yes 33590else 33591 ac_cv_libuna=no 33592fi 33593 33594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_utf16_stream in -luna" >&5 33595$as_echo_n "checking for libuna_utf16_string_copy_from_utf16_stream in -luna... " >&6; } 33596if ${ac_cv_lib_una_libuna_utf16_string_copy_from_utf16_stream+:} false; then : 33597 $as_echo_n "(cached) " >&6 33598else 33599 ac_check_lib_save_LIBS=$LIBS 33600LIBS="-luna $LIBS" 33601cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33602/* end confdefs.h. */ 33603 33604/* Override any GCC internal prototype to avoid an error. 33605 Use char because int might match the return type of a GCC 33606 builtin and then its argument prototype would still apply. */ 33607#ifdef __cplusplus 33608extern "C" 33609#endif 33610char libuna_utf16_string_copy_from_utf16_stream (); 33611int 33612main () 33613{ 33614return libuna_utf16_string_copy_from_utf16_stream (); 33615 ; 33616 return 0; 33617} 33618_ACEOF 33619if ac_fn_c_try_link "$LINENO"; then : 33620 ac_cv_lib_una_libuna_utf16_string_copy_from_utf16_stream=yes 33621else 33622 ac_cv_lib_una_libuna_utf16_string_copy_from_utf16_stream=no 33623fi 33624rm -f core conftest.err conftest.$ac_objext \ 33625 conftest$ac_exeext conftest.$ac_ext 33626LIBS=$ac_check_lib_save_LIBS 33627fi 33628{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_utf16_stream" >&5 33629$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_utf16_stream" >&6; } 33630if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_utf16_stream" = xyes; then : 33631 ac_cv_libuna_dummy=yes 33632else 33633 ac_cv_libuna=no 33634fi 33635 33636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_utf16_stream in -luna" >&5 33637$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_utf16_stream in -luna... " >&6; } 33638if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf16_stream+:} false; then : 33639 $as_echo_n "(cached) " >&6 33640else 33641 ac_check_lib_save_LIBS=$LIBS 33642LIBS="-luna $LIBS" 33643cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33644/* end confdefs.h. */ 33645 33646/* Override any GCC internal prototype to avoid an error. 33647 Use char because int might match the return type of a GCC 33648 builtin and then its argument prototype would still apply. */ 33649#ifdef __cplusplus 33650extern "C" 33651#endif 33652char libuna_utf16_string_with_index_copy_from_utf16_stream (); 33653int 33654main () 33655{ 33656return libuna_utf16_string_with_index_copy_from_utf16_stream (); 33657 ; 33658 return 0; 33659} 33660_ACEOF 33661if ac_fn_c_try_link "$LINENO"; then : 33662 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf16_stream=yes 33663else 33664 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf16_stream=no 33665fi 33666rm -f core conftest.err conftest.$ac_objext \ 33667 conftest$ac_exeext conftest.$ac_ext 33668LIBS=$ac_check_lib_save_LIBS 33669fi 33670{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf16_stream" >&5 33671$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf16_stream" >&6; } 33672if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf16_stream" = xyes; then : 33673 ac_cv_libuna_dummy=yes 33674else 33675 ac_cv_libuna=no 33676fi 33677 33678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_utf32_stream in -luna" >&5 33679$as_echo_n "checking for libuna_utf16_string_size_from_utf32_stream in -luna... " >&6; } 33680if ${ac_cv_lib_una_libuna_utf16_string_size_from_utf32_stream+:} false; then : 33681 $as_echo_n "(cached) " >&6 33682else 33683 ac_check_lib_save_LIBS=$LIBS 33684LIBS="-luna $LIBS" 33685cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33686/* end confdefs.h. */ 33687 33688/* Override any GCC internal prototype to avoid an error. 33689 Use char because int might match the return type of a GCC 33690 builtin and then its argument prototype would still apply. */ 33691#ifdef __cplusplus 33692extern "C" 33693#endif 33694char libuna_utf16_string_size_from_utf32_stream (); 33695int 33696main () 33697{ 33698return libuna_utf16_string_size_from_utf32_stream (); 33699 ; 33700 return 0; 33701} 33702_ACEOF 33703if ac_fn_c_try_link "$LINENO"; then : 33704 ac_cv_lib_una_libuna_utf16_string_size_from_utf32_stream=yes 33705else 33706 ac_cv_lib_una_libuna_utf16_string_size_from_utf32_stream=no 33707fi 33708rm -f core conftest.err conftest.$ac_objext \ 33709 conftest$ac_exeext conftest.$ac_ext 33710LIBS=$ac_check_lib_save_LIBS 33711fi 33712{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_utf32_stream" >&5 33713$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_utf32_stream" >&6; } 33714if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_utf32_stream" = xyes; then : 33715 ac_cv_libuna_dummy=yes 33716else 33717 ac_cv_libuna=no 33718fi 33719 33720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_utf32_stream in -luna" >&5 33721$as_echo_n "checking for libuna_utf16_string_copy_from_utf32_stream in -luna... " >&6; } 33722if ${ac_cv_lib_una_libuna_utf16_string_copy_from_utf32_stream+:} false; then : 33723 $as_echo_n "(cached) " >&6 33724else 33725 ac_check_lib_save_LIBS=$LIBS 33726LIBS="-luna $LIBS" 33727cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33728/* end confdefs.h. */ 33729 33730/* Override any GCC internal prototype to avoid an error. 33731 Use char because int might match the return type of a GCC 33732 builtin and then its argument prototype would still apply. */ 33733#ifdef __cplusplus 33734extern "C" 33735#endif 33736char libuna_utf16_string_copy_from_utf32_stream (); 33737int 33738main () 33739{ 33740return libuna_utf16_string_copy_from_utf32_stream (); 33741 ; 33742 return 0; 33743} 33744_ACEOF 33745if ac_fn_c_try_link "$LINENO"; then : 33746 ac_cv_lib_una_libuna_utf16_string_copy_from_utf32_stream=yes 33747else 33748 ac_cv_lib_una_libuna_utf16_string_copy_from_utf32_stream=no 33749fi 33750rm -f core conftest.err conftest.$ac_objext \ 33751 conftest$ac_exeext conftest.$ac_ext 33752LIBS=$ac_check_lib_save_LIBS 33753fi 33754{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_utf32_stream" >&5 33755$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_utf32_stream" >&6; } 33756if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_utf32_stream" = xyes; then : 33757 ac_cv_libuna_dummy=yes 33758else 33759 ac_cv_libuna=no 33760fi 33761 33762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_utf32_stream in -luna" >&5 33763$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_utf32_stream in -luna... " >&6; } 33764if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32_stream+:} false; then : 33765 $as_echo_n "(cached) " >&6 33766else 33767 ac_check_lib_save_LIBS=$LIBS 33768LIBS="-luna $LIBS" 33769cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33770/* end confdefs.h. */ 33771 33772/* Override any GCC internal prototype to avoid an error. 33773 Use char because int might match the return type of a GCC 33774 builtin and then its argument prototype would still apply. */ 33775#ifdef __cplusplus 33776extern "C" 33777#endif 33778char libuna_utf16_string_with_index_copy_from_utf32_stream (); 33779int 33780main () 33781{ 33782return libuna_utf16_string_with_index_copy_from_utf32_stream (); 33783 ; 33784 return 0; 33785} 33786_ACEOF 33787if ac_fn_c_try_link "$LINENO"; then : 33788 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32_stream=yes 33789else 33790 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32_stream=no 33791fi 33792rm -f core conftest.err conftest.$ac_objext \ 33793 conftest$ac_exeext conftest.$ac_ext 33794LIBS=$ac_check_lib_save_LIBS 33795fi 33796{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32_stream" >&5 33797$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32_stream" >&6; } 33798if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32_stream" = xyes; then : 33799 ac_cv_libuna_dummy=yes 33800else 33801 ac_cv_libuna=no 33802fi 33803 33804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_utf8 in -luna" >&5 33805$as_echo_n "checking for libuna_utf16_string_size_from_utf8 in -luna... " >&6; } 33806if ${ac_cv_lib_una_libuna_utf16_string_size_from_utf8+:} false; then : 33807 $as_echo_n "(cached) " >&6 33808else 33809 ac_check_lib_save_LIBS=$LIBS 33810LIBS="-luna $LIBS" 33811cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33812/* end confdefs.h. */ 33813 33814/* Override any GCC internal prototype to avoid an error. 33815 Use char because int might match the return type of a GCC 33816 builtin and then its argument prototype would still apply. */ 33817#ifdef __cplusplus 33818extern "C" 33819#endif 33820char libuna_utf16_string_size_from_utf8 (); 33821int 33822main () 33823{ 33824return libuna_utf16_string_size_from_utf8 (); 33825 ; 33826 return 0; 33827} 33828_ACEOF 33829if ac_fn_c_try_link "$LINENO"; then : 33830 ac_cv_lib_una_libuna_utf16_string_size_from_utf8=yes 33831else 33832 ac_cv_lib_una_libuna_utf16_string_size_from_utf8=no 33833fi 33834rm -f core conftest.err conftest.$ac_objext \ 33835 conftest$ac_exeext conftest.$ac_ext 33836LIBS=$ac_check_lib_save_LIBS 33837fi 33838{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_utf8" >&5 33839$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_utf8" >&6; } 33840if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_utf8" = xyes; then : 33841 ac_cv_libuna_dummy=yes 33842else 33843 ac_cv_libuna=no 33844fi 33845 33846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_utf8 in -luna" >&5 33847$as_echo_n "checking for libuna_utf16_string_copy_from_utf8 in -luna... " >&6; } 33848if ${ac_cv_lib_una_libuna_utf16_string_copy_from_utf8+:} false; then : 33849 $as_echo_n "(cached) " >&6 33850else 33851 ac_check_lib_save_LIBS=$LIBS 33852LIBS="-luna $LIBS" 33853cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33854/* end confdefs.h. */ 33855 33856/* Override any GCC internal prototype to avoid an error. 33857 Use char because int might match the return type of a GCC 33858 builtin and then its argument prototype would still apply. */ 33859#ifdef __cplusplus 33860extern "C" 33861#endif 33862char libuna_utf16_string_copy_from_utf8 (); 33863int 33864main () 33865{ 33866return libuna_utf16_string_copy_from_utf8 (); 33867 ; 33868 return 0; 33869} 33870_ACEOF 33871if ac_fn_c_try_link "$LINENO"; then : 33872 ac_cv_lib_una_libuna_utf16_string_copy_from_utf8=yes 33873else 33874 ac_cv_lib_una_libuna_utf16_string_copy_from_utf8=no 33875fi 33876rm -f core conftest.err conftest.$ac_objext \ 33877 conftest$ac_exeext conftest.$ac_ext 33878LIBS=$ac_check_lib_save_LIBS 33879fi 33880{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_utf8" >&5 33881$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_utf8" >&6; } 33882if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_utf8" = xyes; then : 33883 ac_cv_libuna_dummy=yes 33884else 33885 ac_cv_libuna=no 33886fi 33887 33888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_utf8 in -luna" >&5 33889$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_utf8 in -luna... " >&6; } 33890if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8+:} false; then : 33891 $as_echo_n "(cached) " >&6 33892else 33893 ac_check_lib_save_LIBS=$LIBS 33894LIBS="-luna $LIBS" 33895cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33896/* end confdefs.h. */ 33897 33898/* Override any GCC internal prototype to avoid an error. 33899 Use char because int might match the return type of a GCC 33900 builtin and then its argument prototype would still apply. */ 33901#ifdef __cplusplus 33902extern "C" 33903#endif 33904char libuna_utf16_string_with_index_copy_from_utf8 (); 33905int 33906main () 33907{ 33908return libuna_utf16_string_with_index_copy_from_utf8 (); 33909 ; 33910 return 0; 33911} 33912_ACEOF 33913if ac_fn_c_try_link "$LINENO"; then : 33914 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8=yes 33915else 33916 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8=no 33917fi 33918rm -f core conftest.err conftest.$ac_objext \ 33919 conftest$ac_exeext conftest.$ac_ext 33920LIBS=$ac_check_lib_save_LIBS 33921fi 33922{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8" >&5 33923$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8" >&6; } 33924if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf8" = xyes; then : 33925 ac_cv_libuna_dummy=yes 33926else 33927 ac_cv_libuna=no 33928fi 33929 33930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_utf32 in -luna" >&5 33931$as_echo_n "checking for libuna_utf16_string_size_from_utf32 in -luna... " >&6; } 33932if ${ac_cv_lib_una_libuna_utf16_string_size_from_utf32+:} false; then : 33933 $as_echo_n "(cached) " >&6 33934else 33935 ac_check_lib_save_LIBS=$LIBS 33936LIBS="-luna $LIBS" 33937cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33938/* end confdefs.h. */ 33939 33940/* Override any GCC internal prototype to avoid an error. 33941 Use char because int might match the return type of a GCC 33942 builtin and then its argument prototype would still apply. */ 33943#ifdef __cplusplus 33944extern "C" 33945#endif 33946char libuna_utf16_string_size_from_utf32 (); 33947int 33948main () 33949{ 33950return libuna_utf16_string_size_from_utf32 (); 33951 ; 33952 return 0; 33953} 33954_ACEOF 33955if ac_fn_c_try_link "$LINENO"; then : 33956 ac_cv_lib_una_libuna_utf16_string_size_from_utf32=yes 33957else 33958 ac_cv_lib_una_libuna_utf16_string_size_from_utf32=no 33959fi 33960rm -f core conftest.err conftest.$ac_objext \ 33961 conftest$ac_exeext conftest.$ac_ext 33962LIBS=$ac_check_lib_save_LIBS 33963fi 33964{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_utf32" >&5 33965$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_utf32" >&6; } 33966if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_utf32" = xyes; then : 33967 ac_cv_libuna_dummy=yes 33968else 33969 ac_cv_libuna=no 33970fi 33971 33972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_utf32 in -luna" >&5 33973$as_echo_n "checking for libuna_utf16_string_copy_from_utf32 in -luna... " >&6; } 33974if ${ac_cv_lib_una_libuna_utf16_string_copy_from_utf32+:} false; then : 33975 $as_echo_n "(cached) " >&6 33976else 33977 ac_check_lib_save_LIBS=$LIBS 33978LIBS="-luna $LIBS" 33979cat confdefs.h - <<_ACEOF >conftest.$ac_ext 33980/* end confdefs.h. */ 33981 33982/* Override any GCC internal prototype to avoid an error. 33983 Use char because int might match the return type of a GCC 33984 builtin and then its argument prototype would still apply. */ 33985#ifdef __cplusplus 33986extern "C" 33987#endif 33988char libuna_utf16_string_copy_from_utf32 (); 33989int 33990main () 33991{ 33992return libuna_utf16_string_copy_from_utf32 (); 33993 ; 33994 return 0; 33995} 33996_ACEOF 33997if ac_fn_c_try_link "$LINENO"; then : 33998 ac_cv_lib_una_libuna_utf16_string_copy_from_utf32=yes 33999else 34000 ac_cv_lib_una_libuna_utf16_string_copy_from_utf32=no 34001fi 34002rm -f core conftest.err conftest.$ac_objext \ 34003 conftest$ac_exeext conftest.$ac_ext 34004LIBS=$ac_check_lib_save_LIBS 34005fi 34006{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_utf32" >&5 34007$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_utf32" >&6; } 34008if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_utf32" = xyes; then : 34009 ac_cv_libuna_dummy=yes 34010else 34011 ac_cv_libuna=no 34012fi 34013 34014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_utf32 in -luna" >&5 34015$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_utf32 in -luna... " >&6; } 34016if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32+:} false; then : 34017 $as_echo_n "(cached) " >&6 34018else 34019 ac_check_lib_save_LIBS=$LIBS 34020LIBS="-luna $LIBS" 34021cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34022/* end confdefs.h. */ 34023 34024/* Override any GCC internal prototype to avoid an error. 34025 Use char because int might match the return type of a GCC 34026 builtin and then its argument prototype would still apply. */ 34027#ifdef __cplusplus 34028extern "C" 34029#endif 34030char libuna_utf16_string_with_index_copy_from_utf32 (); 34031int 34032main () 34033{ 34034return libuna_utf16_string_with_index_copy_from_utf32 (); 34035 ; 34036 return 0; 34037} 34038_ACEOF 34039if ac_fn_c_try_link "$LINENO"; then : 34040 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32=yes 34041else 34042 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32=no 34043fi 34044rm -f core conftest.err conftest.$ac_objext \ 34045 conftest$ac_exeext conftest.$ac_ext 34046LIBS=$ac_check_lib_save_LIBS 34047fi 34048{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32" >&5 34049$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32" >&6; } 34050if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_utf32" = xyes; then : 34051 ac_cv_libuna_dummy=yes 34052else 34053 ac_cv_libuna=no 34054fi 34055 34056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_size_from_scsu_stream in -luna" >&5 34057$as_echo_n "checking for libuna_utf16_string_size_from_scsu_stream in -luna... " >&6; } 34058if ${ac_cv_lib_una_libuna_utf16_string_size_from_scsu_stream+:} false; then : 34059 $as_echo_n "(cached) " >&6 34060else 34061 ac_check_lib_save_LIBS=$LIBS 34062LIBS="-luna $LIBS" 34063cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34064/* end confdefs.h. */ 34065 34066/* Override any GCC internal prototype to avoid an error. 34067 Use char because int might match the return type of a GCC 34068 builtin and then its argument prototype would still apply. */ 34069#ifdef __cplusplus 34070extern "C" 34071#endif 34072char libuna_utf16_string_size_from_scsu_stream (); 34073int 34074main () 34075{ 34076return libuna_utf16_string_size_from_scsu_stream (); 34077 ; 34078 return 0; 34079} 34080_ACEOF 34081if ac_fn_c_try_link "$LINENO"; then : 34082 ac_cv_lib_una_libuna_utf16_string_size_from_scsu_stream=yes 34083else 34084 ac_cv_lib_una_libuna_utf16_string_size_from_scsu_stream=no 34085fi 34086rm -f core conftest.err conftest.$ac_objext \ 34087 conftest$ac_exeext conftest.$ac_ext 34088LIBS=$ac_check_lib_save_LIBS 34089fi 34090{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_size_from_scsu_stream" >&5 34091$as_echo "$ac_cv_lib_una_libuna_utf16_string_size_from_scsu_stream" >&6; } 34092if test "x$ac_cv_lib_una_libuna_utf16_string_size_from_scsu_stream" = xyes; then : 34093 ac_cv_libuna_dummy=yes 34094else 34095 ac_cv_libuna=no 34096fi 34097 34098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_copy_from_scsu_stream in -luna" >&5 34099$as_echo_n "checking for libuna_utf16_string_copy_from_scsu_stream in -luna... " >&6; } 34100if ${ac_cv_lib_una_libuna_utf16_string_copy_from_scsu_stream+:} false; then : 34101 $as_echo_n "(cached) " >&6 34102else 34103 ac_check_lib_save_LIBS=$LIBS 34104LIBS="-luna $LIBS" 34105cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34106/* end confdefs.h. */ 34107 34108/* Override any GCC internal prototype to avoid an error. 34109 Use char because int might match the return type of a GCC 34110 builtin and then its argument prototype would still apply. */ 34111#ifdef __cplusplus 34112extern "C" 34113#endif 34114char libuna_utf16_string_copy_from_scsu_stream (); 34115int 34116main () 34117{ 34118return libuna_utf16_string_copy_from_scsu_stream (); 34119 ; 34120 return 0; 34121} 34122_ACEOF 34123if ac_fn_c_try_link "$LINENO"; then : 34124 ac_cv_lib_una_libuna_utf16_string_copy_from_scsu_stream=yes 34125else 34126 ac_cv_lib_una_libuna_utf16_string_copy_from_scsu_stream=no 34127fi 34128rm -f core conftest.err conftest.$ac_objext \ 34129 conftest$ac_exeext conftest.$ac_ext 34130LIBS=$ac_check_lib_save_LIBS 34131fi 34132{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_copy_from_scsu_stream" >&5 34133$as_echo "$ac_cv_lib_una_libuna_utf16_string_copy_from_scsu_stream" >&6; } 34134if test "x$ac_cv_lib_una_libuna_utf16_string_copy_from_scsu_stream" = xyes; then : 34135 ac_cv_libuna_dummy=yes 34136else 34137 ac_cv_libuna=no 34138fi 34139 34140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf16_string_with_index_copy_from_scsu_stream in -luna" >&5 34141$as_echo_n "checking for libuna_utf16_string_with_index_copy_from_scsu_stream in -luna... " >&6; } 34142if ${ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_scsu_stream+:} false; then : 34143 $as_echo_n "(cached) " >&6 34144else 34145 ac_check_lib_save_LIBS=$LIBS 34146LIBS="-luna $LIBS" 34147cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34148/* end confdefs.h. */ 34149 34150/* Override any GCC internal prototype to avoid an error. 34151 Use char because int might match the return type of a GCC 34152 builtin and then its argument prototype would still apply. */ 34153#ifdef __cplusplus 34154extern "C" 34155#endif 34156char libuna_utf16_string_with_index_copy_from_scsu_stream (); 34157int 34158main () 34159{ 34160return libuna_utf16_string_with_index_copy_from_scsu_stream (); 34161 ; 34162 return 0; 34163} 34164_ACEOF 34165if ac_fn_c_try_link "$LINENO"; then : 34166 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_scsu_stream=yes 34167else 34168 ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_scsu_stream=no 34169fi 34170rm -f core conftest.err conftest.$ac_objext \ 34171 conftest$ac_exeext conftest.$ac_ext 34172LIBS=$ac_check_lib_save_LIBS 34173fi 34174{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_scsu_stream" >&5 34175$as_echo "$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_scsu_stream" >&6; } 34176if test "x$ac_cv_lib_una_libuna_utf16_string_with_index_copy_from_scsu_stream" = xyes; then : 34177 ac_cv_libuna_dummy=yes 34178else 34179 ac_cv_libuna=no 34180fi 34181 34182 34183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_byte_stream in -luna" >&5 34184$as_echo_n "checking for libuna_utf32_string_size_from_byte_stream in -luna... " >&6; } 34185if ${ac_cv_lib_una_libuna_utf32_string_size_from_byte_stream+:} false; then : 34186 $as_echo_n "(cached) " >&6 34187else 34188 ac_check_lib_save_LIBS=$LIBS 34189LIBS="-luna $LIBS" 34190cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34191/* end confdefs.h. */ 34192 34193/* Override any GCC internal prototype to avoid an error. 34194 Use char because int might match the return type of a GCC 34195 builtin and then its argument prototype would still apply. */ 34196#ifdef __cplusplus 34197extern "C" 34198#endif 34199char libuna_utf32_string_size_from_byte_stream (); 34200int 34201main () 34202{ 34203return libuna_utf32_string_size_from_byte_stream (); 34204 ; 34205 return 0; 34206} 34207_ACEOF 34208if ac_fn_c_try_link "$LINENO"; then : 34209 ac_cv_lib_una_libuna_utf32_string_size_from_byte_stream=yes 34210else 34211 ac_cv_lib_una_libuna_utf32_string_size_from_byte_stream=no 34212fi 34213rm -f core conftest.err conftest.$ac_objext \ 34214 conftest$ac_exeext conftest.$ac_ext 34215LIBS=$ac_check_lib_save_LIBS 34216fi 34217{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_byte_stream" >&5 34218$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_byte_stream" >&6; } 34219if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_byte_stream" = xyes; then : 34220 ac_cv_libuna_dummy=yes 34221else 34222 ac_cv_libuna=no 34223fi 34224 34225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_byte_stream in -luna" >&5 34226$as_echo_n "checking for libuna_utf32_string_copy_from_byte_stream in -luna... " >&6; } 34227if ${ac_cv_lib_una_libuna_utf32_string_copy_from_byte_stream+:} false; then : 34228 $as_echo_n "(cached) " >&6 34229else 34230 ac_check_lib_save_LIBS=$LIBS 34231LIBS="-luna $LIBS" 34232cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34233/* end confdefs.h. */ 34234 34235/* Override any GCC internal prototype to avoid an error. 34236 Use char because int might match the return type of a GCC 34237 builtin and then its argument prototype would still apply. */ 34238#ifdef __cplusplus 34239extern "C" 34240#endif 34241char libuna_utf32_string_copy_from_byte_stream (); 34242int 34243main () 34244{ 34245return libuna_utf32_string_copy_from_byte_stream (); 34246 ; 34247 return 0; 34248} 34249_ACEOF 34250if ac_fn_c_try_link "$LINENO"; then : 34251 ac_cv_lib_una_libuna_utf32_string_copy_from_byte_stream=yes 34252else 34253 ac_cv_lib_una_libuna_utf32_string_copy_from_byte_stream=no 34254fi 34255rm -f core conftest.err conftest.$ac_objext \ 34256 conftest$ac_exeext conftest.$ac_ext 34257LIBS=$ac_check_lib_save_LIBS 34258fi 34259{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_byte_stream" >&5 34260$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_byte_stream" >&6; } 34261if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_byte_stream" = xyes; then : 34262 ac_cv_libuna_dummy=yes 34263else 34264 ac_cv_libuna=no 34265fi 34266 34267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_with_index_copy_from_byte_stream in -luna" >&5 34268$as_echo_n "checking for libuna_utf32_string_with_index_copy_from_byte_stream in -luna... " >&6; } 34269if ${ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_byte_stream+:} false; then : 34270 $as_echo_n "(cached) " >&6 34271else 34272 ac_check_lib_save_LIBS=$LIBS 34273LIBS="-luna $LIBS" 34274cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34275/* end confdefs.h. */ 34276 34277/* Override any GCC internal prototype to avoid an error. 34278 Use char because int might match the return type of a GCC 34279 builtin and then its argument prototype would still apply. */ 34280#ifdef __cplusplus 34281extern "C" 34282#endif 34283char libuna_utf32_string_with_index_copy_from_byte_stream (); 34284int 34285main () 34286{ 34287return libuna_utf32_string_with_index_copy_from_byte_stream (); 34288 ; 34289 return 0; 34290} 34291_ACEOF 34292if ac_fn_c_try_link "$LINENO"; then : 34293 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_byte_stream=yes 34294else 34295 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_byte_stream=no 34296fi 34297rm -f core conftest.err conftest.$ac_objext \ 34298 conftest$ac_exeext conftest.$ac_ext 34299LIBS=$ac_check_lib_save_LIBS 34300fi 34301{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_byte_stream" >&5 34302$as_echo "$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_byte_stream" >&6; } 34303if test "x$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_byte_stream" = xyes; then : 34304 ac_cv_libuna_dummy=yes 34305else 34306 ac_cv_libuna=no 34307fi 34308 34309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_utf7_stream in -luna" >&5 34310$as_echo_n "checking for libuna_utf32_string_size_from_utf7_stream in -luna... " >&6; } 34311if ${ac_cv_lib_una_libuna_utf32_string_size_from_utf7_stream+:} false; then : 34312 $as_echo_n "(cached) " >&6 34313else 34314 ac_check_lib_save_LIBS=$LIBS 34315LIBS="-luna $LIBS" 34316cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34317/* end confdefs.h. */ 34318 34319/* Override any GCC internal prototype to avoid an error. 34320 Use char because int might match the return type of a GCC 34321 builtin and then its argument prototype would still apply. */ 34322#ifdef __cplusplus 34323extern "C" 34324#endif 34325char libuna_utf32_string_size_from_utf7_stream (); 34326int 34327main () 34328{ 34329return libuna_utf32_string_size_from_utf7_stream (); 34330 ; 34331 return 0; 34332} 34333_ACEOF 34334if ac_fn_c_try_link "$LINENO"; then : 34335 ac_cv_lib_una_libuna_utf32_string_size_from_utf7_stream=yes 34336else 34337 ac_cv_lib_una_libuna_utf32_string_size_from_utf7_stream=no 34338fi 34339rm -f core conftest.err conftest.$ac_objext \ 34340 conftest$ac_exeext conftest.$ac_ext 34341LIBS=$ac_check_lib_save_LIBS 34342fi 34343{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_utf7_stream" >&5 34344$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_utf7_stream" >&6; } 34345if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_utf7_stream" = xyes; then : 34346 ac_cv_libuna_dummy=yes 34347else 34348 ac_cv_libuna=no 34349fi 34350 34351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_utf7_stream in -luna" >&5 34352$as_echo_n "checking for libuna_utf32_string_copy_from_utf7_stream in -luna... " >&6; } 34353if ${ac_cv_lib_una_libuna_utf32_string_copy_from_utf7_stream+:} false; then : 34354 $as_echo_n "(cached) " >&6 34355else 34356 ac_check_lib_save_LIBS=$LIBS 34357LIBS="-luna $LIBS" 34358cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34359/* end confdefs.h. */ 34360 34361/* Override any GCC internal prototype to avoid an error. 34362 Use char because int might match the return type of a GCC 34363 builtin and then its argument prototype would still apply. */ 34364#ifdef __cplusplus 34365extern "C" 34366#endif 34367char libuna_utf32_string_copy_from_utf7_stream (); 34368int 34369main () 34370{ 34371return libuna_utf32_string_copy_from_utf7_stream (); 34372 ; 34373 return 0; 34374} 34375_ACEOF 34376if ac_fn_c_try_link "$LINENO"; then : 34377 ac_cv_lib_una_libuna_utf32_string_copy_from_utf7_stream=yes 34378else 34379 ac_cv_lib_una_libuna_utf32_string_copy_from_utf7_stream=no 34380fi 34381rm -f core conftest.err conftest.$ac_objext \ 34382 conftest$ac_exeext conftest.$ac_ext 34383LIBS=$ac_check_lib_save_LIBS 34384fi 34385{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_utf7_stream" >&5 34386$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_utf7_stream" >&6; } 34387if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_utf7_stream" = xyes; then : 34388 ac_cv_libuna_dummy=yes 34389else 34390 ac_cv_libuna=no 34391fi 34392 34393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_with_index_copy_from_utf7_stream in -luna" >&5 34394$as_echo_n "checking for libuna_utf32_string_with_index_copy_from_utf7_stream in -luna... " >&6; } 34395if ${ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf7_stream+:} false; then : 34396 $as_echo_n "(cached) " >&6 34397else 34398 ac_check_lib_save_LIBS=$LIBS 34399LIBS="-luna $LIBS" 34400cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34401/* end confdefs.h. */ 34402 34403/* Override any GCC internal prototype to avoid an error. 34404 Use char because int might match the return type of a GCC 34405 builtin and then its argument prototype would still apply. */ 34406#ifdef __cplusplus 34407extern "C" 34408#endif 34409char libuna_utf32_string_with_index_copy_from_utf7_stream (); 34410int 34411main () 34412{ 34413return libuna_utf32_string_with_index_copy_from_utf7_stream (); 34414 ; 34415 return 0; 34416} 34417_ACEOF 34418if ac_fn_c_try_link "$LINENO"; then : 34419 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf7_stream=yes 34420else 34421 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf7_stream=no 34422fi 34423rm -f core conftest.err conftest.$ac_objext \ 34424 conftest$ac_exeext conftest.$ac_ext 34425LIBS=$ac_check_lib_save_LIBS 34426fi 34427{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf7_stream" >&5 34428$as_echo "$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf7_stream" >&6; } 34429if test "x$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf7_stream" = xyes; then : 34430 ac_cv_libuna_dummy=yes 34431else 34432 ac_cv_libuna=no 34433fi 34434 34435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_utf8_stream in -luna" >&5 34436$as_echo_n "checking for libuna_utf32_string_size_from_utf8_stream in -luna... " >&6; } 34437if ${ac_cv_lib_una_libuna_utf32_string_size_from_utf8_stream+:} false; then : 34438 $as_echo_n "(cached) " >&6 34439else 34440 ac_check_lib_save_LIBS=$LIBS 34441LIBS="-luna $LIBS" 34442cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34443/* end confdefs.h. */ 34444 34445/* Override any GCC internal prototype to avoid an error. 34446 Use char because int might match the return type of a GCC 34447 builtin and then its argument prototype would still apply. */ 34448#ifdef __cplusplus 34449extern "C" 34450#endif 34451char libuna_utf32_string_size_from_utf8_stream (); 34452int 34453main () 34454{ 34455return libuna_utf32_string_size_from_utf8_stream (); 34456 ; 34457 return 0; 34458} 34459_ACEOF 34460if ac_fn_c_try_link "$LINENO"; then : 34461 ac_cv_lib_una_libuna_utf32_string_size_from_utf8_stream=yes 34462else 34463 ac_cv_lib_una_libuna_utf32_string_size_from_utf8_stream=no 34464fi 34465rm -f core conftest.err conftest.$ac_objext \ 34466 conftest$ac_exeext conftest.$ac_ext 34467LIBS=$ac_check_lib_save_LIBS 34468fi 34469{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_utf8_stream" >&5 34470$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_utf8_stream" >&6; } 34471if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_utf8_stream" = xyes; then : 34472 ac_cv_libuna_dummy=yes 34473else 34474 ac_cv_libuna=no 34475fi 34476 34477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_utf8_stream in -luna" >&5 34478$as_echo_n "checking for libuna_utf32_string_copy_from_utf8_stream in -luna... " >&6; } 34479if ${ac_cv_lib_una_libuna_utf32_string_copy_from_utf8_stream+:} false; then : 34480 $as_echo_n "(cached) " >&6 34481else 34482 ac_check_lib_save_LIBS=$LIBS 34483LIBS="-luna $LIBS" 34484cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34485/* end confdefs.h. */ 34486 34487/* Override any GCC internal prototype to avoid an error. 34488 Use char because int might match the return type of a GCC 34489 builtin and then its argument prototype would still apply. */ 34490#ifdef __cplusplus 34491extern "C" 34492#endif 34493char libuna_utf32_string_copy_from_utf8_stream (); 34494int 34495main () 34496{ 34497return libuna_utf32_string_copy_from_utf8_stream (); 34498 ; 34499 return 0; 34500} 34501_ACEOF 34502if ac_fn_c_try_link "$LINENO"; then : 34503 ac_cv_lib_una_libuna_utf32_string_copy_from_utf8_stream=yes 34504else 34505 ac_cv_lib_una_libuna_utf32_string_copy_from_utf8_stream=no 34506fi 34507rm -f core conftest.err conftest.$ac_objext \ 34508 conftest$ac_exeext conftest.$ac_ext 34509LIBS=$ac_check_lib_save_LIBS 34510fi 34511{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_utf8_stream" >&5 34512$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_utf8_stream" >&6; } 34513if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_utf8_stream" = xyes; then : 34514 ac_cv_libuna_dummy=yes 34515else 34516 ac_cv_libuna=no 34517fi 34518 34519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_with_index_copy_from_utf8_stream in -luna" >&5 34520$as_echo_n "checking for libuna_utf32_string_with_index_copy_from_utf8_stream in -luna... " >&6; } 34521if ${ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf8_stream+:} false; then : 34522 $as_echo_n "(cached) " >&6 34523else 34524 ac_check_lib_save_LIBS=$LIBS 34525LIBS="-luna $LIBS" 34526cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34527/* end confdefs.h. */ 34528 34529/* Override any GCC internal prototype to avoid an error. 34530 Use char because int might match the return type of a GCC 34531 builtin and then its argument prototype would still apply. */ 34532#ifdef __cplusplus 34533extern "C" 34534#endif 34535char libuna_utf32_string_with_index_copy_from_utf8_stream (); 34536int 34537main () 34538{ 34539return libuna_utf32_string_with_index_copy_from_utf8_stream (); 34540 ; 34541 return 0; 34542} 34543_ACEOF 34544if ac_fn_c_try_link "$LINENO"; then : 34545 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf8_stream=yes 34546else 34547 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf8_stream=no 34548fi 34549rm -f core conftest.err conftest.$ac_objext \ 34550 conftest$ac_exeext conftest.$ac_ext 34551LIBS=$ac_check_lib_save_LIBS 34552fi 34553{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf8_stream" >&5 34554$as_echo "$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf8_stream" >&6; } 34555if test "x$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf8_stream" = xyes; then : 34556 ac_cv_libuna_dummy=yes 34557else 34558 ac_cv_libuna=no 34559fi 34560 34561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_utf16_stream in -luna" >&5 34562$as_echo_n "checking for libuna_utf32_string_size_from_utf16_stream in -luna... " >&6; } 34563if ${ac_cv_lib_una_libuna_utf32_string_size_from_utf16_stream+:} false; then : 34564 $as_echo_n "(cached) " >&6 34565else 34566 ac_check_lib_save_LIBS=$LIBS 34567LIBS="-luna $LIBS" 34568cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34569/* end confdefs.h. */ 34570 34571/* Override any GCC internal prototype to avoid an error. 34572 Use char because int might match the return type of a GCC 34573 builtin and then its argument prototype would still apply. */ 34574#ifdef __cplusplus 34575extern "C" 34576#endif 34577char libuna_utf32_string_size_from_utf16_stream (); 34578int 34579main () 34580{ 34581return libuna_utf32_string_size_from_utf16_stream (); 34582 ; 34583 return 0; 34584} 34585_ACEOF 34586if ac_fn_c_try_link "$LINENO"; then : 34587 ac_cv_lib_una_libuna_utf32_string_size_from_utf16_stream=yes 34588else 34589 ac_cv_lib_una_libuna_utf32_string_size_from_utf16_stream=no 34590fi 34591rm -f core conftest.err conftest.$ac_objext \ 34592 conftest$ac_exeext conftest.$ac_ext 34593LIBS=$ac_check_lib_save_LIBS 34594fi 34595{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_utf16_stream" >&5 34596$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_utf16_stream" >&6; } 34597if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_utf16_stream" = xyes; then : 34598 ac_cv_libuna_dummy=yes 34599else 34600 ac_cv_libuna=no 34601fi 34602 34603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_utf16_stream in -luna" >&5 34604$as_echo_n "checking for libuna_utf32_string_copy_from_utf16_stream in -luna... " >&6; } 34605if ${ac_cv_lib_una_libuna_utf32_string_copy_from_utf16_stream+:} false; then : 34606 $as_echo_n "(cached) " >&6 34607else 34608 ac_check_lib_save_LIBS=$LIBS 34609LIBS="-luna $LIBS" 34610cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34611/* end confdefs.h. */ 34612 34613/* Override any GCC internal prototype to avoid an error. 34614 Use char because int might match the return type of a GCC 34615 builtin and then its argument prototype would still apply. */ 34616#ifdef __cplusplus 34617extern "C" 34618#endif 34619char libuna_utf32_string_copy_from_utf16_stream (); 34620int 34621main () 34622{ 34623return libuna_utf32_string_copy_from_utf16_stream (); 34624 ; 34625 return 0; 34626} 34627_ACEOF 34628if ac_fn_c_try_link "$LINENO"; then : 34629 ac_cv_lib_una_libuna_utf32_string_copy_from_utf16_stream=yes 34630else 34631 ac_cv_lib_una_libuna_utf32_string_copy_from_utf16_stream=no 34632fi 34633rm -f core conftest.err conftest.$ac_objext \ 34634 conftest$ac_exeext conftest.$ac_ext 34635LIBS=$ac_check_lib_save_LIBS 34636fi 34637{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_utf16_stream" >&5 34638$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_utf16_stream" >&6; } 34639if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_utf16_stream" = xyes; then : 34640 ac_cv_libuna_dummy=yes 34641else 34642 ac_cv_libuna=no 34643fi 34644 34645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_with_index_copy_from_utf16_stream in -luna" >&5 34646$as_echo_n "checking for libuna_utf32_string_with_index_copy_from_utf16_stream in -luna... " >&6; } 34647if ${ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16_stream+:} false; then : 34648 $as_echo_n "(cached) " >&6 34649else 34650 ac_check_lib_save_LIBS=$LIBS 34651LIBS="-luna $LIBS" 34652cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34653/* end confdefs.h. */ 34654 34655/* Override any GCC internal prototype to avoid an error. 34656 Use char because int might match the return type of a GCC 34657 builtin and then its argument prototype would still apply. */ 34658#ifdef __cplusplus 34659extern "C" 34660#endif 34661char libuna_utf32_string_with_index_copy_from_utf16_stream (); 34662int 34663main () 34664{ 34665return libuna_utf32_string_with_index_copy_from_utf16_stream (); 34666 ; 34667 return 0; 34668} 34669_ACEOF 34670if ac_fn_c_try_link "$LINENO"; then : 34671 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16_stream=yes 34672else 34673 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16_stream=no 34674fi 34675rm -f core conftest.err conftest.$ac_objext \ 34676 conftest$ac_exeext conftest.$ac_ext 34677LIBS=$ac_check_lib_save_LIBS 34678fi 34679{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16_stream" >&5 34680$as_echo "$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16_stream" >&6; } 34681if test "x$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16_stream" = xyes; then : 34682 ac_cv_libuna_dummy=yes 34683else 34684 ac_cv_libuna=no 34685fi 34686 34687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_utf32_stream in -luna" >&5 34688$as_echo_n "checking for libuna_utf32_string_size_from_utf32_stream in -luna... " >&6; } 34689if ${ac_cv_lib_una_libuna_utf32_string_size_from_utf32_stream+:} false; then : 34690 $as_echo_n "(cached) " >&6 34691else 34692 ac_check_lib_save_LIBS=$LIBS 34693LIBS="-luna $LIBS" 34694cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34695/* end confdefs.h. */ 34696 34697/* Override any GCC internal prototype to avoid an error. 34698 Use char because int might match the return type of a GCC 34699 builtin and then its argument prototype would still apply. */ 34700#ifdef __cplusplus 34701extern "C" 34702#endif 34703char libuna_utf32_string_size_from_utf32_stream (); 34704int 34705main () 34706{ 34707return libuna_utf32_string_size_from_utf32_stream (); 34708 ; 34709 return 0; 34710} 34711_ACEOF 34712if ac_fn_c_try_link "$LINENO"; then : 34713 ac_cv_lib_una_libuna_utf32_string_size_from_utf32_stream=yes 34714else 34715 ac_cv_lib_una_libuna_utf32_string_size_from_utf32_stream=no 34716fi 34717rm -f core conftest.err conftest.$ac_objext \ 34718 conftest$ac_exeext conftest.$ac_ext 34719LIBS=$ac_check_lib_save_LIBS 34720fi 34721{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_utf32_stream" >&5 34722$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_utf32_stream" >&6; } 34723if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_utf32_stream" = xyes; then : 34724 ac_cv_libuna_dummy=yes 34725else 34726 ac_cv_libuna=no 34727fi 34728 34729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_utf32_stream in -luna" >&5 34730$as_echo_n "checking for libuna_utf32_string_copy_from_utf32_stream in -luna... " >&6; } 34731if ${ac_cv_lib_una_libuna_utf32_string_copy_from_utf32_stream+:} false; then : 34732 $as_echo_n "(cached) " >&6 34733else 34734 ac_check_lib_save_LIBS=$LIBS 34735LIBS="-luna $LIBS" 34736cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34737/* end confdefs.h. */ 34738 34739/* Override any GCC internal prototype to avoid an error. 34740 Use char because int might match the return type of a GCC 34741 builtin and then its argument prototype would still apply. */ 34742#ifdef __cplusplus 34743extern "C" 34744#endif 34745char libuna_utf32_string_copy_from_utf32_stream (); 34746int 34747main () 34748{ 34749return libuna_utf32_string_copy_from_utf32_stream (); 34750 ; 34751 return 0; 34752} 34753_ACEOF 34754if ac_fn_c_try_link "$LINENO"; then : 34755 ac_cv_lib_una_libuna_utf32_string_copy_from_utf32_stream=yes 34756else 34757 ac_cv_lib_una_libuna_utf32_string_copy_from_utf32_stream=no 34758fi 34759rm -f core conftest.err conftest.$ac_objext \ 34760 conftest$ac_exeext conftest.$ac_ext 34761LIBS=$ac_check_lib_save_LIBS 34762fi 34763{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_utf32_stream" >&5 34764$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_utf32_stream" >&6; } 34765if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_utf32_stream" = xyes; then : 34766 ac_cv_libuna_dummy=yes 34767else 34768 ac_cv_libuna=no 34769fi 34770 34771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_with_index_copy_from_utf32_stream in -luna" >&5 34772$as_echo_n "checking for libuna_utf32_string_with_index_copy_from_utf32_stream in -luna... " >&6; } 34773if ${ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf32_stream+:} false; then : 34774 $as_echo_n "(cached) " >&6 34775else 34776 ac_check_lib_save_LIBS=$LIBS 34777LIBS="-luna $LIBS" 34778cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34779/* end confdefs.h. */ 34780 34781/* Override any GCC internal prototype to avoid an error. 34782 Use char because int might match the return type of a GCC 34783 builtin and then its argument prototype would still apply. */ 34784#ifdef __cplusplus 34785extern "C" 34786#endif 34787char libuna_utf32_string_with_index_copy_from_utf32_stream (); 34788int 34789main () 34790{ 34791return libuna_utf32_string_with_index_copy_from_utf32_stream (); 34792 ; 34793 return 0; 34794} 34795_ACEOF 34796if ac_fn_c_try_link "$LINENO"; then : 34797 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf32_stream=yes 34798else 34799 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf32_stream=no 34800fi 34801rm -f core conftest.err conftest.$ac_objext \ 34802 conftest$ac_exeext conftest.$ac_ext 34803LIBS=$ac_check_lib_save_LIBS 34804fi 34805{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf32_stream" >&5 34806$as_echo "$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf32_stream" >&6; } 34807if test "x$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf32_stream" = xyes; then : 34808 ac_cv_libuna_dummy=yes 34809else 34810 ac_cv_libuna=no 34811fi 34812 34813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_utf8 in -luna" >&5 34814$as_echo_n "checking for libuna_utf32_string_size_from_utf8 in -luna... " >&6; } 34815if ${ac_cv_lib_una_libuna_utf32_string_size_from_utf8+:} false; then : 34816 $as_echo_n "(cached) " >&6 34817else 34818 ac_check_lib_save_LIBS=$LIBS 34819LIBS="-luna $LIBS" 34820cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34821/* end confdefs.h. */ 34822 34823/* Override any GCC internal prototype to avoid an error. 34824 Use char because int might match the return type of a GCC 34825 builtin and then its argument prototype would still apply. */ 34826#ifdef __cplusplus 34827extern "C" 34828#endif 34829char libuna_utf32_string_size_from_utf8 (); 34830int 34831main () 34832{ 34833return libuna_utf32_string_size_from_utf8 (); 34834 ; 34835 return 0; 34836} 34837_ACEOF 34838if ac_fn_c_try_link "$LINENO"; then : 34839 ac_cv_lib_una_libuna_utf32_string_size_from_utf8=yes 34840else 34841 ac_cv_lib_una_libuna_utf32_string_size_from_utf8=no 34842fi 34843rm -f core conftest.err conftest.$ac_objext \ 34844 conftest$ac_exeext conftest.$ac_ext 34845LIBS=$ac_check_lib_save_LIBS 34846fi 34847{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_utf8" >&5 34848$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_utf8" >&6; } 34849if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_utf8" = xyes; then : 34850 ac_cv_libuna_dummy=yes 34851else 34852 ac_cv_libuna=no 34853fi 34854 34855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_utf8 in -luna" >&5 34856$as_echo_n "checking for libuna_utf32_string_copy_from_utf8 in -luna... " >&6; } 34857if ${ac_cv_lib_una_libuna_utf32_string_copy_from_utf8+:} false; then : 34858 $as_echo_n "(cached) " >&6 34859else 34860 ac_check_lib_save_LIBS=$LIBS 34861LIBS="-luna $LIBS" 34862cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34863/* end confdefs.h. */ 34864 34865/* Override any GCC internal prototype to avoid an error. 34866 Use char because int might match the return type of a GCC 34867 builtin and then its argument prototype would still apply. */ 34868#ifdef __cplusplus 34869extern "C" 34870#endif 34871char libuna_utf32_string_copy_from_utf8 (); 34872int 34873main () 34874{ 34875return libuna_utf32_string_copy_from_utf8 (); 34876 ; 34877 return 0; 34878} 34879_ACEOF 34880if ac_fn_c_try_link "$LINENO"; then : 34881 ac_cv_lib_una_libuna_utf32_string_copy_from_utf8=yes 34882else 34883 ac_cv_lib_una_libuna_utf32_string_copy_from_utf8=no 34884fi 34885rm -f core conftest.err conftest.$ac_objext \ 34886 conftest$ac_exeext conftest.$ac_ext 34887LIBS=$ac_check_lib_save_LIBS 34888fi 34889{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_utf8" >&5 34890$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_utf8" >&6; } 34891if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_utf8" = xyes; then : 34892 ac_cv_libuna_dummy=yes 34893else 34894 ac_cv_libuna=no 34895fi 34896 34897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ac_cv_libuna_dummy=yes in -llibuna_utf32_string_with_index_copy_from_utf8" >&5 34898$as_echo_n "checking for ac_cv_libuna_dummy=yes in -llibuna_utf32_string_with_index_copy_from_utf8... " >&6; } 34899if ${ac_cv_lib_libuna_utf32_string_with_index_copy_from_utf8_ac_cv_libuna_dummy_yes+:} false; then : 34900 $as_echo_n "(cached) " >&6 34901else 34902 ac_check_lib_save_LIBS=$LIBS 34903LIBS="-llibuna_utf32_string_with_index_copy_from_utf8 $LIBS" 34904cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34905/* end confdefs.h. */ 34906 34907/* Override any GCC internal prototype to avoid an error. 34908 Use char because int might match the return type of a GCC 34909 builtin and then its argument prototype would still apply. */ 34910#ifdef __cplusplus 34911extern "C" 34912#endif 34913char ac_cv_libuna_dummy=yes (); 34914int 34915main () 34916{ 34917return ac_cv_libuna_dummy=yes (); 34918 ; 34919 return 0; 34920} 34921_ACEOF 34922if ac_fn_c_try_link "$LINENO"; then : 34923 ac_cv_lib_libuna_utf32_string_with_index_copy_from_utf8_ac_cv_libuna_dummy_yes=yes 34924else 34925 ac_cv_lib_libuna_utf32_string_with_index_copy_from_utf8_ac_cv_libuna_dummy_yes=no 34926fi 34927rm -f core conftest.err conftest.$ac_objext \ 34928 conftest$ac_exeext conftest.$ac_ext 34929LIBS=$ac_check_lib_save_LIBS 34930fi 34931{ $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 34932$as_echo "$ac_cv_lib_libuna_utf32_string_with_index_copy_from_utf8_ac_cv_libuna_dummy_yes" >&6; } 34933if test "x$ac_cv_lib_libuna_utf32_string_with_index_copy_from_utf8_ac_cv_libuna_dummy_yes" = xyes; then : 34934 ac_cv_libuna=no 34935fi 34936 34937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_utf16 in -luna" >&5 34938$as_echo_n "checking for libuna_utf32_string_size_from_utf16 in -luna... " >&6; } 34939if ${ac_cv_lib_una_libuna_utf32_string_size_from_utf16+:} false; then : 34940 $as_echo_n "(cached) " >&6 34941else 34942 ac_check_lib_save_LIBS=$LIBS 34943LIBS="-luna $LIBS" 34944cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34945/* end confdefs.h. */ 34946 34947/* Override any GCC internal prototype to avoid an error. 34948 Use char because int might match the return type of a GCC 34949 builtin and then its argument prototype would still apply. */ 34950#ifdef __cplusplus 34951extern "C" 34952#endif 34953char libuna_utf32_string_size_from_utf16 (); 34954int 34955main () 34956{ 34957return libuna_utf32_string_size_from_utf16 (); 34958 ; 34959 return 0; 34960} 34961_ACEOF 34962if ac_fn_c_try_link "$LINENO"; then : 34963 ac_cv_lib_una_libuna_utf32_string_size_from_utf16=yes 34964else 34965 ac_cv_lib_una_libuna_utf32_string_size_from_utf16=no 34966fi 34967rm -f core conftest.err conftest.$ac_objext \ 34968 conftest$ac_exeext conftest.$ac_ext 34969LIBS=$ac_check_lib_save_LIBS 34970fi 34971{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_utf16" >&5 34972$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_utf16" >&6; } 34973if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_utf16" = xyes; then : 34974 ac_cv_libuna_dummy=yes 34975else 34976 ac_cv_libuna=no 34977fi 34978 34979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_utf16 in -luna" >&5 34980$as_echo_n "checking for libuna_utf32_string_copy_from_utf16 in -luna... " >&6; } 34981if ${ac_cv_lib_una_libuna_utf32_string_copy_from_utf16+:} false; then : 34982 $as_echo_n "(cached) " >&6 34983else 34984 ac_check_lib_save_LIBS=$LIBS 34985LIBS="-luna $LIBS" 34986cat confdefs.h - <<_ACEOF >conftest.$ac_ext 34987/* end confdefs.h. */ 34988 34989/* Override any GCC internal prototype to avoid an error. 34990 Use char because int might match the return type of a GCC 34991 builtin and then its argument prototype would still apply. */ 34992#ifdef __cplusplus 34993extern "C" 34994#endif 34995char libuna_utf32_string_copy_from_utf16 (); 34996int 34997main () 34998{ 34999return libuna_utf32_string_copy_from_utf16 (); 35000 ; 35001 return 0; 35002} 35003_ACEOF 35004if ac_fn_c_try_link "$LINENO"; then : 35005 ac_cv_lib_una_libuna_utf32_string_copy_from_utf16=yes 35006else 35007 ac_cv_lib_una_libuna_utf32_string_copy_from_utf16=no 35008fi 35009rm -f core conftest.err conftest.$ac_objext \ 35010 conftest$ac_exeext conftest.$ac_ext 35011LIBS=$ac_check_lib_save_LIBS 35012fi 35013{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_utf16" >&5 35014$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_utf16" >&6; } 35015if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_utf16" = xyes; then : 35016 ac_cv_libuna_dummy=yes 35017else 35018 ac_cv_libuna=no 35019fi 35020 35021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_with_index_copy_from_utf16 in -luna" >&5 35022$as_echo_n "checking for libuna_utf32_string_with_index_copy_from_utf16 in -luna... " >&6; } 35023if ${ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16+:} false; then : 35024 $as_echo_n "(cached) " >&6 35025else 35026 ac_check_lib_save_LIBS=$LIBS 35027LIBS="-luna $LIBS" 35028cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35029/* end confdefs.h. */ 35030 35031/* Override any GCC internal prototype to avoid an error. 35032 Use char because int might match the return type of a GCC 35033 builtin and then its argument prototype would still apply. */ 35034#ifdef __cplusplus 35035extern "C" 35036#endif 35037char libuna_utf32_string_with_index_copy_from_utf16 (); 35038int 35039main () 35040{ 35041return libuna_utf32_string_with_index_copy_from_utf16 (); 35042 ; 35043 return 0; 35044} 35045_ACEOF 35046if ac_fn_c_try_link "$LINENO"; then : 35047 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16=yes 35048else 35049 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16=no 35050fi 35051rm -f core conftest.err conftest.$ac_objext \ 35052 conftest$ac_exeext conftest.$ac_ext 35053LIBS=$ac_check_lib_save_LIBS 35054fi 35055{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16" >&5 35056$as_echo "$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16" >&6; } 35057if test "x$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_utf16" = xyes; then : 35058 ac_cv_libuna_dummy=yes 35059else 35060 ac_cv_libuna=no 35061fi 35062 35063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_size_from_scsu_stream in -luna" >&5 35064$as_echo_n "checking for libuna_utf32_string_size_from_scsu_stream in -luna... " >&6; } 35065if ${ac_cv_lib_una_libuna_utf32_string_size_from_scsu_stream+:} false; then : 35066 $as_echo_n "(cached) " >&6 35067else 35068 ac_check_lib_save_LIBS=$LIBS 35069LIBS="-luna $LIBS" 35070cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35071/* end confdefs.h. */ 35072 35073/* Override any GCC internal prototype to avoid an error. 35074 Use char because int might match the return type of a GCC 35075 builtin and then its argument prototype would still apply. */ 35076#ifdef __cplusplus 35077extern "C" 35078#endif 35079char libuna_utf32_string_size_from_scsu_stream (); 35080int 35081main () 35082{ 35083return libuna_utf32_string_size_from_scsu_stream (); 35084 ; 35085 return 0; 35086} 35087_ACEOF 35088if ac_fn_c_try_link "$LINENO"; then : 35089 ac_cv_lib_una_libuna_utf32_string_size_from_scsu_stream=yes 35090else 35091 ac_cv_lib_una_libuna_utf32_string_size_from_scsu_stream=no 35092fi 35093rm -f core conftest.err conftest.$ac_objext \ 35094 conftest$ac_exeext conftest.$ac_ext 35095LIBS=$ac_check_lib_save_LIBS 35096fi 35097{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_size_from_scsu_stream" >&5 35098$as_echo "$ac_cv_lib_una_libuna_utf32_string_size_from_scsu_stream" >&6; } 35099if test "x$ac_cv_lib_una_libuna_utf32_string_size_from_scsu_stream" = xyes; then : 35100 ac_cv_libuna_dummy=yes 35101else 35102 ac_cv_libuna=no 35103fi 35104 35105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_copy_from_scsu_stream in -luna" >&5 35106$as_echo_n "checking for libuna_utf32_string_copy_from_scsu_stream in -luna... " >&6; } 35107if ${ac_cv_lib_una_libuna_utf32_string_copy_from_scsu_stream+:} false; then : 35108 $as_echo_n "(cached) " >&6 35109else 35110 ac_check_lib_save_LIBS=$LIBS 35111LIBS="-luna $LIBS" 35112cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35113/* end confdefs.h. */ 35114 35115/* Override any GCC internal prototype to avoid an error. 35116 Use char because int might match the return type of a GCC 35117 builtin and then its argument prototype would still apply. */ 35118#ifdef __cplusplus 35119extern "C" 35120#endif 35121char libuna_utf32_string_copy_from_scsu_stream (); 35122int 35123main () 35124{ 35125return libuna_utf32_string_copy_from_scsu_stream (); 35126 ; 35127 return 0; 35128} 35129_ACEOF 35130if ac_fn_c_try_link "$LINENO"; then : 35131 ac_cv_lib_una_libuna_utf32_string_copy_from_scsu_stream=yes 35132else 35133 ac_cv_lib_una_libuna_utf32_string_copy_from_scsu_stream=no 35134fi 35135rm -f core conftest.err conftest.$ac_objext \ 35136 conftest$ac_exeext conftest.$ac_ext 35137LIBS=$ac_check_lib_save_LIBS 35138fi 35139{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_copy_from_scsu_stream" >&5 35140$as_echo "$ac_cv_lib_una_libuna_utf32_string_copy_from_scsu_stream" >&6; } 35141if test "x$ac_cv_lib_una_libuna_utf32_string_copy_from_scsu_stream" = xyes; then : 35142 ac_cv_libuna_dummy=yes 35143else 35144 ac_cv_libuna=no 35145fi 35146 35147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libuna_utf32_string_with_index_copy_from_scsu_stream in -luna" >&5 35148$as_echo_n "checking for libuna_utf32_string_with_index_copy_from_scsu_stream in -luna... " >&6; } 35149if ${ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_scsu_stream+:} false; then : 35150 $as_echo_n "(cached) " >&6 35151else 35152 ac_check_lib_save_LIBS=$LIBS 35153LIBS="-luna $LIBS" 35154cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35155/* end confdefs.h. */ 35156 35157/* Override any GCC internal prototype to avoid an error. 35158 Use char because int might match the return type of a GCC 35159 builtin and then its argument prototype would still apply. */ 35160#ifdef __cplusplus 35161extern "C" 35162#endif 35163char libuna_utf32_string_with_index_copy_from_scsu_stream (); 35164int 35165main () 35166{ 35167return libuna_utf32_string_with_index_copy_from_scsu_stream (); 35168 ; 35169 return 0; 35170} 35171_ACEOF 35172if ac_fn_c_try_link "$LINENO"; then : 35173 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_scsu_stream=yes 35174else 35175 ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_scsu_stream=no 35176fi 35177rm -f core conftest.err conftest.$ac_objext \ 35178 conftest$ac_exeext conftest.$ac_ext 35179LIBS=$ac_check_lib_save_LIBS 35180fi 35181{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_scsu_stream" >&5 35182$as_echo "$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_scsu_stream" >&6; } 35183if test "x$ac_cv_lib_una_libuna_utf32_string_with_index_copy_from_scsu_stream" = xyes; then : 35184 ac_cv_libuna_dummy=yes 35185else 35186 ac_cv_libuna=no 35187fi 35188 35189 35190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if \`LIBUNA_COMPARE_LESS' is defined" >&5 35191$as_echo_n "checking if \`LIBUNA_COMPARE_LESS' is defined... " >&6; } 35192if ${ac_cv_libuna_defines_compare_less+:} false; then : 35193 $as_echo_n "(cached) " >&6 35194else 35195 ac_ext=c 35196ac_cpp='$CPP $CPPFLAGS' 35197ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 35198ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 35199ac_compiler_gnu=$ac_cv_c_compiler_gnu 35200 35201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35202/* end confdefs.h. */ 35203#include <libuna.h> 35204int 35205main () 35206{ 35207int test = LIBUNA_COMPARE_LESS; 35208 35209return( 0 ); 35210 ; 35211 return 0; 35212} 35213_ACEOF 35214if ac_fn_c_try_link "$LINENO"; then : 35215 ac_cv_libuna_defines_compare_less=yes 35216else 35217 ac_cv_libuna_defines_compare_less=no 35218fi 35219rm -f core conftest.err conftest.$ac_objext \ 35220 conftest$ac_exeext conftest.$ac_ext 35221 ac_ext=c 35222ac_cpp='$CPP $CPPFLAGS' 35223ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 35224ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 35225ac_compiler_gnu=$ac_cv_c_compiler_gnu 35226 35227fi 35228{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libuna_defines_compare_less" >&5 35229$as_echo "$ac_cv_libuna_defines_compare_less" >&6; } 35230 35231 if test "x$ac_cv_libuna_defines_compare_less" != xyes; then : 35232 ac_cv_libuna=no 35233fi 35234 35235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if \`LIBUNA_COMPARE_EQUAL' is defined" >&5 35236$as_echo_n "checking if \`LIBUNA_COMPARE_EQUAL' is defined... " >&6; } 35237if ${ac_cv_libuna_defines_compare_equal+:} false; then : 35238 $as_echo_n "(cached) " >&6 35239else 35240 ac_ext=c 35241ac_cpp='$CPP $CPPFLAGS' 35242ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 35243ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 35244ac_compiler_gnu=$ac_cv_c_compiler_gnu 35245 35246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35247/* end confdefs.h. */ 35248#include <libuna.h> 35249int 35250main () 35251{ 35252int test = LIBUNA_COMPARE_EQUAL; 35253 35254return( 0 ); 35255 ; 35256 return 0; 35257} 35258_ACEOF 35259if ac_fn_c_try_link "$LINENO"; then : 35260 ac_cv_libuna_defines_compare_equal=yes 35261else 35262 ac_cv_libuna_defines_compare_equal=no 35263fi 35264rm -f core conftest.err conftest.$ac_objext \ 35265 conftest$ac_exeext conftest.$ac_ext 35266 ac_ext=c 35267ac_cpp='$CPP $CPPFLAGS' 35268ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 35269ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 35270ac_compiler_gnu=$ac_cv_c_compiler_gnu 35271 35272fi 35273{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libuna_defines_compare_equal" >&5 35274$as_echo "$ac_cv_libuna_defines_compare_equal" >&6; } 35275 35276 if test "x$ac_cv_libuna_defines_compare_less" != xyes; then : 35277 ac_cv_libuna=no 35278fi 35279 35280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if \`LIBUNA_COMPARE_GREATER' is defined" >&5 35281$as_echo_n "checking if \`LIBUNA_COMPARE_GREATER' is defined... " >&6; } 35282if ${ac_cv_libuna_defines_compare_greater+:} false; then : 35283 $as_echo_n "(cached) " >&6 35284else 35285 ac_ext=c 35286ac_cpp='$CPP $CPPFLAGS' 35287ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 35288ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 35289ac_compiler_gnu=$ac_cv_c_compiler_gnu 35290 35291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35292/* end confdefs.h. */ 35293#include <libuna.h> 35294int 35295main () 35296{ 35297int test = LIBUNA_COMPARE_GREATER; 35298 35299return( 0 ); 35300 ; 35301 return 0; 35302} 35303_ACEOF 35304if ac_fn_c_try_link "$LINENO"; then : 35305 ac_cv_libuna_defines_compare_greater=yes 35306else 35307 ac_cv_libuna_defines_compare_greater=no 35308fi 35309rm -f core conftest.err conftest.$ac_objext \ 35310 conftest$ac_exeext conftest.$ac_ext 35311 ac_ext=c 35312ac_cpp='$CPP $CPPFLAGS' 35313ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 35314ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 35315ac_compiler_gnu=$ac_cv_c_compiler_gnu 35316 35317fi 35318{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libuna_defines_compare_greater" >&5 35319$as_echo "$ac_cv_libuna_defines_compare_greater" >&6; } 35320 35321 if test "x$ac_cv_libuna_defines_compare_less" != xyes; then : 35322 ac_cv_libuna=no 35323fi 35324 35325 ac_cv_libuna_LIBADD="-luna" 35326fi 35327 35328fi 35329 if test "x$ac_cv_with_libuna" != x && test "x$ac_cv_with_libuna" != xauto-detect && test "x$ac_cv_libuna" != xyes; then : 35330 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 35331$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 35332as_fn_error 1 "unable to find supported libuna in directory: $ac_cv_with_libuna 35333See \`config.log' for more details" "$LINENO" 5; } 35334 35335fi 35336 35337fi 35338 35339 if test "x$ac_cv_libuna" = xyes; then : 35340 35341$as_echo "#define HAVE_LIBUNA 1" >>confdefs.h 35342 35343 35344fi 35345 35346 if test "x$ac_cv_libuna" = xyes; then : 35347 HAVE_LIBUNA=1 35348 35349else 35350 HAVE_LIBUNA=0 35351 35352 35353fi 35354 35355 35356 if test "x$ac_cv_libuna" != xyes; then : 35357 35358 ac_cv_libuna_CPPFLAGS="-I../libuna"; 35359 ac_cv_libuna_LIBADD="../libuna/libuna.la"; 35360 35361 ac_cv_libuna=local 35362 35363 35364 35365$as_echo "#define HAVE_LOCAL_LIBUNA 1" >>confdefs.h 35366 35367 HAVE_LOCAL_LIBUNA=1 35368 35369 35370fi 35371 35372 if test "x$ac_cv_libuna" = xlocal; then 35373 HAVE_LOCAL_LIBUNA_TRUE= 35374 HAVE_LOCAL_LIBUNA_FALSE='#' 35375else 35376 HAVE_LOCAL_LIBUNA_TRUE='#' 35377 HAVE_LOCAL_LIBUNA_FALSE= 35378fi 35379 35380 if test "x$ac_cv_libuna_CPPFLAGS" != "x"; then : 35381 LIBUNA_CPPFLAGS=$ac_cv_libuna_CPPFLAGS 35382 35383 35384fi 35385 if test "x$ac_cv_libuna_LIBADD" != "x"; then : 35386 LIBUNA_LIBADD=$ac_cv_libuna_LIBADD 35387 35388 35389fi 35390 35391 if test "x$ac_cv_libuna" = xyes; then : 35392 ax_libuna_pc_libs_private=-luna 35393 35394 35395fi 35396 35397 if test "x$ac_cv_libuna" = xyes; then : 35398 ax_libuna_spec_requires=libuna 35399 35400 ax_libuna_spec_build_requires=libuna-devel 35401 35402 35403fi 35404 35405 35406 35407 35408# Check whether --with-libcfile was given. 35409if test "${with_libcfile+set}" = set; then : 35410 withval=$with_libcfile; ac_cv_with_libcfile=$withval 35411else 35412 ac_cv_with_libcfile=auto-detect 35413fi 35414 35415 { $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 35416$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; } 35417if ${ac_cv_with_libcfile+:} false; then : 35418 $as_echo_n "(cached) " >&6 35419else 35420 ac_cv_with_libcfile=auto-detect 35421fi 35422{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libcfile" >&5 35423$as_echo "$ac_cv_with_libcfile" >&6; } 35424 35425 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libcfile" = xno; then : 35426 ac_cv_libcfile=no 35427else 35428 ac_cv_libcfile=check 35429 if test "x$ac_cv_with_libcfile" != x && test "x$ac_cv_with_libcfile" != xauto-detect; then : 35430 if test -d "$ac_cv_with_libcfile"; then : 35431 CFLAGS="$CFLAGS -I${ac_cv_with_libcfile}/include" 35432 LDFLAGS="$LDFLAGS -L${ac_cv_with_libcfile}/lib" 35433else 35434 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 35435$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 35436as_fn_error 1 "no such directory: $ac_cv_with_libcfile 35437See \`config.log' for more details" "$LINENO" 5; } 35438 35439fi 35440 35441else 35442 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 35443 35444pkg_failed=no 35445{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile" >&5 35446$as_echo_n "checking for libcfile... " >&6; } 35447 35448if test -n "$libcfile_CFLAGS"; then 35449 pkg_cv_libcfile_CFLAGS="$libcfile_CFLAGS" 35450 elif test -n "$PKG_CONFIG"; then 35451 if test -n "$PKG_CONFIG" && \ 35452 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcfile >= 20160409\""; } >&5 35453 ($PKG_CONFIG --exists --print-errors "libcfile >= 20160409") 2>&5 35454 ac_status=$? 35455 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 35456 test $ac_status = 0; }; then 35457 pkg_cv_libcfile_CFLAGS=`$PKG_CONFIG --cflags "libcfile >= 20160409" 2>/dev/null` 35458 test "x$?" != "x0" && pkg_failed=yes 35459else 35460 pkg_failed=yes 35461fi 35462 else 35463 pkg_failed=untried 35464fi 35465if test -n "$libcfile_LIBS"; then 35466 pkg_cv_libcfile_LIBS="$libcfile_LIBS" 35467 elif test -n "$PKG_CONFIG"; then 35468 if test -n "$PKG_CONFIG" && \ 35469 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcfile >= 20160409\""; } >&5 35470 ($PKG_CONFIG --exists --print-errors "libcfile >= 20160409") 2>&5 35471 ac_status=$? 35472 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 35473 test $ac_status = 0; }; then 35474 pkg_cv_libcfile_LIBS=`$PKG_CONFIG --libs "libcfile >= 20160409" 2>/dev/null` 35475 test "x$?" != "x0" && pkg_failed=yes 35476else 35477 pkg_failed=yes 35478fi 35479 else 35480 pkg_failed=untried 35481fi 35482 35483 35484 35485if test $pkg_failed = yes; then 35486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 35487$as_echo "no" >&6; } 35488 35489if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 35490 _pkg_short_errors_supported=yes 35491else 35492 _pkg_short_errors_supported=no 35493fi 35494 if test $_pkg_short_errors_supported = yes; then 35495 libcfile_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcfile >= 20160409" 2>&1` 35496 else 35497 libcfile_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcfile >= 20160409" 2>&1` 35498 fi 35499 # Put the nasty error message in config.log where it belongs 35500 echo "$libcfile_PKG_ERRORS" >&5 35501 35502 ac_cv_libcfile=check 35503elif test $pkg_failed = untried; then 35504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 35505$as_echo "no" >&6; } 35506 ac_cv_libcfile=check 35507else 35508 libcfile_CFLAGS=$pkg_cv_libcfile_CFLAGS 35509 libcfile_LIBS=$pkg_cv_libcfile_LIBS 35510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 35511$as_echo "yes" >&6; } 35512 ac_cv_libcfile=yes 35513fi 35514 35515fi 35516 if test "x$ac_cv_libcfile" = xyes && test "x$ac_cv_enable_wide_character_type" != xno; then : 35517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libcfile/features.h defines LIBCFILE_HAVE_WIDE_CHARACTER_TYPE as 1" >&5 35518$as_echo_n "checking whether libcfile/features.h defines LIBCFILE_HAVE_WIDE_CHARACTER_TYPE as 1... " >&6; } 35519if ${ac_cv_header_libcfile_features_h_have_wide_character_type+:} false; then : 35520 $as_echo_n "(cached) " >&6 35521else 35522 ac_ext=c 35523ac_cpp='$CPP $CPPFLAGS' 35524ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 35525ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 35526ac_compiler_gnu=$ac_cv_c_compiler_gnu 35527 35528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35529/* end confdefs.h. */ 35530#include <libcfile/features.h> 35531int 35532main () 35533{ 35534#if !defined( LIBCFILE_HAVE_WIDE_CHARACTER_TYPE ) || ( LIBCFILE_HAVE_WIDE_CHARACTER_TYPE != 1 ) 35535#error LIBCFILE_HAVE_WIDE_CHARACTER_TYPE not defined 35536#endif 35537 ; 35538 return 0; 35539} 35540_ACEOF 35541if ac_fn_c_try_compile "$LINENO"; then : 35542 ac_cv_header_libcfile_features_h_have_wide_character_type=yes 35543else 35544 ac_cv_header_libcfile_features_h_have_wide_character_type=no 35545fi 35546rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 35547 ac_ext=c 35548ac_cpp='$CPP $CPPFLAGS' 35549ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 35550ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 35551ac_compiler_gnu=$ac_cv_c_compiler_gnu 35552 35553fi 35554{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_libcfile_features_h_have_wide_character_type" >&5 35555$as_echo "$ac_cv_header_libcfile_features_h_have_wide_character_type" >&6; } 35556 35557 if test "x$ac_cv_header_libcfile_features_h_have_wide_character_type" = xno; then : 35558 ac_cv_libcfile=no 35559fi 35560 35561fi 35562 if test "x$ac_cv_libcfile" = xyes; then : 35563 ac_cv_libcfile_CPPFLAGS="$pkg_cv_libcfile_CFLAGS" 35564 ac_cv_libcfile_LIBADD="$pkg_cv_libcfile_LIBS" 35565fi 35566 35567fi 35568 35569 if test "x$ac_cv_libcfile" = xcheck; then : 35570 for ac_header in libcfile.h 35571do : 35572 ac_fn_c_check_header_mongrel "$LINENO" "libcfile.h" "ac_cv_header_libcfile_h" "$ac_includes_default" 35573if test "x$ac_cv_header_libcfile_h" = xyes; then : 35574 cat >>confdefs.h <<_ACEOF 35575#define HAVE_LIBCFILE_H 1 35576_ACEOF 35577 35578fi 35579 35580done 35581 35582 35583 if test "x$ac_cv_header_libcfile_h" = xno; then : 35584 ac_cv_libcfile=no 35585else 35586 ac_cv_libcfile=yes 35587 35588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_get_version in -lcfile" >&5 35589$as_echo_n "checking for libcfile_get_version in -lcfile... " >&6; } 35590if ${ac_cv_lib_cfile_libcfile_get_version+:} false; then : 35591 $as_echo_n "(cached) " >&6 35592else 35593 ac_check_lib_save_LIBS=$LIBS 35594LIBS="-lcfile $LIBS" 35595cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35596/* end confdefs.h. */ 35597 35598/* Override any GCC internal prototype to avoid an error. 35599 Use char because int might match the return type of a GCC 35600 builtin and then its argument prototype would still apply. */ 35601#ifdef __cplusplus 35602extern "C" 35603#endif 35604char libcfile_get_version (); 35605int 35606main () 35607{ 35608return libcfile_get_version (); 35609 ; 35610 return 0; 35611} 35612_ACEOF 35613if ac_fn_c_try_link "$LINENO"; then : 35614 ac_cv_lib_cfile_libcfile_get_version=yes 35615else 35616 ac_cv_lib_cfile_libcfile_get_version=no 35617fi 35618rm -f core conftest.err conftest.$ac_objext \ 35619 conftest$ac_exeext conftest.$ac_ext 35620LIBS=$ac_check_lib_save_LIBS 35621fi 35622{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_get_version" >&5 35623$as_echo "$ac_cv_lib_cfile_libcfile_get_version" >&6; } 35624if test "x$ac_cv_lib_cfile_libcfile_get_version" = xyes; then : 35625 ac_cv_libcfile_dummy=yes 35626else 35627 ac_cv_libcfile=no 35628fi 35629 35630 35631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_initialize in -lcfile" >&5 35632$as_echo_n "checking for libcfile_file_initialize in -lcfile... " >&6; } 35633if ${ac_cv_lib_cfile_libcfile_file_initialize+:} false; then : 35634 $as_echo_n "(cached) " >&6 35635else 35636 ac_check_lib_save_LIBS=$LIBS 35637LIBS="-lcfile $LIBS" 35638cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35639/* end confdefs.h. */ 35640 35641/* Override any GCC internal prototype to avoid an error. 35642 Use char because int might match the return type of a GCC 35643 builtin and then its argument prototype would still apply. */ 35644#ifdef __cplusplus 35645extern "C" 35646#endif 35647char libcfile_file_initialize (); 35648int 35649main () 35650{ 35651return libcfile_file_initialize (); 35652 ; 35653 return 0; 35654} 35655_ACEOF 35656if ac_fn_c_try_link "$LINENO"; then : 35657 ac_cv_lib_cfile_libcfile_file_initialize=yes 35658else 35659 ac_cv_lib_cfile_libcfile_file_initialize=no 35660fi 35661rm -f core conftest.err conftest.$ac_objext \ 35662 conftest$ac_exeext conftest.$ac_ext 35663LIBS=$ac_check_lib_save_LIBS 35664fi 35665{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_initialize" >&5 35666$as_echo "$ac_cv_lib_cfile_libcfile_file_initialize" >&6; } 35667if test "x$ac_cv_lib_cfile_libcfile_file_initialize" = xyes; then : 35668 ac_cv_libcfile_dummy=yes 35669else 35670 ac_cv_libcfile=no 35671fi 35672 35673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_free in -lcfile" >&5 35674$as_echo_n "checking for libcfile_file_free in -lcfile... " >&6; } 35675if ${ac_cv_lib_cfile_libcfile_file_free+:} false; then : 35676 $as_echo_n "(cached) " >&6 35677else 35678 ac_check_lib_save_LIBS=$LIBS 35679LIBS="-lcfile $LIBS" 35680cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35681/* end confdefs.h. */ 35682 35683/* Override any GCC internal prototype to avoid an error. 35684 Use char because int might match the return type of a GCC 35685 builtin and then its argument prototype would still apply. */ 35686#ifdef __cplusplus 35687extern "C" 35688#endif 35689char libcfile_file_free (); 35690int 35691main () 35692{ 35693return libcfile_file_free (); 35694 ; 35695 return 0; 35696} 35697_ACEOF 35698if ac_fn_c_try_link "$LINENO"; then : 35699 ac_cv_lib_cfile_libcfile_file_free=yes 35700else 35701 ac_cv_lib_cfile_libcfile_file_free=no 35702fi 35703rm -f core conftest.err conftest.$ac_objext \ 35704 conftest$ac_exeext conftest.$ac_ext 35705LIBS=$ac_check_lib_save_LIBS 35706fi 35707{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_free" >&5 35708$as_echo "$ac_cv_lib_cfile_libcfile_file_free" >&6; } 35709if test "x$ac_cv_lib_cfile_libcfile_file_free" = xyes; then : 35710 ac_cv_libcfile_dummy=yes 35711else 35712 ac_cv_libcfile=no 35713fi 35714 35715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_open in -lcfile" >&5 35716$as_echo_n "checking for libcfile_file_open in -lcfile... " >&6; } 35717if ${ac_cv_lib_cfile_libcfile_file_open+:} false; then : 35718 $as_echo_n "(cached) " >&6 35719else 35720 ac_check_lib_save_LIBS=$LIBS 35721LIBS="-lcfile $LIBS" 35722cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35723/* end confdefs.h. */ 35724 35725/* Override any GCC internal prototype to avoid an error. 35726 Use char because int might match the return type of a GCC 35727 builtin and then its argument prototype would still apply. */ 35728#ifdef __cplusplus 35729extern "C" 35730#endif 35731char libcfile_file_open (); 35732int 35733main () 35734{ 35735return libcfile_file_open (); 35736 ; 35737 return 0; 35738} 35739_ACEOF 35740if ac_fn_c_try_link "$LINENO"; then : 35741 ac_cv_lib_cfile_libcfile_file_open=yes 35742else 35743 ac_cv_lib_cfile_libcfile_file_open=no 35744fi 35745rm -f core conftest.err conftest.$ac_objext \ 35746 conftest$ac_exeext conftest.$ac_ext 35747LIBS=$ac_check_lib_save_LIBS 35748fi 35749{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_open" >&5 35750$as_echo "$ac_cv_lib_cfile_libcfile_file_open" >&6; } 35751if test "x$ac_cv_lib_cfile_libcfile_file_open" = xyes; then : 35752 ac_cv_libcfile_dummy=yes 35753else 35754 ac_cv_libcfile=no 35755fi 35756 35757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_open_with_error_code in -lcfile" >&5 35758$as_echo_n "checking for libcfile_file_open_with_error_code in -lcfile... " >&6; } 35759if ${ac_cv_lib_cfile_libcfile_file_open_with_error_code+:} false; then : 35760 $as_echo_n "(cached) " >&6 35761else 35762 ac_check_lib_save_LIBS=$LIBS 35763LIBS="-lcfile $LIBS" 35764cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35765/* end confdefs.h. */ 35766 35767/* Override any GCC internal prototype to avoid an error. 35768 Use char because int might match the return type of a GCC 35769 builtin and then its argument prototype would still apply. */ 35770#ifdef __cplusplus 35771extern "C" 35772#endif 35773char libcfile_file_open_with_error_code (); 35774int 35775main () 35776{ 35777return libcfile_file_open_with_error_code (); 35778 ; 35779 return 0; 35780} 35781_ACEOF 35782if ac_fn_c_try_link "$LINENO"; then : 35783 ac_cv_lib_cfile_libcfile_file_open_with_error_code=yes 35784else 35785 ac_cv_lib_cfile_libcfile_file_open_with_error_code=no 35786fi 35787rm -f core conftest.err conftest.$ac_objext \ 35788 conftest$ac_exeext conftest.$ac_ext 35789LIBS=$ac_check_lib_save_LIBS 35790fi 35791{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_open_with_error_code" >&5 35792$as_echo "$ac_cv_lib_cfile_libcfile_file_open_with_error_code" >&6; } 35793if test "x$ac_cv_lib_cfile_libcfile_file_open_with_error_code" = xyes; then : 35794 ac_cv_libcfile_dummy=yes 35795else 35796 ac_cv_libcfile=no 35797fi 35798 35799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_close in -lcfile" >&5 35800$as_echo_n "checking for libcfile_file_close in -lcfile... " >&6; } 35801if ${ac_cv_lib_cfile_libcfile_file_close+:} false; then : 35802 $as_echo_n "(cached) " >&6 35803else 35804 ac_check_lib_save_LIBS=$LIBS 35805LIBS="-lcfile $LIBS" 35806cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35807/* end confdefs.h. */ 35808 35809/* Override any GCC internal prototype to avoid an error. 35810 Use char because int might match the return type of a GCC 35811 builtin and then its argument prototype would still apply. */ 35812#ifdef __cplusplus 35813extern "C" 35814#endif 35815char libcfile_file_close (); 35816int 35817main () 35818{ 35819return libcfile_file_close (); 35820 ; 35821 return 0; 35822} 35823_ACEOF 35824if ac_fn_c_try_link "$LINENO"; then : 35825 ac_cv_lib_cfile_libcfile_file_close=yes 35826else 35827 ac_cv_lib_cfile_libcfile_file_close=no 35828fi 35829rm -f core conftest.err conftest.$ac_objext \ 35830 conftest$ac_exeext conftest.$ac_ext 35831LIBS=$ac_check_lib_save_LIBS 35832fi 35833{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_close" >&5 35834$as_echo "$ac_cv_lib_cfile_libcfile_file_close" >&6; } 35835if test "x$ac_cv_lib_cfile_libcfile_file_close" = xyes; then : 35836 ac_cv_libcfile_dummy=yes 35837else 35838 ac_cv_libcfile=no 35839fi 35840 35841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_read_buffer in -lcfile" >&5 35842$as_echo_n "checking for libcfile_file_read_buffer in -lcfile... " >&6; } 35843if ${ac_cv_lib_cfile_libcfile_file_read_buffer+:} false; then : 35844 $as_echo_n "(cached) " >&6 35845else 35846 ac_check_lib_save_LIBS=$LIBS 35847LIBS="-lcfile $LIBS" 35848cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35849/* end confdefs.h. */ 35850 35851/* Override any GCC internal prototype to avoid an error. 35852 Use char because int might match the return type of a GCC 35853 builtin and then its argument prototype would still apply. */ 35854#ifdef __cplusplus 35855extern "C" 35856#endif 35857char libcfile_file_read_buffer (); 35858int 35859main () 35860{ 35861return libcfile_file_read_buffer (); 35862 ; 35863 return 0; 35864} 35865_ACEOF 35866if ac_fn_c_try_link "$LINENO"; then : 35867 ac_cv_lib_cfile_libcfile_file_read_buffer=yes 35868else 35869 ac_cv_lib_cfile_libcfile_file_read_buffer=no 35870fi 35871rm -f core conftest.err conftest.$ac_objext \ 35872 conftest$ac_exeext conftest.$ac_ext 35873LIBS=$ac_check_lib_save_LIBS 35874fi 35875{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_read_buffer" >&5 35876$as_echo "$ac_cv_lib_cfile_libcfile_file_read_buffer" >&6; } 35877if test "x$ac_cv_lib_cfile_libcfile_file_read_buffer" = xyes; then : 35878 ac_cv_libcfile_dummy=yes 35879else 35880 ac_cv_libcfile=no 35881fi 35882 35883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_read_buffer_with_error_code in -lcfile" >&5 35884$as_echo_n "checking for libcfile_file_read_buffer_with_error_code in -lcfile... " >&6; } 35885if ${ac_cv_lib_cfile_libcfile_file_read_buffer_with_error_code+:} false; then : 35886 $as_echo_n "(cached) " >&6 35887else 35888 ac_check_lib_save_LIBS=$LIBS 35889LIBS="-lcfile $LIBS" 35890cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35891/* end confdefs.h. */ 35892 35893/* Override any GCC internal prototype to avoid an error. 35894 Use char because int might match the return type of a GCC 35895 builtin and then its argument prototype would still apply. */ 35896#ifdef __cplusplus 35897extern "C" 35898#endif 35899char libcfile_file_read_buffer_with_error_code (); 35900int 35901main () 35902{ 35903return libcfile_file_read_buffer_with_error_code (); 35904 ; 35905 return 0; 35906} 35907_ACEOF 35908if ac_fn_c_try_link "$LINENO"; then : 35909 ac_cv_lib_cfile_libcfile_file_read_buffer_with_error_code=yes 35910else 35911 ac_cv_lib_cfile_libcfile_file_read_buffer_with_error_code=no 35912fi 35913rm -f core conftest.err conftest.$ac_objext \ 35914 conftest$ac_exeext conftest.$ac_ext 35915LIBS=$ac_check_lib_save_LIBS 35916fi 35917{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_read_buffer_with_error_code" >&5 35918$as_echo "$ac_cv_lib_cfile_libcfile_file_read_buffer_with_error_code" >&6; } 35919if test "x$ac_cv_lib_cfile_libcfile_file_read_buffer_with_error_code" = xyes; then : 35920 ac_cv_libcfile_dummy=yes 35921else 35922 ac_cv_libcfile=no 35923fi 35924 35925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_write_buffer in -lcfile" >&5 35926$as_echo_n "checking for libcfile_file_write_buffer in -lcfile... " >&6; } 35927if ${ac_cv_lib_cfile_libcfile_file_write_buffer+:} false; then : 35928 $as_echo_n "(cached) " >&6 35929else 35930 ac_check_lib_save_LIBS=$LIBS 35931LIBS="-lcfile $LIBS" 35932cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35933/* end confdefs.h. */ 35934 35935/* Override any GCC internal prototype to avoid an error. 35936 Use char because int might match the return type of a GCC 35937 builtin and then its argument prototype would still apply. */ 35938#ifdef __cplusplus 35939extern "C" 35940#endif 35941char libcfile_file_write_buffer (); 35942int 35943main () 35944{ 35945return libcfile_file_write_buffer (); 35946 ; 35947 return 0; 35948} 35949_ACEOF 35950if ac_fn_c_try_link "$LINENO"; then : 35951 ac_cv_lib_cfile_libcfile_file_write_buffer=yes 35952else 35953 ac_cv_lib_cfile_libcfile_file_write_buffer=no 35954fi 35955rm -f core conftest.err conftest.$ac_objext \ 35956 conftest$ac_exeext conftest.$ac_ext 35957LIBS=$ac_check_lib_save_LIBS 35958fi 35959{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_write_buffer" >&5 35960$as_echo "$ac_cv_lib_cfile_libcfile_file_write_buffer" >&6; } 35961if test "x$ac_cv_lib_cfile_libcfile_file_write_buffer" = xyes; then : 35962 ac_cv_libcfile_dummy=yes 35963else 35964 ac_cv_libcfile=no 35965fi 35966 35967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_write_buffer_with_error_code in -lcfile" >&5 35968$as_echo_n "checking for libcfile_file_write_buffer_with_error_code in -lcfile... " >&6; } 35969if ${ac_cv_lib_cfile_libcfile_file_write_buffer_with_error_code+:} false; then : 35970 $as_echo_n "(cached) " >&6 35971else 35972 ac_check_lib_save_LIBS=$LIBS 35973LIBS="-lcfile $LIBS" 35974cat confdefs.h - <<_ACEOF >conftest.$ac_ext 35975/* end confdefs.h. */ 35976 35977/* Override any GCC internal prototype to avoid an error. 35978 Use char because int might match the return type of a GCC 35979 builtin and then its argument prototype would still apply. */ 35980#ifdef __cplusplus 35981extern "C" 35982#endif 35983char libcfile_file_write_buffer_with_error_code (); 35984int 35985main () 35986{ 35987return libcfile_file_write_buffer_with_error_code (); 35988 ; 35989 return 0; 35990} 35991_ACEOF 35992if ac_fn_c_try_link "$LINENO"; then : 35993 ac_cv_lib_cfile_libcfile_file_write_buffer_with_error_code=yes 35994else 35995 ac_cv_lib_cfile_libcfile_file_write_buffer_with_error_code=no 35996fi 35997rm -f core conftest.err conftest.$ac_objext \ 35998 conftest$ac_exeext conftest.$ac_ext 35999LIBS=$ac_check_lib_save_LIBS 36000fi 36001{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_write_buffer_with_error_code" >&5 36002$as_echo "$ac_cv_lib_cfile_libcfile_file_write_buffer_with_error_code" >&6; } 36003if test "x$ac_cv_lib_cfile_libcfile_file_write_buffer_with_error_code" = xyes; then : 36004 ac_cv_libcfile_dummy=yes 36005else 36006 ac_cv_libcfile=no 36007fi 36008 36009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_seek_offset in -lcfile" >&5 36010$as_echo_n "checking for libcfile_file_seek_offset in -lcfile... " >&6; } 36011if ${ac_cv_lib_cfile_libcfile_file_seek_offset+:} false; then : 36012 $as_echo_n "(cached) " >&6 36013else 36014 ac_check_lib_save_LIBS=$LIBS 36015LIBS="-lcfile $LIBS" 36016cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36017/* end confdefs.h. */ 36018 36019/* Override any GCC internal prototype to avoid an error. 36020 Use char because int might match the return type of a GCC 36021 builtin and then its argument prototype would still apply. */ 36022#ifdef __cplusplus 36023extern "C" 36024#endif 36025char libcfile_file_seek_offset (); 36026int 36027main () 36028{ 36029return libcfile_file_seek_offset (); 36030 ; 36031 return 0; 36032} 36033_ACEOF 36034if ac_fn_c_try_link "$LINENO"; then : 36035 ac_cv_lib_cfile_libcfile_file_seek_offset=yes 36036else 36037 ac_cv_lib_cfile_libcfile_file_seek_offset=no 36038fi 36039rm -f core conftest.err conftest.$ac_objext \ 36040 conftest$ac_exeext conftest.$ac_ext 36041LIBS=$ac_check_lib_save_LIBS 36042fi 36043{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_seek_offset" >&5 36044$as_echo "$ac_cv_lib_cfile_libcfile_file_seek_offset" >&6; } 36045if test "x$ac_cv_lib_cfile_libcfile_file_seek_offset" = xyes; then : 36046 ac_cv_libcfile_dummy=yes 36047else 36048 ac_cv_libcfile=no 36049fi 36050 36051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_resize in -lcfile" >&5 36052$as_echo_n "checking for libcfile_file_resize in -lcfile... " >&6; } 36053if ${ac_cv_lib_cfile_libcfile_file_resize+:} false; then : 36054 $as_echo_n "(cached) " >&6 36055else 36056 ac_check_lib_save_LIBS=$LIBS 36057LIBS="-lcfile $LIBS" 36058cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36059/* end confdefs.h. */ 36060 36061/* Override any GCC internal prototype to avoid an error. 36062 Use char because int might match the return type of a GCC 36063 builtin and then its argument prototype would still apply. */ 36064#ifdef __cplusplus 36065extern "C" 36066#endif 36067char libcfile_file_resize (); 36068int 36069main () 36070{ 36071return libcfile_file_resize (); 36072 ; 36073 return 0; 36074} 36075_ACEOF 36076if ac_fn_c_try_link "$LINENO"; then : 36077 ac_cv_lib_cfile_libcfile_file_resize=yes 36078else 36079 ac_cv_lib_cfile_libcfile_file_resize=no 36080fi 36081rm -f core conftest.err conftest.$ac_objext \ 36082 conftest$ac_exeext conftest.$ac_ext 36083LIBS=$ac_check_lib_save_LIBS 36084fi 36085{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_resize" >&5 36086$as_echo "$ac_cv_lib_cfile_libcfile_file_resize" >&6; } 36087if test "x$ac_cv_lib_cfile_libcfile_file_resize" = xyes; then : 36088 ac_cv_libcfile_dummy=yes 36089else 36090 ac_cv_libcfile=no 36091fi 36092 36093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_is_open in -lcfile" >&5 36094$as_echo_n "checking for libcfile_file_is_open in -lcfile... " >&6; } 36095if ${ac_cv_lib_cfile_libcfile_file_is_open+:} false; then : 36096 $as_echo_n "(cached) " >&6 36097else 36098 ac_check_lib_save_LIBS=$LIBS 36099LIBS="-lcfile $LIBS" 36100cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36101/* end confdefs.h. */ 36102 36103/* Override any GCC internal prototype to avoid an error. 36104 Use char because int might match the return type of a GCC 36105 builtin and then its argument prototype would still apply. */ 36106#ifdef __cplusplus 36107extern "C" 36108#endif 36109char libcfile_file_is_open (); 36110int 36111main () 36112{ 36113return libcfile_file_is_open (); 36114 ; 36115 return 0; 36116} 36117_ACEOF 36118if ac_fn_c_try_link "$LINENO"; then : 36119 ac_cv_lib_cfile_libcfile_file_is_open=yes 36120else 36121 ac_cv_lib_cfile_libcfile_file_is_open=no 36122fi 36123rm -f core conftest.err conftest.$ac_objext \ 36124 conftest$ac_exeext conftest.$ac_ext 36125LIBS=$ac_check_lib_save_LIBS 36126fi 36127{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_is_open" >&5 36128$as_echo "$ac_cv_lib_cfile_libcfile_file_is_open" >&6; } 36129if test "x$ac_cv_lib_cfile_libcfile_file_is_open" = xyes; then : 36130 ac_cv_libcfile_dummy=yes 36131else 36132 ac_cv_libcfile=no 36133fi 36134 36135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_get_offset in -lcfile" >&5 36136$as_echo_n "checking for libcfile_file_get_offset in -lcfile... " >&6; } 36137if ${ac_cv_lib_cfile_libcfile_file_get_offset+:} false; then : 36138 $as_echo_n "(cached) " >&6 36139else 36140 ac_check_lib_save_LIBS=$LIBS 36141LIBS="-lcfile $LIBS" 36142cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36143/* end confdefs.h. */ 36144 36145/* Override any GCC internal prototype to avoid an error. 36146 Use char because int might match the return type of a GCC 36147 builtin and then its argument prototype would still apply. */ 36148#ifdef __cplusplus 36149extern "C" 36150#endif 36151char libcfile_file_get_offset (); 36152int 36153main () 36154{ 36155return libcfile_file_get_offset (); 36156 ; 36157 return 0; 36158} 36159_ACEOF 36160if ac_fn_c_try_link "$LINENO"; then : 36161 ac_cv_lib_cfile_libcfile_file_get_offset=yes 36162else 36163 ac_cv_lib_cfile_libcfile_file_get_offset=no 36164fi 36165rm -f core conftest.err conftest.$ac_objext \ 36166 conftest$ac_exeext conftest.$ac_ext 36167LIBS=$ac_check_lib_save_LIBS 36168fi 36169{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_get_offset" >&5 36170$as_echo "$ac_cv_lib_cfile_libcfile_file_get_offset" >&6; } 36171if test "x$ac_cv_lib_cfile_libcfile_file_get_offset" = xyes; then : 36172 ac_cv_libcfile_dummy=yes 36173else 36174 ac_cv_libcfile=no 36175fi 36176 36177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_get_size in -lcfile" >&5 36178$as_echo_n "checking for libcfile_file_get_size in -lcfile... " >&6; } 36179if ${ac_cv_lib_cfile_libcfile_file_get_size+:} false; then : 36180 $as_echo_n "(cached) " >&6 36181else 36182 ac_check_lib_save_LIBS=$LIBS 36183LIBS="-lcfile $LIBS" 36184cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36185/* end confdefs.h. */ 36186 36187/* Override any GCC internal prototype to avoid an error. 36188 Use char because int might match the return type of a GCC 36189 builtin and then its argument prototype would still apply. */ 36190#ifdef __cplusplus 36191extern "C" 36192#endif 36193char libcfile_file_get_size (); 36194int 36195main () 36196{ 36197return libcfile_file_get_size (); 36198 ; 36199 return 0; 36200} 36201_ACEOF 36202if ac_fn_c_try_link "$LINENO"; then : 36203 ac_cv_lib_cfile_libcfile_file_get_size=yes 36204else 36205 ac_cv_lib_cfile_libcfile_file_get_size=no 36206fi 36207rm -f core conftest.err conftest.$ac_objext \ 36208 conftest$ac_exeext conftest.$ac_ext 36209LIBS=$ac_check_lib_save_LIBS 36210fi 36211{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_get_size" >&5 36212$as_echo "$ac_cv_lib_cfile_libcfile_file_get_size" >&6; } 36213if test "x$ac_cv_lib_cfile_libcfile_file_get_size" = xyes; then : 36214 ac_cv_libcfile_dummy=yes 36215else 36216 ac_cv_libcfile=no 36217fi 36218 36219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_is_device in -lcfile" >&5 36220$as_echo_n "checking for libcfile_file_is_device in -lcfile... " >&6; } 36221if ${ac_cv_lib_cfile_libcfile_file_is_device+:} false; then : 36222 $as_echo_n "(cached) " >&6 36223else 36224 ac_check_lib_save_LIBS=$LIBS 36225LIBS="-lcfile $LIBS" 36226cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36227/* end confdefs.h. */ 36228 36229/* Override any GCC internal prototype to avoid an error. 36230 Use char because int might match the return type of a GCC 36231 builtin and then its argument prototype would still apply. */ 36232#ifdef __cplusplus 36233extern "C" 36234#endif 36235char libcfile_file_is_device (); 36236int 36237main () 36238{ 36239return libcfile_file_is_device (); 36240 ; 36241 return 0; 36242} 36243_ACEOF 36244if ac_fn_c_try_link "$LINENO"; then : 36245 ac_cv_lib_cfile_libcfile_file_is_device=yes 36246else 36247 ac_cv_lib_cfile_libcfile_file_is_device=no 36248fi 36249rm -f core conftest.err conftest.$ac_objext \ 36250 conftest$ac_exeext conftest.$ac_ext 36251LIBS=$ac_check_lib_save_LIBS 36252fi 36253{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_is_device" >&5 36254$as_echo "$ac_cv_lib_cfile_libcfile_file_is_device" >&6; } 36255if test "x$ac_cv_lib_cfile_libcfile_file_is_device" = xyes; then : 36256 ac_cv_libcfile_dummy=yes 36257else 36258 ac_cv_libcfile=no 36259fi 36260 36261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_io_control_read in -lcfile" >&5 36262$as_echo_n "checking for libcfile_file_io_control_read in -lcfile... " >&6; } 36263if ${ac_cv_lib_cfile_libcfile_file_io_control_read+:} false; then : 36264 $as_echo_n "(cached) " >&6 36265else 36266 ac_check_lib_save_LIBS=$LIBS 36267LIBS="-lcfile $LIBS" 36268cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36269/* end confdefs.h. */ 36270 36271/* Override any GCC internal prototype to avoid an error. 36272 Use char because int might match the return type of a GCC 36273 builtin and then its argument prototype would still apply. */ 36274#ifdef __cplusplus 36275extern "C" 36276#endif 36277char libcfile_file_io_control_read (); 36278int 36279main () 36280{ 36281return libcfile_file_io_control_read (); 36282 ; 36283 return 0; 36284} 36285_ACEOF 36286if ac_fn_c_try_link "$LINENO"; then : 36287 ac_cv_lib_cfile_libcfile_file_io_control_read=yes 36288else 36289 ac_cv_lib_cfile_libcfile_file_io_control_read=no 36290fi 36291rm -f core conftest.err conftest.$ac_objext \ 36292 conftest$ac_exeext conftest.$ac_ext 36293LIBS=$ac_check_lib_save_LIBS 36294fi 36295{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_io_control_read" >&5 36296$as_echo "$ac_cv_lib_cfile_libcfile_file_io_control_read" >&6; } 36297if test "x$ac_cv_lib_cfile_libcfile_file_io_control_read" = xyes; then : 36298 ac_cv_libcfile_dummy=yes 36299else 36300 ac_cv_libcfile=no 36301fi 36302 36303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_io_control_read_with_error_code in -lcfile" >&5 36304$as_echo_n "checking for libcfile_file_io_control_read_with_error_code in -lcfile... " >&6; } 36305if ${ac_cv_lib_cfile_libcfile_file_io_control_read_with_error_code+:} false; then : 36306 $as_echo_n "(cached) " >&6 36307else 36308 ac_check_lib_save_LIBS=$LIBS 36309LIBS="-lcfile $LIBS" 36310cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36311/* end confdefs.h. */ 36312 36313/* Override any GCC internal prototype to avoid an error. 36314 Use char because int might match the return type of a GCC 36315 builtin and then its argument prototype would still apply. */ 36316#ifdef __cplusplus 36317extern "C" 36318#endif 36319char libcfile_file_io_control_read_with_error_code (); 36320int 36321main () 36322{ 36323return libcfile_file_io_control_read_with_error_code (); 36324 ; 36325 return 0; 36326} 36327_ACEOF 36328if ac_fn_c_try_link "$LINENO"; then : 36329 ac_cv_lib_cfile_libcfile_file_io_control_read_with_error_code=yes 36330else 36331 ac_cv_lib_cfile_libcfile_file_io_control_read_with_error_code=no 36332fi 36333rm -f core conftest.err conftest.$ac_objext \ 36334 conftest$ac_exeext conftest.$ac_ext 36335LIBS=$ac_check_lib_save_LIBS 36336fi 36337{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_io_control_read_with_error_code" >&5 36338$as_echo "$ac_cv_lib_cfile_libcfile_file_io_control_read_with_error_code" >&6; } 36339if test "x$ac_cv_lib_cfile_libcfile_file_io_control_read_with_error_code" = xyes; then : 36340 ac_cv_libcfile_dummy=yes 36341else 36342 ac_cv_libcfile=no 36343fi 36344 36345 36346 if test "x$ac_cv_enable_wide_character_type" != xno; then : 36347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_open_wide in -lcfile" >&5 36348$as_echo_n "checking for libcfile_file_open_wide in -lcfile... " >&6; } 36349if ${ac_cv_lib_cfile_libcfile_file_open_wide+:} false; then : 36350 $as_echo_n "(cached) " >&6 36351else 36352 ac_check_lib_save_LIBS=$LIBS 36353LIBS="-lcfile $LIBS" 36354cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36355/* end confdefs.h. */ 36356 36357/* Override any GCC internal prototype to avoid an error. 36358 Use char because int might match the return type of a GCC 36359 builtin and then its argument prototype would still apply. */ 36360#ifdef __cplusplus 36361extern "C" 36362#endif 36363char libcfile_file_open_wide (); 36364int 36365main () 36366{ 36367return libcfile_file_open_wide (); 36368 ; 36369 return 0; 36370} 36371_ACEOF 36372if ac_fn_c_try_link "$LINENO"; then : 36373 ac_cv_lib_cfile_libcfile_file_open_wide=yes 36374else 36375 ac_cv_lib_cfile_libcfile_file_open_wide=no 36376fi 36377rm -f core conftest.err conftest.$ac_objext \ 36378 conftest$ac_exeext conftest.$ac_ext 36379LIBS=$ac_check_lib_save_LIBS 36380fi 36381{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_open_wide" >&5 36382$as_echo "$ac_cv_lib_cfile_libcfile_file_open_wide" >&6; } 36383if test "x$ac_cv_lib_cfile_libcfile_file_open_wide" = xyes; then : 36384 ac_cv_libcfile_dummy=yes 36385else 36386 ac_cv_libcfile=no 36387fi 36388 36389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_open_wide_with_error_code in -lcfile" >&5 36390$as_echo_n "checking for libcfile_file_open_wide_with_error_code in -lcfile... " >&6; } 36391if ${ac_cv_lib_cfile_libcfile_file_open_wide_with_error_code+:} false; then : 36392 $as_echo_n "(cached) " >&6 36393else 36394 ac_check_lib_save_LIBS=$LIBS 36395LIBS="-lcfile $LIBS" 36396cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36397/* end confdefs.h. */ 36398 36399/* Override any GCC internal prototype to avoid an error. 36400 Use char because int might match the return type of a GCC 36401 builtin and then its argument prototype would still apply. */ 36402#ifdef __cplusplus 36403extern "C" 36404#endif 36405char libcfile_file_open_wide_with_error_code (); 36406int 36407main () 36408{ 36409return libcfile_file_open_wide_with_error_code (); 36410 ; 36411 return 0; 36412} 36413_ACEOF 36414if ac_fn_c_try_link "$LINENO"; then : 36415 ac_cv_lib_cfile_libcfile_file_open_wide_with_error_code=yes 36416else 36417 ac_cv_lib_cfile_libcfile_file_open_wide_with_error_code=no 36418fi 36419rm -f core conftest.err conftest.$ac_objext \ 36420 conftest$ac_exeext conftest.$ac_ext 36421LIBS=$ac_check_lib_save_LIBS 36422fi 36423{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_open_wide_with_error_code" >&5 36424$as_echo "$ac_cv_lib_cfile_libcfile_file_open_wide_with_error_code" >&6; } 36425if test "x$ac_cv_lib_cfile_libcfile_file_open_wide_with_error_code" = xyes; then : 36426 ac_cv_libcfile_dummy=yes 36427else 36428 ac_cv_libcfile=no 36429fi 36430 36431 36432fi 36433 36434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_exists in -lcfile" >&5 36435$as_echo_n "checking for libcfile_file_exists in -lcfile... " >&6; } 36436if ${ac_cv_lib_cfile_libcfile_file_exists+:} false; then : 36437 $as_echo_n "(cached) " >&6 36438else 36439 ac_check_lib_save_LIBS=$LIBS 36440LIBS="-lcfile $LIBS" 36441cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36442/* end confdefs.h. */ 36443 36444/* Override any GCC internal prototype to avoid an error. 36445 Use char because int might match the return type of a GCC 36446 builtin and then its argument prototype would still apply. */ 36447#ifdef __cplusplus 36448extern "C" 36449#endif 36450char libcfile_file_exists (); 36451int 36452main () 36453{ 36454return libcfile_file_exists (); 36455 ; 36456 return 0; 36457} 36458_ACEOF 36459if ac_fn_c_try_link "$LINENO"; then : 36460 ac_cv_lib_cfile_libcfile_file_exists=yes 36461else 36462 ac_cv_lib_cfile_libcfile_file_exists=no 36463fi 36464rm -f core conftest.err conftest.$ac_objext \ 36465 conftest$ac_exeext conftest.$ac_ext 36466LIBS=$ac_check_lib_save_LIBS 36467fi 36468{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_exists" >&5 36469$as_echo "$ac_cv_lib_cfile_libcfile_file_exists" >&6; } 36470if test "x$ac_cv_lib_cfile_libcfile_file_exists" = xyes; then : 36471 ac_cv_libcfile_dummy=yes 36472else 36473 ac_cv_libcfile=no 36474fi 36475 36476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_remove in -lcfile" >&5 36477$as_echo_n "checking for libcfile_file_remove in -lcfile... " >&6; } 36478if ${ac_cv_lib_cfile_libcfile_file_remove+:} false; then : 36479 $as_echo_n "(cached) " >&6 36480else 36481 ac_check_lib_save_LIBS=$LIBS 36482LIBS="-lcfile $LIBS" 36483cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36484/* end confdefs.h. */ 36485 36486/* Override any GCC internal prototype to avoid an error. 36487 Use char because int might match the return type of a GCC 36488 builtin and then its argument prototype would still apply. */ 36489#ifdef __cplusplus 36490extern "C" 36491#endif 36492char libcfile_file_remove (); 36493int 36494main () 36495{ 36496return libcfile_file_remove (); 36497 ; 36498 return 0; 36499} 36500_ACEOF 36501if ac_fn_c_try_link "$LINENO"; then : 36502 ac_cv_lib_cfile_libcfile_file_remove=yes 36503else 36504 ac_cv_lib_cfile_libcfile_file_remove=no 36505fi 36506rm -f core conftest.err conftest.$ac_objext \ 36507 conftest$ac_exeext conftest.$ac_ext 36508LIBS=$ac_check_lib_save_LIBS 36509fi 36510{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_remove" >&5 36511$as_echo "$ac_cv_lib_cfile_libcfile_file_remove" >&6; } 36512if test "x$ac_cv_lib_cfile_libcfile_file_remove" = xyes; then : 36513 ac_cv_libcfile_dummy=yes 36514else 36515 ac_cv_libcfile=no 36516fi 36517 36518 36519 if test "x$ac_cv_enable_wide_character_type" != xno; then : 36520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_exists_wide in -lcfile" >&5 36521$as_echo_n "checking for libcfile_file_exists_wide in -lcfile... " >&6; } 36522if ${ac_cv_lib_cfile_libcfile_file_exists_wide+:} false; then : 36523 $as_echo_n "(cached) " >&6 36524else 36525 ac_check_lib_save_LIBS=$LIBS 36526LIBS="-lcfile $LIBS" 36527cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36528/* end confdefs.h. */ 36529 36530/* Override any GCC internal prototype to avoid an error. 36531 Use char because int might match the return type of a GCC 36532 builtin and then its argument prototype would still apply. */ 36533#ifdef __cplusplus 36534extern "C" 36535#endif 36536char libcfile_file_exists_wide (); 36537int 36538main () 36539{ 36540return libcfile_file_exists_wide (); 36541 ; 36542 return 0; 36543} 36544_ACEOF 36545if ac_fn_c_try_link "$LINENO"; then : 36546 ac_cv_lib_cfile_libcfile_file_exists_wide=yes 36547else 36548 ac_cv_lib_cfile_libcfile_file_exists_wide=no 36549fi 36550rm -f core conftest.err conftest.$ac_objext \ 36551 conftest$ac_exeext conftest.$ac_ext 36552LIBS=$ac_check_lib_save_LIBS 36553fi 36554{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_exists_wide" >&5 36555$as_echo "$ac_cv_lib_cfile_libcfile_file_exists_wide" >&6; } 36556if test "x$ac_cv_lib_cfile_libcfile_file_exists_wide" = xyes; then : 36557 ac_cv_libcfile_dummy=yes 36558else 36559 ac_cv_libcfile=no 36560fi 36561 36562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcfile_file_remove_wide in -lcfile" >&5 36563$as_echo_n "checking for libcfile_file_remove_wide in -lcfile... " >&6; } 36564if ${ac_cv_lib_cfile_libcfile_file_remove_wide+:} false; then : 36565 $as_echo_n "(cached) " >&6 36566else 36567 ac_check_lib_save_LIBS=$LIBS 36568LIBS="-lcfile $LIBS" 36569cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36570/* end confdefs.h. */ 36571 36572/* Override any GCC internal prototype to avoid an error. 36573 Use char because int might match the return type of a GCC 36574 builtin and then its argument prototype would still apply. */ 36575#ifdef __cplusplus 36576extern "C" 36577#endif 36578char libcfile_file_remove_wide (); 36579int 36580main () 36581{ 36582return libcfile_file_remove_wide (); 36583 ; 36584 return 0; 36585} 36586_ACEOF 36587if ac_fn_c_try_link "$LINENO"; then : 36588 ac_cv_lib_cfile_libcfile_file_remove_wide=yes 36589else 36590 ac_cv_lib_cfile_libcfile_file_remove_wide=no 36591fi 36592rm -f core conftest.err conftest.$ac_objext \ 36593 conftest$ac_exeext conftest.$ac_ext 36594LIBS=$ac_check_lib_save_LIBS 36595fi 36596{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfile_libcfile_file_remove_wide" >&5 36597$as_echo "$ac_cv_lib_cfile_libcfile_file_remove_wide" >&6; } 36598if test "x$ac_cv_lib_cfile_libcfile_file_remove_wide" = xyes; then : 36599 ac_cv_libcfile_dummy=yes 36600else 36601 ac_cv_libcfile=no 36602fi 36603 36604 36605fi 36606 36607 ac_cv_libcfile_LIBADD="-lcfile" 36608fi 36609 36610fi 36611 if test "x$ac_cv_with_libcfile" != x && test "x$ac_cv_with_libcfile" != xauto-detect && test "x$ac_cv_libcfile" != xyes; then : 36612 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36613$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36614as_fn_error 1 "unable to find supported libcfile in directory: $ac_cv_with_libcfile 36615See \`config.log' for more details" "$LINENO" 5; } 36616 36617fi 36618 36619fi 36620 36621 if test "x$ac_cv_libcfile" = xyes; then : 36622 36623$as_echo "#define HAVE_LIBCFILE 1" >>confdefs.h 36624 36625 36626fi 36627 36628 if test "x$ac_cv_libcfile" = xyes; then : 36629 HAVE_LIBCFILE=1 36630 36631else 36632 HAVE_LIBCFILE=0 36633 36634 36635fi 36636 36637 36638 if test "x$ac_cv_libcfile" != xyes; then : 36639 for ac_header in errno.h stdio.h sys/stat.h 36640do : 36641 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 36642ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 36643if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 36644 cat >>confdefs.h <<_ACEOF 36645#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 36646_ACEOF 36647 36648fi 36649 36650done 36651 36652 36653 for ac_header in cygwin/fs.h fcntl.h linux/fs.h sys/disk.h sys/disklabel.h sys/ioctl.h unistd.h 36654do : 36655 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 36656ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 36657if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 36658 cat >>confdefs.h <<_ACEOF 36659#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 36660_ACEOF 36661 36662fi 36663 36664done 36665 36666 36667 for ac_func in close fstat ftruncate ioctl lseek open read write 36668do : 36669 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 36670ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 36671if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 36672 cat >>confdefs.h <<_ACEOF 36673#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 36674_ACEOF 36675 36676fi 36677done 36678 36679 36680 if test "x$ac_cv_func_close" != xyes; then : 36681 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36682$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36683as_fn_error 1 "Missing function: close 36684See \`config.log' for more details" "$LINENO" 5; } 36685 36686fi 36687 36688 for ac_func in posix_fadvise 36689do : 36690 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise" 36691if test "x$ac_cv_func_posix_fadvise" = xyes; then : 36692 cat >>confdefs.h <<_ACEOF 36693#define HAVE_POSIX_FADVISE 1 36694_ACEOF 36695 36696fi 36697done 36698 36699 36700 if test "x$ac_cv_func_posix_fadvise" = xyes; then : 36701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether posix_fadvise can be linked" >&5 36702$as_echo_n "checking whether posix_fadvise can be linked... " >&6; } 36703 36704 SAVE_CFLAGS="$CFLAGS" 36705 CFLAGS="$CFLAGS -Wall -Werror" 36706 ac_ext=c 36707ac_cpp='$CPP $CPPFLAGS' 36708ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 36709ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 36710ac_compiler_gnu=$ac_cv_c_compiler_gnu 36711 36712 36713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 36714/* end confdefs.h. */ 36715#include <fcntl.h> 36716int 36717main () 36718{ 36719#if !defined( POSIX_FADV_SEQUENTIAL ) 36720#define POSIX_FADV_SEQUENTIAL 2 36721#endif 36722posix_fadvise( 0, 0, 0, POSIX_FADV_SEQUENTIAL ) 36723 ; 36724 return 0; 36725} 36726_ACEOF 36727if ac_fn_c_try_link "$LINENO"; then : 36728 ac_cv_func_posix_fadvise=yes 36729else 36730 ac_cv_func_posix_fadvise=no 36731fi 36732rm -f core conftest.err conftest.$ac_objext \ 36733 conftest$ac_exeext conftest.$ac_ext 36734 36735 ac_ext=c 36736ac_cpp='$CPP $CPPFLAGS' 36737ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 36738ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 36739ac_compiler_gnu=$ac_cv_c_compiler_gnu 36740 36741 CFLAGS="$SAVE_CFLAGS" 36742 36743 if test "x$ac_cv_func_posix_fadvise" = xyes; then : 36744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 36745$as_echo "yes" >&6; } 36746 36747$as_echo "#define HAVE_POSIX_FADVISE 1" >>confdefs.h 36748 36749else 36750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 36751$as_echo "no" >&6; } 36752fi 36753 36754fi 36755 36756 36757 if test "x$ac_cv_func_fstat" != xyes; then : 36758 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36759$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36760as_fn_error 1 "Missing function: fstat 36761See \`config.log' for more details" "$LINENO" 5; } 36762 36763fi 36764 36765 if test "x$ac_cv_func_ftruncate" != xyes; then : 36766 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36767$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36768as_fn_error 1 "Missing function: ftruncate 36769See \`config.log' for more details" "$LINENO" 5; } 36770 36771fi 36772 36773 if test x"$ac_cv_enable_winapi" = xno; then : 36774 if test "x$ac_cv_func_ioctl" != xyes; then : 36775 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36776$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36777as_fn_error 1 "Missing function: ioctl 36778See \`config.log' for more details" "$LINENO" 5; } 36779 36780fi 36781 36782fi 36783 36784 if test "x$ac_cv_func_lseek" != xyes; then : 36785 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36786$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36787as_fn_error 1 "Missing function: lseek 36788See \`config.log' for more details" "$LINENO" 5; } 36789 36790fi 36791 36792 if test "x$ac_cv_func_open" != xyes; then : 36793 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36794$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36795as_fn_error 1 "Missing function: open 36796See \`config.log' for more details" "$LINENO" 5; } 36797 36798fi 36799 36800 if test "x$ac_cv_func_read" != xyes; then : 36801 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36802$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36803as_fn_error 1 "Missing function: read 36804See \`config.log' for more details" "$LINENO" 5; } 36805 36806fi 36807 36808 if test "x$ac_cv_func_write" != xyes; then : 36809 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36810$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36811as_fn_error 1 "Missing function: write 36812See \`config.log' for more details" "$LINENO" 5; } 36813 36814fi 36815 36816 for ac_func in stat unlink 36817do : 36818 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 36819ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 36820if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 36821 cat >>confdefs.h <<_ACEOF 36822#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 36823_ACEOF 36824 36825fi 36826done 36827 36828 36829 if test "x$ac_cv_func_stat" != xyes; then : 36830 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36831$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36832as_fn_error 1 "Missing function: stat 36833See \`config.log' for more details" "$LINENO" 5; } 36834 36835fi 36836 36837 if test "x$ac_cv_func_unlink" != xyes; then : 36838 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36839$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36840as_fn_error 1 "Missing function: unlink 36841See \`config.log' for more details" "$LINENO" 5; } 36842 36843fi 36844 36845 ac_cv_libcfile_CPPFLAGS="-I../libcfile"; 36846 ac_cv_libcfile_LIBADD="../libcfile/libcfile.la"; 36847 36848 ac_cv_libcfile=local 36849 36850 36851 36852$as_echo "#define HAVE_LOCAL_LIBCFILE 1" >>confdefs.h 36853 36854 HAVE_LOCAL_LIBCFILE=1 36855 36856 36857fi 36858 36859 if test "x$ac_cv_libcfile" = xlocal; then 36860 HAVE_LOCAL_LIBCFILE_TRUE= 36861 HAVE_LOCAL_LIBCFILE_FALSE='#' 36862else 36863 HAVE_LOCAL_LIBCFILE_TRUE='#' 36864 HAVE_LOCAL_LIBCFILE_FALSE= 36865fi 36866 36867 if test "x$ac_cv_libcfile_CPPFLAGS" != "x"; then : 36868 LIBCFILE_CPPFLAGS=$ac_cv_libcfile_CPPFLAGS 36869 36870 36871fi 36872 if test "x$ac_cv_libcfile_LIBADD" != "x"; then : 36873 LIBCFILE_LIBADD=$ac_cv_libcfile_LIBADD 36874 36875 36876fi 36877 36878 if test "x$ac_cv_libcfile" = xyes; then : 36879 ax_libcfile_pc_libs_private=-lcfile 36880 36881 36882fi 36883 36884 if test "x$ac_cv_libcfile" = xyes; then : 36885 ax_libcfile_spec_requires=libcfile 36886 36887 ax_libcfile_spec_build_requires=libcfile-devel 36888 36889 36890fi 36891 36892 36893 36894 36895# Check whether --with-libcpath was given. 36896if test "${with_libcpath+set}" = set; then : 36897 withval=$with_libcpath; ac_cv_with_libcpath=$withval 36898else 36899 ac_cv_with_libcpath=auto-detect 36900fi 36901 36902 { $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 36903$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; } 36904if ${ac_cv_with_libcpath+:} false; then : 36905 $as_echo_n "(cached) " >&6 36906else 36907 ac_cv_with_libcpath=auto-detect 36908fi 36909{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libcpath" >&5 36910$as_echo "$ac_cv_with_libcpath" >&6; } 36911 36912 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libcpath" = xno; then : 36913 ac_cv_libcpath=no 36914else 36915 ac_cv_libcpath=check 36916 if test "x$ac_cv_with_libcpath" != x && test "x$ac_cv_with_libcpath" != xauto-detect; then : 36917 if test -d "$ac_cv_with_libcpath"; then : 36918 CFLAGS="$CFLAGS -I${ac_cv_with_libcpath}/include" 36919 LDFLAGS="$LDFLAGS -L${ac_cv_with_libcpath}/lib" 36920else 36921 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 36922$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 36923as_fn_error 1 "no such directory: $ac_cv_with_libcpath 36924See \`config.log' for more details" "$LINENO" 5; } 36925 36926fi 36927 36928else 36929 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 36930 36931pkg_failed=no 36932{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath" >&5 36933$as_echo_n "checking for libcpath... " >&6; } 36934 36935if test -n "$libcpath_CFLAGS"; then 36936 pkg_cv_libcpath_CFLAGS="$libcpath_CFLAGS" 36937 elif test -n "$PKG_CONFIG"; then 36938 if test -n "$PKG_CONFIG" && \ 36939 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcpath >= 20180716\""; } >&5 36940 ($PKG_CONFIG --exists --print-errors "libcpath >= 20180716") 2>&5 36941 ac_status=$? 36942 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 36943 test $ac_status = 0; }; then 36944 pkg_cv_libcpath_CFLAGS=`$PKG_CONFIG --cflags "libcpath >= 20180716" 2>/dev/null` 36945 test "x$?" != "x0" && pkg_failed=yes 36946else 36947 pkg_failed=yes 36948fi 36949 else 36950 pkg_failed=untried 36951fi 36952if test -n "$libcpath_LIBS"; then 36953 pkg_cv_libcpath_LIBS="$libcpath_LIBS" 36954 elif test -n "$PKG_CONFIG"; then 36955 if test -n "$PKG_CONFIG" && \ 36956 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcpath >= 20180716\""; } >&5 36957 ($PKG_CONFIG --exists --print-errors "libcpath >= 20180716") 2>&5 36958 ac_status=$? 36959 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 36960 test $ac_status = 0; }; then 36961 pkg_cv_libcpath_LIBS=`$PKG_CONFIG --libs "libcpath >= 20180716" 2>/dev/null` 36962 test "x$?" != "x0" && pkg_failed=yes 36963else 36964 pkg_failed=yes 36965fi 36966 else 36967 pkg_failed=untried 36968fi 36969 36970 36971 36972if test $pkg_failed = yes; then 36973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 36974$as_echo "no" >&6; } 36975 36976if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 36977 _pkg_short_errors_supported=yes 36978else 36979 _pkg_short_errors_supported=no 36980fi 36981 if test $_pkg_short_errors_supported = yes; then 36982 libcpath_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcpath >= 20180716" 2>&1` 36983 else 36984 libcpath_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcpath >= 20180716" 2>&1` 36985 fi 36986 # Put the nasty error message in config.log where it belongs 36987 echo "$libcpath_PKG_ERRORS" >&5 36988 36989 ac_cv_libcpath=check 36990elif test $pkg_failed = untried; then 36991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 36992$as_echo "no" >&6; } 36993 ac_cv_libcpath=check 36994else 36995 libcpath_CFLAGS=$pkg_cv_libcpath_CFLAGS 36996 libcpath_LIBS=$pkg_cv_libcpath_LIBS 36997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 36998$as_echo "yes" >&6; } 36999 ac_cv_libcpath=yes 37000fi 37001 37002fi 37003 if test "x$ac_cv_libcpath" = xyes && test "x$ac_cv_enable_wide_character_type" != xno; then : 37004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libcpath/features.h defines LIBCPATH_HAVE_WIDE_CHARACTER_TYPE as 1" >&5 37005$as_echo_n "checking whether libcpath/features.h defines LIBCPATH_HAVE_WIDE_CHARACTER_TYPE as 1... " >&6; } 37006if ${ac_cv_header_libcpath_features_h_have_wide_character_type+:} false; then : 37007 $as_echo_n "(cached) " >&6 37008else 37009 ac_ext=c 37010ac_cpp='$CPP $CPPFLAGS' 37011ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 37012ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 37013ac_compiler_gnu=$ac_cv_c_compiler_gnu 37014 37015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37016/* end confdefs.h. */ 37017#include <libcpath/features.h> 37018int 37019main () 37020{ 37021#if !defined( LIBCPATH_HAVE_WIDE_CHARACTER_TYPE ) || ( LIBCPATH_HAVE_WIDE_CHARACTER_TYPE != 1 ) 37022#error LIBCPATH_HAVE_WIDE_CHARACTER_TYPE not defined 37023#endif 37024 ; 37025 return 0; 37026} 37027_ACEOF 37028if ac_fn_c_try_compile "$LINENO"; then : 37029 ac_cv_header_libcpath_features_h_have_wide_character_type=yes 37030else 37031 ac_cv_header_libcpath_features_h_have_wide_character_type=no 37032fi 37033rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 37034 ac_ext=c 37035ac_cpp='$CPP $CPPFLAGS' 37036ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 37037ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 37038ac_compiler_gnu=$ac_cv_c_compiler_gnu 37039 37040fi 37041{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_libcpath_features_h_have_wide_character_type" >&5 37042$as_echo "$ac_cv_header_libcpath_features_h_have_wide_character_type" >&6; } 37043 37044 if test "x$ac_cv_header_libcpath_features_h_have_wide_character_type" = xno; then : 37045 ac_cv_libcpath=no 37046fi 37047 37048fi 37049 if test "x$ac_cv_libcpath" = xyes; then : 37050 ac_cv_libcpath_CPPFLAGS="$pkg_cv_libcpath_CFLAGS" 37051 ac_cv_libcpath_LIBADD="$pkg_cv_libcpath_LIBS" 37052fi 37053 37054fi 37055 37056 if test "x$ac_cv_libcpath" = xcheck; then : 37057 for ac_header in libcpath.h 37058do : 37059 ac_fn_c_check_header_mongrel "$LINENO" "libcpath.h" "ac_cv_header_libcpath_h" "$ac_includes_default" 37060if test "x$ac_cv_header_libcpath_h" = xyes; then : 37061 cat >>confdefs.h <<_ACEOF 37062#define HAVE_LIBCPATH_H 1 37063_ACEOF 37064 37065fi 37066 37067done 37068 37069 37070 if test "x$ac_cv_header_libcpath_h" = xno; then : 37071 ac_cv_libcpath=no 37072else 37073 ac_cv_libcpath=yes 37074 37075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_get_version in -lcpath" >&5 37076$as_echo_n "checking for libcpath_get_version in -lcpath... " >&6; } 37077if ${ac_cv_lib_cpath_libcpath_get_version+:} false; then : 37078 $as_echo_n "(cached) " >&6 37079else 37080 ac_check_lib_save_LIBS=$LIBS 37081LIBS="-lcpath $LIBS" 37082cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37083/* end confdefs.h. */ 37084 37085/* Override any GCC internal prototype to avoid an error. 37086 Use char because int might match the return type of a GCC 37087 builtin and then its argument prototype would still apply. */ 37088#ifdef __cplusplus 37089extern "C" 37090#endif 37091char libcpath_get_version (); 37092int 37093main () 37094{ 37095return libcpath_get_version (); 37096 ; 37097 return 0; 37098} 37099_ACEOF 37100if ac_fn_c_try_link "$LINENO"; then : 37101 ac_cv_lib_cpath_libcpath_get_version=yes 37102else 37103 ac_cv_lib_cpath_libcpath_get_version=no 37104fi 37105rm -f core conftest.err conftest.$ac_objext \ 37106 conftest$ac_exeext conftest.$ac_ext 37107LIBS=$ac_check_lib_save_LIBS 37108fi 37109{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_get_version" >&5 37110$as_echo "$ac_cv_lib_cpath_libcpath_get_version" >&6; } 37111if test "x$ac_cv_lib_cpath_libcpath_get_version" = xyes; then : 37112 ac_cv_libcpath_dummy=yes 37113else 37114 ac_cv_libcpath=no 37115fi 37116 37117 37118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_change_directory in -lcpath" >&5 37119$as_echo_n "checking for libcpath_path_change_directory in -lcpath... " >&6; } 37120if ${ac_cv_lib_cpath_libcpath_path_change_directory+:} false; then : 37121 $as_echo_n "(cached) " >&6 37122else 37123 ac_check_lib_save_LIBS=$LIBS 37124LIBS="-lcpath $LIBS" 37125cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37126/* end confdefs.h. */ 37127 37128/* Override any GCC internal prototype to avoid an error. 37129 Use char because int might match the return type of a GCC 37130 builtin and then its argument prototype would still apply. */ 37131#ifdef __cplusplus 37132extern "C" 37133#endif 37134char libcpath_path_change_directory (); 37135int 37136main () 37137{ 37138return libcpath_path_change_directory (); 37139 ; 37140 return 0; 37141} 37142_ACEOF 37143if ac_fn_c_try_link "$LINENO"; then : 37144 ac_cv_lib_cpath_libcpath_path_change_directory=yes 37145else 37146 ac_cv_lib_cpath_libcpath_path_change_directory=no 37147fi 37148rm -f core conftest.err conftest.$ac_objext \ 37149 conftest$ac_exeext conftest.$ac_ext 37150LIBS=$ac_check_lib_save_LIBS 37151fi 37152{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_change_directory" >&5 37153$as_echo "$ac_cv_lib_cpath_libcpath_path_change_directory" >&6; } 37154if test "x$ac_cv_lib_cpath_libcpath_path_change_directory" = xyes; then : 37155 ac_cv_libcpath_dummy=yes 37156else 37157 ac_cv_libcpath=no 37158fi 37159 37160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_current_working_directory in -lcpath" >&5 37161$as_echo_n "checking for libcpath_path_get_current_working_directory in -lcpath... " >&6; } 37162if ${ac_cv_lib_cpath_libcpath_path_get_current_working_directory+:} false; then : 37163 $as_echo_n "(cached) " >&6 37164else 37165 ac_check_lib_save_LIBS=$LIBS 37166LIBS="-lcpath $LIBS" 37167cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37168/* end confdefs.h. */ 37169 37170/* Override any GCC internal prototype to avoid an error. 37171 Use char because int might match the return type of a GCC 37172 builtin and then its argument prototype would still apply. */ 37173#ifdef __cplusplus 37174extern "C" 37175#endif 37176char libcpath_path_get_current_working_directory (); 37177int 37178main () 37179{ 37180return libcpath_path_get_current_working_directory (); 37181 ; 37182 return 0; 37183} 37184_ACEOF 37185if ac_fn_c_try_link "$LINENO"; then : 37186 ac_cv_lib_cpath_libcpath_path_get_current_working_directory=yes 37187else 37188 ac_cv_lib_cpath_libcpath_path_get_current_working_directory=no 37189fi 37190rm -f core conftest.err conftest.$ac_objext \ 37191 conftest$ac_exeext conftest.$ac_ext 37192LIBS=$ac_check_lib_save_LIBS 37193fi 37194{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_current_working_directory" >&5 37195$as_echo "$ac_cv_lib_cpath_libcpath_path_get_current_working_directory" >&6; } 37196if test "x$ac_cv_lib_cpath_libcpath_path_get_current_working_directory" = xyes; then : 37197 ac_cv_libcpath_dummy=yes 37198else 37199 ac_cv_libcpath=no 37200fi 37201 37202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_full_path in -lcpath" >&5 37203$as_echo_n "checking for libcpath_path_get_full_path in -lcpath... " >&6; } 37204if ${ac_cv_lib_cpath_libcpath_path_get_full_path+:} false; then : 37205 $as_echo_n "(cached) " >&6 37206else 37207 ac_check_lib_save_LIBS=$LIBS 37208LIBS="-lcpath $LIBS" 37209cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37210/* end confdefs.h. */ 37211 37212/* Override any GCC internal prototype to avoid an error. 37213 Use char because int might match the return type of a GCC 37214 builtin and then its argument prototype would still apply. */ 37215#ifdef __cplusplus 37216extern "C" 37217#endif 37218char libcpath_path_get_full_path (); 37219int 37220main () 37221{ 37222return libcpath_path_get_full_path (); 37223 ; 37224 return 0; 37225} 37226_ACEOF 37227if ac_fn_c_try_link "$LINENO"; then : 37228 ac_cv_lib_cpath_libcpath_path_get_full_path=yes 37229else 37230 ac_cv_lib_cpath_libcpath_path_get_full_path=no 37231fi 37232rm -f core conftest.err conftest.$ac_objext \ 37233 conftest$ac_exeext conftest.$ac_ext 37234LIBS=$ac_check_lib_save_LIBS 37235fi 37236{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_full_path" >&5 37237$as_echo "$ac_cv_lib_cpath_libcpath_path_get_full_path" >&6; } 37238if test "x$ac_cv_lib_cpath_libcpath_path_get_full_path" = xyes; then : 37239 ac_cv_libcpath_dummy=yes 37240else 37241 ac_cv_libcpath=no 37242fi 37243 37244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_sanitized_filename in -lcpath" >&5 37245$as_echo_n "checking for libcpath_path_get_sanitized_filename in -lcpath... " >&6; } 37246if ${ac_cv_lib_cpath_libcpath_path_get_sanitized_filename+:} false; then : 37247 $as_echo_n "(cached) " >&6 37248else 37249 ac_check_lib_save_LIBS=$LIBS 37250LIBS="-lcpath $LIBS" 37251cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37252/* end confdefs.h. */ 37253 37254/* Override any GCC internal prototype to avoid an error. 37255 Use char because int might match the return type of a GCC 37256 builtin and then its argument prototype would still apply. */ 37257#ifdef __cplusplus 37258extern "C" 37259#endif 37260char libcpath_path_get_sanitized_filename (); 37261int 37262main () 37263{ 37264return libcpath_path_get_sanitized_filename (); 37265 ; 37266 return 0; 37267} 37268_ACEOF 37269if ac_fn_c_try_link "$LINENO"; then : 37270 ac_cv_lib_cpath_libcpath_path_get_sanitized_filename=yes 37271else 37272 ac_cv_lib_cpath_libcpath_path_get_sanitized_filename=no 37273fi 37274rm -f core conftest.err conftest.$ac_objext \ 37275 conftest$ac_exeext conftest.$ac_ext 37276LIBS=$ac_check_lib_save_LIBS 37277fi 37278{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_sanitized_filename" >&5 37279$as_echo "$ac_cv_lib_cpath_libcpath_path_get_sanitized_filename" >&6; } 37280if test "x$ac_cv_lib_cpath_libcpath_path_get_sanitized_filename" = xyes; then : 37281 ac_cv_libcpath_dummy=yes 37282else 37283 ac_cv_libcpath=no 37284fi 37285 37286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_sanitized_path in -lcpath" >&5 37287$as_echo_n "checking for libcpath_path_get_sanitized_path in -lcpath... " >&6; } 37288if ${ac_cv_lib_cpath_libcpath_path_get_sanitized_path+:} false; then : 37289 $as_echo_n "(cached) " >&6 37290else 37291 ac_check_lib_save_LIBS=$LIBS 37292LIBS="-lcpath $LIBS" 37293cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37294/* end confdefs.h. */ 37295 37296/* Override any GCC internal prototype to avoid an error. 37297 Use char because int might match the return type of a GCC 37298 builtin and then its argument prototype would still apply. */ 37299#ifdef __cplusplus 37300extern "C" 37301#endif 37302char libcpath_path_get_sanitized_path (); 37303int 37304main () 37305{ 37306return libcpath_path_get_sanitized_path (); 37307 ; 37308 return 0; 37309} 37310_ACEOF 37311if ac_fn_c_try_link "$LINENO"; then : 37312 ac_cv_lib_cpath_libcpath_path_get_sanitized_path=yes 37313else 37314 ac_cv_lib_cpath_libcpath_path_get_sanitized_path=no 37315fi 37316rm -f core conftest.err conftest.$ac_objext \ 37317 conftest$ac_exeext conftest.$ac_ext 37318LIBS=$ac_check_lib_save_LIBS 37319fi 37320{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_sanitized_path" >&5 37321$as_echo "$ac_cv_lib_cpath_libcpath_path_get_sanitized_path" >&6; } 37322if test "x$ac_cv_lib_cpath_libcpath_path_get_sanitized_path" = xyes; then : 37323 ac_cv_libcpath_dummy=yes 37324else 37325 ac_cv_libcpath=no 37326fi 37327 37328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_join in -lcpath" >&5 37329$as_echo_n "checking for libcpath_path_join in -lcpath... " >&6; } 37330if ${ac_cv_lib_cpath_libcpath_path_join+:} false; then : 37331 $as_echo_n "(cached) " >&6 37332else 37333 ac_check_lib_save_LIBS=$LIBS 37334LIBS="-lcpath $LIBS" 37335cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37336/* end confdefs.h. */ 37337 37338/* Override any GCC internal prototype to avoid an error. 37339 Use char because int might match the return type of a GCC 37340 builtin and then its argument prototype would still apply. */ 37341#ifdef __cplusplus 37342extern "C" 37343#endif 37344char libcpath_path_join (); 37345int 37346main () 37347{ 37348return libcpath_path_join (); 37349 ; 37350 return 0; 37351} 37352_ACEOF 37353if ac_fn_c_try_link "$LINENO"; then : 37354 ac_cv_lib_cpath_libcpath_path_join=yes 37355else 37356 ac_cv_lib_cpath_libcpath_path_join=no 37357fi 37358rm -f core conftest.err conftest.$ac_objext \ 37359 conftest$ac_exeext conftest.$ac_ext 37360LIBS=$ac_check_lib_save_LIBS 37361fi 37362{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_join" >&5 37363$as_echo "$ac_cv_lib_cpath_libcpath_path_join" >&6; } 37364if test "x$ac_cv_lib_cpath_libcpath_path_join" = xyes; then : 37365 ac_cv_libcpath_dummy=yes 37366else 37367 ac_cv_libcpath=no 37368fi 37369 37370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_make_directory in -lcpath" >&5 37371$as_echo_n "checking for libcpath_path_make_directory in -lcpath... " >&6; } 37372if ${ac_cv_lib_cpath_libcpath_path_make_directory+:} false; then : 37373 $as_echo_n "(cached) " >&6 37374else 37375 ac_check_lib_save_LIBS=$LIBS 37376LIBS="-lcpath $LIBS" 37377cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37378/* end confdefs.h. */ 37379 37380/* Override any GCC internal prototype to avoid an error. 37381 Use char because int might match the return type of a GCC 37382 builtin and then its argument prototype would still apply. */ 37383#ifdef __cplusplus 37384extern "C" 37385#endif 37386char libcpath_path_make_directory (); 37387int 37388main () 37389{ 37390return libcpath_path_make_directory (); 37391 ; 37392 return 0; 37393} 37394_ACEOF 37395if ac_fn_c_try_link "$LINENO"; then : 37396 ac_cv_lib_cpath_libcpath_path_make_directory=yes 37397else 37398 ac_cv_lib_cpath_libcpath_path_make_directory=no 37399fi 37400rm -f core conftest.err conftest.$ac_objext \ 37401 conftest$ac_exeext conftest.$ac_ext 37402LIBS=$ac_check_lib_save_LIBS 37403fi 37404{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_make_directory" >&5 37405$as_echo "$ac_cv_lib_cpath_libcpath_path_make_directory" >&6; } 37406if test "x$ac_cv_lib_cpath_libcpath_path_make_directory" = xyes; then : 37407 ac_cv_libcpath_dummy=yes 37408else 37409 ac_cv_libcpath=no 37410fi 37411 37412 37413 if test "x$ac_cv_enable_wide_character_type" != xno; then : 37414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_change_directory_wide in -lcpath" >&5 37415$as_echo_n "checking for libcpath_path_change_directory_wide in -lcpath... " >&6; } 37416if ${ac_cv_lib_cpath_libcpath_path_change_directory_wide+:} false; then : 37417 $as_echo_n "(cached) " >&6 37418else 37419 ac_check_lib_save_LIBS=$LIBS 37420LIBS="-lcpath $LIBS" 37421cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37422/* end confdefs.h. */ 37423 37424/* Override any GCC internal prototype to avoid an error. 37425 Use char because int might match the return type of a GCC 37426 builtin and then its argument prototype would still apply. */ 37427#ifdef __cplusplus 37428extern "C" 37429#endif 37430char libcpath_path_change_directory_wide (); 37431int 37432main () 37433{ 37434return libcpath_path_change_directory_wide (); 37435 ; 37436 return 0; 37437} 37438_ACEOF 37439if ac_fn_c_try_link "$LINENO"; then : 37440 ac_cv_lib_cpath_libcpath_path_change_directory_wide=yes 37441else 37442 ac_cv_lib_cpath_libcpath_path_change_directory_wide=no 37443fi 37444rm -f core conftest.err conftest.$ac_objext \ 37445 conftest$ac_exeext conftest.$ac_ext 37446LIBS=$ac_check_lib_save_LIBS 37447fi 37448{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_change_directory_wide" >&5 37449$as_echo "$ac_cv_lib_cpath_libcpath_path_change_directory_wide" >&6; } 37450if test "x$ac_cv_lib_cpath_libcpath_path_change_directory_wide" = xyes; then : 37451 ac_cv_libcpath_dummy=yes 37452else 37453 ac_cv_libcpath=no 37454fi 37455 37456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_current_working_directory_wide in -lcpath" >&5 37457$as_echo_n "checking for libcpath_path_get_current_working_directory_wide in -lcpath... " >&6; } 37458if ${ac_cv_lib_cpath_libcpath_path_get_current_working_directory_wide+:} false; then : 37459 $as_echo_n "(cached) " >&6 37460else 37461 ac_check_lib_save_LIBS=$LIBS 37462LIBS="-lcpath $LIBS" 37463cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37464/* end confdefs.h. */ 37465 37466/* Override any GCC internal prototype to avoid an error. 37467 Use char because int might match the return type of a GCC 37468 builtin and then its argument prototype would still apply. */ 37469#ifdef __cplusplus 37470extern "C" 37471#endif 37472char libcpath_path_get_current_working_directory_wide (); 37473int 37474main () 37475{ 37476return libcpath_path_get_current_working_directory_wide (); 37477 ; 37478 return 0; 37479} 37480_ACEOF 37481if ac_fn_c_try_link "$LINENO"; then : 37482 ac_cv_lib_cpath_libcpath_path_get_current_working_directory_wide=yes 37483else 37484 ac_cv_lib_cpath_libcpath_path_get_current_working_directory_wide=no 37485fi 37486rm -f core conftest.err conftest.$ac_objext \ 37487 conftest$ac_exeext conftest.$ac_ext 37488LIBS=$ac_check_lib_save_LIBS 37489fi 37490{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_current_working_directory_wide" >&5 37491$as_echo "$ac_cv_lib_cpath_libcpath_path_get_current_working_directory_wide" >&6; } 37492if test "x$ac_cv_lib_cpath_libcpath_path_get_current_working_directory_wide" = xyes; then : 37493 ac_cv_libcpath_dummy=yes 37494else 37495 ac_cv_libcpath=no 37496fi 37497 37498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_full_path_wide in -lcpath" >&5 37499$as_echo_n "checking for libcpath_path_get_full_path_wide in -lcpath... " >&6; } 37500if ${ac_cv_lib_cpath_libcpath_path_get_full_path_wide+:} false; then : 37501 $as_echo_n "(cached) " >&6 37502else 37503 ac_check_lib_save_LIBS=$LIBS 37504LIBS="-lcpath $LIBS" 37505cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37506/* end confdefs.h. */ 37507 37508/* Override any GCC internal prototype to avoid an error. 37509 Use char because int might match the return type of a GCC 37510 builtin and then its argument prototype would still apply. */ 37511#ifdef __cplusplus 37512extern "C" 37513#endif 37514char libcpath_path_get_full_path_wide (); 37515int 37516main () 37517{ 37518return libcpath_path_get_full_path_wide (); 37519 ; 37520 return 0; 37521} 37522_ACEOF 37523if ac_fn_c_try_link "$LINENO"; then : 37524 ac_cv_lib_cpath_libcpath_path_get_full_path_wide=yes 37525else 37526 ac_cv_lib_cpath_libcpath_path_get_full_path_wide=no 37527fi 37528rm -f core conftest.err conftest.$ac_objext \ 37529 conftest$ac_exeext conftest.$ac_ext 37530LIBS=$ac_check_lib_save_LIBS 37531fi 37532{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_full_path_wide" >&5 37533$as_echo "$ac_cv_lib_cpath_libcpath_path_get_full_path_wide" >&6; } 37534if test "x$ac_cv_lib_cpath_libcpath_path_get_full_path_wide" = xyes; then : 37535 ac_cv_libcpath_dummy=yes 37536else 37537 ac_cv_libcpath=no 37538fi 37539 37540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_sanitized_filename_wide in -lcpath" >&5 37541$as_echo_n "checking for libcpath_path_get_sanitized_filename_wide in -lcpath... " >&6; } 37542if ${ac_cv_lib_cpath_libcpath_path_get_sanitized_filename_wide+:} false; then : 37543 $as_echo_n "(cached) " >&6 37544else 37545 ac_check_lib_save_LIBS=$LIBS 37546LIBS="-lcpath $LIBS" 37547cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37548/* end confdefs.h. */ 37549 37550/* Override any GCC internal prototype to avoid an error. 37551 Use char because int might match the return type of a GCC 37552 builtin and then its argument prototype would still apply. */ 37553#ifdef __cplusplus 37554extern "C" 37555#endif 37556char libcpath_path_get_sanitized_filename_wide (); 37557int 37558main () 37559{ 37560return libcpath_path_get_sanitized_filename_wide (); 37561 ; 37562 return 0; 37563} 37564_ACEOF 37565if ac_fn_c_try_link "$LINENO"; then : 37566 ac_cv_lib_cpath_libcpath_path_get_sanitized_filename_wide=yes 37567else 37568 ac_cv_lib_cpath_libcpath_path_get_sanitized_filename_wide=no 37569fi 37570rm -f core conftest.err conftest.$ac_objext \ 37571 conftest$ac_exeext conftest.$ac_ext 37572LIBS=$ac_check_lib_save_LIBS 37573fi 37574{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_sanitized_filename_wide" >&5 37575$as_echo "$ac_cv_lib_cpath_libcpath_path_get_sanitized_filename_wide" >&6; } 37576if test "x$ac_cv_lib_cpath_libcpath_path_get_sanitized_filename_wide" = xyes; then : 37577 ac_cv_libcpath_dummy=yes 37578else 37579 ac_cv_libcpath=no 37580fi 37581 37582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_get_sanitized_path_wide in -lcpath" >&5 37583$as_echo_n "checking for libcpath_path_get_sanitized_path_wide in -lcpath... " >&6; } 37584if ${ac_cv_lib_cpath_libcpath_path_get_sanitized_path_wide+:} false; then : 37585 $as_echo_n "(cached) " >&6 37586else 37587 ac_check_lib_save_LIBS=$LIBS 37588LIBS="-lcpath $LIBS" 37589cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37590/* end confdefs.h. */ 37591 37592/* Override any GCC internal prototype to avoid an error. 37593 Use char because int might match the return type of a GCC 37594 builtin and then its argument prototype would still apply. */ 37595#ifdef __cplusplus 37596extern "C" 37597#endif 37598char libcpath_path_get_sanitized_path_wide (); 37599int 37600main () 37601{ 37602return libcpath_path_get_sanitized_path_wide (); 37603 ; 37604 return 0; 37605} 37606_ACEOF 37607if ac_fn_c_try_link "$LINENO"; then : 37608 ac_cv_lib_cpath_libcpath_path_get_sanitized_path_wide=yes 37609else 37610 ac_cv_lib_cpath_libcpath_path_get_sanitized_path_wide=no 37611fi 37612rm -f core conftest.err conftest.$ac_objext \ 37613 conftest$ac_exeext conftest.$ac_ext 37614LIBS=$ac_check_lib_save_LIBS 37615fi 37616{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_get_sanitized_path_wide" >&5 37617$as_echo "$ac_cv_lib_cpath_libcpath_path_get_sanitized_path_wide" >&6; } 37618if test "x$ac_cv_lib_cpath_libcpath_path_get_sanitized_path_wide" = xyes; then : 37619 ac_cv_libcpath_dummy=yes 37620else 37621 ac_cv_libcpath=no 37622fi 37623 37624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_join_wide in -lcpath" >&5 37625$as_echo_n "checking for libcpath_path_join_wide in -lcpath... " >&6; } 37626if ${ac_cv_lib_cpath_libcpath_path_join_wide+:} false; then : 37627 $as_echo_n "(cached) " >&6 37628else 37629 ac_check_lib_save_LIBS=$LIBS 37630LIBS="-lcpath $LIBS" 37631cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37632/* end confdefs.h. */ 37633 37634/* Override any GCC internal prototype to avoid an error. 37635 Use char because int might match the return type of a GCC 37636 builtin and then its argument prototype would still apply. */ 37637#ifdef __cplusplus 37638extern "C" 37639#endif 37640char libcpath_path_join_wide (); 37641int 37642main () 37643{ 37644return libcpath_path_join_wide (); 37645 ; 37646 return 0; 37647} 37648_ACEOF 37649if ac_fn_c_try_link "$LINENO"; then : 37650 ac_cv_lib_cpath_libcpath_path_join_wide=yes 37651else 37652 ac_cv_lib_cpath_libcpath_path_join_wide=no 37653fi 37654rm -f core conftest.err conftest.$ac_objext \ 37655 conftest$ac_exeext conftest.$ac_ext 37656LIBS=$ac_check_lib_save_LIBS 37657fi 37658{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_join_wide" >&5 37659$as_echo "$ac_cv_lib_cpath_libcpath_path_join_wide" >&6; } 37660if test "x$ac_cv_lib_cpath_libcpath_path_join_wide" = xyes; then : 37661 ac_cv_libcpath_dummy=yes 37662else 37663 ac_cv_libcpath=no 37664fi 37665 37666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libcpath_path_make_directory_wide in -lcpath" >&5 37667$as_echo_n "checking for libcpath_path_make_directory_wide in -lcpath... " >&6; } 37668if ${ac_cv_lib_cpath_libcpath_path_make_directory_wide+:} false; then : 37669 $as_echo_n "(cached) " >&6 37670else 37671 ac_check_lib_save_LIBS=$LIBS 37672LIBS="-lcpath $LIBS" 37673cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37674/* end confdefs.h. */ 37675 37676/* Override any GCC internal prototype to avoid an error. 37677 Use char because int might match the return type of a GCC 37678 builtin and then its argument prototype would still apply. */ 37679#ifdef __cplusplus 37680extern "C" 37681#endif 37682char libcpath_path_make_directory_wide (); 37683int 37684main () 37685{ 37686return libcpath_path_make_directory_wide (); 37687 ; 37688 return 0; 37689} 37690_ACEOF 37691if ac_fn_c_try_link "$LINENO"; then : 37692 ac_cv_lib_cpath_libcpath_path_make_directory_wide=yes 37693else 37694 ac_cv_lib_cpath_libcpath_path_make_directory_wide=no 37695fi 37696rm -f core conftest.err conftest.$ac_objext \ 37697 conftest$ac_exeext conftest.$ac_ext 37698LIBS=$ac_check_lib_save_LIBS 37699fi 37700{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cpath_libcpath_path_make_directory_wide" >&5 37701$as_echo "$ac_cv_lib_cpath_libcpath_path_make_directory_wide" >&6; } 37702if test "x$ac_cv_lib_cpath_libcpath_path_make_directory_wide" = xyes; then : 37703 ac_cv_libcpath_dummy=yes 37704else 37705 ac_cv_libcpath=no 37706fi 37707 37708 37709fi 37710 37711 ac_cv_libcpath_LIBADD="-lcpath" 37712fi 37713 37714fi 37715 if test "x$ac_cv_with_libcpath" != x && test "x$ac_cv_with_libcpath" != xauto-detect && test "x$ac_cv_libcpath" != xyes; then : 37716 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 37717$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 37718as_fn_error 1 "unable to find supported libcpath in directory: $ac_cv_with_libcpath 37719See \`config.log' for more details" "$LINENO" 5; } 37720 37721fi 37722 37723fi 37724 37725 if test "x$ac_cv_libcpath" = xyes; then : 37726 37727$as_echo "#define HAVE_LIBCPATH 1" >>confdefs.h 37728 37729 37730fi 37731 37732 if test "x$ac_cv_libcpath" = xyes; then : 37733 HAVE_LIBCPATH=1 37734 37735else 37736 HAVE_LIBCPATH=0 37737 37738 37739fi 37740 37741 37742 if test "x$ac_cv_libcpath" != xyes; then : 37743 for ac_header in errno.h sys/stat.h sys/syslimits.h 37744do : 37745 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 37746ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 37747if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 37748 cat >>confdefs.h <<_ACEOF 37749#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 37750_ACEOF 37751 37752fi 37753 37754done 37755 37756 37757 for ac_func in chdir getcwd 37758do : 37759 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 37760ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 37761if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 37762 cat >>confdefs.h <<_ACEOF 37763#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 37764_ACEOF 37765 37766fi 37767done 37768 37769 37770 if test "x$ac_cv_func_chdir" != xyes; then : 37771 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 37772$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 37773as_fn_error 1 "Missing functions: chdir 37774See \`config.log' for more details" "$LINENO" 5; } 37775 37776fi 37777 37778 if test "x$ac_cv_func_getcwd" != xyes; then : 37779 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 37780$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 37781as_fn_error 1 "Missing functions: getcwd 37782See \`config.log' for more details" "$LINENO" 5; } 37783 37784fi 37785 37786 for ac_func in mkdir 37787do : 37788 ac_fn_c_check_func "$LINENO" "mkdir" "ac_cv_func_mkdir" 37789if test "x$ac_cv_func_mkdir" = xyes; then : 37790 cat >>confdefs.h <<_ACEOF 37791#define HAVE_MKDIR 1 37792_ACEOF 37793 37794fi 37795done 37796 37797 37798 if test "x$ac_cv_func_mkdir" = xyes; then : 37799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to use mkdir" >&5 37800$as_echo_n "checking how to use mkdir... " >&6; } 37801 37802 SAVE_CFLAGS="$CFLAGS" 37803 CFLAGS="$CFLAGS -Wall -Werror" 37804 ac_ext=c 37805ac_cpp='$CPP $CPPFLAGS' 37806ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 37807ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 37808ac_compiler_gnu=$ac_cv_c_compiler_gnu 37809 37810 37811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37812/* end confdefs.h. */ 37813#include <sys/stat.h> 37814#include <sys/types.h> 37815int 37816main () 37817{ 37818mkdir( "", 0 ) 37819 ; 37820 return 0; 37821} 37822_ACEOF 37823if ac_fn_c_try_link "$LINENO"; then : 37824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: with additional mode argument" >&5 37825$as_echo "with additional mode argument" >&6; } 37826 ac_cv_cv_mkdir_mode=yes 37827else 37828 ac_cv_cv_mkdir_mode=no 37829fi 37830rm -f core conftest.err conftest.$ac_objext \ 37831 conftest$ac_exeext conftest.$ac_ext 37832 37833 if test "x$ac_cv_cv_mkdir_mode" = xno; then : 37834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 37835/* end confdefs.h. */ 37836#include <io.h> 37837int 37838main () 37839{ 37840mkdir( "" ) 37841 ; 37842 return 0; 37843} 37844_ACEOF 37845if ac_fn_c_try_link "$LINENO"; then : 37846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: with single argument" >&5 37847$as_echo "with single argument" >&6; } 37848 ac_cv_cv_mkdir=yes 37849else 37850 ac_cv_cv_mkdir=no 37851fi 37852rm -f core conftest.err conftest.$ac_objext \ 37853 conftest$ac_exeext conftest.$ac_ext 37854 37855fi 37856 37857 ac_ext=c 37858ac_cpp='$CPP $CPPFLAGS' 37859ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 37860ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 37861ac_compiler_gnu=$ac_cv_c_compiler_gnu 37862 37863 CFLAGS="$SAVE_CFLAGS" 37864 37865 if test "x$ac_cv_cv_mkdir_mode" = xno && test "x$ac_cv_cv_mkdir" = xno; then : 37866 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unknown" >&5 37867$as_echo "$as_me: WARNING: unknown" >&2;} 37868 ac_cv_func_mkdir=no 37869fi 37870 37871 if test "x$ac_cv_func_mkdir" = xyes; then : 37872 37873$as_echo "#define HAVE_MKDIR 1" >>confdefs.h 37874 37875 37876fi 37877 37878 if test "x$ac_cv_cv_mkdir_mode" = xyes; then : 37879 37880$as_echo "#define HAVE_MKDIR_MODE 1" >>confdefs.h 37881 37882 37883fi 37884 37885fi 37886 37887 if test "x$ac_cv_func_mkdir" = xno; then : 37888 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 37889$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 37890as_fn_error 1 "Missing function: mkdir 37891See \`config.log' for more details" "$LINENO" 5; } 37892 37893fi 37894 37895 37896 ac_cv_libcpath_CPPFLAGS="-I../libcpath"; 37897 ac_cv_libcpath_LIBADD="../libcpath/libcpath.la"; 37898 37899 ac_cv_libcpath=local 37900 37901 37902 37903$as_echo "#define HAVE_LOCAL_LIBCPATH 1" >>confdefs.h 37904 37905 HAVE_LOCAL_LIBCPATH=1 37906 37907 37908fi 37909 37910 if test "x$ac_cv_libcpath" = xlocal; then 37911 HAVE_LOCAL_LIBCPATH_TRUE= 37912 HAVE_LOCAL_LIBCPATH_FALSE='#' 37913else 37914 HAVE_LOCAL_LIBCPATH_TRUE='#' 37915 HAVE_LOCAL_LIBCPATH_FALSE= 37916fi 37917 37918 if test "x$ac_cv_libcpath_CPPFLAGS" != "x"; then : 37919 LIBCPATH_CPPFLAGS=$ac_cv_libcpath_CPPFLAGS 37920 37921 37922fi 37923 if test "x$ac_cv_libcpath_LIBADD" != "x"; then : 37924 LIBCPATH_LIBADD=$ac_cv_libcpath_LIBADD 37925 37926 37927fi 37928 37929 if test "x$ac_cv_libcpath" = xyes; then : 37930 ax_libcpath_pc_libs_private=-lcpath 37931 37932 37933fi 37934 37935 if test "x$ac_cv_libcpath" = xyes; then : 37936 ax_libcpath_spec_requires=libcpath 37937 37938 ax_libcpath_spec_build_requires=libcpath-devel 37939 37940 37941fi 37942 37943 37944 37945 37946# Check whether --with-libbfio was given. 37947if test "${with_libbfio+set}" = set; then : 37948 withval=$with_libbfio; ac_cv_with_libbfio=$withval 37949else 37950 ac_cv_with_libbfio=auto-detect 37951fi 37952 37953 { $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 37954$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; } 37955if ${ac_cv_with_libbfio+:} false; then : 37956 $as_echo_n "(cached) " >&6 37957else 37958 ac_cv_with_libbfio=auto-detect 37959fi 37960{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libbfio" >&5 37961$as_echo "$ac_cv_with_libbfio" >&6; } 37962 37963 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libbfio" = xno; then : 37964 ac_cv_libbfio=no 37965else 37966 ac_cv_libbfio=check 37967 if test "x$ac_cv_with_libbfio" != x && test "x$ac_cv_with_libbfio" != xauto-detect; then : 37968 if test -d "$ac_cv_with_libbfio"; then : 37969 CFLAGS="$CFLAGS -I${ac_cv_with_libbfio}/include" 37970 LDFLAGS="$LDFLAGS -L${ac_cv_with_libbfio}/lib" 37971else 37972 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 37973$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 37974as_fn_error 1 "no such directory: $ac_cv_with_libbfio 37975See \`config.log' for more details" "$LINENO" 5; } 37976 37977fi 37978 37979else 37980 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 37981 37982pkg_failed=no 37983{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio" >&5 37984$as_echo_n "checking for libbfio... " >&6; } 37985 37986if test -n "$libbfio_CFLAGS"; then 37987 pkg_cv_libbfio_CFLAGS="$libbfio_CFLAGS" 37988 elif test -n "$PKG_CONFIG"; then 37989 if test -n "$PKG_CONFIG" && \ 37990 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libbfio >= 20201125\""; } >&5 37991 ($PKG_CONFIG --exists --print-errors "libbfio >= 20201125") 2>&5 37992 ac_status=$? 37993 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 37994 test $ac_status = 0; }; then 37995 pkg_cv_libbfio_CFLAGS=`$PKG_CONFIG --cflags "libbfio >= 20201125" 2>/dev/null` 37996 test "x$?" != "x0" && pkg_failed=yes 37997else 37998 pkg_failed=yes 37999fi 38000 else 38001 pkg_failed=untried 38002fi 38003if test -n "$libbfio_LIBS"; then 38004 pkg_cv_libbfio_LIBS="$libbfio_LIBS" 38005 elif test -n "$PKG_CONFIG"; then 38006 if test -n "$PKG_CONFIG" && \ 38007 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libbfio >= 20201125\""; } >&5 38008 ($PKG_CONFIG --exists --print-errors "libbfio >= 20201125") 2>&5 38009 ac_status=$? 38010 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 38011 test $ac_status = 0; }; then 38012 pkg_cv_libbfio_LIBS=`$PKG_CONFIG --libs "libbfio >= 20201125" 2>/dev/null` 38013 test "x$?" != "x0" && pkg_failed=yes 38014else 38015 pkg_failed=yes 38016fi 38017 else 38018 pkg_failed=untried 38019fi 38020 38021 38022 38023if test $pkg_failed = yes; then 38024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 38025$as_echo "no" >&6; } 38026 38027if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 38028 _pkg_short_errors_supported=yes 38029else 38030 _pkg_short_errors_supported=no 38031fi 38032 if test $_pkg_short_errors_supported = yes; then 38033 libbfio_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libbfio >= 20201125" 2>&1` 38034 else 38035 libbfio_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libbfio >= 20201125" 2>&1` 38036 fi 38037 # Put the nasty error message in config.log where it belongs 38038 echo "$libbfio_PKG_ERRORS" >&5 38039 38040 ac_cv_libbfio=check 38041elif test $pkg_failed = untried; then 38042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 38043$as_echo "no" >&6; } 38044 ac_cv_libbfio=check 38045else 38046 libbfio_CFLAGS=$pkg_cv_libbfio_CFLAGS 38047 libbfio_LIBS=$pkg_cv_libbfio_LIBS 38048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 38049$as_echo "yes" >&6; } 38050 ac_cv_libbfio=yes 38051fi 38052 38053fi 38054 if test "x$ac_cv_libbfio" = xyes && test "x$ac_cv_enable_wide_character_type" != xno; then : 38055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libbfio/features.h defines LIBBFIO_HAVE_WIDE_CHARACTER_TYPE as 1" >&5 38056$as_echo_n "checking whether libbfio/features.h defines LIBBFIO_HAVE_WIDE_CHARACTER_TYPE as 1... " >&6; } 38057if ${ac_cv_header_libbfio_features_h_have_wide_character_type+:} false; then : 38058 $as_echo_n "(cached) " >&6 38059else 38060 ac_ext=c 38061ac_cpp='$CPP $CPPFLAGS' 38062ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 38063ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 38064ac_compiler_gnu=$ac_cv_c_compiler_gnu 38065 38066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38067/* end confdefs.h. */ 38068#include <libbfio/features.h> 38069int 38070main () 38071{ 38072#if !defined( LIBBFIO_HAVE_WIDE_CHARACTER_TYPE ) || ( LIBBFIO_HAVE_WIDE_CHARACTER_TYPE != 1 ) 38073#error LIBBFIO_HAVE_WIDE_CHARACTER_TYPE not defined 38074#endif 38075 ; 38076 return 0; 38077} 38078_ACEOF 38079if ac_fn_c_try_compile "$LINENO"; then : 38080 ac_cv_header_libbfio_features_h_have_wide_character_type=yes 38081else 38082 ac_cv_header_libbfio_features_h_have_wide_character_type=no 38083fi 38084rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 38085 ac_ext=c 38086ac_cpp='$CPP $CPPFLAGS' 38087ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 38088ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 38089ac_compiler_gnu=$ac_cv_c_compiler_gnu 38090 38091fi 38092{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_libbfio_features_h_have_wide_character_type" >&5 38093$as_echo "$ac_cv_header_libbfio_features_h_have_wide_character_type" >&6; } 38094 38095 if test "x$ac_cv_header_libbfio_features_h_have_wide_character_type" = xno; then : 38096 ac_cv_libbfio=no 38097fi 38098 38099fi 38100 if test "x$ac_cv_libbfio" = xyes; then : 38101 ac_cv_libbfio_CPPFLAGS="$pkg_cv_libbfio_CFLAGS" 38102 ac_cv_libbfio_LIBADD="$pkg_cv_libbfio_LIBS" 38103fi 38104 38105fi 38106 38107 if test "x$ac_cv_libbfio" = xcheck; then : 38108 for ac_header in libbfio.h 38109do : 38110 ac_fn_c_check_header_mongrel "$LINENO" "libbfio.h" "ac_cv_header_libbfio_h" "$ac_includes_default" 38111if test "x$ac_cv_header_libbfio_h" = xyes; then : 38112 cat >>confdefs.h <<_ACEOF 38113#define HAVE_LIBBFIO_H 1 38114_ACEOF 38115 38116fi 38117 38118done 38119 38120 38121 if test "x$ac_cv_header_libbfio_h" = xno; then : 38122 ac_cv_libbfio=no 38123else 38124 ac_cv_libbfio=yes 38125 38126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_get_version in -lbfio" >&5 38127$as_echo_n "checking for libbfio_get_version in -lbfio... " >&6; } 38128if ${ac_cv_lib_bfio_libbfio_get_version+:} false; then : 38129 $as_echo_n "(cached) " >&6 38130else 38131 ac_check_lib_save_LIBS=$LIBS 38132LIBS="-lbfio $LIBS" 38133cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38134/* end confdefs.h. */ 38135 38136/* Override any GCC internal prototype to avoid an error. 38137 Use char because int might match the return type of a GCC 38138 builtin and then its argument prototype would still apply. */ 38139#ifdef __cplusplus 38140extern "C" 38141#endif 38142char libbfio_get_version (); 38143int 38144main () 38145{ 38146return libbfio_get_version (); 38147 ; 38148 return 0; 38149} 38150_ACEOF 38151if ac_fn_c_try_link "$LINENO"; then : 38152 ac_cv_lib_bfio_libbfio_get_version=yes 38153else 38154 ac_cv_lib_bfio_libbfio_get_version=no 38155fi 38156rm -f core conftest.err conftest.$ac_objext \ 38157 conftest$ac_exeext conftest.$ac_ext 38158LIBS=$ac_check_lib_save_LIBS 38159fi 38160{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_get_version" >&5 38161$as_echo "$ac_cv_lib_bfio_libbfio_get_version" >&6; } 38162if test "x$ac_cv_lib_bfio_libbfio_get_version" = xyes; then : 38163 ac_cv_libbfio_dummy=yes 38164else 38165 ac_cv_libbfio=no 38166fi 38167 38168 38169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_free in -lbfio" >&5 38170$as_echo_n "checking for libbfio_handle_free in -lbfio... " >&6; } 38171if ${ac_cv_lib_bfio_libbfio_handle_free+:} false; then : 38172 $as_echo_n "(cached) " >&6 38173else 38174 ac_check_lib_save_LIBS=$LIBS 38175LIBS="-lbfio $LIBS" 38176cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38177/* end confdefs.h. */ 38178 38179/* Override any GCC internal prototype to avoid an error. 38180 Use char because int might match the return type of a GCC 38181 builtin and then its argument prototype would still apply. */ 38182#ifdef __cplusplus 38183extern "C" 38184#endif 38185char libbfio_handle_free (); 38186int 38187main () 38188{ 38189return libbfio_handle_free (); 38190 ; 38191 return 0; 38192} 38193_ACEOF 38194if ac_fn_c_try_link "$LINENO"; then : 38195 ac_cv_lib_bfio_libbfio_handle_free=yes 38196else 38197 ac_cv_lib_bfio_libbfio_handle_free=no 38198fi 38199rm -f core conftest.err conftest.$ac_objext \ 38200 conftest$ac_exeext conftest.$ac_ext 38201LIBS=$ac_check_lib_save_LIBS 38202fi 38203{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_free" >&5 38204$as_echo "$ac_cv_lib_bfio_libbfio_handle_free" >&6; } 38205if test "x$ac_cv_lib_bfio_libbfio_handle_free" = xyes; then : 38206 ac_cv_libbfio_dummy=yes 38207else 38208 ac_cv_libbfio=no 38209fi 38210 38211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_open in -lbfio" >&5 38212$as_echo_n "checking for libbfio_handle_open in -lbfio... " >&6; } 38213if ${ac_cv_lib_bfio_libbfio_handle_open+:} false; then : 38214 $as_echo_n "(cached) " >&6 38215else 38216 ac_check_lib_save_LIBS=$LIBS 38217LIBS="-lbfio $LIBS" 38218cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38219/* end confdefs.h. */ 38220 38221/* Override any GCC internal prototype to avoid an error. 38222 Use char because int might match the return type of a GCC 38223 builtin and then its argument prototype would still apply. */ 38224#ifdef __cplusplus 38225extern "C" 38226#endif 38227char libbfio_handle_open (); 38228int 38229main () 38230{ 38231return libbfio_handle_open (); 38232 ; 38233 return 0; 38234} 38235_ACEOF 38236if ac_fn_c_try_link "$LINENO"; then : 38237 ac_cv_lib_bfio_libbfio_handle_open=yes 38238else 38239 ac_cv_lib_bfio_libbfio_handle_open=no 38240fi 38241rm -f core conftest.err conftest.$ac_objext \ 38242 conftest$ac_exeext conftest.$ac_ext 38243LIBS=$ac_check_lib_save_LIBS 38244fi 38245{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_open" >&5 38246$as_echo "$ac_cv_lib_bfio_libbfio_handle_open" >&6; } 38247if test "x$ac_cv_lib_bfio_libbfio_handle_open" = xyes; then : 38248 ac_cv_libbfio_dummy=yes 38249else 38250 ac_cv_libbfio=no 38251fi 38252 38253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_close in -lbfio" >&5 38254$as_echo_n "checking for libbfio_handle_close in -lbfio... " >&6; } 38255if ${ac_cv_lib_bfio_libbfio_handle_close+:} false; then : 38256 $as_echo_n "(cached) " >&6 38257else 38258 ac_check_lib_save_LIBS=$LIBS 38259LIBS="-lbfio $LIBS" 38260cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38261/* end confdefs.h. */ 38262 38263/* Override any GCC internal prototype to avoid an error. 38264 Use char because int might match the return type of a GCC 38265 builtin and then its argument prototype would still apply. */ 38266#ifdef __cplusplus 38267extern "C" 38268#endif 38269char libbfio_handle_close (); 38270int 38271main () 38272{ 38273return libbfio_handle_close (); 38274 ; 38275 return 0; 38276} 38277_ACEOF 38278if ac_fn_c_try_link "$LINENO"; then : 38279 ac_cv_lib_bfio_libbfio_handle_close=yes 38280else 38281 ac_cv_lib_bfio_libbfio_handle_close=no 38282fi 38283rm -f core conftest.err conftest.$ac_objext \ 38284 conftest$ac_exeext conftest.$ac_ext 38285LIBS=$ac_check_lib_save_LIBS 38286fi 38287{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_close" >&5 38288$as_echo "$ac_cv_lib_bfio_libbfio_handle_close" >&6; } 38289if test "x$ac_cv_lib_bfio_libbfio_handle_close" = xyes; then : 38290 ac_cv_libbfio_dummy=yes 38291else 38292 ac_cv_libbfio=no 38293fi 38294 38295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_exists in -lbfio" >&5 38296$as_echo_n "checking for libbfio_handle_exists in -lbfio... " >&6; } 38297if ${ac_cv_lib_bfio_libbfio_handle_exists+:} false; then : 38298 $as_echo_n "(cached) " >&6 38299else 38300 ac_check_lib_save_LIBS=$LIBS 38301LIBS="-lbfio $LIBS" 38302cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38303/* end confdefs.h. */ 38304 38305/* Override any GCC internal prototype to avoid an error. 38306 Use char because int might match the return type of a GCC 38307 builtin and then its argument prototype would still apply. */ 38308#ifdef __cplusplus 38309extern "C" 38310#endif 38311char libbfio_handle_exists (); 38312int 38313main () 38314{ 38315return libbfio_handle_exists (); 38316 ; 38317 return 0; 38318} 38319_ACEOF 38320if ac_fn_c_try_link "$LINENO"; then : 38321 ac_cv_lib_bfio_libbfio_handle_exists=yes 38322else 38323 ac_cv_lib_bfio_libbfio_handle_exists=no 38324fi 38325rm -f core conftest.err conftest.$ac_objext \ 38326 conftest$ac_exeext conftest.$ac_ext 38327LIBS=$ac_check_lib_save_LIBS 38328fi 38329{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_exists" >&5 38330$as_echo "$ac_cv_lib_bfio_libbfio_handle_exists" >&6; } 38331if test "x$ac_cv_lib_bfio_libbfio_handle_exists" = xyes; then : 38332 ac_cv_libbfio_dummy=yes 38333else 38334 ac_cv_libbfio=no 38335fi 38336 38337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_read_buffer in -lbfio" >&5 38338$as_echo_n "checking for libbfio_handle_read_buffer in -lbfio... " >&6; } 38339if ${ac_cv_lib_bfio_libbfio_handle_read_buffer+:} false; then : 38340 $as_echo_n "(cached) " >&6 38341else 38342 ac_check_lib_save_LIBS=$LIBS 38343LIBS="-lbfio $LIBS" 38344cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38345/* end confdefs.h. */ 38346 38347/* Override any GCC internal prototype to avoid an error. 38348 Use char because int might match the return type of a GCC 38349 builtin and then its argument prototype would still apply. */ 38350#ifdef __cplusplus 38351extern "C" 38352#endif 38353char libbfio_handle_read_buffer (); 38354int 38355main () 38356{ 38357return libbfio_handle_read_buffer (); 38358 ; 38359 return 0; 38360} 38361_ACEOF 38362if ac_fn_c_try_link "$LINENO"; then : 38363 ac_cv_lib_bfio_libbfio_handle_read_buffer=yes 38364else 38365 ac_cv_lib_bfio_libbfio_handle_read_buffer=no 38366fi 38367rm -f core conftest.err conftest.$ac_objext \ 38368 conftest$ac_exeext conftest.$ac_ext 38369LIBS=$ac_check_lib_save_LIBS 38370fi 38371{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_read_buffer" >&5 38372$as_echo "$ac_cv_lib_bfio_libbfio_handle_read_buffer" >&6; } 38373if test "x$ac_cv_lib_bfio_libbfio_handle_read_buffer" = xyes; then : 38374 ac_cv_libbfio_dummy=yes 38375else 38376 ac_cv_libbfio=no 38377fi 38378 38379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_read_buffer_at_offset in -lbfio" >&5 38380$as_echo_n "checking for libbfio_handle_read_buffer_at_offset in -lbfio... " >&6; } 38381if ${ac_cv_lib_bfio_libbfio_handle_read_buffer_at_offset+:} false; then : 38382 $as_echo_n "(cached) " >&6 38383else 38384 ac_check_lib_save_LIBS=$LIBS 38385LIBS="-lbfio $LIBS" 38386cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38387/* end confdefs.h. */ 38388 38389/* Override any GCC internal prototype to avoid an error. 38390 Use char because int might match the return type of a GCC 38391 builtin and then its argument prototype would still apply. */ 38392#ifdef __cplusplus 38393extern "C" 38394#endif 38395char libbfio_handle_read_buffer_at_offset (); 38396int 38397main () 38398{ 38399return libbfio_handle_read_buffer_at_offset (); 38400 ; 38401 return 0; 38402} 38403_ACEOF 38404if ac_fn_c_try_link "$LINENO"; then : 38405 ac_cv_lib_bfio_libbfio_handle_read_buffer_at_offset=yes 38406else 38407 ac_cv_lib_bfio_libbfio_handle_read_buffer_at_offset=no 38408fi 38409rm -f core conftest.err conftest.$ac_objext \ 38410 conftest$ac_exeext conftest.$ac_ext 38411LIBS=$ac_check_lib_save_LIBS 38412fi 38413{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_read_buffer_at_offset" >&5 38414$as_echo "$ac_cv_lib_bfio_libbfio_handle_read_buffer_at_offset" >&6; } 38415if test "x$ac_cv_lib_bfio_libbfio_handle_read_buffer_at_offset" = xyes; then : 38416 ac_cv_libbfio_dummy=yes 38417else 38418 ac_cv_libbfio=no 38419fi 38420 38421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_write_buffer in -lbfio" >&5 38422$as_echo_n "checking for libbfio_handle_write_buffer in -lbfio... " >&6; } 38423if ${ac_cv_lib_bfio_libbfio_handle_write_buffer+:} false; then : 38424 $as_echo_n "(cached) " >&6 38425else 38426 ac_check_lib_save_LIBS=$LIBS 38427LIBS="-lbfio $LIBS" 38428cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38429/* end confdefs.h. */ 38430 38431/* Override any GCC internal prototype to avoid an error. 38432 Use char because int might match the return type of a GCC 38433 builtin and then its argument prototype would still apply. */ 38434#ifdef __cplusplus 38435extern "C" 38436#endif 38437char libbfio_handle_write_buffer (); 38438int 38439main () 38440{ 38441return libbfio_handle_write_buffer (); 38442 ; 38443 return 0; 38444} 38445_ACEOF 38446if ac_fn_c_try_link "$LINENO"; then : 38447 ac_cv_lib_bfio_libbfio_handle_write_buffer=yes 38448else 38449 ac_cv_lib_bfio_libbfio_handle_write_buffer=no 38450fi 38451rm -f core conftest.err conftest.$ac_objext \ 38452 conftest$ac_exeext conftest.$ac_ext 38453LIBS=$ac_check_lib_save_LIBS 38454fi 38455{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_write_buffer" >&5 38456$as_echo "$ac_cv_lib_bfio_libbfio_handle_write_buffer" >&6; } 38457if test "x$ac_cv_lib_bfio_libbfio_handle_write_buffer" = xyes; then : 38458 ac_cv_libbfio_dummy=yes 38459else 38460 ac_cv_libbfio=no 38461fi 38462 38463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_write_buffer_at_offset in -lbfio" >&5 38464$as_echo_n "checking for libbfio_handle_write_buffer_at_offset in -lbfio... " >&6; } 38465if ${ac_cv_lib_bfio_libbfio_handle_write_buffer_at_offset+:} false; then : 38466 $as_echo_n "(cached) " >&6 38467else 38468 ac_check_lib_save_LIBS=$LIBS 38469LIBS="-lbfio $LIBS" 38470cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38471/* end confdefs.h. */ 38472 38473/* Override any GCC internal prototype to avoid an error. 38474 Use char because int might match the return type of a GCC 38475 builtin and then its argument prototype would still apply. */ 38476#ifdef __cplusplus 38477extern "C" 38478#endif 38479char libbfio_handle_write_buffer_at_offset (); 38480int 38481main () 38482{ 38483return libbfio_handle_write_buffer_at_offset (); 38484 ; 38485 return 0; 38486} 38487_ACEOF 38488if ac_fn_c_try_link "$LINENO"; then : 38489 ac_cv_lib_bfio_libbfio_handle_write_buffer_at_offset=yes 38490else 38491 ac_cv_lib_bfio_libbfio_handle_write_buffer_at_offset=no 38492fi 38493rm -f core conftest.err conftest.$ac_objext \ 38494 conftest$ac_exeext conftest.$ac_ext 38495LIBS=$ac_check_lib_save_LIBS 38496fi 38497{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_write_buffer_at_offset" >&5 38498$as_echo "$ac_cv_lib_bfio_libbfio_handle_write_buffer_at_offset" >&6; } 38499if test "x$ac_cv_lib_bfio_libbfio_handle_write_buffer_at_offset" = xyes; then : 38500 ac_cv_libbfio_dummy=yes 38501else 38502 ac_cv_libbfio=no 38503fi 38504 38505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_seek_offset in -lbfio" >&5 38506$as_echo_n "checking for libbfio_handle_seek_offset in -lbfio... " >&6; } 38507if ${ac_cv_lib_bfio_libbfio_handle_seek_offset+:} false; then : 38508 $as_echo_n "(cached) " >&6 38509else 38510 ac_check_lib_save_LIBS=$LIBS 38511LIBS="-lbfio $LIBS" 38512cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38513/* end confdefs.h. */ 38514 38515/* Override any GCC internal prototype to avoid an error. 38516 Use char because int might match the return type of a GCC 38517 builtin and then its argument prototype would still apply. */ 38518#ifdef __cplusplus 38519extern "C" 38520#endif 38521char libbfio_handle_seek_offset (); 38522int 38523main () 38524{ 38525return libbfio_handle_seek_offset (); 38526 ; 38527 return 0; 38528} 38529_ACEOF 38530if ac_fn_c_try_link "$LINENO"; then : 38531 ac_cv_lib_bfio_libbfio_handle_seek_offset=yes 38532else 38533 ac_cv_lib_bfio_libbfio_handle_seek_offset=no 38534fi 38535rm -f core conftest.err conftest.$ac_objext \ 38536 conftest$ac_exeext conftest.$ac_ext 38537LIBS=$ac_check_lib_save_LIBS 38538fi 38539{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_seek_offset" >&5 38540$as_echo "$ac_cv_lib_bfio_libbfio_handle_seek_offset" >&6; } 38541if test "x$ac_cv_lib_bfio_libbfio_handle_seek_offset" = xyes; then : 38542 ac_cv_libbfio_dummy=yes 38543else 38544 ac_cv_libbfio=no 38545fi 38546 38547 38548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_is_open in -lbfio" >&5 38549$as_echo_n "checking for libbfio_handle_is_open in -lbfio... " >&6; } 38550if ${ac_cv_lib_bfio_libbfio_handle_is_open+:} false; then : 38551 $as_echo_n "(cached) " >&6 38552else 38553 ac_check_lib_save_LIBS=$LIBS 38554LIBS="-lbfio $LIBS" 38555cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38556/* end confdefs.h. */ 38557 38558/* Override any GCC internal prototype to avoid an error. 38559 Use char because int might match the return type of a GCC 38560 builtin and then its argument prototype would still apply. */ 38561#ifdef __cplusplus 38562extern "C" 38563#endif 38564char libbfio_handle_is_open (); 38565int 38566main () 38567{ 38568return libbfio_handle_is_open (); 38569 ; 38570 return 0; 38571} 38572_ACEOF 38573if ac_fn_c_try_link "$LINENO"; then : 38574 ac_cv_lib_bfio_libbfio_handle_is_open=yes 38575else 38576 ac_cv_lib_bfio_libbfio_handle_is_open=no 38577fi 38578rm -f core conftest.err conftest.$ac_objext \ 38579 conftest$ac_exeext conftest.$ac_ext 38580LIBS=$ac_check_lib_save_LIBS 38581fi 38582{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_is_open" >&5 38583$as_echo "$ac_cv_lib_bfio_libbfio_handle_is_open" >&6; } 38584if test "x$ac_cv_lib_bfio_libbfio_handle_is_open" = xyes; then : 38585 ac_cv_libbfio_dummy=yes 38586else 38587 ac_cv_libbfio=no 38588fi 38589 38590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_get_offset in -lbfio" >&5 38591$as_echo_n "checking for libbfio_handle_get_offset in -lbfio... " >&6; } 38592if ${ac_cv_lib_bfio_libbfio_handle_get_offset+:} false; then : 38593 $as_echo_n "(cached) " >&6 38594else 38595 ac_check_lib_save_LIBS=$LIBS 38596LIBS="-lbfio $LIBS" 38597cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38598/* end confdefs.h. */ 38599 38600/* Override any GCC internal prototype to avoid an error. 38601 Use char because int might match the return type of a GCC 38602 builtin and then its argument prototype would still apply. */ 38603#ifdef __cplusplus 38604extern "C" 38605#endif 38606char libbfio_handle_get_offset (); 38607int 38608main () 38609{ 38610return libbfio_handle_get_offset (); 38611 ; 38612 return 0; 38613} 38614_ACEOF 38615if ac_fn_c_try_link "$LINENO"; then : 38616 ac_cv_lib_bfio_libbfio_handle_get_offset=yes 38617else 38618 ac_cv_lib_bfio_libbfio_handle_get_offset=no 38619fi 38620rm -f core conftest.err conftest.$ac_objext \ 38621 conftest$ac_exeext conftest.$ac_ext 38622LIBS=$ac_check_lib_save_LIBS 38623fi 38624{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_get_offset" >&5 38625$as_echo "$ac_cv_lib_bfio_libbfio_handle_get_offset" >&6; } 38626if test "x$ac_cv_lib_bfio_libbfio_handle_get_offset" = xyes; then : 38627 ac_cv_libbfio_dummy=yes 38628else 38629 ac_cv_libbfio=no 38630fi 38631 38632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_get_size in -lbfio" >&5 38633$as_echo_n "checking for libbfio_handle_get_size in -lbfio... " >&6; } 38634if ${ac_cv_lib_bfio_libbfio_handle_get_size+:} false; then : 38635 $as_echo_n "(cached) " >&6 38636else 38637 ac_check_lib_save_LIBS=$LIBS 38638LIBS="-lbfio $LIBS" 38639cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38640/* end confdefs.h. */ 38641 38642/* Override any GCC internal prototype to avoid an error. 38643 Use char because int might match the return type of a GCC 38644 builtin and then its argument prototype would still apply. */ 38645#ifdef __cplusplus 38646extern "C" 38647#endif 38648char libbfio_handle_get_size (); 38649int 38650main () 38651{ 38652return libbfio_handle_get_size (); 38653 ; 38654 return 0; 38655} 38656_ACEOF 38657if ac_fn_c_try_link "$LINENO"; then : 38658 ac_cv_lib_bfio_libbfio_handle_get_size=yes 38659else 38660 ac_cv_lib_bfio_libbfio_handle_get_size=no 38661fi 38662rm -f core conftest.err conftest.$ac_objext \ 38663 conftest$ac_exeext conftest.$ac_ext 38664LIBS=$ac_check_lib_save_LIBS 38665fi 38666{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_get_size" >&5 38667$as_echo "$ac_cv_lib_bfio_libbfio_handle_get_size" >&6; } 38668if test "x$ac_cv_lib_bfio_libbfio_handle_get_size" = xyes; then : 38669 ac_cv_libbfio_dummy=yes 38670else 38671 ac_cv_libbfio=no 38672fi 38673 38674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_set_track_offsets_read in -lbfio" >&5 38675$as_echo_n "checking for libbfio_handle_set_track_offsets_read in -lbfio... " >&6; } 38676if ${ac_cv_lib_bfio_libbfio_handle_set_track_offsets_read+:} false; then : 38677 $as_echo_n "(cached) " >&6 38678else 38679 ac_check_lib_save_LIBS=$LIBS 38680LIBS="-lbfio $LIBS" 38681cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38682/* end confdefs.h. */ 38683 38684/* Override any GCC internal prototype to avoid an error. 38685 Use char because int might match the return type of a GCC 38686 builtin and then its argument prototype would still apply. */ 38687#ifdef __cplusplus 38688extern "C" 38689#endif 38690char libbfio_handle_set_track_offsets_read (); 38691int 38692main () 38693{ 38694return libbfio_handle_set_track_offsets_read (); 38695 ; 38696 return 0; 38697} 38698_ACEOF 38699if ac_fn_c_try_link "$LINENO"; then : 38700 ac_cv_lib_bfio_libbfio_handle_set_track_offsets_read=yes 38701else 38702 ac_cv_lib_bfio_libbfio_handle_set_track_offsets_read=no 38703fi 38704rm -f core conftest.err conftest.$ac_objext \ 38705 conftest$ac_exeext conftest.$ac_ext 38706LIBS=$ac_check_lib_save_LIBS 38707fi 38708{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_set_track_offsets_read" >&5 38709$as_echo "$ac_cv_lib_bfio_libbfio_handle_set_track_offsets_read" >&6; } 38710if test "x$ac_cv_lib_bfio_libbfio_handle_set_track_offsets_read" = xyes; then : 38711 ac_cv_libbfio_dummy=yes 38712else 38713 ac_cv_libbfio=no 38714fi 38715 38716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_get_number_of_offsets_read in -lbfio" >&5 38717$as_echo_n "checking for libbfio_handle_get_number_of_offsets_read in -lbfio... " >&6; } 38718if ${ac_cv_lib_bfio_libbfio_handle_get_number_of_offsets_read+:} false; then : 38719 $as_echo_n "(cached) " >&6 38720else 38721 ac_check_lib_save_LIBS=$LIBS 38722LIBS="-lbfio $LIBS" 38723cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38724/* end confdefs.h. */ 38725 38726/* Override any GCC internal prototype to avoid an error. 38727 Use char because int might match the return type of a GCC 38728 builtin and then its argument prototype would still apply. */ 38729#ifdef __cplusplus 38730extern "C" 38731#endif 38732char libbfio_handle_get_number_of_offsets_read (); 38733int 38734main () 38735{ 38736return libbfio_handle_get_number_of_offsets_read (); 38737 ; 38738 return 0; 38739} 38740_ACEOF 38741if ac_fn_c_try_link "$LINENO"; then : 38742 ac_cv_lib_bfio_libbfio_handle_get_number_of_offsets_read=yes 38743else 38744 ac_cv_lib_bfio_libbfio_handle_get_number_of_offsets_read=no 38745fi 38746rm -f core conftest.err conftest.$ac_objext \ 38747 conftest$ac_exeext conftest.$ac_ext 38748LIBS=$ac_check_lib_save_LIBS 38749fi 38750{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_get_number_of_offsets_read" >&5 38751$as_echo "$ac_cv_lib_bfio_libbfio_handle_get_number_of_offsets_read" >&6; } 38752if test "x$ac_cv_lib_bfio_libbfio_handle_get_number_of_offsets_read" = xyes; then : 38753 ac_cv_libbfio_dummy=yes 38754else 38755 ac_cv_libbfio=no 38756fi 38757 38758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_handle_get_offset_read in -lbfio" >&5 38759$as_echo_n "checking for libbfio_handle_get_offset_read in -lbfio... " >&6; } 38760if ${ac_cv_lib_bfio_libbfio_handle_get_offset_read+:} false; then : 38761 $as_echo_n "(cached) " >&6 38762else 38763 ac_check_lib_save_LIBS=$LIBS 38764LIBS="-lbfio $LIBS" 38765cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38766/* end confdefs.h. */ 38767 38768/* Override any GCC internal prototype to avoid an error. 38769 Use char because int might match the return type of a GCC 38770 builtin and then its argument prototype would still apply. */ 38771#ifdef __cplusplus 38772extern "C" 38773#endif 38774char libbfio_handle_get_offset_read (); 38775int 38776main () 38777{ 38778return libbfio_handle_get_offset_read (); 38779 ; 38780 return 0; 38781} 38782_ACEOF 38783if ac_fn_c_try_link "$LINENO"; then : 38784 ac_cv_lib_bfio_libbfio_handle_get_offset_read=yes 38785else 38786 ac_cv_lib_bfio_libbfio_handle_get_offset_read=no 38787fi 38788rm -f core conftest.err conftest.$ac_objext \ 38789 conftest$ac_exeext conftest.$ac_ext 38790LIBS=$ac_check_lib_save_LIBS 38791fi 38792{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_handle_get_offset_read" >&5 38793$as_echo "$ac_cv_lib_bfio_libbfio_handle_get_offset_read" >&6; } 38794if test "x$ac_cv_lib_bfio_libbfio_handle_get_offset_read" = xyes; then : 38795 ac_cv_libbfio_dummy=yes 38796else 38797 ac_cv_libbfio=no 38798fi 38799 38800 38801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_initialize in -lbfio" >&5 38802$as_echo_n "checking for libbfio_file_initialize in -lbfio... " >&6; } 38803if ${ac_cv_lib_bfio_libbfio_file_initialize+:} false; then : 38804 $as_echo_n "(cached) " >&6 38805else 38806 ac_check_lib_save_LIBS=$LIBS 38807LIBS="-lbfio $LIBS" 38808cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38809/* end confdefs.h. */ 38810 38811/* Override any GCC internal prototype to avoid an error. 38812 Use char because int might match the return type of a GCC 38813 builtin and then its argument prototype would still apply. */ 38814#ifdef __cplusplus 38815extern "C" 38816#endif 38817char libbfio_file_initialize (); 38818int 38819main () 38820{ 38821return libbfio_file_initialize (); 38822 ; 38823 return 0; 38824} 38825_ACEOF 38826if ac_fn_c_try_link "$LINENO"; then : 38827 ac_cv_lib_bfio_libbfio_file_initialize=yes 38828else 38829 ac_cv_lib_bfio_libbfio_file_initialize=no 38830fi 38831rm -f core conftest.err conftest.$ac_objext \ 38832 conftest$ac_exeext conftest.$ac_ext 38833LIBS=$ac_check_lib_save_LIBS 38834fi 38835{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_initialize" >&5 38836$as_echo "$ac_cv_lib_bfio_libbfio_file_initialize" >&6; } 38837if test "x$ac_cv_lib_bfio_libbfio_file_initialize" = xyes; then : 38838 ac_cv_libbfio_dummy=yes 38839else 38840 ac_cv_libbfio=no 38841fi 38842 38843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_get_name_size in -lbfio" >&5 38844$as_echo_n "checking for libbfio_file_get_name_size in -lbfio... " >&6; } 38845if ${ac_cv_lib_bfio_libbfio_file_get_name_size+:} false; then : 38846 $as_echo_n "(cached) " >&6 38847else 38848 ac_check_lib_save_LIBS=$LIBS 38849LIBS="-lbfio $LIBS" 38850cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38851/* end confdefs.h. */ 38852 38853/* Override any GCC internal prototype to avoid an error. 38854 Use char because int might match the return type of a GCC 38855 builtin and then its argument prototype would still apply. */ 38856#ifdef __cplusplus 38857extern "C" 38858#endif 38859char libbfio_file_get_name_size (); 38860int 38861main () 38862{ 38863return libbfio_file_get_name_size (); 38864 ; 38865 return 0; 38866} 38867_ACEOF 38868if ac_fn_c_try_link "$LINENO"; then : 38869 ac_cv_lib_bfio_libbfio_file_get_name_size=yes 38870else 38871 ac_cv_lib_bfio_libbfio_file_get_name_size=no 38872fi 38873rm -f core conftest.err conftest.$ac_objext \ 38874 conftest$ac_exeext conftest.$ac_ext 38875LIBS=$ac_check_lib_save_LIBS 38876fi 38877{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_get_name_size" >&5 38878$as_echo "$ac_cv_lib_bfio_libbfio_file_get_name_size" >&6; } 38879if test "x$ac_cv_lib_bfio_libbfio_file_get_name_size" = xyes; then : 38880 ac_cv_libbfio_dummy=yes 38881else 38882 ac_cv_libbfio=no 38883fi 38884 38885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_get_name in -lbfio" >&5 38886$as_echo_n "checking for libbfio_file_get_name in -lbfio... " >&6; } 38887if ${ac_cv_lib_bfio_libbfio_file_get_name+:} false; then : 38888 $as_echo_n "(cached) " >&6 38889else 38890 ac_check_lib_save_LIBS=$LIBS 38891LIBS="-lbfio $LIBS" 38892cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38893/* end confdefs.h. */ 38894 38895/* Override any GCC internal prototype to avoid an error. 38896 Use char because int might match the return type of a GCC 38897 builtin and then its argument prototype would still apply. */ 38898#ifdef __cplusplus 38899extern "C" 38900#endif 38901char libbfio_file_get_name (); 38902int 38903main () 38904{ 38905return libbfio_file_get_name (); 38906 ; 38907 return 0; 38908} 38909_ACEOF 38910if ac_fn_c_try_link "$LINENO"; then : 38911 ac_cv_lib_bfio_libbfio_file_get_name=yes 38912else 38913 ac_cv_lib_bfio_libbfio_file_get_name=no 38914fi 38915rm -f core conftest.err conftest.$ac_objext \ 38916 conftest$ac_exeext conftest.$ac_ext 38917LIBS=$ac_check_lib_save_LIBS 38918fi 38919{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_get_name" >&5 38920$as_echo "$ac_cv_lib_bfio_libbfio_file_get_name" >&6; } 38921if test "x$ac_cv_lib_bfio_libbfio_file_get_name" = xyes; then : 38922 ac_cv_libbfio_dummy=yes 38923else 38924 ac_cv_libbfio=no 38925fi 38926 38927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_set_name in -lbfio" >&5 38928$as_echo_n "checking for libbfio_file_set_name in -lbfio... " >&6; } 38929if ${ac_cv_lib_bfio_libbfio_file_set_name+:} false; then : 38930 $as_echo_n "(cached) " >&6 38931else 38932 ac_check_lib_save_LIBS=$LIBS 38933LIBS="-lbfio $LIBS" 38934cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38935/* end confdefs.h. */ 38936 38937/* Override any GCC internal prototype to avoid an error. 38938 Use char because int might match the return type of a GCC 38939 builtin and then its argument prototype would still apply. */ 38940#ifdef __cplusplus 38941extern "C" 38942#endif 38943char libbfio_file_set_name (); 38944int 38945main () 38946{ 38947return libbfio_file_set_name (); 38948 ; 38949 return 0; 38950} 38951_ACEOF 38952if ac_fn_c_try_link "$LINENO"; then : 38953 ac_cv_lib_bfio_libbfio_file_set_name=yes 38954else 38955 ac_cv_lib_bfio_libbfio_file_set_name=no 38956fi 38957rm -f core conftest.err conftest.$ac_objext \ 38958 conftest$ac_exeext conftest.$ac_ext 38959LIBS=$ac_check_lib_save_LIBS 38960fi 38961{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_set_name" >&5 38962$as_echo "$ac_cv_lib_bfio_libbfio_file_set_name" >&6; } 38963if test "x$ac_cv_lib_bfio_libbfio_file_set_name" = xyes; then : 38964 ac_cv_libbfio_dummy=yes 38965else 38966 ac_cv_libbfio=no 38967fi 38968 38969 38970 if test "x$ac_cv_enable_wide_character_type" != xno; then : 38971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_get_name_size_wide in -lbfio" >&5 38972$as_echo_n "checking for libbfio_file_get_name_size_wide in -lbfio... " >&6; } 38973if ${ac_cv_lib_bfio_libbfio_file_get_name_size_wide+:} false; then : 38974 $as_echo_n "(cached) " >&6 38975else 38976 ac_check_lib_save_LIBS=$LIBS 38977LIBS="-lbfio $LIBS" 38978cat confdefs.h - <<_ACEOF >conftest.$ac_ext 38979/* end confdefs.h. */ 38980 38981/* Override any GCC internal prototype to avoid an error. 38982 Use char because int might match the return type of a GCC 38983 builtin and then its argument prototype would still apply. */ 38984#ifdef __cplusplus 38985extern "C" 38986#endif 38987char libbfio_file_get_name_size_wide (); 38988int 38989main () 38990{ 38991return libbfio_file_get_name_size_wide (); 38992 ; 38993 return 0; 38994} 38995_ACEOF 38996if ac_fn_c_try_link "$LINENO"; then : 38997 ac_cv_lib_bfio_libbfio_file_get_name_size_wide=yes 38998else 38999 ac_cv_lib_bfio_libbfio_file_get_name_size_wide=no 39000fi 39001rm -f core conftest.err conftest.$ac_objext \ 39002 conftest$ac_exeext conftest.$ac_ext 39003LIBS=$ac_check_lib_save_LIBS 39004fi 39005{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_get_name_size_wide" >&5 39006$as_echo "$ac_cv_lib_bfio_libbfio_file_get_name_size_wide" >&6; } 39007if test "x$ac_cv_lib_bfio_libbfio_file_get_name_size_wide" = xyes; then : 39008 ac_cv_libbfio_dummy=yes 39009else 39010 ac_cv_libbfio=no 39011fi 39012 39013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_get_name_wide in -lbfio" >&5 39014$as_echo_n "checking for libbfio_file_get_name_wide in -lbfio... " >&6; } 39015if ${ac_cv_lib_bfio_libbfio_file_get_name_wide+:} false; then : 39016 $as_echo_n "(cached) " >&6 39017else 39018 ac_check_lib_save_LIBS=$LIBS 39019LIBS="-lbfio $LIBS" 39020cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39021/* end confdefs.h. */ 39022 39023/* Override any GCC internal prototype to avoid an error. 39024 Use char because int might match the return type of a GCC 39025 builtin and then its argument prototype would still apply. */ 39026#ifdef __cplusplus 39027extern "C" 39028#endif 39029char libbfio_file_get_name_wide (); 39030int 39031main () 39032{ 39033return libbfio_file_get_name_wide (); 39034 ; 39035 return 0; 39036} 39037_ACEOF 39038if ac_fn_c_try_link "$LINENO"; then : 39039 ac_cv_lib_bfio_libbfio_file_get_name_wide=yes 39040else 39041 ac_cv_lib_bfio_libbfio_file_get_name_wide=no 39042fi 39043rm -f core conftest.err conftest.$ac_objext \ 39044 conftest$ac_exeext conftest.$ac_ext 39045LIBS=$ac_check_lib_save_LIBS 39046fi 39047{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_get_name_wide" >&5 39048$as_echo "$ac_cv_lib_bfio_libbfio_file_get_name_wide" >&6; } 39049if test "x$ac_cv_lib_bfio_libbfio_file_get_name_wide" = xyes; then : 39050 ac_cv_libbfio_dummy=yes 39051else 39052 ac_cv_libbfio=no 39053fi 39054 39055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_set_name_wide in -lbfio" >&5 39056$as_echo_n "checking for libbfio_file_set_name_wide in -lbfio... " >&6; } 39057if ${ac_cv_lib_bfio_libbfio_file_set_name_wide+:} false; then : 39058 $as_echo_n "(cached) " >&6 39059else 39060 ac_check_lib_save_LIBS=$LIBS 39061LIBS="-lbfio $LIBS" 39062cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39063/* end confdefs.h. */ 39064 39065/* Override any GCC internal prototype to avoid an error. 39066 Use char because int might match the return type of a GCC 39067 builtin and then its argument prototype would still apply. */ 39068#ifdef __cplusplus 39069extern "C" 39070#endif 39071char libbfio_file_set_name_wide (); 39072int 39073main () 39074{ 39075return libbfio_file_set_name_wide (); 39076 ; 39077 return 0; 39078} 39079_ACEOF 39080if ac_fn_c_try_link "$LINENO"; then : 39081 ac_cv_lib_bfio_libbfio_file_set_name_wide=yes 39082else 39083 ac_cv_lib_bfio_libbfio_file_set_name_wide=no 39084fi 39085rm -f core conftest.err conftest.$ac_objext \ 39086 conftest$ac_exeext conftest.$ac_ext 39087LIBS=$ac_check_lib_save_LIBS 39088fi 39089{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_set_name_wide" >&5 39090$as_echo "$ac_cv_lib_bfio_libbfio_file_set_name_wide" >&6; } 39091if test "x$ac_cv_lib_bfio_libbfio_file_set_name_wide" = xyes; then : 39092 ac_cv_libbfio_dummy=yes 39093else 39094 ac_cv_libbfio=no 39095fi 39096 39097 39098fi 39099 39100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_initialize in -lbfio" >&5 39101$as_echo_n "checking for libbfio_pool_initialize in -lbfio... " >&6; } 39102if ${ac_cv_lib_bfio_libbfio_pool_initialize+:} false; then : 39103 $as_echo_n "(cached) " >&6 39104else 39105 ac_check_lib_save_LIBS=$LIBS 39106LIBS="-lbfio $LIBS" 39107cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39108/* end confdefs.h. */ 39109 39110/* Override any GCC internal prototype to avoid an error. 39111 Use char because int might match the return type of a GCC 39112 builtin and then its argument prototype would still apply. */ 39113#ifdef __cplusplus 39114extern "C" 39115#endif 39116char libbfio_pool_initialize (); 39117int 39118main () 39119{ 39120return libbfio_pool_initialize (); 39121 ; 39122 return 0; 39123} 39124_ACEOF 39125if ac_fn_c_try_link "$LINENO"; then : 39126 ac_cv_lib_bfio_libbfio_pool_initialize=yes 39127else 39128 ac_cv_lib_bfio_libbfio_pool_initialize=no 39129fi 39130rm -f core conftest.err conftest.$ac_objext \ 39131 conftest$ac_exeext conftest.$ac_ext 39132LIBS=$ac_check_lib_save_LIBS 39133fi 39134{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_initialize" >&5 39135$as_echo "$ac_cv_lib_bfio_libbfio_pool_initialize" >&6; } 39136if test "x$ac_cv_lib_bfio_libbfio_pool_initialize" = xyes; then : 39137 ac_cv_libbfio_dummy=yes 39138else 39139 ac_cv_libbfio=no 39140fi 39141 39142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_free in -lbfio" >&5 39143$as_echo_n "checking for libbfio_pool_free in -lbfio... " >&6; } 39144if ${ac_cv_lib_bfio_libbfio_pool_free+:} false; then : 39145 $as_echo_n "(cached) " >&6 39146else 39147 ac_check_lib_save_LIBS=$LIBS 39148LIBS="-lbfio $LIBS" 39149cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39150/* end confdefs.h. */ 39151 39152/* Override any GCC internal prototype to avoid an error. 39153 Use char because int might match the return type of a GCC 39154 builtin and then its argument prototype would still apply. */ 39155#ifdef __cplusplus 39156extern "C" 39157#endif 39158char libbfio_pool_free (); 39159int 39160main () 39161{ 39162return libbfio_pool_free (); 39163 ; 39164 return 0; 39165} 39166_ACEOF 39167if ac_fn_c_try_link "$LINENO"; then : 39168 ac_cv_lib_bfio_libbfio_pool_free=yes 39169else 39170 ac_cv_lib_bfio_libbfio_pool_free=no 39171fi 39172rm -f core conftest.err conftest.$ac_objext \ 39173 conftest$ac_exeext conftest.$ac_ext 39174LIBS=$ac_check_lib_save_LIBS 39175fi 39176{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_free" >&5 39177$as_echo "$ac_cv_lib_bfio_libbfio_pool_free" >&6; } 39178if test "x$ac_cv_lib_bfio_libbfio_pool_free" = xyes; then : 39179 ac_cv_libbfio_dummy=yes 39180else 39181 ac_cv_libbfio=no 39182fi 39183 39184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_clone in -lbfio" >&5 39185$as_echo_n "checking for libbfio_pool_clone in -lbfio... " >&6; } 39186if ${ac_cv_lib_bfio_libbfio_pool_clone+:} false; then : 39187 $as_echo_n "(cached) " >&6 39188else 39189 ac_check_lib_save_LIBS=$LIBS 39190LIBS="-lbfio $LIBS" 39191cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39192/* end confdefs.h. */ 39193 39194/* Override any GCC internal prototype to avoid an error. 39195 Use char because int might match the return type of a GCC 39196 builtin and then its argument prototype would still apply. */ 39197#ifdef __cplusplus 39198extern "C" 39199#endif 39200char libbfio_pool_clone (); 39201int 39202main () 39203{ 39204return libbfio_pool_clone (); 39205 ; 39206 return 0; 39207} 39208_ACEOF 39209if ac_fn_c_try_link "$LINENO"; then : 39210 ac_cv_lib_bfio_libbfio_pool_clone=yes 39211else 39212 ac_cv_lib_bfio_libbfio_pool_clone=no 39213fi 39214rm -f core conftest.err conftest.$ac_objext \ 39215 conftest$ac_exeext conftest.$ac_ext 39216LIBS=$ac_check_lib_save_LIBS 39217fi 39218{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_clone" >&5 39219$as_echo "$ac_cv_lib_bfio_libbfio_pool_clone" >&6; } 39220if test "x$ac_cv_lib_bfio_libbfio_pool_clone" = xyes; then : 39221 ac_cv_libbfio_dummy=yes 39222else 39223 ac_cv_libbfio=no 39224fi 39225 39226 39227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_get_number_of_handles in -lbfio" >&5 39228$as_echo_n "checking for libbfio_pool_get_number_of_handles in -lbfio... " >&6; } 39229if ${ac_cv_lib_bfio_libbfio_pool_get_number_of_handles+:} false; then : 39230 $as_echo_n "(cached) " >&6 39231else 39232 ac_check_lib_save_LIBS=$LIBS 39233LIBS="-lbfio $LIBS" 39234cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39235/* end confdefs.h. */ 39236 39237/* Override any GCC internal prototype to avoid an error. 39238 Use char because int might match the return type of a GCC 39239 builtin and then its argument prototype would still apply. */ 39240#ifdef __cplusplus 39241extern "C" 39242#endif 39243char libbfio_pool_get_number_of_handles (); 39244int 39245main () 39246{ 39247return libbfio_pool_get_number_of_handles (); 39248 ; 39249 return 0; 39250} 39251_ACEOF 39252if ac_fn_c_try_link "$LINENO"; then : 39253 ac_cv_lib_bfio_libbfio_pool_get_number_of_handles=yes 39254else 39255 ac_cv_lib_bfio_libbfio_pool_get_number_of_handles=no 39256fi 39257rm -f core conftest.err conftest.$ac_objext \ 39258 conftest$ac_exeext conftest.$ac_ext 39259LIBS=$ac_check_lib_save_LIBS 39260fi 39261{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_get_number_of_handles" >&5 39262$as_echo "$ac_cv_lib_bfio_libbfio_pool_get_number_of_handles" >&6; } 39263if test "x$ac_cv_lib_bfio_libbfio_pool_get_number_of_handles" = xyes; then : 39264 ac_cv_libbfio_dummy=yes 39265else 39266 ac_cv_libbfio=no 39267fi 39268 39269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_get_handle in -lbfio" >&5 39270$as_echo_n "checking for libbfio_pool_get_handle in -lbfio... " >&6; } 39271if ${ac_cv_lib_bfio_libbfio_pool_get_handle+:} false; then : 39272 $as_echo_n "(cached) " >&6 39273else 39274 ac_check_lib_save_LIBS=$LIBS 39275LIBS="-lbfio $LIBS" 39276cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39277/* end confdefs.h. */ 39278 39279/* Override any GCC internal prototype to avoid an error. 39280 Use char because int might match the return type of a GCC 39281 builtin and then its argument prototype would still apply. */ 39282#ifdef __cplusplus 39283extern "C" 39284#endif 39285char libbfio_pool_get_handle (); 39286int 39287main () 39288{ 39289return libbfio_pool_get_handle (); 39290 ; 39291 return 0; 39292} 39293_ACEOF 39294if ac_fn_c_try_link "$LINENO"; then : 39295 ac_cv_lib_bfio_libbfio_pool_get_handle=yes 39296else 39297 ac_cv_lib_bfio_libbfio_pool_get_handle=no 39298fi 39299rm -f core conftest.err conftest.$ac_objext \ 39300 conftest$ac_exeext conftest.$ac_ext 39301LIBS=$ac_check_lib_save_LIBS 39302fi 39303{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_get_handle" >&5 39304$as_echo "$ac_cv_lib_bfio_libbfio_pool_get_handle" >&6; } 39305if test "x$ac_cv_lib_bfio_libbfio_pool_get_handle" = xyes; then : 39306 ac_cv_libbfio_dummy=yes 39307else 39308 ac_cv_libbfio=no 39309fi 39310 39311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_set_handle in -lbfio" >&5 39312$as_echo_n "checking for libbfio_pool_set_handle in -lbfio... " >&6; } 39313if ${ac_cv_lib_bfio_libbfio_pool_set_handle+:} false; then : 39314 $as_echo_n "(cached) " >&6 39315else 39316 ac_check_lib_save_LIBS=$LIBS 39317LIBS="-lbfio $LIBS" 39318cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39319/* end confdefs.h. */ 39320 39321/* Override any GCC internal prototype to avoid an error. 39322 Use char because int might match the return type of a GCC 39323 builtin and then its argument prototype would still apply. */ 39324#ifdef __cplusplus 39325extern "C" 39326#endif 39327char libbfio_pool_set_handle (); 39328int 39329main () 39330{ 39331return libbfio_pool_set_handle (); 39332 ; 39333 return 0; 39334} 39335_ACEOF 39336if ac_fn_c_try_link "$LINENO"; then : 39337 ac_cv_lib_bfio_libbfio_pool_set_handle=yes 39338else 39339 ac_cv_lib_bfio_libbfio_pool_set_handle=no 39340fi 39341rm -f core conftest.err conftest.$ac_objext \ 39342 conftest$ac_exeext conftest.$ac_ext 39343LIBS=$ac_check_lib_save_LIBS 39344fi 39345{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_set_handle" >&5 39346$as_echo "$ac_cv_lib_bfio_libbfio_pool_set_handle" >&6; } 39347if test "x$ac_cv_lib_bfio_libbfio_pool_set_handle" = xyes; then : 39348 ac_cv_libbfio_dummy=yes 39349else 39350 ac_cv_libbfio=no 39351fi 39352 39353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_append_handle in -lbfio" >&5 39354$as_echo_n "checking for libbfio_pool_append_handle in -lbfio... " >&6; } 39355if ${ac_cv_lib_bfio_libbfio_pool_append_handle+:} false; then : 39356 $as_echo_n "(cached) " >&6 39357else 39358 ac_check_lib_save_LIBS=$LIBS 39359LIBS="-lbfio $LIBS" 39360cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39361/* end confdefs.h. */ 39362 39363/* Override any GCC internal prototype to avoid an error. 39364 Use char because int might match the return type of a GCC 39365 builtin and then its argument prototype would still apply. */ 39366#ifdef __cplusplus 39367extern "C" 39368#endif 39369char libbfio_pool_append_handle (); 39370int 39371main () 39372{ 39373return libbfio_pool_append_handle (); 39374 ; 39375 return 0; 39376} 39377_ACEOF 39378if ac_fn_c_try_link "$LINENO"; then : 39379 ac_cv_lib_bfio_libbfio_pool_append_handle=yes 39380else 39381 ac_cv_lib_bfio_libbfio_pool_append_handle=no 39382fi 39383rm -f core conftest.err conftest.$ac_objext \ 39384 conftest$ac_exeext conftest.$ac_ext 39385LIBS=$ac_check_lib_save_LIBS 39386fi 39387{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_append_handle" >&5 39388$as_echo "$ac_cv_lib_bfio_libbfio_pool_append_handle" >&6; } 39389if test "x$ac_cv_lib_bfio_libbfio_pool_append_handle" = xyes; then : 39390 ac_cv_libbfio_dummy=yes 39391else 39392 ac_cv_libbfio=no 39393fi 39394 39395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_remove_handle in -lbfio" >&5 39396$as_echo_n "checking for libbfio_pool_remove_handle in -lbfio... " >&6; } 39397if ${ac_cv_lib_bfio_libbfio_pool_remove_handle+:} false; then : 39398 $as_echo_n "(cached) " >&6 39399else 39400 ac_check_lib_save_LIBS=$LIBS 39401LIBS="-lbfio $LIBS" 39402cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39403/* end confdefs.h. */ 39404 39405/* Override any GCC internal prototype to avoid an error. 39406 Use char because int might match the return type of a GCC 39407 builtin and then its argument prototype would still apply. */ 39408#ifdef __cplusplus 39409extern "C" 39410#endif 39411char libbfio_pool_remove_handle (); 39412int 39413main () 39414{ 39415return libbfio_pool_remove_handle (); 39416 ; 39417 return 0; 39418} 39419_ACEOF 39420if ac_fn_c_try_link "$LINENO"; then : 39421 ac_cv_lib_bfio_libbfio_pool_remove_handle=yes 39422else 39423 ac_cv_lib_bfio_libbfio_pool_remove_handle=no 39424fi 39425rm -f core conftest.err conftest.$ac_objext \ 39426 conftest$ac_exeext conftest.$ac_ext 39427LIBS=$ac_check_lib_save_LIBS 39428fi 39429{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_remove_handle" >&5 39430$as_echo "$ac_cv_lib_bfio_libbfio_pool_remove_handle" >&6; } 39431if test "x$ac_cv_lib_bfio_libbfio_pool_remove_handle" = xyes; then : 39432 ac_cv_libbfio_dummy=yes 39433else 39434 ac_cv_libbfio=no 39435fi 39436 39437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_get_maximum_number_of_open_handles in -lbfio" >&5 39438$as_echo_n "checking for libbfio_pool_get_maximum_number_of_open_handles in -lbfio... " >&6; } 39439if ${ac_cv_lib_bfio_libbfio_pool_get_maximum_number_of_open_handles+:} false; then : 39440 $as_echo_n "(cached) " >&6 39441else 39442 ac_check_lib_save_LIBS=$LIBS 39443LIBS="-lbfio $LIBS" 39444cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39445/* end confdefs.h. */ 39446 39447/* Override any GCC internal prototype to avoid an error. 39448 Use char because int might match the return type of a GCC 39449 builtin and then its argument prototype would still apply. */ 39450#ifdef __cplusplus 39451extern "C" 39452#endif 39453char libbfio_pool_get_maximum_number_of_open_handles (); 39454int 39455main () 39456{ 39457return libbfio_pool_get_maximum_number_of_open_handles (); 39458 ; 39459 return 0; 39460} 39461_ACEOF 39462if ac_fn_c_try_link "$LINENO"; then : 39463 ac_cv_lib_bfio_libbfio_pool_get_maximum_number_of_open_handles=yes 39464else 39465 ac_cv_lib_bfio_libbfio_pool_get_maximum_number_of_open_handles=no 39466fi 39467rm -f core conftest.err conftest.$ac_objext \ 39468 conftest$ac_exeext conftest.$ac_ext 39469LIBS=$ac_check_lib_save_LIBS 39470fi 39471{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_get_maximum_number_of_open_handles" >&5 39472$as_echo "$ac_cv_lib_bfio_libbfio_pool_get_maximum_number_of_open_handles" >&6; } 39473if test "x$ac_cv_lib_bfio_libbfio_pool_get_maximum_number_of_open_handles" = xyes; then : 39474 ac_cv_libbfio_dummy=yes 39475else 39476 ac_cv_libbfio=no 39477fi 39478 39479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_set_maximum_number_of_open_handles in -lbfio" >&5 39480$as_echo_n "checking for libbfio_pool_set_maximum_number_of_open_handles in -lbfio... " >&6; } 39481if ${ac_cv_lib_bfio_libbfio_pool_set_maximum_number_of_open_handles+:} false; then : 39482 $as_echo_n "(cached) " >&6 39483else 39484 ac_check_lib_save_LIBS=$LIBS 39485LIBS="-lbfio $LIBS" 39486cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39487/* end confdefs.h. */ 39488 39489/* Override any GCC internal prototype to avoid an error. 39490 Use char because int might match the return type of a GCC 39491 builtin and then its argument prototype would still apply. */ 39492#ifdef __cplusplus 39493extern "C" 39494#endif 39495char libbfio_pool_set_maximum_number_of_open_handles (); 39496int 39497main () 39498{ 39499return libbfio_pool_set_maximum_number_of_open_handles (); 39500 ; 39501 return 0; 39502} 39503_ACEOF 39504if ac_fn_c_try_link "$LINENO"; then : 39505 ac_cv_lib_bfio_libbfio_pool_set_maximum_number_of_open_handles=yes 39506else 39507 ac_cv_lib_bfio_libbfio_pool_set_maximum_number_of_open_handles=no 39508fi 39509rm -f core conftest.err conftest.$ac_objext \ 39510 conftest$ac_exeext conftest.$ac_ext 39511LIBS=$ac_check_lib_save_LIBS 39512fi 39513{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_set_maximum_number_of_open_handles" >&5 39514$as_echo "$ac_cv_lib_bfio_libbfio_pool_set_maximum_number_of_open_handles" >&6; } 39515if test "x$ac_cv_lib_bfio_libbfio_pool_set_maximum_number_of_open_handles" = xyes; then : 39516 ac_cv_libbfio_dummy=yes 39517else 39518 ac_cv_libbfio=no 39519fi 39520 39521 39522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_open in -lbfio" >&5 39523$as_echo_n "checking for libbfio_pool_open in -lbfio... " >&6; } 39524if ${ac_cv_lib_bfio_libbfio_pool_open+:} false; then : 39525 $as_echo_n "(cached) " >&6 39526else 39527 ac_check_lib_save_LIBS=$LIBS 39528LIBS="-lbfio $LIBS" 39529cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39530/* end confdefs.h. */ 39531 39532/* Override any GCC internal prototype to avoid an error. 39533 Use char because int might match the return type of a GCC 39534 builtin and then its argument prototype would still apply. */ 39535#ifdef __cplusplus 39536extern "C" 39537#endif 39538char libbfio_pool_open (); 39539int 39540main () 39541{ 39542return libbfio_pool_open (); 39543 ; 39544 return 0; 39545} 39546_ACEOF 39547if ac_fn_c_try_link "$LINENO"; then : 39548 ac_cv_lib_bfio_libbfio_pool_open=yes 39549else 39550 ac_cv_lib_bfio_libbfio_pool_open=no 39551fi 39552rm -f core conftest.err conftest.$ac_objext \ 39553 conftest$ac_exeext conftest.$ac_ext 39554LIBS=$ac_check_lib_save_LIBS 39555fi 39556{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_open" >&5 39557$as_echo "$ac_cv_lib_bfio_libbfio_pool_open" >&6; } 39558if test "x$ac_cv_lib_bfio_libbfio_pool_open" = xyes; then : 39559 ac_cv_libbfio_dummy=yes 39560else 39561 ac_cv_libbfio=no 39562fi 39563 39564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_reopen in -lbfio" >&5 39565$as_echo_n "checking for libbfio_pool_reopen in -lbfio... " >&6; } 39566if ${ac_cv_lib_bfio_libbfio_pool_reopen+:} false; then : 39567 $as_echo_n "(cached) " >&6 39568else 39569 ac_check_lib_save_LIBS=$LIBS 39570LIBS="-lbfio $LIBS" 39571cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39572/* end confdefs.h. */ 39573 39574/* Override any GCC internal prototype to avoid an error. 39575 Use char because int might match the return type of a GCC 39576 builtin and then its argument prototype would still apply. */ 39577#ifdef __cplusplus 39578extern "C" 39579#endif 39580char libbfio_pool_reopen (); 39581int 39582main () 39583{ 39584return libbfio_pool_reopen (); 39585 ; 39586 return 0; 39587} 39588_ACEOF 39589if ac_fn_c_try_link "$LINENO"; then : 39590 ac_cv_lib_bfio_libbfio_pool_reopen=yes 39591else 39592 ac_cv_lib_bfio_libbfio_pool_reopen=no 39593fi 39594rm -f core conftest.err conftest.$ac_objext \ 39595 conftest$ac_exeext conftest.$ac_ext 39596LIBS=$ac_check_lib_save_LIBS 39597fi 39598{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_reopen" >&5 39599$as_echo "$ac_cv_lib_bfio_libbfio_pool_reopen" >&6; } 39600if test "x$ac_cv_lib_bfio_libbfio_pool_reopen" = xyes; then : 39601 ac_cv_libbfio_dummy=yes 39602else 39603 ac_cv_libbfio=no 39604fi 39605 39606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_close in -lbfio" >&5 39607$as_echo_n "checking for libbfio_pool_close in -lbfio... " >&6; } 39608if ${ac_cv_lib_bfio_libbfio_pool_close+:} false; then : 39609 $as_echo_n "(cached) " >&6 39610else 39611 ac_check_lib_save_LIBS=$LIBS 39612LIBS="-lbfio $LIBS" 39613cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39614/* end confdefs.h. */ 39615 39616/* Override any GCC internal prototype to avoid an error. 39617 Use char because int might match the return type of a GCC 39618 builtin and then its argument prototype would still apply. */ 39619#ifdef __cplusplus 39620extern "C" 39621#endif 39622char libbfio_pool_close (); 39623int 39624main () 39625{ 39626return libbfio_pool_close (); 39627 ; 39628 return 0; 39629} 39630_ACEOF 39631if ac_fn_c_try_link "$LINENO"; then : 39632 ac_cv_lib_bfio_libbfio_pool_close=yes 39633else 39634 ac_cv_lib_bfio_libbfio_pool_close=no 39635fi 39636rm -f core conftest.err conftest.$ac_objext \ 39637 conftest$ac_exeext conftest.$ac_ext 39638LIBS=$ac_check_lib_save_LIBS 39639fi 39640{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_close" >&5 39641$as_echo "$ac_cv_lib_bfio_libbfio_pool_close" >&6; } 39642if test "x$ac_cv_lib_bfio_libbfio_pool_close" = xyes; then : 39643 ac_cv_libbfio_dummy=yes 39644else 39645 ac_cv_libbfio=no 39646fi 39647 39648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_close_all in -lbfio" >&5 39649$as_echo_n "checking for libbfio_pool_close_all in -lbfio... " >&6; } 39650if ${ac_cv_lib_bfio_libbfio_pool_close_all+:} false; then : 39651 $as_echo_n "(cached) " >&6 39652else 39653 ac_check_lib_save_LIBS=$LIBS 39654LIBS="-lbfio $LIBS" 39655cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39656/* end confdefs.h. */ 39657 39658/* Override any GCC internal prototype to avoid an error. 39659 Use char because int might match the return type of a GCC 39660 builtin and then its argument prototype would still apply. */ 39661#ifdef __cplusplus 39662extern "C" 39663#endif 39664char libbfio_pool_close_all (); 39665int 39666main () 39667{ 39668return libbfio_pool_close_all (); 39669 ; 39670 return 0; 39671} 39672_ACEOF 39673if ac_fn_c_try_link "$LINENO"; then : 39674 ac_cv_lib_bfio_libbfio_pool_close_all=yes 39675else 39676 ac_cv_lib_bfio_libbfio_pool_close_all=no 39677fi 39678rm -f core conftest.err conftest.$ac_objext \ 39679 conftest$ac_exeext conftest.$ac_ext 39680LIBS=$ac_check_lib_save_LIBS 39681fi 39682{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_close_all" >&5 39683$as_echo "$ac_cv_lib_bfio_libbfio_pool_close_all" >&6; } 39684if test "x$ac_cv_lib_bfio_libbfio_pool_close_all" = xyes; then : 39685 ac_cv_libbfio_dummy=yes 39686else 39687 ac_cv_libbfio=no 39688fi 39689 39690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_read_buffer in -lbfio" >&5 39691$as_echo_n "checking for libbfio_pool_read_buffer in -lbfio... " >&6; } 39692if ${ac_cv_lib_bfio_libbfio_pool_read_buffer+:} false; then : 39693 $as_echo_n "(cached) " >&6 39694else 39695 ac_check_lib_save_LIBS=$LIBS 39696LIBS="-lbfio $LIBS" 39697cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39698/* end confdefs.h. */ 39699 39700/* Override any GCC internal prototype to avoid an error. 39701 Use char because int might match the return type of a GCC 39702 builtin and then its argument prototype would still apply. */ 39703#ifdef __cplusplus 39704extern "C" 39705#endif 39706char libbfio_pool_read_buffer (); 39707int 39708main () 39709{ 39710return libbfio_pool_read_buffer (); 39711 ; 39712 return 0; 39713} 39714_ACEOF 39715if ac_fn_c_try_link "$LINENO"; then : 39716 ac_cv_lib_bfio_libbfio_pool_read_buffer=yes 39717else 39718 ac_cv_lib_bfio_libbfio_pool_read_buffer=no 39719fi 39720rm -f core conftest.err conftest.$ac_objext \ 39721 conftest$ac_exeext conftest.$ac_ext 39722LIBS=$ac_check_lib_save_LIBS 39723fi 39724{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_read_buffer" >&5 39725$as_echo "$ac_cv_lib_bfio_libbfio_pool_read_buffer" >&6; } 39726if test "x$ac_cv_lib_bfio_libbfio_pool_read_buffer" = xyes; then : 39727 ac_cv_libbfio_dummy=yes 39728else 39729 ac_cv_libbfio=no 39730fi 39731 39732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_read_buffer_at_offset in -lbfio" >&5 39733$as_echo_n "checking for libbfio_pool_read_buffer_at_offset in -lbfio... " >&6; } 39734if ${ac_cv_lib_bfio_libbfio_pool_read_buffer_at_offset+:} false; then : 39735 $as_echo_n "(cached) " >&6 39736else 39737 ac_check_lib_save_LIBS=$LIBS 39738LIBS="-lbfio $LIBS" 39739cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39740/* end confdefs.h. */ 39741 39742/* Override any GCC internal prototype to avoid an error. 39743 Use char because int might match the return type of a GCC 39744 builtin and then its argument prototype would still apply. */ 39745#ifdef __cplusplus 39746extern "C" 39747#endif 39748char libbfio_pool_read_buffer_at_offset (); 39749int 39750main () 39751{ 39752return libbfio_pool_read_buffer_at_offset (); 39753 ; 39754 return 0; 39755} 39756_ACEOF 39757if ac_fn_c_try_link "$LINENO"; then : 39758 ac_cv_lib_bfio_libbfio_pool_read_buffer_at_offset=yes 39759else 39760 ac_cv_lib_bfio_libbfio_pool_read_buffer_at_offset=no 39761fi 39762rm -f core conftest.err conftest.$ac_objext \ 39763 conftest$ac_exeext conftest.$ac_ext 39764LIBS=$ac_check_lib_save_LIBS 39765fi 39766{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_read_buffer_at_offset" >&5 39767$as_echo "$ac_cv_lib_bfio_libbfio_pool_read_buffer_at_offset" >&6; } 39768if test "x$ac_cv_lib_bfio_libbfio_pool_read_buffer_at_offset" = xyes; then : 39769 ac_cv_libbfio_dummy=yes 39770else 39771 ac_cv_libbfio=no 39772fi 39773 39774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_write_buffer in -lbfio" >&5 39775$as_echo_n "checking for libbfio_pool_write_buffer in -lbfio... " >&6; } 39776if ${ac_cv_lib_bfio_libbfio_pool_write_buffer+:} false; then : 39777 $as_echo_n "(cached) " >&6 39778else 39779 ac_check_lib_save_LIBS=$LIBS 39780LIBS="-lbfio $LIBS" 39781cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39782/* end confdefs.h. */ 39783 39784/* Override any GCC internal prototype to avoid an error. 39785 Use char because int might match the return type of a GCC 39786 builtin and then its argument prototype would still apply. */ 39787#ifdef __cplusplus 39788extern "C" 39789#endif 39790char libbfio_pool_write_buffer (); 39791int 39792main () 39793{ 39794return libbfio_pool_write_buffer (); 39795 ; 39796 return 0; 39797} 39798_ACEOF 39799if ac_fn_c_try_link "$LINENO"; then : 39800 ac_cv_lib_bfio_libbfio_pool_write_buffer=yes 39801else 39802 ac_cv_lib_bfio_libbfio_pool_write_buffer=no 39803fi 39804rm -f core conftest.err conftest.$ac_objext \ 39805 conftest$ac_exeext conftest.$ac_ext 39806LIBS=$ac_check_lib_save_LIBS 39807fi 39808{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_write_buffer" >&5 39809$as_echo "$ac_cv_lib_bfio_libbfio_pool_write_buffer" >&6; } 39810if test "x$ac_cv_lib_bfio_libbfio_pool_write_buffer" = xyes; then : 39811 ac_cv_libbfio_dummy=yes 39812else 39813 ac_cv_libbfio=no 39814fi 39815 39816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_write_buffer_at_offset in -lbfio" >&5 39817$as_echo_n "checking for libbfio_pool_write_buffer_at_offset in -lbfio... " >&6; } 39818if ${ac_cv_lib_bfio_libbfio_pool_write_buffer_at_offset+:} false; then : 39819 $as_echo_n "(cached) " >&6 39820else 39821 ac_check_lib_save_LIBS=$LIBS 39822LIBS="-lbfio $LIBS" 39823cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39824/* end confdefs.h. */ 39825 39826/* Override any GCC internal prototype to avoid an error. 39827 Use char because int might match the return type of a GCC 39828 builtin and then its argument prototype would still apply. */ 39829#ifdef __cplusplus 39830extern "C" 39831#endif 39832char libbfio_pool_write_buffer_at_offset (); 39833int 39834main () 39835{ 39836return libbfio_pool_write_buffer_at_offset (); 39837 ; 39838 return 0; 39839} 39840_ACEOF 39841if ac_fn_c_try_link "$LINENO"; then : 39842 ac_cv_lib_bfio_libbfio_pool_write_buffer_at_offset=yes 39843else 39844 ac_cv_lib_bfio_libbfio_pool_write_buffer_at_offset=no 39845fi 39846rm -f core conftest.err conftest.$ac_objext \ 39847 conftest$ac_exeext conftest.$ac_ext 39848LIBS=$ac_check_lib_save_LIBS 39849fi 39850{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_write_buffer_at_offset" >&5 39851$as_echo "$ac_cv_lib_bfio_libbfio_pool_write_buffer_at_offset" >&6; } 39852if test "x$ac_cv_lib_bfio_libbfio_pool_write_buffer_at_offset" = xyes; then : 39853 ac_cv_libbfio_dummy=yes 39854else 39855 ac_cv_libbfio=no 39856fi 39857 39858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_seek_offset in -lbfio" >&5 39859$as_echo_n "checking for libbfio_pool_seek_offset in -lbfio... " >&6; } 39860if ${ac_cv_lib_bfio_libbfio_pool_seek_offset+:} false; then : 39861 $as_echo_n "(cached) " >&6 39862else 39863 ac_check_lib_save_LIBS=$LIBS 39864LIBS="-lbfio $LIBS" 39865cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39866/* end confdefs.h. */ 39867 39868/* Override any GCC internal prototype to avoid an error. 39869 Use char because int might match the return type of a GCC 39870 builtin and then its argument prototype would still apply. */ 39871#ifdef __cplusplus 39872extern "C" 39873#endif 39874char libbfio_pool_seek_offset (); 39875int 39876main () 39877{ 39878return libbfio_pool_seek_offset (); 39879 ; 39880 return 0; 39881} 39882_ACEOF 39883if ac_fn_c_try_link "$LINENO"; then : 39884 ac_cv_lib_bfio_libbfio_pool_seek_offset=yes 39885else 39886 ac_cv_lib_bfio_libbfio_pool_seek_offset=no 39887fi 39888rm -f core conftest.err conftest.$ac_objext \ 39889 conftest$ac_exeext conftest.$ac_ext 39890LIBS=$ac_check_lib_save_LIBS 39891fi 39892{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_seek_offset" >&5 39893$as_echo "$ac_cv_lib_bfio_libbfio_pool_seek_offset" >&6; } 39894if test "x$ac_cv_lib_bfio_libbfio_pool_seek_offset" = xyes; then : 39895 ac_cv_libbfio_dummy=yes 39896else 39897 ac_cv_libbfio=no 39898fi 39899 39900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_get_offset in -lbfio" >&5 39901$as_echo_n "checking for libbfio_pool_get_offset in -lbfio... " >&6; } 39902if ${ac_cv_lib_bfio_libbfio_pool_get_offset+:} false; then : 39903 $as_echo_n "(cached) " >&6 39904else 39905 ac_check_lib_save_LIBS=$LIBS 39906LIBS="-lbfio $LIBS" 39907cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39908/* end confdefs.h. */ 39909 39910/* Override any GCC internal prototype to avoid an error. 39911 Use char because int might match the return type of a GCC 39912 builtin and then its argument prototype would still apply. */ 39913#ifdef __cplusplus 39914extern "C" 39915#endif 39916char libbfio_pool_get_offset (); 39917int 39918main () 39919{ 39920return libbfio_pool_get_offset (); 39921 ; 39922 return 0; 39923} 39924_ACEOF 39925if ac_fn_c_try_link "$LINENO"; then : 39926 ac_cv_lib_bfio_libbfio_pool_get_offset=yes 39927else 39928 ac_cv_lib_bfio_libbfio_pool_get_offset=no 39929fi 39930rm -f core conftest.err conftest.$ac_objext \ 39931 conftest$ac_exeext conftest.$ac_ext 39932LIBS=$ac_check_lib_save_LIBS 39933fi 39934{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_get_offset" >&5 39935$as_echo "$ac_cv_lib_bfio_libbfio_pool_get_offset" >&6; } 39936if test "x$ac_cv_lib_bfio_libbfio_pool_get_offset" = xyes; then : 39937 ac_cv_libbfio_dummy=yes 39938else 39939 ac_cv_libbfio=no 39940fi 39941 39942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_pool_get_size in -lbfio" >&5 39943$as_echo_n "checking for libbfio_pool_get_size in -lbfio... " >&6; } 39944if ${ac_cv_lib_bfio_libbfio_pool_get_size+:} false; then : 39945 $as_echo_n "(cached) " >&6 39946else 39947 ac_check_lib_save_LIBS=$LIBS 39948LIBS="-lbfio $LIBS" 39949cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39950/* end confdefs.h. */ 39951 39952/* Override any GCC internal prototype to avoid an error. 39953 Use char because int might match the return type of a GCC 39954 builtin and then its argument prototype would still apply. */ 39955#ifdef __cplusplus 39956extern "C" 39957#endif 39958char libbfio_pool_get_size (); 39959int 39960main () 39961{ 39962return libbfio_pool_get_size (); 39963 ; 39964 return 0; 39965} 39966_ACEOF 39967if ac_fn_c_try_link "$LINENO"; then : 39968 ac_cv_lib_bfio_libbfio_pool_get_size=yes 39969else 39970 ac_cv_lib_bfio_libbfio_pool_get_size=no 39971fi 39972rm -f core conftest.err conftest.$ac_objext \ 39973 conftest$ac_exeext conftest.$ac_ext 39974LIBS=$ac_check_lib_save_LIBS 39975fi 39976{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_pool_get_size" >&5 39977$as_echo "$ac_cv_lib_bfio_libbfio_pool_get_size" >&6; } 39978if test "x$ac_cv_lib_bfio_libbfio_pool_get_size" = xyes; then : 39979 ac_cv_libbfio_dummy=yes 39980else 39981 ac_cv_libbfio=no 39982fi 39983 39984 39985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_pool_open in -lbfio" >&5 39986$as_echo_n "checking for libbfio_file_pool_open in -lbfio... " >&6; } 39987if ${ac_cv_lib_bfio_libbfio_file_pool_open+:} false; then : 39988 $as_echo_n "(cached) " >&6 39989else 39990 ac_check_lib_save_LIBS=$LIBS 39991LIBS="-lbfio $LIBS" 39992cat confdefs.h - <<_ACEOF >conftest.$ac_ext 39993/* end confdefs.h. */ 39994 39995/* Override any GCC internal prototype to avoid an error. 39996 Use char because int might match the return type of a GCC 39997 builtin and then its argument prototype would still apply. */ 39998#ifdef __cplusplus 39999extern "C" 40000#endif 40001char libbfio_file_pool_open (); 40002int 40003main () 40004{ 40005return libbfio_file_pool_open (); 40006 ; 40007 return 0; 40008} 40009_ACEOF 40010if ac_fn_c_try_link "$LINENO"; then : 40011 ac_cv_lib_bfio_libbfio_file_pool_open=yes 40012else 40013 ac_cv_lib_bfio_libbfio_file_pool_open=no 40014fi 40015rm -f core conftest.err conftest.$ac_objext \ 40016 conftest$ac_exeext conftest.$ac_ext 40017LIBS=$ac_check_lib_save_LIBS 40018fi 40019{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_pool_open" >&5 40020$as_echo "$ac_cv_lib_bfio_libbfio_file_pool_open" >&6; } 40021if test "x$ac_cv_lib_bfio_libbfio_file_pool_open" = xyes; then : 40022 ac_cv_libbfio_dummy=yes 40023else 40024 ac_cv_libbfio=no 40025fi 40026 40027 40028 if test "x$ac_cv_enable_wide_character_type" != xno; then : 40029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libbfio_file_pool_open_wide in -lbfio" >&5 40030$as_echo_n "checking for libbfio_file_pool_open_wide in -lbfio... " >&6; } 40031if ${ac_cv_lib_bfio_libbfio_file_pool_open_wide+:} false; then : 40032 $as_echo_n "(cached) " >&6 40033else 40034 ac_check_lib_save_LIBS=$LIBS 40035LIBS="-lbfio $LIBS" 40036cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40037/* end confdefs.h. */ 40038 40039/* Override any GCC internal prototype to avoid an error. 40040 Use char because int might match the return type of a GCC 40041 builtin and then its argument prototype would still apply. */ 40042#ifdef __cplusplus 40043extern "C" 40044#endif 40045char libbfio_file_pool_open_wide (); 40046int 40047main () 40048{ 40049return libbfio_file_pool_open_wide (); 40050 ; 40051 return 0; 40052} 40053_ACEOF 40054if ac_fn_c_try_link "$LINENO"; then : 40055 ac_cv_lib_bfio_libbfio_file_pool_open_wide=yes 40056else 40057 ac_cv_lib_bfio_libbfio_file_pool_open_wide=no 40058fi 40059rm -f core conftest.err conftest.$ac_objext \ 40060 conftest$ac_exeext conftest.$ac_ext 40061LIBS=$ac_check_lib_save_LIBS 40062fi 40063{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bfio_libbfio_file_pool_open_wide" >&5 40064$as_echo "$ac_cv_lib_bfio_libbfio_file_pool_open_wide" >&6; } 40065if test "x$ac_cv_lib_bfio_libbfio_file_pool_open_wide" = xyes; then : 40066 ac_cv_libbfio_dummy=yes 40067else 40068 ac_cv_libbfio=no 40069fi 40070 40071 40072fi 40073 40074 ac_cv_libbfio_LIBADD="-lbfio" 40075fi 40076 40077fi 40078 if test "x$ac_cv_with_libbfio" != x && test "x$ac_cv_with_libbfio" != xauto-detect && test "x$ac_cv_libbfio" != xyes; then : 40079 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 40080$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 40081as_fn_error 1 "unable to find supported libbfio in directory: $ac_cv_with_libbfio 40082See \`config.log' for more details" "$LINENO" 5; } 40083 40084fi 40085 40086fi 40087 40088 if test "x$ac_cv_libbfio" = xyes; then : 40089 40090$as_echo "#define HAVE_LIBBFIO 1" >>confdefs.h 40091 40092 40093fi 40094 40095 if test "x$ac_cv_libbfio" = xyes; then : 40096 HAVE_LIBBFIO=1 40097 40098else 40099 HAVE_LIBBFIO=0 40100 40101 40102fi 40103 40104 40105 if test "x$ac_cv_libbfio" != xyes; then : 40106 40107 ac_cv_libbfio_CPPFLAGS="-I../libbfio"; 40108 ac_cv_libbfio_LIBADD="../libbfio/libbfio.la"; 40109 40110 ac_cv_libbfio=local 40111 40112 40113 40114$as_echo "#define HAVE_LOCAL_LIBBFIO 1" >>confdefs.h 40115 40116 HAVE_LOCAL_LIBBFIO=1 40117 40118 40119fi 40120 40121 if test "x$ac_cv_libbfio" = xlocal; then 40122 HAVE_LOCAL_LIBBFIO_TRUE= 40123 HAVE_LOCAL_LIBBFIO_FALSE='#' 40124else 40125 HAVE_LOCAL_LIBBFIO_TRUE='#' 40126 HAVE_LOCAL_LIBBFIO_FALSE= 40127fi 40128 40129 if test "x$ac_cv_libbfio_CPPFLAGS" != "x"; then : 40130 LIBBFIO_CPPFLAGS=$ac_cv_libbfio_CPPFLAGS 40131 40132 40133fi 40134 if test "x$ac_cv_libbfio_LIBADD" != "x"; then : 40135 LIBBFIO_LIBADD=$ac_cv_libbfio_LIBADD 40136 40137 40138fi 40139 40140 if test "x$ac_cv_libbfio" = xyes; then : 40141 ax_libbfio_pc_libs_private=-lbfio 40142 40143 40144fi 40145 40146 if test "x$ac_cv_libbfio" = xyes; then : 40147 ax_libbfio_spec_requires=libbfio 40148 40149 ax_libbfio_spec_build_requires=libbfio-devel 40150 40151 40152fi 40153 40154 40155 40156 40157# Check whether --with-libfdatetime was given. 40158if test "${with_libfdatetime+set}" = set; then : 40159 withval=$with_libfdatetime; ac_cv_with_libfdatetime=$withval 40160else 40161 ac_cv_with_libfdatetime=auto-detect 40162fi 40163 40164 { $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 40165$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; } 40166if ${ac_cv_with_libfdatetime+:} false; then : 40167 $as_echo_n "(cached) " >&6 40168else 40169 ac_cv_with_libfdatetime=auto-detect 40170fi 40171{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libfdatetime" >&5 40172$as_echo "$ac_cv_with_libfdatetime" >&6; } 40173 40174 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libfdatetime" = xno; then : 40175 ac_cv_libfdatetime=no 40176else 40177 ac_cv_libfdatetime=check 40178 if test "x$ac_cv_with_libfdatetime" != x && test "x$ac_cv_with_libfdatetime" != xauto-detect; then : 40179 if test -d "$ac_cv_with_libfdatetime"; then : 40180 CFLAGS="$CFLAGS -I${ac_cv_with_libfdatetime}/include" 40181 LDFLAGS="$LDFLAGS -L${ac_cv_with_libfdatetime}/lib" 40182else 40183 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 40184$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 40185as_fn_error 1 "no such directory: $ac_cv_with_libfdatetime 40186See \`config.log' for more details" "$LINENO" 5; } 40187 40188fi 40189 40190else 40191 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 40192 40193pkg_failed=no 40194{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime" >&5 40195$as_echo_n "checking for libfdatetime... " >&6; } 40196 40197if test -n "$libfdatetime_CFLAGS"; then 40198 pkg_cv_libfdatetime_CFLAGS="$libfdatetime_CFLAGS" 40199 elif test -n "$PKG_CONFIG"; then 40200 if test -n "$PKG_CONFIG" && \ 40201 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfdatetime >= 20180910\""; } >&5 40202 ($PKG_CONFIG --exists --print-errors "libfdatetime >= 20180910") 2>&5 40203 ac_status=$? 40204 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 40205 test $ac_status = 0; }; then 40206 pkg_cv_libfdatetime_CFLAGS=`$PKG_CONFIG --cflags "libfdatetime >= 20180910" 2>/dev/null` 40207 test "x$?" != "x0" && pkg_failed=yes 40208else 40209 pkg_failed=yes 40210fi 40211 else 40212 pkg_failed=untried 40213fi 40214if test -n "$libfdatetime_LIBS"; then 40215 pkg_cv_libfdatetime_LIBS="$libfdatetime_LIBS" 40216 elif test -n "$PKG_CONFIG"; then 40217 if test -n "$PKG_CONFIG" && \ 40218 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfdatetime >= 20180910\""; } >&5 40219 ($PKG_CONFIG --exists --print-errors "libfdatetime >= 20180910") 2>&5 40220 ac_status=$? 40221 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 40222 test $ac_status = 0; }; then 40223 pkg_cv_libfdatetime_LIBS=`$PKG_CONFIG --libs "libfdatetime >= 20180910" 2>/dev/null` 40224 test "x$?" != "x0" && pkg_failed=yes 40225else 40226 pkg_failed=yes 40227fi 40228 else 40229 pkg_failed=untried 40230fi 40231 40232 40233 40234if test $pkg_failed = yes; then 40235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 40236$as_echo "no" >&6; } 40237 40238if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 40239 _pkg_short_errors_supported=yes 40240else 40241 _pkg_short_errors_supported=no 40242fi 40243 if test $_pkg_short_errors_supported = yes; then 40244 libfdatetime_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libfdatetime >= 20180910" 2>&1` 40245 else 40246 libfdatetime_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libfdatetime >= 20180910" 2>&1` 40247 fi 40248 # Put the nasty error message in config.log where it belongs 40249 echo "$libfdatetime_PKG_ERRORS" >&5 40250 40251 ac_cv_libfdatetime=check 40252elif test $pkg_failed = untried; then 40253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 40254$as_echo "no" >&6; } 40255 ac_cv_libfdatetime=check 40256else 40257 libfdatetime_CFLAGS=$pkg_cv_libfdatetime_CFLAGS 40258 libfdatetime_LIBS=$pkg_cv_libfdatetime_LIBS 40259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 40260$as_echo "yes" >&6; } 40261 ac_cv_libfdatetime=yes 40262fi 40263 40264fi 40265 if test "x$ac_cv_libfdatetime" = xyes; then : 40266 ac_cv_libfdatetime_CPPFLAGS="$pkg_cv_libfdatetime_CFLAGS" 40267 ac_cv_libfdatetime_LIBADD="$pkg_cv_libfdatetime_LIBS" 40268fi 40269 40270fi 40271 40272 if test "x$ac_cv_libfdatetime" = xcheck; then : 40273 for ac_header in libfdatetime.h 40274do : 40275 ac_fn_c_check_header_mongrel "$LINENO" "libfdatetime.h" "ac_cv_header_libfdatetime_h" "$ac_includes_default" 40276if test "x$ac_cv_header_libfdatetime_h" = xyes; then : 40277 cat >>confdefs.h <<_ACEOF 40278#define HAVE_LIBFDATETIME_H 1 40279_ACEOF 40280 40281fi 40282 40283done 40284 40285 40286 if test "x$ac_cv_header_libfdatetime_h" = xno; then : 40287 ac_cv_libfdatetime=no 40288else 40289 ac_cv_libfdatetime=yes 40290 40291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_get_version in -lfdatetime" >&5 40292$as_echo_n "checking for libfdatetime_get_version in -lfdatetime... " >&6; } 40293if ${ac_cv_lib_fdatetime_libfdatetime_get_version+:} false; then : 40294 $as_echo_n "(cached) " >&6 40295else 40296 ac_check_lib_save_LIBS=$LIBS 40297LIBS="-lfdatetime $LIBS" 40298cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40299/* end confdefs.h. */ 40300 40301/* Override any GCC internal prototype to avoid an error. 40302 Use char because int might match the return type of a GCC 40303 builtin and then its argument prototype would still apply. */ 40304#ifdef __cplusplus 40305extern "C" 40306#endif 40307char libfdatetime_get_version (); 40308int 40309main () 40310{ 40311return libfdatetime_get_version (); 40312 ; 40313 return 0; 40314} 40315_ACEOF 40316if ac_fn_c_try_link "$LINENO"; then : 40317 ac_cv_lib_fdatetime_libfdatetime_get_version=yes 40318else 40319 ac_cv_lib_fdatetime_libfdatetime_get_version=no 40320fi 40321rm -f core conftest.err conftest.$ac_objext \ 40322 conftest$ac_exeext conftest.$ac_ext 40323LIBS=$ac_check_lib_save_LIBS 40324fi 40325{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_get_version" >&5 40326$as_echo "$ac_cv_lib_fdatetime_libfdatetime_get_version" >&6; } 40327if test "x$ac_cv_lib_fdatetime_libfdatetime_get_version" = xyes; then : 40328 ac_cv_libfdatetime_dummy=yes 40329else 40330 ac_cv_libfdatetime=no 40331fi 40332 40333 40334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_fat_date_time_initialize in -lfdatetime" >&5 40335$as_echo_n "checking for libfdatetime_fat_date_time_initialize in -lfdatetime... " >&6; } 40336if ${ac_cv_lib_fdatetime_libfdatetime_fat_date_time_initialize+:} false; then : 40337 $as_echo_n "(cached) " >&6 40338else 40339 ac_check_lib_save_LIBS=$LIBS 40340LIBS="-lfdatetime $LIBS" 40341cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40342/* end confdefs.h. */ 40343 40344/* Override any GCC internal prototype to avoid an error. 40345 Use char because int might match the return type of a GCC 40346 builtin and then its argument prototype would still apply. */ 40347#ifdef __cplusplus 40348extern "C" 40349#endif 40350char libfdatetime_fat_date_time_initialize (); 40351int 40352main () 40353{ 40354return libfdatetime_fat_date_time_initialize (); 40355 ; 40356 return 0; 40357} 40358_ACEOF 40359if ac_fn_c_try_link "$LINENO"; then : 40360 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_initialize=yes 40361else 40362 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_initialize=no 40363fi 40364rm -f core conftest.err conftest.$ac_objext \ 40365 conftest$ac_exeext conftest.$ac_ext 40366LIBS=$ac_check_lib_save_LIBS 40367fi 40368{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_fat_date_time_initialize" >&5 40369$as_echo "$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_initialize" >&6; } 40370if test "x$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_initialize" = xyes; then : 40371 ac_cv_libfdatetime_dummy=yes 40372else 40373 ac_cv_libfdatetime=no 40374fi 40375 40376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_fat_date_time_free in -lfdatetime" >&5 40377$as_echo_n "checking for libfdatetime_fat_date_time_free in -lfdatetime... " >&6; } 40378if ${ac_cv_lib_fdatetime_libfdatetime_fat_date_time_free+:} false; then : 40379 $as_echo_n "(cached) " >&6 40380else 40381 ac_check_lib_save_LIBS=$LIBS 40382LIBS="-lfdatetime $LIBS" 40383cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40384/* end confdefs.h. */ 40385 40386/* Override any GCC internal prototype to avoid an error. 40387 Use char because int might match the return type of a GCC 40388 builtin and then its argument prototype would still apply. */ 40389#ifdef __cplusplus 40390extern "C" 40391#endif 40392char libfdatetime_fat_date_time_free (); 40393int 40394main () 40395{ 40396return libfdatetime_fat_date_time_free (); 40397 ; 40398 return 0; 40399} 40400_ACEOF 40401if ac_fn_c_try_link "$LINENO"; then : 40402 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_free=yes 40403else 40404 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_free=no 40405fi 40406rm -f core conftest.err conftest.$ac_objext \ 40407 conftest$ac_exeext conftest.$ac_ext 40408LIBS=$ac_check_lib_save_LIBS 40409fi 40410{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_fat_date_time_free" >&5 40411$as_echo "$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_free" >&6; } 40412if test "x$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_free" = xyes; then : 40413 ac_cv_libfdatetime_dummy=yes 40414else 40415 ac_cv_libfdatetime=no 40416fi 40417 40418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_fat_date_time_copy_from_byte_stream in -lfdatetime" >&5 40419$as_echo_n "checking for libfdatetime_fat_date_time_copy_from_byte_stream in -lfdatetime... " >&6; } 40420if ${ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_from_byte_stream+:} false; then : 40421 $as_echo_n "(cached) " >&6 40422else 40423 ac_check_lib_save_LIBS=$LIBS 40424LIBS="-lfdatetime $LIBS" 40425cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40426/* end confdefs.h. */ 40427 40428/* Override any GCC internal prototype to avoid an error. 40429 Use char because int might match the return type of a GCC 40430 builtin and then its argument prototype would still apply. */ 40431#ifdef __cplusplus 40432extern "C" 40433#endif 40434char libfdatetime_fat_date_time_copy_from_byte_stream (); 40435int 40436main () 40437{ 40438return libfdatetime_fat_date_time_copy_from_byte_stream (); 40439 ; 40440 return 0; 40441} 40442_ACEOF 40443if ac_fn_c_try_link "$LINENO"; then : 40444 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_from_byte_stream=yes 40445else 40446 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_from_byte_stream=no 40447fi 40448rm -f core conftest.err conftest.$ac_objext \ 40449 conftest$ac_exeext conftest.$ac_ext 40450LIBS=$ac_check_lib_save_LIBS 40451fi 40452{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_from_byte_stream" >&5 40453$as_echo "$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_from_byte_stream" >&6; } 40454if test "x$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_from_byte_stream" = xyes; then : 40455 ac_cv_libfdatetime_dummy=yes 40456else 40457 ac_cv_libfdatetime=no 40458fi 40459 40460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_fat_date_time_copy_from_32bit in -lfdatetime" >&5 40461$as_echo_n "checking for libfdatetime_fat_date_time_copy_from_32bit in -lfdatetime... " >&6; } 40462if ${ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_from_32bit+:} false; then : 40463 $as_echo_n "(cached) " >&6 40464else 40465 ac_check_lib_save_LIBS=$LIBS 40466LIBS="-lfdatetime $LIBS" 40467cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40468/* end confdefs.h. */ 40469 40470/* Override any GCC internal prototype to avoid an error. 40471 Use char because int might match the return type of a GCC 40472 builtin and then its argument prototype would still apply. */ 40473#ifdef __cplusplus 40474extern "C" 40475#endif 40476char libfdatetime_fat_date_time_copy_from_32bit (); 40477int 40478main () 40479{ 40480return libfdatetime_fat_date_time_copy_from_32bit (); 40481 ; 40482 return 0; 40483} 40484_ACEOF 40485if ac_fn_c_try_link "$LINENO"; then : 40486 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_from_32bit=yes 40487else 40488 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_from_32bit=no 40489fi 40490rm -f core conftest.err conftest.$ac_objext \ 40491 conftest$ac_exeext conftest.$ac_ext 40492LIBS=$ac_check_lib_save_LIBS 40493fi 40494{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_from_32bit" >&5 40495$as_echo "$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_from_32bit" >&6; } 40496if test "x$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_from_32bit" = xyes; then : 40497 ac_cv_libfdatetime_dummy=yes 40498else 40499 ac_cv_libfdatetime=no 40500fi 40501 40502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_fat_date_time_copy_to_32bit in -lfdatetime" >&5 40503$as_echo_n "checking for libfdatetime_fat_date_time_copy_to_32bit in -lfdatetime... " >&6; } 40504if ${ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_32bit+:} false; then : 40505 $as_echo_n "(cached) " >&6 40506else 40507 ac_check_lib_save_LIBS=$LIBS 40508LIBS="-lfdatetime $LIBS" 40509cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40510/* end confdefs.h. */ 40511 40512/* Override any GCC internal prototype to avoid an error. 40513 Use char because int might match the return type of a GCC 40514 builtin and then its argument prototype would still apply. */ 40515#ifdef __cplusplus 40516extern "C" 40517#endif 40518char libfdatetime_fat_date_time_copy_to_32bit (); 40519int 40520main () 40521{ 40522return libfdatetime_fat_date_time_copy_to_32bit (); 40523 ; 40524 return 0; 40525} 40526_ACEOF 40527if ac_fn_c_try_link "$LINENO"; then : 40528 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_32bit=yes 40529else 40530 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_32bit=no 40531fi 40532rm -f core conftest.err conftest.$ac_objext \ 40533 conftest$ac_exeext conftest.$ac_ext 40534LIBS=$ac_check_lib_save_LIBS 40535fi 40536{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_32bit" >&5 40537$as_echo "$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_32bit" >&6; } 40538if test "x$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_32bit" = xyes; then : 40539 ac_cv_libfdatetime_dummy=yes 40540else 40541 ac_cv_libfdatetime=no 40542fi 40543 40544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_fat_date_time_copy_to_utf8_string in -lfdatetime" >&5 40545$as_echo_n "checking for libfdatetime_fat_date_time_copy_to_utf8_string in -lfdatetime... " >&6; } 40546if ${ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf8_string+:} false; then : 40547 $as_echo_n "(cached) " >&6 40548else 40549 ac_check_lib_save_LIBS=$LIBS 40550LIBS="-lfdatetime $LIBS" 40551cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40552/* end confdefs.h. */ 40553 40554/* Override any GCC internal prototype to avoid an error. 40555 Use char because int might match the return type of a GCC 40556 builtin and then its argument prototype would still apply. */ 40557#ifdef __cplusplus 40558extern "C" 40559#endif 40560char libfdatetime_fat_date_time_copy_to_utf8_string (); 40561int 40562main () 40563{ 40564return libfdatetime_fat_date_time_copy_to_utf8_string (); 40565 ; 40566 return 0; 40567} 40568_ACEOF 40569if ac_fn_c_try_link "$LINENO"; then : 40570 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf8_string=yes 40571else 40572 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf8_string=no 40573fi 40574rm -f core conftest.err conftest.$ac_objext \ 40575 conftest$ac_exeext conftest.$ac_ext 40576LIBS=$ac_check_lib_save_LIBS 40577fi 40578{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf8_string" >&5 40579$as_echo "$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf8_string" >&6; } 40580if test "x$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf8_string" = xyes; then : 40581 ac_cv_libfdatetime_dummy=yes 40582else 40583 ac_cv_libfdatetime=no 40584fi 40585 40586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_fat_date_time_copy_to_utf8_string_with_index in -lfdatetime" >&5 40587$as_echo_n "checking for libfdatetime_fat_date_time_copy_to_utf8_string_with_index in -lfdatetime... " >&6; } 40588if ${ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf8_string_with_index+:} false; then : 40589 $as_echo_n "(cached) " >&6 40590else 40591 ac_check_lib_save_LIBS=$LIBS 40592LIBS="-lfdatetime $LIBS" 40593cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40594/* end confdefs.h. */ 40595 40596/* Override any GCC internal prototype to avoid an error. 40597 Use char because int might match the return type of a GCC 40598 builtin and then its argument prototype would still apply. */ 40599#ifdef __cplusplus 40600extern "C" 40601#endif 40602char libfdatetime_fat_date_time_copy_to_utf8_string_with_index (); 40603int 40604main () 40605{ 40606return libfdatetime_fat_date_time_copy_to_utf8_string_with_index (); 40607 ; 40608 return 0; 40609} 40610_ACEOF 40611if ac_fn_c_try_link "$LINENO"; then : 40612 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf8_string_with_index=yes 40613else 40614 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf8_string_with_index=no 40615fi 40616rm -f core conftest.err conftest.$ac_objext \ 40617 conftest$ac_exeext conftest.$ac_ext 40618LIBS=$ac_check_lib_save_LIBS 40619fi 40620{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf8_string_with_index" >&5 40621$as_echo "$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf8_string_with_index" >&6; } 40622if test "x$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf8_string_with_index" = xyes; then : 40623 ac_cv_libfdatetime_dummy=yes 40624else 40625 ac_cv_libfdatetime=no 40626fi 40627 40628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_fat_date_time_copy_to_utf16_string in -lfdatetime" >&5 40629$as_echo_n "checking for libfdatetime_fat_date_time_copy_to_utf16_string in -lfdatetime... " >&6; } 40630if ${ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf16_string+:} false; then : 40631 $as_echo_n "(cached) " >&6 40632else 40633 ac_check_lib_save_LIBS=$LIBS 40634LIBS="-lfdatetime $LIBS" 40635cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40636/* end confdefs.h. */ 40637 40638/* Override any GCC internal prototype to avoid an error. 40639 Use char because int might match the return type of a GCC 40640 builtin and then its argument prototype would still apply. */ 40641#ifdef __cplusplus 40642extern "C" 40643#endif 40644char libfdatetime_fat_date_time_copy_to_utf16_string (); 40645int 40646main () 40647{ 40648return libfdatetime_fat_date_time_copy_to_utf16_string (); 40649 ; 40650 return 0; 40651} 40652_ACEOF 40653if ac_fn_c_try_link "$LINENO"; then : 40654 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf16_string=yes 40655else 40656 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf16_string=no 40657fi 40658rm -f core conftest.err conftest.$ac_objext \ 40659 conftest$ac_exeext conftest.$ac_ext 40660LIBS=$ac_check_lib_save_LIBS 40661fi 40662{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf16_string" >&5 40663$as_echo "$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf16_string" >&6; } 40664if test "x$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf16_string" = xyes; then : 40665 ac_cv_libfdatetime_dummy=yes 40666else 40667 ac_cv_libfdatetime=no 40668fi 40669 40670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_fat_date_time_copy_to_utf16_string_with_index in -lfdatetime" >&5 40671$as_echo_n "checking for libfdatetime_fat_date_time_copy_to_utf16_string_with_index in -lfdatetime... " >&6; } 40672if ${ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf16_string_with_index+:} false; then : 40673 $as_echo_n "(cached) " >&6 40674else 40675 ac_check_lib_save_LIBS=$LIBS 40676LIBS="-lfdatetime $LIBS" 40677cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40678/* end confdefs.h. */ 40679 40680/* Override any GCC internal prototype to avoid an error. 40681 Use char because int might match the return type of a GCC 40682 builtin and then its argument prototype would still apply. */ 40683#ifdef __cplusplus 40684extern "C" 40685#endif 40686char libfdatetime_fat_date_time_copy_to_utf16_string_with_index (); 40687int 40688main () 40689{ 40690return libfdatetime_fat_date_time_copy_to_utf16_string_with_index (); 40691 ; 40692 return 0; 40693} 40694_ACEOF 40695if ac_fn_c_try_link "$LINENO"; then : 40696 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf16_string_with_index=yes 40697else 40698 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf16_string_with_index=no 40699fi 40700rm -f core conftest.err conftest.$ac_objext \ 40701 conftest$ac_exeext conftest.$ac_ext 40702LIBS=$ac_check_lib_save_LIBS 40703fi 40704{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf16_string_with_index" >&5 40705$as_echo "$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf16_string_with_index" >&6; } 40706if test "x$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf16_string_with_index" = xyes; then : 40707 ac_cv_libfdatetime_dummy=yes 40708else 40709 ac_cv_libfdatetime=no 40710fi 40711 40712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_fat_date_time_copy_to_utf32_string in -lfdatetime" >&5 40713$as_echo_n "checking for libfdatetime_fat_date_time_copy_to_utf32_string in -lfdatetime... " >&6; } 40714if ${ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf32_string+:} false; then : 40715 $as_echo_n "(cached) " >&6 40716else 40717 ac_check_lib_save_LIBS=$LIBS 40718LIBS="-lfdatetime $LIBS" 40719cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40720/* end confdefs.h. */ 40721 40722/* Override any GCC internal prototype to avoid an error. 40723 Use char because int might match the return type of a GCC 40724 builtin and then its argument prototype would still apply. */ 40725#ifdef __cplusplus 40726extern "C" 40727#endif 40728char libfdatetime_fat_date_time_copy_to_utf32_string (); 40729int 40730main () 40731{ 40732return libfdatetime_fat_date_time_copy_to_utf32_string (); 40733 ; 40734 return 0; 40735} 40736_ACEOF 40737if ac_fn_c_try_link "$LINENO"; then : 40738 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf32_string=yes 40739else 40740 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf32_string=no 40741fi 40742rm -f core conftest.err conftest.$ac_objext \ 40743 conftest$ac_exeext conftest.$ac_ext 40744LIBS=$ac_check_lib_save_LIBS 40745fi 40746{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf32_string" >&5 40747$as_echo "$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf32_string" >&6; } 40748if test "x$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf32_string" = xyes; then : 40749 ac_cv_libfdatetime_dummy=yes 40750else 40751 ac_cv_libfdatetime=no 40752fi 40753 40754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_fat_date_time_copy_to_utf32_string_with_index in -lfdatetime" >&5 40755$as_echo_n "checking for libfdatetime_fat_date_time_copy_to_utf32_string_with_index in -lfdatetime... " >&6; } 40756if ${ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf32_string_with_index+:} false; then : 40757 $as_echo_n "(cached) " >&6 40758else 40759 ac_check_lib_save_LIBS=$LIBS 40760LIBS="-lfdatetime $LIBS" 40761cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40762/* end confdefs.h. */ 40763 40764/* Override any GCC internal prototype to avoid an error. 40765 Use char because int might match the return type of a GCC 40766 builtin and then its argument prototype would still apply. */ 40767#ifdef __cplusplus 40768extern "C" 40769#endif 40770char libfdatetime_fat_date_time_copy_to_utf32_string_with_index (); 40771int 40772main () 40773{ 40774return libfdatetime_fat_date_time_copy_to_utf32_string_with_index (); 40775 ; 40776 return 0; 40777} 40778_ACEOF 40779if ac_fn_c_try_link "$LINENO"; then : 40780 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf32_string_with_index=yes 40781else 40782 ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf32_string_with_index=no 40783fi 40784rm -f core conftest.err conftest.$ac_objext \ 40785 conftest$ac_exeext conftest.$ac_ext 40786LIBS=$ac_check_lib_save_LIBS 40787fi 40788{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf32_string_with_index" >&5 40789$as_echo "$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf32_string_with_index" >&6; } 40790if test "x$ac_cv_lib_fdatetime_libfdatetime_fat_date_time_copy_to_utf32_string_with_index" = xyes; then : 40791 ac_cv_libfdatetime_dummy=yes 40792else 40793 ac_cv_libfdatetime=no 40794fi 40795 40796 40797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_filetime_initialize in -lfdatetime" >&5 40798$as_echo_n "checking for libfdatetime_filetime_initialize in -lfdatetime... " >&6; } 40799if ${ac_cv_lib_fdatetime_libfdatetime_filetime_initialize+:} false; then : 40800 $as_echo_n "(cached) " >&6 40801else 40802 ac_check_lib_save_LIBS=$LIBS 40803LIBS="-lfdatetime $LIBS" 40804cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40805/* end confdefs.h. */ 40806 40807/* Override any GCC internal prototype to avoid an error. 40808 Use char because int might match the return type of a GCC 40809 builtin and then its argument prototype would still apply. */ 40810#ifdef __cplusplus 40811extern "C" 40812#endif 40813char libfdatetime_filetime_initialize (); 40814int 40815main () 40816{ 40817return libfdatetime_filetime_initialize (); 40818 ; 40819 return 0; 40820} 40821_ACEOF 40822if ac_fn_c_try_link "$LINENO"; then : 40823 ac_cv_lib_fdatetime_libfdatetime_filetime_initialize=yes 40824else 40825 ac_cv_lib_fdatetime_libfdatetime_filetime_initialize=no 40826fi 40827rm -f core conftest.err conftest.$ac_objext \ 40828 conftest$ac_exeext conftest.$ac_ext 40829LIBS=$ac_check_lib_save_LIBS 40830fi 40831{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_filetime_initialize" >&5 40832$as_echo "$ac_cv_lib_fdatetime_libfdatetime_filetime_initialize" >&6; } 40833if test "x$ac_cv_lib_fdatetime_libfdatetime_filetime_initialize" = xyes; then : 40834 ac_cv_libfdatetime_dummy=yes 40835else 40836 ac_cv_libfdatetime=no 40837fi 40838 40839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_filetime_free in -lfdatetime" >&5 40840$as_echo_n "checking for libfdatetime_filetime_free in -lfdatetime... " >&6; } 40841if ${ac_cv_lib_fdatetime_libfdatetime_filetime_free+:} false; then : 40842 $as_echo_n "(cached) " >&6 40843else 40844 ac_check_lib_save_LIBS=$LIBS 40845LIBS="-lfdatetime $LIBS" 40846cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40847/* end confdefs.h. */ 40848 40849/* Override any GCC internal prototype to avoid an error. 40850 Use char because int might match the return type of a GCC 40851 builtin and then its argument prototype would still apply. */ 40852#ifdef __cplusplus 40853extern "C" 40854#endif 40855char libfdatetime_filetime_free (); 40856int 40857main () 40858{ 40859return libfdatetime_filetime_free (); 40860 ; 40861 return 0; 40862} 40863_ACEOF 40864if ac_fn_c_try_link "$LINENO"; then : 40865 ac_cv_lib_fdatetime_libfdatetime_filetime_free=yes 40866else 40867 ac_cv_lib_fdatetime_libfdatetime_filetime_free=no 40868fi 40869rm -f core conftest.err conftest.$ac_objext \ 40870 conftest$ac_exeext conftest.$ac_ext 40871LIBS=$ac_check_lib_save_LIBS 40872fi 40873{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_filetime_free" >&5 40874$as_echo "$ac_cv_lib_fdatetime_libfdatetime_filetime_free" >&6; } 40875if test "x$ac_cv_lib_fdatetime_libfdatetime_filetime_free" = xyes; then : 40876 ac_cv_libfdatetime_dummy=yes 40877else 40878 ac_cv_libfdatetime=no 40879fi 40880 40881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_filetime_copy_from_byte_stream in -lfdatetime" >&5 40882$as_echo_n "checking for libfdatetime_filetime_copy_from_byte_stream in -lfdatetime... " >&6; } 40883if ${ac_cv_lib_fdatetime_libfdatetime_filetime_copy_from_byte_stream+:} false; then : 40884 $as_echo_n "(cached) " >&6 40885else 40886 ac_check_lib_save_LIBS=$LIBS 40887LIBS="-lfdatetime $LIBS" 40888cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40889/* end confdefs.h. */ 40890 40891/* Override any GCC internal prototype to avoid an error. 40892 Use char because int might match the return type of a GCC 40893 builtin and then its argument prototype would still apply. */ 40894#ifdef __cplusplus 40895extern "C" 40896#endif 40897char libfdatetime_filetime_copy_from_byte_stream (); 40898int 40899main () 40900{ 40901return libfdatetime_filetime_copy_from_byte_stream (); 40902 ; 40903 return 0; 40904} 40905_ACEOF 40906if ac_fn_c_try_link "$LINENO"; then : 40907 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_from_byte_stream=yes 40908else 40909 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_from_byte_stream=no 40910fi 40911rm -f core conftest.err conftest.$ac_objext \ 40912 conftest$ac_exeext conftest.$ac_ext 40913LIBS=$ac_check_lib_save_LIBS 40914fi 40915{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_filetime_copy_from_byte_stream" >&5 40916$as_echo "$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_from_byte_stream" >&6; } 40917if test "x$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_from_byte_stream" = xyes; then : 40918 ac_cv_libfdatetime_dummy=yes 40919else 40920 ac_cv_libfdatetime=no 40921fi 40922 40923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_filetime_copy_from_64bit in -lfdatetime" >&5 40924$as_echo_n "checking for libfdatetime_filetime_copy_from_64bit in -lfdatetime... " >&6; } 40925if ${ac_cv_lib_fdatetime_libfdatetime_filetime_copy_from_64bit+:} false; then : 40926 $as_echo_n "(cached) " >&6 40927else 40928 ac_check_lib_save_LIBS=$LIBS 40929LIBS="-lfdatetime $LIBS" 40930cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40931/* end confdefs.h. */ 40932 40933/* Override any GCC internal prototype to avoid an error. 40934 Use char because int might match the return type of a GCC 40935 builtin and then its argument prototype would still apply. */ 40936#ifdef __cplusplus 40937extern "C" 40938#endif 40939char libfdatetime_filetime_copy_from_64bit (); 40940int 40941main () 40942{ 40943return libfdatetime_filetime_copy_from_64bit (); 40944 ; 40945 return 0; 40946} 40947_ACEOF 40948if ac_fn_c_try_link "$LINENO"; then : 40949 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_from_64bit=yes 40950else 40951 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_from_64bit=no 40952fi 40953rm -f core conftest.err conftest.$ac_objext \ 40954 conftest$ac_exeext conftest.$ac_ext 40955LIBS=$ac_check_lib_save_LIBS 40956fi 40957{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_filetime_copy_from_64bit" >&5 40958$as_echo "$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_from_64bit" >&6; } 40959if test "x$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_from_64bit" = xyes; then : 40960 ac_cv_libfdatetime_dummy=yes 40961else 40962 ac_cv_libfdatetime=no 40963fi 40964 40965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_filetime_copy_to_64bit in -lfdatetime" >&5 40966$as_echo_n "checking for libfdatetime_filetime_copy_to_64bit in -lfdatetime... " >&6; } 40967if ${ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_64bit+:} false; then : 40968 $as_echo_n "(cached) " >&6 40969else 40970 ac_check_lib_save_LIBS=$LIBS 40971LIBS="-lfdatetime $LIBS" 40972cat confdefs.h - <<_ACEOF >conftest.$ac_ext 40973/* end confdefs.h. */ 40974 40975/* Override any GCC internal prototype to avoid an error. 40976 Use char because int might match the return type of a GCC 40977 builtin and then its argument prototype would still apply. */ 40978#ifdef __cplusplus 40979extern "C" 40980#endif 40981char libfdatetime_filetime_copy_to_64bit (); 40982int 40983main () 40984{ 40985return libfdatetime_filetime_copy_to_64bit (); 40986 ; 40987 return 0; 40988} 40989_ACEOF 40990if ac_fn_c_try_link "$LINENO"; then : 40991 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_64bit=yes 40992else 40993 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_64bit=no 40994fi 40995rm -f core conftest.err conftest.$ac_objext \ 40996 conftest$ac_exeext conftest.$ac_ext 40997LIBS=$ac_check_lib_save_LIBS 40998fi 40999{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_64bit" >&5 41000$as_echo "$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_64bit" >&6; } 41001if test "x$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_64bit" = xyes; then : 41002 ac_cv_libfdatetime_dummy=yes 41003else 41004 ac_cv_libfdatetime=no 41005fi 41006 41007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_filetime_copy_to_utf8_string in -lfdatetime" >&5 41008$as_echo_n "checking for libfdatetime_filetime_copy_to_utf8_string in -lfdatetime... " >&6; } 41009if ${ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf8_string+:} false; then : 41010 $as_echo_n "(cached) " >&6 41011else 41012 ac_check_lib_save_LIBS=$LIBS 41013LIBS="-lfdatetime $LIBS" 41014cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41015/* end confdefs.h. */ 41016 41017/* Override any GCC internal prototype to avoid an error. 41018 Use char because int might match the return type of a GCC 41019 builtin and then its argument prototype would still apply. */ 41020#ifdef __cplusplus 41021extern "C" 41022#endif 41023char libfdatetime_filetime_copy_to_utf8_string (); 41024int 41025main () 41026{ 41027return libfdatetime_filetime_copy_to_utf8_string (); 41028 ; 41029 return 0; 41030} 41031_ACEOF 41032if ac_fn_c_try_link "$LINENO"; then : 41033 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf8_string=yes 41034else 41035 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf8_string=no 41036fi 41037rm -f core conftest.err conftest.$ac_objext \ 41038 conftest$ac_exeext conftest.$ac_ext 41039LIBS=$ac_check_lib_save_LIBS 41040fi 41041{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf8_string" >&5 41042$as_echo "$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf8_string" >&6; } 41043if test "x$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf8_string" = xyes; then : 41044 ac_cv_libfdatetime_dummy=yes 41045else 41046 ac_cv_libfdatetime=no 41047fi 41048 41049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_filetime_copy_to_utf8_string_with_index in -lfdatetime" >&5 41050$as_echo_n "checking for libfdatetime_filetime_copy_to_utf8_string_with_index in -lfdatetime... " >&6; } 41051if ${ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf8_string_with_index+:} false; then : 41052 $as_echo_n "(cached) " >&6 41053else 41054 ac_check_lib_save_LIBS=$LIBS 41055LIBS="-lfdatetime $LIBS" 41056cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41057/* end confdefs.h. */ 41058 41059/* Override any GCC internal prototype to avoid an error. 41060 Use char because int might match the return type of a GCC 41061 builtin and then its argument prototype would still apply. */ 41062#ifdef __cplusplus 41063extern "C" 41064#endif 41065char libfdatetime_filetime_copy_to_utf8_string_with_index (); 41066int 41067main () 41068{ 41069return libfdatetime_filetime_copy_to_utf8_string_with_index (); 41070 ; 41071 return 0; 41072} 41073_ACEOF 41074if ac_fn_c_try_link "$LINENO"; then : 41075 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf8_string_with_index=yes 41076else 41077 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf8_string_with_index=no 41078fi 41079rm -f core conftest.err conftest.$ac_objext \ 41080 conftest$ac_exeext conftest.$ac_ext 41081LIBS=$ac_check_lib_save_LIBS 41082fi 41083{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf8_string_with_index" >&5 41084$as_echo "$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf8_string_with_index" >&6; } 41085if test "x$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf8_string_with_index" = xyes; then : 41086 ac_cv_libfdatetime_dummy=yes 41087else 41088 ac_cv_libfdatetime=no 41089fi 41090 41091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_filetime_copy_to_utf16_string in -lfdatetime" >&5 41092$as_echo_n "checking for libfdatetime_filetime_copy_to_utf16_string in -lfdatetime... " >&6; } 41093if ${ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf16_string+:} false; then : 41094 $as_echo_n "(cached) " >&6 41095else 41096 ac_check_lib_save_LIBS=$LIBS 41097LIBS="-lfdatetime $LIBS" 41098cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41099/* end confdefs.h. */ 41100 41101/* Override any GCC internal prototype to avoid an error. 41102 Use char because int might match the return type of a GCC 41103 builtin and then its argument prototype would still apply. */ 41104#ifdef __cplusplus 41105extern "C" 41106#endif 41107char libfdatetime_filetime_copy_to_utf16_string (); 41108int 41109main () 41110{ 41111return libfdatetime_filetime_copy_to_utf16_string (); 41112 ; 41113 return 0; 41114} 41115_ACEOF 41116if ac_fn_c_try_link "$LINENO"; then : 41117 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf16_string=yes 41118else 41119 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf16_string=no 41120fi 41121rm -f core conftest.err conftest.$ac_objext \ 41122 conftest$ac_exeext conftest.$ac_ext 41123LIBS=$ac_check_lib_save_LIBS 41124fi 41125{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf16_string" >&5 41126$as_echo "$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf16_string" >&6; } 41127if test "x$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf16_string" = xyes; then : 41128 ac_cv_libfdatetime_dummy=yes 41129else 41130 ac_cv_libfdatetime=no 41131fi 41132 41133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_filetime_copy_to_utf16_string_with_index in -lfdatetime" >&5 41134$as_echo_n "checking for libfdatetime_filetime_copy_to_utf16_string_with_index in -lfdatetime... " >&6; } 41135if ${ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf16_string_with_index+:} false; then : 41136 $as_echo_n "(cached) " >&6 41137else 41138 ac_check_lib_save_LIBS=$LIBS 41139LIBS="-lfdatetime $LIBS" 41140cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41141/* end confdefs.h. */ 41142 41143/* Override any GCC internal prototype to avoid an error. 41144 Use char because int might match the return type of a GCC 41145 builtin and then its argument prototype would still apply. */ 41146#ifdef __cplusplus 41147extern "C" 41148#endif 41149char libfdatetime_filetime_copy_to_utf16_string_with_index (); 41150int 41151main () 41152{ 41153return libfdatetime_filetime_copy_to_utf16_string_with_index (); 41154 ; 41155 return 0; 41156} 41157_ACEOF 41158if ac_fn_c_try_link "$LINENO"; then : 41159 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf16_string_with_index=yes 41160else 41161 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf16_string_with_index=no 41162fi 41163rm -f core conftest.err conftest.$ac_objext \ 41164 conftest$ac_exeext conftest.$ac_ext 41165LIBS=$ac_check_lib_save_LIBS 41166fi 41167{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf16_string_with_index" >&5 41168$as_echo "$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf16_string_with_index" >&6; } 41169if test "x$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf16_string_with_index" = xyes; then : 41170 ac_cv_libfdatetime_dummy=yes 41171else 41172 ac_cv_libfdatetime=no 41173fi 41174 41175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_filetime_copy_to_utf32_string in -lfdatetime" >&5 41176$as_echo_n "checking for libfdatetime_filetime_copy_to_utf32_string in -lfdatetime... " >&6; } 41177if ${ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf32_string+:} false; then : 41178 $as_echo_n "(cached) " >&6 41179else 41180 ac_check_lib_save_LIBS=$LIBS 41181LIBS="-lfdatetime $LIBS" 41182cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41183/* end confdefs.h. */ 41184 41185/* Override any GCC internal prototype to avoid an error. 41186 Use char because int might match the return type of a GCC 41187 builtin and then its argument prototype would still apply. */ 41188#ifdef __cplusplus 41189extern "C" 41190#endif 41191char libfdatetime_filetime_copy_to_utf32_string (); 41192int 41193main () 41194{ 41195return libfdatetime_filetime_copy_to_utf32_string (); 41196 ; 41197 return 0; 41198} 41199_ACEOF 41200if ac_fn_c_try_link "$LINENO"; then : 41201 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf32_string=yes 41202else 41203 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf32_string=no 41204fi 41205rm -f core conftest.err conftest.$ac_objext \ 41206 conftest$ac_exeext conftest.$ac_ext 41207LIBS=$ac_check_lib_save_LIBS 41208fi 41209{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf32_string" >&5 41210$as_echo "$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf32_string" >&6; } 41211if test "x$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf32_string" = xyes; then : 41212 ac_cv_libfdatetime_dummy=yes 41213else 41214 ac_cv_libfdatetime=no 41215fi 41216 41217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_filetime_copy_to_utf32_string_with_index in -lfdatetime" >&5 41218$as_echo_n "checking for libfdatetime_filetime_copy_to_utf32_string_with_index in -lfdatetime... " >&6; } 41219if ${ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf32_string_with_index+:} false; then : 41220 $as_echo_n "(cached) " >&6 41221else 41222 ac_check_lib_save_LIBS=$LIBS 41223LIBS="-lfdatetime $LIBS" 41224cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41225/* end confdefs.h. */ 41226 41227/* Override any GCC internal prototype to avoid an error. 41228 Use char because int might match the return type of a GCC 41229 builtin and then its argument prototype would still apply. */ 41230#ifdef __cplusplus 41231extern "C" 41232#endif 41233char libfdatetime_filetime_copy_to_utf32_string_with_index (); 41234int 41235main () 41236{ 41237return libfdatetime_filetime_copy_to_utf32_string_with_index (); 41238 ; 41239 return 0; 41240} 41241_ACEOF 41242if ac_fn_c_try_link "$LINENO"; then : 41243 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf32_string_with_index=yes 41244else 41245 ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf32_string_with_index=no 41246fi 41247rm -f core conftest.err conftest.$ac_objext \ 41248 conftest$ac_exeext conftest.$ac_ext 41249LIBS=$ac_check_lib_save_LIBS 41250fi 41251{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf32_string_with_index" >&5 41252$as_echo "$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf32_string_with_index" >&6; } 41253if test "x$ac_cv_lib_fdatetime_libfdatetime_filetime_copy_to_utf32_string_with_index" = xyes; then : 41254 ac_cv_libfdatetime_dummy=yes 41255else 41256 ac_cv_libfdatetime=no 41257fi 41258 41259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_filetime_add in -lfdatetime" >&5 41260$as_echo_n "checking for libfdatetime_filetime_add in -lfdatetime... " >&6; } 41261if ${ac_cv_lib_fdatetime_libfdatetime_filetime_add+:} false; then : 41262 $as_echo_n "(cached) " >&6 41263else 41264 ac_check_lib_save_LIBS=$LIBS 41265LIBS="-lfdatetime $LIBS" 41266cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41267/* end confdefs.h. */ 41268 41269/* Override any GCC internal prototype to avoid an error. 41270 Use char because int might match the return type of a GCC 41271 builtin and then its argument prototype would still apply. */ 41272#ifdef __cplusplus 41273extern "C" 41274#endif 41275char libfdatetime_filetime_add (); 41276int 41277main () 41278{ 41279return libfdatetime_filetime_add (); 41280 ; 41281 return 0; 41282} 41283_ACEOF 41284if ac_fn_c_try_link "$LINENO"; then : 41285 ac_cv_lib_fdatetime_libfdatetime_filetime_add=yes 41286else 41287 ac_cv_lib_fdatetime_libfdatetime_filetime_add=no 41288fi 41289rm -f core conftest.err conftest.$ac_objext \ 41290 conftest$ac_exeext conftest.$ac_ext 41291LIBS=$ac_check_lib_save_LIBS 41292fi 41293{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_filetime_add" >&5 41294$as_echo "$ac_cv_lib_fdatetime_libfdatetime_filetime_add" >&6; } 41295if test "x$ac_cv_lib_fdatetime_libfdatetime_filetime_add" = xyes; then : 41296 ac_cv_libfdatetime_dummy=yes 41297else 41298 ac_cv_libfdatetime=no 41299fi 41300 41301 41302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_floatingtime_initialize in -lfdatetime" >&5 41303$as_echo_n "checking for libfdatetime_floatingtime_initialize in -lfdatetime... " >&6; } 41304if ${ac_cv_lib_fdatetime_libfdatetime_floatingtime_initialize+:} false; then : 41305 $as_echo_n "(cached) " >&6 41306else 41307 ac_check_lib_save_LIBS=$LIBS 41308LIBS="-lfdatetime $LIBS" 41309cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41310/* end confdefs.h. */ 41311 41312/* Override any GCC internal prototype to avoid an error. 41313 Use char because int might match the return type of a GCC 41314 builtin and then its argument prototype would still apply. */ 41315#ifdef __cplusplus 41316extern "C" 41317#endif 41318char libfdatetime_floatingtime_initialize (); 41319int 41320main () 41321{ 41322return libfdatetime_floatingtime_initialize (); 41323 ; 41324 return 0; 41325} 41326_ACEOF 41327if ac_fn_c_try_link "$LINENO"; then : 41328 ac_cv_lib_fdatetime_libfdatetime_floatingtime_initialize=yes 41329else 41330 ac_cv_lib_fdatetime_libfdatetime_floatingtime_initialize=no 41331fi 41332rm -f core conftest.err conftest.$ac_objext \ 41333 conftest$ac_exeext conftest.$ac_ext 41334LIBS=$ac_check_lib_save_LIBS 41335fi 41336{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_floatingtime_initialize" >&5 41337$as_echo "$ac_cv_lib_fdatetime_libfdatetime_floatingtime_initialize" >&6; } 41338if test "x$ac_cv_lib_fdatetime_libfdatetime_floatingtime_initialize" = xyes; then : 41339 ac_cv_libfdatetime_dummy=yes 41340else 41341 ac_cv_libfdatetime=no 41342fi 41343 41344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_floatingtime_free in -lfdatetime" >&5 41345$as_echo_n "checking for libfdatetime_floatingtime_free in -lfdatetime... " >&6; } 41346if ${ac_cv_lib_fdatetime_libfdatetime_floatingtime_free+:} false; then : 41347 $as_echo_n "(cached) " >&6 41348else 41349 ac_check_lib_save_LIBS=$LIBS 41350LIBS="-lfdatetime $LIBS" 41351cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41352/* end confdefs.h. */ 41353 41354/* Override any GCC internal prototype to avoid an error. 41355 Use char because int might match the return type of a GCC 41356 builtin and then its argument prototype would still apply. */ 41357#ifdef __cplusplus 41358extern "C" 41359#endif 41360char libfdatetime_floatingtime_free (); 41361int 41362main () 41363{ 41364return libfdatetime_floatingtime_free (); 41365 ; 41366 return 0; 41367} 41368_ACEOF 41369if ac_fn_c_try_link "$LINENO"; then : 41370 ac_cv_lib_fdatetime_libfdatetime_floatingtime_free=yes 41371else 41372 ac_cv_lib_fdatetime_libfdatetime_floatingtime_free=no 41373fi 41374rm -f core conftest.err conftest.$ac_objext \ 41375 conftest$ac_exeext conftest.$ac_ext 41376LIBS=$ac_check_lib_save_LIBS 41377fi 41378{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_floatingtime_free" >&5 41379$as_echo "$ac_cv_lib_fdatetime_libfdatetime_floatingtime_free" >&6; } 41380if test "x$ac_cv_lib_fdatetime_libfdatetime_floatingtime_free" = xyes; then : 41381 ac_cv_libfdatetime_dummy=yes 41382else 41383 ac_cv_libfdatetime=no 41384fi 41385 41386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_floatingtime_copy_from_byte_stream in -lfdatetime" >&5 41387$as_echo_n "checking for libfdatetime_floatingtime_copy_from_byte_stream in -lfdatetime... " >&6; } 41388if ${ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_from_byte_stream+:} false; then : 41389 $as_echo_n "(cached) " >&6 41390else 41391 ac_check_lib_save_LIBS=$LIBS 41392LIBS="-lfdatetime $LIBS" 41393cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41394/* end confdefs.h. */ 41395 41396/* Override any GCC internal prototype to avoid an error. 41397 Use char because int might match the return type of a GCC 41398 builtin and then its argument prototype would still apply. */ 41399#ifdef __cplusplus 41400extern "C" 41401#endif 41402char libfdatetime_floatingtime_copy_from_byte_stream (); 41403int 41404main () 41405{ 41406return libfdatetime_floatingtime_copy_from_byte_stream (); 41407 ; 41408 return 0; 41409} 41410_ACEOF 41411if ac_fn_c_try_link "$LINENO"; then : 41412 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_from_byte_stream=yes 41413else 41414 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_from_byte_stream=no 41415fi 41416rm -f core conftest.err conftest.$ac_objext \ 41417 conftest$ac_exeext conftest.$ac_ext 41418LIBS=$ac_check_lib_save_LIBS 41419fi 41420{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_from_byte_stream" >&5 41421$as_echo "$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_from_byte_stream" >&6; } 41422if test "x$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_from_byte_stream" = xyes; then : 41423 ac_cv_libfdatetime_dummy=yes 41424else 41425 ac_cv_libfdatetime=no 41426fi 41427 41428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_floatingtime_copy_from_64bit in -lfdatetime" >&5 41429$as_echo_n "checking for libfdatetime_floatingtime_copy_from_64bit in -lfdatetime... " >&6; } 41430if ${ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_from_64bit+:} false; then : 41431 $as_echo_n "(cached) " >&6 41432else 41433 ac_check_lib_save_LIBS=$LIBS 41434LIBS="-lfdatetime $LIBS" 41435cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41436/* end confdefs.h. */ 41437 41438/* Override any GCC internal prototype to avoid an error. 41439 Use char because int might match the return type of a GCC 41440 builtin and then its argument prototype would still apply. */ 41441#ifdef __cplusplus 41442extern "C" 41443#endif 41444char libfdatetime_floatingtime_copy_from_64bit (); 41445int 41446main () 41447{ 41448return libfdatetime_floatingtime_copy_from_64bit (); 41449 ; 41450 return 0; 41451} 41452_ACEOF 41453if ac_fn_c_try_link "$LINENO"; then : 41454 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_from_64bit=yes 41455else 41456 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_from_64bit=no 41457fi 41458rm -f core conftest.err conftest.$ac_objext \ 41459 conftest$ac_exeext conftest.$ac_ext 41460LIBS=$ac_check_lib_save_LIBS 41461fi 41462{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_from_64bit" >&5 41463$as_echo "$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_from_64bit" >&6; } 41464if test "x$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_from_64bit" = xyes; then : 41465 ac_cv_libfdatetime_dummy=yes 41466else 41467 ac_cv_libfdatetime=no 41468fi 41469 41470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_floatingtime_copy_to_64bit in -lfdatetime" >&5 41471$as_echo_n "checking for libfdatetime_floatingtime_copy_to_64bit in -lfdatetime... " >&6; } 41472if ${ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_64bit+:} false; then : 41473 $as_echo_n "(cached) " >&6 41474else 41475 ac_check_lib_save_LIBS=$LIBS 41476LIBS="-lfdatetime $LIBS" 41477cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41478/* end confdefs.h. */ 41479 41480/* Override any GCC internal prototype to avoid an error. 41481 Use char because int might match the return type of a GCC 41482 builtin and then its argument prototype would still apply. */ 41483#ifdef __cplusplus 41484extern "C" 41485#endif 41486char libfdatetime_floatingtime_copy_to_64bit (); 41487int 41488main () 41489{ 41490return libfdatetime_floatingtime_copy_to_64bit (); 41491 ; 41492 return 0; 41493} 41494_ACEOF 41495if ac_fn_c_try_link "$LINENO"; then : 41496 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_64bit=yes 41497else 41498 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_64bit=no 41499fi 41500rm -f core conftest.err conftest.$ac_objext \ 41501 conftest$ac_exeext conftest.$ac_ext 41502LIBS=$ac_check_lib_save_LIBS 41503fi 41504{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_64bit" >&5 41505$as_echo "$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_64bit" >&6; } 41506if test "x$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_64bit" = xyes; then : 41507 ac_cv_libfdatetime_dummy=yes 41508else 41509 ac_cv_libfdatetime=no 41510fi 41511 41512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_floatingtime_copy_to_utf8_string in -lfdatetime" >&5 41513$as_echo_n "checking for libfdatetime_floatingtime_copy_to_utf8_string in -lfdatetime... " >&6; } 41514if ${ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf8_string+:} false; then : 41515 $as_echo_n "(cached) " >&6 41516else 41517 ac_check_lib_save_LIBS=$LIBS 41518LIBS="-lfdatetime $LIBS" 41519cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41520/* end confdefs.h. */ 41521 41522/* Override any GCC internal prototype to avoid an error. 41523 Use char because int might match the return type of a GCC 41524 builtin and then its argument prototype would still apply. */ 41525#ifdef __cplusplus 41526extern "C" 41527#endif 41528char libfdatetime_floatingtime_copy_to_utf8_string (); 41529int 41530main () 41531{ 41532return libfdatetime_floatingtime_copy_to_utf8_string (); 41533 ; 41534 return 0; 41535} 41536_ACEOF 41537if ac_fn_c_try_link "$LINENO"; then : 41538 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf8_string=yes 41539else 41540 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf8_string=no 41541fi 41542rm -f core conftest.err conftest.$ac_objext \ 41543 conftest$ac_exeext conftest.$ac_ext 41544LIBS=$ac_check_lib_save_LIBS 41545fi 41546{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf8_string" >&5 41547$as_echo "$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf8_string" >&6; } 41548if test "x$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf8_string" = xyes; then : 41549 ac_cv_libfdatetime_dummy=yes 41550else 41551 ac_cv_libfdatetime=no 41552fi 41553 41554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_floatingtime_copy_to_utf8_string_with_index in -lfdatetime" >&5 41555$as_echo_n "checking for libfdatetime_floatingtime_copy_to_utf8_string_with_index in -lfdatetime... " >&6; } 41556if ${ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf8_string_with_index+:} false; then : 41557 $as_echo_n "(cached) " >&6 41558else 41559 ac_check_lib_save_LIBS=$LIBS 41560LIBS="-lfdatetime $LIBS" 41561cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41562/* end confdefs.h. */ 41563 41564/* Override any GCC internal prototype to avoid an error. 41565 Use char because int might match the return type of a GCC 41566 builtin and then its argument prototype would still apply. */ 41567#ifdef __cplusplus 41568extern "C" 41569#endif 41570char libfdatetime_floatingtime_copy_to_utf8_string_with_index (); 41571int 41572main () 41573{ 41574return libfdatetime_floatingtime_copy_to_utf8_string_with_index (); 41575 ; 41576 return 0; 41577} 41578_ACEOF 41579if ac_fn_c_try_link "$LINENO"; then : 41580 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf8_string_with_index=yes 41581else 41582 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf8_string_with_index=no 41583fi 41584rm -f core conftest.err conftest.$ac_objext \ 41585 conftest$ac_exeext conftest.$ac_ext 41586LIBS=$ac_check_lib_save_LIBS 41587fi 41588{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf8_string_with_index" >&5 41589$as_echo "$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf8_string_with_index" >&6; } 41590if test "x$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf8_string_with_index" = xyes; then : 41591 ac_cv_libfdatetime_dummy=yes 41592else 41593 ac_cv_libfdatetime=no 41594fi 41595 41596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_floatingtime_copy_to_utf16_string in -lfdatetime" >&5 41597$as_echo_n "checking for libfdatetime_floatingtime_copy_to_utf16_string in -lfdatetime... " >&6; } 41598if ${ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf16_string+:} false; then : 41599 $as_echo_n "(cached) " >&6 41600else 41601 ac_check_lib_save_LIBS=$LIBS 41602LIBS="-lfdatetime $LIBS" 41603cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41604/* end confdefs.h. */ 41605 41606/* Override any GCC internal prototype to avoid an error. 41607 Use char because int might match the return type of a GCC 41608 builtin and then its argument prototype would still apply. */ 41609#ifdef __cplusplus 41610extern "C" 41611#endif 41612char libfdatetime_floatingtime_copy_to_utf16_string (); 41613int 41614main () 41615{ 41616return libfdatetime_floatingtime_copy_to_utf16_string (); 41617 ; 41618 return 0; 41619} 41620_ACEOF 41621if ac_fn_c_try_link "$LINENO"; then : 41622 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf16_string=yes 41623else 41624 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf16_string=no 41625fi 41626rm -f core conftest.err conftest.$ac_objext \ 41627 conftest$ac_exeext conftest.$ac_ext 41628LIBS=$ac_check_lib_save_LIBS 41629fi 41630{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf16_string" >&5 41631$as_echo "$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf16_string" >&6; } 41632if test "x$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf16_string" = xyes; then : 41633 ac_cv_libfdatetime_dummy=yes 41634else 41635 ac_cv_libfdatetime=no 41636fi 41637 41638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_floatingtime_copy_to_utf16_string_with_index in -lfdatetime" >&5 41639$as_echo_n "checking for libfdatetime_floatingtime_copy_to_utf16_string_with_index in -lfdatetime... " >&6; } 41640if ${ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf16_string_with_index+:} false; then : 41641 $as_echo_n "(cached) " >&6 41642else 41643 ac_check_lib_save_LIBS=$LIBS 41644LIBS="-lfdatetime $LIBS" 41645cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41646/* end confdefs.h. */ 41647 41648/* Override any GCC internal prototype to avoid an error. 41649 Use char because int might match the return type of a GCC 41650 builtin and then its argument prototype would still apply. */ 41651#ifdef __cplusplus 41652extern "C" 41653#endif 41654char libfdatetime_floatingtime_copy_to_utf16_string_with_index (); 41655int 41656main () 41657{ 41658return libfdatetime_floatingtime_copy_to_utf16_string_with_index (); 41659 ; 41660 return 0; 41661} 41662_ACEOF 41663if ac_fn_c_try_link "$LINENO"; then : 41664 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf16_string_with_index=yes 41665else 41666 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf16_string_with_index=no 41667fi 41668rm -f core conftest.err conftest.$ac_objext \ 41669 conftest$ac_exeext conftest.$ac_ext 41670LIBS=$ac_check_lib_save_LIBS 41671fi 41672{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf16_string_with_index" >&5 41673$as_echo "$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf16_string_with_index" >&6; } 41674if test "x$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf16_string_with_index" = xyes; then : 41675 ac_cv_libfdatetime_dummy=yes 41676else 41677 ac_cv_libfdatetime=no 41678fi 41679 41680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_floatingtime_copy_to_utf32_string in -lfdatetime" >&5 41681$as_echo_n "checking for libfdatetime_floatingtime_copy_to_utf32_string in -lfdatetime... " >&6; } 41682if ${ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf32_string+:} false; then : 41683 $as_echo_n "(cached) " >&6 41684else 41685 ac_check_lib_save_LIBS=$LIBS 41686LIBS="-lfdatetime $LIBS" 41687cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41688/* end confdefs.h. */ 41689 41690/* Override any GCC internal prototype to avoid an error. 41691 Use char because int might match the return type of a GCC 41692 builtin and then its argument prototype would still apply. */ 41693#ifdef __cplusplus 41694extern "C" 41695#endif 41696char libfdatetime_floatingtime_copy_to_utf32_string (); 41697int 41698main () 41699{ 41700return libfdatetime_floatingtime_copy_to_utf32_string (); 41701 ; 41702 return 0; 41703} 41704_ACEOF 41705if ac_fn_c_try_link "$LINENO"; then : 41706 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf32_string=yes 41707else 41708 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf32_string=no 41709fi 41710rm -f core conftest.err conftest.$ac_objext \ 41711 conftest$ac_exeext conftest.$ac_ext 41712LIBS=$ac_check_lib_save_LIBS 41713fi 41714{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf32_string" >&5 41715$as_echo "$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf32_string" >&6; } 41716if test "x$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf32_string" = xyes; then : 41717 ac_cv_libfdatetime_dummy=yes 41718else 41719 ac_cv_libfdatetime=no 41720fi 41721 41722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_floatingtime_copy_to_utf32_string_with_index in -lfdatetime" >&5 41723$as_echo_n "checking for libfdatetime_floatingtime_copy_to_utf32_string_with_index in -lfdatetime... " >&6; } 41724if ${ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf32_string_with_index+:} false; then : 41725 $as_echo_n "(cached) " >&6 41726else 41727 ac_check_lib_save_LIBS=$LIBS 41728LIBS="-lfdatetime $LIBS" 41729cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41730/* end confdefs.h. */ 41731 41732/* Override any GCC internal prototype to avoid an error. 41733 Use char because int might match the return type of a GCC 41734 builtin and then its argument prototype would still apply. */ 41735#ifdef __cplusplus 41736extern "C" 41737#endif 41738char libfdatetime_floatingtime_copy_to_utf32_string_with_index (); 41739int 41740main () 41741{ 41742return libfdatetime_floatingtime_copy_to_utf32_string_with_index (); 41743 ; 41744 return 0; 41745} 41746_ACEOF 41747if ac_fn_c_try_link "$LINENO"; then : 41748 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf32_string_with_index=yes 41749else 41750 ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf32_string_with_index=no 41751fi 41752rm -f core conftest.err conftest.$ac_objext \ 41753 conftest$ac_exeext conftest.$ac_ext 41754LIBS=$ac_check_lib_save_LIBS 41755fi 41756{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf32_string_with_index" >&5 41757$as_echo "$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf32_string_with_index" >&6; } 41758if test "x$ac_cv_lib_fdatetime_libfdatetime_floatingtime_copy_to_utf32_string_with_index" = xyes; then : 41759 ac_cv_libfdatetime_dummy=yes 41760else 41761 ac_cv_libfdatetime=no 41762fi 41763 41764 41765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_hfs_time_initialize in -lfdatetime" >&5 41766$as_echo_n "checking for libfdatetime_hfs_time_initialize in -lfdatetime... " >&6; } 41767if ${ac_cv_lib_fdatetime_libfdatetime_hfs_time_initialize+:} false; then : 41768 $as_echo_n "(cached) " >&6 41769else 41770 ac_check_lib_save_LIBS=$LIBS 41771LIBS="-lfdatetime $LIBS" 41772cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41773/* end confdefs.h. */ 41774 41775/* Override any GCC internal prototype to avoid an error. 41776 Use char because int might match the return type of a GCC 41777 builtin and then its argument prototype would still apply. */ 41778#ifdef __cplusplus 41779extern "C" 41780#endif 41781char libfdatetime_hfs_time_initialize (); 41782int 41783main () 41784{ 41785return libfdatetime_hfs_time_initialize (); 41786 ; 41787 return 0; 41788} 41789_ACEOF 41790if ac_fn_c_try_link "$LINENO"; then : 41791 ac_cv_lib_fdatetime_libfdatetime_hfs_time_initialize=yes 41792else 41793 ac_cv_lib_fdatetime_libfdatetime_hfs_time_initialize=no 41794fi 41795rm -f core conftest.err conftest.$ac_objext \ 41796 conftest$ac_exeext conftest.$ac_ext 41797LIBS=$ac_check_lib_save_LIBS 41798fi 41799{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_hfs_time_initialize" >&5 41800$as_echo "$ac_cv_lib_fdatetime_libfdatetime_hfs_time_initialize" >&6; } 41801if test "x$ac_cv_lib_fdatetime_libfdatetime_hfs_time_initialize" = xyes; then : 41802 ac_cv_libfdatetime_dummy=yes 41803else 41804 ac_cv_libfdatetime=no 41805fi 41806 41807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_hfs_time_free in -lfdatetime" >&5 41808$as_echo_n "checking for libfdatetime_hfs_time_free in -lfdatetime... " >&6; } 41809if ${ac_cv_lib_fdatetime_libfdatetime_hfs_time_free+:} false; then : 41810 $as_echo_n "(cached) " >&6 41811else 41812 ac_check_lib_save_LIBS=$LIBS 41813LIBS="-lfdatetime $LIBS" 41814cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41815/* end confdefs.h. */ 41816 41817/* Override any GCC internal prototype to avoid an error. 41818 Use char because int might match the return type of a GCC 41819 builtin and then its argument prototype would still apply. */ 41820#ifdef __cplusplus 41821extern "C" 41822#endif 41823char libfdatetime_hfs_time_free (); 41824int 41825main () 41826{ 41827return libfdatetime_hfs_time_free (); 41828 ; 41829 return 0; 41830} 41831_ACEOF 41832if ac_fn_c_try_link "$LINENO"; then : 41833 ac_cv_lib_fdatetime_libfdatetime_hfs_time_free=yes 41834else 41835 ac_cv_lib_fdatetime_libfdatetime_hfs_time_free=no 41836fi 41837rm -f core conftest.err conftest.$ac_objext \ 41838 conftest$ac_exeext conftest.$ac_ext 41839LIBS=$ac_check_lib_save_LIBS 41840fi 41841{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_hfs_time_free" >&5 41842$as_echo "$ac_cv_lib_fdatetime_libfdatetime_hfs_time_free" >&6; } 41843if test "x$ac_cv_lib_fdatetime_libfdatetime_hfs_time_free" = xyes; then : 41844 ac_cv_libfdatetime_dummy=yes 41845else 41846 ac_cv_libfdatetime=no 41847fi 41848 41849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_hfs_time_copy_from_byte_stream in -lfdatetime" >&5 41850$as_echo_n "checking for libfdatetime_hfs_time_copy_from_byte_stream in -lfdatetime... " >&6; } 41851if ${ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_from_byte_stream+:} false; then : 41852 $as_echo_n "(cached) " >&6 41853else 41854 ac_check_lib_save_LIBS=$LIBS 41855LIBS="-lfdatetime $LIBS" 41856cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41857/* end confdefs.h. */ 41858 41859/* Override any GCC internal prototype to avoid an error. 41860 Use char because int might match the return type of a GCC 41861 builtin and then its argument prototype would still apply. */ 41862#ifdef __cplusplus 41863extern "C" 41864#endif 41865char libfdatetime_hfs_time_copy_from_byte_stream (); 41866int 41867main () 41868{ 41869return libfdatetime_hfs_time_copy_from_byte_stream (); 41870 ; 41871 return 0; 41872} 41873_ACEOF 41874if ac_fn_c_try_link "$LINENO"; then : 41875 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_from_byte_stream=yes 41876else 41877 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_from_byte_stream=no 41878fi 41879rm -f core conftest.err conftest.$ac_objext \ 41880 conftest$ac_exeext conftest.$ac_ext 41881LIBS=$ac_check_lib_save_LIBS 41882fi 41883{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_from_byte_stream" >&5 41884$as_echo "$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_from_byte_stream" >&6; } 41885if test "x$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_from_byte_stream" = xyes; then : 41886 ac_cv_libfdatetime_dummy=yes 41887else 41888 ac_cv_libfdatetime=no 41889fi 41890 41891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_hfs_time_copy_from_32bit in -lfdatetime" >&5 41892$as_echo_n "checking for libfdatetime_hfs_time_copy_from_32bit in -lfdatetime... " >&6; } 41893if ${ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_from_32bit+:} false; then : 41894 $as_echo_n "(cached) " >&6 41895else 41896 ac_check_lib_save_LIBS=$LIBS 41897LIBS="-lfdatetime $LIBS" 41898cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41899/* end confdefs.h. */ 41900 41901/* Override any GCC internal prototype to avoid an error. 41902 Use char because int might match the return type of a GCC 41903 builtin and then its argument prototype would still apply. */ 41904#ifdef __cplusplus 41905extern "C" 41906#endif 41907char libfdatetime_hfs_time_copy_from_32bit (); 41908int 41909main () 41910{ 41911return libfdatetime_hfs_time_copy_from_32bit (); 41912 ; 41913 return 0; 41914} 41915_ACEOF 41916if ac_fn_c_try_link "$LINENO"; then : 41917 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_from_32bit=yes 41918else 41919 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_from_32bit=no 41920fi 41921rm -f core conftest.err conftest.$ac_objext \ 41922 conftest$ac_exeext conftest.$ac_ext 41923LIBS=$ac_check_lib_save_LIBS 41924fi 41925{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_from_32bit" >&5 41926$as_echo "$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_from_32bit" >&6; } 41927if test "x$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_from_32bit" = xyes; then : 41928 ac_cv_libfdatetime_dummy=yes 41929else 41930 ac_cv_libfdatetime=no 41931fi 41932 41933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_hfs_time_copy_to_32bit in -lfdatetime" >&5 41934$as_echo_n "checking for libfdatetime_hfs_time_copy_to_32bit in -lfdatetime... " >&6; } 41935if ${ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_32bit+:} false; then : 41936 $as_echo_n "(cached) " >&6 41937else 41938 ac_check_lib_save_LIBS=$LIBS 41939LIBS="-lfdatetime $LIBS" 41940cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41941/* end confdefs.h. */ 41942 41943/* Override any GCC internal prototype to avoid an error. 41944 Use char because int might match the return type of a GCC 41945 builtin and then its argument prototype would still apply. */ 41946#ifdef __cplusplus 41947extern "C" 41948#endif 41949char libfdatetime_hfs_time_copy_to_32bit (); 41950int 41951main () 41952{ 41953return libfdatetime_hfs_time_copy_to_32bit (); 41954 ; 41955 return 0; 41956} 41957_ACEOF 41958if ac_fn_c_try_link "$LINENO"; then : 41959 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_32bit=yes 41960else 41961 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_32bit=no 41962fi 41963rm -f core conftest.err conftest.$ac_objext \ 41964 conftest$ac_exeext conftest.$ac_ext 41965LIBS=$ac_check_lib_save_LIBS 41966fi 41967{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_32bit" >&5 41968$as_echo "$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_32bit" >&6; } 41969if test "x$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_32bit" = xyes; then : 41970 ac_cv_libfdatetime_dummy=yes 41971else 41972 ac_cv_libfdatetime=no 41973fi 41974 41975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_hfs_time_copy_to_utf8_string in -lfdatetime" >&5 41976$as_echo_n "checking for libfdatetime_hfs_time_copy_to_utf8_string in -lfdatetime... " >&6; } 41977if ${ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf8_string+:} false; then : 41978 $as_echo_n "(cached) " >&6 41979else 41980 ac_check_lib_save_LIBS=$LIBS 41981LIBS="-lfdatetime $LIBS" 41982cat confdefs.h - <<_ACEOF >conftest.$ac_ext 41983/* end confdefs.h. */ 41984 41985/* Override any GCC internal prototype to avoid an error. 41986 Use char because int might match the return type of a GCC 41987 builtin and then its argument prototype would still apply. */ 41988#ifdef __cplusplus 41989extern "C" 41990#endif 41991char libfdatetime_hfs_time_copy_to_utf8_string (); 41992int 41993main () 41994{ 41995return libfdatetime_hfs_time_copy_to_utf8_string (); 41996 ; 41997 return 0; 41998} 41999_ACEOF 42000if ac_fn_c_try_link "$LINENO"; then : 42001 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf8_string=yes 42002else 42003 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf8_string=no 42004fi 42005rm -f core conftest.err conftest.$ac_objext \ 42006 conftest$ac_exeext conftest.$ac_ext 42007LIBS=$ac_check_lib_save_LIBS 42008fi 42009{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf8_string" >&5 42010$as_echo "$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf8_string" >&6; } 42011if test "x$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf8_string" = xyes; then : 42012 ac_cv_libfdatetime_dummy=yes 42013else 42014 ac_cv_libfdatetime=no 42015fi 42016 42017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_hfs_time_copy_to_utf8_string_with_index in -lfdatetime" >&5 42018$as_echo_n "checking for libfdatetime_hfs_time_copy_to_utf8_string_with_index in -lfdatetime... " >&6; } 42019if ${ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf8_string_with_index+:} false; then : 42020 $as_echo_n "(cached) " >&6 42021else 42022 ac_check_lib_save_LIBS=$LIBS 42023LIBS="-lfdatetime $LIBS" 42024cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42025/* end confdefs.h. */ 42026 42027/* Override any GCC internal prototype to avoid an error. 42028 Use char because int might match the return type of a GCC 42029 builtin and then its argument prototype would still apply. */ 42030#ifdef __cplusplus 42031extern "C" 42032#endif 42033char libfdatetime_hfs_time_copy_to_utf8_string_with_index (); 42034int 42035main () 42036{ 42037return libfdatetime_hfs_time_copy_to_utf8_string_with_index (); 42038 ; 42039 return 0; 42040} 42041_ACEOF 42042if ac_fn_c_try_link "$LINENO"; then : 42043 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf8_string_with_index=yes 42044else 42045 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf8_string_with_index=no 42046fi 42047rm -f core conftest.err conftest.$ac_objext \ 42048 conftest$ac_exeext conftest.$ac_ext 42049LIBS=$ac_check_lib_save_LIBS 42050fi 42051{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf8_string_with_index" >&5 42052$as_echo "$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf8_string_with_index" >&6; } 42053if test "x$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf8_string_with_index" = xyes; then : 42054 ac_cv_libfdatetime_dummy=yes 42055else 42056 ac_cv_libfdatetime=no 42057fi 42058 42059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_hfs_time_copy_to_utf16_string in -lfdatetime" >&5 42060$as_echo_n "checking for libfdatetime_hfs_time_copy_to_utf16_string in -lfdatetime... " >&6; } 42061if ${ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf16_string+:} false; then : 42062 $as_echo_n "(cached) " >&6 42063else 42064 ac_check_lib_save_LIBS=$LIBS 42065LIBS="-lfdatetime $LIBS" 42066cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42067/* end confdefs.h. */ 42068 42069/* Override any GCC internal prototype to avoid an error. 42070 Use char because int might match the return type of a GCC 42071 builtin and then its argument prototype would still apply. */ 42072#ifdef __cplusplus 42073extern "C" 42074#endif 42075char libfdatetime_hfs_time_copy_to_utf16_string (); 42076int 42077main () 42078{ 42079return libfdatetime_hfs_time_copy_to_utf16_string (); 42080 ; 42081 return 0; 42082} 42083_ACEOF 42084if ac_fn_c_try_link "$LINENO"; then : 42085 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf16_string=yes 42086else 42087 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf16_string=no 42088fi 42089rm -f core conftest.err conftest.$ac_objext \ 42090 conftest$ac_exeext conftest.$ac_ext 42091LIBS=$ac_check_lib_save_LIBS 42092fi 42093{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf16_string" >&5 42094$as_echo "$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf16_string" >&6; } 42095if test "x$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf16_string" = xyes; then : 42096 ac_cv_libfdatetime_dummy=yes 42097else 42098 ac_cv_libfdatetime=no 42099fi 42100 42101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_hfs_time_copy_to_utf16_string_with_index in -lfdatetime" >&5 42102$as_echo_n "checking for libfdatetime_hfs_time_copy_to_utf16_string_with_index in -lfdatetime... " >&6; } 42103if ${ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf16_string_with_index+:} false; then : 42104 $as_echo_n "(cached) " >&6 42105else 42106 ac_check_lib_save_LIBS=$LIBS 42107LIBS="-lfdatetime $LIBS" 42108cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42109/* end confdefs.h. */ 42110 42111/* Override any GCC internal prototype to avoid an error. 42112 Use char because int might match the return type of a GCC 42113 builtin and then its argument prototype would still apply. */ 42114#ifdef __cplusplus 42115extern "C" 42116#endif 42117char libfdatetime_hfs_time_copy_to_utf16_string_with_index (); 42118int 42119main () 42120{ 42121return libfdatetime_hfs_time_copy_to_utf16_string_with_index (); 42122 ; 42123 return 0; 42124} 42125_ACEOF 42126if ac_fn_c_try_link "$LINENO"; then : 42127 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf16_string_with_index=yes 42128else 42129 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf16_string_with_index=no 42130fi 42131rm -f core conftest.err conftest.$ac_objext \ 42132 conftest$ac_exeext conftest.$ac_ext 42133LIBS=$ac_check_lib_save_LIBS 42134fi 42135{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf16_string_with_index" >&5 42136$as_echo "$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf16_string_with_index" >&6; } 42137if test "x$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf16_string_with_index" = xyes; then : 42138 ac_cv_libfdatetime_dummy=yes 42139else 42140 ac_cv_libfdatetime=no 42141fi 42142 42143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_hfs_time_copy_to_utf32_string in -lfdatetime" >&5 42144$as_echo_n "checking for libfdatetime_hfs_time_copy_to_utf32_string in -lfdatetime... " >&6; } 42145if ${ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf32_string+:} false; then : 42146 $as_echo_n "(cached) " >&6 42147else 42148 ac_check_lib_save_LIBS=$LIBS 42149LIBS="-lfdatetime $LIBS" 42150cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42151/* end confdefs.h. */ 42152 42153/* Override any GCC internal prototype to avoid an error. 42154 Use char because int might match the return type of a GCC 42155 builtin and then its argument prototype would still apply. */ 42156#ifdef __cplusplus 42157extern "C" 42158#endif 42159char libfdatetime_hfs_time_copy_to_utf32_string (); 42160int 42161main () 42162{ 42163return libfdatetime_hfs_time_copy_to_utf32_string (); 42164 ; 42165 return 0; 42166} 42167_ACEOF 42168if ac_fn_c_try_link "$LINENO"; then : 42169 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf32_string=yes 42170else 42171 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf32_string=no 42172fi 42173rm -f core conftest.err conftest.$ac_objext \ 42174 conftest$ac_exeext conftest.$ac_ext 42175LIBS=$ac_check_lib_save_LIBS 42176fi 42177{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf32_string" >&5 42178$as_echo "$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf32_string" >&6; } 42179if test "x$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf32_string" = xyes; then : 42180 ac_cv_libfdatetime_dummy=yes 42181else 42182 ac_cv_libfdatetime=no 42183fi 42184 42185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_hfs_time_copy_to_utf32_string_with_index in -lfdatetime" >&5 42186$as_echo_n "checking for libfdatetime_hfs_time_copy_to_utf32_string_with_index in -lfdatetime... " >&6; } 42187if ${ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf32_string_with_index+:} false; then : 42188 $as_echo_n "(cached) " >&6 42189else 42190 ac_check_lib_save_LIBS=$LIBS 42191LIBS="-lfdatetime $LIBS" 42192cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42193/* end confdefs.h. */ 42194 42195/* Override any GCC internal prototype to avoid an error. 42196 Use char because int might match the return type of a GCC 42197 builtin and then its argument prototype would still apply. */ 42198#ifdef __cplusplus 42199extern "C" 42200#endif 42201char libfdatetime_hfs_time_copy_to_utf32_string_with_index (); 42202int 42203main () 42204{ 42205return libfdatetime_hfs_time_copy_to_utf32_string_with_index (); 42206 ; 42207 return 0; 42208} 42209_ACEOF 42210if ac_fn_c_try_link "$LINENO"; then : 42211 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf32_string_with_index=yes 42212else 42213 ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf32_string_with_index=no 42214fi 42215rm -f core conftest.err conftest.$ac_objext \ 42216 conftest$ac_exeext conftest.$ac_ext 42217LIBS=$ac_check_lib_save_LIBS 42218fi 42219{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf32_string_with_index" >&5 42220$as_echo "$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf32_string_with_index" >&6; } 42221if test "x$ac_cv_lib_fdatetime_libfdatetime_hfs_time_copy_to_utf32_string_with_index" = xyes; then : 42222 ac_cv_libfdatetime_dummy=yes 42223else 42224 ac_cv_libfdatetime=no 42225fi 42226 42227 42228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_nsf_timedate_initialize in -lfdatetime" >&5 42229$as_echo_n "checking for libfdatetime_nsf_timedate_initialize in -lfdatetime... " >&6; } 42230if ${ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_initialize+:} false; then : 42231 $as_echo_n "(cached) " >&6 42232else 42233 ac_check_lib_save_LIBS=$LIBS 42234LIBS="-lfdatetime $LIBS" 42235cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42236/* end confdefs.h. */ 42237 42238/* Override any GCC internal prototype to avoid an error. 42239 Use char because int might match the return type of a GCC 42240 builtin and then its argument prototype would still apply. */ 42241#ifdef __cplusplus 42242extern "C" 42243#endif 42244char libfdatetime_nsf_timedate_initialize (); 42245int 42246main () 42247{ 42248return libfdatetime_nsf_timedate_initialize (); 42249 ; 42250 return 0; 42251} 42252_ACEOF 42253if ac_fn_c_try_link "$LINENO"; then : 42254 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_initialize=yes 42255else 42256 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_initialize=no 42257fi 42258rm -f core conftest.err conftest.$ac_objext \ 42259 conftest$ac_exeext conftest.$ac_ext 42260LIBS=$ac_check_lib_save_LIBS 42261fi 42262{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_initialize" >&5 42263$as_echo "$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_initialize" >&6; } 42264if test "x$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_initialize" = xyes; then : 42265 ac_cv_libfdatetime_dummy=yes 42266else 42267 ac_cv_libfdatetime=no 42268fi 42269 42270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_nsf_timedate_free in -lfdatetime" >&5 42271$as_echo_n "checking for libfdatetime_nsf_timedate_free in -lfdatetime... " >&6; } 42272if ${ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_free+:} false; then : 42273 $as_echo_n "(cached) " >&6 42274else 42275 ac_check_lib_save_LIBS=$LIBS 42276LIBS="-lfdatetime $LIBS" 42277cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42278/* end confdefs.h. */ 42279 42280/* Override any GCC internal prototype to avoid an error. 42281 Use char because int might match the return type of a GCC 42282 builtin and then its argument prototype would still apply. */ 42283#ifdef __cplusplus 42284extern "C" 42285#endif 42286char libfdatetime_nsf_timedate_free (); 42287int 42288main () 42289{ 42290return libfdatetime_nsf_timedate_free (); 42291 ; 42292 return 0; 42293} 42294_ACEOF 42295if ac_fn_c_try_link "$LINENO"; then : 42296 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_free=yes 42297else 42298 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_free=no 42299fi 42300rm -f core conftest.err conftest.$ac_objext \ 42301 conftest$ac_exeext conftest.$ac_ext 42302LIBS=$ac_check_lib_save_LIBS 42303fi 42304{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_free" >&5 42305$as_echo "$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_free" >&6; } 42306if test "x$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_free" = xyes; then : 42307 ac_cv_libfdatetime_dummy=yes 42308else 42309 ac_cv_libfdatetime=no 42310fi 42311 42312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_nsf_timedate_copy_from_byte_stream in -lfdatetime" >&5 42313$as_echo_n "checking for libfdatetime_nsf_timedate_copy_from_byte_stream in -lfdatetime... " >&6; } 42314if ${ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_from_byte_stream+:} false; then : 42315 $as_echo_n "(cached) " >&6 42316else 42317 ac_check_lib_save_LIBS=$LIBS 42318LIBS="-lfdatetime $LIBS" 42319cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42320/* end confdefs.h. */ 42321 42322/* Override any GCC internal prototype to avoid an error. 42323 Use char because int might match the return type of a GCC 42324 builtin and then its argument prototype would still apply. */ 42325#ifdef __cplusplus 42326extern "C" 42327#endif 42328char libfdatetime_nsf_timedate_copy_from_byte_stream (); 42329int 42330main () 42331{ 42332return libfdatetime_nsf_timedate_copy_from_byte_stream (); 42333 ; 42334 return 0; 42335} 42336_ACEOF 42337if ac_fn_c_try_link "$LINENO"; then : 42338 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_from_byte_stream=yes 42339else 42340 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_from_byte_stream=no 42341fi 42342rm -f core conftest.err conftest.$ac_objext \ 42343 conftest$ac_exeext conftest.$ac_ext 42344LIBS=$ac_check_lib_save_LIBS 42345fi 42346{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_from_byte_stream" >&5 42347$as_echo "$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_from_byte_stream" >&6; } 42348if test "x$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_from_byte_stream" = xyes; then : 42349 ac_cv_libfdatetime_dummy=yes 42350else 42351 ac_cv_libfdatetime=no 42352fi 42353 42354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_nsf_timedate_copy_from_64bit in -lfdatetime" >&5 42355$as_echo_n "checking for libfdatetime_nsf_timedate_copy_from_64bit in -lfdatetime... " >&6; } 42356if ${ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_from_64bit+:} false; then : 42357 $as_echo_n "(cached) " >&6 42358else 42359 ac_check_lib_save_LIBS=$LIBS 42360LIBS="-lfdatetime $LIBS" 42361cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42362/* end confdefs.h. */ 42363 42364/* Override any GCC internal prototype to avoid an error. 42365 Use char because int might match the return type of a GCC 42366 builtin and then its argument prototype would still apply. */ 42367#ifdef __cplusplus 42368extern "C" 42369#endif 42370char libfdatetime_nsf_timedate_copy_from_64bit (); 42371int 42372main () 42373{ 42374return libfdatetime_nsf_timedate_copy_from_64bit (); 42375 ; 42376 return 0; 42377} 42378_ACEOF 42379if ac_fn_c_try_link "$LINENO"; then : 42380 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_from_64bit=yes 42381else 42382 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_from_64bit=no 42383fi 42384rm -f core conftest.err conftest.$ac_objext \ 42385 conftest$ac_exeext conftest.$ac_ext 42386LIBS=$ac_check_lib_save_LIBS 42387fi 42388{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_from_64bit" >&5 42389$as_echo "$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_from_64bit" >&6; } 42390if test "x$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_from_64bit" = xyes; then : 42391 ac_cv_libfdatetime_dummy=yes 42392else 42393 ac_cv_libfdatetime=no 42394fi 42395 42396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_nsf_timedate_copy_to_64bit in -lfdatetime" >&5 42397$as_echo_n "checking for libfdatetime_nsf_timedate_copy_to_64bit in -lfdatetime... " >&6; } 42398if ${ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_64bit+:} false; then : 42399 $as_echo_n "(cached) " >&6 42400else 42401 ac_check_lib_save_LIBS=$LIBS 42402LIBS="-lfdatetime $LIBS" 42403cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42404/* end confdefs.h. */ 42405 42406/* Override any GCC internal prototype to avoid an error. 42407 Use char because int might match the return type of a GCC 42408 builtin and then its argument prototype would still apply. */ 42409#ifdef __cplusplus 42410extern "C" 42411#endif 42412char libfdatetime_nsf_timedate_copy_to_64bit (); 42413int 42414main () 42415{ 42416return libfdatetime_nsf_timedate_copy_to_64bit (); 42417 ; 42418 return 0; 42419} 42420_ACEOF 42421if ac_fn_c_try_link "$LINENO"; then : 42422 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_64bit=yes 42423else 42424 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_64bit=no 42425fi 42426rm -f core conftest.err conftest.$ac_objext \ 42427 conftest$ac_exeext conftest.$ac_ext 42428LIBS=$ac_check_lib_save_LIBS 42429fi 42430{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_64bit" >&5 42431$as_echo "$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_64bit" >&6; } 42432if test "x$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_64bit" = xyes; then : 42433 ac_cv_libfdatetime_dummy=yes 42434else 42435 ac_cv_libfdatetime=no 42436fi 42437 42438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_nsf_timedate_copy_to_utf8_string in -lfdatetime" >&5 42439$as_echo_n "checking for libfdatetime_nsf_timedate_copy_to_utf8_string in -lfdatetime... " >&6; } 42440if ${ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf8_string+:} false; then : 42441 $as_echo_n "(cached) " >&6 42442else 42443 ac_check_lib_save_LIBS=$LIBS 42444LIBS="-lfdatetime $LIBS" 42445cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42446/* end confdefs.h. */ 42447 42448/* Override any GCC internal prototype to avoid an error. 42449 Use char because int might match the return type of a GCC 42450 builtin and then its argument prototype would still apply. */ 42451#ifdef __cplusplus 42452extern "C" 42453#endif 42454char libfdatetime_nsf_timedate_copy_to_utf8_string (); 42455int 42456main () 42457{ 42458return libfdatetime_nsf_timedate_copy_to_utf8_string (); 42459 ; 42460 return 0; 42461} 42462_ACEOF 42463if ac_fn_c_try_link "$LINENO"; then : 42464 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf8_string=yes 42465else 42466 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf8_string=no 42467fi 42468rm -f core conftest.err conftest.$ac_objext \ 42469 conftest$ac_exeext conftest.$ac_ext 42470LIBS=$ac_check_lib_save_LIBS 42471fi 42472{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf8_string" >&5 42473$as_echo "$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf8_string" >&6; } 42474if test "x$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf8_string" = xyes; then : 42475 ac_cv_libfdatetime_dummy=yes 42476else 42477 ac_cv_libfdatetime=no 42478fi 42479 42480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_nsf_timedate_copy_to_utf8_string_with_index in -lfdatetime" >&5 42481$as_echo_n "checking for libfdatetime_nsf_timedate_copy_to_utf8_string_with_index in -lfdatetime... " >&6; } 42482if ${ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf8_string_with_index+:} false; then : 42483 $as_echo_n "(cached) " >&6 42484else 42485 ac_check_lib_save_LIBS=$LIBS 42486LIBS="-lfdatetime $LIBS" 42487cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42488/* end confdefs.h. */ 42489 42490/* Override any GCC internal prototype to avoid an error. 42491 Use char because int might match the return type of a GCC 42492 builtin and then its argument prototype would still apply. */ 42493#ifdef __cplusplus 42494extern "C" 42495#endif 42496char libfdatetime_nsf_timedate_copy_to_utf8_string_with_index (); 42497int 42498main () 42499{ 42500return libfdatetime_nsf_timedate_copy_to_utf8_string_with_index (); 42501 ; 42502 return 0; 42503} 42504_ACEOF 42505if ac_fn_c_try_link "$LINENO"; then : 42506 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf8_string_with_index=yes 42507else 42508 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf8_string_with_index=no 42509fi 42510rm -f core conftest.err conftest.$ac_objext \ 42511 conftest$ac_exeext conftest.$ac_ext 42512LIBS=$ac_check_lib_save_LIBS 42513fi 42514{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf8_string_with_index" >&5 42515$as_echo "$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf8_string_with_index" >&6; } 42516if test "x$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf8_string_with_index" = xyes; then : 42517 ac_cv_libfdatetime_dummy=yes 42518else 42519 ac_cv_libfdatetime=no 42520fi 42521 42522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_nsf_timedate_copy_to_utf16_string in -lfdatetime" >&5 42523$as_echo_n "checking for libfdatetime_nsf_timedate_copy_to_utf16_string in -lfdatetime... " >&6; } 42524if ${ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf16_string+:} false; then : 42525 $as_echo_n "(cached) " >&6 42526else 42527 ac_check_lib_save_LIBS=$LIBS 42528LIBS="-lfdatetime $LIBS" 42529cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42530/* end confdefs.h. */ 42531 42532/* Override any GCC internal prototype to avoid an error. 42533 Use char because int might match the return type of a GCC 42534 builtin and then its argument prototype would still apply. */ 42535#ifdef __cplusplus 42536extern "C" 42537#endif 42538char libfdatetime_nsf_timedate_copy_to_utf16_string (); 42539int 42540main () 42541{ 42542return libfdatetime_nsf_timedate_copy_to_utf16_string (); 42543 ; 42544 return 0; 42545} 42546_ACEOF 42547if ac_fn_c_try_link "$LINENO"; then : 42548 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf16_string=yes 42549else 42550 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf16_string=no 42551fi 42552rm -f core conftest.err conftest.$ac_objext \ 42553 conftest$ac_exeext conftest.$ac_ext 42554LIBS=$ac_check_lib_save_LIBS 42555fi 42556{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf16_string" >&5 42557$as_echo "$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf16_string" >&6; } 42558if test "x$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf16_string" = xyes; then : 42559 ac_cv_libfdatetime_dummy=yes 42560else 42561 ac_cv_libfdatetime=no 42562fi 42563 42564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_nsf_timedate_copy_to_utf16_string_with_index in -lfdatetime" >&5 42565$as_echo_n "checking for libfdatetime_nsf_timedate_copy_to_utf16_string_with_index in -lfdatetime... " >&6; } 42566if ${ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf16_string_with_index+:} false; then : 42567 $as_echo_n "(cached) " >&6 42568else 42569 ac_check_lib_save_LIBS=$LIBS 42570LIBS="-lfdatetime $LIBS" 42571cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42572/* end confdefs.h. */ 42573 42574/* Override any GCC internal prototype to avoid an error. 42575 Use char because int might match the return type of a GCC 42576 builtin and then its argument prototype would still apply. */ 42577#ifdef __cplusplus 42578extern "C" 42579#endif 42580char libfdatetime_nsf_timedate_copy_to_utf16_string_with_index (); 42581int 42582main () 42583{ 42584return libfdatetime_nsf_timedate_copy_to_utf16_string_with_index (); 42585 ; 42586 return 0; 42587} 42588_ACEOF 42589if ac_fn_c_try_link "$LINENO"; then : 42590 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf16_string_with_index=yes 42591else 42592 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf16_string_with_index=no 42593fi 42594rm -f core conftest.err conftest.$ac_objext \ 42595 conftest$ac_exeext conftest.$ac_ext 42596LIBS=$ac_check_lib_save_LIBS 42597fi 42598{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf16_string_with_index" >&5 42599$as_echo "$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf16_string_with_index" >&6; } 42600if test "x$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf16_string_with_index" = xyes; then : 42601 ac_cv_libfdatetime_dummy=yes 42602else 42603 ac_cv_libfdatetime=no 42604fi 42605 42606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_nsf_timedate_copy_to_utf32_string in -lfdatetime" >&5 42607$as_echo_n "checking for libfdatetime_nsf_timedate_copy_to_utf32_string in -lfdatetime... " >&6; } 42608if ${ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf32_string+:} false; then : 42609 $as_echo_n "(cached) " >&6 42610else 42611 ac_check_lib_save_LIBS=$LIBS 42612LIBS="-lfdatetime $LIBS" 42613cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42614/* end confdefs.h. */ 42615 42616/* Override any GCC internal prototype to avoid an error. 42617 Use char because int might match the return type of a GCC 42618 builtin and then its argument prototype would still apply. */ 42619#ifdef __cplusplus 42620extern "C" 42621#endif 42622char libfdatetime_nsf_timedate_copy_to_utf32_string (); 42623int 42624main () 42625{ 42626return libfdatetime_nsf_timedate_copy_to_utf32_string (); 42627 ; 42628 return 0; 42629} 42630_ACEOF 42631if ac_fn_c_try_link "$LINENO"; then : 42632 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf32_string=yes 42633else 42634 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf32_string=no 42635fi 42636rm -f core conftest.err conftest.$ac_objext \ 42637 conftest$ac_exeext conftest.$ac_ext 42638LIBS=$ac_check_lib_save_LIBS 42639fi 42640{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf32_string" >&5 42641$as_echo "$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf32_string" >&6; } 42642if test "x$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf32_string" = xyes; then : 42643 ac_cv_libfdatetime_dummy=yes 42644else 42645 ac_cv_libfdatetime=no 42646fi 42647 42648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_nsf_timedate_copy_to_utf32_string_with_index in -lfdatetime" >&5 42649$as_echo_n "checking for libfdatetime_nsf_timedate_copy_to_utf32_string_with_index in -lfdatetime... " >&6; } 42650if ${ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf32_string_with_index+:} false; then : 42651 $as_echo_n "(cached) " >&6 42652else 42653 ac_check_lib_save_LIBS=$LIBS 42654LIBS="-lfdatetime $LIBS" 42655cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42656/* end confdefs.h. */ 42657 42658/* Override any GCC internal prototype to avoid an error. 42659 Use char because int might match the return type of a GCC 42660 builtin and then its argument prototype would still apply. */ 42661#ifdef __cplusplus 42662extern "C" 42663#endif 42664char libfdatetime_nsf_timedate_copy_to_utf32_string_with_index (); 42665int 42666main () 42667{ 42668return libfdatetime_nsf_timedate_copy_to_utf32_string_with_index (); 42669 ; 42670 return 0; 42671} 42672_ACEOF 42673if ac_fn_c_try_link "$LINENO"; then : 42674 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf32_string_with_index=yes 42675else 42676 ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf32_string_with_index=no 42677fi 42678rm -f core conftest.err conftest.$ac_objext \ 42679 conftest$ac_exeext conftest.$ac_ext 42680LIBS=$ac_check_lib_save_LIBS 42681fi 42682{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf32_string_with_index" >&5 42683$as_echo "$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf32_string_with_index" >&6; } 42684if test "x$ac_cv_lib_fdatetime_libfdatetime_nsf_timedate_copy_to_utf32_string_with_index" = xyes; then : 42685 ac_cv_libfdatetime_dummy=yes 42686else 42687 ac_cv_libfdatetime=no 42688fi 42689 42690 42691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_initialize in -lfdatetime" >&5 42692$as_echo_n "checking for libfdatetime_posix_time_initialize in -lfdatetime... " >&6; } 42693if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_initialize+:} false; then : 42694 $as_echo_n "(cached) " >&6 42695else 42696 ac_check_lib_save_LIBS=$LIBS 42697LIBS="-lfdatetime $LIBS" 42698cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42699/* end confdefs.h. */ 42700 42701/* Override any GCC internal prototype to avoid an error. 42702 Use char because int might match the return type of a GCC 42703 builtin and then its argument prototype would still apply. */ 42704#ifdef __cplusplus 42705extern "C" 42706#endif 42707char libfdatetime_posix_time_initialize (); 42708int 42709main () 42710{ 42711return libfdatetime_posix_time_initialize (); 42712 ; 42713 return 0; 42714} 42715_ACEOF 42716if ac_fn_c_try_link "$LINENO"; then : 42717 ac_cv_lib_fdatetime_libfdatetime_posix_time_initialize=yes 42718else 42719 ac_cv_lib_fdatetime_libfdatetime_posix_time_initialize=no 42720fi 42721rm -f core conftest.err conftest.$ac_objext \ 42722 conftest$ac_exeext conftest.$ac_ext 42723LIBS=$ac_check_lib_save_LIBS 42724fi 42725{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_posix_time_initialize" >&5 42726$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_initialize" >&6; } 42727if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_initialize" = xyes; then : 42728 ac_cv_libfdatetime_dummy=yes 42729else 42730 ac_cv_libfdatetime=no 42731fi 42732 42733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_free in -lfdatetime" >&5 42734$as_echo_n "checking for libfdatetime_posix_time_free in -lfdatetime... " >&6; } 42735if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_free+:} false; then : 42736 $as_echo_n "(cached) " >&6 42737else 42738 ac_check_lib_save_LIBS=$LIBS 42739LIBS="-lfdatetime $LIBS" 42740cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42741/* end confdefs.h. */ 42742 42743/* Override any GCC internal prototype to avoid an error. 42744 Use char because int might match the return type of a GCC 42745 builtin and then its argument prototype would still apply. */ 42746#ifdef __cplusplus 42747extern "C" 42748#endif 42749char libfdatetime_posix_time_free (); 42750int 42751main () 42752{ 42753return libfdatetime_posix_time_free (); 42754 ; 42755 return 0; 42756} 42757_ACEOF 42758if ac_fn_c_try_link "$LINENO"; then : 42759 ac_cv_lib_fdatetime_libfdatetime_posix_time_free=yes 42760else 42761 ac_cv_lib_fdatetime_libfdatetime_posix_time_free=no 42762fi 42763rm -f core conftest.err conftest.$ac_objext \ 42764 conftest$ac_exeext conftest.$ac_ext 42765LIBS=$ac_check_lib_save_LIBS 42766fi 42767{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_posix_time_free" >&5 42768$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_free" >&6; } 42769if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_free" = xyes; then : 42770 ac_cv_libfdatetime_dummy=yes 42771else 42772 ac_cv_libfdatetime=no 42773fi 42774 42775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_copy_from_byte_stream in -lfdatetime" >&5 42776$as_echo_n "checking for libfdatetime_posix_time_copy_from_byte_stream in -lfdatetime... " >&6; } 42777if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_byte_stream+:} false; then : 42778 $as_echo_n "(cached) " >&6 42779else 42780 ac_check_lib_save_LIBS=$LIBS 42781LIBS="-lfdatetime $LIBS" 42782cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42783/* end confdefs.h. */ 42784 42785/* Override any GCC internal prototype to avoid an error. 42786 Use char because int might match the return type of a GCC 42787 builtin and then its argument prototype would still apply. */ 42788#ifdef __cplusplus 42789extern "C" 42790#endif 42791char libfdatetime_posix_time_copy_from_byte_stream (); 42792int 42793main () 42794{ 42795return libfdatetime_posix_time_copy_from_byte_stream (); 42796 ; 42797 return 0; 42798} 42799_ACEOF 42800if ac_fn_c_try_link "$LINENO"; then : 42801 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_byte_stream=yes 42802else 42803 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_byte_stream=no 42804fi 42805rm -f core conftest.err conftest.$ac_objext \ 42806 conftest$ac_exeext conftest.$ac_ext 42807LIBS=$ac_check_lib_save_LIBS 42808fi 42809{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_byte_stream" >&5 42810$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_byte_stream" >&6; } 42811if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_byte_stream" = xyes; then : 42812 ac_cv_libfdatetime_dummy=yes 42813else 42814 ac_cv_libfdatetime=no 42815fi 42816 42817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_copy_from_32bit in -lfdatetime" >&5 42818$as_echo_n "checking for libfdatetime_posix_time_copy_from_32bit in -lfdatetime... " >&6; } 42819if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_32bit+:} false; then : 42820 $as_echo_n "(cached) " >&6 42821else 42822 ac_check_lib_save_LIBS=$LIBS 42823LIBS="-lfdatetime $LIBS" 42824cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42825/* end confdefs.h. */ 42826 42827/* Override any GCC internal prototype to avoid an error. 42828 Use char because int might match the return type of a GCC 42829 builtin and then its argument prototype would still apply. */ 42830#ifdef __cplusplus 42831extern "C" 42832#endif 42833char libfdatetime_posix_time_copy_from_32bit (); 42834int 42835main () 42836{ 42837return libfdatetime_posix_time_copy_from_32bit (); 42838 ; 42839 return 0; 42840} 42841_ACEOF 42842if ac_fn_c_try_link "$LINENO"; then : 42843 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_32bit=yes 42844else 42845 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_32bit=no 42846fi 42847rm -f core conftest.err conftest.$ac_objext \ 42848 conftest$ac_exeext conftest.$ac_ext 42849LIBS=$ac_check_lib_save_LIBS 42850fi 42851{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_32bit" >&5 42852$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_32bit" >&6; } 42853if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_32bit" = xyes; then : 42854 ac_cv_libfdatetime_dummy=yes 42855else 42856 ac_cv_libfdatetime=no 42857fi 42858 42859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_copy_to_32bit in -lfdatetime" >&5 42860$as_echo_n "checking for libfdatetime_posix_time_copy_to_32bit in -lfdatetime... " >&6; } 42861if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_32bit+:} false; then : 42862 $as_echo_n "(cached) " >&6 42863else 42864 ac_check_lib_save_LIBS=$LIBS 42865LIBS="-lfdatetime $LIBS" 42866cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42867/* end confdefs.h. */ 42868 42869/* Override any GCC internal prototype to avoid an error. 42870 Use char because int might match the return type of a GCC 42871 builtin and then its argument prototype would still apply. */ 42872#ifdef __cplusplus 42873extern "C" 42874#endif 42875char libfdatetime_posix_time_copy_to_32bit (); 42876int 42877main () 42878{ 42879return libfdatetime_posix_time_copy_to_32bit (); 42880 ; 42881 return 0; 42882} 42883_ACEOF 42884if ac_fn_c_try_link "$LINENO"; then : 42885 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_32bit=yes 42886else 42887 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_32bit=no 42888fi 42889rm -f core conftest.err conftest.$ac_objext \ 42890 conftest$ac_exeext conftest.$ac_ext 42891LIBS=$ac_check_lib_save_LIBS 42892fi 42893{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_32bit" >&5 42894$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_32bit" >&6; } 42895if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_32bit" = xyes; then : 42896 ac_cv_libfdatetime_dummy=yes 42897else 42898 ac_cv_libfdatetime=no 42899fi 42900 42901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_copy_from_64bit in -lfdatetime" >&5 42902$as_echo_n "checking for libfdatetime_posix_time_copy_from_64bit in -lfdatetime... " >&6; } 42903if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_64bit+:} false; then : 42904 $as_echo_n "(cached) " >&6 42905else 42906 ac_check_lib_save_LIBS=$LIBS 42907LIBS="-lfdatetime $LIBS" 42908cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42909/* end confdefs.h. */ 42910 42911/* Override any GCC internal prototype to avoid an error. 42912 Use char because int might match the return type of a GCC 42913 builtin and then its argument prototype would still apply. */ 42914#ifdef __cplusplus 42915extern "C" 42916#endif 42917char libfdatetime_posix_time_copy_from_64bit (); 42918int 42919main () 42920{ 42921return libfdatetime_posix_time_copy_from_64bit (); 42922 ; 42923 return 0; 42924} 42925_ACEOF 42926if ac_fn_c_try_link "$LINENO"; then : 42927 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_64bit=yes 42928else 42929 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_64bit=no 42930fi 42931rm -f core conftest.err conftest.$ac_objext \ 42932 conftest$ac_exeext conftest.$ac_ext 42933LIBS=$ac_check_lib_save_LIBS 42934fi 42935{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_64bit" >&5 42936$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_64bit" >&6; } 42937if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_from_64bit" = xyes; then : 42938 ac_cv_libfdatetime_dummy=yes 42939else 42940 ac_cv_libfdatetime=no 42941fi 42942 42943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_copy_to_64bit in -lfdatetime" >&5 42944$as_echo_n "checking for libfdatetime_posix_time_copy_to_64bit in -lfdatetime... " >&6; } 42945if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_64bit+:} false; then : 42946 $as_echo_n "(cached) " >&6 42947else 42948 ac_check_lib_save_LIBS=$LIBS 42949LIBS="-lfdatetime $LIBS" 42950cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42951/* end confdefs.h. */ 42952 42953/* Override any GCC internal prototype to avoid an error. 42954 Use char because int might match the return type of a GCC 42955 builtin and then its argument prototype would still apply. */ 42956#ifdef __cplusplus 42957extern "C" 42958#endif 42959char libfdatetime_posix_time_copy_to_64bit (); 42960int 42961main () 42962{ 42963return libfdatetime_posix_time_copy_to_64bit (); 42964 ; 42965 return 0; 42966} 42967_ACEOF 42968if ac_fn_c_try_link "$LINENO"; then : 42969 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_64bit=yes 42970else 42971 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_64bit=no 42972fi 42973rm -f core conftest.err conftest.$ac_objext \ 42974 conftest$ac_exeext conftest.$ac_ext 42975LIBS=$ac_check_lib_save_LIBS 42976fi 42977{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_64bit" >&5 42978$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_64bit" >&6; } 42979if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_64bit" = xyes; then : 42980 ac_cv_libfdatetime_dummy=yes 42981else 42982 ac_cv_libfdatetime=no 42983fi 42984 42985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_copy_to_utf8_string in -lfdatetime" >&5 42986$as_echo_n "checking for libfdatetime_posix_time_copy_to_utf8_string in -lfdatetime... " >&6; } 42987if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf8_string+:} false; then : 42988 $as_echo_n "(cached) " >&6 42989else 42990 ac_check_lib_save_LIBS=$LIBS 42991LIBS="-lfdatetime $LIBS" 42992cat confdefs.h - <<_ACEOF >conftest.$ac_ext 42993/* end confdefs.h. */ 42994 42995/* Override any GCC internal prototype to avoid an error. 42996 Use char because int might match the return type of a GCC 42997 builtin and then its argument prototype would still apply. */ 42998#ifdef __cplusplus 42999extern "C" 43000#endif 43001char libfdatetime_posix_time_copy_to_utf8_string (); 43002int 43003main () 43004{ 43005return libfdatetime_posix_time_copy_to_utf8_string (); 43006 ; 43007 return 0; 43008} 43009_ACEOF 43010if ac_fn_c_try_link "$LINENO"; then : 43011 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf8_string=yes 43012else 43013 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf8_string=no 43014fi 43015rm -f core conftest.err conftest.$ac_objext \ 43016 conftest$ac_exeext conftest.$ac_ext 43017LIBS=$ac_check_lib_save_LIBS 43018fi 43019{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf8_string" >&5 43020$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf8_string" >&6; } 43021if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf8_string" = xyes; then : 43022 ac_cv_libfdatetime_dummy=yes 43023else 43024 ac_cv_libfdatetime=no 43025fi 43026 43027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_copy_to_utf8_string_with_index in -lfdatetime" >&5 43028$as_echo_n "checking for libfdatetime_posix_time_copy_to_utf8_string_with_index in -lfdatetime... " >&6; } 43029if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf8_string_with_index+:} false; then : 43030 $as_echo_n "(cached) " >&6 43031else 43032 ac_check_lib_save_LIBS=$LIBS 43033LIBS="-lfdatetime $LIBS" 43034cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43035/* end confdefs.h. */ 43036 43037/* Override any GCC internal prototype to avoid an error. 43038 Use char because int might match the return type of a GCC 43039 builtin and then its argument prototype would still apply. */ 43040#ifdef __cplusplus 43041extern "C" 43042#endif 43043char libfdatetime_posix_time_copy_to_utf8_string_with_index (); 43044int 43045main () 43046{ 43047return libfdatetime_posix_time_copy_to_utf8_string_with_index (); 43048 ; 43049 return 0; 43050} 43051_ACEOF 43052if ac_fn_c_try_link "$LINENO"; then : 43053 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf8_string_with_index=yes 43054else 43055 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf8_string_with_index=no 43056fi 43057rm -f core conftest.err conftest.$ac_objext \ 43058 conftest$ac_exeext conftest.$ac_ext 43059LIBS=$ac_check_lib_save_LIBS 43060fi 43061{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf8_string_with_index" >&5 43062$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf8_string_with_index" >&6; } 43063if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf8_string_with_index" = xyes; then : 43064 ac_cv_libfdatetime_dummy=yes 43065else 43066 ac_cv_libfdatetime=no 43067fi 43068 43069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_copy_to_utf16_string in -lfdatetime" >&5 43070$as_echo_n "checking for libfdatetime_posix_time_copy_to_utf16_string in -lfdatetime... " >&6; } 43071if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf16_string+:} false; then : 43072 $as_echo_n "(cached) " >&6 43073else 43074 ac_check_lib_save_LIBS=$LIBS 43075LIBS="-lfdatetime $LIBS" 43076cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43077/* end confdefs.h. */ 43078 43079/* Override any GCC internal prototype to avoid an error. 43080 Use char because int might match the return type of a GCC 43081 builtin and then its argument prototype would still apply. */ 43082#ifdef __cplusplus 43083extern "C" 43084#endif 43085char libfdatetime_posix_time_copy_to_utf16_string (); 43086int 43087main () 43088{ 43089return libfdatetime_posix_time_copy_to_utf16_string (); 43090 ; 43091 return 0; 43092} 43093_ACEOF 43094if ac_fn_c_try_link "$LINENO"; then : 43095 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf16_string=yes 43096else 43097 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf16_string=no 43098fi 43099rm -f core conftest.err conftest.$ac_objext \ 43100 conftest$ac_exeext conftest.$ac_ext 43101LIBS=$ac_check_lib_save_LIBS 43102fi 43103{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf16_string" >&5 43104$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf16_string" >&6; } 43105if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf16_string" = xyes; then : 43106 ac_cv_libfdatetime_dummy=yes 43107else 43108 ac_cv_libfdatetime=no 43109fi 43110 43111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_copy_to_utf16_string_with_index in -lfdatetime" >&5 43112$as_echo_n "checking for libfdatetime_posix_time_copy_to_utf16_string_with_index in -lfdatetime... " >&6; } 43113if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf16_string_with_index+:} false; then : 43114 $as_echo_n "(cached) " >&6 43115else 43116 ac_check_lib_save_LIBS=$LIBS 43117LIBS="-lfdatetime $LIBS" 43118cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43119/* end confdefs.h. */ 43120 43121/* Override any GCC internal prototype to avoid an error. 43122 Use char because int might match the return type of a GCC 43123 builtin and then its argument prototype would still apply. */ 43124#ifdef __cplusplus 43125extern "C" 43126#endif 43127char libfdatetime_posix_time_copy_to_utf16_string_with_index (); 43128int 43129main () 43130{ 43131return libfdatetime_posix_time_copy_to_utf16_string_with_index (); 43132 ; 43133 return 0; 43134} 43135_ACEOF 43136if ac_fn_c_try_link "$LINENO"; then : 43137 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf16_string_with_index=yes 43138else 43139 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf16_string_with_index=no 43140fi 43141rm -f core conftest.err conftest.$ac_objext \ 43142 conftest$ac_exeext conftest.$ac_ext 43143LIBS=$ac_check_lib_save_LIBS 43144fi 43145{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf16_string_with_index" >&5 43146$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf16_string_with_index" >&6; } 43147if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf16_string_with_index" = xyes; then : 43148 ac_cv_libfdatetime_dummy=yes 43149else 43150 ac_cv_libfdatetime=no 43151fi 43152 43153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_copy_to_utf32_string in -lfdatetime" >&5 43154$as_echo_n "checking for libfdatetime_posix_time_copy_to_utf32_string in -lfdatetime... " >&6; } 43155if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf32_string+:} false; then : 43156 $as_echo_n "(cached) " >&6 43157else 43158 ac_check_lib_save_LIBS=$LIBS 43159LIBS="-lfdatetime $LIBS" 43160cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43161/* end confdefs.h. */ 43162 43163/* Override any GCC internal prototype to avoid an error. 43164 Use char because int might match the return type of a GCC 43165 builtin and then its argument prototype would still apply. */ 43166#ifdef __cplusplus 43167extern "C" 43168#endif 43169char libfdatetime_posix_time_copy_to_utf32_string (); 43170int 43171main () 43172{ 43173return libfdatetime_posix_time_copy_to_utf32_string (); 43174 ; 43175 return 0; 43176} 43177_ACEOF 43178if ac_fn_c_try_link "$LINENO"; then : 43179 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf32_string=yes 43180else 43181 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf32_string=no 43182fi 43183rm -f core conftest.err conftest.$ac_objext \ 43184 conftest$ac_exeext conftest.$ac_ext 43185LIBS=$ac_check_lib_save_LIBS 43186fi 43187{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf32_string" >&5 43188$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf32_string" >&6; } 43189if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf32_string" = xyes; then : 43190 ac_cv_libfdatetime_dummy=yes 43191else 43192 ac_cv_libfdatetime=no 43193fi 43194 43195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_posix_time_copy_to_utf32_string_with_index in -lfdatetime" >&5 43196$as_echo_n "checking for libfdatetime_posix_time_copy_to_utf32_string_with_index in -lfdatetime... " >&6; } 43197if ${ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf32_string_with_index+:} false; then : 43198 $as_echo_n "(cached) " >&6 43199else 43200 ac_check_lib_save_LIBS=$LIBS 43201LIBS="-lfdatetime $LIBS" 43202cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43203/* end confdefs.h. */ 43204 43205/* Override any GCC internal prototype to avoid an error. 43206 Use char because int might match the return type of a GCC 43207 builtin and then its argument prototype would still apply. */ 43208#ifdef __cplusplus 43209extern "C" 43210#endif 43211char libfdatetime_posix_time_copy_to_utf32_string_with_index (); 43212int 43213main () 43214{ 43215return libfdatetime_posix_time_copy_to_utf32_string_with_index (); 43216 ; 43217 return 0; 43218} 43219_ACEOF 43220if ac_fn_c_try_link "$LINENO"; then : 43221 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf32_string_with_index=yes 43222else 43223 ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf32_string_with_index=no 43224fi 43225rm -f core conftest.err conftest.$ac_objext \ 43226 conftest$ac_exeext conftest.$ac_ext 43227LIBS=$ac_check_lib_save_LIBS 43228fi 43229{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf32_string_with_index" >&5 43230$as_echo "$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf32_string_with_index" >&6; } 43231if test "x$ac_cv_lib_fdatetime_libfdatetime_posix_time_copy_to_utf32_string_with_index" = xyes; then : 43232 ac_cv_libfdatetime_dummy=yes 43233else 43234 ac_cv_libfdatetime=no 43235fi 43236 43237 43238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_systemetime_initialize in -lfdatetime" >&5 43239$as_echo_n "checking for libfdatetime_systemetime_initialize in -lfdatetime... " >&6; } 43240if ${ac_cv_lib_fdatetime_libfdatetime_systemetime_initialize+:} false; then : 43241 $as_echo_n "(cached) " >&6 43242else 43243 ac_check_lib_save_LIBS=$LIBS 43244LIBS="-lfdatetime $LIBS" 43245cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43246/* end confdefs.h. */ 43247 43248/* Override any GCC internal prototype to avoid an error. 43249 Use char because int might match the return type of a GCC 43250 builtin and then its argument prototype would still apply. */ 43251#ifdef __cplusplus 43252extern "C" 43253#endif 43254char libfdatetime_systemetime_initialize (); 43255int 43256main () 43257{ 43258return libfdatetime_systemetime_initialize (); 43259 ; 43260 return 0; 43261} 43262_ACEOF 43263if ac_fn_c_try_link "$LINENO"; then : 43264 ac_cv_lib_fdatetime_libfdatetime_systemetime_initialize=yes 43265else 43266 ac_cv_lib_fdatetime_libfdatetime_systemetime_initialize=no 43267fi 43268rm -f core conftest.err conftest.$ac_objext \ 43269 conftest$ac_exeext conftest.$ac_ext 43270LIBS=$ac_check_lib_save_LIBS 43271fi 43272{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_systemetime_initialize" >&5 43273$as_echo "$ac_cv_lib_fdatetime_libfdatetime_systemetime_initialize" >&6; } 43274if test "x$ac_cv_lib_fdatetime_libfdatetime_systemetime_initialize" = xyes; then : 43275 ac_cv_libfdatetime_dummy=yes 43276else 43277 ac_cv_libfdatetime=no 43278fi 43279 43280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_systemetime_free in -lfdatetime" >&5 43281$as_echo_n "checking for libfdatetime_systemetime_free in -lfdatetime... " >&6; } 43282if ${ac_cv_lib_fdatetime_libfdatetime_systemetime_free+:} false; then : 43283 $as_echo_n "(cached) " >&6 43284else 43285 ac_check_lib_save_LIBS=$LIBS 43286LIBS="-lfdatetime $LIBS" 43287cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43288/* end confdefs.h. */ 43289 43290/* Override any GCC internal prototype to avoid an error. 43291 Use char because int might match the return type of a GCC 43292 builtin and then its argument prototype would still apply. */ 43293#ifdef __cplusplus 43294extern "C" 43295#endif 43296char libfdatetime_systemetime_free (); 43297int 43298main () 43299{ 43300return libfdatetime_systemetime_free (); 43301 ; 43302 return 0; 43303} 43304_ACEOF 43305if ac_fn_c_try_link "$LINENO"; then : 43306 ac_cv_lib_fdatetime_libfdatetime_systemetime_free=yes 43307else 43308 ac_cv_lib_fdatetime_libfdatetime_systemetime_free=no 43309fi 43310rm -f core conftest.err conftest.$ac_objext \ 43311 conftest$ac_exeext conftest.$ac_ext 43312LIBS=$ac_check_lib_save_LIBS 43313fi 43314{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_systemetime_free" >&5 43315$as_echo "$ac_cv_lib_fdatetime_libfdatetime_systemetime_free" >&6; } 43316if test "x$ac_cv_lib_fdatetime_libfdatetime_systemetime_free" = xyes; then : 43317 ac_cv_libfdatetime_dummy=yes 43318else 43319 ac_cv_libfdatetime=no 43320fi 43321 43322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_systemetime_copy_from_byte_stream in -lfdatetime" >&5 43323$as_echo_n "checking for libfdatetime_systemetime_copy_from_byte_stream in -lfdatetime... " >&6; } 43324if ${ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_from_byte_stream+:} false; then : 43325 $as_echo_n "(cached) " >&6 43326else 43327 ac_check_lib_save_LIBS=$LIBS 43328LIBS="-lfdatetime $LIBS" 43329cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43330/* end confdefs.h. */ 43331 43332/* Override any GCC internal prototype to avoid an error. 43333 Use char because int might match the return type of a GCC 43334 builtin and then its argument prototype would still apply. */ 43335#ifdef __cplusplus 43336extern "C" 43337#endif 43338char libfdatetime_systemetime_copy_from_byte_stream (); 43339int 43340main () 43341{ 43342return libfdatetime_systemetime_copy_from_byte_stream (); 43343 ; 43344 return 0; 43345} 43346_ACEOF 43347if ac_fn_c_try_link "$LINENO"; then : 43348 ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_from_byte_stream=yes 43349else 43350 ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_from_byte_stream=no 43351fi 43352rm -f core conftest.err conftest.$ac_objext \ 43353 conftest$ac_exeext conftest.$ac_ext 43354LIBS=$ac_check_lib_save_LIBS 43355fi 43356{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_from_byte_stream" >&5 43357$as_echo "$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_from_byte_stream" >&6; } 43358if test "x$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_from_byte_stream" = xyes; then : 43359 ac_cv_libfdatetime_dummy=yes 43360else 43361 ac_cv_libfdatetime=no 43362fi 43363 43364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_systemetime_copy_to_utf8_string in -lfdatetime" >&5 43365$as_echo_n "checking for libfdatetime_systemetime_copy_to_utf8_string in -lfdatetime... " >&6; } 43366if ${ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf8_string+:} false; then : 43367 $as_echo_n "(cached) " >&6 43368else 43369 ac_check_lib_save_LIBS=$LIBS 43370LIBS="-lfdatetime $LIBS" 43371cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43372/* end confdefs.h. */ 43373 43374/* Override any GCC internal prototype to avoid an error. 43375 Use char because int might match the return type of a GCC 43376 builtin and then its argument prototype would still apply. */ 43377#ifdef __cplusplus 43378extern "C" 43379#endif 43380char libfdatetime_systemetime_copy_to_utf8_string (); 43381int 43382main () 43383{ 43384return libfdatetime_systemetime_copy_to_utf8_string (); 43385 ; 43386 return 0; 43387} 43388_ACEOF 43389if ac_fn_c_try_link "$LINENO"; then : 43390 ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf8_string=yes 43391else 43392 ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf8_string=no 43393fi 43394rm -f core conftest.err conftest.$ac_objext \ 43395 conftest$ac_exeext conftest.$ac_ext 43396LIBS=$ac_check_lib_save_LIBS 43397fi 43398{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf8_string" >&5 43399$as_echo "$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf8_string" >&6; } 43400if test "x$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf8_string" = xyes; then : 43401 ac_cv_libfdatetime_dummy=yes 43402else 43403 ac_cv_libfdatetime=no 43404fi 43405 43406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_systemetime_copy_to_utf8_string_with_index in -lfdatetime" >&5 43407$as_echo_n "checking for libfdatetime_systemetime_copy_to_utf8_string_with_index in -lfdatetime... " >&6; } 43408if ${ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf8_string_with_index+:} false; then : 43409 $as_echo_n "(cached) " >&6 43410else 43411 ac_check_lib_save_LIBS=$LIBS 43412LIBS="-lfdatetime $LIBS" 43413cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43414/* end confdefs.h. */ 43415 43416/* Override any GCC internal prototype to avoid an error. 43417 Use char because int might match the return type of a GCC 43418 builtin and then its argument prototype would still apply. */ 43419#ifdef __cplusplus 43420extern "C" 43421#endif 43422char libfdatetime_systemetime_copy_to_utf8_string_with_index (); 43423int 43424main () 43425{ 43426return libfdatetime_systemetime_copy_to_utf8_string_with_index (); 43427 ; 43428 return 0; 43429} 43430_ACEOF 43431if ac_fn_c_try_link "$LINENO"; then : 43432 ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf8_string_with_index=yes 43433else 43434 ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf8_string_with_index=no 43435fi 43436rm -f core conftest.err conftest.$ac_objext \ 43437 conftest$ac_exeext conftest.$ac_ext 43438LIBS=$ac_check_lib_save_LIBS 43439fi 43440{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf8_string_with_index" >&5 43441$as_echo "$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf8_string_with_index" >&6; } 43442if test "x$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf8_string_with_index" = xyes; then : 43443 ac_cv_libfdatetime_dummy=yes 43444else 43445 ac_cv_libfdatetime=no 43446fi 43447 43448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_systemetime_copy_to_utf16_string in -lfdatetime" >&5 43449$as_echo_n "checking for libfdatetime_systemetime_copy_to_utf16_string in -lfdatetime... " >&6; } 43450if ${ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf16_string+:} false; then : 43451 $as_echo_n "(cached) " >&6 43452else 43453 ac_check_lib_save_LIBS=$LIBS 43454LIBS="-lfdatetime $LIBS" 43455cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43456/* end confdefs.h. */ 43457 43458/* Override any GCC internal prototype to avoid an error. 43459 Use char because int might match the return type of a GCC 43460 builtin and then its argument prototype would still apply. */ 43461#ifdef __cplusplus 43462extern "C" 43463#endif 43464char libfdatetime_systemetime_copy_to_utf16_string (); 43465int 43466main () 43467{ 43468return libfdatetime_systemetime_copy_to_utf16_string (); 43469 ; 43470 return 0; 43471} 43472_ACEOF 43473if ac_fn_c_try_link "$LINENO"; then : 43474 ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf16_string=yes 43475else 43476 ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf16_string=no 43477fi 43478rm -f core conftest.err conftest.$ac_objext \ 43479 conftest$ac_exeext conftest.$ac_ext 43480LIBS=$ac_check_lib_save_LIBS 43481fi 43482{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf16_string" >&5 43483$as_echo "$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf16_string" >&6; } 43484if test "x$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf16_string" = xyes; then : 43485 ac_cv_libfdatetime_dummy=yes 43486else 43487 ac_cv_libfdatetime=no 43488fi 43489 43490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_systemetime_copy_to_utf16_string_with_index in -lfdatetime" >&5 43491$as_echo_n "checking for libfdatetime_systemetime_copy_to_utf16_string_with_index in -lfdatetime... " >&6; } 43492if ${ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf16_string_with_index+:} false; then : 43493 $as_echo_n "(cached) " >&6 43494else 43495 ac_check_lib_save_LIBS=$LIBS 43496LIBS="-lfdatetime $LIBS" 43497cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43498/* end confdefs.h. */ 43499 43500/* Override any GCC internal prototype to avoid an error. 43501 Use char because int might match the return type of a GCC 43502 builtin and then its argument prototype would still apply. */ 43503#ifdef __cplusplus 43504extern "C" 43505#endif 43506char libfdatetime_systemetime_copy_to_utf16_string_with_index (); 43507int 43508main () 43509{ 43510return libfdatetime_systemetime_copy_to_utf16_string_with_index (); 43511 ; 43512 return 0; 43513} 43514_ACEOF 43515if ac_fn_c_try_link "$LINENO"; then : 43516 ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf16_string_with_index=yes 43517else 43518 ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf16_string_with_index=no 43519fi 43520rm -f core conftest.err conftest.$ac_objext \ 43521 conftest$ac_exeext conftest.$ac_ext 43522LIBS=$ac_check_lib_save_LIBS 43523fi 43524{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf16_string_with_index" >&5 43525$as_echo "$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf16_string_with_index" >&6; } 43526if test "x$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf16_string_with_index" = xyes; then : 43527 ac_cv_libfdatetime_dummy=yes 43528else 43529 ac_cv_libfdatetime=no 43530fi 43531 43532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_systemetime_copy_to_utf32_string in -lfdatetime" >&5 43533$as_echo_n "checking for libfdatetime_systemetime_copy_to_utf32_string in -lfdatetime... " >&6; } 43534if ${ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf32_string+:} false; then : 43535 $as_echo_n "(cached) " >&6 43536else 43537 ac_check_lib_save_LIBS=$LIBS 43538LIBS="-lfdatetime $LIBS" 43539cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43540/* end confdefs.h. */ 43541 43542/* Override any GCC internal prototype to avoid an error. 43543 Use char because int might match the return type of a GCC 43544 builtin and then its argument prototype would still apply. */ 43545#ifdef __cplusplus 43546extern "C" 43547#endif 43548char libfdatetime_systemetime_copy_to_utf32_string (); 43549int 43550main () 43551{ 43552return libfdatetime_systemetime_copy_to_utf32_string (); 43553 ; 43554 return 0; 43555} 43556_ACEOF 43557if ac_fn_c_try_link "$LINENO"; then : 43558 ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf32_string=yes 43559else 43560 ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf32_string=no 43561fi 43562rm -f core conftest.err conftest.$ac_objext \ 43563 conftest$ac_exeext conftest.$ac_ext 43564LIBS=$ac_check_lib_save_LIBS 43565fi 43566{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf32_string" >&5 43567$as_echo "$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf32_string" >&6; } 43568if test "x$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf32_string" = xyes; then : 43569 ac_cv_libfdatetime_dummy=yes 43570else 43571 ac_cv_libfdatetime=no 43572fi 43573 43574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfdatetime_systemetime_copy_to_utf32_string_with_index in -lfdatetime" >&5 43575$as_echo_n "checking for libfdatetime_systemetime_copy_to_utf32_string_with_index in -lfdatetime... " >&6; } 43576if ${ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf32_string_with_index+:} false; then : 43577 $as_echo_n "(cached) " >&6 43578else 43579 ac_check_lib_save_LIBS=$LIBS 43580LIBS="-lfdatetime $LIBS" 43581cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43582/* end confdefs.h. */ 43583 43584/* Override any GCC internal prototype to avoid an error. 43585 Use char because int might match the return type of a GCC 43586 builtin and then its argument prototype would still apply. */ 43587#ifdef __cplusplus 43588extern "C" 43589#endif 43590char libfdatetime_systemetime_copy_to_utf32_string_with_index (); 43591int 43592main () 43593{ 43594return libfdatetime_systemetime_copy_to_utf32_string_with_index (); 43595 ; 43596 return 0; 43597} 43598_ACEOF 43599if ac_fn_c_try_link "$LINENO"; then : 43600 ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf32_string_with_index=yes 43601else 43602 ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf32_string_with_index=no 43603fi 43604rm -f core conftest.err conftest.$ac_objext \ 43605 conftest$ac_exeext conftest.$ac_ext 43606LIBS=$ac_check_lib_save_LIBS 43607fi 43608{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf32_string_with_index" >&5 43609$as_echo "$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf32_string_with_index" >&6; } 43610if test "x$ac_cv_lib_fdatetime_libfdatetime_systemetime_copy_to_utf32_string_with_index" = xyes; then : 43611 ac_cv_libfdatetime_dummy=yes 43612else 43613 ac_cv_libfdatetime=no 43614fi 43615 43616 43617 ac_cv_libfdatetime_LIBADD="-lfdatetime" 43618fi 43619 43620fi 43621 if test "x$ac_cv_with_libfdatetime" != x && test "x$ac_cv_with_libfdatetime" != xauto-detect && test "x$ac_cv_libfdatetime" != xyes; then : 43622 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 43623$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 43624as_fn_error 1 "unable to find supported libfdatetime in directory: $ac_cv_with_libfdatetime 43625See \`config.log' for more details" "$LINENO" 5; } 43626 43627fi 43628 43629fi 43630 43631 if test "x$ac_cv_libfdatetime" = xyes; then : 43632 43633$as_echo "#define HAVE_LIBFDATETIME 1" >>confdefs.h 43634 43635 43636fi 43637 43638 if test "x$ac_cv_libfdatetime" = xyes; then : 43639 HAVE_LIBFDATETIME=1 43640 43641else 43642 HAVE_LIBFDATETIME=0 43643 43644 43645fi 43646 43647 43648 if test "x$ac_cv_libfdatetime" != xyes; then : 43649 43650 ac_cv_libfdatetime_CPPFLAGS="-I../libfdatetime"; 43651 ac_cv_libfdatetime_LIBADD="../libfdatetime/libfdatetime.la"; 43652 43653 ac_cv_libfdatetime=local 43654 43655 43656 43657$as_echo "#define HAVE_LOCAL_LIBFDATETIME 1" >>confdefs.h 43658 43659 HAVE_LOCAL_LIBFDATETIME=1 43660 43661 43662fi 43663 43664 if test "x$ac_cv_libfdatetime" = xlocal; then 43665 HAVE_LOCAL_LIBFDATETIME_TRUE= 43666 HAVE_LOCAL_LIBFDATETIME_FALSE='#' 43667else 43668 HAVE_LOCAL_LIBFDATETIME_TRUE='#' 43669 HAVE_LOCAL_LIBFDATETIME_FALSE= 43670fi 43671 43672 if test "x$ac_cv_libfdatetime_CPPFLAGS" != "x"; then : 43673 LIBFDATETIME_CPPFLAGS=$ac_cv_libfdatetime_CPPFLAGS 43674 43675 43676fi 43677 if test "x$ac_cv_libfdatetime_LIBADD" != "x"; then : 43678 LIBFDATETIME_LIBADD=$ac_cv_libfdatetime_LIBADD 43679 43680 43681fi 43682 43683 if test "x$ac_cv_libfdatetime" = xyes; then : 43684 ax_libfdatetime_pc_libs_private=-lfdatetime 43685 43686 43687fi 43688 43689 if test "x$ac_cv_libfdatetime" = xyes; then : 43690 ax_libfdatetime_spec_requires=libfdatetime 43691 43692 ax_libfdatetime_spec_build_requires=libfdatetime-devel 43693 43694 43695fi 43696 43697 43698 43699 43700# Check whether --with-libfguid was given. 43701if test "${with_libfguid+set}" = set; then : 43702 withval=$with_libfguid; ac_cv_with_libfguid=$withval 43703else 43704 ac_cv_with_libfguid=auto-detect 43705fi 43706 43707 { $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 43708$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; } 43709if ${ac_cv_with_libfguid+:} false; then : 43710 $as_echo_n "(cached) " >&6 43711else 43712 ac_cv_with_libfguid=auto-detect 43713fi 43714{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libfguid" >&5 43715$as_echo "$ac_cv_with_libfguid" >&6; } 43716 43717 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libfguid" = xno; then : 43718 ac_cv_libfguid=no 43719else 43720 ac_cv_libfguid=check 43721 if test "x$ac_cv_with_libfguid" != x && test "x$ac_cv_with_libfguid" != xauto-detect; then : 43722 if test -d "$ac_cv_with_libfguid"; then : 43723 CFLAGS="$CFLAGS -I${ac_cv_with_libfguid}/include" 43724 LDFLAGS="$LDFLAGS -L${ac_cv_with_libfguid}/lib" 43725else 43726 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 43727$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 43728as_fn_error 1 "no such directory: $ac_cv_with_libfguid 43729See \`config.log' for more details" "$LINENO" 5; } 43730 43731fi 43732 43733else 43734 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 43735 43736pkg_failed=no 43737{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid" >&5 43738$as_echo_n "checking for libfguid... " >&6; } 43739 43740if test -n "$libfguid_CFLAGS"; then 43741 pkg_cv_libfguid_CFLAGS="$libfguid_CFLAGS" 43742 elif test -n "$PKG_CONFIG"; then 43743 if test -n "$PKG_CONFIG" && \ 43744 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfguid >= 20120426\""; } >&5 43745 ($PKG_CONFIG --exists --print-errors "libfguid >= 20120426") 2>&5 43746 ac_status=$? 43747 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 43748 test $ac_status = 0; }; then 43749 pkg_cv_libfguid_CFLAGS=`$PKG_CONFIG --cflags "libfguid >= 20120426" 2>/dev/null` 43750 test "x$?" != "x0" && pkg_failed=yes 43751else 43752 pkg_failed=yes 43753fi 43754 else 43755 pkg_failed=untried 43756fi 43757if test -n "$libfguid_LIBS"; then 43758 pkg_cv_libfguid_LIBS="$libfguid_LIBS" 43759 elif test -n "$PKG_CONFIG"; then 43760 if test -n "$PKG_CONFIG" && \ 43761 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfguid >= 20120426\""; } >&5 43762 ($PKG_CONFIG --exists --print-errors "libfguid >= 20120426") 2>&5 43763 ac_status=$? 43764 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 43765 test $ac_status = 0; }; then 43766 pkg_cv_libfguid_LIBS=`$PKG_CONFIG --libs "libfguid >= 20120426" 2>/dev/null` 43767 test "x$?" != "x0" && pkg_failed=yes 43768else 43769 pkg_failed=yes 43770fi 43771 else 43772 pkg_failed=untried 43773fi 43774 43775 43776 43777if test $pkg_failed = yes; then 43778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 43779$as_echo "no" >&6; } 43780 43781if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 43782 _pkg_short_errors_supported=yes 43783else 43784 _pkg_short_errors_supported=no 43785fi 43786 if test $_pkg_short_errors_supported = yes; then 43787 libfguid_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libfguid >= 20120426" 2>&1` 43788 else 43789 libfguid_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libfguid >= 20120426" 2>&1` 43790 fi 43791 # Put the nasty error message in config.log where it belongs 43792 echo "$libfguid_PKG_ERRORS" >&5 43793 43794 ac_cv_libfguid=check 43795elif test $pkg_failed = untried; then 43796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 43797$as_echo "no" >&6; } 43798 ac_cv_libfguid=check 43799else 43800 libfguid_CFLAGS=$pkg_cv_libfguid_CFLAGS 43801 libfguid_LIBS=$pkg_cv_libfguid_LIBS 43802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 43803$as_echo "yes" >&6; } 43804 ac_cv_libfguid=yes 43805fi 43806 43807fi 43808 if test "x$ac_cv_libfguid" = xyes; then : 43809 ac_cv_libfguid_CPPFLAGS="$pkg_cv_libfguid_CFLAGS" 43810 ac_cv_libfguid_LIBADD="$pkg_cv_libfguid_LIBS" 43811fi 43812 43813fi 43814 43815 if test "x$ac_cv_libfguid" = xcheck; then : 43816 for ac_header in libfguid.h 43817do : 43818 ac_fn_c_check_header_mongrel "$LINENO" "libfguid.h" "ac_cv_header_libfguid_h" "$ac_includes_default" 43819if test "x$ac_cv_header_libfguid_h" = xyes; then : 43820 cat >>confdefs.h <<_ACEOF 43821#define HAVE_LIBFGUID_H 1 43822_ACEOF 43823 43824fi 43825 43826done 43827 43828 43829 if test "x$ac_cv_header_libfguid_h" = xno; then : 43830 ac_cv_libfguid=no 43831else 43832 ac_cv_libfguid=yes 43833 43834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid_get_version in -lfguid" >&5 43835$as_echo_n "checking for libfguid_get_version in -lfguid... " >&6; } 43836if ${ac_cv_lib_fguid_libfguid_get_version+:} false; then : 43837 $as_echo_n "(cached) " >&6 43838else 43839 ac_check_lib_save_LIBS=$LIBS 43840LIBS="-lfguid $LIBS" 43841cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43842/* end confdefs.h. */ 43843 43844/* Override any GCC internal prototype to avoid an error. 43845 Use char because int might match the return type of a GCC 43846 builtin and then its argument prototype would still apply. */ 43847#ifdef __cplusplus 43848extern "C" 43849#endif 43850char libfguid_get_version (); 43851int 43852main () 43853{ 43854return libfguid_get_version (); 43855 ; 43856 return 0; 43857} 43858_ACEOF 43859if ac_fn_c_try_link "$LINENO"; then : 43860 ac_cv_lib_fguid_libfguid_get_version=yes 43861else 43862 ac_cv_lib_fguid_libfguid_get_version=no 43863fi 43864rm -f core conftest.err conftest.$ac_objext \ 43865 conftest$ac_exeext conftest.$ac_ext 43866LIBS=$ac_check_lib_save_LIBS 43867fi 43868{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fguid_libfguid_get_version" >&5 43869$as_echo "$ac_cv_lib_fguid_libfguid_get_version" >&6; } 43870if test "x$ac_cv_lib_fguid_libfguid_get_version" = xyes; then : 43871 ac_cv_libfguid_dummy=yes 43872else 43873 ac_cv_libfguid=no 43874fi 43875 43876 43877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid_identifier_initialize in -lfguid" >&5 43878$as_echo_n "checking for libfguid_identifier_initialize in -lfguid... " >&6; } 43879if ${ac_cv_lib_fguid_libfguid_identifier_initialize+:} false; then : 43880 $as_echo_n "(cached) " >&6 43881else 43882 ac_check_lib_save_LIBS=$LIBS 43883LIBS="-lfguid $LIBS" 43884cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43885/* end confdefs.h. */ 43886 43887/* Override any GCC internal prototype to avoid an error. 43888 Use char because int might match the return type of a GCC 43889 builtin and then its argument prototype would still apply. */ 43890#ifdef __cplusplus 43891extern "C" 43892#endif 43893char libfguid_identifier_initialize (); 43894int 43895main () 43896{ 43897return libfguid_identifier_initialize (); 43898 ; 43899 return 0; 43900} 43901_ACEOF 43902if ac_fn_c_try_link "$LINENO"; then : 43903 ac_cv_lib_fguid_libfguid_identifier_initialize=yes 43904else 43905 ac_cv_lib_fguid_libfguid_identifier_initialize=no 43906fi 43907rm -f core conftest.err conftest.$ac_objext \ 43908 conftest$ac_exeext conftest.$ac_ext 43909LIBS=$ac_check_lib_save_LIBS 43910fi 43911{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fguid_libfguid_identifier_initialize" >&5 43912$as_echo "$ac_cv_lib_fguid_libfguid_identifier_initialize" >&6; } 43913if test "x$ac_cv_lib_fguid_libfguid_identifier_initialize" = xyes; then : 43914 ac_cv_libfguid_dummy=yes 43915else 43916 ac_cv_libfguid=no 43917fi 43918 43919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid_identifier_free in -lfguid" >&5 43920$as_echo_n "checking for libfguid_identifier_free in -lfguid... " >&6; } 43921if ${ac_cv_lib_fguid_libfguid_identifier_free+:} false; then : 43922 $as_echo_n "(cached) " >&6 43923else 43924 ac_check_lib_save_LIBS=$LIBS 43925LIBS="-lfguid $LIBS" 43926cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43927/* end confdefs.h. */ 43928 43929/* Override any GCC internal prototype to avoid an error. 43930 Use char because int might match the return type of a GCC 43931 builtin and then its argument prototype would still apply. */ 43932#ifdef __cplusplus 43933extern "C" 43934#endif 43935char libfguid_identifier_free (); 43936int 43937main () 43938{ 43939return libfguid_identifier_free (); 43940 ; 43941 return 0; 43942} 43943_ACEOF 43944if ac_fn_c_try_link "$LINENO"; then : 43945 ac_cv_lib_fguid_libfguid_identifier_free=yes 43946else 43947 ac_cv_lib_fguid_libfguid_identifier_free=no 43948fi 43949rm -f core conftest.err conftest.$ac_objext \ 43950 conftest$ac_exeext conftest.$ac_ext 43951LIBS=$ac_check_lib_save_LIBS 43952fi 43953{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fguid_libfguid_identifier_free" >&5 43954$as_echo "$ac_cv_lib_fguid_libfguid_identifier_free" >&6; } 43955if test "x$ac_cv_lib_fguid_libfguid_identifier_free" = xyes; then : 43956 ac_cv_libfguid_dummy=yes 43957else 43958 ac_cv_libfguid=no 43959fi 43960 43961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid_identifier_copy_from_byte_stream in -lfguid" >&5 43962$as_echo_n "checking for libfguid_identifier_copy_from_byte_stream in -lfguid... " >&6; } 43963if ${ac_cv_lib_fguid_libfguid_identifier_copy_from_byte_stream+:} false; then : 43964 $as_echo_n "(cached) " >&6 43965else 43966 ac_check_lib_save_LIBS=$LIBS 43967LIBS="-lfguid $LIBS" 43968cat confdefs.h - <<_ACEOF >conftest.$ac_ext 43969/* end confdefs.h. */ 43970 43971/* Override any GCC internal prototype to avoid an error. 43972 Use char because int might match the return type of a GCC 43973 builtin and then its argument prototype would still apply. */ 43974#ifdef __cplusplus 43975extern "C" 43976#endif 43977char libfguid_identifier_copy_from_byte_stream (); 43978int 43979main () 43980{ 43981return libfguid_identifier_copy_from_byte_stream (); 43982 ; 43983 return 0; 43984} 43985_ACEOF 43986if ac_fn_c_try_link "$LINENO"; then : 43987 ac_cv_lib_fguid_libfguid_identifier_copy_from_byte_stream=yes 43988else 43989 ac_cv_lib_fguid_libfguid_identifier_copy_from_byte_stream=no 43990fi 43991rm -f core conftest.err conftest.$ac_objext \ 43992 conftest$ac_exeext conftest.$ac_ext 43993LIBS=$ac_check_lib_save_LIBS 43994fi 43995{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fguid_libfguid_identifier_copy_from_byte_stream" >&5 43996$as_echo "$ac_cv_lib_fguid_libfguid_identifier_copy_from_byte_stream" >&6; } 43997if test "x$ac_cv_lib_fguid_libfguid_identifier_copy_from_byte_stream" = xyes; then : 43998 ac_cv_libfguid_dummy=yes 43999else 44000 ac_cv_libfguid=no 44001fi 44002 44003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid_identifier_get_string_size in -lfguid" >&5 44004$as_echo_n "checking for libfguid_identifier_get_string_size in -lfguid... " >&6; } 44005if ${ac_cv_lib_fguid_libfguid_identifier_get_string_size+:} false; then : 44006 $as_echo_n "(cached) " >&6 44007else 44008 ac_check_lib_save_LIBS=$LIBS 44009LIBS="-lfguid $LIBS" 44010cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44011/* end confdefs.h. */ 44012 44013/* Override any GCC internal prototype to avoid an error. 44014 Use char because int might match the return type of a GCC 44015 builtin and then its argument prototype would still apply. */ 44016#ifdef __cplusplus 44017extern "C" 44018#endif 44019char libfguid_identifier_get_string_size (); 44020int 44021main () 44022{ 44023return libfguid_identifier_get_string_size (); 44024 ; 44025 return 0; 44026} 44027_ACEOF 44028if ac_fn_c_try_link "$LINENO"; then : 44029 ac_cv_lib_fguid_libfguid_identifier_get_string_size=yes 44030else 44031 ac_cv_lib_fguid_libfguid_identifier_get_string_size=no 44032fi 44033rm -f core conftest.err conftest.$ac_objext \ 44034 conftest$ac_exeext conftest.$ac_ext 44035LIBS=$ac_check_lib_save_LIBS 44036fi 44037{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fguid_libfguid_identifier_get_string_size" >&5 44038$as_echo "$ac_cv_lib_fguid_libfguid_identifier_get_string_size" >&6; } 44039if test "x$ac_cv_lib_fguid_libfguid_identifier_get_string_size" = xyes; then : 44040 ac_cv_libfguid_dummy=yes 44041else 44042 ac_cv_libfguid=no 44043fi 44044 44045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid_identifier_copy_to_utf8_string in -lfguid" >&5 44046$as_echo_n "checking for libfguid_identifier_copy_to_utf8_string in -lfguid... " >&6; } 44047if ${ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string+:} false; then : 44048 $as_echo_n "(cached) " >&6 44049else 44050 ac_check_lib_save_LIBS=$LIBS 44051LIBS="-lfguid $LIBS" 44052cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44053/* end confdefs.h. */ 44054 44055/* Override any GCC internal prototype to avoid an error. 44056 Use char because int might match the return type of a GCC 44057 builtin and then its argument prototype would still apply. */ 44058#ifdef __cplusplus 44059extern "C" 44060#endif 44061char libfguid_identifier_copy_to_utf8_string (); 44062int 44063main () 44064{ 44065return libfguid_identifier_copy_to_utf8_string (); 44066 ; 44067 return 0; 44068} 44069_ACEOF 44070if ac_fn_c_try_link "$LINENO"; then : 44071 ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string=yes 44072else 44073 ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string=no 44074fi 44075rm -f core conftest.err conftest.$ac_objext \ 44076 conftest$ac_exeext conftest.$ac_ext 44077LIBS=$ac_check_lib_save_LIBS 44078fi 44079{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string" >&5 44080$as_echo "$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string" >&6; } 44081if test "x$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string" = xyes; then : 44082 ac_cv_libfguid_dummy=yes 44083else 44084 ac_cv_libfguid=no 44085fi 44086 44087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid_identifier_copy_to_utf8_string_with_index in -lfguid" >&5 44088$as_echo_n "checking for libfguid_identifier_copy_to_utf8_string_with_index in -lfguid... " >&6; } 44089if ${ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string_with_index+:} false; then : 44090 $as_echo_n "(cached) " >&6 44091else 44092 ac_check_lib_save_LIBS=$LIBS 44093LIBS="-lfguid $LIBS" 44094cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44095/* end confdefs.h. */ 44096 44097/* Override any GCC internal prototype to avoid an error. 44098 Use char because int might match the return type of a GCC 44099 builtin and then its argument prototype would still apply. */ 44100#ifdef __cplusplus 44101extern "C" 44102#endif 44103char libfguid_identifier_copy_to_utf8_string_with_index (); 44104int 44105main () 44106{ 44107return libfguid_identifier_copy_to_utf8_string_with_index (); 44108 ; 44109 return 0; 44110} 44111_ACEOF 44112if ac_fn_c_try_link "$LINENO"; then : 44113 ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string_with_index=yes 44114else 44115 ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string_with_index=no 44116fi 44117rm -f core conftest.err conftest.$ac_objext \ 44118 conftest$ac_exeext conftest.$ac_ext 44119LIBS=$ac_check_lib_save_LIBS 44120fi 44121{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string_with_index" >&5 44122$as_echo "$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string_with_index" >&6; } 44123if test "x$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf8_string_with_index" = xyes; then : 44124 ac_cv_libfguid_dummy=yes 44125else 44126 ac_cv_libfguid=no 44127fi 44128 44129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid_identifier_copy_to_utf16_string in -lfguid" >&5 44130$as_echo_n "checking for libfguid_identifier_copy_to_utf16_string in -lfguid... " >&6; } 44131if ${ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string+:} false; then : 44132 $as_echo_n "(cached) " >&6 44133else 44134 ac_check_lib_save_LIBS=$LIBS 44135LIBS="-lfguid $LIBS" 44136cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44137/* end confdefs.h. */ 44138 44139/* Override any GCC internal prototype to avoid an error. 44140 Use char because int might match the return type of a GCC 44141 builtin and then its argument prototype would still apply. */ 44142#ifdef __cplusplus 44143extern "C" 44144#endif 44145char libfguid_identifier_copy_to_utf16_string (); 44146int 44147main () 44148{ 44149return libfguid_identifier_copy_to_utf16_string (); 44150 ; 44151 return 0; 44152} 44153_ACEOF 44154if ac_fn_c_try_link "$LINENO"; then : 44155 ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string=yes 44156else 44157 ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string=no 44158fi 44159rm -f core conftest.err conftest.$ac_objext \ 44160 conftest$ac_exeext conftest.$ac_ext 44161LIBS=$ac_check_lib_save_LIBS 44162fi 44163{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string" >&5 44164$as_echo "$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string" >&6; } 44165if test "x$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string" = xyes; then : 44166 ac_cv_libfguid_dummy=yes 44167else 44168 ac_cv_libfguid=no 44169fi 44170 44171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid_identifier_copy_to_utf16_string_with_index in -lfguid" >&5 44172$as_echo_n "checking for libfguid_identifier_copy_to_utf16_string_with_index in -lfguid... " >&6; } 44173if ${ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string_with_index+:} false; then : 44174 $as_echo_n "(cached) " >&6 44175else 44176 ac_check_lib_save_LIBS=$LIBS 44177LIBS="-lfguid $LIBS" 44178cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44179/* end confdefs.h. */ 44180 44181/* Override any GCC internal prototype to avoid an error. 44182 Use char because int might match the return type of a GCC 44183 builtin and then its argument prototype would still apply. */ 44184#ifdef __cplusplus 44185extern "C" 44186#endif 44187char libfguid_identifier_copy_to_utf16_string_with_index (); 44188int 44189main () 44190{ 44191return libfguid_identifier_copy_to_utf16_string_with_index (); 44192 ; 44193 return 0; 44194} 44195_ACEOF 44196if ac_fn_c_try_link "$LINENO"; then : 44197 ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string_with_index=yes 44198else 44199 ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string_with_index=no 44200fi 44201rm -f core conftest.err conftest.$ac_objext \ 44202 conftest$ac_exeext conftest.$ac_ext 44203LIBS=$ac_check_lib_save_LIBS 44204fi 44205{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string_with_index" >&5 44206$as_echo "$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string_with_index" >&6; } 44207if test "x$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf16_string_with_index" = xyes; then : 44208 ac_cv_libfguid_dummy=yes 44209else 44210 ac_cv_libfguid=no 44211fi 44212 44213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid_identifier_copy_to_utf32_string in -lfguid" >&5 44214$as_echo_n "checking for libfguid_identifier_copy_to_utf32_string in -lfguid... " >&6; } 44215if ${ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string+:} false; then : 44216 $as_echo_n "(cached) " >&6 44217else 44218 ac_check_lib_save_LIBS=$LIBS 44219LIBS="-lfguid $LIBS" 44220cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44221/* end confdefs.h. */ 44222 44223/* Override any GCC internal prototype to avoid an error. 44224 Use char because int might match the return type of a GCC 44225 builtin and then its argument prototype would still apply. */ 44226#ifdef __cplusplus 44227extern "C" 44228#endif 44229char libfguid_identifier_copy_to_utf32_string (); 44230int 44231main () 44232{ 44233return libfguid_identifier_copy_to_utf32_string (); 44234 ; 44235 return 0; 44236} 44237_ACEOF 44238if ac_fn_c_try_link "$LINENO"; then : 44239 ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string=yes 44240else 44241 ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string=no 44242fi 44243rm -f core conftest.err conftest.$ac_objext \ 44244 conftest$ac_exeext conftest.$ac_ext 44245LIBS=$ac_check_lib_save_LIBS 44246fi 44247{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string" >&5 44248$as_echo "$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string" >&6; } 44249if test "x$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string" = xyes; then : 44250 ac_cv_libfguid_dummy=yes 44251else 44252 ac_cv_libfguid=no 44253fi 44254 44255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfguid_identifier_copy_to_utf32_string_with_index in -lfguid" >&5 44256$as_echo_n "checking for libfguid_identifier_copy_to_utf32_string_with_index in -lfguid... " >&6; } 44257if ${ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string_with_index+:} false; then : 44258 $as_echo_n "(cached) " >&6 44259else 44260 ac_check_lib_save_LIBS=$LIBS 44261LIBS="-lfguid $LIBS" 44262cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44263/* end confdefs.h. */ 44264 44265/* Override any GCC internal prototype to avoid an error. 44266 Use char because int might match the return type of a GCC 44267 builtin and then its argument prototype would still apply. */ 44268#ifdef __cplusplus 44269extern "C" 44270#endif 44271char libfguid_identifier_copy_to_utf32_string_with_index (); 44272int 44273main () 44274{ 44275return libfguid_identifier_copy_to_utf32_string_with_index (); 44276 ; 44277 return 0; 44278} 44279_ACEOF 44280if ac_fn_c_try_link "$LINENO"; then : 44281 ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string_with_index=yes 44282else 44283 ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string_with_index=no 44284fi 44285rm -f core conftest.err conftest.$ac_objext \ 44286 conftest$ac_exeext conftest.$ac_ext 44287LIBS=$ac_check_lib_save_LIBS 44288fi 44289{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string_with_index" >&5 44290$as_echo "$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string_with_index" >&6; } 44291if test "x$ac_cv_lib_fguid_libfguid_identifier_copy_to_utf32_string_with_index" = xyes; then : 44292 ac_cv_libfguid_dummy=yes 44293else 44294 ac_cv_libfguid=no 44295fi 44296 44297 44298 ac_cv_libfguid_LIBADD="-lfguid" 44299fi 44300 44301fi 44302 if test "x$ac_cv_with_libfguid" != x && test "x$ac_cv_with_libfguid" != xauto-detect && test "x$ac_cv_libfguid" != xyes; then : 44303 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 44304$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 44305as_fn_error 1 "unable to find supported libfguid in directory: $ac_cv_with_libfguid 44306See \`config.log' for more details" "$LINENO" 5; } 44307 44308fi 44309 44310fi 44311 44312 if test "x$ac_cv_libfguid" = xyes; then : 44313 44314$as_echo "#define HAVE_LIBFGUID 1" >>confdefs.h 44315 44316 44317fi 44318 44319 if test "x$ac_cv_libfguid" = xyes; then : 44320 HAVE_LIBFGUID=1 44321 44322else 44323 HAVE_LIBFGUID=0 44324 44325 44326fi 44327 44328 44329 if test "x$ac_cv_libfguid" != xyes; then : 44330 44331 ac_cv_libfguid_CPPFLAGS="-I../libfguid"; 44332 ac_cv_libfguid_LIBADD="../libfguid/libfguid.la"; 44333 44334 ac_cv_libfguid=local 44335 44336 44337 44338$as_echo "#define HAVE_LOCAL_LIBFGUID 1" >>confdefs.h 44339 44340 HAVE_LOCAL_LIBFGUID=1 44341 44342 44343fi 44344 44345 if test "x$ac_cv_libfguid" = xlocal; then 44346 HAVE_LOCAL_LIBFGUID_TRUE= 44347 HAVE_LOCAL_LIBFGUID_FALSE='#' 44348else 44349 HAVE_LOCAL_LIBFGUID_TRUE='#' 44350 HAVE_LOCAL_LIBFGUID_FALSE= 44351fi 44352 44353 if test "x$ac_cv_libfguid_CPPFLAGS" != "x"; then : 44354 LIBFGUID_CPPFLAGS=$ac_cv_libfguid_CPPFLAGS 44355 44356 44357fi 44358 if test "x$ac_cv_libfguid_LIBADD" != "x"; then : 44359 LIBFGUID_LIBADD=$ac_cv_libfguid_LIBADD 44360 44361 44362fi 44363 44364 if test "x$ac_cv_libfguid" = xyes; then : 44365 ax_libfguid_pc_libs_private=-lfguid 44366 44367 44368fi 44369 44370 if test "x$ac_cv_libfguid" = xyes; then : 44371 ax_libfguid_spec_requires=libfguid 44372 44373 ax_libfguid_spec_build_requires=libfguid-devel 44374 44375 44376fi 44377 44378 44379 44380 44381# Check whether --with-libfole was given. 44382if test "${with_libfole+set}" = set; then : 44383 withval=$with_libfole; ac_cv_with_libfole=$withval 44384else 44385 ac_cv_with_libfole=auto-detect 44386fi 44387 44388 { $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 44389$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; } 44390if ${ac_cv_with_libfole+:} false; then : 44391 $as_echo_n "(cached) " >&6 44392else 44393 ac_cv_with_libfole=auto-detect 44394fi 44395{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libfole" >&5 44396$as_echo "$ac_cv_with_libfole" >&6; } 44397 44398 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libfole" = xno; then : 44399 ac_cv_libfole=no 44400else 44401 ac_cv_libfole=check 44402 if test "x$ac_cv_with_libfole" != x && test "x$ac_cv_with_libfole" != xauto-detect; then : 44403 if test -d "$ac_cv_with_libfole"; then : 44404 CFLAGS="$CFLAGS -I${ac_cv_with_libfole}/include" 44405 LDFLAGS="$LDFLAGS -L${ac_cv_with_libfole}/lib" 44406else 44407 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 44408$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 44409as_fn_error 1 "no such directory: $ac_cv_with_libfole 44410See \`config.log' for more details" "$LINENO" 5; } 44411 44412fi 44413 44414else 44415 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 44416 44417pkg_failed=no 44418{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfole" >&5 44419$as_echo_n "checking for libfole... " >&6; } 44420 44421if test -n "$libfole_CFLAGS"; then 44422 pkg_cv_libfole_CFLAGS="$libfole_CFLAGS" 44423 elif test -n "$PKG_CONFIG"; then 44424 if test -n "$PKG_CONFIG" && \ 44425 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfole >= 20120426\""; } >&5 44426 ($PKG_CONFIG --exists --print-errors "libfole >= 20120426") 2>&5 44427 ac_status=$? 44428 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 44429 test $ac_status = 0; }; then 44430 pkg_cv_libfole_CFLAGS=`$PKG_CONFIG --cflags "libfole >= 20120426" 2>/dev/null` 44431 test "x$?" != "x0" && pkg_failed=yes 44432else 44433 pkg_failed=yes 44434fi 44435 else 44436 pkg_failed=untried 44437fi 44438if test -n "$libfole_LIBS"; then 44439 pkg_cv_libfole_LIBS="$libfole_LIBS" 44440 elif test -n "$PKG_CONFIG"; then 44441 if test -n "$PKG_CONFIG" && \ 44442 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfole >= 20120426\""; } >&5 44443 ($PKG_CONFIG --exists --print-errors "libfole >= 20120426") 2>&5 44444 ac_status=$? 44445 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 44446 test $ac_status = 0; }; then 44447 pkg_cv_libfole_LIBS=`$PKG_CONFIG --libs "libfole >= 20120426" 2>/dev/null` 44448 test "x$?" != "x0" && pkg_failed=yes 44449else 44450 pkg_failed=yes 44451fi 44452 else 44453 pkg_failed=untried 44454fi 44455 44456 44457 44458if test $pkg_failed = yes; then 44459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 44460$as_echo "no" >&6; } 44461 44462if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 44463 _pkg_short_errors_supported=yes 44464else 44465 _pkg_short_errors_supported=no 44466fi 44467 if test $_pkg_short_errors_supported = yes; then 44468 libfole_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libfole >= 20120426" 2>&1` 44469 else 44470 libfole_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libfole >= 20120426" 2>&1` 44471 fi 44472 # Put the nasty error message in config.log where it belongs 44473 echo "$libfole_PKG_ERRORS" >&5 44474 44475 ac_cv_libfole=check 44476elif test $pkg_failed = untried; then 44477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 44478$as_echo "no" >&6; } 44479 ac_cv_libfole=check 44480else 44481 libfole_CFLAGS=$pkg_cv_libfole_CFLAGS 44482 libfole_LIBS=$pkg_cv_libfole_LIBS 44483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 44484$as_echo "yes" >&6; } 44485 ac_cv_libfole=yes 44486fi 44487 44488fi 44489 if test "x$ac_cv_libfole" = xyes; then : 44490 ac_cv_libfole_CPPFLAGS="$pkg_cv_libfole_CFLAGS" 44491 ac_cv_libfole_LIBADD="$pkg_cv_libfole_LIBS" 44492fi 44493 44494fi 44495 44496 if test "x$ac_cv_libfole" = xcheck; then : 44497 for ac_header in libfole.h 44498do : 44499 ac_fn_c_check_header_mongrel "$LINENO" "libfole.h" "ac_cv_header_libfole_h" "$ac_includes_default" 44500if test "x$ac_cv_header_libfole_h" = xyes; then : 44501 cat >>confdefs.h <<_ACEOF 44502#define HAVE_LIBFOLE_H 1 44503_ACEOF 44504 44505fi 44506 44507done 44508 44509 44510 if test "x$ac_cv_header_libfole_h" = xno; then : 44511 ac_cv_libfole=no 44512else 44513 ac_cv_libfole=yes 44514 44515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfole_get_version in -lfole" >&5 44516$as_echo_n "checking for libfole_get_version in -lfole... " >&6; } 44517if ${ac_cv_lib_fole_libfole_get_version+:} false; then : 44518 $as_echo_n "(cached) " >&6 44519else 44520 ac_check_lib_save_LIBS=$LIBS 44521LIBS="-lfole $LIBS" 44522cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44523/* end confdefs.h. */ 44524 44525/* Override any GCC internal prototype to avoid an error. 44526 Use char because int might match the return type of a GCC 44527 builtin and then its argument prototype would still apply. */ 44528#ifdef __cplusplus 44529extern "C" 44530#endif 44531char libfole_get_version (); 44532int 44533main () 44534{ 44535return libfole_get_version (); 44536 ; 44537 return 0; 44538} 44539_ACEOF 44540if ac_fn_c_try_link "$LINENO"; then : 44541 ac_cv_lib_fole_libfole_get_version=yes 44542else 44543 ac_cv_lib_fole_libfole_get_version=no 44544fi 44545rm -f core conftest.err conftest.$ac_objext \ 44546 conftest$ac_exeext conftest.$ac_ext 44547LIBS=$ac_check_lib_save_LIBS 44548fi 44549{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fole_libfole_get_version" >&5 44550$as_echo "$ac_cv_lib_fole_libfole_get_version" >&6; } 44551if test "x$ac_cv_lib_fole_libfole_get_version" = xyes; then : 44552 ac_cv_libfole_dummy=yes 44553else 44554 ac_cv_libfole=no 44555fi 44556 44557 44558 44559 ac_cv_libfole_LIBADD="-lfole" 44560fi 44561 44562fi 44563 if test "x$ac_cv_with_libfole" != x && test "x$ac_cv_with_libfole" != xauto-detect && test "x$ac_cv_libfole" != xyes; then : 44564 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 44565$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 44566as_fn_error 1 "unable to find supported libfole in directory: $ac_cv_with_libfole 44567See \`config.log' for more details" "$LINENO" 5; } 44568 44569fi 44570 44571fi 44572 44573 if test "x$ac_cv_libfole" = xyes; then : 44574 44575$as_echo "#define HAVE_LIBFOLE 1" >>confdefs.h 44576 44577 44578fi 44579 44580 if test "x$ac_cv_libfole" = xyes; then : 44581 HAVE_LIBFOLE=1 44582 44583else 44584 HAVE_LIBFOLE=0 44585 44586 44587fi 44588 44589 44590 if test "x$ac_cv_libfole" != xyes; then : 44591 44592 ac_cv_libfole_CPPFLAGS="-I../libfole"; 44593 ac_cv_libfole_LIBADD="../libfole/libfole.la"; 44594 44595 ac_cv_libfole=local 44596 44597 44598 44599$as_echo "#define HAVE_LOCAL_LIBFOLE 1" >>confdefs.h 44600 44601 HAVE_LOCAL_LIBFOLE=1 44602 44603 44604fi 44605 44606 if test "x$ac_cv_libfole" = xlocal; then 44607 HAVE_LOCAL_LIBFOLE_TRUE= 44608 HAVE_LOCAL_LIBFOLE_FALSE='#' 44609else 44610 HAVE_LOCAL_LIBFOLE_TRUE='#' 44611 HAVE_LOCAL_LIBFOLE_FALSE= 44612fi 44613 44614 if test "x$ac_cv_libfole_CPPFLAGS" != "x"; then : 44615 LIBFOLE_CPPFLAGS=$ac_cv_libfole_CPPFLAGS 44616 44617 44618fi 44619 if test "x$ac_cv_libfole_LIBADD" != "x"; then : 44620 LIBFOLE_LIBADD=$ac_cv_libfole_LIBADD 44621 44622 44623fi 44624 44625 if test "x$ac_cv_libfole" = xyes; then : 44626 ax_libfole_pc_libs_private=-lfole 44627 44628 44629fi 44630 44631 if test "x$ac_cv_libfole" = xyes; then : 44632 ax_libfole_spec_requires=libfole 44633 44634 ax_libfole_spec_build_requires=libfole-devel 44635 44636 44637fi 44638 44639 44640 44641 44642# Check whether --with-libfvalue was given. 44643if test "${with_libfvalue+set}" = set; then : 44644 withval=$with_libfvalue; ac_cv_with_libfvalue=$withval 44645else 44646 ac_cv_with_libfvalue=auto-detect 44647fi 44648 44649 { $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 44650$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; } 44651if ${ac_cv_with_libfvalue+:} false; then : 44652 $as_echo_n "(cached) " >&6 44653else 44654 ac_cv_with_libfvalue=auto-detect 44655fi 44656{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_libfvalue" >&5 44657$as_echo "$ac_cv_with_libfvalue" >&6; } 44658 44659 if test "x$ac_cv_enable_shared_libs" = xno || test "x$ac_cv_with_libfvalue" = xno; then : 44660 ac_cv_libfvalue=no 44661else 44662 ac_cv_libfvalue=check 44663 if test "x$ac_cv_with_libfvalue" != x && test "x$ac_cv_with_libfvalue" != xauto-detect; then : 44664 if test -d "$ac_cv_with_libfvalue"; then : 44665 CFLAGS="$CFLAGS -I${ac_cv_with_libfvalue}/include" 44666 LDFLAGS="$LDFLAGS -L${ac_cv_with_libfvalue}/lib" 44667else 44668 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 44669$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 44670as_fn_error 1 "no such directory: $ac_cv_with_libfvalue 44671See \`config.log' for more details" "$LINENO" 5; } 44672 44673fi 44674 44675else 44676 if test "x$cross_compiling" != "xyes" && test "x$PKGCONFIG" != "x"; then : 44677 44678pkg_failed=no 44679{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue" >&5 44680$as_echo_n "checking for libfvalue... " >&6; } 44681 44682if test -n "$libfvalue_CFLAGS"; then 44683 pkg_cv_libfvalue_CFLAGS="$libfvalue_CFLAGS" 44684 elif test -n "$PKG_CONFIG"; then 44685 if test -n "$PKG_CONFIG" && \ 44686 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfvalue >= 20200711\""; } >&5 44687 ($PKG_CONFIG --exists --print-errors "libfvalue >= 20200711") 2>&5 44688 ac_status=$? 44689 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 44690 test $ac_status = 0; }; then 44691 pkg_cv_libfvalue_CFLAGS=`$PKG_CONFIG --cflags "libfvalue >= 20200711" 2>/dev/null` 44692 test "x$?" != "x0" && pkg_failed=yes 44693else 44694 pkg_failed=yes 44695fi 44696 else 44697 pkg_failed=untried 44698fi 44699if test -n "$libfvalue_LIBS"; then 44700 pkg_cv_libfvalue_LIBS="$libfvalue_LIBS" 44701 elif test -n "$PKG_CONFIG"; then 44702 if test -n "$PKG_CONFIG" && \ 44703 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libfvalue >= 20200711\""; } >&5 44704 ($PKG_CONFIG --exists --print-errors "libfvalue >= 20200711") 2>&5 44705 ac_status=$? 44706 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 44707 test $ac_status = 0; }; then 44708 pkg_cv_libfvalue_LIBS=`$PKG_CONFIG --libs "libfvalue >= 20200711" 2>/dev/null` 44709 test "x$?" != "x0" && pkg_failed=yes 44710else 44711 pkg_failed=yes 44712fi 44713 else 44714 pkg_failed=untried 44715fi 44716 44717 44718 44719if test $pkg_failed = yes; then 44720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 44721$as_echo "no" >&6; } 44722 44723if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 44724 _pkg_short_errors_supported=yes 44725else 44726 _pkg_short_errors_supported=no 44727fi 44728 if test $_pkg_short_errors_supported = yes; then 44729 libfvalue_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libfvalue >= 20200711" 2>&1` 44730 else 44731 libfvalue_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libfvalue >= 20200711" 2>&1` 44732 fi 44733 # Put the nasty error message in config.log where it belongs 44734 echo "$libfvalue_PKG_ERRORS" >&5 44735 44736 ac_cv_libfvalue=check 44737elif test $pkg_failed = untried; then 44738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 44739$as_echo "no" >&6; } 44740 ac_cv_libfvalue=check 44741else 44742 libfvalue_CFLAGS=$pkg_cv_libfvalue_CFLAGS 44743 libfvalue_LIBS=$pkg_cv_libfvalue_LIBS 44744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 44745$as_echo "yes" >&6; } 44746 ac_cv_libfvalue=yes 44747fi 44748 44749fi 44750 if test "x$ac_cv_libfvalue" = xyes; then : 44751 ac_cv_libfvalue_CPPFLAGS="$pkg_cv_libfvalue_CFLAGS" 44752 ac_cv_libfvalue_LIBADD="$pkg_cv_libfvalue_LIBS" 44753fi 44754 44755fi 44756 44757 if test "x$ac_cv_libfvalue" = xcheck; then : 44758 for ac_header in libfvalue.h 44759do : 44760 ac_fn_c_check_header_mongrel "$LINENO" "libfvalue.h" "ac_cv_header_libfvalue_h" "$ac_includes_default" 44761if test "x$ac_cv_header_libfvalue_h" = xyes; then : 44762 cat >>confdefs.h <<_ACEOF 44763#define HAVE_LIBFVALUE_H 1 44764_ACEOF 44765 44766fi 44767 44768done 44769 44770 44771 if test "x$ac_cv_header_libfvalue_h" = xno; then : 44772 ac_cv_libfvalue=no 44773else 44774 ac_cv_libfvalue=yes 44775 44776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_get_version in -lfvalue" >&5 44777$as_echo_n "checking for libfvalue_get_version in -lfvalue... " >&6; } 44778if ${ac_cv_lib_fvalue_libfvalue_get_version+:} false; then : 44779 $as_echo_n "(cached) " >&6 44780else 44781 ac_check_lib_save_LIBS=$LIBS 44782LIBS="-lfvalue $LIBS" 44783cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44784/* end confdefs.h. */ 44785 44786/* Override any GCC internal prototype to avoid an error. 44787 Use char because int might match the return type of a GCC 44788 builtin and then its argument prototype would still apply. */ 44789#ifdef __cplusplus 44790extern "C" 44791#endif 44792char libfvalue_get_version (); 44793int 44794main () 44795{ 44796return libfvalue_get_version (); 44797 ; 44798 return 0; 44799} 44800_ACEOF 44801if ac_fn_c_try_link "$LINENO"; then : 44802 ac_cv_lib_fvalue_libfvalue_get_version=yes 44803else 44804 ac_cv_lib_fvalue_libfvalue_get_version=no 44805fi 44806rm -f core conftest.err conftest.$ac_objext \ 44807 conftest$ac_exeext conftest.$ac_ext 44808LIBS=$ac_check_lib_save_LIBS 44809fi 44810{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_get_version" >&5 44811$as_echo "$ac_cv_lib_fvalue_libfvalue_get_version" >&6; } 44812if test "x$ac_cv_lib_fvalue_libfvalue_get_version" = xyes; then : 44813 ac_cv_libfvalue_dummy=yes 44814else 44815 ac_cv_libfvalue=no 44816fi 44817 44818 44819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_data_handle_initialize in -lfvalue" >&5 44820$as_echo_n "checking for libfvalue_data_handle_initialize in -lfvalue... " >&6; } 44821if ${ac_cv_lib_fvalue_libfvalue_data_handle_initialize+:} false; then : 44822 $as_echo_n "(cached) " >&6 44823else 44824 ac_check_lib_save_LIBS=$LIBS 44825LIBS="-lfvalue $LIBS" 44826cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44827/* end confdefs.h. */ 44828 44829/* Override any GCC internal prototype to avoid an error. 44830 Use char because int might match the return type of a GCC 44831 builtin and then its argument prototype would still apply. */ 44832#ifdef __cplusplus 44833extern "C" 44834#endif 44835char libfvalue_data_handle_initialize (); 44836int 44837main () 44838{ 44839return libfvalue_data_handle_initialize (); 44840 ; 44841 return 0; 44842} 44843_ACEOF 44844if ac_fn_c_try_link "$LINENO"; then : 44845 ac_cv_lib_fvalue_libfvalue_data_handle_initialize=yes 44846else 44847 ac_cv_lib_fvalue_libfvalue_data_handle_initialize=no 44848fi 44849rm -f core conftest.err conftest.$ac_objext \ 44850 conftest$ac_exeext conftest.$ac_ext 44851LIBS=$ac_check_lib_save_LIBS 44852fi 44853{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_data_handle_initialize" >&5 44854$as_echo "$ac_cv_lib_fvalue_libfvalue_data_handle_initialize" >&6; } 44855if test "x$ac_cv_lib_fvalue_libfvalue_data_handle_initialize" = xyes; then : 44856 ac_cv_libfvalue_dummy=yes 44857else 44858 ac_cv_libfvalue=no 44859fi 44860 44861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_data_handle_free in -lfvalue" >&5 44862$as_echo_n "checking for libfvalue_data_handle_free in -lfvalue... " >&6; } 44863if ${ac_cv_lib_fvalue_libfvalue_data_handle_free+:} false; then : 44864 $as_echo_n "(cached) " >&6 44865else 44866 ac_check_lib_save_LIBS=$LIBS 44867LIBS="-lfvalue $LIBS" 44868cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44869/* end confdefs.h. */ 44870 44871/* Override any GCC internal prototype to avoid an error. 44872 Use char because int might match the return type of a GCC 44873 builtin and then its argument prototype would still apply. */ 44874#ifdef __cplusplus 44875extern "C" 44876#endif 44877char libfvalue_data_handle_free (); 44878int 44879main () 44880{ 44881return libfvalue_data_handle_free (); 44882 ; 44883 return 0; 44884} 44885_ACEOF 44886if ac_fn_c_try_link "$LINENO"; then : 44887 ac_cv_lib_fvalue_libfvalue_data_handle_free=yes 44888else 44889 ac_cv_lib_fvalue_libfvalue_data_handle_free=no 44890fi 44891rm -f core conftest.err conftest.$ac_objext \ 44892 conftest$ac_exeext conftest.$ac_ext 44893LIBS=$ac_check_lib_save_LIBS 44894fi 44895{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_data_handle_free" >&5 44896$as_echo "$ac_cv_lib_fvalue_libfvalue_data_handle_free" >&6; } 44897if test "x$ac_cv_lib_fvalue_libfvalue_data_handle_free" = xyes; then : 44898 ac_cv_libfvalue_dummy=yes 44899else 44900 ac_cv_libfvalue=no 44901fi 44902 44903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_data_handle_clone in -lfvalue" >&5 44904$as_echo_n "checking for libfvalue_data_handle_clone in -lfvalue... " >&6; } 44905if ${ac_cv_lib_fvalue_libfvalue_data_handle_clone+:} false; then : 44906 $as_echo_n "(cached) " >&6 44907else 44908 ac_check_lib_save_LIBS=$LIBS 44909LIBS="-lfvalue $LIBS" 44910cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44911/* end confdefs.h. */ 44912 44913/* Override any GCC internal prototype to avoid an error. 44914 Use char because int might match the return type of a GCC 44915 builtin and then its argument prototype would still apply. */ 44916#ifdef __cplusplus 44917extern "C" 44918#endif 44919char libfvalue_data_handle_clone (); 44920int 44921main () 44922{ 44923return libfvalue_data_handle_clone (); 44924 ; 44925 return 0; 44926} 44927_ACEOF 44928if ac_fn_c_try_link "$LINENO"; then : 44929 ac_cv_lib_fvalue_libfvalue_data_handle_clone=yes 44930else 44931 ac_cv_lib_fvalue_libfvalue_data_handle_clone=no 44932fi 44933rm -f core conftest.err conftest.$ac_objext \ 44934 conftest$ac_exeext conftest.$ac_ext 44935LIBS=$ac_check_lib_save_LIBS 44936fi 44937{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_data_handle_clone" >&5 44938$as_echo "$ac_cv_lib_fvalue_libfvalue_data_handle_clone" >&6; } 44939if test "x$ac_cv_lib_fvalue_libfvalue_data_handle_clone" = xyes; then : 44940 ac_cv_libfvalue_dummy=yes 44941else 44942 ac_cv_libfvalue=no 44943fi 44944 44945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_data_handle_clear in -lfvalue" >&5 44946$as_echo_n "checking for libfvalue_data_handle_clear in -lfvalue... " >&6; } 44947if ${ac_cv_lib_fvalue_libfvalue_data_handle_clear+:} false; then : 44948 $as_echo_n "(cached) " >&6 44949else 44950 ac_check_lib_save_LIBS=$LIBS 44951LIBS="-lfvalue $LIBS" 44952cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44953/* end confdefs.h. */ 44954 44955/* Override any GCC internal prototype to avoid an error. 44956 Use char because int might match the return type of a GCC 44957 builtin and then its argument prototype would still apply. */ 44958#ifdef __cplusplus 44959extern "C" 44960#endif 44961char libfvalue_data_handle_clear (); 44962int 44963main () 44964{ 44965return libfvalue_data_handle_clear (); 44966 ; 44967 return 0; 44968} 44969_ACEOF 44970if ac_fn_c_try_link "$LINENO"; then : 44971 ac_cv_lib_fvalue_libfvalue_data_handle_clear=yes 44972else 44973 ac_cv_lib_fvalue_libfvalue_data_handle_clear=no 44974fi 44975rm -f core conftest.err conftest.$ac_objext \ 44976 conftest$ac_exeext conftest.$ac_ext 44977LIBS=$ac_check_lib_save_LIBS 44978fi 44979{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_data_handle_clear" >&5 44980$as_echo "$ac_cv_lib_fvalue_libfvalue_data_handle_clear" >&6; } 44981if test "x$ac_cv_lib_fvalue_libfvalue_data_handle_clear" = xyes; then : 44982 ac_cv_libfvalue_dummy=yes 44983else 44984 ac_cv_libfvalue=no 44985fi 44986 44987 44988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_data_handle_get_data in -lfvalue" >&5 44989$as_echo_n "checking for libfvalue_data_handle_get_data in -lfvalue... " >&6; } 44990if ${ac_cv_lib_fvalue_libfvalue_data_handle_get_data+:} false; then : 44991 $as_echo_n "(cached) " >&6 44992else 44993 ac_check_lib_save_LIBS=$LIBS 44994LIBS="-lfvalue $LIBS" 44995cat confdefs.h - <<_ACEOF >conftest.$ac_ext 44996/* end confdefs.h. */ 44997 44998/* Override any GCC internal prototype to avoid an error. 44999 Use char because int might match the return type of a GCC 45000 builtin and then its argument prototype would still apply. */ 45001#ifdef __cplusplus 45002extern "C" 45003#endif 45004char libfvalue_data_handle_get_data (); 45005int 45006main () 45007{ 45008return libfvalue_data_handle_get_data (); 45009 ; 45010 return 0; 45011} 45012_ACEOF 45013if ac_fn_c_try_link "$LINENO"; then : 45014 ac_cv_lib_fvalue_libfvalue_data_handle_get_data=yes 45015else 45016 ac_cv_lib_fvalue_libfvalue_data_handle_get_data=no 45017fi 45018rm -f core conftest.err conftest.$ac_objext \ 45019 conftest$ac_exeext conftest.$ac_ext 45020LIBS=$ac_check_lib_save_LIBS 45021fi 45022{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_data_handle_get_data" >&5 45023$as_echo "$ac_cv_lib_fvalue_libfvalue_data_handle_get_data" >&6; } 45024if test "x$ac_cv_lib_fvalue_libfvalue_data_handle_get_data" = xyes; then : 45025 ac_cv_libfvalue_dummy=yes 45026else 45027 ac_cv_libfvalue=no 45028fi 45029 45030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_data_handle_set_data in -lfvalue" >&5 45031$as_echo_n "checking for libfvalue_data_handle_set_data in -lfvalue... " >&6; } 45032if ${ac_cv_lib_fvalue_libfvalue_data_handle_set_data+:} false; then : 45033 $as_echo_n "(cached) " >&6 45034else 45035 ac_check_lib_save_LIBS=$LIBS 45036LIBS="-lfvalue $LIBS" 45037cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45038/* end confdefs.h. */ 45039 45040/* Override any GCC internal prototype to avoid an error. 45041 Use char because int might match the return type of a GCC 45042 builtin and then its argument prototype would still apply. */ 45043#ifdef __cplusplus 45044extern "C" 45045#endif 45046char libfvalue_data_handle_set_data (); 45047int 45048main () 45049{ 45050return libfvalue_data_handle_set_data (); 45051 ; 45052 return 0; 45053} 45054_ACEOF 45055if ac_fn_c_try_link "$LINENO"; then : 45056 ac_cv_lib_fvalue_libfvalue_data_handle_set_data=yes 45057else 45058 ac_cv_lib_fvalue_libfvalue_data_handle_set_data=no 45059fi 45060rm -f core conftest.err conftest.$ac_objext \ 45061 conftest$ac_exeext conftest.$ac_ext 45062LIBS=$ac_check_lib_save_LIBS 45063fi 45064{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_data_handle_set_data" >&5 45065$as_echo "$ac_cv_lib_fvalue_libfvalue_data_handle_set_data" >&6; } 45066if test "x$ac_cv_lib_fvalue_libfvalue_data_handle_set_data" = xyes; then : 45067 ac_cv_libfvalue_dummy=yes 45068else 45069 ac_cv_libfvalue=no 45070fi 45071 45072 45073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_data_handle_get_data_flags in -lfvalue" >&5 45074$as_echo_n "checking for libfvalue_data_handle_get_data_flags in -lfvalue... " >&6; } 45075if ${ac_cv_lib_fvalue_libfvalue_data_handle_get_data_flags+:} false; then : 45076 $as_echo_n "(cached) " >&6 45077else 45078 ac_check_lib_save_LIBS=$LIBS 45079LIBS="-lfvalue $LIBS" 45080cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45081/* end confdefs.h. */ 45082 45083/* Override any GCC internal prototype to avoid an error. 45084 Use char because int might match the return type of a GCC 45085 builtin and then its argument prototype would still apply. */ 45086#ifdef __cplusplus 45087extern "C" 45088#endif 45089char libfvalue_data_handle_get_data_flags (); 45090int 45091main () 45092{ 45093return libfvalue_data_handle_get_data_flags (); 45094 ; 45095 return 0; 45096} 45097_ACEOF 45098if ac_fn_c_try_link "$LINENO"; then : 45099 ac_cv_lib_fvalue_libfvalue_data_handle_get_data_flags=yes 45100else 45101 ac_cv_lib_fvalue_libfvalue_data_handle_get_data_flags=no 45102fi 45103rm -f core conftest.err conftest.$ac_objext \ 45104 conftest$ac_exeext conftest.$ac_ext 45105LIBS=$ac_check_lib_save_LIBS 45106fi 45107{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_data_handle_get_data_flags" >&5 45108$as_echo "$ac_cv_lib_fvalue_libfvalue_data_handle_get_data_flags" >&6; } 45109if test "x$ac_cv_lib_fvalue_libfvalue_data_handle_get_data_flags" = xyes; then : 45110 ac_cv_libfvalue_dummy=yes 45111else 45112 ac_cv_libfvalue=no 45113fi 45114 45115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_data_handle_set_data_flags in -lfvalue" >&5 45116$as_echo_n "checking for libfvalue_data_handle_set_data_flags in -lfvalue... " >&6; } 45117if ${ac_cv_lib_fvalue_libfvalue_data_handle_set_data_flags+:} false; then : 45118 $as_echo_n "(cached) " >&6 45119else 45120 ac_check_lib_save_LIBS=$LIBS 45121LIBS="-lfvalue $LIBS" 45122cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45123/* end confdefs.h. */ 45124 45125/* Override any GCC internal prototype to avoid an error. 45126 Use char because int might match the return type of a GCC 45127 builtin and then its argument prototype would still apply. */ 45128#ifdef __cplusplus 45129extern "C" 45130#endif 45131char libfvalue_data_handle_set_data_flags (); 45132int 45133main () 45134{ 45135return libfvalue_data_handle_set_data_flags (); 45136 ; 45137 return 0; 45138} 45139_ACEOF 45140if ac_fn_c_try_link "$LINENO"; then : 45141 ac_cv_lib_fvalue_libfvalue_data_handle_set_data_flags=yes 45142else 45143 ac_cv_lib_fvalue_libfvalue_data_handle_set_data_flags=no 45144fi 45145rm -f core conftest.err conftest.$ac_objext \ 45146 conftest$ac_exeext conftest.$ac_ext 45147LIBS=$ac_check_lib_save_LIBS 45148fi 45149{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_data_handle_set_data_flags" >&5 45150$as_echo "$ac_cv_lib_fvalue_libfvalue_data_handle_set_data_flags" >&6; } 45151if test "x$ac_cv_lib_fvalue_libfvalue_data_handle_set_data_flags" = xyes; then : 45152 ac_cv_libfvalue_dummy=yes 45153else 45154 ac_cv_libfvalue=no 45155fi 45156 45157 45158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_data_handle_get_number_of_value_entries in -lfvalue" >&5 45159$as_echo_n "checking for libfvalue_data_handle_get_number_of_value_entries in -lfvalue... " >&6; } 45160if ${ac_cv_lib_fvalue_libfvalue_data_handle_get_number_of_value_entries+:} false; then : 45161 $as_echo_n "(cached) " >&6 45162else 45163 ac_check_lib_save_LIBS=$LIBS 45164LIBS="-lfvalue $LIBS" 45165cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45166/* end confdefs.h. */ 45167 45168/* Override any GCC internal prototype to avoid an error. 45169 Use char because int might match the return type of a GCC 45170 builtin and then its argument prototype would still apply. */ 45171#ifdef __cplusplus 45172extern "C" 45173#endif 45174char libfvalue_data_handle_get_number_of_value_entries (); 45175int 45176main () 45177{ 45178return libfvalue_data_handle_get_number_of_value_entries (); 45179 ; 45180 return 0; 45181} 45182_ACEOF 45183if ac_fn_c_try_link "$LINENO"; then : 45184 ac_cv_lib_fvalue_libfvalue_data_handle_get_number_of_value_entries=yes 45185else 45186 ac_cv_lib_fvalue_libfvalue_data_handle_get_number_of_value_entries=no 45187fi 45188rm -f core conftest.err conftest.$ac_objext \ 45189 conftest$ac_exeext conftest.$ac_ext 45190LIBS=$ac_check_lib_save_LIBS 45191fi 45192{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_data_handle_get_number_of_value_entries" >&5 45193$as_echo "$ac_cv_lib_fvalue_libfvalue_data_handle_get_number_of_value_entries" >&6; } 45194if test "x$ac_cv_lib_fvalue_libfvalue_data_handle_get_number_of_value_entries" = xyes; then : 45195 ac_cv_libfvalue_dummy=yes 45196else 45197 ac_cv_libfvalue=no 45198fi 45199 45200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_data_handle_get_value_entry in -lfvalue" >&5 45201$as_echo_n "checking for libfvalue_data_handle_get_value_entry in -lfvalue... " >&6; } 45202if ${ac_cv_lib_fvalue_libfvalue_data_handle_get_value_entry+:} false; then : 45203 $as_echo_n "(cached) " >&6 45204else 45205 ac_check_lib_save_LIBS=$LIBS 45206LIBS="-lfvalue $LIBS" 45207cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45208/* end confdefs.h. */ 45209 45210/* Override any GCC internal prototype to avoid an error. 45211 Use char because int might match the return type of a GCC 45212 builtin and then its argument prototype would still apply. */ 45213#ifdef __cplusplus 45214extern "C" 45215#endif 45216char libfvalue_data_handle_get_value_entry (); 45217int 45218main () 45219{ 45220return libfvalue_data_handle_get_value_entry (); 45221 ; 45222 return 0; 45223} 45224_ACEOF 45225if ac_fn_c_try_link "$LINENO"; then : 45226 ac_cv_lib_fvalue_libfvalue_data_handle_get_value_entry=yes 45227else 45228 ac_cv_lib_fvalue_libfvalue_data_handle_get_value_entry=no 45229fi 45230rm -f core conftest.err conftest.$ac_objext \ 45231 conftest$ac_exeext conftest.$ac_ext 45232LIBS=$ac_check_lib_save_LIBS 45233fi 45234{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_data_handle_get_value_entry" >&5 45235$as_echo "$ac_cv_lib_fvalue_libfvalue_data_handle_get_value_entry" >&6; } 45236if test "x$ac_cv_lib_fvalue_libfvalue_data_handle_get_value_entry" = xyes; then : 45237 ac_cv_libfvalue_dummy=yes 45238else 45239 ac_cv_libfvalue=no 45240fi 45241 45242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_data_handle_set_value_entry in -lfvalue" >&5 45243$as_echo_n "checking for libfvalue_data_handle_set_value_entry in -lfvalue... " >&6; } 45244if ${ac_cv_lib_fvalue_libfvalue_data_handle_set_value_entry+:} false; then : 45245 $as_echo_n "(cached) " >&6 45246else 45247 ac_check_lib_save_LIBS=$LIBS 45248LIBS="-lfvalue $LIBS" 45249cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45250/* end confdefs.h. */ 45251 45252/* Override any GCC internal prototype to avoid an error. 45253 Use char because int might match the return type of a GCC 45254 builtin and then its argument prototype would still apply. */ 45255#ifdef __cplusplus 45256extern "C" 45257#endif 45258char libfvalue_data_handle_set_value_entry (); 45259int 45260main () 45261{ 45262return libfvalue_data_handle_set_value_entry (); 45263 ; 45264 return 0; 45265} 45266_ACEOF 45267if ac_fn_c_try_link "$LINENO"; then : 45268 ac_cv_lib_fvalue_libfvalue_data_handle_set_value_entry=yes 45269else 45270 ac_cv_lib_fvalue_libfvalue_data_handle_set_value_entry=no 45271fi 45272rm -f core conftest.err conftest.$ac_objext \ 45273 conftest$ac_exeext conftest.$ac_ext 45274LIBS=$ac_check_lib_save_LIBS 45275fi 45276{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_data_handle_set_value_entry" >&5 45277$as_echo "$ac_cv_lib_fvalue_libfvalue_data_handle_set_value_entry" >&6; } 45278if test "x$ac_cv_lib_fvalue_libfvalue_data_handle_set_value_entry" = xyes; then : 45279 ac_cv_libfvalue_dummy=yes 45280else 45281 ac_cv_libfvalue=no 45282fi 45283 45284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_data_handle_append_value_entry in -lfvalue" >&5 45285$as_echo_n "checking for libfvalue_data_handle_append_value_entry in -lfvalue... " >&6; } 45286if ${ac_cv_lib_fvalue_libfvalue_data_handle_append_value_entry+:} false; then : 45287 $as_echo_n "(cached) " >&6 45288else 45289 ac_check_lib_save_LIBS=$LIBS 45290LIBS="-lfvalue $LIBS" 45291cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45292/* end confdefs.h. */ 45293 45294/* Override any GCC internal prototype to avoid an error. 45295 Use char because int might match the return type of a GCC 45296 builtin and then its argument prototype would still apply. */ 45297#ifdef __cplusplus 45298extern "C" 45299#endif 45300char libfvalue_data_handle_append_value_entry (); 45301int 45302main () 45303{ 45304return libfvalue_data_handle_append_value_entry (); 45305 ; 45306 return 0; 45307} 45308_ACEOF 45309if ac_fn_c_try_link "$LINENO"; then : 45310 ac_cv_lib_fvalue_libfvalue_data_handle_append_value_entry=yes 45311else 45312 ac_cv_lib_fvalue_libfvalue_data_handle_append_value_entry=no 45313fi 45314rm -f core conftest.err conftest.$ac_objext \ 45315 conftest$ac_exeext conftest.$ac_ext 45316LIBS=$ac_check_lib_save_LIBS 45317fi 45318{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_data_handle_append_value_entry" >&5 45319$as_echo "$ac_cv_lib_fvalue_libfvalue_data_handle_append_value_entry" >&6; } 45320if test "x$ac_cv_lib_fvalue_libfvalue_data_handle_append_value_entry" = xyes; then : 45321 ac_cv_libfvalue_dummy=yes 45322else 45323 ac_cv_libfvalue=no 45324fi 45325 45326 45327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_string_size_from_integer in -lfvalue" >&5 45328$as_echo_n "checking for libfvalue_string_size_from_integer in -lfvalue... " >&6; } 45329if ${ac_cv_lib_fvalue_libfvalue_string_size_from_integer+:} false; then : 45330 $as_echo_n "(cached) " >&6 45331else 45332 ac_check_lib_save_LIBS=$LIBS 45333LIBS="-lfvalue $LIBS" 45334cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45335/* end confdefs.h. */ 45336 45337/* Override any GCC internal prototype to avoid an error. 45338 Use char because int might match the return type of a GCC 45339 builtin and then its argument prototype would still apply. */ 45340#ifdef __cplusplus 45341extern "C" 45342#endif 45343char libfvalue_string_size_from_integer (); 45344int 45345main () 45346{ 45347return libfvalue_string_size_from_integer (); 45348 ; 45349 return 0; 45350} 45351_ACEOF 45352if ac_fn_c_try_link "$LINENO"; then : 45353 ac_cv_lib_fvalue_libfvalue_string_size_from_integer=yes 45354else 45355 ac_cv_lib_fvalue_libfvalue_string_size_from_integer=no 45356fi 45357rm -f core conftest.err conftest.$ac_objext \ 45358 conftest$ac_exeext conftest.$ac_ext 45359LIBS=$ac_check_lib_save_LIBS 45360fi 45361{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_string_size_from_integer" >&5 45362$as_echo "$ac_cv_lib_fvalue_libfvalue_string_size_from_integer" >&6; } 45363if test "x$ac_cv_lib_fvalue_libfvalue_string_size_from_integer" = xyes; then : 45364 ac_cv_libfvalue_dummy=yes 45365else 45366 ac_cv_libfvalue=no 45367fi 45368 45369 45370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_utf8_string_copy_from_integer in -lfvalue" >&5 45371$as_echo_n "checking for libfvalue_utf8_string_copy_from_integer in -lfvalue... " >&6; } 45372if ${ac_cv_lib_fvalue_libfvalue_utf8_string_copy_from_integer+:} false; then : 45373 $as_echo_n "(cached) " >&6 45374else 45375 ac_check_lib_save_LIBS=$LIBS 45376LIBS="-lfvalue $LIBS" 45377cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45378/* end confdefs.h. */ 45379 45380/* Override any GCC internal prototype to avoid an error. 45381 Use char because int might match the return type of a GCC 45382 builtin and then its argument prototype would still apply. */ 45383#ifdef __cplusplus 45384extern "C" 45385#endif 45386char libfvalue_utf8_string_copy_from_integer (); 45387int 45388main () 45389{ 45390return libfvalue_utf8_string_copy_from_integer (); 45391 ; 45392 return 0; 45393} 45394_ACEOF 45395if ac_fn_c_try_link "$LINENO"; then : 45396 ac_cv_lib_fvalue_libfvalue_utf8_string_copy_from_integer=yes 45397else 45398 ac_cv_lib_fvalue_libfvalue_utf8_string_copy_from_integer=no 45399fi 45400rm -f core conftest.err conftest.$ac_objext \ 45401 conftest$ac_exeext conftest.$ac_ext 45402LIBS=$ac_check_lib_save_LIBS 45403fi 45404{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_utf8_string_copy_from_integer" >&5 45405$as_echo "$ac_cv_lib_fvalue_libfvalue_utf8_string_copy_from_integer" >&6; } 45406if test "x$ac_cv_lib_fvalue_libfvalue_utf8_string_copy_from_integer" = xyes; then : 45407 ac_cv_libfvalue_dummy=yes 45408else 45409 ac_cv_libfvalue=no 45410fi 45411 45412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_utf8_string_with_index_copy_from_integer in -lfvalue" >&5 45413$as_echo_n "checking for libfvalue_utf8_string_with_index_copy_from_integer in -lfvalue... " >&6; } 45414if ${ac_cv_lib_fvalue_libfvalue_utf8_string_with_index_copy_from_integer+:} false; then : 45415 $as_echo_n "(cached) " >&6 45416else 45417 ac_check_lib_save_LIBS=$LIBS 45418LIBS="-lfvalue $LIBS" 45419cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45420/* end confdefs.h. */ 45421 45422/* Override any GCC internal prototype to avoid an error. 45423 Use char because int might match the return type of a GCC 45424 builtin and then its argument prototype would still apply. */ 45425#ifdef __cplusplus 45426extern "C" 45427#endif 45428char libfvalue_utf8_string_with_index_copy_from_integer (); 45429int 45430main () 45431{ 45432return libfvalue_utf8_string_with_index_copy_from_integer (); 45433 ; 45434 return 0; 45435} 45436_ACEOF 45437if ac_fn_c_try_link "$LINENO"; then : 45438 ac_cv_lib_fvalue_libfvalue_utf8_string_with_index_copy_from_integer=yes 45439else 45440 ac_cv_lib_fvalue_libfvalue_utf8_string_with_index_copy_from_integer=no 45441fi 45442rm -f core conftest.err conftest.$ac_objext \ 45443 conftest$ac_exeext conftest.$ac_ext 45444LIBS=$ac_check_lib_save_LIBS 45445fi 45446{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_utf8_string_with_index_copy_from_integer" >&5 45447$as_echo "$ac_cv_lib_fvalue_libfvalue_utf8_string_with_index_copy_from_integer" >&6; } 45448if test "x$ac_cv_lib_fvalue_libfvalue_utf8_string_with_index_copy_from_integer" = xyes; then : 45449 ac_cv_libfvalue_dummy=yes 45450else 45451 ac_cv_libfvalue=no 45452fi 45453 45454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_utf8_string_copy_to_integer in -lfvalue" >&5 45455$as_echo_n "checking for libfvalue_utf8_string_copy_to_integer in -lfvalue... " >&6; } 45456if ${ac_cv_lib_fvalue_libfvalue_utf8_string_copy_to_integer+:} false; then : 45457 $as_echo_n "(cached) " >&6 45458else 45459 ac_check_lib_save_LIBS=$LIBS 45460LIBS="-lfvalue $LIBS" 45461cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45462/* end confdefs.h. */ 45463 45464/* Override any GCC internal prototype to avoid an error. 45465 Use char because int might match the return type of a GCC 45466 builtin and then its argument prototype would still apply. */ 45467#ifdef __cplusplus 45468extern "C" 45469#endif 45470char libfvalue_utf8_string_copy_to_integer (); 45471int 45472main () 45473{ 45474return libfvalue_utf8_string_copy_to_integer (); 45475 ; 45476 return 0; 45477} 45478_ACEOF 45479if ac_fn_c_try_link "$LINENO"; then : 45480 ac_cv_lib_fvalue_libfvalue_utf8_string_copy_to_integer=yes 45481else 45482 ac_cv_lib_fvalue_libfvalue_utf8_string_copy_to_integer=no 45483fi 45484rm -f core conftest.err conftest.$ac_objext \ 45485 conftest$ac_exeext conftest.$ac_ext 45486LIBS=$ac_check_lib_save_LIBS 45487fi 45488{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_utf8_string_copy_to_integer" >&5 45489$as_echo "$ac_cv_lib_fvalue_libfvalue_utf8_string_copy_to_integer" >&6; } 45490if test "x$ac_cv_lib_fvalue_libfvalue_utf8_string_copy_to_integer" = xyes; then : 45491 ac_cv_libfvalue_dummy=yes 45492else 45493 ac_cv_libfvalue=no 45494fi 45495 45496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_utf8_string_with_index_copy_to_integer in -lfvalue" >&5 45497$as_echo_n "checking for libfvalue_utf8_string_with_index_copy_to_integer in -lfvalue... " >&6; } 45498if ${ac_cv_lib_fvalue_libfvalue_utf8_string_with_index_copy_to_integer+:} false; then : 45499 $as_echo_n "(cached) " >&6 45500else 45501 ac_check_lib_save_LIBS=$LIBS 45502LIBS="-lfvalue $LIBS" 45503cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45504/* end confdefs.h. */ 45505 45506/* Override any GCC internal prototype to avoid an error. 45507 Use char because int might match the return type of a GCC 45508 builtin and then its argument prototype would still apply. */ 45509#ifdef __cplusplus 45510extern "C" 45511#endif 45512char libfvalue_utf8_string_with_index_copy_to_integer (); 45513int 45514main () 45515{ 45516return libfvalue_utf8_string_with_index_copy_to_integer (); 45517 ; 45518 return 0; 45519} 45520_ACEOF 45521if ac_fn_c_try_link "$LINENO"; then : 45522 ac_cv_lib_fvalue_libfvalue_utf8_string_with_index_copy_to_integer=yes 45523else 45524 ac_cv_lib_fvalue_libfvalue_utf8_string_with_index_copy_to_integer=no 45525fi 45526rm -f core conftest.err conftest.$ac_objext \ 45527 conftest$ac_exeext conftest.$ac_ext 45528LIBS=$ac_check_lib_save_LIBS 45529fi 45530{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_utf8_string_with_index_copy_to_integer" >&5 45531$as_echo "$ac_cv_lib_fvalue_libfvalue_utf8_string_with_index_copy_to_integer" >&6; } 45532if test "x$ac_cv_lib_fvalue_libfvalue_utf8_string_with_index_copy_to_integer" = xyes; then : 45533 ac_cv_libfvalue_dummy=yes 45534else 45535 ac_cv_libfvalue=no 45536fi 45537 45538 45539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_utf16_string_copy_from_integer in -lfvalue" >&5 45540$as_echo_n "checking for libfvalue_utf16_string_copy_from_integer in -lfvalue... " >&6; } 45541if ${ac_cv_lib_fvalue_libfvalue_utf16_string_copy_from_integer+:} false; then : 45542 $as_echo_n "(cached) " >&6 45543else 45544 ac_check_lib_save_LIBS=$LIBS 45545LIBS="-lfvalue $LIBS" 45546cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45547/* end confdefs.h. */ 45548 45549/* Override any GCC internal prototype to avoid an error. 45550 Use char because int might match the return type of a GCC 45551 builtin and then its argument prototype would still apply. */ 45552#ifdef __cplusplus 45553extern "C" 45554#endif 45555char libfvalue_utf16_string_copy_from_integer (); 45556int 45557main () 45558{ 45559return libfvalue_utf16_string_copy_from_integer (); 45560 ; 45561 return 0; 45562} 45563_ACEOF 45564if ac_fn_c_try_link "$LINENO"; then : 45565 ac_cv_lib_fvalue_libfvalue_utf16_string_copy_from_integer=yes 45566else 45567 ac_cv_lib_fvalue_libfvalue_utf16_string_copy_from_integer=no 45568fi 45569rm -f core conftest.err conftest.$ac_objext \ 45570 conftest$ac_exeext conftest.$ac_ext 45571LIBS=$ac_check_lib_save_LIBS 45572fi 45573{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_utf16_string_copy_from_integer" >&5 45574$as_echo "$ac_cv_lib_fvalue_libfvalue_utf16_string_copy_from_integer" >&6; } 45575if test "x$ac_cv_lib_fvalue_libfvalue_utf16_string_copy_from_integer" = xyes; then : 45576 ac_cv_libfvalue_dummy=yes 45577else 45578 ac_cv_libfvalue=no 45579fi 45580 45581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_utf16_string_with_index_copy_from_integer in -lfvalue" >&5 45582$as_echo_n "checking for libfvalue_utf16_string_with_index_copy_from_integer in -lfvalue... " >&6; } 45583if ${ac_cv_lib_fvalue_libfvalue_utf16_string_with_index_copy_from_integer+:} false; then : 45584 $as_echo_n "(cached) " >&6 45585else 45586 ac_check_lib_save_LIBS=$LIBS 45587LIBS="-lfvalue $LIBS" 45588cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45589/* end confdefs.h. */ 45590 45591/* Override any GCC internal prototype to avoid an error. 45592 Use char because int might match the return type of a GCC 45593 builtin and then its argument prototype would still apply. */ 45594#ifdef __cplusplus 45595extern "C" 45596#endif 45597char libfvalue_utf16_string_with_index_copy_from_integer (); 45598int 45599main () 45600{ 45601return libfvalue_utf16_string_with_index_copy_from_integer (); 45602 ; 45603 return 0; 45604} 45605_ACEOF 45606if ac_fn_c_try_link "$LINENO"; then : 45607 ac_cv_lib_fvalue_libfvalue_utf16_string_with_index_copy_from_integer=yes 45608else 45609 ac_cv_lib_fvalue_libfvalue_utf16_string_with_index_copy_from_integer=no 45610fi 45611rm -f core conftest.err conftest.$ac_objext \ 45612 conftest$ac_exeext conftest.$ac_ext 45613LIBS=$ac_check_lib_save_LIBS 45614fi 45615{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_utf16_string_with_index_copy_from_integer" >&5 45616$as_echo "$ac_cv_lib_fvalue_libfvalue_utf16_string_with_index_copy_from_integer" >&6; } 45617if test "x$ac_cv_lib_fvalue_libfvalue_utf16_string_with_index_copy_from_integer" = xyes; then : 45618 ac_cv_libfvalue_dummy=yes 45619else 45620 ac_cv_libfvalue=no 45621fi 45622 45623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_utf16_string_copy_to_integer in -lfvalue" >&5 45624$as_echo_n "checking for libfvalue_utf16_string_copy_to_integer in -lfvalue... " >&6; } 45625if ${ac_cv_lib_fvalue_libfvalue_utf16_string_copy_to_integer+:} false; then : 45626 $as_echo_n "(cached) " >&6 45627else 45628 ac_check_lib_save_LIBS=$LIBS 45629LIBS="-lfvalue $LIBS" 45630cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45631/* end confdefs.h. */ 45632 45633/* Override any GCC internal prototype to avoid an error. 45634 Use char because int might match the return type of a GCC 45635 builtin and then its argument prototype would still apply. */ 45636#ifdef __cplusplus 45637extern "C" 45638#endif 45639char libfvalue_utf16_string_copy_to_integer (); 45640int 45641main () 45642{ 45643return libfvalue_utf16_string_copy_to_integer (); 45644 ; 45645 return 0; 45646} 45647_ACEOF 45648if ac_fn_c_try_link "$LINENO"; then : 45649 ac_cv_lib_fvalue_libfvalue_utf16_string_copy_to_integer=yes 45650else 45651 ac_cv_lib_fvalue_libfvalue_utf16_string_copy_to_integer=no 45652fi 45653rm -f core conftest.err conftest.$ac_objext \ 45654 conftest$ac_exeext conftest.$ac_ext 45655LIBS=$ac_check_lib_save_LIBS 45656fi 45657{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_utf16_string_copy_to_integer" >&5 45658$as_echo "$ac_cv_lib_fvalue_libfvalue_utf16_string_copy_to_integer" >&6; } 45659if test "x$ac_cv_lib_fvalue_libfvalue_utf16_string_copy_to_integer" = xyes; then : 45660 ac_cv_libfvalue_dummy=yes 45661else 45662 ac_cv_libfvalue=no 45663fi 45664 45665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_utf16_string_with_index_copy_to_integer in -lfvalue" >&5 45666$as_echo_n "checking for libfvalue_utf16_string_with_index_copy_to_integer in -lfvalue... " >&6; } 45667if ${ac_cv_lib_fvalue_libfvalue_utf16_string_with_index_copy_to_integer+:} false; then : 45668 $as_echo_n "(cached) " >&6 45669else 45670 ac_check_lib_save_LIBS=$LIBS 45671LIBS="-lfvalue $LIBS" 45672cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45673/* end confdefs.h. */ 45674 45675/* Override any GCC internal prototype to avoid an error. 45676 Use char because int might match the return type of a GCC 45677 builtin and then its argument prototype would still apply. */ 45678#ifdef __cplusplus 45679extern "C" 45680#endif 45681char libfvalue_utf16_string_with_index_copy_to_integer (); 45682int 45683main () 45684{ 45685return libfvalue_utf16_string_with_index_copy_to_integer (); 45686 ; 45687 return 0; 45688} 45689_ACEOF 45690if ac_fn_c_try_link "$LINENO"; then : 45691 ac_cv_lib_fvalue_libfvalue_utf16_string_with_index_copy_to_integer=yes 45692else 45693 ac_cv_lib_fvalue_libfvalue_utf16_string_with_index_copy_to_integer=no 45694fi 45695rm -f core conftest.err conftest.$ac_objext \ 45696 conftest$ac_exeext conftest.$ac_ext 45697LIBS=$ac_check_lib_save_LIBS 45698fi 45699{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_utf16_string_with_index_copy_to_integer" >&5 45700$as_echo "$ac_cv_lib_fvalue_libfvalue_utf16_string_with_index_copy_to_integer" >&6; } 45701if test "x$ac_cv_lib_fvalue_libfvalue_utf16_string_with_index_copy_to_integer" = xyes; then : 45702 ac_cv_libfvalue_dummy=yes 45703else 45704 ac_cv_libfvalue=no 45705fi 45706 45707 45708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_utf32_string_copy_from_integer in -lfvalue" >&5 45709$as_echo_n "checking for libfvalue_utf32_string_copy_from_integer in -lfvalue... " >&6; } 45710if ${ac_cv_lib_fvalue_libfvalue_utf32_string_copy_from_integer+:} false; then : 45711 $as_echo_n "(cached) " >&6 45712else 45713 ac_check_lib_save_LIBS=$LIBS 45714LIBS="-lfvalue $LIBS" 45715cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45716/* end confdefs.h. */ 45717 45718/* Override any GCC internal prototype to avoid an error. 45719 Use char because int might match the return type of a GCC 45720 builtin and then its argument prototype would still apply. */ 45721#ifdef __cplusplus 45722extern "C" 45723#endif 45724char libfvalue_utf32_string_copy_from_integer (); 45725int 45726main () 45727{ 45728return libfvalue_utf32_string_copy_from_integer (); 45729 ; 45730 return 0; 45731} 45732_ACEOF 45733if ac_fn_c_try_link "$LINENO"; then : 45734 ac_cv_lib_fvalue_libfvalue_utf32_string_copy_from_integer=yes 45735else 45736 ac_cv_lib_fvalue_libfvalue_utf32_string_copy_from_integer=no 45737fi 45738rm -f core conftest.err conftest.$ac_objext \ 45739 conftest$ac_exeext conftest.$ac_ext 45740LIBS=$ac_check_lib_save_LIBS 45741fi 45742{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_utf32_string_copy_from_integer" >&5 45743$as_echo "$ac_cv_lib_fvalue_libfvalue_utf32_string_copy_from_integer" >&6; } 45744if test "x$ac_cv_lib_fvalue_libfvalue_utf32_string_copy_from_integer" = xyes; then : 45745 ac_cv_libfvalue_dummy=yes 45746else 45747 ac_cv_libfvalue=no 45748fi 45749 45750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_utf32_string_with_index_copy_from_integer in -lfvalue" >&5 45751$as_echo_n "checking for libfvalue_utf32_string_with_index_copy_from_integer in -lfvalue... " >&6; } 45752if ${ac_cv_lib_fvalue_libfvalue_utf32_string_with_index_copy_from_integer+:} false; then : 45753 $as_echo_n "(cached) " >&6 45754else 45755 ac_check_lib_save_LIBS=$LIBS 45756LIBS="-lfvalue $LIBS" 45757cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45758/* end confdefs.h. */ 45759 45760/* Override any GCC internal prototype to avoid an error. 45761 Use char because int might match the return type of a GCC 45762 builtin and then its argument prototype would still apply. */ 45763#ifdef __cplusplus 45764extern "C" 45765#endif 45766char libfvalue_utf32_string_with_index_copy_from_integer (); 45767int 45768main () 45769{ 45770return libfvalue_utf32_string_with_index_copy_from_integer (); 45771 ; 45772 return 0; 45773} 45774_ACEOF 45775if ac_fn_c_try_link "$LINENO"; then : 45776 ac_cv_lib_fvalue_libfvalue_utf32_string_with_index_copy_from_integer=yes 45777else 45778 ac_cv_lib_fvalue_libfvalue_utf32_string_with_index_copy_from_integer=no 45779fi 45780rm -f core conftest.err conftest.$ac_objext \ 45781 conftest$ac_exeext conftest.$ac_ext 45782LIBS=$ac_check_lib_save_LIBS 45783fi 45784{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_utf32_string_with_index_copy_from_integer" >&5 45785$as_echo "$ac_cv_lib_fvalue_libfvalue_utf32_string_with_index_copy_from_integer" >&6; } 45786if test "x$ac_cv_lib_fvalue_libfvalue_utf32_string_with_index_copy_from_integer" = xyes; then : 45787 ac_cv_libfvalue_dummy=yes 45788else 45789 ac_cv_libfvalue=no 45790fi 45791 45792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_utf32_string_copy_to_integer in -lfvalue" >&5 45793$as_echo_n "checking for libfvalue_utf32_string_copy_to_integer in -lfvalue... " >&6; } 45794if ${ac_cv_lib_fvalue_libfvalue_utf32_string_copy_to_integer+:} false; then : 45795 $as_echo_n "(cached) " >&6 45796else 45797 ac_check_lib_save_LIBS=$LIBS 45798LIBS="-lfvalue $LIBS" 45799cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45800/* end confdefs.h. */ 45801 45802/* Override any GCC internal prototype to avoid an error. 45803 Use char because int might match the return type of a GCC 45804 builtin and then its argument prototype would still apply. */ 45805#ifdef __cplusplus 45806extern "C" 45807#endif 45808char libfvalue_utf32_string_copy_to_integer (); 45809int 45810main () 45811{ 45812return libfvalue_utf32_string_copy_to_integer (); 45813 ; 45814 return 0; 45815} 45816_ACEOF 45817if ac_fn_c_try_link "$LINENO"; then : 45818 ac_cv_lib_fvalue_libfvalue_utf32_string_copy_to_integer=yes 45819else 45820 ac_cv_lib_fvalue_libfvalue_utf32_string_copy_to_integer=no 45821fi 45822rm -f core conftest.err conftest.$ac_objext \ 45823 conftest$ac_exeext conftest.$ac_ext 45824LIBS=$ac_check_lib_save_LIBS 45825fi 45826{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_utf32_string_copy_to_integer" >&5 45827$as_echo "$ac_cv_lib_fvalue_libfvalue_utf32_string_copy_to_integer" >&6; } 45828if test "x$ac_cv_lib_fvalue_libfvalue_utf32_string_copy_to_integer" = xyes; then : 45829 ac_cv_libfvalue_dummy=yes 45830else 45831 ac_cv_libfvalue=no 45832fi 45833 45834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_utf32_string_with_index_copy_to_integer in -lfvalue" >&5 45835$as_echo_n "checking for libfvalue_utf32_string_with_index_copy_to_integer in -lfvalue... " >&6; } 45836if ${ac_cv_lib_fvalue_libfvalue_utf32_string_with_index_copy_to_integer+:} false; then : 45837 $as_echo_n "(cached) " >&6 45838else 45839 ac_check_lib_save_LIBS=$LIBS 45840LIBS="-lfvalue $LIBS" 45841cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45842/* end confdefs.h. */ 45843 45844/* Override any GCC internal prototype to avoid an error. 45845 Use char because int might match the return type of a GCC 45846 builtin and then its argument prototype would still apply. */ 45847#ifdef __cplusplus 45848extern "C" 45849#endif 45850char libfvalue_utf32_string_with_index_copy_to_integer (); 45851int 45852main () 45853{ 45854return libfvalue_utf32_string_with_index_copy_to_integer (); 45855 ; 45856 return 0; 45857} 45858_ACEOF 45859if ac_fn_c_try_link "$LINENO"; then : 45860 ac_cv_lib_fvalue_libfvalue_utf32_string_with_index_copy_to_integer=yes 45861else 45862 ac_cv_lib_fvalue_libfvalue_utf32_string_with_index_copy_to_integer=no 45863fi 45864rm -f core conftest.err conftest.$ac_objext \ 45865 conftest$ac_exeext conftest.$ac_ext 45866LIBS=$ac_check_lib_save_LIBS 45867fi 45868{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_utf32_string_with_index_copy_to_integer" >&5 45869$as_echo "$ac_cv_lib_fvalue_libfvalue_utf32_string_with_index_copy_to_integer" >&6; } 45870if test "x$ac_cv_lib_fvalue_libfvalue_utf32_string_with_index_copy_to_integer" = xyes; then : 45871 ac_cv_libfvalue_dummy=yes 45872else 45873 ac_cv_libfvalue=no 45874fi 45875 45876 45877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_utf8_string_split in -lfvalue" >&5 45878$as_echo_n "checking for libfvalue_utf8_string_split in -lfvalue... " >&6; } 45879if ${ac_cv_lib_fvalue_libfvalue_utf8_string_split+:} false; then : 45880 $as_echo_n "(cached) " >&6 45881else 45882 ac_check_lib_save_LIBS=$LIBS 45883LIBS="-lfvalue $LIBS" 45884cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45885/* end confdefs.h. */ 45886 45887/* Override any GCC internal prototype to avoid an error. 45888 Use char because int might match the return type of a GCC 45889 builtin and then its argument prototype would still apply. */ 45890#ifdef __cplusplus 45891extern "C" 45892#endif 45893char libfvalue_utf8_string_split (); 45894int 45895main () 45896{ 45897return libfvalue_utf8_string_split (); 45898 ; 45899 return 0; 45900} 45901_ACEOF 45902if ac_fn_c_try_link "$LINENO"; then : 45903 ac_cv_lib_fvalue_libfvalue_utf8_string_split=yes 45904else 45905 ac_cv_lib_fvalue_libfvalue_utf8_string_split=no 45906fi 45907rm -f core conftest.err conftest.$ac_objext \ 45908 conftest$ac_exeext conftest.$ac_ext 45909LIBS=$ac_check_lib_save_LIBS 45910fi 45911{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_utf8_string_split" >&5 45912$as_echo "$ac_cv_lib_fvalue_libfvalue_utf8_string_split" >&6; } 45913if test "x$ac_cv_lib_fvalue_libfvalue_utf8_string_split" = xyes; then : 45914 ac_cv_libfvalue_dummy=yes 45915else 45916 ac_cv_libfvalue=no 45917fi 45918 45919 45920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_utf16_string_split in -lfvalue" >&5 45921$as_echo_n "checking for libfvalue_utf16_string_split in -lfvalue... " >&6; } 45922if ${ac_cv_lib_fvalue_libfvalue_utf16_string_split+:} false; then : 45923 $as_echo_n "(cached) " >&6 45924else 45925 ac_check_lib_save_LIBS=$LIBS 45926LIBS="-lfvalue $LIBS" 45927cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45928/* end confdefs.h. */ 45929 45930/* Override any GCC internal prototype to avoid an error. 45931 Use char because int might match the return type of a GCC 45932 builtin and then its argument prototype would still apply. */ 45933#ifdef __cplusplus 45934extern "C" 45935#endif 45936char libfvalue_utf16_string_split (); 45937int 45938main () 45939{ 45940return libfvalue_utf16_string_split (); 45941 ; 45942 return 0; 45943} 45944_ACEOF 45945if ac_fn_c_try_link "$LINENO"; then : 45946 ac_cv_lib_fvalue_libfvalue_utf16_string_split=yes 45947else 45948 ac_cv_lib_fvalue_libfvalue_utf16_string_split=no 45949fi 45950rm -f core conftest.err conftest.$ac_objext \ 45951 conftest$ac_exeext conftest.$ac_ext 45952LIBS=$ac_check_lib_save_LIBS 45953fi 45954{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_utf16_string_split" >&5 45955$as_echo "$ac_cv_lib_fvalue_libfvalue_utf16_string_split" >&6; } 45956if test "x$ac_cv_lib_fvalue_libfvalue_utf16_string_split" = xyes; then : 45957 ac_cv_libfvalue_dummy=yes 45958else 45959 ac_cv_libfvalue=no 45960fi 45961 45962 45963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_split_utf8_string_free in -lfvalue" >&5 45964$as_echo_n "checking for libfvalue_split_utf8_string_free in -lfvalue... " >&6; } 45965if ${ac_cv_lib_fvalue_libfvalue_split_utf8_string_free+:} false; then : 45966 $as_echo_n "(cached) " >&6 45967else 45968 ac_check_lib_save_LIBS=$LIBS 45969LIBS="-lfvalue $LIBS" 45970cat confdefs.h - <<_ACEOF >conftest.$ac_ext 45971/* end confdefs.h. */ 45972 45973/* Override any GCC internal prototype to avoid an error. 45974 Use char because int might match the return type of a GCC 45975 builtin and then its argument prototype would still apply. */ 45976#ifdef __cplusplus 45977extern "C" 45978#endif 45979char libfvalue_split_utf8_string_free (); 45980int 45981main () 45982{ 45983return libfvalue_split_utf8_string_free (); 45984 ; 45985 return 0; 45986} 45987_ACEOF 45988if ac_fn_c_try_link "$LINENO"; then : 45989 ac_cv_lib_fvalue_libfvalue_split_utf8_string_free=yes 45990else 45991 ac_cv_lib_fvalue_libfvalue_split_utf8_string_free=no 45992fi 45993rm -f core conftest.err conftest.$ac_objext \ 45994 conftest$ac_exeext conftest.$ac_ext 45995LIBS=$ac_check_lib_save_LIBS 45996fi 45997{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_split_utf8_string_free" >&5 45998$as_echo "$ac_cv_lib_fvalue_libfvalue_split_utf8_string_free" >&6; } 45999if test "x$ac_cv_lib_fvalue_libfvalue_split_utf8_string_free" = xyes; then : 46000 ac_cv_libfvalue_dummy=yes 46001else 46002 ac_cv_libfvalue=no 46003fi 46004 46005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_split_utf8_string_get_string in -lfvalue" >&5 46006$as_echo_n "checking for libfvalue_split_utf8_string_get_string in -lfvalue... " >&6; } 46007if ${ac_cv_lib_fvalue_libfvalue_split_utf8_string_get_string+:} false; then : 46008 $as_echo_n "(cached) " >&6 46009else 46010 ac_check_lib_save_LIBS=$LIBS 46011LIBS="-lfvalue $LIBS" 46012cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46013/* end confdefs.h. */ 46014 46015/* Override any GCC internal prototype to avoid an error. 46016 Use char because int might match the return type of a GCC 46017 builtin and then its argument prototype would still apply. */ 46018#ifdef __cplusplus 46019extern "C" 46020#endif 46021char libfvalue_split_utf8_string_get_string (); 46022int 46023main () 46024{ 46025return libfvalue_split_utf8_string_get_string (); 46026 ; 46027 return 0; 46028} 46029_ACEOF 46030if ac_fn_c_try_link "$LINENO"; then : 46031 ac_cv_lib_fvalue_libfvalue_split_utf8_string_get_string=yes 46032else 46033 ac_cv_lib_fvalue_libfvalue_split_utf8_string_get_string=no 46034fi 46035rm -f core conftest.err conftest.$ac_objext \ 46036 conftest$ac_exeext conftest.$ac_ext 46037LIBS=$ac_check_lib_save_LIBS 46038fi 46039{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_split_utf8_string_get_string" >&5 46040$as_echo "$ac_cv_lib_fvalue_libfvalue_split_utf8_string_get_string" >&6; } 46041if test "x$ac_cv_lib_fvalue_libfvalue_split_utf8_string_get_string" = xyes; then : 46042 ac_cv_libfvalue_dummy=yes 46043else 46044 ac_cv_libfvalue=no 46045fi 46046 46047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_split_utf8_string_get_number_of_segments in -lfvalue" >&5 46048$as_echo_n "checking for libfvalue_split_utf8_string_get_number_of_segments in -lfvalue... " >&6; } 46049if ${ac_cv_lib_fvalue_libfvalue_split_utf8_string_get_number_of_segments+:} false; then : 46050 $as_echo_n "(cached) " >&6 46051else 46052 ac_check_lib_save_LIBS=$LIBS 46053LIBS="-lfvalue $LIBS" 46054cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46055/* end confdefs.h. */ 46056 46057/* Override any GCC internal prototype to avoid an error. 46058 Use char because int might match the return type of a GCC 46059 builtin and then its argument prototype would still apply. */ 46060#ifdef __cplusplus 46061extern "C" 46062#endif 46063char libfvalue_split_utf8_string_get_number_of_segments (); 46064int 46065main () 46066{ 46067return libfvalue_split_utf8_string_get_number_of_segments (); 46068 ; 46069 return 0; 46070} 46071_ACEOF 46072if ac_fn_c_try_link "$LINENO"; then : 46073 ac_cv_lib_fvalue_libfvalue_split_utf8_string_get_number_of_segments=yes 46074else 46075 ac_cv_lib_fvalue_libfvalue_split_utf8_string_get_number_of_segments=no 46076fi 46077rm -f core conftest.err conftest.$ac_objext \ 46078 conftest$ac_exeext conftest.$ac_ext 46079LIBS=$ac_check_lib_save_LIBS 46080fi 46081{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_split_utf8_string_get_number_of_segments" >&5 46082$as_echo "$ac_cv_lib_fvalue_libfvalue_split_utf8_string_get_number_of_segments" >&6; } 46083if test "x$ac_cv_lib_fvalue_libfvalue_split_utf8_string_get_number_of_segments" = xyes; then : 46084 ac_cv_libfvalue_dummy=yes 46085else 46086 ac_cv_libfvalue=no 46087fi 46088 46089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_split_utf8_string_get_segment_by_index in -lfvalue" >&5 46090$as_echo_n "checking for libfvalue_split_utf8_string_get_segment_by_index in -lfvalue... " >&6; } 46091if ${ac_cv_lib_fvalue_libfvalue_split_utf8_string_get_segment_by_index+:} false; then : 46092 $as_echo_n "(cached) " >&6 46093else 46094 ac_check_lib_save_LIBS=$LIBS 46095LIBS="-lfvalue $LIBS" 46096cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46097/* end confdefs.h. */ 46098 46099/* Override any GCC internal prototype to avoid an error. 46100 Use char because int might match the return type of a GCC 46101 builtin and then its argument prototype would still apply. */ 46102#ifdef __cplusplus 46103extern "C" 46104#endif 46105char libfvalue_split_utf8_string_get_segment_by_index (); 46106int 46107main () 46108{ 46109return libfvalue_split_utf8_string_get_segment_by_index (); 46110 ; 46111 return 0; 46112} 46113_ACEOF 46114if ac_fn_c_try_link "$LINENO"; then : 46115 ac_cv_lib_fvalue_libfvalue_split_utf8_string_get_segment_by_index=yes 46116else 46117 ac_cv_lib_fvalue_libfvalue_split_utf8_string_get_segment_by_index=no 46118fi 46119rm -f core conftest.err conftest.$ac_objext \ 46120 conftest$ac_exeext conftest.$ac_ext 46121LIBS=$ac_check_lib_save_LIBS 46122fi 46123{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_split_utf8_string_get_segment_by_index" >&5 46124$as_echo "$ac_cv_lib_fvalue_libfvalue_split_utf8_string_get_segment_by_index" >&6; } 46125if test "x$ac_cv_lib_fvalue_libfvalue_split_utf8_string_get_segment_by_index" = xyes; then : 46126 ac_cv_libfvalue_dummy=yes 46127else 46128 ac_cv_libfvalue=no 46129fi 46130 46131 46132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_split_utf16_string_free in -lfvalue" >&5 46133$as_echo_n "checking for libfvalue_split_utf16_string_free in -lfvalue... " >&6; } 46134if ${ac_cv_lib_fvalue_libfvalue_split_utf16_string_free+:} false; then : 46135 $as_echo_n "(cached) " >&6 46136else 46137 ac_check_lib_save_LIBS=$LIBS 46138LIBS="-lfvalue $LIBS" 46139cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46140/* end confdefs.h. */ 46141 46142/* Override any GCC internal prototype to avoid an error. 46143 Use char because int might match the return type of a GCC 46144 builtin and then its argument prototype would still apply. */ 46145#ifdef __cplusplus 46146extern "C" 46147#endif 46148char libfvalue_split_utf16_string_free (); 46149int 46150main () 46151{ 46152return libfvalue_split_utf16_string_free (); 46153 ; 46154 return 0; 46155} 46156_ACEOF 46157if ac_fn_c_try_link "$LINENO"; then : 46158 ac_cv_lib_fvalue_libfvalue_split_utf16_string_free=yes 46159else 46160 ac_cv_lib_fvalue_libfvalue_split_utf16_string_free=no 46161fi 46162rm -f core conftest.err conftest.$ac_objext \ 46163 conftest$ac_exeext conftest.$ac_ext 46164LIBS=$ac_check_lib_save_LIBS 46165fi 46166{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_split_utf16_string_free" >&5 46167$as_echo "$ac_cv_lib_fvalue_libfvalue_split_utf16_string_free" >&6; } 46168if test "x$ac_cv_lib_fvalue_libfvalue_split_utf16_string_free" = xyes; then : 46169 ac_cv_libfvalue_dummy=yes 46170else 46171 ac_cv_libfvalue=no 46172fi 46173 46174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_split_utf16_string_get_string in -lfvalue" >&5 46175$as_echo_n "checking for libfvalue_split_utf16_string_get_string in -lfvalue... " >&6; } 46176if ${ac_cv_lib_fvalue_libfvalue_split_utf16_string_get_string+:} false; then : 46177 $as_echo_n "(cached) " >&6 46178else 46179 ac_check_lib_save_LIBS=$LIBS 46180LIBS="-lfvalue $LIBS" 46181cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46182/* end confdefs.h. */ 46183 46184/* Override any GCC internal prototype to avoid an error. 46185 Use char because int might match the return type of a GCC 46186 builtin and then its argument prototype would still apply. */ 46187#ifdef __cplusplus 46188extern "C" 46189#endif 46190char libfvalue_split_utf16_string_get_string (); 46191int 46192main () 46193{ 46194return libfvalue_split_utf16_string_get_string (); 46195 ; 46196 return 0; 46197} 46198_ACEOF 46199if ac_fn_c_try_link "$LINENO"; then : 46200 ac_cv_lib_fvalue_libfvalue_split_utf16_string_get_string=yes 46201else 46202 ac_cv_lib_fvalue_libfvalue_split_utf16_string_get_string=no 46203fi 46204rm -f core conftest.err conftest.$ac_objext \ 46205 conftest$ac_exeext conftest.$ac_ext 46206LIBS=$ac_check_lib_save_LIBS 46207fi 46208{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_split_utf16_string_get_string" >&5 46209$as_echo "$ac_cv_lib_fvalue_libfvalue_split_utf16_string_get_string" >&6; } 46210if test "x$ac_cv_lib_fvalue_libfvalue_split_utf16_string_get_string" = xyes; then : 46211 ac_cv_libfvalue_dummy=yes 46212else 46213 ac_cv_libfvalue=no 46214fi 46215 46216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_split_utf16_string_get_number_of_segments in -lfvalue" >&5 46217$as_echo_n "checking for libfvalue_split_utf16_string_get_number_of_segments in -lfvalue... " >&6; } 46218if ${ac_cv_lib_fvalue_libfvalue_split_utf16_string_get_number_of_segments+:} false; then : 46219 $as_echo_n "(cached) " >&6 46220else 46221 ac_check_lib_save_LIBS=$LIBS 46222LIBS="-lfvalue $LIBS" 46223cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46224/* end confdefs.h. */ 46225 46226/* Override any GCC internal prototype to avoid an error. 46227 Use char because int might match the return type of a GCC 46228 builtin and then its argument prototype would still apply. */ 46229#ifdef __cplusplus 46230extern "C" 46231#endif 46232char libfvalue_split_utf16_string_get_number_of_segments (); 46233int 46234main () 46235{ 46236return libfvalue_split_utf16_string_get_number_of_segments (); 46237 ; 46238 return 0; 46239} 46240_ACEOF 46241if ac_fn_c_try_link "$LINENO"; then : 46242 ac_cv_lib_fvalue_libfvalue_split_utf16_string_get_number_of_segments=yes 46243else 46244 ac_cv_lib_fvalue_libfvalue_split_utf16_string_get_number_of_segments=no 46245fi 46246rm -f core conftest.err conftest.$ac_objext \ 46247 conftest$ac_exeext conftest.$ac_ext 46248LIBS=$ac_check_lib_save_LIBS 46249fi 46250{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_split_utf16_string_get_number_of_segments" >&5 46251$as_echo "$ac_cv_lib_fvalue_libfvalue_split_utf16_string_get_number_of_segments" >&6; } 46252if test "x$ac_cv_lib_fvalue_libfvalue_split_utf16_string_get_number_of_segments" = xyes; then : 46253 ac_cv_libfvalue_dummy=yes 46254else 46255 ac_cv_libfvalue=no 46256fi 46257 46258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_split_utf16_string_get_segment_by_index in -lfvalue" >&5 46259$as_echo_n "checking for libfvalue_split_utf16_string_get_segment_by_index in -lfvalue... " >&6; } 46260if ${ac_cv_lib_fvalue_libfvalue_split_utf16_string_get_segment_by_index+:} false; then : 46261 $as_echo_n "(cached) " >&6 46262else 46263 ac_check_lib_save_LIBS=$LIBS 46264LIBS="-lfvalue $LIBS" 46265cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46266/* end confdefs.h. */ 46267 46268/* Override any GCC internal prototype to avoid an error. 46269 Use char because int might match the return type of a GCC 46270 builtin and then its argument prototype would still apply. */ 46271#ifdef __cplusplus 46272extern "C" 46273#endif 46274char libfvalue_split_utf16_string_get_segment_by_index (); 46275int 46276main () 46277{ 46278return libfvalue_split_utf16_string_get_segment_by_index (); 46279 ; 46280 return 0; 46281} 46282_ACEOF 46283if ac_fn_c_try_link "$LINENO"; then : 46284 ac_cv_lib_fvalue_libfvalue_split_utf16_string_get_segment_by_index=yes 46285else 46286 ac_cv_lib_fvalue_libfvalue_split_utf16_string_get_segment_by_index=no 46287fi 46288rm -f core conftest.err conftest.$ac_objext \ 46289 conftest$ac_exeext conftest.$ac_ext 46290LIBS=$ac_check_lib_save_LIBS 46291fi 46292{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_split_utf16_string_get_segment_by_index" >&5 46293$as_echo "$ac_cv_lib_fvalue_libfvalue_split_utf16_string_get_segment_by_index" >&6; } 46294if test "x$ac_cv_lib_fvalue_libfvalue_split_utf16_string_get_segment_by_index" = xyes; then : 46295 ac_cv_libfvalue_dummy=yes 46296else 46297 ac_cv_libfvalue=no 46298fi 46299 46300 46301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_table_initialize in -lfvalue" >&5 46302$as_echo_n "checking for libfvalue_table_initialize in -lfvalue... " >&6; } 46303if ${ac_cv_lib_fvalue_libfvalue_table_initialize+:} false; then : 46304 $as_echo_n "(cached) " >&6 46305else 46306 ac_check_lib_save_LIBS=$LIBS 46307LIBS="-lfvalue $LIBS" 46308cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46309/* end confdefs.h. */ 46310 46311/* Override any GCC internal prototype to avoid an error. 46312 Use char because int might match the return type of a GCC 46313 builtin and then its argument prototype would still apply. */ 46314#ifdef __cplusplus 46315extern "C" 46316#endif 46317char libfvalue_table_initialize (); 46318int 46319main () 46320{ 46321return libfvalue_table_initialize (); 46322 ; 46323 return 0; 46324} 46325_ACEOF 46326if ac_fn_c_try_link "$LINENO"; then : 46327 ac_cv_lib_fvalue_libfvalue_table_initialize=yes 46328else 46329 ac_cv_lib_fvalue_libfvalue_table_initialize=no 46330fi 46331rm -f core conftest.err conftest.$ac_objext \ 46332 conftest$ac_exeext conftest.$ac_ext 46333LIBS=$ac_check_lib_save_LIBS 46334fi 46335{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_table_initialize" >&5 46336$as_echo "$ac_cv_lib_fvalue_libfvalue_table_initialize" >&6; } 46337if test "x$ac_cv_lib_fvalue_libfvalue_table_initialize" = xyes; then : 46338 ac_cv_libfvalue_dummy=yes 46339else 46340 ac_cv_libfvalue=no 46341fi 46342 46343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_table_free in -lfvalue" >&5 46344$as_echo_n "checking for libfvalue_table_free in -lfvalue... " >&6; } 46345if ${ac_cv_lib_fvalue_libfvalue_table_free+:} false; then : 46346 $as_echo_n "(cached) " >&6 46347else 46348 ac_check_lib_save_LIBS=$LIBS 46349LIBS="-lfvalue $LIBS" 46350cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46351/* end confdefs.h. */ 46352 46353/* Override any GCC internal prototype to avoid an error. 46354 Use char because int might match the return type of a GCC 46355 builtin and then its argument prototype would still apply. */ 46356#ifdef __cplusplus 46357extern "C" 46358#endif 46359char libfvalue_table_free (); 46360int 46361main () 46362{ 46363return libfvalue_table_free (); 46364 ; 46365 return 0; 46366} 46367_ACEOF 46368if ac_fn_c_try_link "$LINENO"; then : 46369 ac_cv_lib_fvalue_libfvalue_table_free=yes 46370else 46371 ac_cv_lib_fvalue_libfvalue_table_free=no 46372fi 46373rm -f core conftest.err conftest.$ac_objext \ 46374 conftest$ac_exeext conftest.$ac_ext 46375LIBS=$ac_check_lib_save_LIBS 46376fi 46377{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_table_free" >&5 46378$as_echo "$ac_cv_lib_fvalue_libfvalue_table_free" >&6; } 46379if test "x$ac_cv_lib_fvalue_libfvalue_table_free" = xyes; then : 46380 ac_cv_libfvalue_dummy=yes 46381else 46382 ac_cv_libfvalue=no 46383fi 46384 46385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_table_resize in -lfvalue" >&5 46386$as_echo_n "checking for libfvalue_table_resize in -lfvalue... " >&6; } 46387if ${ac_cv_lib_fvalue_libfvalue_table_resize+:} false; then : 46388 $as_echo_n "(cached) " >&6 46389else 46390 ac_check_lib_save_LIBS=$LIBS 46391LIBS="-lfvalue $LIBS" 46392cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46393/* end confdefs.h. */ 46394 46395/* Override any GCC internal prototype to avoid an error. 46396 Use char because int might match the return type of a GCC 46397 builtin and then its argument prototype would still apply. */ 46398#ifdef __cplusplus 46399extern "C" 46400#endif 46401char libfvalue_table_resize (); 46402int 46403main () 46404{ 46405return libfvalue_table_resize (); 46406 ; 46407 return 0; 46408} 46409_ACEOF 46410if ac_fn_c_try_link "$LINENO"; then : 46411 ac_cv_lib_fvalue_libfvalue_table_resize=yes 46412else 46413 ac_cv_lib_fvalue_libfvalue_table_resize=no 46414fi 46415rm -f core conftest.err conftest.$ac_objext \ 46416 conftest$ac_exeext conftest.$ac_ext 46417LIBS=$ac_check_lib_save_LIBS 46418fi 46419{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_table_resize" >&5 46420$as_echo "$ac_cv_lib_fvalue_libfvalue_table_resize" >&6; } 46421if test "x$ac_cv_lib_fvalue_libfvalue_table_resize" = xyes; then : 46422 ac_cv_libfvalue_dummy=yes 46423else 46424 ac_cv_libfvalue=no 46425fi 46426 46427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_table_clone in -lfvalue" >&5 46428$as_echo_n "checking for libfvalue_table_clone in -lfvalue... " >&6; } 46429if ${ac_cv_lib_fvalue_libfvalue_table_clone+:} false; then : 46430 $as_echo_n "(cached) " >&6 46431else 46432 ac_check_lib_save_LIBS=$LIBS 46433LIBS="-lfvalue $LIBS" 46434cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46435/* end confdefs.h. */ 46436 46437/* Override any GCC internal prototype to avoid an error. 46438 Use char because int might match the return type of a GCC 46439 builtin and then its argument prototype would still apply. */ 46440#ifdef __cplusplus 46441extern "C" 46442#endif 46443char libfvalue_table_clone (); 46444int 46445main () 46446{ 46447return libfvalue_table_clone (); 46448 ; 46449 return 0; 46450} 46451_ACEOF 46452if ac_fn_c_try_link "$LINENO"; then : 46453 ac_cv_lib_fvalue_libfvalue_table_clone=yes 46454else 46455 ac_cv_lib_fvalue_libfvalue_table_clone=no 46456fi 46457rm -f core conftest.err conftest.$ac_objext \ 46458 conftest$ac_exeext conftest.$ac_ext 46459LIBS=$ac_check_lib_save_LIBS 46460fi 46461{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_table_clone" >&5 46462$as_echo "$ac_cv_lib_fvalue_libfvalue_table_clone" >&6; } 46463if test "x$ac_cv_lib_fvalue_libfvalue_table_clone" = xyes; then : 46464 ac_cv_libfvalue_dummy=yes 46465else 46466 ac_cv_libfvalue=no 46467fi 46468 46469 46470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_table_get_number_of_values in -lfvalue" >&5 46471$as_echo_n "checking for libfvalue_table_get_number_of_values in -lfvalue... " >&6; } 46472if ${ac_cv_lib_fvalue_libfvalue_table_get_number_of_values+:} false; then : 46473 $as_echo_n "(cached) " >&6 46474else 46475 ac_check_lib_save_LIBS=$LIBS 46476LIBS="-lfvalue $LIBS" 46477cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46478/* end confdefs.h. */ 46479 46480/* Override any GCC internal prototype to avoid an error. 46481 Use char because int might match the return type of a GCC 46482 builtin and then its argument prototype would still apply. */ 46483#ifdef __cplusplus 46484extern "C" 46485#endif 46486char libfvalue_table_get_number_of_values (); 46487int 46488main () 46489{ 46490return libfvalue_table_get_number_of_values (); 46491 ; 46492 return 0; 46493} 46494_ACEOF 46495if ac_fn_c_try_link "$LINENO"; then : 46496 ac_cv_lib_fvalue_libfvalue_table_get_number_of_values=yes 46497else 46498 ac_cv_lib_fvalue_libfvalue_table_get_number_of_values=no 46499fi 46500rm -f core conftest.err conftest.$ac_objext \ 46501 conftest$ac_exeext conftest.$ac_ext 46502LIBS=$ac_check_lib_save_LIBS 46503fi 46504{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_table_get_number_of_values" >&5 46505$as_echo "$ac_cv_lib_fvalue_libfvalue_table_get_number_of_values" >&6; } 46506if test "x$ac_cv_lib_fvalue_libfvalue_table_get_number_of_values" = xyes; then : 46507 ac_cv_libfvalue_dummy=yes 46508else 46509 ac_cv_libfvalue=no 46510fi 46511 46512 46513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_table_get_index_by_identifier in -lfvalue" >&5 46514$as_echo_n "checking for libfvalue_table_get_index_by_identifier in -lfvalue... " >&6; } 46515if ${ac_cv_lib_fvalue_libfvalue_table_get_index_by_identifier+:} false; then : 46516 $as_echo_n "(cached) " >&6 46517else 46518 ac_check_lib_save_LIBS=$LIBS 46519LIBS="-lfvalue $LIBS" 46520cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46521/* end confdefs.h. */ 46522 46523/* Override any GCC internal prototype to avoid an error. 46524 Use char because int might match the return type of a GCC 46525 builtin and then its argument prototype would still apply. */ 46526#ifdef __cplusplus 46527extern "C" 46528#endif 46529char libfvalue_table_get_index_by_identifier (); 46530int 46531main () 46532{ 46533return libfvalue_table_get_index_by_identifier (); 46534 ; 46535 return 0; 46536} 46537_ACEOF 46538if ac_fn_c_try_link "$LINENO"; then : 46539 ac_cv_lib_fvalue_libfvalue_table_get_index_by_identifier=yes 46540else 46541 ac_cv_lib_fvalue_libfvalue_table_get_index_by_identifier=no 46542fi 46543rm -f core conftest.err conftest.$ac_objext \ 46544 conftest$ac_exeext conftest.$ac_ext 46545LIBS=$ac_check_lib_save_LIBS 46546fi 46547{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_table_get_index_by_identifier" >&5 46548$as_echo "$ac_cv_lib_fvalue_libfvalue_table_get_index_by_identifier" >&6; } 46549if test "x$ac_cv_lib_fvalue_libfvalue_table_get_index_by_identifier" = xyes; then : 46550 ac_cv_libfvalue_dummy=yes 46551else 46552 ac_cv_libfvalue=no 46553fi 46554 46555 46556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_table_get_value_by_index in -lfvalue" >&5 46557$as_echo_n "checking for libfvalue_table_get_value_by_index in -lfvalue... " >&6; } 46558if ${ac_cv_lib_fvalue_libfvalue_table_get_value_by_index+:} false; then : 46559 $as_echo_n "(cached) " >&6 46560else 46561 ac_check_lib_save_LIBS=$LIBS 46562LIBS="-lfvalue $LIBS" 46563cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46564/* end confdefs.h. */ 46565 46566/* Override any GCC internal prototype to avoid an error. 46567 Use char because int might match the return type of a GCC 46568 builtin and then its argument prototype would still apply. */ 46569#ifdef __cplusplus 46570extern "C" 46571#endif 46572char libfvalue_table_get_value_by_index (); 46573int 46574main () 46575{ 46576return libfvalue_table_get_value_by_index (); 46577 ; 46578 return 0; 46579} 46580_ACEOF 46581if ac_fn_c_try_link "$LINENO"; then : 46582 ac_cv_lib_fvalue_libfvalue_table_get_value_by_index=yes 46583else 46584 ac_cv_lib_fvalue_libfvalue_table_get_value_by_index=no 46585fi 46586rm -f core conftest.err conftest.$ac_objext \ 46587 conftest$ac_exeext conftest.$ac_ext 46588LIBS=$ac_check_lib_save_LIBS 46589fi 46590{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_table_get_value_by_index" >&5 46591$as_echo "$ac_cv_lib_fvalue_libfvalue_table_get_value_by_index" >&6; } 46592if test "x$ac_cv_lib_fvalue_libfvalue_table_get_value_by_index" = xyes; then : 46593 ac_cv_libfvalue_dummy=yes 46594else 46595 ac_cv_libfvalue=no 46596fi 46597 46598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_table_get_value_by_identifier in -lfvalue" >&5 46599$as_echo_n "checking for libfvalue_table_get_value_by_identifier in -lfvalue... " >&6; } 46600if ${ac_cv_lib_fvalue_libfvalue_table_get_value_by_identifier+:} false; then : 46601 $as_echo_n "(cached) " >&6 46602else 46603 ac_check_lib_save_LIBS=$LIBS 46604LIBS="-lfvalue $LIBS" 46605cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46606/* end confdefs.h. */ 46607 46608/* Override any GCC internal prototype to avoid an error. 46609 Use char because int might match the return type of a GCC 46610 builtin and then its argument prototype would still apply. */ 46611#ifdef __cplusplus 46612extern "C" 46613#endif 46614char libfvalue_table_get_value_by_identifier (); 46615int 46616main () 46617{ 46618return libfvalue_table_get_value_by_identifier (); 46619 ; 46620 return 0; 46621} 46622_ACEOF 46623if ac_fn_c_try_link "$LINENO"; then : 46624 ac_cv_lib_fvalue_libfvalue_table_get_value_by_identifier=yes 46625else 46626 ac_cv_lib_fvalue_libfvalue_table_get_value_by_identifier=no 46627fi 46628rm -f core conftest.err conftest.$ac_objext \ 46629 conftest$ac_exeext conftest.$ac_ext 46630LIBS=$ac_check_lib_save_LIBS 46631fi 46632{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_table_get_value_by_identifier" >&5 46633$as_echo "$ac_cv_lib_fvalue_libfvalue_table_get_value_by_identifier" >&6; } 46634if test "x$ac_cv_lib_fvalue_libfvalue_table_get_value_by_identifier" = xyes; then : 46635 ac_cv_libfvalue_dummy=yes 46636else 46637 ac_cv_libfvalue=no 46638fi 46639 46640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_table_set_value_by_index in -lfvalue" >&5 46641$as_echo_n "checking for libfvalue_table_set_value_by_index in -lfvalue... " >&6; } 46642if ${ac_cv_lib_fvalue_libfvalue_table_set_value_by_index+:} false; then : 46643 $as_echo_n "(cached) " >&6 46644else 46645 ac_check_lib_save_LIBS=$LIBS 46646LIBS="-lfvalue $LIBS" 46647cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46648/* end confdefs.h. */ 46649 46650/* Override any GCC internal prototype to avoid an error. 46651 Use char because int might match the return type of a GCC 46652 builtin and then its argument prototype would still apply. */ 46653#ifdef __cplusplus 46654extern "C" 46655#endif 46656char libfvalue_table_set_value_by_index (); 46657int 46658main () 46659{ 46660return libfvalue_table_set_value_by_index (); 46661 ; 46662 return 0; 46663} 46664_ACEOF 46665if ac_fn_c_try_link "$LINENO"; then : 46666 ac_cv_lib_fvalue_libfvalue_table_set_value_by_index=yes 46667else 46668 ac_cv_lib_fvalue_libfvalue_table_set_value_by_index=no 46669fi 46670rm -f core conftest.err conftest.$ac_objext \ 46671 conftest$ac_exeext conftest.$ac_ext 46672LIBS=$ac_check_lib_save_LIBS 46673fi 46674{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_table_set_value_by_index" >&5 46675$as_echo "$ac_cv_lib_fvalue_libfvalue_table_set_value_by_index" >&6; } 46676if test "x$ac_cv_lib_fvalue_libfvalue_table_set_value_by_index" = xyes; then : 46677 ac_cv_libfvalue_dummy=yes 46678else 46679 ac_cv_libfvalue=no 46680fi 46681 46682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_table_set_value in -lfvalue" >&5 46683$as_echo_n "checking for libfvalue_table_set_value in -lfvalue... " >&6; } 46684if ${ac_cv_lib_fvalue_libfvalue_table_set_value+:} false; then : 46685 $as_echo_n "(cached) " >&6 46686else 46687 ac_check_lib_save_LIBS=$LIBS 46688LIBS="-lfvalue $LIBS" 46689cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46690/* end confdefs.h. */ 46691 46692/* Override any GCC internal prototype to avoid an error. 46693 Use char because int might match the return type of a GCC 46694 builtin and then its argument prototype would still apply. */ 46695#ifdef __cplusplus 46696extern "C" 46697#endif 46698char libfvalue_table_set_value (); 46699int 46700main () 46701{ 46702return libfvalue_table_set_value (); 46703 ; 46704 return 0; 46705} 46706_ACEOF 46707if ac_fn_c_try_link "$LINENO"; then : 46708 ac_cv_lib_fvalue_libfvalue_table_set_value=yes 46709else 46710 ac_cv_lib_fvalue_libfvalue_table_set_value=no 46711fi 46712rm -f core conftest.err conftest.$ac_objext \ 46713 conftest$ac_exeext conftest.$ac_ext 46714LIBS=$ac_check_lib_save_LIBS 46715fi 46716{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_table_set_value" >&5 46717$as_echo "$ac_cv_lib_fvalue_libfvalue_table_set_value" >&6; } 46718if test "x$ac_cv_lib_fvalue_libfvalue_table_set_value" = xyes; then : 46719 ac_cv_libfvalue_dummy=yes 46720else 46721 ac_cv_libfvalue=no 46722fi 46723 46724 46725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_table_copy_from_utf8_xml_string in -lfvalue" >&5 46726$as_echo_n "checking for libfvalue_table_copy_from_utf8_xml_string in -lfvalue... " >&6; } 46727if ${ac_cv_lib_fvalue_libfvalue_table_copy_from_utf8_xml_string+:} false; then : 46728 $as_echo_n "(cached) " >&6 46729else 46730 ac_check_lib_save_LIBS=$LIBS 46731LIBS="-lfvalue $LIBS" 46732cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46733/* end confdefs.h. */ 46734 46735/* Override any GCC internal prototype to avoid an error. 46736 Use char because int might match the return type of a GCC 46737 builtin and then its argument prototype would still apply. */ 46738#ifdef __cplusplus 46739extern "C" 46740#endif 46741char libfvalue_table_copy_from_utf8_xml_string (); 46742int 46743main () 46744{ 46745return libfvalue_table_copy_from_utf8_xml_string (); 46746 ; 46747 return 0; 46748} 46749_ACEOF 46750if ac_fn_c_try_link "$LINENO"; then : 46751 ac_cv_lib_fvalue_libfvalue_table_copy_from_utf8_xml_string=yes 46752else 46753 ac_cv_lib_fvalue_libfvalue_table_copy_from_utf8_xml_string=no 46754fi 46755rm -f core conftest.err conftest.$ac_objext \ 46756 conftest$ac_exeext conftest.$ac_ext 46757LIBS=$ac_check_lib_save_LIBS 46758fi 46759{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_table_copy_from_utf8_xml_string" >&5 46760$as_echo "$ac_cv_lib_fvalue_libfvalue_table_copy_from_utf8_xml_string" >&6; } 46761if test "x$ac_cv_lib_fvalue_libfvalue_table_copy_from_utf8_xml_string" = xyes; then : 46762 ac_cv_libfvalue_dummy=yes 46763else 46764 ac_cv_libfvalue=no 46765fi 46766 46767 46768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_initialize in -lfvalue" >&5 46769$as_echo_n "checking for libfvalue_value_initialize in -lfvalue... " >&6; } 46770if ${ac_cv_lib_fvalue_libfvalue_value_initialize+:} false; then : 46771 $as_echo_n "(cached) " >&6 46772else 46773 ac_check_lib_save_LIBS=$LIBS 46774LIBS="-lfvalue $LIBS" 46775cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46776/* end confdefs.h. */ 46777 46778/* Override any GCC internal prototype to avoid an error. 46779 Use char because int might match the return type of a GCC 46780 builtin and then its argument prototype would still apply. */ 46781#ifdef __cplusplus 46782extern "C" 46783#endif 46784char libfvalue_value_initialize (); 46785int 46786main () 46787{ 46788return libfvalue_value_initialize (); 46789 ; 46790 return 0; 46791} 46792_ACEOF 46793if ac_fn_c_try_link "$LINENO"; then : 46794 ac_cv_lib_fvalue_libfvalue_value_initialize=yes 46795else 46796 ac_cv_lib_fvalue_libfvalue_value_initialize=no 46797fi 46798rm -f core conftest.err conftest.$ac_objext \ 46799 conftest$ac_exeext conftest.$ac_ext 46800LIBS=$ac_check_lib_save_LIBS 46801fi 46802{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_initialize" >&5 46803$as_echo "$ac_cv_lib_fvalue_libfvalue_value_initialize" >&6; } 46804if test "x$ac_cv_lib_fvalue_libfvalue_value_initialize" = xyes; then : 46805 ac_cv_libfvalue_dummy=yes 46806else 46807 ac_cv_libfvalue=no 46808fi 46809 46810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_free in -lfvalue" >&5 46811$as_echo_n "checking for libfvalue_value_free in -lfvalue... " >&6; } 46812if ${ac_cv_lib_fvalue_libfvalue_value_free+:} false; then : 46813 $as_echo_n "(cached) " >&6 46814else 46815 ac_check_lib_save_LIBS=$LIBS 46816LIBS="-lfvalue $LIBS" 46817cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46818/* end confdefs.h. */ 46819 46820/* Override any GCC internal prototype to avoid an error. 46821 Use char because int might match the return type of a GCC 46822 builtin and then its argument prototype would still apply. */ 46823#ifdef __cplusplus 46824extern "C" 46825#endif 46826char libfvalue_value_free (); 46827int 46828main () 46829{ 46830return libfvalue_value_free (); 46831 ; 46832 return 0; 46833} 46834_ACEOF 46835if ac_fn_c_try_link "$LINENO"; then : 46836 ac_cv_lib_fvalue_libfvalue_value_free=yes 46837else 46838 ac_cv_lib_fvalue_libfvalue_value_free=no 46839fi 46840rm -f core conftest.err conftest.$ac_objext \ 46841 conftest$ac_exeext conftest.$ac_ext 46842LIBS=$ac_check_lib_save_LIBS 46843fi 46844{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_free" >&5 46845$as_echo "$ac_cv_lib_fvalue_libfvalue_value_free" >&6; } 46846if test "x$ac_cv_lib_fvalue_libfvalue_value_free" = xyes; then : 46847 ac_cv_libfvalue_dummy=yes 46848else 46849 ac_cv_libfvalue=no 46850fi 46851 46852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_clone in -lfvalue" >&5 46853$as_echo_n "checking for libfvalue_value_clone in -lfvalue... " >&6; } 46854if ${ac_cv_lib_fvalue_libfvalue_value_clone+:} false; then : 46855 $as_echo_n "(cached) " >&6 46856else 46857 ac_check_lib_save_LIBS=$LIBS 46858LIBS="-lfvalue $LIBS" 46859cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46860/* end confdefs.h. */ 46861 46862/* Override any GCC internal prototype to avoid an error. 46863 Use char because int might match the return type of a GCC 46864 builtin and then its argument prototype would still apply. */ 46865#ifdef __cplusplus 46866extern "C" 46867#endif 46868char libfvalue_value_clone (); 46869int 46870main () 46871{ 46872return libfvalue_value_clone (); 46873 ; 46874 return 0; 46875} 46876_ACEOF 46877if ac_fn_c_try_link "$LINENO"; then : 46878 ac_cv_lib_fvalue_libfvalue_value_clone=yes 46879else 46880 ac_cv_lib_fvalue_libfvalue_value_clone=no 46881fi 46882rm -f core conftest.err conftest.$ac_objext \ 46883 conftest$ac_exeext conftest.$ac_ext 46884LIBS=$ac_check_lib_save_LIBS 46885fi 46886{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_clone" >&5 46887$as_echo "$ac_cv_lib_fvalue_libfvalue_value_clone" >&6; } 46888if test "x$ac_cv_lib_fvalue_libfvalue_value_clone" = xyes; then : 46889 ac_cv_libfvalue_dummy=yes 46890else 46891 ac_cv_libfvalue=no 46892fi 46893 46894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_clear in -lfvalue" >&5 46895$as_echo_n "checking for libfvalue_value_clear in -lfvalue... " >&6; } 46896if ${ac_cv_lib_fvalue_libfvalue_value_clear+:} false; then : 46897 $as_echo_n "(cached) " >&6 46898else 46899 ac_check_lib_save_LIBS=$LIBS 46900LIBS="-lfvalue $LIBS" 46901cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46902/* end confdefs.h. */ 46903 46904/* Override any GCC internal prototype to avoid an error. 46905 Use char because int might match the return type of a GCC 46906 builtin and then its argument prototype would still apply. */ 46907#ifdef __cplusplus 46908extern "C" 46909#endif 46910char libfvalue_value_clear (); 46911int 46912main () 46913{ 46914return libfvalue_value_clear (); 46915 ; 46916 return 0; 46917} 46918_ACEOF 46919if ac_fn_c_try_link "$LINENO"; then : 46920 ac_cv_lib_fvalue_libfvalue_value_clear=yes 46921else 46922 ac_cv_lib_fvalue_libfvalue_value_clear=no 46923fi 46924rm -f core conftest.err conftest.$ac_objext \ 46925 conftest$ac_exeext conftest.$ac_ext 46926LIBS=$ac_check_lib_save_LIBS 46927fi 46928{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_clear" >&5 46929$as_echo "$ac_cv_lib_fvalue_libfvalue_value_clear" >&6; } 46930if test "x$ac_cv_lib_fvalue_libfvalue_value_clear" = xyes; then : 46931 ac_cv_libfvalue_dummy=yes 46932else 46933 ac_cv_libfvalue=no 46934fi 46935 46936 46937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_get_type in -lfvalue" >&5 46938$as_echo_n "checking for libfvalue_value_get_type in -lfvalue... " >&6; } 46939if ${ac_cv_lib_fvalue_libfvalue_value_get_type+:} false; then : 46940 $as_echo_n "(cached) " >&6 46941else 46942 ac_check_lib_save_LIBS=$LIBS 46943LIBS="-lfvalue $LIBS" 46944cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46945/* end confdefs.h. */ 46946 46947/* Override any GCC internal prototype to avoid an error. 46948 Use char because int might match the return type of a GCC 46949 builtin and then its argument prototype would still apply. */ 46950#ifdef __cplusplus 46951extern "C" 46952#endif 46953char libfvalue_value_get_type (); 46954int 46955main () 46956{ 46957return libfvalue_value_get_type (); 46958 ; 46959 return 0; 46960} 46961_ACEOF 46962if ac_fn_c_try_link "$LINENO"; then : 46963 ac_cv_lib_fvalue_libfvalue_value_get_type=yes 46964else 46965 ac_cv_lib_fvalue_libfvalue_value_get_type=no 46966fi 46967rm -f core conftest.err conftest.$ac_objext \ 46968 conftest$ac_exeext conftest.$ac_ext 46969LIBS=$ac_check_lib_save_LIBS 46970fi 46971{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_get_type" >&5 46972$as_echo "$ac_cv_lib_fvalue_libfvalue_value_get_type" >&6; } 46973if test "x$ac_cv_lib_fvalue_libfvalue_value_get_type" = xyes; then : 46974 ac_cv_libfvalue_dummy=yes 46975else 46976 ac_cv_libfvalue=no 46977fi 46978 46979 46980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_get_identifier in -lfvalue" >&5 46981$as_echo_n "checking for libfvalue_value_get_identifier in -lfvalue... " >&6; } 46982if ${ac_cv_lib_fvalue_libfvalue_value_get_identifier+:} false; then : 46983 $as_echo_n "(cached) " >&6 46984else 46985 ac_check_lib_save_LIBS=$LIBS 46986LIBS="-lfvalue $LIBS" 46987cat confdefs.h - <<_ACEOF >conftest.$ac_ext 46988/* end confdefs.h. */ 46989 46990/* Override any GCC internal prototype to avoid an error. 46991 Use char because int might match the return type of a GCC 46992 builtin and then its argument prototype would still apply. */ 46993#ifdef __cplusplus 46994extern "C" 46995#endif 46996char libfvalue_value_get_identifier (); 46997int 46998main () 46999{ 47000return libfvalue_value_get_identifier (); 47001 ; 47002 return 0; 47003} 47004_ACEOF 47005if ac_fn_c_try_link "$LINENO"; then : 47006 ac_cv_lib_fvalue_libfvalue_value_get_identifier=yes 47007else 47008 ac_cv_lib_fvalue_libfvalue_value_get_identifier=no 47009fi 47010rm -f core conftest.err conftest.$ac_objext \ 47011 conftest$ac_exeext conftest.$ac_ext 47012LIBS=$ac_check_lib_save_LIBS 47013fi 47014{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_get_identifier" >&5 47015$as_echo "$ac_cv_lib_fvalue_libfvalue_value_get_identifier" >&6; } 47016if test "x$ac_cv_lib_fvalue_libfvalue_value_get_identifier" = xyes; then : 47017 ac_cv_libfvalue_dummy=yes 47018else 47019 ac_cv_libfvalue=no 47020fi 47021 47022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_set_identifier in -lfvalue" >&5 47023$as_echo_n "checking for libfvalue_value_set_identifier in -lfvalue... " >&6; } 47024if ${ac_cv_lib_fvalue_libfvalue_value_set_identifier+:} false; then : 47025 $as_echo_n "(cached) " >&6 47026else 47027 ac_check_lib_save_LIBS=$LIBS 47028LIBS="-lfvalue $LIBS" 47029cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47030/* end confdefs.h. */ 47031 47032/* Override any GCC internal prototype to avoid an error. 47033 Use char because int might match the return type of a GCC 47034 builtin and then its argument prototype would still apply. */ 47035#ifdef __cplusplus 47036extern "C" 47037#endif 47038char libfvalue_value_set_identifier (); 47039int 47040main () 47041{ 47042return libfvalue_value_set_identifier (); 47043 ; 47044 return 0; 47045} 47046_ACEOF 47047if ac_fn_c_try_link "$LINENO"; then : 47048 ac_cv_lib_fvalue_libfvalue_value_set_identifier=yes 47049else 47050 ac_cv_lib_fvalue_libfvalue_value_set_identifier=no 47051fi 47052rm -f core conftest.err conftest.$ac_objext \ 47053 conftest$ac_exeext conftest.$ac_ext 47054LIBS=$ac_check_lib_save_LIBS 47055fi 47056{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_set_identifier" >&5 47057$as_echo "$ac_cv_lib_fvalue_libfvalue_value_set_identifier" >&6; } 47058if test "x$ac_cv_lib_fvalue_libfvalue_value_set_identifier" = xyes; then : 47059 ac_cv_libfvalue_dummy=yes 47060else 47061 ac_cv_libfvalue=no 47062fi 47063 47064 47065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_get_data_handle in -lfvalue" >&5 47066$as_echo_n "checking for libfvalue_value_get_data_handle in -lfvalue... " >&6; } 47067if ${ac_cv_lib_fvalue_libfvalue_value_get_data_handle+:} false; then : 47068 $as_echo_n "(cached) " >&6 47069else 47070 ac_check_lib_save_LIBS=$LIBS 47071LIBS="-lfvalue $LIBS" 47072cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47073/* end confdefs.h. */ 47074 47075/* Override any GCC internal prototype to avoid an error. 47076 Use char because int might match the return type of a GCC 47077 builtin and then its argument prototype would still apply. */ 47078#ifdef __cplusplus 47079extern "C" 47080#endif 47081char libfvalue_value_get_data_handle (); 47082int 47083main () 47084{ 47085return libfvalue_value_get_data_handle (); 47086 ; 47087 return 0; 47088} 47089_ACEOF 47090if ac_fn_c_try_link "$LINENO"; then : 47091 ac_cv_lib_fvalue_libfvalue_value_get_data_handle=yes 47092else 47093 ac_cv_lib_fvalue_libfvalue_value_get_data_handle=no 47094fi 47095rm -f core conftest.err conftest.$ac_objext \ 47096 conftest$ac_exeext conftest.$ac_ext 47097LIBS=$ac_check_lib_save_LIBS 47098fi 47099{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_get_data_handle" >&5 47100$as_echo "$ac_cv_lib_fvalue_libfvalue_value_get_data_handle" >&6; } 47101if test "x$ac_cv_lib_fvalue_libfvalue_value_get_data_handle" = xyes; then : 47102 ac_cv_libfvalue_dummy=yes 47103else 47104 ac_cv_libfvalue=no 47105fi 47106 47107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_has_data in -lfvalue" >&5 47108$as_echo_n "checking for libfvalue_value_has_data in -lfvalue... " >&6; } 47109if ${ac_cv_lib_fvalue_libfvalue_value_has_data+:} false; then : 47110 $as_echo_n "(cached) " >&6 47111else 47112 ac_check_lib_save_LIBS=$LIBS 47113LIBS="-lfvalue $LIBS" 47114cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47115/* end confdefs.h. */ 47116 47117/* Override any GCC internal prototype to avoid an error. 47118 Use char because int might match the return type of a GCC 47119 builtin and then its argument prototype would still apply. */ 47120#ifdef __cplusplus 47121extern "C" 47122#endif 47123char libfvalue_value_has_data (); 47124int 47125main () 47126{ 47127return libfvalue_value_has_data (); 47128 ; 47129 return 0; 47130} 47131_ACEOF 47132if ac_fn_c_try_link "$LINENO"; then : 47133 ac_cv_lib_fvalue_libfvalue_value_has_data=yes 47134else 47135 ac_cv_lib_fvalue_libfvalue_value_has_data=no 47136fi 47137rm -f core conftest.err conftest.$ac_objext \ 47138 conftest$ac_exeext conftest.$ac_ext 47139LIBS=$ac_check_lib_save_LIBS 47140fi 47141{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_has_data" >&5 47142$as_echo "$ac_cv_lib_fvalue_libfvalue_value_has_data" >&6; } 47143if test "x$ac_cv_lib_fvalue_libfvalue_value_has_data" = xyes; then : 47144 ac_cv_libfvalue_dummy=yes 47145else 47146 ac_cv_libfvalue=no 47147fi 47148 47149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_get_data_size in -lfvalue" >&5 47150$as_echo_n "checking for libfvalue_value_get_data_size in -lfvalue... " >&6; } 47151if ${ac_cv_lib_fvalue_libfvalue_value_get_data_size+:} false; then : 47152 $as_echo_n "(cached) " >&6 47153else 47154 ac_check_lib_save_LIBS=$LIBS 47155LIBS="-lfvalue $LIBS" 47156cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47157/* end confdefs.h. */ 47158 47159/* Override any GCC internal prototype to avoid an error. 47160 Use char because int might match the return type of a GCC 47161 builtin and then its argument prototype would still apply. */ 47162#ifdef __cplusplus 47163extern "C" 47164#endif 47165char libfvalue_value_get_data_size (); 47166int 47167main () 47168{ 47169return libfvalue_value_get_data_size (); 47170 ; 47171 return 0; 47172} 47173_ACEOF 47174if ac_fn_c_try_link "$LINENO"; then : 47175 ac_cv_lib_fvalue_libfvalue_value_get_data_size=yes 47176else 47177 ac_cv_lib_fvalue_libfvalue_value_get_data_size=no 47178fi 47179rm -f core conftest.err conftest.$ac_objext \ 47180 conftest$ac_exeext conftest.$ac_ext 47181LIBS=$ac_check_lib_save_LIBS 47182fi 47183{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_get_data_size" >&5 47184$as_echo "$ac_cv_lib_fvalue_libfvalue_value_get_data_size" >&6; } 47185if test "x$ac_cv_lib_fvalue_libfvalue_value_get_data_size" = xyes; then : 47186 ac_cv_libfvalue_dummy=yes 47187else 47188 ac_cv_libfvalue=no 47189fi 47190 47191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_get_data in -lfvalue" >&5 47192$as_echo_n "checking for libfvalue_value_get_data in -lfvalue... " >&6; } 47193if ${ac_cv_lib_fvalue_libfvalue_value_get_data+:} false; then : 47194 $as_echo_n "(cached) " >&6 47195else 47196 ac_check_lib_save_LIBS=$LIBS 47197LIBS="-lfvalue $LIBS" 47198cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47199/* end confdefs.h. */ 47200 47201/* Override any GCC internal prototype to avoid an error. 47202 Use char because int might match the return type of a GCC 47203 builtin and then its argument prototype would still apply. */ 47204#ifdef __cplusplus 47205extern "C" 47206#endif 47207char libfvalue_value_get_data (); 47208int 47209main () 47210{ 47211return libfvalue_value_get_data (); 47212 ; 47213 return 0; 47214} 47215_ACEOF 47216if ac_fn_c_try_link "$LINENO"; then : 47217 ac_cv_lib_fvalue_libfvalue_value_get_data=yes 47218else 47219 ac_cv_lib_fvalue_libfvalue_value_get_data=no 47220fi 47221rm -f core conftest.err conftest.$ac_objext \ 47222 conftest$ac_exeext conftest.$ac_ext 47223LIBS=$ac_check_lib_save_LIBS 47224fi 47225{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_get_data" >&5 47226$as_echo "$ac_cv_lib_fvalue_libfvalue_value_get_data" >&6; } 47227if test "x$ac_cv_lib_fvalue_libfvalue_value_get_data" = xyes; then : 47228 ac_cv_libfvalue_dummy=yes 47229else 47230 ac_cv_libfvalue=no 47231fi 47232 47233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_set_data in -lfvalue" >&5 47234$as_echo_n "checking for libfvalue_value_set_data in -lfvalue... " >&6; } 47235if ${ac_cv_lib_fvalue_libfvalue_value_set_data+:} false; then : 47236 $as_echo_n "(cached) " >&6 47237else 47238 ac_check_lib_save_LIBS=$LIBS 47239LIBS="-lfvalue $LIBS" 47240cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47241/* end confdefs.h. */ 47242 47243/* Override any GCC internal prototype to avoid an error. 47244 Use char because int might match the return type of a GCC 47245 builtin and then its argument prototype would still apply. */ 47246#ifdef __cplusplus 47247extern "C" 47248#endif 47249char libfvalue_value_set_data (); 47250int 47251main () 47252{ 47253return libfvalue_value_set_data (); 47254 ; 47255 return 0; 47256} 47257_ACEOF 47258if ac_fn_c_try_link "$LINENO"; then : 47259 ac_cv_lib_fvalue_libfvalue_value_set_data=yes 47260else 47261 ac_cv_lib_fvalue_libfvalue_value_set_data=no 47262fi 47263rm -f core conftest.err conftest.$ac_objext \ 47264 conftest$ac_exeext conftest.$ac_ext 47265LIBS=$ac_check_lib_save_LIBS 47266fi 47267{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_set_data" >&5 47268$as_echo "$ac_cv_lib_fvalue_libfvalue_value_set_data" >&6; } 47269if test "x$ac_cv_lib_fvalue_libfvalue_value_set_data" = xyes; then : 47270 ac_cv_libfvalue_dummy=yes 47271else 47272 ac_cv_libfvalue=no 47273fi 47274 47275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_data in -lfvalue" >&5 47276$as_echo_n "checking for libfvalue_value_copy_data in -lfvalue... " >&6; } 47277if ${ac_cv_lib_fvalue_libfvalue_value_copy_data+:} false; then : 47278 $as_echo_n "(cached) " >&6 47279else 47280 ac_check_lib_save_LIBS=$LIBS 47281LIBS="-lfvalue $LIBS" 47282cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47283/* end confdefs.h. */ 47284 47285/* Override any GCC internal prototype to avoid an error. 47286 Use char because int might match the return type of a GCC 47287 builtin and then its argument prototype would still apply. */ 47288#ifdef __cplusplus 47289extern "C" 47290#endif 47291char libfvalue_value_copy_data (); 47292int 47293main () 47294{ 47295return libfvalue_value_copy_data (); 47296 ; 47297 return 0; 47298} 47299_ACEOF 47300if ac_fn_c_try_link "$LINENO"; then : 47301 ac_cv_lib_fvalue_libfvalue_value_copy_data=yes 47302else 47303 ac_cv_lib_fvalue_libfvalue_value_copy_data=no 47304fi 47305rm -f core conftest.err conftest.$ac_objext \ 47306 conftest$ac_exeext conftest.$ac_ext 47307LIBS=$ac_check_lib_save_LIBS 47308fi 47309{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_data" >&5 47310$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_data" >&6; } 47311if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_data" = xyes; then : 47312 ac_cv_libfvalue_dummy=yes 47313else 47314 ac_cv_libfvalue=no 47315fi 47316 47317 47318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_get_format_flags in -lfvalue" >&5 47319$as_echo_n "checking for libfvalue_value_get_format_flags in -lfvalue... " >&6; } 47320if ${ac_cv_lib_fvalue_libfvalue_value_get_format_flags+:} false; then : 47321 $as_echo_n "(cached) " >&6 47322else 47323 ac_check_lib_save_LIBS=$LIBS 47324LIBS="-lfvalue $LIBS" 47325cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47326/* end confdefs.h. */ 47327 47328/* Override any GCC internal prototype to avoid an error. 47329 Use char because int might match the return type of a GCC 47330 builtin and then its argument prototype would still apply. */ 47331#ifdef __cplusplus 47332extern "C" 47333#endif 47334char libfvalue_value_get_format_flags (); 47335int 47336main () 47337{ 47338return libfvalue_value_get_format_flags (); 47339 ; 47340 return 0; 47341} 47342_ACEOF 47343if ac_fn_c_try_link "$LINENO"; then : 47344 ac_cv_lib_fvalue_libfvalue_value_get_format_flags=yes 47345else 47346 ac_cv_lib_fvalue_libfvalue_value_get_format_flags=no 47347fi 47348rm -f core conftest.err conftest.$ac_objext \ 47349 conftest$ac_exeext conftest.$ac_ext 47350LIBS=$ac_check_lib_save_LIBS 47351fi 47352{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_get_format_flags" >&5 47353$as_echo "$ac_cv_lib_fvalue_libfvalue_value_get_format_flags" >&6; } 47354if test "x$ac_cv_lib_fvalue_libfvalue_value_get_format_flags" = xyes; then : 47355 ac_cv_libfvalue_dummy=yes 47356else 47357 ac_cv_libfvalue=no 47358fi 47359 47360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_set_format_flags in -lfvalue" >&5 47361$as_echo_n "checking for libfvalue_value_set_format_flags in -lfvalue... " >&6; } 47362if ${ac_cv_lib_fvalue_libfvalue_value_set_format_flags+:} false; then : 47363 $as_echo_n "(cached) " >&6 47364else 47365 ac_check_lib_save_LIBS=$LIBS 47366LIBS="-lfvalue $LIBS" 47367cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47368/* end confdefs.h. */ 47369 47370/* Override any GCC internal prototype to avoid an error. 47371 Use char because int might match the return type of a GCC 47372 builtin and then its argument prototype would still apply. */ 47373#ifdef __cplusplus 47374extern "C" 47375#endif 47376char libfvalue_value_set_format_flags (); 47377int 47378main () 47379{ 47380return libfvalue_value_set_format_flags (); 47381 ; 47382 return 0; 47383} 47384_ACEOF 47385if ac_fn_c_try_link "$LINENO"; then : 47386 ac_cv_lib_fvalue_libfvalue_value_set_format_flags=yes 47387else 47388 ac_cv_lib_fvalue_libfvalue_value_set_format_flags=no 47389fi 47390rm -f core conftest.err conftest.$ac_objext \ 47391 conftest$ac_exeext conftest.$ac_ext 47392LIBS=$ac_check_lib_save_LIBS 47393fi 47394{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_set_format_flags" >&5 47395$as_echo "$ac_cv_lib_fvalue_libfvalue_value_set_format_flags" >&6; } 47396if test "x$ac_cv_lib_fvalue_libfvalue_value_set_format_flags" = xyes; then : 47397 ac_cv_libfvalue_dummy=yes 47398else 47399 ac_cv_libfvalue=no 47400fi 47401 47402 47403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_get_number_of_value_entries in -lfvalue" >&5 47404$as_echo_n "checking for libfvalue_value_get_number_of_value_entries in -lfvalue... " >&6; } 47405if ${ac_cv_lib_fvalue_libfvalue_value_get_number_of_value_entries+:} false; then : 47406 $as_echo_n "(cached) " >&6 47407else 47408 ac_check_lib_save_LIBS=$LIBS 47409LIBS="-lfvalue $LIBS" 47410cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47411/* end confdefs.h. */ 47412 47413/* Override any GCC internal prototype to avoid an error. 47414 Use char because int might match the return type of a GCC 47415 builtin and then its argument prototype would still apply. */ 47416#ifdef __cplusplus 47417extern "C" 47418#endif 47419char libfvalue_value_get_number_of_value_entries (); 47420int 47421main () 47422{ 47423return libfvalue_value_get_number_of_value_entries (); 47424 ; 47425 return 0; 47426} 47427_ACEOF 47428if ac_fn_c_try_link "$LINENO"; then : 47429 ac_cv_lib_fvalue_libfvalue_value_get_number_of_value_entries=yes 47430else 47431 ac_cv_lib_fvalue_libfvalue_value_get_number_of_value_entries=no 47432fi 47433rm -f core conftest.err conftest.$ac_objext \ 47434 conftest$ac_exeext conftest.$ac_ext 47435LIBS=$ac_check_lib_save_LIBS 47436fi 47437{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_get_number_of_value_entries" >&5 47438$as_echo "$ac_cv_lib_fvalue_libfvalue_value_get_number_of_value_entries" >&6; } 47439if test "x$ac_cv_lib_fvalue_libfvalue_value_get_number_of_value_entries" = xyes; then : 47440 ac_cv_libfvalue_dummy=yes 47441else 47442 ac_cv_libfvalue=no 47443fi 47444 47445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_get_value_entry in -lfvalue" >&5 47446$as_echo_n "checking for libfvalue_value_get_value_entry in -lfvalue... " >&6; } 47447if ${ac_cv_lib_fvalue_libfvalue_value_get_value_entry+:} false; then : 47448 $as_echo_n "(cached) " >&6 47449else 47450 ac_check_lib_save_LIBS=$LIBS 47451LIBS="-lfvalue $LIBS" 47452cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47453/* end confdefs.h. */ 47454 47455/* Override any GCC internal prototype to avoid an error. 47456 Use char because int might match the return type of a GCC 47457 builtin and then its argument prototype would still apply. */ 47458#ifdef __cplusplus 47459extern "C" 47460#endif 47461char libfvalue_value_get_value_entry (); 47462int 47463main () 47464{ 47465return libfvalue_value_get_value_entry (); 47466 ; 47467 return 0; 47468} 47469_ACEOF 47470if ac_fn_c_try_link "$LINENO"; then : 47471 ac_cv_lib_fvalue_libfvalue_value_get_value_entry=yes 47472else 47473 ac_cv_lib_fvalue_libfvalue_value_get_value_entry=no 47474fi 47475rm -f core conftest.err conftest.$ac_objext \ 47476 conftest$ac_exeext conftest.$ac_ext 47477LIBS=$ac_check_lib_save_LIBS 47478fi 47479{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_get_value_entry" >&5 47480$as_echo "$ac_cv_lib_fvalue_libfvalue_value_get_value_entry" >&6; } 47481if test "x$ac_cv_lib_fvalue_libfvalue_value_get_value_entry" = xyes; then : 47482 ac_cv_libfvalue_dummy=yes 47483else 47484 ac_cv_libfvalue=no 47485fi 47486 47487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_set_value_entry in -lfvalue" >&5 47488$as_echo_n "checking for libfvalue_value_set_value_entry in -lfvalue... " >&6; } 47489if ${ac_cv_lib_fvalue_libfvalue_value_set_value_entry+:} false; then : 47490 $as_echo_n "(cached) " >&6 47491else 47492 ac_check_lib_save_LIBS=$LIBS 47493LIBS="-lfvalue $LIBS" 47494cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47495/* end confdefs.h. */ 47496 47497/* Override any GCC internal prototype to avoid an error. 47498 Use char because int might match the return type of a GCC 47499 builtin and then its argument prototype would still apply. */ 47500#ifdef __cplusplus 47501extern "C" 47502#endif 47503char libfvalue_value_set_value_entry (); 47504int 47505main () 47506{ 47507return libfvalue_value_set_value_entry (); 47508 ; 47509 return 0; 47510} 47511_ACEOF 47512if ac_fn_c_try_link "$LINENO"; then : 47513 ac_cv_lib_fvalue_libfvalue_value_set_value_entry=yes 47514else 47515 ac_cv_lib_fvalue_libfvalue_value_set_value_entry=no 47516fi 47517rm -f core conftest.err conftest.$ac_objext \ 47518 conftest$ac_exeext conftest.$ac_ext 47519LIBS=$ac_check_lib_save_LIBS 47520fi 47521{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_set_value_entry" >&5 47522$as_echo "$ac_cv_lib_fvalue_libfvalue_value_set_value_entry" >&6; } 47523if test "x$ac_cv_lib_fvalue_libfvalue_value_set_value_entry" = xyes; then : 47524 ac_cv_libfvalue_dummy=yes 47525else 47526 ac_cv_libfvalue=no 47527fi 47528 47529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_append_value_entry in -lfvalue" >&5 47530$as_echo_n "checking for libfvalue_value_append_value_entry in -lfvalue... " >&6; } 47531if ${ac_cv_lib_fvalue_libfvalue_value_append_value_entry+:} false; then : 47532 $as_echo_n "(cached) " >&6 47533else 47534 ac_check_lib_save_LIBS=$LIBS 47535LIBS="-lfvalue $LIBS" 47536cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47537/* end confdefs.h. */ 47538 47539/* Override any GCC internal prototype to avoid an error. 47540 Use char because int might match the return type of a GCC 47541 builtin and then its argument prototype would still apply. */ 47542#ifdef __cplusplus 47543extern "C" 47544#endif 47545char libfvalue_value_append_value_entry (); 47546int 47547main () 47548{ 47549return libfvalue_value_append_value_entry (); 47550 ; 47551 return 0; 47552} 47553_ACEOF 47554if ac_fn_c_try_link "$LINENO"; then : 47555 ac_cv_lib_fvalue_libfvalue_value_append_value_entry=yes 47556else 47557 ac_cv_lib_fvalue_libfvalue_value_append_value_entry=no 47558fi 47559rm -f core conftest.err conftest.$ac_objext \ 47560 conftest$ac_exeext conftest.$ac_ext 47561LIBS=$ac_check_lib_save_LIBS 47562fi 47563{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_append_value_entry" >&5 47564$as_echo "$ac_cv_lib_fvalue_libfvalue_value_append_value_entry" >&6; } 47565if test "x$ac_cv_lib_fvalue_libfvalue_value_append_value_entry" = xyes; then : 47566 ac_cv_libfvalue_dummy=yes 47567else 47568 ac_cv_libfvalue=no 47569fi 47570 47571 47572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_from_boolean in -lfvalue" >&5 47573$as_echo_n "checking for libfvalue_value_copy_from_boolean in -lfvalue... " >&6; } 47574if ${ac_cv_lib_fvalue_libfvalue_value_copy_from_boolean+:} false; then : 47575 $as_echo_n "(cached) " >&6 47576else 47577 ac_check_lib_save_LIBS=$LIBS 47578LIBS="-lfvalue $LIBS" 47579cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47580/* end confdefs.h. */ 47581 47582/* Override any GCC internal prototype to avoid an error. 47583 Use char because int might match the return type of a GCC 47584 builtin and then its argument prototype would still apply. */ 47585#ifdef __cplusplus 47586extern "C" 47587#endif 47588char libfvalue_value_copy_from_boolean (); 47589int 47590main () 47591{ 47592return libfvalue_value_copy_from_boolean (); 47593 ; 47594 return 0; 47595} 47596_ACEOF 47597if ac_fn_c_try_link "$LINENO"; then : 47598 ac_cv_lib_fvalue_libfvalue_value_copy_from_boolean=yes 47599else 47600 ac_cv_lib_fvalue_libfvalue_value_copy_from_boolean=no 47601fi 47602rm -f core conftest.err conftest.$ac_objext \ 47603 conftest$ac_exeext conftest.$ac_ext 47604LIBS=$ac_check_lib_save_LIBS 47605fi 47606{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_from_boolean" >&5 47607$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_from_boolean" >&6; } 47608if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_from_boolean" = xyes; then : 47609 ac_cv_libfvalue_dummy=yes 47610else 47611 ac_cv_libfvalue=no 47612fi 47613 47614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_to_boolean in -lfvalue" >&5 47615$as_echo_n "checking for libfvalue_value_copy_to_boolean in -lfvalue... " >&6; } 47616if ${ac_cv_lib_fvalue_libfvalue_value_copy_to_boolean+:} false; then : 47617 $as_echo_n "(cached) " >&6 47618else 47619 ac_check_lib_save_LIBS=$LIBS 47620LIBS="-lfvalue $LIBS" 47621cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47622/* end confdefs.h. */ 47623 47624/* Override any GCC internal prototype to avoid an error. 47625 Use char because int might match the return type of a GCC 47626 builtin and then its argument prototype would still apply. */ 47627#ifdef __cplusplus 47628extern "C" 47629#endif 47630char libfvalue_value_copy_to_boolean (); 47631int 47632main () 47633{ 47634return libfvalue_value_copy_to_boolean (); 47635 ; 47636 return 0; 47637} 47638_ACEOF 47639if ac_fn_c_try_link "$LINENO"; then : 47640 ac_cv_lib_fvalue_libfvalue_value_copy_to_boolean=yes 47641else 47642 ac_cv_lib_fvalue_libfvalue_value_copy_to_boolean=no 47643fi 47644rm -f core conftest.err conftest.$ac_objext \ 47645 conftest$ac_exeext conftest.$ac_ext 47646LIBS=$ac_check_lib_save_LIBS 47647fi 47648{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_to_boolean" >&5 47649$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_to_boolean" >&6; } 47650if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_to_boolean" = xyes; then : 47651 ac_cv_libfvalue_dummy=yes 47652else 47653 ac_cv_libfvalue=no 47654fi 47655 47656 47657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_from_8bit in -lfvalue" >&5 47658$as_echo_n "checking for libfvalue_value_copy_from_8bit in -lfvalue... " >&6; } 47659if ${ac_cv_lib_fvalue_libfvalue_value_copy_from_8bit+:} false; then : 47660 $as_echo_n "(cached) " >&6 47661else 47662 ac_check_lib_save_LIBS=$LIBS 47663LIBS="-lfvalue $LIBS" 47664cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47665/* end confdefs.h. */ 47666 47667/* Override any GCC internal prototype to avoid an error. 47668 Use char because int might match the return type of a GCC 47669 builtin and then its argument prototype would still apply. */ 47670#ifdef __cplusplus 47671extern "C" 47672#endif 47673char libfvalue_value_copy_from_8bit (); 47674int 47675main () 47676{ 47677return libfvalue_value_copy_from_8bit (); 47678 ; 47679 return 0; 47680} 47681_ACEOF 47682if ac_fn_c_try_link "$LINENO"; then : 47683 ac_cv_lib_fvalue_libfvalue_value_copy_from_8bit=yes 47684else 47685 ac_cv_lib_fvalue_libfvalue_value_copy_from_8bit=no 47686fi 47687rm -f core conftest.err conftest.$ac_objext \ 47688 conftest$ac_exeext conftest.$ac_ext 47689LIBS=$ac_check_lib_save_LIBS 47690fi 47691{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_from_8bit" >&5 47692$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_from_8bit" >&6; } 47693if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_from_8bit" = xyes; then : 47694 ac_cv_libfvalue_dummy=yes 47695else 47696 ac_cv_libfvalue=no 47697fi 47698 47699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_to_8bit in -lfvalue" >&5 47700$as_echo_n "checking for libfvalue_value_copy_to_8bit in -lfvalue... " >&6; } 47701if ${ac_cv_lib_fvalue_libfvalue_value_copy_to_8bit+:} false; then : 47702 $as_echo_n "(cached) " >&6 47703else 47704 ac_check_lib_save_LIBS=$LIBS 47705LIBS="-lfvalue $LIBS" 47706cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47707/* end confdefs.h. */ 47708 47709/* Override any GCC internal prototype to avoid an error. 47710 Use char because int might match the return type of a GCC 47711 builtin and then its argument prototype would still apply. */ 47712#ifdef __cplusplus 47713extern "C" 47714#endif 47715char libfvalue_value_copy_to_8bit (); 47716int 47717main () 47718{ 47719return libfvalue_value_copy_to_8bit (); 47720 ; 47721 return 0; 47722} 47723_ACEOF 47724if ac_fn_c_try_link "$LINENO"; then : 47725 ac_cv_lib_fvalue_libfvalue_value_copy_to_8bit=yes 47726else 47727 ac_cv_lib_fvalue_libfvalue_value_copy_to_8bit=no 47728fi 47729rm -f core conftest.err conftest.$ac_objext \ 47730 conftest$ac_exeext conftest.$ac_ext 47731LIBS=$ac_check_lib_save_LIBS 47732fi 47733{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_to_8bit" >&5 47734$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_to_8bit" >&6; } 47735if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_to_8bit" = xyes; then : 47736 ac_cv_libfvalue_dummy=yes 47737else 47738 ac_cv_libfvalue=no 47739fi 47740 47741 47742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_from_16bit in -lfvalue" >&5 47743$as_echo_n "checking for libfvalue_value_copy_from_16bit in -lfvalue... " >&6; } 47744if ${ac_cv_lib_fvalue_libfvalue_value_copy_from_16bit+:} false; then : 47745 $as_echo_n "(cached) " >&6 47746else 47747 ac_check_lib_save_LIBS=$LIBS 47748LIBS="-lfvalue $LIBS" 47749cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47750/* end confdefs.h. */ 47751 47752/* Override any GCC internal prototype to avoid an error. 47753 Use char because int might match the return type of a GCC 47754 builtin and then its argument prototype would still apply. */ 47755#ifdef __cplusplus 47756extern "C" 47757#endif 47758char libfvalue_value_copy_from_16bit (); 47759int 47760main () 47761{ 47762return libfvalue_value_copy_from_16bit (); 47763 ; 47764 return 0; 47765} 47766_ACEOF 47767if ac_fn_c_try_link "$LINENO"; then : 47768 ac_cv_lib_fvalue_libfvalue_value_copy_from_16bit=yes 47769else 47770 ac_cv_lib_fvalue_libfvalue_value_copy_from_16bit=no 47771fi 47772rm -f core conftest.err conftest.$ac_objext \ 47773 conftest$ac_exeext conftest.$ac_ext 47774LIBS=$ac_check_lib_save_LIBS 47775fi 47776{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_from_16bit" >&5 47777$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_from_16bit" >&6; } 47778if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_from_16bit" = xyes; then : 47779 ac_cv_libfvalue_dummy=yes 47780else 47781 ac_cv_libfvalue=no 47782fi 47783 47784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_to_16bit in -lfvalue" >&5 47785$as_echo_n "checking for libfvalue_value_copy_to_16bit in -lfvalue... " >&6; } 47786if ${ac_cv_lib_fvalue_libfvalue_value_copy_to_16bit+:} false; then : 47787 $as_echo_n "(cached) " >&6 47788else 47789 ac_check_lib_save_LIBS=$LIBS 47790LIBS="-lfvalue $LIBS" 47791cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47792/* end confdefs.h. */ 47793 47794/* Override any GCC internal prototype to avoid an error. 47795 Use char because int might match the return type of a GCC 47796 builtin and then its argument prototype would still apply. */ 47797#ifdef __cplusplus 47798extern "C" 47799#endif 47800char libfvalue_value_copy_to_16bit (); 47801int 47802main () 47803{ 47804return libfvalue_value_copy_to_16bit (); 47805 ; 47806 return 0; 47807} 47808_ACEOF 47809if ac_fn_c_try_link "$LINENO"; then : 47810 ac_cv_lib_fvalue_libfvalue_value_copy_to_16bit=yes 47811else 47812 ac_cv_lib_fvalue_libfvalue_value_copy_to_16bit=no 47813fi 47814rm -f core conftest.err conftest.$ac_objext \ 47815 conftest$ac_exeext conftest.$ac_ext 47816LIBS=$ac_check_lib_save_LIBS 47817fi 47818{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_to_16bit" >&5 47819$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_to_16bit" >&6; } 47820if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_to_16bit" = xyes; then : 47821 ac_cv_libfvalue_dummy=yes 47822else 47823 ac_cv_libfvalue=no 47824fi 47825 47826 47827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_from_32bit in -lfvalue" >&5 47828$as_echo_n "checking for libfvalue_value_copy_from_32bit in -lfvalue... " >&6; } 47829if ${ac_cv_lib_fvalue_libfvalue_value_copy_from_32bit+:} false; then : 47830 $as_echo_n "(cached) " >&6 47831else 47832 ac_check_lib_save_LIBS=$LIBS 47833LIBS="-lfvalue $LIBS" 47834cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47835/* end confdefs.h. */ 47836 47837/* Override any GCC internal prototype to avoid an error. 47838 Use char because int might match the return type of a GCC 47839 builtin and then its argument prototype would still apply. */ 47840#ifdef __cplusplus 47841extern "C" 47842#endif 47843char libfvalue_value_copy_from_32bit (); 47844int 47845main () 47846{ 47847return libfvalue_value_copy_from_32bit (); 47848 ; 47849 return 0; 47850} 47851_ACEOF 47852if ac_fn_c_try_link "$LINENO"; then : 47853 ac_cv_lib_fvalue_libfvalue_value_copy_from_32bit=yes 47854else 47855 ac_cv_lib_fvalue_libfvalue_value_copy_from_32bit=no 47856fi 47857rm -f core conftest.err conftest.$ac_objext \ 47858 conftest$ac_exeext conftest.$ac_ext 47859LIBS=$ac_check_lib_save_LIBS 47860fi 47861{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_from_32bit" >&5 47862$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_from_32bit" >&6; } 47863if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_from_32bit" = xyes; then : 47864 ac_cv_libfvalue_dummy=yes 47865else 47866 ac_cv_libfvalue=no 47867fi 47868 47869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_to_32bit in -lfvalue" >&5 47870$as_echo_n "checking for libfvalue_value_copy_to_32bit in -lfvalue... " >&6; } 47871if ${ac_cv_lib_fvalue_libfvalue_value_copy_to_32bit+:} false; then : 47872 $as_echo_n "(cached) " >&6 47873else 47874 ac_check_lib_save_LIBS=$LIBS 47875LIBS="-lfvalue $LIBS" 47876cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47877/* end confdefs.h. */ 47878 47879/* Override any GCC internal prototype to avoid an error. 47880 Use char because int might match the return type of a GCC 47881 builtin and then its argument prototype would still apply. */ 47882#ifdef __cplusplus 47883extern "C" 47884#endif 47885char libfvalue_value_copy_to_32bit (); 47886int 47887main () 47888{ 47889return libfvalue_value_copy_to_32bit (); 47890 ; 47891 return 0; 47892} 47893_ACEOF 47894if ac_fn_c_try_link "$LINENO"; then : 47895 ac_cv_lib_fvalue_libfvalue_value_copy_to_32bit=yes 47896else 47897 ac_cv_lib_fvalue_libfvalue_value_copy_to_32bit=no 47898fi 47899rm -f core conftest.err conftest.$ac_objext \ 47900 conftest$ac_exeext conftest.$ac_ext 47901LIBS=$ac_check_lib_save_LIBS 47902fi 47903{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_to_32bit" >&5 47904$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_to_32bit" >&6; } 47905if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_to_32bit" = xyes; then : 47906 ac_cv_libfvalue_dummy=yes 47907else 47908 ac_cv_libfvalue=no 47909fi 47910 47911 47912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_from_64bit in -lfvalue" >&5 47913$as_echo_n "checking for libfvalue_value_copy_from_64bit in -lfvalue... " >&6; } 47914if ${ac_cv_lib_fvalue_libfvalue_value_copy_from_64bit+:} false; then : 47915 $as_echo_n "(cached) " >&6 47916else 47917 ac_check_lib_save_LIBS=$LIBS 47918LIBS="-lfvalue $LIBS" 47919cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47920/* end confdefs.h. */ 47921 47922/* Override any GCC internal prototype to avoid an error. 47923 Use char because int might match the return type of a GCC 47924 builtin and then its argument prototype would still apply. */ 47925#ifdef __cplusplus 47926extern "C" 47927#endif 47928char libfvalue_value_copy_from_64bit (); 47929int 47930main () 47931{ 47932return libfvalue_value_copy_from_64bit (); 47933 ; 47934 return 0; 47935} 47936_ACEOF 47937if ac_fn_c_try_link "$LINENO"; then : 47938 ac_cv_lib_fvalue_libfvalue_value_copy_from_64bit=yes 47939else 47940 ac_cv_lib_fvalue_libfvalue_value_copy_from_64bit=no 47941fi 47942rm -f core conftest.err conftest.$ac_objext \ 47943 conftest$ac_exeext conftest.$ac_ext 47944LIBS=$ac_check_lib_save_LIBS 47945fi 47946{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_from_64bit" >&5 47947$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_from_64bit" >&6; } 47948if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_from_64bit" = xyes; then : 47949 ac_cv_libfvalue_dummy=yes 47950else 47951 ac_cv_libfvalue=no 47952fi 47953 47954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_to_64bit in -lfvalue" >&5 47955$as_echo_n "checking for libfvalue_value_copy_to_64bit in -lfvalue... " >&6; } 47956if ${ac_cv_lib_fvalue_libfvalue_value_copy_to_64bit+:} false; then : 47957 $as_echo_n "(cached) " >&6 47958else 47959 ac_check_lib_save_LIBS=$LIBS 47960LIBS="-lfvalue $LIBS" 47961cat confdefs.h - <<_ACEOF >conftest.$ac_ext 47962/* end confdefs.h. */ 47963 47964/* Override any GCC internal prototype to avoid an error. 47965 Use char because int might match the return type of a GCC 47966 builtin and then its argument prototype would still apply. */ 47967#ifdef __cplusplus 47968extern "C" 47969#endif 47970char libfvalue_value_copy_to_64bit (); 47971int 47972main () 47973{ 47974return libfvalue_value_copy_to_64bit (); 47975 ; 47976 return 0; 47977} 47978_ACEOF 47979if ac_fn_c_try_link "$LINENO"; then : 47980 ac_cv_lib_fvalue_libfvalue_value_copy_to_64bit=yes 47981else 47982 ac_cv_lib_fvalue_libfvalue_value_copy_to_64bit=no 47983fi 47984rm -f core conftest.err conftest.$ac_objext \ 47985 conftest$ac_exeext conftest.$ac_ext 47986LIBS=$ac_check_lib_save_LIBS 47987fi 47988{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_to_64bit" >&5 47989$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_to_64bit" >&6; } 47990if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_to_64bit" = xyes; then : 47991 ac_cv_libfvalue_dummy=yes 47992else 47993 ac_cv_libfvalue=no 47994fi 47995 47996 47997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_from_float in -lfvalue" >&5 47998$as_echo_n "checking for libfvalue_value_copy_from_float in -lfvalue... " >&6; } 47999if ${ac_cv_lib_fvalue_libfvalue_value_copy_from_float+:} false; then : 48000 $as_echo_n "(cached) " >&6 48001else 48002 ac_check_lib_save_LIBS=$LIBS 48003LIBS="-lfvalue $LIBS" 48004cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48005/* end confdefs.h. */ 48006 48007/* Override any GCC internal prototype to avoid an error. 48008 Use char because int might match the return type of a GCC 48009 builtin and then its argument prototype would still apply. */ 48010#ifdef __cplusplus 48011extern "C" 48012#endif 48013char libfvalue_value_copy_from_float (); 48014int 48015main () 48016{ 48017return libfvalue_value_copy_from_float (); 48018 ; 48019 return 0; 48020} 48021_ACEOF 48022if ac_fn_c_try_link "$LINENO"; then : 48023 ac_cv_lib_fvalue_libfvalue_value_copy_from_float=yes 48024else 48025 ac_cv_lib_fvalue_libfvalue_value_copy_from_float=no 48026fi 48027rm -f core conftest.err conftest.$ac_objext \ 48028 conftest$ac_exeext conftest.$ac_ext 48029LIBS=$ac_check_lib_save_LIBS 48030fi 48031{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_from_float" >&5 48032$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_from_float" >&6; } 48033if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_from_float" = xyes; then : 48034 ac_cv_libfvalue_dummy=yes 48035else 48036 ac_cv_libfvalue=no 48037fi 48038 48039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_to_float in -lfvalue" >&5 48040$as_echo_n "checking for libfvalue_value_copy_to_float in -lfvalue... " >&6; } 48041if ${ac_cv_lib_fvalue_libfvalue_value_copy_to_float+:} false; then : 48042 $as_echo_n "(cached) " >&6 48043else 48044 ac_check_lib_save_LIBS=$LIBS 48045LIBS="-lfvalue $LIBS" 48046cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48047/* end confdefs.h. */ 48048 48049/* Override any GCC internal prototype to avoid an error. 48050 Use char because int might match the return type of a GCC 48051 builtin and then its argument prototype would still apply. */ 48052#ifdef __cplusplus 48053extern "C" 48054#endif 48055char libfvalue_value_copy_to_float (); 48056int 48057main () 48058{ 48059return libfvalue_value_copy_to_float (); 48060 ; 48061 return 0; 48062} 48063_ACEOF 48064if ac_fn_c_try_link "$LINENO"; then : 48065 ac_cv_lib_fvalue_libfvalue_value_copy_to_float=yes 48066else 48067 ac_cv_lib_fvalue_libfvalue_value_copy_to_float=no 48068fi 48069rm -f core conftest.err conftest.$ac_objext \ 48070 conftest$ac_exeext conftest.$ac_ext 48071LIBS=$ac_check_lib_save_LIBS 48072fi 48073{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_to_float" >&5 48074$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_to_float" >&6; } 48075if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_to_float" = xyes; then : 48076 ac_cv_libfvalue_dummy=yes 48077else 48078 ac_cv_libfvalue=no 48079fi 48080 48081 48082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_from_double in -lfvalue" >&5 48083$as_echo_n "checking for libfvalue_value_copy_from_double in -lfvalue... " >&6; } 48084if ${ac_cv_lib_fvalue_libfvalue_value_copy_from_double+:} false; then : 48085 $as_echo_n "(cached) " >&6 48086else 48087 ac_check_lib_save_LIBS=$LIBS 48088LIBS="-lfvalue $LIBS" 48089cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48090/* end confdefs.h. */ 48091 48092/* Override any GCC internal prototype to avoid an error. 48093 Use char because int might match the return type of a GCC 48094 builtin and then its argument prototype would still apply. */ 48095#ifdef __cplusplus 48096extern "C" 48097#endif 48098char libfvalue_value_copy_from_double (); 48099int 48100main () 48101{ 48102return libfvalue_value_copy_from_double (); 48103 ; 48104 return 0; 48105} 48106_ACEOF 48107if ac_fn_c_try_link "$LINENO"; then : 48108 ac_cv_lib_fvalue_libfvalue_value_copy_from_double=yes 48109else 48110 ac_cv_lib_fvalue_libfvalue_value_copy_from_double=no 48111fi 48112rm -f core conftest.err conftest.$ac_objext \ 48113 conftest$ac_exeext conftest.$ac_ext 48114LIBS=$ac_check_lib_save_LIBS 48115fi 48116{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_from_double" >&5 48117$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_from_double" >&6; } 48118if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_from_double" = xyes; then : 48119 ac_cv_libfvalue_dummy=yes 48120else 48121 ac_cv_libfvalue=no 48122fi 48123 48124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_to_double in -lfvalue" >&5 48125$as_echo_n "checking for libfvalue_value_copy_to_double in -lfvalue... " >&6; } 48126if ${ac_cv_lib_fvalue_libfvalue_value_copy_to_double+:} false; then : 48127 $as_echo_n "(cached) " >&6 48128else 48129 ac_check_lib_save_LIBS=$LIBS 48130LIBS="-lfvalue $LIBS" 48131cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48132/* end confdefs.h. */ 48133 48134/* Override any GCC internal prototype to avoid an error. 48135 Use char because int might match the return type of a GCC 48136 builtin and then its argument prototype would still apply. */ 48137#ifdef __cplusplus 48138extern "C" 48139#endif 48140char libfvalue_value_copy_to_double (); 48141int 48142main () 48143{ 48144return libfvalue_value_copy_to_double (); 48145 ; 48146 return 0; 48147} 48148_ACEOF 48149if ac_fn_c_try_link "$LINENO"; then : 48150 ac_cv_lib_fvalue_libfvalue_value_copy_to_double=yes 48151else 48152 ac_cv_lib_fvalue_libfvalue_value_copy_to_double=no 48153fi 48154rm -f core conftest.err conftest.$ac_objext \ 48155 conftest$ac_exeext conftest.$ac_ext 48156LIBS=$ac_check_lib_save_LIBS 48157fi 48158{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_to_double" >&5 48159$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_to_double" >&6; } 48160if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_to_double" = xyes; then : 48161 ac_cv_libfvalue_dummy=yes 48162else 48163 ac_cv_libfvalue=no 48164fi 48165 48166 48167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_from_utf8_string in -lfvalue" >&5 48168$as_echo_n "checking for libfvalue_value_copy_from_utf8_string in -lfvalue... " >&6; } 48169if ${ac_cv_lib_fvalue_libfvalue_value_copy_from_utf8_string+:} false; then : 48170 $as_echo_n "(cached) " >&6 48171else 48172 ac_check_lib_save_LIBS=$LIBS 48173LIBS="-lfvalue $LIBS" 48174cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48175/* end confdefs.h. */ 48176 48177/* Override any GCC internal prototype to avoid an error. 48178 Use char because int might match the return type of a GCC 48179 builtin and then its argument prototype would still apply. */ 48180#ifdef __cplusplus 48181extern "C" 48182#endif 48183char libfvalue_value_copy_from_utf8_string (); 48184int 48185main () 48186{ 48187return libfvalue_value_copy_from_utf8_string (); 48188 ; 48189 return 0; 48190} 48191_ACEOF 48192if ac_fn_c_try_link "$LINENO"; then : 48193 ac_cv_lib_fvalue_libfvalue_value_copy_from_utf8_string=yes 48194else 48195 ac_cv_lib_fvalue_libfvalue_value_copy_from_utf8_string=no 48196fi 48197rm -f core conftest.err conftest.$ac_objext \ 48198 conftest$ac_exeext conftest.$ac_ext 48199LIBS=$ac_check_lib_save_LIBS 48200fi 48201{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_from_utf8_string" >&5 48202$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_from_utf8_string" >&6; } 48203if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_from_utf8_string" = xyes; then : 48204 ac_cv_libfvalue_dummy=yes 48205else 48206 ac_cv_libfvalue=no 48207fi 48208 48209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_get_utf8_string_size in -lfvalue" >&5 48210$as_echo_n "checking for libfvalue_value_get_utf8_string_size in -lfvalue... " >&6; } 48211if ${ac_cv_lib_fvalue_libfvalue_value_get_utf8_string_size+:} false; then : 48212 $as_echo_n "(cached) " >&6 48213else 48214 ac_check_lib_save_LIBS=$LIBS 48215LIBS="-lfvalue $LIBS" 48216cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48217/* end confdefs.h. */ 48218 48219/* Override any GCC internal prototype to avoid an error. 48220 Use char because int might match the return type of a GCC 48221 builtin and then its argument prototype would still apply. */ 48222#ifdef __cplusplus 48223extern "C" 48224#endif 48225char libfvalue_value_get_utf8_string_size (); 48226int 48227main () 48228{ 48229return libfvalue_value_get_utf8_string_size (); 48230 ; 48231 return 0; 48232} 48233_ACEOF 48234if ac_fn_c_try_link "$LINENO"; then : 48235 ac_cv_lib_fvalue_libfvalue_value_get_utf8_string_size=yes 48236else 48237 ac_cv_lib_fvalue_libfvalue_value_get_utf8_string_size=no 48238fi 48239rm -f core conftest.err conftest.$ac_objext \ 48240 conftest$ac_exeext conftest.$ac_ext 48241LIBS=$ac_check_lib_save_LIBS 48242fi 48243{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_get_utf8_string_size" >&5 48244$as_echo "$ac_cv_lib_fvalue_libfvalue_value_get_utf8_string_size" >&6; } 48245if test "x$ac_cv_lib_fvalue_libfvalue_value_get_utf8_string_size" = xyes; then : 48246 ac_cv_libfvalue_dummy=yes 48247else 48248 ac_cv_libfvalue=no 48249fi 48250 48251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_to_utf8_string in -lfvalue" >&5 48252$as_echo_n "checking for libfvalue_value_copy_to_utf8_string in -lfvalue... " >&6; } 48253if ${ac_cv_lib_fvalue_libfvalue_value_copy_to_utf8_string+:} false; then : 48254 $as_echo_n "(cached) " >&6 48255else 48256 ac_check_lib_save_LIBS=$LIBS 48257LIBS="-lfvalue $LIBS" 48258cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48259/* end confdefs.h. */ 48260 48261/* Override any GCC internal prototype to avoid an error. 48262 Use char because int might match the return type of a GCC 48263 builtin and then its argument prototype would still apply. */ 48264#ifdef __cplusplus 48265extern "C" 48266#endif 48267char libfvalue_value_copy_to_utf8_string (); 48268int 48269main () 48270{ 48271return libfvalue_value_copy_to_utf8_string (); 48272 ; 48273 return 0; 48274} 48275_ACEOF 48276if ac_fn_c_try_link "$LINENO"; then : 48277 ac_cv_lib_fvalue_libfvalue_value_copy_to_utf8_string=yes 48278else 48279 ac_cv_lib_fvalue_libfvalue_value_copy_to_utf8_string=no 48280fi 48281rm -f core conftest.err conftest.$ac_objext \ 48282 conftest$ac_exeext conftest.$ac_ext 48283LIBS=$ac_check_lib_save_LIBS 48284fi 48285{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_to_utf8_string" >&5 48286$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_to_utf8_string" >&6; } 48287if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_to_utf8_string" = xyes; then : 48288 ac_cv_libfvalue_dummy=yes 48289else 48290 ac_cv_libfvalue=no 48291fi 48292 48293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_to_utf8_string_with_index in -lfvalue" >&5 48294$as_echo_n "checking for libfvalue_value_copy_to_utf8_string_with_index in -lfvalue... " >&6; } 48295if ${ac_cv_lib_fvalue_libfvalue_value_copy_to_utf8_string_with_index+:} false; then : 48296 $as_echo_n "(cached) " >&6 48297else 48298 ac_check_lib_save_LIBS=$LIBS 48299LIBS="-lfvalue $LIBS" 48300cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48301/* end confdefs.h. */ 48302 48303/* Override any GCC internal prototype to avoid an error. 48304 Use char because int might match the return type of a GCC 48305 builtin and then its argument prototype would still apply. */ 48306#ifdef __cplusplus 48307extern "C" 48308#endif 48309char libfvalue_value_copy_to_utf8_string_with_index (); 48310int 48311main () 48312{ 48313return libfvalue_value_copy_to_utf8_string_with_index (); 48314 ; 48315 return 0; 48316} 48317_ACEOF 48318if ac_fn_c_try_link "$LINENO"; then : 48319 ac_cv_lib_fvalue_libfvalue_value_copy_to_utf8_string_with_index=yes 48320else 48321 ac_cv_lib_fvalue_libfvalue_value_copy_to_utf8_string_with_index=no 48322fi 48323rm -f core conftest.err conftest.$ac_objext \ 48324 conftest$ac_exeext conftest.$ac_ext 48325LIBS=$ac_check_lib_save_LIBS 48326fi 48327{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_to_utf8_string_with_index" >&5 48328$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_to_utf8_string_with_index" >&6; } 48329if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_to_utf8_string_with_index" = xyes; then : 48330 ac_cv_libfvalue_dummy=yes 48331else 48332 ac_cv_libfvalue=no 48333fi 48334 48335 48336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_from_utf16_string in -lfvalue" >&5 48337$as_echo_n "checking for libfvalue_value_copy_from_utf16_string in -lfvalue... " >&6; } 48338if ${ac_cv_lib_fvalue_libfvalue_value_copy_from_utf16_string+:} false; then : 48339 $as_echo_n "(cached) " >&6 48340else 48341 ac_check_lib_save_LIBS=$LIBS 48342LIBS="-lfvalue $LIBS" 48343cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48344/* end confdefs.h. */ 48345 48346/* Override any GCC internal prototype to avoid an error. 48347 Use char because int might match the return type of a GCC 48348 builtin and then its argument prototype would still apply. */ 48349#ifdef __cplusplus 48350extern "C" 48351#endif 48352char libfvalue_value_copy_from_utf16_string (); 48353int 48354main () 48355{ 48356return libfvalue_value_copy_from_utf16_string (); 48357 ; 48358 return 0; 48359} 48360_ACEOF 48361if ac_fn_c_try_link "$LINENO"; then : 48362 ac_cv_lib_fvalue_libfvalue_value_copy_from_utf16_string=yes 48363else 48364 ac_cv_lib_fvalue_libfvalue_value_copy_from_utf16_string=no 48365fi 48366rm -f core conftest.err conftest.$ac_objext \ 48367 conftest$ac_exeext conftest.$ac_ext 48368LIBS=$ac_check_lib_save_LIBS 48369fi 48370{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_from_utf16_string" >&5 48371$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_from_utf16_string" >&6; } 48372if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_from_utf16_string" = xyes; then : 48373 ac_cv_libfvalue_dummy=yes 48374else 48375 ac_cv_libfvalue=no 48376fi 48377 48378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_get_utf16_string_size in -lfvalue" >&5 48379$as_echo_n "checking for libfvalue_value_get_utf16_string_size in -lfvalue... " >&6; } 48380if ${ac_cv_lib_fvalue_libfvalue_value_get_utf16_string_size+:} false; then : 48381 $as_echo_n "(cached) " >&6 48382else 48383 ac_check_lib_save_LIBS=$LIBS 48384LIBS="-lfvalue $LIBS" 48385cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48386/* end confdefs.h. */ 48387 48388/* Override any GCC internal prototype to avoid an error. 48389 Use char because int might match the return type of a GCC 48390 builtin and then its argument prototype would still apply. */ 48391#ifdef __cplusplus 48392extern "C" 48393#endif 48394char libfvalue_value_get_utf16_string_size (); 48395int 48396main () 48397{ 48398return libfvalue_value_get_utf16_string_size (); 48399 ; 48400 return 0; 48401} 48402_ACEOF 48403if ac_fn_c_try_link "$LINENO"; then : 48404 ac_cv_lib_fvalue_libfvalue_value_get_utf16_string_size=yes 48405else 48406 ac_cv_lib_fvalue_libfvalue_value_get_utf16_string_size=no 48407fi 48408rm -f core conftest.err conftest.$ac_objext \ 48409 conftest$ac_exeext conftest.$ac_ext 48410LIBS=$ac_check_lib_save_LIBS 48411fi 48412{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_get_utf16_string_size" >&5 48413$as_echo "$ac_cv_lib_fvalue_libfvalue_value_get_utf16_string_size" >&6; } 48414if test "x$ac_cv_lib_fvalue_libfvalue_value_get_utf16_string_size" = xyes; then : 48415 ac_cv_libfvalue_dummy=yes 48416else 48417 ac_cv_libfvalue=no 48418fi 48419 48420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_to_utf16_string in -lfvalue" >&5 48421$as_echo_n "checking for libfvalue_value_copy_to_utf16_string in -lfvalue... " >&6; } 48422if ${ac_cv_lib_fvalue_libfvalue_value_copy_to_utf16_string+:} false; then : 48423 $as_echo_n "(cached) " >&6 48424else 48425 ac_check_lib_save_LIBS=$LIBS 48426LIBS="-lfvalue $LIBS" 48427cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48428/* end confdefs.h. */ 48429 48430/* Override any GCC internal prototype to avoid an error. 48431 Use char because int might match the return type of a GCC 48432 builtin and then its argument prototype would still apply. */ 48433#ifdef __cplusplus 48434extern "C" 48435#endif 48436char libfvalue_value_copy_to_utf16_string (); 48437int 48438main () 48439{ 48440return libfvalue_value_copy_to_utf16_string (); 48441 ; 48442 return 0; 48443} 48444_ACEOF 48445if ac_fn_c_try_link "$LINENO"; then : 48446 ac_cv_lib_fvalue_libfvalue_value_copy_to_utf16_string=yes 48447else 48448 ac_cv_lib_fvalue_libfvalue_value_copy_to_utf16_string=no 48449fi 48450rm -f core conftest.err conftest.$ac_objext \ 48451 conftest$ac_exeext conftest.$ac_ext 48452LIBS=$ac_check_lib_save_LIBS 48453fi 48454{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_to_utf16_string" >&5 48455$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_to_utf16_string" >&6; } 48456if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_to_utf16_string" = xyes; then : 48457 ac_cv_libfvalue_dummy=yes 48458else 48459 ac_cv_libfvalue=no 48460fi 48461 48462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_to_utf16_string_with_index in -lfvalue" >&5 48463$as_echo_n "checking for libfvalue_value_copy_to_utf16_string_with_index in -lfvalue... " >&6; } 48464if ${ac_cv_lib_fvalue_libfvalue_value_copy_to_utf16_string_with_index+:} false; then : 48465 $as_echo_n "(cached) " >&6 48466else 48467 ac_check_lib_save_LIBS=$LIBS 48468LIBS="-lfvalue $LIBS" 48469cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48470/* end confdefs.h. */ 48471 48472/* Override any GCC internal prototype to avoid an error. 48473 Use char because int might match the return type of a GCC 48474 builtin and then its argument prototype would still apply. */ 48475#ifdef __cplusplus 48476extern "C" 48477#endif 48478char libfvalue_value_copy_to_utf16_string_with_index (); 48479int 48480main () 48481{ 48482return libfvalue_value_copy_to_utf16_string_with_index (); 48483 ; 48484 return 0; 48485} 48486_ACEOF 48487if ac_fn_c_try_link "$LINENO"; then : 48488 ac_cv_lib_fvalue_libfvalue_value_copy_to_utf16_string_with_index=yes 48489else 48490 ac_cv_lib_fvalue_libfvalue_value_copy_to_utf16_string_with_index=no 48491fi 48492rm -f core conftest.err conftest.$ac_objext \ 48493 conftest$ac_exeext conftest.$ac_ext 48494LIBS=$ac_check_lib_save_LIBS 48495fi 48496{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_to_utf16_string_with_index" >&5 48497$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_to_utf16_string_with_index" >&6; } 48498if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_to_utf16_string_with_index" = xyes; then : 48499 ac_cv_libfvalue_dummy=yes 48500else 48501 ac_cv_libfvalue=no 48502fi 48503 48504 48505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_from_utf32_string in -lfvalue" >&5 48506$as_echo_n "checking for libfvalue_value_copy_from_utf32_string in -lfvalue... " >&6; } 48507if ${ac_cv_lib_fvalue_libfvalue_value_copy_from_utf32_string+:} false; then : 48508 $as_echo_n "(cached) " >&6 48509else 48510 ac_check_lib_save_LIBS=$LIBS 48511LIBS="-lfvalue $LIBS" 48512cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48513/* end confdefs.h. */ 48514 48515/* Override any GCC internal prototype to avoid an error. 48516 Use char because int might match the return type of a GCC 48517 builtin and then its argument prototype would still apply. */ 48518#ifdef __cplusplus 48519extern "C" 48520#endif 48521char libfvalue_value_copy_from_utf32_string (); 48522int 48523main () 48524{ 48525return libfvalue_value_copy_from_utf32_string (); 48526 ; 48527 return 0; 48528} 48529_ACEOF 48530if ac_fn_c_try_link "$LINENO"; then : 48531 ac_cv_lib_fvalue_libfvalue_value_copy_from_utf32_string=yes 48532else 48533 ac_cv_lib_fvalue_libfvalue_value_copy_from_utf32_string=no 48534fi 48535rm -f core conftest.err conftest.$ac_objext \ 48536 conftest$ac_exeext conftest.$ac_ext 48537LIBS=$ac_check_lib_save_LIBS 48538fi 48539{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_from_utf32_string" >&5 48540$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_from_utf32_string" >&6; } 48541if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_from_utf32_string" = xyes; then : 48542 ac_cv_libfvalue_dummy=yes 48543else 48544 ac_cv_libfvalue=no 48545fi 48546 48547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_get_utf32_string_size in -lfvalue" >&5 48548$as_echo_n "checking for libfvalue_value_get_utf32_string_size in -lfvalue... " >&6; } 48549if ${ac_cv_lib_fvalue_libfvalue_value_get_utf32_string_size+:} false; then : 48550 $as_echo_n "(cached) " >&6 48551else 48552 ac_check_lib_save_LIBS=$LIBS 48553LIBS="-lfvalue $LIBS" 48554cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48555/* end confdefs.h. */ 48556 48557/* Override any GCC internal prototype to avoid an error. 48558 Use char because int might match the return type of a GCC 48559 builtin and then its argument prototype would still apply. */ 48560#ifdef __cplusplus 48561extern "C" 48562#endif 48563char libfvalue_value_get_utf32_string_size (); 48564int 48565main () 48566{ 48567return libfvalue_value_get_utf32_string_size (); 48568 ; 48569 return 0; 48570} 48571_ACEOF 48572if ac_fn_c_try_link "$LINENO"; then : 48573 ac_cv_lib_fvalue_libfvalue_value_get_utf32_string_size=yes 48574else 48575 ac_cv_lib_fvalue_libfvalue_value_get_utf32_string_size=no 48576fi 48577rm -f core conftest.err conftest.$ac_objext \ 48578 conftest$ac_exeext conftest.$ac_ext 48579LIBS=$ac_check_lib_save_LIBS 48580fi 48581{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_get_utf32_string_size" >&5 48582$as_echo "$ac_cv_lib_fvalue_libfvalue_value_get_utf32_string_size" >&6; } 48583if test "x$ac_cv_lib_fvalue_libfvalue_value_get_utf32_string_size" = xyes; then : 48584 ac_cv_libfvalue_dummy=yes 48585else 48586 ac_cv_libfvalue=no 48587fi 48588 48589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_to_utf32_string in -lfvalue" >&5 48590$as_echo_n "checking for libfvalue_value_copy_to_utf32_string in -lfvalue... " >&6; } 48591if ${ac_cv_lib_fvalue_libfvalue_value_copy_to_utf32_string+:} false; then : 48592 $as_echo_n "(cached) " >&6 48593else 48594 ac_check_lib_save_LIBS=$LIBS 48595LIBS="-lfvalue $LIBS" 48596cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48597/* end confdefs.h. */ 48598 48599/* Override any GCC internal prototype to avoid an error. 48600 Use char because int might match the return type of a GCC 48601 builtin and then its argument prototype would still apply. */ 48602#ifdef __cplusplus 48603extern "C" 48604#endif 48605char libfvalue_value_copy_to_utf32_string (); 48606int 48607main () 48608{ 48609return libfvalue_value_copy_to_utf32_string (); 48610 ; 48611 return 0; 48612} 48613_ACEOF 48614if ac_fn_c_try_link "$LINENO"; then : 48615 ac_cv_lib_fvalue_libfvalue_value_copy_to_utf32_string=yes 48616else 48617 ac_cv_lib_fvalue_libfvalue_value_copy_to_utf32_string=no 48618fi 48619rm -f core conftest.err conftest.$ac_objext \ 48620 conftest$ac_exeext conftest.$ac_ext 48621LIBS=$ac_check_lib_save_LIBS 48622fi 48623{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_to_utf32_string" >&5 48624$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_to_utf32_string" >&6; } 48625if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_to_utf32_string" = xyes; then : 48626 ac_cv_libfvalue_dummy=yes 48627else 48628 ac_cv_libfvalue=no 48629fi 48630 48631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_copy_to_utf32_string_with_index in -lfvalue" >&5 48632$as_echo_n "checking for libfvalue_value_copy_to_utf32_string_with_index in -lfvalue... " >&6; } 48633if ${ac_cv_lib_fvalue_libfvalue_value_copy_to_utf32_string_with_index+:} false; then : 48634 $as_echo_n "(cached) " >&6 48635else 48636 ac_check_lib_save_LIBS=$LIBS 48637LIBS="-lfvalue $LIBS" 48638cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48639/* end confdefs.h. */ 48640 48641/* Override any GCC internal prototype to avoid an error. 48642 Use char because int might match the return type of a GCC 48643 builtin and then its argument prototype would still apply. */ 48644#ifdef __cplusplus 48645extern "C" 48646#endif 48647char libfvalue_value_copy_to_utf32_string_with_index (); 48648int 48649main () 48650{ 48651return libfvalue_value_copy_to_utf32_string_with_index (); 48652 ; 48653 return 0; 48654} 48655_ACEOF 48656if ac_fn_c_try_link "$LINENO"; then : 48657 ac_cv_lib_fvalue_libfvalue_value_copy_to_utf32_string_with_index=yes 48658else 48659 ac_cv_lib_fvalue_libfvalue_value_copy_to_utf32_string_with_index=no 48660fi 48661rm -f core conftest.err conftest.$ac_objext \ 48662 conftest$ac_exeext conftest.$ac_ext 48663LIBS=$ac_check_lib_save_LIBS 48664fi 48665{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_copy_to_utf32_string_with_index" >&5 48666$as_echo "$ac_cv_lib_fvalue_libfvalue_value_copy_to_utf32_string_with_index" >&6; } 48667if test "x$ac_cv_lib_fvalue_libfvalue_value_copy_to_utf32_string_with_index" = xyes; then : 48668 ac_cv_libfvalue_dummy=yes 48669else 48670 ac_cv_libfvalue=no 48671fi 48672 48673 48674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_read_from_file_stream in -lfvalue" >&5 48675$as_echo_n "checking for libfvalue_value_read_from_file_stream in -lfvalue... " >&6; } 48676if ${ac_cv_lib_fvalue_libfvalue_value_read_from_file_stream+:} false; then : 48677 $as_echo_n "(cached) " >&6 48678else 48679 ac_check_lib_save_LIBS=$LIBS 48680LIBS="-lfvalue $LIBS" 48681cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48682/* end confdefs.h. */ 48683 48684/* Override any GCC internal prototype to avoid an error. 48685 Use char because int might match the return type of a GCC 48686 builtin and then its argument prototype would still apply. */ 48687#ifdef __cplusplus 48688extern "C" 48689#endif 48690char libfvalue_value_read_from_file_stream (); 48691int 48692main () 48693{ 48694return libfvalue_value_read_from_file_stream (); 48695 ; 48696 return 0; 48697} 48698_ACEOF 48699if ac_fn_c_try_link "$LINENO"; then : 48700 ac_cv_lib_fvalue_libfvalue_value_read_from_file_stream=yes 48701else 48702 ac_cv_lib_fvalue_libfvalue_value_read_from_file_stream=no 48703fi 48704rm -f core conftest.err conftest.$ac_objext \ 48705 conftest$ac_exeext conftest.$ac_ext 48706LIBS=$ac_check_lib_save_LIBS 48707fi 48708{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_read_from_file_stream" >&5 48709$as_echo "$ac_cv_lib_fvalue_libfvalue_value_read_from_file_stream" >&6; } 48710if test "x$ac_cv_lib_fvalue_libfvalue_value_read_from_file_stream" = xyes; then : 48711 ac_cv_libfvalue_dummy=yes 48712else 48713 ac_cv_libfvalue=no 48714fi 48715 48716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_write_to_file_stream in -lfvalue" >&5 48717$as_echo_n "checking for libfvalue_value_write_to_file_stream in -lfvalue... " >&6; } 48718if ${ac_cv_lib_fvalue_libfvalue_value_write_to_file_stream+:} false; then : 48719 $as_echo_n "(cached) " >&6 48720else 48721 ac_check_lib_save_LIBS=$LIBS 48722LIBS="-lfvalue $LIBS" 48723cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48724/* end confdefs.h. */ 48725 48726/* Override any GCC internal prototype to avoid an error. 48727 Use char because int might match the return type of a GCC 48728 builtin and then its argument prototype would still apply. */ 48729#ifdef __cplusplus 48730extern "C" 48731#endif 48732char libfvalue_value_write_to_file_stream (); 48733int 48734main () 48735{ 48736return libfvalue_value_write_to_file_stream (); 48737 ; 48738 return 0; 48739} 48740_ACEOF 48741if ac_fn_c_try_link "$LINENO"; then : 48742 ac_cv_lib_fvalue_libfvalue_value_write_to_file_stream=yes 48743else 48744 ac_cv_lib_fvalue_libfvalue_value_write_to_file_stream=no 48745fi 48746rm -f core conftest.err conftest.$ac_objext \ 48747 conftest$ac_exeext conftest.$ac_ext 48748LIBS=$ac_check_lib_save_LIBS 48749fi 48750{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_write_to_file_stream" >&5 48751$as_echo "$ac_cv_lib_fvalue_libfvalue_value_write_to_file_stream" >&6; } 48752if test "x$ac_cv_lib_fvalue_libfvalue_value_write_to_file_stream" = xyes; then : 48753 ac_cv_libfvalue_dummy=yes 48754else 48755 ac_cv_libfvalue=no 48756fi 48757 48758 48759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_type_initialize in -lfvalue" >&5 48760$as_echo_n "checking for libfvalue_value_type_initialize in -lfvalue... " >&6; } 48761if ${ac_cv_lib_fvalue_libfvalue_value_type_initialize+:} false; then : 48762 $as_echo_n "(cached) " >&6 48763else 48764 ac_check_lib_save_LIBS=$LIBS 48765LIBS="-lfvalue $LIBS" 48766cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48767/* end confdefs.h. */ 48768 48769/* Override any GCC internal prototype to avoid an error. 48770 Use char because int might match the return type of a GCC 48771 builtin and then its argument prototype would still apply. */ 48772#ifdef __cplusplus 48773extern "C" 48774#endif 48775char libfvalue_value_type_initialize (); 48776int 48777main () 48778{ 48779return libfvalue_value_type_initialize (); 48780 ; 48781 return 0; 48782} 48783_ACEOF 48784if ac_fn_c_try_link "$LINENO"; then : 48785 ac_cv_lib_fvalue_libfvalue_value_type_initialize=yes 48786else 48787 ac_cv_lib_fvalue_libfvalue_value_type_initialize=no 48788fi 48789rm -f core conftest.err conftest.$ac_objext \ 48790 conftest$ac_exeext conftest.$ac_ext 48791LIBS=$ac_check_lib_save_LIBS 48792fi 48793{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_type_initialize" >&5 48794$as_echo "$ac_cv_lib_fvalue_libfvalue_value_type_initialize" >&6; } 48795if test "x$ac_cv_lib_fvalue_libfvalue_value_type_initialize" = xyes; then : 48796 ac_cv_libfvalue_dummy=yes 48797else 48798 ac_cv_libfvalue=no 48799fi 48800 48801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_type_initialize_with_data_handle in -lfvalue" >&5 48802$as_echo_n "checking for libfvalue_value_type_initialize_with_data_handle in -lfvalue... " >&6; } 48803if ${ac_cv_lib_fvalue_libfvalue_value_type_initialize_with_data_handle+:} false; then : 48804 $as_echo_n "(cached) " >&6 48805else 48806 ac_check_lib_save_LIBS=$LIBS 48807LIBS="-lfvalue $LIBS" 48808cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48809/* end confdefs.h. */ 48810 48811/* Override any GCC internal prototype to avoid an error. 48812 Use char because int might match the return type of a GCC 48813 builtin and then its argument prototype would still apply. */ 48814#ifdef __cplusplus 48815extern "C" 48816#endif 48817char libfvalue_value_type_initialize_with_data_handle (); 48818int 48819main () 48820{ 48821return libfvalue_value_type_initialize_with_data_handle (); 48822 ; 48823 return 0; 48824} 48825_ACEOF 48826if ac_fn_c_try_link "$LINENO"; then : 48827 ac_cv_lib_fvalue_libfvalue_value_type_initialize_with_data_handle=yes 48828else 48829 ac_cv_lib_fvalue_libfvalue_value_type_initialize_with_data_handle=no 48830fi 48831rm -f core conftest.err conftest.$ac_objext \ 48832 conftest$ac_exeext conftest.$ac_ext 48833LIBS=$ac_check_lib_save_LIBS 48834fi 48835{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_type_initialize_with_data_handle" >&5 48836$as_echo "$ac_cv_lib_fvalue_libfvalue_value_type_initialize_with_data_handle" >&6; } 48837if test "x$ac_cv_lib_fvalue_libfvalue_value_type_initialize_with_data_handle" = xyes; then : 48838 ac_cv_libfvalue_dummy=yes 48839else 48840 ac_cv_libfvalue=no 48841fi 48842 48843 48844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_type_set_data_string in -lfvalue" >&5 48845$as_echo_n "checking for libfvalue_value_type_set_data_string in -lfvalue... " >&6; } 48846if ${ac_cv_lib_fvalue_libfvalue_value_type_set_data_string+:} false; then : 48847 $as_echo_n "(cached) " >&6 48848else 48849 ac_check_lib_save_LIBS=$LIBS 48850LIBS="-lfvalue $LIBS" 48851cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48852/* end confdefs.h. */ 48853 48854/* Override any GCC internal prototype to avoid an error. 48855 Use char because int might match the return type of a GCC 48856 builtin and then its argument prototype would still apply. */ 48857#ifdef __cplusplus 48858extern "C" 48859#endif 48860char libfvalue_value_type_set_data_string (); 48861int 48862main () 48863{ 48864return libfvalue_value_type_set_data_string (); 48865 ; 48866 return 0; 48867} 48868_ACEOF 48869if ac_fn_c_try_link "$LINENO"; then : 48870 ac_cv_lib_fvalue_libfvalue_value_type_set_data_string=yes 48871else 48872 ac_cv_lib_fvalue_libfvalue_value_type_set_data_string=no 48873fi 48874rm -f core conftest.err conftest.$ac_objext \ 48875 conftest$ac_exeext conftest.$ac_ext 48876LIBS=$ac_check_lib_save_LIBS 48877fi 48878{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_type_set_data_string" >&5 48879$as_echo "$ac_cv_lib_fvalue_libfvalue_value_type_set_data_string" >&6; } 48880if test "x$ac_cv_lib_fvalue_libfvalue_value_type_set_data_string" = xyes; then : 48881 ac_cv_libfvalue_dummy=yes 48882else 48883 ac_cv_libfvalue=no 48884fi 48885 48886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_type_append_data_string in -lfvalue" >&5 48887$as_echo_n "checking for libfvalue_value_type_append_data_string in -lfvalue... " >&6; } 48888if ${ac_cv_lib_fvalue_libfvalue_value_type_append_data_string+:} false; then : 48889 $as_echo_n "(cached) " >&6 48890else 48891 ac_check_lib_save_LIBS=$LIBS 48892LIBS="-lfvalue $LIBS" 48893cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48894/* end confdefs.h. */ 48895 48896/* Override any GCC internal prototype to avoid an error. 48897 Use char because int might match the return type of a GCC 48898 builtin and then its argument prototype would still apply. */ 48899#ifdef __cplusplus 48900extern "C" 48901#endif 48902char libfvalue_value_type_append_data_string (); 48903int 48904main () 48905{ 48906return libfvalue_value_type_append_data_string (); 48907 ; 48908 return 0; 48909} 48910_ACEOF 48911if ac_fn_c_try_link "$LINENO"; then : 48912 ac_cv_lib_fvalue_libfvalue_value_type_append_data_string=yes 48913else 48914 ac_cv_lib_fvalue_libfvalue_value_type_append_data_string=no 48915fi 48916rm -f core conftest.err conftest.$ac_objext \ 48917 conftest$ac_exeext conftest.$ac_ext 48918LIBS=$ac_check_lib_save_LIBS 48919fi 48920{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_type_append_data_string" >&5 48921$as_echo "$ac_cv_lib_fvalue_libfvalue_value_type_append_data_string" >&6; } 48922if test "x$ac_cv_lib_fvalue_libfvalue_value_type_append_data_string" = xyes; then : 48923 ac_cv_libfvalue_dummy=yes 48924else 48925 ac_cv_libfvalue=no 48926fi 48927 48928 48929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libfvalue_value_type_set_data_strings_array in -lfvalue" >&5 48930$as_echo_n "checking for libfvalue_value_type_set_data_strings_array in -lfvalue... " >&6; } 48931if ${ac_cv_lib_fvalue_libfvalue_value_type_set_data_strings_array+:} false; then : 48932 $as_echo_n "(cached) " >&6 48933else 48934 ac_check_lib_save_LIBS=$LIBS 48935LIBS="-lfvalue $LIBS" 48936cat confdefs.h - <<_ACEOF >conftest.$ac_ext 48937/* end confdefs.h. */ 48938 48939/* Override any GCC internal prototype to avoid an error. 48940 Use char because int might match the return type of a GCC 48941 builtin and then its argument prototype would still apply. */ 48942#ifdef __cplusplus 48943extern "C" 48944#endif 48945char libfvalue_value_type_set_data_strings_array (); 48946int 48947main () 48948{ 48949return libfvalue_value_type_set_data_strings_array (); 48950 ; 48951 return 0; 48952} 48953_ACEOF 48954if ac_fn_c_try_link "$LINENO"; then : 48955 ac_cv_lib_fvalue_libfvalue_value_type_set_data_strings_array=yes 48956else 48957 ac_cv_lib_fvalue_libfvalue_value_type_set_data_strings_array=no 48958fi 48959rm -f core conftest.err conftest.$ac_objext \ 48960 conftest$ac_exeext conftest.$ac_ext 48961LIBS=$ac_check_lib_save_LIBS 48962fi 48963{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_fvalue_libfvalue_value_type_set_data_strings_array" >&5 48964$as_echo "$ac_cv_lib_fvalue_libfvalue_value_type_set_data_strings_array" >&6; } 48965if test "x$ac_cv_lib_fvalue_libfvalue_value_type_set_data_strings_array" = xyes; then : 48966 ac_cv_libfvalue_dummy=yes 48967else 48968 ac_cv_libfvalue=no 48969fi 48970 48971 48972 ac_cv_libfvalue_LIBADD="-lfvalue" 48973fi 48974 48975fi 48976 if test "x$ac_cv_with_libfvalue" != x && test "x$ac_cv_with_libfvalue" != xauto-detect && test "x$ac_cv_libfvalue" != xyes; then : 48977 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 48978$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 48979as_fn_error 1 "unable to find supported libfvalue in directory: $ac_cv_with_libfvalue 48980See \`config.log' for more details" "$LINENO" 5; } 48981 48982fi 48983 48984fi 48985 48986 if test "x$ac_cv_libfvalue" = xyes; then : 48987 48988$as_echo "#define HAVE_LIBFVALUE 1" >>confdefs.h 48989 48990 48991fi 48992 48993 if test "x$ac_cv_libfvalue" = xyes; then : 48994 HAVE_LIBFVALUE=1 48995 48996else 48997 HAVE_LIBFVALUE=0 48998 48999 49000fi 49001 49002 49003 if test "x$ac_cv_libfvalue" != xyes; then : 49004 49005 ac_cv_libfvalue_CPPFLAGS="-I../libfvalue"; 49006 ac_cv_libfvalue_LIBADD="../libfvalue/libfvalue.la"; 49007 49008 ac_cv_libfvalue=local 49009 49010 49011 49012$as_echo "#define HAVE_LOCAL_LIBFVALUE 1" >>confdefs.h 49013 49014 HAVE_LOCAL_LIBFVALUE=1 49015 49016 49017fi 49018 49019 if test "x$ac_cv_libfvalue" = xlocal; then 49020 HAVE_LOCAL_LIBFVALUE_TRUE= 49021 HAVE_LOCAL_LIBFVALUE_FALSE='#' 49022else 49023 HAVE_LOCAL_LIBFVALUE_TRUE='#' 49024 HAVE_LOCAL_LIBFVALUE_FALSE= 49025fi 49026 49027 if test "x$ac_cv_libfvalue_CPPFLAGS" != "x"; then : 49028 LIBFVALUE_CPPFLAGS=$ac_cv_libfvalue_CPPFLAGS 49029 49030 49031fi 49032 if test "x$ac_cv_libfvalue_LIBADD" != "x"; then : 49033 LIBFVALUE_LIBADD=$ac_cv_libfvalue_LIBADD 49034 49035 49036fi 49037 49038 if test "x$ac_cv_libfvalue" = xyes; then : 49039 ax_libfvalue_pc_libs_private=-lfvalue 49040 49041 49042fi 49043 49044 if test "x$ac_cv_libfvalue" = xyes; then : 49045 ax_libfvalue_spec_requires=libfvalue 49046 49047 ax_libfvalue_spec_build_requires=libfvalue-devel 49048 49049 49050fi 49051 49052 49053 for ac_func in bindtextdomain 49054do : 49055 ac_fn_c_check_func "$LINENO" "bindtextdomain" "ac_cv_func_bindtextdomain" 49056if test "x$ac_cv_func_bindtextdomain" = xyes; then : 49057 cat >>confdefs.h <<_ACEOF 49058#define HAVE_BINDTEXTDOMAIN 1 49059_ACEOF 49060 49061fi 49062done 49063 49064 49065 49066 49067 49068# Check whether --with-pyprefix was given. 49069if test "${with_pyprefix+set}" = set; then : 49070 withval=$with_pyprefix; ac_cv_with_pyprefix=$withval 49071else 49072 ac_cv_with_pyprefix=no 49073fi 49074 49075 { $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 49076$as_echo_n "checking whether to use use \`python-config --prefix' to determine the prefix of pythondir instead of --prefix... " >&6; } 49077if ${ac_cv_with_pyprefix+:} false; then : 49078 $as_echo_n "(cached) " >&6 49079else 49080 ac_cv_with_pyprefix=no 49081fi 49082{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_pyprefix" >&5 49083$as_echo "$ac_cv_with_pyprefix" >&6; } 49084 49085 49086 49087 # Check whether --enable-python was given. 49088if test "${enable_python+set}" = set; then : 49089 enableval=$enable_python; ac_cv_enable_python=$enableval 49090else 49091 ac_cv_enable_python=no 49092fi 49093 49094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable build Python bindings" >&5 49095$as_echo_n "checking whether to enable build Python bindings... " >&6; } 49096if ${ac_cv_enable_python+:} false; then : 49097 $as_echo_n "(cached) " >&6 49098else 49099 ac_cv_enable_python=no 49100fi 49101{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_python" >&5 49102$as_echo "$ac_cv_enable_python" >&6; } 49103 49104 49105# Check whether --with-pythondir was given. 49106if test "${with_pythondir+set}" = set; then : 49107 withval=$with_pythondir; ac_cv_with_pythondir=$withval 49108else 49109 ac_cv_with_pythondir=no 49110fi 49111 49112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use use to specify the Python directory (pythondir)" >&5 49113$as_echo_n "checking whether to use use to specify the Python directory (pythondir)... " >&6; } 49114if ${ac_cv_with_pythondir+:} false; then : 49115 $as_echo_n "(cached) " >&6 49116else 49117 ac_cv_with_pythondir=no 49118fi 49119{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_pythondir" >&5 49120$as_echo "$ac_cv_with_pythondir" >&6; } 49121 49122 49123 # Check whether --enable-python2 was given. 49124if test "${enable_python2+set}" = set; then : 49125 enableval=$enable_python2; ac_cv_enable_python2=$enableval 49126else 49127 ac_cv_enable_python2=no 49128fi 49129 49130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable build Python 2 bindings" >&5 49131$as_echo_n "checking whether to enable build Python 2 bindings... " >&6; } 49132if ${ac_cv_enable_python2+:} false; then : 49133 $as_echo_n "(cached) " >&6 49134else 49135 ac_cv_enable_python2=no 49136fi 49137{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_python2" >&5 49138$as_echo "$ac_cv_enable_python2" >&6; } 49139 49140 49141# Check whether --with-pythondir2 was given. 49142if test "${with_pythondir2+set}" = set; then : 49143 withval=$with_pythondir2; ac_cv_with_pythondir2=$withval 49144else 49145 ac_cv_with_pythondir2=no 49146fi 49147 49148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use use to specify the Python 2 directory (pythondir2)" >&5 49149$as_echo_n "checking whether to use use to specify the Python 2 directory (pythondir2)... " >&6; } 49150if ${ac_cv_with_pythondir2+:} false; then : 49151 $as_echo_n "(cached) " >&6 49152else 49153 ac_cv_with_pythondir2=no 49154fi 49155{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_pythondir2" >&5 49156$as_echo "$ac_cv_with_pythondir2" >&6; } 49157 49158 49159 # Check whether --enable-python3 was given. 49160if test "${enable_python3+set}" = set; then : 49161 enableval=$enable_python3; ac_cv_enable_python3=$enableval 49162else 49163 ac_cv_enable_python3=no 49164fi 49165 49166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable build Python 3 bindings" >&5 49167$as_echo_n "checking whether to enable build Python 3 bindings... " >&6; } 49168if ${ac_cv_enable_python3+:} false; then : 49169 $as_echo_n "(cached) " >&6 49170else 49171 ac_cv_enable_python3=no 49172fi 49173{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_enable_python3" >&5 49174$as_echo "$ac_cv_enable_python3" >&6; } 49175 49176 49177# Check whether --with-pythondir3 was given. 49178if test "${with_pythondir3+set}" = set; then : 49179 withval=$with_pythondir3; ac_cv_with_pythondir3=$withval 49180else 49181 ac_cv_with_pythondir3=no 49182fi 49183 49184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use use to specify the Python 3 directory (pythondir3)" >&5 49185$as_echo_n "checking whether to use use to specify the Python 3 directory (pythondir3)... " >&6; } 49186if ${ac_cv_with_pythondir3+:} false; then : 49187 $as_echo_n "(cached) " >&6 49188else 49189 ac_cv_with_pythondir3=no 49190fi 49191{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_with_pythondir3" >&5 49192$as_echo "$ac_cv_with_pythondir3" >&6; } 49193 49194 if test "x${ac_cv_enable_python}" != xno; then : 49195 if test "x${PYTHON_VERSION}" != x; then : 49196 ax_python_progs="python${PYTHON_VERSION}" 49197else 49198 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" 49199fi 49200 for ac_prog in $ax_python_progs 49201do 49202 # Extract the first word of "$ac_prog", so it can be a program name with args. 49203set dummy $ac_prog; ac_word=$2 49204{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 49205$as_echo_n "checking for $ac_word... " >&6; } 49206if ${ac_cv_prog_PYTHON+:} false; then : 49207 $as_echo_n "(cached) " >&6 49208else 49209 if test -n "$PYTHON"; then 49210 ac_cv_prog_PYTHON="$PYTHON" # Let the user override the test. 49211else 49212as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 49213for as_dir in $PATH 49214do 49215 IFS=$as_save_IFS 49216 test -z "$as_dir" && as_dir=. 49217 for ac_exec_ext in '' $ac_executable_extensions; do 49218 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 49219 ac_cv_prog_PYTHON="$ac_prog" 49220 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 49221 break 2 49222 fi 49223done 49224 done 49225IFS=$as_save_IFS 49226 49227fi 49228fi 49229PYTHON=$ac_cv_prog_PYTHON 49230if test -n "$PYTHON"; then 49231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5 49232$as_echo "$PYTHON" >&6; } 49233else 49234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 49235$as_echo "no" >&6; } 49236fi 49237 49238 49239 test -n "$PYTHON" && break 49240done 49241 49242 if test "x${PYTHON}" != x; then : 49243 ax_prog_python_version=`${PYTHON} -c "import sys; sys.stdout.write(sys.version[:3])" 2>/dev/null`; 49244 ax_prog_python_platform=`${PYTHON} -c "import sys; sys.stdout.write(sys.platform)" 2>/dev/null`; 49245 PYTHON_PLATFORM=$ax_prog_python_platform 49246 49247 49248else 49249 as_fn_error $? "Unable to find python" "$LINENO" 5 49250 49251fi 49252 PYTHON=$PYTHON 49253 49254 49255 if test "x${PYTHON_CONFIG}" = x && test "x${PYTHON_VERSION}" != x; then : 49256 for ac_prog in python${PYTHON_VERSION}-config 49257do 49258 # Extract the first word of "$ac_prog", so it can be a program name with args. 49259set dummy $ac_prog; ac_word=$2 49260{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 49261$as_echo_n "checking for $ac_word... " >&6; } 49262if ${ac_cv_prog_PYTHON_CONFIG+:} false; then : 49263 $as_echo_n "(cached) " >&6 49264else 49265 if test -n "$PYTHON_CONFIG"; then 49266 ac_cv_prog_PYTHON_CONFIG="$PYTHON_CONFIG" # Let the user override the test. 49267else 49268as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 49269for as_dir in $PATH 49270do 49271 IFS=$as_save_IFS 49272 test -z "$as_dir" && as_dir=. 49273 for ac_exec_ext in '' $ac_executable_extensions; do 49274 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 49275 ac_cv_prog_PYTHON_CONFIG="$ac_prog" 49276 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 49277 break 2 49278 fi 49279done 49280 done 49281IFS=$as_save_IFS 49282 49283fi 49284fi 49285PYTHON_CONFIG=$ac_cv_prog_PYTHON_CONFIG 49286if test -n "$PYTHON_CONFIG"; then 49287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_CONFIG" >&5 49288$as_echo "$PYTHON_CONFIG" >&6; } 49289else 49290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 49291$as_echo "no" >&6; } 49292fi 49293 49294 49295 test -n "$PYTHON_CONFIG" && break 49296done 49297 49298 49299fi 49300 if test "x${PYTHON_CONFIG}" = x; then : 49301 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 49302do 49303 # Extract the first word of "$ac_prog", so it can be a program name with args. 49304set dummy $ac_prog; ac_word=$2 49305{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 49306$as_echo_n "checking for $ac_word... " >&6; } 49307if ${ac_cv_prog_PYTHON_CONFIG+:} false; then : 49308 $as_echo_n "(cached) " >&6 49309else 49310 if test -n "$PYTHON_CONFIG"; then 49311 ac_cv_prog_PYTHON_CONFIG="$PYTHON_CONFIG" # Let the user override the test. 49312else 49313as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 49314for as_dir in $PATH 49315do 49316 IFS=$as_save_IFS 49317 test -z "$as_dir" && as_dir=. 49318 for ac_exec_ext in '' $ac_executable_extensions; do 49319 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 49320 ac_cv_prog_PYTHON_CONFIG="$ac_prog" 49321 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 49322 break 2 49323 fi 49324done 49325 done 49326IFS=$as_save_IFS 49327 49328fi 49329fi 49330PYTHON_CONFIG=$ac_cv_prog_PYTHON_CONFIG 49331if test -n "$PYTHON_CONFIG"; then 49332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_CONFIG" >&5 49333$as_echo "$PYTHON_CONFIG" >&6; } 49334else 49335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 49336$as_echo "no" >&6; } 49337fi 49338 49339 49340 test -n "$PYTHON_CONFIG" && break 49341done 49342 49343 49344fi 49345 if test "x${PYTHON_CONFIG}" = x; then : 49346 as_fn_error $? "Unable to find python-config" "$LINENO" 5 49347 49348fi 49349 PYTHON_CONFIG=$PYTHON_CONFIG 49350 49351 49352 49353 if test "x${PYTHON_CONFIG}" != x; then : 49354 PYTHON_INCLUDES=`${PYTHON_CONFIG} --includes 2>/dev/null`; 49355 49356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python includes" >&5 49357$as_echo_n "checking for Python includes... " >&6; } 49358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_INCLUDES" >&5 49359$as_echo "$PYTHON_INCLUDES" >&6; } 49360 49361 PYTHON_LDFLAGS=`${PYTHON_CONFIG} --ldflags 2>/dev/null`; 49362 49363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python libraries" >&5 49364$as_echo_n "checking for Python libraries... " >&6; } 49365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_LDFLAGS" >&5 49366$as_echo "$PYTHON_LDFLAGS" >&6; } 49367 49368 case $host_os in #( 49369 cygwin*) : 49370 PYTHON_LDFLAGS="${PYTHON_LDFLAGS} -no-undefined" ;; #( 49371 *) : 49372 ;; #( 49373 *) : 49374 ;; 49375esac 49376 49377 BACKUP_CPPFLAGS="${CPPFLAGS}" 49378 CPPFLAGS="${CPPFLAGS} ${PYTHON_INCLUDES}" 49379 49380 for ac_header in Python.h 49381do : 49382 ac_fn_c_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default" 49383if test "x$ac_cv_header_Python_h" = xyes; then : 49384 cat >>confdefs.h <<_ACEOF 49385#define HAVE_PYTHON_H 1 49386_ACEOF 49387 ac_cv_header_python_h=yes 49388else 49389 ac_cv_header_python_h=no 49390fi 49391 49392done 49393 49394 49395 CPPFLAGS="${BACKUP_CPPFLAGS}" 49396 49397fi 49398 49399 if test "x${ac_cv_header_python_h}" != xyes; then : 49400 ac_cv_enable_python=no 49401else 49402 ac_cv_enable_python=${ax_prog_python_version} 49403 PYTHON_CPPFLAGS=$PYTHON_INCLUDES 49404 49405 49406 PYTHON_LDFLAGS=$PYTHON_LDFLAGS 49407 49408 49409 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 49410 ax_python_prefix="\${prefix}" 49411else 49412 ax_python_prefix=`${PYTHON_CONFIG} --prefix 2>/dev/null` 49413fi 49414 49415 PYTHON_PREFIX=$ax_python_prefix 49416 49417 49418 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 49419 ax_python_exec_prefix="\${exec_prefix}" 49420else 49421 ax_python_exec_prefix=`${PYTHON_CONFIG} --exec-prefix 2>/dev/null` 49422fi 49423 49424 PYTHON_EXEC_PREFIX=$ax_python_exec_prefix 49425 49426 49427 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`; 49428 49429 if test "x${ac_cv_with_pythondir}" = x || test "x${ac_cv_with_pythondir}" = xno; then : 49430 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 49431 ax_python_pythondir="${ax_python_prefix}/${ax_python_pythondir_suffix}" 49432else 49433 ax_python_pythondir=`${PYTHON} -c "import sys; import distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_python_lib()) " 2>/dev/null` 49434fi 49435else 49436 ax_python_pythondir=$ac_cv_with_pythondir 49437fi 49438 49439 pythondir=$ax_python_pythondir 49440 49441 49442 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`; 49443 ax_python_library_dir=`${PYTHON} -c "import sys; import distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_python_lib(True)) " 2>/dev/null`; 49444 49445 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 49446 ax_python_pyexecdir="${ax_python_exec_prefix}/${ax_python_pyexecdir_suffix}" 49447else 49448 ax_python_pyexecdir=$ax_python_library_dir 49449fi 49450 49451 pyexecdir=$ax_python_pyexecdir 49452 49453 49454 PYTHON_LIBRARY_DIR=$ax_python_pyexecdir_suffix 49455 49456 49457 PYTHON_PACKAGE_DIR=$ax_python_library_dir 49458 49459 49460fi 49461 49462fi 49463 49464 if test "x${ac_cv_enable_python2}" != xno; then : 49465 ax_python2_progs="python2 python2.7 python2.6 python2.5" 49466 for ac_prog in $ax_python2_progs 49467do 49468 # Extract the first word of "$ac_prog", so it can be a program name with args. 49469set dummy $ac_prog; ac_word=$2 49470{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 49471$as_echo_n "checking for $ac_word... " >&6; } 49472if ${ac_cv_prog_PYTHON2+:} false; then : 49473 $as_echo_n "(cached) " >&6 49474else 49475 if test -n "$PYTHON2"; then 49476 ac_cv_prog_PYTHON2="$PYTHON2" # Let the user override the test. 49477else 49478as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 49479for as_dir in $PATH 49480do 49481 IFS=$as_save_IFS 49482 test -z "$as_dir" && as_dir=. 49483 for ac_exec_ext in '' $ac_executable_extensions; do 49484 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 49485 ac_cv_prog_PYTHON2="$ac_prog" 49486 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 49487 break 2 49488 fi 49489done 49490 done 49491IFS=$as_save_IFS 49492 49493fi 49494fi 49495PYTHON2=$ac_cv_prog_PYTHON2 49496if test -n "$PYTHON2"; then 49497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON2" >&5 49498$as_echo "$PYTHON2" >&6; } 49499else 49500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 49501$as_echo "no" >&6; } 49502fi 49503 49504 49505 test -n "$PYTHON2" && break 49506done 49507 49508 if test "x${PYTHON2}" != x; then : 49509 ax_prog_python2_version=`${PYTHON2} -c "import sys; sys.stdout.write(sys.version[:3])" 2>/dev/null`; 49510 PYTHON2_VERSION=$ax_prog_python2_version 49511 49512 49513 ax_prog_python2_platform=`${PYTHON2} -c "import sys; sys.stdout.write(sys.platform)" 2>/dev/null`; 49514 PYTHON2_PLATFORM=$ax_prog_python2_platform 49515 49516 49517else 49518 as_fn_error $? "Unable to find python2" "$LINENO" 5 49519 49520fi 49521 PYTHON2=$PYTHON2 49522 49523 49524 if test "x${PYTHON2_CONFIG}" = x; then : 49525 for ac_prog in python2-config python2.7-config python2.6-config python2.5-config 49526do 49527 # Extract the first word of "$ac_prog", so it can be a program name with args. 49528set dummy $ac_prog; ac_word=$2 49529{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 49530$as_echo_n "checking for $ac_word... " >&6; } 49531if ${ac_cv_prog_PYTHON2_CONFIG+:} false; then : 49532 $as_echo_n "(cached) " >&6 49533else 49534 if test -n "$PYTHON2_CONFIG"; then 49535 ac_cv_prog_PYTHON2_CONFIG="$PYTHON2_CONFIG" # Let the user override the test. 49536else 49537as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 49538for as_dir in $PATH 49539do 49540 IFS=$as_save_IFS 49541 test -z "$as_dir" && as_dir=. 49542 for ac_exec_ext in '' $ac_executable_extensions; do 49543 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 49544 ac_cv_prog_PYTHON2_CONFIG="$ac_prog" 49545 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 49546 break 2 49547 fi 49548done 49549 done 49550IFS=$as_save_IFS 49551 49552fi 49553fi 49554PYTHON2_CONFIG=$ac_cv_prog_PYTHON2_CONFIG 49555if test -n "$PYTHON2_CONFIG"; then 49556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON2_CONFIG" >&5 49557$as_echo "$PYTHON2_CONFIG" >&6; } 49558else 49559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 49560$as_echo "no" >&6; } 49561fi 49562 49563 49564 test -n "$PYTHON2_CONFIG" && break 49565done 49566 49567 49568fi 49569 if test "x${PYTHON2_CONFIG}" = x; then : 49570 as_fn_error $? "Unable to find python2-config" "$LINENO" 5 49571 49572fi 49573 PYTHON2_CONFIG=$PYTHON2_CONFIG 49574 49575 49576 49577 if test "x${PYTHON2_CONFIG}" != x; then : 49578 PYTHON2_INCLUDES=`${PYTHON2_CONFIG} --includes 2>/dev/null`; 49579 49580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python verison 2 includes" >&5 49581$as_echo_n "checking for Python verison 2 includes... " >&6; } 49582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON2_INCLUDES" >&5 49583$as_echo "$PYTHON2_INCLUDES" >&6; } 49584 49585 PYTHON2_LDFLAGS=`${PYTHON2_CONFIG} --ldflags 2>/dev/null`; 49586 49587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python 2 libraries" >&5 49588$as_echo_n "checking for Python 2 libraries... " >&6; } 49589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON2_LDFLAGS" >&5 49590$as_echo "$PYTHON2_LDFLAGS" >&6; } 49591 49592 case $host_os in #( 49593 cygwin*) : 49594 PYTHON2_LDFLAGS="${PYTHON2_LDFLAGS} -no-undefined" ;; #( 49595 *) : 49596 ;; #( 49597 *) : 49598 ;; 49599esac 49600 49601 BACKUP_CPPFLAGS="${CPPFLAGS}" 49602 CPPFLAGS="${CPPFLAGS} ${PYTHON2_INCLUDES}" 49603 49604 for ac_header in Python.h 49605do : 49606 ac_fn_c_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default" 49607if test "x$ac_cv_header_Python_h" = xyes; then : 49608 cat >>confdefs.h <<_ACEOF 49609#define HAVE_PYTHON_H 1 49610_ACEOF 49611 ac_cv_header_python2_h=yes 49612else 49613 ac_cv_header_python2_h=no 49614fi 49615 49616done 49617 49618 49619 CPPFLAGS="${BACKUP_CPPFLAGS}" 49620 49621fi 49622 49623 if test "x${ac_cv_header_python2_h}" != xyes; then : 49624 ac_cv_enable_python2=no 49625else 49626 ac_cv_enable_python2=$PYTHON2_VERSION 49627 PYTHON2_CPPFLAGS=$PYTHON2_INCLUDES 49628 49629 49630 PYTHON2_LDFLAGS=$PYTHON2_LDFLAGS 49631 49632 49633 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 49634 ax_python2_prefix="\${prefix}" 49635else 49636 ax_python2_prefix=`${PYTHON2_CONFIG} --prefix 2>/dev/null` 49637fi 49638 49639 PYTHON2_PREFIX=$ax_python2_prefix 49640 49641 49642 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 49643 ax_python2_exec_prefix="\${exec_prefix}" 49644else 49645 ax_python2_exec_prefix=`${PYTHON2_CONFIG} --exec-prefix 2>/dev/null` 49646fi 49647 49648 PYTHON2_EXEC_PREFIX=$ax_python2_exec_prefix 49649 49650 49651 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`; 49652 49653 if test "x${ac_cv_with_pythondir2}" = x || test "x${ac_cv_with_pythondir2}" = xno; then : 49654 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 49655 ax_python2_pythondir="${ax_python_prefix}/${ax_python2_pythondir_suffix}" 49656else 49657 ax_python2_pythondir=`${PYTHON2} -c "import sys; import distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_python_lib()) " 2>/dev/null` 49658fi 49659else 49660 ax_python2_pythondir=$ac_cv_with_pythondir2 49661fi 49662 49663 pythondir2=$ax_python2_pythondir 49664 49665 49666 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`; 49667 ax_python2_library_dir=`${PYTHON2} -c "import sys; import distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_python_lib(True)) " 2>/dev/null`; 49668 49669 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 49670 ax_python2_pyexecdir="${ax_python2_exec_prefix}/${ax_python2_pyexecdir_suffix}" 49671else 49672 ax_python2_pyexecdir=$ax_python2_library_dir 49673fi 49674 49675 pyexecdir2=$ax_python2_pyexecdir 49676 49677 49678 PYTHON2_LIBRARY_DIR=$ax_python2_pyexecdir_suffix 49679 49680 49681 PYTHON2_PACKAGE_DIR=$ax_python2_library_dir 49682 49683 49684fi 49685 49686fi 49687 49688 if test "x${ac_cv_enable_python3}" != xno; then : 49689 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" 49690 for ac_prog in $ax_python3_progs 49691do 49692 # Extract the first word of "$ac_prog", so it can be a program name with args. 49693set dummy $ac_prog; ac_word=$2 49694{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 49695$as_echo_n "checking for $ac_word... " >&6; } 49696if ${ac_cv_prog_PYTHON3+:} false; then : 49697 $as_echo_n "(cached) " >&6 49698else 49699 if test -n "$PYTHON3"; then 49700 ac_cv_prog_PYTHON3="$PYTHON3" # Let the user override the test. 49701else 49702as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 49703for as_dir in $PATH 49704do 49705 IFS=$as_save_IFS 49706 test -z "$as_dir" && as_dir=. 49707 for ac_exec_ext in '' $ac_executable_extensions; do 49708 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 49709 ac_cv_prog_PYTHON3="$ac_prog" 49710 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 49711 break 2 49712 fi 49713done 49714 done 49715IFS=$as_save_IFS 49716 49717fi 49718fi 49719PYTHON3=$ac_cv_prog_PYTHON3 49720if test -n "$PYTHON3"; then 49721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON3" >&5 49722$as_echo "$PYTHON3" >&6; } 49723else 49724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 49725$as_echo "no" >&6; } 49726fi 49727 49728 49729 test -n "$PYTHON3" && break 49730done 49731 49732 if test "x${PYTHON3}" != x; then : 49733 ax_prog_python3_version=`${PYTHON3} -c "import sys; sys.stdout.write(sys.version[:3])" 2>/dev/null`; 49734 PYTHON3_VERSION=$ax_prog_python3_version 49735 49736 49737 ax_prog_python3_platform=`${PYTHON3} -c "import sys; sys.stdout.write(sys.platform)" 2>/dev/null`; 49738 PYTHON3_PLATFORM=$ax_prog_python3_platform 49739 49740 49741else 49742 as_fn_error $? "Unable to find python3" "$LINENO" 5 49743 49744fi 49745 PYTHON3=$PYTHON3 49746 49747 49748 if test "x${PYTHON3_CONFIG}" = x; then : 49749 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 49750do 49751 # Extract the first word of "$ac_prog", so it can be a program name with args. 49752set dummy $ac_prog; ac_word=$2 49753{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 49754$as_echo_n "checking for $ac_word... " >&6; } 49755if ${ac_cv_prog_PYTHON3_CONFIG+:} false; then : 49756 $as_echo_n "(cached) " >&6 49757else 49758 if test -n "$PYTHON3_CONFIG"; then 49759 ac_cv_prog_PYTHON3_CONFIG="$PYTHON3_CONFIG" # Let the user override the test. 49760else 49761as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 49762for as_dir in $PATH 49763do 49764 IFS=$as_save_IFS 49765 test -z "$as_dir" && as_dir=. 49766 for ac_exec_ext in '' $ac_executable_extensions; do 49767 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 49768 ac_cv_prog_PYTHON3_CONFIG="$ac_prog" 49769 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 49770 break 2 49771 fi 49772done 49773 done 49774IFS=$as_save_IFS 49775 49776fi 49777fi 49778PYTHON3_CONFIG=$ac_cv_prog_PYTHON3_CONFIG 49779if test -n "$PYTHON3_CONFIG"; then 49780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON3_CONFIG" >&5 49781$as_echo "$PYTHON3_CONFIG" >&6; } 49782else 49783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 49784$as_echo "no" >&6; } 49785fi 49786 49787 49788 test -n "$PYTHON3_CONFIG" && break 49789done 49790 49791 49792fi 49793 if test "x${PYTHON3_CONFIG}" = x; then : 49794 as_fn_error $? "Unable to find python3-config" "$LINENO" 5 49795 49796fi 49797 PYTHON3_CONFIG=$PYTHON3_CONFIG 49798 49799 49800 49801 if test "x${PYTHON3_CONFIG}" != x; then : 49802 PYTHON3_INCLUDES=`${PYTHON3_CONFIG} --includes 2>/dev/null`; 49803 49804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python verison 3 includes" >&5 49805$as_echo_n "checking for Python verison 3 includes... " >&6; } 49806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON3_INCLUDES" >&5 49807$as_echo "$PYTHON3_INCLUDES" >&6; } 49808 49809 PYTHON3_LDFLAGS=`${PYTHON3_CONFIG} --ldflags 2>/dev/null`; 49810 49811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python 3 libraries" >&5 49812$as_echo_n "checking for Python 3 libraries... " >&6; } 49813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON3_LDFLAGS" >&5 49814$as_echo "$PYTHON3_LDFLAGS" >&6; } 49815 49816 case $host_os in #( 49817 cygwin*) : 49818 PYTHON3_LDFLAGS="${PYTHON3_LDFLAGS} -no-undefined" ;; #( 49819 *) : 49820 ;; #( 49821 *) : 49822 ;; 49823esac 49824 49825 BACKUP_CPPFLAGS="${CPPFLAGS}" 49826 CPPFLAGS="${CPPFLAGS} ${PYTHON3_INCLUDES}" 49827 49828 for ac_header in Python.h 49829do : 49830 ac_fn_c_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default" 49831if test "x$ac_cv_header_Python_h" = xyes; then : 49832 cat >>confdefs.h <<_ACEOF 49833#define HAVE_PYTHON_H 1 49834_ACEOF 49835 ac_cv_header_python3_h=yes 49836else 49837 ac_cv_header_python3_h=no 49838fi 49839 49840done 49841 49842 49843 CPPFLAGS="${BACKUP_CPPFLAGS}" 49844 49845fi 49846 49847 if test "x${ac_cv_header_python3_h}" != xyes; then : 49848 ac_cv_enable_python3=no 49849else 49850 ac_cv_enable_python3=$PYTHON3_VERSION 49851 PYTHON3_CPPFLAGS=$PYTHON3_INCLUDES 49852 49853 49854 PYTHON3_LDFLAGS=$PYTHON3_LDFLAGS 49855 49856 49857 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 49858 ax_python3_prefix="\${prefix}" 49859else 49860 ax_python3_prefix=`${PYTHON3_CONFIG} --prefix 2>/dev/null` 49861fi 49862 49863 PYTHON3_PREFIX=$ax_python3_prefix 49864 49865 49866 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 49867 ax_python3_exec_prefix="\${exec_prefix}" 49868else 49869 ax_python3_exec_prefix=`${PYTHON3_CONFIG} --exec-prefix 2>/dev/null` 49870fi 49871 49872 PYTHON3_EXEC_PREFIX=$ax_python3_exec_prefix 49873 49874 49875 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`; 49876 49877 if test "x${ac_cv_with_pythondir3}" = x || test "x${ac_cv_with_pythondir3}" = xno; then : 49878 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 49879 ax_python3_pythondir="${ax_python_prefix}/${ax_python3_pythondir_suffix}" 49880else 49881 ax_python3_pythondir=`${PYTHON3} -c "import sys; import distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_python_lib()) " 2>/dev/null` 49882fi 49883else 49884 ax_python3_pythondir=$ac_cv_with_pythondir3 49885fi 49886 49887 pythondir3=$ax_python3_pythondir 49888 49889 49890 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`; 49891 ax_python3_library_dir=`${PYTHON3} -c "import sys; import distutils.sysconfig; sys.stdout.write(distutils.sysconfig.get_python_lib(True)) " 2>/dev/null`; 49892 49893 if test "x${ac_cv_with_pyprefix}" = x || test "x${ac_cv_with_pyprefix}" = xno; then : 49894 ax_python3_pyexecdir="${ax_python3_exec_prefix}/${ax_python3_pyexecdir_suffix}" 49895else 49896 ax_python3_pyexecdir=$ax_python3_library_dir 49897fi 49898 49899 pyexecdir3=$ax_python3_pyexecdir 49900 49901 49902 PYTHON3_LIBRARY_DIR=$ax_python3_pyexecdir_suffix 49903 49904 49905 PYTHON3_PACKAGE_DIR=$ax_python3_library_dir 49906 49907 49908fi 49909 49910fi 49911 49912 if test "x${ac_cv_enable_python}" != xno; then 49913 HAVE_PYTHON_TRUE= 49914 HAVE_PYTHON_FALSE='#' 49915else 49916 HAVE_PYTHON_TRUE='#' 49917 HAVE_PYTHON_FALSE= 49918fi 49919 49920 49921 if test "x${ac_cv_enable_python2}" != xno; then 49922 HAVE_PYTHON2_TRUE= 49923 HAVE_PYTHON2_FALSE='#' 49924else 49925 HAVE_PYTHON2_TRUE='#' 49926 HAVE_PYTHON2_FALSE= 49927fi 49928 49929 49930 if test "x${ac_cv_enable_python3}" != xno; then 49931 HAVE_PYTHON3_TRUE= 49932 HAVE_PYTHON3_FALSE='#' 49933else 49934 HAVE_PYTHON3_TRUE='#' 49935 HAVE_PYTHON3_FALSE= 49936fi 49937 49938 49939 if test "x${ac_cv_enable_python}" != xno || test "x${ac_cv_enable_python2}" != xno || test "x${ac_cv_enable_python3}" != xno; then 49940 HAVE_PYTHON_TESTS_TRUE= 49941 HAVE_PYTHON_TESTS_FALSE='#' 49942else 49943 HAVE_PYTHON_TESTS_TRUE='#' 49944 HAVE_PYTHON_TESTS_FALSE= 49945fi 49946 49947 49948 if test "x${ac_cv_enable_python}" = xno; then : 49949 if test "x${ac_cv_enable_python2}" != xno || test "x${ac_cv_enable_python3}" != xno; then : 49950 if test "x${ac_cv_enable_python2}" != xno; then : 49951 ac_cv_enable_python=${ac_cv_enable_python2} 49952else 49953 ac_cv_enable_python="" 49954fi 49955 if test "x${ac_cv_enable_python3}" != xno; then : 49956 if test "x${ac_cv_enable_python}" != x; then : 49957 ac_cv_enable_python="${ac_cv_enable_python}, " 49958fi 49959 ac_cv_enable_python="${ac_cv_enable_python}${ac_cv_enable_python3}" 49960fi 49961 49962fi 49963 49964fi 49965 49966 49967if test "x${ac_cv_enable_python}" != xno || test "x${ac_cv_enable_python2}" != xno || test "x${ac_cv_enable_python3}" != xno; then : 49968 for ac_header in stdarg.h varargs.h 49969do : 49970 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 49971ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 49972if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 49973 cat >>confdefs.h <<_ACEOF 49974#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 49975_ACEOF 49976 49977fi 49978 49979done 49980 49981 49982 if test "x$ac_cv_header_stdarg_h" != xyes && test "x$ac_cv_header_varargs_h" != xyes; then : 49983 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 49984$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 49985as_fn_error 1 "Missing headers: stdarg.h and varargs.h 49986See \`config.log' for more details" "$LINENO" 5; } 49987 49988fi 49989 49990fi 49991 49992for ac_header in signal.h sys/signal.h unistd.h 49993do : 49994 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 49995ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 49996if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 49997 cat >>confdefs.h <<_ACEOF 49998#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 49999_ACEOF 50000 50001fi 50002 50003done 50004 50005 50006 for ac_func in close getopt setvbuf 50007do : 50008 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 50009ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 50010if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 50011 cat >>confdefs.h <<_ACEOF 50012#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 50013_ACEOF 50014 50015fi 50016done 50017 50018 50019 if test "x$ac_cv_func_close" != xyes; then : 50020 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 50021$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 50022as_fn_error 1 "Missing function: close 50023See \`config.log' for more details" "$LINENO" 5; } 50024 50025fi 50026 50027 for ac_header in stdarg.h varargs.h 50028do : 50029 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 50030ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 50031if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 50032 cat >>confdefs.h <<_ACEOF 50033#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 50034_ACEOF 50035 50036fi 50037 50038done 50039 50040 50041 if test "x$ac_cv_header_stdarg_h" != xyes && test "x$ac_cv_header_varargs_h" != xyes; then : 50042 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 50043$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 50044as_fn_error 1 "Missing headers: stdarg.h and varargs.h 50045See \`config.log' for more details" "$LINENO" 5; } 50046 50047fi 50048 50049 50050if test "x$enable_shared" = xyes && test "x$ac_cv_enable_static_executables" = xno; then : 50051 case $host in #( 50052 *cygwin* | *mingw* | *msys*) : 50053 50054$as_echo "#define HAVE_DLLMAIN 1" >>confdefs.h 50055 50056 HAVE_DLLMAIN=1 50057 50058 50059 LIBMSIECF_DLL_EXPORT="-DLIBMSIECF_DLL_EXPORT" 50060 50061 50062 LIBMSIECF_DLL_IMPORT="-DLIBMSIECF_DLL_IMPORT" 50063 50064 ;; #( 50065 *) : 50066 ;; 50067esac 50068 50069fi 50070 50071 50072for ac_header in dlfcn.h 50073do : 50074 ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default" 50075if test "x$ac_cv_header_dlfcn_h" = xyes; then : 50076 cat >>confdefs.h <<_ACEOF 50077#define HAVE_DLFCN_H 1 50078_ACEOF 50079 50080fi 50081 50082done 50083 50084 50085 for ac_func in fmemopen getopt mkstemp setenv tzset unlink 50086do : 50087 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 50088ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 50089if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 50090 cat >>confdefs.h <<_ACEOF 50091#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 50092_ACEOF 50093 50094fi 50095done 50096 50097 50098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlsym in -ldl" >&5 50099$as_echo_n "checking for dlsym in -ldl... " >&6; } 50100if ${ac_cv_lib_dl_dlsym+:} false; then : 50101 $as_echo_n "(cached) " >&6 50102else 50103 ac_check_lib_save_LIBS=$LIBS 50104LIBS="-ldl $LIBS" 50105cat confdefs.h - <<_ACEOF >conftest.$ac_ext 50106/* end confdefs.h. */ 50107 50108/* Override any GCC internal prototype to avoid an error. 50109 Use char because int might match the return type of a GCC 50110 builtin and then its argument prototype would still apply. */ 50111#ifdef __cplusplus 50112extern "C" 50113#endif 50114char dlsym (); 50115int 50116main () 50117{ 50118return dlsym (); 50119 ; 50120 return 0; 50121} 50122_ACEOF 50123if ac_fn_c_try_link "$LINENO"; then : 50124 ac_cv_lib_dl_dlsym=yes 50125else 50126 ac_cv_lib_dl_dlsym=no 50127fi 50128rm -f core conftest.err conftest.$ac_objext \ 50129 conftest$ac_exeext conftest.$ac_ext 50130LIBS=$ac_check_lib_save_LIBS 50131fi 50132{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlsym" >&5 50133$as_echo "$ac_cv_lib_dl_dlsym" >&6; } 50134if test "x$ac_cv_lib_dl_dlsym" = xyes; then : 50135 cat >>confdefs.h <<_ACEOF 50136#define HAVE_LIBDL 1 50137_ACEOF 50138 50139 LIBS="-ldl $LIBS" 50140 50141fi 50142 50143 50144 if test "x$lt_cv_prog_gnu_ld" = xyes && test "x$ac_cv_lib_dl_dlsym" = xyes; then : 50145 50146$as_echo "#define HAVE_GNU_DL_DLSYM 1" >>confdefs.h 50147 50148 50149fi 50150 50151 if test "x${LIB_FUZZING_ENGINE}" != x; then 50152 HAVE_LIB_FUZZING_ENGINE_TRUE= 50153 HAVE_LIB_FUZZING_ENGINE_FALSE='#' 50154else 50155 HAVE_LIB_FUZZING_ENGINE_TRUE='#' 50156 HAVE_LIB_FUZZING_ENGINE_FALSE= 50157fi 50158 50159 LIB_FUZZING_ENGINE="${LIB_FUZZING_ENGINE}" 50160 50161 50162 50163CFLAGS="$CFLAGS -Wall"; 50164 50165if 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; then : 50166 libmsiecf_spec_requires=Requires: 50167 50168 50169fi 50170 50171DPKG_DATE=`date -R 2> /dev/null` 50172 50173 50174SPEC_DATE=`date +"%a %b %e %Y" 2> /dev/null` 50175 50176 50177ac_config_files="$ac_config_files Makefile" 50178 50179ac_config_files="$ac_config_files include/Makefile" 50180 50181ac_config_files="$ac_config_files common/Makefile" 50182 50183ac_config_files="$ac_config_files libcerror/Makefile" 50184 50185ac_config_files="$ac_config_files libcthreads/Makefile" 50186 50187ac_config_files="$ac_config_files libcdata/Makefile" 50188 50189ac_config_files="$ac_config_files libclocale/Makefile" 50190 50191ac_config_files="$ac_config_files libcnotify/Makefile" 50192 50193ac_config_files="$ac_config_files libcsplit/Makefile" 50194 50195ac_config_files="$ac_config_files libuna/Makefile" 50196 50197ac_config_files="$ac_config_files libcfile/Makefile" 50198 50199ac_config_files="$ac_config_files libcpath/Makefile" 50200 50201ac_config_files="$ac_config_files libbfio/Makefile" 50202 50203ac_config_files="$ac_config_files libfdatetime/Makefile" 50204 50205ac_config_files="$ac_config_files libfguid/Makefile" 50206 50207ac_config_files="$ac_config_files libfole/Makefile" 50208 50209ac_config_files="$ac_config_files libfvalue/Makefile" 50210 50211ac_config_files="$ac_config_files libmsiecf/Makefile" 50212 50213ac_config_files="$ac_config_files pymsiecf/Makefile" 50214 50215ac_config_files="$ac_config_files pymsiecf-python2/Makefile" 50216 50217ac_config_files="$ac_config_files pymsiecf-python3/Makefile" 50218 50219ac_config_files="$ac_config_files msiecftools/Makefile" 50220 50221ac_config_files="$ac_config_files po/Makefile.in" 50222 50223ac_config_files="$ac_config_files po/Makevars" 50224 50225ac_config_files="$ac_config_files manuals/Makefile" 50226 50227ac_config_files="$ac_config_files tests/Makefile" 50228 50229ac_config_files="$ac_config_files ossfuzz/Makefile" 50230 50231ac_config_files="$ac_config_files msvscpp/Makefile" 50232 50233ac_config_files="$ac_config_files include/libmsiecf.h" 50234 50235ac_config_files="$ac_config_files include/libmsiecf/definitions.h" 50236 50237ac_config_files="$ac_config_files include/libmsiecf/features.h" 50238 50239ac_config_files="$ac_config_files include/libmsiecf/types.h" 50240 50241ac_config_files="$ac_config_files libmsiecf/libmsiecf_definitions.h" 50242 50243ac_config_files="$ac_config_files common/types.h" 50244 50245ac_config_files="$ac_config_files dpkg/changelog" 50246 50247ac_config_files="$ac_config_files libmsiecf/libmsiecf.rc" 50248 50249ac_config_files="$ac_config_files libmsiecf.pc" 50250 50251ac_config_files="$ac_config_files libmsiecf.spec" 50252 50253ac_config_headers="$ac_config_headers common/config.h" 50254 50255 50256cat >confcache <<\_ACEOF 50257# This file is a shell script that caches the results of configure 50258# tests run on this system so they can be shared between configure 50259# scripts and configure runs, see configure's option --config-cache. 50260# It is not useful on other systems. If it contains results you don't 50261# want to keep, you may remove or edit it. 50262# 50263# config.status only pays attention to the cache file if you give it 50264# the --recheck option to rerun configure. 50265# 50266# `ac_cv_env_foo' variables (set or unset) will be overridden when 50267# loading this file, other *unset* `ac_cv_foo' will be assigned the 50268# following values. 50269 50270_ACEOF 50271 50272# The following way of writing the cache mishandles newlines in values, 50273# but we know of no workaround that is simple, portable, and efficient. 50274# So, we kill variables containing newlines. 50275# Ultrix sh set writes to stderr and can't be redirected directly, 50276# and sets the high bit in the cache file unless we assign to the vars. 50277( 50278 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 50279 eval ac_val=\$$ac_var 50280 case $ac_val in #( 50281 *${as_nl}*) 50282 case $ac_var in #( 50283 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 50284$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 50285 esac 50286 case $ac_var in #( 50287 _ | IFS | as_nl) ;; #( 50288 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 50289 *) { eval $ac_var=; unset $ac_var;} ;; 50290 esac ;; 50291 esac 50292 done 50293 50294 (set) 2>&1 | 50295 case $as_nl`(ac_space=' '; set) 2>&1` in #( 50296 *${as_nl}ac_space=\ *) 50297 # `set' does not quote correctly, so add quotes: double-quote 50298 # substitution turns \\\\ into \\, and sed turns \\ into \. 50299 sed -n \ 50300 "s/'/'\\\\''/g; 50301 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 50302 ;; #( 50303 *) 50304 # `set' quotes correctly as required by POSIX, so do not add quotes. 50305 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 50306 ;; 50307 esac | 50308 sort 50309) | 50310 sed ' 50311 /^ac_cv_env_/b end 50312 t clear 50313 :clear 50314 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 50315 t end 50316 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 50317 :end' >>confcache 50318if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 50319 if test -w "$cache_file"; then 50320 if test "x$cache_file" != "x/dev/null"; then 50321 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 50322$as_echo "$as_me: updating cache $cache_file" >&6;} 50323 if test ! -f "$cache_file" || test -h "$cache_file"; then 50324 cat confcache >"$cache_file" 50325 else 50326 case $cache_file in #( 50327 */* | ?:*) 50328 mv -f confcache "$cache_file"$$ && 50329 mv -f "$cache_file"$$ "$cache_file" ;; #( 50330 *) 50331 mv -f confcache "$cache_file" ;; 50332 esac 50333 fi 50334 fi 50335 else 50336 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 50337$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 50338 fi 50339fi 50340rm -f confcache 50341 50342test "x$prefix" = xNONE && prefix=$ac_default_prefix 50343# Let make expand exec_prefix. 50344test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 50345 50346DEFS=-DHAVE_CONFIG_H 50347 50348ac_libobjs= 50349ac_ltlibobjs= 50350U= 50351for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 50352 # 1. Remove the extension, and $U if already installed. 50353 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 50354 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 50355 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 50356 # will be set to the directory where LIBOBJS objects are built. 50357 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 50358 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 50359done 50360LIBOBJS=$ac_libobjs 50361 50362LTLIBOBJS=$ac_ltlibobjs 50363 50364 50365{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 50366$as_echo_n "checking that generated files are newer than configure... " >&6; } 50367 if test -n "$am_sleep_pid"; then 50368 # Hide warnings about reused PIDs. 50369 wait $am_sleep_pid 2>/dev/null 50370 fi 50371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 50372$as_echo "done" >&6; } 50373 if test -n "$EXEEXT"; then 50374 am__EXEEXT_TRUE= 50375 am__EXEEXT_FALSE='#' 50376else 50377 am__EXEEXT_TRUE='#' 50378 am__EXEEXT_FALSE= 50379fi 50380 50381if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 50382 as_fn_error $? "conditional \"AMDEP\" was never defined. 50383Usually this means the macro was only invoked conditionally." "$LINENO" 5 50384fi 50385if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 50386 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 50387Usually this means the macro was only invoked conditionally." "$LINENO" 5 50388fi 50389if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then 50390 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined. 50391Usually this means the macro was only invoked conditionally." "$LINENO" 5 50392fi 50393if test -z "${HAVE_LOCAL_LIBCERROR_TRUE}" && test -z "${HAVE_LOCAL_LIBCERROR_FALSE}"; then 50394 as_fn_error $? "conditional \"HAVE_LOCAL_LIBCERROR\" was never defined. 50395Usually this means the macro was only invoked conditionally." "$LINENO" 5 50396fi 50397if test -z "${HAVE_LOCAL_LIBCTHREADS_TRUE}" && test -z "${HAVE_LOCAL_LIBCTHREADS_FALSE}"; then 50398 as_fn_error $? "conditional \"HAVE_LOCAL_LIBCTHREADS\" was never defined. 50399Usually this means the macro was only invoked conditionally." "$LINENO" 5 50400fi 50401if test -z "${HAVE_LOCAL_LIBCDATA_TRUE}" && test -z "${HAVE_LOCAL_LIBCDATA_FALSE}"; then 50402 as_fn_error $? "conditional \"HAVE_LOCAL_LIBCDATA\" was never defined. 50403Usually this means the macro was only invoked conditionally." "$LINENO" 5 50404fi 50405if test -z "${HAVE_LOCAL_LIBCLOCALE_TRUE}" && test -z "${HAVE_LOCAL_LIBCLOCALE_FALSE}"; then 50406 as_fn_error $? "conditional \"HAVE_LOCAL_LIBCLOCALE\" was never defined. 50407Usually this means the macro was only invoked conditionally." "$LINENO" 5 50408fi 50409if test -z "${HAVE_LOCAL_LIBCNOTIFY_TRUE}" && test -z "${HAVE_LOCAL_LIBCNOTIFY_FALSE}"; then 50410 as_fn_error $? "conditional \"HAVE_LOCAL_LIBCNOTIFY\" was never defined. 50411Usually this means the macro was only invoked conditionally." "$LINENO" 5 50412fi 50413if test -z "${HAVE_LOCAL_LIBCSPLIT_TRUE}" && test -z "${HAVE_LOCAL_LIBCSPLIT_FALSE}"; then 50414 as_fn_error $? "conditional \"HAVE_LOCAL_LIBCSPLIT\" was never defined. 50415Usually this means the macro was only invoked conditionally." "$LINENO" 5 50416fi 50417if test -z "${HAVE_LOCAL_LIBUNA_TRUE}" && test -z "${HAVE_LOCAL_LIBUNA_FALSE}"; then 50418 as_fn_error $? "conditional \"HAVE_LOCAL_LIBUNA\" was never defined. 50419Usually this means the macro was only invoked conditionally." "$LINENO" 5 50420fi 50421if test -z "${HAVE_LOCAL_LIBCFILE_TRUE}" && test -z "${HAVE_LOCAL_LIBCFILE_FALSE}"; then 50422 as_fn_error $? "conditional \"HAVE_LOCAL_LIBCFILE\" was never defined. 50423Usually this means the macro was only invoked conditionally." "$LINENO" 5 50424fi 50425if test -z "${HAVE_LOCAL_LIBCPATH_TRUE}" && test -z "${HAVE_LOCAL_LIBCPATH_FALSE}"; then 50426 as_fn_error $? "conditional \"HAVE_LOCAL_LIBCPATH\" was never defined. 50427Usually this means the macro was only invoked conditionally." "$LINENO" 5 50428fi 50429if test -z "${HAVE_LOCAL_LIBBFIO_TRUE}" && test -z "${HAVE_LOCAL_LIBBFIO_FALSE}"; then 50430 as_fn_error $? "conditional \"HAVE_LOCAL_LIBBFIO\" was never defined. 50431Usually this means the macro was only invoked conditionally." "$LINENO" 5 50432fi 50433if test -z "${HAVE_LOCAL_LIBFDATETIME_TRUE}" && test -z "${HAVE_LOCAL_LIBFDATETIME_FALSE}"; then 50434 as_fn_error $? "conditional \"HAVE_LOCAL_LIBFDATETIME\" was never defined. 50435Usually this means the macro was only invoked conditionally." "$LINENO" 5 50436fi 50437if test -z "${HAVE_LOCAL_LIBFGUID_TRUE}" && test -z "${HAVE_LOCAL_LIBFGUID_FALSE}"; then 50438 as_fn_error $? "conditional \"HAVE_LOCAL_LIBFGUID\" was never defined. 50439Usually this means the macro was only invoked conditionally." "$LINENO" 5 50440fi 50441if test -z "${HAVE_LOCAL_LIBFOLE_TRUE}" && test -z "${HAVE_LOCAL_LIBFOLE_FALSE}"; then 50442 as_fn_error $? "conditional \"HAVE_LOCAL_LIBFOLE\" was never defined. 50443Usually this means the macro was only invoked conditionally." "$LINENO" 5 50444fi 50445if test -z "${HAVE_LOCAL_LIBFVALUE_TRUE}" && test -z "${HAVE_LOCAL_LIBFVALUE_FALSE}"; then 50446 as_fn_error $? "conditional \"HAVE_LOCAL_LIBFVALUE\" was never defined. 50447Usually this means the macro was only invoked conditionally." "$LINENO" 5 50448fi 50449if test -z "${HAVE_PYTHON_TRUE}" && test -z "${HAVE_PYTHON_FALSE}"; then 50450 as_fn_error $? "conditional \"HAVE_PYTHON\" was never defined. 50451Usually this means the macro was only invoked conditionally." "$LINENO" 5 50452fi 50453if test -z "${HAVE_PYTHON2_TRUE}" && test -z "${HAVE_PYTHON2_FALSE}"; then 50454 as_fn_error $? "conditional \"HAVE_PYTHON2\" was never defined. 50455Usually this means the macro was only invoked conditionally." "$LINENO" 5 50456fi 50457if test -z "${HAVE_PYTHON3_TRUE}" && test -z "${HAVE_PYTHON3_FALSE}"; then 50458 as_fn_error $? "conditional \"HAVE_PYTHON3\" was never defined. 50459Usually this means the macro was only invoked conditionally." "$LINENO" 5 50460fi 50461if test -z "${HAVE_PYTHON_TESTS_TRUE}" && test -z "${HAVE_PYTHON_TESTS_FALSE}"; then 50462 as_fn_error $? "conditional \"HAVE_PYTHON_TESTS\" was never defined. 50463Usually this means the macro was only invoked conditionally." "$LINENO" 5 50464fi 50465if test -z "${HAVE_LIB_FUZZING_ENGINE_TRUE}" && test -z "${HAVE_LIB_FUZZING_ENGINE_FALSE}"; then 50466 as_fn_error $? "conditional \"HAVE_LIB_FUZZING_ENGINE\" was never defined. 50467Usually this means the macro was only invoked conditionally." "$LINENO" 5 50468fi 50469 50470: "${CONFIG_STATUS=./config.status}" 50471ac_write_fail=0 50472ac_clean_files_save=$ac_clean_files 50473ac_clean_files="$ac_clean_files $CONFIG_STATUS" 50474{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 50475$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 50476as_write_fail=0 50477cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 50478#! $SHELL 50479# Generated by $as_me. 50480# Run this file to recreate the current configuration. 50481# Compiler output produced by configure, useful for debugging 50482# configure, is in config.log if it exists. 50483 50484debug=false 50485ac_cs_recheck=false 50486ac_cs_silent=false 50487 50488SHELL=\${CONFIG_SHELL-$SHELL} 50489export SHELL 50490_ASEOF 50491cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 50492## -------------------- ## 50493## M4sh Initialization. ## 50494## -------------------- ## 50495 50496# Be more Bourne compatible 50497DUALCASE=1; export DUALCASE # for MKS sh 50498if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 50499 emulate sh 50500 NULLCMD=: 50501 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 50502 # is contrary to our usage. Disable this feature. 50503 alias -g '${1+"$@"}'='"$@"' 50504 setopt NO_GLOB_SUBST 50505else 50506 case `(set -o) 2>/dev/null` in #( 50507 *posix*) : 50508 set -o posix ;; #( 50509 *) : 50510 ;; 50511esac 50512fi 50513 50514 50515as_nl=' 50516' 50517export as_nl 50518# Printing a long string crashes Solaris 7 /usr/bin/printf. 50519as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 50520as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 50521as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 50522# Prefer a ksh shell builtin over an external printf program on Solaris, 50523# but without wasting forks for bash or zsh. 50524if test -z "$BASH_VERSION$ZSH_VERSION" \ 50525 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 50526 as_echo='print -r --' 50527 as_echo_n='print -rn --' 50528elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50529 as_echo='printf %s\n' 50530 as_echo_n='printf %s' 50531else 50532 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 50533 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 50534 as_echo_n='/usr/ucb/echo -n' 50535 else 50536 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 50537 as_echo_n_body='eval 50538 arg=$1; 50539 case $arg in #( 50540 *"$as_nl"*) 50541 expr "X$arg" : "X\\(.*\\)$as_nl"; 50542 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 50543 esac; 50544 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 50545 ' 50546 export as_echo_n_body 50547 as_echo_n='sh -c $as_echo_n_body as_echo' 50548 fi 50549 export as_echo_body 50550 as_echo='sh -c $as_echo_body as_echo' 50551fi 50552 50553# The user is always right. 50554if test "${PATH_SEPARATOR+set}" != set; then 50555 PATH_SEPARATOR=: 50556 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 50557 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 50558 PATH_SEPARATOR=';' 50559 } 50560fi 50561 50562 50563# IFS 50564# We need space, tab and new line, in precisely that order. Quoting is 50565# there to prevent editors from complaining about space-tab. 50566# (If _AS_PATH_WALK were called with IFS unset, it would disable word 50567# splitting by setting IFS to empty value.) 50568IFS=" "" $as_nl" 50569 50570# Find who we are. Look in the path if we contain no directory separator. 50571as_myself= 50572case $0 in #(( 50573 *[\\/]* ) as_myself=$0 ;; 50574 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 50575for as_dir in $PATH 50576do 50577 IFS=$as_save_IFS 50578 test -z "$as_dir" && as_dir=. 50579 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 50580 done 50581IFS=$as_save_IFS 50582 50583 ;; 50584esac 50585# We did not find ourselves, most probably we were run as `sh COMMAND' 50586# in which case we are not to be found in the path. 50587if test "x$as_myself" = x; then 50588 as_myself=$0 50589fi 50590if test ! -f "$as_myself"; then 50591 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 50592 exit 1 50593fi 50594 50595# Unset variables that we do not need and which cause bugs (e.g. in 50596# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 50597# suppresses any "Segmentation fault" message there. '((' could 50598# trigger a bug in pdksh 5.2.14. 50599for as_var in BASH_ENV ENV MAIL MAILPATH 50600do eval test x\${$as_var+set} = xset \ 50601 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 50602done 50603PS1='$ ' 50604PS2='> ' 50605PS4='+ ' 50606 50607# NLS nuisances. 50608LC_ALL=C 50609export LC_ALL 50610LANGUAGE=C 50611export LANGUAGE 50612 50613# CDPATH. 50614(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 50615 50616 50617# as_fn_error STATUS ERROR [LINENO LOG_FD] 50618# ---------------------------------------- 50619# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 50620# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 50621# script with STATUS, using 1 if that was 0. 50622as_fn_error () 50623{ 50624 as_status=$1; test $as_status -eq 0 && as_status=1 50625 if test "$4"; then 50626 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 50627 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 50628 fi 50629 $as_echo "$as_me: error: $2" >&2 50630 as_fn_exit $as_status 50631} # as_fn_error 50632 50633 50634# as_fn_set_status STATUS 50635# ----------------------- 50636# Set $? to STATUS, without forking. 50637as_fn_set_status () 50638{ 50639 return $1 50640} # as_fn_set_status 50641 50642# as_fn_exit STATUS 50643# ----------------- 50644# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 50645as_fn_exit () 50646{ 50647 set +e 50648 as_fn_set_status $1 50649 exit $1 50650} # as_fn_exit 50651 50652# as_fn_unset VAR 50653# --------------- 50654# Portably unset VAR. 50655as_fn_unset () 50656{ 50657 { eval $1=; unset $1;} 50658} 50659as_unset=as_fn_unset 50660# as_fn_append VAR VALUE 50661# ---------------------- 50662# Append the text in VALUE to the end of the definition contained in VAR. Take 50663# advantage of any shell optimizations that allow amortized linear growth over 50664# repeated appends, instead of the typical quadratic growth present in naive 50665# implementations. 50666if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 50667 eval 'as_fn_append () 50668 { 50669 eval $1+=\$2 50670 }' 50671else 50672 as_fn_append () 50673 { 50674 eval $1=\$$1\$2 50675 } 50676fi # as_fn_append 50677 50678# as_fn_arith ARG... 50679# ------------------ 50680# Perform arithmetic evaluation on the ARGs, and store the result in the 50681# global $as_val. Take advantage of shells that can avoid forks. The arguments 50682# must be portable across $(()) and expr. 50683if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 50684 eval 'as_fn_arith () 50685 { 50686 as_val=$(( $* )) 50687 }' 50688else 50689 as_fn_arith () 50690 { 50691 as_val=`expr "$@" || test $? -eq 1` 50692 } 50693fi # as_fn_arith 50694 50695 50696if expr a : '\(a\)' >/dev/null 2>&1 && 50697 test "X`expr 00001 : '.*\(...\)'`" = X001; then 50698 as_expr=expr 50699else 50700 as_expr=false 50701fi 50702 50703if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 50704 as_basename=basename 50705else 50706 as_basename=false 50707fi 50708 50709if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 50710 as_dirname=dirname 50711else 50712 as_dirname=false 50713fi 50714 50715as_me=`$as_basename -- "$0" || 50716$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 50717 X"$0" : 'X\(//\)$' \| \ 50718 X"$0" : 'X\(/\)' \| . 2>/dev/null || 50719$as_echo X/"$0" | 50720 sed '/^.*\/\([^/][^/]*\)\/*$/{ 50721 s//\1/ 50722 q 50723 } 50724 /^X\/\(\/\/\)$/{ 50725 s//\1/ 50726 q 50727 } 50728 /^X\/\(\/\).*/{ 50729 s//\1/ 50730 q 50731 } 50732 s/.*/./; q'` 50733 50734# Avoid depending upon Character Ranges. 50735as_cr_letters='abcdefghijklmnopqrstuvwxyz' 50736as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 50737as_cr_Letters=$as_cr_letters$as_cr_LETTERS 50738as_cr_digits='0123456789' 50739as_cr_alnum=$as_cr_Letters$as_cr_digits 50740 50741ECHO_C= ECHO_N= ECHO_T= 50742case `echo -n x` in #((((( 50743-n*) 50744 case `echo 'xy\c'` in 50745 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 50746 xy) ECHO_C='\c';; 50747 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 50748 ECHO_T=' ';; 50749 esac;; 50750*) 50751 ECHO_N='-n';; 50752esac 50753 50754rm -f conf$$ conf$$.exe conf$$.file 50755if test -d conf$$.dir; then 50756 rm -f conf$$.dir/conf$$.file 50757else 50758 rm -f conf$$.dir 50759 mkdir conf$$.dir 2>/dev/null 50760fi 50761if (echo >conf$$.file) 2>/dev/null; then 50762 if ln -s conf$$.file conf$$ 2>/dev/null; then 50763 as_ln_s='ln -s' 50764 # ... but there are two gotchas: 50765 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 50766 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 50767 # In both cases, we have to default to `cp -pR'. 50768 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 50769 as_ln_s='cp -pR' 50770 elif ln conf$$.file conf$$ 2>/dev/null; then 50771 as_ln_s=ln 50772 else 50773 as_ln_s='cp -pR' 50774 fi 50775else 50776 as_ln_s='cp -pR' 50777fi 50778rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 50779rmdir conf$$.dir 2>/dev/null 50780 50781 50782# as_fn_mkdir_p 50783# ------------- 50784# Create "$as_dir" as a directory, including parents if necessary. 50785as_fn_mkdir_p () 50786{ 50787 50788 case $as_dir in #( 50789 -*) as_dir=./$as_dir;; 50790 esac 50791 test -d "$as_dir" || eval $as_mkdir_p || { 50792 as_dirs= 50793 while :; do 50794 case $as_dir in #( 50795 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 50796 *) as_qdir=$as_dir;; 50797 esac 50798 as_dirs="'$as_qdir' $as_dirs" 50799 as_dir=`$as_dirname -- "$as_dir" || 50800$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 50801 X"$as_dir" : 'X\(//\)[^/]' \| \ 50802 X"$as_dir" : 'X\(//\)$' \| \ 50803 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 50804$as_echo X"$as_dir" | 50805 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 50806 s//\1/ 50807 q 50808 } 50809 /^X\(\/\/\)[^/].*/{ 50810 s//\1/ 50811 q 50812 } 50813 /^X\(\/\/\)$/{ 50814 s//\1/ 50815 q 50816 } 50817 /^X\(\/\).*/{ 50818 s//\1/ 50819 q 50820 } 50821 s/.*/./; q'` 50822 test -d "$as_dir" && break 50823 done 50824 test -z "$as_dirs" || eval "mkdir $as_dirs" 50825 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 50826 50827 50828} # as_fn_mkdir_p 50829if mkdir -p . 2>/dev/null; then 50830 as_mkdir_p='mkdir -p "$as_dir"' 50831else 50832 test -d ./-p && rmdir ./-p 50833 as_mkdir_p=false 50834fi 50835 50836 50837# as_fn_executable_p FILE 50838# ----------------------- 50839# Test if FILE is an executable regular file. 50840as_fn_executable_p () 50841{ 50842 test -f "$1" && test -x "$1" 50843} # as_fn_executable_p 50844as_test_x='test -x' 50845as_executable_p=as_fn_executable_p 50846 50847# Sed expression to map a string onto a valid CPP name. 50848as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 50849 50850# Sed expression to map a string onto a valid variable name. 50851as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 50852 50853 50854exec 6>&1 50855## ----------------------------------- ## 50856## Main body of $CONFIG_STATUS script. ## 50857## ----------------------------------- ## 50858_ASEOF 50859test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 50860 50861cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 50862# Save the log message, to keep $0 and so on meaningful, and to 50863# report actual input values of CONFIG_FILES etc. instead of their 50864# values after options handling. 50865ac_log=" 50866This file was extended by libmsiecf $as_me 20210420, which was 50867generated by GNU Autoconf 2.69. Invocation command line was 50868 50869 CONFIG_FILES = $CONFIG_FILES 50870 CONFIG_HEADERS = $CONFIG_HEADERS 50871 CONFIG_LINKS = $CONFIG_LINKS 50872 CONFIG_COMMANDS = $CONFIG_COMMANDS 50873 $ $0 $@ 50874 50875on `(hostname || uname -n) 2>/dev/null | sed 1q` 50876" 50877 50878_ACEOF 50879 50880case $ac_config_files in *" 50881"*) set x $ac_config_files; shift; ac_config_files=$*;; 50882esac 50883 50884case $ac_config_headers in *" 50885"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 50886esac 50887 50888 50889cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 50890# Files that config.status was made for. 50891config_files="$ac_config_files" 50892config_headers="$ac_config_headers" 50893config_commands="$ac_config_commands" 50894 50895_ACEOF 50896 50897cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 50898ac_cs_usage="\ 50899\`$as_me' instantiates files and other configuration actions 50900from templates according to the current configuration. Unless the files 50901and actions are specified as TAGs, all are instantiated by default. 50902 50903Usage: $0 [OPTION]... [TAG]... 50904 50905 -h, --help print this help, then exit 50906 -V, --version print version number and configuration settings, then exit 50907 --config print configuration, then exit 50908 -q, --quiet, --silent 50909 do not print progress messages 50910 -d, --debug don't remove temporary files 50911 --recheck update $as_me by reconfiguring in the same conditions 50912 --file=FILE[:TEMPLATE] 50913 instantiate the configuration file FILE 50914 --header=FILE[:TEMPLATE] 50915 instantiate the configuration header FILE 50916 50917Configuration files: 50918$config_files 50919 50920Configuration headers: 50921$config_headers 50922 50923Configuration commands: 50924$config_commands 50925 50926Report bugs to <joachim.metz@gmail.com>." 50927 50928_ACEOF 50929cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 50930ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 50931ac_cs_version="\\ 50932libmsiecf config.status 20210420 50933configured by $0, generated by GNU Autoconf 2.69, 50934 with options \\"\$ac_cs_config\\" 50935 50936Copyright (C) 2012 Free Software Foundation, Inc. 50937This config.status script is free software; the Free Software Foundation 50938gives unlimited permission to copy, distribute and modify it." 50939 50940ac_pwd='$ac_pwd' 50941srcdir='$srcdir' 50942INSTALL='$INSTALL' 50943MKDIR_P='$MKDIR_P' 50944AWK='$AWK' 50945test -n "\$AWK" || AWK=awk 50946_ACEOF 50947 50948cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 50949# The default lists apply if the user does not specify any file. 50950ac_need_defaults=: 50951while test $# != 0 50952do 50953 case $1 in 50954 --*=?*) 50955 ac_option=`expr "X$1" : 'X\([^=]*\)='` 50956 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 50957 ac_shift=: 50958 ;; 50959 --*=) 50960 ac_option=`expr "X$1" : 'X\([^=]*\)='` 50961 ac_optarg= 50962 ac_shift=: 50963 ;; 50964 *) 50965 ac_option=$1 50966 ac_optarg=$2 50967 ac_shift=shift 50968 ;; 50969 esac 50970 50971 case $ac_option in 50972 # Handling of the options. 50973 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 50974 ac_cs_recheck=: ;; 50975 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 50976 $as_echo "$ac_cs_version"; exit ;; 50977 --config | --confi | --conf | --con | --co | --c ) 50978 $as_echo "$ac_cs_config"; exit ;; 50979 --debug | --debu | --deb | --de | --d | -d ) 50980 debug=: ;; 50981 --file | --fil | --fi | --f ) 50982 $ac_shift 50983 case $ac_optarg in 50984 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 50985 '') as_fn_error $? "missing file argument" ;; 50986 esac 50987 as_fn_append CONFIG_FILES " '$ac_optarg'" 50988 ac_need_defaults=false;; 50989 --header | --heade | --head | --hea ) 50990 $ac_shift 50991 case $ac_optarg in 50992 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 50993 esac 50994 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 50995 ac_need_defaults=false;; 50996 --he | --h) 50997 # Conflict between --help and --header 50998 as_fn_error $? "ambiguous option: \`$1' 50999Try \`$0 --help' for more information.";; 51000 --help | --hel | -h ) 51001 $as_echo "$ac_cs_usage"; exit ;; 51002 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 51003 | -silent | --silent | --silen | --sile | --sil | --si | --s) 51004 ac_cs_silent=: ;; 51005 51006 # This is an error. 51007 -*) as_fn_error $? "unrecognized option: \`$1' 51008Try \`$0 --help' for more information." ;; 51009 51010 *) as_fn_append ac_config_targets " $1" 51011 ac_need_defaults=false ;; 51012 51013 esac 51014 shift 51015done 51016 51017ac_configure_extra_args= 51018 51019if $ac_cs_silent; then 51020 exec 6>/dev/null 51021 ac_configure_extra_args="$ac_configure_extra_args --silent" 51022fi 51023 51024_ACEOF 51025cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 51026if \$ac_cs_recheck; then 51027 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 51028 shift 51029 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 51030 CONFIG_SHELL='$SHELL' 51031 export CONFIG_SHELL 51032 exec "\$@" 51033fi 51034 51035_ACEOF 51036cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 51037exec 5>>config.log 51038{ 51039 echo 51040 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 51041## Running $as_me. ## 51042_ASBOX 51043 $as_echo "$ac_log" 51044} >&5 51045 51046_ACEOF 51047cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 51048# 51049# INIT-COMMANDS 51050# 51051AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}" 51052 51053 51054# The HP-UX ksh and POSIX shell print the target directory to stdout 51055# if CDPATH is set. 51056(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 51057 51058sed_quote_subst='$sed_quote_subst' 51059double_quote_subst='$double_quote_subst' 51060delay_variable_subst='$delay_variable_subst' 51061AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`' 51062DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 51063OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 51064macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 51065macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 51066enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 51067enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 51068pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 51069enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 51070shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`' 51071SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 51072ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 51073PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 51074host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 51075host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 51076host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 51077build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 51078build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 51079build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 51080SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 51081Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 51082GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 51083EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 51084FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 51085LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 51086NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 51087LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 51088max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 51089ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 51090exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 51091lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 51092lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 51093lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 51094lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 51095lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 51096reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 51097reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 51098deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 51099file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 51100file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 51101want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 51102sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 51103AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 51104AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 51105archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 51106STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 51107RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 51108old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 51109old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 51110old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 51111lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 51112CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 51113CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 51114compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 51115GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 51116lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 51117lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 51118lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' 51119lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 51120lt_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"`' 51121lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`' 51122nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 51123lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 51124lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`' 51125objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 51126MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 51127lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 51128lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 51129lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 51130lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 51131lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 51132need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 51133MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 51134DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 51135NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 51136LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 51137OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 51138OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 51139libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 51140shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 51141extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 51142archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 51143enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 51144export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 51145whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 51146compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 51147old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 51148old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 51149archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 51150archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 51151module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 51152module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 51153with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 51154allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 51155no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 51156hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 51157hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 51158hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 51159hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 51160hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 51161hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 51162hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 51163inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 51164link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 51165always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 51166export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 51167exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 51168include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 51169prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 51170postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 51171file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 51172variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 51173need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 51174need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 51175version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 51176runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 51177shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 51178shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 51179libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 51180library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 51181soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 51182install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 51183postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 51184postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 51185finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 51186finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 51187hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 51188sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 51189configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`' 51190configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`' 51191hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 51192enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 51193enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 51194enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 51195old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 51196striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 51197compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`' 51198predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`' 51199postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`' 51200predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`' 51201postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`' 51202compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`' 51203LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`' 51204reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`' 51205reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`' 51206old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' 51207compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`' 51208GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`' 51209lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`' 51210lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`' 51211lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`' 51212lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`' 51213lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`' 51214archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`' 51215enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`' 51216export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 51217whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 51218compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`' 51219old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`' 51220old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`' 51221archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' 51222archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' 51223module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`' 51224module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' 51225with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`' 51226allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' 51227no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' 51228hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' 51229hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`' 51230hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`' 51231hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`' 51232hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`' 51233hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`' 51234hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`' 51235inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`' 51236link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`' 51237always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`' 51238export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`' 51239exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`' 51240include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`' 51241prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`' 51242postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`' 51243file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`' 51244hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`' 51245compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`' 51246predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`' 51247postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`' 51248predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`' 51249postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`' 51250compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`' 51251 51252LTCC='$LTCC' 51253LTCFLAGS='$LTCFLAGS' 51254compiler='$compiler_DEFAULT' 51255 51256# A function that is used when there is no print builtin or printf. 51257func_fallback_echo () 51258{ 51259 eval 'cat <<_LTECHO_EOF 51260\$1 51261_LTECHO_EOF' 51262} 51263 51264# Quote evaled strings. 51265for var in AS \ 51266DLLTOOL \ 51267OBJDUMP \ 51268SHELL \ 51269ECHO \ 51270PATH_SEPARATOR \ 51271SED \ 51272GREP \ 51273EGREP \ 51274FGREP \ 51275LD \ 51276NM \ 51277LN_S \ 51278lt_SP2NL \ 51279lt_NL2SP \ 51280reload_flag \ 51281deplibs_check_method \ 51282file_magic_cmd \ 51283file_magic_glob \ 51284want_nocaseglob \ 51285sharedlib_from_linklib_cmd \ 51286AR \ 51287AR_FLAGS \ 51288archiver_list_spec \ 51289STRIP \ 51290RANLIB \ 51291CC \ 51292CFLAGS \ 51293compiler \ 51294lt_cv_sys_global_symbol_pipe \ 51295lt_cv_sys_global_symbol_to_cdecl \ 51296lt_cv_sys_global_symbol_to_import \ 51297lt_cv_sys_global_symbol_to_c_name_address \ 51298lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 51299lt_cv_nm_interface \ 51300nm_file_list_spec \ 51301lt_cv_truncate_bin \ 51302lt_prog_compiler_no_builtin_flag \ 51303lt_prog_compiler_pic \ 51304lt_prog_compiler_wl \ 51305lt_prog_compiler_static \ 51306lt_cv_prog_compiler_c_o \ 51307need_locks \ 51308MANIFEST_TOOL \ 51309DSYMUTIL \ 51310NMEDIT \ 51311LIPO \ 51312OTOOL \ 51313OTOOL64 \ 51314shrext_cmds \ 51315export_dynamic_flag_spec \ 51316whole_archive_flag_spec \ 51317compiler_needs_object \ 51318with_gnu_ld \ 51319allow_undefined_flag \ 51320no_undefined_flag \ 51321hardcode_libdir_flag_spec \ 51322hardcode_libdir_separator \ 51323exclude_expsyms \ 51324include_expsyms \ 51325file_list_spec \ 51326variables_saved_for_relink \ 51327libname_spec \ 51328library_names_spec \ 51329soname_spec \ 51330install_override_mode \ 51331finish_eval \ 51332old_striplib \ 51333striplib \ 51334compiler_lib_search_dirs \ 51335predep_objects \ 51336postdep_objects \ 51337predeps \ 51338postdeps \ 51339compiler_lib_search_path \ 51340LD_CXX \ 51341reload_flag_CXX \ 51342compiler_CXX \ 51343lt_prog_compiler_no_builtin_flag_CXX \ 51344lt_prog_compiler_pic_CXX \ 51345lt_prog_compiler_wl_CXX \ 51346lt_prog_compiler_static_CXX \ 51347lt_cv_prog_compiler_c_o_CXX \ 51348export_dynamic_flag_spec_CXX \ 51349whole_archive_flag_spec_CXX \ 51350compiler_needs_object_CXX \ 51351with_gnu_ld_CXX \ 51352allow_undefined_flag_CXX \ 51353no_undefined_flag_CXX \ 51354hardcode_libdir_flag_spec_CXX \ 51355hardcode_libdir_separator_CXX \ 51356exclude_expsyms_CXX \ 51357include_expsyms_CXX \ 51358file_list_spec_CXX \ 51359compiler_lib_search_dirs_CXX \ 51360predep_objects_CXX \ 51361postdep_objects_CXX \ 51362predeps_CXX \ 51363postdeps_CXX \ 51364compiler_lib_search_path_CXX; do 51365 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 51366 *[\\\\\\\`\\"\\\$]*) 51367 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 51368 ;; 51369 *) 51370 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 51371 ;; 51372 esac 51373done 51374 51375# Double-quote double-evaled strings. 51376for var in reload_cmds \ 51377old_postinstall_cmds \ 51378old_postuninstall_cmds \ 51379old_archive_cmds \ 51380extract_expsyms_cmds \ 51381old_archive_from_new_cmds \ 51382old_archive_from_expsyms_cmds \ 51383archive_cmds \ 51384archive_expsym_cmds \ 51385module_cmds \ 51386module_expsym_cmds \ 51387export_symbols_cmds \ 51388prelink_cmds \ 51389postlink_cmds \ 51390postinstall_cmds \ 51391postuninstall_cmds \ 51392finish_cmds \ 51393sys_lib_search_path_spec \ 51394configure_time_dlsearch_path \ 51395configure_time_lt_sys_library_path \ 51396reload_cmds_CXX \ 51397old_archive_cmds_CXX \ 51398old_archive_from_new_cmds_CXX \ 51399old_archive_from_expsyms_cmds_CXX \ 51400archive_cmds_CXX \ 51401archive_expsym_cmds_CXX \ 51402module_cmds_CXX \ 51403module_expsym_cmds_CXX \ 51404export_symbols_cmds_CXX \ 51405prelink_cmds_CXX \ 51406postlink_cmds_CXX; do 51407 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 51408 *[\\\\\\\`\\"\\\$]*) 51409 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 51410 ;; 51411 *) 51412 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 51413 ;; 51414 esac 51415done 51416 51417ac_aux_dir='$ac_aux_dir' 51418 51419# See if we are running on zsh, and set the options that allow our 51420# commands through without removal of \ escapes INIT. 51421if test -n "\${ZSH_VERSION+set}"; then 51422 setopt NO_GLOB_SUBST 51423fi 51424 51425 51426 PACKAGE='$PACKAGE' 51427 VERSION='$VERSION' 51428 RM='$RM' 51429 ofile='$ofile' 51430 51431 51432 51433 51434 51435# Capture the value of obsolete ALL_LINGUAS because we need it to compute 51436 # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it 51437 # from automake < 1.5. 51438 eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"' 51439 # Capture the value of LINGUAS because we need it to compute CATALOGS. 51440 LINGUAS="${LINGUAS-%UNSET%}" 51441 51442 51443_ACEOF 51444 51445cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 51446 51447# Handling of arguments. 51448for ac_config_target in $ac_config_targets 51449do 51450 case $ac_config_target in 51451 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 51452 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 51453 "po-directories") CONFIG_COMMANDS="$CONFIG_COMMANDS po-directories" ;; 51454 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 51455 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;; 51456 "common/Makefile") CONFIG_FILES="$CONFIG_FILES common/Makefile" ;; 51457 "libcerror/Makefile") CONFIG_FILES="$CONFIG_FILES libcerror/Makefile" ;; 51458 "libcthreads/Makefile") CONFIG_FILES="$CONFIG_FILES libcthreads/Makefile" ;; 51459 "libcdata/Makefile") CONFIG_FILES="$CONFIG_FILES libcdata/Makefile" ;; 51460 "libclocale/Makefile") CONFIG_FILES="$CONFIG_FILES libclocale/Makefile" ;; 51461 "libcnotify/Makefile") CONFIG_FILES="$CONFIG_FILES libcnotify/Makefile" ;; 51462 "libcsplit/Makefile") CONFIG_FILES="$CONFIG_FILES libcsplit/Makefile" ;; 51463 "libuna/Makefile") CONFIG_FILES="$CONFIG_FILES libuna/Makefile" ;; 51464 "libcfile/Makefile") CONFIG_FILES="$CONFIG_FILES libcfile/Makefile" ;; 51465 "libcpath/Makefile") CONFIG_FILES="$CONFIG_FILES libcpath/Makefile" ;; 51466 "libbfio/Makefile") CONFIG_FILES="$CONFIG_FILES libbfio/Makefile" ;; 51467 "libfdatetime/Makefile") CONFIG_FILES="$CONFIG_FILES libfdatetime/Makefile" ;; 51468 "libfguid/Makefile") CONFIG_FILES="$CONFIG_FILES libfguid/Makefile" ;; 51469 "libfole/Makefile") CONFIG_FILES="$CONFIG_FILES libfole/Makefile" ;; 51470 "libfvalue/Makefile") CONFIG_FILES="$CONFIG_FILES libfvalue/Makefile" ;; 51471 "libmsiecf/Makefile") CONFIG_FILES="$CONFIG_FILES libmsiecf/Makefile" ;; 51472 "pymsiecf/Makefile") CONFIG_FILES="$CONFIG_FILES pymsiecf/Makefile" ;; 51473 "pymsiecf-python2/Makefile") CONFIG_FILES="$CONFIG_FILES pymsiecf-python2/Makefile" ;; 51474 "pymsiecf-python3/Makefile") CONFIG_FILES="$CONFIG_FILES pymsiecf-python3/Makefile" ;; 51475 "msiecftools/Makefile") CONFIG_FILES="$CONFIG_FILES msiecftools/Makefile" ;; 51476 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; 51477 "po/Makevars") CONFIG_FILES="$CONFIG_FILES po/Makevars" ;; 51478 "manuals/Makefile") CONFIG_FILES="$CONFIG_FILES manuals/Makefile" ;; 51479 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; 51480 "ossfuzz/Makefile") CONFIG_FILES="$CONFIG_FILES ossfuzz/Makefile" ;; 51481 "msvscpp/Makefile") CONFIG_FILES="$CONFIG_FILES msvscpp/Makefile" ;; 51482 "include/libmsiecf.h") CONFIG_FILES="$CONFIG_FILES include/libmsiecf.h" ;; 51483 "include/libmsiecf/definitions.h") CONFIG_FILES="$CONFIG_FILES include/libmsiecf/definitions.h" ;; 51484 "include/libmsiecf/features.h") CONFIG_FILES="$CONFIG_FILES include/libmsiecf/features.h" ;; 51485 "include/libmsiecf/types.h") CONFIG_FILES="$CONFIG_FILES include/libmsiecf/types.h" ;; 51486 "libmsiecf/libmsiecf_definitions.h") CONFIG_FILES="$CONFIG_FILES libmsiecf/libmsiecf_definitions.h" ;; 51487 "common/types.h") CONFIG_FILES="$CONFIG_FILES common/types.h" ;; 51488 "dpkg/changelog") CONFIG_FILES="$CONFIG_FILES dpkg/changelog" ;; 51489 "libmsiecf/libmsiecf.rc") CONFIG_FILES="$CONFIG_FILES libmsiecf/libmsiecf.rc" ;; 51490 "libmsiecf.pc") CONFIG_FILES="$CONFIG_FILES libmsiecf.pc" ;; 51491 "libmsiecf.spec") CONFIG_FILES="$CONFIG_FILES libmsiecf.spec" ;; 51492 "common/config.h") CONFIG_HEADERS="$CONFIG_HEADERS common/config.h" ;; 51493 51494 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 51495 esac 51496done 51497 51498 51499# If the user did not use the arguments to specify the items to instantiate, 51500# then the envvar interface is used. Set only those that are not. 51501# We use the long form for the default assignment because of an extremely 51502# bizarre bug on SunOS 4.1.3. 51503if $ac_need_defaults; then 51504 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 51505 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 51506 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 51507fi 51508 51509# Have a temporary directory for convenience. Make it in the build tree 51510# simply because there is no reason against having it here, and in addition, 51511# creating and moving files from /tmp can sometimes cause problems. 51512# Hook for its removal unless debugging. 51513# Note that there is a small window in which the directory will not be cleaned: 51514# after its creation but before its name has been assigned to `$tmp'. 51515$debug || 51516{ 51517 tmp= ac_tmp= 51518 trap 'exit_status=$? 51519 : "${ac_tmp:=$tmp}" 51520 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 51521' 0 51522 trap 'as_fn_exit 1' 1 2 13 15 51523} 51524# Create a (secure) tmp directory for tmp files. 51525 51526{ 51527 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 51528 test -d "$tmp" 51529} || 51530{ 51531 tmp=./conf$$-$RANDOM 51532 (umask 077 && mkdir "$tmp") 51533} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 51534ac_tmp=$tmp 51535 51536# Set up the scripts for CONFIG_FILES section. 51537# No need to generate them if there are no CONFIG_FILES. 51538# This happens for instance with `./config.status config.h'. 51539if test -n "$CONFIG_FILES"; then 51540 51541 51542ac_cr=`echo X | tr X '\015'` 51543# On cygwin, bash can eat \r inside `` if the user requested igncr. 51544# But we know of no other shell where ac_cr would be empty at this 51545# point, so we can use a bashism as a fallback. 51546if test "x$ac_cr" = x; then 51547 eval ac_cr=\$\'\\r\' 51548fi 51549ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 51550if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 51551 ac_cs_awk_cr='\\r' 51552else 51553 ac_cs_awk_cr=$ac_cr 51554fi 51555 51556echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 51557_ACEOF 51558 51559 51560{ 51561 echo "cat >conf$$subs.awk <<_ACEOF" && 51562 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 51563 echo "_ACEOF" 51564} >conf$$subs.sh || 51565 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 51566ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 51567ac_delim='%!_!# ' 51568for ac_last_try in false false false false false :; do 51569 . ./conf$$subs.sh || 51570 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 51571 51572 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 51573 if test $ac_delim_n = $ac_delim_num; then 51574 break 51575 elif $ac_last_try; then 51576 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 51577 else 51578 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 51579 fi 51580done 51581rm -f conf$$subs.sh 51582 51583cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 51584cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 51585_ACEOF 51586sed -n ' 51587h 51588s/^/S["/; s/!.*/"]=/ 51589p 51590g 51591s/^[^!]*!// 51592:repl 51593t repl 51594s/'"$ac_delim"'$// 51595t delim 51596:nl 51597h 51598s/\(.\{148\}\)..*/\1/ 51599t more1 51600s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 51601p 51602n 51603b repl 51604:more1 51605s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 51606p 51607g 51608s/.\{148\}// 51609t nl 51610:delim 51611h 51612s/\(.\{148\}\)..*/\1/ 51613t more2 51614s/["\\]/\\&/g; s/^/"/; s/$/"/ 51615p 51616b 51617:more2 51618s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 51619p 51620g 51621s/.\{148\}// 51622t delim 51623' <conf$$subs.awk | sed ' 51624/^[^""]/{ 51625 N 51626 s/\n// 51627} 51628' >>$CONFIG_STATUS || ac_write_fail=1 51629rm -f conf$$subs.awk 51630cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 51631_ACAWK 51632cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 51633 for (key in S) S_is_set[key] = 1 51634 FS = "" 51635 51636} 51637{ 51638 line = $ 0 51639 nfields = split(line, field, "@") 51640 substed = 0 51641 len = length(field[1]) 51642 for (i = 2; i < nfields; i++) { 51643 key = field[i] 51644 keylen = length(key) 51645 if (S_is_set[key]) { 51646 value = S[key] 51647 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 51648 len += length(value) + length(field[++i]) 51649 substed = 1 51650 } else 51651 len += 1 + keylen 51652 } 51653 51654 print line 51655} 51656 51657_ACAWK 51658_ACEOF 51659cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 51660if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 51661 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 51662else 51663 cat 51664fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 51665 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 51666_ACEOF 51667 51668# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 51669# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 51670# trailing colons and then remove the whole line if VPATH becomes empty 51671# (actually we leave an empty line to preserve line numbers). 51672if test "x$srcdir" = x.; then 51673 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 51674h 51675s/// 51676s/^/:/ 51677s/[ ]*$/:/ 51678s/:\$(srcdir):/:/g 51679s/:\${srcdir}:/:/g 51680s/:@srcdir@:/:/g 51681s/^:*// 51682s/:*$// 51683x 51684s/\(=[ ]*\).*/\1/ 51685G 51686s/\n// 51687s/^[^=]*=[ ]*$// 51688}' 51689fi 51690 51691cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 51692fi # test -n "$CONFIG_FILES" 51693 51694# Set up the scripts for CONFIG_HEADERS section. 51695# No need to generate them if there are no CONFIG_HEADERS. 51696# This happens for instance with `./config.status Makefile'. 51697if test -n "$CONFIG_HEADERS"; then 51698cat >"$ac_tmp/defines.awk" <<\_ACAWK || 51699BEGIN { 51700_ACEOF 51701 51702# Transform confdefs.h into an awk script `defines.awk', embedded as 51703# here-document in config.status, that substitutes the proper values into 51704# config.h.in to produce config.h. 51705 51706# Create a delimiter string that does not exist in confdefs.h, to ease 51707# handling of long lines. 51708ac_delim='%!_!# ' 51709for ac_last_try in false false :; do 51710 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 51711 if test -z "$ac_tt"; then 51712 break 51713 elif $ac_last_try; then 51714 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 51715 else 51716 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 51717 fi 51718done 51719 51720# For the awk script, D is an array of macro values keyed by name, 51721# likewise P contains macro parameters if any. Preserve backslash 51722# newline sequences. 51723 51724ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 51725sed -n ' 51726s/.\{148\}/&'"$ac_delim"'/g 51727t rset 51728:rset 51729s/^[ ]*#[ ]*define[ ][ ]*/ / 51730t def 51731d 51732:def 51733s/\\$// 51734t bsnl 51735s/["\\]/\\&/g 51736s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 51737D["\1"]=" \3"/p 51738s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 51739d 51740:bsnl 51741s/["\\]/\\&/g 51742s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 51743D["\1"]=" \3\\\\\\n"\\/p 51744t cont 51745s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 51746t cont 51747d 51748:cont 51749n 51750s/.\{148\}/&'"$ac_delim"'/g 51751t clear 51752:clear 51753s/\\$// 51754t bsnlc 51755s/["\\]/\\&/g; s/^/"/; s/$/"/p 51756d 51757:bsnlc 51758s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 51759b cont 51760' <confdefs.h | sed ' 51761s/'"$ac_delim"'/"\\\ 51762"/g' >>$CONFIG_STATUS || ac_write_fail=1 51763 51764cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 51765 for (key in D) D_is_set[key] = 1 51766 FS = "" 51767} 51768/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 51769 line = \$ 0 51770 split(line, arg, " ") 51771 if (arg[1] == "#") { 51772 defundef = arg[2] 51773 mac1 = arg[3] 51774 } else { 51775 defundef = substr(arg[1], 2) 51776 mac1 = arg[2] 51777 } 51778 split(mac1, mac2, "(") #) 51779 macro = mac2[1] 51780 prefix = substr(line, 1, index(line, defundef) - 1) 51781 if (D_is_set[macro]) { 51782 # Preserve the white space surrounding the "#". 51783 print prefix "define", macro P[macro] D[macro] 51784 next 51785 } else { 51786 # Replace #undef with comments. This is necessary, for example, 51787 # in the case of _POSIX_SOURCE, which is predefined and required 51788 # on some systems where configure will not decide to define it. 51789 if (defundef == "undef") { 51790 print "/*", prefix defundef, macro, "*/" 51791 next 51792 } 51793 } 51794} 51795{ print } 51796_ACAWK 51797_ACEOF 51798cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 51799 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 51800fi # test -n "$CONFIG_HEADERS" 51801 51802 51803eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 51804shift 51805for ac_tag 51806do 51807 case $ac_tag in 51808 :[FHLC]) ac_mode=$ac_tag; continue;; 51809 esac 51810 case $ac_mode$ac_tag in 51811 :[FHL]*:*);; 51812 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 51813 :[FH]-) ac_tag=-:-;; 51814 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 51815 esac 51816 ac_save_IFS=$IFS 51817 IFS=: 51818 set x $ac_tag 51819 IFS=$ac_save_IFS 51820 shift 51821 ac_file=$1 51822 shift 51823 51824 case $ac_mode in 51825 :L) ac_source=$1;; 51826 :[FH]) 51827 ac_file_inputs= 51828 for ac_f 51829 do 51830 case $ac_f in 51831 -) ac_f="$ac_tmp/stdin";; 51832 *) # Look for the file first in the build tree, then in the source tree 51833 # (if the path is not absolute). The absolute path cannot be DOS-style, 51834 # because $ac_f cannot contain `:'. 51835 test -f "$ac_f" || 51836 case $ac_f in 51837 [\\/$]*) false;; 51838 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 51839 esac || 51840 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 51841 esac 51842 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 51843 as_fn_append ac_file_inputs " '$ac_f'" 51844 done 51845 51846 # Let's still pretend it is `configure' which instantiates (i.e., don't 51847 # use $as_me), people would be surprised to read: 51848 # /* config.h. Generated by config.status. */ 51849 configure_input='Generated from '` 51850 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 51851 `' by configure.' 51852 if test x"$ac_file" != x-; then 51853 configure_input="$ac_file. $configure_input" 51854 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 51855$as_echo "$as_me: creating $ac_file" >&6;} 51856 fi 51857 # Neutralize special characters interpreted by sed in replacement strings. 51858 case $configure_input in #( 51859 *\&* | *\|* | *\\* ) 51860 ac_sed_conf_input=`$as_echo "$configure_input" | 51861 sed 's/[\\\\&|]/\\\\&/g'`;; #( 51862 *) ac_sed_conf_input=$configure_input;; 51863 esac 51864 51865 case $ac_tag in 51866 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 51867 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 51868 esac 51869 ;; 51870 esac 51871 51872 ac_dir=`$as_dirname -- "$ac_file" || 51873$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 51874 X"$ac_file" : 'X\(//\)[^/]' \| \ 51875 X"$ac_file" : 'X\(//\)$' \| \ 51876 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 51877$as_echo X"$ac_file" | 51878 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 51879 s//\1/ 51880 q 51881 } 51882 /^X\(\/\/\)[^/].*/{ 51883 s//\1/ 51884 q 51885 } 51886 /^X\(\/\/\)$/{ 51887 s//\1/ 51888 q 51889 } 51890 /^X\(\/\).*/{ 51891 s//\1/ 51892 q 51893 } 51894 s/.*/./; q'` 51895 as_dir="$ac_dir"; as_fn_mkdir_p 51896 ac_builddir=. 51897 51898case "$ac_dir" in 51899.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 51900*) 51901 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 51902 # A ".." for each directory in $ac_dir_suffix. 51903 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 51904 case $ac_top_builddir_sub in 51905 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 51906 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 51907 esac ;; 51908esac 51909ac_abs_top_builddir=$ac_pwd 51910ac_abs_builddir=$ac_pwd$ac_dir_suffix 51911# for backward compatibility: 51912ac_top_builddir=$ac_top_build_prefix 51913 51914case $srcdir in 51915 .) # We are building in place. 51916 ac_srcdir=. 51917 ac_top_srcdir=$ac_top_builddir_sub 51918 ac_abs_top_srcdir=$ac_pwd ;; 51919 [\\/]* | ?:[\\/]* ) # Absolute name. 51920 ac_srcdir=$srcdir$ac_dir_suffix; 51921 ac_top_srcdir=$srcdir 51922 ac_abs_top_srcdir=$srcdir ;; 51923 *) # Relative name. 51924 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 51925 ac_top_srcdir=$ac_top_build_prefix$srcdir 51926 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 51927esac 51928ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 51929 51930 51931 case $ac_mode in 51932 :F) 51933 # 51934 # CONFIG_FILE 51935 # 51936 51937 case $INSTALL in 51938 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 51939 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 51940 esac 51941 ac_MKDIR_P=$MKDIR_P 51942 case $MKDIR_P in 51943 [\\/$]* | ?:[\\/]* ) ;; 51944 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 51945 esac 51946_ACEOF 51947 51948cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 51949# If the template does not know about datarootdir, expand it. 51950# FIXME: This hack should be removed a few years after 2.60. 51951ac_datarootdir_hack=; ac_datarootdir_seen= 51952ac_sed_dataroot=' 51953/datarootdir/ { 51954 p 51955 q 51956} 51957/@datadir@/p 51958/@docdir@/p 51959/@infodir@/p 51960/@localedir@/p 51961/@mandir@/p' 51962case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 51963*datarootdir*) ac_datarootdir_seen=yes;; 51964*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 51965 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 51966$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 51967_ACEOF 51968cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 51969 ac_datarootdir_hack=' 51970 s&@datadir@&$datadir&g 51971 s&@docdir@&$docdir&g 51972 s&@infodir@&$infodir&g 51973 s&@localedir@&$localedir&g 51974 s&@mandir@&$mandir&g 51975 s&\\\${datarootdir}&$datarootdir&g' ;; 51976esac 51977_ACEOF 51978 51979# Neutralize VPATH when `$srcdir' = `.'. 51980# Shell code in configure.ac might set extrasub. 51981# FIXME: do we really want to maintain this feature? 51982cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 51983ac_sed_extra="$ac_vpsub 51984$extrasub 51985_ACEOF 51986cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 51987:t 51988/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 51989s|@configure_input@|$ac_sed_conf_input|;t t 51990s&@top_builddir@&$ac_top_builddir_sub&;t t 51991s&@top_build_prefix@&$ac_top_build_prefix&;t t 51992s&@srcdir@&$ac_srcdir&;t t 51993s&@abs_srcdir@&$ac_abs_srcdir&;t t 51994s&@top_srcdir@&$ac_top_srcdir&;t t 51995s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 51996s&@builddir@&$ac_builddir&;t t 51997s&@abs_builddir@&$ac_abs_builddir&;t t 51998s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 51999s&@INSTALL@&$ac_INSTALL&;t t 52000s&@MKDIR_P@&$ac_MKDIR_P&;t t 52001$ac_datarootdir_hack 52002" 52003eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 52004 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 52005 52006test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 52007 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 52008 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 52009 "$ac_tmp/out"`; test -z "$ac_out"; } && 52010 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 52011which seems to be undefined. Please make sure it is defined" >&5 52012$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 52013which seems to be undefined. Please make sure it is defined" >&2;} 52014 52015 rm -f "$ac_tmp/stdin" 52016 case $ac_file in 52017 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 52018 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 52019 esac \ 52020 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 52021 ;; 52022 :H) 52023 # 52024 # CONFIG_HEADER 52025 # 52026 if test x"$ac_file" != x-; then 52027 { 52028 $as_echo "/* $configure_input */" \ 52029 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 52030 } >"$ac_tmp/config.h" \ 52031 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 52032 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 52033 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 52034$as_echo "$as_me: $ac_file is unchanged" >&6;} 52035 else 52036 rm -f "$ac_file" 52037 mv "$ac_tmp/config.h" "$ac_file" \ 52038 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 52039 fi 52040 else 52041 $as_echo "/* $configure_input */" \ 52042 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 52043 || as_fn_error $? "could not create -" "$LINENO" 5 52044 fi 52045# Compute "$ac_file"'s index in $config_headers. 52046_am_arg="$ac_file" 52047_am_stamp_count=1 52048for _am_header in $config_headers :; do 52049 case $_am_header in 52050 $_am_arg | $_am_arg:* ) 52051 break ;; 52052 * ) 52053 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 52054 esac 52055done 52056echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 52057$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 52058 X"$_am_arg" : 'X\(//\)[^/]' \| \ 52059 X"$_am_arg" : 'X\(//\)$' \| \ 52060 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 52061$as_echo X"$_am_arg" | 52062 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 52063 s//\1/ 52064 q 52065 } 52066 /^X\(\/\/\)[^/].*/{ 52067 s//\1/ 52068 q 52069 } 52070 /^X\(\/\/\)$/{ 52071 s//\1/ 52072 q 52073 } 52074 /^X\(\/\).*/{ 52075 s//\1/ 52076 q 52077 } 52078 s/.*/./; q'`/stamp-h$_am_stamp_count 52079 ;; 52080 52081 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 52082$as_echo "$as_me: executing $ac_file commands" >&6;} 52083 ;; 52084 esac 52085 52086 52087 case $ac_file$ac_mode in 52088 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 52089 # Older Autoconf quotes --file arguments for eval, but not when files 52090 # are listed without --file. Let's play safe and only enable the eval 52091 # if we detect the quoting. 52092 # TODO: see whether this extra hack can be removed once we start 52093 # requiring Autoconf 2.70 or later. 52094 case $CONFIG_FILES in #( 52095 *\'*) : 52096 eval set x "$CONFIG_FILES" ;; #( 52097 *) : 52098 set x $CONFIG_FILES ;; #( 52099 *) : 52100 ;; 52101esac 52102 shift 52103 # Used to flag and report bootstrapping failures. 52104 am_rc=0 52105 for am_mf 52106 do 52107 # Strip MF so we end up with the name of the file. 52108 am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'` 52109 # Check whether this is an Automake generated Makefile which includes 52110 # dependency-tracking related rules and includes. 52111 # Grep'ing the whole file directly is not great: AIX grep has a line 52112 # limit of 2048, but all sed's we know have understand at least 4000. 52113 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \ 52114 || continue 52115 am_dirpart=`$as_dirname -- "$am_mf" || 52116$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 52117 X"$am_mf" : 'X\(//\)[^/]' \| \ 52118 X"$am_mf" : 'X\(//\)$' \| \ 52119 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || 52120$as_echo X"$am_mf" | 52121 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 52122 s//\1/ 52123 q 52124 } 52125 /^X\(\/\/\)[^/].*/{ 52126 s//\1/ 52127 q 52128 } 52129 /^X\(\/\/\)$/{ 52130 s//\1/ 52131 q 52132 } 52133 /^X\(\/\).*/{ 52134 s//\1/ 52135 q 52136 } 52137 s/.*/./; q'` 52138 am_filepart=`$as_basename -- "$am_mf" || 52139$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \ 52140 X"$am_mf" : 'X\(//\)$' \| \ 52141 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || 52142$as_echo X/"$am_mf" | 52143 sed '/^.*\/\([^/][^/]*\)\/*$/{ 52144 s//\1/ 52145 q 52146 } 52147 /^X\/\(\/\/\)$/{ 52148 s//\1/ 52149 q 52150 } 52151 /^X\/\(\/\).*/{ 52152 s//\1/ 52153 q 52154 } 52155 s/.*/./; q'` 52156 { echo "$as_me:$LINENO: cd "$am_dirpart" \ 52157 && sed -e '/# am--include-marker/d' "$am_filepart" \ 52158 | $MAKE -f - am--depfiles" >&5 52159 (cd "$am_dirpart" \ 52160 && sed -e '/# am--include-marker/d' "$am_filepart" \ 52161 | $MAKE -f - am--depfiles) >&5 2>&5 52162 ac_status=$? 52163 echo "$as_me:$LINENO: \$? = $ac_status" >&5 52164 (exit $ac_status); } || am_rc=$? 52165 done 52166 if test $am_rc -ne 0; then 52167 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 52168$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 52169as_fn_error $? "Something went wrong bootstrapping makefile fragments 52170 for automatic dependency tracking. If GNU make was not used, consider 52171 re-running the configure script with MAKE=\"gmake\" (or whatever is 52172 necessary). You can also try re-running configure with the 52173 '--disable-dependency-tracking' option to at least be able to build 52174 the package (albeit without support for automatic dependency tracking). 52175See \`config.log' for more details" "$LINENO" 5; } 52176 fi 52177 { am_dirpart=; unset am_dirpart;} 52178 { am_filepart=; unset am_filepart;} 52179 { am_mf=; unset am_mf;} 52180 { am_rc=; unset am_rc;} 52181 rm -f conftest-deps.mk 52182} 52183 ;; 52184 "libtool":C) 52185 52186 # See if we are running on zsh, and set the options that allow our 52187 # commands through without removal of \ escapes. 52188 if test -n "${ZSH_VERSION+set}"; then 52189 setopt NO_GLOB_SUBST 52190 fi 52191 52192 cfgfile=${ofile}T 52193 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 52194 $RM "$cfgfile" 52195 52196 cat <<_LT_EOF >> "$cfgfile" 52197#! $SHELL 52198# Generated automatically by $as_me ($PACKAGE) $VERSION 52199# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 52200# NOTE: Changes made to this file will be lost: look at ltmain.sh. 52201 52202# Provide generalized library-building support services. 52203# Written by Gordon Matzigkeit, 1996 52204 52205# Copyright (C) 2014 Free Software Foundation, Inc. 52206# This is free software; see the source for copying conditions. There is NO 52207# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 52208 52209# GNU Libtool is free software; you can redistribute it and/or modify 52210# it under the terms of the GNU General Public License as published by 52211# the Free Software Foundation; either version 2 of of the License, or 52212# (at your option) any later version. 52213# 52214# As a special exception to the GNU General Public License, if you 52215# distribute this file as part of a program or library that is built 52216# using GNU Libtool, you may include this file under the same 52217# distribution terms that you use for the rest of that program. 52218# 52219# GNU Libtool is distributed in the hope that it will be useful, but 52220# WITHOUT ANY WARRANTY; without even the implied warranty of 52221# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 52222# GNU General Public License for more details. 52223# 52224# You should have received a copy of the GNU General Public License 52225# along with this program. If not, see <http://www.gnu.org/licenses/>. 52226 52227 52228# The names of the tagged configurations supported by this script. 52229available_tags='CXX ' 52230 52231# Configured defaults for sys_lib_dlsearch_path munging. 52232: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} 52233 52234# ### BEGIN LIBTOOL CONFIG 52235 52236# Assembler program. 52237AS=$lt_AS 52238 52239# DLL creation program. 52240DLLTOOL=$lt_DLLTOOL 52241 52242# Object dumper program. 52243OBJDUMP=$lt_OBJDUMP 52244 52245# Which release of libtool.m4 was used? 52246macro_version=$macro_version 52247macro_revision=$macro_revision 52248 52249# Whether or not to build shared libraries. 52250build_libtool_libs=$enable_shared 52251 52252# Whether or not to build static libraries. 52253build_old_libs=$enable_static 52254 52255# What type of objects to build. 52256pic_mode=$pic_mode 52257 52258# Whether or not to optimize for fast installation. 52259fast_install=$enable_fast_install 52260 52261# Shared archive member basename,for filename based shared library versioning on AIX. 52262shared_archive_member_spec=$shared_archive_member_spec 52263 52264# Shell to use when invoking shell scripts. 52265SHELL=$lt_SHELL 52266 52267# An echo program that protects backslashes. 52268ECHO=$lt_ECHO 52269 52270# The PATH separator for the build system. 52271PATH_SEPARATOR=$lt_PATH_SEPARATOR 52272 52273# The host system. 52274host_alias=$host_alias 52275host=$host 52276host_os=$host_os 52277 52278# The build system. 52279build_alias=$build_alias 52280build=$build 52281build_os=$build_os 52282 52283# A sed program that does not truncate output. 52284SED=$lt_SED 52285 52286# Sed that helps us avoid accidentally triggering echo(1) options like -n. 52287Xsed="\$SED -e 1s/^X//" 52288 52289# A grep program that handles long lines. 52290GREP=$lt_GREP 52291 52292# An ERE matcher. 52293EGREP=$lt_EGREP 52294 52295# A literal string matcher. 52296FGREP=$lt_FGREP 52297 52298# A BSD- or MS-compatible name lister. 52299NM=$lt_NM 52300 52301# Whether we need soft or hard links. 52302LN_S=$lt_LN_S 52303 52304# What is the maximum length of a command? 52305max_cmd_len=$max_cmd_len 52306 52307# Object file suffix (normally "o"). 52308objext=$ac_objext 52309 52310# Executable file suffix (normally ""). 52311exeext=$exeext 52312 52313# whether the shell understands "unset". 52314lt_unset=$lt_unset 52315 52316# turn spaces into newlines. 52317SP2NL=$lt_lt_SP2NL 52318 52319# turn newlines into spaces. 52320NL2SP=$lt_lt_NL2SP 52321 52322# convert \$build file names to \$host format. 52323to_host_file_cmd=$lt_cv_to_host_file_cmd 52324 52325# convert \$build files to toolchain format. 52326to_tool_file_cmd=$lt_cv_to_tool_file_cmd 52327 52328# Method to check whether dependent libraries are shared objects. 52329deplibs_check_method=$lt_deplibs_check_method 52330 52331# Command to use when deplibs_check_method = "file_magic". 52332file_magic_cmd=$lt_file_magic_cmd 52333 52334# How to find potential files when deplibs_check_method = "file_magic". 52335file_magic_glob=$lt_file_magic_glob 52336 52337# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 52338want_nocaseglob=$lt_want_nocaseglob 52339 52340# Command to associate shared and link libraries. 52341sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 52342 52343# The archiver. 52344AR=$lt_AR 52345 52346# Flags to create an archive. 52347AR_FLAGS=$lt_AR_FLAGS 52348 52349# How to feed a file listing to the archiver. 52350archiver_list_spec=$lt_archiver_list_spec 52351 52352# A symbol stripping program. 52353STRIP=$lt_STRIP 52354 52355# Commands used to install an old-style archive. 52356RANLIB=$lt_RANLIB 52357old_postinstall_cmds=$lt_old_postinstall_cmds 52358old_postuninstall_cmds=$lt_old_postuninstall_cmds 52359 52360# Whether to use a lock for old archive extraction. 52361lock_old_archive_extraction=$lock_old_archive_extraction 52362 52363# A C compiler. 52364LTCC=$lt_CC 52365 52366# LTCC compiler flags. 52367LTCFLAGS=$lt_CFLAGS 52368 52369# Take the output of nm and produce a listing of raw symbols and C names. 52370global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 52371 52372# Transform the output of nm in a proper C declaration. 52373global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 52374 52375# Transform the output of nm into a list of symbols to manually relocate. 52376global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import 52377 52378# Transform the output of nm in a C name address pair. 52379global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 52380 52381# Transform the output of nm in a C name address pair when lib prefix is needed. 52382global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 52383 52384# The name lister interface. 52385nm_interface=$lt_lt_cv_nm_interface 52386 52387# Specify filename containing input files for \$NM. 52388nm_file_list_spec=$lt_nm_file_list_spec 52389 52390# The root where to search for dependent libraries,and where our libraries should be installed. 52391lt_sysroot=$lt_sysroot 52392 52393# Command to truncate a binary pipe. 52394lt_truncate_bin=$lt_lt_cv_truncate_bin 52395 52396# The name of the directory that contains temporary libtool files. 52397objdir=$objdir 52398 52399# Used to examine libraries when file_magic_cmd begins with "file". 52400MAGIC_CMD=$MAGIC_CMD 52401 52402# Must we lock files when doing compilation? 52403need_locks=$lt_need_locks 52404 52405# Manifest tool. 52406MANIFEST_TOOL=$lt_MANIFEST_TOOL 52407 52408# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 52409DSYMUTIL=$lt_DSYMUTIL 52410 52411# Tool to change global to local symbols on Mac OS X. 52412NMEDIT=$lt_NMEDIT 52413 52414# Tool to manipulate fat objects and archives on Mac OS X. 52415LIPO=$lt_LIPO 52416 52417# ldd/readelf like tool for Mach-O binaries on Mac OS X. 52418OTOOL=$lt_OTOOL 52419 52420# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 52421OTOOL64=$lt_OTOOL64 52422 52423# Old archive suffix (normally "a"). 52424libext=$libext 52425 52426# Shared library suffix (normally ".so"). 52427shrext_cmds=$lt_shrext_cmds 52428 52429# The commands to extract the exported symbol list from a shared archive. 52430extract_expsyms_cmds=$lt_extract_expsyms_cmds 52431 52432# Variables whose values should be saved in libtool wrapper scripts and 52433# restored at link time. 52434variables_saved_for_relink=$lt_variables_saved_for_relink 52435 52436# Do we need the "lib" prefix for modules? 52437need_lib_prefix=$need_lib_prefix 52438 52439# Do we need a version for libraries? 52440need_version=$need_version 52441 52442# Library versioning type. 52443version_type=$version_type 52444 52445# Shared library runtime path variable. 52446runpath_var=$runpath_var 52447 52448# Shared library path variable. 52449shlibpath_var=$shlibpath_var 52450 52451# Is shlibpath searched before the hard-coded library search path? 52452shlibpath_overrides_runpath=$shlibpath_overrides_runpath 52453 52454# Format of library name prefix. 52455libname_spec=$lt_libname_spec 52456 52457# List of archive names. First name is the real one, the rest are links. 52458# The last name is the one that the linker finds with -lNAME 52459library_names_spec=$lt_library_names_spec 52460 52461# The coded name of the library, if different from the real name. 52462soname_spec=$lt_soname_spec 52463 52464# Permission mode override for installation of shared libraries. 52465install_override_mode=$lt_install_override_mode 52466 52467# Command to use after installation of a shared archive. 52468postinstall_cmds=$lt_postinstall_cmds 52469 52470# Command to use after uninstallation of a shared archive. 52471postuninstall_cmds=$lt_postuninstall_cmds 52472 52473# Commands used to finish a libtool library installation in a directory. 52474finish_cmds=$lt_finish_cmds 52475 52476# As "finish_cmds", except a single script fragment to be evaled but 52477# not shown. 52478finish_eval=$lt_finish_eval 52479 52480# Whether we should hardcode library paths into libraries. 52481hardcode_into_libs=$hardcode_into_libs 52482 52483# Compile-time system search path for libraries. 52484sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 52485 52486# Detected run-time system search path for libraries. 52487sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path 52488 52489# Explicit LT_SYS_LIBRARY_PATH set during ./configure time. 52490configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path 52491 52492# Whether dlopen is supported. 52493dlopen_support=$enable_dlopen 52494 52495# Whether dlopen of programs is supported. 52496dlopen_self=$enable_dlopen_self 52497 52498# Whether dlopen of statically linked programs is supported. 52499dlopen_self_static=$enable_dlopen_self_static 52500 52501# Commands to strip libraries. 52502old_striplib=$lt_old_striplib 52503striplib=$lt_striplib 52504 52505 52506# The linker used to build libraries. 52507LD=$lt_LD 52508 52509# How to create reloadable object files. 52510reload_flag=$lt_reload_flag 52511reload_cmds=$lt_reload_cmds 52512 52513# Commands used to build an old-style archive. 52514old_archive_cmds=$lt_old_archive_cmds 52515 52516# A language specific compiler. 52517CC=$lt_compiler 52518 52519# Is the compiler the GNU compiler? 52520with_gcc=$GCC 52521 52522# Compiler flag to turn off builtin functions. 52523no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 52524 52525# Additional compiler flags for building library objects. 52526pic_flag=$lt_lt_prog_compiler_pic 52527 52528# How to pass a linker flag through the compiler. 52529wl=$lt_lt_prog_compiler_wl 52530 52531# Compiler flag to prevent dynamic linking. 52532link_static_flag=$lt_lt_prog_compiler_static 52533 52534# Does compiler simultaneously support -c and -o options? 52535compiler_c_o=$lt_lt_cv_prog_compiler_c_o 52536 52537# Whether or not to add -lc for building shared libraries. 52538build_libtool_need_lc=$archive_cmds_need_lc 52539 52540# Whether or not to disallow shared libs when runtime libs are static. 52541allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 52542 52543# Compiler flag to allow reflexive dlopens. 52544export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 52545 52546# Compiler flag to generate shared objects directly from archives. 52547whole_archive_flag_spec=$lt_whole_archive_flag_spec 52548 52549# Whether the compiler copes with passing no objects directly. 52550compiler_needs_object=$lt_compiler_needs_object 52551 52552# Create an old-style archive from a shared archive. 52553old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 52554 52555# Create a temporary old-style archive to link instead of a shared archive. 52556old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 52557 52558# Commands used to build a shared archive. 52559archive_cmds=$lt_archive_cmds 52560archive_expsym_cmds=$lt_archive_expsym_cmds 52561 52562# Commands used to build a loadable module if different from building 52563# a shared archive. 52564module_cmds=$lt_module_cmds 52565module_expsym_cmds=$lt_module_expsym_cmds 52566 52567# Whether we are building with GNU ld or not. 52568with_gnu_ld=$lt_with_gnu_ld 52569 52570# Flag that allows shared libraries with undefined symbols to be built. 52571allow_undefined_flag=$lt_allow_undefined_flag 52572 52573# Flag that enforces no undefined symbols. 52574no_undefined_flag=$lt_no_undefined_flag 52575 52576# Flag to hardcode \$libdir into a binary during linking. 52577# This must work even if \$libdir does not exist 52578hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 52579 52580# Whether we need a single "-rpath" flag with a separated argument. 52581hardcode_libdir_separator=$lt_hardcode_libdir_separator 52582 52583# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 52584# DIR into the resulting binary. 52585hardcode_direct=$hardcode_direct 52586 52587# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 52588# DIR into the resulting binary and the resulting library dependency is 52589# "absolute",i.e impossible to change by setting \$shlibpath_var if the 52590# library is relocated. 52591hardcode_direct_absolute=$hardcode_direct_absolute 52592 52593# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 52594# into the resulting binary. 52595hardcode_minus_L=$hardcode_minus_L 52596 52597# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 52598# into the resulting binary. 52599hardcode_shlibpath_var=$hardcode_shlibpath_var 52600 52601# Set to "yes" if building a shared library automatically hardcodes DIR 52602# into the library and all subsequent libraries and executables linked 52603# against it. 52604hardcode_automatic=$hardcode_automatic 52605 52606# Set to yes if linker adds runtime paths of dependent libraries 52607# to runtime path list. 52608inherit_rpath=$inherit_rpath 52609 52610# Whether libtool must link a program against all its dependency libraries. 52611link_all_deplibs=$link_all_deplibs 52612 52613# Set to "yes" if exported symbols are required. 52614always_export_symbols=$always_export_symbols 52615 52616# The commands to list exported symbols. 52617export_symbols_cmds=$lt_export_symbols_cmds 52618 52619# Symbols that should not be listed in the preloaded symbols. 52620exclude_expsyms=$lt_exclude_expsyms 52621 52622# Symbols that must always be exported. 52623include_expsyms=$lt_include_expsyms 52624 52625# Commands necessary for linking programs (against libraries) with templates. 52626prelink_cmds=$lt_prelink_cmds 52627 52628# Commands necessary for finishing linking programs. 52629postlink_cmds=$lt_postlink_cmds 52630 52631# Specify filename containing input files. 52632file_list_spec=$lt_file_list_spec 52633 52634# How to hardcode a shared library path into an executable. 52635hardcode_action=$hardcode_action 52636 52637# The directories searched by this compiler when creating a shared library. 52638compiler_lib_search_dirs=$lt_compiler_lib_search_dirs 52639 52640# Dependencies to place before and after the objects being linked to 52641# create a shared library. 52642predep_objects=$lt_predep_objects 52643postdep_objects=$lt_postdep_objects 52644predeps=$lt_predeps 52645postdeps=$lt_postdeps 52646 52647# The library search path used internally by the compiler when linking 52648# a shared library. 52649compiler_lib_search_path=$lt_compiler_lib_search_path 52650 52651# ### END LIBTOOL CONFIG 52652 52653_LT_EOF 52654 52655 cat <<'_LT_EOF' >> "$cfgfile" 52656 52657# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE 52658 52659# func_munge_path_list VARIABLE PATH 52660# ----------------------------------- 52661# VARIABLE is name of variable containing _space_ separated list of 52662# directories to be munged by the contents of PATH, which is string 52663# having a format: 52664# "DIR[:DIR]:" 52665# string "DIR[ DIR]" will be prepended to VARIABLE 52666# ":DIR[:DIR]" 52667# string "DIR[ DIR]" will be appended to VARIABLE 52668# "DIRP[:DIRP]::[DIRA:]DIRA" 52669# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 52670# "DIRA[ DIRA]" will be appended to VARIABLE 52671# "DIR[:DIR]" 52672# VARIABLE will be replaced by "DIR[ DIR]" 52673func_munge_path_list () 52674{ 52675 case x$2 in 52676 x) 52677 ;; 52678 *:) 52679 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 52680 ;; 52681 x:*) 52682 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 52683 ;; 52684 *::*) 52685 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 52686 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 52687 ;; 52688 *) 52689 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 52690 ;; 52691 esac 52692} 52693 52694 52695# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 52696func_cc_basename () 52697{ 52698 for cc_temp in $*""; do 52699 case $cc_temp in 52700 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 52701 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 52702 \-*) ;; 52703 *) break;; 52704 esac 52705 done 52706 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 52707} 52708 52709 52710# ### END FUNCTIONS SHARED WITH CONFIGURE 52711 52712_LT_EOF 52713 52714 case $host_os in 52715 aix3*) 52716 cat <<\_LT_EOF >> "$cfgfile" 52717# AIX sometimes has problems with the GCC collect2 program. For some 52718# reason, if we set the COLLECT_NAMES environment variable, the problems 52719# vanish in a puff of smoke. 52720if test set != "${COLLECT_NAMES+set}"; then 52721 COLLECT_NAMES= 52722 export COLLECT_NAMES 52723fi 52724_LT_EOF 52725 ;; 52726 esac 52727 52728 52729ltmain=$ac_aux_dir/ltmain.sh 52730 52731 52732 # We use sed instead of cat because bash on DJGPP gets confused if 52733 # if finds mixed CR/LF and LF-only lines. Since sed operates in 52734 # text mode, it properly converts lines to CR/LF. This bash problem 52735 # is reportedly fixed, but why not run on old versions too? 52736 sed '$q' "$ltmain" >> "$cfgfile" \ 52737 || (rm -f "$cfgfile"; exit 1) 52738 52739 mv -f "$cfgfile" "$ofile" || 52740 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 52741 chmod +x "$ofile" 52742 52743 52744 cat <<_LT_EOF >> "$ofile" 52745 52746# ### BEGIN LIBTOOL TAG CONFIG: CXX 52747 52748# The linker used to build libraries. 52749LD=$lt_LD_CXX 52750 52751# How to create reloadable object files. 52752reload_flag=$lt_reload_flag_CXX 52753reload_cmds=$lt_reload_cmds_CXX 52754 52755# Commands used to build an old-style archive. 52756old_archive_cmds=$lt_old_archive_cmds_CXX 52757 52758# A language specific compiler. 52759CC=$lt_compiler_CXX 52760 52761# Is the compiler the GNU compiler? 52762with_gcc=$GCC_CXX 52763 52764# Compiler flag to turn off builtin functions. 52765no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX 52766 52767# Additional compiler flags for building library objects. 52768pic_flag=$lt_lt_prog_compiler_pic_CXX 52769 52770# How to pass a linker flag through the compiler. 52771wl=$lt_lt_prog_compiler_wl_CXX 52772 52773# Compiler flag to prevent dynamic linking. 52774link_static_flag=$lt_lt_prog_compiler_static_CXX 52775 52776# Does compiler simultaneously support -c and -o options? 52777compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX 52778 52779# Whether or not to add -lc for building shared libraries. 52780build_libtool_need_lc=$archive_cmds_need_lc_CXX 52781 52782# Whether or not to disallow shared libs when runtime libs are static. 52783allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX 52784 52785# Compiler flag to allow reflexive dlopens. 52786export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX 52787 52788# Compiler flag to generate shared objects directly from archives. 52789whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX 52790 52791# Whether the compiler copes with passing no objects directly. 52792compiler_needs_object=$lt_compiler_needs_object_CXX 52793 52794# Create an old-style archive from a shared archive. 52795old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX 52796 52797# Create a temporary old-style archive to link instead of a shared archive. 52798old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX 52799 52800# Commands used to build a shared archive. 52801archive_cmds=$lt_archive_cmds_CXX 52802archive_expsym_cmds=$lt_archive_expsym_cmds_CXX 52803 52804# Commands used to build a loadable module if different from building 52805# a shared archive. 52806module_cmds=$lt_module_cmds_CXX 52807module_expsym_cmds=$lt_module_expsym_cmds_CXX 52808 52809# Whether we are building with GNU ld or not. 52810with_gnu_ld=$lt_with_gnu_ld_CXX 52811 52812# Flag that allows shared libraries with undefined symbols to be built. 52813allow_undefined_flag=$lt_allow_undefined_flag_CXX 52814 52815# Flag that enforces no undefined symbols. 52816no_undefined_flag=$lt_no_undefined_flag_CXX 52817 52818# Flag to hardcode \$libdir into a binary during linking. 52819# This must work even if \$libdir does not exist 52820hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX 52821 52822# Whether we need a single "-rpath" flag with a separated argument. 52823hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX 52824 52825# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 52826# DIR into the resulting binary. 52827hardcode_direct=$hardcode_direct_CXX 52828 52829# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 52830# DIR into the resulting binary and the resulting library dependency is 52831# "absolute",i.e impossible to change by setting \$shlibpath_var if the 52832# library is relocated. 52833hardcode_direct_absolute=$hardcode_direct_absolute_CXX 52834 52835# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 52836# into the resulting binary. 52837hardcode_minus_L=$hardcode_minus_L_CXX 52838 52839# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 52840# into the resulting binary. 52841hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX 52842 52843# Set to "yes" if building a shared library automatically hardcodes DIR 52844# into the library and all subsequent libraries and executables linked 52845# against it. 52846hardcode_automatic=$hardcode_automatic_CXX 52847 52848# Set to yes if linker adds runtime paths of dependent libraries 52849# to runtime path list. 52850inherit_rpath=$inherit_rpath_CXX 52851 52852# Whether libtool must link a program against all its dependency libraries. 52853link_all_deplibs=$link_all_deplibs_CXX 52854 52855# Set to "yes" if exported symbols are required. 52856always_export_symbols=$always_export_symbols_CXX 52857 52858# The commands to list exported symbols. 52859export_symbols_cmds=$lt_export_symbols_cmds_CXX 52860 52861# Symbols that should not be listed in the preloaded symbols. 52862exclude_expsyms=$lt_exclude_expsyms_CXX 52863 52864# Symbols that must always be exported. 52865include_expsyms=$lt_include_expsyms_CXX 52866 52867# Commands necessary for linking programs (against libraries) with templates. 52868prelink_cmds=$lt_prelink_cmds_CXX 52869 52870# Commands necessary for finishing linking programs. 52871postlink_cmds=$lt_postlink_cmds_CXX 52872 52873# Specify filename containing input files. 52874file_list_spec=$lt_file_list_spec_CXX 52875 52876# How to hardcode a shared library path into an executable. 52877hardcode_action=$hardcode_action_CXX 52878 52879# The directories searched by this compiler when creating a shared library. 52880compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX 52881 52882# Dependencies to place before and after the objects being linked to 52883# create a shared library. 52884predep_objects=$lt_predep_objects_CXX 52885postdep_objects=$lt_postdep_objects_CXX 52886predeps=$lt_predeps_CXX 52887postdeps=$lt_postdeps_CXX 52888 52889# The library search path used internally by the compiler when linking 52890# a shared library. 52891compiler_lib_search_path=$lt_compiler_lib_search_path_CXX 52892 52893# ### END LIBTOOL TAG CONFIG: CXX 52894_LT_EOF 52895 52896 ;; 52897 "po-directories":C) 52898 for ac_file in $CONFIG_FILES; do 52899 # Support "outfile[:infile[:infile...]]" 52900 case "$ac_file" in 52901 *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; 52902 esac 52903 # PO directories have a Makefile.in generated from Makefile.in.in. 52904 case "$ac_file" in */Makefile.in) 52905 # Adjust a relative srcdir. 52906 ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'` 52907 ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`" 52908 ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'` 52909 # In autoconf-2.13 it is called $ac_given_srcdir. 52910 # In autoconf-2.50 it is called $srcdir. 52911 test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir" 52912 case "$ac_given_srcdir" in 52913 .) top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;; 52914 /*) top_srcdir="$ac_given_srcdir" ;; 52915 *) top_srcdir="$ac_dots$ac_given_srcdir" ;; 52916 esac 52917 # Treat a directory as a PO directory if and only if it has a 52918 # POTFILES.in file. This allows packages to have multiple PO 52919 # directories under different names or in different locations. 52920 if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then 52921 rm -f "$ac_dir/POTFILES" 52922 test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES" 52923 cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ ]*\$/d" -e "s,.*, $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES" 52924 POMAKEFILEDEPS="POTFILES.in" 52925 # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend 52926 # on $ac_dir but don't depend on user-specified configuration 52927 # parameters. 52928 if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then 52929 # The LINGUAS file contains the set of available languages. 52930 if test -n "$OBSOLETE_ALL_LINGUAS"; then 52931 test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete" 52932 fi 52933 ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"` 52934 # Hide the ALL_LINGUAS assigment from automake < 1.5. 52935 eval 'ALL_LINGUAS''=$ALL_LINGUAS_' 52936 POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS" 52937 else 52938 # The set of available languages was given in configure.in. 52939 # Hide the ALL_LINGUAS assigment from automake < 1.5. 52940 eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS' 52941 fi 52942 # Compute POFILES 52943 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po) 52944 # Compute UPDATEPOFILES 52945 # as $(foreach lang, $(ALL_LINGUAS), $(lang).po-update) 52946 # Compute DUMMYPOFILES 52947 # as $(foreach lang, $(ALL_LINGUAS), $(lang).nop) 52948 # Compute GMOFILES 52949 # as $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo) 52950 case "$ac_given_srcdir" in 52951 .) srcdirpre= ;; 52952 *) srcdirpre='$(srcdir)/' ;; 52953 esac 52954 POFILES= 52955 UPDATEPOFILES= 52956 DUMMYPOFILES= 52957 GMOFILES= 52958 for lang in $ALL_LINGUAS; do 52959 POFILES="$POFILES $srcdirpre$lang.po" 52960 UPDATEPOFILES="$UPDATEPOFILES $lang.po-update" 52961 DUMMYPOFILES="$DUMMYPOFILES $lang.nop" 52962 GMOFILES="$GMOFILES $srcdirpre$lang.gmo" 52963 done 52964 # CATALOGS depends on both $ac_dir and the user's LINGUAS 52965 # environment variable. 52966 INST_LINGUAS= 52967 if test -n "$ALL_LINGUAS"; then 52968 for presentlang in $ALL_LINGUAS; do 52969 useit=no 52970 if test "%UNSET%" != "$LINGUAS"; then 52971 desiredlanguages="$LINGUAS" 52972 else 52973 desiredlanguages="$ALL_LINGUAS" 52974 fi 52975 for desiredlang in $desiredlanguages; do 52976 # Use the presentlang catalog if desiredlang is 52977 # a. equal to presentlang, or 52978 # b. a variant of presentlang (because in this case, 52979 # presentlang can be used as a fallback for messages 52980 # which are not translated in the desiredlang catalog). 52981 case "$desiredlang" in 52982 "$presentlang"*) useit=yes;; 52983 esac 52984 done 52985 if test $useit = yes; then 52986 INST_LINGUAS="$INST_LINGUAS $presentlang" 52987 fi 52988 done 52989 fi 52990 CATALOGS= 52991 if test -n "$INST_LINGUAS"; then 52992 for lang in $INST_LINGUAS; do 52993 CATALOGS="$CATALOGS $lang.gmo" 52994 done 52995 fi 52996 test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile" 52997 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" 52998 for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do 52999 if test -f "$f"; then 53000 case "$f" in 53001 *.orig | *.bak | *~) ;; 53002 *) cat "$f" >> "$ac_dir/Makefile" ;; 53003 esac 53004 fi 53005 done 53006 fi 53007 ;; 53008 esac 53009 done ;; 53010 53011 esac 53012done # for ac_tag 53013 53014 53015as_fn_exit 0 53016_ACEOF 53017ac_clean_files=$ac_clean_files_save 53018 53019test $ac_write_fail = 0 || 53020 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 53021 53022 53023# configure is writing to config.log, and then calls config.status. 53024# config.status does its own redirection, appending to config.log. 53025# Unfortunately, on DOS this fails, as config.log is still kept open 53026# by configure, so config.status won't be able to write to it; its 53027# output is simply discarded. So we exec the FD to /dev/null, 53028# effectively closing config.log, so it can be properly (re)opened and 53029# appended to by config.status. When coming back to configure, we 53030# need to make the FD available again. 53031if test "$no_create" != yes; then 53032 ac_cs_success=: 53033 ac_config_status_args= 53034 test "$silent" = yes && 53035 ac_config_status_args="$ac_config_status_args --quiet" 53036 exec 5>/dev/null 53037 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 53038 exec 5>>config.log 53039 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 53040 # would make configure fail if this is the last instruction. 53041 $ac_cs_success || as_fn_exit 1 53042fi 53043if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 53044 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 53045$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 53046fi 53047 53048 53049{ $as_echo "$as_me:${as_lineno-$LINENO}: 53050Building: 53051 libcerror support: $ac_cv_libcerror 53052 libcthreads support: $ac_cv_libcthreads 53053 libcdata support: $ac_cv_libcdata 53054 libclocale support: $ac_cv_libclocale 53055 libcnotify support: $ac_cv_libcnotify 53056 libcsplit support: $ac_cv_libcsplit 53057 libuna support: $ac_cv_libuna 53058 libcfile support: $ac_cv_libcfile 53059 libcpath support: $ac_cv_libcpath 53060 libbfio support: $ac_cv_libbfio 53061 libfdatetime support: $ac_cv_libfdatetime 53062 libfguid support: $ac_cv_libfguid 53063 libfole support: $ac_cv_libfole 53064 libfvalue support: $ac_cv_libfvalue 53065 53066Features: 53067 Multi-threading support: $ac_cv_libcthreads_multi_threading 53068 Wide character type support: $ac_cv_enable_wide_character_type 53069 msiecftools are build as static executables: $ac_cv_enable_static_executables 53070 Python (pymsiecf) support: $ac_cv_enable_python 53071 Verbose output: $ac_cv_enable_verbose_output 53072 Debug output: $ac_cv_enable_debug_output 53073" >&5 53074$as_echo "$as_me: 53075Building: 53076 libcerror support: $ac_cv_libcerror 53077 libcthreads support: $ac_cv_libcthreads 53078 libcdata support: $ac_cv_libcdata 53079 libclocale support: $ac_cv_libclocale 53080 libcnotify support: $ac_cv_libcnotify 53081 libcsplit support: $ac_cv_libcsplit 53082 libuna support: $ac_cv_libuna 53083 libcfile support: $ac_cv_libcfile 53084 libcpath support: $ac_cv_libcpath 53085 libbfio support: $ac_cv_libbfio 53086 libfdatetime support: $ac_cv_libfdatetime 53087 libfguid support: $ac_cv_libfguid 53088 libfole support: $ac_cv_libfole 53089 libfvalue support: $ac_cv_libfvalue 53090 53091Features: 53092 Multi-threading support: $ac_cv_libcthreads_multi_threading 53093 Wide character type support: $ac_cv_enable_wide_character_type 53094 msiecftools are build as static executables: $ac_cv_enable_static_executables 53095 Python (pymsiecf) support: $ac_cv_enable_python 53096 Verbose output: $ac_cv_enable_verbose_output 53097 Debug output: $ac_cv_enable_debug_output 53098" >&6;}; 53099 53100